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

Proposed by Ted Gould
Status: Merged
Merged at revision: 112
Proposed branch: lp:~dbusmenu-team/libdbusmenu/ubuntu
Merge into: lp:~ubuntu-desktop/libdbusmenu/ubuntu
Diff against target: 462 lines (+136/-30)
15 files modified
ChangeLog (+72/-0)
configure (+11/-11)
configure.ac (+3/-3)
debian/changelog (+12/-2)
docs/libdbusmenu-glib/reference/html/ch01.html (+1/-1)
docs/libdbusmenu-glib/reference/version.xml (+1/-1)
docs/libdbusmenu-gtk/reference/html/ch01.html (+1/-1)
docs/libdbusmenu-gtk/reference/version.xml (+1/-1)
libdbusmenu-glib/Makefile.am (+2/-0)
libdbusmenu-glib/Makefile.in (+3/-1)
libdbusmenu-glib/client.c (+8/-7)
libdbusmenu-glib/server.c (+13/-0)
libdbusmenu-gtk/Makefile.am (+2/-0)
libdbusmenu-gtk/Makefile.in (+4/-2)
libdbusmenu-gtk/client.c (+2/-0)
To merge this branch: bzr merge lp:~dbusmenu-team/libdbusmenu/ubuntu
Reviewer Review Type Date Requested Status
Ken VanDine Approve
Review via email: mp+46918@code.launchpad.net

Description of the change

0.3.93

To post a comment you must log in.
Revision history for this message
Ken VanDine (ken-vandine) wrote :

Approved!

review: Approve
lp:~dbusmenu-team/libdbusmenu/ubuntu updated
112. By Ken VanDine

releasing version 0.3.93-0ubuntu1

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'ChangeLog'
--- ChangeLog 2011-01-14 16:36:48 +0000
+++ ChangeLog 2011-01-20 14:46:55 +0000
@@ -1,5 +1,77 @@
1# Generated by Makefile. Do not edit.1# Generated by Makefile. Do not edit.
22
32011-01-20 Ted Gould <ted@gould.cx>
4
5 0.3.93
6
72011-01-20 Ted Gould <ted@gould.cx>
8
9 Increase the level of warning given by the scanner
10
112011-01-19 Ken VanDine <ken.vandine@canonical.com>
12
13 added --warn-all to scanner flags so the build log will warn us about missing annotations
14
152011-01-20 Ted Gould <ted@gould.cx>
16
17 Fix some crashes when building variants improperly
18
192011-01-18 Ted Gould <ted@gould.cx>
20
21 Attach bug
22
232011-01-18 Ted Gould <ted@gould.cx>
24
25 Warn when can't parse.
26
272011-01-18 Ted Gould <ted@gould.cx>
28
29 Use the message string.
30
312011-01-18 Ted Gould <ted@gould.cx>
32
33 Adding warnings on g_variant_parse errors
34
352011-01-18 Ted Gould <ted@gould.cx>
36
37 Protecting the final tuple from errors.
38
392011-01-18 Ted Gould <ted@gould.cx>
40
41 Fixing builder to only init/finish if there are entries we get.
42
432011-01-19 Ted Gould <ted@gould.cx>
44
45 Setup images to use the fallbacks.
46
472011-01-18 Ted Gould <ted@gould.cx>
48
49 Set the use-fallback property to TRUE on all our Images
50
512011-01-19 Ted Gould <ted@gould.cx>
52
53 Signal an update layout when the object comes on the bus.
54
552011-01-19 Ted Gould <ted@gould.cx>
56
57 Moving cleanup to the top of the function.
58
592011-01-19 Chris Coulson <chrisccoulson@ubuntu.com>
60
61 Ensure that we can recover from GetLayout failing
62
632011-01-18 Ted Gould <ted@gould.cx>
64
65 Send a LayoutUpdated when we register the object.
66
672011-01-18 Ted Gould <ted@gould.cx>
68
69 Fixing build with g-ir-scanner on buildds
70
712011-01-18 Ken VanDine <ken.vandine@canonical.com>
72
73 Use EXPORT_PACKAGES instead of PACKAGES to prevent circular build depends
74
32011-01-14 Ted Gould <ted@gould.cx>752011-01-14 Ted Gould <ted@gould.cx>
476
5 0.3.9277 0.3.92
678
=== modified file 'configure'
--- configure 2011-01-14 16:37:50 +0000
+++ configure 2011-01-20 14:46:55 +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.67 for libdbusmenu 0.3.92.3# Generated by GNU Autoconf 2.67 for libdbusmenu 0.3.93.
4#4#
5# Report bugs to <ted@canonical.com>.5# Report bugs to <ted@canonical.com>.
6#6#
@@ -703,8 +703,8 @@
703# Identity of this package.703# Identity of this package.
704PACKAGE_NAME='libdbusmenu'704PACKAGE_NAME='libdbusmenu'
705PACKAGE_TARNAME='libdbusmenu'705PACKAGE_TARNAME='libdbusmenu'
706PACKAGE_VERSION='0.3.92'706PACKAGE_VERSION='0.3.93'
707PACKAGE_STRING='libdbusmenu 0.3.92'707PACKAGE_STRING='libdbusmenu 0.3.93'
708PACKAGE_BUGREPORT='ted@canonical.com'708PACKAGE_BUGREPORT='ted@canonical.com'
709PACKAGE_URL=''709PACKAGE_URL=''
710710
@@ -1540,7 +1540,7 @@
1540 # Omit some internal or obsolete options to make the list less imposing.1540 # Omit some internal or obsolete options to make the list less imposing.
1541 # This message is too long to be a string in the A/UX 3.1 sh.1541 # This message is too long to be a string in the A/UX 3.1 sh.
1542 cat <<_ACEOF1542 cat <<_ACEOF
1543\`configure' configures libdbusmenu 0.3.92 to adapt to many kinds of systems.1543\`configure' configures libdbusmenu 0.3.93 to adapt to many kinds of systems.
15441544
1545Usage: $0 [OPTION]... [VAR=VALUE]...1545Usage: $0 [OPTION]... [VAR=VALUE]...
15461546
@@ -1610,7 +1610,7 @@
16101610
1611if test -n "$ac_init_help"; then1611if test -n "$ac_init_help"; then
1612 case $ac_init_help in1612 case $ac_init_help in
1613 short | recursive ) echo "Configuration of libdbusmenu 0.3.92:";;1613 short | recursive ) echo "Configuration of libdbusmenu 0.3.93:";;
1614 esac1614 esac
1615 cat <<\_ACEOF1615 cat <<\_ACEOF
16161616
@@ -1750,7 +1750,7 @@
1750test -n "$ac_init_help" && exit $ac_status1750test -n "$ac_init_help" && exit $ac_status
1751if $ac_init_version; then1751if $ac_init_version; then
1752 cat <<\_ACEOF1752 cat <<\_ACEOF
1753libdbusmenu configure 0.3.921753libdbusmenu configure 0.3.93
1754generated by GNU Autoconf 2.671754generated by GNU Autoconf 2.67
17551755
1756Copyright (C) 2010 Free Software Foundation, Inc.1756Copyright (C) 2010 Free Software Foundation, Inc.
@@ -2121,7 +2121,7 @@
2121This file contains any messages produced by compilers while2121This file contains any messages produced by compilers while
2122running configure, to aid debugging if configure makes a mistake.2122running configure, to aid debugging if configure makes a mistake.
21232123
2124It was created by libdbusmenu $as_me 0.3.92, which was2124It was created by libdbusmenu $as_me 0.3.93, which was
2125generated by GNU Autoconf 2.67. Invocation command line was2125generated by GNU Autoconf 2.67. Invocation command line was
21262126
2127 $ $0 $@2127 $ $0 $@
@@ -2942,7 +2942,7 @@
29422942
2943# Define the identity of the package.2943# Define the identity of the package.
2944 PACKAGE=libdbusmenu2944 PACKAGE=libdbusmenu
2945 VERSION=0.3.922945 VERSION=0.3.93
29462946
29472947
2948# Some tools Automake needs.2948# Some tools Automake needs.
@@ -13284,7 +13284,7 @@
13284###########################13284###########################
1328513285
13286LIBDBUSMENU_CURRENT=313286LIBDBUSMENU_CURRENT=3
13287LIBDBUSMENU_REVISION=013287LIBDBUSMENU_REVISION=1
13288LIBDBUSMENU_AGE=013288LIBDBUSMENU_AGE=0
1328913289
1329013290
@@ -14606,7 +14606,7 @@
14606# report actual input values of CONFIG_FILES etc. instead of their14606# report actual input values of CONFIG_FILES etc. instead of their
14607# values after options handling.14607# values after options handling.
14608ac_log="14608ac_log="
14609This file was extended by libdbusmenu $as_me 0.3.92, which was14609This file was extended by libdbusmenu $as_me 0.3.93, which was
14610generated by GNU Autoconf 2.67. Invocation command line was14610generated by GNU Autoconf 2.67. Invocation command line was
1461114611
14612 CONFIG_FILES = $CONFIG_FILES14612 CONFIG_FILES = $CONFIG_FILES
@@ -14672,7 +14672,7 @@
14672cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=114672cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14673ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"14673ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14674ac_cs_version="\\14674ac_cs_version="\\
14675libdbusmenu config.status 0.3.9214675libdbusmenu config.status 0.3.93
14676configured by $0, generated by GNU Autoconf 2.67,14676configured by $0, generated by GNU Autoconf 2.67,
14677 with options \\"\$ac_cs_config\\"14677 with options \\"\$ac_cs_config\\"
1467814678
1467914679
=== modified file 'configure.ac'
--- configure.ac 2011-01-18 15:11:53 +0000
+++ configure.ac 2011-01-20 14:46:55 +0000
@@ -1,11 +1,11 @@
11
2AC_INIT(libdbusmenu, 0.3.92, ted@canonical.com)2AC_INIT(libdbusmenu, 0.3.93, 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.3.92, [-Wno-portability])8AM_INIT_AUTOMAKE(libdbusmenu, 0.3.93, [-Wno-portability])
99
10AM_MAINTAINER_MODE10AM_MAINTAINER_MODE
1111
@@ -136,7 +136,7 @@
136###########################136###########################
137137
138LIBDBUSMENU_CURRENT=3138LIBDBUSMENU_CURRENT=3
139LIBDBUSMENU_REVISION=0139LIBDBUSMENU_REVISION=1
140LIBDBUSMENU_AGE=0140LIBDBUSMENU_AGE=0
141141
142AC_SUBST(LIBDBUSMENU_CURRENT)142AC_SUBST(LIBDBUSMENU_CURRENT)
143143
=== modified file 'debian/changelog'
--- debian/changelog 2011-01-18 17:26:07 +0000
+++ debian/changelog 2011-01-20 14:46:55 +0000
@@ -1,3 +1,13 @@
1libdbusmenu (0.3.93-0ubuntu1~ppa1) natty; urgency=low
2
3 * New upstream release.
4 * Fixing scanner export
5 * Increasing scanner warnings
6 * Signalling to DBus when object is registered
7 * Handling errors in GVariant better than crashing
8
9 -- Ted Gould <ted@ubuntu.com> Thu, 20 Jan 2011 08:43:12 -0600
10
1libdbusmenu (0.3.92-0ubuntu3) natty; urgency=low11libdbusmenu (0.3.92-0ubuntu3) natty; urgency=low
212
3 * libdbusmenu-glib/server.c13 * libdbusmenu-glib/server.c
@@ -296,7 +306,7 @@
296 * Add function to get submenu of GTK-ified items306 * Add function to get submenu of GTK-ified items
297 * Fix signal prototype of ID update307 * Fix signal prototype of ID update
298 * Fixing up VAPI files to build them correctly308 * Fixing up VAPI files to build them correctly
299 * Fixing the version string in the GIR file309 * Fixing the version string in the GIR file
300 * Fix documentation title page310 * Fix documentation title page
301 * Reject text nodes early (warnings with Qt integration)311 * Reject text nodes early (warnings with Qt integration)
302 * debian/libdbusmenu-glib-dev.install: Updating gir and vapi file312 * debian/libdbusmenu-glib-dev.install: Updating gir and vapi file
@@ -312,7 +322,7 @@
312 * Add function to get submenu of GTK-ified items322 * Add function to get submenu of GTK-ified items
313 * Fix signal prototype of ID update323 * Fix signal prototype of ID update
314 * Fixing up VAPI files to build them correctly324 * Fixing up VAPI files to build them correctly
315 * Fixing the version string in the GIR file325 * Fixing the version string in the GIR file
316 * Fix documentation title page326 * Fix documentation title page
317 * Reject text nodes early (warnings with Qt integration)327 * Reject text nodes early (warnings with Qt integration)
318 * debian/libdbusmenu-glib-dev.install: Updating gir and vapi file328 * debian/libdbusmenu-glib-dev.install: Updating gir and vapi file
319329
=== modified file 'docs/libdbusmenu-glib/reference/html/ch01.html'
--- docs/libdbusmenu-glib/reference/html/ch01.html 2011-01-14 16:36:48 +0000
+++ docs/libdbusmenu-glib/reference/html/ch01.html 2011-01-20 14:46:55 +0000
@@ -21,7 +21,7 @@
21</tr></table>21</tr></table>
22<div class="chapter" title="API">22<div class="chapter" title="API">
23<div class="titlepage"><div><div><h2 class="title">23<div class="titlepage"><div><div><h2 class="title">
24<a name="id367877"></a>API</h2></div></div></div>24<a name="id552470"></a>API</h2></div></div></div>
25<div class="toc"><dl>25<div class="toc"><dl>
26<dt>26<dt>
27<span class="refentrytitle"><a href="libdbusmenu-glib-DbusmenuServer.html">DbusmenuServer</a></span><span class="refpurpose"></span>27<span class="refentrytitle"><a href="libdbusmenu-glib-DbusmenuServer.html">DbusmenuServer</a></span><span class="refpurpose"></span>
2828
=== modified file 'docs/libdbusmenu-glib/reference/version.xml'
--- docs/libdbusmenu-glib/reference/version.xml 2011-01-14 16:37:50 +0000
+++ docs/libdbusmenu-glib/reference/version.xml 2011-01-20 14:46:55 +0000
@@ -1,1 +1,1 @@
10.3.9210.3.93
22
=== modified file 'docs/libdbusmenu-gtk/reference/html/ch01.html'
--- docs/libdbusmenu-gtk/reference/html/ch01.html 2011-01-14 16:36:48 +0000
+++ docs/libdbusmenu-gtk/reference/html/ch01.html 2011-01-20 14:46:55 +0000
@@ -21,7 +21,7 @@
21</tr></table>21</tr></table>
22<div class="chapter" title="API">22<div class="chapter" title="API">
23<div class="titlepage"><div><div><h2 class="title">23<div class="titlepage"><div><div><h2 class="title">
24<a name="id569264"></a>API</h2></div></div></div>24<a name="id449251"></a>API</h2></div></div></div>
25<div class="toc"><dl>25<div class="toc"><dl>
26<dt>26<dt>
27<span class="refentrytitle"><a href="libdbusmenu-gtk-DbusmenuGtkMenu.html">DbusmenuGtkMenu</a></span><span class="refpurpose"></span>27<span class="refentrytitle"><a href="libdbusmenu-gtk-DbusmenuGtkMenu.html">DbusmenuGtkMenu</a></span><span class="refpurpose"></span>
2828
=== modified file 'docs/libdbusmenu-gtk/reference/version.xml'
--- docs/libdbusmenu-gtk/reference/version.xml 2011-01-14 16:37:50 +0000
+++ docs/libdbusmenu-gtk/reference/version.xml 2011-01-20 14:46:55 +0000
@@ -1,1 +1,1 @@
10.3.9210.3.93
22
=== modified file 'libdbusmenu-glib/Makefile.am'
--- libdbusmenu-glib/Makefile.am 2011-01-18 15:11:53 +0000
+++ libdbusmenu-glib/Makefile.am 2011-01-20 14:46:55 +0000
@@ -119,12 +119,14 @@
119119
120if INTROSPECTION_TEN120if INTROSPECTION_TEN
121INTROSPECTION_SCANNER_ARGS = --add-include-path=$(srcdir) \121INTROSPECTION_SCANNER_ARGS = --add-include-path=$(srcdir) \
122 --warn-all \
122 --add-include-path=$(srcdir) \123 --add-include-path=$(srcdir) \
123 $(addprefix --c-include=libdbusmenu-glib/, $(introspection_sources)) \124 $(addprefix --c-include=libdbusmenu-glib/, $(introspection_sources)) \
124 --symbol-prefix=dbusmenu \125 --symbol-prefix=dbusmenu \
125 --identifier-prefix=Dbusmenu126 --identifier-prefix=Dbusmenu
126else127else
127INTROSPECTION_SCANNER_ARGS = --add-include-path=$(srcdir) \128INTROSPECTION_SCANNER_ARGS = --add-include-path=$(srcdir) \
129 --warn-all \
128 --add-include-path=$(srcdir) \130 --add-include-path=$(srcdir) \
129 $(addprefix --c-include=libdbusmenu-glib/, $(introspection_sources))131 $(addprefix --c-include=libdbusmenu-glib/, $(introspection_sources))
130endif132endif
131133
=== modified file 'libdbusmenu-glib/Makefile.in'
--- libdbusmenu-glib/Makefile.in 2011-01-14 16:37:50 +0000
+++ libdbusmenu-glib/Makefile.in 2011-01-20 14:46:55 +0000
@@ -367,10 +367,12 @@
367367
368INTROSPECTION_GIRS = $(am__append_1)368INTROSPECTION_GIRS = $(am__append_1)
369@INTROSPECTION_TEN_FALSE@INTROSPECTION_SCANNER_ARGS = --add-include-path=$(srcdir) \369@INTROSPECTION_TEN_FALSE@INTROSPECTION_SCANNER_ARGS = --add-include-path=$(srcdir) \
370@INTROSPECTION_TEN_FALSE@ --warn-all \
370@INTROSPECTION_TEN_FALSE@ --add-include-path=$(srcdir) \371@INTROSPECTION_TEN_FALSE@ --add-include-path=$(srcdir) \
371@INTROSPECTION_TEN_FALSE@ $(addprefix --c-include=libdbusmenu-glib/, $(introspection_sources))372@INTROSPECTION_TEN_FALSE@ $(addprefix --c-include=libdbusmenu-glib/, $(introspection_sources))
372373
373@INTROSPECTION_TEN_TRUE@INTROSPECTION_SCANNER_ARGS = --add-include-path=$(srcdir) \374@INTROSPECTION_TEN_TRUE@INTROSPECTION_SCANNER_ARGS = --add-include-path=$(srcdir) \
375@INTROSPECTION_TEN_TRUE@ --warn-all \
374@INTROSPECTION_TEN_TRUE@ --add-include-path=$(srcdir) \376@INTROSPECTION_TEN_TRUE@ --add-include-path=$(srcdir) \
375@INTROSPECTION_TEN_TRUE@ $(addprefix --c-include=libdbusmenu-glib/, $(introspection_sources)) \377@INTROSPECTION_TEN_TRUE@ $(addprefix --c-include=libdbusmenu-glib/, $(introspection_sources)) \
376@INTROSPECTION_TEN_TRUE@ --symbol-prefix=dbusmenu \378@INTROSPECTION_TEN_TRUE@ --symbol-prefix=dbusmenu \
@@ -386,7 +388,7 @@
386@HAVE_INTROSPECTION_TRUE@Dbusmenu_Glib_0_4_gir_FILES = $(addprefix $(srcdir)/, $(introspection_sources))388@HAVE_INTROSPECTION_TRUE@Dbusmenu_Glib_0_4_gir_FILES = $(addprefix $(srcdir)/, $(introspection_sources))
387@HAVE_INTROSPECTION_TRUE@Dbusmenu_Glib_0_4_gir_NAMESPACE = Dbusmenu389@HAVE_INTROSPECTION_TRUE@Dbusmenu_Glib_0_4_gir_NAMESPACE = Dbusmenu
388@HAVE_INTROSPECTION_TRUE@Dbusmenu_Glib_0_4_gir_VERSION = Glib-0.4390@HAVE_INTROSPECTION_TRUE@Dbusmenu_Glib_0_4_gir_VERSION = Glib-0.4
389@HAVE_INTROSPECTION_TRUE@Dbusmenu_Glib_0_4_gir_PACKAGES = dbusmenu-glib-0.4391@HAVE_INTROSPECTION_TRUE@Dbusmenu_Glib_0_4_gir_EXPORT_PACKAGES = dbusmenu-glib-0.4
390@HAVE_INTROSPECTION_TRUE@Dbusmenu_Glib_0_4_gir_SCANNER_FLAGS = $(INTROSPECTION_SCANNER_ARGS)392@HAVE_INTROSPECTION_TRUE@Dbusmenu_Glib_0_4_gir_SCANNER_FLAGS = $(INTROSPECTION_SCANNER_ARGS)
391@HAVE_INTROSPECTION_TRUE@girdir = $(datadir)/gir-1.0393@HAVE_INTROSPECTION_TRUE@girdir = $(datadir)/gir-1.0
392@HAVE_INTROSPECTION_TRUE@gir_DATA = $(INTROSPECTION_GIRS)394@HAVE_INTROSPECTION_TRUE@gir_DATA = $(INTROSPECTION_GIRS)
393395
=== modified file 'libdbusmenu-glib/client.c'
--- libdbusmenu-glib/client.c 2011-01-13 16:14:19 +0000
+++ libdbusmenu-glib/client.c 2011-01-20 14:46:55 +0000
@@ -1538,6 +1538,14 @@
1538static void1538static void
1539update_layout_cb (GObject * proxy, GAsyncResult * res, gpointer data)1539update_layout_cb (GObject * proxy, GAsyncResult * res, gpointer data)
1540{1540{
1541 DbusmenuClient * client = DBUSMENU_CLIENT(data);
1542 DbusmenuClientPrivate * priv = DBUSMENU_CLIENT_GET_PRIVATE(client);
1543
1544 if (priv->layoutcall != NULL) {
1545 g_object_unref(priv->layoutcall);
1546 priv->layoutcall = NULL;
1547 }
1548
1541 GError * error = NULL;1549 GError * error = NULL;
1542 GVariant * params = NULL;1550 GVariant * params = NULL;
15431551
@@ -1554,9 +1562,6 @@
1554 g_variant_get(params, "(us)", &rev, &xml);1562 g_variant_get(params, "(us)", &rev, &xml);
1555 g_variant_unref(params);1563 g_variant_unref(params);
15561564
1557 DbusmenuClient * client = DBUSMENU_CLIENT(data);
1558 DbusmenuClientPrivate * priv = DBUSMENU_CLIENT_GET_PRIVATE(client);
1559
1560 guint parseable = parse_layout(client, xml);1565 guint parseable = parse_layout(client, xml);
1561 g_free(xml);1566 g_free(xml);
15621567
@@ -1567,10 +1572,6 @@
15671572
1568 priv->my_revision = rev;1573 priv->my_revision = rev;
1569 /* g_debug("Root is now: 0x%X", (unsigned int)priv->root); */1574 /* g_debug("Root is now: 0x%X", (unsigned int)priv->root); */
1570 if (priv->layoutcall != NULL) {
1571 g_object_unref(priv->layoutcall);
1572 priv->layoutcall = NULL;
1573 }
1574 #ifdef MASSIVEDEBUGGING1575 #ifdef MASSIVEDEBUGGING
1575 g_debug("Client signaling layout has changed.");1576 g_debug("Client signaling layout has changed.");
1576 #endif 1577 #endif
15771578
=== modified file 'libdbusmenu-glib/server.c'
--- libdbusmenu-glib/server.c 2011-01-18 17:26:07 +0000
+++ libdbusmenu-glib/server.c 2011-01-20 14:46:55 +0000
@@ -506,6 +506,19 @@
506 if (error != NULL) {506 if (error != NULL) {
507 g_warning("Unable to register object on bus: %s", error->message);507 g_warning("Unable to register object on bus: %s", error->message);
508 g_error_free(error);508 g_error_free(error);
509 return;
510 }
511
512 /* If we've got it registered let's tell everyone about it */
513 g_signal_emit(G_OBJECT(server), signals[LAYOUT_UPDATED], 0, priv->layout_revision, 0, TRUE);
514 if (priv->dbusobject != NULL && priv->bus != NULL) {
515 g_dbus_connection_emit_signal(priv->bus,
516 NULL,
517 priv->dbusobject,
518 DBUSMENU_INTERFACE,
519 "LayoutUpdated",
520 g_variant_new("(ui)", priv->layout_revision, 0),
521 NULL);
509 }522 }
510523
511 return;524 return;
512525
=== modified file 'libdbusmenu-gtk/Makefile.am'
--- libdbusmenu-gtk/Makefile.am 2011-01-18 15:11:53 +0000
+++ libdbusmenu-gtk/Makefile.am 2011-01-20 14:46:55 +0000
@@ -69,12 +69,14 @@
6969
70if INTROSPECTION_TEN70if INTROSPECTION_TEN
71INTROSPECTION_SCANNER_ARGS = --add-include-path=$(srcdir) \71INTROSPECTION_SCANNER_ARGS = --add-include-path=$(srcdir) \
72 --warn-all \
72 --add-include-path=$(top_builddir)/libdbusmenu-glib \73 --add-include-path=$(top_builddir)/libdbusmenu-glib \
73 $(addprefix --c-include=libdbusmenu-gtk/, $(introspection_sources)) \74 $(addprefix --c-include=libdbusmenu-gtk/, $(introspection_sources)) \
74 --symbol-prefix=dbusmenu \75 --symbol-prefix=dbusmenu \
75 --identifier-prefix=DbusmenuGtk76 --identifier-prefix=DbusmenuGtk
76else77else
77INTROSPECTION_SCANNER_ARGS = --add-include-path=$(srcdir) \78INTROSPECTION_SCANNER_ARGS = --add-include-path=$(srcdir) \
79 --warn-all \
78 --add-include-path=$(top_builddir)/libdbusmenu-glib \80 --add-include-path=$(top_builddir)/libdbusmenu-glib \
79 $(addprefix --c-include=libdbusmenu-gtk/, $(introspection_sources))81 $(addprefix --c-include=libdbusmenu-gtk/, $(introspection_sources))
80endif82endif
8183
=== modified file 'libdbusmenu-gtk/Makefile.in'
--- libdbusmenu-gtk/Makefile.in 2011-01-13 16:14:19 +0000
+++ libdbusmenu-gtk/Makefile.in 2011-01-20 14:46:55 +0000
@@ -372,10 +372,12 @@
372pkgconfigdir = $(libdir)/pkgconfig372pkgconfigdir = $(libdir)/pkgconfig
373INTROSPECTION_GIRS = $(am__append_1)373INTROSPECTION_GIRS = $(am__append_1)
374@INTROSPECTION_TEN_FALSE@INTROSPECTION_SCANNER_ARGS = --add-include-path=$(srcdir) \374@INTROSPECTION_TEN_FALSE@INTROSPECTION_SCANNER_ARGS = --add-include-path=$(srcdir) \
375@INTROSPECTION_TEN_FALSE@ --warn-all \
375@INTROSPECTION_TEN_FALSE@ --add-include-path=$(top_builddir)/libdbusmenu-glib \376@INTROSPECTION_TEN_FALSE@ --add-include-path=$(top_builddir)/libdbusmenu-glib \
376@INTROSPECTION_TEN_FALSE@ $(addprefix --c-include=libdbusmenu-gtk/, $(introspection_sources))377@INTROSPECTION_TEN_FALSE@ $(addprefix --c-include=libdbusmenu-gtk/, $(introspection_sources))
377378
378@INTROSPECTION_TEN_TRUE@INTROSPECTION_SCANNER_ARGS = --add-include-path=$(srcdir) \379@INTROSPECTION_TEN_TRUE@INTROSPECTION_SCANNER_ARGS = --add-include-path=$(srcdir) \
380@INTROSPECTION_TEN_TRUE@ --warn-all \
379@INTROSPECTION_TEN_TRUE@ --add-include-path=$(top_builddir)/libdbusmenu-glib \381@INTROSPECTION_TEN_TRUE@ --add-include-path=$(top_builddir)/libdbusmenu-glib \
380@INTROSPECTION_TEN_TRUE@ $(addprefix --c-include=libdbusmenu-gtk/, $(introspection_sources)) \382@INTROSPECTION_TEN_TRUE@ $(addprefix --c-include=libdbusmenu-gtk/, $(introspection_sources)) \
381@INTROSPECTION_TEN_TRUE@ --symbol-prefix=dbusmenu \383@INTROSPECTION_TEN_TRUE@ --symbol-prefix=dbusmenu \
@@ -393,7 +395,7 @@
393@HAVE_INTROSPECTION_TRUE@DbusmenuGtk_0_4_gir_FILES = $(addprefix $(srcdir)/, $(introspection_sources))395@HAVE_INTROSPECTION_TRUE@DbusmenuGtk_0_4_gir_FILES = $(addprefix $(srcdir)/, $(introspection_sources))
394@HAVE_INTROSPECTION_TRUE@DbusmenuGtk_0_4_gir_NAMESPACE = DbusmenuGtk$(VER)396@HAVE_INTROSPECTION_TRUE@DbusmenuGtk_0_4_gir_NAMESPACE = DbusmenuGtk$(VER)
395@HAVE_INTROSPECTION_TRUE@DbusmenuGtk_0_4_gir_SCANNERFLAGS = $(INTROSPECTION_SCANNER_ARGS)397@HAVE_INTROSPECTION_TRUE@DbusmenuGtk_0_4_gir_SCANNERFLAGS = $(INTROSPECTION_SCANNER_ARGS)
396@HAVE_INTROSPECTION_TRUE@DbusmenuGtk_0_4_gir_PACKAGES = dbusmenu-gtk$(VER)-0.4398@HAVE_INTROSPECTION_TRUE@DbusmenuGtk_0_4_gir_EXPORT_PACKAGES = dbusmenu-gtk$(VER)-0.4
397399
398# We duplicate these for the same reason as libdbusmenu_gtk3includedir above400# We duplicate these for the same reason as libdbusmenu_gtk3includedir above
399@HAVE_INTROSPECTION_TRUE@DbusmenuGtk3_0_4_gir_INCLUDES = $(DbusmenuGtk_0_4_gir_INCLUDES)401@HAVE_INTROSPECTION_TRUE@DbusmenuGtk3_0_4_gir_INCLUDES = $(DbusmenuGtk_0_4_gir_INCLUDES)
@@ -402,7 +404,7 @@
402@HAVE_INTROSPECTION_TRUE@DbusmenuGtk3_0_4_gir_FILES = $(DbusmenuGtk_0_4_gir_FILES)404@HAVE_INTROSPECTION_TRUE@DbusmenuGtk3_0_4_gir_FILES = $(DbusmenuGtk_0_4_gir_FILES)
403@HAVE_INTROSPECTION_TRUE@DbusmenuGtk3_0_4_gir_NAMESPACE = $(DbusmenuGtk_0_4_gir_NAMESPACE)405@HAVE_INTROSPECTION_TRUE@DbusmenuGtk3_0_4_gir_NAMESPACE = $(DbusmenuGtk_0_4_gir_NAMESPACE)
404@HAVE_INTROSPECTION_TRUE@DbusmenuGtk3_0_4_gir_SCANNERFLAGS = $(DbusmenuGtk_0_4_gir_SCANNERFLAGS)406@HAVE_INTROSPECTION_TRUE@DbusmenuGtk3_0_4_gir_SCANNERFLAGS = $(DbusmenuGtk_0_4_gir_SCANNERFLAGS)
405@HAVE_INTROSPECTION_TRUE@DbusmenuGtk3_0_4_gir_PACKAGES = $(DbusmenuGtk_0_4_gir_PACKAGES)407@HAVE_INTROSPECTION_TRUE@DbusmenuGtk3_0_4_gir_EXPORT_PACKAGES = $(DbusmenuGtk_0_4_gir_EXPORT_PACKAGES)
406@HAVE_INTROSPECTION_TRUE@girdir = $(datadir)/gir-1.0408@HAVE_INTROSPECTION_TRUE@girdir = $(datadir)/gir-1.0
407@HAVE_INTROSPECTION_TRUE@gir_DATA = $(INTROSPECTION_GIRS)409@HAVE_INTROSPECTION_TRUE@gir_DATA = $(INTROSPECTION_GIRS)
408@HAVE_INTROSPECTION_TRUE@typelibdir = $(libdir)/girepository-1.0410@HAVE_INTROSPECTION_TRUE@typelibdir = $(libdir)/girepository-1.0
409411
=== modified file 'libdbusmenu-gtk/client.c'
--- libdbusmenu-gtk/client.c 2011-01-13 15:54:36 +0000
+++ libdbusmenu-gtk/client.c 2011-01-20 14:46:55 +0000
@@ -789,6 +789,7 @@
789 gtkimage = NULL;789 gtkimage = NULL;
790 } else if (g_strcmp0(iconname, DBUSMENU_MENUITEM_ICON_NAME_BLANK) == 0) {790 } else if (g_strcmp0(iconname, DBUSMENU_MENUITEM_ICON_NAME_BLANK) == 0) {
791 gtkimage = gtk_image_new();791 gtkimage = gtk_image_new();
792 g_object_set(G_OBJECT(gtkimage), "use-fallback", TRUE, NULL);
792 } else {793 } else {
793 /* Look to see if we want to have an icon with the 'ltr' or794 /* Look to see if we want to have an icon with the 'ltr' or
794 'rtl' depending on what we're doing. */795 'rtl' depending on what we're doing. */
@@ -807,6 +808,7 @@
807 can just convert it to this name. */808 can just convert it to this name. */
808 if (gtkimage == NULL) {809 if (gtkimage == NULL) {
809 gtkimage = gtk_image_new_from_icon_name(finaliconname, GTK_ICON_SIZE_MENU);810 gtkimage = gtk_image_new_from_icon_name(finaliconname, GTK_ICON_SIZE_MENU);
811 g_object_set(G_OBJECT(gtkimage), "use-fallback", TRUE, NULL);
810 } else {812 } else {
811 gtk_image_set_from_icon_name(GTK_IMAGE(gtkimage), finaliconname, GTK_ICON_SIZE_MENU);813 gtk_image_set_from_icon_name(GTK_IMAGE(gtkimage), finaliconname, GTK_ICON_SIZE_MENU);
812 }814 }

Subscribers

People subscribed via source and target branches

to all changes: