[gnome-tweak-tool] windows: Use Ubuntu sort order for Left placement of buttons
- From: Jeremy Bicha <jbicha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-tweak-tool] windows: Use Ubuntu sort order for Left placement of buttons
- Date: Fri, 9 Jun 2017 01:26:47 +0000 (UTC)
commit 59388e46fd7d1f610ce3e8c6d4d7f8a9e5ae2185
Author: Jeremy Bicha <jbicha ubuntu com>
Date: Thu Jun 8 21:15:36 2017 -0400
windows: Use Ubuntu sort order for Left placement of buttons
gtweak/tweaks/tweak_group_windows.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtweak/tweaks/tweak_group_windows.py b/gtweak/tweaks/tweak_group_windows.py
index 1ca9a55..a68ae51 100644
--- a/gtweak/tweaks/tweak_group_windows.py
+++ b/gtweak/tweaks/tweak_group_windows.py
@@ -55,14 +55,14 @@ class ShowWindowButtons(GSettingsSwitchTweakValue):
else:
rsplit = left.split(",")
- rsplit = [x for x in rsplit if x in ['appmenu', 'close', 'maximize', 'minimize']]
+ rsplit = [x for x in rsplit if x in ['appmenu', 'close', 'minimize', 'maximize']]
if v:
rsplit.append(self.value)
else:
rsplit.remove(self.value)
- rsplit.sort(key=lambda x: ["appmenu", "close", "maximize", "minimize"].index(x))
+ rsplit.sort(key=lambda x: ["appmenu", "close", "minimize", "maximize"].index(x))
self.settings.set_string(self.key_name, ",".join(rsplit) + colon + right)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]