Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 299934 Details for
Bug 439809
multiple popups for a single event
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
what i've added to git
gpk-watch-dont-show-second-bubble.patch (text/plain), 1.44 KB, created by
Richard Hughes
on 2008-04-01 17:59:14 UTC
(
hide
)
Description:
what i've added to git
Filename:
MIME Type:
Creator:
Richard Hughes
Created:
2008-04-01 17:59:14 UTC
Size:
1.44 KB
patch
obsolete
>commit 75847784a6c336a1ac7f9160cf5fe42e9b90aa77 >Author: Richard Hughes <richard@hughsie.com> >Date: Tue Apr 1 18:55:27 2008 +0100 > > only show the backup libnotify message if the client is not still active. fixes rh#439809 > >diff --git a/src/gpk-watch.c b/src/gpk-watch.c >index c6a4948..52120f3 100644 >--- a/src/gpk-watch.c >+++ b/src/gpk-watch.c >@@ -264,6 +264,7 @@ gpk_watch_finished_cb (PkClient *client, PkExitEnum exit, guint runtime, GpkWatc > gboolean value; > PkRoleEnum role; > PkRestartEnum restart; >+ GError *error = NULL; > gchar *package_id; > gchar *message = NULL; > gchar *package; >@@ -309,11 +310,23 @@ gpk_watch_finished_cb (PkClient *client, PkExitEnum exit, guint runtime, GpkWatc > > /* are we accepting notifications */ > value = gconf_client_get_bool (watch->priv->gconf_client, PK_CONF_NOTIFY_COMPLETED, NULL); >- if (value == FALSE) { >+ if (!value) { > pk_debug ("not showing notification as prevented in gconf"); > return; > } > >+ /* is caller able to handle the messages itself? */ >+ ret = pk_client_is_caller_active (client, &value, &error); >+ if (!ret) { >+ pk_warning ("could not get caller active status: %s", error->message); >+ g_error_free (error); >+ return; >+ } >+ if (value) { >+ pk_debug ("not showing notification as caller is still present"); >+ return; >+ } >+ > if (role == PK_ROLE_ENUM_REMOVE_PACKAGE) { > package = pk_package_get_name (package_id); > message = g_strdup_printf (_("Package '%s' has been removed"), package); >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 439809
: 299934