aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2004-03-18 14:45:56 (GMT)
committerfluxgen <fluxgen>2004-03-18 14:45:56 (GMT)
commit048861bf35b9ad0cc72e16270e7c276eeb91079f (patch)
tree9f71522ab26ca1d619b74cf1b0771316532bd186 /src
parent3f615b530f25a87ab5984a1cfc4d3436cafbdba5 (diff)
downloadfluxbox_pavel-048861bf35b9ad0cc72e16270e7c276eeb91079f.zip
fluxbox_pavel-048861bf35b9ad0cc72e16270e7c276eeb91079f.tar.bz2
fixed menu timestamp on root menu, Patch from Mathias Gumz
Diffstat (limited to 'src')
-rw-r--r--src/Screen.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Screen.cc b/src/Screen.cc
index 8c93a7b..4fb6576 100644
--- a/src/Screen.cc
+++ b/src/Screen.cc
@@ -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.cc,v 1.268 2004/02/27 12:32:54 fluxgen Exp $ 25// $Id: Screen.cc,v 1.269 2004/03/18 14:45:56 fluxgen Exp $
26 26
27 27
28#include "Screen.hh" 28#include "Screen.hh"
@@ -1827,6 +1827,9 @@ void BScreen::initMenu() {
1827 if (err>0) { 1827 if (err>0) {
1828 m_rootmenu->setLabel(label.c_str()); 1828 m_rootmenu->setLabel(label.c_str());
1829 defaultMenu = parseMenuFile(menu_file, *m_rootmenu.get(), row); 1829 defaultMenu = parseMenuFile(menu_file, *m_rootmenu.get(), row);
1830 // save filename so we can check timestamp on the root menu
1831 if (!defaultMenu)
1832 fb->saveMenuFilename(menufilestr.c_str());
1830 } else 1833 } else
1831 cerr<<"Error in menufile. Line("<<row<<")"<<endl; 1834 cerr<<"Error in menufile. Line("<<row<<")"<<endl;
1832 break; 1835 break;