geeqie.git
7 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

7 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

7 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.

7 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

7 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

7 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.

7 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

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

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

7 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

7 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

7 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

7 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.

7 months agoOn exit additional check for multiple windows open
Colin Clark [Fri, 15 Sep 2023 17:07:39 +0000 (18:07 +0100)]
On exit additional check for multiple windows open

If there is more than one window open when quit is executed, there is a
warning dialog.

7 months agoBug fix: Layout window IDs not correct
Colin Clark [Thu, 14 Sep 2023 11:04:17 +0000 (12:04 +0100)]
Bug fix: Layout window IDs not correct

Layout window IDs were not being incremented when new windows were
displayed.

Bugs remain:
If a default layout has not been created, it is necessary to click on
the image for the displayed window ID to be displayed correctly.

7 months agoFix #1187: 'Sort by' is not remembered across sessions
Colin Clark [Wed, 13 Sep 2023 09:22:07 +0000 (10:22 +0100)]
Fix #1187: 'Sort by' is not remembered across sessions

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

Bug introduced in a previous fix.

7 months agoExtracted AppImage to check for updates on GitHub
Colin Clark [Sun, 10 Sep 2023 10:13:51 +0000 (11:13 +0100)]
Extracted AppImage to check for updates on GitHub

7 months agoBug fix: Option to show-hide selectable bars
Colin Clark [Sun, 10 Sep 2023 09:41:07 +0000 (10:41 +0100)]
Bug fix: Option to show-hide selectable bars

Wrong LayoutWindow used.

7 months agoOption to show-hide selectable bars
Colin Clark [Sat, 9 Sep 2023 14:30:14 +0000 (15:30 +0100)]
Option to show-hide selectable bars

An option to show or hide the menu, tool and status bars via a
keystroke.
The menu item is View/Hide Selectable Bars and the default keystroke is
control-backtick.
Preferences/General contains the option to select which of the three
bars should be shown or hidden.

8 months agoBug fix: Errors in geeqie-download-appimages.sh
Colin Clark [Sat, 9 Sep 2023 09:47:02 +0000 (10:47 +0100)]
Bug fix: Errors in geeqie-download-appimages.sh

8 months agoRevised AppImage download script
Colin Clark [Fri, 8 Sep 2023 13:07:20 +0000 (14:07 +0100)]
Revised AppImage download script

Additional options to:
Install desktop icon and menu item
Set number of backups
Revert to earlier downloaded backup version
Show version number
Extract minimal version

8 months agoEnhanced AppImage downloader with --extract option
Colin Clark [Wed, 6 Sep 2023 16:49:26 +0000 (17:49 +0100)]
Enhanced AppImage downloader with --extract option

If the full size AppImage is extracted locally, the extracted executable
will run as fast as a packaged release - but will take more disk space.

8 months agoInclude authors in credits window of AppImages
Colin Clark [Wed, 6 Sep 2023 12:36:56 +0000 (13:36 +0100)]
Include authors in credits window of AppImages

8 months agoInclude ffmpegthumbnailer in standard AppImages
Colin Clark [Wed, 6 Sep 2023 11:12:39 +0000 (12:12 +0100)]
Include ffmpegthumbnailer in standard AppImages

8 months agoFix #1185: Do you plan to embed video player like gthumb or pix has their own built...
Colin Clark [Wed, 6 Sep 2023 09:51:05 +0000 (10:51 +0100)]
Fix #1185: Do you plan to embed video player like gthumb or pix has their own built-in player?

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

Implement a plugin that uses xdg-open to run an external video player on
video files.

New users will have class video files selected, the "Play video with
left click" selected, and the "Play with" option set to the the new
plugin.

Existing users will need to select the options themselves.

8 months agoBug fix: Some secondary files were not included in x86 AppImages
Colin Clark [Tue, 5 Sep 2023 13:59:51 +0000 (14:59 +0100)]
Bug fix: Some secondary files were not included in x86 AppImages

Due to an old version of meson being used.

8 months agoLeave toolbar icon size at system default.
Colin Clark [Mon, 4 Sep 2023 15:48:46 +0000 (16:48 +0100)]
Leave toolbar icon size at system default.

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

This change reduces the height of the toolbars by a small amount (on the
system it was checked on).

8 months agoFix #1076: webp images show up as black
Colin Clark [Mon, 4 Sep 2023 09:51:14 +0000 (10:51 +0100)]
Fix #1076: webp images show up as black

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

Because if the problems with webp display, the in-house webp loader is
reverted to.

8 months agoEliminate compiler warnings
Colin Clark [Sun, 3 Sep 2023 14:55:40 +0000 (15:55 +0100)]
Eliminate compiler warnings

8 months agoRemove redundant AppImage files and documentation (2)
Colin Clark [Sun, 3 Sep 2023 14:29:18 +0000 (15:29 +0100)]
Remove redundant AppImage files and documentation (2)

8 months agoRemove redundant AppImage files and documentation
Colin Clark [Sun, 3 Sep 2023 14:18:21 +0000 (15:18 +0100)]
Remove redundant AppImage files and documentation

AppImages are now created on GitHub via actions.

8 months agoDo not truncate socket path
Zbigniew Jędrzejewski-Szmek [Fri, 1 Sep 2023 15:16:43 +0000 (18:16 +0300)]
Do not truncate socket path

If the length of the socket path is too long to fit in the socket
structure, then we should fail, instead of possibly creating a socket
with an unexpected name, possibly in the the wrong directory.

Limit the socket path to one less than the maximum possible length, so
that the path is always followed by terminating '\0'. This matches
the recommendation in unix(7).

8 months agoFix link in README
Colin Clark [Wed, 30 Aug 2023 14:49:49 +0000 (15:49 +0100)]
Fix link in README

8 months agoCreating aarch64 minimal AppImage requires more ram
Colin Clark [Wed, 30 Aug 2023 14:13:41 +0000 (15:13 +0100)]
Creating aarch64 minimal AppImage requires more ram

8 months agoBug fix: AppImages do not show version tag
Colin Clark [Wed, 30 Aug 2023 13:41:38 +0000 (14:41 +0100)]
Bug fix: AppImages do not show version tag

Git tags have to be explicitly loaded in GitHub actions

8 months agoScript to download Continuous Build AppImages
Colin Clark [Wed, 30 Aug 2023 10:24:23 +0000 (11:24 +0100)]
Script to download Continuous Build AppImages

8 months agoMove ClipboardDestination enum from typedefs.h to utilops.cc
Arkadiy Illarionov [Tue, 29 Aug 2023 19:05:00 +0000 (22:05 +0300)]
Move ClipboardDestination enum from typedefs.h to utilops.cc

8 months agoEnsure action-list names listed are the shortest names
Colin Clark [Tue, 29 Aug 2023 12:08:24 +0000 (13:08 +0100)]
Ensure action-list names listed are the shortest names

Make sure the ALT names do not appear in --remote --action-list

8 months agoRemove structs and some enums from typedefs.h
Arkadiy Illarionov [Sat, 26 Aug 2023 18:25:56 +0000 (21:25 +0300)]
Remove structs and some enums from typedefs.h

Move them to appropriate files.

8 months agoFix GList concatenations
Arkadiy Illarionov [Mon, 28 Aug 2023 17:17:07 +0000 (20:17 +0300)]
Fix GList concatenations

8 months agoUse GitHub actions to generate aarch64 AppImages
Colin Clark [Mon, 28 Aug 2023 14:13:01 +0000 (15:13 +0100)]
Use GitHub actions to generate aarch64 AppImages

8 months agoUse filelist_copy to reduce duplication
Arkadiy Illarionov [Sat, 26 Aug 2023 11:35:22 +0000 (14:35 +0300)]
Use filelist_copy to reduce duplication

Simplify related code.

8 months agoFix #1060: AppImage exit silently on missing system dependency
Colin Clark [Thu, 24 Aug 2023 09:26:57 +0000 (10:26 +0100)]
Fix #1060: AppImage exit silently on missing system dependency

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

8 months agoSimplify gr_action_list
Arkadiy Illarionov [Mon, 21 Aug 2023 22:06:25 +0000 (01:06 +0300)]
Simplify gr_action_list

- Call g_utf8_strlen for action_item->name once.
- Remove redundant intermediate list_final.
- Reduce scope of GList iterators.

8 months agoSimplify collection_save_or_append_dialog
Arkadiy Illarionov [Sun, 20 Aug 2023 18:25:32 +0000 (21:25 +0300)]
Simplify collection_save_or_append_dialog

- Use one comparison to detect what to do.
- Reduce scope of variables.
- Deduplicate code.
- Free GString memory.

8 months agoSimplify GString usage
Arkadiy Illarionov [Sun, 20 Aug 2023 16:00:40 +0000 (19:00 +0300)]
Simplify GString usage

- Replace g_string_append_printf with g_string_append
  if format string doesn't contain format specifiers.
- Use g_string_append_printf instead of g_string_append(string, g_strdup_printf).
- Merge g_string_new and following g_string_append.
- Remove unnecessary memory allocations and fix memleaks.

8 months agoInclude images in doxygen documentation
Colin Clark [Sun, 20 Aug 2023 12:47:51 +0000 (13:47 +0100)]
Include images in doxygen documentation

Include two sample images of dialog layouts.

8 months agoRemove gdk-pixbuf-csource requirement
Arkadiy Illarionov [Sat, 19 Aug 2023 12:13:30 +0000 (15:13 +0300)]
Remove gdk-pixbuf-csource requirement

fb3c144564ade55d31d7adef96acc71eda3701b4 follow-up.

8 months agoFix #1169: Find Duplicates 'Delete' keyboard shortcut shift+delete Removes (from...
Colin Clark [Sat, 19 Aug 2023 09:50:05 +0000 (10:50 +0100)]
Fix #1169: Find Duplicates 'Delete' keyboard shortcut shift+delete Removes (from list) rather than deleting the files

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

8 months agoAppImage build should be only on push, not on pull_request
Colin Clark [Sat, 19 Aug 2023 07:58:59 +0000 (08:58 +0100)]
AppImage build should be only on push, not on pull_request

8 months agoRemove some extra memory allocations
Arkadiy Illarionov [Fri, 18 Aug 2023 20:41:34 +0000 (23:41 +0300)]
Remove some extra memory allocations

- Use g_string_free(string, FALSE). Also use len member instead of strlen(string->str).
- Use string literals instead of building string for resources' paths.

8 months agoInclude some missing function statics
Colin Clark [Wed, 16 Aug 2023 17:49:39 +0000 (18:49 +0100)]
Include some missing function statics

8 months agoUpdate AppImage notification for new file name
Colin Clark [Wed, 16 Aug 2023 11:41:32 +0000 (12:41 +0100)]
Update AppImage notification for new file name

Check date on GitHub for file name Geeqie-latest-x86_64.AppImage for
both x86 and arm.

8 months agoCreate minimal AppImage
Colin Clark [Wed, 16 Aug 2023 08:10:25 +0000 (09:10 +0100)]
Create minimal AppImage

The standard Geeqie AppImage contains all features but is about 120MB,
and therefore takes a noticeable time to load. The minimal version is
about 10MB but is still capable of displayed a useful range of images.

8 months agoUpdate README for AppImage location
Colin Clark [Tue, 15 Aug 2023 20:06:53 +0000 (21:06 +0100)]
Update README for AppImage location

8 months agoChangeLog not needed for AppImage
Colin Clark [Tue, 15 Aug 2023 17:10:41 +0000 (18:10 +0100)]
ChangeLog not needed for AppImage

8 months agoUse GitHub workflow actions to generate AppImage
Colin Clark [Tue, 15 Aug 2023 16:34:04 +0000 (17:34 +0100)]
Use GitHub workflow actions to generate AppImage

8 months agoReplace some deprecated GTK functions
Arkadiy Illarionov [Mon, 14 Aug 2023 21:33:47 +0000 (00:33 +0300)]
Replace some deprecated GTK functions

- Replace gtk_{button,combo_box}_set_focus_on_click with gtk_widget_set_focus_on_click.
- Replace gtk_misc_set_padding with gtk_widget_set_margin_start.

8 months agoFix #1151: Can't re-add items to collection after accidentally removing them
Colin Clark [Tue, 15 Aug 2023 08:29:23 +0000 (09:29 +0100)]
Fix #1151: Can't re-add items to collection after accidentally removing them

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

Option in Preferences/Behavior to permit duplicates also solves this
problem.

8 months agoRemove some deprecated GdkScreen API
Arkadiy Illarionov [Sun, 13 Aug 2023 17:19:47 +0000 (20:19 +0300)]
Remove some deprecated GdkScreen API

8 months agoFix assigned but never used warnings
Arkadiy Illarionov [Sun, 13 Aug 2023 15:29:58 +0000 (18:29 +0300)]
Fix assigned but never used warnings

8 months agoUse more standard icons
Arkadiy Illarionov [Fri, 11 Aug 2023 20:12:22 +0000 (23:12 +0300)]
Use more standard icons

- Replace ui_tabcomp.png with go-last named icon,
  fixing gdk_pixbuf_new_from_inline deprecate warning
- Replace gq-icon-rotate-counter-clockwise.png with object-rotate-left named icon
- Replace gq-icon-rotate-clockwise.png with object-rotate-right named icon
- Replace gq-icon-filp.png with object-flip-vertical named icon
- Replace gq-icon-mirror.png with object-flip-horizontal named icon
- Replace gq-icon-info.png with document-properties named icon
- Use recommended pan-{down,up}-symbolic named icons

8 months agoFix FIXME: useable_toolbar_items []
Colin Clark [Sun, 13 Aug 2023 09:18:51 +0000 (10:18 +0100)]
Fix FIXME: useable_toolbar_items []

Line 64: toolbar.cc
/** @FIXME Should be created by program from menu_entries[]
 * in layout-util.cc */

Use get_action_items() instead.

8 months agoAllow .desktop files to be linked to programmable mouse buttons
Colin Clark [Sat, 12 Aug 2023 14:37:41 +0000 (15:37 +0100)]
Allow .desktop files to be linked to programmable mouse buttons

Desktop files can be linked to mouse buttons 8 and 9 on
Edit/Preferences/Behavior

8 months agoInsert missing button label
Colin Clark [Sat, 12 Aug 2023 09:11:49 +0000 (10:11 +0100)]
Insert missing button label

8 months agoReplace handmade spinner with GtkSpinner
Arkadiy Illarionov [Fri, 11 Aug 2023 19:48:32 +0000 (22:48 +0300)]
Replace handmade spinner with GtkSpinner

8 months agoImplement remote keyboard actions
Colin Clark [Fri, 11 Aug 2023 15:08:05 +0000 (16:08 +0100)]
Implement remote keyboard actions

Enable keyboard actions to be initiated from the command line.

Additional remote commands:
geeqie --remote --action:<ACTION>
geeqie --remote --action-list

e.g.
geeqie --remote --action:ZoomIn

The action codes can also be found in /Edit/Preferences/Keyboard.

8 months agoPart fix #1159: Continuous zoom with mouse button
Colin Clark [Thu, 10 Aug 2023 14:27:50 +0000 (15:27 +0100)]
Part fix #1159: Continuous zoom with mouse button

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

Mouse buttons 8 and 9 (labelled as back/forward in Preferences/Behavior)
now work in fullscreen.

8 months agoModify part of Collections user interface
Colin Clark [Thu, 10 Aug 2023 10:54:51 +0000 (11:54 +0100)]
Modify part of Collections user interface

Collections .gqv files are expected to be in the default directory.
The user no longer sees file paths or file extensions, only the
collection name.
If the user navigates to a .gqv file located elsewhere and opens it, the
contents will be displayed and operated on as a collection. It will
appear in the "recently used collections" menu (there may be a name
conflict) but not on the "open collection" menu, which shows only the
collections in the default directory.

8 months agoRemove deprecated GtkArrow
Arkadiy Illarionov [Wed, 9 Aug 2023 23:16:50 +0000 (02:16 +0300)]
Remove deprecated GtkArrow

Use non-standard office-calendar icon.

8 months agoBug fix: Pan view not working
Colin Clark [Thu, 10 Aug 2023 09:54:42 +0000 (10:54 +0100)]
Bug fix: Pan view not working

Fix bug created in commit 689b9c6495f5.