]> Pileus Git - ~andy/gtk/commit
Connect to "row_activated" on the file list. (list_row_activated): New
authorFederico Mena Quintero <federico@ximian.com>
Thu, 11 Sep 2003 00:33:28 +0000 (00:33 +0000)
committerFederico Mena Quintero <federico@src.gnome.org>
Thu, 11 Sep 2003 00:33:28 +0000 (00:33 +0000)
commitaa22566e6c98745e38b777b2c099bdc799857f59
treef8b1a77adfa66d7e0e471c6c705a05ea5f739fa2
parente23ed607821328952000268ff8227cf36cddefc9
Connect to "row_activated" on the file list. (list_row_activated): New

2003-09-10  Federico Mena Quintero  <federico@ximian.com>

* gtkfilechooserimpldefault.c (create_file_list): Connect to
"row_activated" on the file list.
(list_row_activated): New function.  Changes to folders or emits
the "file-activated" signal depending on what type of row was
activated.
(create_folder_tree): Renamed from create_directory_tree(), since
"folder" is the new politically-correct name.

* gtkfilechooserprivate.h (struct _GtkFileChooserIface): Added a
file-activated signal.

* gtkfilechooser.c (gtk_file_chooser_class_init): Register the
signal.

* gtkfilechooserutils.c (_gtk_file_chooser_set_delegate): Connect
to "file-activated" on the delegate.
(delegate_file_activated): New function.

* TODO: Added an API item about Clipart-like folders provided by
applications.
gtk/gtkfilechooser.c
gtk/gtkfilechooserdefault.c
gtk/gtkfilechooserprivate.h
gtk/gtkfilechooserutils.c