Commit Graph

33 Commits

Author SHA1 Message Date
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
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
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
Stig Bjørlykke bd47db5055 Indicate that the selected display filter is applied by disabling the "Apply"
button.  Indicate that no filter is applied by disabling the "Clear" button.

svn path=/trunk/; revision=34288
2010-09-30 17:27:08 +00:00
Jeff Morriss bcca3fb3d5 Remove #if 0'd out code (dfilter_combo_add_empty()).
svn path=/trunk/; revision=33891
2010-08-23 16:18:06 +00:00
Guy Harris e1d0087af9 NEW_FILTER_COMBO_BOX no longer does anything - it's not checked for - so
there's no need to define it.

svn path=/trunk/; revision=33469
2010-07-07 20:33:19 +00:00
Anders Broman 3d431c8258 Remove the #ifdefs and code related to the switch to gtk_combo_box().
svn path=/trunk/; revision=33465
2010-07-07 16:07:09 +00:00
Jeff Morriss dd1de7cf83 NEW_FILTER_COMBO_BOX: Make the Expression... button work again.
svn path=/trunk/; revision=33163
2010-06-08 18:42:20 +00:00
Jeff Morriss 1728c1e4af NEW_FILTER_COMBO_BOX: dfilter_combo_add_empty() doesn't appear to be needed: the entry field is empty even after populating thelist of recent filters.
svn path=/trunk/; revision=33161
2010-06-08 16:01:50 +00:00
Jeff Morriss 3e2ab3e0bd dfilter_entry_match() (for NEW_FILTER_COMBO_BOX): unset value each time through the loop to avoid duplicate initialization warnings from glib.
svn path=/trunk/; revision=33160
2010-06-08 14:40:31 +00:00
Guy Harris 968fc63f3c Rename the NEW_FILTER_COMBO_BOX routine dfilter_entry_match_new() to
dfilter_entry_match(), as the old dfilter_entry_match() isn't defined or
used if NEW_FILTER_COMBO_BOX is defined.

Clean up indentation a bit.

svn path=/trunk/; revision=33154
2010-06-07 23:33:16 +00:00
Guy Harris 90a1fa7fe6 Don't define dfilter_entry_match() if we're using a combo box, as it's
not used.

Clean up indentation.

svn path=/trunk/; revision=33148
2010-06-07 19:17:12 +00:00
Guy Harris 6599fc59f0 Declare dfilter_list only if we're going to use it.
svn path=/trunk/; revision=33144
2010-06-07 18:49:37 +00:00
Anders Broman 52ecd9d44a Use NEW_FILTER_COMBO_BOX.
If there is no major problems the code can be cleaned up in a few days time.

svn path=/trunk/; revision=33141
2010-06-07 18:28:17 +00:00
Anders Broman 427dca65d0 Update the code for NEW_FILTER_COMBO_BOX.
svn path=/trunk/; revision=33140
2010-06-07 18:25:37 +00:00
Gerasimos Dimitriadis 35efe5e36f Initialize the GValues without triggering any warnings
svn path=/trunk/; revision=32767
2010-05-11 21:50:54 +00:00
Jaap Keuter 58843eaf03 Make the changes compile on Linux also.
svn path=/trunk/; revision=32762
2010-05-11 20:57:15 +00:00
Anders Broman 55572b41b3 Start to replace deprecated gtk_combo_new() with
gtk_combo_box_entry_new_text().

(I'll try to get back to this tomorrow)

svn path=/trunk/; revision=32759
2010-05-11 19:52:40 +00:00
Bill Meier af69a7236a Use consistent indentation.
svn path=/trunk/; revision=32016
2010-02-26 15:08:12 +00:00
Anders Broman b3bea18e2f Remove forgotten C++ style comments.
svn path=/trunk/; revision=30137
2009-09-25 05:21:00 +00:00
Anders Broman ce39b29305 Make the filter toolbar style a preference.
svn path=/trunk/; revision=30136
2009-09-25 05:19:18 +00:00
Anders Broman 1a1a5dd3f0 Get rid of some deprecated functions.
svn path=/trunk/; revision=30115
2009-09-24 15:49:56 +00:00
Bill Meier 1bc9f19f05 Add #include <stdio.h> in a few more places for Solaris.
svn path=/trunk/; revision=29577
2009-08-27 03:54:57 +00:00
Guy Harris 432cac16f3 "main_menu.[ch]" -> "menus.[ch]"; it handles not only the main menu, but
context menus.

Note why we have an empty hex dump pane context menu.

svn path=/trunk/; revision=28794
2009-06-21 19:16:37 +00:00
Stig Bjørlykke 0b12155a9a From Kovarththanan Rajaratnam via bug 3482:
Sort display filter list entries by usage.

svn path=/trunk/; revision=28559
2009-06-01 16:01:48 +00:00
Stig Bjørlykke 3cd4e0ad4d Only use the statusbar for filter messages from the main window.
Updating the statusbar from popup windows is confusing.

svn path=/trunk/; revision=26523
2008-10-23 14:30:35 +00:00
Sake Blok 643d1baa53 From Kovarththanan Rajaratnam (Bug 2660):
Make display filter max recent entries a preference

(From me: fixed an off by one bug in saving to the recent file)


svn path=/trunk/; revision=25960
2008-08-08 19:41:35 +00:00
Martin Mathieson 75890548d7 Filter autocompletion from Bahaa Naamneh (bug 2581).
There are still display filter controls where this isn't being used
yet, but I'm committing it now so hopefully people can report any
problems.

Some commenting and formatting was done by myself.

svn path=/trunk/; revision=25788
2008-07-22 15:19:10 +00:00
Sake Blok cd7405c44d From Kovarththanan Rajaratnam (bug 2657):
Resolve accelerator ambiguity in filter toolbar


svn path=/trunk/; revision=25633
2008-06-29 14:59:23 +00:00
Stig Bjørlykke f9b3982cd2 Moved setting of E_MPACKET_LIST_KEY object data to the function creating
packet_list to ensure it's created before we set it.

Applying filter from the packet list still doesn't work correctly.

svn path=/trunk/; revision=25454
2008-06-15 18:29:22 +00:00
Ulf Lamping 1f8e6c08be various code cleanup
svn path=/trunk/; revision=24964
2008-04-12 23:34:44 +00:00
Stig Bjørlykke e9e1796aec Include string.h
svn path=/trunk/; revision=24962
2008-04-12 22:17:29 +00:00
Ulf Lamping 419495f71d move "filter toolbar" code from main.c into new file(s) main_filter_toolbar
svn path=/trunk/; revision=24960
2008-04-12 21:44:50 +00:00