[Xfce4-commits] [xfce/xfce4-settings] 17/18: display: Improve profile-delete dialog

noreply at xfce.org noreply at xfce.org
Thu Apr 4 23:03:15 CEST 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/xfce4-settings.

commit d8ec0bcbd7f181debd91fb8eec79f581f3e067bf
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date:   Thu Apr 4 22:59:06 2019 +0200

    display: Improve profile-delete dialog
---
 dialogs/display-settings/main.c | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/dialogs/display-settings/main.c b/dialogs/display-settings/main.c
index 9dce0b1..83fcf5f 100644
--- a/dialogs/display-settings/main.c
+++ b/dialogs/display-settings/main.c
@@ -1495,7 +1495,7 @@ display_settings_dialog_response (GtkDialog  *dialog,
                 gtk_window_set_modal (GTK_WINDOW (profile_changed_dialog), TRUE);
 
                 label = gtk_builder_get_object (profile_changed_builder, "header");
-                str = g_strdup_printf(_("Update changed display profile '%s'"), profile_name);
+                str = g_strdup_printf(_("Update changed display profile '%s'?"), profile_name);
                 markup = g_markup_printf_escaped (format, str);
                 gtk_label_set_markup (GTK_LABEL (label), markup);
 
@@ -1762,20 +1762,20 @@ display_settings_profile_delete (GtkWidget *widget, GtkBuilder *builder)
         gchar *profile_name;
         gchar *profile_hash;
         gint   response;
-        gchar *secondary_message;
+        gchar *primary_message;
 
         gtk_tree_model_get (model, &iter, COLUMN_NAME, &profile_name, COLUMN_HASH, &profile_hash, -1);
-        secondary_message = g_strdup_printf (_("Do you really want to delete the profile '%s'?"), profile_name);
+        primary_message = g_strdup_printf (_("Do you want to delete the display profile '%s'?"), profile_name);
 
-        response = xfce_message_dialog (NULL, _("Question"),
-                                        "dialog-question",
-                                        _("Delete display profile"),
-                                        secondary_message,
+        response = xfce_message_dialog (NULL, _("Delete Profile"),
+                                        "user-trash",
+                                        primary_message,
+                                        _("Once a display profile is deleted it cannot be restored."),
                                         _("Cancel"), GTK_RESPONSE_NO,
                                         _("Delete"), GTK_RESPONSE_YES,
                                         NULL);
 
-        g_free (secondary_message);
+        g_free (primary_message);
 
         if (response == GTK_RESPONSE_YES)
         {

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list