Here is a self-contained patch. Tested to WORK against 0.12.1-1.
commit afa07da558d6cb738d9ed154d95a90cf3472b926
Author: John Goerzen <[email protected]>
Date: Fri Jun 19 15:59:12 2009 -0500
Added from ubuntu
diff --git a/debian/patches/94_make_static_playlists_clickable.patch
b/debian/patches/94_make_static_playlists_clickable.patch
new file mode 100644
index 0000000..9f6c7ec
--- /dev/null
+++ b/debian/patches/94_make_static_playlists_clickable.patch
@@ -0,0 +1,56 @@
+diff -Nur -x '*.orig' -x '*~'
rhythmbox-0.11.6svn20081008/sources/rb-playlist-source.c
rhythmbox-0.11.6svn20081008.new/sources/rb-playlist-source.c
+--- rhythmbox-0.11.6svn20081008/sources/rb-playlist-source.c 2008-10-07
19:06:07.000000000 +0300
++++ rhythmbox-0.11.6svn20081008.new/sources/rb-playlist-source.c
2009-01-02 19:33:38.343475306 +0200
+@@ -357,7 +357,7 @@
+ rb_entry_view_append_column (source->priv->songs,
RB_ENTRY_VIEW_COL_PLAY_COUNT, FALSE);
+ rb_entry_view_append_column (source->priv->songs,
RB_ENTRY_VIEW_COL_LAST_PLAYED, FALSE);
+ rb_entry_view_append_column (source->priv->songs,
RB_ENTRY_VIEW_COL_FIRST_SEEN, FALSE);
+- rb_entry_view_set_columns_clickable (source->priv->songs, FALSE);
++ rb_entry_view_set_columns_clickable (source->priv->songs, TRUE);
+
+ rb_playlist_source_setup_entry_view (source, source->priv->songs);
+
+@@ -1061,3 +1061,17 @@
+ return sorting_key;
+ }
+
++/**
++ * rb_playlist_source_set_headers_clickabe:
++ * @source: a #RBPlaylistSource
++ * @clickable: a boolean value
++ *
++ * Sets whether the playlist column headers should be clickable or not.
++ * Clickable playlist headers mean that the order of songs can be altered
++ * by changing a sort factor.
++ */
++void rb_playlist_source_set_headers_clickable(RBPlaylistSource
*source,
++ gboolean clickable)
++{
++ rb_entry_view_set_columns_clickable (source->priv->songs, clickable);
++}
+diff -Nur -x '*.orig' -x '*~'
rhythmbox-0.11.6svn20081008/sources/rb-playlist-source.h
rhythmbox-0.11.6svn20081008.new/sources/rb-playlist-source.h
+--- rhythmbox-0.11.6svn20081008/sources/rb-playlist-source.h 2008-10-07
19:06:07.000000000 +0300
++++ rhythmbox-0.11.6svn20081008.new/sources/rb-playlist-source.h
2009-01-02 19:33:38.343475306 +0200
+@@ -100,6 +100,9 @@
+
+ gboolean rb_playlist_source_add_to_map (RBPlaylistSource *source,
+ const char *location);
++
++void rb_playlist_source_set_headers_clickable(RBPlaylistSource
*source,
++ gboolean clickable);
+ G_END_DECLS
+
+ #endif /* __RB_PLAYLIST_SOURCE_H */
+diff -Nur -x '*.orig' -x '*~'
rhythmbox-0.11.6svn20081008/sources/rb-play-queue-source.c
rhythmbox-0.11.6svn20081008.new/sources/rb-play-queue-source.c
+--- rhythmbox-0.11.6svn20081008/sources/rb-play-queue-source.c 2008-10-07
19:06:07.000000000 +0300
++++ rhythmbox-0.11.6svn20081008.new/sources/rb-play-queue-source.c
2009-01-02 19:33:38.360369636 +0200
+@@ -257,8 +257,8 @@
+ source, NULL);
+ rb_entry_view_append_column_custom (priv->sidebar, priv->sidebar_column,
+ _("Play Queue"), "Title", NULL, 0,
NULL);
+- rb_entry_view_set_columns_clickable (priv->sidebar, FALSE);
+ rb_playlist_source_setup_entry_view (RB_PLAYLIST_SOURCE (source),
priv->sidebar);
++ rb_playlist_source_set_headers_clickable (RB_PLAYLIST_SOURCE (source),
FALSE);
+
+ model = rb_playlist_source_get_query_model (RB_PLAYLIST_SOURCE
(source));
+ rb_entry_view_set_model (priv->sidebar, model);