Commit Graph

41432 Commits

Author SHA1 Message Date
Simon Budig 746ebfaa90 cml-explorer: kill GtkTable 2018-05-20 21:06:33 +02:00
Simon Budig b50442f11e filter-pack: kill GtkTable 2018-05-20 21:06:33 +02:00
Simon Budig 74db37fc0e ifs-compose: add unverified GtkTable removal.
Needs revisiting after the compile is fixed again.
2018-05-20 21:06:33 +02:00
Simon Budig d4b3611cb5 lighting: kill GtkTable 2018-05-20 21:06:33 +02:00
Simon Budig 881cb5fab2 gradient-flare: kill GtkTable 2018-05-20 21:06:33 +02:00
Simon Budig de5ab5e07a map-object: kill GtkTable 2018-05-20 21:06:33 +02:00
Ell ed46a405ae app: fix canvas motion compression
In gimp_display_shell_canvas_tool_events(), use
gdk_window_set_event_compression(), instead of implementing our own
motion compression, which used to introduce all sorts of weird
effects when combined with extended input devices, that we had to
hackishly work around.

For tools that use GIMP_MOTION_MODE_EXACT, we call
gdk_window_set_event_compression() to disable motion compression
for the canvas window upon initializing the tool in response to a
GDK_BUTTON_PRESS event, and again to re-eanble compression upon the
corresponding GDK_BUTTON_RELEASE event.

This commit also merges
gimp_display_shell_canvas_tool_events_internal() back into
gimp_display_shell_canvas_tool_events().  The split was a detail
of our custom motion compression implementation.
2018-05-20 21:06:33 +02:00
Michael Natterer 73af1873a7 app: gdk_screen_get_monitor_workarea() -> gdk_monitor_get_workarea() 2018-05-20 21:06:33 +02:00
Michael Natterer 885f66158a app: kill all except one GtkAlignment, the tag popup one is a bit tricky 2018-05-20 21:06:33 +02:00
Michael Natterer c2763afd30 app: port gimp_display_shell_set_initial_scale() to the monitor's workarea 2018-05-20 21:06:33 +02:00
Michael Natterer b2df13749c plug-ins: disable devel-docs and a bunch of plug-ins, they don't build 2018-05-20 21:06:33 +02:00
Michael Natterer 4a39edf241 app: disable motion compression, have to figure how to control GTK+'s 2018-05-20 21:06:33 +02:00
Michael Natterer 7f3f1afa28 app: port gimp_navigation_editor_popup() to GdkMonitor's workarea 2018-05-20 21:06:33 +02:00
Michael Natterer 369b273157 libgimpwidgets: move GimpEnumStore.enum_class to private 2018-05-20 21:06:33 +02:00
Michael Natterer d87eddb1c4 libgimpwidgets: move all GimpPreview members to private
and add tons of API so subclasses can still do their thing, probably
subject to change/fix.
2018-05-20 21:06:33 +02:00
Simon Budig 9cb67fa992 app: kill the last GtkTables. 2018-05-20 21:06:33 +02:00
Simon Budig 8e900d1867 app/widgets: port the toolbox indicator area to GtkGrid 2018-05-20 21:06:33 +02:00
Simon Budig 9954030487 app/widgets: port the gimpstrokeeditor to GtkGrid 2018-05-20 21:06:33 +02:00
Simon Budig 5e475d67bd app/widgets: port gimpdashboard to GtkGrid 2018-05-20 21:06:33 +02:00
Ell 75b9fa0aea app: take window scale-factor into account when rendering image
In gimp_display_shell_draw_image(), enable the code that adjusts
the scale-factor used for rendering the image by the window scale
factor, so that we make full use of the screen resolution even on
HiDPI displays.  This also fixes artifacts along render-chunk
borders.
2018-05-20 21:06:33 +02:00
Simon Budig 4e8fbbe951 dialogs: fix two misbehaviours in the prefs dialog 2018-05-20 21:06:33 +02:00
Michael Natterer 3e680b9f32 libgimpwidgets: move all GimpScrolledPreview members to private 2018-05-20 21:06:33 +02:00
Michael Natterer a535e425ee libgimpwidgets: move all GimpPreviewArea members to private 2018-05-20 21:06:33 +02:00
Michael Natterer 677c2bb8d0 libgimpwidgets: move public GimpIntStore member to private 2018-05-20 21:06:33 +02:00
Michael Natterer 534c02d590 app: fix GimpPrefsBox' page titles to look like selected rows again 2018-05-20 21:06:33 +02:00
Michael Natterer 18c4a288ee app: properly align frame children in GimpGridEditor 2018-05-20 21:06:33 +02:00
Michael Natterer f4f106ad26 libimp*: add private pointers to all instance structs
even if we don't have private members (yet). Also make class padding 8
pointers in all headers. This commit moves nothing to private, it just
makes all headers consistent and adjusts .c files accordigly.
2018-05-20 21:06:33 +02:00
Michael Natterer 4afb7ca4c7 libgimpwidgets: set the widgets's hexpand in gimp_grid_attach_aligned() 2018-05-20 21:06:33 +02:00
Michael Natterer affec75898 app: pack the content vbox expanding in GimpPrefsBox 2018-05-20 21:06:33 +02:00
Jehan 9fafb858bd app: do not run gtk_window_present() in about_dialog_create().
The window will be raised soon after anyway. No need to do it too early,
which makes setting a transient parent useless afterwards. In particular
we were still getting a "GtkDialog mapped without a transient parent"
message.
2018-05-20 21:06:33 +02:00
Jehan 7642715c17 app: allow setting parent for dialogs created by GimpDialogFactory.
Fixes a bunch of:
> Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
2018-05-20 21:06:33 +02:00
Simon Budig 4cac8373ff app/tools: fix the resize behaviour of the curves tool dialog. 2018-05-20 21:06:33 +02:00
Simon Budig 4bf50c23ea app/widgets: port GimpImagePropView to GtkGrid 2018-05-20 21:06:33 +02:00
Simon Budig 6452afb7e0 app/widgets: get rid of GtkTable in GimpTemplateEditor 2018-05-20 21:06:33 +02:00
Simon Budig 9d000f749f app/display: get rid of GtkTable 2018-05-20 21:06:33 +02:00
Simon Budig 2fb681f582 app/tools: get rid of GtkTable 2018-05-20 21:06:33 +02:00
Simon Budig a14723b9d8 dialogs: get rid of GtkTable 2018-05-20 21:06:33 +02:00
Simon Budig c14df1fd4e preferences-dialog: get rid of GtkTable 2018-05-20 21:06:33 +02:00
Michael Natterer 4cd19e6f65 app: undeprecate everything in propgui/, mostly table -> grid 2018-05-20 21:06:32 +02:00
Michael Natterer a6354632c7 app: fix splash text color 2018-05-20 21:06:32 +02:00
Michael Natterer d5c75afe2f app: honor the use-header-bar setting in GimpToolDialog 2018-05-20 21:06:32 +02:00
Michael Natterer 1ed1d98a5a libgimp: undeprecate all GimpFooSelectButton classes 2018-05-20 21:06:32 +02:00
Michael Natterer 960b530d03 app: put back two lines that got lost in earlier GTK+ 3.0 porting 2018-05-20 21:06:32 +02:00
Michael Natterer 807e98b46c app: make spinscale much more bearable by fixing some coords 2018-05-20 21:06:32 +02:00
Simon Budig 9bd634a9c4 plug-ins: try to catch all gtk_table_* uses for the size-entries 2018-05-20 21:06:32 +02:00
Simon Budig 0e819225d1 dialogs: some table->grid conversion in the item dialogs 2018-05-20 21:06:32 +02:00
Simon Budig 72e63887ba libgimpwidgets: convert GimpSizeEntry to a GtkGrid. 2018-05-20 21:06:32 +02:00
Timm Bäder 509813c1a9 spinscale: Decrease height 2018-05-20 21:06:32 +02:00
Michael Natterer 44b9bfe613 spinscale: remove our own border drawing 2018-05-20 21:06:32 +02:00
Timm Bäder fde2df5539 spinscale: Fix styling 2018-05-20 21:06:32 +02:00