[Xfce4-commits] [xfce/thunar] 01/07: Drop gtk_dialog_set_alternative_button_order

noreply at xfce.org noreply at xfce.org
Sat Jun 2 18:35:46 CEST 2018


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/thunar.

commit 9d3cca44ae679f8a1c7fa8c240fa498db4d21064
Author: Andre Miranda <andreldm at xfce.org>
Date:   Sat Jun 2 12:38:25 2018 -0300

    Drop gtk_dialog_set_alternative_button_order
    
    It's deprecated and only makes sense when targeting
    platforms that order buttons differently, i.e. Windows.
---
 thunar/thunar-dialogs.c           | 7 -------
 thunar/thunar-properties-dialog.c | 1 -
 2 files changed, 8 deletions(-)

diff --git a/thunar/thunar-dialogs.c b/thunar/thunar-dialogs.c
index 296ecf8..c152928 100644
--- a/thunar/thunar-dialogs.c
+++ b/thunar/thunar-dialogs.c
@@ -555,13 +555,6 @@ thunar_dialogs_show_job_ask_replace (GtkWindow  *parent,
                                         _("Replace _All"), THUNAR_JOB_RESPONSE_YES_ALL,
                                         _("_Replace"), THUNAR_JOB_RESPONSE_YES,
                                         NULL);
-  gtk_dialog_set_alternative_button_order (GTK_DIALOG (dialog),
-                                           THUNAR_JOB_RESPONSE_YES,
-                                           THUNAR_JOB_RESPONSE_YES_ALL,
-                                           THUNAR_JOB_RESPONSE_NO,
-                                           THUNAR_JOB_RESPONSE_NO_ALL,
-                                           GTK_RESPONSE_CANCEL,
-                                           -1);
   gtk_dialog_set_default_response (GTK_DIALOG (dialog), THUNAR_JOB_RESPONSE_YES);
 
   /* determine the icon factory to use */
diff --git a/thunar/thunar-properties-dialog.c b/thunar/thunar-properties-dialog.c
index 0d53f82..b2da0a8 100644
--- a/thunar/thunar-properties-dialog.c
+++ b/thunar/thunar-properties-dialog.c
@@ -819,7 +819,6 @@ thunar_properties_dialog_icon_button_clicked (GtkWidget              *button,
                                          _("_Cancel"), GTK_RESPONSE_CANCEL,
                                          _("_OK"), GTK_RESPONSE_ACCEPT,
                                          NULL);
-  gtk_dialog_set_alternative_button_order (GTK_DIALOG (chooser), GTK_RESPONSE_ACCEPT, GTK_RESPONSE_CANCEL, -1);
   gtk_dialog_set_default_response (GTK_DIALOG (chooser), GTK_RESPONSE_ACCEPT);
   g_free (title);
 

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


More information about the Xfce4-commits mailing list