From 4d4558cc4efbd7c6b980c5ade913de05b6fb1fa2 Mon Sep 17 00:00:00 2001 From: James Lu Date: Sat, 14 Mar 2015 19:46:07 -0700 Subject: [PATCH] Sort available themes in Menu preferences->Theme --- usr/lib/linuxmint/mintMenu/mintMenuConfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/lib/linuxmint/mintMenu/mintMenuConfig.py b/usr/lib/linuxmint/mintMenu/mintMenuConfig.py index f98cb67..53c3589 100755 --- a/usr/lib/linuxmint/mintMenu/mintMenuConfig.py +++ b/usr/lib/linuxmint/mintMenu/mintMenuConfig.py @@ -285,7 +285,7 @@ class mintMenuConfig( object ): model = Gtk.ListStore(str, str) self.builder.get_object("themesCombo").set_model(model) selected_theme = model.append([_("Desktop theme"), "default"]) - for theme in themes: + for theme in sorted(themes): if theme.startswith("/usr/share/themes") and theme.endswith("/gtk-2.0/gtkrc"): theme = theme.replace("/usr/share/themes/", "") theme = theme.replace("gtk-2.0", "")