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:
natureh
2011-10-12 01:10:45 +02:00
parent cc437409aa
commit 81c988a852
81 changed files with 1257 additions and 322 deletions

View File

@@ -18,6 +18,7 @@
*/
#include <iptcpanel.h>
#include <clipboard.h>
#include <rtimage.h>
extern Glib::ustring argv0;
@@ -90,8 +91,8 @@ IPTCPanel::IPTCPanel () {
keyword->set_tooltip_text (M("IPTCPANEL_KEYWORDSHINT"));
addKW = Gtk::manage( new Gtk::Button () );
delKW = Gtk::manage( new Gtk::Button () );
Gtk::Image* addKWImg = Gtk::manage( new Gtk::Image (argv0+"/images/list-add12.png") );
Gtk::Image* delKWImg = Gtk::manage( new Gtk::Image (argv0+"/images/list-remove12r.png") );
Gtk::Image* addKWImg = Gtk::manage( new RTImage ("list-add12.png") );
Gtk::Image* delKWImg = Gtk::manage( new RTImage ("list-remove12r.png") );
addKW->add (*addKWImg);
delKW->add (*delKWImg);
Gtk::HBox* kwhb = Gtk::manage( new Gtk::HBox () );
@@ -126,8 +127,8 @@ IPTCPanel::IPTCPanel () {
suppCategory->set_tooltip_text (M("IPTCPANEL_SUPPCATEGORIESHINT"));
addSC = Gtk::manage( new Gtk::Button () );
delSC = Gtk::manage( new Gtk::Button () );
Gtk::Image* addSCImg = Gtk::manage( new Gtk::Image (argv0+"/images/list-add12.png") );
Gtk::Image* delSCImg = Gtk::manage( new Gtk::Image (argv0+"/images/list-remove12r.png") );
Gtk::Image* addSCImg = Gtk::manage( new RTImage ("list-add12.png") );
Gtk::Image* delSCImg = Gtk::manage( new RTImage ("list-remove12r.png") );
addSC->add (*addSCImg);
delSC->add (*delSCImg);
Gtk::HBox* schb = Gtk::manage( new Gtk::HBox () );