projects
/
platform
/
upstream
/
ibus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd5e23b
)
Set Toolbar's style to 'icons only'.
author
Huang Peng
<shawn.p.huang@gmail.com>
Tue, 1 Jul 2008 12:16:40 +0000
(20:16 +0800)
committer
Huang Peng
<shawn.p.huang@gmail.com>
Tue, 1 Jul 2008 12:16:40 +0000
(20:16 +0800)
panel/languagebar.py
patch
|
blob
|
history
diff --git
a/panel/languagebar.py
b/panel/languagebar.py
index
8c15cc2
..
0c3c203
100644
(file)
--- a/
panel/languagebar.py
+++ b/
panel/languagebar.py
@@
-47,6
+47,7
@@
class LanguageBar (gtk.Toolbar):
def __init__ (self):
gtk.Toolbar.__init__ (self)
+ self.set_style (gtk.TOOLBAR_ICONS)
self.set_property ("icon-size", ICON_SIZE)
self._create_ui ()
@@
-97,7
+98,7
@@
class LanguageBar (gtk.Toolbar):
for item in self:
w, h = item.size_request ()
width += w
- self.set_size_request (width +
4
, -1)
+ self.set_size_request (width +
32
, -1)
def do_size_request (self, requisition):
gtk.Toolbar.do_size_request (self, requisition)