[Xfce4-commits] [apps/parole] 01/01: Clear startup notification when already running (bug #11487)
noreply at xfce.org
noreply at xfce.org
Sun Feb 1 03:21:58 CET 2015
This is an automated email from the git hooks/post-receive script.
ochosi pushed a commit to branch master
in repository apps/parole.
commit d73a9ab010d5b8bfffebba53e15d9488450a9f52
Author: Thaddaeus Tintenfisch <thad.fisch at gmail.com>
Date: Fri Jan 30 13:24:44 2015 +0100
Clear startup notification when already running (bug #11487)
Signed-off-by: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
---
src/main.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/main.c b/src/main.c
index ba19329..799a348 100644
--- a/src/main.c
+++ b/src/main.c
@@ -301,6 +301,9 @@ int main (int argc, char **argv)
/* Check for cli options if there is an instance of Parole already */
if ( !new_instance && parole_dbus_name_has_owner (PAROLE_DBUS_NAME) )
{
+ /* Clear startup notification */
+ gdk_notify_startup_complete ();
+
if (!enqueue && !play && !next_track && !prev_track &&
!raise_volume && !lower_volume && !mute && !unmute)
g_print (_("Parole is already running, use -i to open a new instance\n"));
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list