Rebased in new branch to cleanup commit history.
This commit is contained in:
@@ -112,9 +112,9 @@ IPTCPanel::IPTCPanel ()
|
||||
setExpandAlignProperties(addKW, false, true, Gtk::ALIGN_CENTER, Gtk::ALIGN_FILL);
|
||||
delKW = Gtk::manage( new Gtk::Button () );
|
||||
setExpandAlignProperties(delKW, false, true, Gtk::ALIGN_CENTER, Gtk::ALIGN_FILL);
|
||||
Gtk::Image* addKWImg = Gtk::manage( new RTImage ("list-add-small.png") );
|
||||
Gtk::Image* addKWImg = Gtk::manage( new RTImage ("add-small.png") );
|
||||
setExpandAlignProperties(addKWImg, false, false, Gtk::ALIGN_CENTER, Gtk::ALIGN_CENTER);
|
||||
Gtk::Image* delKWImg = Gtk::manage( new RTImage ("list-remove-red-small.png") );
|
||||
Gtk::Image* delKWImg = Gtk::manage( new RTImage ("remove-small.png") );
|
||||
setExpandAlignProperties(delKWImg, false, false, Gtk::ALIGN_CENTER, Gtk::ALIGN_CENTER);
|
||||
addKW->add (*addKWImg);
|
||||
delKW->add (*delKWImg);
|
||||
@@ -162,9 +162,9 @@ IPTCPanel::IPTCPanel ()
|
||||
setExpandAlignProperties(addSC, false, true, Gtk::ALIGN_CENTER, Gtk::ALIGN_FILL);
|
||||
delSC = Gtk::manage( new Gtk::Button () );
|
||||
setExpandAlignProperties(delSC, false, true, Gtk::ALIGN_CENTER, Gtk::ALIGN_FILL);
|
||||
Gtk::Image* addSCImg = Gtk::manage( new RTImage ("list-add-small.png") );
|
||||
Gtk::Image* addSCImg = Gtk::manage( new RTImage ("add-small.png") );
|
||||
setExpandAlignProperties(addSCImg, false, false, Gtk::ALIGN_CENTER, Gtk::ALIGN_CENTER);
|
||||
Gtk::Image* delSCImg = Gtk::manage( new RTImage ("list-remove-red-small.png") );
|
||||
Gtk::Image* delSCImg = Gtk::manage( new RTImage ("remove-small.png") );
|
||||
setExpandAlignProperties(delSCImg, false, false, Gtk::ALIGN_CENTER, Gtk::ALIGN_CENTER);
|
||||
addSC->add (*addSCImg);
|
||||
delSC->add (*delSCImg);
|
||||
@@ -328,25 +328,25 @@ IPTCPanel::IPTCPanel ()
|
||||
|
||||
reset = Gtk::manage( new Gtk::Button () ); // M("IPTCPANEL_RESET")
|
||||
reset->get_style_context()->add_class("Left");
|
||||
reset->set_image (*Gtk::manage(new RTImage ("gtk-undo-ltr.png", "gtk-undo-rtl.png")));
|
||||
reset->set_image (*Gtk::manage(new RTImage ("undo.png", "redo.png")));
|
||||
setExpandAlignProperties(reset, true, false, Gtk::ALIGN_FILL, Gtk::ALIGN_FILL);
|
||||
bbox->attach_next_to (*reset, Gtk::POS_LEFT, 1, 1);
|
||||
|
||||
file = Gtk::manage( new Gtk::Button () ); // M("IPTCPANEL_EMBEDDED")
|
||||
file->get_style_context()->add_class("MiddleH");
|
||||
file->set_image (*Gtk::manage(new RTImage ("gtk-open.png")));
|
||||
file->set_image (*Gtk::manage(new RTImage ("folder-open.png")));
|
||||
setExpandAlignProperties(file, true, false, Gtk::ALIGN_FILL, Gtk::ALIGN_FILL);
|
||||
bbox->attach_next_to (*file, Gtk::POS_RIGHT, 1, 1);
|
||||
|
||||
copy = Gtk::manage( new Gtk::Button () );
|
||||
copy->get_style_context()->add_class("MiddleH");
|
||||
copy->set_image (*Gtk::manage(new RTImage ("edit-copy.png")));
|
||||
copy->set_image (*Gtk::manage(new RTImage ("copy.png")));
|
||||
setExpandAlignProperties(copy, true, false, Gtk::ALIGN_FILL, Gtk::ALIGN_FILL);
|
||||
bbox->attach_next_to (*copy, Gtk::POS_RIGHT, 1, 1);
|
||||
|
||||
paste = Gtk::manage( new Gtk::Button () );
|
||||
paste->get_style_context()->add_class("Right");
|
||||
paste->set_image (*Gtk::manage(new RTImage ("edit-paste.png")));
|
||||
paste->set_image (*Gtk::manage(new RTImage ("paste.png")));
|
||||
setExpandAlignProperties(paste, true, false, Gtk::ALIGN_FILL, Gtk::ALIGN_FILL);
|
||||
bbox->attach_next_to (*paste, Gtk::POS_RIGHT, 1, 1);
|
||||
|
||||
|
Reference in New Issue
Block a user