aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristian Neumair <chris@gnome-de.org>2005-12-24 03:18:05 +0800
committerChristian Neumair <cneumair@src.gnome.org>2005-12-24 03:18:05 +0800
commit595529c02bceec72903d4cc0613504f9babec9cc (patch)
tree0006ee7007982ee8e8d30585258ce526830efaab /src
parent428eaf4db520ec27a137f3742a2bade7f117fb78 (diff)
downloadgsoc2013-epiphany-595529c02bceec72903d4cc0613504f9babec9cc.tar.gz
gsoc2013-epiphany-595529c02bceec72903d4cc0613504f9babec9cc.tar.zst
gsoc2013-epiphany-595529c02bceec72903d4cc0613504f9babec9cc.zip
Always center dialog on screen. Bug #324896.
2005-12-23 Christian Neumair <chris@gnome-de.org> * src/ephy-session.c: (offser_to_resume): Always center dialog on screen. Bug #324896.
Diffstat (limited to 'src')
-rw-r--r--src/ephy-session.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ephy-session.c b/src/ephy-session.c
index a31b53f9c..6f10554a4 100644
--- a/src/ephy-session.c
+++ b/src/ephy-session.c
@@ -389,6 +389,7 @@ offer_to_resume (EphySession *session,
gtk_window_set_title (GTK_WINDOW (dialog), _("Crash Recovery"));
gtk_window_set_icon_name (GTK_WINDOW (dialog), "web-browser");
+ gtk_window_set_position (GTK_WINDOW (dialog), GTK_WIN_POS_CENTER);
gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_ACCEPT);
session->priv->resume_dialog = dialog;