summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-open-with-dialog.c
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2018-01-27 22:04:52 +0100
committerraveit65 <[email protected]>2018-02-09 14:14:02 +0100
commitbf3da8eea7dad06618c84375adbb4952c74f6987 (patch)
treedd95b9a475316ba68cecd035129790eea6a2910a /libcaja-private/caja-open-with-dialog.c
parentd8579ead4a13e66b03d2f17f3240f724008cc555 (diff)
downloadcaja-bf3da8eea7dad06618c84375adbb4952c74f6987.tar.bz2
caja-bf3da8eea7dad06618c84375adbb4952c74f6987.tar.xz
avoid deprecated GtkStock
Diffstat (limited to 'libcaja-private/caja-open-with-dialog.c')
-rw-r--r--libcaja-private/caja-open-with-dialog.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libcaja-private/caja-open-with-dialog.c b/libcaja-private/caja-open-with-dialog.c
index bbbdcf34..8e45f6f5 100644
--- a/libcaja-private/caja-open-with-dialog.c
+++ b/libcaja-private/caja-open-with-dialog.c
@@ -450,9 +450,9 @@ browse_clicked_cb (GtkWidget *button,
chooser = gtk_file_chooser_dialog_new (_("Select an Application"),
GTK_WINDOW (dialog),
GTK_FILE_CHOOSER_ACTION_OPEN,
- GTK_STOCK_CANCEL,
+ "gtk-cancel",
GTK_RESPONSE_CANCEL,
- GTK_STOCK_OPEN,
+ "gtk-open",
GTK_RESPONSE_OK,
NULL);
gtk_window_set_destroy_with_parent (GTK_WINDOW (chooser), TRUE);
@@ -932,14 +932,14 @@ caja_open_with_dialog_init (CajaOpenWithDialog *dialog)
gtk_box_pack_start (GTK_BOX (vbox), dialog->details->checkbox, FALSE, FALSE, 0);
gtk_dialog_add_button (GTK_DIALOG (dialog),
- GTK_STOCK_REMOVE,
+ "gtk-remove",
RESPONSE_REMOVE);
gtk_dialog_set_response_sensitive (GTK_DIALOG (dialog),
RESPONSE_REMOVE,
FALSE);
gtk_dialog_add_button (GTK_DIALOG (dialog),
- GTK_STOCK_CANCEL,
+ "gtk-cancel",
GTK_RESPONSE_CANCEL);