]> git.0d.be Git - empathy.git/commitdiff
accounts-dialog: subdialog window should not resizeable
authorMichael Wood <michael.g.wood@intel.com>
Thu, 1 Nov 2012 11:46:12 +0000 (11:46 +0000)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Fri, 2 Nov 2012 09:38:37 +0000 (10:38 +0100)
This means that when the expanded for advanced option is opened/closed the
dialog maintains the correct size.

https://bugzilla.gnome.org/show_bug.cgi?id=687338

src/empathy-accounts-dialog.c

index 6275e6a8ae2305c25a948ed4b9573dc680cfe866..33c382f6dfc6c71be6de4106ae57389813be47e8 100644 (file)
@@ -610,6 +610,8 @@ account_dialog_create_edit_params_dialog (EmpathyAccountsDialog *dialog)
       GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,
       NULL, NULL);
 
+  gtk_window_set_resizable (GTK_WINDOW (subdialog), FALSE);
+
   priv->setting_widget = (EmpathyAccountWidget *)
     empathy_account_widget_new_for_protocol (settings, FALSE);