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/external-editor | |
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/external-editor')
-rw-r--r-- | plugins/external-editor/external-editor.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/external-editor/external-editor.c b/plugins/external-editor/external-editor.c index d2d74797b8..7d67faa5b6 100644 --- a/plugins/external-editor/external-editor.c +++ b/plugins/external-editor/external-editor.c @@ -81,7 +81,7 @@ ee_editor_command_changed (GtkWidget *textbox) d(printf ("\n\aeditor is : [%s] \n\a", editor)); /* GSettings access for every key-press. Sucky ? */ - settings = g_settings_new ("org.gnome.evolution.eplugin.external-editor"); + settings = g_settings_new ("org.gnome.evolution.plugin.external-editor"); g_settings_set_string (settings, "command", editor); g_object_unref (settings); } @@ -95,7 +95,7 @@ ee_editor_immediate_launch_changed (GtkWidget *checkbox) immediately = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (checkbox)); d(printf ("\n\aimmediate launch is : [%d] \n\a", immediately)); - settings = g_settings_new ("org.gnome.evolution.eplugin.external-editor"); + settings = g_settings_new ("org.gnome.evolution.plugin.external-editor"); g_settings_set_boolean (settings, "launch-on-key-press", immediately); g_object_unref (settings); } @@ -113,7 +113,7 @@ e_plugin_lib_get_configure_widget (EPlugin *epl) textbox = gtk_entry_new (); label = gtk_label_new (_("Command to be executed to launch the editor: ")); help = gtk_label_new (_("For Emacs use \"xemacs\"\nFor VI use \"gvim -f\"")); - settings = g_settings_new ("org.gnome.evolution.eplugin.external-editor"); + settings = g_settings_new ("org.gnome.evolution.plugin.external-editor"); editor = g_settings_get_string (settings, "command"); if (editor) { @@ -282,7 +282,7 @@ async_external_editor (EMsgComposer *composer) return; } - settings = g_settings_new ("org.gnome.evolution.eplugin.external-editor"); + settings = g_settings_new ("org.gnome.evolution.plugin.external-editor"); editor_cmd = g_settings_get_string (settings, "command"); if (!editor_cmd) { if (!(editor_cmd = g_strdup (g_getenv ("EDITOR"))) ) @@ -418,7 +418,7 @@ key_press_cb (GtkWidget *widget, break; } - settings = g_settings_new ("org.gnome.evolution.eplugin.external-editor"); + settings = g_settings_new ("org.gnome.evolution.plugin.external-editor"); immediately = g_settings_get_boolean (settings, "launch-on-key-press"); g_object_unref (settings); if (!immediately) |