projects
/
multipass-eu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ae229d
)
Emit 'playlist_item.play' on double-click.
author
Tilman Sauerbeck
<tilman@code-monkey.de>
Sun, 24 Apr 2005 16:22:06 +0000
(16:22 +0000)
committer
Tilman Sauerbeck
<tilman@code-monkey.de>
Sun, 24 Apr 2005 16:22:06 +0000
(16:22 +0000)
src/playlist_item.rb
patch
|
blob
|
history
diff --git
a/src/playlist_item.rb
b/src/playlist_item.rb
index ed7762410c262aa793b52ced9d7c305f1c4b7267..cedc2aaa4e76c8478653459527b6b4799ef503a8 100644
(file)
--- a/
src/playlist_item.rb
+++ b/
src/playlist_item.rb
@@
-1,4
+1,4
@@
-# $Id: playlist_item.rb
9 2005-04-24 15:44:54
Z tilman $
+# $Id: playlist_item.rb
10 2005-04-24 16:22:06
Z tilman $
TEXT_COLOR_HILIGHT = "#f0fafd"
@@
-41,4
+41,10
@@
EDJE.collection("playlist_item") do |c|
p.targets << ProgramTarget.new(c.part("length"))
end
end
+
+ c.program("playlist_item.doubleclick", :emit_signal) do |p|
+ p.signal = "mouse,down,1,double"
+ p.source = "*"
+ p.emission_signal = "playlist_item.play"
+ end
end