[hamster-applet] fixed warning about the icon size
- From: Toms Baugis <tbaugis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [hamster-applet] fixed warning about the icon size
- Date: Wed, 14 Jul 2010 12:26:13 +0000 (UTC)
commit 7e29f6efef74e577a8ab8512841b9ffeb96b38d5
Author: Toms Bauģis <toms baugis gmail com>
Date: Wed Jul 14 13:25:28 2010 +0100
fixed warning about the icon size
src/hamster/widgets/timechart.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/hamster/widgets/timechart.py b/src/hamster/widgets/timechart.py
index 98642b1..88439f6 100644
--- a/src/hamster/widgets/timechart.py
+++ b/src/hamster/widgets/timechart.py
@@ -110,7 +110,8 @@ class TimeChart(graphics.Scene):
self.connect("enter_notify_event", self.on_mouse_enter)
self.connect("leave_notify_event", self.on_mouse_leave)
- self.zoom_out_icon = Icon(self.render_icon(gtk.STOCK_ZOOM_OUT, 16), visible = False, z_order = 500)
+ self.zoom_out_icon = Icon(self.render_icon(gtk.STOCK_ZOOM_OUT, gtk.ICON_SIZE_MENU),
+ visible = False, z_order = 500)
self.add_child(self.zoom_out_icon)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]