diff options
author | fluxgen <fluxgen> | 2002-05-18 12:38:13 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2002-05-18 12:38:13 (GMT) |
commit | 71a158e1afa0b2786f06667aaf2636fbbccd2d25 (patch) | |
tree | 0468926a0237a1c8fd2ae30bbc821d3d07308eb6 | |
parent | 63f6204c78f3d905bd0d9be700fafa64d4d636a4 (diff) | |
download | fluxbox_pavel-71a158e1afa0b2786f06667aaf2636fbbccd2d25.zip fluxbox_pavel-71a158e1afa0b2786f06667aaf2636fbbccd2d25.tar.bz2 |
save style on change
-rw-r--r-- | src/Rootmenu.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Rootmenu.cc b/src/Rootmenu.cc index 4e92d5f..5339630 100644 --- a/src/Rootmenu.cc +++ b/src/Rootmenu.cc | |||
@@ -91,7 +91,7 @@ void Rootmenu::itemSelected(int button, unsigned int index) { | |||
91 | 91 | ||
92 | case BScreen::EXIT: | 92 | case BScreen::EXIT: |
93 | fluxbox->shutdown(); | 93 | fluxbox->shutdown(); |
94 | break; | 94 | break; |
95 | 95 | ||
96 | case BScreen::SETSTYLE: | 96 | case BScreen::SETSTYLE: |
97 | if (item->exec().size()) { | 97 | if (item->exec().size()) { |
@@ -99,7 +99,8 @@ void Rootmenu::itemSelected(int button, unsigned int index) { | |||
99 | fluxbox->reconfigureTabs(); | 99 | fluxbox->reconfigureTabs(); |
100 | } | 100 | } |
101 | fluxbox->reconfigure(); | 101 | fluxbox->reconfigure(); |
102 | break; | 102 | fluxbox->save_rc(); |
103 | break; | ||
103 | case BScreen::RECONFIGURE: | 104 | case BScreen::RECONFIGURE: |
104 | fluxbox->reconfigure(); | 105 | fluxbox->reconfigure(); |
105 | return; | 106 | return; |