[maemo-commits] [maemo-commits] r17365 - in projects/haf/trunk/gtk+: . gtk

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Fri Feb 6 13:09:25 EET 2009
Author: kris
Date: 2009-02-06 13:09:23 +0200 (Fri, 06 Feb 2009)
New Revision: 17365

Modified:
   projects/haf/trunk/gtk+/ChangeLog
   projects/haf/trunk/gtk+/gtk/gtklabel.c
Log:
2009-02-06  Kristian Rietveld  <kris at imendio.com>

	Fixes: NB#91218 - "Advanced" button is missing in Connection setup
	complete dialog for Internet settings.

	* gtk/gtklabel.c (gtk_label_ensure_layout): wrap labels to
	75% of the screen width instead of 85%.



Modified: projects/haf/trunk/gtk+/ChangeLog
===================================================================
--- projects/haf/trunk/gtk+/ChangeLog	2009-02-06 08:19:11 UTC (rev 17364)
+++ projects/haf/trunk/gtk+/ChangeLog	2009-02-06 11:09:23 UTC (rev 17365)
@@ -1,3 +1,11 @@
+2009-02-06  Kristian Rietveld  <kris at imendio.com>
+
+	Fixes: NB#91218 - "Advanced" button is missing in Connection setup
+	complete dialog for Internet settings.
+
+	* gtk/gtklabel.c (gtk_label_ensure_layout): wrap labels to
+	75% of the screen width instead of 85%.
+
 2009-02-06  Claudio Saavedra  <csaavedra at igalia.com>
 
 	Released 2:2.12.12-1maemo8

Modified: projects/haf/trunk/gtk+/gtk/gtklabel.c
===================================================================
--- projects/haf/trunk/gtk+/gtk/gtklabel.c	2009-02-06 08:19:11 UTC (rev 17364)
+++ projects/haf/trunk/gtk+/gtk/gtklabel.c	2009-02-06 11:09:23 UTC (rev 17365)
@@ -2082,7 +2082,7 @@
 	      width = MIN (width,
 			   PANGO_SCALE * (gdk_screen_get_width (screen) + 1) / 2);
 #else
-	      width = MIN (width, PANGO_SCALE * (gdk_screen_get_width (screen) + 1) * 0.85);
+	      width = MIN (width, PANGO_SCALE * (gdk_screen_get_width (screen) + 1) * 0.75);
 #endif
               
 	      pango_layout_set_width (label->layout, width);


More information about the maemo-commits mailing list