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 /eel | |
parent | d8579ead4a13e66b03d2f17f3240f724008cc555 (diff) | |
download | caja-bf3da8eea7dad06618c84375adbb4952c74f6987.tar.bz2 caja-bf3da8eea7dad06618c84375adbb4952c74f6987.tar.xz |
avoid deprecated GtkStock
Diffstat (limited to 'eel')
-rw-r--r-- | eel/eel-editable-label.c | 6 | ||||
-rw-r--r-- | eel/eel-stock-dialogs.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/eel/eel-editable-label.c b/eel/eel-editable-label.c index 7cdbc491..db01b771 100644 --- a/eel/eel-editable-label.c +++ b/eel/eel-editable-label.c @@ -3105,11 +3105,11 @@ popup_targets_received (GtkClipboard *clipboard, clipboard_contains_text = gtk_selection_data_targets_include_text (data); - append_action_signal (label, label->popup_menu, GTK_STOCK_CUT, "cut_clipboard", + append_action_signal (label, label->popup_menu, "gtk-cut", "cut_clipboard", have_selection); - append_action_signal (label, label->popup_menu, GTK_STOCK_COPY, "copy_clipboard", + append_action_signal (label, label->popup_menu, "gtk-copy", "copy_clipboard", have_selection); - append_action_signal (label, label->popup_menu, GTK_STOCK_PASTE, "paste_clipboard", + append_action_signal (label, label->popup_menu, "gtk-paste", "paste_clipboard", clipboard_contains_text); menuitem = gtk_menu_item_new_with_label (_("Select All")); diff --git a/eel/eel-stock-dialogs.c b/eel/eel-stock-dialogs.c index 1d6d0802..ba5f20fc 100644 --- a/eel/eel-stock-dialogs.c +++ b/eel/eel-stock-dialogs.c @@ -201,7 +201,7 @@ timed_wait_callback (gpointer callback_data) wait = callback_data; /* Put up the timed wait window. */ - button = wait->cancel_callback != NULL ? GTK_STOCK_CANCEL : GTK_STOCK_OK; + button = wait->cancel_callback != NULL ? "gtk-cancel" : "gtk-ok"; dialog = GTK_DIALOG (gtk_message_dialog_new (wait->parent_window, 0, GTK_MESSAGE_INFO, |