Merge lp:~tkluck/gnome-shell/10-bluetooth-fix-connection-from-gs-menu.patch into lp:~ubuntu-desktop/gnome-shell/ubuntu

Proposed by Timo Kluck
Status: Merged
Merged at revision: 4
Proposed branch: lp:~tkluck/gnome-shell/10-bluetooth-fix-connection-from-gs-menu.patch
Merge into: lp:~ubuntu-desktop/gnome-shell/ubuntu
Diff against target: 69 lines (+39/-1)
3 files modified
debian/changelog (+7/-1)
debian/patches/10-bluetooth-fix-connection-from-gs-menu.patch (+31/-0)
debian/patches/series (+1/-0)
To merge this branch: bzr merge lp:~tkluck/gnome-shell/10-bluetooth-fix-connection-from-gs-menu.patch
Reviewer Review Type Date Requested Status
Jeremy Bícha Approve
Review via email: mp+89729@code.launchpad.net

Description of the change

Sorry for spamming with these merge requests. I'm new to how packaging is organized on launchpad. Thanks for being patient.

This should fix #918208.

To post a comment you must log in.
Revision history for this message
Jeremy Bícha (jbicha) wrote :

Merge proposals aren't spam. Thanks for the help!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'debian/changelog'
--- debian/changelog 2012-01-23 15:58:47 +0000
+++ debian/changelog 2012-01-23 16:43:29 +0000
@@ -1,5 +1,6 @@
1gnome-shell (3.2.2.1-0ubuntu1) UNRELEASED; urgency=low1gnome-shell (3.2.2.1-0ubuntu1) UNRELEASED; urgency=low
22
3 [ Jeremy Bicha ]
3 * New upstream release4 * New upstream release
4 - Fix broken gnome-shell-extension-tool (LP: #853882)5 - Fix broken gnome-shell-extension-tool (LP: #853882)
5 - Fixes lots of crashes and some memory leaks6 - Fixes lots of crashes and some memory leaks
@@ -8,7 +9,12 @@
8 - 05-NetworkMenu-don-t-query-DBus-properties-of-removed-o.patch9 - 05-NetworkMenu-don-t-query-DBus-properties-of-removed-o.patch
9 - 06-NetworkMenu-fix-regression-in-access-point-removed.patch10 - 06-NetworkMenu-fix-regression-in-access-point-removed.patch
1011
11 -- Jeremy Bicha <jbicha@ubuntu.com> Mon, 23 Jan 2012 10:50:25 -050012 [ Timo Kluck ]
13 * debian/patches/10-bluetooth-fix-connection-from-gs-menu.patch:
14 - Fix bluetooth panel switch moving independently from actual
15 connection status
16
17 -- Timo Kluck <tkluck@infty.nl> Mon, 23 Jan 2012 17:28:21 +0100
1218
13gnome-shell (3.2.1-8ubuntu2) precise; urgency=low19gnome-shell (3.2.1-8ubuntu2) precise; urgency=low
1420
1521
=== added file 'debian/patches/10-bluetooth-fix-connection-from-gs-menu.patch'
--- debian/patches/10-bluetooth-fix-connection-from-gs-menu.patch 1970-01-01 00:00:00 +0000
+++ debian/patches/10-bluetooth-fix-connection-from-gs-menu.patch 2012-01-23 16:43:29 +0000
@@ -0,0 +1,31 @@
1From 0ed0dc89b51f8e584dd21c87a7178ba138bed44b Mon Sep 17 00:00:00 2001
2From: Alessandro Crismani <alessandro.crismani@gmail.com>
3Date: Tue, 13 Dec 2011 10:01:34 +0100
4Subject: [PATCH] Bluetooth: fix connecting devices from GS's panel on 3.2.1
5
6Connecting devices from Gnome Shell's panel on Gnome 3.2.1 fails because
7of an undefined variable in
8js/ui/status/bluetooth.js:buildDeviceSubMenu. More explicitly, the
9menuitem variable is not declared and hence connecting and disconnecting
10fails. Fix it to make the bluetooth panel menu item work.
11---
12 js/ui/status/bluetooth.js | 3 ++-
13 1 files changed, 2 insertions(+), 1 deletions(-)
14
15diff --git a/js/ui/status/bluetooth.js b/js/ui/status/bluetooth.js
16index f2d95f5..3aa7960 100644
17--- a/js/ui/status/bluetooth.js
18+++ b/js/ui/status/bluetooth.js
19@@ -205,7 +205,8 @@ Indicator.prototype = {
20 _buildDeviceSubMenu: function(item, device) {
21 if (device.can_connect) {
22 item._connected = device.connected;
23- item._connectedMenuitem = new PopupMenu.PopupSwitchMenuItem(_("Connection"), device.connected);
24+ let menuitem = new PopupMenu.PopupSwitchMenuItem(_("Connection"), device.connected);
25+ item._connectedMenuitem = menuitem;
26 item._connectedMenuitem.connect('toggled', Lang.bind(this, function() {
27 if (item._connected > ConnectionState.CONNECTED) {
28 // operation already in progress, revert
29--
301.7.8
31
032
=== modified file 'debian/patches/series'
--- debian/patches/series 2012-01-23 15:58:47 +0000
+++ debian/patches/series 2012-01-23 16:43:29 +0000
@@ -1,3 +1,4 @@
110-bluetooth-fix-connection-from-gs-menu.patch
102_rpath-bluetooth-applet.patch202_rpath-bluetooth-applet.patch
204_remove-glx-dependency-on-armel.patch304_remove-glx-dependency-on-armel.patch
307-NetworkMenu-fix-logic-for-updating-wifi-icon.patch407-NetworkMenu-fix-logic-for-updating-wifi-icon.patch

Subscribers

People subscribed via source and target branches

to all changes: