Commit Graph

23 Commits

Author SHA1 Message Date
Jeff Morriss dd6a15e1c7 Don't put (non-extern'd) prototypes for protect_thread_critical_region() and
unprotect_thread_critical_region() in every module in gtk/: instead have those
modules include main.h (which has the properly extern'd prototype).

This should fix the link error on HP-UX described in
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2702

svn path=/trunk/; revision=25933
2008-08-05 17:33:14 +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 860028c634 Removed the usage of topic_available() as we now have all topics.
svn path=/trunk/; revision=25505
2008-06-21 13:36:31 +00:00
Stig Bjørlykke 476fa1e315 Fixed percent sorting and export to csv after text-value switch in last commit.
svn path=/trunk/; revision=25320
2008-05-19 11:51:48 +00:00
Stig Bjørlykke 9612193cec Added check for GTK 2.6.0 for gtk_cell_render_progress_new()
Switched columns for percent text and percent value.
Fixed generated filter for BSSID and/or SSID.
Fix for merging elements with only BSSID or SSID.

svn path=/trunk/; revision=25319
2008-05-18 20:09:03 +00:00
Stig Bjørlykke 428c5e1eb8 - Rewrote to use GtkTreeView instead of GtkCList.
- Use the common function for applying a selected filter.
- Put a frame around the two tables.
- Enhanced the percent columns to show a progress bar.

svn path=/trunk/; revision=25316
2008-05-17 23:08:36 +00:00
Stig Bjørlykke 355dfa770d Added an option to limit the list to match the current display filter.
svn path=/trunk/; revision=25281
2008-05-12 22:45:08 +00:00
Stig Bjørlykke 319f71c537 Sort list before thaw to avoid flicker when doing capture.
Save pane size in recent.

svn path=/trunk/; revision=25275
2008-05-11 18:03:22 +00:00
Stig Bjørlykke f51d73bb5d Handle SSID as binary in WLAN Traffic Statistics.
svn path=/trunk/; revision=25237
2008-05-05 19:35:16 +00:00
Stig Bjørlykke b77e2466b8 Improved the WLAN Traffic Statistics:
- Added details for each network
- Added context menu for adding a filter
- Keep the selected network when capturing
- Show probe requests with broadcast ssid
- Print '.' for non-printable characters in ssid

svn path=/trunk/; revision=25226
2008-05-04 22:37:05 +00:00
Ulf Lamping 85e14ceb86 rename REGISTER_xxx_GROUP_NONE to REGISTER_xxx_GROUP_UNSORTED, as NONE seems a bit misleading
svn path=/trunk/; revision=25086
2008-04-17 02:16:39 +00:00
Ulf Lamping 644a474c95 sort #includes by directories
svn path=/trunk/; revision=24969
2008-04-13 03:32:24 +00:00
Ulf Lamping d4ccf577a8 where it's not necessary, remove #include "compat_macros.h"
svn path=/trunk/; revision=24922
2008-04-12 01:02:59 +00:00
Ulf Lamping 8e58ec7085 last round to replace SIGNAL_CONNECT with g_signal_connect
svn path=/trunk/; revision=24918
2008-04-11 23:16:06 +00:00
Ulf Lamping 4de04eae27 replace CHECK_BUTTON_NEW_WITH_MNEMONIC with gtk_check_button_new_with_mnemonic
svn path=/trunk/; revision=24905
2008-04-11 19:04:34 +00:00
Bill Meier ab9c1b68fd OBJECT_..._DATA --> g_object_..._data
svn path=/trunk/; revision=24899
2008-04-11 17:26:09 +00:00
Ulf Lamping 49ad47d477 remove GTK1 code
svn path=/trunk/; revision=24824
2008-04-07 01:05:55 +00:00
Michael Tüxen 4306c7037d Include epan/strutil.h for gtk-1.2 builds.
svn path=/trunk/; revision=24513
2008-03-01 10:23:57 +00:00
Stig Bjørlykke 7deec480ff Next attempt to cleanup some string functions, including:
strncpy -> g_strlcpy, strncat -> g_strlcat

svn path=/trunk/; revision=24504
2008-02-29 13:33:37 +00:00
Stig Bjørlykke ba11df88da Added option to turn off name resolution.
Added help button (documentation TBD).

svn path=/trunk/; revision=24329
2008-02-14 09:33:57 +00:00
Stig Bjørlykke 5df0b2fe77 Do not update window title when destroying the dialog.
svn path=/trunk/; revision=24314
2008-02-13 00:31:54 +00:00
Stig Bjørlykke f410d0b781 Fixed an incorrect free loop.
svn path=/trunk/; revision=24311
2008-02-12 15:18:01 +00:00
Stig Bjørlykke a356f552b4 Added WLAN Traffic Statistics dialog.
svn path=/trunk/; revision=24310
2008-02-12 14:17:18 +00:00