summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-clipboard.c
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2018-01-27 22:04:52 +0100
committerraveit65 <[email protected]>2018-02-09 14:14:02 +0100
commitbf3da8eea7dad06618c84375adbb4952c74f6987 (patch)
treedd95b9a475316ba68cecd035129790eea6a2910a /libcaja-private/caja-clipboard.c
parentd8579ead4a13e66b03d2f17f3240f724008cc555 (diff)
downloadcaja-bf3da8eea7dad06618c84375adbb4952c74f6987.tar.bz2
caja-bf3da8eea7dad06618c84375adbb4952c74f6987.tar.xz
avoid deprecated GtkStock
Diffstat (limited to 'libcaja-private/caja-clipboard.c')
-rw-r--r--libcaja-private/caja-clipboard.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/libcaja-private/caja-clipboard.c b/libcaja-private/caja-clipboard.c
index 87d390be..88f2a808 100644
--- a/libcaja-private/caja-clipboard.c
+++ b/libcaja-private/caja-clipboard.c
@@ -451,22 +451,22 @@ target_data_free (TargetCallbackData *target_data)
static const GtkActionEntry clipboard_entries[] =
{
- /* name, stock id */ { "Cut", GTK_STOCK_CUT,
- /* label, accelerator */ NULL, NULL,
+ /* name, icon name */ { "Cut", "edit-cut",
+ /* label, accelerator */ N_("Cu_t"), NULL,
/* tooltip */ N_("Cut the selected text to the clipboard"),
G_CALLBACK (action_cut_callback)
},
- /* name, stock id */ { "Copy", GTK_STOCK_COPY,
- /* label, accelerator */ NULL, NULL,
+ /* name, icon name */ { "Copy", "edit-copy",
+ /* label, accelerator */ N_("_Copy"), NULL,
/* tooltip */ N_("Copy the selected text to the clipboard"),
G_CALLBACK (action_copy_callback)
},
- /* name, stock id */ { "Paste", GTK_STOCK_PASTE,
- /* label, accelerator */ NULL, NULL,
+ /* name, icon name */ { "Paste", "edit-paste",
+ /* label, accelerator */ N_("_Paste"), NULL,
/* tooltip */ N_("Paste the text stored on the clipboard"),
G_CALLBACK (action_paste_callback)
},
- /* name, stock id */ { "Select All", NULL,
+ /* name, icon name */ { "Select All", NULL,
/* label, accelerator */ N_("Select _All"), "<control>A",
/* tooltip */ N_("Select all the text in a text field"),
G_CALLBACK (action_select_all_callback)