summaryrefslogtreecommitdiff
diff options
-rw-r--r--unity-private/panel/panel-indicator-object-entry-view.vala28
1 files changed, 28 insertions, 0 deletions
diff --git a/unity-private/panel/panel-indicator-object-entry-view.vala b/unity-private/panel/panel-indicator-object-entry-view.vala
index 5271d7364..c1d2e05d4 100644
--- a/unity-private/panel/panel-indicator-object-entry-view.vala
+++ b/unity-private/panel/panel-indicator-object-entry-view.vala
@@ -43,6 +43,34 @@ namespace Unity.Panel.Indicators
spacing:3,
homogeneous:false,
reactive:true);
+
+ if (entry.label != null)
+ {
+ if ((entry.label.get_flags () & Gtk.WidgetFlags.SENSITIVE) != 0)
+ {
+ this.reactive = true;
+ this.skip = false;
+ }
+ else
+ {
+ this.reactive = false;
+ this.skip = true;
+ }
+ }
+
+ if (entry.image != null)
+ {
+ if ((entry.image.get_flags () & Gtk.WidgetFlags.SENSITIVE) != 0)
+ {
+ this.reactive = true;
+ this.skip = false;
+ }
+ else
+ {
+ this.reactive = false;
+ this.skip = true;
+ }
+ }
}
~IndicatorObjectEntryView ()