Mercurial > pidgin.yaz
diff gtk/gtklog.c @ 14339:ba1fd54bb157
[gaim-migrate @ 17036]
GaimGtkLogViewer is only used within gtklog.c, so let's hide it.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Sat, 26 Aug 2006 06:26:09 +0000 |
parents | 2ec879353592 |
children | e908bff64af5 |
line wrap: on
line diff
--- a/gtk/gtklog.c Sat Aug 26 06:25:49 2006 +0000 +++ b/gtk/gtklog.c Sat Aug 26 06:26:09 2006 +0000 @@ -34,6 +34,25 @@ #include "notify.h" #include "util.h" +typedef struct _GaimGtkLogViewer GaimGtkLogViewer; + +/** + * A GTK+ Log Viewer. You can look at logs with it. + */ +struct _GaimGtkLogViewer { + GList *logs; /**< The list of logs viewed in this viewer */ + + GtkWidget *window; /**< The viewer's window */ + GtkTreeStore *treestore; /**< The treestore containing said logs */ + GtkWidget *treeview; /**< The treeview representing said treestore */ + GtkWidget *imhtml; /**< The imhtml to display said logs */ + GtkWidget *entry; /**< The search entry, in which search terms + * are entered */ + GaimLogReadFlags flags; /**< The most recently used log flags */ + char *search; /**< The string currently being searched for */ + GtkWidget *label; /**< The label at the top of the log viewer */ +}; + static GHashTable *log_viewers = NULL; static void populate_log_tree(GaimGtkLogViewer *lv); static GaimGtkLogViewer *syslog_viewer = NULL;