Add "Length" as a new default column on a trial basis between the protocol
authorsfisher <sfisher@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 29 Nov 2010 20:43:24 +0000 (20:43 +0000)
committersfisher <sfisher@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 29 Nov 2010 20:43:24 +0000 (20:43 +0000)
and info columns per discussion on -dev list:

    http://www.wireshark.org/lists/wireshark-dev/201011/msg00151.html

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35068 f5534014-38df-0310-8fa8-9805f1628bb7

epan/prefs.c

index 9a3c6883d03f281a354dd1fdfe5dad443e6fd89c..ac42d2a602cd0099a029b1cf689e6f4ebed25893 100644 (file)
@@ -1108,7 +1108,7 @@ print.file: /a/very/long/path/
  *
  */
 
-#define DEF_NUM_COLS    6
+#define DEF_NUM_COLS    7
 
 /* Initialize preferences to wired-in default values.
  * They may be overridden by the global preferences file or the
@@ -1120,7 +1120,8 @@ init_prefs(void) {
   fmt_data    *cfmt;
   const gchar *col_fmt[] = {"No.",      "%m", "Time",        "%t",
                             "Source",   "%s", "Destination", "%d",
-                            "Protocol", "%p", "Info",        "%i"};
+                            "Protocol", "%p", "Length",      "%L",
+                            "Info",     "%i"};
 
   if (prefs_initialized)
     return;