[maemo-commits] [maemo-commits] r14147 - in projects/haf/branches/hildon-control-panel/refactoring: . src

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Thu Sep 27 15:32:14 EEST 2007
Author: lucasr
Date: 2007-09-27 15:32:13 +0300 (Thu, 27 Sep 2007)
New Revision: 14147

Modified:
   projects/haf/branches/hildon-control-panel/refactoring/ChangeLog
   projects/haf/branches/hildon-control-panel/refactoring/src/hcp-rfs.c
Log:
2007-09-27  Lucas Rocha  <lucas.rocha at nokia.com>

	* src/hcp-rfs.c (hcp_rfs_display_warning): set label size request in
	order to avoid incorrect line wrapping. Fixes: NB#71082.


Modified: projects/haf/branches/hildon-control-panel/refactoring/ChangeLog
===================================================================
--- projects/haf/branches/hildon-control-panel/refactoring/ChangeLog	2007-09-27 12:17:09 UTC (rev 14146)
+++ projects/haf/branches/hildon-control-panel/refactoring/ChangeLog	2007-09-27 12:32:13 UTC (rev 14147)
@@ -1,3 +1,8 @@
+2007-09-27  Lucas Rocha  <lucas.rocha at nokia.com>
+
+	* src/hcp-rfs.c (hcp_rfs_display_warning): set label size request in
+	order to avoid incorrect line wrapping. Fixes: NB#71082.
+
 2007-09-24  Lucas Rocha  <lucas.rocha at nokia.com>
 
 	* configure.ac: release 1.9.8

Modified: projects/haf/branches/hildon-control-panel/refactoring/src/hcp-rfs.c
===================================================================
--- projects/haf/branches/hildon-control-panel/refactoring/src/hcp-rfs.c	2007-09-27 12:17:09 UTC (rev 14146)
+++ projects/haf/branches/hildon-control-panel/refactoring/src/hcp-rfs.c	2007-09-27 12:32:13 UTC (rev 14147)
@@ -84,8 +84,13 @@
   gtk_dialog_set_has_separator (GTK_DIALOG (confirm_dialog), FALSE);
 
   label = gtk_label_new (warning);
+  
   gtk_label_set_line_wrap (GTK_LABEL (label), TRUE);
 
+  gtk_widget_set_size_request (label,
+                               380,
+                               -1);
+
   gtk_container_add (GTK_CONTAINER (GTK_DIALOG (confirm_dialog)->vbox), 
                      label);
 


More information about the maemo-commits mailing list