Merge lp:~3v1n0/indicator-appmenu/use-bamf-0.5.2 into lp:indicator-appmenu/15.10

Proposed by Marco Trevisan (Treviño)
Status: Merged
Approved by: Andrea Azzarone
Approved revision: 275
Merged at revision: 275
Proposed branch: lp:~3v1n0/indicator-appmenu/use-bamf-0.5.2
Merge into: lp:indicator-appmenu/15.10
Diff against target: 54 lines (+8/-5)
3 files modified
configure.ac (+1/-1)
debian/control (+1/-1)
src/indicator-appmenu.c (+6/-3)
To merge this branch: bzr merge lp:~3v1n0/indicator-appmenu/use-bamf-0.5.2
Reviewer Review Type Date Requested Status
Indicator Applet Developers Pending
Review via email: mp+276014@code.launchpad.net

Commit message

IndicatorAppmenu: depend on bamf 0.5.2 and use new API

To post a comment you must log in.
Revision history for this message
Andrea Azzarone (azzar1) wrote :

Approve.

276. By Marco Trevisan (Treviño)

debian/control: depend on libbamf 0.5.2~bzr0

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'configure.ac'
--- configure.ac 2015-06-02 19:18:23 +0000
+++ configure.ac 2015-10-28 16:49:42 +0000
@@ -62,7 +62,7 @@
62GTK_REQUIRED_VERSION=3.062GTK_REQUIRED_VERSION=3.0
63INDICATOR_REQUIRED_VERSION=0.3.9063INDICATOR_REQUIRED_VERSION=0.3.90
64DBUSMENUGTK_REQUIRED_VERSION=0.5.9064DBUSMENUGTK_REQUIRED_VERSION=0.5.90
65BAMF_REQUIRED_VERSION=0.2.5365BAMF_REQUIRED_VERSION=0.5.2
6666
67PKG_CHECK_MODULES(gtk, gtk+-3.0 >= $GTK_REQUIRED_VERSION)67PKG_CHECK_MODULES(gtk, gtk+-3.0 >= $GTK_REQUIRED_VERSION)
68PKG_CHECK_MODULES(INDICATOR, glib-2.0 >= $GLIB_REQUIRED_VERSION68PKG_CHECK_MODULES(INDICATOR, glib-2.0 >= $GLIB_REQUIRED_VERSION
6969
=== modified file 'debian/control'
--- debian/control 2015-01-20 22:02:08 +0000
+++ debian/control 2015-10-28 16:49:42 +0000
@@ -15,7 +15,7 @@
15 libdbusmenu-glib-dev (>= 0.5.90),15 libdbusmenu-glib-dev (>= 0.5.90),
16 libdbusmenu-gtk3-dev (>= 0.5.90),16 libdbusmenu-gtk3-dev (>= 0.5.90),
17 libdbusmenu-jsonloader-dev (>= 0.5.90),17 libdbusmenu-jsonloader-dev (>= 0.5.90),
18 libbamf3-dev (>= 0.2.53),18 libbamf3-dev (>= 0.5.2~bzr0),
19 libappindicator3-dev,19 libappindicator3-dev,
20 indicator-application (>= 0.4.90),20 indicator-application (>= 0.4.90),
21Standards-Version: 3.9.221Standards-Version: 3.9.2
2222
=== modified file 'src/indicator-appmenu.c'
--- src/indicator-appmenu.c 2015-10-01 17:03:20 +0000
+++ src/indicator-appmenu.c 2015-10-28 16:49:42 +0000
@@ -804,10 +804,14 @@
804static BamfWindow *804static BamfWindow *
805xid_to_bamf_window (IndicatorAppmenu * iapp, guint xid)805xid_to_bamf_window (IndicatorAppmenu * iapp, guint xid)
806{806{
807 BamfWindow * newwindow = bamf_matcher_get_window_for_xid(iapp->matcher, xid);
808
809 if (BAMF_IS_WINDOW(newwindow))
810 return newwindow;
811
807 BamfApplication *application = bamf_matcher_get_application_for_xid(iapp->matcher, xid);812 BamfApplication *application = bamf_matcher_get_application_for_xid(iapp->matcher, xid);
808 GList * children = bamf_view_get_children (BAMF_VIEW (application));813 GList * children = bamf_view_peek_children (BAMF_VIEW (application));
809 GList * l;814 GList * l;
810 BamfWindow * newwindow = NULL;
811815
812 for (l = children; l; l = l->next) {816 for (l = children; l; l = l->next) {
813 if (!BAMF_IS_WINDOW(l->data)) {817 if (!BAMF_IS_WINDOW(l->data)) {
@@ -821,7 +825,6 @@
821 break;825 break;
822 }826 }
823 }827 }
824 g_list_free(children);
825828
826 return newwindow;829 return newwindow;
827}830}

Subscribers

People subscribed via source and target branches