From bb7ec72c23556c4b2790859a64db9677f6a04331 Mon Sep 17 00:00:00 2001 From: Thaddaeus Tintenfisch Date: Fri, 30 Jan 2015 13:24:44 +0100 Subject: [PATCH] Clear startup notification when already running (bug #11487) --- 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")); -- 2.1.4