Matthias Clasen
ffbfafb189
textbuffer: Add some docs for undo
...
Mention what is undoable and what isn't.
2021-05-26 14:36:16 -04:00
Matthias Clasen
994a38c7ad
textbuffer: Improve the docs
...
Add getter/setter annotations.
2021-05-26 14:36:16 -04:00
Christian Hergert
6179886b14
textbuffer: ensure user actions are propagated to history
...
This was an oversight when porting the GtkTextHistory into GTK. We simply
need to bind the GtkTextBuffer action into the text history for grouping
to work correctly.
Fixes #3977
2021-05-26 10:11:33 -07:00
Matthias Clasen
8f4b0cd30d
picture: Make setters actually take NULL
...
gtk_picture_set_file was claiming to be nullable,
but choked on NULL.
Fixes : #3974
2021-05-26 07:30:57 -04:00
Bilal Elmoussaoui
23ea33b656
gtk: drop unwanted char on Switch::state-set docs link
2021-05-25 20:29:46 +00:00
Matthias Clasen
ee80a22db4
Merge branch 'wip/exalm/checks' into 'master'
...
checkbutton: Sync the indicator state with the widget
See merge request GNOME/gtk!3568
2021-05-25 20:29:06 +00:00
Matthias Clasen
d32c343657
Merge branch 'fix.vs2013.link' into 'master'
...
gtk/meson.build: Fix linking on Visual Studio 2013
See merge request GNOME/gtk!3575
2021-05-25 20:27:54 +00:00
Emmanuele Bassi
e13da35d4d
Turn introspection scanner warnings into errors
...
We want to catch errors in our annotations or our API.
2021-05-25 19:16:37 +01:00
Emmanuele Bassi
f50450485c
docs: Add missing documentation on Windows
...
The gtk_print_run_page_setup_dialog() function, and its asynchronous
variant, are declared in the common gtkprintoperation.h header, but
implemented in different source files depending on the platform.
2021-05-25 19:16:37 +01:00
Matthias Clasen
8c441756df
imcontext: Ignore NoSymbol key events
...
These can happen with some XKB options.
Fixes : #3973
2021-05-25 13:20:12 -04:00
Emmanuele Bassi
7da2e86d4b
docs: Fix the PANGO_SCALE link
...
The fragment for constants is `const`.
2021-05-25 13:31:49 +01:00
Matthias Clasen
1f99723a9f
Merge branch 'fix-im-reset' into 'master'
...
imcontextsimple: Fix a possible problem
See merge request GNOME/gtk!3584
2021-05-25 12:09:38 +00:00
Matthias Clasen
4c2761302a
doc: Syntax fixes
...
No, we can't have links that say [constructor@...] or
[mehtod@...] or [methoc@...] or [methos@...] or [metohd@...].
And no, not [signals@...] either.
2021-05-25 07:33:55 -04:00
Bilal Elmoussaoui
4728d7b70b
gtk: fix gi-docgen link type
...
constructors are supposed to use "ctor" as a link type, not new
2021-05-25 09:25:32 +00:00
Matthias Clasen
d0ca4a1255
imcontextsimple: Fix a possible problem
...
We were forgetting to handle the compose sequence
case in reset().
2021-05-24 18:53:14 -04:00
Matthias Clasen
16623d4e71
quartz: Elide underscores again
...
We don't want a literal _File to show up in the
global menubar on OS X, so use the revivied
_gtk_elide_underscores.
Related: #3967
2021-05-24 17:39:05 -04:00
Matthias Clasen
dab7ceaa24
Bring back elide_underscores
...
This used to live in gtktoolbar.c, which is gone.
We still need it, so put it in gtkprivate.c.
2021-05-24 17:37:05 -04:00
Chun-wei Fan
943559da67
gtk/meson.build: Fix linking on Visual Studio 2013
...
Visual Studio 2013's linker does not suport `/WHOLEARCHIVE:`, so just
explicitly extract the objects from the static libraries that will
form the final GTK DLL.
2021-05-24 10:30:34 +08:00
Matthias Clasen
281bb5e2c4
treeviewcolumn: Use focusable when we mean it
...
The focusable property has taken over the role that
can-focus had in GTK 3.
2021-05-23 11:20:00 -04:00
Matthias Clasen
eb61f0fc63
treeexpander: Use focusable where we mean it
...
This does not fix keyboard activation for tree expanders,
but it is more correct than using can-focus.
2021-05-23 11:20:00 -04:00
Matthias Clasen
105b12f807
togglebutton: Fix mnemonic activation
...
We want to grab the focus when we're focusable, so
look at the focusable property.
2021-05-23 11:20:00 -04:00
Matthias Clasen
882893259d
floxbox: Fix focus navigation
...
We want to find focusable children, so we need to look at
the focusable property, not at can-focus. This is a change
from GTK 3, where can-focus was the correct property to
look at.
2021-05-23 11:20:00 -04:00
Matthias Clasen
052917a67d
label: Fix mnemonic activation
...
The intention of the code is to find a focusable ancestor,
so it needs to look at the focusable property, not at
can-focus. This is a change from GTK 3, where can-focus
was the correct property to look at.
Fixes : #3965
2021-05-23 11:19:40 -04:00
Matthias Clasen
be944053e0
docs: More syntax fixes
...
The syntax for interface links is [iface@...], not
[interface@...].
2021-05-22 21:21:10 -04:00
Matthias Clasen
8bcc6b1d96
docs: Fix up syntax
...
There's no [type_func@...[ syntax, it is all [func@...].
2021-05-22 20:56:14 -04:00
Matthias Clasen
40f292cb13
docs: Sync up debug flag information
2021-05-22 20:46:59 -04:00
Matthias Clasen
601a8de422
treemodel: Cosmetic docs changes
2021-05-22 20:46:59 -04:00
Matthias Clasen
fe564318b6
sortlistmodel: Cosmetic docs changes
2021-05-22 20:46:16 -04:00
Matthias Clasen
09244edc15
expression: Cosmetic docs changes
2021-05-22 17:28:10 -04:00
Matthias Clasen
f5f8f83e3e
textbuffer: Cosmetic docs changes
2021-05-22 17:25:27 -04:00
Matthias Clasen
74a39bbae0
textview: Cosmetic docs changes
2021-05-22 17:25:27 -04:00
Matthias Clasen
3ab34ffdc0
text: Cosmetic docs fixes
2021-05-22 17:25:26 -04:00
Matthias Clasen
13a93489b7
widget: Cosmetic docs changes
2021-05-22 17:25:26 -04:00
Matthias Clasen
b35e02db20
shortcutscontroller: Cosmetic docs changes
2021-05-22 17:25:26 -04:00
Matthias Clasen
2d12a7d9ee
directorylist: Cosmetic docs changes
2021-05-22 17:25:26 -04:00
Matthias Clasen
9a7e4f4304
eventcontroller: Cosmetic docs changes
2021-05-22 17:25:26 -04:00
Matthias Clasen
876104835e
sorter: Cosmetic docs changes
2021-05-22 17:25:26 -04:00
Matthias Clasen
786e28fec0
filter: Cosmetic docs changes
2021-05-22 17:25:26 -04:00
Matthias Clasen
91f7b9663f
gtk: Clean up docs syntax
...
Replace leftover gtk-doc syntax (#Type) with backquotes.
2021-05-22 17:25:26 -04:00
Matthias Clasen
f5bd9f721c
Merge branch 'wip/exalm/check-activate' into 'master'
...
checkbutton: Don't allow to uncheck radios by activating them
See merge request GNOME/gtk!3569
2021-05-21 02:06:58 +00:00
Matthias Clasen
4a0d3d7acc
docs: Reduce redundancy
...
Remove a boatload of "or %NULL" from nullable parameters
and return values. gi-docgen generates suitable text from
the annotation that we don't need to duplicate.
This adds a few missing nullable annotations too.
2021-05-20 20:45:06 -04:00
Matthias Clasen
7fe0610b68
introspection: Stop using allow-none
...
allow-none has been deprecated for a long time
already. Instead use optional and nullable everywhere.
2021-05-20 19:17:49 -04:00
Matthias Clasen
8ba16eb4f1
Documentation fixes
...
Mostly fixing up indentation of continuation lines,
and other small cleanups.
2021-05-20 19:17:49 -04:00
Matthias Clasen
ab6a5be0f8
Fix documentation syntax
...
Properties use : in their link syntax.
2021-05-20 19:16:59 -04:00
Matthias Clasen
94b0907534
Merge branch 'wip/exalm/switch-icons-2' into 'master'
...
icons: Fix switch-off icon
See merge request GNOME/gtk!3571
2021-05-20 22:49:29 +00:00
Alexander Mikhaylenko
0017b4b69a
icons: Fix switch-off icon
...
It wasn't converted to paths and so wasn't rendered correctly.
2021-05-20 23:36:30 +05:00
Matthias Clasen
bff7ac4a1d
popover: Update docs
...
Remove mention of show/hide animations, and mention
cascading close instead.
Fixes : #3960
2021-05-20 09:18:47 -04:00
Alexander Mikhaylenko
fb6c6c85bf
checkbutton: Don't allow to uncheck radios by activating them
...
Do the same check as when clicking.
2021-05-20 14:38:33 +05:00
Alexander Mikhaylenko
bad01edd2c
checkbutton: Sync the indicator state with the widget
...
Clicking the whole check button toggles it, so make sure the hover and
active states are propagated to the indicator like in GTK3.
2021-05-20 12:17:45 +05:00
Matthias Clasen
7de266a620
Merge branch 'wip/carlosg/sequence-accepted-in-group' into 'master'
...
gtkgesture: Apply gesture group state after setting up sequence
Closes #3946
See merge request GNOME/gtk!3560
2021-05-18 10:58:19 +00:00