[gnome-calendar] manager: change signal name to ::'source-activated'
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar] manager: change signal name to ::'source-activated'
- Date: Tue, 16 Dec 2014 15:01:39 +0000 (UTC)
commit 75143200cb9b5bd235cef14c8d0945d8372bb82e
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Tue Dec 16 13:01:29 2014 -0200
manager: change signal name to ::'source-activated'
src/gcal-edit-dialog.c | 2 +-
src/gcal-manager.c | 8 ++++----
src/gcal-manager.h | 2 +-
3 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/gcal-edit-dialog.c b/src/gcal-edit-dialog.c
index 5238fb4..e4dc308 100644
--- a/src/gcal-edit-dialog.c
+++ b/src/gcal-edit-dialog.c
@@ -977,7 +977,7 @@ gcal_edit_dialog_set_manager (GcalEditDialog *dialog,
priv->manager = manager;
- g_signal_connect (manager, "source-activate",
+ g_signal_connect (manager, "source-activated",
G_CALLBACK (on_source_activate), dialog);
g_signal_connect (manager, "source-added",
G_CALLBACK (on_source_added), dialog);
diff --git a/src/gcal-manager.c b/src/gcal-manager.c
index 5fb20bd..84f8cf6 100644
--- a/src/gcal-manager.c
+++ b/src/gcal-manager.c
@@ -68,7 +68,7 @@ typedef struct _MoveEventData MoveEventData;
enum
{
- SOURCE_ACTIVATE,
+ SOURCE_ACTIVATED,
SOURCE_ADDED,
SOURCE_REMOVED,
NUM_SIGNALS
@@ -313,7 +313,7 @@ on_client_readonly_changed (EClient *client,
source = e_client_get_source (client);
readonly = e_client_is_readonly (client);
- g_signal_emit (GCAL_MANAGER (user_data), signals[SOURCE_ACTIVATE], 0, source, !readonly);
+ g_signal_emit (GCAL_MANAGER (user_data), signals[SOURCE_ACTIVATED], 0, source, !readonly);
}
@@ -446,8 +446,8 @@ gcal_manager_class_init (GcalManagerClass *klass)
G_OBJECT_CLASS (klass)->finalize = gcal_manager_finalize;
/* signals */
- signals[SOURCE_ACTIVATE] = g_signal_new ("source-activate", GCAL_TYPE_MANAGER, G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (GcalManagerClass, source_activate),
+ signals[SOURCE_ACTIVATE] = g_signal_new ("source-activated", GCAL_TYPE_MANAGER, G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET (GcalManagerClass, source_activated),
NULL, NULL, NULL,
G_TYPE_NONE, 2, G_TYPE_POINTER, G_TYPE_BOOLEAN);
diff --git a/src/gcal-manager.h b/src/gcal-manager.h
index 325d72a..94475ea 100644
--- a/src/gcal-manager.h
+++ b/src/gcal-manager.h
@@ -46,7 +46,7 @@ struct _GcalManagerClass
GObjectClass parent_class;
/* signals */
- void (*source_activate) (GcalManager *manager, ESource *source, gboolean active);
+ void (*source_activated) (GcalManager *manager, ESource *source, gboolean active);
void (*source_added) (GcalManager *manager, ESource *source);
void (*source_removed) (GcalManager *manager, ESource *source);
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]