[Goodies-commits] r3254 - xfce4-smartpm-plugin/trunk/src
Anders F Bjorklund
afb at xfce.org
Thu Sep 27 21:02:39 CEST 2007
Author: afb
Date: 2007-09-27 19:02:39 +0000 (Thu, 27 Sep 2007)
New Revision: 3254
Modified:
xfce4-smartpm-plugin/trunk/src/xfcesmart.c
Log:
show package icon not application icon, even when errors happen
Modified: xfce4-smartpm-plugin/trunk/src/xfcesmart.c
===================================================================
--- xfce4-smartpm-plugin/trunk/src/xfcesmart.c 2007-09-27 18:58:34 UTC (rev 3253)
+++ xfce4-smartpm-plugin/trunk/src/xfcesmart.c 2007-09-27 19:02:39 UTC (rev 3254)
@@ -516,8 +516,10 @@
gtk_tooltips_set_tip(smart->tooltip, smart->button, s, NULL);
if (smart->show_application)
smart_set_icon(smart, smart->application_icon, smart->error_icon);
+ else if (smart->updates_available <= 0)
+ smart_set_icon(smart, smart->nopackage_icon, smart->error_icon);
else
- smart_set_icon(smart, smart->application_icon, smart->error_icon);
+ smart_set_icon(smart, smart->newpackage_icon, smart->error_icon);
g_free(s);
}
More information about the Goodies-commits
mailing list