Commit 3af415b6 authored by Sébastien Wilmet's avatar Sébastien Wilmet

latexila -> gnome-latex migration: rename utils function

The utils function will do more work in the future, to migrate files in
~/.local/share/ and ~/.config/.
parent bd1bf85b
<!--
When modifying this GSettings schema, don't forget to update the list of
keys in latexila_utils_migrate_latexila_to_gnome_latex_gsettings().
keys in latexila_utils_migrate_latexila_to_gnome_latex().
-->
<schemalist>
......
......@@ -279,7 +279,7 @@ latexila_utils_join_widgets
latexila_utils_get_pixbuf_from_icon_name
latexila_utils_str_replace
latexila_utils_register_icons
latexila_utils_migrate_latexila_to_gnome_latex_gsettings
latexila_utils_migrate_latexila_to_gnome_latex
</SECTION>
<SECTION>
......
......@@ -119,7 +119,7 @@ public class LatexilaApp : Gtk.Application
{
hold ();
Latexila.utils_migrate_latexila_to_gnome_latex_gsettings ();
Latexila.utils_migrate_latexila_to_gnome_latex ();
add_action_entries (_app_actions, this);
Latexila.latex_commands_add_action_infos (this);
......
......@@ -490,14 +490,8 @@ latexila_utils_join_widgets (GtkWidget *widget_top,
return GTK_WIDGET (vbox);
}
/**
* latexila_utils_migrate_latexila_to_gnome_latex_gsettings:
*
* Migrates the #GSettings values from LaTeXila to GNOME LaTeX, so that users
* don't lose all their settings.
*/
void
latexila_utils_migrate_latexila_to_gnome_latex_gsettings (void)
static void
migrate_latexila_to_gnome_latex_gsettings (void)
{
GSettings *settings;
DhDconfMigration *migration;
......@@ -581,3 +575,15 @@ latexila_utils_migrate_latexila_to_gnome_latex_gsettings (void)
out:
g_object_unref (settings);
}
/**
* latexila_utils_migrate_latexila_to_gnome_latex:
*
* Migrates the #GSettings values from LaTeXila to GNOME LaTeX, so that users
* don't lose all their settings.
*/
void
latexila_utils_migrate_latexila_to_gnome_latex (void)
{
migrate_latexila_to_gnome_latex_gsettings ();
}
......@@ -69,7 +69,7 @@ gchar * latexila_utils_str_replace (const gchar *string,
void latexila_utils_register_icons (void);
void latexila_utils_migrate_latexila_to_gnome_latex_gsettings (void);
void latexila_utils_migrate_latexila_to_gnome_latex (void);
G_END_DECLS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment