Commit Graph

16 Commits

Author SHA1 Message Date
Stig Bjørlykke 62f60df6b4 From Jakub Zawadzki (bug 3331):
g_free() is NULL safe, so we don't need check against it.

svn path=/trunk/; revision=27718
2009-03-13 22:06:48 +00:00
Stig Bjørlykke 3bf06a7c7a Free string fetched from gtk_editable_get_chars().
svn path=/trunk/; revision=27518
2009-02-22 22:11:38 +00:00
Stig Bjørlykke 93f56712bd Free path fetched from gtk_tree_model_get_path with gtk_tree_path_free()
svn path=/trunk/; revision=27515
2009-02-22 21:22:30 +00:00
Stig Bjørlykke 6c068534c2 Improved filter autocompletion when having one exact match to be more
like other autocompletion implementations.
Check for case match before removing a popup with one entry.

svn path=/trunk/; revision=26768
2008-11-13 12:59:31 +00:00
Stig Bjørlykke 395bad32ac gtk_tree_view_set_hover_selection only for gtk 2.6 and above.
svn path=/trunk/; revision=26675
2008-11-03 07:52:42 +00:00
Stig Bjørlykke d3164c3f78 Adjustments to the filter autocompletion window:
- Do not default select the first entry
- Use the same window width as the filter widget
- Better support for PageUp and PageDown

svn path=/trunk/; revision=26673
2008-11-02 20:44:19 +00:00
Stig Bjørlykke 7bd9f5f483 Cleanup by using a common function for building the autocompletion list.
Untabify.

svn path=/trunk/; revision=26595
2008-10-27 23:17:22 +00:00
Stig Bjørlykke 7024e2be7c Do not popup the autocompletion window with only one exactly matching entry.
svn path=/trunk/; revision=26585
2008-10-27 19:36:00 +00:00
Stig Bjørlykke 749f4359eb From Bahaa Naamneh and me:
Check if the filter string being typed is a beginning of a protocol name
before calling the autocomplete functionality.

svn path=/trunk/; revision=26581
2008-10-27 18:49:34 +00:00
Stig Bjørlykke 6eedb9577b Make a new popup when appending a dot to an existing filer entry without
an existing popup.

svn path=/trunk/; revision=26552
2008-10-25 11:50:01 +00:00
Stig Bjørlykke ee48afbc74 Always select an entry in the autocomplete list.
svn path=/trunk/; revision=26544
2008-10-24 22:13:07 +00:00
Stig Bjørlykke 674d209dbe Added autocomplete and autocompletion list of protocol names in the filter
entry.  This still has some side effects, but hopefully not too bad.

svn path=/trunk/; revision=26542
2008-10-24 20:36:09 +00:00
Stig Bjørlykke 71e81ef3f6 Fixed a small issue using esc and backspace in filter autocompletion.
svn path=/trunk/; revision=26496
2008-10-19 14:56:25 +00:00
Stig Bjørlykke 51ac347364 Construct a new autocomplete popup window again if pressing backspace
while having no existing popup window.

svn path=/trunk/; revision=26490
2008-10-19 12:37:38 +00:00
Sake Blok bb4173e140 Close filter autocompletion list when it's empty. This re-enables
entering a filter like this:

ip.addr==1.1.1.1<ENTER>


svn path=/trunk/; revision=26154
2008-09-06 23:22:50 +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