From a3a23c28f0fa4ed8b42ccde4a4b99aec60583df5 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 15 May 2002 22:23:35 +0000 Subject: moved menu from a rc file option to a command line option --- src/openbox.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/openbox.h') diff --git a/src/openbox.h b/src/openbox.h index 61d5fdb2..a98b2f14 100644 --- a/src/openbox.h +++ b/src/openbox.h @@ -87,7 +87,7 @@ private: struct resource { Time double_click_interval; - char *menu_file, *style_file; + char *style_file; char *titlebar_layout; int colors_per_channel; timeval auto_raise_delay; @@ -129,7 +129,7 @@ private: Bool no_focus, reconfigure_wait, reread_menu_wait; Time last_time; Window masked; - char *rc_file, **argv; + char *menu_file, *rc_file, **argv; int argc; Resource config; @@ -144,7 +144,7 @@ protected: public: - Openbox(int, char **, char * = 0, char * = 0); + Openbox(int, char **, char * = 0, char * = 0, char * = 0); virtual ~Openbox(); #ifdef HAVE_GETPID @@ -173,7 +173,8 @@ public: inline const char *getStyleFilename() const { return resource.style_file; } inline const char *getMenuFilename() const - { return resource.menu_file; } + { return menu_file; } + void addMenuTimestamp(const char *filename); inline const int &getColorsPerChannel() const { return resource.colors_per_channel; } @@ -197,7 +198,6 @@ public: void shutdown(); void setStyleFilename(const char *); - void setMenuFilename(const char *); void saveMenuSearch(Window, Basemenu *); void saveWindowSearch(Window, OpenboxWindow *); void saveToolbarSearch(Window, Toolbar *); -- cgit v1.2.3