diff options
author | Matthias Clasen <mclasen@redhat.com> | 2004-09-14 19:37:48 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2004-09-14 19:37:48 +0000 |
commit | 03a6952c48c7b4679d1874532cbcffaf15fe2ef2 (patch) | |
tree | 84514b48d847871785d78ecb3d878e64cb8258aa /tests/testfilechooser.c | |
parent | 01743e7235b1840bb2ce04ba35afbd766b10c122 (diff) | |
download | gdk-pixbuf-03a6952c48c7b4679d1874532cbcffaf15fe2ef2.tar.gz |
Set the cursor to the first selected row instead of always to the first
2004-09-14 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreeview.c (gtk_tree_view_focus_to_cursor): Set the cursor
to the first selected row instead of always to the first row if there
is no cursor. (#143270, Jean Bréfort)
* tests/testfilechooser.c (main): Fix a few typos.
Diffstat (limited to 'tests/testfilechooser.c')
-rw-r--r-- | tests/testfilechooser.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/testfilechooser.c b/tests/testfilechooser.c index 30b1ced26..b6df9aced 100644 --- a/tests/testfilechooser.c +++ b/tests/testfilechooser.c @@ -535,17 +535,17 @@ main (int argc, char **argv) g_signal_connect (button, "clicked", G_CALLBACK (set_folder_nonexistent_cb), dialog); - button = gtk_button_new_with_label ("set_current_folder (\"/usr/nonexistent\""); + button = gtk_button_new_with_label ("set_current_folder (\"/usr/nonexistent\")"); gtk_container_add (GTK_CONTAINER (vbbox), button); g_signal_connect (button, "clicked", G_CALLBACK (set_folder_existing_nonexistent_cb), dialog); - button = gtk_button_new_with_label ("set_filename (\"/nonexistent\""); + button = gtk_button_new_with_label ("set_filename (\"/nonexistent\")"); gtk_container_add (GTK_CONTAINER (vbbox), button); g_signal_connect (button, "clicked", G_CALLBACK (set_filename_nonexistent_cb), dialog); - button = gtk_button_new_with_label ("set_filename (\"/usr/nonexistent\""); + button = gtk_button_new_with_label ("set_filename (\"/usr/nonexistent\")"); gtk_container_add (GTK_CONTAINER (vbbox), button); g_signal_connect (button, "clicked", G_CALLBACK (set_filename_existing_nonexistent_cb), dialog); |