Merge lp:~dbusmenu-team/libdbusmenu/ubuntu into lp:~ubuntu-desktop/libdbusmenu/ubuntu

Proposed by Ted Gould
Status: Rejected
Rejected by: Ken VanDine
Proposed branch: lp:~dbusmenu-team/libdbusmenu/ubuntu
Merge into: lp:~ubuntu-desktop/libdbusmenu/ubuntu
Diff against target: 244 lines (+69/-22)
8 files modified
ChangeLog (+28/-0)
configure (+11/-11)
configure.ac (+3/-3)
debian/changelog (+10/-0)
docs/libdbusmenu-glib/reference/version.xml (+1/-1)
docs/libdbusmenu-gtk/reference/version.xml (+1/-1)
libdbusmenu-gtk/client.c (+14/-6)
libdbusmenu-gtk/genericmenuitem.c (+1/-0)
To merge this branch: bzr merge lp:~dbusmenu-team/libdbusmenu/ubuntu
Reviewer Review Type Date Requested Status
Ken VanDine Disapprove
Review via email: mp+79311@code.launchpad.net
To post a comment you must log in.
lp:~dbusmenu-team/libdbusmenu/ubuntu updated
162. By Ken VanDine

releasing version 0.5.0-0ubuntu3

Revision history for this message
Ken VanDine (ken-vandine) wrote :

The ~ubuntu-desktop branch wasn't current, we had already had uploads which included these fixes so no point in updating just for the version. I manually merged the changes from 0.5.0-0ubuntu3 into the packaging branch and pushed it.

review: Disapprove

Unmerged revisions

177. By Sebastien Bacher

releasing version 0.5.93-0ubuntu2

176. By Sebastien Bacher

Backport fix for signal warnings displayed on close (lp: #950762)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'ChangeLog'
--- ChangeLog 2011-09-29 19:40:10 +0000
+++ ChangeLog 2011-10-13 16:36:18 +0000
@@ -1,5 +1,33 @@
1# Generated by Makefile. Do not edit.1# Generated by Makefile. Do not edit.
22
32011-10-13 Ted Gould <ted@gould.cx>
4
5 0.5.1
6
72011-10-12 Ted Gould <ted@gould.cx>
8
9 Allow about-to-show on 0 based items (root items)
10
112011-09-30 Ken VanDine <ken.vandine@canonical.com>
12
13 id of 0 in dbusmenu_client_send_about_to_show is valid, and used in appindicators like nm-applet (LP: #862989)
14
152011-10-12 Ted Gould <ted@gould.cx>
16
17 Make sure to finally unref the GTK menuitem
18
192011-10-04 Michael Terry <michael.terry@canonical.com>
20
21 remove last ref from GtkMenuItems that we create
22
232011-10-12 Ted Gould <ted@gould.cx>
24
25 If the child is copied make sure we don't delete the original.
26
272011-10-05 Michael Terry <michael.terry@canonical.com>
28
29 when resetting an image widget and it's the only child of the menuitem, make sure we don't try to use free'd memory
30
32011-09-29 Ted Gould <ted@gould.cx>312011-09-29 Ted Gould <ted@gould.cx>
432
5 0.5.033 0.5.0
634
=== modified file 'configure'
--- configure 2011-09-29 19:41:43 +0000
+++ configure 2011-10-13 16:36:18 +0000
@@ -1,6 +1,6 @@
1#! /bin/sh1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.68 for libdbusmenu 0.5.0.3# Generated by GNU Autoconf 2.68 for libdbusmenu 0.5.1.
4#4#
5# Report bugs to <ted@canonical.com>.5# Report bugs to <ted@canonical.com>.
6#6#
@@ -572,8 +572,8 @@
572# Identity of this package.572# Identity of this package.
573PACKAGE_NAME='libdbusmenu'573PACKAGE_NAME='libdbusmenu'
574PACKAGE_TARNAME='libdbusmenu'574PACKAGE_TARNAME='libdbusmenu'
575PACKAGE_VERSION='0.5.0'575PACKAGE_VERSION='0.5.1'
576PACKAGE_STRING='libdbusmenu 0.5.0'576PACKAGE_STRING='libdbusmenu 0.5.1'
577PACKAGE_BUGREPORT='ted@canonical.com'577PACKAGE_BUGREPORT='ted@canonical.com'
578PACKAGE_URL=''578PACKAGE_URL=''
579579
@@ -1429,7 +1429,7 @@
1429 # Omit some internal or obsolete options to make the list less imposing.1429 # Omit some internal or obsolete options to make the list less imposing.
1430 # This message is too long to be a string in the A/UX 3.1 sh.1430 # This message is too long to be a string in the A/UX 3.1 sh.
1431 cat <<_ACEOF1431 cat <<_ACEOF
1432\`configure' configures libdbusmenu 0.5.0 to adapt to many kinds of systems.1432\`configure' configures libdbusmenu 0.5.1 to adapt to many kinds of systems.
14331433
1434Usage: $0 [OPTION]... [VAR=VALUE]...1434Usage: $0 [OPTION]... [VAR=VALUE]...
14351435
@@ -1499,7 +1499,7 @@
14991499
1500if test -n "$ac_init_help"; then1500if test -n "$ac_init_help"; then
1501 case $ac_init_help in1501 case $ac_init_help in
1502 short | recursive ) echo "Configuration of libdbusmenu 0.5.0:";;1502 short | recursive ) echo "Configuration of libdbusmenu 0.5.1:";;
1503 esac1503 esac
1504 cat <<\_ACEOF1504 cat <<\_ACEOF
15051505
@@ -1649,7 +1649,7 @@
1649test -n "$ac_init_help" && exit $ac_status1649test -n "$ac_init_help" && exit $ac_status
1650if $ac_init_version; then1650if $ac_init_version; then
1651 cat <<\_ACEOF1651 cat <<\_ACEOF
1652libdbusmenu configure 0.5.01652libdbusmenu configure 0.5.1
1653generated by GNU Autoconf 2.681653generated by GNU Autoconf 2.68
16541654
1655Copyright (C) 2010 Free Software Foundation, Inc.1655Copyright (C) 2010 Free Software Foundation, Inc.
@@ -2020,7 +2020,7 @@
2020This file contains any messages produced by compilers while2020This file contains any messages produced by compilers while
2021running configure, to aid debugging if configure makes a mistake.2021running configure, to aid debugging if configure makes a mistake.
20222022
2023It was created by libdbusmenu $as_me 0.5.0, which was2023It was created by libdbusmenu $as_me 0.5.1, which was
2024generated by GNU Autoconf 2.68. Invocation command line was2024generated by GNU Autoconf 2.68. Invocation command line was
20252025
2026 $ $0 $@2026 $ $0 $@
@@ -2841,7 +2841,7 @@
28412841
2842# Define the identity of the package.2842# Define the identity of the package.
2843 PACKAGE=libdbusmenu2843 PACKAGE=libdbusmenu
2844 VERSION=0.5.02844 VERSION=0.5.1
28452845
28462846
2847# Some tools Automake needs.2847# Some tools Automake needs.
@@ -14309,7 +14309,7 @@
14309###########################14309###########################
1431014310
14311LIBDBUSMENU_CURRENT=414311LIBDBUSMENU_CURRENT=4
14312LIBDBUSMENU_REVISION=514312LIBDBUSMENU_REVISION=6
14313LIBDBUSMENU_AGE=014313LIBDBUSMENU_AGE=0
1431414314
1431514315
@@ -15659,7 +15659,7 @@
15659# report actual input values of CONFIG_FILES etc. instead of their15659# report actual input values of CONFIG_FILES etc. instead of their
15660# values after options handling.15660# values after options handling.
15661ac_log="15661ac_log="
15662This file was extended by libdbusmenu $as_me 0.5.0, which was15662This file was extended by libdbusmenu $as_me 0.5.1, which was
15663generated by GNU Autoconf 2.68. Invocation command line was15663generated by GNU Autoconf 2.68. Invocation command line was
1566415664
15665 CONFIG_FILES = $CONFIG_FILES15665 CONFIG_FILES = $CONFIG_FILES
@@ -15725,7 +15725,7 @@
15725cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=115725cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15726ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"15726ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15727ac_cs_version="\\15727ac_cs_version="\\
15728libdbusmenu config.status 0.5.015728libdbusmenu config.status 0.5.1
15729configured by $0, generated by GNU Autoconf 2.68,15729configured by $0, generated by GNU Autoconf 2.68,
15730 with options \\"\$ac_cs_config\\"15730 with options \\"\$ac_cs_config\\"
1573115731
1573215732
=== modified file 'configure.ac'
--- configure.ac 2011-09-29 19:41:43 +0000
+++ configure.ac 2011-10-13 16:36:18 +0000
@@ -1,11 +1,11 @@
11
2AC_INIT(libdbusmenu, 0.5.0, ted@canonical.com)2AC_INIT(libdbusmenu, 0.5.1, ted@canonical.com)
3AC_COPYRIGHT([Copyright 2009,2010 Canonical])3AC_COPYRIGHT([Copyright 2009,2010 Canonical])
44
5AC_PREREQ(2.62)5AC_PREREQ(2.62)
66
7AM_CONFIG_HEADER(config.h)7AM_CONFIG_HEADER(config.h)
8AM_INIT_AUTOMAKE(libdbusmenu, 0.5.0, [-Wno-portability])8AM_INIT_AUTOMAKE(libdbusmenu, 0.5.1, [-Wno-portability])
99
10AM_MAINTAINER_MODE10AM_MAINTAINER_MODE
1111
@@ -172,7 +172,7 @@
172###########################172###########################
173173
174LIBDBUSMENU_CURRENT=4174LIBDBUSMENU_CURRENT=4
175LIBDBUSMENU_REVISION=5175LIBDBUSMENU_REVISION=6
176LIBDBUSMENU_AGE=0176LIBDBUSMENU_AGE=0
177177
178AC_SUBST(LIBDBUSMENU_CURRENT)178AC_SUBST(LIBDBUSMENU_CURRENT)
179179
=== modified file 'debian/changelog'
--- debian/changelog 2011-09-30 14:18:44 +0000
+++ debian/changelog 2011-10-13 16:36:18 +0000
@@ -1,3 +1,13 @@
1libdbusmenu (0.5.1-0ubuntu1~ppa1) oneiric; urgency=low
2
3 * New upstream release.
4 * Allow for an ID of 0 in about_to_show for indicators (LP: #862989)
5 * Clear the image pointer when we take it
6 * Ensure we drop all references to the GTK widget when a menuitem
7 gets destroyed (LP: #835646)
8
9 -- Ted Gould <ted@ubuntu.com> Thu, 13 Oct 2011 11:31:15 -0500
10
1libdbusmenu (0.5.0-0ubuntu2) oneiric; urgency=low11libdbusmenu (0.5.0-0ubuntu2) oneiric; urgency=low
212
3 * libdbusmenu-glib/client.c13 * libdbusmenu-glib/client.c
414
=== modified file 'docs/libdbusmenu-glib/reference/version.xml'
--- docs/libdbusmenu-glib/reference/version.xml 2011-09-29 19:41:43 +0000
+++ docs/libdbusmenu-glib/reference/version.xml 2011-10-13 16:36:18 +0000
@@ -1,1 +1,1 @@
10.5.010.5.1
22
=== modified file 'docs/libdbusmenu-gtk/reference/version.xml'
--- docs/libdbusmenu-gtk/reference/version.xml 2011-09-29 19:41:43 +0000
+++ docs/libdbusmenu-gtk/reference/version.xml 2011-10-13 16:36:18 +0000
@@ -1,1 +1,1 @@
10.5.010.5.1
22
=== modified file 'libdbusmenu-gtk/client.c'
--- libdbusmenu-gtk/client.c 2011-08-22 19:54:42 +0000
+++ libdbusmenu-gtk/client.c 2011-10-13 16:36:18 +0000
@@ -823,14 +823,22 @@
823 return;823 return;
824}824}
825825
826static void
827destroy_gmi (GtkMenuItem * gmi)
828{
826#ifdef MASSIVEDEBUGGING829#ifdef MASSIVEDEBUGGING
827static void830 g_debug("Destroying GTK Menuitem %d", gmi);
828destroy_gmi (GtkMenuItem * gmi, DbusmenuMenuitem * mi)831#endif
829{832
830 g_debug("Destorying GTK Menuitem for %d", dbusmenu_menuitem_get_id(mi));833 /* Call gtk_widget_destroy to remove from any containers and cleanup */
834 gtk_widget_destroy(GTK_WIDGET(gmi));
835
836 /* Now remove last ref that we are holding (due to g_object_ref_sink in
837 dbusmenu_gtkclient_newitem_base). This should finalize the object */
838 g_object_unref(G_OBJECT(gmi));
839
831 return;840 return;
832}841}
833#endif
834842
835/**843/**
836 * dbusmenu_gtkclient_newitem_base:844 * dbusmenu_gtkclient_newitem_base:
@@ -857,7 +865,7 @@
857865
858 /* Attach these two */866 /* Attach these two */
859 g_object_ref_sink(G_OBJECT(gmi));867 g_object_ref_sink(G_OBJECT(gmi));
860 g_object_set_data_full(G_OBJECT(item), data_menuitem, gmi, (GDestroyNotify)gtk_widget_destroy);868 g_object_set_data_full(G_OBJECT(item), data_menuitem, gmi, (GDestroyNotify)destroy_gmi);
861869
862 /* DbusmenuMenuitem signals */870 /* DbusmenuMenuitem signals */
863 g_signal_connect(G_OBJECT(item), DBUSMENU_MENUITEM_SIGNAL_PROPERTY_CHANGED, G_CALLBACK(menu_prop_change_cb), client);871 g_signal_connect(G_OBJECT(item), DBUSMENU_MENUITEM_SIGNAL_PROPERTY_CHANGED, G_CALLBACK(menu_prop_change_cb), client);
864872
=== modified file 'libdbusmenu-gtk/genericmenuitem.c'
--- libdbusmenu-gtk/genericmenuitem.c 2011-08-25 03:00:46 +0000
+++ libdbusmenu-gtk/genericmenuitem.c 2011-10-13 16:36:18 +0000
@@ -449,6 +449,7 @@
449 if (GTK_IS_IMAGE(child)) {449 if (GTK_IS_IMAGE(child)) {
450 /* We've got a label, let's update it. */450 /* We've got a label, let's update it. */
451 imagew = GTK_IMAGE(child);451 imagew = GTK_IMAGE(child);
452 child = NULL;
452 } else if (GTK_IS_BOX(child)) {453 } else if (GTK_IS_BOX(child)) {
453 /* Look for the label in the box */454 /* Look for the label in the box */
454 gtk_container_foreach(GTK_CONTAINER(child), set_image_helper, &imagew);455 gtk_container_foreach(GTK_CONTAINER(child), set_image_helper, &imagew);

Subscribers

People subscribed via source and target branches

to all changes: