diff options
author | John Sullivan <sullivan@src.gnome.org> | 2001-02-05 19:43:45 +0000 |
---|---|---|
committer | John Sullivan <sullivan@src.gnome.org> | 2001-02-05 19:43:45 +0000 |
commit | 466fc2dcd1705678a69248f775db11490385d22c (patch) | |
tree | de80b61d8c0db740378a2530ea184763354253c3 | |
parent | 56ac56ac11a4a00debd911e051f064bda9f49ff5 (diff) | |
download | nautilus-466fc2dcd1705678a69248f775db11490385d22c.tar.gz |
Fixed bug 6321 (Apparently arbitrary item initially selected
in "Open with Other" dialog)
* libnautilus-extensions/nautilus-program-chooser.c:
(repopulate_program_list): Select first item in list after sorting.
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | libnautilus-extensions/nautilus-program-chooser.c | 3 | ||||
-rw-r--r-- | libnautilus-private/nautilus-program-chooser.c | 3 |
3 files changed, 14 insertions, 0 deletions
@@ -1,3 +1,11 @@ +2001-02-05 John Sullivan <sullivan@eazel.com> + + Fixed bug 6321 (Apparently arbitrary item initially selected + in "Open with Other" dialog) + + * libnautilus-extensions/nautilus-program-chooser.c: + (repopulate_program_list): Select first item in list after sorting. + 2001-02-04 Ian McKellar,,, <ian@eazel.com> reviewed by: Maciej Stachowiak <mjs@eazel.com> diff --git a/libnautilus-extensions/nautilus-program-chooser.c b/libnautilus-extensions/nautilus-program-chooser.c index 7bf1943d6..e69e96ee4 100644 --- a/libnautilus-extensions/nautilus-program-chooser.c +++ b/libnautilus-extensions/nautilus-program-chooser.c @@ -358,6 +358,9 @@ repopulate_program_list (GnomeDialog *program_chooser, } gtk_clist_sort (clist); + + /* Start with first item selected, rather than some arbitrary item */ + gtk_clist_select_row (clist, 0, 0); } static NautilusFile * diff --git a/libnautilus-private/nautilus-program-chooser.c b/libnautilus-private/nautilus-program-chooser.c index 7bf1943d6..e69e96ee4 100644 --- a/libnautilus-private/nautilus-program-chooser.c +++ b/libnautilus-private/nautilus-program-chooser.c @@ -358,6 +358,9 @@ repopulate_program_list (GnomeDialog *program_chooser, } gtk_clist_sort (clist); + + /* Start with first item selected, rather than some arbitrary item */ + gtk_clist_select_row (clist, 0, 0); } static NautilusFile * |