aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/tcp_graph.c
AgeCommit message (Collapse)AuthorFilesLines
2012-01-15Move gtk to ui/gtk.Jörg Mayer1-4608/+0
This looses the last checkin to gtk, will add this manually back. svn path=/trunk/; revision=40518
2011-12-20Correct a few typos.Chris Maynard1-3/+3
svn path=/trunk/; revision=40250
2011-12-06Enabling crosshairs on TCP stream graph paints the screen.Anders Broman1-2/+2
Move the problem to GTK3+ https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6646 svn path=/trunk/; revision=40106
2011-09-25We now always build with MAIN_MENU_USE_UIMANAGER, so remove all code usingJörg Mayer1-47/+1
the old ways except the proto_help.c file, which is kept for now in case someone is willing to reimplement the help menus using non-deprecated methods. svn path=/trunk/; revision=39137
2011-09-14Trivial fix that would create one of the three GDK_DEPRECATED errors.Jörg Mayer1-2/+2
Use the #define instead of "font" svn path=/trunk/; revision=38998
2011-08-25TypoAnders Broman1-1/+1
svn path=/trunk/; revision=38731
2011-08-25GTK3 make the tcp_graph work.Anders Broman1-7/+4
svn path=/trunk/; revision=38730
2011-08-25Simplify the ciode a bit.Anders Broman1-89/+9
svn path=/trunk/; revision=38729
2011-08-24Mark another widget argument as unused.Guy Harris1-1/+1
svn path=/trunk/; revision=38722
2011-08-24Put back the experimental GTK3 code. To be tested tomorrow :-)Anders Broman1-1/+39
svn path=/trunk/; revision=38720
2011-08-24Argh, forgot the _U_:sAnders Broman1-9/+9
svn path=/trunk/; revision=38719
2011-08-24Use user data rather than setting object data.Anders Broman1-30/+28
svn path=/trunk/; revision=38718
2011-08-24Back out the previous commits, the graph blows up - at least in the GTK2 ↵Anders Broman1-50/+21
version. svn path=/trunk/; revision=38717
2011-08-24Mark widget parameter as unused a number of timesStephen Fisher1-6/+6
svn path=/trunk/; revision=38716
2011-08-24GTK3 expose_event -> drawAnders Broman1-21/+50
Not compiled/tested svn path=/trunk/; revision=38715
2011-08-24Call gdk_cairo_create() for earlier versions of gtk.Martin Mathieson1-1/+1
Is this correct? svn path=/trunk/; revision=38711
2011-08-24Code clean up as draw_arc works with cairo now.Anders Broman1-20/+4
svn path=/trunk/; revision=38710
2011-08-24Paths changed for UI_MANAGERAnders Broman1-5/+5
svn path=/trunk/; revision=38709
2011-08-24Simplified some GTK_CHECK_VERSION to improve readability.Stig Bjørlykke1-6/+3
svn path=/trunk/; revision=38708
2011-08-23Missed backing out one line...Anders Broman1-1/+1
svn path=/trunk/; revision=38690
2011-08-23Make colors work on GTK3 take 2Anders Broman1-13/+12
Revert tcp_graph commit by mistake, typo etc svn path=/trunk/; revision=38689
2011-08-23Make colors work on GTK3Anders Broman1-13/+14
svn path=/trunk/; revision=38687
2011-08-21Get the replacement for the arc drawing working.Jörg Mayer1-64/+21
Fix the crash by removing the call to gdk_cairo_set_source_color which for some reason caused the crash. Remove the 3.0 hack and use the new code instead. Always unset GDK_DEPRECATED compile flag as there are remaining errors. svn path=/trunk/; revision=38637
2011-08-21Missed one instance of arc -> ellipse renaming.Jörg Mayer1-1/+1
svn path=/trunk/; revision=38635
2011-08-21The arc function was only used to draw filled ellipses. Change code toJörg Mayer1-66/+46
reflect this. svn path=/trunk/; revision=38634
2011-08-21Small whitespace changes.Jörg Mayer1-11/+11
svn path=/trunk/; revision=38633
2011-08-19GTK 3.0Anders Broman1-27/+173
Make tcp_graph.c build on GTK3 without breaking GTK2. Cross and Window scaling graph is not working in GTK 3. svn path=/trunk/; revision=38615
2011-08-19Back out previous commit (38612) which was the brutal patch to build withStephen Fisher1-40/+33
GTK 3 because not all of it is contained within #if statements for GTK 3 builds and could affect GTK 2 builds as well. svn path=/trunk/; revision=38613
2011-08-18From Anders on -dev:Stephen Fisher1-33/+40
Brutal patch to build with GTK 3.0 With the enclosed patch Wireshark builds on GTK3.0. Colors are messed up etc but it should be possible to start to fix things and actually see what's happening. I wouldn't be surprised if many patches leading up to this are faulty. Color handling should probably be rewritten to use GdkRGBA in many places etc. http://www.wireshark.org/lists/wireshark-dev/201108/msg00383.html svn path=/trunk/; revision=38612
2011-08-18Use cairo_surface_t instead of axis_pixmap.Anders Broman1-20/+91
svn path=/trunk/; revision=38599
2011-08-18Use cairo_surface_t instead of title_pixmap.Anders Broman1-2/+34
svn path=/trunk/; revision=38598
2011-08-11Remove unused variables.Anders Broman1-2/+0
svn path=/trunk/; revision=38481
2011-08-11Get rid of no longer neded GdkGC:sAnders Broman1-66/+1
svn path=/trunk/; revision=38479
2011-08-11Use Cairo in more places.Anders Broman1-9/+114
The #if 0 code in draw_element_arc() currently crashes and the arc coordinates should be fixed to work with Cairo, any help apreciated :-) svn path=/trunk/; revision=38477
2011-08-10More Cairo conversion.Anders Broman1-14/+23
svn path=/trunk/; revision=38446
2011-08-10Use Cairo for drawing in more places.Anders Broman1-8/+19
svn path=/trunk/; revision=38443
2011-08-09Use Cairo for drawing in more places.Anders Broman1-19/+52
svn path=/trunk/; revision=38435
2011-08-09Start using Cairo for drawing.Anders Broman1-40/+90
svn path=/trunk/; revision=38433
2011-08-08#include "../color.h" not needed.Anders Broman1-1/+0
svn path=/trunk/; revision=38400
2011-07-26Replace access to ...->allocation by gtk_widget_get_allocation +Jörg Mayer1-4/+4
using the return val - part 1 Maybe the call needs to be done more often. Replace GTK_WIDGET_STATE by gtk_widget_get_state svn path=/trunk/; revision=38215
2011-07-21Fix almost all accesses to ->windowJörg Mayer1-32/+33
svn path=/trunk/; revision=38151
2011-07-21Replace references to style by gtk_widget_get_style (according toJörg Mayer1-1/+1
http://developer.gnome.org/gtk/2.24/GtkWidget.html#gtk-widget-get-style this doesn't require a minimum version) svn path=/trunk/; revision=38139
2011-07-19Get rid of direct access to struct GtkToggleButtonJörg Mayer1-7/+7
svn path=/trunk/; revision=38113
2011-07-18Fix some trivial cases of gdk-deprecated warnings. The remainingJörg Mayer1-2/+2
ones have to be fixed by someone who understands the code. svn path=/trunk/; revision=38092
2011-07-14Remove trailing whitespaceJörg Mayer1-21/+21
Replace a deprecated gdk function svn path=/trunk/; revision=38027
2011-07-14Replace deprecated gdk_pixmap_unref() with g_object_unref().Anders Broman1-11/+11
Update checkAPIs. svn path=/trunk/; revision=38013
2011-07-13Remove two deprecated functions.Anders Broman1-2/+2
svn path=/trunk/; revision=37997
2011-06-20GTK3 fixes:Jörg Mayer1-0/+3
- Replace 2 cases where GtkObject was used (no longer exists in GTK3) - Whenever gdkkeysyms.h is included also include gdkkeysyms-compat.h iff we are building against gtk3 svn path=/trunk/; revision=37722
2011-05-19Fix two warning in case of UIMANAGER:Jörg Mayer1-1/+3
- Unused variable - ‘graph_type’ may be used uninitialized Is the second part of the patch (added inside the else clause) correct? svn path=/trunk/; revision=37282
2011-05-15Set menu sensitivity.Anders Broman1-2/+6
svn path=/trunk/; revision=37156