[rhythmbox] notification: don't close notifications when paused
- From: Jonathan Matthew <jmatthew src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox] notification: don't close notifications when paused
- Date: Sun, 8 Jun 2014 08:49:34 +0000 (UTC)
commit 03e3a020119f212314c6a7e9b579d09b40624f1c
Author: Jonathan Matthew <jonathan d14n org>
Date: Sun Jun 8 18:47:23 2014 +1000
notification: don't close notifications when paused
The previous change wasn't a great idea after all. Instead, only
close notifications when the playing entry changes to NULL.
https://bugzilla.gnome.org/show_bug.cgi?id=731202
plugins/notification/rb-notification-plugin.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/plugins/notification/rb-notification-plugin.c b/plugins/notification/rb-notification-plugin.c
index 231698f..7af1373 100644
--- a/plugins/notification/rb-notification-plugin.c
+++ b/plugins/notification/rb-notification-plugin.c
@@ -518,10 +518,8 @@ playing_changed_cb (RBShellPlayer *player,
gboolean playing,
RBNotificationPlugin *plugin)
{
- if (playing) {
+ if (playing || plugin->notification != NULL) {
notify_playing_entry (plugin, FALSE);
- } else {
- cleanup_notification (plugin);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]