aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/proto_dlg.c
AgeCommit message (Collapse)AuthorFilesLines
2010-08-30Remove some unnecessary includes: a lot of things don't need globals.h and ↵Jeff Morriss1-2/+1
register.h svn path=/trunk/; revision=34017
2010-01-29Fix various gcc -Wshadow warnings.Bill Meier1-2/+2
svn path=/trunk/; revision=31731
2009-06-28Analyze!Enabled Protocols: Fix so type-ahead find OK w/o needing to first ↵Bill Meier1-9/+33
select a row. Ditto when clicking on a column header to change the sort order. svn path=/trunk/; revision=28878
2009-05-06Analyze!EnabledProtocols: Remove unnecessary line of code added in the ↵Bill Meier1-1/+0
previous commit; svn path=/trunk/; revision=28290
2009-05-06Analyze!Enabled Protocols: For OK/Apply/Cancel: Cancel reverts to "Last ↵Bill Meier1-10/+24
Saved" (ie: state after any Apply) svn path=/trunk/; revision=28289
2009-05-04From Didier Gautheron (bug 3126):Stig Bjørlykke1-5/+5
Update expert info icon on redissect. svn path=/trunk/; revision=28269
2009-04-21Turn on -Wshorten-64-to-32 by default, and fix some issues that turnedGuy Harris1-1/+1
up (99 44/100% of which were assignments of double-precision floating-point constants to floats). Hopefully this will catch at least some P64 issues on UN*X. svn path=/trunk/; revision=28108
2008-07-08Fix some simple cases of GTK2 deprecated API usage by using a renamed or ↵Bill Meier1-1/+1
equivalent API gtk_button_box_set_spacing() ==> gtk_box_set_spacing() svn path=/trunk/; revision=25673
2008-06-29Fix some simple cases of GTK2 deprecated API usage by using a renamed or ↵Bill Meier1-2/+2
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-21Removed the usage of topic_available() as we now have all topics.Stig Bjørlykke1-9/+3
svn path=/trunk/; revision=25505
2008-04-14From Jim Young (bug 2212):Sake Blok1-1/+1
Add the profile name to the title of all the configuration windows. (this is a rewrite of Jim's patch) svn path=/trunk/; revision=25016
2008-04-13sort #includes by directoriesUlf Lamping1-10/+13
svn path=/trunk/; revision=24969
2008-04-12where it's not necessary, remove #include "compat_macros.h"Ulf Lamping1-1/+0
svn path=/trunk/; revision=24922
2008-04-11last round to replace SIGNAL_CONNECT with g_signal_connectUlf Lamping1-10/+10
svn path=/trunk/; revision=24918
2008-04-11OBJECT_..._DATA --> g_object_..._dataBill Meier1-5/+5
svn path=/trunk/; revision=24898
2008-04-07remove GTK1 codeUlf Lamping1-109/+0
svn path=/trunk/; revision=24823
2007-12-15With increasing number of dissectors, heuristics cause sometimes false hits ↵Jaap Keuter1-20/+76
on packets. It's a pain to go through the menu / enabled protocols dialog to temporarily disable such dissector. This change adds an option to the packet detail menu to do a point-and-click style temporary disable of such protocol. svn path=/trunk/; revision=23873
2007-05-24Fix 'Analyze ! Enabled_Protocols' search to search on correct column.Bill Meier1-0/+2
svn path=/trunk/; revision=21913
2007-02-15bugfix: call set_proto_selection() before actually writing the selections to ↵Ulf Lamping1-2/+9
disk. Otherwise the changes won't be written to disk correctly (when pressing the OK button). Interestingly, no complains were heard about this before ... svn path=/trunk/; revision=20818
2007-01-22Fix various compiler warningsStephen Fisher1-1/+1
svn path=/trunk/; revision=20522
2006-10-03As Stephen Fisher noted, the Apply button should also save the changed ↵Ulf Lamping1-0/+5
settings (if the Save button is disabled) svn path=/trunk/; revision=19418
2006-10-03now: Don't have a Save button in the following settings dialogs:Ulf Lamping1-38/+49
- Edit/Preferences - View/Coloring Rules - Capture/Capture Filters - Analyze/Display Filters - Analyze/Enabled Protocols The settings will be automatically saved when pressing the Ok button. If someone really wants the explicit Save buttons as before - you can get them back at the Edit/Preferences/User Interface page. svn path=/trunk/; revision=19415
2006-05-22Get rid of a bunch of "Ethereal"s and "ethereal"s in comments, GUIGuy Harris1-1/+1
strings, and function names. svn path=/trunk/; revision=18205
2006-05-21name changeRonnie Sahlberg1-2/+2
svn path=/trunk/; revision=18197
2005-08-20- Declare some functions staticJörg Mayer1-1/+1
- Add plugins_dlg.h - Include .h files in their respective .c files - Include .h and remove extern declarations in .c files - set eol-style and keywords on gui_utils.[hc] svn path=/trunk/; revision=15471
2005-08-20renamed ui_util.c/.h to gui_utils.c/.h to prevent confusion with identical ↵Ulf Lamping1-1/+1
named ui_util.h in / dir svn path=/trunk/; revision=15465
2005-08-10removed tons of MSVC const related warnings.Ulf Lamping1-3/+3
This might at some places interfere with the changes for gcc4, we might have to negotiate in that case :-) Please note that a lot of these warnings were GTK1.x related only! svn path=/trunk/; revision=15286
2005-08-05More char -> const char warning fixes.Jörg Mayer1-1/+1
Removed (very few) casts that only change the warning message but don't remove it (with gcc-4). svn path=/trunk/; revision=15227
2005-07-24Constify to remove a bunch of warnings. Add some casts to squelchGuy Harris1-6/+6
(presumably-)harmless-but-otherwise-unremovable const-to-nonconst warnings. In the TACACS dissector, clean up the variables used in option parsing to avoid some const-to-nonconst warnings. Clean up some white space. svn path=/trunk/; revision=15043
2005-02-04huge cleanup of capture file API (functions in file.c/file.h).Ulf Lamping1-4/+4
This includes: all functions in file.h now have a cf_ prefix, will have doxygen tags, will have the capture_file *cf as the first parameter and I tried to generalize the return values for non trivial functions. Hopefully, I didn't introduced any new bugs, as I had to change a lot of files... svn path=/trunk/; revision=13289
2005-01-20add some more online help functionality and help buttons at various dialog ↵Ulf Lamping1-1/+11
boxes, if a help page *is* available. However, the new help system needs a lot more work before completed. svn path=/trunk/; revision=13152
2004-09-27Move prefs.c and prefs.h into the epan subdirectory.Guy Harris1-1/+1
svn path=/trunk/; revision=12115
2004-07-18Set the svn:eol-style property on all text files to "native", so thatGuy Harris1-1/+1
they have LF at the end of the line on UN*X and CR/LF on Windows; hopefully this means that if a CR/LF version is checked in on Windows, the CRs will be stripped so that they show up only when checked out on Windows, not on UN*X. svn path=/trunk/; revision=11400
2004-06-10"delete_event" is an event, so its handler takes three arguments, notGuy Harris1-4/+5
two, and it returns a gboolean. svn path=/trunk/; revision=11133
2004-05-27use gtk_window_set_default_size() instead of WIDGET_SET_SIZE() for the dialogs,Ulf Lamping1-9/+5
as WIDGET_SET_SIZE() will prevent the user from shrinking the dialog, and gtk_window_set_default_size() will not svn path=/trunk/; revision=11021
2004-05-26more code cleanup from dialog things:Ulf Lamping1-11/+11
changed window_xy (dialog) function calling in a lot of gtk files cleanup of file selection code cleanup in dlg_utils/file_dlg/ui_util Please report any problems!!! svn path=/trunk/; revision=11003
2004-02-06replaced every appearance of gtk_scrolled_window_new() withUlf Lamping1-2/+6
scrolled_window_new(). added gtk_scrolled_window_set_policy(AUTOMATIC,AUTOMATIC) to scrolled_window_new() added GTK2's gtk_scrolled_window_set_shadow(GTK_SHADOW_IN) to every place needed svn path=/trunk/; revision=9999
2004-01-31Pass ESD_BTN_OK rather than NULL as a second argument toGuy Harris1-3/+3
"simple_dialog()"; NULL might be #defined to be a pointer expression on some platforms, causing compiler warnings (and, on platforms where a null pointer doesn't have all its bits 0, possibly causing misbehavior, although I don't think there are any such platforms on which Ethereal runs). Don't allow 0 as button mask argument to "simple_dialog()". Squelch a compiler warning. Report fatal problems as errors, not warnings. Report file I/O errors with "file_open_error_message()". Report file write errors (including those reported by "close()", e.g. some errors writing to an NFS server) when saving raw packet data to a file. svn path=/trunk/; revision=9915
2004-01-21implemented dlg_button_row_new to get a standard function forUlf Lamping1-21/+6
layouting the dialog buttons, and use it where appropriate. This will help us with the GTK1/2 conflict on button layouts and will also result in a more consistent look of the dialogs at all. svn path=/trunk/; revision=9771
2004-01-10using button compatibility macrosUlf Lamping1-21/+5
svn path=/trunk/; revision=9636
2004-01-04A missing piece of Tadaaki Nagao's patches to add a global "disabledGuy Harris1-2/+2
protocols" file. svn path=/trunk/; revision=9539
2003-11-16Export "protocol_t" as an opaque type.Guy Harris1-5/+11
Make "proto_is_protocol_enabled()" and "proto_get_protocol_short_name()" take a "protocol_t *" as an argument, so they don't have to look up the "protocol_t" - this will probably speed them up considerably, and they're called on almost every dissector handoff. Get rid of a number of "proto_is_protocol_enabled()" calls that aren't necessary (dissectors called through handles, including those called through dissector tables, or called as heuristic dissectors, aren't even called if their protocol isn't enabled). Change some direct dissector calls to go through handles. svn path=/trunk/; revision=8979
2003-08-07From Michael Lum: add the ability to have a preferences file containingGuy Harris1-1/+51
a list of disabled protocols, and to save that list from the Edit > Protocols dialog box. Add checks for read errors in "read_prefs()". Clean up white space. svn path=/trunk/; revision=8144
2003-01-26Update my email address in various places since my old one no longer worksLaurent Deniel1-2/+2
svn path=/trunk/; revision=7003
2002-12-02Put back the "width" local variable in proto_cb() which is used only byOlivier Abad1-2/+4
the GTK1.2 UI. svn path=/trunk/; revision=6715
2002-12-02Make the new protocol list work with GTK2. The "status" column uses aOlivier Abad1-17/+48
toggle button instead of a text. svn path=/trunk/; revision=6714
2002-12-02Allow keyboard-only navigation of the Protocols dialog. Protocols canGerald Combs1-3/+18
be enabled or disabled using the space bar. Update the documentation accordingly. svn path=/trunk/; revision=6711
2002-12-01Enable/disable protocols with a single click. Fix the behavior ofGerald Combs1-13/+16
cancelling the Protocols dialog, which my previous checkin broke. svn path=/trunk/; revision=6710
2002-12-01Update some text in the help dialog.Gerald Combs1-135/+224
Replace the large matrix of protocol togglebuttons with a GtkCList. The CList displays three columns: the enabled/disabled state, the protocol's abbreviated name and the protocol's full name. Protocols can be enabled or disabled by double-clicking on them. The enable all, disable all, and invert buttons were left intact. I made a half-assed attempt at Gtk2 support by copying code from plugins_dlg.c. It's incomplete, and probably won't compile. Using check boxes in the first column instead of the word "Disabled" would have been nice. GtkCLists don't let you embed anything besides text and pixmaps unfortunately. Update the man page accordingly. We still need a way to save a list of disabled protocols. svn path=/trunk/; revision=6707
2002-11-28Constify some pointers to avoid converting const pointers to non-constGuy Harris1-3/+5
pointers. svn path=/trunk/; revision=6685