comparison 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
comparison
equal deleted inserted replaced
14338:2ec879353592 14339:ba1fd54bb157
32 #include "gtkutils.h" 32 #include "gtkutils.h"
33 #include "log.h" 33 #include "log.h"
34 #include "notify.h" 34 #include "notify.h"
35 #include "util.h" 35 #include "util.h"
36 36
37 typedef struct _GaimGtkLogViewer GaimGtkLogViewer;
38
39 /**
40 * A GTK+ Log Viewer. You can look at logs with it.
41 */
42 struct _GaimGtkLogViewer {
43 GList *logs; /**< The list of logs viewed in this viewer */
44
45 GtkWidget *window; /**< The viewer's window */
46 GtkTreeStore *treestore; /**< The treestore containing said logs */
47 GtkWidget *treeview; /**< The treeview representing said treestore */
48 GtkWidget *imhtml; /**< The imhtml to display said logs */
49 GtkWidget *entry; /**< The search entry, in which search terms
50 * are entered */
51 GaimLogReadFlags flags; /**< The most recently used log flags */
52 char *search; /**< The string currently being searched for */
53 GtkWidget *label; /**< The label at the top of the log viewer */
54 };
55
37 static GHashTable *log_viewers = NULL; 56 static GHashTable *log_viewers = NULL;
38 static void populate_log_tree(GaimGtkLogViewer *lv); 57 static void populate_log_tree(GaimGtkLogViewer *lv);
39 static GaimGtkLogViewer *syslog_viewer = NULL; 58 static GaimGtkLogViewer *syslog_viewer = NULL;
40 59
41 struct log_viewer_hash_t { 60 struct log_viewer_hash_t {