aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-window-actions.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@src.gnome.org>2008-10-28 06:47:50 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2008-10-28 06:47:50 +0800
commit17e030e2022b2343c795b7fd524ba9451ca71e9f (patch)
treed283ec323eb83e99c12299003c16c0a7c12fd1e9 /shell/e-shell-window-actions.c
parent14f54991f36d5d3556af1dde53ddb7a8aceafa3a (diff)
downloadgsoc2013-evolution-17e030e2022b2343c795b7fd524ba9451ca71e9f.tar
gsoc2013-evolution-17e030e2022b2343c795b7fd524ba9451ca71e9f.tar.gz
gsoc2013-evolution-17e030e2022b2343c795b7fd524ba9451ca71e9f.tar.bz2
gsoc2013-evolution-17e030e2022b2343c795b7fd524ba9451ca71e9f.tar.lz
gsoc2013-evolution-17e030e2022b2343c795b7fd524ba9451ca71e9f.tar.xz
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-actions.c')
-rw-r--r--shell/e-shell-window-actions.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/shell/e-shell-window-actions.c b/shell/e-shell-window-actions.c
index 2dcdd4c4d4..348daae89e 100644
--- a/shell/e-shell-window-actions.c
+++ b/shell/e-shell-window-actions.c
@@ -1781,6 +1781,7 @@ shell_window_extract_actions (EShellWindow *shell_window,
{
const gchar *current_view;
GList *match_list = NULL;
+ GList *primary = NULL;
GList *iter;
/* Pick out the actions from the source list that are tagged
@@ -1809,7 +1810,10 @@ shell_window_extract_actions (EShellWindow *shell_window,
if (strcmp (module_name, current_view) != 0)
continue;
- match_list = g_list_append (match_list, iter);
+ if (g_object_get_data (G_OBJECT (action), "primary"))
+ match_list = g_list_prepend (match_list, iter);
+ else
+ match_list = g_list_append (match_list, iter);
}
/* source_list = [B] match_list = [A] -> [C] */