diff options
author | rbuj <[email protected]> | 2019-09-12 13:04:31 +0200 |
---|---|---|
committer | lukefromdc <[email protected]> | 2019-09-15 03:43:21 +0000 |
commit | e1a45d490e4ccba44fb0b5a7cac97d490982483a (patch) | |
tree | ecd9e6264d4aeb2a52bd1750fbabe4d6674fd0bb /src/dlg-package-installer.c | |
parent | 17c124a61edff83334b7776aa82ffa17f3c5aa9d (diff) | |
download | engrampa-e1a45d490e4ccba44fb0b5a7cac97d490982483a.tar.bz2 engrampa-e1a45d490e4ccba44fb0b5a7cac97d490982483a.tar.xz |
dlg-package-installer: remove warning ‘GtkStock’ is deprecated
dlg-package-installer.c:294:9: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations]
294 | GTK_STOCK_DIALOG_ERROR,
| ^~~~~~~~~~~~~~~~~~~~~~
dlg-package-installer.c:297:9: warning: ‘GtkStock’ is deprecated [-Wdeprecated-declarations]
297 | GTK_STOCK_CANCEL, GTK_RESPONSE_NO,
| ^~~~~~~~~~~~~~~~
Diffstat (limited to 'src/dlg-package-installer.c')
-rw-r--r-- | src/dlg-package-installer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dlg-package-installer.c b/src/dlg-package-installer.c index bf2be31..ccc5dce 100644 --- a/src/dlg-package-installer.c +++ b/src/dlg-package-installer.c @@ -291,10 +291,10 @@ dlg_package_installer (FrWindow *window, g_content_type_get_description (idata->archive->content_type)); dialog = _gtk_message_dialog_new (GTK_WINDOW (idata->window), GTK_DIALOG_MODAL, - GTK_STOCK_DIALOG_ERROR, + "dialog-error", _("Could not open this file type"), secondary_text, - GTK_STOCK_CANCEL, GTK_RESPONSE_NO, + _("_Cancel"), GTK_RESPONSE_NO, _("_Search Command"), GTK_RESPONSE_YES, NULL); g_signal_connect (dialog, "response", G_CALLBACK (confirm_search_dialog_response_cb), idata); |