geeqie.git
3 months agoPreparing for release v2.2 stable/2.2 v2.2
Colin Clark [Thu, 25 Jan 2024 11:14:23 +0000 (11:14 +0000)]
Preparing for release v2.2

3 months agoUpdate .po files
Colin Clark [Thu, 25 Jan 2024 10:27:23 +0000 (10:27 +0000)]
Update .po files

3 months agoUpdate template-desktop.sh
Colin Clark [Thu, 25 Jan 2024 09:39:12 +0000 (09:39 +0000)]
Update template-desktop.sh

Take account that the menu is now in a file menu-classic.ui

3 months agoFix #1223: "Confirm move files to trash" not working
Colin Clark [Wed, 24 Jan 2024 17:01:05 +0000 (17:01 +0000)]
Fix #1223: "Confirm move files to trash" not working

https://github.com/BestImageViewer/geeqie/issues/1223

Check for move to trash missing.

3 months agoOption to select menu style
Colin Clark [Wed, 24 Jan 2024 14:56:10 +0000 (14:56 +0000)]
Option to select menu style

User option to select a "hamburger" style menu icon or the classic text
style.

The option is in Edit/Preferences/General.

3 months agoFix #1227: webp images load as black even with every prerequisite being green during...
Colin Clark [Mon, 22 Jan 2024 16:18:06 +0000 (16:18 +0000)]
Fix #1227: webp images load as black even with every prerequisite being green during compile

https://github.com/BestImageViewer/geeqie/issues/1227
https://github.com/BestImageViewer/geeqie/issues/1076
https://github.com/BestImageViewer/geeqie/pull/1225

Revert to using image-load-webp.cc
This Geeqie webp decoder will take precedence over an installed
webp-pixbuf-loader.

This decoder does not support webp animations.

If the user wants to use an installed webp-pixbuf-loader (e.g. to get
animations), Geeqie must be compiled with the option -Dwebp=disabled.

3 months agoFix #1184: Put main menu items into one hamburger menu
Colin Clark [Sat, 20 Jan 2024 16:02:25 +0000 (16:02 +0000)]
Fix #1184: Put main menu items into one hamburger menu

https://github.com/BestImageViewer/geeqie/issues/1184

A "hamburger" style menu icon is located to the left of the path entry
box.

Key F10 activates the menu.

3 months agoBug fix: SAR window crashes when escape pressed
Colin Clark [Sat, 20 Jan 2024 14:20:45 +0000 (14:20 +0000)]
Bug fix: SAR window crashes when escape pressed

3 months agoReduce the height of toolbars
Colin Clark [Fri, 19 Jan 2024 16:25:02 +0000 (16:25 +0000)]
Reduce the height of toolbars

The height of the toolbars was determined by a minimum size set in
GtkToolbar().
GtkToolbar is not in GTK4.
Horizontal boxes are used instead which result in a smaller icon size.

3 months agoUse devel=enabled option for full-size AppImages
Colin Clark [Wed, 17 Jan 2024 15:55:08 +0000 (15:55 +0000)]
Use devel=enabled option for full-size AppImages

If the user crashes Geeqie, there may be useful data output.

3 months agoFix #1224: Dragging a keyword to another position causes Geeqie to crash
Colin Clark [Sun, 7 Jan 2024 11:32:43 +0000 (11:32 +0000)]
Fix #1224: Dragging a keyword to another position causes Geeqie to crash

https://github.com/BestImageViewer/geeqie/issues/1224

Incorrect change in commit 6d72bf20cc

3 months agoRemove web page links status from README
Colin Clark [Wed, 3 Jan 2024 16:35:25 +0000 (16:35 +0000)]
Remove web page links status from README

There are too many false alarms to make this a worthwhile notification.

3 months agoBug fix: Run-time errors when removing a toolbar icon
Colin Clark [Wed, 3 Jan 2024 10:44:36 +0000 (10:44 +0000)]
Bug fix: Run-time errors when removing a toolbar icon

- In Edit/Preferences/Toolbar Main|Status, when an item is removed there
are run-time errors
- Replace g_object_unref() with gtk_container_remove()

3 months agoMinor change to Debian install script
Colin Clark [Fri, 29 Dec 2023 11:47:28 +0000 (11:47 +0000)]
Minor change to Debian install script

4 months agoInclude Help file documentation for Open With
Colin Clark [Thu, 28 Dec 2023 15:45:49 +0000 (15:45 +0000)]
Include Help file documentation for Open With

4 months agoUpdate Help file
Colin Clark [Wed, 27 Dec 2023 11:30:33 +0000 (11:30 +0000)]
Update Help file

Update link to Unison in Other Software

4 months agoUpdate developer install script
Colin Clark [Tue, 26 Dec 2023 13:01:46 +0000 (13:01 +0000)]
Update developer install script

Include mdl snap.

4 months agoChange GitHub issue templates to new style
Colin Clark [Mon, 25 Dec 2023 16:59:38 +0000 (16:59 +0000)]
Change GitHub issue templates to new style

The GitHub issue templates are in ./.github/ISSUE_TEMPLATES/

4 months agoCheck markdown files for syntax
Colin Clark [Mon, 25 Dec 2023 14:25:04 +0000 (14:25 +0000)]
Check markdown files for syntax

- Include markdown checks using mdl - different methods are used for
local checks and GitHub actions
- Fix syntax errors in some .md files

4 months agoBug fix: Help files are not included in AppImages
Colin Clark [Thu, 21 Dec 2023 15:17:47 +0000 (15:17 +0000)]
Bug fix: Help files are not included in AppImages

Include yelp-tools (yelp-build) as a dependency.

4 months agoFix #1215: Unable to build with webp-pixbuf-loader on non-Debian systems
Colin Clark [Wed, 20 Dec 2023 13:06:28 +0000 (13:06 +0000)]
Fix #1215: Unable to build with webp-pixbuf-loader on non-Debian systems

https://github.com/BestImageViewer/geeqie/issues/1215

Include check for pacman.

I assume that DNF is still a problem.

4 months agoFix broken links in Help files
Colin Clark [Tue, 19 Dec 2023 10:41:15 +0000 (10:41 +0000)]
Fix broken links in Help files

4 months agoInclude website status in README
Colin Clark [Mon, 18 Dec 2023 17:00:49 +0000 (17:00 +0000)]
Include website status in README

The website project (https://github.com/geeqie/geeqie.github.io) has a
dead link check run every day.
Include the status in README.

4 months agoAdd loongarch64 support
Andreas Rönnquist [Sat, 16 Dec 2023 21:18:39 +0000 (22:18 +0100)]
Add loongarch64 support

4 months agoLog Window F1 handling
Colin Clark [Fri, 15 Dec 2023 12:56:20 +0000 (12:56 +0000)]
Log Window F1 handling

- Pressing F1 in the Log Window send the selected text or complete line
to the command specified in Edit/Preferences/Behavior/Log Window F1
Command. It is left to the user to determine the action taken.
- Debug statements parameter order changed from  __FILE__, __func__,
__LINE__ to  __FILE__, __LINE__, __func__

4 months agoAdditional documentation for developers
Colin Clark [Wed, 13 Dec 2023 11:06:28 +0000 (11:06 +0000)]
Additional documentation for developers

Mostly to describe the source of non-standard icons.

4 months agoexiv2: Fix use-after-free and double-free with exiv2 0.28.x
Đoàn Trần Công Danh [Mon, 4 Dec 2023 11:51:57 +0000 (18:51 +0700)]
exiv2: Fix use-after-free and double-free with exiv2 0.28.x

In exiv2 0.28.x, DataBuf is only a wrapper for std::vector.
Exiv2::DataBuf::data() returns a shallow copy of its underlying
data.  On Exiv2::DataBuf::reset(), all of its data is invalidated,
includes the data returned by Exiv2::DataBuf::data(). Thus, all usages
of said data is use-after-free, attempt to use its later is double-free.

Make a copy ourselves instead.  This method works for the old exiv2, too.
Since Exiv2::PreviewImage::size() is available from forever, and both
Exiv2::PreviewImage::copy() and Exiv2::PreviewImage::pData() are
introduced in a same change (commit 9578e8123 in 2008).

Fixes: #1201
Fixes: https://github.com/void-linux/void-packages/issues/47547

4 months agoOpen With feature
Colin Clark [Sun, 3 Dec 2023 13:29:39 +0000 (13:29 +0000)]
Open With feature

The File menu has an Open With menu item, and there is an Open With
plugin.

In both cases the standard GTK application chooser dialog is called.

4 months agoChange documentation for git clone from git:// to http://
Colin Clark [Sat, 2 Dec 2023 14:01:24 +0000 (14:01 +0000)]
Change documentation for git clone from git:// to 

Change clone documentation from:
git://git.geeqie.org/geeqie.git
to:
http://git.geeqie.org/git/geeqie.git

Access to git:// is faster but is limited to some areas for security
reasons.

Developers will know how to access it anyway.

4 months agoBug fix: Change all .desktop files to RDNS style
Colin Clark [Thu, 30 Nov 2023 16:56:54 +0000 (16:56 +0000)]
Bug fix: Change all .desktop files to RDNS style

Some references to template.desktop were not changed.

5 months agoGeeqie is a c++ project now, hence get the C++ compiler for cc
Andreas Rönnquist [Mon, 20 Nov 2023 19:51:40 +0000 (20:51 +0100)]
Geeqie is a c++ project now, hence get the C++ compiler for cc

5 months agoUpdate devel-install,sh
Colin Clark [Thu, 23 Nov 2023 11:38:07 +0000 (11:38 +0000)]
Update devel-install,sh

Automatically get latest plantuml.jar

5 months agoFIXME: do not work - gtk_label_set_ellipsize
Colin Clark [Thu, 23 Nov 2023 11:26:38 +0000 (11:26 +0000)]
FIXME: do not work - gtk_label_set_ellipsize

It works now.

5 months agoRemove duplicated JPEG_MARKER macros
Arkadiy Illarionov [Mon, 20 Nov 2023 19:34:01 +0000 (22:34 +0300)]
Remove duplicated JPEG_MARKER macros

5 months agoInclude tooltip for Filter combo
Colin Clark [Mon, 20 Nov 2023 13:04:25 +0000 (13:04 +0000)]
Include tooltip for Filter combo

Show that the filter applies to the file extension and can be of the
form:

png;jpg
png; jpg

(A single space only)

5 months agoSimplify fullscreen_prefs_get_geometry()
Arkadiy Illarionov [Sun, 19 Nov 2023 10:30:01 +0000 (13:30 +0300)]
Simplify fullscreen_prefs_get_geometry()

* Use GdkRectangle as return value
* Convert pointers to references
* Add get_screen_default_geometry() to reduce number of warnings.

5 months agoFix #1076: webp images show up as black
Colin Clark [Fri, 17 Nov 2023 15:54:53 +0000 (15:54 +0000)]
Fix #1076: webp images show up as black

https://github.com/BestImageViewer/geeqie/issues/1076

Include additional option -Dsubprojects=true|false

The default is "true", which will include subprojects.

5 months agoUpdate Slovak translation.
Jose Riha [Thu, 9 Nov 2023 09:42:40 +0000 (10:42 +0100)]
Update Slovak translation.

5 months agoFix #1076: webp images show up as black
Colin Clark [Mon, 6 Nov 2023 18:08:36 +0000 (18:08 +0000)]
Fix #1076: webp images show up as black

https://github.com/BestImageViewer/geeqie/issues/1076

- Include https://github.com/aruiz/webp-pixbuf-loader.git as a
subproject
- Patch the sources to fix this bug
- This commit can be removed when the origin sources are updated
- Animated webp images will be displayed

5 months agoFix #1204: Geeqie crashes if double-clicked on empty space in file lis
Colin Clark [Tue, 31 Oct 2023 11:05:13 +0000 (11:05 +0000)]
Fix #1204: Geeqie crashes if double-clicked on empty space in file lis

https://github.com/BestImageViewer/geeqie/issues/1204

Check for null fd

5 months agoMove fullscreen static functions to anonymous namespace
Arkadiy Illarionov [Sat, 28 Oct 2023 13:54:33 +0000 (16:54 +0300)]
Move fullscreen static functions to anonymous namespace

Also move internal defines to cc file

6 months agoUse C++ types for ScreenData list
Arkadiy Illarionov [Sat, 28 Oct 2023 12:05:27 +0000 (15:05 +0300)]
Use C++ types for ScreenData list

6 months agoChange all .desktop files to RDNS style
Colin Clark [Sat, 28 Oct 2023 10:19:33 +0000 (11:19 +0100)]
Change all .desktop files to RDNS style

6 months agoInclude pandoc in AppImage generation files
Colin Clark [Fri, 27 Oct 2023 14:40:01 +0000 (15:40 +0100)]
Include pandoc in AppImage generation files

Pandoc is need to create README.html, which is an entry in the run-time
Help menu

6 months agoUse GdkRectangle in ScreenData
Arkadiy Illarionov [Fri, 27 Oct 2023 10:49:30 +0000 (13:49 +0300)]
Use GdkRectangle in ScreenData

Make ScreenData and related functions private.

6 months agoDocument XDG_* options for --new-instance
Colin Clark [Fri, 27 Oct 2023 10:30:46 +0000 (11:30 +0100)]
Document XDG_* options for --new-instance

Update the man page and ref. document to include:

When the --remote-instance option is used, a single set of configuration
files is used for all instances.
However, the environment variables XDG_CONFIG_HOME, XDG_CACHE_HOME,
XDG_DATA_HOME can be used to modify this behavior on an individual basis
e.g.

XDG_CONFIG_HOME=/tmp/a XDG_CACHE_HOME=/tmp/b geeqie

6 months agoDocument AppImage portable mode
Colin Clark [Thu, 26 Oct 2023 16:28:34 +0000 (17:28 +0100)]
Document AppImage portable mode

6 months agoChange desktop file to RDNS formt - fix URL error
Colin Clark [Thu, 26 Oct 2023 14:51:27 +0000 (15:51 +0100)]
Change desktop file to RDNS formt - fix URL error

6 months agoChange desktop file to RDNS formt
Colin Clark [Thu, 26 Oct 2023 12:41:09 +0000 (13:41 +0100)]
Change desktop file to RDNS formt

- Change geeqie.desktop to org.geeqie.Geeqie.desktop
- Other minor associated changes

6 months agoFIXME: lua - what is the correct way to find the scripts folder
Colin Clark [Sun, 22 Oct 2023 09:03:46 +0000 (10:03 +0100)]
FIXME: lua - what is the correct way to find the scripts folder

6 months agoFix #1202: update cs.po
Colin Clark [Fri, 20 Oct 2023 11:34:55 +0000 (12:34 +0100)]
Fix #1202: update cs.po

https://github.com/BestImageViewer/geeqie/issues/1202

6 months agoDuplicates similarity progress
Colin Clark [Fri, 20 Oct 2023 09:52:06 +0000 (10:52 +0100)]
Duplicates similarity progress

Display progress counter text during duplicates similarity checks.

6 months agoRemove certain command line options
Colin Clark [Wed, 18 Oct 2023 15:22:55 +0000 (16:22 +0100)]
Remove certain command line options

Remove from the documentation the command line options that are not
preceded by a hyphen.

These are: file, File, raise, view

These options are still processed - just no longer shown in help/man.

6 months agoDocument similarity algorithms and enable alternate
Colin Clark [Wed, 18 Oct 2023 11:36:56 +0000 (12:36 +0100)]
Document similarity algorithms and enable alternate

The alternate algorithm can be enabled on Preferences/Advanced.

6 months agoSet default no. cores used for similarity checks to max. cores - 1
Colin Clark [Mon, 16 Oct 2023 10:38:44 +0000 (11:38 +0100)]
Set default no. cores used for similarity checks to max. cores - 1

6 months agoInclude a separator as a toolbar option
Colin Clark [Mon, 16 Oct 2023 09:39:23 +0000 (10:39 +0100)]
Include a separator as a toolbar option

6 months agoIncrease memory allocation for generation of aarch64 AppImage
Colin Clark [Wed, 11 Oct 2023 09:44:53 +0000 (10:44 +0100)]
Increase memory allocation for generation of aarch64 AppImage

6 months agoPlugin to resize an image
Colin Clark [Tue, 10 Oct 2023 15:47:19 +0000 (16:47 +0100)]
Plugin to resize an image

Use the Downsize script
(http://www.fmwconcepts.com/imagemagick/downsize/index.php) to reduce
the size of an image to a specified memory size.

6 months agoConfiguration fix: Revise meson version - Part 2
Colin Clark [Sat, 7 Oct 2023 12:13:43 +0000 (13:13 +0100)]
Configuration fix: Revise meson version -  Part 2

The later version of meson requires gettext to be installed

6 months agoConfiguration fix: Revise meson version
Colin Clark [Sat, 7 Oct 2023 11:28:31 +0000 (12:28 +0100)]
Configuration fix: Revise meson version

Meson 1.0.0 is required for arm AppImage generation

6 months agoFix #1125: Lua detection via pkg-config broken
Colin Clark [Fri, 6 Oct 2023 14:29:59 +0000 (15:29 +0100)]
Fix #1125: Lua detection via pkg-config broken

https://github.com/BestImageViewer/geeqie/issues/1125

- Increase Meson minimum version and use updated dependency feature.

6 months agoUse sigsetjmp instead of setjmp where appropriate
Dmitry Marakasov [Wed, 4 Oct 2023 18:13:38 +0000 (21:13 +0300)]
Use sigsetjmp instead of setjmp where appropriate

6 months agoInclude symbolic link as a search option
Colin Clark [Tue, 3 Oct 2023 09:50:49 +0000 (10:50 +0100)]
Include symbolic link as a search option

6 months agoChange the character used in text to indicate a symbolic link
Colin Clark [Mon, 2 Oct 2023 15:43:16 +0000 (16:43 +0100)]
Change the character used in text to indicate a symbolic link

Change the character from "↗" to "↩". This looks similar to the
emblem-symbolic-link used elsewhere.

6 months agoGTK4: Bug fix Reduce the use of gtk_widget_destroy
Colin Clark [Sun, 1 Oct 2023 13:17:42 +0000 (14:17 +0100)]
GTK4: Bug fix Reduce the use of gtk_widget_destroy

GTK4 migration

6 months agoUse GdkRectangle for CollectionData::window
Arkadiy Illarionov [Sun, 1 Oct 2023 12:56:41 +0000 (15:56 +0300)]
Use GdkRectangle for CollectionData::window

6 months agoSimplify cache path parts handling
Arkadiy Illarionov [Sun, 1 Oct 2023 12:30:25 +0000 (15:30 +0300)]
Simplify cache path parts handling

6 months agoReplace deprecated gtk_widget_get_state
Arkadiy Illarionov [Sun, 1 Oct 2023 11:27:11 +0000 (14:27 +0300)]
Replace deprecated gtk_widget_get_state

Use gtk_widget_is_sensitive

6 months agoReplace deprecated *-gdk properties
Arkadiy Illarionov [Sun, 1 Oct 2023 10:58:01 +0000 (13:58 +0300)]
Replace deprecated *-gdk properties

Use *-rgba counterparts, rename related GQvCellRendererIcon properties

6 months agoReplace gtk_widget_render_icon with gtk_icon_theme_load_icon
Arkadiy Illarionov [Sat, 30 Sep 2023 11:51:32 +0000 (14:51 +0300)]
Replace gtk_widget_render_icon with gtk_icon_theme_load_icon

* Use icon size in pixels in gtk_icon_theme_load_icon
* Deduplicate folder icons creation
* Copy pixbuf returned by gtk_icon_theme_load_icon to avoid GTK+ keeping the old icon theme loaded
* Move static functions to anonymous namespace
* Replace some icon name string literals with GQ_ICON macros

6 months agoGTK4: Bug fix - Reduce the use of gtk_widget_destroy
Colin Clark [Sun, 1 Oct 2023 08:59:38 +0000 (09:59 +0100)]
GTK4: Bug fix - Reduce the use of gtk_widget_destroy

GTK4 migration

7 months agoGTK4: gtk_window_move(), gtk_window_set_position()
Colin Clark [Thu, 28 Sep 2023 08:38:36 +0000 (09:38 +0100)]
GTK4: gtk_window_move(), gtk_window_set_position()

GTK4 migration

- gtk_window_move() set to a stub, requires completion
- gtk_window_set_position() set to a stub, requires completion

7 months agoGTK4: GtkTable
Colin Clark [Wed, 27 Sep 2023 15:42:35 +0000 (16:42 +0100)]
GTK4: GtkTable

GTK4 migration

- GtkTable deleted Use GtkGrid or re-code to use GtkBox

7 months agoGTK4: gtk_entry_get_text, gtk_entry_set_text
Colin Clark [Wed, 27 Sep 2023 10:32:26 +0000 (11:32 +0100)]
GTK4: gtk_entry_get_text, gtk_entry_set_text

GTK4 migration

- gtk_entry_get_text, gtk_entry_set_text deleted - Use
gtk_entry_buffer_get_text, gtk_entry_buffer_set_text

7 months agoGTK4: bug fix - gtk_widget_destroy()
Colin Clark [Wed, 27 Sep 2023 08:29:42 +0000 (09:29 +0100)]
GTK4: bug fix - gtk_widget_destroy()

7 months agoGTK4: GTK_ICON_SIZE_SMALL_TOOLBAR
Colin Clark [Tue, 26 Sep 2023 15:54:13 +0000 (16:54 +0100)]
GTK4: GTK_ICON_SIZE_SMALL_TOOLBAR

GTK4 migration

- GTK_ICON_SIZE_SMALL_TOOLBAR deleted Replaced by default setting

7 months agoGTK4: gtk_toolbar_new()
Colin Clark [Tue, 26 Sep 2023 15:45:06 +0000 (16:45 +0100)]
GTK4: gtk_toolbar_new()

GTK4 migration

- gtk_toolbar_new() deleted Replaced by gtk_box_new()

7 months agoGTK4: GtkRadioButton
Colin Clark [Tue, 26 Sep 2023 15:18:36 +0000 (16:18 +0100)]
GTK4: GtkRadioButton

GTK4 migration

- GtkRadioButton Replaced by GTkToggleButton

7 months agoGTK4: gtk_window_new()
Colin Clark [Mon, 25 Sep 2023 15:41:17 +0000 (16:41 +0100)]
GTK4: gtk_window_new()

GTK4 migration

gtk_window_new() no longer takes a parameter

7 months agoGTK4: gtk_container_add()
Colin Clark [Mon, 25 Sep 2023 14:26:17 +0000 (15:26 +0100)]
GTK4: gtk_container_add()

GTK4 migration

gtk_container_add() is deleted. Replaced by calls to equivalent
widget-specific calls.

7 months agoGTK4: GtkClipboard
Colin Clark [Mon, 25 Sep 2023 10:23:15 +0000 (11:23 +0100)]
GTK4: GtkClipboard

GTK4 migration

GtkClipboard API is removed and replaced by GdkClipboard. Stubs have
been created for GTK4 until an error-free compilation can be made.

7 months agoUse hypot for Pythagorean addition
Arkadiy Illarionov [Sun, 24 Sep 2023 18:25:41 +0000 (21:25 +0300)]
Use hypot for Pythagorean addition

7 months agoFix compile warnings in ui-utildlg.cc
Arkadiy Illarionov [Sun, 24 Sep 2023 17:59:51 +0000 (20:59 +0300)]
Fix compile warnings in ui-utildlg.cc

- gtk_window_get_opacity -> gtk_widget_get_opacity
- get gdk_monitor_get_workarea instead of gdk_screen_height/gdk_screen_width

7 months agoMove menu ui to file
Arkadiy Illarionov [Tue, 15 Aug 2023 22:38:25 +0000 (01:38 +0300)]
Move menu ui to file

7 months agoGTK4: Reduce the use of gtk_widget_destroy()
Colin Clark [Sun, 24 Sep 2023 15:02:12 +0000 (16:02 +0100)]
GTK4: Reduce the use of gtk_widget_destroy()

GTK4 migration

gtk_widget_destroy() replaced by g_object_unref() except for top level
windows where gtk_window_destroy() is used.

7 months agoGTK4: GdkColor
Colin Clark [Sun, 24 Sep 2023 12:53:14 +0000 (13:53 +0100)]
GTK4: GdkColor

GTK4 migration

- GdkColor replaced by GdkRGBA
- Remaining problems related to gtk_widget_get_style()

7 months agoInclude a custom.css file for the application
Colin Clark [Sun, 24 Sep 2023 12:28:41 +0000 (13:28 +0100)]
Include a custom.css file for the application

7 months agoGTK4: gtk_dialog_run()
Colin Clark [Sat, 23 Sep 2023 13:22:30 +0000 (14:22 +0100)]
GTK4: gtk_dialog_run()

GTK4 migration

- gtk_dialog_run() No longer supported - re-code
- Remaining instances will be removed when GApplication is implmented
- File dialogs are now modal

7 months agoGTK4: gtk_paint_x()
Colin Clark [Thu, 21 Sep 2023 13:36:51 +0000 (14:36 +0100)]
GTK4: gtk_paint_x()

GTK4 migration

- gtk_paint_flat_box() Replaced by gtk_render_frame() and
gtk_render_background()
- gtk_paint_focus() Replaced by gtk_render_focus()
- gtk_paint_shadow() Replaced by gtk_render_frame()

7 months agoGTK4: gtk_window_set_keep_above()
Colin Clark [Thu, 21 Sep 2023 10:07:52 +0000 (11:07 +0100)]
GTK4: gtk_window_set_keep_above()

GTK4 migration

- gtk_window_set_keep_above() Deleted

7 months agoGTK4: gtk_calendar_select_x()
Colin Clark [Thu, 21 Sep 2023 09:48:42 +0000 (10:48 +0100)]
GTK4: gtk_calendar_select_x()

GTK4 migration

gtk_calendar_select_x() Use GDateTime structure

7 months agoGTK4: gtk_widget_queue_draw_area()
Colin Clark [Wed, 20 Sep 2023 14:04:14 +0000 (15:04 +0100)]
GTK4: gtk_widget_queue_draw_area()

GTK4 migration

- gtk_widget_queue_draw_area() replaced by gtk_widget_queue_draw()

7 months agoGTK4: gtk_frame_set_shadow_type()
Colin Clark [Wed, 20 Sep 2023 11:02:47 +0000 (12:02 +0100)]
GTK4: gtk_frame_set_shadow_type()

GTK4 migration
- gtk_frame_set_shadow_type() is deleted

7 months agoGTK4: gtk_widget_show_all()
Colin Clark [Wed, 20 Sep 2023 10:44:23 +0000 (11:44 +0100)]
GTK4: gtk_widget_show_all()

GTK4 migration

- gtk_widget_show_all() is deleted

7 months agoGTK4: gtk_box_pack_start() gtk_box_pack_end()
Colin Clark [Wed, 20 Sep 2023 10:22:11 +0000 (11:22 +0100)]
GTK4: gtk_box_pack_start() gtk_box_pack_end()

GTK4 migration

- gtk_box_pack_start() replaced by gtk_box_prepend()
- gtk_box_pack_end() replaced by gtk_box_append()

7 months agoGTK4: gtk_scrolled_window
Colin Clark [Wed, 20 Sep 2023 09:47:13 +0000 (10:47 +0100)]
GTK4: gtk_scrolled_window

GTK4 migration
- gtk_scrolled_window_new() takes no parameters
- gtk_scrolled_window_set_shadow_type() replaced by
gtk_scrolled_window_set_has_frame()

7 months agoSimplify some icons
Colin Clark [Tue, 19 Sep 2023 15:02:35 +0000 (16:02 +0100)]
Simplify some icons

7 months agoChange tabs to spaces in layout-util.cc menu arrays
Colin Clark [Mon, 18 Sep 2023 14:06:07 +0000 (15:06 +0100)]
Change tabs to spaces in layout-util.cc menu arrays

7 months agoUpdate icons and include dark theme versions
Colin Clark [Mon, 18 Sep 2023 12:41:02 +0000 (13:41 +0100)]
Update icons and include dark theme versions

Use icons from flaticon.com - this gives a consistent look.
The icons used are black on transparent, so a dark theme version can be
created by inverting the color.
The script used to create the dark versions is included.
Credit to flaticon is in Help/About/Licence

7 months agoReplace file filter icon with a standard icon
Colin Clark [Sat, 16 Sep 2023 09:47:30 +0000 (10:47 +0100)]
Replace file filter icon with a standard icon

This icon is not particularly appropriate, but it is better than the
hand-made one.