159,160d158
< static void open_message_cb(GtkWidget * widget, gpointer data);
< static void open_unread_message_cb(GtkWidget * widget, gpointer data);
567,584d564
< #define MENU_MESSAGE_OPEN 20
<     GNOMEUIINFO_SEPARATOR,
<     /* O */
<     {
<         GNOME_APP_UI_ITEM, N_("_Open"), 
<         N_("Open the current message"),
<         open_message_cb, NULL, NULL, GNOME_APP_PIXMAP_STOCK,
<         GNOME_STOCK_MENU_OPEN, 'O', 0, NULL
<     },
< #define MENU_MESSAGE_OPEN_UNREAD 21
<     /* Space */
<     /* Should be Ctrl + N ?*/
<     {
<         GNOME_APP_UI_ITEM, N_("Open next unread"), 
<         N_("Open next unread message"),
<         open_unread_message_cb, NULL, NULL, GNOME_APP_PIXMAP_STOCK,
<         GNOME_STOCK_MENU_OPEN, ' ', 0, NULL
<     },
799,800d778
<         { BALSA_PIXMAP_CONTINUE,         open_message_cb },      /* FIXME: BALSA_PIXMAP_? */
<         { BALSA_PIXMAP_CONTINUE,         open_unread_message_cb },
1073,1074d1050
<         &message_menu[MENU_MESSAGE_OPEN],
<         &message_menu[MENU_MESSAGE_OPEN_UNREAD], /* Should depend on unread messages */
2181,2224d2156
< static void
< open_message_cb(GtkWidget * widget, gpointer data)
< {
<     BalsaIndex *idx;
<     GtkCList *list;
<     LibBalsaMessage *msg;
< 
<     idx=BALSA_INDEX(
< 	    balsa_window_find_current_index(balsa_app.main_window));
< 
<     list=GTK_CLIST(idx->ctree);
<     if(g_list_length(list->selection) != 1)
< 	return;
< 
<     msg=LIBBALSA_MESSAGE(gtk_ctree_node_get_row_data(GTK_CTREE(list),
< 						     list->selection->data));
<     if(!msg)
< 	return;
< 
<     message_window_new(msg);
< }
< 
< static void
< open_unread_message_cb(GtkWidget * widget, gpointer data)
< {
<     BalsaIndex *idx;
<     GtkCList *list;
<     LibBalsaMessage *msg;
< 
<     balsa_index_select_next_unread(
< 	idx=BALSA_INDEX(
< 	    balsa_window_find_current_index(balsa_app.main_window)));
< 
<     list=GTK_CLIST(idx->ctree);
<     if(g_list_length(list->selection) != 1)
< 	return;
< 
<     msg=LIBBALSA_MESSAGE(gtk_ctree_node_get_row_data(GTK_CTREE(list),
< 						     list->selection->data));
<     if(!msg)
< 	return;
< 
<     message_window_new(msg);
< }
