diff options
author | Jonathan Tellier <jonathan.tellier@gmail.com> | 2009-08-29 02:55:27 +0800 |
---|---|---|
committer | jtellier <jonathan.tellier@collabora.co.uk> | 2009-08-29 02:55:27 +0800 |
commit | cd277c0c7cbe0389c242abb58b995389000f3e53 (patch) | |
tree | cfd84d02a8440c469624b671cc26b1eaf33f4221 | |
parent | 6600e6d9ff8505c9ef1765c1ca2ba17faad6f837 (diff) | |
download | gsoc2013-empathy-cd277c0c7cbe0389c242abb58b995389000f3e53.tar gsoc2013-empathy-cd277c0c7cbe0389c242abb58b995389000f3e53.tar.gz gsoc2013-empathy-cd277c0c7cbe0389c242abb58b995389000f3e53.tar.bz2 gsoc2013-empathy-cd277c0c7cbe0389c242abb58b995389000f3e53.tar.lz gsoc2013-empathy-cd277c0c7cbe0389c242abb58b995389000f3e53.tar.xz gsoc2013-empathy-cd277c0c7cbe0389c242abb58b995389000f3e53.tar.zst gsoc2013-empathy-cd277c0c7cbe0389c242abb58b995389000f3e53.zip |
Fixed style
-rw-r--r-- | src/empathy-accounts-dialog.c | 33 |
1 files changed, 18 insertions, 15 deletions
diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c index ebc8efe6d..c90074baa 100644 --- a/src/empathy-accounts-dialog.c +++ b/src/empathy-accounts-dialog.c @@ -488,19 +488,20 @@ accounts_dialog_button_add_clicked_cb (GtkWidget *button, if (accounts_dialog_has_pending_change (dialog, &account)) { - gchar *question_dialog_primary_text = g_strdup_printf ( - PENDING_CHANGES_QUESTION_PRIMARY_TEXT, - empathy_account_get_display_name (account)); - - accounts_dialog_show_question_dialog (dialog, question_dialog_primary_text, - _("You are about to create a new account, which will discard\n" - "your changes. Are you sure you want to proceed?"), - G_CALLBACK (accounts_dialog_add_pending_changes_response_cb), - dialog, - GTK_STOCK_CANCEL, GTK_RESPONSE_NO, - GTK_STOCK_DISCARD, GTK_RESPONSE_YES, NULL); - - g_free (question_dialog_primary_text); + gchar *question_dialog_primary_text = g_strdup_printf ( + PENDING_CHANGES_QUESTION_PRIMARY_TEXT, + empathy_account_get_display_name (account)); + + accounts_dialog_show_question_dialog (dialog, + question_dialog_primary_text, + _("You are about to create a new account, which will discard\n" + "your changes. Are you sure you want to proceed?"), + G_CALLBACK (accounts_dialog_add_pending_changes_response_cb), + dialog, + GTK_STOCK_CANCEL, GTK_RESPONSE_NO, + GTK_STOCK_DISCARD, GTK_RESPONSE_YES, NULL); + + g_free (question_dialog_primary_text); } else { @@ -969,7 +970,8 @@ accounts_dialog_account_selection_change (GtkTreeSelection *selection, PENDING_CHANGES_QUESTION_PRIMARY_TEXT, empathy_account_get_display_name (account)); - accounts_dialog_show_question_dialog (dialog, question_dialog_primary_text, + accounts_dialog_show_question_dialog (dialog, + question_dialog_primary_text, _("You are about to select another account, which will discard\n" "your changes. Are you sure you want to proceed?"), G_CALLBACK (accounts_dialog_selection_change_response_cb), @@ -1456,7 +1458,8 @@ accounts_dialog_response_cb (GtkWidget *widget, PENDING_CHANGES_QUESTION_PRIMARY_TEXT, empathy_account_get_display_name (account)); - accounts_dialog_show_question_dialog (dialog, question_dialog_primary_text, + accounts_dialog_show_question_dialog (dialog, + question_dialog_primary_text, _("You are about to close the window, which will discard\n" "your changes. Are you sure you want to proceed?"), G_CALLBACK (accounts_dialog_close_response_cb), |