2008-01-13 Djihed Afifi <djihed@gmail.com>
* shell/ev-window.c: (ev_window_get_recent_file_label):
RTL marker in recent file list. See bug #509076.
svn path=/trunk/; revision=2818
+2008-01-13 Djihed Afifi <djihed@gmail.com>
+
+ * shell/ev-window.c: (ev_window_get_recent_file_label):
+
+ RTL marker in recent file list. See bug #509076.
+
2008-01-13 Carlos Garcia Campos <carlosgc@gnome.org>
* backend/djvu/djvu-text-page.c: (djvu_text_page_limits):
gint length;
const gchar *p;
const gchar *end;
-
+ gboolean is_rtl;
+
+ is_rtl = (gtk_widget_get_default_direction () == GTK_TEXT_DIR_RTL);
+
g_return_val_if_fail (filename != NULL, NULL);
length = strlen (filename);
str = g_string_sized_new (length + 10);
- g_string_printf (str, "_%d. ", index);
+ g_string_printf (str, "%s_%d. ", is_rtl ? "\xE2\x80\x8F" : "", index);
p = filename;
end = filename + length;