lib/volay/widget/volume_control.rb in volay-2.0.0 vs lib/volay/widget/volume_control.rb in volay-2.1.0
- old
+ new
@@ -5,18 +5,9 @@
# Widgets components
module Widget
# Events class
class VolumeControl < Events
##
- # When system tray window is showed
- #
- def on_system_tray_window_show
- @app.get_object('volume_adjustement')
- .value = @app.mixer.percent
- @app.utils.update_status_icon
- end
-
- ##
# When slider have its adjustement value changed
#
def on_volume_adjustement_value_changed(widget)
Thread.new do
@app.mixer.value = widget.value