From f9f86fbfa558e83d8591fbec43e95dcb5cc34584 Mon Sep 17 00:00:00 2001 From: Lars Uebernickel Date: Wed, 6 Feb 2013 15:37:38 -0500 Subject: indicator-ng: try to restart the service when it crashes This uses a (slightly) awkward heuristic: when the well-known name vanishes from the session bus, it only restarts the service when it didn't explicitly hide the indicator before. --- libindicator/indicator-object.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libindicator/indicator-object.h') diff --git a/libindicator/indicator-object.h b/libindicator/indicator-object.h index d8551f9..3c1a203 100644 --- a/libindicator/indicator-object.h +++ b/libindicator/indicator-object.h @@ -199,6 +199,7 @@ GList * indicator_object_get_entries (IndicatorObject * io); guint indicator_object_get_location (IndicatorObject * io, IndicatorObjectEntry * entry); guint indicator_object_get_show_now (IndicatorObject * io, IndicatorObjectEntry * entry); void indicator_object_set_visible (IndicatorObject * io, gboolean visible); +gboolean indicator_object_entry_is_visible (IndicatorObject * io, IndicatorObjectEntry * entry); void indicator_object_entry_activate (IndicatorObject * io, IndicatorObjectEntry * entry, guint timestamp); void indicator_object_entry_activate_window (IndicatorObject * io, IndicatorObjectEntry * entry, guint windowid, guint timestamp); void indicator_object_entry_close (IndicatorObject * io, IndicatorObjectEntry * entry, guint timestamp); -- cgit v1.2.3