[Xfce4-commits] <parole:master> Remove rhythmbox comments
Sean Davis
noreply at xfce.org
Sat Nov 9 15:56:01 CET 2013
Updating branch refs/heads/master
to 1bfa7e83469d26a13ac30649de9bfe893763c930 (commit)
from 4812174d4b580f1fdb4101d9f5be405a7099deb5 (commit)
commit 1bfa7e83469d26a13ac30649de9bfe893763c930
Author: Sean Davis <smd.seandavis at gmail.com>
Date: Sat Nov 9 09:55:43 2013 -0500
Remove rhythmbox comments
src/parole-medialist.c | 36 +++++++++++++-----------------------
1 file changed, 13 insertions(+), 23 deletions(-)
diff --git a/src/parole-medialist.c b/src/parole-medialist.c
index bd12a27..c07671b 100644
--- a/src/parole-medialist.c
+++ b/src/parole-medialist.c
@@ -1491,37 +1491,27 @@ parole_media_list_playing_cell_data_func (GtkTreeViewColumn *column,
GtkTreeIter *iter,
GtkWidget *view)
{
- //RhythmDBEntry *entry;
const char *name = NULL;
- //entry = rhythmdb_query_model_iter_to_entry (view->priv->model, iter);
-
- //if (entry == NULL) {
- // return;
- //}
gint state = 0;
gtk_tree_model_get (tree_model, iter, STATE_COL, &state, -1);
- //if (entry == view->priv->playing_entry) {
- switch (state) {
- case PAROLE_MEDIA_STATE_NONE:
- name = NULL;
- break;
- case PAROLE_MEDIA_STATE_PAUSED:
- name = "media-playback-pause-symbolic";
- break;
- case PAROLE_MEDIA_STATE_PLAYING:
- name = "media-playback-start-symbolic";
- break;
- default:
- name = NULL;
- break;
- // }
+ switch (state) {
+ case PAROLE_MEDIA_STATE_NONE:
+ name = NULL;
+ break;
+ case PAROLE_MEDIA_STATE_PAUSED:
+ name = "media-playback-pause-symbolic";
+ break;
+ case PAROLE_MEDIA_STATE_PLAYING:
+ name = "media-playback-start-symbolic";
+ break;
+ default:
+ name = NULL;
+ break;
}
g_object_set (renderer, "icon-name", name, NULL);
-
- //rhythmdb_entry_unref (entry);
}
static void
More information about the Xfce4-commits
mailing list