diff options
author | William Jon McCann <william.jon.mccann@gmail.com> | 2013-06-24 19:28:53 -0400 |
---|---|---|
committer | William Jon McCann <william.jon.mccann@gmail.com> | 2013-06-24 22:20:49 -0400 |
commit | 02c793f24aa0a967473da48c5ff207c75ec2f413 (patch) | |
tree | 2cc7daa15b51d016805f5de546a447624e94cca6 /gtk/gtkprinteroptionwidget.c | |
parent | 2b571f41e2cfc4230871624c1a784bb112d85538 (diff) | |
download | gtk+-02c793f24aa0a967473da48c5ff207c75ec2f413.tar.gz |
Start migrating internals away from GtkStock
Diffstat (limited to 'gtk/gtkprinteroptionwidget.c')
-rw-r--r-- | gtk/gtkprinteroptionwidget.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gtk/gtkprinteroptionwidget.c b/gtk/gtkprinteroptionwidget.c index 36b8c9d0a3..f538607123 100644 --- a/gtk/gtkprinteroptionwidget.c +++ b/gtk/gtkprinteroptionwidget.c @@ -31,7 +31,6 @@ #include "gtklabel.h" #include "gtkliststore.h" #include "gtkradiobutton.h" -#include "gtkstock.h" #include "gtkgrid.h" #include "gtktogglebutton.h" #include "gtkorientable.h" @@ -548,7 +547,7 @@ filesave_choose_cb (GtkWidget *button, dialog = gtk_file_chooser_dialog_new (_("Select a filename"), toplevel, GTK_FILE_CHOOSER_ACTION_SAVE, - GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, + _("_Cancel"), GTK_RESPONSE_CANCEL, _("_Select"), GTK_RESPONSE_ACCEPT, NULL); @@ -893,7 +892,7 @@ construct_widgets (GtkPrinterOptionWidget *widget) break; } - priv->image = gtk_image_new_from_stock (GTK_STOCK_DIALOG_WARNING, GTK_ICON_SIZE_MENU); + priv->image = gtk_image_new_from_icon_name ("dialog-warning", GTK_ICON_SIZE_MENU); gtk_box_pack_start (GTK_BOX (widget), priv->image, FALSE, FALSE, 0); } |