diff options
author | unknown <unknown> | 2002-01-11 11:59:54 (GMT) |
---|---|---|
committer | unknown <unknown> | 2002-01-11 11:59:54 (GMT) |
commit | 61661d638e34b3ce6c986d5a53b8c08c1051d422 (patch) | |
tree | f0b87676e95070afee163f76902efd0c4d5b5fe6 /src/Rootmenu.cc | |
parent | f98c3c9045397bd9497621deb55b310366f8a5de (diff) | |
parent | a3d2a1cf0a5ab724e19a91915fe97842f52260d5 (diff) | |
download | fluxbox-c325ffaa4e094163340f957e87463c8a526b4d5b.zip fluxbox-c325ffaa4e094163340f957e87463c8a526b4d5b.tar.bz2 |
This commit was manufactured by cvs2svn to create tagRelease-0_1_6
'Release-0_1_6'.
Diffstat (limited to 'src/Rootmenu.cc')
-rw-r--r-- | src/Rootmenu.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/Rootmenu.cc b/src/Rootmenu.cc index c86879f..9e0c83b 100644 --- a/src/Rootmenu.cc +++ b/src/Rootmenu.cc | |||
@@ -65,7 +65,7 @@ void Rootmenu::itemSelected(int button, int index) { | |||
65 | 65 | ||
66 | if (item->function()) { | 66 | if (item->function()) { |
67 | switch (item->function()) { | 67 | switch (item->function()) { |
68 | case BScreen::Execute: | 68 | case BScreen::EXECUTE: |
69 | if (item->exec()) { | 69 | if (item->exec()) { |
70 | #ifndef __EMX__ | 70 | #ifndef __EMX__ |
71 | char displaystring[MAXPATHLEN]; | 71 | char displaystring[MAXPATHLEN]; |
@@ -81,33 +81,33 @@ void Rootmenu::itemSelected(int button, int index) { | |||
81 | } | 81 | } |
82 | break; | 82 | break; |
83 | 83 | ||
84 | case BScreen::Restart: | 84 | case BScreen::RESTART: |
85 | fluxbox->restart(); | 85 | fluxbox->restart(); |
86 | break; | 86 | break; |
87 | 87 | ||
88 | case BScreen::RestartOther: | 88 | case BScreen::RESTARTOTHER: |
89 | if (item->exec()) | 89 | if (item->exec()) |
90 | fluxbox->restart(item->exec()); | 90 | fluxbox->restart(item->exec()); |
91 | break; | 91 | break; |
92 | 92 | ||
93 | case BScreen::Exit: | 93 | case BScreen::EXIT: |
94 | fluxbox->shutdown(); | 94 | fluxbox->shutdown(); |
95 | break; | 95 | break; |
96 | 96 | ||
97 | case BScreen::SetStyle: | 97 | case BScreen::SETSTYLE: |
98 | if (item->exec()) { | 98 | if (item->exec()) { |
99 | fluxbox->saveStyleFilename(item->exec()); | 99 | fluxbox->saveStyleFilename(item->exec()); |
100 | fluxbox->reconfigureTabs(); //TODO | 100 | fluxbox->reconfigureTabs(); //TODO |
101 | } | 101 | } |
102 | 102 | ||
103 | case BScreen::Reconfigure: | 103 | case BScreen::RECONFIGURE: |
104 | fluxbox->reconfigure(); | 104 | fluxbox->reconfigure(); |
105 | return; | 105 | return; |
106 | } | 106 | } |
107 | 107 | ||
108 | if (! (screen->getRootmenu()->isTorn() || isTorn()) && | 108 | if (! (screen->getRootmenu()->isTorn() || isTorn()) && |
109 | item->function() != BScreen::Reconfigure && | 109 | item->function() != BScreen::RECONFIGURE && |
110 | item->function() != BScreen::SetStyle) | 110 | item->function() != BScreen::SETSTYLE) |
111 | hide(); | 111 | hide(); |
112 | } | 112 | } |
113 | } | 113 | } |