aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-config.h
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2002-12-19 10:24:24 +0800
committerChris Toshok <toshok@src.gnome.org>2002-12-19 10:24:24 +0800
commit82a04fbcb419e35c7132ade04c4a688b14c1f8dd (patch)
tree392cce48da9badb13bf5e58946ad35a32a00e312 /widgets/table/e-table-config.h
parentbe8b72f96374ec259a161750a3d3ed0cd48cefbc (diff)
downloadgsoc2013-evolution-82a04fbcb419e35c7132ade04c4a688b14c1f8dd.tar.gz
gsoc2013-evolution-82a04fbcb419e35c7132ade04c4a688b14c1f8dd.tar.zst
gsoc2013-evolution-82a04fbcb419e35c7132ade04c4a688b14c1f8dd.zip
pass NULL for parent_window for e_table_config_new.
2002-12-18 Chris Toshok <toshok@ximian.com> * e-table-header-item.c (ethi_popup_customize_view): pass NULL for parent_window for e_table_config_new. * e-table-config.glade, e-table-config-no-group.glade: switch from GnomePropertyBox to GtkDialog, remove the extra notebook widget from the heirarchy, and set all the subdialogs modal. * e-table-config.h: add parent_window arg to e_table_config_{new,construct}. * e-table-config.c (config_dialog_changed): new function, not really needed yet since the apply/ok buttons are never insensitive. (config_get_property): handle the "state" read-only property. (config_class_init): put back in the "state" property that was deleted during the merge from the gal-2 branch (it looks like). (do_sort_and_group_config_dialog): set the sort/group dialog transient for the e-table-config dialog, and gnome_property_box_changed -> config_dialog_changed. (do_fields_config_dialog): same, but with the fields dialog. (dialog_response): response handler for the e-table-config dialog. (setup_gui): remote the hide button/notebook code, since neither of those widgets exist anymore in this dialog, and remove the "apply" signal and connect to "response", since we're a GtkDialog dialog instead of a GnomePropertyBox. (e_table_config_construct): take a parent_window arg, and set_transient_for if it's non-NULL. (e_table_config_new): take parent_window arg and pass to construct. svn path=/trunk/; revision=19165
Diffstat (limited to 'widgets/table/e-table-config.h')
-rw-r--r--widgets/table/e-table-config.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/widgets/table/e-table-config.h b/widgets/table/e-table-config.h
index f385814f28..1373fb94de 100644
--- a/widgets/table/e-table-config.h
+++ b/widgets/table/e-table-config.h
@@ -31,6 +31,7 @@
#include <gal/e-table/e-table-without.h>
#include <gal/e-table/e-table-subset-variable.h>
#include <gal/e-table/e-table.h>
+#include <gtk/gtkwindow.h>
G_BEGIN_DECLS
@@ -100,11 +101,13 @@ typedef struct {
GType e_table_config_get_type (void);
ETableConfig *e_table_config_new (const char *header,
ETableSpecification *spec,
- ETableState *state);
+ ETableState *state,
+ GtkWindow *parent_window);
ETableConfig *e_table_config_construct (ETableConfig *etco,
const char *header,
ETableSpecification *spec,
- ETableState *state);
+ ETableState *state,
+ GtkWindow *parent_window);
void e_table_config_raise (ETableConfig *config);
G_END_DECLS