2012-02-02 [pawel] 3.8.0cvs21
[claws.git] / src / messageview.h
index 96e31a7ec692d522cf62f8454678d49ccf80c993..2152fc449a06e93392411c80fb40efc929eee63e 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2007 Hiroyuki Yamamoto and the Claws Mail team
+ * Copyright (C) 1999-2011 Hiroyuki Yamamoto and the Claws Mail team
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -25,7 +25,7 @@
 #endif
 
 #include <glib.h>
-#include <gtk/gtkwidget.h>
+#include <gtk/gtk.h>
 
 typedef struct _MessageView    MessageView;
 
@@ -38,6 +38,9 @@ typedef struct _MessageView   MessageView;
 #include "procmime.h"
 #include "toolbar.h"
 
+#define MESSAGE_VIEW_SHOW_DONE_HOOKLIST "message_view_show_done_hooklist"
+
+
 struct _MessageView
 {
        GtkWidget *vbox;
@@ -72,6 +75,7 @@ struct _MessageView
        gboolean all_headers;
 
        gint msginfo_update_callback_id;
+       gint msginfo_moved_callback_id;
        gboolean updating;
        gboolean deferred_destroy;
        
@@ -115,13 +119,11 @@ gchar *messageview_get_selection          (MessageView    *msgview);
 void messageview_set_menu_sensitive            (MessageView    *msgview);
 void messageview_learn                         (MessageView    *msgview,
                                                 gboolean is_spam);
-#if defined(USE_GNOMEPRINT) || GTK_CHECK_VERSION(2,10,0)
 void messageview_print                         (MsgInfo        *msginfo,
                                                 gboolean        all_headers,
                                                 gint            sel_start,
                                                 gint            sel_end,
                                                 gint            partnum);
-#endif
 void messageview_list_urls                     (MessageView    *msgview);
 void messageview_show_partial_display          (MessageView    *msgview, 
                                                 MsgInfo        *msginfo,