Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Feb 27, 2017
1 parent 81c5440 commit 62452e2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions prefs.js
Original file line number Diff line number Diff line change
Expand Up @@ -350,20 +350,20 @@ const AutomaticShutdownTimerPrefs = new GObject.Class({
this.opt.attach(new Gtk.HSeparator(), 0, 0, 6, 1);
this.opt.attach(new Gtk.Label({ label: _("Position in panel:"), halign: Gtk.Align.END}), 0, 1, 2, 1);

let leftPostionRbtn = new Gtk.RadioButton({label: _("Left")});
leftPostionRbtn.connect("toggled", Lang.bind(this, function() {
let leftPositionRbtn = new Gtk.RadioButton({label: _("Left")});
leftPositionRbtn.connect("toggled", Lang.bind(this, function() {
settings.set_int("position", LEFT);
}));
this.opt.attach(leftPostionRbtn, 3, 1, 1, 1);
this.opt.attach(leftPositionRbtn, 3, 1, 1, 1);

let middlePositionRbtn = new Gtk.RadioButton({ group: leftPostionRbtn,
let middlePositionRbtn = new Gtk.RadioButton({ group: leftPositionRbtn,
label: _("Middle")});
middlePositionRbtn.connect("toggled", Lang.bind(this, function() {
settings.set_int("position", MIDDLE);
}));
this.opt.attach_next_to(middlePositionRbtn, leftPostionRbtn, Gtk.PositionType.RIGHT, 1, 1);
this.opt.attach_next_to(middlePositionRbtn, leftPositionRbtn, Gtk.PositionType.RIGHT, 1, 1);

let rightPositionRbtn = new Gtk.RadioButton({ group: leftPostionRbtn,
let rightPositionRbtn = new Gtk.RadioButton({ group: leftPositionRbtn,
label: _("Right")});
rightPositionRbtn.connect("toggled", Lang.bind(this, function() {
settings.set_int("position", RIGHT);
Expand Down

0 comments on commit 62452e2

Please sign in to comment.