aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2002-04-28 18:47:47 (GMT)
committerfluxgen <fluxgen>2002-04-28 18:47:47 (GMT)
commit644f8a56fc05efeede23a64525b6e5aa8161a358 (patch)
tree6223691e0b46ae4854bda5b4641e41812235d5f4 /src
parent86c9f77aa2da00c61583068420378b9e5c12aa55 (diff)
downloadfluxbox-644f8a56fc05efeede23a64525b6e5aa8161a358.zip
fluxbox-644f8a56fc05efeede23a64525b6e5aa8161a358.tar.bz2
reconfigure in case statement
Diffstat (limited to 'src')
-rw-r--r--src/Rootmenu.cc9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/Rootmenu.cc b/src/Rootmenu.cc
index c0de857..4e92d5f 100644
--- a/src/Rootmenu.cc
+++ b/src/Rootmenu.cc
@@ -19,8 +19,7 @@
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE. 20// DEALINGS IN THE SOFTWARE.
21 21
22// stupid macros needed to access some functions in version 2 of the GNU C 22//Use GNU extensions
23// library
24#ifndef _GNU_SOURCE 23#ifndef _GNU_SOURCE
25#define _GNU_SOURCE 24#define _GNU_SOURCE
26#endif // _GNU_SOURCE 25#endif // _GNU_SOURCE
@@ -97,14 +96,14 @@ void Rootmenu::itemSelected(int button, unsigned int index) {
97 case BScreen::SETSTYLE: 96 case BScreen::SETSTYLE:
98 if (item->exec().size()) { 97 if (item->exec().size()) {
99 fluxbox->saveStyleFilename(item->exec().c_str()); 98 fluxbox->saveStyleFilename(item->exec().c_str());
100 fluxbox->reconfigureTabs(); //TODO 99 fluxbox->reconfigureTabs();
101 } 100 }
102 101 fluxbox->reconfigure();
102 break;
103 case BScreen::RECONFIGURE: 103 case BScreen::RECONFIGURE:
104 fluxbox->reconfigure(); 104 fluxbox->reconfigure();
105 return; 105 return;
106 } 106 }
107
108 if (! (screen->getRootmenu()->isTorn() || isTorn()) && 107 if (! (screen->getRootmenu()->isTorn() || isTorn()) &&
109 item->function() != BScreen::RECONFIGURE && 108 item->function() != BScreen::RECONFIGURE &&
110 item->function() != BScreen::SETSTYLE) 109 item->function() != BScreen::SETSTYLE)