[gnome-tweaks] tweakview: Move `General` to the top of the sidebar



commit 097ccebc2a64ab343ee248e7906a5bd07399664b
Author: prakashdanish <grafitykoncept gmail com>
Date:   Thu Aug 23 08:21:47 2018 +0530

    tweakview: Move `General` to the top of the sidebar
    
    This is to match the GNOME Design Team mockup.
    
    https://gitlab.gnome.org/Community/Design/app-mockups/raw/master/tweaks/tweaks-wires.png
    
    Closes https://gitlab.gnome.org/GNOME/gnome-tweaks/issues/160

 gtweak/tweakview.py | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/gtweak/tweakview.py b/gtweak/tweakview.py
index 413d168..7b2efd0 100644
--- a/gtweak/tweakview.py
+++ b/gtweak/tweakview.py
@@ -155,6 +155,7 @@ class Window(Gtk.ApplicationWindow):
 
         groups = list(self._model._tweak_group_names.keys())
         groups = sorted(groups)
+        groups.insert(0, groups.pop(groups.index(_("General"))))
 
         for g in groups:
             row = _make_items_listbox(g)


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