diff options
author | Dan Winship <danw@src.gnome.org> | 2002-03-28 04:36:28 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2002-03-28 04:36:28 +0800 |
commit | 5165918a9f49e4dd2e3f7d203035f8b29c2f9b05 (patch) | |
tree | 369bda73cc271aa0aab5c36004f405ba9a4f5827 | |
parent | f829289c850f79cd657d60e6b4bc5f9cd6aa0a70 (diff) | |
download | gsoc2013-evolution-5165918a9f49e4dd2e3f7d203035f8b29c2f9b05.tar.gz gsoc2013-evolution-5165918a9f49e4dd2e3f7d203035f8b29c2f9b05.tar.zst gsoc2013-evolution-5165918a9f49e4dd2e3f7d203035f8b29c2f9b05.zip |
unset GTK_CAN_FOCUS on the button so that it can't grab focus when you
* mail-display.c (do_attachment_header): unset GTK_CAN_FOCUS on
the button so that it can't grab focus when you click it.
(do_signature): Likewise on the signature button. #3904
svn path=/trunk/; revision=16261
-rw-r--r-- | mail/ChangeLog | 6 | ||||
-rw-r--r-- | mail/mail-display.c | 3 |
2 files changed, 9 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index bbfb8ae06f..818905faf1 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,9 @@ +2002-03-27 Dan Winship <danw@ximian.com> + + * mail-display.c (do_attachment_header): unset GTK_CAN_FOCUS on + the button so that it can't grab focus when you click it. + (do_signature): Likewise on the signature button. #3904 + 2002-03-26 Jeffrey Stedfast <fejj@ximian.com> Sync with yet-another-mail-config branch. diff --git a/mail/mail-display.c b/mail/mail-display.c index 81510d0800..a98f5418ba 100644 --- a/mail/mail-display.c +++ b/mail/mail-display.c @@ -913,6 +913,7 @@ do_attachment_header (GtkHTML *html, GtkHTMLEmbedded *eb, mainbox = gtk_hbox_new (FALSE, 0); button = gtk_button_new (); + GTK_WIDGET_UNSET_FLAGS (button, GTK_CAN_FOCUS); gtk_object_set_data (GTK_OBJECT (button), "MailDisplay", md); gtk_signal_connect (GTK_OBJECT (button), "clicked", @@ -945,6 +946,7 @@ do_attachment_header (GtkHTML *html, GtkHTMLEmbedded *eb, gtk_container_add (GTK_CONTAINER (button), hbox); popup = gtk_button_new (); + GTK_WIDGET_UNSET_FLAGS (popup, GTK_CAN_FOCUS); gtk_container_add (GTK_CONTAINER (popup), gtk_arrow_new (GTK_ARROW_DOWN, GTK_SHADOW_ETCHED_IN)); @@ -1050,6 +1052,7 @@ do_signature (GtkHTML *html, GtkHTMLEmbedded *eb, pbl, NULL); button = gtk_button_new (); + GTK_WIDGET_UNSET_FLAGS (button, GTK_CAN_FOCUS); gtk_object_set_data (GTK_OBJECT (button), "MailDisplay", md); gtk_signal_connect (GTK_OBJECT (button), "clicked", GTK_SIGNAL_FUNC (button_press), part); |