[gnome-panel/features/modernize-for-gnome-3-12: 7/11] panel-icon-chooser: don't use deprecated GtkStock
- From: Philipp Kaluza <phk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-panel/features/modernize-for-gnome-3-12: 7/11] panel-icon-chooser: don't use deprecated GtkStock
- Date: Sun, 24 Aug 2014 11:20:07 +0000 (UTC)
commit 9826c4fd9ffe31c4abf23e95f3950f46cfd40278
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Sun May 25 15:37:54 2014 +0300
panel-icon-chooser: don't use deprecated GtkStock
gnome-panel/libpanel-util/panel-icon-chooser.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gnome-panel/libpanel-util/panel-icon-chooser.c b/gnome-panel/libpanel-util/panel-icon-chooser.c
index f404ec0..030afb3 100644
--- a/gnome-panel/libpanel-util/panel-icon-chooser.c
+++ b/gnome-panel/libpanel-util/panel-icon-chooser.c
@@ -383,9 +383,9 @@ _panel_icon_chooser_clicked (GtkButton *button)
filechooser = gtk_file_chooser_dialog_new (_("Choose an icon"),
parent,
GTK_FILE_CHOOSER_ACTION_OPEN,
- GTK_STOCK_CANCEL,
+ _("_Cancel"),
GTK_RESPONSE_CANCEL,
- GTK_STOCK_OPEN,
+ _("_Open"),
GTK_RESPONSE_ACCEPT,
NULL);
panel_gtk_file_chooser_add_image_preview (GTK_FILE_CHOOSER (filechooser));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]