Merge lp:~donadigo/wingpanel-indicator-notifications/fix-acquired-typo into lp:~wingpanel-devs/wingpanel-indicator-notifications/wingpanel-indicator-notifications

Proposed by Adam Bieńkowski
Status: Merged
Approved by: Rico Tzschichholz
Approved revision: 109
Merged at revision: 109
Proposed branch: lp:~donadigo/wingpanel-indicator-notifications/fix-acquired-typo
Merge into: lp:~wingpanel-devs/wingpanel-indicator-notifications/wingpanel-indicator-notifications
Diff against target: 33 lines (+4/-4)
1 file modified
src/Services/Notification.vala (+4/-4)
To merge this branch: bzr merge lp:~donadigo/wingpanel-indicator-notifications/fix-acquired-typo
Reviewer Review Type Date Requested Status
Rico Tzschichholz Approve
Review via email: mp+301781@code.launchpad.net

Commit message

Fix a small typo in the code of the pid_acquired variable

Description of the change

Fix a small typo in the code of the pid_acquired variable.

To post a comment you must log in.
Revision history for this message
Rico Tzschichholz (ricotz) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'src/Services/Notification.vala'
--- src/Services/Notification.vala 2016-07-20 20:11:51 +0000
+++ src/Services/Notification.vala 2016-08-02 13:32:53 +0000
@@ -54,7 +54,7 @@
54 private const string DEFAULT_ACTION = "default";54 private const string DEFAULT_ACTION = "default";
55 private const string DESKTOP_ENTRY_KEY = "desktop-entry";55 private const string DESKTOP_ENTRY_KEY = "desktop-entry";
56 private const string FALLBACK_DESKTOP_ID = "gala-other" + DESKTOP_ID_EXT;56 private const string FALLBACK_DESKTOP_ID = "gala-other" + DESKTOP_ID_EXT;
57 private bool pid_accuired;57 private bool pid_acquired;
5858
59 public Notification.from_message (DBusMessage message, uint32 _id) {59 public Notification.from_message (DBusMessage message, uint32 _id) {
60 var body = message.get_body ();60 var body = message.get_body ();
@@ -139,7 +139,7 @@
139139
140 public Wnck.Window? get_app_window () {140 public Wnck.Window? get_app_window () {
141 Wnck.Window? window = null;141 Wnck.Window? window = null;
142 if (pid_accuired) {142 if (pid_acquired) {
143 Wnck.Screen.get_default ().get_windows ().foreach ((_window) => {143 Wnck.Screen.get_default ().get_windows ().foreach ((_window) => {
144 if (_window.get_pid () == pid && window == null) {144 if (_window.get_pid () == pid && window == null) {
145 window = _window;145 window = _window;
@@ -152,9 +152,9 @@
152 }152 }
153153
154 private void setup_pid () {154 private void setup_pid () {
155 pid_accuired = try_get_pid ();155 pid_acquired = try_get_pid ();
156 NotifySettings.get_instance ().changed[NotifySettings.DO_NOT_DISTURB_KEY].connect (() => {156 NotifySettings.get_instance ().changed[NotifySettings.DO_NOT_DISTURB_KEY].connect (() => {
157 if (!pid_accuired) {157 if (!pid_acquired) {
158 try_get_pid ();158 try_get_pid ();
159 }159 }
160 });160 });

Subscribers

People subscribed via source and target branches

to all changes: