Yaroslav Chvanov
ba18f7878e
ui: fix a position property
2023-03-04 17:48:58 +03:00
Yaroslav Chvanov
cdd1be7095
Move report rate changing from ResolutionsPage to AdvancedPage
...
Not a setting people change often and it's also just weird to have it
together with resolutions.
2023-03-04 17:48:34 +03:00
Yaroslav Chvanov
111274544e
ui: don't use deprecated GtkAlignment
...
Seems like some of these were also missing `margin-end` properties, I
added them to the children.
2023-03-03 16:41:28 +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
f520834f44
ui: Replace padding properties with margin properties
...
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
Yaroslav Chvanov
b54c3b9ef4
leddialog: work-around title bar not being shown
...
It worked as-is with GtkTemplate, but does not with Gtk.Template.
2023-03-03 15:10:30 +03:00
Yaroslav Chvanov
5aa78ab1ea
resolutionspage: disable the report rate button box if unsupported
2023-03-03 14:56:15 +03:00
Kyoken
a46c10d808
Add "advanced settings" page with debounce time and angle snapping
2023-03-03 14:35:41 +03:00
Stephan Lachnit
48279544f5
ResolutionRow Redesign
...
Adds buttons to set a resolution active or disabled.
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com >
2022-12-26 22:42:25 +03:00
Maximiliano
4ed4f907e9
Replace Quit buttons with normal close buttons ( #770 )
...
Using a Quit button is an anti-pattern and might be confusing for users
expecting the quit button to be on the same position as of other apps'.
Note that the button is on the left and by default the close button is
on the right.
2022-08-15 15:34:52 +10:00
Kyoken
fb178f65ca
add 125 and 250 rates ( #703 )
2022-01-11 21:34:01 +10: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
Stephan Lachnit
b2d7066ba2
AboutDialog: miscm improvements
...
Adds more readable version string.
More representative website label.
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com >
2020-01-22 23:27:54 +00:00
Stephan Lachnit
b024600285
Make builds reproduceable
...
Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com >
2019-12-11 09:08:29 +10:00
Peter Hutterer
f2a9e5d8bb
data: automatically insert the current year into the copyright
...
If we start not doing any commits for a year, then we can change this.
Meanwhile, this will do.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net >
2019-07-30 20:43:34 +10:00
Peter Hutterer
9b96229bd5
data: drop the maintainers and authors list from the About dialog
...
I sincerely doubt anyone is looking at this, and it currently needs manual
updating too. Let's just drop it, it's all in the git log anyway.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net >
2019-07-30 20:43:34 +10:00
Peter Hutterer
89d549d926
data: drop Jente's name from the maintainers
...
Jente has indicated that he doesn't find the time to keep maintaining piper.
Let's remove him from the maintainer list, primarily to save him some
misguided emails.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net >
2019-07-30 08:49:41 +02:00
Peter Hutterer
cbbf2c8ae5
meson.build: 0.2.903
...
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net >
2019-01-24 14:08:57 +10:00
Jente Hidskes
4d5a798814
ResolutionRow: remove delete button
...
This hasn't been added yet and likely won't in the foreseeable future.
2019-01-22 09:10:35 +10:00
Jente Hidskes
41cafa4b4d
Replace appmenu with window-local menu
...
There's an initiave in GNOME to replace app menus with "in-window"
menus: https://gitlab.gnome.org/GNOME/Initiatives/issues/4
This commit brings Piper in line with this new approach.
Fixes #267 .
2019-01-15 12:48:02 +10:00
Jente Hidskes
2f02cd035c
MousePerspective: generalize notification_commit
...
The Resync signal is emitted in a number of scenarios, so informing the
user that a commit went wrong might not be the actual problem. Hence, we
generalize the notification for all kinds of errors.
2019-01-10 10:03:02 +10:00
Peter Hutterer
06973d1234
mouseperspective: don't show the profile button if we only have one profile
...
Fixes #270
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net >
2018-11-30 14:40:38 +01:00
Peter Hutterer
c279fcbc92
Hide the "add a resolution" button
...
This hasn't been implemented in over a year, let's hide it from sight. Maybe
that spurns someone on to actually implement it.
It's an improvement to the GUI either way because the message printed to stdout
wouldn't be seen by most users starting the Piper through e.g. gnome shell. So
it just looks like the button is broken.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net >
2018-11-30 14:37:19 +01:00
Peter Hutterer
8dc1a04e00
data: update the contributor list
...
From git shortlog, with the emails removed because I'm pretty sure just
because you sent a patch once to piper doesn't mean everyone needs to know
your email address.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net >
2018-09-13 10:55:13 +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
Piotr Drąg
fbbc4235a0
data: add translator credits to the About dialog
2018-09-12 18:43:56 +02:00
Jente Hidskes
271207eb35
LedDialog: use new effect duration in ms
...
libratbag/libratbag#422 introduced effect duration in ms for LEDs as opposed to
effect rate in Hz, as was discussed in #175 . This commit updates Piper's
UI to reflect these changes.
Fixes #175 .
2017-11-22 14:19:18 +10:00
Peter Hutterer
39ddd053da
Led: add an image for the led off page
...
Ah, what a beautiful night sky...
The CSS background taken from the control-center scroll test page. Apparently
we can't use the SVG background and have to do this manually.
Fixes #45
2017-10-25 17:27:05 +02:00
Jente Hidskes
6e240c5e36
WelcomePerspective: add context on the same string
2017-08-24 07:06:04 +10:00
Jente Hidskes
19f6e1e7c0
ButtonDialog: s/left-handedness/left-handed
2017-08-24 07:06:04 +10:00
Peter Hutterer
10a7663696
data: make the Welcome title translatable
2017-08-23 19:08:56 +10:00
Peter Hutterer
e0db4749d9
data: make the "Oh Oh" title translatable
2017-08-23 19:08:56 +10:00
Peter Hutterer
f04a0e94a5
ui: limit the length of macros displayed in the option box
...
Otherwise it stretches the whole GUI
2017-08-23 09:50:38 +02:00
Jente Hidskes
0d54a60df2
Add context where needed for translators
2017-08-23 12:38:51 +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
c16fbb51c7
UI files: consistently use (untranslatable) placeholder labels
2017-08-21 11:06:38 +02:00
Jente Hidskes
cd6c528608
UI files: unmark placeholder strings as translatable
2017-08-21 11:06:38 +02:00
Jente Hidskes
d19895c380
Remove old piper code from the tree
2017-08-21 10:58:36 +02:00
Jente Hidskes
f17e341dbe
ResolutionRow: add label to highlight the active resolution
...
Fixes #80 , #81 .
2017-08-21 16:27:24 +10:00
Jente Hidskes
182f44ed40
MousePerspective: do not use show_all()
...
This again interferes with hiding widgets on purpose.
2017-08-17 09:50:52 +02:00
Jente Hidskes
d41b2ce547
ResolutionRow: rename title_label to dpi_label
2017-08-17 09:50:46 +02:00