aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-cal-shell-view-actions.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@src.gnome.org>2008-09-11 02:36:36 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2008-09-11 02:36:36 +0800
commitc701a5e0260fb27c26a4e81edaee61db651b1040 (patch)
tree7db1bb561b00633314e3d33e4767c04a69758183 /calendar/gui/e-cal-shell-view-actions.c
parent2e83206b30fad6e108b4a393002c171df0474c9e (diff)
downloadgsoc2013-evolution-c701a5e0260fb27c26a4e81edaee61db651b1040.tar
gsoc2013-evolution-c701a5e0260fb27c26a4e81edaee61db651b1040.tar.gz
gsoc2013-evolution-c701a5e0260fb27c26a4e81edaee61db651b1040.tar.bz2
gsoc2013-evolution-c701a5e0260fb27c26a4e81edaee61db651b1040.tar.lz
gsoc2013-evolution-c701a5e0260fb27c26a4e81edaee61db651b1040.tar.xz
gsoc2013-evolution-c701a5e0260fb27c26a4e81edaee61db651b1040.tar.zst
gsoc2013-evolution-c701a5e0260fb27c26a4e81edaee61db651b1040.zip
Add stubs for calendar, task, and memo shell views.
svn path=/branches/kill-bonobo/; revision=36296
Diffstat (limited to 'calendar/gui/e-cal-shell-view-actions.c')
-rw-r--r--calendar/gui/e-cal-shell-view-actions.c48
1 files changed, 48 insertions, 0 deletions
diff --git a/calendar/gui/e-cal-shell-view-actions.c b/calendar/gui/e-cal-shell-view-actions.c
new file mode 100644
index 0000000000..8b89e31cc0
--- /dev/null
+++ b/calendar/gui/e-cal-shell-view-actions.c
@@ -0,0 +1,48 @@
+/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
+/* e-cal-shell-view-actions.c
+ *
+ * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of version 2 of the GNU General Public
+ * License as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program; if not, write to the
+ * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ * Boston, MA 02110-1301, USA.
+ */
+
+#include "e-cal-shell-view-private.h"
+
+static GtkActionEntry cal_entries[] = {
+};
+
+void
+e_cal_shell_view_actions_init (ECalShellView *cal_shell_view)
+{
+ EShellView *shell_view;
+ EShellWindow *shell_window;
+ GtkActionGroup *action_group;
+ GtkUIManager *manager;
+ const gchar *domain;
+
+ shell_view = E_SHELL_VIEW (cal_shell_view);
+ shell_window = e_shell_view_get_shell_window (shell_view);
+ manager = e_shell_window_get_ui_manager (shell_window);
+ domain = GETTEXT_PACKAGE;
+
+ e_load_ui_definition (manager, "evolution-cals.ui");
+
+ action_group = cal_shell_view->priv->cal_actions;
+ gtk_action_group_set_translation_domain (action_group, domain);
+ gtk_action_group_add_actions (
+ action_group, cal_entries,
+ G_N_ELEMENTS (cal_entries), cal_shell_view);
+ gtk_ui_manager_insert_action_group (manager, action_group, 0);
+}