mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 19:00:08 +00:00
don't know why this didn't commit
This commit is contained in:
parent
a64babbb9c
commit
0cc916c5d7
@ -1272,7 +1272,10 @@ gtk_cell_renderer_text_render (GtkCellRenderer *cell,
|
||||
}
|
||||
else
|
||||
{
|
||||
state = GTK_STATE_NORMAL;
|
||||
if (GTK_WIDGET_STATE (widget) == GTK_STATE_INSENSITIVE)
|
||||
state = GTK_STATE_INSENSITIVE;
|
||||
else
|
||||
state = GTK_STATE_NORMAL;
|
||||
}
|
||||
|
||||
if (celltext->background_set && state != GTK_STATE_SELECTED)
|
||||
|
@ -695,7 +695,9 @@ gtk_tree_view_column_update_button (GtkTreeViewColumn *tree_column)
|
||||
{
|
||||
GtkWidget *toplevel = gtk_widget_get_toplevel (tree_column->tree_view);
|
||||
if (GTK_WIDGET_TOPLEVEL (toplevel))
|
||||
gtk_window_set_focus (GTK_WINDOW (toplevel), NULL);
|
||||
{
|
||||
gtk_window_set_focus (GTK_WINDOW (toplevel), NULL);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -93,6 +93,7 @@ main (int argc, char *argv[])
|
||||
ssmodel = gtk_tree_model_sort_new_with_model (GTK_TREE_MODEL (smodel));
|
||||
*/
|
||||
tree_view = gtk_tree_view_new_with_model (GTK_TREE_MODEL (model));
|
||||
|
||||
/* 12 iters now, 12 later... */
|
||||
for (i = 0; data[i].word_1 != NULL; i++)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user