[billreminder] Switched the order which the timeline is populated to fix annoying issue where bullet were located a



commit d6c27fa6b3d89b9436fc28d210572a2774721af2
Author: Og B. Maciel <ogmaciel gnome org>
Date:   Mon Dec 13 15:02:05 2010 -0500

    Switched the order which the timeline is populated to fix annoying issue where bullet were located a bit offset to the tick mark.

 src/gui/maindialog.py |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/gui/maindialog.py b/src/gui/maindialog.py
index 09bdc32..9ce4ecb 100644
--- a/src/gui/maindialog.py
+++ b/src/gui/maindialog.py
@@ -110,10 +110,6 @@ class MainDialog:
 
         self.toggle_buttons()
 
-        # populate treeview
-        self.reloadTreeView()
-        self.notify = NotifyIcon(self)
-
         # Connects to the Daemon
         self.iface = None
         iface = get_dbus_interface(common.DBUS_INTERFACE, common.DBUS_PATH)
@@ -127,6 +123,10 @@ class MainDialog:
         self.set_action_strings()
         self.ui.connect_signals(self)
 
+        # populate treeview
+        self.reloadTreeView()
+        self.notify = NotifyIcon(self)
+
     def set_action_strings(self):
         # for some reason the actions strings do not get translated yet
         # so we define them here so they would be picked up by the pyfile scanner



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