diff options
Diffstat (limited to 'shell/report.c')
-rw-r--r-- | shell/report.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/shell/report.c b/shell/report.c index 398af323..135dfd9b 100644 --- a/shell/report.c +++ b/shell/report.c @@ -494,9 +494,9 @@ static gchar *report_get_filename(void) dialog = gtk_file_chooser_dialog_new(_("Save File"), NULL, GTK_FILE_CHOOSER_ACTION_SAVE, - "_Cancel", + _("_Cancel"), GTK_RESPONSE_CANCEL, - "_Save", + _("_Save"), GTK_RESPONSE_ACCEPT, NULL); #else dialog = gtk_file_chooser_dialog_new(_("Save File"), @@ -648,8 +648,8 @@ static gboolean report_generate(ReportDialog * rd) _("Open the report with your web browser?")); #if GTK_CHECK_VERSION(3, 0, 0) gtk_dialog_add_buttons(GTK_DIALOG(dialog), - "_No", GTK_RESPONSE_REJECT, - "_Open", GTK_RESPONSE_ACCEPT, NULL); + _("_No"), GTK_RESPONSE_REJECT, + _("_Open"), GTK_RESPONSE_ACCEPT, NULL); #else gtk_dialog_add_buttons(GTK_DIALOG(dialog), GTK_STOCK_NO, GTK_RESPONSE_REJECT, @@ -918,7 +918,7 @@ static ReportDialog * gtk_dialog_get_action_area has been deprecated since version 3.12 and should not be used in newly-written code. * Direct access to the action area is discouraged; use gtk_dialog_add_button(), etc. */ - dialog1_action_area = gtk_dialog_get_action_area(GTK_DIALOG(dialog)); + dialog1_action_area = gtk_dialog_get_content_area(GTK_DIALOG(dialog)); #else dialog1_action_area = GTK_DIALOG(dialog)->action_area; #endif |