[Xfce4-commits] [xfce/xfdesktop] 01/02: windowlist: Consider RTL languages
noreply at xfce.org
noreply at xfce.org
Sat Mar 7 18:40:07 CET 2015
This is an automated email from the git hooks/post-receive script.
eric pushed a commit to branch master
in repository xfce/xfdesktop.
commit d53058d36fb292223b5dd3aae39c89db9465b6b3
Author: Thaddaeus Tintenfisch <thad.fisch at gmail.com>
Date: Sat Mar 7 20:32:26 2015 +0300
windowlist: Consider RTL languages
---
src/windowlist.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/windowlist.c b/src/windowlist.c
index 2b6d766..7161512 100644
--- a/src/windowlist.c
+++ b/src/windowlist.c
@@ -170,6 +170,12 @@ menu_item_from_wnck_window(WnckWindow *wnck_window, gint icon_width,
g_string_append(label, "</i></b>");
}
+ /* add some padding to the right */
+ if(gtk_widget_get_default_direction() == GTK_TEXT_DIR_RTL)
+ g_string_prepend(label, " ");
+ else
+ g_string_append(label, " ");
+
if(wl_show_icons) {
icon = wnck_window_get_mini_icon(wnck_window);
w = gdk_pixbuf_get_width(icon);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list