~ted/indicator-sound/merge-review

« back to all changes in this revision

Viewing changes to src/sound-menu.vala

  • Committer: Tarmac
  • Author(s): Lars Uebernickel
  • Date: 2013-10-10 04:12:15 UTC
  • mfrom: (388.1.2 trunk)
  • Revision ID: tarmac-20131010041215-2jn8snemfoxxsldz
Allow activating the 'volume' action

It does the same as the 'scroll' action except showing a notification. Fixes: https://bugs.launchpad.net/bugs/1236292.

Approved by Charles Kerr, PS Jenkins bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
31
31
                this.volume_section = new Menu ();
32
32
                if (show_mute)
33
33
                        volume_section.append (_("Mute"), "indicator.mute");
34
 
                volume_section.append_item (this.create_slider_menu_item ("indicator.volume", 0.0, 1.0, 0.01,
 
34
                volume_section.append_item (this.create_slider_menu_item ("indicator.volume(0)", 0.0, 1.0, 0.01,
35
35
                                                                                                                                  "audio-volume-low-zero-panel",
36
36
                                                                                                                                  "audio-volume-high-panel"));
37
37