File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -44,13 +44,16 @@ public class Spice.SlideList : Gtk.Grid {
4444 };
4545 scrollbox. add (slides_list);
4646
47- var new_slide_button = new Gtk .Button .from_icon_name ( " list-add-symbolic " , Gtk . IconSize . SMALL_TOOLBAR ) {
47+ var new_slide_button = new Gtk .Button .with_label (_( " Add a Slide " ) ) {
4848 always_show_image = true ,
49- label = _ ("Add a Slide "),
5049 margin_top = 3 ,
5150 margin_bottom = 3 ,
52- tooltip_markup = Utils.get_accel_tooltip (Window .ACTION_NEW_SLIDE , "")
51+ hexpand = true ,
52+ image = new Gtk .Image .from_icon_name (" list-add-symbolic" , Gtk . IconSize . MENU ),
53+ tooltip_markup = Utils.get_accel_tooltip (Window .ACTION_NEW_SLIDE , ""),
54+ xalign = 0
5355 };
56+
5457 new_slide_button.get_style_context ().add_class (Gtk .STYLE_CLASS_FLAT );
5558
5659 var actionbar = new Gtk .ActionBar ();
You can’t perform that action at this time.
0 commit comments