aboutsummaryrefslogtreecommitdiffstats
path: root/capture.c
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2004-01-20 18:47:25 +0000
committerUlf Lamping <ulf.lamping@web.de>2004-01-20 18:47:25 +0000
commitef57df088f4c62d2b49b7a06ccceb7c0df10dff9 (patch)
tree73d347c23e8b498132f3e90674cd798bb6f4c638 /capture.c
parent3172f21ea58c044aeffe90501dbcecf9b9f9fc21 (diff)
a.) saving GTK1 and GTK2 fontnames in different preference setting, to prevent problems when switching between GTK1 and GTK2 ethereal versions
b.) added new feature "Edit->Go To First Packet" "Edit->Go To Last Packet" with corresponding menu and toolbar items c.) added new feature "View->Zoom In" / "View->Zoom Out" / View->Normal Size" with corresponding menu and toolbar items This feature will act as a "size offset" to the current fontsize, so that the packet list/tree view/... will have a larger/smaller font size. The value is stored inside the recent file. d.) Win32 only: Try to get the win32 system font and fontsize at program startup and show the menus/dialogs and such with the same font and fontsize like other win32 windows. This makes the program make a *lot* more feel like a normal win32 program. svn path=/trunk/; revision=9753
Diffstat (limited to 'capture.c')
-rw-r--r--capture.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/capture.c b/capture.c
index 4ff4392146..3f0202eadb 100644
--- a/capture.c
+++ b/capture.c
@@ -1,7 +1,7 @@
/* capture.c
* Routines for packet capture windows
*
- * $Id: capture.c,v 1.222 2004/01/18 04:13:44 guy Exp $
+ * $Id: capture.c,v 1.223 2004/01/20 18:47:21 ulfl Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -428,7 +428,7 @@ do_capture(const char *save_file)
/* Convert font name to a quote-encapsulated string and pass to child */
argv = add_arg(argv, &argc, "-m");
- fontstring = quote_encapsulate(prefs.gui_font_name);
+ fontstring = quote_encapsulate(prefs.PREFS_GUI_FONT_NAME);
argv = add_arg(argv, &argc, fontstring);
/* Convert pipe write handle to a string and pass to child */
@@ -465,7 +465,7 @@ do_capture(const char *save_file)
}
argv = add_arg(argv, &argc, "-m");
- argv = add_arg(argv, &argc, prefs.gui_font_name);
+ argv = add_arg(argv, &argc, prefs.PREFS_GUI_FONT_NAME);
if (cfile.cfilter != NULL && strlen(cfile.cfilter) != 0) {
argv = add_arg(argv, &argc, "-f");