summaryrefslogtreecommitdiff
path: root/gtk/font_utils.c
diff options
context:
space:
mode:
authorStephen Fisher <steve@stephen-fisher.com>2009-06-30 18:05:04 +0000
committerStephen Fisher <steve@stephen-fisher.com>2009-06-30 18:05:04 +0000
commite6d0686f7b1291b420618d768d964d00b83cb452 (patch)
tree3aaafc6ab6cc9e1bda6c0b3103c5279e9eda2fa4 /gtk/font_utils.c
parent92446c8005109d31ad842b29b8b480f7e69d2843 (diff)
downloadwireshark-e6d0686f7b1291b420618d768d964d00b83cb452.tar.gz
Introduce experimental new feature: GTK2 tree view based packet list
To use the GTK2 based packet list, define NEW_PACKET_LIST when compiling. To do this with gcc, set the environment variable CPPFLAGS to "-DNEW_PACKET_LIST" and re-run configure. Many features do not yet work. This work began with prototypes by Ulf quite a while back. I've put quite a bit of work into this so far and as discussed with a few of the core team members at Sharkfest09 and it was decided that it would be best to commit what I have so far to allow others to help work on this. svn path=/trunk/; revision=28892
Diffstat (limited to 'gtk/font_utils.c')
-rw-r--r--gtk/font_utils.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/font_utils.c b/gtk/font_utils.c
index 456af0b9d0..e9799aa09a 100644
--- a/gtk/font_utils.c
+++ b/gtk/font_utils.c
@@ -274,7 +274,9 @@ user_font_apply(void) {
}
/* the font(s) seem to be ok */
+#ifndef NEW_PACKET_LIST
packet_list_set_font(new_r_font);
+#endif
set_ptree_font_all(new_r_font);
old_r_font = m_r_font;
old_b_font = m_b_font;