From bf3da8eea7dad06618c84375adbb4952c74f6987 Mon Sep 17 00:00:00 2001 From: Pablo Barciela Date: Sat, 27 Jan 2018 22:04:52 +0100 Subject: avoid deprecated GtkStock --- eel/eel-editable-label.c | 6 +++--- eel/eel-stock-dialogs.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'eel') 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, -- cgit v1.2.1