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 2d1bbe5737677a268c4badb8955d20e0639f7d23 Author: Andre Miranda <andre...@xfce.org> Date: Thu Apr 2 22:08:11 2020 -0300 Support libxfce4ui XfceTitledDialog new API (Bug #16616) --- thunar/thunar-preferences-dialog.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/thunar/thunar-preferences-dialog.c b/thunar/thunar-preferences-dialog.c index f32a322..1d2e48f 100644 --- a/thunar/thunar-preferences-dialog.c +++ b/thunar/thunar-preferences-dialog.c @@ -249,18 +249,30 @@ thunar_preferences_dialog_init (ThunarPreferencesDialog *dialog) gtk_window_set_resizable (GTK_WINDOW (dialog), FALSE); gtk_window_set_title (GTK_WINDOW (dialog), _("File Manager Preferences")); +#if LIBXFCE4UI_CHECK_VERSION (4, 15, 1) + xfce_titled_dialog_create_action_area (XFCE_TITLED_DIALOG (dialog)); +#endif + /* add the "Close" button */ button = gtk_button_new_with_mnemonic (_("_Close")); image = gtk_image_new_from_icon_name ("window-close", GTK_ICON_SIZE_BUTTON); gtk_button_set_image (GTK_BUTTON (button), image); +#if LIBXFCE4UI_CHECK_VERSION (4, 15, 1) + xfce_titled_dialog_add_action_widget (XFCE_TITLED_DIALOG (dialog), button, GTK_RESPONSE_CLOSE); +#else gtk_dialog_add_action_widget (GTK_DIALOG (dialog), button, GTK_RESPONSE_CLOSE); +#endif gtk_widget_show (button); /* add the "Help" button */ button = gtk_button_new_with_mnemonic (_("_Help")); image = gtk_image_new_from_icon_name ("help-browser", GTK_ICON_SIZE_BUTTON); gtk_button_set_image (GTK_BUTTON (button), image); +#if LIBXFCE4UI_CHECK_VERSION (4, 15, 1) + xfce_titled_dialog_add_action_widget (XFCE_TITLED_DIALOG (dialog), button, GTK_RESPONSE_HELP); +#else gtk_dialog_add_action_widget (GTK_DIALOG (dialog), button, GTK_RESPONSE_HELP); +#endif gtk_widget_show (button); notebook = gtk_notebook_new (); -- To stop receiving notification emails like this one, please contact the administrator of this repository. _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits