From 95a302a46f843bba9ddfe8d82333efee86dc2a23 Mon Sep 17 00:00:00 2001 From: JosephMcc Date: Fri, 30 Dec 2016 12:21:47 -0800 Subject: [PATCH] preferences-dialog: Clean up uses of GtkStock --- xed/dialogs/xed-preferences-dialog.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/xed/dialogs/xed-preferences-dialog.c b/xed/dialogs/xed-preferences-dialog.c index 9053625..1b60525 100755 --- a/xed/dialogs/xed-preferences-dialog.c +++ b/xed/dialogs/xed-preferences-dialog.c @@ -725,11 +725,10 @@ install_scheme_clicked (GtkButton *button, chooser = gtk_file_chooser_dialog_new (_("Add Scheme"), GTK_WINDOW (dlg), GTK_FILE_CHOOSER_ACTION_OPEN, - GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, + _("Cancel"), GTK_RESPONSE_CANCEL, NULL); - xed_dialog_add_button (GTK_DIALOG (chooser), _("A_dd Scheme"), - GTK_STOCK_ADD, GTK_RESPONSE_ACCEPT); + gtk_dialog_add_button (GTK_DIALOG (chooser), _("Add Scheme"), GTK_RESPONSE_ACCEPT); gtk_window_set_destroy_with_parent (GTK_WINDOW (chooser), TRUE); @@ -967,8 +966,8 @@ xed_preferences_dialog_init (XedPreferencesDialog *dlg) dlg->priv = XED_PREFERENCES_DIALOG_GET_PRIVATE (dlg); gtk_dialog_add_buttons (GTK_DIALOG (dlg), - GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE, - GTK_STOCK_HELP, GTK_RESPONSE_HELP, + _("Close"), GTK_RESPONSE_CLOSE, + _("Help"), GTK_RESPONSE_HELP, NULL); gtk_window_set_title (GTK_WINDOW (dlg), _("Xed Preferences"));