projects
/
snett.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed propdict handling for DrEvil.
[snett.git]
/
bin
/
snett
diff --git
a/bin/snett
b/bin/snett
index 96d6c0111c181582589fdea002557ea5a6601f83..6e94b4ea03014cab673f0dd37b579b4ce81087da 100755
(executable)
--- a/
bin/snett
+++ b/
bin/snett
@@
-55,7
+55,7
@@
class Xmms::Client
end
module Snett
end
module Snett
- VERSION = "0.0.
1
"
+ VERSION = "0.0.
2
"
class Snett < Gtk::Window
attr_reader :icon, :xmms
class Snett < Gtk::Window
attr_reader :icon, :xmms
@@
-71,6
+71,7
@@
module Snett
@xmms = Xmms::Client.new(PKG_NAME)
@xmms.connect(ENV["XMMS_PATH"])
@xmms.add_to_glib_mainloop
@xmms = Xmms::Client.new(PKG_NAME)
@xmms.connect(ENV["XMMS_PATH"])
@xmms.add_to_glib_mainloop
+ @xmms.on_disconnect { destroy }
@broadcasts = []
@broadcasts = []
@@
-132,7
+133,7
@@
module Snett
end
def on_mlib_get_info(res)
end
def on_mlib_get_info(res)
- info = res.value
[:server]
+ info = res.value
s = "%s - %s" % [info[:artist], info[:title]]
@tooltips.set_tip(self, s, nil)
s = "%s - %s" % [info[:artist], info[:title]]
@tooltips.set_tip(self, s, nil)