diff options
author | Guy Harris <guy@alum.mit.edu> | 2004-04-30 00:40:45 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2004-04-30 00:40:45 +0000 |
commit | 83bf0c871966c739971bd489d211de9c9880e735 (patch) | |
tree | 222267d389dfc8892f1d4a87d6ce19933155828e /prefs.c | |
parent | 9831d869225a640770712237fa97570caf806c0f (diff) |
The layout types and pane types don't depend on GTK+, so move their
definitions to "prefs.h".
Use them, rather than (incorrect) raw numerical values, when
initializing the preferences.
svn path=/trunk/; revision=10736
Diffstat (limited to 'prefs.c')
-rw-r--r-- | prefs.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,7 +1,7 @@ /* prefs.c * Routines for handling preferences * - * $Id: prefs.c,v 1.129 2004/04/29 17:03:26 ulfl Exp $ + * $Id: prefs.c,v 1.130 2004/04/30 00:40:44 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -994,9 +994,9 @@ read_prefs(int *gpf_errno_return, int *gpf_read_errno_return, prefs.gui_recent_files_count_max = 10; prefs.gui_fileopen_dir = g_strdup(""); prefs.gui_layout_type = 1; - prefs.gui_layout_content_1 = 0; - prefs.gui_layout_content_2 = 1; - prefs.gui_layout_content_3 = 2; + prefs.gui_layout_content_1 = layout_pane_content_plist; + prefs.gui_layout_content_2 = layout_pane_content_pdetails; + prefs.gui_layout_content_3 = layout_pane_content_pbytes; /* set the default values for the capture dialog box */ prefs.capture_device = NULL; |