Commit graph

154 commits

Author SHA1 Message Date
Anders Broman
780907f9c5 (GTKUImanger)
- make the accelerators work.

svn path=/trunk/; revision=34751
2010-11-02 12:03:06 +00:00
Stig Bjørlykke
f24037c964 Added a icon for "Edit Column Details".
svn path=/trunk/; revision=34724
2010-10-30 18:08:08 +00:00
Anders Broman
aaa7068302 #if 0 "Work in progress" code
svn path=/trunk/; revision=34638
2010-10-24 18:08:07 +00:00
Anders Broman
a1e0507a63 Fix "More unused warnings in new menu code" based on code from Jörg Mayer.
svn path=/trunk/; revision=34636
2010-10-24 16:14:01 +00:00
Anders Broman
9ebba15246 (GUIManager) Make opening a recent file work from the recent files menu.
svn path=/trunk/; revision=34562
2010-10-18 19:19:27 +00:00
Anders Broman
bcd5ed10c3 (GTKUImanger)
- Make Open file from the welocme screen work again.

svn path=/trunk/; revision=34556
2010-10-18 15:40:51 +00:00
Anders Broman
01a9d015d5 From Jörg Mayer:
(UIManger) Fix compilation warnings.

svn path=/trunk/; revision=34502
2010-10-13 19:04:14 +00:00
Anders Broman
d1de327057 (GTKUImanger)
- Open file from the welocme screen.

svn path=/trunk/; revision=34498
2010-10-13 15:52:10 +00:00
Anders Broman
19e1998c2c (GTKUImanger)
- Make use of the new WIRESHARK_FILE_STOCK icon.
- Make clearing of recent files work.
- Make the recent file list in the Welcome menu work again.

svn path=/trunk/; revision=34497
2010-10-13 11:22:23 +00:00
Anders Broman
fde95120d2 Try to get the build going again.
svn path=/trunk/; revision=34495
2010-10-13 04:29:07 +00:00
Anders Broman
ebb3a7f694 (GUIManager) Base code to get recent files to work with GUIManager.
Based on code from http://people.gnome.org/~ebassi/recent-uimanager-inline.c by Emmanuele Bassi.

svn path=/trunk/; revision=34493
2010-10-12 21:33:08 +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
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
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
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
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
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
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
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
Sake Blok
2bffa17891 Add navigation to previous/next packets in the conversation. It will check TCP and UDP first and if this is not TCP or UDP, it will use IP.
Accelerator keys:

<ctrl>+[   Goto Previous Packet In Conversation
<ctrl>+]   Goto Next Packet In Conversation



svn path=/trunk/; revision=34319
2010-10-01 22:46:30 +00:00
Anders Broman
316e50f8cd [GTKUImanager]Fix faulty paths.
svn path=/trunk/; revision=34318
2010-10-01 21:46:16 +00:00
Stig Bjørlykke
e18935acfd GTK_STOCK_EDIT came in gtk 2.6.0
svn path=/trunk/; revision=34317
2010-10-01 19:23:15 +00:00
Stig Bjørlykke
98f6aa9311 Add a new right-click popup menu for the statusbar profiles for easy functions
to create new, copy, delete and rename configuration profiles.

svn path=/trunk/; revision=34312
2010-10-01 16:29:37 +00:00
Jeff Morriss
089c063192 (GtkUIManager) view_menu_colorize_auto_scroll_live_cb(): check if we got a widget before dereferencing it. Not sure if this is just hiding another bug, but it lets Wireshark start.
svn path=/trunk/; revision=34310
2010-10-01 14:39:35 +00:00
Anders Broman
a1087a7bdb (GUIManager)Try to fix the time format issue.
svn path=/trunk/; revision=34309
2010-10-01 14:20:59 +00:00
Jeff Morriss
f0598543d9 (GUIManager) Rename prefs_cb() to menus_prefs_cb() to avoid conflict with the (extern'd) prefs_cb() in prefs_dlg.h
svn path=/trunk/; revision=34302
2010-09-30 21:56:47 +00:00
Anders Broman
a11667bcae [GTKUImanager] Fix a few callbacks, use #defines for strings.
svn path=/trunk/; revision=34299
2010-09-30 21:23:49 +00:00
Anders Broman
df5a2fc900 Further GUIManager updates.
svn path=/trunk/; revision=34281
2010-09-29 16:09:42 +00:00
Jörg Mayer
362118a292 Compile failed because of text after #endif
svn path=/trunk/; revision=34276
2010-09-28 21:04:48 +00:00
Anders Broman
8dc2ef0004 Update GUIManager menubar code.
svn path=/trunk/; revision=34275
2010-09-28 20:27:28 +00:00
Anders Broman
70ca54ad1e GUImanager: Add missing set_menu_sensitivity().
svn path=/trunk/; revision=34257
2010-09-26 18:14:44 +00:00