aboutsummaryrefslogtreecommitdiff
path: root/shell/report.c
diff options
context:
space:
mode:
authorSimon Quigley <tsimonq2@ubuntu.com>2017-11-25 13:35:47 -0600
committerSimon Quigley <tsimonq2@ubuntu.com>2017-11-25 13:35:47 -0600
commit11e616945340e87a1f567ab92e6dfac3068875b1 (patch)
tree451c1385230f29d3f4deef777b41609bed6e8090 /shell/report.c
parent9a9db98089717990cd5e0eef529f6bb0819ebe46 (diff)
New upstream version 0.5.1+git20171103
Diffstat (limited to 'shell/report.c')
-rw-r--r--shell/report.c10
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