aboutsummaryrefslogtreecommitdiff
path: root/src/fluxbox.hh
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-05-13 00:20:49 (GMT)
committerfluxgen <fluxgen>2003-05-13 00:20:49 (GMT)
commit2014d60ef394006ea916907226643200bbc86dc6 (patch)
tree4fc6db3df9277650ab4848b19bc8d10ef609fc66 /src/fluxbox.hh
parentcffa01d79bc4b4c4e5bdb8a306b4cd22147533ac (diff)
downloadfluxbox-2014d60ef394006ea916907226643200bbc86dc6.zip
fluxbox-2014d60ef394006ea916907226643200bbc86dc6.tar.bz2
fixed menu timestamps stuff
Diffstat (limited to 'src/fluxbox.hh')
-rw-r--r--src/fluxbox.hh6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/fluxbox.hh b/src/fluxbox.hh
index 503e55c..a3c4f81 100644
--- a/src/fluxbox.hh
+++ b/src/fluxbox.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: fluxbox.hh,v 1.57 2003/05/12 04:23:31 fluxgen Exp $ 25// $Id: fluxbox.hh,v 1.58 2003/05/13 00:18:28 fluxgen Exp $
26 26
27#ifndef FLUXBOX_HH 27#ifndef FLUXBOX_HH
28#define FLUXBOX_HH 28#define FLUXBOX_HH
@@ -156,6 +156,7 @@ public:
156 void loadTitlebar(); 156 void loadTitlebar();
157 void saveStyleFilename(const char *val) { m_rc_stylefile = (val == 0 ? "" : val); } 157 void saveStyleFilename(const char *val) { m_rc_stylefile = (val == 0 ? "" : val); }
158 void saveMenuFilename(const char *); 158 void saveMenuFilename(const char *);
159 void clearMenuFilenames();
159 void saveTitlebarFilename(const char *); 160 void saveTitlebarFilename(const char *);
160 void saveSlitlistFilename(const char *val) { m_rc_slitlistfile = (val == 0 ? "" : val); } 161 void saveSlitlistFilename(const char *val) { m_rc_slitlistfile = (val == 0 ? "" : val); }
161 void saveWindowSearch(Window win, FluxboxWindow *fbwin); 162 void saveWindowSearch(Window win, FluxboxWindow *fbwin);
@@ -166,6 +167,7 @@ public:
166 void restart(const char *command = 0); 167 void restart(const char *command = 0);
167 void reconfigure(); 168 void reconfigure();
168 void rereadMenu(); 169 void rereadMenu();
170 /// reloads the menus if the timestamps changed
169 void checkMenu(); 171 void checkMenu();
170 172
171 /// handle any system signal sent to the application 173 /// handle any system signal sent to the application
@@ -185,6 +187,8 @@ public:
185 enum { B_AMERICANDATE = 1, B_EUROPEANDATE }; 187 enum { B_AMERICANDATE = 1, B_EUROPEANDATE };
186 188
187 typedef std::vector<Fluxbox::Titlebar> TitlebarList; 189 typedef std::vector<Fluxbox::Titlebar> TitlebarList;
190 /// @return whether the timestamps on the menu changed
191 bool menuTimestampsChanged() const;
188 192
189private: 193private:
190 struct cursor { 194 struct cursor {