aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-calendar-table.c
diff options
context:
space:
mode:
authorKidd Wang <kidd.wang@sun.com>2003-12-29 17:58:32 +0800
committerHarry Lu <haip@src.gnome.org>2003-12-29 17:58:32 +0800
commit68a053e3d3626de202240e9f9344e4d3afe78246 (patch)
treead5aedc23ff1eb4f9a97ae0c1c785886d4495bb1 /calendar/gui/e-calendar-table.c
parent4d52f684219df276a621cf7a40fea3f3112c578b (diff)
downloadgsoc2013-evolution-68a053e3d3626de202240e9f9344e4d3afe78246.tar
gsoc2013-evolution-68a053e3d3626de202240e9f9344e4d3afe78246.tar.gz
gsoc2013-evolution-68a053e3d3626de202240e9f9344e4d3afe78246.tar.bz2
gsoc2013-evolution-68a053e3d3626de202240e9f9344e4d3afe78246.tar.lz
gsoc2013-evolution-68a053e3d3626de202240e9f9344e4d3afe78246.tar.xz
gsoc2013-evolution-68a053e3d3626de202240e9f9344e4d3afe78246.tar.zst
gsoc2013-evolution-68a053e3d3626de202240e9f9344e4d3afe78246.zip
add a menu item for "open appointment".
2003-12-29 Kidd Wang <kidd.wang@sun.com> * gui/calendar-commands.c (file_open_event_cb): add a menu item for "open appointment". * gui/e-cal-view.[ch] (e_calendar_view_open_event): add a signal "open_event" and bind it to "ctrl+o". When the signal is delivered, a dialog will be opened to edit the selected event. * gui/e-calendar-table.c (e_calendar_table_on_key_press): press "ctrl-o" to open a dialog. svn path=/trunk/; revision=24012
Diffstat (limited to 'calendar/gui/e-calendar-table.c')
-rw-r--r--calendar/gui/e-calendar-table.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/calendar/gui/e-calendar-table.c b/calendar/gui/e-calendar-table.c
index d04315799d..4200f2421b 100644
--- a/calendar/gui/e-calendar-table.c
+++ b/calendar/gui/e-calendar-table.c
@@ -1283,6 +1283,10 @@ e_calendar_table_on_key_press (ETable *table,
if (event->keyval == GDK_Delete) {
delete_cb (NULL, cal_table);
return TRUE;
+ } else if ((event->keyval == GDK_o)
+ &&(event->state & GDK_CONTROL_MASK)) {
+ open_task_by_row (cal_table, row);
+ return TRUE;
}
return FALSE;