summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2018-03-23 02:06:16 +0100
committerraveit65 <[email protected]>2018-03-23 08:59:49 +0100
commit7c9b80c6fd4096f9bee465e60a28f7a8d7bf87f1 (patch)
tree192a6493676c9a0861d5f556e6f6d73392821bf1 /src
parent4fb359018441a9a80984a7a94be1a939efc51bde (diff)
downloadcaja-7c9b80c6fd4096f9bee465e60a28f7a8d7bf87f1.tar.bz2
caja-7c9b80c6fd4096f9bee465e60a28f7a8d7bf87f1.tar.xz
avoid 'gtk_file_chooser_dialog_new' with stock ids
Diffstat (limited to 'src')
-rw-r--r--src/caja-property-browser.c12
-rw-r--r--src/file-manager/fm-properties-window.c8
2 files changed, 10 insertions, 10 deletions
diff --git a/src/caja-property-browser.c b/src/caja-property-browser.c
index 140acc23..ca161803 100644
--- a/src/caja-property-browser.c
+++ b/src/caja-property-browser.c
@@ -1062,11 +1062,11 @@ icon_button_clicked_cb (GtkButton *b,
GtkWidget *preview;
int res;
- dialog = gtk_file_chooser_dialog_new (_("Select an Image File for the New Emblem"),
+ dialog = eel_file_chooser_dialog_new (_("Select an Image File for the New Emblem"),
GTK_WINDOW (browser),
GTK_FILE_CHOOSER_ACTION_OPEN,
- "gtk-cancel", GTK_RESPONSE_CANCEL,
- "gtk-open", GTK_RESPONSE_ACCEPT,
+ "process-stop", GTK_RESPONSE_CANCEL,
+ "document-open", GTK_RESPONSE_ACCEPT,
NULL);
gtk_file_chooser_set_current_folder (GTK_FILE_CHOOSER (dialog),
DATADIR "/pixmaps");
@@ -1319,11 +1319,11 @@ add_new_pattern (CajaPropertyBrowser *property_browser)
else
{
property_browser->details->patterns_dialog = dialog =
- gtk_file_chooser_dialog_new (_("Select an Image File to Add as a Pattern"),
+ eel_file_chooser_dialog_new (_("Select an Image File to Add as a Pattern"),
GTK_WINDOW (property_browser),
GTK_FILE_CHOOSER_ACTION_OPEN,
- "gtk-cancel", GTK_RESPONSE_CANCEL,
- "gtk-open", GTK_RESPONSE_ACCEPT,
+ "process-stop", GTK_RESPONSE_CANCEL,
+ "document-open", GTK_RESPONSE_ACCEPT,
NULL);
gtk_file_chooser_set_current_folder (GTK_FILE_CHOOSER (dialog),
DATADIR "/caja/patterns/");
diff --git a/src/file-manager/fm-properties-window.c b/src/file-manager/fm-properties-window.c
index d4ce8944..56af2094 100644
--- a/src/file-manager/fm-properties-window.c
+++ b/src/file-manager/fm-properties-window.c
@@ -5673,11 +5673,11 @@ select_image_button_callback (GtkWidget *widget,
dialog = window->details->icon_chooser;
if (dialog == NULL) {
- dialog = gtk_file_chooser_dialog_new (_("Select Custom Icon"), GTK_WINDOW (window),
+ dialog = eel_file_chooser_dialog_new (_("Select Custom Icon"), GTK_WINDOW (window),
GTK_FILE_CHOOSER_ACTION_OPEN,
- "gtk-revert-to-saved", GTK_RESPONSE_NO,
- "gtk-cancel", GTK_RESPONSE_CANCEL,
- "gtk-open", GTK_RESPONSE_OK,
+ "document-revert", GTK_RESPONSE_NO,
+ "process-stop", GTK_RESPONSE_CANCEL,
+ "document-open", GTK_RESPONSE_OK,
NULL);
gtk_file_chooser_add_shortcut_folder (GTK_FILE_CHOOSER (dialog), "/usr/share/icons", NULL);
gtk_file_chooser_add_shortcut_folder (GTK_FILE_CHOOSER (dialog), "/usr/share/pixmaps", NULL);