diff options
author | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2010-12-06 23:58:30 +0800 |
---|---|---|
committer | Jonny Lamb <jonnylamb@gnome.org> | 2011-01-26 21:30:14 +0800 |
commit | 64ee35e5448d1e1bc6cc317a9ade7431216bc4a2 (patch) | |
tree | 09332f9559e514f52d9fdc57208092e0cafa24be /libempathy-gtk | |
parent | dc7941ed458c5da3351ac88761ee46e44f8015b4 (diff) | |
download | gsoc2013-empathy-64ee35e5448d1e1bc6cc317a9ade7431216bc4a2.tar gsoc2013-empathy-64ee35e5448d1e1bc6cc317a9ade7431216bc4a2.tar.gz gsoc2013-empathy-64ee35e5448d1e1bc6cc317a9ade7431216bc4a2.tar.bz2 gsoc2013-empathy-64ee35e5448d1e1bc6cc317a9ade7431216bc4a2.tar.lz gsoc2013-empathy-64ee35e5448d1e1bc6cc317a9ade7431216bc4a2.tar.xz gsoc2013-empathy-64ee35e5448d1e1bc6cc317a9ade7431216bc4a2.tar.zst gsoc2013-empathy-64ee35e5448d1e1bc6cc317a9ade7431216bc4a2.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.c | 2 |
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 |