summaryrefslogtreecommitdiff
path: root/libcaja-private
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2018-03-01 23:08:25 +0100
committerPablo Barciela <[email protected]>2018-03-01 23:08:25 +0100
commit7763ec98a616c8bb6300557525806d669987eba1 (patch)
tree6c2562e73a0e15b07670bc6adaab543700ad452d /libcaja-private
parentf0ab0d4cb1495b94d8a69ce85ce25c1df280fbb5 (diff)
downloadcaja-7763ec98a616c8bb6300557525806d669987eba1.tar.bz2
caja-7763ec98a616c8bb6300557525806d669987eba1.tar.xz
avoid eel_create_question_dialog with stock ids
Diffstat (limited to 'libcaja-private')
-rw-r--r--libcaja-private/caja-mime-actions.c4
-rw-r--r--libcaja-private/caja-program-choosing.c9
2 files changed, 7 insertions, 6 deletions
diff --git a/libcaja-private/caja-mime-actions.c b/libcaja-private/caja-mime-actions.c
index ca320ba0..f9203315 100644
--- a/libcaja-private/caja-mime-actions.c
+++ b/libcaja-private/caja-mime-actions.c
@@ -741,7 +741,7 @@ report_broken_symbolic_link (GtkWindow *parent_window, CajaFile *file)
goto out;
}
- dialog = eel_show_yes_no_dialog (prompt, detail, _("Mo_ve to Trash"), "gtk-cancel",
+ dialog = eel_show_yes_no_dialog (prompt, detail, _("Mo_ve to Trash"), "process-stop",
parent_window);
gtk_dialog_set_default_response (dialog, GTK_RESPONSE_CANCEL);
@@ -1179,7 +1179,7 @@ confirm_multiple_windows (GtkWindow *parent_window,
"This will open %d separate windows.", count), count);
}
dialog = eel_show_yes_no_dialog (prompt, detail,
- "gtk-ok", "gtk-cancel",
+ "gtk-ok", "process-stop",
parent_window);
g_free (detail);
diff --git a/libcaja-private/caja-program-choosing.c b/libcaja-private/caja-program-choosing.c
index bee2bb00..27043583 100644
--- a/libcaja-private/caja-program-choosing.c
+++ b/libcaja-private/caja-program-choosing.c
@@ -91,10 +91,11 @@ application_cannot_open_location (GAppInfo *application,
}
message_dialog = eel_show_yes_no_dialog (prompt,
- message,
- GTK_STOCK_OK,
- GTK_STOCK_CANCEL,
- parent_window);
+ message,
+ "gtk-ok",
+ "process-stop",
+ parent_window);
+
response = gtk_dialog_run (message_dialog);
gtk_widget_destroy (GTK_WIDGET (message_dialog));