aboutsummaryrefslogtreecommitdiffstats
path: root/gtk2/main.c
AgeCommit message (Collapse)AuthorFilesLines
2002-09-09From Graeme Hewson:guy1-3/+15
Currently Ethereal sets and uses a default directory for reading and writing, but only in some places. This set of patches extends the setting of the default directory to the -w option as well as the -r option, and causes all file dialogs to use and set the default consistently. (I haven't changed the Preferences/Printing/File dialog, though, as that's a special case.) There's also a fix for a bug where Ethereal was issuing the message "Ring buffer requested, but capture isn't being saved to a permanent file" even though a file was specified with -w. There also appear to be some other cleanups in his patch. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6238 f5534014-38df-0310-8fa8-9805f1628bb7
2002-09-07Change naming for rpcstat and rpcprogssahlberg1-5/+5
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6212 f5534014-38df-0310-8fa8-9805f1628bb7
2002-09-06Patch from Oliver Abad to reduce CPU used by the redraw thread. Use g_sleep()sahlberg1-5/+7
instead of a crude busy-wait loop. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6203 f5534014-38df-0310-8fa8-9805f1628bb7
2002-09-06From Vassilii Khachaturov, cleanup of redundant code.sahlberg1-20/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6202 f5534014-38df-0310-8fa8-9805f1628bb7
2002-09-06Moved two other functions from gtk2-rpc[stat|progs].c into main.c so itsahlberg1-1/+3
will be easier to reuse these functions on non-threaded gtk1-ethereal. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6196 f5534014-38df-0310-8fa8-9805f1628bb7
2002-09-06Gtk2 port of RPCPROGS statisticssahlberg1-2/+7
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6194 f5534014-38df-0310-8fa8-9805f1628bb7
2002-09-06Moved access of the mutex protecting the critical region into gtk2/main.csahlberg1-2/+18
so that it would be possible to share an unmodified gtk2-rpcstat.c with any future gtk1-ethereal support for the tap system. Anyone reading this cvs entry: Perhaps someone could just try to add a draw_all_listeners() to the place in file.c where it has finished reading or rescanning all packets. That might work though it wouldnt update in semi-real time but would be simple and better than nothing. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6193 f5534014-38df-0310-8fa8-9805f1628bb7
2002-09-05Include cleanups in gtk and gtk2:jmayer1-19/+1
Remove unneded includes Add include wrappers where missing git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6191 f5534014-38df-0310-8fa8-9805f1628bb7
2002-09-05Added a mutex to protect a critical region in Gtk2 where the list can besahlberg1-2/+28
modified while the draw thread is walking it. Changed the cmdline switch to -z so the same one can be used both for ethereal and tethereal. Updated man pages to reflect the RPCSTAT feature. (Try this with Tools/Statistics/ONC-RPC/RTT and load a capture containing onc-rpc. ) git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6189 f5534014-38df-0310-8fa8-9805f1628bb7
2002-09-04Enable rpcstat in the gtk2 guisahlberg1-1/+30
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6184 f5534014-38df-0310-8fa8-9805f1628bb7
2002-08-31GTK+ v2 port.oabad1-0/+2467
All the deprecated widgets have not been replaced yet : GtkList and GtkCList ==> GtkTreeView conversion : - color_dlg.c - column_prefs.c - decode_as_dlg.c : done - dfilter_expr_dialog - filter_prefs.c - main.c - plugins_dlg.c : done GtkCTree ==> GtkTreeView conversion : done GtkText ==> GtkTextView conversion : done Remaining problems : - gtk_font_selection_dialog_set_filter doesn't exist anymore (but hasn't been removed from the documentation). I don't know how to filter the font selection dialog to get only fixed width fonts ; - we have to remove GUI prefs which are not usefule anymore : tree line style and tree expander style. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@6153 f5534014-38df-0310-8fa8-9805f1628bb7