mirror of
https://github.com/gryf/wmaker.git
synced 2026-02-11 19:25:49 +01:00
- fixed a bug that crashed the programm when a popup button was scrolled.
- fixed a bug that caused incorrect drawing position of the popup indicator. - fixed a bug that prevented selecting no item (-1) in a popup button. - an assertion will be raised if the program tries to select a popup button item that is beyond the total number of items present in the popup button. - changed names of functions for SplitView to be consistent. Some contained SubView while other Subview. Now all have Subview.
This commit is contained in:
@@ -1722,7 +1722,6 @@ createPanel(Panel *p)
|
||||
panel->secP = WMCreatePopUpButton(panel->texF);
|
||||
WMResizeWidget(panel->secP, 228, 20);
|
||||
WMMoveWidget(panel->secP, 7, 7);
|
||||
WMSetPopUpButtonSelectedItem(panel->secP, 0);
|
||||
WMAddPopUpButtonItem(panel->secP, _("Titlebar of Focused Window"));
|
||||
WMAddPopUpButtonItem(panel->secP, _("Titlebar of Unfocused Windows"));
|
||||
WMAddPopUpButtonItem(panel->secP, _("Titlebar of Focused Window's Owner"));
|
||||
@@ -1732,6 +1731,7 @@ createPanel(Panel *p)
|
||||
WMAddPopUpButtonItem(panel->secP, _("Icon Background"));
|
||||
/* WMAddPopUpButtonItem(panel->secP, _("Workspace Backgrounds"));
|
||||
*/
|
||||
WMSetPopUpButtonSelectedItem(panel->secP, 0);
|
||||
WMSetPopUpButtonAction(panel->secP, changePage, panel);
|
||||
|
||||
panel->texLs = WMCreateList(panel->texF);
|
||||
@@ -1818,7 +1818,6 @@ createPanel(Panel *p)
|
||||
panel->colP = WMCreatePopUpButton(panel->colF);
|
||||
WMResizeWidget(panel->colP, 228, 20);
|
||||
WMMoveWidget(panel->colP, 7, 7);
|
||||
WMSetPopUpButtonSelectedItem(panel->colP, 0);
|
||||
WMAddPopUpButtonItem(panel->colP, _("Focused Window Title"));
|
||||
WMAddPopUpButtonItem(panel->colP, _("Unfocused Window Title"));
|
||||
WMAddPopUpButtonItem(panel->colP, _("Owner of Focused Window Title"));
|
||||
|
||||
Reference in New Issue
Block a user