Advertisement
darkxst

gnome-shell remove barrier

Feb 23rd, 2013
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 3.80 KB | None | 0 0
  1. --- gnome-shell-3.6.3.1/debian/changelog    2013-02-21 13:34:55.000000000 +1100
  2. +++ gnome-shell-3.6.3.1/debian/changelog    2013-02-24 13:31:45.000000000 +1100
  3. @@ -1,3 +1,10 @@
  4. +gnome-shell (3.6.3.1-0ubuntu2) raring; urgency=low
  5. +
  6. +  * debian/patches:
  7. +    - git_remove_messagetray_barrier.patch: (LP: #1132308)
  8. +
  9. + -- Tim Lunn <tim@feathertop.org>  Sun, 24 Feb 2013 13:30:51 +1100
  10. +
  11.  gnome-shell (3.6.3.1-0ubuntu1) raring; urgency=low
  12.  
  13.    * New upstream release (LP: #1128804)
  14. --- gnome-shell-3.6.3.1/debian/control  2013-02-21 13:34:58.000000000 +1100
  15. +++ gnome-shell-3.6.3.1/debian/control  2013-02-24 13:32:25.000000000 +1100
  16. @@ -7,7 +7,7 @@
  17.  Priority: optional
  18.  Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
  19.  XSBC-Original-Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>
  20. -Uploaders: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>, Jeremy Bicha <jbicha@ubuntu.com>, Sjoerd Simons <sjoerd@debian.org>
  21. +Uploaders: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>, Jeremy Bicha <jbicha@ubuntu.com>
  22.  Build-Depends: autotools-dev,
  23.                 cdbs,
  24.                 debhelper (>= 8.1.3~),
  25. --- gnome-shell-3.6.3.1/debian/patches/git_remove_messagetray_barrier.patch 1970-01-01 10:00:00.000000000 +1000
  26. +++ gnome-shell-3.6.3.1/debian/patches/git_remove_messagetray_barrier.patch 2013-02-24 13:30:28.000000000 +1100
  27. @@ -0,0 +1,54 @@
  28. +
  29. +m 2781a84519b27816c009acd820872cfcc7e4854e Mon Sep 17 00:00:00 2001
  30. +From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner@gnome.org>
  31. +Date: Fri, 2 Nov 2012 16:16:12 +0100
  32. +Subject: [PATCH] layout: Remove message tray pointer barrier
  33. +
  34. +The barrier was introduced to make the message tray hot corner
  35. +usable in multiple monitor setups. With the hot corner gone in
  36. +3.6, the pointer barrier doesn't make much sense anymore, so
  37. +remove it.
  38. +
  39. +https://bugzilla.gnome.org/show_bug.cgi?id=687457
  40. +---
  41. + js/ui/layout.js | 18 ------------------
  42. + 1 file changed, 18 deletions(-)
  43. +
  44. +diff --git a/js/ui/layout.js b/js/ui/layout.js
  45. +index 168b986..0b3aa56 100644
  46. +--- a/js/ui/layout.js
  47. ++++ b/js/ui/layout.js
  48. +@@ -128,8 +128,6 @@ const LayoutManager = new Lang.Class({
  49. +         this.trayBox = new St.Widget({ name: 'trayBox',
  50. +                                        layout_manager: new Clutter.BinLayout() });
  51. +         this.addChrome(this.trayBox);
  52. +-        this.trayBox.connect('allocation-changed',
  53. +-                             Lang.bind(this, this._updateTrayBarrier));
  54. +
  55. +         this.keyboardBox = new St.BoxLayout({ name: 'keyboardBox',
  56. +                                               reactive: true,
  57. +@@ -280,22 +278,6 @@ const LayoutManager = new Lang.Class({
  58. +         }
  59. +     },
  60. +
  61. +-    _updateTrayBarrier: function() {
  62. +-        let monitor = this.bottomMonitor;
  63. +-
  64. +-        if (this._trayBarrier)
  65. +-            global.destroy_pointer_barrier(this._trayBarrier);
  66. +-
  67. +-        if (Main.messageTray) {
  68. +-            this._trayBarrier =
  69. +-                global.create_pointer_barrier(monitor.x + monitor.width, monitor.y + monitor.height - Main.messageTray.actor.height,
  70. +-                                              monitor.x + monitor.width, monitor.y + monitor.height,
  71. +-                                              4 /* BarrierNegativeX */);
  72. +-        } else {
  73. +-            this._trayBarrier = 0;
  74. +-        }
  75. +-    },
  76. +-
  77. +     _monitorsChanged: function() {
  78. +         this._updateMonitors();
  79. +         this._updateBoxes();
  80. +--
  81. +1.7.12.1
  82. --- gnome-shell-3.6.3.1/debian/patches/series   2013-02-21 13:34:55.000000000 +1100
  83. +++ gnome-shell-3.6.3.1/debian/patches/series   2013-02-24 13:30:40.000000000 +1100
  84. @@ -7,3 +7,4 @@
  85.  ubuntu_lock_on_suspend.patch
  86.  git-set-ally-wm-theme.patch
  87.  calendar-remove-strict-check.patch
  88. +git_remove_messagetray_barrier.patch
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement