Emmanuele Bassi
589cb19715
demos: Drop the '+' from GTK
...
The demos have user-visible text that should refer to "GTK", not "GTK+"
any more.
2019-02-05 10:19:57 +01:00
Emmanuele Bassi
0f24fddaf7
docs: Drop the '+' from GTK
...
We need to adapt to both the change in the name of the project, and to
the name change in the pkg-config file.
2019-02-05 10:14:31 +01:00
Matthias Clasen
1aeeefdccb
Merge branch 'drop-the-plus' into 'master'
...
Rename some references to GTK+
See merge request GNOME/gtk!553
2019-02-05 08:29:39 +00:00
Matthias Clasen
dcda16a26f
Merge branch 'pango-deprecation' into 'master'
...
Pango deprecation
See merge request GNOME/gtk!555
2019-02-05 08:28:48 +00:00
Matthias Clasen
99c5a3d72c
gtk: Stop using deprecated pango api
2019-02-04 18:28:31 -05:00
Matthias Clasen
101f1c7b42
gdk: Stop using deprecated pango api
2019-02-04 18:28:31 -05:00
Matthias Clasen
2350d0945a
gdk: Add a copy of some deprecated pango api
...
We use pango_find_base_dir() in a few places, and
this api has been deprecated.
2019-02-04 18:28:31 -05:00
Matthias Clasen
dbd360262c
Add an explicit fribidi dep
...
We will use fribidi api to determine text direction.
2019-02-04 18:28:31 -05:00
Matthias Clasen
d080be3e50
Rename some references to GTK+
...
We are dropping the plus.
2019-02-04 11:58:09 -05:00
Timm Bäder
25e199e7b7
testgtk: Fix image menu item child order
...
We want the image first, text second.
2019-02-04 17:05:30 +01:00
Timm Bäder
257df1d8b5
tooltip: Get the pointer position relative to the toplevel widget
...
Since we position the tooltip window relative to the toplevel widget and
not actually relative to the effective_toplevel, we shouldn't get the
pointer position relative to the effective_toplevel.
We previously used the pointer position (relative to the
effective_toplevel) and the anchor rect (relative to the toplevel
widget) together to calculate x_distance. This leads to wrong values in
cases where get_surface (new_tooltip_widget) != get_surface (toplevel)
Fixes #1427 in master
2019-02-04 17:05:30 +01:00
Timm Bäder
47ba423eca
tooltip: Use gtk_widget_compute_bounds to get tootip widget anchor
...
Instead of using gtk_widget_get_allocated_width/height, which might
return the wrong box for the tooltip widget.
2019-02-04 17:05:30 +01:00
Timm Bäder
489e87baea
main: Rename local variable
...
Make it a little clearer that this is the event widget and not just any
widget.
2019-02-04 17:05:30 +01:00
Timm Bäder
43234eec42
gtkmain: Rename event_widget to target_widget in do_event
...
The event_widget is the widget that the surface belongs to which got
this event. The target widget is the one that will receive the event.
The previous terminology was confusing.
2019-02-04 17:05:30 +01:00
Matthias Clasen
3d1fd5169c
Merge branch 'popover-menu-position' into 'master'
...
Drop GtkPopoverMenu::position
See merge request GNOME/gtk!552
2019-02-04 15:57:44 +00:00
Matthias Clasen
268fcbb838
Drop GtkPopoverMenu::position
...
This is another unnecessary position child property.
2019-02-04 10:47:18 -05:00
Emmanuele Bassi
af63e894e6
Merge branch 'enum-template-basename' into 'master'
...
Use @basename@ in enumeration type templates
See merge request GNOME/gtk!550
2019-02-04 13:19:10 +00:00
Emmanuele Bassi
2514760a8b
Merge branch 'testgtk-warning' into 'master'
...
tests: Remove spurious gtk_container_add()
See merge request GNOME/gtk!549
2019-02-04 13:06:43 +00:00
Emmanuele Bassi
4040f76529
Use @basename@ in enumeration type templates
...
The @filename@ directive will use the full path of the file being parsed
for enumeration types; we should use @basename@, instead, as it improves
the reproducibility of the build by using only the file name.
2019-02-04 14:02:45 +01:00
Emmanuele Bassi
3bb1423804
tests: Remove spurious gtk_container_add()
...
Commit bd71e744d2
removed
gtk_box_pack_end(), but it added a gtk_container_add() with an
uninitialised widget, and the compiler is very unhappy about it.
2019-02-04 10:03:33 +01:00
Emmanuele Bassi
35e973d698
docs: Remove <ulink> elements
...
We use Markdown for documentation, not Docbook.
2019-02-04 09:53:22 +01:00
Balázs Úr
8390883028
Update Hungarian translation
2019-02-03 17:28:26 +00:00
Balázs Úr
f84116b8ff
Update Hungarian translation
2019-02-03 13:54:30 +00:00
Balázs Úr
27446b4b04
Update Hungarian translation
2019-02-02 14:52:38 +00:00
Timm Bäder
4dca2f9604
recorder: Don't try to print info about a NULL list model
2019-01-31 17:00:50 +01:00
Timm Bäder
5852a5ece8
switch: Notify :state by pspec
2019-01-30 17:46:08 +01:00
Emmanuele Bassi
a7fa1cf6f2
Merge branch '1480-critical-csd-close-button' into 'master'
...
gtkmain: Avoid critical messages on closing window
Closes #1480
See merge request GNOME/gtk!442
2019-01-30 11:53:12 +00:00
Timm Bäder
d9d4879623
Merge branch 'wip/carlosg/texthandles-position' into 'master'
...
gtkentry: Fix text handle coordinates calculation
See merge request GNOME/gtk!542
2019-01-29 13:36:43 +00:00
Carlos Garnacho
a15325ef44
gtkentry: Fix text handle coordinates calculation
...
The text allocation is already in widget-local coordinates, involving the
GtkAllocation here is not right.
2019-01-29 12:00:07 +01:00
Jakub Steiner
5765d47568
Merge branch 'expander-row-padding' into 'master'
...
adwaita: Fix the greediness of row:not(.expander)
See merge request GNOME/gtk!526
2019-01-29 09:46:34 +00:00
Jakub Steiner
7286ede490
Merge branch 'adwaita-osd-spinbutton-entry-fix-master' into 'master'
...
Horizontal OSD spinbutton entry fix
See merge request GNOME/gtk!332
2019-01-29 09:39:57 +00:00
Timm Bäder
4a333f826a
Merge branch 'wip/matthiasc/event-signal' into 'master'
...
Remove vestigial ::event support
See merge request GNOME/gtk!538
2019-01-29 08:33:40 +00:00
Timm Bäder
8c4dc3de4d
widget: Also propagate ACTIVE state when unsetting
2019-01-29 07:19:54 +01:00
Timm Bäder
0a5362a7d9
gtkmain: Remove comment mentioning GDK_PROPERTY_NOTIFY
...
... which doesn't exist anymore.
2019-01-29 07:19:54 +01:00
Timm Bäder
245cebec1d
widget: Ignore events on unmapped widgets
...
There was a special case for GtkSearchBar, so remove that one.
2019-01-29 07:19:54 +01:00
Benjamin Otte
bde2332a1a
main: Report correct target for button release events
...
Button release events should not go to the widget below the pointer, but
to the widget that received the original button press.
Fixes #24
2019-01-29 07:19:54 +01:00
Timm Bäder
20429f4764
Remove :active state handling on widgets
2019-01-29 07:19:54 +01:00
Timm Bäder
1b504a3303
Automatically set :active state on button press/release
2019-01-29 07:19:54 +01:00
Timm Bäder
61ec2ab5c9
widget: Propagate PRELIGHT state when unsetting it
...
Without this, disabling a widget that's being hovered and is a child
widget of the widget we're disabling (e.g. the GtkImage child of a
GtkButton) will retain its :hover state even though it should be
insensitive to any sort of input now.
2019-01-29 07:19:54 +01:00
Timm Bäder
611964d915
widget: Avoid some type checks when picking
2019-01-29 05:03:26 +01:00
Timm Bäder
16481734c1
csstransformvalue: Convert skew values to radians
2019-01-29 05:03:26 +01:00
Timm Bäder
d54cccfdd5
label: Use pango_layout_get_log_attrs_readonly
...
No need to memdup the log attrs in this case.
2019-01-29 05:03:26 +01:00
Timm Bäder
7f4b7c48e8
cssparser: Make _gtk_css_parser_try a macro
...
We almost always pass a constant string to it, so use a macro and try to
trick the compiler into evaluating the 2(!) strlen() calls at compile
time.
2019-01-29 05:03:26 +01:00
Timm Bäder
df1f036a95
cssanimatedstyle: Avoid some type checks and unnecessary work
2019-01-29 05:03:26 +01:00
Timm Bäder
f3c51cdf5f
scrolledwindow: Don't NULL the indicator widget in unmap
...
We still have the widget, so just keep the pointer to it.
2019-01-29 05:03:26 +01:00
Fran Dieguez
95404c8a51
Update Galician translation
2019-01-28 21:55:11 +00:00
Fran Dieguez
b2f0c10ade
Update Galician translation
2019-01-27 21:40:17 +00:00
Balázs Úr
847b3a9bae
Update Hungarian translation
2019-01-27 20:14:31 +00:00
Fran Dieguez
7fcd183317
Update Galician translation
2019-01-27 00:09:39 +00:00
Fran Dieguez
9b06692442
Update Galician translation
2019-01-26 23:53:47 +00:00