[rhythmbox/v0.13.x] status-icon: don't add "(Paused)" to notifications when pausing



commit cac8f94b18f9f6e6b04cb230cb6ece0afec17bb0
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 97d72a1..4e9ca49 100644
--- a/plugins/status-icon/rb-status-icon-plugin.c
+++ b/plugins/status-icon/rb-status-icon-plugin.c
@@ -818,7 +818,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;
@@ -910,17 +909,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]