~artem-anufrij/metronome/trunk

« back to all changes in this revision

Viewing changes to src/Metronome.vala

  • Committer: Artem Anufrij
  • Date: 2015-10-12 23:11:24 UTC
  • Revision ID: artem.anufrij@live.de-20151012231124-bo3jwmg853n4tjv0
clear selection

Show diffs side-by-side

added added

removed removed

Lines of Context:
266
266
            tempo_popover = new Gtk.Popover (tempo_button);
267
267
            tempo_popover.position = Gtk.PositionType.BOTTOM;
268
268
            tempo_popover.add (tempo);
 
269
            tempo_popover.closed.connect (() => { settings_buttons.selected = -1; });
269
270
 
270
271
            // BEAT button
271
272
            var beat_button = new Gtk.Grid ();
295
296
            beat_popover = new Gtk.Popover (beat_button);
296
297
            beat_popover.position = Gtk.PositionType.BOTTOM;
297
298
            beat_popover.add (beat);
 
299
            beat_popover.closed.connect (() => { settings_buttons.selected = -1; });
298
300
 
299
301
            settings_buttons.append (tempo_button);
300
302
            settings_buttons.append (beat_button);