aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-config.c
diff options
context:
space:
mode:
authorRadek Doulik <rodo@ximian.com>2004-08-04 17:16:19 +0800
committerRadek Doulik <rodo@src.gnome.org>2004-08-04 17:16:19 +0800
commit0b342f2c845e095e72d55c25180e55d5b8165102 (patch)
tree152fc01b3dcc81f33a05ee97ef08c67ba417486c /widgets/table/e-table-config.c
parent016fe283c90de2b117d65bfefed00d99efd488cc (diff)
downloadgsoc2013-evolution-0b342f2c845e095e72d55c25180e55d5b8165102.tar.gz
gsoc2013-evolution-0b342f2c845e095e72d55c25180e55d5b8165102.tar.zst
gsoc2013-evolution-0b342f2c845e095e72d55c25180e55d5b8165102.zip
do not set position, it's already done in .glade, call set_transient_for
2004-08-02 Radek Doulik <rodo@ximian.com> * e-table-config.c (e_table_config_construct): do not set position, it's already done in .glade, call set_transient_for always (passing NULL is valid as well) * e-table-config.glade: * e-table-config-no-group.glade: center window on parent, don't let it resize and most importan make it dialog window so that set_transient_for works against define views dialog Fixes #61936 2004-08-02 Radek Doulik <rodo@ximian.com> * gal-define-views-dialog.c: save collection on exit Fixes #61936 svn path=/trunk/; revision=26819
Diffstat (limited to 'widgets/table/e-table-config.c')
-rw-r--r--widgets/table/e-table-config.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/widgets/table/e-table-config.c b/widgets/table/e-table-config.c
index 884bae4ebb..2ad23b7120 100644
--- a/widgets/table/e-table-config.c
+++ b/widgets/table/e-table-config.c
@@ -1156,16 +1156,8 @@ e_table_config_construct (ETableConfig *config,
setup_gui (config);
- if (parent_window) {
- gtk_window_set_transient_for (GTK_WINDOW (config->dialog_toplevel),
- parent_window);
- /*
- center on parent doesn't seem to work for me, so let use GTK_WIN_POS_CENTER_ALWAYS - that is
- what glade used before as well, so it's not worse then it was
- gtk_window_set_position (GTK_WINDOW (config->dialog_toplevel), GTK_WIN_POS_CENTER_ON_PARENT);
- */
- gtk_window_set_position (GTK_WINDOW (config->dialog_toplevel), GTK_WIN_POS_CENTER_ALWAYS);
- }
+ gtk_window_set_transient_for (GTK_WINDOW (config->dialog_toplevel),
+ parent_window);
config_sort_info_update (config);
config_group_info_update (config);