[latexila] Rename to GNOME LaTeX: org.gnome.gnome-latex



commit 0d4eb7bb9875306ce44b9087b1d4989b17048928
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Wed Dec 27 06:39:23 2017 +0100

    Rename to GNOME LaTeX: org.gnome.gnome-latex

 src/app_settings.vala                          |    2 +-
 src/clean_build_files.vala                     |    2 +-
 src/completion.vala                            |    2 +-
 src/document.vala                              |    4 ++--
 src/document_tab.vala                          |    2 +-
 src/document_view.vala                         |    2 +-
 src/documents_panel.vala                       |    2 +-
 src/factory.vala                               |    4 ++--
 src/file_browser.vala                          |    4 ++--
 src/finance.vala                               |    6 +++---
 src/latexila_app.vala                          |    2 +-
 src/liblatexila/latexila-build-tools-default.c |    4 ++--
 src/main_window.vala                           |   10 +++++-----
 src/main_window_build_tools.vala               |    4 ++--
 src/main_window_tools.vala                     |    2 +-
 src/preferences_dialog.vala                    |   14 +++++++-------
 src/side_panel.vala                            |    2 +-
 src/structure.vala                             |    4 ++--
 18 files changed, 36 insertions(+), 36 deletions(-)
---
diff --git a/src/app_settings.vala b/src/app_settings.vala
index 6061264..f1eab3b 100644
--- a/src/app_settings.vala
+++ b/src/app_settings.vala
@@ -28,7 +28,7 @@ public class AppSettings : GLib.Settings
     /* AppSettings is a singleton */
     private AppSettings ()
     {
-        Object (schema_id: "org.gnome.latexila");
+        Object (schema_id: "org.gnome.gnome-latex");
         initialize ();
     }
 
diff --git a/src/clean_build_files.vala b/src/clean_build_files.vala
index f3eb10b..ab53116 100644
--- a/src/clean_build_files.vala
+++ b/src/clean_build_files.vala
@@ -37,7 +37,7 @@ public class CleanBuildFiles : GLib.Object
     {
         _main_window = main_window;
         _doc = doc;
-        _settings = new GLib.Settings ("org.gnome.latexila.preferences.latex");
+        _settings = new GLib.Settings ("org.gnome.gnome-latex.preferences.latex");
     }
 
     public void clean ()
diff --git a/src/completion.vala b/src/completion.vala
index 22ea849..ff5e50d 100644
--- a/src/completion.vala
+++ b/src/completion.vala
@@ -81,7 +81,7 @@ public class CompletionProvider : GLib.Object, SourceCompletionProvider
     /* CompletionProvider is a singleton */
     private CompletionProvider ()
     {
-        _settings = new GLib.Settings ("org.gnome.latexila.preferences.latex");
+        _settings = new GLib.Settings ("org.gnome.gnome-latex.preferences.latex");
 
         // icons
         _icon_cmd = Latexila.utils_get_pixbuf_from_icon_name ("completion_cmd",
diff --git a/src/document.vala b/src/document.vala
index 1618391..7dde60e 100644
--- a/src/document.vala
+++ b/src/document.vala
@@ -50,7 +50,7 @@ public class Document : Tepl.Buffer
         });
 
         GLib.Settings editor_settings =
-            new GLib.Settings ("org.gnome.latexila.preferences.editor");
+            new GLib.Settings ("org.gnome.gnome-latex.preferences.editor");
         editor_settings.bind ("scheme", this, "tepl-style-scheme-id",
             SettingsBindFlags.GET);
 
@@ -174,7 +174,7 @@ public class Document : Tepl.Buffer
         try
         {
             GLib.Settings settings =
-                new GLib.Settings ("org.gnome.latexila.preferences.editor");
+                new GLib.Settings ("org.gnome.gnome-latex.preferences.editor");
             bool make_backup = ! backup_made
                 && settings.get_boolean ("create-backup-copy");
 
diff --git a/src/document_tab.vala b/src/document_tab.vala
index fcc99d5..d16f2ab 100644
--- a/src/document_tab.vala
+++ b/src/document_tab.vala
@@ -127,7 +127,7 @@ public class DocumentTab : Tepl.Tab
 
         /* auto save */
         GLib.Settings settings =
-            new GLib.Settings ("org.gnome.latexila.preferences.editor");
+            new GLib.Settings ("org.gnome.gnome-latex.preferences.editor");
         auto_save = settings.get_boolean ("auto-save");
         uint tmp;
         settings.get ("auto-save-interval", "u", out tmp);
diff --git a/src/document_view.vala b/src/document_view.vala
index 9f0c1c7..466ea36 100644
--- a/src/document_view.vala
+++ b/src/document_view.vala
@@ -49,7 +49,7 @@ public class DocumentView : Tepl.View
         Latexila.view_configure_space_drawer (this);
 
         /* settings */
-        _editor_settings = new GLib.Settings ("org.gnome.latexila.preferences.editor");
+        _editor_settings = new GLib.Settings ("org.gnome.gnome-latex.preferences.editor");
 
         _editor_settings.bind ("forget-no-tabs", this, "smart-backspace",
             SettingsBindFlags.GET);
diff --git a/src/documents_panel.vala b/src/documents_panel.vala
index 2325a9c..9ce1b3a 100644
--- a/src/documents_panel.vala
+++ b/src/documents_panel.vala
@@ -63,7 +63,7 @@ public class DocumentsPanel : Tepl.Notebook
     {
         // automatic clean-up build files
         GLib.Settings settings =
-            new GLib.Settings ("org.gnome.latexila.preferences.latex");
+            new GLib.Settings ("org.gnome.gnome-latex.preferences.latex");
 
         if (settings.get_boolean ("no-confirm-clean")
             && settings.get_boolean ("automatic-clean"))
diff --git a/src/factory.vala b/src/factory.vala
index 03bb6e3..dd72722 100644
--- a/src/factory.vala
+++ b/src/factory.vala
@@ -44,12 +44,12 @@ public class Factory : Tepl.AbstractFactoryVala
     private void reopen_files (LatexilaApp app)
     {
         GLib.Settings editor_settings =
-            new GLib.Settings ("org.gnome.latexila.preferences.editor");
+            new GLib.Settings ("org.gnome.gnome-latex.preferences.editor");
 
         if (editor_settings.get_boolean ("reopen-files"))
         {
             GLib.Settings window_settings =
-                new GLib.Settings ("org.gnome.latexila.state.window");
+                new GLib.Settings ("org.gnome.gnome-latex.state.window");
 
             string[] uris = window_settings.get_strv ("documents");
             File[] files = {};
diff --git a/src/file_browser.vala b/src/file_browser.vala
index 63e5df2..82896e6 100644
--- a/src/file_browser.vala
+++ b/src/file_browser.vala
@@ -73,11 +73,11 @@ public class FileBrowser : Grid
 
     private void init_settings ()
     {
-        _settings = new GLib.Settings ("org.gnome.latexila.preferences.file-browser");
+        _settings = new GLib.Settings ("org.gnome.gnome-latex.preferences.file-browser");
         _settings.changed["show-build-files"].connect (refresh);
         _settings.changed["show-hidden-files"].connect (refresh);
 
-        _latex_settings = new GLib.Settings ("org.gnome.latexila.preferences.latex");
+        _latex_settings = new GLib.Settings ("org.gnome.gnome-latex.preferences.latex");
         _latex_settings.changed["clean-extensions"].connect (delayed_refresh);
     }
 
diff --git a/src/finance.vala b/src/finance.vala
index b91883e..45eef46 100644
--- a/src/finance.vala
+++ b/src/finance.vala
@@ -101,7 +101,7 @@ namespace Finance
             }
 
             GLib.Settings settings =
-                new GLib.Settings ("org.gnome.latexila.state.dialogs.finance");
+                new GLib.Settings ("org.gnome.gnome-latex.state.dialogs.finance");
 
             settings.set_boolean ("remind-later", remind_later_checkbutton.get_active ());
             break;
@@ -114,7 +114,7 @@ namespace Finance
     private bool should_show_dialog_on_startup ()
     {
         GLib.Settings settings =
-            new GLib.Settings ("org.gnome.latexila.state.dialogs.finance");
+            new GLib.Settings ("org.gnome.gnome-latex.state.dialogs.finance");
 
         string date = settings.get_string ("last-shown-date");
 
@@ -147,7 +147,7 @@ namespace Finance
     private void save_date ()
     {
         GLib.Settings settings =
-            new GLib.Settings ("org.gnome.latexila.state.dialogs.finance");
+            new GLib.Settings ("org.gnome.gnome-latex.state.dialogs.finance");
 
         DateTime time = new DateTime.now_utc ();
         string date = "%d-%d-%d".printf (time.get_year (), time.get_month (),
diff --git a/src/latexila_app.vala b/src/latexila_app.vala
index e196fe5..b64fb04 100644
--- a/src/latexila_app.vala
+++ b/src/latexila_app.vala
@@ -36,7 +36,7 @@ public class LatexilaApp : Gtk.Application
 
     public LatexilaApp ()
     {
-        Object (application_id: "org.gnome.latexila");
+        Object (application_id: "org.gnome.gnome-latex");
         set_flags (ApplicationFlags.HANDLES_OPEN);
         Environment.set_application_name (Config.PACKAGE_NAME);
         Gtk.Window.set_default_icon_name ("gnome-latex");
diff --git a/src/liblatexila/latexila-build-tools-default.c b/src/liblatexila/latexila-build-tools-default.c
index 1ba6dda..b67b69d 100644
--- a/src/liblatexila/latexila-build-tools-default.c
+++ b/src/liblatexila/latexila-build-tools-default.c
@@ -82,7 +82,7 @@ load_settings (LatexilaBuildToolsDefault *build_tools)
   GVariantIter *iter;
   gint tool_id;
 
-  settings = g_settings_new ("org.gnome.latexila.preferences.latex");
+  settings = g_settings_new ("org.gnome.gnome-latex.preferences.latex");
 
   tools = g_settings_get_value (settings, "enabled-default-build-tools");
   g_variant_get (tools, "ai", &iter);
@@ -138,7 +138,7 @@ save_settings (LatexilaBuildToolsDefault *build_tools)
   enabled_tools = g_variant_builder_end (&builder_enabled);
   disabled_tools = g_variant_builder_end (&builder_disabled);
 
-  settings = g_settings_new ("org.gnome.latexila.preferences.latex");
+  settings = g_settings_new ("org.gnome.gnome-latex.preferences.latex");
   g_settings_set_value (settings, "enabled-default-build-tools", enabled_tools);
   g_settings_set_value (settings, "disabled-default-build-tools", disabled_tools);
 
diff --git a/src/main_window.vala b/src/main_window.vala
index ab9fad0..f5a78b3 100644
--- a/src/main_window.vala
+++ b/src/main_window.vala
@@ -504,7 +504,7 @@ public class MainWindow : ApplicationWindow
 
     private void restore_state ()
     {
-        GLib.Settings settings = new GLib.Settings ("org.gnome.latexila.state.window");
+        GLib.Settings settings = new GLib.Settings ("org.gnome.gnome-latex.state.window");
 
         /* The window itself */
 
@@ -553,7 +553,7 @@ public class MainWindow : ApplicationWindow
 
     private void show_or_hide_widgets ()
     {
-        GLib.Settings settings = new GLib.Settings ("org.gnome.latexila.preferences.ui");
+        GLib.Settings settings = new GLib.Settings ("org.gnome.gnome-latex.preferences.ui");
 
         ToggleAction action =
             _action_group.get_action ("ViewMainToolbar") as ToggleAction;
@@ -919,7 +919,7 @@ public class MainWindow : ApplicationWindow
     {
         /* state of the window */
         GLib.Settings settings_window =
-            new GLib.Settings ("org.gnome.latexila.state.window");
+            new GLib.Settings ("org.gnome.gnome-latex.state.window");
         Gdk.WindowState state = get_window ().get_state ();
         settings_window.set_int ("state", state);
 
@@ -936,7 +936,7 @@ public class MainWindow : ApplicationWindow
 
         /* ui preferences */
         GLib.Settings settings_ui =
-            new GLib.Settings ("org.gnome.latexila.preferences.ui");
+            new GLib.Settings ("org.gnome.gnome-latex.preferences.ui");
 
         // We don't bind this settings to the toggle action because when we change the
         // setting it must be applied only on the current window and not all windows.
@@ -1024,7 +1024,7 @@ public class MainWindow : ApplicationWindow
                 list_uris += doc.location.get_uri ();
         }
 
-        GLib.Settings settings = new GLib.Settings ("org.gnome.latexila.state.window");
+        GLib.Settings settings = new GLib.Settings ("org.gnome.gnome-latex.state.window");
         settings.set_strv ("documents", list_uris);
 
         if (close_all_documents ())
diff --git a/src/main_window_build_tools.vala b/src/main_window_build_tools.vala
index 2ef6fc5..1bd7920 100644
--- a/src/main_window_build_tools.vala
+++ b/src/main_window_build_tools.vala
@@ -239,7 +239,7 @@ public class MainWindowBuildTools
     public void save_state ()
     {
         GLib.Settings settings =
-            new GLib.Settings ("org.gnome.latexila.preferences.ui");
+            new GLib.Settings ("org.gnome.gnome-latex.preferences.ui");
 
         ToggleAction action =
             _static_action_group.get_action ("BuildShowWarnings") as ToggleAction;
@@ -413,7 +413,7 @@ public class MainWindowBuildTools
     {
         return_if_fail (_build_view != null);
 
-        GLib.Settings settings = new GLib.Settings ("org.gnome.latexila.preferences.ui");
+        GLib.Settings settings = new GLib.Settings ("org.gnome.gnome-latex.preferences.ui");
 
         /* Show details */
 
diff --git a/src/main_window_tools.vala b/src/main_window_tools.vala
index 9355120..dace9a6 100644
--- a/src/main_window_tools.vala
+++ b/src/main_window_tools.vala
@@ -60,7 +60,7 @@ public class MainWindowTools
             update_inline_spell_checker_action_state ();
         });
 
-        _editor_settings = new GLib.Settings ("org.gnome.latexila.preferences.editor");
+        _editor_settings = new GLib.Settings ("org.gnome.gnome-latex.preferences.editor");
 
         _editor_settings.changed["highlight-misspelled-words"].connect (() =>
         {
diff --git a/src/preferences_dialog.vala b/src/preferences_dialog.vala
index 8a0481d..b80cc25 100644
--- a/src/preferences_dialog.vala
+++ b/src/preferences_dialog.vala
@@ -121,8 +121,8 @@ public class PreferencesDialog : Dialog
 
         string[] settings_str =
         {
-            "org.gnome.latexila.preferences.editor",
-            "org.gnome.latexila.preferences.latex"
+            "org.gnome.gnome-latex.preferences.editor",
+            "org.gnome.gnome-latex.preferences.latex"
         };
 
         foreach (string setting_str in settings_str)
@@ -137,7 +137,7 @@ public class PreferencesDialog : Dialog
     private void init_editor_tab (Builder builder)
     {
         GLib.Settings settings =
-            new GLib.Settings ("org.gnome.latexila.preferences.editor");
+            new GLib.Settings ("org.gnome.gnome-latex.preferences.editor");
 
         var display_line_nb_checkbutton =
             builder.get_object ("display_line_nb_checkbutton");
@@ -196,7 +196,7 @@ public class PreferencesDialog : Dialog
     private void init_font_and_colors_tab (Builder builder)
     {
         GLib.Settings settings =
-            new GLib.Settings ("org.gnome.latexila.preferences.editor");
+            new GLib.Settings ("org.gnome.gnome-latex.preferences.editor");
 
         var default_font_checkbutton =
             builder.get_object ("default_font_checkbutton") as Button;
@@ -267,7 +267,7 @@ public class PreferencesDialog : Dialog
     private void init_interactive_completion_setting (Builder builder)
     {
         GLib.Settings settings =
-            new GLib.Settings ("org.gnome.latexila.preferences.latex");
+            new GLib.Settings ("org.gnome.gnome-latex.preferences.latex");
 
         var interactive_comp_checkbutton =
             builder.get_object ("interactive_comp_checkbutton");
@@ -292,7 +292,7 @@ public class PreferencesDialog : Dialog
     private void init_spell_checking_settings (Builder builder)
     {
         GLib.Settings editor_settings =
-            new GLib.Settings ("org.gnome.latexila.preferences.editor");
+            new GLib.Settings ("org.gnome.gnome-latex.preferences.editor");
 
         Gspell.LanguageChooserButton spell_language_button =
             builder.get_object ("spell_language_button") as Gspell.LanguageChooserButton;
@@ -307,7 +307,7 @@ public class PreferencesDialog : Dialog
     private void init_other_tab (Builder builder)
     {
         GLib.Settings latex_settings =
-            new GLib.Settings ("org.gnome.latexila.preferences.latex");
+            new GLib.Settings ("org.gnome.gnome-latex.preferences.latex");
 
         var confirm_clean_up_checkbutton =
             builder.get_object ("confirm_clean_up_checkbutton");
diff --git a/src/side_panel.vala b/src/side_panel.vala
index f6a2f13..f662577 100644
--- a/src/side_panel.vala
+++ b/src/side_panel.vala
@@ -36,7 +36,7 @@ public class SidePanel : Grid
 
     public SidePanel ()
     {
-        _settings = new GLib.Settings ("org.gnome.latexila.preferences.ui");
+        _settings = new GLib.Settings ("org.gnome.gnome-latex.preferences.ui");
         _components = new Gee.ArrayList<Grid?> ();
 
         margin_start = 6;
diff --git a/src/structure.vala b/src/structure.vala
index a249427..3ba00ec 100644
--- a/src/structure.vala
+++ b/src/structure.vala
@@ -268,13 +268,13 @@ public class Structure : Grid
         _vpaned.expand = true;
         add (_vpaned);
 
-        GLib.Settings settings = new GLib.Settings ("org.gnome.latexila.state.window");
+        GLib.Settings settings = new GLib.Settings ("org.gnome.gnome-latex.state.window");
         _vpaned.set_position (settings.get_int ("structure-paned-position"));
     }
 
     public void save_state ()
     {
-        GLib.Settings settings = new GLib.Settings ("org.gnome.latexila.state.window");
+        GLib.Settings settings = new GLib.Settings ("org.gnome.gnome-latex.state.window");
         settings.set_int ("structure-paned-position", _vpaned.get_position ());
     }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]