[gnome-commander/GSettings] Fixes usage of color theme depending on root mode



commit d31433c71ef2973e3685cd98d2675932f8437f03
Author: Uwe Scholz <uwescholz src gnome org>
Date:   Sat Aug 6 11:00:46 2016 +0200

    Fixes usage of color theme depending on root mode

 src/gnome-cmd-data.cc |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gnome-cmd-data.cc b/src/gnome-cmd-data.cc
index 4615d44..938ded8 100644
--- a/src/gnome-cmd-data.cc
+++ b/src/gnome-cmd-data.cc
@@ -3373,8 +3373,8 @@ void GnomeCmdData::load()
         g_free (tmp);
     }
 
-    options.color_mode = gcmd_owner.is_root() ? (GnomeCmdColorMode) g_settings_get_enum 
(options.gcmd_settings->colors, GCMD_SETTINGS_COLORS_THEME)
-                                              : (GnomeCmdColorMode) GNOME_CMD_COLOR_DEEP_BLUE;
+    options.color_mode = gcmd_owner.is_root() ? (GnomeCmdColorMode) GNOME_CMD_COLOR_DEEP_BLUE
+                                              : (GnomeCmdColorMode) g_settings_get_enum 
(options.gcmd_settings->colors, GCMD_SETTINGS_COLORS_THEME);
 
     options.list_font = g_settings_get_string (options.gcmd_settings->general, GCMD_SETTINGS_LIST_FONT);
 


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