Commit graph

41316 commits

Author SHA1 Message Date
Simon Budig
4e2b9eb89c color-selector-cmyk: kill GtkTable 2018-05-20 21:06:35 +02:00
Simon Budig
6f7a9ad212 jigsaw: kill GtkTable 2018-05-20 21:06:35 +02:00
Simon Budig
c7f28c34b0 oilify: kill GtkTable 2018-05-20 21:06:35 +02:00
Simon Budig
a109e1e9ae unit-editor: kill GtkTable 2018-05-20 21:06:35 +02:00
Simon Budig
ae0d527b0c van-gogh-lic: kill GtkTable 2018-05-20 21:06:35 +02:00
Simon Budig
b9aeb99055 sparkle: kill GtkTable 2018-05-20 21:06:35 +02:00
Simon Budig
483167217a file-gih: kill GtkTable 2018-05-20 21:06:34 +02:00
Simon Budig
a076afc2fb file-raw-data: kill GtkTable 2018-05-20 21:06:34 +02:00
Simon Budig
95c44c4e09 file-xmc: kill GtkTable 2018-05-20 21:06:34 +02:00
Simon Budig
675b01479c file-pdf-load: kill GtkTable 2018-05-20 21:06:34 +02:00
Simon Budig
4558ce8a25 file-xbm: kill GtkTable 2018-05-20 21:06:34 +02:00
Simon Budig
720d0a7484 file-html-table: kill GtkTable 2018-05-20 21:06:34 +02:00
Simon Budig
e1bed57ee7 depth-merge: kill GtkTable 2018-05-20 21:06:34 +02:00
Michael Natterer
71523b20cb app: add the help button the proper way in GimpFileDialog
Removes deprecated API usage and brings back the button.
2018-05-20 21:06:34 +02:00
Michael Natterer
1fcebb5a73 app: don't use gtk_widget_modify_text() in GimpContainerEntry
Instead, show an EEK wilber icon if an object with the entered name
doesn't exist.
2018-05-20 21:06:34 +02:00
Michael Natterer
465300f0ae app: undeprecate GimpDashEditor 2018-05-20 21:06:34 +02:00
Michael Natterer
d7e7020a32 app: undeprecate GimpDessionInfo and fix remembering size and position
Don't mix GtkWindow/GdkWindow/GdkEventConfigure values, always use
GtkWindow API. This seems to fix everything, probably because it
properly takes client-side window decorations into account.
2018-05-20 21:06:34 +02:00
Michael Natterer
2dd2f1509b Enable and fix smooth scrolling and zooming
- Fix gimp_scroll_adjustment_values() for smooth scroll events
- Set GDK_SMOOTH_SCROLL_MASK on all widgets where we set GDK_SCROLL_MASK
- Add GIMP_ZOOM_SMOOTH to enum GimpZoomType
- Add "gdouble delta" to gimp_zoom_model_step()
- Change the meaning of the "scale" parameter to "scale or delta" in
  all functions that take GimpZoomType and a scale factor.
2018-05-20 21:06:34 +02:00
Michael Natterer
e4d05a4758 app: use gimp_scroll_adjustment_values() in GimpNavigationEditor
and change signature of GimpNavigationView::scroll() to have
a GdkEventScroll instead of a GdkScrollDirection.
2018-05-20 21:06:34 +02:00
Michael Natterer
fa3abc957b app: set GDK_SCROLL_MASK on widgets that need scroll events 2018-05-20 21:06:34 +02:00
Michael Natterer
613d02ca3a app: use gimp_scroll_adjustment_values() for scrolling the canvas 2018-05-20 21:06:34 +02:00
Michael Natterer
4a979995a3 libgimpwidgets: add gimp_scroll_adjustment_values()
and use it in GimpScrolledPreview. It supports smooth scrolling and
does roughly the same as a whole lot of magic code in GtkScrolledWindow
and GtkRange, resulting in the same scrolling behavior as in stock
GTK+ widgets.
2018-05-20 21:06:34 +02:00
Michael Natterer
97e19eb385 libgimpwidgets: set GDK_EVENT_SCROLL on GimpPreview's preview area 2018-05-20 21:06:34 +02:00
Michael Natterer
b55e481459 libgimpwidgets: remove gimp_spin_button_new() 2018-05-20 21:06:34 +02:00
Michael Natterer
b7f24cf3a2 plug-ins: copy gimp_spin_button_new() into the last two plug-ins using it 2018-05-20 21:06:34 +02:00
Michael Natterer
27ac4363b0 plug-ins: if GIMP_UNSTABLE, install test script-fu and pygimp scripts 2018-05-20 21:06:34 +02:00
Michael Natterer
046fcac2dd plug-ins: undeprecate script-fu-interface.c 2018-05-20 21:06:34 +02:00
Simon Budig
71dec60d8c align-layers: kill GtkTable 2018-05-20 21:06:34 +02:00
Simon Budig
3e45263bc7 mail: kill GtkTable 2018-05-20 21:06:34 +02:00
Simon Budig
201e7f8f8d grid: make the weird Table-hack less weird by reusing the existing GtkGrid 2018-05-20 21:06:34 +02:00
Simon Budig
d2fe742eb3 warp, file-svg: remove commented out code, not sure what this is supposed to do. 2018-05-20 21:06:34 +02:00
Michael Natterer
491550ffbc app: undeprecate about-dialog.c, and clean out a lot of cruft 2018-05-20 21:06:34 +02:00
Michael Natterer
a072a5b789 app: get rid of gdk_keymap_get_default(), use get_for_display() instead 2018-05-20 21:06:34 +02:00
Michael Natterer
69795ee376 themes: remove deprecated style properties from System/gimp.css 2018-05-20 21:06:34 +02:00
Michael Natterer
c2752a685c libgimpwidgets: also move GTK_RESPONSE_CLOSE buttons to the left
in GimpDialog's header bar.
2018-05-20 21:06:34 +02:00
Michael Natterer
7d151002b0 app: fix button order in GimpColorDialog 2018-05-20 21:06:34 +02:00
Michael Natterer
cb9651cf73 app: use the passed parent's toplevel in gimp_color_dialog_new() 2018-05-20 21:06:34 +02:00
Michael Natterer
389e86fff8 app: use GTK_ICON_SIZE_MENU for GimpColorEditor's page switching icons 2018-05-20 21:06:34 +02:00
Michael Natterer
bdbec7941c Use the new macros from the last commit in all files
...and gone are the annoying warnings.
2018-05-20 21:06:34 +02:00
Michael Natterer
3be0d13be3 libgimpwidgets: add macros to hide alternative_button_order warnings
Since we don't know yet what to do about this, let's not spam the
build with distracting warnings in the meantime.

gimp_dialog_set_alternative_button_order
gimp_dialog_set_alternative_button_order_from_array

are macros which just call the deprecated GtkDialog functions, but
wrap them in G_GNUC_BEGIN,END_IGNORE_DEPRECATIONS.
2018-05-20 21:06:34 +02:00
Michael Natterer
dfb4d26611 Use gtk_show_uri_on_window(), gtk_show_uri() is deprecated 2018-05-20 21:06:34 +02:00
Michael Natterer
4e7eead7e3 app: set all GtkPaned widgets to have wide handles
the narrow handles' event areas did overlap with our own widgets close
to the handle.
2018-05-20 21:06:34 +02:00
Michael Natterer
407603326f app: follow preferences changes/improvements in GimpDeviceEditor 2018-05-20 21:06:34 +02:00
Michael Natterer
126c9347e6 app: behold unseen fancy shit in preferences 2018-05-20 21:06:34 +02:00
Simon Budig
1ca26ea191 sample-colorize: kill GtkTable 2018-05-20 21:06:34 +02:00
Simon Budig
b392140b71 tile-small: kill GtkTable 2018-05-20 21:06:34 +02:00
Simon Budig
62b4922211 file-ps: kill GtkTable 2018-05-20 21:06:34 +02:00
Simon Budig
3c886803bc file-wmf: kill GtkTable 2018-05-20 21:06:34 +02:00
Michael Natterer
cdb68d2351 app: undeprecate GimpLevelsTool
by using some semi-smart luminance magic to get a distinct color for
the alpha curve.
2018-05-20 21:06:34 +02:00
Michael Natterer
5509d586f9 themes: clean up gimp.css, with some added commented experiments 2018-05-20 21:06:34 +02:00