summaryrefslogtreecommitdiff
path: root/ChangeLog.pre-2-4
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@ximian.com>2004-03-05 20:47:05 +0000
committerFederico Mena Quintero <federico@src.gnome.org>2004-03-05 20:47:05 +0000
commit385bd6a54e2c0b6b2ca69c8f66d5657a48f78b47 (patch)
tree273f971089b0240539873b82ef6d645aafba15c1 /ChangeLog.pre-2-4
parentc43e4377481bb7f04745438fa8217943c2e2ea3b (diff)
downloadgdk-pixbuf-385bd6a54e2c0b6b2ca69c8f66d5657a48f78b47.tar.gz
Add gboolean return values and GError arguments to ::set_current_folder()
2004-03-05 Federico Mena Quintero <federico@ximian.com> * gtk/gtkfilechooserprivate.h (struct _GtkFileChooserIface): Add gboolean return values and GError arguments to ::set_current_folder() and ::select_path(). * gtk/gtkfilechooser.c (gtk_file_chooser_set_current_folder): Return a boolean value for success/failure. (gtk_file_chooser_set_current_folder_uri): Likewise. (gtk_file_chooser_select_filename): Likewise. (gtk_file_chooser_select_uri): Likewise. (gtk_file_chooser_set_filename): Likewise. (gtk_file_chooser_set_uri): Likewise. (_gtk_file_chooser_set_current_folder_path): Likewise, plus take in a GError. (_gtk_file_chooser_select_path): Likewise. * gtk/gtkfilechooserutils.c (delegate_set_current_folder): Likewise. (delegate_select_path): Likewise. * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_select_path): Likewise. (gtk_file_chooser_default_set_current_folder): Likewise. (error_changing_folder_dialog): New helper function. (change_folder_and_display_error): New helper function. (switch_to_selected_folder): Use change_folder_and_display_error(). (tree_selection_changed): Likewise. (shortcuts_activate_volume): Likewise. (shortcuts_activate_item): Likewise. (list_row_activated): Likewise. (path_bar_clicked): Likewise. (update_from_entry): Likewise. (up_folder_handler): Likewise. (home_folder_handler): Get the home path from the shortcuts model, and use change_folder_and_display_error(). * tests/testfilechooser.c (set_current_folder): New helper function; pops up a simple error dialog if necessary. (set_filename): Likewise. (set_folder_nonexistent_cb): Use set_current_folder(). (set_folder_existing_nonexistent_cb): Likewise. (set_filename_nonexistent_cb): Use set_filename(). (set_filename_existing_nonexistent_cb): Likewise.
Diffstat (limited to 'ChangeLog.pre-2-4')
-rw-r--r--ChangeLog.pre-2-445
1 files changed, 45 insertions, 0 deletions
diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4
index b3f519fb1..b79cdb36a 100644
--- a/ChangeLog.pre-2-4
+++ b/ChangeLog.pre-2-4
@@ -1,3 +1,48 @@
+2004-03-05 Federico Mena Quintero <federico@ximian.com>
+
+ * gtk/gtkfilechooserprivate.h (struct _GtkFileChooserIface): Add
+ gboolean return values and GError arguments to
+ ::set_current_folder() and ::select_path().
+
+ * gtk/gtkfilechooser.c (gtk_file_chooser_set_current_folder):
+ Return a boolean value for success/failure.
+ (gtk_file_chooser_set_current_folder_uri): Likewise.
+ (gtk_file_chooser_select_filename): Likewise.
+ (gtk_file_chooser_select_uri): Likewise.
+ (gtk_file_chooser_set_filename): Likewise.
+ (gtk_file_chooser_set_uri): Likewise.
+ (_gtk_file_chooser_set_current_folder_path): Likewise, plus take
+ in a GError.
+ (_gtk_file_chooser_select_path): Likewise.
+
+ * gtk/gtkfilechooserutils.c (delegate_set_current_folder):
+ Likewise.
+ (delegate_select_path): Likewise.
+
+ * gtk/gtkfilechooserdefault.c
+ (gtk_file_chooser_default_select_path): Likewise.
+ (gtk_file_chooser_default_set_current_folder): Likewise.
+ (error_changing_folder_dialog): New helper function.
+ (change_folder_and_display_error): New helper function.
+ (switch_to_selected_folder): Use change_folder_and_display_error().
+ (tree_selection_changed): Likewise.
+ (shortcuts_activate_volume): Likewise.
+ (shortcuts_activate_item): Likewise.
+ (list_row_activated): Likewise.
+ (path_bar_clicked): Likewise.
+ (update_from_entry): Likewise.
+ (up_folder_handler): Likewise.
+ (home_folder_handler): Get the home path from the shortcuts model,
+ and use change_folder_and_display_error().
+
+ * tests/testfilechooser.c (set_current_folder): New helper
+ function; pops up a simple error dialog if necessary.
+ (set_filename): Likewise.
+ (set_folder_nonexistent_cb): Use set_current_folder().
+ (set_folder_existing_nonexistent_cb): Likewise.
+ (set_filename_nonexistent_cb): Use set_filename().
+ (set_filename_existing_nonexistent_cb): Likewise.
+
Fri Mar 5 11:17:35 2004 Owen Taylor <otaylor@redhat.com>
* gtk/gtktreemodel.c (gtk_tree_row_reference_new_proxy):