25 Commits

Author SHA1 Message Date
Yaroslav Chvanov
ba18f7878e ui: fix a position property 2023-03-04 17:48:58 +03:00
Yaroslav Chvanov
cb903440b4 ui: run gtk-builder-tool simplify on files 2023-03-03 16:35:42 +03:00
Yaroslav Chvanov
e83a987f05 ui: use margin-start/end instead of margin-left/right
Fixes a deprecation warning.
2023-03-03 16:35:42 +03:00
Yaroslav Chvanov
58639e6008 ui: regenerate all UI files using current Glade version
This does not include all changes as for some reason Glade removes some
widgets and actions.
2023-03-03 16:35:36 +03:00
Yaroslav Chvanov
e08c018bc5 ui: require Gtk 3.22 in all UI files
Some of them produced warnings about certain properties being available
only in Gtk 3.22 or higher.
2023-03-03 16:02:15 +03:00
Alex Pantechovskis
72b56a6156 Don't close/accept macro dialog on esc/enter to allow binding these keys (#565)
closes #322
2020-10-20 15:46:02 +02:00
Piotr Drąg
cc59902a65 Use Unicode typography in user-visible strings
See https://developer.gnome.org/hig/stable/typography.html
2018-09-12 18:44:29 +02:00
Jente Hidskes
19f6e1e7c0 ButtonDialog: s/left-handedness/left-handed 2017-08-24 07:06:04 +10:00
Jente Hidskes
b7dd69df53 ButtonDialog: match "Send Keystroke" label with that in the .ui file 2017-08-23 12:38:51 +10:00
Jente Hidskes
8795e7dd5f ButtonDialog: break lines after max character width 2017-08-23 09:09:36 +10:00
Peter Hutterer
8001b74c6d ButtonDialog: when pressing Apply, make sure we commit the current macro 2017-08-23 09:06:59 +10:00
Peter Hutterer
52c70acfbf ui: reconnect the radio button signal handler for left/right handed
Lost in 2965979484
2017-08-22 14:04:59 +02:00
Jente Hidskes
2965979484 ButtonDialog: move handedness to its separate stack page 2017-08-21 12:50:44 +02:00
Jente Hidskes
6dc3a54f71 ButtonDialog: add a search entry to search mappings
Fixes #77.
2017-08-21 12:50:44 +02:00
Jente Hidskes
2c522002e6 ButtonDialog.ui: do not track links in labels 2017-08-21 11:06:38 +02:00
Jente Hidskes
3c432d3c63 ButtonDialog: fix the tooltip for the macro row 2017-08-17 09:49:47 +02:00
Jente Hidskes
f74deb9cc9 ButtonDialog: do not track visited links 2017-08-17 09:49:47 +02:00
Jente Hidskes
31c6fc1c76 ButtonDialog: only allow swapping for left- and right buttons
Fixes #82.
2017-08-17 09:49:47 +02:00
Jente Hidskes
fc9d9bffc6 Keystroke: remove clear, add cancel 2017-08-01 10:22:34 +01:00
Jente Hidskes
e874c81c69 Merge key mappings with macros 2017-08-01 10:22:34 +01:00
Jente Hidskes
510e3b6b31 ButtonDialog: merge all stack pages into a list
For the user anyway, all different mappings will look the same. It makes
no sense to make this more complicated for them by separating them into
different concepts.
2017-08-01 10:22:34 +01:00
Jente Hidskes
334f3bf27e ButtonDialog: add special mapping page 2017-08-01 10:22:34 +01:00
Jente Hidskes
847d8fcf3a ButtonDialog: add key mapping stack page
ratbag's key mapping signature is forcing us to treat modifiers
different from regular keys. To detect them, we need several workarounds
over Gdk.EventKey which makes the code uglier than it could be. Perhaps
we should just skip this altogether and implement macros only; since
they don't differentiate between modifiers and regular keys all these
workaround can then be removed while providing the same functionality.
2017-08-01 10:22:34 +01:00
Jente Hidskes
0773bbcbca ButtonDialog: add button map page 2017-08-01 10:22:34 +01:00
Jente Hidskes
96a77f024b Add ButtonsPage to configure buttons
This commit adds the initial buttons page and a skeleton configuration
dialog to configure button mappings.
2017-08-01 10:22:34 +01:00