aboutsummaryrefslogtreecommitdiff
path: root/src/Screen.cc
diff options
context:
space:
mode:
authorMark Tiefenbruck <mark@fluxbox.org>2008-05-01 08:22:16 (GMT)
committerMark Tiefenbruck <mark@fluxbox.org>2008-05-01 08:22:16 (GMT)
commit50024d32bc40541f128d80139e58494663f955b4 (patch)
tree524fd9a785cae1d11184f35d6298143c35156ed9 /src/Screen.cc
parent2c3f266c740dda76b5c96acb874eff85d6adffc9 (diff)
downloadfluxbox_pavel-50024d32bc40541f128d80139e58494663f955b4.zip
fluxbox_pavel-50024d32bc40541f128d80139e58494663f955b4.tar.bz2
save timestamp for non-existent menu file, in case user creates one
Diffstat (limited to 'src/Screen.cc')
-rw-r--r--src/Screen.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Screen.cc b/src/Screen.cc
index cb6faf2..f06fc43 100644
--- a/src/Screen.cc
+++ b/src/Screen.cc
@@ -1536,6 +1536,9 @@ void BScreen::initMenu() {
1536 restart_fb); 1536 restart_fb);
1537 m_rootmenu->insert(_FB_XTEXT(Menu, Exit, "Exit", "Exit command"), 1537 m_rootmenu->insert(_FB_XTEXT(Menu, Exit, "Exit", "Exit command"),
1538 exit_fb); 1538 exit_fb);
1539 // still save the menu filename, in case it becomes valid later
1540 if (!fb->getMenuFilename().empty())
1541 fb->saveMenuFilename(fb->getMenuFilename().c_str());
1539 } 1542 }
1540 1543
1541 m_rootmenu->updateMenu(); 1544 m_rootmenu->updateMenu();