aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Meeks <michael@helixcode.com>2000-10-09 20:02:20 +0800
committerMichael Meeks <mmeeks@src.gnome.org>2000-10-09 20:02:20 +0800
commitccb4ef86d0520b9179f849c5c082941f13e177df (patch)
tree45f983e7a9fb23b8542cb23ac8b5499d8bcb8143
parent625a04713d6b3d36d99eccfa1de484ad3991bfe0 (diff)
downloadgsoc2013-evolution-ccb4ef86d0520b9179f849c5c082941f13e177df.tar.gz
gsoc2013-evolution-ccb4ef86d0520b9179f849c5c082941f13e177df.tar.zst
gsoc2013-evolution-ccb4ef86d0520b9179f849c5c082941f13e177df.zip
Change paths in such a way as to require HEAD bonobo.
2000-10-09 Michael Meeks <michael@helixcode.com> * e-shell-view-menu.c: Change paths in such a way as to require HEAD bonobo. (command_toggle_folder_bar, command_toggle_shortcut_bar): only respond to state changes. svn path=/trunk/; revision=5793
-rw-r--r--shell/ChangeLog7
-rw-r--r--shell/e-shell-view-menu.c10
2 files changed, 15 insertions, 2 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog
index 4790299adc..666b16225c 100644
--- a/shell/ChangeLog
+++ b/shell/ChangeLog
@@ -1,3 +1,10 @@
+2000-10-09 Michael Meeks <michael@helixcode.com>
+
+ * e-shell-view-menu.c: Change paths in such a way as to require
+ HEAD bonobo.
+ (command_toggle_folder_bar, command_toggle_shortcut_bar): only
+ respond to state changes.
+
2000-10-07 Matt Wilson <msw@redhat.com>
* e-shell-view.c (init): initialize priv->sockets to NULL, fixes
diff --git a/shell/e-shell-view-menu.c b/shell/e-shell-view-menu.c
index 61154d77ff..8d943fadd0 100644
--- a/shell/e-shell-view-menu.c
+++ b/shell/e-shell-view-menu.c
@@ -200,6 +200,9 @@ command_toggle_folder_bar (BonoboUIComponent *component,
EShellViewSubwindowMode mode;
gboolean show;
+ if (type != Bonobo_UIComponent_STATE_CHANGED)
+ return;
+
shell_view = E_SHELL_VIEW (user_data);
show = atoi (state);
@@ -223,6 +226,9 @@ command_toggle_shortcut_bar (BonoboUIComponent *component,
EShellViewSubwindowMode mode;
gboolean show;
+ if (type != Bonobo_UIComponent_STATE_CHANGED)
+ return;
+
shell_view = E_SHELL_VIEW (user_data);
show = atoi (state);
@@ -434,8 +440,8 @@ menu_do_misc (BonoboUIComponent *component,
}
-#define SHORTCUT_BAR_TOGGLE_PATH "/menu/View/ShortcutBar"
-#define FOLDER_BAR_TOGGLE_PATH "/menu/View/FolderBar"
+#define SHORTCUT_BAR_TOGGLE_PATH "/commands/ViewShortcutBar"
+#define FOLDER_BAR_TOGGLE_PATH "/commands/ViewFolderBar"
void
e_shell_view_menu_setup (EShellView *shell_view)