[glade] GladeAttributes: Make the editor button have a label and expand horizontally



commit 205f4bbe8ff6a019b925a1bc8e01ebc4106493e2
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date:   Sun Apr 21 18:13:17 2013 +0900

    GladeAttributes: Make the editor button have a label and expand horizontally

 plugins/gtk+/glade-attributes.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/plugins/gtk+/glade-attributes.c b/plugins/gtk+/glade-attributes.c
index f77cd8c..41cc75f 100644
--- a/plugins/gtk+/glade-attributes.c
+++ b/plugins/gtk+/glade-attributes.c
@@ -1131,7 +1131,8 @@ glade_eprop_attrs_create_input (GladeEditorProperty *eprop)
 
   hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);
 
-  button = gtk_button_new_from_stock (GTK_STOCK_EDIT);
+  button = gtk_button_new_with_label (_("Edit Attributes"));
+  gtk_widget_set_hexpand (button, TRUE);
   gtk_widget_show (button);
   gtk_box_pack_start (GTK_BOX (hbox), button, TRUE, TRUE, 0);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]