]> Pileus Git - ~andy/gtk/commit
First part of file chooser fixes.
authorKristian Rietveld <kris@imendio.com>
Sat, 2 Sep 2006 14:26:12 +0000 (14:26 +0000)
committerKristian Rietveld <kristian@src.gnome.org>
Sat, 2 Sep 2006 14:26:12 +0000 (14:26 +0000)
commit254b684e4c13ede7ac826d2c648aa445636bc6f1
tree1c9c8016bbb3048e8acced634a3bddbef4597ea6
parentbc889f6c10fe17f03b533c12795e47abe2aa6e33
First part of file chooser fixes.

2006-09-02  Kristian Rietveld  <kris@imendio.com>

First part of file chooser fixes.

* gtk/gtkfilechooserbutton.c (model_add_special): also set the
handle in the model for the desktopdir case.

* gtk/gtkfilechooserdefault.c (shortcuts_add_current_folder): free
volume in case we retrieved it but don't pass it on to insert_path,
(shortcuts_model_create): change the column type for the handles
to pointer instead of GObject so our handle ref counting is not
disturbed,
(show_and_select_paths_finished_loading): don't forget to unref
the dialog.

* gtk/gtkfilesystemunix.c (gtk_file_system_unix_class_init),
(gtk_file_system_unix_init), (gtk_file_system_unix_dispose):
remove pending execute_callbacks_idle during dispose, also
execute all callbacks waiting to be run in the next idle,
(queue_*callback), (execute_callbacks_idle): refactor to maintain
a list of callbacks to call per file system instead of globally,
guard the file system during callback invocation,
(gtk_file_system_unix_get_folder): only add load folder idle if
none has been added yet.
ChangeLog
gtk/gtkfilechooserbutton.c
gtk/gtkfilechooserdefault.c
gtk/gtkfilesystemunix.c