summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2018-12-09 02:18:28 +0100
committerZenWalker <[email protected]>2018-12-11 00:19:51 +0100
commit3037620de3e6ec80d15cf96084fdf88e01ba2858 (patch)
treea7c47f6de1f22d97d8352f98ae5d096a41a362a7 /src
parent57b690699a0033398a7978dfc2607e62aaac8be3 (diff)
downloadengrampa-3037620de3e6ec80d15cf96084fdf88e01ba2858.tar.bz2
engrampa-3037620de3e6ec80d15cf96084fdf88e01ba2858.tar.xz
fr-window: avoid 'gtk_dialog_add_button' with stock ids
Diffstat (limited to 'src')
-rw-r--r--src/fr-window.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fr-window.c b/src/fr-window.c
index c0ff272..5fbee92 100644
--- a/src/fr-window.c
+++ b/src/fr-window.c
@@ -2597,12 +2597,12 @@ create_the_progress_dialog (FrWindow *window)
NULL,
NULL);
- window->priv->pd_quit_button = gtk_dialog_add_button (GTK_DIALOG (window->priv->progress_dialog), "gtk-quit", DIALOG_RESPONSE_QUIT);
+ window->priv->pd_quit_button = dialog_add_button_with_icon_name (GTK_DIALOG (window->priv->progress_dialog), _("_Quit"), "application-exit", DIALOG_RESPONSE_QUIT);
window->priv->pd_open_archive_button = gtk_dialog_add_button (GTK_DIALOG (window->priv->progress_dialog), _("_Open the Archive"), DIALOG_RESPONSE_OPEN_ARCHIVE);
window->priv->pd_open_destination_button = gtk_dialog_add_button (GTK_DIALOG (window->priv->progress_dialog), _("_Show the Files"), DIALOG_RESPONSE_OPEN_DESTINATION_FOLDER);
window->priv->pd_open_destination_and_quit_button = gtk_dialog_add_button (GTK_DIALOG (window->priv->progress_dialog), _("Show the _Files and Quit"), DIALOG_RESPONSE_OPEN_DESTINATION_FOLDER_AND_QUIT);
- window->priv->pd_close_button = gtk_dialog_add_button (GTK_DIALOG (window->priv->progress_dialog), "gtk-close", GTK_RESPONSE_CLOSE);
- window->priv->pd_cancel_button = gtk_dialog_add_button (GTK_DIALOG (window->priv->progress_dialog), "gtk-cancel", GTK_RESPONSE_CANCEL);
+ window->priv->pd_close_button = dialog_add_button_with_icon_name (GTK_DIALOG (window->priv->progress_dialog), _("_Close"), "window-close", GTK_RESPONSE_CLOSE);
+ window->priv->pd_cancel_button = dialog_add_button_with_icon_name (GTK_DIALOG (window->priv->progress_dialog), _("_Cancel"), "process-stop", GTK_RESPONSE_CANCEL);
/*add start button default suspend*/
window->priv->pd_state_button = dialog_add_button_with_icon_name (GTK_DIALOG (window->priv->progress_dialog), _("_Pause"), "media-playback-pause", GTK_RESPONSE_ACCEPT);
d = GTK_DIALOG (window->priv->progress_dialog);