Merge pull request #129 from GLolol/sort-themes
Sort available themes in Menu preferences->Theme
This commit is contained in:
commit
6e5e849d05
@ -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", "")
|
||||
|
Loading…
Reference in New Issue
Block a user