aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorJonny Lamb <jonny.lamb@collabora.co.uk>2010-12-06 23:58:30 +0800
committerJonny Lamb <jonny.lamb@collabora.co.uk>2010-12-06 23:58:30 +0800
commit4014b19321977ffd5700aa8d1df258393bb74521 (patch)
tree11275231e261b2c6f72405cac9cf0ff52407cc16 /libempathy-gtk
parent15426cd6aa437bc2772397b77dd0d59a345e004b (diff)
downloadgsoc2013-empathy-4014b19321977ffd5700aa8d1df258393bb74521.tar
gsoc2013-empathy-4014b19321977ffd5700aa8d1df258393bb74521.tar.gz
gsoc2013-empathy-4014b19321977ffd5700aa8d1df258393bb74521.tar.bz2
gsoc2013-empathy-4014b19321977ffd5700aa8d1df258393bb74521.tar.lz
gsoc2013-empathy-4014b19321977ffd5700aa8d1df258393bb74521.tar.xz
gsoc2013-empathy-4014b19321977ffd5700aa8d1df258393bb74521.tar.zst
gsoc2013-empathy-4014b19321977ffd5700aa8d1df258393bb74521.zip
password-dialog: center the dialog
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-password-dialog.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libempathy-gtk/empathy-password-dialog.c b/libempathy-gtk/empathy-password-dialog.c
index c5a891357..179e68c48 100644
--- a/libempathy-gtk/empathy-password-dialog.c
+++ b/libempathy-gtk/empathy-password-dialog.c
@@ -286,6 +286,8 @@ empathy_password_dialog_constructed (GObject *object)
G_CALLBACK (password_dialog_ungrab_keyboard), dialog);
gtk_widget_grab_focus (priv->entry);
+
+ gtk_window_set_position (GTK_WINDOW (dialog), GTK_WIN_POS_CENTER_ALWAYS);
}
static void