[rhythmbox] status-icon: don't add "(Paused)" to notifications when pausing



commit 006d2ff5eb0b713706ddd7f5fb1bb1c608ff3a05
Author: Jonathan Matthew <jonathan d14n org>
Date:   Sat Feb 26 10:46:20 2011 +1000

    status-icon: don't add "(Paused)" to notifications when pausing
    
    This isn't really necessary as the play button icon indicates that
    we're paused.

 plugins/status-icon/rb-status-icon-plugin.c |   13 +------------
 1 files changed, 1 insertions(+), 12 deletions(-)
---
diff --git a/plugins/status-icon/rb-status-icon-plugin.c b/plugins/status-icon/rb-status-icon-plugin.c
index accf663..92db5c9 100644
--- a/plugins/status-icon/rb-status-icon-plugin.c
+++ b/plugins/status-icon/rb-status-icon-plugin.c
@@ -817,7 +817,6 @@ update_current_playing_data (RBStatusIconPlugin *plugin, RhythmDBEntry *entry)
 	char *album = NULL;
 	char *title = NULL;
 	GString *secondary;
-	gboolean playing = FALSE;
 
 	const char *artist_template = NULL;
 	const char *album_template = NULL;
@@ -909,17 +908,7 @@ update_current_playing_data (RBStatusIconPlugin *plugin, RhythmDBEntry *entry)
 		title = g_strdup (_("Unknown"));
 	}
 
-	rb_shell_player_get_playing (plugin->priv->shell_player, &playing, NULL);
-	if (playing) {
-		plugin->priv->current_title = title;
-	} else {
-		/* Translators: this is used in notification bubble text to indicate that
-		 * playback is currently paused.  %s is the song title.
-		 */
-		plugin->priv->current_title = g_strdup_printf (_("(Paused) %s"), title);
-		g_free (title);
-	}
-
+	plugin->priv->current_title = title;
 	plugin->priv->current_album_and_artist = g_string_free (secondary, FALSE);
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]