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
1=== modified file 'src/Services/Notification.vala'
2--- src/Services/Notification.vala 2016-07-20 20:11:51 +0000
3+++ src/Services/Notification.vala 2016-08-02 13:32:53 +0000
4@@ -54,7 +54,7 @@
5 private const string DEFAULT_ACTION = "default";
6 private const string DESKTOP_ENTRY_KEY = "desktop-entry";
7 private const string FALLBACK_DESKTOP_ID = "gala-other" + DESKTOP_ID_EXT;
8- private bool pid_accuired;
9+ private bool pid_acquired;
10
11 public Notification.from_message (DBusMessage message, uint32 _id) {
12 var body = message.get_body ();
13@@ -139,7 +139,7 @@
14
15 public Wnck.Window? get_app_window () {
16 Wnck.Window? window = null;
17- if (pid_accuired) {
18+ if (pid_acquired) {
19 Wnck.Screen.get_default ().get_windows ().foreach ((_window) => {
20 if (_window.get_pid () == pid && window == null) {
21 window = _window;
22@@ -152,9 +152,9 @@
23 }
24
25 private void setup_pid () {
26- pid_accuired = try_get_pid ();
27+ pid_acquired = try_get_pid ();
28 NotifySettings.get_instance ().changed[NotifySettings.DO_NOT_DISTURB_KEY].connect (() => {
29- if (!pid_accuired) {
30+ if (!pid_acquired) {
31 try_get_pid ();
32 }
33 });

Subscribers

People subscribed via source and target branches

to all changes: