diff options
author | Matthew Barnes <mbarnes@src.gnome.org> | 2008-08-17 09:36:11 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2008-08-17 09:36:11 +0800 |
commit | 28b28bf057056d2aa28458b322319bf679608ae5 (patch) | |
tree | 12a503769283c9124ecfb1c97d4727d458034d30 /shell/e-shell-window-actions.c | |
parent | fd3514c75ff7f2aeb2d904015b984796205a05fe (diff) | |
download | gsoc2013-evolution-28b28bf057056d2aa28458b322319bf679608ae5.tar.gz 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.c | 9 |
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; |