[gnome-calendar/calendar-management] source-manager: add sources.local action
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar/calendar-management] source-manager: add sources.local action
- Date: Tue, 3 Feb 2015 17:44:55 +0000 (UTC)
commit f5a9ce2f29941a0c24b0d732ea3a478e1f1cf56a
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Tue Feb 3 15:44:46 2015 -0200
source-manager: add sources.local action
src/gcal-source-manager-dialog.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/src/gcal-source-manager-dialog.c b/src/gcal-source-manager-dialog.c
index 86c47fc..00d1f48 100644
--- a/src/gcal-source-manager-dialog.c
+++ b/src/gcal-source-manager-dialog.c
@@ -574,7 +574,7 @@ static void
gcal_source_manager_dialog_constructed (GObject *object)
{
GcalSourceManagerDialogPrivate *priv;
- GSimpleAction *file_action, *url_action;
+ GSimpleAction *file_action, *local_action, *url_action;
GtkBuilder *builder;
GMenuModel *sourcesmenu;
@@ -604,7 +604,11 @@ gcal_source_manager_dialog_constructed (GObject *object)
g_signal_connect (file_action, "activate", G_CALLBACK (file_action_activated), object);
g_action_map_add_action (G_ACTION_MAP (priv->action_group), G_ACTION (file_action));
- /* sources.file action */
+ /* sources.local action */
+ local_action = g_simple_action_new ("local", NULL);
+ g_action_map_add_action (G_ACTION_MAP (priv->action_group), G_ACTION (local_action));
+
+ /* sources.url action */
url_action = g_simple_action_new ("url", NULL);
g_action_map_add_action (G_ACTION_MAP (priv->action_group), G_ACTION (url_action));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]