diff options
Diffstat (limited to 'src/Screen.cc')
-rw-r--r-- | src/Screen.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Screen.cc b/src/Screen.cc index 36ab193..68ae3a4 100644 --- a/src/Screen.cc +++ b/src/Screen.cc | |||
@@ -1829,17 +1829,17 @@ void BScreen::setupConfigmenu(FbTk::Menu &menu) { | |||
1829 | } | 1829 | } |
1830 | 1830 | ||
1831 | FbTk::MenuItem *focused_alpha_item = new IntResMenuItem(_FBTEXT(Configmenu, FocusedAlpha, "Focused Window Alpha", "Transparency level of the focused window"), | 1831 | FbTk::MenuItem *focused_alpha_item = new IntResMenuItem(_FBTEXT(Configmenu, FocusedAlpha, "Focused Window Alpha", "Transparency level of the focused window"), |
1832 | resource.focused_alpha, 0, 255); | 1832 | resource.focused_alpha, 0, 255, *alpha_menu); |
1833 | focused_alpha_item->setCommand(saverc_cmd); | 1833 | focused_alpha_item->setCommand(saverc_cmd); |
1834 | alpha_menu->insert(focused_alpha_item); | 1834 | alpha_menu->insert(focused_alpha_item); |
1835 | 1835 | ||
1836 | FbTk::MenuItem *unfocused_alpha_item = new IntResMenuItem(_FBTEXT(Configmenu, UnfocusedAlpha, "Unfocused Window Alpha", "Transparency level of unfocused windows"), | 1836 | FbTk::MenuItem *unfocused_alpha_item = new IntResMenuItem(_FBTEXT(Configmenu, UnfocusedAlpha, "Unfocused Window Alpha", "Transparency level of unfocused windows"), |
1837 | resource.unfocused_alpha, 0, 255); | 1837 | resource.unfocused_alpha, 0, 255, *alpha_menu); |
1838 | unfocused_alpha_item->setCommand(saverc_cmd); | 1838 | unfocused_alpha_item->setCommand(saverc_cmd); |
1839 | alpha_menu->insert(unfocused_alpha_item); | 1839 | alpha_menu->insert(unfocused_alpha_item); |
1840 | 1840 | ||
1841 | FbTk::MenuItem *menu_alpha_item = new IntResMenuItem(_FBTEXT(Configmenu, MenuAlpha, "Menu Alpha", "Transparency level of menu"), | 1841 | FbTk::MenuItem *menu_alpha_item = new IntResMenuItem(_FBTEXT(Configmenu, MenuAlpha, "Menu Alpha", "Transparency level of menu"), |
1842 | resource.menu_alpha, 0, 255); | 1842 | resource.menu_alpha, 0, 255, *alpha_menu); |
1843 | menu_alpha_item->setCommand(saverc_cmd); | 1843 | menu_alpha_item->setCommand(saverc_cmd); |
1844 | alpha_menu->insert(menu_alpha_item); | 1844 | alpha_menu->insert(menu_alpha_item); |
1845 | 1845 | ||