From 2aec0b945a40226d2a6571ca774fd96563e91a76 Mon Sep 17 00:00:00 2001 From: Sense Hofstede Date: Thu, 25 Feb 2010 15:23:23 +0100 Subject: * Correct the Mono bindings metadata to properly bind with the signals (Closes LP: #526620) --- bindings/mono/libappindicator-api.metadata | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bindings/mono/libappindicator-api.metadata b/bindings/mono/libappindicator-api.metadata index 86f0f26..c94cc5b 100644 --- a/bindings/mono/libappindicator-api.metadata +++ b/bindings/mono/libappindicator-api.metadata @@ -2,9 +2,13 @@ ApplicationIndicator NewAttentionIcon + new-attention-icon NewStatus + new-status ConnectionChanged + connection-changed NewIcon + new-icon ID -- cgit v1.2.3 From e8fe4dd5541ec1c323b8d9e8943296b89b9205e7 Mon Sep 17 00:00:00 2001 From: Sense Hofstede Date: Thu, 25 Feb 2010 16:47:37 +0100 Subject: * Do send the connection-changed signal, in check_connect() -- when a new connection is established -- watcher_proxy_destroyed() and app_indicator_dispose() (Closes LP: #527082) --- src/libappindicator/app-indicator.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/libappindicator/app-indicator.c b/src/libappindicator/app-indicator.c index 7c1ac82..02ce971 100644 --- a/src/libappindicator/app-indicator.c +++ b/src/libappindicator/app-indicator.c @@ -387,6 +387,9 @@ app_indicator_dispose (GObject *object) g_signal_handlers_disconnect_by_func(G_OBJECT(priv->watcher_proxy), watcher_proxy_destroyed, self); g_object_unref(G_OBJECT(priv->watcher_proxy)); priv->watcher_proxy = NULL; + + /* Emit the AppIndicator::connection-changed signal*/ + g_signal_emit (self, signals[CONNECTION_CHANGED], 0, FALSE); } if (priv->connection != NULL) { @@ -625,6 +628,9 @@ check_connect (AppIndicator *self) org_freedesktop_StatusNotifierWatcher_register_status_notifier_item_async(priv->watcher_proxy, path, register_service_cb, self); g_free(path); + /* Emit the AppIndicator::connection-changed signal*/ + g_signal_emit (self, signals[CONNECTION_CHANGED], 0, TRUE); + return; } @@ -639,6 +645,10 @@ watcher_proxy_destroyed (GObject * object, gpointer data) dbus_g_connection_unregister_g_object(self->priv->connection, G_OBJECT(self)); self->priv->watcher_proxy = NULL; + + /* Emit the AppIndicator::connection-changed signal*/ + g_signal_emit (self, signals[CONNECTION_CHANGED], 0, FALSE); + start_fallback_timer(self, FALSE); return; } -- cgit v1.2.3 From 1cfa837edeaaf28d17a6e2106c944f709241edad Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Thu, 25 Feb 2010 10:47:38 -0600 Subject: Hiding the notification icon before unreffing it. --- src/libappindicator/app-indicator.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libappindicator/app-indicator.c b/src/libappindicator/app-indicator.c index 7c1ac82..263cd8c 100644 --- a/src/libappindicator/app-indicator.c +++ b/src/libappindicator/app-indicator.c @@ -885,6 +885,7 @@ unfallback (AppIndicator * self, GtkStatusIcon * status_icon) { g_signal_handlers_disconnect_by_func(G_OBJECT(self), status_icon_status_wrapper, status_icon); g_signal_handlers_disconnect_by_func(G_OBJECT(self), status_icon_changes, status_icon); + gtk_widget_hide(GTK_WIDGET(status_icon)); g_object_unref(G_OBJECT(status_icon)); return; } -- cgit v1.2.3 From ddbb7c067ae834b772c0f7a83879463cf67b7643 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Thu, 25 Feb 2010 15:03:58 -0600 Subject: Ignoring everything. --- .bzrignore | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.bzrignore b/.bzrignore index 24a0402..0f2b3d0 100644 --- a/.bzrignore +++ b/.bzrignore @@ -1,6 +1,5 @@ data/indicator-application.service compile -indicator-application-[0-9].[0-9].[0-9].tar.gz m4/ src/indicator-application-service src/libappindicator.la @@ -93,3 +92,11 @@ tests/test-libappindicator-fallback tests/test-libappindicator-status tests/test-libappindicator-status-client tests/test-libappindicator-status-server +bindings/mono/AppIndicator.Test.dll +bindings/mono/libappindicator-api.middle +bindings/mono/examples/IndicatorExample.exe +src/libappindicator/app-indicator-enum-types.gen.c +indicator-application-[0-9].[0-9].[0-9].tar.gz +indicator-application-[0-9].[0-9].[0-9].tar.gz.asc +indicator-application-[0-9].[0-9].[0-9][0-9].tar.gz +indicator-application-[0-9].[0-9].[0-9][0-9].tar.gz.asc -- cgit v1.2.3 From bc5b940605bdcd6282f7eda735ef3d262101da79 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Thu, 25 Feb 2010 15:06:06 -0600 Subject: 0.0.14 --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index a3c26e5..219a08e 100644 --- a/configure.ac +++ b/configure.ac @@ -1,11 +1,11 @@ -AC_INIT(indicator-application, 0.0.13, ted@canonical.com) +AC_INIT(indicator-application, 0.0.14, ted@canonical.com) AC_COPYRIGHT([Copyright 2009, 2010 Canonical]) AC_PREREQ(2.53) AM_CONFIG_HEADER(config.h) -AM_INIT_AUTOMAKE(indicator-application, 0.0.13) +AM_INIT_AUTOMAKE(indicator-application, 0.0.14) AM_MAINTAINER_MODE -- cgit v1.2.3 From 23541b975167a5c920aa1835bc853f2f4f193578 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Thu, 25 Feb 2010 15:22:31 -0600 Subject: releasing version 0.0.14-0ubuntu1~ppa1 --- debian/changelog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 053c781..8b113db 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -indicator-application (0.0.14-0ubuntu1~ppa1) UNRELEASED; urgency=low +indicator-application (0.0.14-0ubuntu1~ppa1) lucid; urgency=low * Upstream release 0.0.14 ∘ Fix mono bindings to include proper metadata (LP: #526620) @@ -17,7 +17,7 @@ indicator-application (0.0.14-0ubuntu1~ppa1) UNRELEASED; urgency=low ∘ Fix custom labels on stock items. ∘ Adds support for submenus - -- Ted Gould Thu, 25 Feb 2010 15:16:38 -0600 + -- Ted Gould Thu, 25 Feb 2010 15:22:28 -0600 indicator-application (0.0.13-0ubuntu8) lucid; urgency=low -- cgit v1.2.3