[nautilus] conflict-dialog: don't force a size request on the labels



commit 1457f53c27f6d2f84d0c9eb76c1c8cffd1177e95
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Thu Apr 7 10:30:45 2011 -0400

    conflict-dialog: don't force a size request on the labels
    
    This is not required anymore in GTK+ 3

 .../nautilus-file-conflict-dialog.c                |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/libnautilus-private/nautilus-file-conflict-dialog.c b/libnautilus-private/nautilus-file-conflict-dialog.c
index 235ba89..df320d8 100644
--- a/libnautilus-private/nautilus-file-conflict-dialog.c
+++ b/libnautilus-private/nautilus-file-conflict-dialog.c
@@ -194,7 +194,6 @@ file_list_ready_cb (GList *files,
 	label = gtk_label_new (primary_text);
 	gtk_label_set_line_wrap (GTK_LABEL (label), TRUE);
 	gtk_label_set_line_wrap_mode (GTK_LABEL (label), PANGO_WRAP_WORD_CHAR);
-	gtk_widget_set_size_request (label, 350, -1);
 	gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
 	gtk_box_pack_start (GTK_BOX (details->titles_vbox),
 			    label, FALSE, FALSE, 0);
@@ -211,7 +210,6 @@ file_list_ready_cb (GList *files,
 
 	label = gtk_label_new (secondary_text);
 	gtk_label_set_line_wrap (GTK_LABEL (label), TRUE);
-	gtk_widget_set_size_request (label, 350, -1);
 	gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
 	gtk_box_pack_start (GTK_BOX (details->titles_vbox),
 			    label, FALSE, FALSE, 0);



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