diff options
author | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-02-06 15:37:38 -0500 |
---|---|---|
committer | Lars Uebernickel <lars.uebernickel@canonical.com> | 2013-02-06 15:37:38 -0500 |
commit | f9f86fbfa558e83d8591fbec43e95dcb5cc34584 (patch) | |
tree | 12dba699c331e5d0cb95ccc83d5b099daa98145f /libindicator/indicator-object.h | |
parent | 8ff25e5375c3a0cb399fa687bf541f1cc0f4a020 (diff) | |
download | libayatana-indicator-f9f86fbfa558e83d8591fbec43e95dcb5cc34584.tar.gz libayatana-indicator-f9f86fbfa558e83d8591fbec43e95dcb5cc34584.tar.bz2 libayatana-indicator-f9f86fbfa558e83d8591fbec43e95dcb5cc34584.zip |
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.
Diffstat (limited to 'libindicator/indicator-object.h')
-rw-r--r-- | libindicator/indicator-object.h | 1 |
1 files changed, 1 insertions, 0 deletions
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); |