mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
Fix the position of the popup window when in RTL mode. (#127578)
Sat Dec 6 01:13:09 2003 Matthias Clasen <maclas@gmx.de> * gtk/gtkcombo.c (gtk_combo_get_pos): Fix the position of the popup window when in RTL mode. (#127578)
This commit is contained in:
parent
532062df96
commit
5795c83cb3
@ -1,3 +1,8 @@
|
||||
Sat Dec 6 01:13:09 2003 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkcombo.c (gtk_combo_get_pos): Fix the position of the
|
||||
popup window when in RTL mode. (#127578)
|
||||
|
||||
Fri Dec 5 15:30:16 2003 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* gtk/gtkaccelgroup.c (quick_accel_find): Applied patch from
|
||||
|
@ -1,3 +1,8 @@
|
||||
Sat Dec 6 01:13:09 2003 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkcombo.c (gtk_combo_get_pos): Fix the position of the
|
||||
popup window when in RTL mode. (#127578)
|
||||
|
||||
Fri Dec 5 15:30:16 2003 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* gtk/gtkaccelgroup.c (quick_accel_find): Applied patch from
|
||||
|
@ -1,3 +1,8 @@
|
||||
Sat Dec 6 01:13:09 2003 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkcombo.c (gtk_combo_get_pos): Fix the position of the
|
||||
popup window when in RTL mode. (#127578)
|
||||
|
||||
Fri Dec 5 15:30:16 2003 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* gtk/gtkaccelgroup.c (quick_accel_find): Applied patch from
|
||||
|
@ -1,3 +1,8 @@
|
||||
Sat Dec 6 01:13:09 2003 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkcombo.c (gtk_combo_get_pos): Fix the position of the
|
||||
popup window when in RTL mode. (#127578)
|
||||
|
||||
Fri Dec 5 15:30:16 2003 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* gtk/gtkaccelgroup.c (quick_accel_find): Applied patch from
|
||||
|
@ -1,3 +1,8 @@
|
||||
Sat Dec 6 01:13:09 2003 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkcombo.c (gtk_combo_get_pos): Fix the position of the
|
||||
popup window when in RTL mode. (#127578)
|
||||
|
||||
Fri Dec 5 15:30:16 2003 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* gtk/gtkaccelgroup.c (quick_accel_find): Applied patch from
|
||||
|
@ -444,6 +444,8 @@ gtk_combo_get_pos (GtkCombo * combo, gint * x, gint * y, gint * height, gint * w
|
||||
scrollbar_spacing = _gtk_scrolled_window_get_scrollbar_spacing (popup);
|
||||
|
||||
gdk_window_get_origin (combo->entry->window, x, y);
|
||||
if (gtk_widget_get_direction (widget) == GTK_TEXT_DIR_RTL)
|
||||
*x -= widget->allocation.width - combo->entry->allocation.width;
|
||||
real_height = MIN (combo->entry->requisition.height,
|
||||
combo->entry->allocation.height);
|
||||
*y += real_height;
|
||||
|
Loading…
Reference in New Issue
Block a user