diff options
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 |