summaryrefslogtreecommitdiff
path: root/src/eom-window.c
AgeCommit message (Collapse)AuthorFilesLines
40 hoursAdd null checks for content type with remote filesadd-null-checks-when-missing-attributesVictor Kareh1-0/+9
Adds NULL checks when content-type attributes are missing from GVFS backends. This prevents a crash when opening images from remote filesystems where both standard and fast content-type attributes are missing. Fixes #366
2025-09-15eom-window: Add additional key codes for image switching using mouse buttonsSean Baggaley1-0/+5
This should re-establish that function for newer X setups. As we don't know whether the old keycodes could still occur, we simply keep for compatibility. Backported from https://gitlab.gnome.org/GNOME/eog/-/commit/b23508382f0131d9961e437fe8c8453adeb84faa
2025-08-05Eom*: Use fast content type as fallbackVictor Kareh1-4/+6
It turns out that, depending on the responsible GVfs implementation, a GFileInfo may not actually set the content type attribute even if requested. Since knowing the content type is rather critical for eom try to use the fast content type as a fallback in those cases. The fast content type should be hardly unknown as it is usually just based on the file extension. Fixes #360. Backported from https://gitlab.gnome.org/GNOME/eog/-/commit/de19faf73c8d8627193320d512c8b97316d9740c
2025-06-20Add 'preserve-order' flag to allow viewing order specified on cmd line (#354)PeteHemery1-4/+5
2023-12-24eom-window: update image counter even if current thumbnail is for failured imagewhatdoineed2do/Ray1-24/+26
2022-09-11Variable 'show_image_collection' is assigned a value that is never usedrbuj1-1/+2
2022-09-11Variable 'screen' is assigned a value that is never usedrbuj1-2/+3
2021-12-21eom-window: fix warning incompatible-pointer-typesrbuj1-1/+1
2021-11-20Use a blank line at mostrbuj1-1/+0
2021-03-30eom-window: Remove -Wmissing-field-initializers warningsrbuj1-12/+12
2021-02-05build: allow users to disable gettext support (--disable-nls)rbuj1-0/+8
2021-02-05build: Use PACKAGE_URL variablerbuj1-1/+1
2021-01-20Remove unnecessary casts on signal function callsrbuj1-206/+194
2021-01-16Update copyright to 2021rbuj1-1/+1
2021-01-07Remove warning -Wshadowrbuj1-4/+4
2020-12-29Do not remove the accelerators from image properties dialogrbuj1-2/+2
2020-04-13eom-window: expand the comment on about dialogrbuj1-1/+1
2020-03-10Remove warnings: cast between incompatible function typesrbuj1-10/+5
2020-01-10Update copyright to 2020raveit651-1/+1
2020-01-09enable wayland supportWu Xiaotian1-5/+9
2019-11-12add missing format specifier for ngettextmonsta1-1/+1
2019-09-03remove warning: variable ‘priv’ set but not usedrbuj1-3/+0
eom-window.c:3153:20: warning: variable ‘priv’ set but not used [-Wunused-but-set-variable]
2019-07-24eom-window: suppress GtkAction warningsraveit651-5/+100
2019-07-14Assume sRGB if no display profile is setVictor Kareh1-6/+9
Gimp and Firefox make this assumption as well. https://bugzilla.gnome.org/show_bug.cgi?id=563760 upstream commit: https://gitlab.gnome.org/GNOME/eog/commit/b2b3aa26
2019-07-02Remove trailing whitespacesLaurent Napias1-8/+8
2019-05-29Disconnect callbacks for "Open with" menu items before connecting new ones.Saffith1-0/+5
2019-05-29Unref GtkUIManager so "Open with" menu is freed.Saffith1-0/+1
2019-03-08Use persistent page setupVictor Kareh1-2/+3
2019-02-18Read authors (updated) and documenters (updated) from eom.about gresourcerbuj1-35/+33
2019-02-16Ensure proper translation of the about dialog titlerbuj1-0/+1
Note that GTK+ sets a default title of _("About %s") on the dialog window (where %s is replaced by the name of the application, but in order to ensure proper translation of the title, applications should set the title property explicitly when constructing a GtkAboutDialog https://developer.gnome.org/gtk3/stable/GtkAboutDialog.html
2019-02-15Make translatable the copyright in about dialogrbuj1-3/+3
2018-08-15EomWindow: Switch keyboard shortcuts for sidebar and galleryraveit651-2/+2
This makes eom behave the same as other MATE apps, like Caja and pluma. inspired by: https://gitlab.gnome.org/GNOME/eog/commit/af2c96
2018-08-13EomPreferencesDialog: Convert to GtkBuilder templateFelix Riemann1-2/+2
Also embed the plugin manager into the template directly. origin commit: https://gitlab.gnome.org/GNOME/eog/commit/f96947c
2018-08-11eom-window: fix deprecated GtkStock usageraveit651-1/+1
2018-08-01EomPropertiesDialog: Convert to GtkBuilder templateFelix Riemann1-5/+5
origin commit: https://gitlab.gnome.org/GNOME/eog/commit/a8343a6
2018-07-27Initial GResource migrationraveit651-3/+3
Embedding UI data files as GResource makes several things easier. The compiled resources need to be linked directly with the binary as they won't be available if linked with the embedded libeom. Starting with eom.css and eom-ui.xml inspired from: https://gitlab.gnome.org/GNOME/eog/commit/94004b4
2018-07-23Drop eom_close_confirmation_dialog_set_sensitiveraveit651-1/+0
This internal function is only used at one place. No need to set the dialog buttons insensitive after save-image is executed. As result we don't use deprecated gtk_dialog_get_action_area inspired by comment from https://gitlab.gnome.org/GNOME/eog/commit/a48af02
2018-07-23util: Port to gtk_show_uri_on_windowTimm Bäder1-1/+1
gtk_show_uri is deprecated and will be removed in later versions. https://bugzilla.gnome.org/show_bug.cgi?id=792923 origin commit: https://gitlab.gnome.org/GNOME/eog/commit/77f16df
2018-07-17EomWindow: silence a introspection warningraveit651-0/+9
inspired by: https://gitlab.gnome.org/GNOME/eog/commit/1b22c52
2018-07-17Convert to G_DEFINE_TYPE_WITH_PRIVATE part 1Felix Riemann1-8/+3
origin commits: https://gitlab.gnome.org/GNOME/eog/commit/35c3864 https://gitlab.gnome.org/GNOME/eog/commit/842775b https://gitlab.gnome.org/GNOME/eog/commit/3fe0bd4 https://gitlab.gnome.org/GNOME/eog/commit/2b25632 https://gitlab.gnome.org/GNOME/eog/commit/f0c977d https://gitlab.gnome.org/GNOME/eog/commit/5cdb1b8 https://gitlab.gnome.org/GNOME/eog/commit/dba0bd4 https://gitlab.gnome.org/GNOME/eog/commit/8e31683 https://gitlab.gnome.org/GNOME/eog/commit/3945bb1
2018-07-17EomApplication: Make most members privateFelix Riemann1-4/+5
This allows plugin usage without installing toolbar editor headers. origin commit: https://gitlab.gnome.org/GNOME/eog/commit/e647078
2018-07-17Make EomWindow a GtkApplicationWindowFelix Riemann1-4/+6
origin commit: https://gitlab.gnome.org/GNOME/eog/commit/df5b2b6
2018-07-11Add our own activatable interface to EomWindowFelix Riemann1-2/+4
Improves typesafety by explicitly passing the EomWindow and allows us to extend the interface if necessary. https://bugzilla.gnome.org/show_bug.cgi?id=626091 origin commit: https://gitlab.gnome.org/GNOME/eog/commit/397a6a5
2018-07-11Replace gdk_spawn_command_line_on_screen()Claudio Saavedra1-6/+32
with g_app_info_launch() origin commit: https://gitlab.gnome.org/GNOME/eog/commit/ec6c243 https://gitlab.gnome.org/GNOME/eog/commit/adc355d
2018-07-08EomWindow: Simplify metadata sidebar titleFelix Riemann1-1/+1
origin commit: https://gitlab.gnome.org/GNOME/eog/commit/a5bd8ec
2018-07-08Don't force-enable the sidebar on startup once a page is addedFelix Riemann1-4/+0
https://bugzilla.gnome.org/show_bug.cgi?id=668178 origin commit: https://gitlab.gnome.org/GNOME/eog/commit/6b28ca6
2018-07-08Make Exif/XMP summaries available as sidebarFelix Riemann1-14/+33
Makes the data from the properties dialog available as a sidebar. A button opens the details tab in the properties dialog. This is graphically still a bit roughg. Committing it in hopes to get some early feedback. https://bugzilla.gnome.org/show_bug.cgi?id=616438 origin commit: https://git.gnome.org/browse/eog/commit/?id=7ac112f
2018-07-08Use GtkApplication to inhibit the screensaver during slideshowsFelix Riemann1-2/+37
Realized in a similar fashion as in Evince and Totem. https://bugzilla.gnome.org/show_bug.cgi?id=684581 origin commit: https://gitlab.gnome.org/GNOME/eog/commit/e8b50ab
2018-07-08Ensure UI action sensitivity is set at least onceFelix Riemann1-0/+2
Beforehand empty windows had all UI actions active. Activation could then spawn critical warnings. This was probably caused by the switch to GtkApplication. origin commit: https://gitlab.gnome.org/GNOME/eog/commit/0c82590
2018-07-08Port EomApplication to GtkApplicationClaudio Saavedra1-23/+2
This removes the direct dependency on dbus and makes use of the GApplication/GtkApplication facilities for uniqueness and activation. Bump the glib requirement to 2.29.4, since we need G_APPLICATION_NON_UNIQUE. https://bugzilla.gnome.org/show_bug.cgi?id=622876 origin commit: https://gitlab.gnome.org/GNOME/eog/commit/3d39587 Enable TotemScreensaver unconditionally It uses GDBus instead of libdbus now. It can be enabled even if libdbus is not available as GDBus/GIO is always present. origin commit: https://gitlab.gnome.org/GNOME/eog/commit/4c32882