[maemo-commits] [maemo-commits] r13871 - in projects/haf/trunk/hildon-fm: . debian hildon-fm

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Mon Sep 17 20:55:20 EEST 2007
Author: marivoll
Date: 2007-09-17 20:55:17 +0300 (Mon, 17 Sep 2007)
New Revision: 13871

Modified:
   projects/haf/trunk/hildon-fm/ChangeLog
   projects/haf/trunk/hildon-fm/debian/changelog
   projects/haf/trunk/hildon-fm/hildon-fm/hildon-file-details-dialog.c
Log:
	* hildon-fm/hildon-file-details-dialog.c
	(hildon_file_details_dialog_init): Make filename wrap, allow line
	break after each character (N53155).


Modified: projects/haf/trunk/hildon-fm/ChangeLog
===================================================================
--- projects/haf/trunk/hildon-fm/ChangeLog	2007-09-17 17:17:24 UTC (rev 13870)
+++ projects/haf/trunk/hildon-fm/ChangeLog	2007-09-17 17:55:17 UTC (rev 13871)
@@ -1,5 +1,9 @@
 2007-09-17  Marius Vollmer  <marius.vollmer at nokia.com>
 
+	* hildon-fm/hildon-file-details-dialog.c
+	(hildon_file_details_dialog_init): Make filename wrap, allow line
+	break after each character (N53155).
+
 	* hildon-fm/hildon-file-system-special-location.h,
 	hildon-fm/hildon-file-system-special-location.c
 	(struct _HildonFileSystemSpecialLocationClass): Added rewrite_path

Modified: projects/haf/trunk/hildon-fm/debian/changelog
===================================================================
--- projects/haf/trunk/hildon-fm/debian/changelog	2007-09-17 17:17:24 UTC (rev 13870)
+++ projects/haf/trunk/hildon-fm/debian/changelog	2007-09-17 17:55:17 UTC (rev 13871)
@@ -8,7 +8,7 @@
   * Fixes: NB#65966, NB#61944, NB#63125, NB#68166, NB#66158.
   * Make libhildonfm2 depend on gnome-vfs-filechooser-backend since it
     doesn't really work with any other backend for now.  Fixes: NB#59466.
-  * Fixes: NB#59284, NB#60626, NB#67758, NB#68881.
+  * Fixes: NB#59284, NB#60626, NB#67758, NB#68881, NB#53155.
 
  -- Marius Vollmer <marius.vollmer at nokia.com>  Tue, 14 Aug 2007 19:48:47 +0300
 

Modified: projects/haf/trunk/hildon-fm/hildon-fm/hildon-file-details-dialog.c
===================================================================
--- projects/haf/trunk/hildon-fm/hildon-fm/hildon-file-details-dialog.c	2007-09-17 17:17:24 UTC (rev 13870)
+++ projects/haf/trunk/hildon-fm/hildon-fm/hildon-file-details-dialog.c	2007-09-17 17:55:17 UTC (rev 13871)
@@ -368,6 +368,9 @@
     priv->file_time = g_object_new(GTK_TYPE_LABEL, "xalign", 0.0f, NULL);
     priv->file_readonly = gtk_check_button_new();
 
+    gtk_label_set_line_wrap (GTK_LABEL (priv->file_name), TRUE);
+    gtk_label_set_line_wrap_mode (GTK_LABEL (priv->file_name), PANGO_WRAP_CHAR);
+
     hbox_type = gtk_hbox_new (FALSE, HILDON_MARGIN_DEFAULT);
     hbox_location = gtk_hbox_new(FALSE, HILDON_MARGIN_DEFAULT);
     hbox_device = gtk_hbox_new(FALSE, HILDON_MARGIN_DEFAULT);
@@ -437,7 +440,7 @@
 
     gtk_scrolled_window_add_with_viewport(GTK_SCROLLED_WINDOW(scroll), vbox);
     gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scroll),
-        GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
+        GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);
     gtk_container_set_border_width(GTK_CONTAINER(scroll),
         HILDON_MARGIN_DEFAULT);
     /* Both scrolled window and viewport have separate shadows... */


More information about the maemo-commits mailing list