Mercurial > pidgin.yaz
comparison gtk/gtklog.c @ 14799:e908bff64af5
[gaim-migrate @ 17564]
Revert the changes from 17036. The log-displaying signal has a GaimGtkLogViewer argument, and gaim-encryption uses it. Accessor methods would be another way to solve this, but I don't really want to risk breaking things more.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Mon, 23 Oct 2006 01:07:27 +0000 |
parents | ba1fd54bb157 |
children | db590283788d |
comparison
equal
deleted
inserted
replaced
14798:a413bcb6f19a | 14799:e908bff64af5 |
---|---|
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 | |
56 static GHashTable *log_viewers = NULL; | 37 static GHashTable *log_viewers = NULL; |
57 static void populate_log_tree(GaimGtkLogViewer *lv); | 38 static void populate_log_tree(GaimGtkLogViewer *lv); |
58 static GaimGtkLogViewer *syslog_viewer = NULL; | 39 static GaimGtkLogViewer *syslog_viewer = NULL; |
59 | 40 |
60 struct log_viewer_hash_t { | 41 struct log_viewer_hash_t { |