rhythmbox r5542 - in trunk: . widgets



Author: jmatthew
Date: Sun Jan 13 01:44:55 2008
New Revision: 5542
URL: http://svn.gnome.org/viewvc/rhythmbox?rev=5542&view=rev

Log:
2008-01-13  Djihed Afifi  <djihed gmail com>

	* widgets/rb-header.c: (rb_header_sync):
	Prepend a right-to-left mark to the song information label for RTL
	display.  From #508573.


Modified:
   trunk/ChangeLog
   trunk/widgets/rb-header.c

Modified: trunk/widgets/rb-header.c
==============================================================================
--- trunk/widgets/rb-header.c	(original)
+++ trunk/widgets/rb-header.c	Sun Jan 13 01:44:55 2008
@@ -400,6 +400,11 @@
 
 		label_str = g_string_sized_new (100);
 
+		/* stick a right-to-left mark in the string for RTL display */
+		if (gtk_widget_get_direction (GTK_WIDGET (header->priv->song)) == GTK_TEXT_DIR_RTL) {
+			g_string_append (label_str, "\xE2\x80\x8F");
+		}
+
 		append_and_free (label_str, TITLE_MARKUP (title));
 
 		if (artist != NULL && artist[0] != '\0')



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