diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-11-23 06:53:07 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2011-11-23 09:42:56 +0800 |
commit | 2e60b6a4a21105bb4a1e2badd1be51b3e684d165 (patch) | |
tree | d3cfea8c8660785403ebce50fbedcd7cae23b6cb /plugins/mail-notification | |
parent | adf6645d525842692ca625a278e41a66cd02d2b6 (diff) | |
download | gsoc2013-evolution-2e60b6a4a21105bb4a1e2badd1be51b3e684d165.tar.gz gsoc2013-evolution-2e60b6a4a21105bb4a1e2badd1be51b3e684d165.tar.zst gsoc2013-evolution-2e60b6a4a21105bb4a1e2badd1be51b3e684d165.zip |
Tweak GSettings schemas.
- Don't use the term "eplugin" for modules.
- Use the term "plugin" instead of "eplugin" for plugins.
- Split SpamAssassin settings into a separate schema.
Diffstat (limited to 'plugins/mail-notification')
-rw-r--r-- | plugins/mail-notification/mail-notification.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/mail-notification/mail-notification.c b/plugins/mail-notification/mail-notification.c index f389a2e678..481cf24c97 100644 --- a/plugins/mail-notification/mail-notification.c +++ b/plugins/mail-notification/mail-notification.c @@ -85,7 +85,7 @@ is_part_enabled (const gchar *key) gboolean res = TRUE; GSettings *settings; - settings = g_settings_new ("org.gnome.evolution.eplugin.mail-notification"); + settings = g_settings_new ("org.gnome.evolution.plugin.mail-notification"); res = g_settings_get_boolean (settings, key); @@ -538,7 +538,7 @@ sound_file_set_cb (GtkFileChooser *file_chooser, gchar *file; GSettings *settings; - settings = g_settings_new ("org.gnome.evolution.eplugin.mail-notification"); + settings = g_settings_new ("org.gnome.evolution.plugin.mail-notification"); file = gtk_file_chooser_get_filename (file_chooser); g_settings_set_string (settings, CONF_KEY_SOUND_FILE, (file != NULL) ? file : ""); @@ -580,7 +580,7 @@ sound_notify_idle_cb (gpointer user_data) g_return_val_if_fail (data != NULL, FALSE); - settings = g_settings_new ("org.gnome.evolution.eplugin.mail-notification"); + settings = g_settings_new ("org.gnome.evolution.plugin.mail-notification"); file = g_settings_get_string (settings, CONF_KEY_SOUND_FILE); do_play_sound ( @@ -663,7 +663,7 @@ get_config_widget_sound (void) gtk_box_pack_start (GTK_BOX (container), widget, FALSE, FALSE, 0); gtk_widget_show (widget); - settings = g_settings_new ("org.gnome.evolution.eplugin.mail-notification"); + settings = g_settings_new ("org.gnome.evolution.plugin.mail-notification"); g_settings_bind (settings, CONF_KEY_ENABLED_SOUND, G_OBJECT (widget), "active", G_SETTINGS_BIND_DEFAULT); @@ -772,7 +772,7 @@ get_cfg_widget (void) GSettings *settings; const gchar *text; - settings = g_settings_new ("org.gnome.evolution.eplugin.mail-notification"); + settings = g_settings_new ("org.gnome.evolution.plugin.mail-notification"); widget = gtk_vbox_new (FALSE, 12); gtk_widget_show (widget); |