[Xfce4-commits] [xfce/libxfce4ui] 01/01: Add title to xfce_dialog_confirm_close_tabs
noreply at xfce.org
noreply at xfce.org
Sun Apr 5 22:01:39 CEST 2020
This is an automated email from the git hooks/post-receive script.
a n d r e 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 d3ab282d80b8ee3ca7a47ef2960d7cdd1c29146e
Author: Andre Miranda <andreldm at xfce.org>
Date: Sun Apr 5 17:00:49 2020 -0300
Add title to xfce_dialog_confirm_close_tabs
And mark it as since 4.16
---
libxfce4ui/xfce-dialogs.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/libxfce4ui/xfce-dialogs.c b/libxfce4ui/xfce-dialogs.c
index a221849..cd505da 100644
--- a/libxfce4ui/xfce-dialogs.c
+++ b/libxfce4ui/xfce-dialogs.c
@@ -498,6 +498,8 @@ xfce_dialog_confirm (GtkWindow *parent,
* Return value: #GTK_RESPONSE_CANCEL if cancelled, #GTK_RESPONSE_YES if the user
* wants to close the window, #GTK_RESPONSE_CLOSE if the user wants to close the tab,
* and #GTK_RESPONSE_NONE for an error.
+ *
+ * Since: 4.16
*/
gint
xfce_dialog_confirm_close_tabs (GtkWindow *parent,
@@ -523,7 +525,8 @@ xfce_dialog_confirm_close_tabs (GtkWindow *parent,
warning_icon = "dialog-warning";
- dialog = xfce_message_dialog_new (parent, NULL,
+ dialog = xfce_message_dialog_new (parent,
+ _("Warning"),
warning_icon,
primary_text,
secondary_text,
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list