[empathy/mc5] Adapt to the new API
- From: Sjoerd Simons <sjoerds src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [empathy/mc5] Adapt to the new API
- Date: Sat, 22 Aug 2009 18:53:38 +0000 (UTC)
commit 72ade92677b8c069b2933b76c64e340222a31254
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Fri Aug 7 17:23:24 2009 +0200
Adapt to the new API
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 3532e97..785d20a 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]