Make it so Enter always opens the message in another window.

2001-07-25  Peter Williams  <peterw@ximian.com>

	* folder-browser.c (etree_key): Make it so Enter always opens the message
	in another window.

svn path=/trunk/; revision=11409
This commit is contained in:
Peter Williams
2001-07-25 19:40:32 +00:00
committed by Peter Williams
parent 56d33b7e47
commit f0e17938dc
2 changed files with 6 additions and 6 deletions

View File

@ -1,3 +1,8 @@
2001-07-25 Peter Williams <peterw@ximian.com>
* folder-browser.c (etree_key): Make it so Enter always opens the message
in another window.
2001-07-25 Peter Williams <peterw@ximian.com>
* mail-mt.c (mail_get_password): Now take a CamelService parameter

View File

@ -1584,12 +1584,7 @@ etree_key (ETree *tree, int row, ETreePath path, int col, GdkEvent *ev, FolderBr
case GDK_Return:
case GDK_KP_Enter:
case GDK_ISO_Enter:
if (fb->preview_shown)
open_msg (NULL, fb);
else if (fb->uicomp)
bonobo_ui_component_set_prop (fb->uicomp,
"/commands/ViewPreview",
"state", "1", NULL);
open_msg (NULL, fb);
break;
default:
return on_key_press ((GtkWidget *)tree, (GdkEventKey *)ev, fb);