Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar
diff options
context:
space:
mode:
authorEduardo Silva <edsiper@monotop.(none)>2007-07-05 14:56:17 (GMT)
committer Eduardo Silva <edsiper@monotop.(none)>2007-07-05 14:56:17 (GMT)
commit90b469e6db771f6d630239c84d68cbd48eb06e86 (patch)
treeae936396deba0608dd58e7c16629d55ff62278f2 /sugar
parentf614131ad7a9ebb3658a51ba7d58b37de9505880 (diff)
Add icon to buddy menu items
Diffstat (limited to 'sugar')
-rw-r--r--sugar/graphics/Makefile.am1
-rw-r--r--sugar/graphics/menuitem.py4
2 files changed, 3 insertions, 2 deletions
diff --git a/sugar/graphics/Makefile.am b/sugar/graphics/Makefile.am
index c15c502..f88bd1b 100644
--- a/sugar/graphics/Makefile.am
+++ b/sugar/graphics/Makefile.am
@@ -11,6 +11,7 @@ sugar_PYTHON = \
font.py \
frame.py \
notebook.py \
+ menuitem.py \
objectchooser.py \
radiotoolbutton.py \
roundbox.py \
diff --git a/sugar/graphics/menuitem.py b/sugar/graphics/menuitem.py
index c16c166..492f5f1 100644
--- a/sugar/graphics/menuitem.py
+++ b/sugar/graphics/menuitem.py
@@ -1,4 +1,4 @@
-# Copyright (C) 2007, Eduardo Silva (edsiper@gmail.com)
+# Copyright (C) 2007, Eduardo Silva <edsiper@gmail.com>
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
@@ -22,7 +22,7 @@ class MenuItem(gtk.ImageMenuItem):
def __init__(self, text_label, icon_name=None):
gtk.ImageMenuItem.__init__(self, text_label)
if icon_name:
- icon = Icon(icon_name, gtk.ICON_SIZE_SMALL_TOOLBAR)
+ icon = Icon(icon_name, gtk.ICON_SIZE_MENU)
self.set_image(icon)
icon.show()