diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2009-08-07 23:23:24 +0800 |
---|---|---|
committer | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2009-08-22 21:23:51 +0800 |
commit | 72ade92677b8c069b2933b76c64e340222a31254 (patch) | |
tree | d8eb1efc9886ca880a9e7e127e8b6c99c11cae6b | |
parent | a7e5be33b8ff0bf0cdeaf4672d967e14f80c54eb (diff) | |
download | gsoc2013-empathy-72ade92677b8c069b2933b76c64e340222a31254.tar gsoc2013-empathy-72ade92677b8c069b2933b76c64e340222a31254.tar.gz gsoc2013-empathy-72ade92677b8c069b2933b76c64e340222a31254.tar.bz2 gsoc2013-empathy-72ade92677b8c069b2933b76c64e340222a31254.tar.lz gsoc2013-empathy-72ade92677b8c069b2933b76c64e340222a31254.tar.xz gsoc2013-empathy-72ade92677b8c069b2933b76c64e340222a31254.tar.zst gsoc2013-empathy-72ade92677b8c069b2933b76c64e340222a31254.zip |
Adapt to the new API
-rw-r--r-- | src/empathy-accounts-dialog.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c index 3532e97f4..785d20ae0 100644 --- a/src/empathy-accounts-dialog.c +++ b/src/empathy-accounts-dialog.c @@ -1103,8 +1103,10 @@ accounts_dialog_button_import_clicked_cb (GtkWidget *button, EmpathyAccountsDialog *dialog) { EmpathyAccountsDialogPriv *priv = GET_PRIV (dialog); + GtkWidget *import_dialog; - empathy_import_dialog_show (GTK_WINDOW (priv->window), TRUE); + import_dialog = empathy_import_dialog_new (GTK_WINDOW (priv->window), TRUE); + gtk_widget_show (import_dialog); } static void @@ -1383,10 +1385,13 @@ do_constructed (GObject *object) if (!import_asked) { + GtkWidget *import_dialog; + empathy_conf_set_bool (empathy_conf_get (), EMPATHY_PREFS_IMPORT_ASKED, TRUE); - empathy_import_dialog_show (GTK_WINDOW (priv->window), + import_dialog = empathy_import_dialog_new (GTK_WINDOW (priv->window), FALSE); + gtk_widget_show (import_dialog); } } else |