summaryrefslogtreecommitdiff
path: root/src/eom-window.c
AgeCommit message (Collapse)AuthorFilesLines
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
2018-07-03Use new DBus API to show the current image in the file browserFelix Riemann1-34/+6
This improves the functionality implemented with commit 9df5fd43. The new API that will be included in Nautilus 3.3.4 not only opens a view for the containing folder but also marks the image in the view. The old behaviour is still available as fallback if the new API is not offered on the system. https://bugzilla.gnome.org/show_bug.cgi?id=650402 origin commit: https://git.gnome.org/browse/eog/commit/?h=gnome-3-4&id=fa74473
2018-07-03Add an "Open containing folder" commandAkshay Gupta1-0/+54
https://bugzilla.gnome.org/show_bug.cgi?id=650402 origin commit: https://git.gnome.org/browse/eog/commit/?id=9df5fd43
2018-05-18toolbar: add missing popup menu for launching toolbar editormonsta1-0/+1
2018-02-17eom-window.c: avoid deprecated GtkButton:use-stockPablo Barciela1-5/+2
2018-02-12avoid deprecated GtkStockPablo Barciela1-28/+32
2018-01-30require GTK+ 3.22 and GLib 2.50monsta1-28/+0
and drop additional checks for min/max GLib versions, it's not needed
2018-01-09update copyright year to 2018monsta1-1/+1
2017-08-23gtk 3.22: avoid deprecated gdk_screen_get_monitor... functions:ZenWalker1-0/+21
avoid deprecated: gdk_screen_get_monitor_geometry gdk_screen_get_monitor_at_window
2017-07-20avoid deprecated gdk_screen_get_numberZenWalker1-2/+2
2017-05-11fix warning on closing empty window with multiple eom windowsmonsta1-1/+1
2017-05-06EomWindow: Set file open dialog transient for its parent windowFelix Riemann1-0/+1
taken from: https://git.gnome.org/browse/eog/commit/?id=a54b3a8
2017-04-25update copyright year to 2017monsta1-1/+1
2017-04-22Fix a few GtkStock deprecationsraveit651-2/+2
2016-11-30port plugin system to libpeasmonsta1-2/+46
backported from eog with a few changes upstream commits for reference: https://git.gnome.org/browse/eog/commit/?id=1f79c321367c91c8e9063f1343a7e4ce4199c4d5 https://git.gnome.org/browse/eog/commit/?id=9afc5483b615039a580e295fe08d7b8ec524759c https://git.gnome.org/browse/eog/commit/?id=40bedbf33812e65f4a8e79691b1fadfaace94035 https://git.gnome.org/browse/eog/commit/?id=8b0acfddc52c220393770a9895b6b56cab7821fd https://git.gnome.org/browse/eog/commit/?id=95694f8b5f06b891a5e55356451ad60b53387563 https://git.gnome.org/browse/eog/commit/?id=7eeb6c8c0e55a3ad954cde4a6fed91ea7f89691c
2016-11-30fix indent in some placesmonsta1-3/+3
2016-11-21move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build optionmonsta1-68/+9
and require libmate-desktop >= 1.17
2016-11-21drop Python plugins support and --enable-python build optionmonsta1-4/+0
it requires PyGTK so won't even build with GTK+3
2016-11-21fix indent a bitmonsta1-3/+3
2016-07-28use GtkAbout and update copyrightraveit651-3/+2
2016-03-30window: fix indent (mostly)monsta1-187/+187
2016-03-30fix a few typos in the commentsmonsta1-2/+2
2016-03-30auto-reload unmodified images when their file is changedmonsta1-0/+6
from https://git.gnome.org/browse/eog/commit/?id=3764db24f7d5e570b39894a05ba71a09012eea24 fixes https://github.com/mate-desktop/eom/issues/69
2016-02-27Drop size-request signal callback for fullscreen toolbarraveit651-12/+0
Didn't work with GTK-3 and caused critical warnings when entering fullscreen mode. Just removing the callback seems to be sufficient as the toolbar's size request is set when entering fullscreen mode anyway. https://bugzilla.gnome.org/show_bug.cgi?id=653162 example warning: (eom:10676): GLib-GObject-WARNING **: gsignal.c:2417: signal 'size_request' is invalid for instance '0x563599a10b00' of type 'GtkWindow' taken from: https://git.gnome.org/browse/eog/commit/?id=1cc2606
2016-02-06GTK+3: add eom-window style class at top levelWolfgang Ulbrich1-0/+7
2016-01-25GTK3: fix previous GtkMisc deprecation commitWolfgang Ulbrich1-12/+18