Re: [Rhythmbox-devel] Custom hack

On Wed, 2005-12-21 at 20:32 +0100, David SedeÃo wrote:
> I need a custom hack to rhythmbox: I will use rhythmbox in a party and I
> want that the songs plays in the order of a playlist only and use the
> main library as a search only system. I need that the main library not
> respond to double click events (so accidentals double clicks doesn't
> stop the current playing song).
> I am searching in the source but if anyone can pointing me to the right
> file in the source where this callback it's declare will be apreciate.

Hopefully the party hasn't come and gone already.

In rb_shell_player_entry_activated_cb (shell/rb-shell-player.c) you can
add something along the lines of:

if (RB_IS_LIBRARY_SOURCE (playa->priv->current_playing_source))

Alternately, if you're using RB from cvs you could just add a "return;"
at the top of that function and force people to use the queue.


James "Doc" Livingston
You're trying to trick me into being intelligent. It won't work. -- dpm
in the monastry

Attachment: signature.asc
Description: This is a digitally signed message part

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