Commit 0cc916c5 authored by Jonathan Blandford's avatar Jonathan Blandford

don't know why this didn't commit

parent a64babbb
......@@ -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++)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment