aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@novell.com>2005-10-03 19:20:51 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2005-10-03 19:20:51 +0800
commitce6a0e927d7d468fdf7469dc6469d497f1f36dba (patch)
tree005c2b4e5ce433dc88f94aef50dc6ca13a282753 /calendar/gui
parentf8618bb628e7817ec3d9d1da23dfb609b6b9f894 (diff)
downloadgsoc2013-evolution-ce6a0e927d7d468fdf7469dc6469d497f1f36dba.tar
gsoc2013-evolution-ce6a0e927d7d468fdf7469dc6469d497f1f36dba.tar.gz
gsoc2013-evolution-ce6a0e927d7d468fdf7469dc6469d497f1f36dba.tar.bz2
gsoc2013-evolution-ce6a0e927d7d468fdf7469dc6469d497f1f36dba.tar.lz
gsoc2013-evolution-ce6a0e927d7d468fdf7469dc6469d497f1f36dba.tar.xz
gsoc2013-evolution-ce6a0e927d7d468fdf7469dc6469d497f1f36dba.tar.zst
gsoc2013-evolution-ce6a0e927d7d468fdf7469dc6469d497f1f36dba.zip
Provides across calendars keyboard accelerators for popup menus
2005-10-02 Srinivasa Ragavan <sragavan@novell.com> Provides across calendars keyboard accelerators for popup menus * gui/calendar-component.c (ecc_source_popups): * gui/e-calendar-view.c (ecv_main_items) (ecv_main_items): * gui/gnome-cal.c (gc_popups): * gui/tasks-component.c (etc_source_popups): Added Keybinding for popup menu. svn path=/trunk/; revision=30478
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/calendar-component.c8
-rw-r--r--calendar/gui/e-calendar-view.c8
-rw-r--r--calendar/gui/gnome-cal.c6
-rw-r--r--calendar/gui/tasks-component.c8
4 files changed, 15 insertions, 15 deletions
diff --git a/calendar/gui/calendar-component.c b/calendar/gui/calendar-component.c
index 02a8afaea7..5893181847 100644
--- a/calendar/gui/calendar-component.c
+++ b/calendar/gui/calendar-component.c
@@ -532,10 +532,10 @@ 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, "stock_folder-copy", 0, E_CAL_POPUP_SOURCE_PRIMARY },
- { E_POPUP_ITEM, "20.delete", N_("Delete"), delete_calendar_cb, NULL, "stock_delete", 0, E_CAL_POPUP_SOURCE_USER|E_CAL_POPUP_SOURCE_PRIMARY },
- { E_POPUP_ITEM, "30.properties", N_("Properties..."), edit_calendar_cb, NULL, "stock_folder-properties", 0, E_CAL_POPUP_SOURCE_PRIMARY },
+ { 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, "stock_folder-copy", 0, E_CAL_POPUP_SOURCE_PRIMARY },
+ { E_POPUP_ITEM, "20.delete", N_("_Delete"), delete_calendar_cb, NULL, "stock_delete", 0, E_CAL_POPUP_SOURCE_USER|E_CAL_POPUP_SOURCE_PRIMARY },
+ { E_POPUP_ITEM, "30.properties", N_("_Properties..."), edit_calendar_cb, NULL, "stock_folder-properties", 0, E_CAL_POPUP_SOURCE_PRIMARY },
};
static void
diff --git a/calendar/gui/e-calendar-view.c b/calendar/gui/e-calendar-view.c
index a05b2ffe8e..efb3c580db 100644
--- a/calendar/gui/e-calendar-view.c
+++ b/calendar/gui/e-calendar-view.c
@@ -1519,8 +1519,8 @@ on_paste (EPopup *ep, EPopupItem *pitem, void *data)
static EPopupItem ecv_main_items [] = {
{ E_POPUP_ITEM, "00.new", N_("New _Appointment..."), on_new_appointment, NULL, "stock_new-appointment", 0, 0 },
{ E_POPUP_ITEM, "10.newallday", N_("New All Day _Event"), on_new_event, NULL, "stock_new-24h-appointment", 0, 0},
- { E_POPUP_ITEM, "20.meeting", N_("New Meeting"), on_new_meeting, NULL, "stock_new-meeting", 0, 0},
- { E_POPUP_ITEM, "30.task", N_("New Task"), on_new_task, NULL, "stock_task", 0, 0},
+ { E_POPUP_ITEM, "20.meeting", N_("New _Meeting"), on_new_meeting, NULL, "stock_new-meeting", 0, 0},
+ { E_POPUP_ITEM, "30.task", N_("New _Task"), on_new_task, NULL, "stock_task", 0, 0},
{ E_POPUP_BAR, "40."},
{ E_POPUP_ITEM, "40.print", N_("_Print..."), on_print, NULL, GTK_STOCK_PRINT, 0, 0 },
@@ -1530,9 +1530,9 @@ static EPopupItem ecv_main_items [] = {
{ E_POPUP_BAR, "60." },
/* FIXME: hook in this somehow */
- { E_POPUP_SUBMENU, "60.view", N_("Current View") },
+ { E_POPUP_SUBMENU, "60.view", N_("_Current View") },
- { E_POPUP_ITEM, "61.today", N_("Select _Today"), on_goto_today, NULL, GTK_STOCK_HOME },
+ { E_POPUP_ITEM, "61.today", N_("Select T_oday"), on_goto_today, NULL, GTK_STOCK_HOME },
{ E_POPUP_ITEM, "62.todate", N_("_Select Date..."), on_goto_date, NULL, GTK_STOCK_JUMP_TO },
{ E_POPUP_BAR, "70." },
diff --git a/calendar/gui/gnome-cal.c b/calendar/gui/gnome-cal.c
index a2c62ae152..b74e98308d 100644
--- a/calendar/gui/gnome-cal.c
+++ b/calendar/gui/gnome-cal.c
@@ -2225,13 +2225,13 @@ gc_define_views(EPopup *ep, EPopupItem *pitem, void *data)
static EPopupItem gc_popups[] = {
/* Code generates the path to fit */
{ E_POPUP_BAR, NULL },
- { E_POPUP_RADIO|E_POPUP_ACTIVE, NULL, N_("Custom View"), },
- { E_POPUP_ITEM, NULL, N_("Save Custom View"), gc_save_custom_view },
+ { E_POPUP_RADIO|E_POPUP_ACTIVE, NULL, N_("_Custom View"), },
+ { E_POPUP_ITEM, NULL, N_("_Save Custom View"), gc_save_custom_view },
/* index == 3, when we have non-custom view */
{ E_POPUP_BAR, NULL },
- { E_POPUP_ITEM, NULL, N_("Define Views..."), gc_define_views },
+ { E_POPUP_ITEM, NULL, N_("_Define Views..."), gc_define_views },
};
static void
diff --git a/calendar/gui/tasks-component.c b/calendar/gui/tasks-component.c
index cecab0726d..4dec0e6f00 100644
--- a/calendar/gui/tasks-component.c
+++ b/calendar/gui/tasks-component.c
@@ -436,10 +436,10 @@ 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, "stock_folder-copy", 0, E_CAL_POPUP_SOURCE_PRIMARY },
- { E_POPUP_ITEM, "20.delete", N_("Delete"), delete_task_list_cb, NULL, "stock_delete", 0, E_CAL_POPUP_SOURCE_USER|E_CAL_POPUP_SOURCE_PRIMARY },
- { E_POPUP_ITEM, "30.properties", N_("Properties..."), edit_task_list_cb, NULL, "stock_folder-properties", 0, E_CAL_POPUP_SOURCE_PRIMARY },
+ { 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, "stock_folder-copy", 0, E_CAL_POPUP_SOURCE_PRIMARY },
+ { E_POPUP_ITEM, "20.delete", N_("_Delete"), delete_task_list_cb, NULL, "stock_delete", 0, E_CAL_POPUP_SOURCE_USER|E_CAL_POPUP_SOURCE_PRIMARY },
+ { E_POPUP_ITEM, "30.properties", N_("_Properties..."), edit_task_list_cb, NULL, "stock_folder-properties", 0, E_CAL_POPUP_SOURCE_PRIMARY },
};
static void