diff options
Diffstat (limited to 'libindicator/indicator-ng.c')
-rw-r--r-- | libindicator/indicator-ng.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/libindicator/indicator-ng.c b/libindicator/indicator-ng.c index 3465254..b58a6c3 100644 --- a/libindicator/indicator-ng.c +++ b/libindicator/indicator-ng.c @@ -273,12 +273,9 @@ indicator_ng_update_entry (IndicatorNg *self) else g_warning ("the action of the indicator menu item must have state with type (sssb) or a{sv}"); - if (label) - indicator_ng_set_label (self, label); - if (icon) - indicator_ng_set_icon_from_variant (self, icon); - if (accessible_desc) - indicator_ng_set_accessible_desc (self, accessible_desc); + indicator_ng_set_label (self, label); + indicator_ng_set_icon_from_variant (self, icon); + indicator_ng_set_accessible_desc (self, accessible_desc); indicator_object_set_visible (INDICATOR_OBJECT (self), visible); if (icon) |