This is an automated email from the git hooks/post-receive script. f2404 pushed a commit to branch master in repository apps/xfce4-terminal.
commit 6eae5c7cd2ebfd8ba1d3d105e9988a4903984692 Author: Igor <[email protected]> Date: Fri Jul 15 13:22:10 2016 +0300 Remove Help button and add icon to Close button in Set Title dialog --- terminal/terminal-window.c | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/terminal/terminal-window.c b/terminal/terminal-window.c index c945b98..c7bf575 100644 --- a/terminal/terminal-window.c +++ b/terminal/terminal-window.c @@ -1544,13 +1544,7 @@ title_dialog_response (GtkWidget *dialog, gint response, TerminalWindow *window) { - /* check if we should open the user manual */ - if (response == GTK_RESPONSE_HELP) - { - /* open the "Set Title" paragraph in the "Usage" section */ - xfce_dialog_show_help (GTK_WINDOW (dialog), "terminal", "usage", NULL); - } - else + if (response == GTK_RESPONSE_CLOSE) { /* need for hiding on focus */ if (window->drop_down) @@ -1580,6 +1574,7 @@ terminal_window_action_set_title (GtkAction *action, { AtkObject *object; GtkWidget *dialog; + GtkWidget *button; GtkWidget *box; GtkWidget *label; GtkWidget *entry; @@ -1591,9 +1586,12 @@ terminal_window_action_set_title (GtkAction *action, dialog = gtk_dialog_new_with_buttons (Q_("Window Title|Set Title"), GTK_WINDOW (window), GTK_DIALOG_DESTROY_WITH_PARENT, - _("_Help"), GTK_RESPONSE_HELP, - _("_Close"), GTK_RESPONSE_CLOSE, + NULL, NULL); + + button = xfce_gtk_button_new_mixed ("window-close", _("_Close")); + gtk_widget_set_can_default (button, TRUE); + gtk_dialog_add_action_widget (GTK_DIALOG (dialog), button, GTK_RESPONSE_CLOSE); gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_CLOSE); box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 12); -- To stop receiving notification emails like this one, please contact the administrator of this repository. _______________________________________________ Xfce4-commits mailing list [email protected] https://mail.xfce.org/mailman/listinfo/xfce4-commits
