diff options
author | Matthew Barnes <mbarnes@src.gnome.org> | 2008-10-28 06:47:50 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2008-10-28 06:47:50 +0800 |
commit | 17e030e2022b2343c795b7fd524ba9451ca71e9f (patch) | |
tree | d283ec323eb83e99c12299003c16c0a7c12fd1e9 /shell/e-shell-window.c | |
parent | 14f54991f36d5d3556af1dde53ddb7a8aceafa3a (diff) | |
download | gsoc2013-evolution-17e030e2022b2343c795b7fd524ba9451ca71e9f.tar.gz gsoc2013-evolution-17e030e2022b2343c795b7fd524ba9451ca71e9f.tar.zst gsoc2013-evolution-17e030e2022b2343c795b7fd524ba9451ca71e9f.zip |
Fix a couple minor UI bugs.
Populate the calendar's filter combo.
svn path=/branches/kill-bonobo/; revision=36691
Diffstat (limited to 'shell/e-shell-window.c')
-rw-r--r-- | shell/e-shell-window.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/shell/e-shell-window.c b/shell/e-shell-window.c index f278af0bf8..467e59d6cd 100644 --- a/shell/e-shell-window.c +++ b/shell/e-shell-window.c @@ -742,6 +742,16 @@ e_shell_window_register_new_item_actions (EShellWindow *shell_window, g_object_set_data ( G_OBJECT (action), "module-name", (gpointer) module_name); + + /* The first action becomes the first item in the "New" + * menu, and consequently its icon is shown in the "New" + * button when the shell module's view is active. This + * is all sorted out in shell_window_extract_actions(). + * Note, the data value just needs to be non-zero. */ + if (ii == 0) + g_object_set_data ( + G_OBJECT (action), + "primary", GINT_TO_POINTER (TRUE)); } e_shell_window_update_new_menu (shell_window); |