summaryrefslogtreecommitdiff
path: root/gtk/gtkprintunixdialog.c
diff options
context:
space:
mode:
authorWilliam Jon McCann <william.jon.mccann@gmail.com>2013-06-24 19:28:53 -0400
committerWilliam Jon McCann <william.jon.mccann@gmail.com>2013-06-24 22:20:49 -0400
commit02c793f24aa0a967473da48c5ff207c75ec2f413 (patch)
tree2cc7daa15b51d016805f5de546a447624e94cca6 /gtk/gtkprintunixdialog.c
parent2b571f41e2cfc4230871624c1a784bb112d85538 (diff)
downloadgtk+-02c793f24aa0a967473da48c5ff207c75ec2f413.tar.gz
Start migrating internals away from GtkStock
Diffstat (limited to 'gtk/gtkprintunixdialog.c')
-rw-r--r--gtk/gtkprintunixdialog.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/gtk/gtkprintunixdialog.c b/gtk/gtkprintunixdialog.c
index 6f305791f2..c642777df0 100644
--- a/gtk/gtkprintunixdialog.c
+++ b/gtk/gtkprintunixdialog.c
@@ -36,7 +36,6 @@
#include "gtkspinbutton.h"
#include "gtkcellrendererpixbuf.h"
#include "gtkcellrenderertext.h"
-#include "gtkstock.h"
#include "gtkiconfactory.h"
#include "gtkimage.h"
#include "gtktreeselection.h"
@@ -610,17 +609,12 @@ set_busy_cursor (GtkPrintUnixDialog *dialog,
static void
add_custom_button_to_dialog (GtkDialog *dialog,
const gchar *mnemonic_label,
- const gchar *stock_id,
gint response_id)
{
GtkWidget *button = NULL;
button = gtk_button_new_with_mnemonic (mnemonic_label);
gtk_widget_set_can_default (button, TRUE);
- gtk_button_set_image (GTK_BUTTON (button),
- gtk_image_new_from_stock (stock_id,
- GTK_ICON_SIZE_BUTTON));
- gtk_widget_show (button);
gtk_dialog_add_action_widget (GTK_DIALOG (dialog), button, response_id);
}
@@ -689,10 +683,9 @@ error_dialogs (GtkPrintUnixDialog *print_dialog,
dirname);
gtk_dialog_add_button (GTK_DIALOG (dialog),
- GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL);
+ _("_Cancel"), GTK_RESPONSE_CANCEL);
add_custom_button_to_dialog (GTK_DIALOG (dialog),
_("_Replace"),
- GTK_STOCK_PRINT,
GTK_RESPONSE_ACCEPT);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
GTK_RESPONSE_ACCEPT,