4c68fb70d4
app: use gtk_widget_get_preferred_size() in gimp_tool_gui_canvas_resized()
2018-05-20 21:06:30 +02:00
588da0c8e8
app: remove #undef GDK_DISABLE_DEPRECATED
...
This was only needed for the insensitive menu item hack which has now be
removed to support CSS themes.
2018-05-20 21:06:30 +02:00
4a6388b265
app: use gtk_menu_popup_at_widget() in GimpIconPicker
2018-05-20 21:06:30 +02:00
6c8cf7876a
Replace lots of deprecated gtk_menu_popup(), only GimpUIManager left
2018-05-20 21:06:30 +02:00
251d2f494e
app: port some stuff to gdk_seat_grab/ungrab
2018-05-20 21:06:30 +02:00
3dd5f19e65
app: the "Default" theme had been removed to "System" a long time ago.
...
Fix a "No such file or directory" error.
2018-05-20 21:06:30 +02:00
23649d65be
app: allow to select if we prefer a dark variant of the current theme.
...
GTK+ has the concept of theme variants, and in particular if we prefer
the dark variant of a theme. This can be chosen globally but also
per-application. Make this choice customizable in the Theme tab of
Preferences.
By default, the dark variant will be prefered.
2018-05-20 21:06:30 +02:00
4f0a87ffa6
app, libgimpwidgets, themes: fix some themeing
...
Add CSS names using gtk_widget_class_set_css_name(), remove styling in
code and instead do it properly in CSS, so far in the System theme.
All horribly incomplete but a start.
2018-05-20 21:06:30 +02:00
be6d77b915
app: undeprecate GimpSpinScale, still looks like shit tho
2018-05-20 21:06:30 +02:00
0f725080c6
app: add missing const to gimp_cell_renderer_button_activate()
2018-05-20 21:06:30 +02:00
c1e73b1cd4
Fix compile
2018-05-20 21:06:30 +02:00
241af754b9
app: get rid of some GtkTables in tools/
2018-05-20 21:06:30 +02:00
4c5f0ff0de
app: fix border width of GimpOverlayDialog
2018-05-20 21:06:30 +02:00
679ac0cb1e
app: get rid of GtkArrow in GimpColorDialog
2018-05-20 21:06:30 +02:00
f34b879a2d
app: get rid of GtkHSeparator and GtkHScale
2018-05-20 21:06:30 +02:00
5ece7a8d1f
Port a lot of stuff from GdkScreen/monitor_number to GdkMonitor
...
including some fixes for getting pointer coords, and needed
API changes in libgimpwidgets.
2018-05-20 21:06:30 +02:00
7bd6734a04
Get rid of all GtkAlignments, use GtkWidget align/margin instead
2018-05-20 21:06:30 +02:00
45d02a8e5f
app: port GimpColorHistory to GtkGrid
2018-05-20 21:06:30 +02:00
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
1b3135ca95
Get rid of using GtkMisc API globally
2018-05-20 21:06:30 +02:00
f180a171cd
pdb: remove all deprecated procedures
2018-05-20 21:06:29 +02:00
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
c50fb989c8
app: make GimpHighlightableButton build on GTK+ 3.x
2018-05-20 21:06:29 +02:00
30efaca5f9
app: port gimpwidgets-utils.c to GTK+ 3.x
2018-05-20 21:06:29 +02:00
717ba49c8c
app: port GimpMeter to GTK+ 3.x
2018-05-20 21:06:29 +02:00
a5b5eaebd3
libgimpwidgets, app: use GdkRGBA instead of GdkColor for cell backgrounds
2018-05-20 21:06:29 +02:00
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
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
895b544af2
app: port GimpContainerTreeView from style_set() to style_updated()
2018-05-20 21:06:29 +02:00
09e6313c14
app: use gimp_color_display_stack_get_filters() instead of stack->filters
2018-05-20 21:06:29 +02:00
ab6f19438c
app: remove GTK_OBJECT() case in GimpPopup
2018-05-20 21:06:29 +02:00
6b447c3643
app: port GimpCircle and subclasses to GTK+ 3
2018-05-20 21:06:29 +02:00
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
922f55ab85
app: s/GtkObject/GtkAdjustment/ in gimpdisplayhsell-rotate-dialog.c
2018-05-20 21:06:29 +02:00
345ef9f0a9
app: port wilber drawing to GtkStyleContext
2018-05-20 21:06:29 +02:00
b68e4a1401
app: don't use the deprecated GDK_EXTENSION_EVENTS_ALL
2018-05-20 21:06:29 +02:00
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
cc010a4288
Incomplete notebook and tab theming commit, to be improved
2018-05-20 21:06:29 +02:00
820d6fbe95
app: don't use "size-request" for the toolbox' wilber, it's gone
2018-05-20 21:06:29 +02:00
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
8b8242947b
app: GimpDock: port font size modification to GtkCssProvider
2018-05-20 21:06:29 +02:00
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
8bb1637013
app: port GimpNavigationEditor to GtkStyleContext
2018-05-20 21:06:29 +02:00
bc7b35d2d6
app: port GimpHistogramView to gdk_device_grab()/ungrab()
2018-05-20 21:06:29 +02:00
aa96d9629e
app: port GimpGradientEditor to GtkSyleContext
2018-05-20 21:06:29 +02:00
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
3b00ba8f06
app: remove some forgotten #undef GSEAL_ENABLE
2018-05-20 21:06:29 +02:00
e8f0c14491
app: use gdk_device_get_position() inetad of gdk_display_get_pointer()
2018-05-20 21:06:29 +02:00
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
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