[hamster-applet] grow the fact box a little to 15 facts and 360 pixels height when going over that
- From: Toms Baugis <tbaugis src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [hamster-applet] grow the fact box a little to 15 facts and 360 pixels height when going over that
- Date: Thu, 21 Jan 2010 01:43:34 +0000 (UTC)
commit 82b028639977089b666776f40a0a3d016d3a3dac
Author: Toms Bauģis <toms baugis gmail com>
Date: Thu Jan 21 01:42:33 2010 +0000
grow the fact box a little to 15 facts and 360 pixels height when going over that
hamster/applet.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/hamster/applet.py b/hamster/applet.py
index f8541f1..4a3a5d1 100755
--- a/hamster/applet.py
+++ b/hamster/applet.py
@@ -357,8 +357,8 @@ class HamsterApplet(object):
else:
self.last_activity = None
- if len(facts) > 10:
- self._gui.get_object("today_box").set_size_request(-1, 250)
+ if len(facts) > 15:
+ self._gui.get_object("today_box").set_size_request(-1, 360)
self._gui.get_object("today_box").set_policy(gtk.POLICY_AUTOMATIC, gtk.POLICY_ALWAYS)
else:
self._gui.get_object("today_box").set_size_request(-1, -1)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]