[gnome-commander/GSettings] Don't update style twice when using Ctrl-Shift-h



commit 341acc2202f098317b7092eb562df119075ed828
Author: Uwe Scholz <uwescholz src gnome org>
Date:   Sun Jun 5 19:31:21 2016 +0200

    Don't update style twice when using Ctrl-Shift-h

 src/gnome-cmd-main-win.cc |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/gnome-cmd-main-win.cc b/src/gnome-cmd-main-win.cc
index 48190a3..4f27f49 100644
--- a/src/gnome-cmd-main-win.cc
+++ b/src/gnome-cmd-main-win.cc
@@ -954,8 +954,6 @@ gboolean GnomeCmdMainWin::key_pressed(GdkEventKey *event)
             case GDK_H:
             case GDK_h:
                 gnome_cmd_data.options.filter.hidden = !gnome_cmd_data.options.filter.hidden;
-                gnome_cmd_style_create (gnome_cmd_data.options);
-                update_style();
                 gnome_cmd_data.save();
                 return TRUE;
         }


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