| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
Even on RTL languages, we want the shortcut to be LTR so that we always
have <control> to the left of the accel keyval.
https://bugzilla.gnome.org/show_bug.cgi?id=772695
|
|
|
|
|
|
|
|
|
|
|
| |
When there's no useful shortcut accelerator set,
GtkShortcutLabel doesn't show any useful information.
To work around that, add a new property to set the
text to be displayed when there's no accelerator
available.
https://bugzilla.gnome.org/show_bug.cgi?id=769205
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
GtkShortcutLabel is a widget that displays a single
shortcut accelerator or gesture in the user interface,
and is currently used by the shortcuts window.
This widget, however, has public value as other applications
also may want to expose their own shortcuts. For instance,
it'll be useful for the Keyboard panel on Control Center and
the new shortcut editor in Pitivi, among others.
This patch exposes GtkShortcutLabel as a public widget,
and adds the necessary documentation.
https://bugzilla.gnome.org/show_bug.cgi?id=769205
|
|
|
|
|
|
|
| |
We are using markup in the labels, so we need to escape things
like < and >.
https://bugzilla.gnome.org/show_bug.cgi?id=767795
|
|
|
|
| |
We can everything we need without the frame around it now.
|
|
|
|
|
|
| |
The subscript was affecting the vertical alignment too much,
so tweak the rendering of the L/R markers to avoid that. Also,
mark these as translatable.
|
|
|
|
|
|
| |
Cover cases like left+right control, and render them nicely.
The gtk3-demo builder shortcuts example shows the new
possibilities.
|
|
|
|
|
|
|
| |
Extend the syntax to allow sequences of keys or key combinations,
e.g. t+t or <ctl>c+<ctl>x.
https://bugzilla.gnome.org/show_bug.cgi?id=758051
|
|
|
|
| |
Use a style class directly on the frame. This is easier to reuse.
|
|
|
|
| |
Use a centered ellipsis, to make it look nicer.
|
|
|
|
|
| |
Repeating Alt-1 to Alt-9 as individual shortcuts looks really boring,
so allow compressing such ranges by specifying <Alt>1...9.
|
|
This is a toplevel window that is tailored towards showing
help for shortcuts in an application. The implementation closely
follows this design: https://wiki.gnome.org/Design/OS/HelpOverlay
This implementation is inspired by earlier work in gnome-builder,
thanks to Christian Hergert.
https://bugzilla.gnome.org/show_bug.cgi?id=756428
|