]> Pileus Git - ~andy/gtk/commit
Fix #136077.
authorFederico Mena Quintero <federico@ximian.com>
Fri, 2 Apr 2004 00:35:07 +0000 (00:35 +0000)
committerFederico Mena Quintero <federico@src.gnome.org>
Fri, 2 Apr 2004 00:35:07 +0000 (00:35 +0000)
commit8e661364c6019e986f88dfbb7edb84b7deaf6f1c
treee9aac7791f5253cd7c96c7e07d8b2297836e7e61
parent3d76be337dcec986c8624f863d322e9eb46e12fd
Fix #136077.

2004-04-01  Federico Mena Quintero  <federico@ximian.com>

Fix #136077.

* gtk/gtkpathbar.h (struct _GtkPathBarClass): Add a
"child_is_hidden" boolean argument to the "path-clicked" signal.

* gtk/gtkpathbar.c (struct _ButtonData): Added a file_is_hidden
field.
(make_directory_button): Take a file_is_hidden argument; put it in
the ButtonData.
(_gtk_path_bar_set_path): See whether each path component path is
a hidden file.
(gtk_path_bar_class_init): Add the file_is_hidden argument to the
"path-clicked" signal.
(button_clicked_cb): See if the downwards button represents a
hidden file for the file_is_hidden argument in the signal
emission.

* gtk/gtkmarshalers.list: Added a signal type VOID:POINTER,BOOLEAN.

* gtk/gtkfilechooserdefault.c
(gtk_file_chooser_default_select_path): If we fail to switch
folders, don't try to select the path in the file system model.
Also, return the result from _gtk_file_system_model_path_do().
(gtk_file_chooser_default_select_path): Turn on show_hidden in the
file system model if we are asked to select a hidden file.
(path_bar_clicked): Show hidden files based on whether the
immediate downwards folder in the path bar is a hidden file
itself.
(struct _GtkFileChooserDefault): Added fields
browse_files_popup_menu and browse_files_popup_menu_hidden_files_item.
(create_file_list): Set an object data key of
"GtkFileChooserDefault" on the tree view so that we can find the
impl from the popup menu callbacks.  Also, hook up to the
"button-press-event" and "popup-menu" signals in the file list to
bring up a popup menu.
(list_popup_menu_cb): New callback.
(list_button_press_event_cb): New callback.

Fix #138763:

* gtk/gtkfilesystemmodel.c
(_gtk_file_system_model_new): Oops, connect_object to
"finished-loading".
ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkfilechooserdefault.c
gtk/gtkfilesystemmodel.c
gtk/gtkmarshalers.list
gtk/gtkpathbar.c
gtk/gtkpathbar.h