forked from AuroraMiddleware/gtk
Fix an RTL problem with toggles in expander columns. (#341896, Roozbeh
2006-05-15 Matthias Clasen <mclasen@redhat.com> * gtk/gtktreeview.c (gtk_tree_view_button_press): Fix an RTL problem with toggles in expander columns. (#341896, Roozbeh Pournader)
This commit is contained in:
parent
6cb19cf3ad
commit
48f4f383f3
@ -1,3 +1,9 @@
|
||||
2006-05-15 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_button_press): Fix
|
||||
an RTL problem with toggles in expander columns.
|
||||
(#341896, Roozbeh Pournader)
|
||||
|
||||
Mon May 15 15:12:05 2006 Søren Sandmann <sandmann@redhat.com>
|
||||
|
||||
* gtk/gtklayout.c (gtk_layout_realize),
|
||||
|
@ -1,3 +1,9 @@
|
||||
2006-05-15 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_button_press): Fix
|
||||
an RTL problem with toggles in expander columns.
|
||||
(#341896, Roozbeh Pournader)
|
||||
|
||||
Mon May 15 15:12:05 2006 Søren Sandmann <sandmann@redhat.com>
|
||||
|
||||
* gtk/gtklayout.c (gtk_layout_realize),
|
||||
|
@ -2340,9 +2340,10 @@ gtk_tree_view_button_press (GtkWidget *widget,
|
||||
cell_area.x += (depth - 1) * tree_view->priv->level_indentation;
|
||||
cell_area.width -= (depth - 1) * tree_view->priv->level_indentation;
|
||||
|
||||
if (TREE_VIEW_DRAW_EXPANDERS(tree_view))
|
||||
if (TREE_VIEW_DRAW_EXPANDERS (tree_view))
|
||||
{
|
||||
cell_area.x += depth * tree_view->priv->expander_size;
|
||||
if (!rtl)
|
||||
cell_area.x += depth * tree_view->priv->expander_size;
|
||||
cell_area.width -= depth * tree_view->priv->expander_size;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user