diff options
Diffstat (limited to 'src/Screen.cc')
-rw-r--r-- | src/Screen.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Screen.cc b/src/Screen.cc index 5ea6202..58f195a 100644 --- a/src/Screen.cc +++ b/src/Screen.cc | |||
@@ -1689,7 +1689,7 @@ void BScreen::setupConfigmenu(FbTk::Menu &menu) { | |||
1689 | *resource.max_over_tabs, save_and_reconfigure)); | 1689 | *resource.max_over_tabs, save_and_reconfigure)); |
1690 | 1690 | ||
1691 | FbTk::MenuItem *tab_width_item = | 1691 | FbTk::MenuItem *tab_width_item = |
1692 | new IntResMenuItem(_FB_XTEXT(Configmenu, ExternalTabWidth, | 1692 | new IntResMenuItem< FbTk::Resource<int> >(_FB_XTEXT(Configmenu, ExternalTabWidth, |
1693 | "External Tab Width", | 1693 | "External Tab Width", |
1694 | "Width of external-style tabs"), | 1694 | "Width of external-style tabs"), |
1695 | resource.tab_width, 10, 3000, /* silly number */ | 1695 | resource.tab_width, 10, 3000, /* silly number */ |
@@ -1791,7 +1791,7 @@ void BScreen::setupConfigmenu(FbTk::Menu &menu) { | |||
1791 | } | 1791 | } |
1792 | 1792 | ||
1793 | FbTk::MenuItem *focused_alpha_item = | 1793 | FbTk::MenuItem *focused_alpha_item = |
1794 | new IntResMenuItem(_FB_XTEXT(Configmenu, FocusedAlpha, | 1794 | new IntResMenuItem< FbTk::Resource<int> >(_FB_XTEXT(Configmenu, FocusedAlpha, |
1795 | "Focused Window Alpha", | 1795 | "Focused Window Alpha", |
1796 | "Transparency level of the focused window"), | 1796 | "Transparency level of the focused window"), |
1797 | resource.focused_alpha, 0, 255, *alpha_menu); | 1797 | resource.focused_alpha, 0, 255, *alpha_menu); |
@@ -1799,7 +1799,7 @@ void BScreen::setupConfigmenu(FbTk::Menu &menu) { | |||
1799 | alpha_menu->insert(focused_alpha_item); | 1799 | alpha_menu->insert(focused_alpha_item); |
1800 | 1800 | ||
1801 | FbTk::MenuItem *unfocused_alpha_item = | 1801 | FbTk::MenuItem *unfocused_alpha_item = |
1802 | new IntResMenuItem(_FB_XTEXT(Configmenu, | 1802 | new IntResMenuItem< FbTk::Resource<int> >(_FB_XTEXT(Configmenu, |
1803 | UnfocusedAlpha, | 1803 | UnfocusedAlpha, |
1804 | "Unfocused Window Alpha", | 1804 | "Unfocused Window Alpha", |
1805 | "Transparency level of unfocused windows"), | 1805 | "Transparency level of unfocused windows"), |
@@ -1809,7 +1809,7 @@ void BScreen::setupConfigmenu(FbTk::Menu &menu) { | |||
1809 | alpha_menu->insert(unfocused_alpha_item); | 1809 | alpha_menu->insert(unfocused_alpha_item); |
1810 | 1810 | ||
1811 | FbTk::MenuItem *menu_alpha_item = | 1811 | FbTk::MenuItem *menu_alpha_item = |
1812 | new IntResMenuItem(_FB_XTEXT(Configmenu, MenuAlpha, | 1812 | new IntResMenuItem< FbTk::Resource<int> >(_FB_XTEXT(Configmenu, MenuAlpha, |
1813 | "Menu Alpha", "Transparency level of menu"), | 1813 | "Menu Alpha", "Transparency level of menu"), |
1814 | resource.menu_alpha, 0, 255, *alpha_menu); | 1814 | resource.menu_alpha, 0, 255, *alpha_menu); |
1815 | menu_alpha_item->setCommand(saverc_cmd); | 1815 | menu_alpha_item->setCommand(saverc_cmd); |