aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-08-27 00:11:57 (GMT)
committerfluxgen <fluxgen>2003-08-27 00:11:57 (GMT)
commit450c1d80f6f1c62a17c7231aec400a06e8a22b0b (patch)
tree3c5981e3f162407ac9bb59fd00b89b66f0bea2c6
parent720da3cc5664316357107318b6a838034223aa40 (diff)
downloadfluxbox_paul-450c1d80f6f1c62a17c7231aec400a06e8a22b0b.zip
fluxbox_paul-450c1d80f6f1c62a17c7231aec400a06e8a22b0b.tar.bz2
added edit current workspace name menu item
-rw-r--r--src/Toolbar.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/Toolbar.cc b/src/Toolbar.cc
index 180aa4b..1462532 100644
--- a/src/Toolbar.cc
+++ b/src/Toolbar.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: Toolbar.cc,v 1.115 2003/08/24 23:15:02 fluxgen Exp $ 25// $Id: Toolbar.cc,v 1.116 2003/08/27 00:11:57 fluxgen Exp $
26 26
27#include "Toolbar.hh" 27#include "Toolbar.hh"
28 28
@@ -47,7 +47,7 @@
47#include "BoolMenuItem.hh" 47#include "BoolMenuItem.hh"
48#include "Xinerama.hh" 48#include "Xinerama.hh"
49#include "Strut.hh" 49#include "Strut.hh"
50 50#include "FbCommands.hh"
51 51
52// use GNU extensions 52// use GNU extensions
53#ifndef _GNU_SOURCE 53#ifndef _GNU_SOURCE
@@ -742,13 +742,13 @@ void Toolbar::setupMenus() {
742 742
743 FbTk::Menu &menu = tbar.menu(); 743 FbTk::Menu &menu = tbar.menu();
744 //!! TODO: this should be inserted by the workspace tool 744 //!! TODO: this should be inserted by the workspace tool
745 /* 745
746 746
747 RefCount<Command> start_edit(new SimpleCommand<Toolbar>(tbar, &Toolbar::edit)); 747 RefCount<Command> start_edit(new FbCommands::SetWorkspaceNameCmd());
748 menu.insert(i18n->getMessage(FBNLS::ToolbarSet, FBNLS::ToolbarEditWkspcName, 748 menu.insert(i18n->getMessage(FBNLS::ToolbarSet, FBNLS::ToolbarEditWkspcName,
749 "Edit current workspace name"), 749 "Edit current workspace name"),
750 start_edit); 750 start_edit);
751 */ 751
752 menu.setLabel(i18n->getMessage(FBNLS::ToolbarSet, FBNLS::ToolbarToolbarTitle, 752 menu.setLabel(i18n->getMessage(FBNLS::ToolbarSet, FBNLS::ToolbarToolbarTitle,
753 "Toolbar")); 753 "Toolbar"));
754 754