The reset icon can be correctly displayed to its expected size. A new icon (a down arrow) has been added for the Curve editor button. Patch optimised by Hombre (issue 1027, comments 16 and 17)

This commit is contained in:
Philippe Hupe
2011-10-26 19:49:27 +02:00
parent 9611ea90cb
commit 885308c2c8
3 changed files with 8 additions and 5 deletions

View File

@@ -93,8 +93,8 @@ bool PopUpCommon::addEntry (Glib::ustring fileName, Glib::ustring label) {
// When there is at least 1 choice, we add the arrow button
if (images.size() == 1) {
Gtk::Button* arrowButton = Gtk::manage( new Gtk::Button() );
Gtk::Arrow* arrowObject = Gtk::manage( new Gtk::Arrow(Gtk::ARROW_DOWN, Gtk::SHADOW_NONE) );
arrowButton->add(*arrowObject); //menuSymbol);
RTImage* arrowImage = Gtk::manage( new RTImage("popuparrow.png") );
arrowButton->add(*arrowImage); //menuSymbol);
arrowButton->set_relief (Gtk::RELIEF_NONE);
arrowButton->set_border_width (0);
buttonGroup->pack_start(*arrowButton,Gtk::PACK_SHRINK, 0);