Re: [evolution-patches] Patch for the mailer's password dialog



yea, looks good.

On Fri, 2003-05-02 at 12:55, Ettore Perazzoli wrote:
> One-liner to set the default button.
> 
> -- Ettore
> 
> ______________________________________________________________________
> Index: ChangeLog
> ===================================================================
> RCS file: /cvs/gnome/evolution/mail/ChangeLog,v
> retrieving revision 1.2712
> diff -u -p -r1.2712 ChangeLog
> --- ChangeLog	1 May 2003 02:19:45 -0000	1.2712
> +++ ChangeLog	2 May 2003 16:51:29 -0000
> @@ -1,3 +1,8 @@
> +2003-05-02  Ettore Perazzoli  <ettore ximian com>
> +
> +	* mail-session.c (request_password): Set OK as the default
> +	response for the password_dialog.
> +
>  2003-04-30  Not Zed  <NotZed Ximian com>
>  
>  	** See bug #41748
> Index: mail-session.c
> ===================================================================
> RCS file: /cvs/gnome/evolution/mail/mail-session.c,v
> retrieving revision 1.64
> diff -u -p -r1.64 mail-session.c
> --- mail-session.c	28 Apr 2003 18:04:09 -0000	1.64
> +++ mail-session.c	2 May 2003 16:51:29 -0000
> @@ -262,6 +262,7 @@ request_password (struct _pass_msg *m)
>  	password_dialog = (GtkDialog *) gtk_message_dialog_new (NULL, 0, GTK_MESSAGE_QUESTION,
>  								GTK_BUTTONS_OK_CANCEL, "%s", m->prompt);
>  	gtk_window_set_title (GTK_WINDOW (password_dialog), title);
> +	gtk_dialog_set_default_response (password_dialog, GTK_RESPONSE_OK);
>  	g_free (title);
>  	
>  	gtk_container_set_border_width ((GtkContainer *) password_dialog, 6);
-- 
Jeffrey Stedfast
Evolution Hacker - Ximian, Inc.
fejj ximian com  - www.ximian.com




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]