Jehan
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
Jehan
0edde674b7
themes: remove Dark, Gray and Light themes.
...
These are not working anymore since we now need CSS themes.
Also we'll prefer to use theme variants anyway.
I also remove a remnant of the old "Small" theme, which was not
installed anymore anyway, and is not useful anymore.
2018-05-20 21:06:30 +02:00
Jehan
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
Michael Natterer
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
Michael Natterer
56b28773da
libgimpwidgets: honor the gtk-dialogs-use-header setting in GimpDialog
...
and undeprecate the widget.
2018-05-20 21:06:30 +02:00
Michael Natterer
be6d77b915
app: undeprecate GimpSpinScale, still looks like shit tho
2018-05-20 21:06:30 +02:00
Michael Natterer
0f725080c6
app: add missing const to gimp_cell_renderer_button_activate()
2018-05-20 21:06:30 +02:00
Tobias Ellinghaus
c1e73b1cd4
Fix compile
2018-05-20 21:06:30 +02:00
Michael Natterer
241af754b9
app: get rid of some GtkTables in tools/
2018-05-20 21:06:30 +02:00
Michael Natterer
4c5f0ff0de
app: fix border width of GimpOverlayDialog
2018-05-20 21:06:30 +02:00
Michael Natterer
679ac0cb1e
app: get rid of GtkArrow in GimpColorDialog
2018-05-20 21:06:30 +02:00
Michael Natterer
1f29d499f8
libgimpwidgets: GimpBrowser undeprecated: threads and focus-on-click
2018-05-20 21:06:30 +02:00
Michael Natterer
f34b879a2d
app: get rid of GtkHSeparator and GtkHScale
2018-05-20 21:06:30 +02:00
Michael Natterer
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
Michael Natterer
7bd6734a04
Get rid of all GtkAlignments, use GtkWidget align/margin instead
2018-05-20 21:06:30 +02:00
Michael Natterer
7efaf024f3
libgimpwidgets: create GimpIntComboBox' cells in constructed() not init()
...
Apparently this now has to happen later due to some GTK+ change.
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
0f84a985bd
themes: comment out deprecated stuff in the "System" theme
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
6ab3a55919
configure.ac: don't define GDK/GTK_MULTIHEAD_SAFE, they are gone
2018-05-20 21:06:30 +02:00
Michael Natterer
69f03615b0
libgimp: port GimpProcView to GtkGrid
2018-05-20 21:06:30 +02:00
Michael Natterer
7b6d42a443
libgimpwidgets: add gimp_grid_attach_aligned()
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
80985692a4
libgimpwidets: port GimpColorScales to GtkGrid
2018-05-20 21:06:30 +02:00
Michael Natterer
1ce246f2da
libgimpwidgets: add GtkGrid variants of gimp_[color_]scale_entry_new()
...
as temporary porting hack, they will eventually be renamed to the old
names once GtkGrid porting is done.
2018-05-20 21:06:30 +02:00
Michael Natterer
37e24d0059
libgimpwidgets: remove gimp3migration.[ch]
2018-05-20 21:06:29 +02:00
Michael Natterer
ad23eeb86f
libgimpwidgets: derive GimpChainButton from GtkGrid not GtkTable
2018-05-20 21:06:29 +02:00
Michael Natterer
0dd8459a1f
libgimp: deprecate more cruft, everything not needed by cruft plug-ins
2018-05-20 21:06:29 +02:00
Michael Natterer
74d78e7009
libgimpmath: remove all deprecated cruft
2018-05-20 21:06:29 +02:00
Michael Natterer
1f0d296eb6
libgimpwidgets: remove most deprecated cruft
2018-05-20 21:06:29 +02:00
Michael Natterer
f180a171cd
pdb: remove all deprecated procedures
2018-05-20 21:06:29 +02:00
Michael Natterer
9525c646e1
libgimp: remove tons of deprecated cruft
2018-05-20 21:06:29 +02:00
Michael Natterer
1ed586f0f1
libgimpcolor: remove most deprecated cruft, rest to follow
2018-05-20 21:06:29 +02:00
Michael Natterer
ecceb9967c
plug-ins: remove color-enhance, there is a GEGL op doing almost the same
2018-05-20 21:06:29 +02:00
Michael Natterer
86e3f31a03
libgimpconfig: remove all deprecated cruft
2018-05-20 21:06:29 +02:00
Michael Natterer
5e10894334
libgimpmodule: remove all deprecated cruft
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
da5e72369e
libgimpwidgets: make GimpColorScale more-or-less work fine
...
also derive it from GtkRange directly not from GtkScale.
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
Michael Natterer
a6948b4ba5
plug-ins: s/GtkObject/GtkAdjustment/ in file-wepb
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 Henning
2ef224237e
libgimpwidgets: Separate ruler text layer from background.
...
Also fix failing to clear backing_store at the same time.
2018-05-20 21:06:29 +02:00
Michael Henning
69497c84a6
libgimpwidgets: Draw marker in correct position on ruler.
...
With gtk+3, the cairo context is offset by allocation.x/y for us,
so we no longer need to add that factor in while drawing.
2018-05-20 21:06:29 +02:00
Michael Natterer
6165ca7425
libgimpwidgets: #if 0 more stuff in gimp3migration
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