diff options
author | Jonathan Blandford <jrb@redhat.com> | 2001-09-27 20:49:34 +0000 |
---|---|---|
committer | Jonathan Blandford <jrb@src.gnome.org> | 2001-09-27 20:49:34 +0000 |
commit | c1745a4bd205e0926c61ddd3da3a40a90ef4bcfb (patch) | |
tree | 6909c8e3c94d05b8dd05f27127e4d0a8babc576a /gtk/gtkcellrenderertoggle.c | |
parent | 8e11bf39818b060396f4e681e012300bb77c52d8 (diff) | |
download | gtk+-c1745a4bd205e0926c61ddd3da3a40a90ef4bcfb.tar.gz |
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.
Diffstat (limited to 'gtk/gtkcellrenderertoggle.c')
-rw-r--r-- | gtk/gtkcellrenderertoggle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkcellrenderertoggle.c b/gtk/gtkcellrenderertoggle.c index 845266f6e7..05132c625e 100644 --- a/gtk/gtkcellrenderertoggle.c +++ b/gtk/gtkcellrenderertoggle.c @@ -303,7 +303,7 @@ gtk_cell_renderer_toggle_render (GtkCellRenderer *cell, else state = GTK_STATE_ACTIVE; } - else if (celltoggle->activatable) + if (celltoggle->activatable) { state = GTK_STATE_NORMAL; } |