summaryrefslogtreecommitdiffstats
path: root/src/dialogs/item-properties.cpp
diff options
context:
space:
mode:
authorFelipe Corr??a da Silva Sanches <juca@members.fsf.org>2011-06-22 13:30:13 +0000
committerFelipe C. da S. Sanches <juca@members.fsf.org>2011-06-22 13:30:13 +0000
commite2959fe6ceb1167223b72740f89877d52b354ced (patch)
treec935d005864654ccc189a86fd0fd3f5e89139770 /src/dialogs/item-properties.cpp
parentThe label ‘Guides Around Page’ does not include a verb. ‘Guides Around ... (diff)
downloadinkscape-e2959fe6ceb1167223b72740f89877d52b354ced.tar.gz
inkscape-e2959fe6ceb1167223b72740f89877d52b354ced.zip
Position the 'Set' button to lower right corner of the object properties panel.
http://cuts.thinking-garment.com/262 ’Set’ button of the ‘Object Properties’ panel is placed high up, next to the ID text-entry box, suggesting it is applied only to the ID box. In reality, ‘Set’ button applies the changes for every text field. (bzr r10341)
Diffstat (limited to 'src/dialogs/item-properties.cpp')
-rw-r--r--src/dialogs/item-properties.cpp16
1 files changed, 7 insertions, 9 deletions
diff --git a/src/dialogs/item-properties.cpp b/src/dialogs/item-properties.cpp
index cd56c2da4..3f757e81f 100644
--- a/src/dialogs/item-properties.cpp
+++ b/src/dialogs/item-properties.cpp
@@ -131,15 +131,6 @@ sp_item_widget_new (void)
// focus is in the id field initially:
gtk_widget_grab_focus (GTK_WIDGET (tf));
- /* Button for setting the object's id, label, title and description. */
- pb = gtk_button_new_with_mnemonic (_("_Set"));
- gtk_table_attach ( GTK_TABLE (t), pb, 2, 3, 0, 1,
- (GtkAttachOptions)( GTK_SHRINK | GTK_FILL ),
- (GtkAttachOptions)0, 0, 0 );
- g_signal_connect ( G_OBJECT (pb), "clicked",
- G_CALLBACK (sp_item_widget_label_changed),
- spw );
-
/* Create the label for the object label */
l = gtk_label_new_with_mnemonic (_("_Label:"));
gtk_misc_set_alignment (GTK_MISC (l), 1, 0.5);
@@ -219,6 +210,13 @@ sp_item_widget_new (void)
g_signal_connect (G_OBJECT(cb), "toggled", G_CALLBACK(sp_item_widget_hidden_toggled), spw);
gtk_object_set_data(GTK_OBJECT(spw), "hidden", cb);
+ /* Button for setting the object's id, label, title and description. */
+ pb = gtk_button_new_with_mnemonic (_("_Set"));
+ gtk_box_pack_start (GTK_BOX (hb_cb), pb, TRUE, TRUE, 10);
+ g_signal_connect ( G_OBJECT (pb), "clicked",
+ G_CALLBACK (sp_item_widget_label_changed),
+ spw );
+
/* Lock */
// TRANSLATORS: "Lock" is a verb here
cb = gtk_check_button_new_with_mnemonic (_("L_ock"));