only start editing when you select with a keyboard.
Thu Sep 27 16:46:36 2001 Jonathan Blandford <jrb@redhat.com> * gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row): only start editing when you select with a keyboard. (gtk_tree_view_button_press_event): much more graceful now. * gtk/gtkstyle.c: Draw togglebutton better.
This commit is contained in:
committed by
Jonathan Blandford
parent
8e11bf3981
commit
c1745a4bd2
@ -672,7 +672,7 @@ gtk_tree_selection_select_all (GtkTreeSelection *selection)
|
||||
g_return_if_fail (selection->tree_view != NULL);
|
||||
if (selection->tree_view->priv->tree == NULL)
|
||||
return;
|
||||
g_return_if_fail (selection->type != GTK_SELECTION_MULTIPLE);
|
||||
g_return_if_fail (selection->type == GTK_SELECTION_MULTIPLE);
|
||||
|
||||
if (gtk_tree_selection_real_select_all (selection))
|
||||
g_signal_emit (G_OBJECT (selection), tree_selection_signals[CHANGED], 0);
|
||||
|
||||
Reference in New Issue
Block a user