Add 03-status-icon-whitespace.patch: Fix leftover white-space in the notification area after hiding the icon. Thanks to Chris Coulson for the patch! (https://bugzilla.gnome.org/show_bug.cgi?id=597346)
Martin Pitt
14 years ago
|
0 |
policykit-1-gnome (0.94-2) UNRELEASED; urgency=low
|
|
1 |
|
|
2 |
* Add 03-status-icon-whitespace.patch: Fix leftover white-space in
|
|
3 |
the notification area after hiding the icon. Thanks to Chris Coulson for
|
|
4 |
the patch! (https://bugzilla.gnome.org/show_bug.cgi?id=597346)
|
|
5 |
|
|
6 |
-- Martin Pitt <mpitt@debian.org> Wed, 07 Oct 2009 13:39:29 +0200
|
|
7 |
|
0 | 8 |
policykit-1-gnome (0.94-1) unstable; urgency=low
|
1 | 9 |
|
2 | 10 |
* New upstream version which uses the new PolicyKit-1 API. Rename the
|
|
0 |
From f79b5a04a705706cce301b92556a4f7e8ad932c8 Mon Sep 17 00:00:00 2001
|
|
1 |
From: Chris Coulson <chrisccoulson@googlemail.com>
|
|
2 |
Date: Sun, 4 Oct 2009 20:50:25 +0100
|
|
3 |
Subject: [PATCH] Set status icon invisible before unref'ing it
|
|
4 |
|
|
5 |
Set the status icon invisible before unref'ing it. This avoids
|
|
6 |
leaving whitespace in the notification area, which grows in size
|
|
7 |
each time the icon is displayed/hidden
|
|
8 |
|
|
9 |
https://bugzilla.gnome.org/show_bug.cgi?id=597346
|
|
10 |
---
|
|
11 |
src/main.c | 1 +
|
|
12 |
1 files changed, 1 insertions(+), 0 deletions(-)
|
|
13 |
|
|
14 |
diff --git a/src/main.c b/src/main.c
|
|
15 |
index 5970670..a8970df 100644
|
|
16 |
--- a/src/main.c
|
|
17 |
+++ b/src/main.c
|
|
18 |
@@ -141,6 +141,7 @@ update_temporary_authorization_icon_real (void)
|
|
19 |
/* hide icon */
|
|
20 |
if (status_icon != NULL)
|
|
21 |
{
|
|
22 |
+ gtk_status_icon_set_visible (status_icon, FALSE);
|
|
23 |
g_object_unref (status_icon);
|
|
24 |
status_icon = NULL;
|
|
25 |
}
|
|
26 |
--
|
|
27 |
1.6.3.3
|
|
28 |
|
0 | 0 |
# Debian patches for policykit-1-gnome
|
1 | 1 |
01-xfce-autostart.patch
|
|
2 |
03-status-icon-whitespace.patch
|