Skip to content

Commit

Permalink
Add on "begin-and-end" option
Browse files Browse the repository at this point in the history
A new version of Touchégg will include this option.
Allow to select it here.
  • Loading branch information
JoseExposito committed Nov 27, 2024
1 parent 6864770 commit 0180422
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions po/es.po
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,9 @@ msgstr "El gesto empiece"
msgid "Gesture end"
msgstr "El gesto finalice"

msgid "Gesture begin and end"
msgstr "El gesto empiece y finalice"

msgid "Opposite command:"
msgstr "Comando opuesto:"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ class MouseClickRowSettings extends Gtk.Grid {
});
this.onBeginEndCombo.append('begin', _('Gesture begin'));
this.onBeginEndCombo.append('end', _('Gesture end'));
this.onBeginEndCombo.append('begin-and-end', _('Gesture begin and end'));
this.onBeginEndCombo.active_id = gesture?.actionSettings?.on ?? 'begin';

// Changed signal
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ class RunCommandRowSettings extends Gtk.Grid {
});
this.onBeginEndCombo.append('begin', _('Gesture begin'));
this.onBeginEndCombo.append('end', _('Gesture end'));
this.onBeginEndCombo.append('begin-and-end', _('Gesture begin and end'));
this.onBeginEndCombo.active_id = gesture?.actionSettings?.on ?? 'begin';

// When repeat is true, display the opposite direction command entry
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ class SendKeysRowSettings extends Gtk.Grid {
});
this.onBeginEndCombo.append('begin', _('Gesture begin'));
this.onBeginEndCombo.append('end', _('Gesture end'));
this.onBeginEndCombo.append('begin-and-end', _('Gesture begin and end'));
this.onBeginEndCombo.active_id = gesture?.actionSettings?.on ?? 'begin';

// When repeat is true, display the opposite direction keys
Expand Down

0 comments on commit 0180422

Please sign in to comment.