[gnome-photos] properties-dialog: Use a more generous title entry box size



commit 976cbc82c93c482bd516f81544b3468520bf7675
Author: Debarshi Ray <debarshir gnome org>
Date:   Mon Jul 22 15:16:51 2013 +0200

    properties-dialog: Use a more generous title entry box size
    
    It is really hard to edit a label in a very small box.
    
    Original patch from William Jon McCann for gnome-documents.

 src/photos-properties-dialog.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/photos-properties-dialog.c b/src/photos-properties-dialog.c
index a3820a3..9f7f554 100644
--- a/src/photos-properties-dialog.c
+++ b/src/photos-properties-dialog.c
@@ -205,6 +205,7 @@ photos_properties_dialog_constructed (GObject *object)
       gtk_widget_set_hexpand (priv->title_entry, TRUE);
       gtk_entry_set_activates_default (GTK_ENTRY (priv->title_entry), TRUE);
       gtk_entry_set_text (GTK_ENTRY (priv->title_entry), name);
+      gtk_entry_set_width_chars (GTK_ENTRY (priv->title_entry), 40);
       gtk_editable_set_editable (GTK_EDITABLE (priv->title_entry), TRUE);
 
       g_signal_connect (priv->title_entry,


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