[billreminder/gnome-2-30] Commented out several method calls until new main ui is up to speed.
- From: Og B. Maciel <ogmaciel src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [billreminder/gnome-2-30] Commented out several method calls until new main ui is up to speed.
- Date: Thu, 14 Jan 2010 14:20:36 +0000 (UTC)
commit ddd045f94a994e36025a084e7a26a9cc5da60038
Author: Og B. Maciel <ogmaciel gnome org>
Date: Thu Jan 14 09:20:13 2010 -0500
Commented out several method calls until new main ui is up to speed.
src/gui/maindialog.py | 20 ++++++++++----------
1 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/src/gui/maindialog.py b/src/gui/maindialog.py
index bc2c893..f49b400 100644
--- a/src/gui/maindialog.py
+++ b/src/gui/maindialog.py
@@ -38,13 +38,13 @@ class MainDialog:
self.list.connect('row_activated', self._on_list_row_activated)
self.list.connect('button_press_event', self._on_list_button_press_event)
- self.ui.get_object("bill_box").add(self.list)
+ self.ui.get_object("upcoming_tree").add(self.list)
# Toolbar
self.toolbar = self.ui.get_object("toolbar")
# Menubar
- self._populate_menubar()
+ #self._populate_menubar()
# Statusbar
self.statusbar = widgets.Statusbar()
@@ -53,11 +53,11 @@ class MainDialog:
# Timeline
self.timeline = widgets.Timeline(callback=self.on_timeline_cb)
self.timeline.connect("value-changed", self._on_timeline_changed)
- self.ui.get_object("timeline_box").add(self.timeline)
+ #self.ui.get_object("timeline_box").add(self.timeline)
# Chart
self.chart = widgets.ChartWidget()
- self.ui.get_object("chart_box").add(self.chart)
+ self.ui.get_object("graph_box").add(self.chart)
# Restore position and size of window
width = self.gconf_client.get('window_width')
@@ -72,13 +72,13 @@ class MainDialog:
self.window.show_all()
# Whether to display toolbar or not
- self.on_showToolbar_toggled(self.ui.get_object("showToolbar"))
+ #self.on_showToolbar_toggled(self.ui.get_object("showToolbar"))
self.list.grab_focus()
if self.gconf_client.get('start_in_tray'):
self.window.hide()
- self.toggle_buttons()
+ #self.toggle_buttons()
# populate treeview
self.reloadTreeView()
@@ -94,7 +94,7 @@ class MainDialog:
self.iface = iface
timeout_add(2000, self._send_tray_hints)
- self.set_action_strings()
+ #self.set_action_strings()
self.ui.connect_signals(self)
def set_action_strings(self):
@@ -181,11 +181,11 @@ class MainDialog:
records = self.actions.get_interval_bills(first, last, status)
# Populate treeview
- self.populate_view(records)
+ #self.populate_view(records)
# Update status bar
- self.update_statusbar()
+ #self.update_statusbar()
# populate chart
- self._populate_chart(status, first, last)
+ #self._populate_chart(status, first, last)
return len(records)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]