mirror of
https://github.com/FranP-code/wintile.git
synced 2025-10-13 00:33:46 +00:00
Reorder settings and rename preview setting
This commit is contained in:
34
prefs.js
34
prefs.js
@@ -78,21 +78,6 @@ function buildPrefsWidget() {
|
||||
layout.attach(colsLabel, 0, row, 1, 1);
|
||||
layout.attach(colsInput, 1, row++, 1, 1);
|
||||
|
||||
// Maximize setting
|
||||
let doubleWidthLabel = new Gtk.Label({
|
||||
label: _("Use double width previews on sides in 4 column mode"),
|
||||
visible: true,
|
||||
hexpand: true,
|
||||
halign: Gtk.Align.START
|
||||
});
|
||||
let doubleWidthInput = new Gtk.Switch({
|
||||
active: this.settings.get_boolean ('double-width'),
|
||||
halign: Gtk.Align.END,
|
||||
visible: true
|
||||
});
|
||||
layout.attach(doubleWidthLabel, 0, row, 1, 1);
|
||||
layout.attach(doubleWidthInput, 1, row++, 1, 1);
|
||||
|
||||
// Maximize setting
|
||||
let maximizeLabel = new Gtk.Label({
|
||||
label: _("Use true maximizing of windows"),
|
||||
@@ -108,9 +93,9 @@ function buildPrefsWidget() {
|
||||
layout.attach(maximizeLabel, 0, row, 1, 1);
|
||||
layout.attach(maximizeInput, 1, row++, 1, 1);
|
||||
|
||||
// Preview setting
|
||||
// Preview settings
|
||||
let previewLabel = new Gtk.Label({
|
||||
label: _("Turn on mouse dragging support"),
|
||||
label: _("Enable preview while dragging windows"),
|
||||
visible: true,
|
||||
hexpand: true,
|
||||
halign: Gtk.Align.START
|
||||
@@ -123,6 +108,21 @@ function buildPrefsWidget() {
|
||||
layout.attach(previewLabel, 0, row, 1, 1);
|
||||
layout.attach(previewInput, 1, row++, 1, 1);
|
||||
|
||||
// Double width previews
|
||||
let doubleWidthLabel = new Gtk.Label({
|
||||
label: _(" Use double width previews on sides in 4 column mode"),
|
||||
visible: true,
|
||||
hexpand: true,
|
||||
halign: Gtk.Align.START
|
||||
});
|
||||
let doubleWidthInput = new Gtk.Switch({
|
||||
active: this.settings.get_boolean ('double-width'),
|
||||
halign: Gtk.Align.END,
|
||||
visible: true
|
||||
});
|
||||
layout.attach(doubleWidthLabel, 0, row, 1, 1);
|
||||
layout.attach(doubleWidthInput, 1, row++, 1, 1);
|
||||
|
||||
// Debug setting
|
||||
let debugLabel = new Gtk.Label({
|
||||
label: _("Turn on debugging"),
|
||||
|
||||
Reference in New Issue
Block a user