aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-folder-selection-dialog.h
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2000-06-11 04:35:52 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2000-06-11 04:35:52 +0800
commit0097872c134e712a520b408d294dc7c6d5156527 (patch)
treed0fd787791b7cd39d198f0965e4849dbe2dda792 /shell/e-shell-folder-selection-dialog.h
parentcf26eac80769d0c09bdf6580b4cde7343071962c (diff)
downloadgsoc2013-evolution-0097872c134e712a520b408d294dc7c6d5156527.tar.gz
gsoc2013-evolution-0097872c134e712a520b408d294dc7c6d5156527.tar.zst
gsoc2013-evolution-0097872c134e712a520b408d294dc7c6d5156527.zip
Folder selection dialog, (untested) CORBA interfaces for it, and a new
"Go to folder..." menu item. Also made the creation dialog slightly larger. svn path=/trunk/; revision=3508
Diffstat (limited to 'shell/e-shell-folder-selection-dialog.h')
-rw-r--r--shell/e-shell-folder-selection-dialog.h73
1 files changed, 73 insertions, 0 deletions
diff --git a/shell/e-shell-folder-selection-dialog.h b/shell/e-shell-folder-selection-dialog.h
new file mode 100644
index 0000000000..29d96e4c61
--- /dev/null
+++ b/shell/e-shell-folder-selection-dialog.h
@@ -0,0 +1,73 @@
+/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
+/* e-shell-folder-selection-dialog.h
+ *
+ * Copyright (C) 2000 Helix Code, Inc.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public
+ * License along with this program; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
+ *
+ * Author: Ettore Perazzoli
+ */
+
+#ifndef E_SHELL_FOLDER_SELECTION_DIALOG_H
+#define E_SHELL_FOLDER_SELECTION_DIALOG_H
+
+#include <libgnomeui/gnome-dialog.h>
+
+#include "e-shell.h"
+
+#ifdef cplusplus
+extern "C" {
+#pragma }
+#endif /* cplusplus */
+
+#define E_TYPE_SHELL_FOLDER_SELECTION_DIALOG (e_shell_folder_selection_dialog_get_type ())
+#define E_SHELL_FOLDER_SELECTION_DIALOG(obj) (GTK_CHECK_CAST ((obj), E_TYPE_SHELL_FOLDER_SELECTION_DIALOG, EShellFolderSelectionDialog))
+#define E_SHELL_FOLDER_SELECTION_DIALOG_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), E_TYPE_SHELL_FOLDER_SELECTION_DIALOG, EShellFolderSelectionDialogClass))
+#define E_IS_SHELL_FOLDER_SELECTION_DIALOG(obj) (GTK_CHECK_TYPE ((obj), E_TYPE_SHELL_FOLDER_SELECTION_DIALOG))
+#define E_IS_SHELL_FOLDER_SELECTION_DIALOG_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((obj), E_TYPE_SHELL_FOLDER_SELECTION_DIALOG))
+
+
+typedef struct _EShellFolderSelectionDialog EShellFolderSelectionDialog;
+typedef struct _EShellFolderSelectionDialogPrivate EShellFolderSelectionDialogPrivate;
+typedef struct _EShellFolderSelectionDialogClass EShellFolderSelectionDialogClass;
+
+struct _EShellFolderSelectionDialog {
+ GnomeDialog parent;
+
+ EShellFolderSelectionDialogPrivate *priv;
+};
+
+struct _EShellFolderSelectionDialogClass {
+ GnomeDialogClass parent_class;
+};
+
+
+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);
+GtkWidget *e_shell_folder_selection_dialog_new (EShell *shell,
+ const char *title,
+ const char *default_path);
+
+const char *e_shell_folder_selection_dialog_get_selected_path (EShellFolderSelectionDialog *folder_selection_dialog);
+
+#ifdef cplusplus
+}
+#endif /* cplusplus */
+
+#endif /* E_SHELL_FOLDER_SELECTION_DIALOG_H */