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:
4bee286
)
gtk3: don't show "missing" icon for each submenu
author
Daiki Ueno
<ueno@unixuser.org>
Wed, 23 May 2012 00:55:38 +0000
(09:55 +0900)
committer
Daiki Ueno
<ueno@unixuser.org>
Wed, 23 May 2012 00:55:38 +0000
(09:55 +0900)
BUG=none
TEST=manually
Review URL: https://codereview.appspot.com/6211072
ui/gtk3/property.vala
patch
|
blob
|
history
diff --git
a/ui/gtk3/property.vala
b/ui/gtk3/property.vala
index
e24bc40
..
eb35636
100644
(file)
--- a/
ui/gtk3/property.vala
+++ b/
ui/gtk3/property.vala
@@
-126,7
+126,8
@@
public class PropImageMenuItem : Gtk.ImageMenuItem, IPropItem {
private void sync() {
set_label(m_property.get_label().get_text());
- set_icon(m_property.get_icon());
+ if (m_property.get_icon() != "")
+ set_icon(m_property.get_icon());
set_visible(m_property.get_visible());
set_sensitive(m_property.get_sensitive());
}