[gnome-commander/GSettings] Renames function according to GSettings option name



commit 81a8d5bde7b299c6182315cda943bfb3cbe86f24
Author: Uwe Scholz <uwescholz src gnome org>
Date:   Tue Jul 5 21:18:21 2016 +0200

    Renames function according to GSettings option name

 src/gnome-cmd-data.cc |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/gnome-cmd-data.cc b/src/gnome-cmd-data.cc
index cc938ca..75bf824 100644
--- a/src/gnome-cmd-data.cc
+++ b/src/gnome-cmd-data.cc
@@ -765,12 +765,12 @@ void on_skip_mounting_changed()
     gnome_cmd_data.options.skip_mounting = skip_mounting;
 }
 
-void on_external_viewer_cmd_changed()
+void on_viewer_cmd_changed()
 {
-    gchar *external_viewer_cmd;
+    gchar *viewer_cmd;
 
-    external_viewer_cmd = g_settings_get_string (gnome_cmd_data.options.gcmd_settings->programs, 
GCMD_SETTINGS_VIEWER_CMD);
-    gnome_cmd_data.options.viewer = external_viewer_cmd;
+    viewer_cmd = g_settings_get_string (gnome_cmd_data.options.gcmd_settings->programs, 
GCMD_SETTINGS_VIEWER_CMD);
+    gnome_cmd_data.options.viewer = viewer_cmd;
 }
 
 void on_editor_cmd_changed()
@@ -1155,7 +1155,7 @@ static void gcmd_connect_gsettings_signals(GcmdSettings *gs)
 
     g_signal_connect (gs->programs,
                       "changed::viewer-cmd",
-                      G_CALLBACK (on_external_viewer_cmd_changed),
+                      G_CALLBACK (on_viewer_cmd_changed),
                       NULL);
 
     g_signal_connect (gs->programs,


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