Michael Natterer
7bd6734a04
Get rid of all GtkAlignments, use GtkWidget align/margin instead
2018-05-20 21:06:30 +02:00
Michael Natterer
45d02a8e5f
app: port GimpColorHistory to GtkGrid
2018-05-20 21:06:30 +02:00
Michael Natterer
901c3ddcf8
Get rid of the deprecated gtk_icon_size_lookup_for_settings()
...
and use gtk_icon_size_lookup() instead.
2018-05-20 21:06:30 +02:00
Michael Natterer
1b3135ca95
Get rid of using GtkMisc API globally
2018-05-20 21:06:30 +02:00
Michael Natterer
f180a171cd
pdb: remove all deprecated procedures
2018-05-20 21:06:29 +02:00
Michael Natterer
1671da428c
libgimpbase: remove almost all deprecated compat cruft
...
Keep infrastructure for compat enums around because we will
mose definitely need it again.
2018-05-20 21:06:29 +02:00
Michael Natterer
c50fb989c8
app: make GimpHighlightableButton build on GTK+ 3.x
2018-05-20 21:06:29 +02:00
Michael Natterer
30efaca5f9
app: port gimpwidgets-utils.c to GTK+ 3.x
2018-05-20 21:06:29 +02:00
Michael Natterer
717ba49c8c
app: port GimpMeter to GTK+ 3.x
2018-05-20 21:06:29 +02:00
Michael Natterer
a5b5eaebd3
libgimpwidgets, app: use GdkRGBA instead of GdkColor for cell backgrounds
2018-05-20 21:06:29 +02:00
Jehan
7b20173dc8
Bug 762279 - "Tip of the day" links opens two links.
...
Use the "activate-link" signal instead of "clicked" on tip links, so
that we can stop signal propagation.
Otherwise it opens "http://docs.gimp.org/ " everytime.
2018-05-20 21:06:29 +02:00
Michael Natterer
52fe0dad60
Revert "Bug 762279 - "Tip of the day" links opens two links"
...
This reverts commit dc33afd95b
.
That hack is not for gtk3...
2018-05-20 21:06:29 +02:00
Michael Natterer
895b544af2
app: port GimpContainerTreeView from style_set() to style_updated()
2018-05-20 21:06:29 +02:00
Michael Natterer
09e6313c14
app: use gimp_color_display_stack_get_filters() instead of stack->filters
2018-05-20 21:06:29 +02:00
Michael Natterer
ab6f19438c
app: remove GTK_OBJECT() case in GimpPopup
2018-05-20 21:06:29 +02:00
Michael Natterer
6b447c3643
app: port GimpCircle and subclasses to GTK+ 3
2018-05-20 21:06:29 +02:00
Jehan
5e9f450d24
Use GTK+3 gtk_get_locale_direction() function instead of current hack.
...
This new function is available from the released dev version 3.11.4. But
we don't want to require GTK+ master for the gtk3-port branch, so I
leave the old hack in a GTK_CHECK_VERSION() macro, to be removed later
when we update GTK+ required version.
2018-05-20 21:06:29 +02:00
Michael Natterer
922f55ab85
app: s/GtkObject/GtkAdjustment/ in gimpdisplayhsell-rotate-dialog.c
2018-05-20 21:06:29 +02:00
Michael Natterer
345ef9f0a9
app: port wilber drawing to GtkStyleContext
2018-05-20 21:06:29 +02:00
Michael Natterer
b68e4a1401
app: don't use the deprecated GDK_EXTENSION_EVENTS_ALL
2018-05-20 21:06:29 +02:00
Michael Natterer
1fdc472c68
app: make the statusbar's progress label visible again
...
and remove setting of removed align properties. The label alignment is
broken now until that feature comes back to gtk+.
2018-05-20 21:06:29 +02:00
Michael Natterer
cc010a4288
Incomplete notebook and tab theming commit, to be improved
2018-05-20 21:06:29 +02:00
Michael Natterer
820d6fbe95
app: don't use "size-request" for the toolbox' wilber, it's gone
2018-05-20 21:06:29 +02:00
Michael Natterer
cf07fae3c6
app: implement GtkContainer::get_path_for_child() in GimpMessageBox
...
and handle our internal icon child ourselves.
2018-05-20 21:06:29 +02:00
Michael Natterer
8b8242947b
app: GimpDock: port font size modification to GtkCssProvider
2018-05-20 21:06:29 +02:00
Michael Natterer
98dd27b776
app: port GimpTagPopup to GtkStyleContext
...
This doesn't look as it should at all, but is entirely useable and
undeprecated, and I really want to keep the diff to master small. Will
fix after we switch to GTK+ 3.0.
2018-05-20 21:06:29 +02:00
Michael Natterer
8bb1637013
app: port GimpNavigationEditor to GtkStyleContext
2018-05-20 21:06:29 +02:00
Michael Natterer
bc7b35d2d6
app: port GimpHistogramView to gdk_device_grab()/ungrab()
2018-05-20 21:06:29 +02:00
Michael Natterer
aa96d9629e
app: port GimpGradientEditor to GtkSyleContext
2018-05-20 21:06:29 +02:00
Michael Natterer
f8f42f0946
app: let the file dialog expand/collapse with the file type expander
...
Using the new gtk_expander_set_resize_toplevel().
2018-05-20 21:06:29 +02:00
Michael Natterer
3b00ba8f06
app: remove some forgotten #undef GSEAL_ENABLE
2018-05-20 21:06:29 +02:00
Michael Natterer
e8f0c14491
app: use gdk_device_get_position() inetad of gdk_display_get_pointer()
2018-05-20 21:06:29 +02:00
Michael Natterer
76859c3c32
app: make input devices, grabs and therefore generally tools work again
...
- add new "device from event" apparatus that works on GTK+ 3.x
- fix the active device selection mechanism
- use the new device grabbing functions
- make sure we don't process events while we have a grab on
another device
- compensate for some really obscure (and likely broken) behavior
of XI2, it feels like we are the first real users...
2018-05-20 21:06:29 +02:00
Michael Natterer
97df7535a1
app: gimp_device_info_get_device_coords(): workaround for XI2 b0rk
...
for the time being, use gdk_window_get_device_position() instead of
gdk_device_get_axis() for X and Y, which gets rid of subpixel
coordinates, but at least returns values != 0. Also, don't ask
keyboard devices for coordinates.
2018-05-20 21:06:29 +02:00
Michael Natterer
09b9263d5c
app: gimp_print_event(): add the device to the event debug output.
2018-05-20 21:06:29 +02:00
Michael Natterer
0c00a72b17
app: remove gimp_rgb_get,set_gdk_color()
...
and inline the few lines into their only users.
2018-05-20 21:06:29 +02:00
Michael Natterer
4b322b8326
app: use GdkRGBA instead of GdkColor in some places
2018-05-20 21:06:29 +02:00
Michael Natterer
e522c1dbf6
app: port GimpComboTagEntry to GtkStyleContext
2018-05-20 21:06:29 +02:00
Michael Natterer
107fc72237
app: define all GimpHistogramView colors via style properties and CSS
2018-05-20 21:06:28 +02:00
Michael Natterer
bbf2c3947b
app: port GimpCurveView to GtkStyleContext
...
reusing the new grid-color property added in the parent class.
2018-05-20 21:06:28 +02:00
Michael Natterer
a4b8dafe61
app: add style property and default CSS for GimpHistogramView's grid-color
2018-05-20 21:06:28 +02:00
Michael Natterer
88a96cf3fb
app: add gimp_get_style_color() to simplify GdkRGBA style property lookup
2018-05-20 21:06:28 +02:00
Michael Natterer
c4d721e06d
app: port GimpCellRendererDashes to GtkStyleContext
2018-05-20 21:06:28 +02:00
Michael Natterer
64d80e9aa4
Port cell renderers to gtk_cell_renderer_get_state()
2018-05-20 21:06:28 +02:00
Michael Natterer
9244cbe898
app: port GimpOverlayChild to GtkStyleContext
2018-05-20 21:06:28 +02:00
Michael Natterer
f5c3bb00c2
app: remove call to gtk_widget_style_attach() from GimpOverlayBox
2018-05-20 21:06:28 +02:00
Michael Natterer
1cd367845d
app: port GimpColorFrame away from GtkStyle, using a new style property
2018-05-20 21:06:28 +02:00
Michael Natterer
dfa38fc26a
app: remove obsolete device checks from GimpToolbox
...
The new code doesn't actually work properly, but the old one was
clearly bogus with GTK+ 3.x.
2018-05-20 21:06:28 +02:00
Michael Natterer
912128fe2e
app: when checking for a device change, check the event's source device
...
because the events we receive always come from either master or
floating devices, but never from a slave source device.
2018-05-20 21:06:28 +02:00
Michael Natterer
9c9ba4895d
app: always ask the master device for its axes or state
2018-05-20 21:06:28 +02:00