aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/toolbar.c
AgeCommit message (Collapse)AuthorFilesLines
2006-04-20add a help button to the "Follow TCP Stream" dialog (and use standard button ↵Ulf Lamping1-1/+3
row for it too) svn path=/trunk/; revision=17931
2005-11-10Skip some toolbar #includes if we're not using GTK+ 2.x.Guy Harris1-1/+3
svn path=/trunk/; revision=16454
2005-08-10removed tons of MSVC const related warnings.Ulf Lamping1-1/+1
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-08fix some MSVC const warningsUlf Lamping1-1/+1
svn path=/trunk/; revision=15263
2005-08-06Squelch more const warnings (and fix some memory leaks that found).Guy Harris1-1/+1
_U_-ify some unused arguments, rather than assigning them to themselves. Un-constify one variable that gets assigned a mallocated pointer. Clean up indentation. svn path=/trunk/; revision=15236
2005-05-07add icons for the "File Set" menu itemsUlf Lamping1-1/+10
svn path=/trunk/; revision=14326
2005-04-19fix labels of the two toggle toolbar buttonsUlf Lamping1-2/+2
svn path=/trunk/; revision=14138
2005-04-17add "Decode As" and "Checkbox" (Enabled Protocols) IconsUlf Lamping1-1/+7
svn path=/trunk/; revision=14116
2005-04-16disable some toolbar icons, if no capture packets loadedUlf Lamping1-1/+4
svn path=/trunk/; revision=14106
2005-04-16rename capture_clear() to capture_restart()Ulf Lamping1-1/+1
statusbar update should work now even in capture error case svn path=/trunk/; revision=14105
2005-04-16add 12 new toolbar/menu iconsUlf Lamping1-6/+98
add two toolbar toggle buttons add icons to various menu items create new Statistics telephony group and put telephony and alike protocols in it svn path=/trunk/; revision=14098
2005-04-15add some new capture and filter related handcrafted (toolbar) iconsUlf Lamping1-19/+40
add "new" capture options feature, which will act like old capture start, and change capture start option (for immediately capture) rename Capture/Clear to Capture/Restart svn path=/trunk/; revision=14083
2005-04-12add clear toolbar icon (from GTK stock icons)Ulf Lamping1-0/+1
svn path=/trunk/; revision=14061
2005-04-12capture engine: Ulf Lamping1-6/+7
add a new feature to clear the currently captured packets and restart the capture with the previous parameters various code cleanup and minor bugfixes Win32: use millisecond resolution in capture_loop, to smooth screen update a bit (500ms instead of 1000ms) svn path=/trunk/; revision=14059
2005-01-20add some more online help functionality and help buttons at various dialog ↵Ulf Lamping1-26/+26
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-11-01first implementation of the packet history functionUlf Lamping1-9/+17
svn path=/trunk/; revision=12460
2004-09-27Move prefs.c and prefs.h into the epan subdirectory.Guy Harris1-1/+1
svn path=/trunk/; revision=12115
2004-09-27"ethereal_stock_icons()" isn't used outside "gtk/toolbar.c" (and shouldGuy Harris1-1/+1
presumably only be called once in any case), so make it static. svn path=/trunk/; revision=12114
2004-07-19renamed filter_prefs to filter_dlg, as the filter settings are (well, for a ↵Ulf Lamping1-1/+1
long time) no longer part of the preferences dialog. svn path=/trunk/; revision=11436
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-07-17add a new dialog box to menu "Capture/Interfaces..." to show the current ↵Ulf Lamping1-0/+13
state of the interfaces and a quick way to start a capture. added the IP address of the currently selected interface to the capture options dialog svn path=/trunk/; revision=11396
2004-07-13From Daniel Thompson: add additional message/alert box options toGuy Harris1-1/+2
display "Save", "Continue without Saving", and "Cancel", for the "do you want to save?" messages. svn path=/trunk/; revision=11372
2004-02-09bugfix: init the toolbar's Save icons correctlyUlf Lamping1-1/+2
svn path=/trunk/; revision=10016
2004-01-23added a commentUlf Lamping1-1/+3
svn path=/trunk/; revision=9808
2004-01-22moved GTK specific parts from capture.c to ui_util.c,Ulf Lamping1-14/+2
implemented Win32 "Capture Stop" when using "update list of packets in realtime" while capturing svn path=/trunk/; revision=9777
2004-01-21Don't include some xpm's when built with GTK+ 1.2[.x] - the icons theyGuy Harris1-1/+7
define aren't used with 1.2[.x]. svn path=/trunk/; revision=9768
2004-01-21use stock buttons whereever possible,Ulf Lamping1-3/+19
added some ethereal specific stock icons svn path=/trunk/; revision=9763
2004-01-20a.) saving GTK1 and GTK2 fontnames in different preference setting, to ↵Ulf Lamping1-2/+32
prevent problems when switching between GTK1 and GTK2 ethereal versions b.) added new feature "Edit->Go To First Packet" "Edit->Go To Last Packet" with corresponding menu and toolbar items c.) added new feature "View->Zoom In" / "View->Zoom Out" / View->Normal Size" with corresponding menu and toolbar items This feature will act as a "size offset" to the current fontsize, so that the packet list/tree view/... will have a larger/smaller font size. The value is stored inside the recent file. d.) Win32 only: Try to get the win32 system font and fontsize at program startup and show the menus/dialogs and such with the same font and fontsize like other win32 windows. This makes the program make a *lot* more feel like a normal win32 program. svn path=/trunk/; revision=9753
2004-01-20Get rid of declaration of no-longer-extant routine.Guy Harris1-5/+1
svn path=/trunk/; revision=9750
2004-01-20code cleanup and added some moreUlf Lamping1-358/+95
application specific stock items in toolbar.c, use them where appropriate svn path=/trunk/; revision=9747
2004-01-19added some menuitems "View->Show" including show/hide of all main widgets,Ulf Lamping1-15/+7
saving the states in the recent file svn path=/trunk/; revision=9726
2004-01-10add a "Save As" button to the toolbar,Ulf Lamping1-25/+55
changed some tooltips svn path=/trunk/; revision=9641
2004-01-08If building without libpcap, exclude some stuff that builds only ifGuy Harris1-1/+3
you're building with libpcap or that's not necessary if you're not building with libpcap. svn path=/trunk/; revision=9601
2003-11-30Move print_file_cb out of gtk/print_dlg.c and into gtk/file_dlg.c andRichard Sharpe1-2/+2
rename it to select_file_cb to reflect its function. While this cleans things up a bit, I am still not happy because now filter_prefs.h must be included before file_dlg.h just to get construct_args_t. svn path=/trunk/; revision=9119
2003-11-28renamed frame to packet in all GUI elementsUlf Lamping1-16/+16
svn path=/trunk/; revision=9113
2003-11-18removed some warningsUlf Lamping1-2/+4
svn path=/trunk/; revision=8993
2003-11-15handlebar removed,Ulf Lamping1-30/+94
GTK2 specific: generate some Ethereal specific stock icons and use them in the toolbar svn path=/trunk/; revision=8973
2003-11-07"File->Open" should be available whether or not we have a captue fileGuy Harris1-8/+16
open. The toolbar equivalent should *not* be available if we have an "Update list of packets in real time" capture running. The toolbar "Save" button should not be available if we don't have an unsaved capture file. svn path=/trunk/; revision=8902
2003-10-29Have the "edit display filters" button do the exact same thing as theGuy Harris1-13/+2
"Edit -> Display Filters..." menu item, as per Ulf Lamping - there's apparently some problem wherein &args doesn't get passed properly to the callback. svn path=/trunk/; revision=8819
2003-10-22From Ulf Lamping: add a preference to control whether to show or hideGuy Harris1-8/+2
the main toolbar (currently no GUI to set it; that's in progress). svn path=/trunk/; revision=8754
2003-10-20From Ulf Lamping:Guy Harris1-44/+32
put toolbar separators in the right places; get rid of the "Capture Stop" button in Win32. svn path=/trunk/; revision=8736
2003-10-17From Olivier Biot : remove packet capture code when compiling withoutOlivier Abad1-3/+23
libpcap. svn path=/trunk/; revision=8726
2003-10-17Further expand a comment.Guy Harris1-6/+7
svn path=/trunk/; revision=8724
2003-10-17Change the comments about toolbar elements resizing as it is notOlivier Abad1-10/+7
necessary in GTK+ 2.x svn path=/trunk/; revision=8721
2003-10-16From Ulf Lamping: add a GUI preference item to control the toolbarGuy Harris1-29/+31
style. Make the style text arrays static, as nobody uses them outside prefs.c. Use FALSE and TRUE for the values for the Boolean controlling the highlighting style. Note that we're now using stock icons in the toolbar in GTK+ 2.x. Put back the resizing of elements in the top-level container, at least for GTK+ 1.2[.x]; otherwise, the toolbar's height never gets smaller, even if you change the style in such a way as to reduce the height of the elements (icons+text -> icons or text, icons -> text). Make some routines and variables not used outside gtk/toolbar.c static. svn path=/trunk/; revision=8720
2003-10-16Put back Guy's changes from r1.3 (print callback, and "Find frame..."Olivier Abad1-5/+5
tooltip). svn path=/trunk/; revision=8719
2003-10-16- use stock icons in the toolbar when using GTK2Olivier Abad1-279/+433
- use GTK1/2 compatibility macros [GS]ET_OBJECT_DATA where needed - add a set_toolbar_object_data() function which associates the display filter entry (from the main window) with the E_DFILTER_TE_KEY for the open and reload buttons (it is needed by the open and reload callbacks). The function is called in create_main_window() - reindent svn path=/trunk/; revision=8718
2003-10-15"Find frame" can do more than search with a display filter.Guy Harris1-2/+2
svn path=/trunk/; revision=8712
2003-10-15Note that we might want to use the GTK+ 2.x stock icon mechanism whenGuy Harris1-5/+7
building for GTK+ 2.x. Fix the callback for the "Print" button. svn path=/trunk/; revision=8711
2003-10-15From Ulf Lamping: toolbar.Guy Harris1-0/+433
svn path=/trunk/; revision=8707