summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBalló György <[email protected]>2026-10-13 13:11:07 +0200
committerVictor Kareh <[email protected]>2026-10-19 12:31:00 -0400
commitbf73b8a83b34c308f854f996d3685d10ccf93157 (patch)
tree21fae02d28f63e619f669755936b6817041755af
parenta4c2470f8f39bbc435ea058f85071f8369880345 (diff)
downloadpluma-bf73b8a83b34c308f854f996d3685d10ccf93157.tar.bz2
pluma-bf73b8a83b34c308f854f996d3685d10ccf93157.tar.xz
Use standard icon names
The stock icons are deprecated since GTK 3.10. This fixes the missing icons with recent GTK3 versions.
-rw-r--r--pluma/pluma-close-button.c2
-rw-r--r--pluma/pluma-io-error-message-area.c2
-rw-r--r--pluma/pluma-tab.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/pluma/pluma-close-button.c b/pluma/pluma-close-button.c
index 16a5de2e..cb1b5830 100644
--- a/pluma/pluma-close-button.c
+++ b/pluma/pluma-close-button.c
@@ -41,7 +41,7 @@ pluma_close_button_init (PlumaCloseButton *button)
" padding: 0;\n"
"}";
- image = gtk_image_new_from_icon_name ("gtk-close",
+ image = gtk_image_new_from_icon_name ("window-close",
GTK_ICON_SIZE_MENU);
gtk_widget_show (image);
diff --git a/pluma/pluma-io-error-message-area.c b/pluma/pluma-io-error-message-area.c
index f1fd60ff..71b955c6 100644
--- a/pluma/pluma-io-error-message-area.c
+++ b/pluma/pluma-io-error-message-area.c
@@ -1203,7 +1203,7 @@ pluma_externally_modified_message_area_new (const gchar *uri,
GTK_MESSAGE_WARNING);
set_message_area_text_and_icon (message_area,
- "gtk-dialog-warning",
+ "dialog-warning",
primary_text,
secondary_text);
diff --git a/pluma/pluma-tab.c b/pluma/pluma-tab.c
index 832556b8..4da2c104 100644
--- a/pluma/pluma-tab.c
+++ b/pluma/pluma-tab.c
@@ -1967,7 +1967,7 @@ _pluma_tab_get_icon (PlumaTab *tab)
case PLUMA_TAB_STATE_PRINT_PREVIEWING:
case PLUMA_TAB_STATE_SHOWING_PRINT_PREVIEW:
pixbuf = get_stock_icon (theme,
- "gtk-print-preview",
+ "document-print-preview",
icon_size);
break;