[Xfce4-commits] [panel-plugins/xfce4-hardware-monitor-plugin] 19/96: Some debug code
noreply at xfce.org
noreply at xfce.org
Thu Nov 27 22:20:24 CET 2014
This is an automated email from the git hooks/post-receive script.
nick pushed a commit to branch master
in repository panel-plugins/xfce4-hardware-monitor-plugin.
commit 3e967b113db025b8bb36c275dafd13845b1aeaee
Author: Omega Weapon <OmegaPhil at gmail.com>
Date: Tue Oct 29 21:43:54 2013 +0000
Some debug code
---
src/applet.cpp | 2 +-
src/canvas-view.cpp | 6 ++++++
src/curve-view.cpp | 3 +++
3 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/src/applet.cpp b/src/applet.cpp
index 541f994..db97399 100644
--- a/src/applet.cpp
+++ b/src/applet.cpp
@@ -348,7 +348,7 @@ bool Applet::main_loop()
// Update view
if (view.get())
view->update();
-
+
// Update tooltip
Glib::ustring tip;
for (monitor_iter i = monitors.begin(), end = monitors.end(); i != end; ++i) {
diff --git a/src/canvas-view.cpp b/src/canvas-view.cpp
index 62fe298..43f84de 100644
--- a/src/canvas-view.cpp
+++ b/src/canvas-view.cpp
@@ -57,6 +57,9 @@ void CanvasView::do_update()
size = 60;
bool size_missing = true;
+ // Debug code
+ //std::cout << "In CanvasView::do_update!\n";
+
/* Obtaining size
* Keeping with the default settings group for viewer settings
* Search for settings file */
@@ -162,6 +165,9 @@ void CanvasView::resize_canvas()
canvas->set_scroll_region(0, 0, w, h);
canvas->set_size_request(w, h);
}
+
+ // Debug code
+ //std::cout << "In CanvasView::resize_canvas!\n" << w << "|" << h << "\n";
}
bool CanvasView::draw_loop()
diff --git a/src/curve-view.cpp b/src/curve-view.cpp
index 6ba2ed9..01e252e 100644
--- a/src/curve-view.cpp
+++ b/src/curve-view.cpp
@@ -170,6 +170,9 @@ void Curve::draw(Gnome::Canvas::Canvas &canvas,
} while (++vi != vend);
line->property_points() = points;
+
+ // Debug code
+ //std::cout << "In CurveView::draw!\n" << color << "\n";
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list