projects
/
snett.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36d105c
)
Exit when the connection to the daemon is lost.
author
Tilman Sauerbeck
<tilman@code-monkey.de>
Fri, 7 Apr 2006 21:24:00 +0000
(21:24 +0000)
committer
Tilman Sauerbeck
<tilman@code-monkey.de>
Fri, 7 Apr 2006 23:24:00 +0000
(23:24 +0000)
bin/snett
patch
|
blob
|
history
diff --git
a/bin/snett
b/bin/snett
index 96d6c0111c181582589fdea002557ea5a6601f83..62b82692261e6df5b3d92a512a87e330b567b69f 100755
(executable)
--- a/
bin/snett
+++ b/
bin/snett
@@
-71,6
+71,7
@@
module Snett
@xmms = Xmms::Client.new(PKG_NAME)
@xmms.connect(ENV["XMMS_PATH"])
@xmms.add_to_glib_mainloop
+ @xmms.on_disconnect { destroy }
@broadcasts = []