aboutsummaryrefslogtreecommitdiffstats
path: root/modules/calendar
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@gnome.org>2010-04-19 18:44:42 +0800
committerSrinivasa Ragavan <sragavan@gnome.org>2010-04-19 19:43:22 +0800
commit254f52e58101cfab7d71de54ca477dc19895488a (patch)
tree47e29e212a00808e3c7d3baad8a740ba97ce9e38 /modules/calendar
parent574b961a0f75d5fe928e2e529712d39cc1062162 (diff)
downloadgsoc2013-evolution-254f52e58101cfab7d71de54ca477dc19895488a.tar
gsoc2013-evolution-254f52e58101cfab7d71de54ca477dc19895488a.tar.gz
gsoc2013-evolution-254f52e58101cfab7d71de54ca477dc19895488a.tar.bz2
gsoc2013-evolution-254f52e58101cfab7d71de54ca477dc19895488a.tar.lz
gsoc2013-evolution-254f52e58101cfab7d71de54ca477dc19895488a.tar.xz
gsoc2013-evolution-254f52e58101cfab7d71de54ca477dc19895488a.tar.zst
gsoc2013-evolution-254f52e58101cfab7d71de54ca477dc19895488a.zip
Get rid of custom quit for calendar and instead use the shell
Diffstat (limited to 'modules/calendar')
-rw-r--r--modules/calendar/e-cal-shell-view-actions.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/modules/calendar/e-cal-shell-view-actions.c b/modules/calendar/e-cal-shell-view-actions.c
index 339faaa091..1330ac7003 100644
--- a/modules/calendar/e-cal-shell-view-actions.c
+++ b/modules/calendar/e-cal-shell-view-actions.c
@@ -1197,26 +1197,6 @@ action_event_schedule_cb (GtkAction *action,
}
static void
-quit_calendar_cb (GtkAction *action,
- ECalShellView *cal_shell_view)
-{
- EShellView *shell_view;
- EShellWindow *shell_window;
- GdkEvent *event;
-
- shell_view = E_SHELL_VIEW (cal_shell_view);
- shell_window = e_shell_view_get_shell_window (shell_view);
-
- /* Synthesize a delete_event on this window. */
- event = gdk_event_new (GDK_DELETE);
- event->any.window = g_object_ref (((GtkWidget *) shell_window)->window);
- event->any.send_event = TRUE;
- gtk_main_do_event (event);
- gdk_event_free (event);
-
-}
-
-static void
action_event_schedule_appointment_cb (GtkAction *action,
ECalShellView *cal_shell_view)
{
@@ -1448,13 +1428,6 @@ static GtkActionEntry calendar_entries[] = {
N_("Converts a meeting to an appointment"),
G_CALLBACK (action_event_schedule_appointment_cb) },
- { "quit-calendar",
- GTK_STOCK_CLOSE,
- N_("Quit"),
- NULL,
- NULL, /* XXX Add a tooltip! */
- G_CALLBACK (quit_calendar_cb) },
-
/*** Menus ***/
{ "calendar-actions-menu",