diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2002-11-05 02:32:55 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2002-11-05 02:32:55 +0800 |
commit | 735297df13cb2ef3279b7c3aed870f5c05f7e550 (patch) | |
tree | 191fae8b5432684e474a4216700688b50352d6ef /shell/e-shell-folder-selection-dialog.h | |
parent | f4780a969c214e9a5a2c9062ed4b7f57c09174f9 (diff) | |
download | gsoc2013-evolution-735297df13cb2ef3279b7c3aed870f5c05f7e550.tar.gz gsoc2013-evolution-735297df13cb2ef3279b7c3aed870f5c05f7e550.tar.zst gsoc2013-evolution-735297df13cb2ef3279b7c3aed870f5c05f7e550.zip |
Pass TRUE for arg allow_creation to e_shell_folder_selection_dialog_new().
* e-shell-folder-commands.c (e_shell_command_copy_folder): Pass
TRUE for arg allow_creation to
e_shell_folder_selection_dialog_new().
(e_shell_command_move_folder): Likewise.
* e-shell-view-menu.c (command_goto_folder): Likewise.
(command_new_shortcut): Likewise.
* e-shell.c (impl_Shell_selectUserFolder): Likewise.
* e-shell-folder-selection-dialog.c
(e_shell_folder_selection_dialog_set_allow_creation): Removed.
(e_shell_folder_selection_dialog_get_allow_creation): Removed.
(e_shell_folder_selection_dialog_new): New arg allow_creation.
(e_shell_folder_selection_dialog_construct): Likewise. Also, do
set priv->shell.
* e-shell-folder-selection-dialog.h,
e-shell-folder-selection-dialog.c: Port to GtkDialog.
svn path=/trunk/; revision=18533
Diffstat (limited to 'shell/e-shell-folder-selection-dialog.h')
-rw-r--r-- | shell/e-shell-folder-selection-dialog.h | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/shell/e-shell-folder-selection-dialog.h b/shell/e-shell-folder-selection-dialog.h index 30575d12cd..05b1e46281 100644 --- a/shell/e-shell-folder-selection-dialog.h +++ b/shell/e-shell-folder-selection-dialog.h @@ -23,7 +23,7 @@ #ifndef E_SHELL_FOLDER_SELECTION_DIALOG_H #define E_SHELL_FOLDER_SELECTION_DIALOG_H -#include <libgnomeui/gnome-dialog.h> +#include <gtk/gtkdialog.h> #include "e-shell.h" @@ -44,13 +44,13 @@ typedef struct _EShellFolderSelectionDialogPrivate EShellFolderSelectionDialogPr typedef struct _EShellFolderSelectionDialogClass EShellFolderSelectionDialogClass; struct _EShellFolderSelectionDialog { - GnomeDialog parent; + GtkDialog parent; EShellFolderSelectionDialogPrivate *priv; }; struct _EShellFolderSelectionDialogClass { - GnomeDialogClass parent_class; + GtkDialogClass parent_class; void (* folder_selected) (EShellFolderSelectionDialog *folder_selection_dialog, const char *path); @@ -64,16 +64,14 @@ void e_shell_folder_selection_dialog_construct (EShellFolderSele const char *title, const char *caption, const char *default_uri, - const char *allowed_types[]); + const char *allowed_types[], + gboolean allow_creation); GtkWidget *e_shell_folder_selection_dialog_new (EShell *shell, const char *title, const char *caption, const char *default_uri, - const char *allowed_types[]); - -void e_shell_folder_selection_dialog_set_allow_creation (EShellFolderSelectionDialog *folder_selection_dialog, - gboolean allow_creation); -gboolean e_shell_folder_selection_dialog_get_allow_creation (EShellFolderSelectionDialog *folder_selection_dialog); + const char *allowed_types[], + gboolean allow_creation); const char *e_shell_folder_selection_dialog_get_selected_path (EShellFolderSelectionDialog *folder_selection_dialog); |