Stig Bjørlykke
2f20f93a24
Let create_preference_option_menu() and create_preference_entry()
...
set the tooltips.
svn path=/trunk/; revision=28762
2009-06-16 21:04:43 +00:00
Stig Bjørlykke
48ef7414d1
Let create_preference_check_button() set the tooltips.
...
svn path=/trunk/; revision=28750
2009-06-15 23:25:12 +00:00
Stig Bjørlykke
a61e285004
Added a preference to capture in Pcap-NG from GUI.
...
svn path=/trunk/; revision=28740
2009-06-15 16:36:02 +00:00
Bill Meier
0608bff3c2
prefs_capture: Interface Options Edit dialog: code cleanup;
...
- Fix typo which caused Properties|Descriptions value field to be incorrectly right-justified;
- Fix several (small) memory leaks;
- Rename variables & rework comments: What was a clist was replaced by a treeview/liststore;
- Remove a left-over line of code still calling a gtk_clist function;
- Rename some constants and variables to more closely reflect usage;
- Add some defensive coding;
- Use gtk_combo_box_get_active_text if GTK+ is 2.6 or greater;
- Simplify code in several places;
- Use consistent indentation;
svn path=/trunk/; revision=28398
2009-05-18 20:57:06 +00:00
Anders Broman
4c2cdc36bc
Clist -> list_store
...
svn path=/trunk/; revision=28310
2009-05-08 18:12:13 +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
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
Stig Bjørlykke
960d9138af
Added a help button in the Interface Options dialog.
...
Added the Interface Options docbook chapter.
svn path=/trunk/; revision=25502
2008-06-21 13:08:02 +00:00
Stig Bjørlykke
52bb83fd57
Reload the interface list on the welcome page when changing profile and
...
after editing the interface options.
svn path=/trunk/; revision=25479
2008-06-18 20:14:28 +00:00
Stig Bjørlykke
3fe084beb3
Rewrote ifopts_options_add() to make it readable and simpler.
...
Fixed a bug where a one character comment would skip the interface.
If syntax error in the comment just skip the comment instead of the interface.
svn path=/trunk/; revision=25413
2008-06-02 22:18:25 +00:00
Stig Bjørlykke
d8b975c6cb
Rewrote to not use gtk_combo_box_get_active_text().
...
svn path=/trunk/; revision=25412
2008-06-02 21:35:22 +00:00
Stig Bjørlykke
561f66c1b8
Added an option to set default link-layer header type for each interface.
...
Set linktype history for each interface so we don't mix them.
Fixed some indents.
svn path=/trunk/; revision=25411
2008-06-02 17:45:03 +00:00
Ulf Lamping
7a8c589d32
don't use strdup() if you want to free the memory later with g_free(), this doesn't work (at least) on MSVC2005 builds!
...
svn path=/trunk/; revision=25037
2008-04-15 02:21:04 +00:00
Sake Blok
a287b0f3f5
From Jim Young (bug 2212):
...
Add the profile name to the title of all the configuration windows.
(this is a rewrite of Jim's patch)
svn path=/trunk/; revision=25016
2008-04-14 15:01:34 +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