Commit 8c7eec7f authored by daniel_e's avatar daniel_e
Browse files

(ImageLabelButton): Trivial coding style refinements.

parent dd57fd7f
......@@ -57,13 +57,13 @@ ImageLabelButton::ImageLabelButton(const Gtk::StockID& stock_id, const Glib::ust
Alignment *const alignment = new Alignment(0.5, 0.5, 0.0, 0.0);
add(*manage(alignment));
HBox *const hbox = new HBox(false, 3);
alignment->add(*manage(hbox));
Box *const box = new HBox(false, 3);
alignment->add(*manage(box));
hbox->pack_start(*manage(new Image(stock_id, ICON_SIZE_BUTTON)), PACK_SHRINK);
hbox->pack_start(*manage(new Label(label, mnemonic)), PACK_SHRINK);
box->pack_start(*manage(new Image(stock_id, ICON_SIZE_BUTTON)), PACK_SHRINK);
box->pack_start(*manage(new Label(label, mnemonic)), PACK_SHRINK);
show_all_children();
alignment->show_all();
}
ImageLabelButton::~ImageLabelButton()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment