Patch from issue 1012: Proposal of an icon theme for RT
This patch add multiple iconset capabilities, on a per theme basis. See comment #61 and #68 from issue 1012 to see how it works.
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
#include <options.h>
|
||||
#include <multilangmgr.h>
|
||||
#include <imagearea.h>
|
||||
#include <rtimage.h>
|
||||
|
||||
IndicateClippedPanel::IndicateClippedPanel (ImageArea* ia) : imageArea(ia) {
|
||||
|
||||
@@ -26,14 +27,14 @@ IndicateClippedPanel::IndicateClippedPanel (ImageArea* ia) : imageArea(ia) {
|
||||
|
||||
indclippedh = Gtk::manage (new Gtk::ToggleButton ());
|
||||
indclippedh->set_relief(Gtk::RELIEF_NONE);
|
||||
indclippedh->add (*Gtk::manage (new Gtk::Image (argv0+"/images/warnhl.png")));
|
||||
indclippedh->add (*Gtk::manage (new RTImage ("warnhl.png")));
|
||||
tt = M("MAIN_TOOLTIP_INDCLIPPEDH");
|
||||
if (tt.find("<") == Glib::ustring::npos && tt.find(">") == Glib::ustring::npos) indclippedh->set_tooltip_text (tt);
|
||||
else indclippedh->set_tooltip_markup (tt);
|
||||
|
||||
indclippeds = Gtk::manage (new Gtk::ToggleButton ());
|
||||
indclippeds->set_relief(Gtk::RELIEF_NONE);
|
||||
indclippeds->add (*Gtk::manage (new Gtk::Image (argv0+"/images/warnsh.png")));
|
||||
indclippeds->add (*Gtk::manage (new RTImage ("warnsh.png")));
|
||||
tt = M("MAIN_TOOLTIP_INDCLIPPEDS");
|
||||
if (tt.find("<") == Glib::ustring::npos && tt.find(">") == Glib::ustring::npos) indclippeds->set_tooltip_text (tt);
|
||||
else indclippeds->set_tooltip_markup (tt);
|
||||
|
Reference in New Issue
Block a user