diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2004-04-30 00:40:45 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2004-04-30 00:40:45 +0000 |
commit | 8e6bd5047a35ffdfc89e3ff631d525f7eb4f73eb (patch) | |
tree | 222267d389dfc8892f1d4a87d6ce19933155828e /prefs.c | |
parent | e32ddcc3a92a656eeb010b2e8b3da8f4e109d9b6 (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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10736 f5534014-38df-0310-8fa8-9805f1628bb7
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; |