diff options
author | Pablo Barciela <[email protected]> | 2018-02-07 22:01:52 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-02-09 18:00:22 +0100 |
commit | 2e9c1a1d447ddc1c54b94d1dcc6b99437b7f601f (patch) | |
tree | b43ee75fcfe5eb192f0a552ed1b93a7b4c92c123 /src/dlg-batch-add.c | |
parent | b5651bbf352124f52c8bda943042b04a571a9a84 (diff) | |
download | engrampa-2e9c1a1d447ddc1c54b94d1dcc6b99437b7f601f.tar.bz2 engrampa-2e9c1a1d447ddc1c54b94d1dcc6b99437b7f601f.tar.xz |
avoid deprecated GtkStock
Diffstat (limited to 'src/dlg-batch-add.c')
-rw-r--r-- | src/dlg-batch-add.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/dlg-batch-add.c b/src/dlg-batch-add.c index 55d3b42..d3dac4a 100644 --- a/src/dlg-batch-add.c +++ b/src/dlg-batch-add.c @@ -228,10 +228,10 @@ add_clicked_cb (GtkWidget *widget, d = _gtk_message_dialog_new (GTK_WINDOW (GET_WIDGET ("dialog")), GTK_DIALOG_MODAL, - GTK_STOCK_DIALOG_QUESTION, + "dialog-question", msg, NULL, - GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, + "gtk-cancel", GTK_RESPONSE_CANCEL, _("Create _Folder"), GTK_RESPONSE_YES, NULL); @@ -267,10 +267,10 @@ add_clicked_cb (GtkWidget *widget, d = _gtk_message_dialog_new (GTK_WINDOW (window), GTK_DIALOG_DESTROY_WITH_PARENT, - GTK_STOCK_DIALOG_WARNING, + "dialog-warning", _("Archive not created"), NULL, - GTK_STOCK_OK, GTK_RESPONSE_OK, + "gtk-ok", GTK_RESPONSE_OK, NULL); gtk_dialog_set_default_response (GTK_DIALOG (d), GTK_RESPONSE_OK); gtk_dialog_run (GTK_DIALOG (d)); @@ -315,10 +315,10 @@ add_clicked_cb (GtkWidget *widget, d = _gtk_message_dialog_new (GTK_WINDOW (GET_WIDGET ("dialog")), GTK_DIALOG_MODAL, - GTK_STOCK_DIALOG_QUESTION, + "dialog-question", _("The archive is already present. Do you want to overwrite it?"), NULL, - GTK_STOCK_NO, GTK_RESPONSE_NO, + "gtk-no", GTK_RESPONSE_NO, _("_Overwrite"), GTK_RESPONSE_YES, NULL); |