mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-09-20 14:00:10 +00:00
Set background upon state changes. (#301651, Billy Biggs)
2005-04-29 Matthias Clasen <mclasen@redhat.com> * gtk/gtktreeview.c (gtk_tree_view_state_changed): Set background upon state changes. (#301651, Billy Biggs) (gtk_tree_view_get_path_at_pos): Take RTL into account when iterating over the columns. (#302163)
This commit is contained in:
parent
2464763a22
commit
6d0627cb0d
@ -2,6 +2,8 @@
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_state_changed): Set
|
||||
background upon state changes. (#301651, Billy Biggs)
|
||||
(gtk_tree_view_get_path_at_pos): Take RTL into account
|
||||
when iterating over the columns. (#302163)
|
||||
|
||||
* configure.in: Check for nm.
|
||||
|
||||
|
@ -2,6 +2,8 @@
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_state_changed): Set
|
||||
background upon state changes. (#301651, Billy Biggs)
|
||||
(gtk_tree_view_get_path_at_pos): Take RTL into account
|
||||
when iterating over the columns. (#302163)
|
||||
|
||||
* configure.in: Check for nm.
|
||||
|
||||
|
@ -2,6 +2,8 @@
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_state_changed): Set
|
||||
background upon state changes. (#301651, Billy Biggs)
|
||||
(gtk_tree_view_get_path_at_pos): Take RTL into account
|
||||
when iterating over the columns. (#302163)
|
||||
|
||||
* configure.in: Check for nm.
|
||||
|
||||
|
@ -11318,8 +11318,12 @@ gtk_tree_view_get_path_at_pos (GtkTreeView *tree_view,
|
||||
GList *list;
|
||||
gint remaining_x = x;
|
||||
gboolean found = FALSE;
|
||||
gboolean rtl;
|
||||
|
||||
for (list = tree_view->priv->columns; list; list = list->next)
|
||||
rtl = (gtk_widget_get_direction (GTK_WIDGET (tree_view)) == GTK_TEXT_DIR_RTL);
|
||||
for (list = (rtl ? g_list_last (tree_view->priv->columns) : g_list_first (tree_view->priv->columns));
|
||||
list;
|
||||
list = (rtl ? list->prev : list->next))
|
||||
{
|
||||
tmp_column = list->data;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user