diff options
author | toshi <toshi@03aab468-d3d2-4883-8b12-f661bbf03fa8> | 2010-09-11 02:38:47 +0000 |
---|---|---|
committer | toshi <toshi@03aab468-d3d2-4883-8b12-f661bbf03fa8> | 2010-09-11 02:38:47 +0000 |
commit | ce0df2ba42115909e321574972c2f362a97028c2 (patch) | |
tree | 0740c36ebd2808df88a655322183688dbaced3aa /core/plugin/gui.rb | |
parent | 7e1fd0309bc3fa68ee3a6bc3a63f21ed8eb3eb9b (diff) | |
download | mikutter-ce0df2ba42115909e321574972c2f362a97028c2.tar.gz |
git-svn-id: svn://toshia.dip.jp/mikutter/trunk@129 03aab468-d3d2-4883-8b12-f661bbf03fa8
Diffstat (limited to 'core/plugin/gui.rb')
-rw-r--r-- | core/plugin/gui.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/plugin/gui.rb b/core/plugin/gui.rb index 7f1468bf..b95b7e8e 100644 --- a/core/plugin/gui.rb +++ b/core/plugin/gui.rb @@ -163,6 +163,8 @@ module Plugin tab_label = Gtk::EventBox.new.tooltip(label) if image.is_a?(String) tab_label.add(Gtk::WebIcon.new(image, 24, 24)) + elsif image.is_a?(Gtk::Image) + tab_label.add(image) else tab_label.add(Gtk::Label.new(label)) end tab_label.extend(TabButton).label = label |