[maemo-commits] [maemo-commits] r8922 - in projects/haf/branches/maemo-af-desktop/example-plugins: . src
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Wed Jan 3 12:36:12 EET 2007
- Previous message: [maemo-commits] r8921 - in projects/haf/trunk/osso-gnomevfs-extra: . debian
- Next message: [maemo-commits] r8923 - projects/haf/trunk/osso-af-startup/debian
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: lucasr Date: 2007-01-03 12:36:11 +0200 (Wed, 03 Jan 2007) New Revision: 8922 Modified: projects/haf/branches/maemo-af-desktop/example-plugins/ChangeLog projects/haf/branches/maemo-af-desktop/example-plugins/src/pythonhome.py projects/haf/branches/maemo-af-desktop/example-plugins/src/pythonpanel.py Log: 2006-01-03 Lucas Rocha <lucas.rocha at nokia.com> * src/pythonhome.py, src/pythonpanel.py: only show an icon, not the label. Modified: projects/haf/branches/maemo-af-desktop/example-plugins/ChangeLog =================================================================== --- projects/haf/branches/maemo-af-desktop/example-plugins/ChangeLog 2007-01-03 10:32:49 UTC (rev 8921) +++ projects/haf/branches/maemo-af-desktop/example-plugins/ChangeLog 2007-01-03 10:36:11 UTC (rev 8922) @@ -1,3 +1,8 @@ +2006-01-03 Lucas Rocha <lucas.rocha at nokia.com> + + * src/pythonhome.py, src/pythonpanel.py: only show an icon, not the + label. + 2006-12-29 Lucas Rocha <lucas.rocha at nokia.com> * configure.ac, src/python-home.desktop.in, src/pythonhome.py: added Modified: projects/haf/branches/maemo-af-desktop/example-plugins/src/pythonhome.py =================================================================== --- projects/haf/branches/maemo-af-desktop/example-plugins/src/pythonhome.py 2007-01-03 10:32:49 UTC (rev 8921) +++ projects/haf/branches/maemo-af-desktop/example-plugins/src/pythonhome.py 2007-01-03 10:36:11 UTC (rev 8922) @@ -9,8 +9,12 @@ def __init__(self): hildondesktop.HomeApplet.__init__(self) - button = gtk.Button("Click me!", gtk.STOCK_CDROM) + image = gtk.Image() + image.set_from_stock(gtk.STOCK_CDROM, gtk.ICON_SIZE_LARGE_TOOLBAR) + + button = gtk.Button() button.connect("clicked", self.clicked, None) + button.set_image(image) button.set_size_request(80, 80); button.show() Modified: projects/haf/branches/maemo-af-desktop/example-plugins/src/pythonpanel.py =================================================================== --- projects/haf/branches/maemo-af-desktop/example-plugins/src/pythonpanel.py 2007-01-03 10:32:49 UTC (rev 8921) +++ projects/haf/branches/maemo-af-desktop/example-plugins/src/pythonpanel.py 2007-01-03 10:36:11 UTC (rev 8922) @@ -9,8 +9,12 @@ def __init__(self): hildondesktop.TaskNavigatorItem.__init__(self) - button = gtk.Button("Click me!", gtk.STOCK_CDROM) + image = gtk.Image() + image.set_from_stock(gtk.STOCK_CDROM, gtk.ICON_SIZE_LARGE_TOOLBAR) + + button = gtk.Button() button.connect("clicked", self.clicked, None) + button.set_image(image) button.set_size_request(80, 80); button.show()
- Previous message: [maemo-commits] r8921 - in projects/haf/trunk/osso-gnomevfs-extra: . debian
- Next message: [maemo-commits] r8923 - projects/haf/trunk/osso-af-startup/debian
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]