Stig Bjørlykke
97cbb07e58
Fixed adding new columns from preferences.
...
svn path=/trunk/; revision=31091
2009-11-26 21:41:14 +00:00
Stig Bjørlykke
8700f6658d
Add custom column before COL_INFO if this is last.
...
svn path=/trunk/; revision=31088
2009-11-26 09:22:01 +00:00
Stig Bjørlykke
7322057d66
Added functions to rename and remove columns.
...
svn path=/trunk/; revision=31085
2009-11-26 09:02:29 +00:00
Stig Bjørlykke
542a34ced8
Implement new_packet_list_recreate(). This should be reimplemented to
...
avoid building a new table and redissecting all packets.
svn path=/trunk/; revision=31024
2009-11-19 21:11:41 +00:00
Stig Bjørlykke
9a7d0994d8
Add a custom column from the packet details popup menu.
...
This fixes bug 4246.
svn path=/trunk/; revision=31020
2009-11-19 18:22:26 +00:00
Anders Broman
f4938ecf33
From Jim Young:
...
Add "Drag and Drop entries..." message on Columns preferences page.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4099
svn path=/trunk/; revision=30381
2009-10-07 05:03:16 +00:00
Stig Bjørlykke
d0a970fb72
Changed to use "Field type" instead of "Format", to be more descriptive.
...
Moved "Filed name" fields below "Field type", to improve the layout.
Always show the "Field name" fields, disable when field type is not custom.
Remember field name even when changing field type, so the user can change his
mind without losing the data entered.
Some small adjustments to "Add" and "Remove" buttons.
Added some tooltips.
svn path=/trunk/; revision=29145
2009-07-20 11:42:28 +00:00
Stephen Fisher
e6d0686f7b
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
2009-06-30 18:05:04 +00:00
Gerald Combs
d91764cd0a
Add a tooltip in case it's not obvious how to rearrange the columns.
...
svn path=/trunk/; revision=28853
2009-06-26 23:05:04 +00:00
Bill Meier
b65b001476
prefs_column: fix a small memory leak.
...
svn path=/trunk/; revision=28403
2009-05-18 22:21:16 +00:00
Bill Meier
40d7944873
prefs_column: Rework & cleanup Column Preferences dialog code
...
- Re-create packet-list only when Columns change vs every time Edit!Preferences invoked;
- Select next row in Column List after delete of a row;
- Remove no-longer needed code;
- ...
svn path=/trunk/; revision=28268
2009-05-04 14:46:51 +00:00
Guy Harris
54c159cb41
Turn on -Wshorten-64-to-32 by default, and fix some issues that turned
...
up (99 44/100% of which were assignments of double-precision
floating-point constants to floats). Hopefully this will catch at least
some P64 issues on UN*X.
svn path=/trunk/; revision=28108
2009-04-21 16:57:52 +00:00
Bill Meier
0528b8a243
Use consistent indentation.
...
svn path=/trunk/; revision=28021
2009-04-09 13:07:05 +00:00
Stig Bjørlykke
62f60df6b4
From Jakub Zawadzki (bug 3331):
...
g_free() is NULL safe, so we don't need check against it.
svn path=/trunk/; revision=27718
2009-03-13 22:06:48 +00:00
Anders Broman
e88a6e5392
Update CheckApi with:
...
#'gtk_clist_new', should we depriceate?
# GtkCList has been deprecated since GTK+ 2.0 and should not be used
# in newly written code. Use GtkTreeView instead.
'gtk_file_selection_new',
svn path=/trunk/; revision=27508
2009-02-22 14:47:07 +00:00
Gerald Combs
05c5a60f63
More work on modernizing the column prefs.
...
svn path=/trunk/; revision=27278
2009-01-20 20:49:33 +00:00
Gerald Combs
ea9d93e7a9
Since we're not bound to GTK1 any more, let the user drag and drop column
...
specifiers to change the order. Get rid of the up/down buttons.
svn path=/trunk/; revision=27274
2009-01-20 05:14:57 +00:00
Stig Bjørlykke
381285f61c
Add filter autocomplete for more places we use filter entries.
...
svn path=/trunk/; revision=26491
2008-10-19 13:40:52 +00:00
Stig Bjørlykke
828f6baa42
Ensure we initialize all colorized filter text entries before we show the
...
widget, so we don't get wrong foreground color when using a dark theme.
svn path=/trunk/; revision=26414
2008-10-11 14:32:46 +00:00
Stig Bjørlykke
d4e9b3742f
Only check for a valid field name in the custom column.
...
svn path=/trunk/; revision=26406
2008-10-10 17:01:36 +00:00
Stig Bjørlykke
91977bfa15
Add a "Field name" label for the custom column.
...
svn path=/trunk/; revision=26402
2008-10-10 15:50:08 +00:00
Bill Meier
56206e0002
Fix some simple cases of GTK2 deprecated API usage by using a renamed or equivalent API
...
gtk_container_border_width() ==> gtk_container_set_border_width()
gtk_container_children() ==> gtk_container_get_children()
gtk_entry_new_with_max_length() ==> gtk_entry_new(); gtk_entry_set_max_length()
gtk_menu_append() ==> gtk_menu_shell_append()
gtk_menu_prepend() ==> gtk_menu_shell_prepend()
gtk_notebook_set_page() ==> gtk_notebook_set_current_page()
gtk_paned_gutter_size() ==> gtk_paned_set_gutter_size()
gtk_radio_button_group() ==> gtk_radio_button_get_group()
gtk_signal_connect() ==> g_signal_connect()
gtk_signal_disconnect() ==> g_signal_handler_disconnect()
gtk_signal_emit_by_name() ==> g_signal_emit_by_name()
gtk_signal_handler_block_by_data() ==> g_signal_handlers_block_matched()
gtk_signal_handler_block_by_func() ==> g_signal_handlers_block_by_func()
gtk_signal_handler_unblock_by_data() ==> g_signal-handlers_unblock_matched()
gtk_signal_handler_unblock_by_func() ==> g_signal-handlers_unblock_by_func()
gtk_spin_button_get_value_as_float() ==> gtk_spin_button_get_value()
gtk_toggle_button_set_state() ==> gtk_toggle_button_set_active()
svn path=/trunk/; revision=25634
2008-06-29 15:51:43 +00:00
Stephen Fisher
dc262064c3
Change an option menu (deprecated in GTK+ 2.4) to a combo box (GTK+ 2.4+).
...
svn path=/trunk/; revision=25199
2008-04-29 19:14:44 +00:00
Ulf Lamping
6fd6381ab3
change all preferences related filenames from xy_prefs to prefs_xy
...
svn path=/trunk/; revision=24975
2008-04-13 13:10:32 +00:00