aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorGilles Dartiguelongue <gdartigu@src.gnome.org>2007-11-18 07:20:07 +0800
committerGilles Dartiguelongue <gdartigu@src.gnome.org>2007-11-18 07:20:07 +0800
commit82101429ace39073911832aea85ef1d435d2357d (patch)
tree0b152a65ec165dd6e9a7a9643c6759726cb9a7ec /calendar/gui
parent2c1871142067eba67ce9e2acc085827e3abcc78c (diff)
downloadgsoc2013-evolution-82101429ace39073911832aea85ef1d435d2357d.tar.gz
gsoc2013-evolution-82101429ace39073911832aea85ef1d435d2357d.tar.zst
gsoc2013-evolution-82101429ace39073911832aea85ef1d435d2357d.zip
** Fix for bug #495875
right click menu reordering svn path=/trunk/; revision=34549
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/calendar-component.c6
-rw-r--r--calendar/gui/memos-component.c6
-rw-r--r--calendar/gui/tasks-component.c6
3 files changed, 15 insertions, 3 deletions
diff --git a/calendar/gui/calendar-component.c b/calendar/gui/calendar-component.c
index 607e199f81..067fadd21d 100644
--- a/calendar/gui/calendar-component.c
+++ b/calendar/gui/calendar-component.c
@@ -604,8 +604,12 @@ edit_calendar_cb (EPopup *ep, EPopupItem *pitem, void *data)
static EPopupItem ecc_source_popups[] = {
{ E_POPUP_ITEM, "10.new", N_("_New Calendar"), new_calendar_cb, NULL, "stock_calendar", 0, 0 },
{ E_POPUP_ITEM, "15.copy", N_("_Copy..."), copy_calendar_cb, NULL, "edit-copy", 0, E_CAL_POPUP_SOURCE_PRIMARY },
+
+ { E_POPUP_BAR, "20.bar" },
{ E_POPUP_ITEM, "20.delete", N_("_Delete"), delete_calendar_cb, NULL, "edit-delete", 0,E_CAL_POPUP_SOURCE_USER|E_CAL_POPUP_SOURCE_PRIMARY|E_CAL_POPUP_SOURCE_DELETE },
- { E_POPUP_ITEM, "30.properties", N_("_Properties"), edit_calendar_cb, NULL, "document-properties", 0, E_CAL_POPUP_SOURCE_PRIMARY },
+
+ { E_POPUP_BAR, "99.bar" },
+ { E_POPUP_ITEM, "99.properties", N_("_Properties"), edit_calendar_cb, NULL, "document-properties", 0, E_CAL_POPUP_SOURCE_PRIMARY },
};
static void
diff --git a/calendar/gui/memos-component.c b/calendar/gui/memos-component.c
index 8766649959..534d31ec71 100644
--- a/calendar/gui/memos-component.c
+++ b/calendar/gui/memos-component.c
@@ -463,8 +463,12 @@ edit_memo_list_cb (EPopup *ep, EPopupItem *pitem, void *data)
static EPopupItem emc_source_popups[] = {
{ E_POPUP_ITEM, "10.new", N_("_New Memo List"), new_memo_list_cb, NULL, "stock_notes", 0, 0 },
{ E_POPUP_ITEM, "15.copy", N_("_Copy..."), copy_memo_list_cb, NULL, "edit-copy", 0, E_CAL_POPUP_SOURCE_PRIMARY },
+
+ { E_POPUP_BAR, "20.bar" },
{ E_POPUP_ITEM, "20.delete", N_("_Delete"), delete_memo_list_cb, NULL, "edit-delete", 0, E_CAL_POPUP_SOURCE_USER|E_CAL_POPUP_SOURCE_PRIMARY },
- { E_POPUP_ITEM, "30.properties", N_("_Properties"), edit_memo_list_cb, NULL, "document-properties", 0, E_CAL_POPUP_SOURCE_PRIMARY },
+
+ { E_POPUP_BAR, "99.bar" },
+ { E_POPUP_ITEM, "99.properties", N_("_Properties"), edit_memo_list_cb, NULL, "document-properties", 0, E_CAL_POPUP_SOURCE_PRIMARY },
};
static void
diff --git a/calendar/gui/tasks-component.c b/calendar/gui/tasks-component.c
index da1c0e61eb..3ff57e4411 100644
--- a/calendar/gui/tasks-component.c
+++ b/calendar/gui/tasks-component.c
@@ -454,8 +454,12 @@ edit_task_list_cb (EPopup *ep, EPopupItem *pitem, void *data)
static EPopupItem etc_source_popups[] = {
{ E_POPUP_ITEM, "10.new", N_("_New Task List"), new_task_list_cb, NULL, "stock_todo", 0, 0 },
{ E_POPUP_ITEM, "15.copy", N_("_Copy..."), copy_task_list_cb, NULL, "edit-copy", 0, E_CAL_POPUP_SOURCE_PRIMARY },
+
+ { E_POPUP_BAR, "20.bar" },
{ E_POPUP_ITEM, "20.delete", N_("_Delete"), delete_task_list_cb, NULL, "edit-delete", 0, E_CAL_POPUP_SOURCE_USER|E_CAL_POPUP_SOURCE_PRIMARY },
- { E_POPUP_ITEM, "30.properties", N_("_Properties"), edit_task_list_cb, NULL, "document-properties", 0, E_CAL_POPUP_SOURCE_PRIMARY },
+
+ { E_POPUP_BAR, "99.bar" },
+ { E_POPUP_ITEM, "99.properties", N_("_Properties"), edit_task_list_cb, NULL, "document-properties", 0, E_CAL_POPUP_SOURCE_PRIMARY },
};
static void