aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-window-actions.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@src.gnome.org>2008-08-17 09:36:11 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2008-08-17 09:36:11 +0800
commit28b28bf057056d2aa28458b322319bf679608ae5 (patch)
tree12a503769283c9124ecfb1c97d4727d458034d30 /shell/e-shell-window-actions.c
parentfd3514c75ff7f2aeb2d904015b984796205a05fe (diff)
downloadgsoc2013-evolution-28b28bf057056d2aa28458b322319bf679608ae5.tar
gsoc2013-evolution-28b28bf057056d2aa28458b322319bf679608ae5.tar.gz
gsoc2013-evolution-28b28bf057056d2aa28458b322319bf679608ae5.tar.bz2
gsoc2013-evolution-28b28bf057056d2aa28458b322319bf679608ae5.tar.lz
gsoc2013-evolution-28b28bf057056d2aa28458b322319bf679608ae5.tar.xz
gsoc2013-evolution-28b28bf057056d2aa28458b322319bf679608ae5.tar.zst
gsoc2013-evolution-28b28bf057056d2aa28458b322319bf679608ae5.zip
Write the algorithm for sorting items in the "New" menu. Not yet tested.
svn path=/branches/kill-bonobo/; revision=36004
Diffstat (limited to 'shell/e-shell-window-actions.c')
-rw-r--r--shell/e-shell-window-actions.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/shell/e-shell-window-actions.c b/shell/e-shell-window-actions.c
index c4d9b1b99e..85bdf445d9 100644
--- a/shell/e-shell-window-actions.c
+++ b/shell/e-shell-window-actions.c
@@ -1220,11 +1220,6 @@ e_shell_window_actions_init (EShellWindow *window)
gtk_action_group_set_translation_domain (action_group, domain);
gtk_ui_manager_insert_action_group (manager, action_group, 0);
- /* New Group Actions (empty) */
- action_group = window->priv->new_group_actions;
- gtk_action_group_set_translation_domain (action_group, domain);
- gtk_ui_manager_insert_action_group (manager, action_group, 0);
-
/* New Source Actions (empty) */
action_group = window->priv->new_source_actions;
gtk_action_group_set_translation_domain (action_group, domain);
@@ -1253,6 +1248,10 @@ e_shell_window_create_shell_view_actions (EShellWindow *window)
manager = e_shell_window_get_ui_manager (window);
merge_id = gtk_ui_manager_new_merge_id (manager);
+ /* Construct a group of radio actions from the various EShellView
+ * subclasses and register them with our ESidebar. These actions
+ * are manifested as switcher buttons and View->Window menu items. */
+
for (ii = 0; ii < n_types; ii++) {
EShellViewClass *class;
GtkRadioAction *action;