aboutsummaryrefslogtreecommitdiff
path: root/libindicator
diff options
context:
space:
mode:
Diffstat (limited to 'libindicator')
-rw-r--r--libindicator/indicator-ng.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libindicator/indicator-ng.c b/libindicator/indicator-ng.c
index d0d2177..ea02847 100644
--- a/libindicator/indicator-ng.c
+++ b/libindicator/indicator-ng.c
@@ -431,6 +431,12 @@ indicator_ng_init (IndicatorNg *self)
self->image = g_object_ref_sink (gtk_image_new ());
self->gtkmenu = g_object_ref_sink (gtk_menu_new ());
+ /* work around IndicatorObject's warning that the accessible
+ * description is missing. We never set it on construction, but when
+ * the menu model has arrived on the bus.
+ */
+ self->accessible_desc = g_strdup ("");
+
indicator_object_set_visible (INDICATOR_OBJECT (self), FALSE);
}