don't know why this didn't commit

This commit is contained in:
Jonathan Blandford 2001-10-31 22:57:51 +00:00
parent a64babbb9c
commit 0cc916c5d7
3 changed files with 8 additions and 2 deletions

View File

@ -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)

View File

@ -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);
}
}
}

View File

@ -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++)
{