diff options
author | Pablo Barciela <[email protected]> | 2018-01-27 22:04:52 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-02-09 14:14:02 +0100 |
commit | bf3da8eea7dad06618c84375adbb4952c74f6987 (patch) | |
tree | dd95b9a475316ba68cecd035129790eea6a2910a /libcaja-private/caja-clipboard.c | |
parent | d8579ead4a13e66b03d2f17f3240f724008cc555 (diff) | |
download | caja-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.c | 14 |
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) |