[meld] filediff: Reformat widget lists



commit 71092ca9d570ea2bf98a51e2cfc7be1d2d1aacb3
Author: Kai Willadsen <kai willadsen gmail com>
Date:   Sun Feb 2 09:15:38 2014 +1000

    filediff: Reformat widget lists

 meld/filediff.py |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/meld/filediff.py b/meld/filediff.py
index 61881ec..86def32 100644
--- a/meld/filediff.py
+++ b/meld/filediff.py
@@ -169,12 +169,12 @@ class FileDiff(melddoc.MeldDoc, gnomeglade.Component):
         """
         melddoc.MeldDoc.__init__(self)
         gnomeglade.Component.__init__(self, "filediff.ui", "filediff")
-        self.map_widgets_into_lists(["textview", "fileentry", "diffmap",
-                                     "scrolledwindow", "linkmap",
-                                     "msgarea_mgr", "vbox",
-                                     "selector_hbox", "readonlytoggle",
-                                     "file_toolbar", "file_save_button",
-                                     "fileentry_toolitem"])
+        widget_lists = [
+            "diffmap", "file_save_button", "file_toolbar", "fileentry",
+            "fileentry_toolitem", "linkmap", "msgarea_mgr", "readonlytoggle",
+            "scrolledwindow", "selector_hbox", "textview", "vbox",
+        ]
+        self.map_widgets_into_lists(widget_lists)
 
         # This SizeGroup isn't actually necessary for FileDiff; it's for
         # handling non-homogenous selectors in FileComp. It's also fragile.


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