summaryrefslogtreecommitdiff
path: root/src/load-graph.cpp
AgeCommit message (Collapse)AuthorFilesLines
2016-03-01remove useless includemonsta1-1/+0
2016-02-29change colour -> color in comments for consistency with stringsmonsta1-1/+1
2016-02-28GTK+-3: Get values from GtkStyleContext states properlyraveit651-3/+12
2016-02-03Changed graph grid line colors basedWolfgang Ulbrich1-7/+10
inspired from: https://git.gnome.org/browse/gnome-system-monitor/commit/?id=cb54374
2016-02-03load-graph.cpp: Draw the background explicitlyWolfgang Ulbrich1-10/+12
The gdk_window_set_background_pattern() function is a little dubious to use unless you are writing GTK+ code since the background may be overridden by gtkwidget.c whenever the style of the widget changes. Needed for gtk+-3.20
2016-01-11drop GTK+2 code and --with-gtk build optionMonsta1-50/+1
2015-12-01GTK3: don't use deprecated gtk_{v/h}-boxWolfgang Ulbrich1-0/+3
2015-12-01GTK3: don't use deprecated gtk_style_context_get_fontWolfgang Ulbrich1-1/+1
inspired from: https://git.gnome.org/browse/gnome-system-monitor/commit/?id=a2d7fc1
2015-12-01GTK3: Do not use deprecated APIWolfgang Ulbrich1-0/+28
Namely, we make the following replacements: * GtkStyle -> GtkStyleContext * GdkColor -> GdkRGBA * GtkColorSelectionDialog -> GtkColorChooserDialog taken from....but adjusted: https://git.gnome.org/browse/gnome-system-monitor/commit/?id=7ac1c1c
2014-12-19Removed unused allocation from load_graph_draw.infirit1-2/+0
Taken from GSM commit: 5084e4a76abdf089aecc1d3f8565604a31d03a4e From: Robert Roth <[email protected]>
2014-12-19Fixed unsigned overflow error (use guint64 instead of unsigned).infirit1-1/+1
Taken from GSM commit: 74ba377a5a7d4787595e1b46c1e880426584a2fd From: Robert Roth <[email protected]> Gnome bug: https://bugzilla.gnome.org/show_bug.cgi?id=681553
2014-12-18Various small string fixes.infirit1-2/+2
Mostly capitalisation fixes, but there are some spelling fixes, and three strings which have had markup removed. One string has been changed from using an ASCII ellipsis to a Unicode one. Taken from GSM commit: f727cae54fc8410ecb3c2c4c4f901b754f418a7a From: Philip Withnall <[email protected]> Gnome bug: https://bugzilla.gnome.org/show_bug.cgi?id=616794
2014-12-18Use pango instead of cairo_show_text in load-graphinfirit1-12/+22
Taken from GSM commit: 62c46d71e8c4ab5a2e68f7b1ad9d780c1728b6e2 From: Haggai Eran <[email protected]> Gnome bug: https://bugzilla.gnome.org/show_bug.cgi?id=536006
2014-12-18Fixed logic for scaling net load when using bitsinfirit1-7/+39
Taken from GSM commit: c3c986f6c888a274278a1e5a112befedc23abc6d From: Conor O'Gorman <[email protected]> Gnome bug: https://bugzilla.gnome.org/show_bug.cgi?id=656840
2014-12-18Don't show swap history when computer has no swapinfirit1-2/+6
Taken from GSM commit: 466b7e64cdac761eabd9ab69be8f72955e07f813 From: Chris Kühl <[email protected]> Gnome bug: https://bugzilla.gnome.org/show_bug.cgi?id=414492
2014-12-18Remove unnecessary assert which causes crashinfirit1-2/+0
Taken from GSM commit: dbc19ed7fa89ddd426028a45265ea49857272637 From: Chris Kühl <[email protected]> Gnome bug: https://bugzilla.gnome.org/show_bug.cgi?id=578520
2014-12-18Removed unnecessary use of 'this->' for class membersinfirit1-7/+7
Taken from GSM commit: 3708a48b131cb412b5021334ff57140972a1fcd0 From: Chris Kühl <[email protected]>
2014-12-18Removed unnecessary use of 'graph->' for class membersinfirit1-43/+43
Taken from GSM commit: 8cc4f7259e3829264197a8daebe34527d3d3d697 From: Chris Kühl <[email protected]>
2014-12-18Stop initializing variables twice in LoadGraph ctorinfirit1-10/+5
Taken from GSM commit: e5410092bd1a6edee184aa56fba807498733f06a From: Chris Kühl <[email protected]>
2014-12-18Give 'g' variable meaningful name, 'graph'infirit1-197/+197
Taken from GSM commit: ffdc8936d6b78ddd630d9448341ef515eee8c7f7 From: Chris Kühl <[email protected]>
2014-12-18Make indentation uniform across source filesinfirit1-568/+568
No more tabs, 4 spaces instead. And remove trailing whitespace.
2014-12-17Fix for issues on 32-bit machinesinfirit1-9/+15
Taken from GSM commit: 843cc40119d36873f9670975c7815fbd38481093 From: Chris Kühl <[email protected]> Gnome bug: Fix for issues on 32-bit machines
2014-12-17Fix network totals overflow on 32-bit machinesinfirit1-19/+19
Taken from GSM commit: c7275791a89623ad1edc820a6ef16faae37a18aa From: Chris Kühl <[email protected]> Gnome bug: https://bugzilla.gnome.org/show_bug.cgi?id=639212
2014-12-17Gtk3: Rename callback function to reflect changed signal.infirit1-5/+5
2013-11-21add support for GTK3Elias Aebi1-11/+27
2012-03-17Replace old GDK drawing APIChris Kühl1-20/+10
Patch from Sergey Nizovtsev. See https://bugzilla.gnome.org/show_bug.cgi?id=627568
2011-11-08initialPerberos1-0/+787