From 01d70967aec02a07321c0724bf62d9dd37daa6e0 Mon Sep 17 00:00:00 2001 From: hiro Date: Fri, 20 Jan 2006 08:02:48 +0000 Subject: place some dialogs at the center on parent window. git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@915 ee746299-78ed-0310-b773-934348b2243d --- src/inputdialog.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/inputdialog.c') diff --git a/src/inputdialog.c b/src/inputdialog.c index 9fe0c6e6..9710999f 100644 --- a/src/inputdialog.c +++ b/src/inputdialog.c @@ -1,6 +1,6 @@ /* * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client - * Copyright (C) 1999-2005 Hiroyuki Yamamoto + * Copyright (C) 1999-2006 Hiroyuki Yamamoto * * 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 @@ -161,7 +161,8 @@ static void input_dialog_create(InputDialogType dialog_type) gtk_window_set_resizable(GTK_WINDOW(dialog), FALSE); gtk_container_set_border_width (GTK_CONTAINER(GTK_DIALOG(dialog)->action_area), 5); - gtk_window_set_position(GTK_WINDOW(dialog), GTK_WIN_POS_CENTER); + gtk_window_set_position(GTK_WINDOW(dialog), + GTK_WIN_POS_CENTER_ON_PARENT); g_signal_connect(G_OBJECT(dialog), "delete_event", G_CALLBACK(delete_event), NULL); g_signal_connect(G_OBJECT(dialog), "key_press_event", -- cgit v1.2.3