2.23.92
[evolution.git] / e-util / e-dialog-utils.h
blob9d594122e2705c768d42824a5ee34e9549ef7b19
1 /*
2 * This program is free software; you can redistribute it and/or
3 * modify it under the terms of the GNU Lesser General Public
4 * License as published by the Free Software Foundation; either
5 * version 2 of the License, or (at your option) version 3.
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10 * Lesser General Public License for more details.
12 * You should have received a copy of the GNU Lesser General Public
13 * License along with the program; if not, see <http://www.gnu.org/licenses/>
16 * Authors:
17 * Ettore Perazzoli <ettore@ximian.com>
19 * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
23 #ifndef E_DIALOG_UTILS_H
24 #define E_DIALOG_UTILS_H
26 #include <gtk/gtk.h>
28 void e_notice (gpointer parent,
29 GtkMessageType type,
30 const char *format,
31 ...);
32 void e_notice_with_xid (GdkNativeWindow parent,
33 GtkMessageType type,
34 const char *format,
35 ...);
37 void e_dialog_set_transient_for (GtkWindow *dialog,
38 GtkWidget *parent_widget);
39 void e_dialog_set_transient_for_xid (GtkWindow *dialog,
40 GdkNativeWindow xid);
42 char *e_file_dialog_save (const char *title, const char *fname);
44 char *e_file_dialog_save_folder (const char *title);
46 GtkWidget * e_file_get_save_filesel (GtkWidget *parent, const char *title, const char *name, GtkFileChooserAction action);
48 gboolean e_file_can_save(GtkWindow *parent, const char *uri);
49 gboolean e_file_check_local(const char *name);
52 #endif