Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLucian Branescu Mihaila <lucian.branescu@gmail.com>2010-07-20 01:53:17 (GMT)
committer Lucian Branescu Mihaila <lucian.branescu@gmail.com>2010-07-20 01:53:17 (GMT)
commitb8b8a8dbcf1e21a64ea41e7b532633e6fa987a0f (patch)
tree0c43b4ee59c62b60a4b6769e89700bcc52c4885c
parent5f3e19345266e55c6866cb9eb1e8e39c12f781a7 (diff)
Cleanups.
-rw-r--r--readtoolbar.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/readtoolbar.py b/readtoolbar.py
index a51eff6..a5d8bd7 100644
--- a/readtoolbar.py
+++ b/readtoolbar.py
@@ -171,9 +171,6 @@ class ViewToolbar(gtk.Toolbar):
__gtype_name__ = 'ViewToolbar'
__gsignals__ = {
- 'needs-update-size': (gobject.SIGNAL_RUN_FIRST,
- gobject.TYPE_NONE,
- ([])),
'go-fullscreen': (gobject.SIGNAL_RUN_FIRST,
gobject.TYPE_NONE,
([]))
@@ -294,7 +291,6 @@ class ViewToolbar(gtk.Toolbar):
def zoom_to_width(self):
self._evince_model.props.sizing_mode = evince.SIZING_FIT_WIDTH
- self.emit('needs-update-size')
self._update_zoom_buttons()
def _zoom_to_width_cb(self, button):
@@ -306,7 +302,6 @@ class ViewToolbar(gtk.Toolbar):
def _zoom_to_fit_menu_item_activate_cb(self, menu_item):
self._evince_model.props.sizing_mode = evince.SIZING_BEST_FIT
- self.emit('needs-update-size')
self._update_zoom_buttons()
def _actual_size_menu_item_activate_cb(self, menu_item):