/pidgin/main: 4f8d94fe3913: Fix status box icon positioning.

David Michael fedora.dm0 at gmail.com
Wed Aug 1 02:29:07 EDT 2012


Changeset: 4f8d94fe3913ffb86583794bdfb8c0f7fad1d5b2
Author:	 David Michael <fedora.dm0 at gmail.com>
Date:	 2012-07-30 00:12 -0400
Branch:	 release-2.x.y
URL: http://hg.pidgin.im/pidgin/main/rev/4f8d94fe3913

Description:

Fix status box icon positioning.

Fixes #15046.

Committer: Elliott Sales de Andrade <qulogic at pidgin.im>

diffstat:

 COPYRIGHT             |  1 +
 pidgin/gtkstatusbox.c |  2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)

diffs (23 lines):

diff --git a/COPYRIGHT b/COPYRIGHT
--- a/COPYRIGHT
+++ b/COPYRIGHT
@@ -340,6 +340,7 @@ Greg McNew
 Robert McQueen
 Mihály Mészáros
 Robert Mibus
+David Michael
 Lars T. Mikkelsen
 Benjamin Miller
 Kevin Miller
diff --git a/pidgin/gtkstatusbox.c b/pidgin/gtkstatusbox.c
--- a/pidgin/gtkstatusbox.c
+++ b/pidgin/gtkstatusbox.c
@@ -2020,7 +2020,7 @@ pidgin_status_box_size_allocate(GtkWidge
 		icon_alc = parent_alc;
 		icon_alc.height = MAX(1, icon_alc.height) - 2;
 		icon_alc.width = icon_alc.height;
-		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)



More information about the Commits mailing list