aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2007-01-12 05:11:40 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2007-01-12 05:11:40 +0000
commit2560a462a5ceb83535ae3a2e2c9908360e1427ab (patch)
tree5b405e2a54ad55e0fdffa4a1d1e1ea3c4c913c6d
parente8ea75f1bd6f868a996f799b140ba8b6c8f5ebec (diff)
place edit account window at the center of parent window.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1471 ee746299-78ed-0310-b773-934348b2243d
-rw-r--r--ChangeLog5
-rw-r--r--ChangeLog.ja5
-rw-r--r--src/account_dialog.c2
3 files changed, 12 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index dbb8ad7d..e8437103 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2007-01-12
+ * src/account_dialog.c: account_edit_create(): place edit account
+ window at the center of parent window.
+
+2007-01-12
+
* libsylph/utils.c
libsylph/codeconv.c: conv_encode_header(): handle quote correctly
(fixes stray quote character appearing after encoding mail headers).
diff --git a/ChangeLog.ja b/ChangeLog.ja
index a4b1ffb0..b265436d 100644
--- a/ChangeLog.ja
+++ b/ChangeLog.ja
@@ -1,5 +1,10 @@
2007-01-12
+ * src/account_dialog.c: account_edit_create(): アカウント編集
+ ウィンドウを親ウィンドウの中央に配置するようにした。
+
+2007-01-12
+
* libsylph/utils.c
libsylph/codeconv.c: conv_encode_header(): 引用符を正しく処理する
ようにした(メールヘッダのエンコード後に単独の引用符が現れるのを
diff --git a/src/account_dialog.c b/src/account_dialog.c
index 5826ed4e..ded4fac9 100644
--- a/src/account_dialog.c
+++ b/src/account_dialog.c
@@ -291,6 +291,8 @@ static void account_edit_create(void)
gtk_widget_set_size_request (window, 500, 320);
gtk_container_set_border_width (GTK_CONTAINER (window), 8);
gtk_window_set_title (GTK_WINDOW (window), _("Edit accounts"));
+ gtk_window_set_position (GTK_WINDOW (window),
+ GTK_WIN_POS_CENTER_ON_PARENT);
gtk_window_set_modal (GTK_WINDOW (window), TRUE);
g_signal_connect (G_OBJECT (window), "delete_event",
G_CALLBACK (account_delete_event), NULL);