diff options
author | rathnor <rathnor> | 2003-07-20 08:12:36 (GMT) |
---|---|---|
committer | rathnor <rathnor> | 2003-07-20 08:12:36 (GMT) |
commit | 1741ac072dd6516b4dcfdf6dbe9099a335c7bc7d (patch) | |
tree | 8dd1331222e35070a16aaae5d4bd059296dd341c /src/Screen.hh | |
parent | ace3e2e6293fa0ae5a2b9d971f24fa45b317ba2e (diff) | |
download | fluxbox-1741ac072dd6516b4dcfdf6dbe9099a335c7bc7d.zip fluxbox-1741ac072dd6516b4dcfdf6dbe9099a335c7bc7d.tar.bz2 |
fix menus for "extra" things, like remember, so that they will be
added back if the menu is rebuilt.
Diffstat (limited to 'src/Screen.hh')
-rw-r--r-- | src/Screen.hh | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/Screen.hh b/src/Screen.hh index 3718d92..4181698 100644 --- a/src/Screen.hh +++ b/src/Screen.hh | |||
@@ -22,7 +22,7 @@ | |||
22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
23 | // DEALINGS IN THE SOFTWARE. | 23 | // DEALINGS IN THE SOFTWARE. |
24 | 24 | ||
25 | // $Id: Screen.hh,v 1.115 2003/07/20 02:45:57 rathnor Exp $ | 25 | // $Id: Screen.hh,v 1.116 2003/07/20 08:12:36 rathnor Exp $ |
26 | 26 | ||
27 | #ifndef SCREEN_HH | 27 | #ifndef SCREEN_HH |
28 | #define SCREEN_HH | 28 | #define SCREEN_HH |
@@ -193,6 +193,9 @@ public: | |||
193 | inline MenuTheme *menuTheme() { return m_menutheme.get(); } | 193 | inline MenuTheme *menuTheme() { return m_menutheme.get(); } |
194 | inline const MenuTheme *menuTheme() const { return m_menutheme.get(); } | 194 | inline const MenuTheme *menuTheme() const { return m_menutheme.get(); } |
195 | inline const RootTheme &rootTheme() const { return *m_root_theme.get(); } | 195 | inline const RootTheme &rootTheme() const { return *m_root_theme.get(); } |
196 | inline WinButtonTheme &winButtonTheme() { return *m_winbutton_theme.get(); } | ||
197 | inline const WinButtonTheme &winButtonTheme() const { return *m_winbutton_theme.get(); } | ||
198 | |||
196 | FbRootWindow &rootWindow() { return m_root_window; } | 199 | FbRootWindow &rootWindow() { return m_root_window; } |
197 | const FbRootWindow &rootWindow() const { return m_root_window; } | 200 | const FbRootWindow &rootWindow() const { return m_root_window; } |
198 | 201 | ||
@@ -311,8 +314,8 @@ public: | |||
311 | void updateAvailableWorkspaceArea(); | 314 | void updateAvailableWorkspaceArea(); |
312 | 315 | ||
313 | // for extras to add menus. These menus must be marked | 316 | // for extras to add menus. These menus must be marked |
314 | // internal for their safety, and the extension must | 317 | // internal for their safety, and __the extension__ must |
315 | // delete and remove the menu itself | 318 | // delete and remove the menu itself (opposite to Window) |
316 | void addConfigMenu(const char *label, FbTk::Menu &menu); | 319 | void addConfigMenu(const char *label, FbTk::Menu &menu); |
317 | void removeConfigMenu(FbTk::Menu &menu); | 320 | void removeConfigMenu(FbTk::Menu &menu); |
318 | 321 | ||