[Xfce4-commits] [xfce/libxfce4ui] 01/01: dialogs: Use symbolic window-close icon
noreply at xfce.org
noreply at xfce.org
Wed Dec 4 10:08:51 CET 2019
This is an automated email from the git hooks/post-receive script.
o c h o s i p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository xfce/libxfce4ui.
commit 411cbc430ea7f10d756ac5bcbca5f8b8f96972f9
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date: Wed Dec 4 10:08:27 2019 +0100
dialogs: Use symbolic window-close icon
---
libxfce4ui/xfce-dialogs.c | 8 ++++----
tests/test-ui.c | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/libxfce4ui/xfce-dialogs.c b/libxfce4ui/xfce-dialogs.c
index bdc9341..0ffd6a2 100644
--- a/libxfce4ui/xfce-dialogs.c
+++ b/libxfce4ui/xfce-dialogs.c
@@ -359,7 +359,7 @@ xfce_dialog_show_info (GtkWindow *parent,
#if !GTK_CHECK_VERSION (3, 10, 0)
GTK_STOCK_CLOSE,
#else
- XFCE_BUTTON_TYPE_MIXED, "window-close", _("Close"),
+ XFCE_BUTTON_TYPE_MIXED, "window-close-symbolic", _("Close"),
#endif
GTK_RESPONSE_CLOSE, NULL);
@@ -402,7 +402,7 @@ xfce_dialog_show_warning (GtkWindow *parent,
#if !GTK_CHECK_VERSION (3, 10, 0)
GTK_STOCK_CLOSE,
#else
- XFCE_BUTTON_TYPE_MIXED, "window-close", _("Close"),
+ XFCE_BUTTON_TYPE_MIXED, "window-close-symbolic", _("Close"),
#endif
GTK_RESPONSE_CLOSE, NULL);
@@ -446,7 +446,7 @@ xfce_dialog_show_error (GtkWindow *parent,
#if !GTK_CHECK_VERSION (3, 10, 0)
GTK_STOCK_CLOSE,
#else
- XFCE_BUTTON_TYPE_MIXED, "window-close", _("Close"),
+ XFCE_BUTTON_TYPE_MIXED, "window-close-symbolic", _("Close"),
#endif
GTK_RESPONSE_CLOSE, NULL);
@@ -595,7 +595,7 @@ xfce_dialog_confirm_close_tabs (GtkWindow *parent,
secondary_text,
XFCE_BUTTON_TYPE_MIXED, "gtk-cancel", _("_Cancel"), GTK_RESPONSE_CANCEL,
XFCE_BUTTON_TYPE_MIXED, "application-exit", _("Close _Window"), GTK_RESPONSE_YES,
- XFCE_BUTTON_TYPE_MIXED, "window-close", _("Close T_ab"), GTK_RESPONSE_CLOSE,
+ XFCE_BUTTON_TYPE_MIXED, "window-close-symbolic", _("Close T_ab"), GTK_RESPONSE_CLOSE,
NULL);
if (show_confirm_box)
diff --git a/tests/test-ui.c b/tests/test-ui.c
index c50bd68..d8b4692 100644
--- a/tests/test-ui.c
+++ b/tests/test-ui.c
@@ -242,7 +242,7 @@ show_xfce_titled_dialog_new_with_mixed_buttons (GtkButton *button,
dialog_gtk3 = xfce_titled_dialog_new_with_mixed_buttons ("Settings Editor (Gtk3)", NULL,
GTK_DIALOG_DESTROY_WITH_PARENT,
"help-browser", "Help", GTK_RESPONSE_HELP,
- "window-close", "Close", GTK_RESPONSE_OK,
+ "window-close-symbolic", "Close", GTK_RESPONSE_OK,
"weather-snow", "Snow!", GTK_RESPONSE_APPLY,
"", "no icon", GTK_RESPONSE_CANCEL,
NULL);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list