All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Bolle <pebolle@tiscali.nl>
To: "Leonid V. Fedorenchik" <leonidsbox@gmail.com>
Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] gconf: Unify exit dialog with the one from qconf
Date: Wed, 27 May 2015 10:20:41 +0200	[thread overview]
Message-ID: <1432714841.27695.250.camel@x220> (raw)
In-Reply-To: <1432237998-30330-1-git-send-email-leonidsbox@gmail.com>

[Yann disappeared, but you couldn't know that.]

On Thu, 2015-05-21 at 22:53 +0300, Leonid V. Fedorenchik wrote:
> Make exit dialog more user-friendly and, at the same time, make it
> similar to the one from qconf.

Could you please describe, in the commit explanation, the dialog before
and after this change. Now we have to fire up gconf and qconf to get an
idea of this proposal. (I use neither. I don't know whether these
front-ends are used much.)

> Signed-off-by: Leonid V. Fedorenchik <leonidsbox@gmail.com>
> ---
>  scripts/kconfig/gconf.c | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)
> 
> diff --git a/scripts/kconfig/gconf.c b/scripts/kconfig/gconf.c
> index 26d208b..9348c9f 100644
> --- a/scripts/kconfig/gconf.c
> +++ b/scripts/kconfig/gconf.c
> @@ -422,21 +422,21 @@ gboolean on_window1_delete_event(GtkWidget * widget, GdkEvent * event,
>  	if (!conf_get_changed())
>  		return FALSE;
>  
> -	dialog = gtk_dialog_new_with_buttons(_("Warning !"),
> +	dialog = gtk_dialog_new_with_buttons(_("gconf"),
>  					     GTK_WINDOW(main_wnd),
>  					     (GtkDialogFlags)
>  					     (GTK_DIALOG_MODAL |
>  					      GTK_DIALOG_DESTROY_WITH_PARENT),
> -					     GTK_STOCK_OK,
> +					     _("Save Changes"),
>  					     GTK_RESPONSE_YES,
> -					     GTK_STOCK_NO,
> +					     _("Discard Changes"),
>  					     GTK_RESPONSE_NO,
> -					     GTK_STOCK_CANCEL,
> +					     _("Cancel Exit"),
>  					     GTK_RESPONSE_CANCEL, NULL);
>  	gtk_dialog_set_default_response(GTK_DIALOG(dialog),
>  					GTK_RESPONSE_CANCEL);
>  
> -	label = gtk_label_new(_("\nSave configuration ?\n"));
> +	label = gtk_label_new(_("\nSave configuration?\n"));
>  	gtk_container_add(GTK_CONTAINER(GTK_DIALOG(dialog)->vbox), label);
>  	gtk_widget_show(label);

Thanks,


Paul Bolle


      reply	other threads:[~2015-05-27  8:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-21 19:53 [PATCH] gconf: Unify exit dialog with the one from qconf Leonid V. Fedorenchik
2015-05-27  8:20 ` Paul Bolle [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1432714841.27695.250.camel@x220 \
    --to=pebolle@tiscali.nl \
    --cc=leonidsbox@gmail.com \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.