From fbc6a557a6d394fb9749cac6e739b6de63752b74 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Sun, 2 Jul 2000 04:46:36 +0000 Subject: Added an extra @allowed_types parameter to the shell's folder selection dialog, and update the code that uses it accordingly. svn path=/trunk/; revision=3854 --- shell/e-shell-folder-selection-dialog.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'shell/e-shell-folder-selection-dialog.h') diff --git a/shell/e-shell-folder-selection-dialog.h b/shell/e-shell-folder-selection-dialog.h index 29d96e4c61..2ddb98bafe 100644 --- a/shell/e-shell-folder-selection-dialog.h +++ b/shell/e-shell-folder-selection-dialog.h @@ -52,6 +52,10 @@ struct _EShellFolderSelectionDialog { struct _EShellFolderSelectionDialogClass { GnomeDialogClass parent_class; + + void (* folder_selected) (EShellFolderSelectionDialog *folder_selection_dialog, + const char *path); + void (* cancelled) (EShellFolderSelectionDialog *folder_selection_dialog); }; @@ -59,10 +63,12 @@ GtkType e_shell_folder_selection_dialog_get_type (void); void e_shell_folder_selection_dialog_construct (EShellFolderSelectionDialog *folder_selection_dialog, EShell *shell, const char *title, - const char *default_path); + const char *default_path, + const char *allowed_types[]); GtkWidget *e_shell_folder_selection_dialog_new (EShell *shell, const char *title, - const char *default_path); + const char *default_path, + const char *allowed_types[]); const char *e_shell_folder_selection_dialog_get_selected_path (EShellFolderSelectionDialog *folder_selection_dialog); -- cgit v1.2.3