Commit Graph

4974 Commits

Author SHA1 Message Date
Bill Meier 2b0f6a63f1 Define some fcns & vars as static;
Rename g_capture_in_progress to gbl_capture_in_progress (capture_if_dlg.c)
Do some whitespace cleanup.

svn path=/trunk/; revision=34490
2010-10-12 17:39:44 +00:00
Bill Meier 2d3abb5cec Minor cleanup of the global name space:
- Define some vars as static;
- Rename some externs to be less generic;
Also: cleanup some whitespace.

svn path=/trunk/; revision=34489
2010-10-12 16:42:02 +00:00
Bill Meier c004d57361 Minor cleanup of the global namespace:
- Define some fcns and vars as static;
- Use less generic names for certain externs;
Also: Remove some usused #defines & cleanup some whitespace


svn path=/trunk/; revision=34488
2010-10-12 16:05:19 +00:00
Bill Meier c78221d4ce Rename g_resolv_flags --> gbl_resolv_flags; Also: cleanup some whitespace & indentation.
svn path=/trunk/; revision=34487
2010-10-12 13:15:08 +00:00
Anders Broman 6e31c8c406 It's no longer neccesarry to set the E_DFILTER_TE_KEY on the popup_menu objects.
svn path=/trunk/; revision=34486
2010-10-12 07:41:18 +00:00
Guy Harris 3c27b97c26 Get rid of C++-style comments; use #if 0/#endif to remove code.
svn path=/trunk/; revision=34485
2010-10-12 01:27:58 +00:00
Anders Broman 24d4eda023 menus.c: In function 'add_menu_recent_capture_file_absolute':
menus.c:4583: warning: unused variable 'recent_files_list'

svn path=/trunk/; revision=34479
2010-10-11 20:05:49 +00:00
Anders Broman eb007bae23 Get filter_te from top_level rather then from the widget.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5288

svn path=/trunk/; revision=34478
2010-10-11 19:29:52 +00:00
Stig Bjørlykke 32da2562b8 We set sensitivity on the map button in ct_nb_map_switch_page_cb().
svn path=/trunk/; revision=34469
2010-10-11 08:29:25 +00:00
Stig Bjørlykke ce8e4aa47c Don't add a border around the main window, this looks bad in the new
Ubuntu release.

svn path=/trunk/; revision=34468
2010-10-11 08:28:38 +00:00
Bill Meier 09d718f723 Rename vals_status & vals_pdu_type to wsp_vals_status & wsp_vals_pdu_type
svn path=/trunk/; revision=34463
2010-10-10 20:45:19 +00:00
Guy Harris 708e2d905b Fix build.
svn path=/trunk/; revision=34456
2010-10-10 19:42:30 +00:00
Anders Broman 45371fce82 - Fix more callbacks.
When using the GUImanager the callback signature is (GtkAction *action , gpointer user_data) which causes problems when retreiveing
object data stored with the widget such as the filter box widget.

Work around that problem by doing
	filter_cm = g_object_get_data(G_OBJECT(top_level), E_DFILTER_CM_KEY);
	filter_te = gtk_bin_get_child(GTK_BIN(filter_cm));
in the follow_udp/tcp/ssl_stream.

svn path=/trunk/; revision=34455
2010-10-10 19:33:42 +00:00
Guy Harris f9371b0e0b It's now "change column", not just "rename column"; fix build.
Clean up indentation.

svn path=/trunk/; revision=34454
2010-10-10 19:05:04 +00:00
Anders Broman dc03d627d7 Fix up a number of callbacks.
Bug: https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5288
requires abit of reworking of the callbacks or a different aproach to setting object data.

svn path=/trunk/; revision=34453
2010-10-10 18:10:33 +00:00
Stig Bjørlykke 7bb2c88475 Fix menu entry.
svn path=/trunk/; revision=34447
2010-10-09 18:41:46 +00:00
Stig Bjørlykke 2ed80dc7ba Fix menu entries.
svn path=/trunk/; revision=34446
2010-10-09 18:38:25 +00:00
Stig Bjørlykke 4ce3021a07 Prefix window title with "Wireshark".
svn path=/trunk/; revision=34445
2010-10-09 18:37:31 +00:00
Stig Bjørlykke ccfe41300c Added "Edit Column Details" functions to the packet list heading popup.
Removed "Rename Column Title" as this is moved to "Edit Column Details".

svn path=/trunk/; revision=34444
2010-10-09 15:22:53 +00:00
Stig Bjørlykke 20cdf3194c From Alexander Koeppe via bug 5287:
Correct order of Window Scaling Graph in Graph control box.

svn path=/trunk/; revision=34443
2010-10-09 11:37:57 +00:00
Stig Bjørlykke 06a60e48c3 Show custom column occurrence in the packet list heading tooltips.
svn path=/trunk/; revision=34434
2010-10-08 11:08:36 +00:00
Anders Broman 0135435c0f Get rid of an GUI artifact if the recent list is empty.
svn path=/trunk/; revision=34431
2010-10-08 06:05:06 +00:00
Guy Harris a9e7cb04cc Make some routines unused outside gtk/menus.c static.
svn path=/trunk/; revision=34430
2010-10-08 03:09:15 +00:00
Guy Harris e6894e3175 Fix a routine name - that menu item has nothing to do with colorization.
svn path=/trunk/; revision=34429
2010-10-08 03:00:54 +00:00
Guy Harris cf6b73afed Clean up white space.
set_menu_object_data_meat_old() is only used with main_menu_factory;
simplify it.

Add some comments to #else's and #endif's.

svn path=/trunk/; revision=34428
2010-10-08 02:38:47 +00:00
Guy Harris 186ad7c299 set_menu_sensitivity_old() is now only used for the main menu; simplify
it accordingly.

svn path=/trunk/; revision=34427
2010-10-08 02:17:37 +00:00
Guy Harris d4c3cbea6d Move a comment next to the only item to which it now refers.
svn path=/trunk/; revision=34425
2010-10-08 01:38:12 +00:00
Guy Harris 1e2d185461 Clean up white space.
svn path=/trunk/; revision=34423
2010-10-08 01:31:47 +00:00
Guy Harris bb5e9d6d01 Move menu_items[] inside the #ifdef MAIN_MENU_USE_UIMANAGER/#else/#endif
that has the main menu stuff for when we *are* using GTKUIManager.

svn path=/trunk/; revision=34422
2010-10-08 01:22:54 +00:00
Guy Harris 832f622237 Use #error to cause the build to fail for un-implemented stuff (such as
"GTKUIManager with the old packet list").

Replicate the "don't do silly stuff such as using Control+A for anything
other than Select All" comment near the place where the main menu is
defined if we're using GTKUIManager.

svn path=/trunk/; revision=34419
2010-10-08 00:33:38 +00:00
Anders Broman a7c4d6ea06 Reinsert #ifdef's removed by mistake.
svn path=/trunk/; revision=34404
2010-10-07 15:58:10 +00:00
Anders Broman 914a6d47d7 Remove #ifdef'ed code for MENUS_USE_UIMANAGER.
svn path=/trunk/; revision=34403
2010-10-07 15:23:45 +00:00
Martin Mathieson 62e6b6aceb Add more CRC failure codes.
svn path=/trunk/; revision=34401
2010-10-07 14:44:00 +00:00
Anders Broman 3e39a7382f From Alexander Koeppe:
New TCP Graph - Window Scaling.
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5276

svn path=/trunk/; revision=34393
2010-10-06 05:48:01 +00:00
Jeff Morriss 5af01ed393 Add (a copy of) glib's g_strv_length() if we have glib < 2.6
svn path=/trunk/; revision=34380
2010-10-05 13:28:57 +00:00
Stig Bjørlykke fb0621683d Split some texts on the welcome page to make "Interface List" and
"Capture Help" smaller to make room for longer filenames in the
Open Recent list.

svn path=/trunk/; revision=34379
2010-10-05 06:59:11 +00:00
Stig Bjørlykke 738c0ace24 From Jose Pico via bug 5272:
Export Object SMB functionality fixes.

svn path=/trunk/; revision=34365
2010-10-04 12:19:58 +00:00
Anders Broman 5ecf33cbc6 (GUIManager)set time display format(makes file load work again).
svn path=/trunk/; revision=34364
2010-10-04 11:21:01 +00:00
Stig Bjørlykke ac7c3787b5 Explain BPF in the tooltips for "Compile BPF".
svn path=/trunk/; revision=34363
2010-10-04 11:04:13 +00:00
Anders Broman e66c219596 (GUIManager)set_menu_sensitivity_old not used when MENUS_USE_UIMANAGER defined.
svn path=/trunk/; revision=34361
2010-10-04 10:36:38 +00:00
Stig Bjørlykke 6e5dea0171 Added some defines to make it compile with MAIN_MENU_USE_UIMANAGER.
svn path=/trunk/; revision=34360
2010-10-04 08:43:15 +00:00
Anders Broman c7bce2e142 Mark unused parameters as unused.
svn path=/trunk/; revision=34359
2010-10-04 08:01:55 +00:00
Sake Blok d2ea494622 Add a cast to make the OSX-PPC buildbot happy.
Removed debugging commenting-out that slipped through...


svn path=/trunk/; revision=34353
2010-10-03 19:28:05 +00:00
Anders Broman ff72f80ecd [GTKUImanagerFix a typo and a callback.
svn path=/trunk/; revision=34352
2010-10-03 19:11:10 +00:00
Anders Broman 425ead9128 [GTKUImanager]Fix Help callbacks.
svn path=/trunk/; revision=34349
2010-10-03 17:37:43 +00:00
Stig Bjørlykke 0cb22a7c23 Added a missing separator.
svn path=/trunk/; revision=34347
2010-10-03 16:37:58 +00:00
Stig Bjørlykke 0ca8c586d3 Use UTF8_HORIZONTAL_ELLIPSIS instead of "..." in menus.
svn path=/trunk/; revision=34346
2010-10-03 16:09:25 +00:00
Stig Bjørlykke 25d8d91add Use correct text for "Not Selected".
svn path=/trunk/; revision=34344
2010-10-03 15:26:03 +00:00
Stig Bjørlykke e07ef26e9a Add the missing "... or not Selected".
svn path=/trunk/; revision=34343
2010-10-03 15:22:16 +00:00
Stig Bjørlykke 229df68593 Use correct text for "Not Selected".
svn path=/trunk/; revision=34342
2010-10-03 15:10:29 +00:00