2011-11-07 [pawel] 3.7.10cvs77
[claws.git] / src / textview.h
index 3c5e15d77d81c3fe0b65bb4c088692345a16d48f..4d3432d1a15aeefaf639b2220e811ba056e90de5 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,8 +25,7 @@
 #endif
 
 #include <glib.h>
-#include <gtk/gtkwidget.h>
-#include <gtk/gtktextiter.h>
+#include <gtk/gtk.h>
 
 typedef struct _TextView       TextView;
 typedef struct _ClickableText  ClickableText;
@@ -57,6 +56,7 @@ struct _TextView
        GtkWidget *scrolledwin;
        GtkWidget *text;
 
+       GtkUIManager *ui_manager;
        GtkActionGroup *link_action_group;
        GtkWidget *link_popup_menu;
        GtkActionGroup *mail_action_group;
@@ -108,6 +108,8 @@ void textview_scroll_one_line       (TextView       *textview,
                                 gboolean        up);
 gboolean textview_scroll_page  (TextView       *textview,
                                 gboolean        up);
+void textview_scroll_max       (TextView       *textview,
+                                gboolean        up);
 
 gboolean textview_search_string                        (TextView       *textview,
                                                 const gchar    *str,