gimp r25995 - in trunk: . app/tools
- From: mitch svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r25995 - in trunk: . app/tools
- Date: Fri, 27 Jun 2008 20:26:57 +0000 (UTC)
Author: mitch
Date: Fri Jun 27 20:26:57 2008
New Revision: 25995
URL: http://svn.gnome.org/viewvc/gimp?rev=25995&view=rev
Log:
2008-06-27 Michael Natterer <mitch gimp org>
* app/tools/gimppaintoptions-gui.c (gimp_paint_options_gui): swap
the angles of the dynamics matrix' labels in RTL and LTR mode so
the beginning of the words are aligned and on bottom.
Modified:
trunk/ChangeLog
trunk/app/tools/gimppaintoptions-gui.c
Modified: trunk/app/tools/gimppaintoptions-gui.c
==============================================================================
--- trunk/app/tools/gimppaintoptions-gui.c (original)
+++ trunk/app/tools/gimppaintoptions-gui.c Fri Jun 27 20:26:57 2008
@@ -235,7 +235,7 @@
for (i = 0; i < n_dynamics; i++)
{
gtk_label_set_angle (GTK_LABEL (dynamics_labels[i]),
- rtl ? 45 : 315);
+ rtl ? 315 : 45);
gtk_misc_set_alignment (GTK_MISC (dynamics_labels[i]), 1.0, 1.0);
gtk_fixed_put (GTK_FIXED (fixed), dynamics_labels[i], 0, 0);
gtk_widget_show (dynamics_labels[i]);
@@ -373,9 +373,9 @@
gint x, y;
if (gtk_widget_get_direction (label) == GTK_TEXT_DIR_LTR)
- x = allocation->x + allocation->width - label->allocation.width;
- else
x = allocation->x;
+ else
+ x = allocation->x + allocation->width - label->allocation.width;
x -= fixed->allocation.x;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]