[network-manager-applet] applet: debug print status icon size allocation (arch #29277)



commit 2a5577563ff41f7ff0c5f63e5a79d8eb7905f237
Author: Dan Williams <dcbw redhat com>
Date:   Fri May 4 15:54:53 2012 -0500

    applet: debug print status icon size allocation (arch #29277)

 src/applet.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/applet.c b/src/applet.c
index e6a3e2e..51336cf 100644
--- a/src/applet.c
+++ b/src/applet.c
@@ -3137,6 +3137,10 @@ status_icon_size_changed_cb (GtkStatusIcon *icon,
                              gint size,
                              NMApplet *applet)
 {
+	if (getenv ("NMA_SIZE_DEBUG")) {
+		g_message ("%s(): status icon size now %d", __func__, size);
+	}
+
 	/* icon_size may be 0 if for example the panel hasn't given us any space
 	 * yet.  We'll get resized later, but for now just load the 16x16 icons.
 	 */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]