summaryrefslogtreecommitdiff
path: root/src/fr-window.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-09-12 13:19:22 +0200
committerZenWalker <[email protected]>2019-09-15 12:16:55 +0200
commit3f4c82587df3c7fde79ebb7e546d73321479760a (patch)
tree043676f1336ee64ed3a18bb606680058953154b2 /src/fr-window.c
parent6e2ab64994fd6ca44305b0eb37f7cf444abcab6d (diff)
downloadengrampa-3f4c82587df3c7fde79ebb7e546d73321479760a.tar.bz2
engrampa-3f4c82587df3c7fde79ebb7e546d73321479760a.tar.xz
remove warnings: ‘gtk_image_new_from_stock’ is deprecated
gtk-utils.c:171:3: warning: ‘gtk_image_new_from_stock’ is deprecated: Use 'gtk_image_new_from_icon_name' instead [-Wdeprecated-declarations] 171 | image = gtk_image_new_from_stock (text, GTK_ICON_SIZE_BUTTON); | ^~~~~ gtk-utils.c:173:3: warning: ‘gtk_image_new_from_stock’ is deprecated: Use 'gtk_image_new_from_icon_name' instead [-Wdeprecated-declarations] 173 | image = gtk_image_new_from_stock (stock_id, GTK_ICON_SIZE_BUTTON); | ^~~~~
Diffstat (limited to 'src/fr-window.c')
-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 f537fef..7268b89 100644
--- a/src/fr-window.c
+++ b/src/fr-window.c
@@ -7854,7 +7854,7 @@ fr_window_rename_selection (FrWindow *window,
(renaming_dir ? _("_New folder name:") : _("_New file name:")),
utf8_old_name,
1024,
- "gtk-cancel",
+ _("_Cancel"),
_("_Rename"));
g_free (utf8_old_name);
@@ -8295,8 +8295,8 @@ fr_window_paste_selection (FrWindow *window,
_("_Destination folder:"),
utf8_old_path,
1024,
- "gtk-cancel",
- "gtk-paste");
+ _("_Cancel"),
+ _("_Paste"));
g_free (utf8_old_path);
if (utf8_path == NULL)
return;