aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
-rw-r--r--debian/changelog9
-rw-r--r--src/indicator-messages.c4
-rw-r--r--src/messages-service.c2
4 files changed, 13 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index 430203e..4b36234 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4,7 +4,7 @@ AC_INIT(src/indicator-messages.c)
AC_PREREQ(2.53)
AM_CONFIG_HEADER(config.h)
-AM_INIT_AUTOMAKE(indicator-messages, 0.2.5)
+AM_INIT_AUTOMAKE(indicator-messages, 0.2.6)
AM_MAINTAINER_MODE
diff --git a/debian/changelog b/debian/changelog
index 463348b..fd76d06 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+indicator-messages (0.2.6-0ubuntu1) UNRELEASED; urgency=low
+
+ * Upstream release 0.2.6 (LP: #446629)
+ * Building the menu after checking the blacklist so that the
+ separators are all correct.
+ * Small fix for a perspective memory leak.
+
+ -- Ted Gould <ted@ubuntu.com> Thu, 08 Oct 2009 10:39:29 -0400
+
indicator-messages (0.2.5-0ubuntu1) karmic; urgency=low
* Upstream release 0.2.5 (LP: #440217)
diff --git a/src/indicator-messages.c b/src/indicator-messages.c
index 0d0e294..e7d6207 100644
--- a/src/indicator-messages.c
+++ b/src/indicator-messages.c
@@ -202,12 +202,12 @@ indicator_prop_change_cb (DbusmenuMenuitem * mi, gchar * prop, gchar * value, in
static gboolean
new_indicator_item (DbusmenuMenuitem * newitem, DbusmenuMenuitem * parent, DbusmenuClient * client)
{
- indicator_item_t * mi_data = g_new0(indicator_item_t, 1);
-
g_return_val_if_fail(DBUSMENU_IS_MENUITEM(newitem), FALSE);
g_return_val_if_fail(DBUSMENU_IS_GTKCLIENT(client), FALSE);
/* Note: not checking parent, it's reasonable for it to be NULL */
+ indicator_item_t * mi_data = g_new0(indicator_item_t, 1);
+
GtkMenuItem * gmi = GTK_MENU_ITEM(gtk_menu_item_new());
GtkWidget * hbox = gtk_hbox_new(FALSE, 4);
diff --git a/src/messages-service.c b/src/messages-service.c
index 754d7ee..f5681b7 100644
--- a/src/messages-service.c
+++ b/src/messages-service.c
@@ -1147,7 +1147,6 @@ build_launcher (gpointer data)
/* Add it to the menu */
dbusmenu_menuitem_child_append(root_menuitem, DBUSMENU_MENUITEM(ll->menuitem));
dbusmenu_menuitem_child_append(root_menuitem, DBUSMENU_MENUITEM(ll->separator));
- resort_menu(root_menuitem);
/* If we're in the black list or we've gotten eclipsed
by something else, hide the item and the separator. */
@@ -1157,6 +1156,7 @@ build_launcher (gpointer data)
dbusmenu_menuitem_property_set(ll->separator, DBUSMENU_MENUITEM_PROP_VISIBLE, "false");
}
+ resort_menu(root_menuitem);
check_hidden();
} else {
/* If so add ourselves */