Commit Graph

41571 Commits

Author SHA1 Message Date
Michael Natterer a628511a4e app: don't use gtk_window_parse_geometry() in GimpImageWindow 2018-05-22 12:33:58 +02:00
Timo Jyrinki f20250b741 Update Finnish translation
(cherry picked from commit 681bd2435e)
2018-05-22 09:17:50 +00:00
Timm Bäder f677a5abe8 app: remove RC style from GimpImageWindow
without replacement, we can always add CSS later if we don't like it
with whatever theme.
2018-05-22 11:14:50 +02:00
Timo Jyrinki 428c7236c3 Update Finnish translation
(cherry picked from commit 87db3ce9a8)
2018-05-22 09:09:56 +00:00
Timo Jyrinki 9e551d50a2 Update Finnish translation 2018-05-22 07:12:36 +00:00
Michael Natterer 3c9272ef96 app: fix positioning of the text tool's style overlay 2018-05-22 01:59:26 +02:00
Michael Natterer 2152bdc588 app: remove almost all code from GimpOverlayFrame
Let the parent GtkBin handle size request and allocation, and steal
the CDD style from GtkPopover.
2018-05-22 00:35:04 +02:00
Michael Natterer 7381bb1660 app: make GimpFgBgView draw within the focus rectangle
At least the code seems to have that effect, I have no clue what I'm
doing...
2018-05-21 23:07:22 +02:00
Jehan 2101810c23 devel-docs: update devel-docs on how to start GtkInspector. 2018-05-21 22:31:40 +02:00
Jehan eb7d59d327 app: gtk_icon_info_free() deprecated since GTK+3.8. 2018-05-21 22:31:34 +02:00
Danylo Korostil 31030c2478 Updated uk translation 2018-05-21 22:28:25 +03:00
Michael Natterer 15ec52eab4 app: undeprecate GimpThumbBox
and cheat around to trick CSS into believing it's a treeview with
a header that says "Preview". Setting its width so it won't jump
around is still broken.
2018-05-21 19:59:38 +02:00
Michael Natterer 080f7ae909 libgimpwidgets: undeprecate GimpNumberPairEntry and style the font with CSS 2018-05-21 19:31:15 +02:00
Michael Natterer ee62c7e92c libgimpwidgets: undeprecate GimpScrolledPreview 2018-05-21 14:07:40 +02:00
Daniel Șerbănescu 3c2437c137 Update Romanian translation 2018-05-21 09:10:32 +00:00
Daniel Șerbănescu bf216e3c7c Update Romanian translation 2018-05-21 09:00:28 +00:00
Jernej Simončič d436eb66fc Installer: put back compatibility DLLs (for really old plugins) 2018-05-21 00:31:57 +02:00
Jernej Simončič fd59ecf2c5 Installer: set compatibility options to run Python plugins in high-DPI-aware mode 2018-05-21 00:31:57 +02:00
Jernej Simončič 952e7f365c Installer: remove .dll files from plug-ins directory 2018-05-21 00:31:57 +02:00
Jernej Simončič 0dc3b76306 Installer: fix typos 2018-05-21 00:31:57 +02:00
Jernej Simončič 2a438351dd Installer: Python fixes 2018-05-21 00:31:57 +02:00
Jehan 2240251de6 plug-ins: fix Windows distribution.
"magnification-api-win32.h" was not included in the dist!
Note that I know that alphabetical order is wrong. I am planning to
actually change the name of the file (more in line with other filenames)
but I am waiting to finish a review of another patch from Gil before
doing so. So just let it as-is for now! ;-)

(cherry picked from commit a2902790cc)
2018-05-21 00:14:30 +02:00
Piotr Drąg cb995432d1 Update POTFILES.in 2018-05-20 21:19:46 +02:00
Michael Natterer 6f6ec64fa9 app: the return value of gdk_device_get_has_cursor() has become meaningless
so for now assume that all devices except floating ones move the
pointer, and figure out the details once multiple masters actually
exits.
2018-05-20 21:06:35 +02:00
Michael Natterer 9d4d68aa91 app: remove GimpScaleButton, it has not been used in ages 2018-05-20 21:06:35 +02:00
Michael Natterer ed023bf05e libgimpwidgets: undeprecate insensitive drawing of GimpColorSacle
the same way as in GimpColorArea.
2018-05-20 21:06:35 +02:00
Michael Natterer 9b3366309c libgimpwidgets: undeprecate insensitive drawing of GimpColorArea
by simply drawing the buffer with cairo_mask() and a stipple pattern
so we get the same effect as before, but without rendering the
widget's background color into the buffer ourselves.
2018-05-20 21:06:35 +02:00
Michael Natterer ecb99ab445 app: add the new distance, rotation and slider axes to GimpCoords
and add code to get them from events and devices.
2018-05-20 21:06:35 +02:00
Michael Natterer 4703a195bb app: remove GimpHighlightableButton
and use gimp_button_set_suggested() and _set_destructive() instead.
2018-05-20 21:06:35 +02:00
Michael Natterer f102ceb63f app: add gimp_button_set_suggested,destructive() to gimpwidgets-utils
which set/unset the "suggested-action" and "destructive-action" style
classes and make sure the button relief is right.
2018-05-20 21:06:35 +02:00
Michael Natterer 602dfb9a38 app: the last s/GdkDeviceManager/GdkSeat/ 2018-05-20 21:06:35 +02:00
Michael Natterer d2edafbf16 app: use GdkDeviceTool properties to GimpDeviceInfo
and display the current tool's info in GimpDeviceInfoEditor.
2018-05-20 21:06:35 +02:00
Michael Natterer 9a4c9b6650 app: add "source", "vendor-id" and "product-id" to GimpDeviceInfo
and display them in GimpDeviceInfoEditor.
2018-05-20 21:06:35 +02:00
Michael Natterer 0b7aad66ed libgimpwidgets: left-align gimp_prop_enum_label_new()
just like gimp_prop_label_new().
2018-05-20 21:06:35 +02:00
Michael Natterer 89a4ea85ef app: port GimpDeviceManager and GimpDeviceInfo to GdkSeat
and also be smarter about what devices we enable by default: enable
all tablet devices and disable all things mouse, they can still be
enabled in the device dialog.
2018-05-20 21:06:35 +02:00
Jehan 24d0886f57 app: extended device concept does not seem to exist in GTK+3.
We were keeping around a flag telling us if coordinates are extended or
not. In GTK+2, a device indeed had to be enabled. In GTK+3, I can see
that device with extended inputs are enabled by default (they always
have pressure, etc.). This flag is made useless.
2018-05-20 21:06:35 +02:00
Michael Natterer 19caf4add8 app: undeprecate GimpDeviceStatus. don't use gtk_widget_set_state()
Use the same code as GimpPrefsBox to make the active device look like
a selected list item.
2018-05-20 21:06:35 +02:00
Jehan e0b3e893d2 app: GTK+3 has more GdkAxisUse values.
This fixes a crash when we were looping until GDK_AXIS_LAST, but our
existing code was expecting less values.

Also I note that GTK+3 has an additional GDK_AXIS_ROTATION since version
3.22, even though we were told that some pens with rotation support
would report rotation values with same valuator as for the wheel (at
least, the Wacom Art Pen would apparently use the same 6th valuator).
For proper support, it would be really worth testing such pens.
2018-05-20 21:06:35 +02:00
Michael Natterer f3f61379f7 app: remove the option to enable tearoff menus 2018-05-20 21:06:35 +02:00
Michael Natterer 0ea8b4e0e5 themes: some GimpDhsplayShell and children CSS hackery 2018-05-20 21:06:35 +02:00
Michael Natterer e76c1305a5 app: derive GimpStatusbar from GtkFrame not GtkStatusbar
we were not using a single GtkStatusBar features, it was only in the
way. Remove broken size allocation logic and simply set a minimum
height of 3em in CSS. Also ellipsize the label, long labels had funny
effects since changing the overall GimpDisplayShell packing to pure
GtkGrid.
2018-05-20 21:06:35 +02:00
Michael Natterer 7f6b58d6ce app: kill the mess of boxes in GimpDisplayShell, use a grid for everything 2018-05-20 21:06:35 +02:00
Michael Natterer 0c9ac3bca9 app: use a cairo recording surface to measure GimpCanvasPath's extents
This gets rid of using the deprecated gdk_cairo_create().
2018-05-20 21:06:35 +02:00
Michael Natterer 00c6047108 app: undeprecate gimp_highlight_widget_draw()
by stealing the few lines of code from gtk-inspector. Looks better, too :)
2018-05-20 21:06:35 +02:00
Jehan ab982c6401 app: plug-ins must now be installed as subdirectories.
This will in particular fix the whole DLL hell problem since various
plug-ins are now asked to install all their mess (and in particular
their embedded DLLs on Windows) inside their subfolder, hence not
disturbing the correct functionning of other plug-ins installed side by
side.
2018-05-20 21:06:35 +02:00
Jehan d89ad95cc7 plug-ins: make plug-ins inside common/ to also install in subfolders. 2018-05-20 21:06:35 +02:00
Jehan 870ca6334d plug-ins: install plug-ins in subfolder.
I am going to forbid plug-ins from being installed directly in the root
of the plug-ins/ directory. They will have to be installed in a
subdirectory named the same as the entry point binary.
This may seem useless for our core plug-ins which are nearly all
self-contained in single binaries, but this is actually a necessary
restriction to eliminate totally the DLL hell issue on Windows. Moving
core plug-ins in subfolders is only a necessary consequence for it.
2018-05-20 21:06:35 +02:00
Michael Natterer 4133a032de Undeprecate/improve GimpScaleComboBox and GimpUnitComboBox
Remove label-scale style properties and gtk_widget_modify_font()
hacks and theme them using CSS.
2018-05-20 21:06:35 +02:00
Michael Natterer 26ba39884c app: undeprecate stroke-dialog.c 2018-05-20 21:06:35 +02:00
Michael Natterer 587d511398 app: undeprecate GimpUIConfigurer, don't use gtk_window_parse_geometry() 2018-05-20 21:06:35 +02:00