Mercurial > pidgin
changeset 27140:e4421eaae7dd
Leave the icon always on the right (regardless of language direction).
It looks like the buddy list icons don't move, so why should this?
References #8691.
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Mon, 22 Jun 2009 03:41:21 +0000 |
parents | 4892e488916a |
children | f55455c7ae27 |
files | pidgin/gtkstatusbox.c |
diffstat | 1 files changed, 1 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/pidgin/gtkstatusbox.c Mon Jun 22 02:53:47 2009 +0000 +++ b/pidgin/gtkstatusbox.c Mon Jun 22 03:41:21 2009 +0000 @@ -2045,17 +2045,11 @@ if (status_box->icon_box) { - GtkTextDirection dir = gtk_widget_get_direction(widget); parent_alc.width -= (parent_alc.height + border_width); icon_alc = parent_alc; icon_alc.height = MAX(1, icon_alc.height) - 2; icon_alc.width = icon_alc.height; - if (dir == GTK_TEXT_DIR_RTL) { - icon_alc.x = parent_alc.x; - parent_alc.x += icon_alc.width + border_width; - } else { - icon_alc.x = allocation->width - (icon_alc.width + border_width + 1); - } + icon_alc.x = allocation->width - (icon_alc.width + border_width + 1); icon_alc.y += 1; if (status_box->icon_size != icon_alc.height)