diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-08-13 15:00:06 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-08-13 15:00:06 +0200 |
commit | 3c403a4863899d5caf0da09a42925855689ac5cd (patch) | |
tree | 8abe62db599c3b0e0642e12dc5b5c8b184498dab | |
parent | 6e9bda752d89f97b0c66e69d9e57376f2947df0a (diff) | |
parent | 3c829c50a8f705402bdc759946d49ae7caebd003 (diff) |
Updated version 0.26.3 from 'upstream/0.26.3'
with Debian dir 214e96c00e302f0b57a90d9660ad38cb63e82670
66 files changed, 5964 insertions, 5689 deletions
diff --git a/.gitignore b/.gitignore deleted file mode 100644 index c6fbd72..0000000 --- a/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -.bzr -.bzrignore -.pc -debian/files
\ No newline at end of file @@ -1,6 +1,106 @@ +commit c2d999c39385c7889b191b2b3b15a6b3d334e579 +Author: Jens Georg <mail@jensge.org> +Date: Thu Aug 10 20:53:37 2017 +0200 + + Prepare 0.26.3 + +M NEWS +M configure.ac + +commit 6d4c0ff11a496b5d2a47f9269c4e154bf251d987 +Author: Jens Georg <mail@jensge.org> +Date: Thu Aug 10 19:18:10 2017 +0200 + + Do not close FileDescriptor passed to CameraFile + + CameraFile takes ownership of the file descriptor and closes it, so we + end up closing random file descriptors. + + Big thanks to Stefan for debugging this + + https://bugzilla.gnome.org/show_bug.cgi?id=785503 + +M src/camera/GPhoto.vala + +commit 553c35470798f959ac2cc2e44cddcccb88d23fdd +Author: Brian Masney <masneyb@onstation.org> +Date: Wed Jul 12 19:29:12 2017 -0400 + + build: use APPSTREAM_XML instead of APPDATA_XML + + According to commit 8c0c9ec747bc in the appstream-glib project + (https://github.com/hughsie/appstream-glib), APPDATA_XML has been + deprecated and APPSTREAM_XML should be used insted. Fedora 26 + no longer ships with appdata-xml.m4 in the libappstream-glib-devel + package. This patch converts the build system to use APPSTREAM_XML. + + Signed-off-by: Brian Masney <masneyb@onstation.org> + + https://bugzilla.gnome.org/show_bug.cgi?id=784883 + +M configure.ac +M misc/Makefile.am + +commit 682bd5511f128d8f09759a3883a00231b23d44c9 +Author: Jens Georg <mail@jensge.org> +Date: Thu Aug 3 10:11:33 2017 +0200 + + Remove deprecated "find" icon + + https://bugzilla.gnome.org/show_bug.cgi?id=785761 + +M src/SearchFilter.vala +M src/searches/Branch.vala + +commit 85d118b62b947a7f63b784faf0a9a128244e3653 +Author: Jens Georg <mail@jensge.org> +Date: Sun Aug 6 19:33:23 2017 +0200 + + Reset menubar injection state after re-loading ui + + Fixes menu items disappearing from Photos menu + + https://bugzilla.gnome.org/show_bug.cgi?id=785196 + +M src/Page.vala + +commit 000e9a5f5da10f87b739b35901842f0a261fd240 +Author: Mario Blättermann <mario.blaettermann@gmail.com> +Date: Fri Aug 4 20:33:46 2017 +0000 + + Update German translation + +M help/de/de.po + +commit 8f10d5901e633262e1ddccae9d67127a251d7776 +Author: Jens Georg <mail@jensge.org> +Date: Sat Jul 8 08:09:56 2017 +0200 + + Escape file names in wallpaper.xml + + https://bugzilla.gnome.org/show_bug.cgi?id=784661 + +M src/DesktopIntegration.vala + +commit ba32876ab09a524dafbea46929fd936716f29ba4 +Author: Jens Georg <mail@jensge.org> +Date: Sat Jun 3 09:20:05 2017 +0200 + + debian: Depend on libexiv2 explicitly + +M debian/control + +commit a4eb756865037d74f71c7b43ffe345dc8fa915e2 +Author: Marek Černocký <marek@manet.cz> +Date: Sat Jun 24 10:40:53 2017 +0200 + + Updated Czech translation + +M po/cs.po + commit 4f0174c855ca28b2b1f51e51120333de89edf994 Author: Jens Georg <mail@jensge.org> -Date: Thu Jun 1 18:52:56 2017 +0200 +Date: Thu Jun 1 18:52:56 2017 +0200 Prepare Shotwell 0.26.2 diff --git a/Makefile.in b/Makefile.in index 6b5f525..6181aa4 100644 --- a/Makefile.in +++ b/Makefile.in @@ -118,7 +118,8 @@ bin_PROGRAMS = shotwell$(EXEEXT) @HAVE_EXTRA_PLUGINS_TRUE@am__append_6 = plugins/shotwell-publishing-extras/resource.c subdir = . ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/m4/ax_generate_changelog.m4 \ +am__aclocal_m4_deps = $(top_srcdir)/m4/appstream-xml.m4 \ + $(top_srcdir)/m4/ax_generate_changelog.m4 \ $(top_srcdir)/m4/ax_is_release.m4 \ $(top_srcdir)/m4/ax_require_defined.m4 \ $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/gsettings.m4 \ @@ -1024,7 +1025,7 @@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ -appdataxmldir = @appdataxmldir@ +appstreamxmldir = @appstreamxmldir@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ @@ -6126,15 +6127,6 @@ thumbnailer/thumbnailer_shotwell_video_thumbnailer-shotwell-video-thumbnailer.ob @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='thumbnailer/shotwell-video-thumbnailer.c' object='thumbnailer/thumbnailer_shotwell_video_thumbnailer-shotwell-video-thumbnailer.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(thumbnailer_shotwell_video_thumbnailer_CFLAGS) $(CFLAGS) -c -o thumbnailer/thumbnailer_shotwell_video_thumbnailer-shotwell-video-thumbnailer.obj `if test -f 'thumbnailer/shotwell-video-thumbnailer.c'; then $(CYGPATH_W) 'thumbnailer/shotwell-video-thumbnailer.c'; else $(CYGPATH_W) '$(srcdir)/thumbnailer/shotwell-video-thumbnailer.c'; fi` -$(srcdir)/thumbnailer/shotwell-video-thumbnailer.c: $(srcdir)/thumbnailer_shotwell_video_thumbnailer_vala.stamp - @if test -f $@; then :; else rm -f $(srcdir)/thumbnailer_shotwell_video_thumbnailer_vala.stamp; fi - @if test -f $@; then :; else \ - $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/thumbnailer_shotwell_video_thumbnailer_vala.stamp; \ - fi -$(srcdir)/thumbnailer_shotwell_video_thumbnailer_vala.stamp: thumbnailer/shotwell-video-thumbnailer.vala - $(AM_V_at)rm -f $@ && echo stamp > $@-t - $(AM_V_VALAC)$(am__cd) $(srcdir) && $(VALAC) $(thumbnailer_shotwell_video_thumbnailer_VALAFLAGS) $(VALAFLAGS) -C thumbnailer/shotwell-video-thumbnailer.vala - $(AM_V_at)mv -f $@-t $@ $(srcdir)/src/unit/Unit.c: $(srcdir)/shotwell_vala.stamp @if test -f $@; then :; else rm -f $(srcdir)/shotwell_vala.stamp; fi @if test -f $@; then :; else \ @@ -7094,6 +7086,156 @@ $(srcdir)/shotwell_vala.stamp: src/unit/Unit.vala src/util/Util.vala src/util/fi $(AM_V_at)rm -f $@ && echo stamp > $@-t $(AM_V_VALAC)$(am__cd) $(srcdir) && $(VALAC) $(shotwell_VALAFLAGS) $(VALAFLAGS) -C src/unit/Unit.vala src/util/Util.vala src/util/file.vala src/util/image.vala src/util/misc.vala src/util/string.vala src/util/system.vala src/util/KeyValueMap.vala src/util/ui.vala src/threads/Threads.vala src/threads/Workers.vala src/threads/BackgroundJob.vala src/threads/Semaphore.vala src/db/Db.vala src/db/DatabaseTable.vala src/db/PhotoTable.vala src/db/EventTable.vala src/db/TagTable.vala src/db/TombstoneTable.vala src/db/VideoTable.vala src/db/VersionTable.vala src/db/SavedSearchDBTable.vala src/editing_tools/EditingTools.vala src/editing_tools/StraightenTool.vala src/slideshow/Slideshow.vala src/slideshow/TransitionEffects.vala src/photos/Photos.vala src/photos/PhotoFileAdapter.vala src/photos/PhotoFileFormat.vala src/photos/PhotoFileSniffer.vala src/photos/PhotoMetadata.vala src/photos/GRaw.vala src/photos/GdkSupport.vala src/photos/JfifSupport.vala src/photos/BmpSupport.vala src/photos/RawSupport.vala src/photos/PngSupport.vala src/photos/TiffSupport.vala src/plugins/Plugins.vala src/plugins/StandardHostInterface.vala src/plugins/ManifestWidget.vala src/publishing/Publishing.vala src/publishing/PublishingUI.vala src/publishing/PublishingPluginHost.vala src/publishing/APIGlue.vala src/library/Library.vala src/library/LibraryWindow.vala src/library/Branch.vala src/library/TrashSidebarEntry.vala src/library/OfflineSidebarEntry.vala src/library/FlaggedSidebarEntry.vala src/library/LastImportSidebarEntry.vala src/library/ImportQueueSidebarEntry.vala src/library/FlaggedPage.vala src/library/ImportQueuePage.vala src/library/LastImportPage.vala src/library/OfflinePage.vala src/library/TrashPage.vala src/direct/Direct.vala src/direct/DirectWindow.vala src/direct/DirectPhoto.vala src/direct/DirectPhotoPage.vala src/direct/DirectView.vala src/core/Core.vala src/core/DataCollection.vala src/core/DataSet.vala src/core/util.vala src/core/SourceCollection.vala src/core/SourceHoldingTank.vala src/core/DatabaseSourceCollection.vala src/core/ContainerSourceCollection.vala src/core/ViewCollection.vala src/core/DataObject.vala src/core/Alteration.vala src/core/DataSource.vala src/core/DataSourceTypes.vala src/core/DataView.vala src/core/DataViewTypes.vala src/core/Tracker.vala src/core/SourceInterfaces.vala src/sidebar/Sidebar.vala src/sidebar/Branch.vala src/sidebar/Entry.vala src/sidebar/Tree.vala src/sidebar/common.vala src/events/Events.vala src/events/Branch.vala src/events/EventsDirectoryPage.vala src/events/EventPage.vala src/events/EventDirectoryItem.vala src/tags/Tags.vala src/tags/Branch.vala src/tags/TagPage.vala src/tags/HierarchicalTagIndex.vala src/tags/HierarchicalTagUtilities.vala src/camera/Camera.vala src/camera/Branch.vala src/camera/CameraTable.vala src/camera/GPhoto.vala src/camera/ImportPage.vala src/searches/Searches.vala src/searches/Branch.vala src/searches/SearchBoolean.vala src/searches/SavedSearchPage.vala src/searches/SavedSearchDialog.vala src/config/Config.vala src/config/ConfigurationInterfaces.vala src/config/GSettingsEngine.vala src/data_imports/DataImports.vala src/data_imports/DataImportsPluginHost.vala src/data_imports/DataImportsUI.vala src/data_imports/DataImportJob.vala src/data_imports/DataImportSource.vala src/folders/Folders.vala src/folders/Branch.vala src/folders/Page.vala src/main.vala src/AppWindow.vala src/CollectionPage.vala src/NaturalCollate.vala src/Thumbnail.vala src/ThumbnailCache.vala src/CheckerboardLayout.vala src/PhotoPage.vala src/Page.vala src/SortedList.vala src/Dimensions.vala src/Box.vala src/Photo.vala src/Orientation.vala src/BatchImport.vala src/Dialogs.vala src/Resources.vala src/Debug.vala src/ColorTransformation.vala src/Properties.vala src/CustomComponents.vala src/Event.vala src/International.vala src/AppDirs.vala src/PixbufCache.vala src/CommandManager.vala src/Commands.vala src/SlideshowPage.vala src/LibraryFiles.vala src/Printing.vala src/Tag.vala src/Screensaver.vala src/Exporter.vala src/DirectoryMonitor.vala src/LibraryMonitor.vala src/VideoSupport.vala src/Tombstone.vala src/MetadataWriter.vala src/Application.vala src/TimedQueue.vala src/MediaPage.vala src/MediaDataRepresentation.vala src/DesktopIntegration.vala src/MediaInterfaces.vala src/MediaMetadata.vala src/VideoMetadata.vala src/MediaMonitor.vala src/PhotoMonitor.vala src/VideoMonitor.vala src/SearchFilter.vala src/MediaViewTracker.vala src/UnityProgressBar.vala src/Upgrades.vala src/.unitize/_UnitInternals.vala src/.unitize/_UtilInternals.vala src/.unitize/_ThreadsInternals.vala src/.unitize/_DbInternals.vala src/.unitize/_EditingToolsInternals.vala src/.unitize/_PluginsInternals.vala src/.unitize/_SlideshowInternals.vala src/.unitize/_PhotosInternals.vala src/.unitize/_PublishingInternals.vala src/.unitize/_LibraryInternals.vala src/.unitize/_DirectInternals.vala src/.unitize/_CoreInternals.vala src/.unitize/_SidebarInternals.vala src/.unitize/_EventsInternals.vala src/.unitize/_TagsInternals.vala src/.unitize/_CameraInternals.vala src/.unitize/_SearchesInternals.vala src/.unitize/_ConfigInternals.vala src/.unitize/_DataImportsInternals.vala src/.unitize/_FoldersInternals.vala src/.unitize/_Library_unitize_entry.vala src/.unitize/_Direct_unitize_entry.vala plugins/shotwell-plugin-dev-1.0.vapi $(AM_V_at)mv -f $@-t $@ +$(srcdir)/thumbnailer/shotwell-video-thumbnailer.c: $(srcdir)/thumbnailer_shotwell_video_thumbnailer_vala.stamp + @if test -f $@; then :; else rm -f $(srcdir)/thumbnailer_shotwell_video_thumbnailer_vala.stamp; fi + @if test -f $@; then :; else \ + $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/thumbnailer_shotwell_video_thumbnailer_vala.stamp; \ + fi +$(srcdir)/thumbnailer_shotwell_video_thumbnailer_vala.stamp: thumbnailer/shotwell-video-thumbnailer.vala + $(AM_V_at)rm -f $@ && echo stamp > $@-t + $(AM_V_VALAC)$(am__cd) $(srcdir) && $(VALAC) $(thumbnailer_shotwell_video_thumbnailer_VALAFLAGS) $(VALAFLAGS) -C thumbnailer/shotwell-video-thumbnailer.vala + $(AM_V_at)mv -f $@-t $@ +$(srcdir)/plugins/shotwell-publishing/shotwell-publishing.c: $(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp + @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp; fi + @if test -f $@; then :; else \ + $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp; \ + fi +$(srcdir)/plugins/shotwell-publishing/FacebookPublishing.c: $(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp + @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp; fi + @if test -f $@; then :; else \ + $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp; \ + fi +$(srcdir)/plugins/shotwell-publishing/PicasaPublishing.c: $(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp + @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp; fi + @if test -f $@; then :; else \ + $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp; \ + fi +$(srcdir)/plugins/shotwell-publishing/FlickrPublishing.c: $(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp + @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp; fi + @if test -f $@; then :; else \ + $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp; \ + fi +$(srcdir)/plugins/shotwell-publishing/YouTubePublishing.c: $(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp + @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp; fi + @if test -f $@; then :; else \ + $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp; \ + fi +$(srcdir)/plugins/shotwell-publishing/PiwigoPublishing.c: $(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp + @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp; fi + @if test -f $@; then :; else \ + $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp; \ + fi +$(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp: plugins/shotwell-publishing/shotwell-publishing.vala plugins/shotwell-publishing/FacebookPublishing.vala plugins/shotwell-publishing/PicasaPublishing.vala plugins/shotwell-publishing/FlickrPublishing.vala plugins/shotwell-publishing/YouTubePublishing.vala plugins/shotwell-publishing/PiwigoPublishing.vala plugins/shotwell-plugin-common.vapi plugins/authenticator/shotwell-authenticator.vapi vapi/libgdata.vapi + $(AM_V_at)rm -f $@ && echo stamp > $@-t + $(AM_V_VALAC)$(am__cd) $(srcdir) && $(VALAC) $(plugins_shotwell_publishing_shotwell_publishing_la_VALAFLAGS) $(VALAFLAGS) -C plugins/shotwell-publishing/shotwell-publishing.vala plugins/shotwell-publishing/FacebookPublishing.vala plugins/shotwell-publishing/PicasaPublishing.vala plugins/shotwell-publishing/FlickrPublishing.vala plugins/shotwell-publishing/YouTubePublishing.vala plugins/shotwell-publishing/PiwigoPublishing.vala plugins/shotwell-plugin-common.vapi plugins/authenticator/shotwell-authenticator.vapi vapi/libgdata.vapi + $(AM_V_at)mv -f $@-t $@ +$(srcdir)/plugins/shotwell-transitions/BlindsEffect.c: $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp + @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; fi + @if test -f $@; then :; else \ + $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; \ + fi +$(srcdir)/plugins/shotwell-transitions/ChessEffect.c: $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp + @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; fi + @if test -f $@; then :; else \ + $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; \ + fi +$(srcdir)/plugins/shotwell-transitions/CircleEffect.c: $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp + @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; fi + @if test -f $@; then :; else \ + $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; \ + fi +$(srcdir)/plugins/shotwell-transitions/CirclesEffect.c: $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp + @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; fi + @if test -f $@; then :; else \ + $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; \ + fi +$(srcdir)/plugins/shotwell-transitions/ClockEffect.c: $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp + @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; fi + @if test -f $@; then :; else \ + $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; \ + fi +$(srcdir)/plugins/shotwell-transitions/CrumbleEffect.c: $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp + @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; fi + @if test -f $@; then :; else \ + $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; \ + fi +$(srcdir)/plugins/shotwell-transitions/FadeEffect.c: $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp + @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; fi + @if test -f $@; then :; else \ + $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; \ + fi +$(srcdir)/plugins/shotwell-transitions/shotwell-transitions.c: $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp + @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; fi + @if test -f $@; then :; else \ + $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; \ + fi +$(srcdir)/plugins/shotwell-transitions/SlideEffect.c: $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp + @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; fi + @if test -f $@; then :; else \ + $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; \ + fi +$(srcdir)/plugins/shotwell-transitions/SquaresEffect.c: $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp + @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; fi + @if test -f $@; then :; else \ + $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; \ + fi +$(srcdir)/plugins/shotwell-transitions/StripesEffect.c: $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp + @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; fi + @if test -f $@; then :; else \ + $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; \ + fi +$(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp: plugins/shotwell-transitions/BlindsEffect.vala plugins/shotwell-transitions/ChessEffect.vala plugins/shotwell-transitions/CircleEffect.vala plugins/shotwell-transitions/CirclesEffect.vala plugins/shotwell-transitions/ClockEffect.vala plugins/shotwell-transitions/CrumbleEffect.vala plugins/shotwell-transitions/FadeEffect.vala plugins/shotwell-transitions/shotwell-transitions.vala plugins/shotwell-transitions/SlideEffect.vala plugins/shotwell-transitions/SquaresEffect.vala plugins/shotwell-transitions/StripesEffect.vala plugins/shotwell-plugin-common.vapi + $(AM_V_at)rm -f $@ && echo stamp > $@-t + $(AM_V_VALAC)$(am__cd) $(srcdir) && $(VALAC) $(plugins_shotwell_transitions_shotwell_transitions_la_VALAFLAGS) $(VALAFLAGS) -C plugins/shotwell-transitions/BlindsEffect.vala plugins/shotwell-transitions/ChessEffect.vala plugins/shotwell-transitions/CircleEffect.vala plugins/shotwell-transitions/CirclesEffect.vala plugins/shotwell-transitions/ClockEffect.vala plugins/shotwell-transitions/CrumbleEffect.vala plugins/shotwell-transitions/FadeEffect.vala plugins/shotwell-transitions/shotwell-transitions.vala plugins/shotwell-transitions/SlideEffect.vala plugins/shotwell-transitions/SquaresEffect.vala plugins/shotwell-transitions/StripesEffect.vala plugins/shotwell-plugin-common.vapi + $(AM_V_at)mv -f $@-t $@ +$(srcdir)/plugins/authenticator/shotwell/ShotwellAuthenticatorFactory.c: $(srcdir)/plugins_authenticator_libshotwell_authenticator_la_vala.stamp + @if test -f $@; then :; else rm -f $(srcdir)/plugins_authenticator_libshotwell_authenticator_la_vala.stamp; fi + @if test -f $@; then :; else \ + $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_authenticator_libshotwell_authenticator_la_vala.stamp; \ + fi +$(srcdir)/plugins/authenticator/shotwell/FacebookPublishingAuthenticator.c: $(srcdir)/plugins_authenticator_libshotwell_authenticator_la_vala.stamp + @if test -f $@; then :; else rm -f $(srcdir)/plugins_authenticator_libshotwell_authenticator_la_vala.stamp; fi + @if test -f $@; then :; else \ + $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_authenticator_libshotwell_authenticator_la_vala.stamp; \ + fi +$(srcdir)/plugins/authenticator/shotwell/FlickrPublishingAuthenticator.c: $(srcdir)/plugins_authenticator_libshotwell_authenticator_la_vala.stamp + @if test -f $@; then :; else rm -f $(srcdir)/plugins_authenticator_libshotwell_authenticator_la_vala.stamp; fi + @if test -f $@; then :; else \ + $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_authenticator_libshotwell_authenticator_la_vala.stamp; \ + fi +$(srcdir)/plugins/authenticator/shotwell/GoogleAuthenticator.c: $(srcdir)/plugins_authenticator_libshotwell_authenticator_la_vala.stamp + @if test -f $@; then :; else rm -f $(srcdir)/plugins_authenticator_libshotwell_authenticator_la_vala.stamp; fi + @if test -f $@; then :; else \ + $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_authenticator_libshotwell_authenticator_la_vala.stamp; \ + fi +$(srcdir)/plugins_authenticator_libshotwell_authenticator_la_vala.stamp: plugins/shotwell-plugin-common.vapi plugins/shotwell-plugin-dev-1.0.vapi plugins/authenticator/shotwell/ShotwellAuthenticatorFactory.vala plugins/authenticator/shotwell/FacebookPublishingAuthenticator.vala plugins/authenticator/shotwell/FlickrPublishingAuthenticator.vala plugins/authenticator/shotwell/GoogleAuthenticator.vala + $(AM_V_at)rm -f $@ && echo stamp > $@-t + $(AM_V_VALAC)$(am__cd) $(srcdir) && $(VALAC) $(plugins_authenticator_libshotwell_authenticator_la_VALAFLAGS) $(VALAFLAGS) -C plugins/shotwell-plugin-common.vapi plugins/shotwell-plugin-dev-1.0.vapi plugins/authenticator/shotwell/ShotwellAuthenticatorFactory.vala plugins/authenticator/shotwell/FacebookPublishingAuthenticator.vala plugins/authenticator/shotwell/FlickrPublishingAuthenticator.vala plugins/authenticator/shotwell/GoogleAuthenticator.vala + $(AM_V_at)mv -f $@-t $@ +$(srcdir)/src/plugins/SpitInterfaces.c: $(srcdir)/src_plugins_libplugin_la_vala.stamp + @if test -f $@; then :; else rm -f $(srcdir)/src_plugins_libplugin_la_vala.stamp; fi + @if test -f $@; then :; else \ + $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/src_plugins_libplugin_la_vala.stamp; \ + fi +$(srcdir)/src/plugins/TransitionsInterfaces.c: $(srcdir)/src_plugins_libplugin_la_vala.stamp + @if test -f $@; then :; else rm -f $(srcdir)/src_plugins_libplugin_la_vala.stamp; fi + @if test -f $@; then :; else \ + $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/src_plugins_libplugin_la_vala.stamp; \ + fi +$(srcdir)/src/plugins/PublishingInterfaces.c: $(srcdir)/src_plugins_libplugin_la_vala.stamp + @if test -f $@; then :; else rm -f $(srcdir)/src_plugins_libplugin_la_vala.stamp; fi + @if test -f $@; then :; else \ + $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/src_plugins_libplugin_la_vala.stamp; \ + fi +$(srcdir)/src/plugins/DataImportsInterfaces.c: $(srcdir)/src_plugins_libplugin_la_vala.stamp + @if test -f $@; then :; else rm -f $(srcdir)/src_plugins_libplugin_la_vala.stamp; fi + @if test -f $@; then :; else \ + $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/src_plugins_libplugin_la_vala.stamp; \ + fi +$(srcdir)/src_plugins_libplugin_la_vala.stamp: src/plugins/SpitInterfaces.vala src/plugins/TransitionsInterfaces.vala src/plugins/PublishingInterfaces.vala src/plugins/DataImportsInterfaces.vala + $(AM_V_at)rm -f $@ && echo stamp > $@-t + $(AM_V_VALAC)$(am__cd) $(srcdir) && $(VALAC) $(src_plugins_libplugin_la_VALAFLAGS) $(VALAFLAGS) -C src/plugins/SpitInterfaces.vala src/plugins/TransitionsInterfaces.vala src/plugins/PublishingInterfaces.vala src/plugins/DataImportsInterfaces.vala + $(AM_V_at)mv -f $@-t $@ $(srcdir)/plugins/shotwell-data-imports/FSpotDatabaseBehavior.c: $(srcdir)/plugins_shotwell_data_imports_shotwell_data_imports_la_vala.stamp @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_data_imports_shotwell_data_imports_la_vala.stamp; fi @if test -f $@; then :; else \ @@ -7221,147 +7363,6 @@ $(srcdir)/plugins_common_libshotwell_plugin_common_la_vala.stamp: plugins/common $(AM_V_at)rm -f $@ && echo stamp > $@-t $(AM_V_VALAC)$(am__cd) $(srcdir) && $(VALAC) $(plugins_common_libshotwell_plugin_common_la_VALAFLAGS) $(VALAFLAGS) -C plugins/common/RESTSupport.vala plugins/common/Resources.vala plugins/common/WebAuthenticationPane.vala plugins/common/BuilderPane.vala plugins/shotwell-plugin-dev-1.0.vapi $(AM_V_at)mv -f $@-t $@ -$(srcdir)/plugins/shotwell-transitions/BlindsEffect.c: $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp - @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; fi - @if test -f $@; then :; else \ - $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; \ - fi -$(srcdir)/plugins/shotwell-transitions/ChessEffect.c: $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp - @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; fi - @if test -f $@; then :; else \ - $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; \ - fi -$(srcdir)/plugins/shotwell-transitions/CircleEffect.c: $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp - @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; fi - @if test -f $@; then :; else \ - $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; \ - fi -$(srcdir)/plugins/shotwell-transitions/CirclesEffect.c: $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp - @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; fi - @if test -f $@; then :; else \ - $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; \ - fi -$(srcdir)/plugins/shotwell-transitions/ClockEffect.c: $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp - @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; fi - @if test -f $@; then :; else \ - $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; \ - fi -$(srcdir)/plugins/shotwell-transitions/CrumbleEffect.c: $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp - @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; fi - @if test -f $@; then :; else \ - $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; \ - fi -$(srcdir)/plugins/shotwell-transitions/FadeEffect.c: $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp - @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; fi - @if test -f $@; then :; else \ - $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; \ - fi -$(srcdir)/plugins/shotwell-transitions/shotwell-transitions.c: $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp - @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; fi - @if test -f $@; then :; else \ - $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; \ - fi -$(srcdir)/plugins/shotwell-transitions/SlideEffect.c: $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp - @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; fi - @if test -f $@; then :; else \ - $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; \ - fi -$(srcdir)/plugins/shotwell-transitions/SquaresEffect.c: $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp - @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; fi - @if test -f $@; then :; else \ - $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; \ - fi -$(srcdir)/plugins/shotwell-transitions/StripesEffect.c: $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp - @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; fi - @if test -f $@; then :; else \ - $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp; \ - fi -$(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp: plugins/shotwell-transitions/BlindsEffect.vala plugins/shotwell-transitions/ChessEffect.vala plugins/shotwell-transitions/CircleEffect.vala plugins/shotwell-transitions/CirclesEffect.vala plugins/shotwell-transitions/ClockEffect.vala plugins/shotwell-transitions/CrumbleEffect.vala plugins/shotwell-transitions/FadeEffect.vala plugins/shotwell-transitions/shotwell-transitions.vala plugins/shotwell-transitions/SlideEffect.vala plugins/shotwell-transitions/SquaresEffect.vala plugins/shotwell-transitions/StripesEffect.vala plugins/shotwell-plugin-common.vapi - $(AM_V_at)rm -f $@ && echo stamp > $@-t - $(AM_V_VALAC)$(am__cd) $(srcdir) && $(VALAC) $(plugins_shotwell_transitions_shotwell_transitions_la_VALAFLAGS) $(VALAFLAGS) -C plugins/shotwell-transitions/BlindsEffect.vala plugins/shotwell-transitions/ChessEffect.vala plugins/shotwell-transitions/CircleEffect.vala plugins/shotwell-transitions/CirclesEffect.vala plugins/shotwell-transitions/ClockEffect.vala plugins/shotwell-transitions/CrumbleEffect.vala plugins/shotwell-transitions/FadeEffect.vala plugins/shotwell-transitions/shotwell-transitions.vala plugins/shotwell-transitions/SlideEffect.vala plugins/shotwell-transitions/SquaresEffect.vala plugins/shotwell-transitions/StripesEffect.vala plugins/shotwell-plugin-common.vapi - $(AM_V_at)mv -f $@-t $@ -$(srcdir)/src/plugins/SpitInterfaces.c: $(srcdir)/src_plugins_libplugin_la_vala.stamp - @if test -f $@; then :; else rm -f $(srcdir)/src_plugins_libplugin_la_vala.stamp; fi - @if test -f $@; then :; else \ - $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/src_plugins_libplugin_la_vala.stamp; \ - fi -$(srcdir)/src/plugins/TransitionsInterfaces.c: $(srcdir)/src_plugins_libplugin_la_vala.stamp - @if test -f $@; then :; else rm -f $(srcdir)/src_plugins_libplugin_la_vala.stamp; fi - @if test -f $@; then :; else \ - $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/src_plugins_libplugin_la_vala.stamp; \ - fi -$(srcdir)/src/plugins/PublishingInterfaces.c: $(srcdir)/src_plugins_libplugin_la_vala.stamp - @if test -f $@; then :; else rm -f $(srcdir)/src_plugins_libplugin_la_vala.stamp; fi - @if test -f $@; then :; else \ - $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/src_plugins_libplugin_la_vala.stamp; \ - fi -$(srcdir)/src/plugins/DataImportsInterfaces.c: $(srcdir)/src_plugins_libplugin_la_vala.stamp - @if test -f $@; then :; else rm -f $(srcdir)/src_plugins_libplugin_la_vala.stamp; fi - @if test -f $@; then :; else \ - $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/src_plugins_libplugin_la_vala.stamp; \ - fi -$(srcdir)/src_plugins_libplugin_la_vala.stamp: src/plugins/SpitInterfaces.vala src/plugins/TransitionsInterfaces.vala src/plugins/PublishingInterfaces.vala src/plugins/DataImportsInterfaces.vala - $(AM_V_at)rm -f $@ && echo stamp > $@-t - $(AM_V_VALAC)$(am__cd) $(srcdir) && $(VALAC) $(src_plugins_libplugin_la_VALAFLAGS) $(VALAFLAGS) -C src/plugins/SpitInterfaces.vala src/plugins/TransitionsInterfaces.vala src/plugins/PublishingInterfaces.vala src/plugins/DataImportsInterfaces.vala - $(AM_V_at)mv -f $@-t $@ -$(srcdir)/plugins/shotwell-publishing/shotwell-publishing.c: $(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp - @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp; fi - @if test -f $@; then :; else \ - $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp; \ - fi -$(srcdir)/plugins/shotwell-publishing/FacebookPublishing.c: $(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp - @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp; fi - @if test -f $@; then :; else \ - $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp; \ - fi -$(srcdir)/plugins/shotwell-publishing/PicasaPublishing.c: $(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp - @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp; fi - @if test -f $@; then :; else \ - $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp; \ - fi -$(srcdir)/plugins/shotwell-publishing/FlickrPublishing.c: $(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp - @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp; fi - @if test -f $@; then :; else \ - $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp; \ - fi -$(srcdir)/plugins/shotwell-publishing/YouTubePublishing.c: $(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp - @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp; fi - @if test -f $@; then :; else \ - $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp; \ - fi -$(srcdir)/plugins/shotwell-publishing/PiwigoPublishing.c: $(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp - @if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp; fi - @if test -f $@; then :; else \ - $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp; \ - fi -$(srcdir)/plugins_shotwell_publishing_shotwell_publishing_la_vala.stamp: plugins/shotwell-publishing/shotwell-publishing.vala plugins/shotwell-publishing/FacebookPublishing.vala plugins/shotwell-publishing/PicasaPublishing.vala plugins/shotwell-publishing/FlickrPublishing.vala plugins/shotwell-publishing/YouTubePublishing.vala plugins/shotwell-publishing/PiwigoPublishing.vala plugins/shotwell-plugin-common.vapi plugins/authenticator/shotwell-authenticator.vapi vapi/libgdata.vapi - $(AM_V_at)rm -f $@ && echo stamp > $@-t - $(AM_V_VALAC)$(am__cd) $(srcdir) && $(VALAC) $(plugins_shotwell_publishing_shotwell_publishing_la_VALAFLAGS) $(VALAFLAGS) -C plugins/shotwell-publishing/shotwell-publishing.vala plugins/shotwell-publishing/FacebookPublishing.vala plugins/shotwell-publishing/PicasaPublishing.vala plugins/shotwell-publishing/FlickrPublishing.vala plugins/shotwell-publishing/YouTubePublishing.vala plugins/shotwell-publishing/PiwigoPublishing.vala plugins/shotwell-plugin-common.vapi plugins/authenticator/shotwell-authenticator.vapi vapi/libgdata.vapi - $(AM_V_at)mv -f $@-t $@ -$(srcdir)/plugins/authenticator/shotwell/ShotwellAuthenticatorFactory.c: $(srcdir)/plugins_authenticator_libshotwell_authenticator_la_vala.stamp - @if test -f $@; then :; else rm -f $(srcdir)/plugins_authenticator_libshotwell_authenticator_la_vala.stamp; fi - @if test -f $@; then :; else \ - $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_authenticator_libshotwell_authenticator_la_vala.stamp; \ - fi -$(srcdir)/plugins/authenticator/shotwell/FacebookPublishingAuthenticator.c: $(srcdir)/plugins_authenticator_libshotwell_authenticator_la_vala.stamp - @if test -f $@; then :; else rm -f $(srcdir)/plugins_authenticator_libshotwell_authenticator_la_vala.stamp; fi - @if test -f $@; then :; else \ - $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_authenticator_libshotwell_authenticator_la_vala.stamp; \ - fi -$(srcdir)/plugins/authenticator/shotwell/FlickrPublishingAuthenticator.c: $(srcdir)/plugins_authenticator_libshotwell_authenticator_la_vala.stamp - @if test -f $@; then :; else rm -f $(srcdir)/plugins_authenticator_libshotwell_authenticator_la_vala.stamp; fi - @if test -f $@; then :; else \ - $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_authenticator_libshotwell_authenticator_la_vala.stamp; \ - fi -$(srcdir)/plugins/authenticator/shotwell/GoogleAuthenticator.c: $(srcdir)/plugins_authenticator_libshotwell_authenticator_la_vala.stamp - @if test -f $@; then :; else rm -f $(srcdir)/plugins_authenticator_libshotwell_authenticator_la_vala.stamp; fi - @if test -f $@; then :; else \ - $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_authenticator_libshotwell_authenticator_la_vala.stamp; \ - fi -$(srcdir)/plugins_authenticator_libshotwell_authenticator_la_vala.stamp: plugins/shotwell-plugin-common.vapi plugins/shotwell-plugin-dev-1.0.vapi plugins/authenticator/shotwell/ShotwellAuthenticatorFactory.vala plugins/authenticator/shotwell/FacebookPublishingAuthenticator.vala plugins/authenticator/shotwell/FlickrPublishingAuthenticator.vala plugins/authenticator/shotwell/GoogleAuthenticator.vala - $(AM_V_at)rm -f $@ && echo stamp > $@-t - $(AM_V_VALAC)$(am__cd) $(srcdir) && $(VALAC) $(plugins_authenticator_libshotwell_authenticator_la_VALAFLAGS) $(VALAFLAGS) -C plugins/shotwell-plugin-common.vapi plugins/shotwell-plugin-dev-1.0.vapi plugins/authenticator/shotwell/ShotwellAuthenticatorFactory.vala plugins/authenticator/shotwell/FacebookPublishingAuthenticator.vala plugins/authenticator/shotwell/FlickrPublishingAuthenticator.vala plugins/authenticator/shotwell/GoogleAuthenticator.vala - $(AM_V_at)mv -f $@-t $@ mostlyclean-libtool: -rm -f *.lo @@ -1,3 +1,28 @@ +Shotwell 0.26.3 - 10 Aug 2017 + * Fix missing XML escape in wallpaper.xml file + * Fix missing "Photos" menu content + * Fix missing "find" icon + * Fix build macro for appstream + * Fix data loss/corruption issue when importing from camera + +Bugs fixed in this release: + - https://bugzilla.gnome.org/show_bug.cgi?id=784661 + - https://bugzilla.gnome.org/show_bug.cgi?id=784883 + - https://bugzilla.gnome.org/show_bug.cgi?id=785196 + - https://bugzilla.gnome.org/show_bug.cgi?id=785503 + - https://bugzilla.gnome.org/show_bug.cgi?id=785761 + - (https://github.com/hughsie/appstream-glib), APPDATA_XML has been + +All contributors to this release: + - Jens Georg <mail@jensge.org> + - Mario Blättermann <mario.blaettermann@gmail.com> + - Marek Černocký <marek@manet.cz> + - Brian Masney <masneyb@onstation.org> + +Added/updated translations + - cs, courtesy of Marek Černocký + - de, courtesy of Christian Kirbach + Shotwell 0.26.2 - 1 Jun 2017 * Fix issue when minimizing publishing UI on Unity * Fix browsing on GVFS-mounted file systems @@ -20,97 +20,6 @@ You have another version of autoconf. It may work, but is not guaranteed to. If you have problems, you may need to regenerate the build system entirely. To do so, use the procedure documented by the package, typically 'autoreconf'.])]) -# appdata-xml.m4 -# -# serial 5 - -dnl APPDATA_XML -dnl Installs and validates AppData XML files. -dnl -dnl Call APPDATA_XML in configure.ac to check for the appdata-validate tool. -dnl Add @APPDATA_XML_RULES@ to a Makefile.am to substitute the make rules. Add -dnl .appdata.xml files to appdata_XML in Makefile.am and they will be validated -dnl at make check time, if appdata-validate is installed, as well as installed -dnl to the correct location automatically. Add --enable-appdata-validate to -dnl DISTCHECK_CONFIGURE_FLAGS in Makefile.am to require valid AppData XML when -dnl doing a distcheck. -dnl -dnl Adding files to appdata_XML does not distribute them automatically. - -AU_DEFUN([APPDATA_XML], -[ - m4_pattern_allow([AM_V_GEN]) - AC_ARG_ENABLE([appdata-validate], - [AS_HELP_STRING([--disable-appdata-validate], - [Disable validating AppData XML files during check phase])]) - - AS_IF([test "x$enable_appdata_validate" != "xno"], - [AC_PATH_PROG([APPSTREAM_UTIL], [appstream-util]) - AS_IF([test "x$APPSTREAM_UTIL" = "x"], - [have_appdata_validate=no], - [have_appdata_validate=yes - AC_SUBST([APPSTREAM_UTIL])])], - [have_appdata_validate=no]) - - AS_IF([test "x$have_appdata_validate" != "xno"], - [appdata_validate=yes], - [appdata_validate=no - AS_IF([test "x$enable_appdata_validate" = "xyes"], - [AC_MSG_ERROR([AppData validation was requested but appstream-util was not found])])]) - - AC_SUBST([appdataxmldir], [${datadir}/appdata]) - - APPDATA_XML_RULES=' -.PHONY : uninstall-appdata-xml install-appdata-xml clean-appdata-xml - -mostlyclean-am: clean-appdata-xml - -%.appdata.valid: %.appdata.xml - $(AM_V_GEN) if test -f "$<"; then d=; else d="$(srcdir)/"; fi; \ - if test -n "$(APPSTREAM_UTIL)"; \ - then $(APPSTREAM_UTIL) --nonet validate $${d}$<; fi \ - && touch [$]@ - -check-am: $(appdata_XML:.appdata.xml=.appdata.valid) -uninstall-am: uninstall-appdata-xml -install-data-am: install-appdata-xml - -.SECONDARY: $(appdata_XML) - -install-appdata-xml: $(appdata_XML) - @$(NORMAL_INSTALL) - if test -n "$^"; then \ - test -z "$(appdataxmldir)" || $(MKDIR_P) "$(DESTDIR)$(appdataxmldir)"; \ - $(INSTALL_DATA) $^ "$(DESTDIR)$(appdataxmldir)"; \ - fi - -uninstall-appdata-xml: - @$(NORMAL_UNINSTALL) - @list='\''$(appdata_XML)'\''; test -n "$(appdataxmldir)" || list=; \ - files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \ - test -n "$$files" || exit 0; \ - echo " ( cd '\''$(DESTDIR)$(appdataxmldir)'\'' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(appdataxmldir)" && rm -f $$files - -clean-appdata-xml: - rm -f $(appdata_XML:.appdata.xml=.appdata.valid) -' - _APPDATA_XML_SUBST(APPDATA_XML_RULES) -], -[Use the new APPSTREAM_XML macro instead of APPDATA_XML in configure.ac, and - replace @APPDATA_XML_RULES@ with @APPSTREAM_XML_RULES@, appdata_XML with - appstream_XML and --enable-appdata-validate with --enable-appstream-validate - in Makefile.am]) - -dnl _APPDATA_XML_SUBST(VARIABLE) -dnl Abstract macro to do either _AM_SUBST_NOTMAKE or AC_SUBST -AC_DEFUN([_APPDATA_XML_SUBST], -[ -AC_SUBST([$1]) -m4_ifdef([_AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE([$1])]) -] -) - # Copyright (C) 2002-2014 Free Software Foundation, Inc. # # This file is free software; the Free Software Foundation @@ -1315,6 +1224,7 @@ AC_DEFUN([AM_PROG_VALAC], m4_default([$2], [:]) fi]) +m4_include([m4/appstream-xml.m4]) m4_include([m4/ax_generate_changelog.m4]) m4_include([m4/ax_is_release.m4]) m4_include([m4/ax_require_defined.m4]) diff --git a/app-icons/Makefile.in b/app-icons/Makefile.in index d9848a4..9d76a54 100644 --- a/app-icons/Makefile.in +++ b/app-icons/Makefile.in @@ -90,7 +90,8 @@ build_triplet = @build@ host_triplet = @host@ subdir = app-icons ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/m4/ax_generate_changelog.m4 \ +am__aclocal_m4_deps = $(top_srcdir)/m4/appstream-xml.m4 \ + $(top_srcdir)/m4/ax_generate_changelog.m4 \ $(top_srcdir)/m4/ax_is_release.m4 \ $(top_srcdir)/m4/ax_require_defined.m4 \ $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/gsettings.m4 \ @@ -306,7 +307,7 @@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ -appdataxmldir = @appdataxmldir@ +appstreamxmldir = @appstreamxmldir@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for shotwell 0.26.2. +# Generated by GNU Autoconf 2.69 for shotwell 0.26.3. # # Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=shotwell>. # @@ -650,8 +650,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='shotwell' PACKAGE_TARNAME='shotwell' -PACKAGE_VERSION='0.26.2' -PACKAGE_STRING='shotwell 0.26.2' +PACKAGE_VERSION='0.26.3' +PACKAGE_STRING='shotwell 0.26.3' PACKAGE_BUGREPORT='https://bugzilla.gnome.org/enter_bug.cgi?product=shotwell' PACKAGE_URL='' @@ -698,8 +698,8 @@ am__EXEEXT_TRUE LTLIBOBJS LIBOBJS GLIB_COMPILE_RESOURCES -APPDATA_XML_RULES -appdataxmldir +APPSTREAM_XML_RULES +appstreamxmldir APPSTREAM_UTIL YELP_HELP_RULES XMLLINT @@ -919,7 +919,7 @@ with_aix_soname with_sysroot enable_libtool_lock with_help_dir -enable_appdata_validate +enable_appstream_util ' ac_precious_vars='build_alias host_alias @@ -1502,7 +1502,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures shotwell 0.26.2 to adapt to many kinds of systems. +\`configure' configures shotwell 0.26.3 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1573,7 +1573,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of shotwell 0.26.2:";; + short | recursive ) echo "Configuration of shotwell 0.26.3:";; esac cat <<\_ACEOF @@ -1607,7 +1607,7 @@ Optional Features: --enable-fast-install[=PKGS] optimize for fast installation [default=yes] --disable-libtool-lock avoid locking (might break parallel builds) - --disable-appdata-validate + --disable-appstream-util Disable validating AppData XML files during check phase @@ -1746,7 +1746,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -shotwell configure 0.26.2 +shotwell configure 0.26.3 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2024,7 +2024,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by shotwell $as_me 0.26.2, which was +It was created by shotwell $as_me 0.26.3, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2485,12 +2485,12 @@ MAJOR_VERSION=0 MINOR_VERSION=26 -MICRO_VERSION=2 +MICRO_VERSION=3 API_VERSION=0 -GITVER=4f0174c855ca28b2b1f51e51120333de89edf994 +GITVER=c2d999c39385c7889b191b2b3b15a6b3d334e579 if test "x$GITVER" != "x"; then @@ -2988,7 +2988,7 @@ fi # Define the identity of the package. PACKAGE='shotwell' - VERSION='0.26.2' + VERSION='0.26.3' cat >>confdefs.h <<_ACEOF @@ -17079,13 +17079,13 @@ uninstall-help: - # Check whether --enable-appdata-validate was given. -if test "${enable_appdata_validate+set}" = set; then : - enableval=$enable_appdata_validate; + # Check whether --enable-appstream-util was given. +if test "${enable_appstream_util+set}" = set; then : + enableval=$enable_appstream_util; fi - if test "x$enable_appdata_validate" != "xno"; then : + if test "x$enable_appstream_validate" != "xno"; then : # Extract the first word of "appstream-util", so it can be a program name with args. set dummy appstream-util; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 @@ -17127,31 +17127,31 @@ fi if test "x$APPSTREAM_UTIL" = "x"; then : - have_appdata_validate=no + have_appstream_validate=no else - have_appdata_validate=yes + have_appstream_validate=yes fi else - have_appdata_validate=no + have_appstream_validate=no fi - if test "x$have_appdata_validate" != "xno"; then : - appdata_validate=yes + if test "x$have_appstream_validate" != "xno"; then : + appstream_validate=yes else - appdata_validate=no - if test "x$enable_appdata_validate" = "xyes"; then : + appstream_validate=no + if test "x$enable_appstream_validate" = "xyes"; then : as_fn_error $? "AppData validation was requested but appstream-util was not found" "$LINENO" 5 fi fi - appdataxmldir=${datadir}/appdata + appstreamxmldir=${datadir}/appdata - APPDATA_XML_RULES=' -.PHONY : uninstall-appdata-xml install-appdata-xml clean-appdata-xml + APPSTREAM_XML_RULES=' +.PHONY : uninstall-appstream-xml install-appstream-xml clean-appstream-xml -mostlyclean-am: clean-appdata-xml +mostlyclean-am: clean-appstream-xml %.appdata.valid: %.appdata.xml $(AM_V_GEN) if test -f "$<"; then d=; else d="$(srcdir)/"; fi; \ @@ -17159,29 +17159,29 @@ mostlyclean-am: clean-appdata-xml then $(APPSTREAM_UTIL) --nonet validate $${d}$<; fi \ && touch $@ -check-am: $(appdata_XML:.appdata.xml=.appdata.valid) -uninstall-am: uninstall-appdata-xml -install-data-am: install-appdata-xml +check-am: $(appstream_XML:.appdata.xml=.appdata.valid) +uninstall-am: uninstall-appstream-xml +install-data-am: install-appstream-xml -.SECONDARY: $(appdata_XML) +.SECONDARY: $(appstream_XML) -install-appdata-xml: $(appdata_XML) +install-appstream-xml: $(appstream_XML) @$(NORMAL_INSTALL) if test -n "$^"; then \ - test -z "$(appdataxmldir)" || $(MKDIR_P) "$(DESTDIR)$(appdataxmldir)"; \ - $(INSTALL_DATA) $^ "$(DESTDIR)$(appdataxmldir)"; \ + test -z "$(appstreamxmldir)" || $(MKDIR_P) "$(DESTDIR)$(appstreamxmldir)"; \ + $(INSTALL_DATA) $^ "$(DESTDIR)$(appstreamxmldir)"; \ fi -uninstall-appdata-xml: +uninstall-appstream-xml: @$(NORMAL_UNINSTALL) - @list='\''$(appdata_XML)'\''; test -n "$(appdataxmldir)" || list=; \ + @list='\''$(appstream_XML)'\''; test -n "$(appstreamxmldir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \ test -n "$$files" || exit 0; \ - echo " ( cd '\''$(DESTDIR)$(appdataxmldir)'\'' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(appdataxmldir)" && rm -f $$files + echo " ( cd '\''$(DESTDIR)$(appstreamxmldir)'\'' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(appstreamxmldir)" && rm -f $$files -clean-appdata-xml: - rm -f $(appdata_XML:.appdata.xml=.appdata.valid) +clean-appstream-xml: + rm -f $(appstream_XML:.appdata.xml=.appdata.valid) ' @@ -17761,7 +17761,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by shotwell $as_me 0.26.2, which was +This file was extended by shotwell $as_me 0.26.3, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -17827,7 +17827,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -shotwell config.status 0.26.2 +shotwell config.status 0.26.3 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff --git a/configure.ac b/configure.ac index 9d4c907..393ccf1 100644 --- a/configure.ac +++ b/configure.ac @@ -6,7 +6,7 @@ dnl Define Versioning Information dnl *********************************************************************** m4_define([major_version],[0]) m4_define([minor_version],[26]) -m4_define([micro_version],[2]) +m4_define([micro_version],[3]) m4_define([package_version],[major_version.minor_version.micro_version]) m4_define([bug_report_url],[https://bugzilla.gnome.org/enter_bug.cgi?product=shotwell]) m4_define([api_version],[major_version]) @@ -256,8 +256,8 @@ YELP_HELP_INIT dnl *********************************************************************** dnl AppData support dnl *********************************************************************** -AX_REQUIRE_DEFINED([APPDATA_XML]) -APPDATA_XML +AX_REQUIRE_DEFINED([APPSTREAM_XML]) +APPSTREAM_XML dnl *********************************************************************** dnl GResource compiler diff --git a/help/Makefile.in b/help/Makefile.in index 6ad66d0..4c1b00d 100644 --- a/help/Makefile.in +++ b/help/Makefile.in @@ -92,7 +92,8 @@ build_triplet = @build@ host_triplet = @host@ subdir = help ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/m4/ax_generate_changelog.m4 \ +am__aclocal_m4_deps = $(top_srcdir)/m4/appstream-xml.m4 \ + $(top_srcdir)/m4/ax_generate_changelog.m4 \ $(top_srcdir)/m4/ax_is_release.m4 \ $(top_srcdir)/m4/ax_require_defined.m4 \ $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/gsettings.m4 \ @@ -300,7 +301,7 @@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ -appdataxmldir = @appdataxmldir@ +appstreamxmldir = @appstreamxmldir@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ diff --git a/help/de/de.po b/help/de/de.po index 8bd848e..0a01998 100644 --- a/help/de/de.po +++ b/help/de/de.po @@ -3,13 +3,13 @@ # This file is distributed under the same license as the shotwell package. # Christian Kirbach <Christian.Kirbach@gmail.com>, 2015, 2016. # Benjamin Steinwender <b@stbe.at>, 2015. -# Mario Blättermann <mario.blaettermann@gmail.com>, 2016. +# Mario Blättermann <mario.blaettermann@gmail.com>, 2016, 2017. # msgid "" msgstr "" "Project-Id-Version: shotwell shotwell-0.20\n" -"POT-Creation-Date: 2016-09-23 00:32+0000\n" -"PO-Revision-Date: 2016-09-25 11:04+0200\n" +"POT-Creation-Date: 2017-07-08 06:22+0000\n" +"PO-Revision-Date: 2017-08-04 21:21+0200\n" "Last-Translator: Christian Kirbach <christian.kirbach@gmail.com>\n" "Language-Team: German <gnome-de@gnome.org>\n" "Language: de\n" @@ -17,7 +17,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: Poedit 1.8.9\n" +"X-Generator: Poedit 2.0.2\n" #. Put one translator per line, in the form NAME <EMAIL>, YEAR1, YEAR2 msgctxt "_" @@ -25,7 +25,7 @@ msgid "translator-credits" msgstr "" "Mario Blättermann <mario.blaettermann@gmail.com>, 2009, 2016\n" "Benjamin Steinwender <b@stbe.at>, 2014-2015\n" -"Christian Kirbach <christian.kirbach@gmail.com>, 2014, 2106" +"Christian Kirbach <christian.kirbach@gmail.com>, 2014, 2016, 2017" #. (itstool) path: info/desc #: C/edit-adjustments.page:7 @@ -173,17 +173,6 @@ msgstr "" "Fotos verändern. Insbesondere ausgewaschen erscheinende Bilder werden von " "diesen Einstellungen profitieren." -#. (itstool) path: media -#. This is a reference to an external file such as an image or video. When -#. the file changes, the md5 hash will change to let you know you need to -#. update your localized copy. The msgstr is not used at all. Set it to -#. whatever you like once you have updated your copy of the file. -#: C/edit-crop.page:42 -msgctxt "_" -msgid "" -"external ref='figures/crop_thirds.jpg' md5='4cf0a026bb812c7eab0c9db8210a9524'" -msgstr "original" - #. (itstool) path: info/desc #: C/edit-crop.page:7 msgid "Improve the composition of a photo by cutting out parts of it." @@ -323,6 +312,17 @@ msgstr "" "Das Zuschneiden eines Fotos so, dass die Bildobjekte der Drittelregel " "folgen, führt oft zu einem optisch ansprechenderen Bild." +#. (itstool) path: section/media +#. This is a reference to an external file such as an image or video. When +#. the file changes, the md5 hash will change to let you know you need to +#. update your localized copy. The msgstr is not used at all. Set it to +#. whatever you like once you have updated your copy of the file. +#: C/edit-crop.page:42 +msgctxt "_" +msgid "" +"external ref='figures/crop_thirds.jpg' md5='4cf0a026bb812c7eab0c9db8210a9524'" +msgstr "original" + #. (itstool) path: media/p #: C/edit-crop.page:43 msgid "" @@ -679,6 +679,10 @@ msgid "" "adjust, choose <guiseq><gui>Photos</gui><gui>Adjust Date and Time...</gui></" "guiseq> and select a new date and time." msgstr "" +"Wählen Sie die Fotos zum Anpassen aus und dann <guiseq><gui>Fotos</" +"gui><gui>Datum und Zeit anpassen …</gui></guiseq>, um Datum und Zeit der " +"gewählten Fotos anzupassen. Wählen Sie anschließend ein neues Datum und eine " +"neue Zeit." #. (itstool) path: page/p #: C/edit-date-time.page:16 @@ -687,6 +691,9 @@ msgid "" "choose to shift all the photos by the same amount of time or to set all the " "photos to the same time." msgstr "" +"Wenn Sie Datum und Zeit von mehreren Fotos gleichzeitig anpassen, so können " +"Sie entweder alle Fotos auf die gleiche Zeit setzen oder bei allen Fotos die " +"Zeit um den gleichen Betrag verschieben." #. (itstool) path: page/p #: C/edit-date-time.page:18 @@ -695,11 +702,16 @@ msgid "" "choose to modify the date and time in the original file, but this cannot be " "undone once you exit Shotwell." msgstr "" +"Normalerweise werden Datum und Zeit nur innerhalb von Shotwell geändert. Sie " +"können aber auch Datum und Zeit in der Originaldatei ändern. Dies kann " +"jedoch nicht mehr rückgängig gemacht werden, nachdem Sie Shotwell beendet " +"haben." #. (itstool) path: info/desc #: C/edit-undo.page:7 msgid "Return a photo to its original, unedited form." msgstr "" +"Ein Foto in seinen ursprünglichen, unbearbeiteten Zustand zurückversetzen." #. (itstool) path: page/title #: C/edit-undo.page:14 @@ -748,6 +760,9 @@ msgid "" "raw\">RAW</link> photo files. Shotwell does not yet support other graphics " "format such as GIF." msgstr "" +"Shotwell unterstützt JPEG, PNG, TIFF, BMP und <link type=\"guide\" xref=" +"\"other-raw\">RAW</link>-Fotodateien. Andere Grafikformate, wie " +"beispielsweise GIF, unterstützt Shotwell noch nicht." #. (itstool) path: page/p #: C/formats.page:16 @@ -758,6 +773,12 @@ msgid "" "- you can only export edited photos as 8-bit files. All supported formats " "can be used for export (JPEG, PNG, TIFF, BMP)." msgstr "" +"Die Unterstützung des RAW-Formats in Shotwell ist derzeit eingeschränkt. " +"Wenn Sie ein RAW-Foto betrachten, sehen Sie tatsächlich ein JPEG-Bild, das " +"aus dem RAW-Foto abgeleitet wurde, und nicht das tatsächliche RAW-Bild. " +"Darüber hinaus sind die Bearbeitungsschritte nicht vollständig in 16 Bit. " +"Bearbeitete Fotos werden nur als 8-Bit-Dateien exportiert. Alle " +"unterstützten Formate können exportiert werden (JPEG, PNG, TIFF, BMP)." #. (itstool) path: page/p #: C/formats.page:18 @@ -765,6 +786,8 @@ msgid "" "For more information about RAW-format photos in Shotwell, please see the " "<link type=\"guide\" xref=\"other-raw\">RAW</link> section." msgstr "" +"Für weiterführende Informationen über Fotos im RAW-Format in Shotwell lesen " +"Sie bitte den Abschnitt <link type=\"guide\" xref=\"other-raw\">RAW</link>." #. (itstool) path: page/p #: C/formats.page:22 @@ -773,6 +796,9 @@ msgid "" "media library on the system where Shotwell is running. This typically " "includes the following formats among others:" msgstr "" +"Shotwell unterstützt Video-Dateien in jedem Format, das auch von der " +"GStreamer Medienbibliothek auf dem System unterstützt wird, auf dem Shotwell " +"ausgeführt wird. Typischerweise zählen dazu unter anderen folgende Formate:" #. (itstool) path: item/p #: C/formats.page:25 @@ -790,6 +816,7 @@ msgstr "" "einige Betriebssysteme aufgrund von gesetzlichen oder Lizenzbestimmungen " "eventuell nicht alle hier aufgeführten Codecs unterstützen.</em>" +# Flag und Tag sind bisher gleichübersetzt #. (itstool) path: page/p #: C/formats.page:30 msgid "" @@ -799,6 +826,11 @@ msgid "" "flagging, rating, tagging, and publishing work both for photos and for " "videos." msgstr "" +"Shotwell unterstützt sowohl Fotos als auch Videos. Zur Vereinfachung " +"verwendet dieses Handbuch überwiegend nur den Begriff »Foto« für beides. " +"Viele Vorgänge in Shotwell funktionieren sowohl mit Fotos als auch mit " +"Videos. Ereignisse, Markierungen, Bewertungen und Veröffentlichung " +"funktionieren sowohl mit Fotos als auch mit Videos." #. (itstool) path: info/desc #: C/import-camera.page:7 @@ -840,6 +872,10 @@ msgid "" "hold down the <key>Ctrl</key> key and click to select individual photos. You " "can hold down <key>Shift</key> and click to select a range of photos too." msgstr "" +"Auf Wunsch können Sie eine Gruppe bestimmter Fotos zum Importieren " +"auswählen. Halten Sie dazu die <key>Strg</key>-Taste gedrückt und wählen Sie " +"anschließend die einzelnen Fotos aus. Halten Sie die <key>Umschalttaste</" +"key> gedrückt, um eine Reihe aufeinander folgender Fotos auszuwählen." #. (itstool) path: item/p #: C/import-camera.page:28 @@ -847,6 +883,9 @@ msgid "" "Click either <gui>Import Selected</gui> or <gui>Import All</gui>. The photos " "will be copied from the camera and saved on your computer." msgstr "" +"Klicken Sie auf <gui>Auswahl importieren</gui> oder <gui>Alles importieren</" +"gui>. Die Fotos werden daraufhin aus der Kamera kopiert und auf Ihrem " +"Rechner gespeichert." #. (itstool) path: page/p #: C/import-camera.page:32 @@ -855,6 +894,10 @@ msgid "" "(in the sidebar) to see all photos that were imported. The Events list (also " "in the sidebar) will also show the new photos, organized by date." msgstr "" +"Sobald der Import abgeschlossen ist, öffnen Sie in der Seitenleiste die " +"Ansicht <gui>Letzter Import</gui>, um alle importierten Fotos zu sehen. Die " +"Ereignisliste in der Seitenleiste zeigt daraufhin auch alle neuen Fotos nach " +"Datum kategorisiert." #. (itstool) path: info/desc #: C/import-file.page:7 @@ -892,6 +935,9 @@ msgid "" "folder (usually this is the <file>Pictures</file> folder in your home " "directory) or to import them in place without copying the files." msgstr "" +"Shotwell fragt, ob Sie die Fotodateien in Ihren Bibliotheksordner " +"(normalerweise der Ordner <file>Bilder</file> in Ihrem persönlichen Ordner) " +"kopieren möchten, oder ob Sie sie ohne Kopieren importieren wollen." #. (itstool) path: page/p #: C/import-file.page:20 @@ -901,6 +947,11 @@ msgid "" "you hold down <keyseq><key>Ctrl</key><key>Shift</key></keyseq> while " "dragging photos in, Shotwell will import the photos without copying them." msgstr "" +"Wenn Sie die <key>Strg</key>-Taste während des Ziehens von Fotos gedrückt " +"halten, so kopiert Shotwell ohne Nachfrage die Fotos in Ihre Bibliothek. " +"Wenn Sie <keyseq><key>Strg</key><key>Umschalttaste</key></keyseq> während " +"des Ziehens von Fotos gedrückt halten, so importiert Shotwell die Fotos ohne " +"Nachfrage." #. (itstool) path: page/p #: C/import-file.page:22 @@ -909,6 +960,10 @@ msgid "" "sidebar to see all photos successfully imported. The Events list will also " "show new entries for the dates corresponding to the imported photos." msgstr "" +"Sobald der Import abgeschlossen ist, wählen Sie <gui>Letzter Import</gui> in " +"der Seitenleiste, um alle erfolgreich importierten Fotos zu sehen. Die " +"Ereignisliste zeigt auch neue Einträge für die importierten Fotos mit den " +"zugehörigen Zeitstempeln." #. (itstool) path: info/desc #: C/import-f-spot.page:7 @@ -998,6 +1053,10 @@ msgid "" "Folder...</gui></guiseq>, the memory card should be visible as a folder in " "the side bar of the file selection window." msgstr "" +"Folgen Sie den Anweisungen zum <link xref=\"import-file\">Importieren von " +"Fotos von Ihrer Festplatte</link>. Wenn Sie <guiseq><gui>Datei</gui><gui>Aus " +"Ordner importieren …</gui></guiseq> wählen, sollte die Speicherkarte als " +"Ordner in der Seitenleiste des Dateiauswahlfensters sichtbar sein." #. (itstool) path: page/p #: C/import-memorycard.page:28 @@ -1023,18 +1082,6 @@ msgstr "" "importieren, indem Sie die <link xref=\"import-camera\">Kamera direkt an den " "Rechner anschließen</link>." -#. (itstool) path: media -#. This is a reference to an external file such as an image or video. When -#. the file changes, the md5 hash will change to let you know you need to -#. update your localized copy. The msgstr is not used at all. Set it to -#. whatever you like once you have updated your copy of the file. -#: C/index.page:23 -msgctxt "_" -msgid "" -"external ref='figures/shotwell_logo.png' " -"md5='4b333499555b4e496b1a38f7899067f3'" -msgstr "original" - #. (itstool) path: info/title #: C/index.page:6 msgctxt "link" @@ -1072,6 +1119,18 @@ msgstr "Peter Smith" msgid "Phil Bull" msgstr "Phil Bull" +#. (itstool) path: title/media +#. This is a reference to an external file such as an image or video. When +#. the file changes, the md5 hash will change to let you know you need to +#. update your localized copy. The msgstr is not used at all. Set it to +#. whatever you like once you have updated your copy of the file. +#: C/index.page:23 +msgctxt "_" +msgid "" +"external ref='figures/shotwell_logo.png' " +"md5='4b333499555b4e496b1a38f7899067f3'" +msgstr "original" + #. (itstool) path: page/title #: C/index.page:23 msgid "" @@ -1133,6 +1192,9 @@ msgid "" "time. When you import photos, Shotwell checks when each photo was taken. It " "then groups the photos into events." msgstr "" +"Ein Ereignis kennzeichnet eine Gruppe von Fotos, die etwa zur gleichen Zeit " +"aufgenommen wurden. Beim Importieren von Fotos prüft Shotwell die " +"Aufnahmezeitpunkte und gruppiert die Fotos in Ereignissen." #. (itstool) path: page/p #: C/organize-event.page:16 @@ -1142,6 +1204,11 @@ msgid "" "be displayed in the main window. Double-click an event to see all the photos " "that were taken around that time." msgstr "" +"Wählen Sie <gui>Ereignisse</gui> in der Seitenleiste, um Ihre Fotos nach " +"Datum sortieren zu lassen. Wenn Sie in der Seitenleiste einen Monat oder ein " +"Jahr auswählen, wird eine Liste der Ereignisse im Hauptfenster angezeigt. " +"Durch Doppelklick auf ein Ereignis sehen Sie alle Fotos, die um diesen " +"Zeitpunkt herum aufgenommen wurden." #. (itstool) path: page/p #: C/organize-event.page:18 @@ -1151,6 +1218,11 @@ msgid "" "the <gui>No Event</gui> view accessible from the sidebar. You can still move " "the photo to any event you like as described below." msgstr "" +"Falls ein Foto nicht über eingebettete Informationen zu Datum und Zeit " +"verfügt, kann Shotwell es nicht automatisch in einem Ereignis ablegen. In " +"diesem Fall erscheint es in der Ansicht <gui>Ereignislos</gui>, die über die " +"Seitenleiste erreichbar ist. Sie können das Foto dennoch zu einem beliebigen " +"Ereignis hinzufügen, wie nachfolgend beschrieben." #. (itstool) path: section/title #: C/organize-event.page:25 @@ -1165,6 +1237,11 @@ msgid "" "and enter a new name. Another way of renaming an event is to double-click " "its name in the sidebar; type a new name and then press <key>Enter</key>." msgstr "" +"Zum Benennen eines Ereignisses wählen Sie das entsprechende Ereignis aus und " +"wählen Sie dann <guiseq><gui>Ereignisse</gui><gui>Ereignis umbenennen …</" +"gui></guiseq> und geben Sie einen neuen Namen ein. Alternativ klicken Sie " +"zum Umbenennen zweimal auf den Namen in der Seitenleiste, geben Sie den " +"neuen Namen ein und drücken anschließend die <key>Eingabetaste</key>." #. (itstool) path: section/title #: C/organize-event.page:31 @@ -1178,6 +1255,9 @@ msgid "" "move photos between events. To do this, drag any photo to the sidebar and " "drop it on an event." msgstr "" +"Obwohl Fotos anfänglich anhand deren Zeitstempeln in Ereignisse eingeordnet " +"werden, können Sie sie zwischen Ereignissen verschieben. Ziehen Sie dazu ein " +"beliebiges Foto in die Seitenleiste und legen Sie es auf einem Ereignis ab." #. (itstool) path: section/title #: C/organize-event.page:37 @@ -1190,6 +1270,8 @@ msgid "" "To create a new event, select the photos you would like in the new event and " "click <guiseq><gui>Events</gui><gui>New Event</gui></guiseq>." msgstr "" +"Um ein neues Ereignis zu erstellen, wählen Sie die gewünschten Fotos aus und " +"wählen Sie <guiseq><gui>Ereignisse</gui><gui>Neues Ereignis</gui></guiseq>." #. (itstool) path: section/p #: C/organize-event.page:39 @@ -1199,6 +1281,11 @@ msgid "" "merge in the main window area. Finally, click <guiseq><gui>Events</" "gui><gui>Merge Events</gui></guiseq>." msgstr "" +"Wählen Sie zum Zusammenlegen von Ereignissen den Punkt " +"<guiseq><gui>Ereignisse</gui></guiseq> in der Seitenleiste. Halten Sie " +"anschließend <key>Strg</key> gedrückt und klicken Sie auf diejenigen " +"Ereignisse, die Sie zusammenführen wollen. Wählen Sie abschließend " +"<guiseq><gui>Ereignisse</gui><gui>Ereignisse zusammenführen</gui></guiseq>." #. (itstool) path: section/title #: C/organize-event.page:43 @@ -1217,7 +1304,7 @@ msgstr "" #. (itstool) path: section/title #: C/organize-event.page:51 msgid "Change the photo used to represent each event" -msgstr "" +msgstr "Das Foto ändern, welches das Ereignis repräsentiert" #. (itstool) path: section/p #: C/organize-event.page:53 @@ -1225,6 +1312,9 @@ msgid "" "If you select the <gui>Events</gui> item in the sidebar, you'll see a single " "photo which represents each event. This is called the key photo." msgstr "" +"Wenn Sie den Menüpunkt <gui>Ereignisse</gui> in der Seitenleiste wählen, so " +"wird für jedes Ereignis ein einzelnes Foto angezeigt. Dieses wird Hauptfoto " +"genannt." #. (itstool) path: section/p #: C/organize-event.page:55 @@ -1290,6 +1380,8 @@ msgid "" "Give photos a rating between 1 and 5 stars. You can reject bad photos, " "hiding them from view." msgstr "" +"Geben Sie Ihren Fotos eine Bewertung zwischen einem und fünf Sternen. Sie " +"können schlechte Fotos ablehnen, wodurch sie in der Ansicht verborgen werden." #. (itstool) path: page/title #: C/organize-rating.page:12 @@ -1302,11 +1394,16 @@ msgid "" "You can assign each photo a rating from 1-5 stars, or may alternatively rate " "it as Rejected, in which case Shotwell will hide the photo by default." msgstr "" +"Sie können jedem Foto eine Bewertung zwischen einem und fünf Sternen " +"zuweisen oder es alternativ als abgelehnt markieren, wodurch Shotwell dieses " +"Foto in der Voreinstellung nicht mehr anzeigt." #. (itstool) path: page/p #: C/organize-rating.page:15 msgid "You can rate a photo or a set of photos in any of these ways:" msgstr "" +"Sie bewerten ein Foto oder eine Gruppe von Fotos auf eine der folgenden " +"Weisen:" #. (itstool) path: item/p #: C/organize-rating.page:18 @@ -1314,6 +1411,8 @@ msgid "" "Select the photo(s), then choose a rating from the top-level " "<guiseq><gui>Photos</gui><gui>Set Rating</gui></guiseq> menu." msgstr "" +"Wählen Sie das Foto oder die Fotos aus, und wählen Sie dann eine Bewertung " +"im Menü <guiseq><gui>Fotos</gui><gui>Bewerten</gui></guiseq>." #. (itstool) path: item/p #: C/organize-rating.page:19 @@ -1321,6 +1420,8 @@ msgid "" "Right-click on the photo(s), then choose a rating from the Set Rating " "context menu." msgstr "" +"Klicken Sie mit der rechten Maustaste auf das Foto oder die Fotogruppe und " +"wählen Sie dann eine Bewertung im Kontextmenü »Bewerten«." #. (itstool) path: item/p #: C/organize-rating.page:20 @@ -1330,6 +1431,10 @@ msgid "" "Or press <key>9</key> to mark the photo(s) as rejected or <key>0</key> to " "clear the rating(s)." msgstr "" +"Wählen Sie das Fotos oder die Fotogruppe aus und drücken Sie dann eine der " +"Tasten key>1</key>, <key>2</key>, <key>3</key>, <key>4</key> oder <key>5</" +"key>, um eine Bewertung zu geben. Drücken Sie <key>9</key>, um das Foto oder " +"die Gruppe abzuweisen. Drücken Sie <key>0</key>, um die Bewertung zu löschen." #. (itstool) path: page/p #: C/organize-rating.page:23 @@ -1341,6 +1446,14 @@ msgid "" "rejected. The Shotwell icon on the toolbar displays the current rating " "filter and can also be used to set the filter." msgstr "" +"Normalerweise zeigt Shotwell alle bis auf die abgelehnten Fotos an. Sie " +"können im Menü <guiseq><gui>Ansicht</gui><gui>Fotos filtern</gui></guiseq> " +"eine andere Filterung der Bewertungen festlegen. Beispielsweise können Sie " +"nur Fotos anzeigen, die mit 3 Sternen oder höher bewertet sind, oder auch " +"jene Fotos in der Anzeige erscheinen lassen, die als abgelehnt markiert " +"sind. Das Shotwell-Symbol in der Werkzeugleiste zeigt den aktuellen " +"Bewertungsfilter an und kann auch zum Einrichten des Filters verwendet " +"werden." #. (itstool) path: page/p #: C/organize-rating.page:26 @@ -1359,28 +1472,16 @@ msgid "" "<key><</key> and <key>></key>." msgstr "" -#. (itstool) path: media -#. This is a reference to an external file such as an image or video. When -#. the file changes, the md5 hash will change to let you know you need to -#. update your localized copy. The msgstr is not used at all. Set it to -#. whatever you like once you have updated your copy of the file. -#: C/organize-remove.page:15 -msgctxt "_" -msgid "" -"external ref='figures/trash_process.png' " -"md5='ed596bda34c2f4a79a310fbc8bb51fd2'" -msgstr "" - #. (itstool) path: info/desc #: C/organize-remove.page:7 msgid "" "Remove photos from the library, or delete them from your computer entirely." -msgstr "" +msgstr "Fotos aus der Bibliothek entfernen oder ganz vom Rechner löschen." #. (itstool) path: page/title #: C/organize-remove.page:12 msgid "Removing and deleting photos" -msgstr "" +msgstr "Fotos entfernen und löschen" #. (itstool) path: page/p #: C/organize-remove.page:14 @@ -1388,11 +1489,25 @@ msgid "" "You may remove photos from your library and you may additionally delete them " "entirely from your hard disk." msgstr "" +"Sie können Fotos aus Ihrer Bibliothek entfernen und diese zusätzlich " +"vollständig von der Festplatte löschen." + +#. (itstool) path: page/media +#. This is a reference to an external file such as an image or video. When +#. the file changes, the md5 hash will change to let you know you need to +#. update your localized copy. The msgstr is not used at all. Set it to +#. whatever you like once you have updated your copy of the file. +#: C/organize-remove.page:15 +msgctxt "_" +msgid "" +"external ref='figures/trash_process.png' " +"md5='ed596bda34c2f4a79a310fbc8bb51fd2'" +msgstr "" #. (itstool) path: page/media #: C/organize-remove.page:15 msgid "Delete process" -msgstr "" +msgstr "Löschvorgang" #. (itstool) path: page/p #: C/organize-remove.page:16 @@ -1402,6 +1517,11 @@ msgid "" "computer's trash. If you delete it from your computer's trash the photo is " "finally and irretrievably deleted from your computer." msgstr "" +"Das Diagramm zeigt, wie ein Foto beim Löschen zunächst in den Shotwell-" +"eigenen Papierkorb verschoben wird. Wenn Sie es aus dem Papierkorb " +"entfernen, wird es in den systemeigenen Papierkorb verschoben. Sobald Sie es " +"aus diesem globalen Papierkorb entfernen, wird es unwiderruflich und " +"endgültig von Ihrem Rechner entfernt." #. (itstool) path: section/title #: C/organize-remove.page:18 @@ -1415,6 +1535,10 @@ msgid "" "Trash</gui></guiseq>. (You can also press the <key>Delete</key> key.) The " "photos will be moved from your library to Shotwell's Trash." msgstr "" +"Wählen Sie die zu entfernenden Fotos aus udn wählen Sie " +"<guiseq><gui>Bearbeiten</gui><gui>In den Papierkorb verschieben</gui></" +"guiseq> oder drücken Sie die <key>Löschtaste</key>. Die Fotos werden aus " +"Ihrer Bibliothek in den Shotwell-eigenen Papierkorb verschoben." #. (itstool) path: section/p #: C/organize-remove.page:22 @@ -1424,6 +1548,11 @@ msgid "" "<guiseq><gui>Edit</gui><gui>Remove From Library</gui></guiseq>. The photo " "files will be left in place on disk." msgstr "" +"Wenn Sie Fotos aus Shotwell entfernen und dabei den Papierkorb umgehen " +"wollen, wählen Sie einfach die zu entfernenden Fotos aus und wählen Sie " +"<guiseq><gui>Bearbeiten</gui><gui>Aus der Bibliothek entfernen</gui></" +"guiseq>. Die eigentlichen Fotodateien auf Ihrer Festplatte bleiben dabei " +"erhalten." #. (itstool) path: section/title #: C/organize-remove.page:26 @@ -1437,6 +1566,9 @@ msgid "" "that have been marked for removal or deletion. In the Trash view, the " "following commands are available:" msgstr "" +"Wählen Sie den Papierkorb-Eintrag in der Seitenleiste aus. Dadurch zeigt " +"Shotwell alle Fotos an, die zum Entfernen oder Löschen markiert wurden. In " +"der Papierkorb-Ansicht haben Sie folgende Möglichkeiten:" #. (itstool) path: item/title #: C/organize-remove.page:29 @@ -1577,6 +1709,8 @@ msgid "" "Disabling the search bar or exiting Shotwell automatically resets the search " "bar." msgstr "" +"Durch Deaktivieren der Suchleiste oder Beenden von Shotwell wird die " +"Suchleiste automatisch zurückgesetzt." #. (itstool) path: section/title #: C/organize-search.page:44 @@ -1589,6 +1723,9 @@ msgid "" "A saved search persists across Shotwell sessions, and is updated as photos " "and videos are added and removed from your Shotwell library." msgstr "" +"Eine gespeicherte Suche bleibt auch für eine spätere Shotwell-Sitzung " +"erhalten. Sie wird durch Hinzufügen und Entfernen von Fotos und Videos zur " +"beziehungsweise aus der Shotwell-Bibliothek aktualisiert." #. (itstool) path: section/p #: C/organize-search.page:50 @@ -1625,6 +1762,9 @@ msgid "" "You can assign one or more tags to selected photos. A tag can be one or more " "words that you want to associate with those photos." msgstr "" +"Sie können den ausgewählten Fotos eines oder mehrere Stichworte zuweisen. " +"Ein Stichwort kann aus einem oder mehreren Wörtern bestehen, die Sie mit " +"diesen Fotos verbinden." #. (itstool) path: page/p #: C/organize-tag.page:22 @@ -1632,6 +1772,8 @@ msgid "" "To add new tags to photos, select the photos you would like to tag, then do " "any of the following:" msgstr "" +"Um neue Stichworte zu Fotos hinzuzufügen, wählen Sie zunächst die " +"gewünschten Fotos aus. Auf folgende Weise können Sie nun Stichworte zuweisen:" #. (itstool) path: item/p #: C/organize-tag.page:28 @@ -1654,7 +1796,6 @@ msgstr "" #. (itstool) path: page/p #: C/organize-tag.page:33 -#, fuzzy msgid "" "When you use <keyseq><key>Ctrl</key><key>T</key></keyseq> or " "<guiseq><gui>Tags</gui><gui>Add Tags...</gui></guiseq> you can type in the " @@ -1665,12 +1806,14 @@ msgid "" "tag in the sidebar." msgstr "" "Wenn Sie <keyseq><key>Strg</key><key>T</key></keyseq> oder " -"<guiseq><gui>Stichworte</gui><gui>Stichworte hinzufügen...</gui></guiseq> " -"you can type in the names of one or more tags, separated by commas. Once you " -"have created a tag, you can rename it by selecting that tag in the sidebar " -"and choosing <guiseq><gui>Stichworte</gui><gui>Rename Tag \"[name]\"...</" -"gui></guiseq>, by rightclicking on it and choose <gui>Rename...</gui> or " -"double-click on the tag in the sidebar." +"<guiseq><gui>Stichworte</gui><gui>Stichworte hinzufügen …</gui></guiseq> " +"verwenden, so geben Sie anschließend ein oder mehrere Stichworte durch " +"Kommata getrennt ein. Sofern Sie ein Stichwort erstellt haben, so benennen " +"Sie es um, indem Sie es in der Seitenleiste auswählen und entweder " +"<guiseq><gui>Stichworte</gui><gui>Stichwort »[Wort]« umbenennen …</gui></" +"guiseq> wählen, oder mit der rechten Maustaste darauf klicken und " +"<gui>Umbenennen …</gui> wählen, oder wenn Sie zweimal auf das Stichwort in " +"der Seitenleiste klicken." #. (itstool) path: page/p #: C/organize-tag.page:44 @@ -1695,21 +1838,17 @@ msgstr "" #. (itstool) path: page/p #: C/organize-tag.page:64 -#, fuzzy -#| msgid "" -#| "The <gui>Tags</gui> folder lists all tags you've assigned to photos. " -#| "Photos can have multiple tags attached to them. When you click on the " -#| "name of a tag in the sidebar, you will see all the photos associated with " -#| "that tag." msgid "" "When you create a tag, it will appear in the sidebar under the <gui>Tags</" "gui> item, which is hidden if there are no tags. Photos can have multiple " "tags attached to them, and when you click on the name of a given tag in the " "sidebar, you will see all the photos associated with that tag." msgstr "" -"Der Ordner <gui>Markierungen</gui> listet alle markierten Fotos auf. Fotos " -"können mehrfach markiert sein. Klicken Sie auf den Namen einer Markierung in " -"der Seitenleiste, um alle mit der entsprechenden Markierung zu sehen." +"Wenn Sie ein neues Stichwort anlegen, so erscheint es in der Seitenleiste " +"unter <gui>Stichworte</gui>, was nur bei bestehenden Stichworten dargestellt " +"wird. Fotos können mit mehreren Stichworten verknüpft sein. Wenn Sie auf ein " +"Stichwort in der Seitenleiste klicken, so erscheinen daraufhin alle Fotos, " +"die mit diesem Stichwort verknüpft sind." #. (itstool) path: section/title #: C/organize-tag.page:73 @@ -1741,7 +1880,7 @@ msgstr "" #. (itstool) path: info/desc #: C/organize-title.page:7 msgid "Give titles to your photos." -msgstr "Betiteln Ihrer Fotos" +msgstr "Betiteln Ihrer Fotos." #. (itstool) path: page/title #: C/organize-title.page:12 @@ -1755,6 +1894,9 @@ msgid "" "display of titles beneath each photo. By default, a photo's title is its " "filename." msgstr "" +"Das Ankreuzfeld in <guiseq><gui>Ansicht</gui><gui>Titel</gui></guiseq> " +"schaltet die Anzeige von Titeln neben jedem Foto an oder aus. In der " +"Voreinstellung wird der Dateiname als Titel des Fotos verwendet." #. (itstool) path: page/p #: C/organize-title.page:17 @@ -1770,6 +1912,8 @@ msgstr "" #: C/other-files.page:7 msgid "Keep the Shotwell library in sync with photo files on disk." msgstr "" +"Halten Sie die Shotwell-Bibliothek auf dem gleichen Stand wie die Fotos auf " +"Ihrer Festplatte." #. (itstool) path: page/title #: C/other-files.page:12 @@ -1783,6 +1927,9 @@ msgid "" "hard disk. Shotwell has several features which help you keep the Shotwell " "library and files on disk in sync." msgstr "" +"Jedes Foto in der Shotwell-Bibliothek entspricht einer auf Ihrer Festplatte " +"gespeicherten Datei. Shotwell verfügt über verschiedene Funktionen, um die " +"Shotwell-Bibliothek mit den Dateien auf der Festplatte synchron zu halten." #. (itstool) path: section/title #: C/other-files.page:21 @@ -1810,6 +1957,10 @@ msgid "" "sign). The values these symbols produce are locale-dependent, so what you " "see on your computer may vary from the examples below." msgstr "" +"Die verfügbaren Symbole für das Ordnernamensmuster beginnen mit einem % " +"(Prozentzeichen). Die Werte dieser Symbole sind von der Spracheinstellung " +"abhängig. Folglich kann das Ergebnis auf Ihrem Rechner von den nachfolgenden " +"Beispielen abweichen." #. (itstool) path: td/p #: C/other-files.page:38 @@ -2028,6 +2179,9 @@ msgid "" "running the command <cmd>man strftime</cmd> if you need one that isn't " "listed here." msgstr "" +"Es sind weitere Symbole verfügbar. Bitte schauen Sie dazu im Handbuch von " +"strftime nach, welches Sie mit dem Befehl <cmd>man strftime</cmd> ansehen " +"können, falls ein benötigtes Symbol hier nicht aufgelistet ist." #. (itstool) path: section/title #: C/other-files.page:79 @@ -2042,6 +2196,10 @@ msgid "" "directory in your home directory; you can change its location in in the " "<gui>Preferences</gui> window.)" msgstr "" +"Shotwell kann Fotos automatisch importieren, die dann im Bibliotheksordner " +"erscheinen. Der Bibliotheksordner befindet sich im Allgemeinen im Ordner " +"<file>Bilder</file> in Ihrem persönlichen Ordner. Diesen Ort können Sie in " +"den <gui>Einstellungen</gui> ändern." #. (itstool) path: section/p #: C/other-files.page:86 @@ -2049,6 +2207,9 @@ msgid "" "To enable auto-import, check the box <gui>Watch library directory for new " "files</gui> in the <gui>Preferences</gui> window." msgstr "" +"Um den automatischen Import zu aktivieren, aktivieren Sie das Ankreuzfeld " +"<gui>Bibliotheksordner auf neue Dateien überwachen</gui> in den " +"<gui>Einstellungen</gui>." #. (itstool) path: note/p #: C/other-files.page:90 @@ -2056,11 +2217,13 @@ msgid "" "Shotwell can also follow symbolic links inside automatically-imported " "directories." msgstr "" +"Shotwell kann auch symbolischen Verknüpfungen innerhalb der automatisch " +"importierten Ordner folgen." #. (itstool) path: section/title #: C/other-files.page:95 msgid "Automatically renaming imported photos to lowercase" -msgstr "" +msgstr "Umbenennen automatisch importierter Fotos in Kleinbuchstaben" #. (itstool) path: section/p #: C/other-files.page:97 @@ -2070,11 +2233,16 @@ msgid "" "gui></guiseq>, and in the <gui>Preferences</gui> window, check the " "<gui>Rename imported files to lowercase</gui> box." msgstr "" +"Shotwell kann automatisch die Dateinamen importierter Fotos in " +"Kleinbuchstaben ändern. Um dies zu aktivieren, wählen Sie " +"<guiseq><gui>Bearbeiten</gui><gui>Einstellungen</gui></guiseq> und " +"aktivieren Sie im <gui>Einstellungen</gui>-Fenster das Ankreuzfeld " +"<gui>Namen von importierten Dateien in Kleinbuchstaben ändern</gui>." #. (itstool) path: section/title #: C/other-files.page:107 msgid "Writing metadata on the fly" -msgstr "" +msgstr "Metadaten unmittelbar ändern" #. (itstool) path: section/p #: C/other-files.page:109 @@ -2083,6 +2251,9 @@ msgid "" "or change their tags or titles. Shotwell records these changes in its own " "database only." msgstr "" +"In der Voreinstellung ändert Shotwell keine Fotos, selbst wenn Sie sie " +"bearbeiten oder deren Stichworte und Titel ändern. Solche Änderungen werden " +"lediglich in der Shotwell-eigenen Datenbank registriert." #. (itstool) path: section/p #: C/other-files.page:112 @@ -2092,6 +2263,11 @@ msgid "" "dialog. When this option is enabled, Shotwell will write the following " "metadata to most photo files whenever you change it in Shotwell:" msgstr "" +"Um dieses Verhalten zu ändern, aktivieren Sie das Ankreuzfeld " +"<gui>Stichworte, Titel und andere Metadaten in die Fotodateien schreiben</" +"gui> im <gui>Einstellungen</gui>-Dialog. Wenn diese Option aktiviert ist, " +"werden die folgenden Metadaten in die Fotodateien geschrieben, sobald Sie " +"sie in Shotwell ändern:" #. (itstool) path: item/p #: C/other-files.page:118 @@ -2111,7 +2287,7 @@ msgstr "Bewertungen" #. (itstool) path: item/p #: C/other-files.page:121 msgid "rotation information" -msgstr "Rotationsinformation" +msgstr "Ausrichtungsinformation" #. (itstool) path: item/p #: C/other-files.page:122 @@ -2125,11 +2301,15 @@ msgid "" "format. Note that Shotwell can write only to photo files in JPEG, PNG and " "TIFF format, not to BMP photos, RAW photos or to video files." msgstr "" +"Shotwell speichert diese Informationen in Fotodateien im EXIF-, IPTC- und/" +"oder XMP-Format. Beachten Sie, dass Shotwell nur in Fotodateien in den " +"Formaten JPEG, PNG und TIFF schreiben kann, nicht in BMP-Fotos, RAW-Fotos " +"oder Videodateien." #. (itstool) path: section/title #: C/other-files.page:133 msgid "Runtime monitoring" -msgstr "" +msgstr "Laufzeitüberwachung" #. (itstool) path: section/p #: C/other-files.page:135 @@ -2138,6 +2318,9 @@ msgid "" "externally. When a photo file changes, Shotwell rereads the file and updates " "your view of the photo and metadata." msgstr "" +"Wenn Shotwell ausgeführt wird, werden Änderungen an jeder Fotodatei extern " +"gespeichert. Bei Änderungen an einer Fotodatei liest Shotwell diese erneut " +"ein und aktualisiert die Bild- und Metadatenansicht." #. (itstool) path: section/p #: C/other-files.page:139 @@ -2146,6 +2329,10 @@ msgid "" "photo files contained in the library directory are monitored in real time " "after startup. We hope to remove this limitation in a further release." msgstr "" +"Beachten Sie, das Shotwell beim Start alle Fotodateien auf Änderungen prüft, " +"jedoch nach dem Start nur die im Bibliotheksordner enthaltenen Fotodateien " +"in Echtzeit überwacht werden. Wir hoffen, diese Einschränkung in einer " +"zukünftigen Version dieses Programms beseitigen zu können." #. (itstool) path: info/desc #: C/other-missing.page:7 @@ -2196,6 +2383,12 @@ msgid "" "if you then disconnect the removable disk. See <link xref=\"import-file\"/> " "to learn how to copy files from removable disks onto your computer." msgstr "" +"Wenn Sie Fotos auf einem Wechseldatenträger haben, wie einer CD oder einem " +"USB-Stick, und diese in Shotwell <link xref=\"index#import\">importieren</" +"link>, <em>ohne</em> dass die Fotos auf Ihren Rechner kopiert werden, werden " +"diese Fotos als fehlend markiert, sobald Sie den Wechseldatenträger " +"entfernen. In <link xref=\"import-file\"/> finden Sie eine Anleitung, wie " +"Sie Dateien von Wechseldatenträgern auf Ihren Rechner kopieren." #. (itstool) path: page/p #: C/other-missing.page:20 @@ -2204,6 +2397,9 @@ msgid "" "the next time it starts. The photos will once again appear in the Photos, " "Events and Tags views." msgstr "" +"Wenn eines der fehlenden Fotos wieder verfügbar ist, bemerkt Shotwell dies, " +"wenn es das nächste Mal gestartet wird. Die Fotos erscheinen wieder in den " +"Foto-, Ereignis- und Stichwortansichten." #. (itstool) path: info/desc #: C/other-multiple.page:7 @@ -2211,6 +2407,8 @@ msgid "" "You can open Shotwell with a different photo library by using the command " "line." msgstr "" +"Sie können Shotwell mit einer anderen Fotobibliothek öffnen, wenn Sie die " +"Befehlszeile verwenden." #. (itstool) path: page/title #: C/other-multiple.page:12 @@ -2238,6 +2436,11 @@ msgid "" "own database directory. To launch Shotwell with an alternate library, " "specify an alternate database directory on the command line as follows:" msgstr "" +"Als erweitertes Funktionsmerkmal können Sie mehrere Shotwell-Bibliotheken " +"mit jeweils eigenen Fotos haben. Dabei benötigt jede der Bibliotheken ihren " +"eigenen Datenbankordner. Um Shotwell mit einer alternativen Bibliothek zu " +"öffnen, geben Sie in der Befehlszeile den entsprechenden Datenbankordner wie " +"folgt an:" #. (itstool) path: page/screen #: C/other-multiple.page:18 @@ -2257,7 +2460,7 @@ msgstr "Die Funktionalität von Shotwell dynamisch erweitern." #. (itstool) path: page/title #: C/other-plugins.page:12 msgid "Plugins" -msgstr "Plugins" +msgstr "Erweiterungen" #. (itstool) path: page/p #: C/other-plugins.page:13 @@ -2266,6 +2469,10 @@ msgid "" "libraries that can add support for new publishing destinations or new " "slideshow transitions." msgstr "" +"Shotwell bietet Unterstützung für <em>Erweiterungen</em> in Form von " +"zusätzlichen Bibliotheken, mit deren Hilfe zusätzliche Funktionen wie " +"beispielsweise neue Veröffentlichungsplattformen oder neue Diaschau-" +"Übergänge bereit gestellt werden." #. (itstool) path: page/p #: C/other-plugins.page:18 @@ -2276,6 +2483,12 @@ msgid "" "installed plugins, each with a checkbox by it, and you may enable or disable " "each by selecting or deselecting the checkbox by its name." msgstr "" +"Öffnen Sie <guiseq><gui>Bearbeiten</gui><gui>Einstellungen</gui></guiseq>, " +"um eine Liste aller installierten Erweiterungen zu sehen. Klicken Sie im " +"Fenster <gui>Einstellungen</gui> auf den Reiter <gui>Erweiterungen</gui>. Es " +"wird daraufhin eine Liste aller derzeit installierten Erweiterungen " +"angezeigt. Neben jeder Erweiterung befindet sich ein Ankreuzfeld, mit dessen " +"Hilfe Sie die Erweiterung ein- und ausschalten können." #. (itstool) path: note/p #: C/other-plugins.page:25 @@ -2285,6 +2498,10 @@ msgid "" "\">http://redmine.yorba.org/projects/shotwell/wiki/" "ShotwellArchWritingPlugins</link>" msgstr "" +"Eine vollständige Dokumentation zum Entwickeln neuer Erweiterungen findet " +"sich unter <link href=\"http://redmine.yorba.org/projects/shotwell/wiki/" +"ShotwellArchWritingPlugins\">http://redmine.yorba.org/projects/shotwell/wiki/" +"ShotwellArchWritingPlugins</link>" #. (itstool) path: info/desc #: C/raw.page:7 @@ -2442,6 +2659,12 @@ msgid "" "length. The background slideshow will proceed even when Shotwell is not " "running." msgstr "" +"Sie können den Hintergrund auch als Diaschau aus Ihren Fotos darstellen " +"lassen. Wählen Sie hierzu die Fotos für die Diaschau aus und wählen Sie " +"<guiseq><gui>Datei</gui><gui>Als Hintergrundbild-Vorführung setzen …</gui></" +"guiseq>. Shotwell fragt Sie nach der Verzögerung für den Bildwechsel, die " +"bis zu einen Tag betragen kann. Die Diaschau wird auch dann weitergeführt, " +"wenn Shotwell nicht läuft." #. (itstool) path: info/desc #: C/share-export.page:7 @@ -2475,7 +2698,7 @@ msgid "" "you fine-tune the size and dimensions of your photo files. A window will " "appear allowing you to make several choices:" msgstr "" -"Alternativ wählen Sie eine Gruppe Fotos und wählen Sie <guiseq><gui>Datei</" +"Alternativ wählen Sie eine Fotogruppe und wählen Sie <guiseq><gui>Datei</" "gui><gui>Exportieren</gui></guiseq> oder drücken Sie " "<keyseq><key>Umschalttaste</key><key>Strg</key><key>E</key></keyseq>, um " "Fotos zu exportieren und dabei die Größe und Abmessung der Fotodateien zu " @@ -2647,7 +2870,7 @@ msgstr "" #. (itstool) path: info/desc #: C/share-slideshow.page:7 msgid "Watch a slideshow of your photos." -msgstr "Eine Bildvorführung Ihrer Fotos ansehen" +msgstr "Eine Bildvorführung Ihrer Fotos ansehen." #. (itstool) path: page/title #: C/share-slideshow.page:12 @@ -2705,9 +2928,9 @@ msgid "" "publish photos and videos to the following services, each of which requires " "an account:" msgstr "" -"Mit Hilfe von <link xref=\"other-plugins\">Plugins</link> kann Shotwell " -"Fotos und Videos bei den folgenden Diensten veröffentlichen. Jeder Dienst " -"erfordert ein Benutzerkonto:" +"Mit Hilfe von <link xref=\"other-plugins\">Erweiterungen</link> kann " +"Shotwell Fotos und Videos bei den folgenden Diensten veröffentlichen. Jeder " +"Dienst erfordert ein Benutzerkonto:" #. (itstool) path: item/p #: C/share-upload.page:18 @@ -2823,7 +3046,7 @@ msgstr "" #. (itstool) path: page/title #: C/view-displaying.page:12 msgid "Photo views" -msgstr "Fotoansichten" +msgstr "Fotos betrachten" #. (itstool) path: page/p #: C/view-displaying.page:14 diff --git a/help/de/edit-adjustments.page b/help/de/edit-adjustments.page index 0fca22b..52cd1e6 100644 --- a/help/de/edit-adjustments.page +++ b/help/de/edit-adjustments.page @@ -22,7 +22,7 @@ <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> <mal:name>Christian Kirbach</mal:name> <mal:email>christian.kirbach@gmail.com</mal:email> - <mal:years>2014, 2106</mal:years> + <mal:years>2014, 2016, 2017</mal:years> </mal:credit> </info> diff --git a/help/de/edit-crop.page b/help/de/edit-crop.page index a522d8f..9adb06b 100644 --- a/help/de/edit-crop.page +++ b/help/de/edit-crop.page @@ -22,7 +22,7 @@ <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> <mal:name>Christian Kirbach</mal:name> <mal:email>christian.kirbach@gmail.com</mal:email> - <mal:years>2014, 2106</mal:years> + <mal:years>2014, 2016, 2017</mal:years> </mal:credit> </info> diff --git a/help/de/edit-date-time.page b/help/de/edit-date-time.page index 599f3f4..1545d47 100644 --- a/help/de/edit-date-time.page +++ b/help/de/edit-date-time.page @@ -22,16 +22,16 @@ <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> <mal:name>Christian Kirbach</mal:name> <mal:email>christian.kirbach@gmail.com</mal:email> - <mal:years>2014, 2106</mal:years> + <mal:years>2014, 2016, 2017</mal:years> </mal:credit> </info> <title>Datum und Zeit von Fotos anpassen</title> -<p>To adjust the date and time of photos, select the photos you would like to adjust, choose <guiseq><gui>Photos</gui><gui>Adjust Date and Time...</gui></guiseq> and select a new date and time.</p> +<p>Wählen Sie die Fotos zum Anpassen aus und dann <guiseq><gui>Fotos</gui><gui>Datum und Zeit anpassen …</gui></guiseq>, um Datum und Zeit der gewählten Fotos anzupassen. Wählen Sie anschließend ein neues Datum und eine neue Zeit.</p> -<p>If you are changing the date and time of multiple photos at once, you can choose to shift all the photos by the same amount of time or to set all the photos to the same time.</p> +<p>Wenn Sie Datum und Zeit von mehreren Fotos gleichzeitig anpassen, so können Sie entweder alle Fotos auf die gleiche Zeit setzen oder bei allen Fotos die Zeit um den gleichen Betrag verschieben.</p> -<p>By default, the date and time are only changed inside Shotwell. You can also choose to modify the date and time in the original file, but this cannot be undone once you exit Shotwell.</p> +<p>Normalerweise werden Datum und Zeit nur innerhalb von Shotwell geändert. Sie können aber auch Datum und Zeit in der Originaldatei ändern. Dies kann jedoch nicht mehr rückgängig gemacht werden, nachdem Sie Shotwell beendet haben.</p> </page> diff --git a/help/de/edit-enhance.page b/help/de/edit-enhance.page index 59dac3a..5505882 100644 --- a/help/de/edit-enhance.page +++ b/help/de/edit-enhance.page @@ -24,7 +24,7 @@ <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> <mal:name>Christian Kirbach</mal:name> <mal:email>christian.kirbach@gmail.com</mal:email> - <mal:years>2014, 2106</mal:years> + <mal:years>2014, 2016, 2017</mal:years> </mal:credit> </info> diff --git a/help/de/edit-external.page b/help/de/edit-external.page index ed65354..1594782 100644 --- a/help/de/edit-external.page +++ b/help/de/edit-external.page @@ -22,7 +22,7 @@ <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> <mal:name>Christian Kirbach</mal:name> <mal:email>christian.kirbach@gmail.com</mal:email> - <mal:years>2014, 2106</mal:years> + <mal:years>2014, 2016, 2017</mal:years> </mal:credit> </info> diff --git a/help/de/edit-nondestructive.page b/help/de/edit-nondestructive.page index 63744c7..f2cfe12 100644 --- a/help/de/edit-nondestructive.page +++ b/help/de/edit-nondestructive.page @@ -22,7 +22,7 @@ <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> <mal:name>Christian Kirbach</mal:name> <mal:email>christian.kirbach@gmail.com</mal:email> - <mal:years>2014, 2106</mal:years> + <mal:years>2014, 2016, 2017</mal:years> </mal:credit> </info> diff --git a/help/de/edit-redeye.page b/help/de/edit-redeye.page index 4d7c585..f9bf2c1 100644 --- a/help/de/edit-redeye.page +++ b/help/de/edit-redeye.page @@ -22,7 +22,7 @@ <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> <mal:name>Christian Kirbach</mal:name> <mal:email>christian.kirbach@gmail.com</mal:email> - <mal:years>2014, 2106</mal:years> + <mal:years>2014, 2016, 2017</mal:years> </mal:credit> </info> diff --git a/help/de/edit-rotate.page b/help/de/edit-rotate.page index aa3a946..0bcb80c 100644 --- a/help/de/edit-rotate.page +++ b/help/de/edit-rotate.page @@ -22,7 +22,7 @@ <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> <mal:name>Christian Kirbach</mal:name> <mal:email>christian.kirbach@gmail.com</mal:email> - <mal:years>2014, 2106</mal:years> + <mal:years>2014, 2016, 2017</mal:years> </mal:credit> </info> diff --git a/help/de/edit-straighten.page b/help/de/edit-straighten.page index 60cd50d..36f0530 100644 --- a/help/de/edit-straighten.page +++ b/help/de/edit-straighten.page @@ -22,7 +22,7 @@ <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> <mal:name>Christian Kirbach</mal:name> <mal:email>christian.kirbach@gmail.com</mal:email> - <mal:years>2014, 2106</mal:years> + <mal:years>2014, 2016, 2017</mal:years> </mal:credit> </info> diff --git a/help/de/edit-undo.page b/help/de/edit-undo.page index d71878c..5fd14a1 100644 --- a/help/de/edit-undo.page +++ b/help/de/edit-undo.page @@ -3,7 +3,7 @@ <info> <link type="guide" xref="index#edit"/> - <desc>Return a photo to its original, unedited form.</desc> + <desc>Ein Foto in seinen ursprünglichen, unbearbeiteten Zustand zurückversetzen.</desc> <link type="seealso" xref="edit-nondestructive"/> @@ -24,7 +24,7 @@ <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> <mal:name>Christian Kirbach</mal:name> <mal:email>christian.kirbach@gmail.com</mal:email> - <mal:years>2014, 2106</mal:years> + <mal:years>2014, 2016, 2017</mal:years> </mal:credit> </info> diff --git a/help/de/formats.page b/help/de/formats.page index 7ac7f9f..7314fc9 100644 --- a/help/de/formats.page +++ b/help/de/formats.page @@ -22,29 +22,24 @@ <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> <mal:name>Christian Kirbach</mal:name> <mal:email>christian.kirbach@gmail.com</mal:email> - <mal:years>2014, 2106</mal:years> + <mal:years>2014, 2016, 2017</mal:years> </mal:credit> </info> <title>Unterstützte Foto- und Video-Formate</title> - <p>Shotwell supports JPEG, PNG, TIFF, BMP and <link type="guide" xref="other-raw">RAW</link> photo files. Shotwell does not yet support other graphics format such as GIF.</p> + <p>Shotwell unterstützt JPEG, PNG, TIFF, BMP und <link type="guide" xref="other-raw">RAW</link>-Fotodateien. Andere Grafikformate, wie beispielsweise GIF, unterstützt Shotwell noch nicht.</p> -<p>Shotwell's RAW format support is currently limited. When you view a RAW photo, you are actually viewing a JPEG derived from the RAW photo, not the RAW image itself. Additionally, the RAW editing pipeline is not fully 16-bit - you can only export edited photos as 8-bit files. All supported formats can be used for export (JPEG, PNG, TIFF, BMP).</p> +<p>Die Unterstützung des RAW-Formats in Shotwell ist derzeit eingeschränkt. Wenn Sie ein RAW-Foto betrachten, sehen Sie tatsächlich ein JPEG-Bild, das aus dem RAW-Foto abgeleitet wurde, und nicht das tatsächliche RAW-Bild. Darüber hinaus sind die Bearbeitungsschritte nicht vollständig in 16 Bit. Bearbeitete Fotos werden nur als 8-Bit-Dateien exportiert. Alle unterstützten Formate können exportiert werden (JPEG, PNG, TIFF, BMP).</p> -<p>For more information about RAW-format photos in Shotwell, please see -the <link type="guide" xref="other-raw">RAW</link> section. -</p> +<p>Für weiterführende Informationen über Fotos im RAW-Format in Shotwell lesen Sie bitte den Abschnitt <link type="guide" xref="other-raw">RAW</link>.</p> -<p>Shotwell also supports video files in any format supported by the GStreamer media library on the system where -Shotwell is running. This typically includes the following formats among others:</p> +<p>Shotwell unterstützt Video-Dateien in jedem Format, das auch von der GStreamer Medienbibliothek auf dem System unterstützt wird, auf dem Shotwell ausgeführt wird. Typischerweise zählen dazu unter anderen folgende Formate:</p> <list> <item><p>Containerformate: Ogg, QuickTime, MP4, AVI.</p></item> <item><p>Codecs: Theora, Quicktime, MPEG-4 und Motion JPEG. <em>Beachten Sie, dass einige Betriebssysteme aufgrund von gesetzlichen oder Lizenzbestimmungen eventuell nicht alle hier aufgeführten Codecs unterstützen.</em></p></item> </list> -<p>Shotwell supports both photos and videos, but for simplicity, this documentation uses just the term "photos" -in most places. Many operations in Shotwell apply to both photos and videos, however. In particular, events, -flagging, rating, tagging, and publishing work both for photos and for videos.</p> +<p>Shotwell unterstützt sowohl Fotos als auch Videos. Zur Vereinfachung verwendet dieses Handbuch überwiegend nur den Begriff »Foto« für beides. Viele Vorgänge in Shotwell funktionieren sowohl mit Fotos als auch mit Videos. Ereignisse, Markierungen, Bewertungen und Veröffentlichung funktionieren sowohl mit Fotos als auch mit Videos.</p> </page> diff --git a/help/de/import-camera.page b/help/de/import-camera.page index 2467ab6..45752ea 100644 --- a/help/de/import-camera.page +++ b/help/de/import-camera.page @@ -22,7 +22,7 @@ <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> <mal:name>Christian Kirbach</mal:name> <mal:email>christian.kirbach@gmail.com</mal:email> - <mal:years>2014, 2106</mal:years> + <mal:years>2014, 2016, 2017</mal:years> </mal:credit> </info> @@ -38,12 +38,12 @@ <p>Wählen Sie die Kamera in der Seitenleiste aus. Vorschaubilder werden für jedes der in der Kamera befindlichen Fotos angezeigt.</p> </item> <item> - <p>If you like, you can choose a set of specific photos to import. To do this, hold down the <key>Ctrl</key> key and click to select individual photos. You can hold down <key>Shift</key> and click to select a range of photos too.</p> + <p>Auf Wunsch können Sie eine Gruppe bestimmter Fotos zum Importieren auswählen. Halten Sie dazu die <key>Strg</key>-Taste gedrückt und wählen Sie anschließend die einzelnen Fotos aus. Halten Sie die <key>Umschalttaste</key> gedrückt, um eine Reihe aufeinander folgender Fotos auszuwählen.</p> </item> <item> - <p>Click either <gui>Import Selected</gui> or <gui>Import All</gui>. The photos will be copied from the camera and saved on your computer.</p> + <p>Klicken Sie auf <gui>Auswahl importieren</gui> oder <gui>Alles importieren</gui>. Die Fotos werden daraufhin aus der Kamera kopiert und auf Ihrem Rechner gespeichert.</p> </item> </steps> - <p>Once the import is complete, you can open the <gui>Last Import</gui> view (in the sidebar) to see all photos that were imported. The Events list (also in the sidebar) will also show the new photos, organized by date.</p> + <p>Sobald der Import abgeschlossen ist, öffnen Sie in der Seitenleiste die Ansicht <gui>Letzter Import</gui>, um alle importierten Fotos zu sehen. Die Ereignisliste in der Seitenleiste zeigt daraufhin auch alle neuen Fotos nach Datum kategorisiert.</p> </page> diff --git a/help/de/import-f-spot.page b/help/de/import-f-spot.page index 21ce093..72e9474 100644 --- a/help/de/import-f-spot.page +++ b/help/de/import-f-spot.page @@ -22,7 +22,7 @@ <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> <mal:name>Christian Kirbach</mal:name> <mal:email>christian.kirbach@gmail.com</mal:email> - <mal:years>2014, 2106</mal:years> + <mal:years>2014, 2016, 2017</mal:years> </mal:credit> </info> diff --git a/help/de/import-file.page b/help/de/import-file.page index ead0aec..2bfe9f0 100644 --- a/help/de/import-file.page +++ b/help/de/import-file.page @@ -22,7 +22,7 @@ <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> <mal:name>Christian Kirbach</mal:name> <mal:email>christian.kirbach@gmail.com</mal:email> - <mal:years>2014, 2106</mal:years> + <mal:years>2014, 2016, 2017</mal:years> </mal:credit> </info> @@ -32,10 +32,10 @@ <p>Wählen Sie alternativ <guiseq><gui>Datei</gui><gui>Aus Ordner importieren …</gui></guiseq> und wählen Sie den Ordner mit den Fotos aus, die Sie importieren wollen.</p> - <p>Shotwell will ask whether you want to copy the photo files to your library folder (usually this is the <file>Pictures</file> folder in your home directory) or to import them in place without copying the files.</p> + <p>Shotwell fragt, ob Sie die Fotodateien in Ihren Bibliotheksordner (normalerweise der Ordner <file>Bilder</file> in Ihrem persönlichen Ordner) kopieren möchten, oder ob Sie sie ohne Kopieren importieren wollen.</p> - <p>If you hold down <key>Ctrl</key> while dragging photos in, Shotwell will copy the photos into your library folder without prompting. Similarly, if you hold down <keyseq><key>Ctrl</key><key>Shift</key></keyseq> while dragging photos in, Shotwell will import the photos without copying them.</p> + <p>Wenn Sie die <key>Strg</key>-Taste während des Ziehens von Fotos gedrückt halten, so kopiert Shotwell ohne Nachfrage die Fotos in Ihre Bibliothek. Wenn Sie <keyseq><key>Strg</key><key>Umschalttaste</key></keyseq> während des Ziehens von Fotos gedrückt halten, so importiert Shotwell die Fotos ohne Nachfrage.</p> - <p>Once the import is complete, you can select <gui>Last Import</gui> in the sidebar to see all photos successfully imported. The Events list will also show new entries for the dates corresponding to the imported photos.</p> + <p>Sobald der Import abgeschlossen ist, wählen Sie <gui>Letzter Import</gui> in der Seitenleiste, um alle erfolgreich importierten Fotos zu sehen. Die Ereignisliste zeigt auch neue Einträge für die importierten Fotos mit den zugehörigen Zeitstempeln.</p> </page> diff --git a/help/de/import-memorycard.page b/help/de/import-memorycard.page index 9eeca58..79a967e 100644 --- a/help/de/import-memorycard.page +++ b/help/de/import-memorycard.page @@ -22,7 +22,7 @@ <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> <mal:name>Christian Kirbach</mal:name> <mal:email>christian.kirbach@gmail.com</mal:email> - <mal:years>2014, 2106</mal:years> + <mal:years>2014, 2016, 2017</mal:years> </mal:credit> </info> @@ -38,7 +38,7 @@ <p>Der Kartenleser und die Karte sollten automatisch erkannt werden.</p> </item> <item> - <p>Follow the instructions for <link xref="import-file">importing photos from your hard disk</link>. If you click <guiseq><gui>File</gui><gui>Import From Folder...</gui></guiseq>, the memory card should be visible as a folder in the side bar of the file selection window.</p> + <p>Folgen Sie den Anweisungen zum <link xref="import-file">Importieren von Fotos von Ihrer Festplatte</link>. Wenn Sie <guiseq><gui>Datei</gui><gui>Aus Ordner importieren …</gui></guiseq> wählen, sollte die Speicherkarte als Ordner in der Seitenleiste des Dateiauswahlfensters sichtbar sein.</p> </item> </steps> diff --git a/help/de/index.page b/help/de/index.page index d9571e8..b27e249 100644 --- a/help/de/index.page +++ b/help/de/index.page @@ -32,7 +32,7 @@ <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> <mal:name>Christian Kirbach</mal:name> <mal:email>christian.kirbach@gmail.com</mal:email> - <mal:years>2014, 2106</mal:years> + <mal:years>2014, 2016, 2017</mal:years> </mal:credit> </info> diff --git a/help/de/organize-event.page b/help/de/organize-event.page index 46e9717..da0907e 100644 --- a/help/de/organize-event.page +++ b/help/de/organize-event.page @@ -22,38 +22,34 @@ <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> <mal:name>Christian Kirbach</mal:name> <mal:email>christian.kirbach@gmail.com</mal:email> - <mal:years>2014, 2106</mal:years> + <mal:years>2014, 2016, 2017</mal:years> </mal:credit> </info> <title>Ereignisse</title> - <p>An event is a group of photos that were taken at approximately the same time. When you import photos, Shotwell checks when each photo was taken. It then groups the photos into events.</p> + <p>Ein Ereignis kennzeichnet eine Gruppe von Fotos, die etwa zur gleichen Zeit aufgenommen wurden. Beim Importieren von Fotos prüft Shotwell die Aufnahmezeitpunkte und gruppiert die Fotos in Ereignissen.</p> - <p>Choose <gui>Events</gui> from the sidebar to see your photos organized by date. If you select a month or year from the sidebar, a list of events will be displayed in the main window. Double-click an event to see all the photos that were taken around that time.</p> + <p>Wählen Sie <gui>Ereignisse</gui> in der Seitenleiste, um Ihre Fotos nach Datum sortieren zu lassen. Wenn Sie in der Seitenleiste einen Monat oder ein Jahr auswählen, wird eine Liste der Ereignisse im Hauptfenster angezeigt. Durch Doppelklick auf ein Ereignis sehen Sie alle Fotos, die um diesen Zeitpunkt herum aufgenommen wurden.</p> - <p>If a photo has no embedded date/time information, then Shotwell can't automatically - place it in any event. In this case the photo will appear in the <gui>No Event</gui> - view accessible from the sidebar. You can still move the photo to any event you like - as described below. - </p> + <p>Falls ein Foto nicht über eingebettete Informationen zu Datum und Zeit verfügt, kann Shotwell es nicht automatisch in einem Ereignis ablegen. In diesem Fall erscheint es in der Ansicht <gui>Ereignislos</gui>, die über die Seitenleiste erreichbar ist. Sie können das Foto dennoch zu einem beliebigen Ereignis hinzufügen, wie nachfolgend beschrieben.</p> <section> <title>Ereignisse umbenennen</title> - <p>To give an event a name rather than referring to it by its date, select the event, click <guiseq><gui>Events</gui><gui>Rename Event...</gui></guiseq> and enter a new name. Another way of renaming an event is to double-click its name in the sidebar; type a new name and then press <key>Enter</key>.</p> + <p>Zum Benennen eines Ereignisses wählen Sie das entsprechende Ereignis aus und wählen Sie dann <guiseq><gui>Ereignisse</gui><gui>Ereignis umbenennen …</gui></guiseq> und geben Sie einen neuen Namen ein. Alternativ klicken Sie zum Umbenennen zweimal auf den Namen in der Seitenleiste, geben Sie den neuen Namen ein und drücken anschließend die <key>Eingabetaste</key>.</p> </section> <section> <title>Fotos zwischen Ereignissen verschieben</title> - <p>Even though photos are initially grouped into events by their date, you can move photos between events. To do this, drag any photo to the sidebar and drop it on an event.</p> + <p>Obwohl Fotos anfänglich anhand deren Zeitstempeln in Ereignisse eingeordnet werden, können Sie sie zwischen Ereignissen verschieben. Ziehen Sie dazu ein beliebiges Foto in die Seitenleiste und legen Sie es auf einem Ereignis ab.</p> </section> <section> <title>Ereignisse erstellen und zusammenführen</title> - <p>To create a new event, select the photos you would like in the new event and click <guiseq><gui>Events</gui><gui>New Event</gui></guiseq>.</p> - <p>To merge events, select <guiseq><gui>Events</gui></guiseq> from the sidebar, then, while holding down <key>Ctrl</key> click on the events you want to merge in the main window area. Finally, click <guiseq><gui>Events</gui><gui>Merge Events</gui></guiseq>.</p> + <p>Um ein neues Ereignis zu erstellen, wählen Sie die gewünschten Fotos aus und wählen Sie <guiseq><gui>Ereignisse</gui><gui>Neues Ereignis</gui></guiseq>.</p> + <p>Wählen Sie zum Zusammenlegen von Ereignissen den Punkt <guiseq><gui>Ereignisse</gui></guiseq> in der Seitenleiste. Halten Sie anschließend <key>Strg</key> gedrückt und klicken Sie auf diejenigen Ereignisse, die Sie zusammenführen wollen. Wählen Sie abschließend <guiseq><gui>Ereignisse</gui><gui>Ereignisse zusammenführen</gui></guiseq>.</p> </section> <section> @@ -65,9 +61,9 @@ </section> <section> - <title>Change the photo used to represent each event</title> + <title>Das Foto ändern, welches das Ereignis repräsentiert</title> - <p>If you select the <gui>Events</gui> item in the sidebar, you'll see a single photo which represents each event. This is called the key photo.</p> + <p>Wenn Sie den Menüpunkt <gui>Ereignisse</gui> in der Seitenleiste wählen, so wird für jedes Ereignis ein einzelnes Foto angezeigt. Dieses wird Hauptfoto genannt.</p> <p>By default, Shotwell uses the first photo in each event as its key photo. To use a different key photo, select the photo and choose <guiseq><gui>Photos</gui><gui>Make Key Photo for Event</gui></guiseq>.</p> diff --git a/help/de/organize-flag.page b/help/de/organize-flag.page index 8ae0849..3ca4c2c 100644 --- a/help/de/organize-flag.page +++ b/help/de/organize-flag.page @@ -22,7 +22,7 @@ <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> <mal:name>Christian Kirbach</mal:name> <mal:email>christian.kirbach@gmail.com</mal:email> - <mal:years>2014, 2106</mal:years> + <mal:years>2014, 2016, 2017</mal:years> </mal:credit> </info> diff --git a/help/de/organize-rating.page b/help/de/organize-rating.page index 675fc2f..b9a7faa 100644 --- a/help/de/organize-rating.page +++ b/help/de/organize-rating.page @@ -3,7 +3,7 @@ <info> <link type="guide" xref="index#organize"/> - <desc>Give photos a rating between 1 and 5 stars. You can reject bad photos, hiding them from view.</desc> + <desc>Geben Sie Ihren Fotos eine Bewertung zwischen einem und fünf Sternen. Sie können schlechte Fotos ablehnen, wodurch sie in der Ansicht verborgen werden.</desc> <link type="next" xref="delete"/> @@ -22,23 +22,22 @@ <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> <mal:name>Christian Kirbach</mal:name> <mal:email>christian.kirbach@gmail.com</mal:email> - <mal:years>2014, 2106</mal:years> + <mal:years>2014, 2016, 2017</mal:years> </mal:credit> </info> <title>Bewertungen</title> -<p>You can assign each photo a rating from 1-5 stars, or may alternatively rate it as Rejected, in which case Shotwell will hide the photo by default.</p> +<p>Sie können jedem Foto eine Bewertung zwischen einem und fünf Sternen zuweisen oder es alternativ als abgelehnt markieren, wodurch Shotwell dieses Foto in der Voreinstellung nicht mehr anzeigt.</p> -<p>You can rate a photo or a set of photos in any of these ways:</p> +<p>Sie bewerten ein Foto oder eine Gruppe von Fotos auf eine der folgenden Weisen:</p> <list> -<item><p>Select the photo(s), then choose a rating from the top-level <guiseq><gui>Photos</gui><gui>Set Rating</gui></guiseq> menu.</p></item> -<item><p>Right-click on the photo(s), then choose a rating from the Set Rating context menu.</p></item> +<item><p>Wählen Sie das Foto oder die Fotos aus, und wählen Sie dann eine Bewertung im Menü <guiseq><gui>Fotos</gui><gui>Bewerten</gui></guiseq>.</p></item> +<item><p>Klicken Sie mit der rechten Maustaste auf das Foto oder die Fotogruppe und wählen Sie dann eine Bewertung im Kontextmenü »Bewerten«.</p></item> <item><p>Select the photo(s), then press any of the shortcut keys <key>1</key>, <key>2</key>, <key>3</key>, <key>4</key> or <key>5</key> to assign a rating. Or press <key>9</key> to mark the photo(s) as rejected or <key>0</key> to clear the rating(s).</p></item> </list> -<p> -Normally Shotwell displays all photos except rejected photos. You can set a different rating filter using the <guiseq><gui>View</gui><gui>Filter Photos</gui></guiseq> menu - for example, you can display only photos rated with 3 stars or higher, or you can display all photos including those marked rejected. The Shotwell icon on the toolbar displays the current rating filter and can also be used to set the filter.</p> +<p>Normalerweise zeigt Shotwell alle bis auf die abgelehnten Fotos an. Sie können im Menü <guiseq><gui>Ansicht</gui><gui>Fotos filtern</gui></guiseq> eine andere Filterung der Bewertungen festlegen. Beispielsweise können Sie nur Fotos anzeigen, die mit 3 Sternen oder höher bewertet sind, oder auch jene Fotos in der Anzeige erscheinen lassen, die als abgelehnt markiert sind. Das Shotwell-Symbol in der Werkzeugleiste zeigt den aktuellen Bewertungsfilter an und kann auch zum Einrichten des Filters verwendet werden.</p> <p>Shotwell normally displays each photo's rating in its lower left-hand corner. You can turn off the display of ratings using the <guiseq><gui>View</gui><gui>Ratings</gui></guiseq> menu item.</p> diff --git a/help/de/organize-remove.page b/help/de/organize-remove.page index 1ad93bc..c0a6e52 100644 --- a/help/de/organize-remove.page +++ b/help/de/organize-remove.page @@ -3,7 +3,7 @@ <info> <link type="guide" xref="index#organize"/> - <desc>Remove photos from the library, or delete them from your computer entirely.</desc> + <desc>Fotos aus der Bibliothek entfernen oder ganz vom Rechner löschen.</desc> <link type="next" xref="search"/> @@ -22,26 +22,24 @@ <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> <mal:name>Christian Kirbach</mal:name> <mal:email>christian.kirbach@gmail.com</mal:email> - <mal:years>2014, 2106</mal:years> + <mal:years>2014, 2016, 2017</mal:years> </mal:credit> </info> - <title>Removing and deleting photos</title> + <title>Fotos entfernen und löschen</title> - <p>You may remove photos from your library and you may additionally delete them entirely from your hard disk.</p> -<media type="image" src="figures/trash_process.png">Delete process</media> -<p>This diagram shows how a photo, when deleted, is first put into Shotwell's trash. If you delete it from Shotwell's trash, it is put into your computer's trash. If you delete it from your computer's trash the photo is finally and irretrievably deleted from your computer.</p> + <p>Sie können Fotos aus Ihrer Bibliothek entfernen und diese zusätzlich vollständig von der Festplatte löschen.</p> +<media type="image" src="figures/trash_process.png">Löschvorgang</media> +<p>Das Diagramm zeigt, wie ein Foto beim Löschen zunächst in den Shotwell-eigenen Papierkorb verschoben wird. Wenn Sie es aus dem Papierkorb entfernen, wird es in den systemeigenen Papierkorb verschoben. Sobald Sie es aus diesem globalen Papierkorb entfernen, wird es unwiderruflich und endgültig von Ihrem Rechner entfernt.</p> <section id="delete-remove"> <title>Fotos werden aus Bibliothek entfernt</title> - <p>Select the photos to remove and choose <guiseq><gui>Edit</gui><gui>Move to Trash</gui></guiseq>. - (You can also press the <key>Delete</key> key.) - The photos will be moved from your library to Shotwell's Trash.</p> - <p>If you want to remove photos from Shotwell without having them pass through the trash, simply select the photos to be removed and choose <guiseq><gui>Edit</gui><gui>Remove From Library</gui></guiseq>. The photo files will be left in place on disk.</p> + <p>Wählen Sie die zu entfernenden Fotos aus udn wählen Sie <guiseq><gui>Bearbeiten</gui><gui>In den Papierkorb verschieben</gui></guiseq> oder drücken Sie die <key>Löschtaste</key>. Die Fotos werden aus Ihrer Bibliothek in den Shotwell-eigenen Papierkorb verschoben.</p> + <p>Wenn Sie Fotos aus Shotwell entfernen und dabei den Papierkorb umgehen wollen, wählen Sie einfach die zu entfernenden Fotos aus und wählen Sie <guiseq><gui>Bearbeiten</gui><gui>Aus der Bibliothek entfernen</gui></guiseq>. Die eigentlichen Fotodateien auf Ihrer Festplatte bleiben dabei erhalten.</p> </section> <section id="delete-empty"> <title>Den Papierkorb leeren oder Fotos wiederherstellen</title> - <p>Select the Trash entry in the Sidebar and Shotwell will display all photos that have been marked for removal or deletion. In the Trash view, the following commands are available:</p> + <p>Wählen Sie den Papierkorb-Eintrag in der Seitenleiste aus. Dadurch zeigt Shotwell alle Fotos an, die zum Entfernen oder Löschen markiert wurden. In der Papierkorb-Ansicht haben Sie folgende Möglichkeiten:</p> <terms> <item><title>Löschen</title><p>Löschen der ausgewählten Fotos aus dem Papierkorb.</p></item> <item><title>Wiederherstellen</title><p>Wiederherstellen der gewählten Fotos in Shotwell.</p></item> diff --git a/help/de/organize-search.page b/help/de/organize-search.page index c40600c..533d35d 100644 --- a/help/de/organize-search.page +++ b/help/de/organize-search.page @@ -22,7 +22,7 @@ <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> <mal:name>Christian Kirbach</mal:name> <mal:email>christian.kirbach@gmail.com</mal:email> - <mal:years>2014, 2106</mal:years> + <mal:years>2014, 2016, 2017</mal:years> </mal:credit> </info> @@ -48,17 +48,12 @@ images, videos, or raw camera files, respectively. </p> - <p> - Disabling the search bar or exiting Shotwell automatically resets the search bar. - </p> + <p>Durch Deaktivieren der Suchleiste oder Beenden von Shotwell wird die Suchleiste automatisch zurückgesetzt.</p> </section> <section id="savedsearch"> <title>Gespeicherte Suche</title> - <p> - A saved search persists across Shotwell sessions, and is updated as photos and videos are added - and removed from your Shotwell library. - </p> + <p>Eine gespeicherte Suche bleibt auch für eine spätere Shotwell-Sitzung erhalten. Sie wird durch Hinzufügen und Entfernen von Fotos und Videos zur beziehungsweise aus der Shotwell-Bibliothek aktualisiert.</p> <p> Create a new saved search with <guiseq><gui>Edit</gui><gui>New Saved Search...</gui></guiseq> or by hitting diff --git a/help/de/organize-tag.page b/help/de/organize-tag.page index 4f9c363..c36beb9 100644 --- a/help/de/organize-tag.page +++ b/help/de/organize-tag.page @@ -24,22 +24,15 @@ <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> <mal:name>Christian Kirbach</mal:name> <mal:email>christian.kirbach@gmail.com</mal:email> - <mal:years>2014, 2106</mal:years> + <mal:years>2014, 2016, 2017</mal:years> </mal:credit> </info> <title>Fotos markieren</title> - <p> - You can assign one or more tags to selected photos. - A tag can be one or more words that you want to associate with - those photos. - </p> + <p>Sie können den ausgewählten Fotos eines oder mehrere Stichworte zuweisen. Ein Stichwort kann aus einem oder mehreren Wörtern bestehen, die Sie mit diesen Fotos verbinden.</p> - <p> - To add new tags to photos, select the photos you would like to - tag, then do any of the following: - </p> + <p>Um neue Stichworte zu Fotos hinzuzufügen, wählen Sie zunächst die gewünschten Fotos aus. Auf folgende Weise können Sie nun Stichworte zuweisen:</p> <list> <item><p>Wählen Sie <guiseq><gui>Stichworte</gui><gui>Stichworte hinzufügen …</gui></guiseq>.</p></item> @@ -47,16 +40,7 @@ <item><p>Ziehen Sie die gewählten Fotos und legen Sie diese auf das gewünschte Stichwort ab.</p></item> </list> - <p> - When you use <keyseq><key>Ctrl</key><key>T</key></keyseq> or - <guiseq><gui>Tags</gui><gui>Add Tags...</gui></guiseq> you can type - in the names of one or more tags, separated by commas. - Once you have created a tag, you can rename it by selecting that - tag in the sidebar and choosing - <guiseq><gui>Tags</gui><gui>Rename Tag "[name]"...</gui></guiseq>, - by rightclicking on it and choose <gui>Rename...</gui> or - double-click on the tag in the sidebar. - </p> + <p>Wenn Sie <keyseq><key>Strg</key><key>T</key></keyseq> oder <guiseq><gui>Stichworte</gui><gui>Stichworte hinzufügen …</gui></guiseq> verwenden, so geben Sie anschließend ein oder mehrere Stichworte durch Kommata getrennt ein. Sofern Sie ein Stichwort erstellt haben, so benennen Sie es um, indem Sie es in der Seitenleiste auswählen und entweder <guiseq><gui>Stichworte</gui><gui>Stichwort »[Wort]« umbenennen …</gui></guiseq> wählen, oder mit der rechten Maustaste darauf klicken und <gui>Umbenennen …</gui> wählen, oder wenn Sie zweimal auf das Stichwort in der Seitenleiste klicken.</p> <p> To change which tags are associated with a particular photo, @@ -78,13 +62,7 @@ or by right-click and select <gui>Delete Tag "[name]"</gui>. </p> - <p> - When you create a tag, it will appear in the sidebar under the - <gui>Tags</gui> item, which is hidden if there are no tags. Photos - can have multiple tags attached to them, and when you click on the - name of a given tag in the sidebar, you will see all the photos - associated with that tag. - </p> + <p>Wenn Sie ein neues Stichwort anlegen, so erscheint es in der Seitenleiste unter <gui>Stichworte</gui>, was nur bei bestehenden Stichworten dargestellt wird. Fotos können mit mehreren Stichworten verknüpft sein. Wenn Sie auf ein Stichwort in der Seitenleiste klicken, so erscheinen daraufhin alle Fotos, die mit diesem Stichwort verknüpft sind.</p> <section id="hierarchaicaltags"> <title>Hierarchische Stichworte</title> diff --git a/help/de/organize-title.page b/help/de/organize-title.page index 8ac3f16..a75ec93 100644 --- a/help/de/organize-title.page +++ b/help/de/organize-title.page @@ -3,7 +3,7 @@ <info> <link type="guide" xref="index#organize"/> - <desc>Betiteln Ihrer Fotos</desc> + <desc>Betiteln Ihrer Fotos.</desc> <link type="next" xref="event"/> @@ -22,14 +22,13 @@ <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> <mal:name>Christian Kirbach</mal:name> <mal:email>christian.kirbach@gmail.com</mal:email> - <mal:years>2014, 2106</mal:years> + <mal:years>2014, 2016, 2017</mal:years> </mal:credit> </info> <title>Titel</title> -<p>The <guiseq><gui>View</gui><gui>Titles</gui></guiseq> checkbox toggles the display of titles -beneath each photo. By default, a photo's title is its filename.</p> +<p>Das Ankreuzfeld in <guiseq><gui>Ansicht</gui><gui>Titel</gui></guiseq> schaltet die Anzeige von Titeln neben jedem Foto an oder aus. In der Voreinstellung wird der Dateiname als Titel des Fotos verwendet.</p> <p>Um den Titel eines Fotos zu ändern, wählen Sie das Foto und anschließend <guiseq><gui>Fotos</gui><gui>Titel bearbeiten …</gui></guiseq> oder drücken Sie <key>F2</key>.</p> diff --git a/help/de/other-files.page b/help/de/other-files.page index 09f2584..075df85 100644 --- a/help/de/other-files.page +++ b/help/de/other-files.page @@ -3,7 +3,7 @@ <info> <link type="guide" xref="index#other"/> - <desc>Keep the Shotwell library in sync with photo files on disk.</desc> + <desc>Halten Sie die Shotwell-Bibliothek auf dem gleichen Stand wie die Fotos auf Ihrer Festplatte.</desc> <link type="next" xref="other-plugins"/> @@ -22,27 +22,20 @@ <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> <mal:name>Christian Kirbach</mal:name> <mal:email>christian.kirbach@gmail.com</mal:email> - <mal:years>2014, 2106</mal:years> + <mal:years>2014, 2016, 2017</mal:years> </mal:credit> </info> <title>Fotodateien</title> - <p> - Every photo in the Shotwell library corresponds to a file stored on your hard disk. Shotwell has - several features which help you keep the Shotwell library and files on disk in sync. - </p> + <p>Jedes Foto in der Shotwell-Bibliothek entspricht einer auf Ihrer Festplatte gespeicherten Datei. Shotwell verfügt über verschiedene Funktionen, um die Shotwell-Bibliothek mit den Dateien auf der Festplatte synchron zu halten.</p> <links type="section"/> <section id="dirpattern"> <title>Ein eigenes Namensschema verwenden</title> <p>Shotwell erlaubt es, ein eigenes Namensschema für Ihre Bibliothek zu verwenden. Passen Sie dazu die Einstellungen für <gui>Ordnerstruktur</gui> und <gui>Muster</gui> in den <gui>Einstellungen</gui> an. Verwenden Sie ein vorgewähltes Schema oder wählen Sie <gui>Benutzerdefiniert</gui> und tippen Sie Ihr eigenes ein.</p> - <p> - The available symbols for the directory pattern begin with a % (percent sign). The values - these symbols produce are locale-dependent, so what you see on your computer may vary - from the examples below. - </p> + <p>Die verfügbaren Symbole für das Ordnernamensmuster beginnen mit einem % (Prozentzeichen). Die Werte dieser Symbole sind von der Spracheinstellung abhängig. Folglich kann das Ergebnis auf Ihrem Rechner von den nachfolgenden Beispielen abweichen.</p> <table frame="all" rules="rowgroups"> <tbody> @@ -73,76 +66,52 @@ </tbody> </table> - <p> - There are other symbols available; please check the manual for strftime by running - the command <cmd>man strftime</cmd> if you need one that isn't listed here. - </p> + <p>Es sind weitere Symbole verfügbar. Bitte schauen Sie dazu im Handbuch von strftime nach, welches Sie mit dem Befehl <cmd>man strftime</cmd> ansehen können, falls ein benötigtes Symbol hier nicht aufgelistet ist.</p> </section> <section id="automatic-import"> <title>Automatisch Fotos importieren</title> - <p>Shotwell can automatically import new photos which appear in the library directory. - (The library directory is usually the <file>Pictures</file> directory in your home directory; - you can change its location in in the <gui>Preferences</gui> window.) - </p> + <p>Shotwell kann Fotos automatisch importieren, die dann im Bibliotheksordner erscheinen. Der Bibliotheksordner befindet sich im Allgemeinen im Ordner <file>Bilder</file> in Ihrem persönlichen Ordner. Diesen Ort können Sie in den <gui>Einstellungen</gui> ändern.</p> - <p>To enable auto-import, - check the box <gui>Watch library directory for new files</gui> in - the <gui>Preferences</gui> window.</p> + <p>Um den automatischen Import zu aktivieren, aktivieren Sie das Ankreuzfeld <gui>Bibliotheksordner auf neue Dateien überwachen</gui> in den <gui>Einstellungen</gui>.</p> - <note style="advanced"><p>Shotwell can also follow symbolic links inside automatically-imported directories.</p></note> + <note style="advanced"><p>Shotwell kann auch symbolischen Verknüpfungen innerhalb der automatisch importierten Ordner folgen.</p></note> </section> <section id="automatic-rename"> - <title>Automatically renaming imported photos to lowercase</title> + <title>Umbenennen automatisch importierter Fotos in Kleinbuchstaben</title> - <p> - Shotwell can automatically change the filenames of imported photos - to lowercase. To enable this, choose <guiseq><gui>Edit</gui><gui>Preferences</gui></guiseq>, - and in the <gui>Preferences</gui> window, check the <gui>Rename imported files to lowercase</gui> - box. - </p> + <p>Shotwell kann automatisch die Dateinamen importierter Fotos in Kleinbuchstaben ändern. Um dies zu aktivieren, wählen Sie <guiseq><gui>Bearbeiten</gui><gui>Einstellungen</gui></guiseq> und aktivieren Sie im <gui>Einstellungen</gui>-Fenster das Ankreuzfeld <gui>Namen von importierten Dateien in Kleinbuchstaben ändern</gui>.</p> </section> <section id="writing-metadata"> - <title>Writing metadata on the fly</title> + <title>Metadaten unmittelbar ändern</title> - <p>By default, Shotwell does not modify photo files, even when you edit photos or change their - tags or titles. Shotwell records these changes in its own database only.</p> + <p>In der Voreinstellung ändert Shotwell keine Fotos, selbst wenn Sie sie bearbeiten oder deren Stichworte und Titel ändern. Solche Änderungen werden lediglich in der Shotwell-eigenen Datenbank registriert.</p> - <p>To change this behavior, you can enable the checkbox - <gui>Write tags, titles and other metadata to photo files</gui> - in the <gui>Preferences</gui> dialog. When this option is enabled, Shotwell will write - the following metadata to most photo files whenever you change it in Shotwell:</p> + <p>Um dieses Verhalten zu ändern, aktivieren Sie das Ankreuzfeld <gui>Stichworte, Titel und andere Metadaten in die Fotodateien schreiben</gui> im <gui>Einstellungen</gui>-Dialog. Wenn diese Option aktiviert ist, werden die folgenden Metadaten in die Fotodateien geschrieben, sobald Sie sie in Shotwell ändern:</p> <list> <item><p>Titel</p></item> <item><p>Markierungen</p></item> <item><p>Bewertungen</p></item> - <item><p>Rotationsinformation</p></item> + <item><p>Ausrichtungsinformation</p></item> <item><p>Uhrzeit/Datum</p></item> </list> - <p>Shotwell stores this information in photo files in EXIF, IPTC and/or XMP format. Note - that Shotwell can write only to photo files in JPEG, PNG and TIFF format, not to BMP photos, RAW photos - or to video files. - </p> + <p>Shotwell speichert diese Informationen in Fotodateien im EXIF-, IPTC- und/oder XMP-Format. Beachten Sie, dass Shotwell nur in Fotodateien in den Formaten JPEG, PNG und TIFF schreiben kann, nicht in BMP-Fotos, RAW-Fotos oder Videodateien.</p> </section> <section id="runtime-monitoring"> - <title>Runtime monitoring</title> + <title>Laufzeitüberwachung</title> - <p>While Shotwell is running, it notices changes made to any photo file externally. - When a photo file changes, Shotwell rereads the file and updates your view of the - photo and metadata.</p> + <p>Wenn Shotwell ausgeführt wird, werden Änderungen an jeder Fotodatei extern gespeichert. Bei Änderungen an einer Fotodatei liest Shotwell diese erneut ein und aktualisiert die Bild- und Metadatenansicht.</p> - <p>Note that Shotwell checks all photo files for changes at startup, but only photo files contained in - the library directory are monitored in real time after startup. We hope to remove this limitation - in a further release.</p> + <p>Beachten Sie, das Shotwell beim Start alle Fotodateien auf Änderungen prüft, jedoch nach dem Start nur die im Bibliotheksordner enthaltenen Fotodateien in Echtzeit überwacht werden. Wir hoffen, diese Einschränkung in einer zukünftigen Version dieses Programms beseitigen zu können.</p> </section> diff --git a/help/de/other-missing.page b/help/de/other-missing.page index b64b315..8b45a95 100644 --- a/help/de/other-missing.page +++ b/help/de/other-missing.page @@ -22,7 +22,7 @@ <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> <mal:name>Christian Kirbach</mal:name> <mal:email>christian.kirbach@gmail.com</mal:email> - <mal:years>2014, 2106</mal:years> + <mal:years>2014, 2016, 2017</mal:years> </mal:credit> </info> @@ -32,8 +32,8 @@ <p>Falls Sie die nicht mehr benötigten Dateien aus der Shotwell-Sammlung entfernen wollen (weil Sie beispielsweise die Dateien bewusst gelöscht haben), wählen Sie diese Fotos in der Ansicht für fehlende Dateien in der Seitenleiste aus und klicken Sie auf <gui>Aus der Bibliothek entfernen</gui>.</p> -<p>If you have photos on a removable disk, such as a CD or USB flash drive, and <link xref="index#import">import</link> them into Shotwell <em>without</em> copying the photos to your computer, they will show up as missing files if you then disconnect the removable disk. See <link xref="import-file"/> to learn how to copy files from removable disks onto your computer.</p> +<p>Wenn Sie Fotos auf einem Wechseldatenträger haben, wie einer CD oder einem USB-Stick, und diese in Shotwell <link xref="index#import">importieren</link>, <em>ohne</em> dass die Fotos auf Ihren Rechner kopiert werden, werden diese Fotos als fehlend markiert, sobald Sie den Wechseldatenträger entfernen. In <link xref="import-file"/> finden Sie eine Anleitung, wie Sie Dateien von Wechseldatenträgern auf Ihren Rechner kopieren.</p> -<p>If any missing photo files become available again, Shotwell will notice this the next time it starts. The photos will once again appear in the Photos, Events and Tags views.</p> +<p>Wenn eines der fehlenden Fotos wieder verfügbar ist, bemerkt Shotwell dies, wenn es das nächste Mal gestartet wird. Die Fotos erscheinen wieder in den Foto-, Ereignis- und Stichwortansichten.</p> </page> diff --git a/help/de/other-multiple.page b/help/de/other-multiple.page index 7b346c5..c78ed27 100644 --- a/help/de/other-multiple.page +++ b/help/de/other-multiple.page @@ -3,7 +3,7 @@ <info> <link type="guide" xref="index#other"/> - <desc>You can open Shotwell with a different photo library by using the command line.</desc> + <desc>Sie können Shotwell mit einer anderen Fotobibliothek öffnen, wenn Sie die Befehlszeile verwenden.</desc> <link type="next" xref="other-files"/> @@ -22,7 +22,7 @@ <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> <mal:name>Christian Kirbach</mal:name> <mal:email>christian.kirbach@gmail.com</mal:email> - <mal:years>2014, 2106</mal:years> + <mal:years>2014, 2016, 2017</mal:years> </mal:credit> </info> @@ -30,7 +30,7 @@ <p>Shotwell speichert normalerweise seine Datenbank und Vorschaubilder der Fotos im Ordner <file>~/.shotwell</file>. Dieser Ordner enthält keine Fotos, sondern lediglich eine Datenbank mit einer Liste aller Fotos in der Shotwell-Bibliothek.</p> -<p>As an advanced feature, it's possible for you to have multiple Shotwell libraries, each of which has its own set of photos. Each library needs its own database directory. To launch Shotwell with an alternate library, specify an alternate database directory on the command line as follows:</p> +<p>Als erweitertes Funktionsmerkmal können Sie mehrere Shotwell-Bibliotheken mit jeweils eigenen Fotos haben. Dabei benötigt jede der Bibliotheken ihren eigenen Datenbankordner. Um Shotwell mit einer alternativen Bibliothek zu öffnen, geben Sie in der Befehlszeile den entsprechenden Datenbankordner wie folgt an:</p> <screen> shotwell -d [Bibliothek-Ordner] diff --git a/help/de/other-plugins.page b/help/de/other-plugins.page index 2060899..321e49a 100644 --- a/help/de/other-plugins.page +++ b/help/de/other-plugins.page @@ -22,24 +22,15 @@ <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> <mal:name>Christian Kirbach</mal:name> <mal:email>christian.kirbach@gmail.com</mal:email> - <mal:years>2014, 2106</mal:years> + <mal:years>2014, 2016, 2017</mal:years> </mal:credit> </info> - <title>Plugins</title> - <p> - Shotwell can be used with <em>plugins</em>, which are companion shared libraries that can - add support for new publishing destinations or new slideshow transitions. - </p> + <title>Erweiterungen</title> + <p>Shotwell bietet Unterstützung für <em>Erweiterungen</em> in Form von zusätzlichen Bibliotheken, mit deren Hilfe zusätzliche Funktionen wie beispielsweise neue Veröffentlichungsplattformen oder neue Diaschau-Übergänge bereit gestellt werden.</p> - <p> - To see a list of installed plugins, choose <guiseq><gui>Edit</gui><gui>Preferences</gui></guiseq>, - and in the <gui>Preferences</gui> window, click on the <gui>Plugins</gui> tab. You'll see a list - of currently-installed plugins, each with a checkbox by it, and you may enable or disable each by - selecting or deselecting the checkbox by its name. - </p> + <p>Öffnen Sie <guiseq><gui>Bearbeiten</gui><gui>Einstellungen</gui></guiseq>, um eine Liste aller installierten Erweiterungen zu sehen. Klicken Sie im Fenster <gui>Einstellungen</gui> auf den Reiter <gui>Erweiterungen</gui>. Es wird daraufhin eine Liste aller derzeit installierten Erweiterungen angezeigt. Neben jeder Erweiterung befindet sich ein Ankreuzfeld, mit dessen Hilfe Sie die Erweiterung ein- und ausschalten können.</p> - <note style="advanced"><p>Full documentation on how to develop new plugins is available at - <link href="http://redmine.yorba.org/projects/shotwell/wiki/ShotwellArchWritingPlugins">http://redmine.yorba.org/projects/shotwell/wiki/ShotwellArchWritingPlugins</link></p></note> + <note style="advanced"><p>Eine vollständige Dokumentation zum Entwickeln neuer Erweiterungen findet sich unter <link href="http://redmine.yorba.org/projects/shotwell/wiki/ShotwellArchWritingPlugins">http://redmine.yorba.org/projects/shotwell/wiki/ShotwellArchWritingPlugins</link></p></note> </page> diff --git a/help/de/raw.page b/help/de/raw.page index 6bb066b..189536c 100644 --- a/help/de/raw.page +++ b/help/de/raw.page @@ -22,7 +22,7 @@ <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> <mal:name>Christian Kirbach</mal:name> <mal:email>christian.kirbach@gmail.com</mal:email> - <mal:years>2014, 2106</mal:years> + <mal:years>2014, 2016, 2017</mal:years> </mal:credit> </info> diff --git a/help/de/running.page b/help/de/running.page index d4e4366..f5fc80b 100644 --- a/help/de/running.page +++ b/help/de/running.page @@ -24,7 +24,7 @@ <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> <mal:name>Christian Kirbach</mal:name> <mal:email>christian.kirbach@gmail.com</mal:email> - <mal:years>2014, 2106</mal:years> + <mal:years>2014, 2016, 2017</mal:years> </mal:credit> </info> diff --git a/help/de/share-background.page b/help/de/share-background.page index fcaa93e..171fbf3 100644 --- a/help/de/share-background.page +++ b/help/de/share-background.page @@ -22,7 +22,7 @@ <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> <mal:name>Christian Kirbach</mal:name> <mal:email>christian.kirbach@gmail.com</mal:email> - <mal:years>2014, 2106</mal:years> + <mal:years>2014, 2016, 2017</mal:years> </mal:credit> </info> @@ -30,10 +30,6 @@ <p>Wählen Sie <guiseq><gui>Datei</gui><gui>Als Hintergrundbild festlegen</gui></guiseq>, um ein einzelnes Foto als Schreibtisch-Hintergrund festzulegen.</p> - <p>You can also set your background to a slideshow of photos. To do this, select the photos for - the slideshow and choose <guiseq><gui>File</gui><gui>Set as Desktop Slideshow...</gui></guiseq>. - Shotwell will prompt you for a slideshow delay, which can be any interval up to one day in length. - The background slideshow will proceed even when Shotwell is not running. - </p> + <p>Sie können den Hintergrund auch als Diaschau aus Ihren Fotos darstellen lassen. Wählen Sie hierzu die Fotos für die Diaschau aus und wählen Sie <guiseq><gui>Datei</gui><gui>Als Hintergrundbild-Vorführung setzen …</gui></guiseq>. Shotwell fragt Sie nach der Verzögerung für den Bildwechsel, die bis zu einen Tag betragen kann. Die Diaschau wird auch dann weitergeführt, wenn Shotwell nicht läuft.</p> </page> diff --git a/help/de/share-export.page b/help/de/share-export.page index cd7dbc9..af618ed 100644 --- a/help/de/share-export.page +++ b/help/de/share-export.page @@ -22,7 +22,7 @@ <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> <mal:name>Christian Kirbach</mal:name> <mal:email>christian.kirbach@gmail.com</mal:email> - <mal:years>2014, 2106</mal:years> + <mal:years>2014, 2016, 2017</mal:years> </mal:credit> </info> @@ -30,7 +30,7 @@ <p>Um Fotos aus Shotwell mittels Ziehen-und-Ablegen zu exportieren, ziehen Sie die Fotos aus Shotwell in das Fenster einer Dateiverwaltung oder auf Ihre Arbeitsfläche. Die neuen Dateien entsprechen dann einer Kopie der Fotos Ihrer Bibliothek in Originalgröße.</p> -<p>Alternativ wählen Sie eine Gruppe Fotos und wählen Sie <guiseq><gui>Datei</gui><gui>Exportieren</gui></guiseq> oder drücken Sie <keyseq><key>Umschalttaste</key><key>Strg</key><key>E</key></keyseq>, um Fotos zu exportieren und dabei die Größe und Abmessung der Fotodateien zu bestimmen. Daraufhin erscheint ein Fenster mit mehreren Wahlmöglichkeiten:</p> +<p>Alternativ wählen Sie eine Fotogruppe und wählen Sie <guiseq><gui>Datei</gui><gui>Exportieren</gui></guiseq> oder drücken Sie <keyseq><key>Umschalttaste</key><key>Strg</key><key>E</key></keyseq>, um Fotos zu exportieren und dabei die Größe und Abmessung der Fotodateien zu bestimmen. Daraufhin erscheint ein Fenster mit mehreren Wahlmöglichkeiten:</p> <list> <item><p>Ein Format für den Export.</p> diff --git a/help/de/share-print.page b/help/de/share-print.page index e8da202..7bb84dd 100644 --- a/help/de/share-print.page +++ b/help/de/share-print.page @@ -22,7 +22,7 @@ <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> <mal:name>Christian Kirbach</mal:name> <mal:email>christian.kirbach@gmail.com</mal:email> - <mal:years>2014, 2106</mal:years> + <mal:years>2014, 2016, 2017</mal:years> </mal:credit> </info> diff --git a/help/de/share-send.page b/help/de/share-send.page index 6daf745..ec7fc0a 100644 --- a/help/de/share-send.page +++ b/help/de/share-send.page @@ -22,7 +22,7 @@ <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> <mal:name>Christian Kirbach</mal:name> <mal:email>christian.kirbach@gmail.com</mal:email> - <mal:years>2014, 2106</mal:years> + <mal:years>2014, 2016, 2017</mal:years> </mal:credit> </info> diff --git a/help/de/share-slideshow.page b/help/de/share-slideshow.page index d88e51f..c12920c 100644 --- a/help/de/share-slideshow.page +++ b/help/de/share-slideshow.page @@ -3,7 +3,7 @@ <info> <link type="guide" xref="index#share"/> - <desc>Eine Bildvorführung Ihrer Fotos ansehen</desc> + <desc>Eine Bildvorführung Ihrer Fotos ansehen.</desc> <link type="next" xref="share-export"/> @@ -22,7 +22,7 @@ <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> <mal:name>Christian Kirbach</mal:name> <mal:email>christian.kirbach@gmail.com</mal:email> - <mal:years>2014, 2106</mal:years> + <mal:years>2014, 2016, 2017</mal:years> </mal:credit> </info> diff --git a/help/de/share-upload.page b/help/de/share-upload.page index 96d61e4..143ccb4 100644 --- a/help/de/share-upload.page +++ b/help/de/share-upload.page @@ -22,13 +22,13 @@ <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> <mal:name>Christian Kirbach</mal:name> <mal:email>christian.kirbach@gmail.com</mal:email> - <mal:years>2014, 2106</mal:years> + <mal:years>2014, 2016, 2017</mal:years> </mal:credit> </info> <title>Ins Internet veröffentlichen</title> - <p>Mit Hilfe von <link xref="other-plugins">Plugins</link> kann Shotwell Fotos und Videos bei den folgenden Diensten veröffentlichen. Jeder Dienst erfordert ein Benutzerkonto:</p> + <p>Mit Hilfe von <link xref="other-plugins">Erweiterungen</link> kann Shotwell Fotos und Videos bei den folgenden Diensten veröffentlichen. Jeder Dienst erfordert ein Benutzerkonto:</p> <list> <item><p><link href="http://facebook.com">Facebook</link></p></item> diff --git a/help/de/view-displaying.page b/help/de/view-displaying.page index 18c0407..085b623 100644 --- a/help/de/view-displaying.page +++ b/help/de/view-displaying.page @@ -22,11 +22,11 @@ <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> <mal:name>Christian Kirbach</mal:name> <mal:email>christian.kirbach@gmail.com</mal:email> - <mal:years>2014, 2106</mal:years> + <mal:years>2014, 2016, 2017</mal:years> </mal:credit> </info> - <title>Fotoansichten</title> + <title>Fotos betrachten</title> <p>Wenn Sie eine Sammlung in der Seitenleiste wählen, zeigt Shotwell alle Fotos der Sammlung im Hauptfenster an. Unten rechts befindet sich ein Schieberegler zur Anpassung der Größe der Vorschaubilder. Sie können ebenfalls die Größe der Vorschaubilder mit den Tasten <key>+</key> und <key>-</key> anpassen, oder indem Sie <key>Strg</key> gedrückt halten, während das Mausrad gedreht wird.</p> diff --git a/help/de/view-information.page b/help/de/view-information.page index dae1a4a..0c33f76 100644 --- a/help/de/view-information.page +++ b/help/de/view-information.page @@ -22,7 +22,7 @@ <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> <mal:name>Christian Kirbach</mal:name> <mal:email>christian.kirbach@gmail.com</mal:email> - <mal:years>2014, 2106</mal:years> + <mal:years>2014, 2016, 2017</mal:years> </mal:credit> </info> diff --git a/help/de/view-sidebar.page b/help/de/view-sidebar.page index 52bebf6..8bf2175 100644 --- a/help/de/view-sidebar.page +++ b/help/de/view-sidebar.page @@ -31,7 +31,7 @@ <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright"> <mal:name>Christian Kirbach</mal:name> <mal:email>christian.kirbach@gmail.com</mal:email> - <mal:years>2014, 2106</mal:years> + <mal:years>2014, 2016, 2017</mal:years> </mal:credit> </info> diff --git a/icons/Makefile.in b/icons/Makefile.in index 49a770f..0bb568d 100644 --- a/icons/Makefile.in +++ b/icons/Makefile.in @@ -90,7 +90,8 @@ build_triplet = @build@ host_triplet = @host@ subdir = icons ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/m4/ax_generate_changelog.m4 \ +am__aclocal_m4_deps = $(top_srcdir)/m4/appstream-xml.m4 \ + $(top_srcdir)/m4/ax_generate_changelog.m4 \ $(top_srcdir)/m4/ax_is_release.m4 \ $(top_srcdir)/m4/ax_require_defined.m4 \ $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/gsettings.m4 \ @@ -269,7 +270,7 @@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ -appdataxmldir = @appdataxmldir@ +appstreamxmldir = @appstreamxmldir@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ diff --git a/m4/appstream-xml.m4 b/m4/appstream-xml.m4 new file mode 100644 index 0000000..1472802 --- /dev/null +++ b/m4/appstream-xml.m4 @@ -0,0 +1,86 @@ +# appstream-xml.m4 +# +# serial 6 + +dnl APPSTREAM_XML +dnl Installs and validates AppData XML files. +dnl +dnl Call APPSTREAM_XML in configure.ac to check for the appstream-util tool. +dnl Add @APPSTREAM_XML_RULES@ to a Makefile.am to substitute the make rules. Add +dnl .appdata.xml files to appstream_XML in Makefile.am and they will be validated +dnl at make check time, if appstream-util is installed, as well as installed +dnl to the correct location automatically. Add --enable-appstream-util to +dnl DISTCHECK_CONFIGURE_FLAGS in Makefile.am to require valid AppData XML when +dnl doing a distcheck. +dnl +dnl Adding files to appstream_XML does not distribute them automatically. + +AC_DEFUN([APPSTREAM_XML], +[ + m4_pattern_allow([AM_V_GEN]) + AC_ARG_ENABLE([appstream-util], + [AS_HELP_STRING([--disable-appstream-util], + [Disable validating AppData XML files during check phase])]) + + AS_IF([test "x$enable_appstream_validate" != "xno"], + [AC_PATH_PROG([APPSTREAM_UTIL], [appstream-util]) + AS_IF([test "x$APPSTREAM_UTIL" = "x"], + [have_appstream_validate=no], + [have_appstream_validate=yes + AC_SUBST([APPSTREAM_UTIL])])], + [have_appstream_validate=no]) + + AS_IF([test "x$have_appstream_validate" != "xno"], + [appstream_validate=yes], + [appstream_validate=no + AS_IF([test "x$enable_appstream_validate" = "xyes"], + [AC_MSG_ERROR([AppData validation was requested but appstream-util was not found])])]) + + AC_SUBST([appstreamxmldir], [${datadir}/appdata]) + + APPSTREAM_XML_RULES=' +.PHONY : uninstall-appstream-xml install-appstream-xml clean-appstream-xml + +mostlyclean-am: clean-appstream-xml + +%.appdata.valid: %.appdata.xml + $(AM_V_GEN) if test -f "$<"; then d=; else d="$(srcdir)/"; fi; \ + if test -n "$(APPSTREAM_UTIL)"; \ + then $(APPSTREAM_UTIL) --nonet validate $${d}$<; fi \ + && touch [$]@ + +check-am: $(appstream_XML:.appdata.xml=.appdata.valid) +uninstall-am: uninstall-appstream-xml +install-data-am: install-appstream-xml + +.SECONDARY: $(appstream_XML) + +install-appstream-xml: $(appstream_XML) + @$(NORMAL_INSTALL) + if test -n "$^"; then \ + test -z "$(appstreamxmldir)" || $(MKDIR_P) "$(DESTDIR)$(appstreamxmldir)"; \ + $(INSTALL_DATA) $^ "$(DESTDIR)$(appstreamxmldir)"; \ + fi + +uninstall-appstream-xml: + @$(NORMAL_UNINSTALL) + @list='\''$(appstream_XML)'\''; test -n "$(appstreamxmldir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e '\''s|^.*/||'\''`; \ + test -n "$$files" || exit 0; \ + echo " ( cd '\''$(DESTDIR)$(appstreamxmldir)'\'' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(appstreamxmldir)" && rm -f $$files + +clean-appstream-xml: + rm -f $(appstream_XML:.appdata.xml=.appdata.valid) +' + _APPSTREAM_XML_SUBST(APPSTREAM_XML_RULES) +]) + +dnl _APPSTREAM_XML_SUBST(VARIABLE) +dnl Abstract macro to do either _AM_SUBST_NOTMAKE or AC_SUBST +AC_DEFUN([_APPSTREAM_XML_SUBST], +[ +AC_SUBST([$1]) +m4_ifdef([_AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE([$1])]) +] +) diff --git a/misc/Makefile.am b/misc/Makefile.am index 6376879..711b06f 100644 --- a/misc/Makefile.am +++ b/misc/Makefile.am @@ -19,7 +19,7 @@ $(appdata_XML) : $(appdata_in_files) $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@ @GSETTINGS_RULES@ -@APPDATA_XML_RULES@ +@APPSTREAM_XML_RULES@ CLEANFILES = $(appdata_XML) $(desktop_DATA) $(desktop_in_files) diff --git a/misc/Makefile.in b/misc/Makefile.in index ece7535..36072f4 100644 --- a/misc/Makefile.in +++ b/misc/Makefile.in @@ -90,7 +90,8 @@ build_triplet = @build@ host_triplet = @host@ subdir = misc ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/m4/ax_generate_changelog.m4 \ +am__aclocal_m4_deps = $(top_srcdir)/m4/appstream-xml.m4 \ + $(top_srcdir)/m4/ax_generate_changelog.m4 \ $(top_srcdir)/m4/ax_is_release.m4 \ $(top_srcdir)/m4/ax_require_defined.m4 \ $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/gsettings.m4 \ @@ -297,7 +298,7 @@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ -appdataxmldir = @appdataxmldir@ +appstreamxmldir = @appstreamxmldir@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ @@ -585,7 +586,7 @@ $(appdata_XML) : $(appdata_in_files) $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@ @GSETTINGS_RULES@ -@APPDATA_XML_RULES@ +@APPSTREAM_XML_RULES@ -include $(top_srcdir)/git.mk @@ -17,8 +17,8 @@ msgstr "" "Project-Id-Version: shotwell\n" "Report-Msgid-Bugs-To: https://bugzilla.gnome.org/enter_bug.cgi?" "product=shotwell&keywords=I18N+L10N&component=Internationalization\n" -"POT-Creation-Date: 2017-03-14 12:50+0000\n" -"PO-Revision-Date: 2017-03-15 00:54+0100\n" +"POT-Creation-Date: 2017-04-02 16:28+0000\n" +"PO-Revision-Date: 2017-06-24 10:35+0200\n" "Last-Translator: Marek Černocký <marek@manet.cz>\n" "Language-Team: čeština <gnome-cs-list@gnome.org>\n" "Language: cs\n" @@ -30,9 +30,9 @@ msgstr "" #: misc/shotwell.appdata.xml.in:8 misc/shotwell.desktop.in.in:4 #: plugins/shotwell-publishing-extras/GalleryConnector.vala:115 -#: src/photos/RawSupport.vala:313 ui/collection.ui:85 ui/event.ui:354 -#: ui/event.ui:522 ui/media.ui:354 ui/photo_context.ui:91 ui/photo.ui:344 -#: ui/tags.ui:354 +#: src/photos/RawSupport.vala:313 ui/collection.ui:85 ui/event.ui:356 +#: ui/event.ui:524 ui/media.ui:356 ui/photo_context.ui:91 ui/photo.ui:346 +#: ui/tags.ui:356 msgid "Shotwell" msgstr "Shotwell" @@ -1510,7 +1510,7 @@ msgstr "" msgid "Visit the Shotwell home page" msgstr "Navštívit web aplikace Shotwell" -#: plugins/common/Resources.vala:31 src/AppWindow.vala:602 +#: plugins/common/Resources.vala:31 src/AppWindow.vala:605 msgid "translator-credits" msgstr "" "David Štancl <dstancl@dstancl.cz>\n" @@ -2285,7 +2285,7 @@ msgid "Logout" msgstr "Odhlásit" #: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:268 -#: src/Resources.vala:295 ui/collection.ui:190 +#: src/Resources.vala:296 ui/collection.ui:192 msgid "Publish" msgstr "Zveřejnit" @@ -2316,7 +2316,7 @@ msgid "Certificate of %s" msgstr "Certifikát serveru %s" #: plugins/shotwell-publishing/PiwigoPublishing.vala:1051 -#: src/Resources.vala:166 +#: src/Resources.vala:167 msgid "_OK" msgstr "_Budiž" @@ -2501,7 +2501,7 @@ msgstr "Opustit režim celé obrazovky" #: src/data_imports/DataImportsUI.vala:419 src/Dialogs.vala:20 #: src/Dialogs.vala:28 src/Dialogs.vala:1420 src/Dialogs.vala:1443 #: src/publishing/PublishingUI.vala:301 src/publishing/PublishingUI.vala:525 -#: src/Resources.vala:157 +#: src/Resources.vala:158 msgid "_Cancel" msgstr "_Zrušit" @@ -2518,21 +2518,27 @@ msgstr "" "\n" "%s" -#: src/AppWindow.vala:599 +#. translators: %s will be replaced by application version +#: src/AppWindow.vala:596 +#, c-format +msgid "%s – “Aachen”" +msgstr "%s – „Cáchy“" + +#: src/AppWindow.vala:601 msgid "Visit the Shotwell web site" msgstr "Navštívit web aplikace Shotwell" -#: src/AppWindow.vala:611 +#: src/AppWindow.vala:614 #, c-format msgid "Unable to display help: %s" msgstr "Nelze zobrazit nápovědu: %s" -#: src/AppWindow.vala:619 +#: src/AppWindow.vala:622 #, c-format msgid "Unable to navigate to bug database: %s" msgstr "Nelze se připojit k databázi chyb: %s" -#: src/AppWindow.vala:627 +#: src/AppWindow.vala:630 #, c-format msgid "Unable to display FAQ: %s" msgstr "Nelze zobrazit časté dotazy a odpovědi: %s" @@ -2604,8 +2610,8 @@ msgstr "Fotoaparáty" #: src/camera/Branch.vala:99 src/camera/ImportPage.vala:718 #: src/camera/ImportPage.vala:734 src/photos/RawSupport.vala:316 -#: ui/collection.ui:90 ui/event.ui:359 ui/event.ui:527 ui/media.ui:359 -#: ui/photo_context.ui:96 ui/photo.ui:349 ui/tags.ui:359 +#: ui/collection.ui:90 ui/event.ui:361 ui/event.ui:529 ui/media.ui:361 +#: ui/photo_context.ui:96 ui/photo.ui:351 ui/tags.ui:361 msgid "Camera" msgstr "Fotoaparát" @@ -2758,21 +2764,21 @@ msgstr[1] "Kvůli chybě nelze smazat %d fotografie/videa z fotoaparátu." msgstr[2] "Kvůli chybě nelze smazat %d fotografií/videí z fotoaparátu." #: src/CollectionPage.vala:80 src/direct/DirectPhotoPage.vala:85 -#: src/PhotoPage.vala:2464 src/Resources.vala:170 +#: src/PhotoPage.vala:2464 src/Resources.vala:171 msgid "_Print" msgstr "_Tisk" -#: src/CollectionPage.vala:83 src/Resources.vala:323 ui/collection.ui:126 -#: ui/direct_context.ui:25 ui/direct.ui:23 ui/event.ui:563 ui/photo.ui:28 +#: src/CollectionPage.vala:83 src/Resources.vala:324 ui/collection.ui:128 +#: ui/direct_context.ui:25 ui/direct.ui:23 ui/event.ui:567 ui/photo.ui:28 msgid "Send _To…" msgstr "Odesla_t…" #: src/CollectionPage.vala:84 src/direct/DirectPhotoPage.vala:90 -#: src/PhotoPage.vala:2474 src/Resources.vala:220 +#: src/PhotoPage.vala:2474 src/Resources.vala:221 msgid "Set as _Desktop Background" msgstr "Nastavit jako poza_dí plochy" -#: src/CollectionPage.vala:92 src/Resources.vala:286 +#: src/CollectionPage.vala:92 src/Resources.vala:287 msgid "_Duplicate" msgstr "_Duplikovat" @@ -2784,43 +2790,43 @@ msgstr "Celá obrazovka" msgid "S_lideshow" msgstr "P_romítat" -#: src/CollectionPage.vala:110 src/Resources.vala:139 ui/direct.ui:111 +#: src/CollectionPage.vala:110 src/Resources.vala:140 ui/direct.ui:111 #: ui/photo.ui:200 msgid "Rotate _Right" msgstr "Otočit dop_rava" -#: src/CollectionPage.vala:113 src/Resources.vala:144 ui/direct.ui:116 +#: src/CollectionPage.vala:113 src/Resources.vala:145 ui/direct.ui:116 #: ui/photo.ui:205 msgid "Rotate _Left" msgstr "Otočit do_leva" -#: src/CollectionPage.vala:116 src/Resources.vala:149 ui/direct.ui:121 +#: src/CollectionPage.vala:116 src/Resources.vala:150 ui/direct.ui:121 #: ui/photo.ui:210 msgid "Flip Hori_zontally" msgstr "Překlopit vo_dorovně" -#: src/CollectionPage.vala:117 src/Resources.vala:152 ui/direct.ui:125 +#: src/CollectionPage.vala:117 src/Resources.vala:153 ui/direct.ui:125 #: ui/photo.ui:214 msgid "Flip Verti_cally" msgstr "Překlopit s_visle" -#: src/CollectionPage.vala:119 src/Resources.vala:186 ui/collection.ui:8 -#: ui/direct_context.ui:9 ui/direct.ui:134 ui/event.ui:445 +#: src/CollectionPage.vala:119 src/Resources.vala:187 ui/collection.ui:8 +#: ui/direct_context.ui:9 ui/direct.ui:134 ui/event.ui:447 #: ui/photo_context.ui:6 ui/photo.ui:223 msgid "_Enhance" msgstr "_Vylepšit" -#: src/CollectionPage.vala:120 src/Resources.vala:214 ui/collection.ui:13 -#: ui/direct_context.ui:14 ui/direct.ui:161 ui/event.ui:450 +#: src/CollectionPage.vala:120 src/Resources.vala:215 ui/collection.ui:13 +#: ui/direct_context.ui:14 ui/direct.ui:161 ui/event.ui:452 #: ui/photo_context.ui:11 ui/photo.ui:250 msgid "Re_vert to Original" msgstr "_Vrátit zpět na původní" -#: src/CollectionPage.vala:122 src/Resources.vala:190 ui/photo.ui:256 +#: src/CollectionPage.vala:122 src/Resources.vala:191 ui/photo.ui:256 msgid "_Copy Color Adjustments" msgstr "_Kopírovat úpravu barev" -#: src/CollectionPage.vala:125 src/Resources.vala:194 ui/photo.ui:261 +#: src/CollectionPage.vala:125 src/Resources.vala:195 ui/photo.ui:261 msgid "_Paste Color Adjustments" msgstr "Vložit ú_pravu barev" @@ -2828,16 +2834,16 @@ msgstr "Vložit ú_pravu barev" msgid "Adjust Date and Time…" msgstr "Nastavit datum a čas…" -#: src/CollectionPage.vala:143 src/Resources.vala:319 +#: src/CollectionPage.vala:143 src/Resources.vala:320 msgid "Open With E_xternal Editor" msgstr "Otevřít v e_xterním editoru" -#: src/CollectionPage.vala:146 src/Resources.vala:321 ui/collection.ui:111 -#: ui/event.ui:548 ui/photo_context.ui:118 ui/photo.ui:363 +#: src/CollectionPage.vala:146 src/Resources.vala:322 ui/collection.ui:113 +#: ui/event.ui:552 ui/photo_context.ui:120 ui/photo.ui:365 msgid "Open With RA_W Editor" msgstr "Otevřít v editoru RA_W" -#: src/CollectionPage.vala:149 src/Resources.vala:167 +#: src/CollectionPage.vala:149 src/Resources.vala:168 msgid "_Play" msgstr "_Přehrát" @@ -3176,8 +3182,8 @@ msgstr[1] "Tím odstraníte štítek „%s“ ze %d fotografií. Pokračovat?" msgstr[2] "Tím odstraníte štítek „%s“ z %d fotografií. Pokračovat?" #: src/Dialogs.vala:20 src/Dialogs.vala:28 src/Dialogs.vala:1388 -#: src/Resources.vala:158 src/Resources.vala:361 src/Resources.vala:414 -#: src/Resources.vala:658 ui/savedsearch.ui:15 ui/tags.ui:458 ui/trash.ui:63 +#: src/Resources.vala:159 src/Resources.vala:362 src/Resources.vala:415 +#: src/Resources.vala:659 ui/savedsearch.ui:15 ui/tags.ui:460 ui/trash.ui:63 #: ui/trash.ui:216 ui/trash.ui:258 msgid "_Delete" msgstr "S_mazat" @@ -3690,7 +3696,7 @@ msgstr[2] "%d hodin" msgid "1 day" msgstr "1 den" -#: src/Dialogs.vala:1317 src/Resources.vala:231 +#: src/Dialogs.vala:1317 src/Resources.vala:232 msgid "Rename Event" msgstr "Přejmenovat událost" @@ -3709,7 +3715,7 @@ msgid "Title:" msgstr "Název:" #. Dialog title -#: src/Dialogs.vala:1345 src/Resources.vala:307 +#: src/Dialogs.vala:1345 src/Resources.vala:308 msgid "Edit Event Comment" msgstr "Úprava komentáře k události" @@ -3768,7 +3774,7 @@ msgstr[0] "Tím se fotka odebere z knihovny. Pokračovat?" msgstr[1] "Tím se odeberou %d fotky z knihovny. Pokračovat?" msgstr[2] "Tím se odebere %d fotek z knihovny. Pokračovat?" -#: src/Dialogs.vala:1444 src/Resources.vala:173 +#: src/Dialogs.vala:1444 src/Resources.vala:174 msgid "_Remove" msgstr "Odeb_rat" @@ -4152,7 +4158,7 @@ msgstr "%s nepodporuje formát %s." msgid "Unable open photo %s. Sorry." msgstr "Nelze otevřít fotografii %s." -#: src/direct/DirectPhotoPage.vala:316 src/Resources.vala:175 ui/direct.ui:8 +#: src/direct/DirectPhotoPage.vala:316 src/Resources.vala:176 ui/direct.ui:8 msgid "_Save" msgstr "_Uložit" @@ -4386,7 +4392,7 @@ msgstr "Zvýšení kontrastu" msgid "Angle:" msgstr "Úhel:" -#: src/editing_tools/StraightenTool.vala:100 src/Resources.vala:202 +#: src/editing_tools/StraightenTool.vala:100 src/Resources.vala:203 #: ui/direct.ui:144 ui/photo.ui:233 msgid "_Straighten" msgstr "_Vyrovnat" @@ -5026,579 +5032,579 @@ msgstr "" msgid "Publishing" msgstr "Zveřejňování" -#: src/Resources.vala:140 src/Resources.vala:145 ui/collection.ui:149 +#: src/Resources.vala:141 src/Resources.vala:146 ui/collection.ui:151 msgid "Rotate" msgstr "Otočit" -#: src/Resources.vala:141 +#: src/Resources.vala:142 msgid "Rotate Right" msgstr "Otočit doprava" -#: src/Resources.vala:142 ui/collection.ui:146 +#: src/Resources.vala:143 ui/collection.ui:148 msgid "Rotate the photos right (press Ctrl to rotate left)" msgstr "Otočit fotografii doprava (pro otočení doleva zmáčkněte Ctrl)" -#: src/Resources.vala:146 +#: src/Resources.vala:147 msgid "Rotate Left" msgstr "Otočit doleva" -#: src/Resources.vala:147 +#: src/Resources.vala:148 msgid "Rotate the photos left" msgstr "Otočí fotografii doleva" -#: src/Resources.vala:150 +#: src/Resources.vala:151 msgid "Flip Horizontally" msgstr "Překlopit vodorovně" -#: src/Resources.vala:153 +#: src/Resources.vala:154 msgid "Flip Vertically" msgstr "Překlopit svisle" -#: src/Resources.vala:155 ui/direct.ui:191 ui/events_directory.ui:168 -#: ui/event.ui:436 ui/import_queue.ui:83 ui/import.ui:201 ui/media.ui:419 -#: ui/offline.ui:198 ui/photo.ui:402 ui/tags.ui:438 ui/trash.ui:207 +#: src/Resources.vala:156 ui/direct.ui:191 ui/events_directory.ui:168 +#: ui/event.ui:438 ui/import_queue.ui:83 ui/import.ui:201 ui/media.ui:421 +#: ui/offline.ui:198 ui/photo.ui:404 ui/tags.ui:440 ui/trash.ui:207 msgid "_About" msgstr "O _aplikaci" -#: src/Resources.vala:156 +#: src/Resources.vala:157 msgid "_Apply" msgstr "_Použít" -#: src/Resources.vala:159 ui/direct.ui:44 ui/events_directory.ui:32 +#: src/Resources.vala:160 ui/direct.ui:44 ui/events_directory.ui:32 #: ui/event.ui:47 ui/import.ui:40 ui/media.ui:47 ui/offline.ui:32 #: ui/photo.ui:55 ui/tags.ui:47 ui/trash.ui:37 msgid "_Edit" msgstr "_Upravit" -#: src/Resources.vala:160 +#: src/Resources.vala:161 msgid "_Forward" msgstr "V_před" -#: src/Resources.vala:161 ui/direct.ui:62 ui/events_directory.ui:125 +#: src/Resources.vala:162 ui/direct.ui:62 ui/events_directory.ui:125 #: ui/photo.ui:173 msgid "Fulls_creen" msgstr "_Celá obrazovka" -#: src/Resources.vala:162 ui/direct.ui:173 ui/direct.ui:176 -#: ui/events_directory.ui:150 ui/events_directory.ui:153 ui/event.ui:418 -#: ui/event.ui:421 ui/import_queue.ui:65 ui/import_queue.ui:68 ui/import.ui:183 -#: ui/import.ui:186 ui/media.ui:401 ui/media.ui:404 ui/offline.ui:180 -#: ui/offline.ui:183 ui/photo.ui:384 ui/photo.ui:387 ui/tags.ui:420 -#: ui/tags.ui:423 ui/trash.ui:189 ui/trash.ui:192 +#: src/Resources.vala:163 ui/direct.ui:173 ui/direct.ui:176 +#: ui/events_directory.ui:150 ui/events_directory.ui:153 ui/event.ui:420 +#: ui/event.ui:423 ui/import_queue.ui:65 ui/import_queue.ui:68 ui/import.ui:183 +#: ui/import.ui:186 ui/media.ui:403 ui/media.ui:406 ui/offline.ui:180 +#: ui/offline.ui:183 ui/photo.ui:386 ui/photo.ui:389 ui/tags.ui:422 +#: ui/tags.ui:425 ui/trash.ui:189 ui/trash.ui:192 msgid "_Help" msgstr "_Nápověda" -#: src/Resources.vala:163 +#: src/Resources.vala:164 msgid "Leave _Fullscreen" msgstr "Opustit _celou obrazovku" -#: src/Resources.vala:164 src/Resources.vala:363 ui/tags.ui:448 +#: src/Resources.vala:165 src/Resources.vala:364 ui/tags.ui:450 msgid "_New" msgstr "_Nový" -#: src/Resources.vala:165 +#: src/Resources.vala:166 msgid "_Next" msgstr "_Následující" -#: src/Resources.vala:168 src/Resources.vala:317 ui/events_directory.ui:65 +#: src/Resources.vala:169 src/Resources.vala:318 ui/events_directory.ui:65 #: ui/event.ui:93 ui/import.ui:68 ui/media.ui:93 ui/offline.ui:72 #: ui/photo.ui:89 ui/tags.ui:93 ui/trash.ui:81 msgid "_Preferences" msgstr "_Předvolby" -#: src/Resources.vala:169 +#: src/Resources.vala:170 msgid "_Previous" msgstr "_Předchozí" -#: src/Resources.vala:171 ui/direct.ui:37 ui/events_directory.ui:25 +#: src/Resources.vala:172 ui/direct.ui:37 ui/events_directory.ui:25 #: ui/event.ui:40 ui/import_queue.ui:31 ui/import.ui:33 ui/media.ui:40 #: ui/offline.ui:25 ui/photo.ui:48 ui/tags.ui:40 ui/trash.ui:30 msgid "_Quit" msgstr "U_končit" -#: src/Resources.vala:172 +#: src/Resources.vala:173 msgid "_Refresh" msgstr "_Aktualizovat" -#: src/Resources.vala:174 +#: src/Resources.vala:175 msgid "_Revert" msgstr "V_rátit" -#: src/Resources.vala:176 +#: src/Resources.vala:177 msgid "Save _As" msgstr "Uložit j_ako" -#: src/Resources.vala:177 +#: src/Resources.vala:178 msgid "Sort _Ascending" msgstr "Ř_adit vzestupně" -#: src/Resources.vala:178 +#: src/Resources.vala:179 msgid "Sort _Descending" msgstr "Řa_dit sestupně" -#: src/Resources.vala:179 +#: src/Resources.vala:180 msgid "_Stop" msgstr "Za_stavit" -#: src/Resources.vala:180 +#: src/Resources.vala:181 msgid "_Undelete" msgstr "Vrátit _smazání" -#: src/Resources.vala:181 +#: src/Resources.vala:182 msgid "_Normal Size" msgstr "_Normální velikost" -#: src/Resources.vala:182 +#: src/Resources.vala:183 msgid "Best _Fit" msgstr "Přizpůso_bit" -#: src/Resources.vala:183 ui/direct.ui:69 ui/event.ui:260 ui/media.ui:260 +#: src/Resources.vala:184 ui/direct.ui:69 ui/event.ui:260 ui/media.ui:260 #: ui/photo.ui:144 ui/tags.ui:260 msgid "Zoom _In" msgstr "Přiblíž_it" -#: src/Resources.vala:184 ui/direct.ui:74 ui/event.ui:265 ui/media.ui:265 +#: src/Resources.vala:185 ui/direct.ui:74 ui/event.ui:265 ui/media.ui:265 #: ui/photo.ui:149 ui/tags.ui:265 msgid "Zoom _Out" msgstr "_Oddálit" -#: src/Resources.vala:187 ui/collection.ui:165 +#: src/Resources.vala:188 ui/collection.ui:167 msgid "Enhance" msgstr "Vylepšit" -#: src/Resources.vala:188 ui/collection.ui:162 +#: src/Resources.vala:189 ui/collection.ui:164 msgid "Automatically improve the photo’s appearance" msgstr "Automaticky vylepšit vzhled fotografie" -#: src/Resources.vala:191 +#: src/Resources.vala:192 msgid "Copy Color Adjustments" msgstr "Kopírovat úpravu barev" -#: src/Resources.vala:192 +#: src/Resources.vala:193 msgid "Copy the color adjustments applied to the photo" msgstr "Kopírovat parametry úpravy barev použité u fotografie" -#: src/Resources.vala:195 +#: src/Resources.vala:196 msgid "Paste Color Adjustments" msgstr "Vložit úpravu barev" -#: src/Resources.vala:196 +#: src/Resources.vala:197 msgid "Apply copied color adjustments to the selected photos" msgstr "Použít u vybraných fotografií zkopírované parametry úpravy barev" -#: src/Resources.vala:198 ui/direct.ui:139 ui/photo.ui:228 +#: src/Resources.vala:199 ui/direct.ui:139 ui/photo.ui:228 msgid "_Crop" msgstr "_Oříznout" -#: src/Resources.vala:199 +#: src/Resources.vala:200 msgid "Crop" msgstr "Oříznout" -#: src/Resources.vala:200 +#: src/Resources.vala:201 msgid "Crop the photo’s size" msgstr "Oříznout rozměry fotografie" -#: src/Resources.vala:203 +#: src/Resources.vala:204 msgid "Straighten" msgstr "Vyrovnat" -#: src/Resources.vala:204 +#: src/Resources.vala:205 msgid "Straighten the photo" msgstr "Vyrovnat fotografii" -#: src/Resources.vala:206 ui/direct.ui:149 ui/photo.ui:238 +#: src/Resources.vala:207 ui/direct.ui:149 ui/photo.ui:238 msgid "_Red-eye" msgstr "Če_rvené oči" -#: src/Resources.vala:207 +#: src/Resources.vala:208 msgid "Red-eye" msgstr "Červené oči" -#: src/Resources.vala:208 +#: src/Resources.vala:209 msgid "Reduce or eliminate any red-eye effects in the photo" msgstr "Odstranit nebo potlačit efekt červených očí ve fotografii" -#: src/Resources.vala:210 ui/direct.ui:154 ui/photo.ui:243 +#: src/Resources.vala:211 ui/direct.ui:154 ui/photo.ui:243 msgid "_Adjust" msgstr "_Upravit" -#: src/Resources.vala:211 +#: src/Resources.vala:212 msgid "Adjust" msgstr "Upravit" -#: src/Resources.vala:212 +#: src/Resources.vala:213 msgid "Adjust the photo’s color and tone" msgstr "Upravit barvy a tón fotografie" -#: src/Resources.vala:215 +#: src/Resources.vala:216 msgid "Revert to Original" msgstr "Vrátit zpět na původní" -#: src/Resources.vala:217 +#: src/Resources.vala:218 msgid "Revert External E_dits" msgstr "Vrátit zpět e_xterní úpravy" -#: src/Resources.vala:218 +#: src/Resources.vala:219 msgid "Revert to the master photo" msgstr "Zrušit změny a vrátit se zpět k původní fotografii" -#: src/Resources.vala:221 +#: src/Resources.vala:222 msgid "Set selected image to be the new desktop background" msgstr "Nastavit vybranou fotografii jako obrázek na pozadí pracovní plochy" -#: src/Resources.vala:222 +#: src/Resources.vala:223 msgid "Set as _Desktop Slideshow…" msgstr "Nastavit jako prezentaci na p_loše…" -#: src/Resources.vala:224 ui/direct.ui:47 ui/events_directory.ui:35 +#: src/Resources.vala:225 ui/direct.ui:47 ui/events_directory.ui:35 #: ui/event.ui:50 ui/import.ui:43 ui/media.ui:50 ui/offline.ui:35 #: ui/photo.ui:58 ui/tags.ui:50 ui/trash.ui:40 msgid "_Undo" msgstr "_Zpět" -#: src/Resources.vala:225 +#: src/Resources.vala:226 msgid "Undo" msgstr "Zpět" -#: src/Resources.vala:227 ui/direct.ui:52 ui/events_directory.ui:40 +#: src/Resources.vala:228 ui/direct.ui:52 ui/events_directory.ui:40 #: ui/event.ui:55 ui/import.ui:48 ui/media.ui:55 ui/offline.ui:40 #: ui/photo.ui:63 ui/tags.ui:55 ui/trash.ui:45 msgid "_Redo" msgstr "Zn_ovu" -#: src/Resources.vala:228 +#: src/Resources.vala:229 msgid "Redo" msgstr "Znovu" -#: src/Resources.vala:230 ui/events_directory.ui:139 ui/events_directory.ui:181 -#: ui/event.ui:391 ui/event.ui:584 +#: src/Resources.vala:231 ui/events_directory.ui:139 ui/events_directory.ui:181 +#: ui/event.ui:393 ui/event.ui:588 msgid "Re_name Event…" msgstr "Přejme_novat událost…" -#: src/Resources.vala:233 ui/event.ui:371 ui/event.ui:576 +#: src/Resources.vala:234 ui/event.ui:373 ui/event.ui:580 msgid "Make _Key Photo for Event" msgstr "Použít jako _klíčovou fotku pro událost" -#: src/Resources.vala:234 +#: src/Resources.vala:235 msgid "Make Key Photo for Event" msgstr "Nastavit jako klíčovou fotografii pro událost" -#: src/Resources.vala:236 ui/event.ui:380 ui/media.ui:374 ui/tags.ui:374 +#: src/Resources.vala:237 ui/event.ui:382 ui/media.ui:376 ui/tags.ui:376 msgid "_New Event" msgstr "_Nová událost" -#: src/Resources.vala:237 +#: src/Resources.vala:238 msgid "New Event" msgstr "Nová událost" -#: src/Resources.vala:239 +#: src/Resources.vala:240 msgid "Move Photos" msgstr "Přesunout fotky" -#: src/Resources.vala:240 +#: src/Resources.vala:241 msgid "Move photos to an event" msgstr "Přiřadit fotografie k události" -#: src/Resources.vala:242 ui/events_directory.ui:135 ui/events_directory.ui:177 +#: src/Resources.vala:243 ui/events_directory.ui:135 ui/events_directory.ui:177 msgid "_Merge Events" msgstr "S_pojit události" -#: src/Resources.vala:243 +#: src/Resources.vala:244 msgid "Merge" msgstr "Spojit" -#: src/Resources.vala:244 +#: src/Resources.vala:245 msgid "Combine events into a single event" msgstr "Sloučit události do jedné" -#: src/Resources.vala:246 ui/collection.ui:39 ui/event.ui:286 ui/event.ui:476 +#: src/Resources.vala:247 ui/collection.ui:39 ui/event.ui:286 ui/event.ui:478 #: ui/media.ui:286 ui/photo_context.ui:35 ui/photo.ui:273 ui/tags.ui:286 msgid "_Set Rating" msgstr "_Hodnotit" -#: src/Resources.vala:247 +#: src/Resources.vala:248 msgid "Set Rating" msgstr "Nastavit hodnocení" -#: src/Resources.vala:248 +#: src/Resources.vala:249 msgid "Change the rating of your photo" msgstr "Změnit hodnocení své fotografie" -#: src/Resources.vala:250 ui/collection.ui:72 ui/event.ui:326 ui/event.ui:509 +#: src/Resources.vala:251 ui/collection.ui:72 ui/event.ui:326 ui/event.ui:511 #: ui/media.ui:326 ui/photo_context.ui:75 ui/photo.ui:313 ui/tags.ui:326 msgid "_Increase" msgstr "Z_výšit" -#: src/Resources.vala:251 +#: src/Resources.vala:252 msgid "Increase Rating" msgstr "Zvýšení hodnocení" -#: src/Resources.vala:253 ui/collection.ui:76 ui/event.ui:331 ui/event.ui:513 +#: src/Resources.vala:254 ui/collection.ui:76 ui/event.ui:331 ui/event.ui:515 #: ui/media.ui:331 ui/photo_context.ui:80 ui/photo.ui:318 ui/tags.ui:331 msgid "_Decrease" msgstr "S_nížit" -#: src/Resources.vala:254 +#: src/Resources.vala:255 msgid "Decrease Rating" msgstr "Snížení hodnocení" -#: src/Resources.vala:256 ui/collection.ui:62 ui/event.ui:314 ui/event.ui:499 +#: src/Resources.vala:257 ui/collection.ui:62 ui/event.ui:314 ui/event.ui:501 #: ui/media.ui:314 ui/photo_context.ui:63 ui/photo.ui:301 ui/tags.ui:314 msgid "_Unrated" msgstr "_Bez ohodnocení" -#: src/Resources.vala:257 +#: src/Resources.vala:258 msgid "Unrated" msgstr "Nehodnoceno" -#: src/Resources.vala:258 +#: src/Resources.vala:259 msgid "Rate Unrated" msgstr "Bez ohodnocení" -#: src/Resources.vala:259 +#: src/Resources.vala:260 msgid "Setting as unrated" msgstr "Nastavuje se jako nehodnocené" -#: src/Resources.vala:260 +#: src/Resources.vala:261 msgid "Remove any ratings" msgstr "Odebrat hodnocení" -#: src/Resources.vala:262 ui/collection.ui:66 ui/event.ui:319 ui/event.ui:503 +#: src/Resources.vala:263 ui/collection.ui:66 ui/event.ui:319 ui/event.ui:505 #: ui/media.ui:319 ui/photo_context.ui:68 ui/photo.ui:306 ui/tags.ui:319 msgid "_Rejected" msgstr "_Zamítnout" -#: src/Resources.vala:263 +#: src/Resources.vala:264 msgid "Rejected" msgstr "Zamítnuto" -#: src/Resources.vala:264 +#: src/Resources.vala:265 msgid "Rate Rejected" msgstr "Zamítavé hodnocení" -#: src/Resources.vala:265 +#: src/Resources.vala:266 msgid "Setting as rejected" msgstr "Nastavuje se na zamítnuté" -#: src/Resources.vala:266 +#: src/Resources.vala:267 msgid "Set rating to rejected" msgstr "Nastavit hodnocení na zamítnuté" -#: src/Resources.vala:268 ui/event.ui:196 ui/import.ui:156 ui/media.ui:196 +#: src/Resources.vala:269 ui/event.ui:196 ui/import.ui:156 ui/media.ui:196 #: ui/offline.ui:153 ui/search_bar.ui:6 ui/tags.ui:196 ui/trash.ui:162 msgid "Rejected _Only" msgstr "Jen _zamítnuté" -#: src/Resources.vala:269 +#: src/Resources.vala:270 msgid "Rejected Only" msgstr "Jen zamítnuté" -#: src/Resources.vala:270 +#: src/Resources.vala:271 msgid "Show only rejected photos" msgstr "Zobrazovat je zamítnuté fotografie" -#: src/Resources.vala:272 ui/event.ui:190 ui/import.ui:150 ui/media.ui:190 +#: src/Resources.vala:273 ui/event.ui:190 ui/import.ui:150 ui/media.ui:190 #: ui/offline.ui:147 ui/search_bar.ui:12 ui/tags.ui:190 ui/trash.ui:156 msgid "All + _Rejected" msgstr "Všechny + _zamítnuté" -#: src/Resources.vala:273 +#: src/Resources.vala:274 msgctxt "Tooltip" msgid "Show all photos, including rejected" msgstr "Zobrazovat všechny fotografie, včetně zamítnutých" -#: src/Resources.vala:275 ui/event.ui:184 ui/import.ui:144 ui/media.ui:184 +#: src/Resources.vala:276 ui/event.ui:184 ui/import.ui:144 ui/media.ui:184 #: ui/offline.ui:141 ui/search_bar.ui:18 ui/tags.ui:184 ui/trash.ui:150 msgid "_All Photos" msgstr "_Všechny fotografie" #. Button tooltip -#: src/Resources.vala:277 +#: src/Resources.vala:278 msgid "Show all photos" msgstr "Zobrazovat všechny fotografie" -#: src/Resources.vala:279 ui/event.ui:144 ui/media.ui:144 ui/photo.ui:120 +#: src/Resources.vala:280 ui/event.ui:144 ui/media.ui:144 ui/photo.ui:120 #: ui/tags.ui:144 msgid "_Ratings" msgstr "_Hodnocení" -#: src/Resources.vala:280 +#: src/Resources.vala:281 msgid "Display each photo’s rating" msgstr "U každé fotografie zobrazit hodnocení" -#: src/Resources.vala:282 ui/event.ui:151 ui/import.ui:111 ui/media.ui:151 +#: src/Resources.vala:283 ui/event.ui:151 ui/import.ui:111 ui/media.ui:151 #: ui/offline.ui:108 ui/tags.ui:151 ui/trash.ui:117 msgid "_Filter Photos" msgstr "_Filtrovat fotografie" -#: src/Resources.vala:283 +#: src/Resources.vala:284 msgid "Filter Photos" msgstr "Filtrovat fotografie" -#: src/Resources.vala:284 +#: src/Resources.vala:285 msgid "Limit the number of photos displayed based on a filter" msgstr "Omezit počet zobrazených fotografií pomocí filtru" -#: src/Resources.vala:287 +#: src/Resources.vala:288 msgid "Duplicate" msgstr "Duplikovat" -#: src/Resources.vala:288 +#: src/Resources.vala:289 msgid "Make a duplicate of the photo" msgstr "Vytvořit kopii této fotografie" -#: src/Resources.vala:290 ui/event.ui:17 ui/media.ui:17 ui/photo.ui:17 +#: src/Resources.vala:291 ui/event.ui:17 ui/media.ui:17 ui/photo.ui:17 #: ui/tags.ui:17 msgid "_Export…" msgstr "_Export…" -#: src/Resources.vala:292 +#: src/Resources.vala:293 msgid "_Print…" msgstr "_Tisk…" -#: src/Resources.vala:294 +#: src/Resources.vala:295 msgid "Pu_blish…" msgstr "Z_veřejnit…" -#: src/Resources.vala:296 ui/collection.ui:187 +#: src/Resources.vala:297 ui/collection.ui:189 msgid "Publish to various websites" msgstr "Zveřejnit na různých webových stránkách" -#: src/Resources.vala:298 ui/collection.ui:98 ui/event.ui:340 ui/event.ui:535 +#: src/Resources.vala:299 ui/collection.ui:98 ui/event.ui:340 ui/event.ui:537 #: ui/media.ui:340 ui/photo_context.ui:105 ui/photo.ui:327 ui/tags.ui:340 msgid "Edit _Title…" msgstr "Úpravi_t název…" #. Button label -#: src/Resources.vala:300 +#: src/Resources.vala:301 msgctxt "Button Label" msgid "Edit Title" msgstr "Upravit název" -#: src/Resources.vala:302 ui/collection.ui:102 ui/events_directory.ui:144 -#: ui/events_directory.ui:186 ui/event.ui:344 ui/event.ui:396 ui/event.ui:539 -#: ui/media.ui:344 ui/photo_context.ui:109 ui/photo.ui:331 ui/tags.ui:344 +#: src/Resources.vala:303 ui/collection.ui:103 ui/events_directory.ui:144 +#: ui/events_directory.ui:186 ui/event.ui:345 ui/event.ui:398 ui/event.ui:542 +#: ui/media.ui:345 ui/photo_context.ui:110 ui/photo.ui:332 ui/tags.ui:345 msgid "Edit _Comment…" msgstr "Upravit _komentář…" #. Button label -#: src/Resources.vala:304 +#: src/Resources.vala:305 msgid "Edit Comment" msgstr "Upravit komentář" -#: src/Resources.vala:306 ui/event.ui:588 +#: src/Resources.vala:307 ui/event.ui:592 msgid "Edit Event _Comment…" msgstr "Úpravit _komentář k události…" -#: src/Resources.vala:309 ui/direct.ui:167 ui/photo.ui:335 +#: src/Resources.vala:310 ui/direct.ui:167 ui/photo.ui:337 msgid "_Adjust Date and Time…" msgstr "N_astavit datum a čas…" -#: src/Resources.vala:310 +#: src/Resources.vala:311 msgid "Adjust Date and Time" msgstr "Nastavení data a času" -#: src/Resources.vala:312 ui/collection.ui:19 ui/event.ui:405 ui/event.ui:456 -#: ui/media.ui:388 ui/photo.ui:372 ui/tags.ui:388 +#: src/Resources.vala:313 ui/collection.ui:19 ui/event.ui:407 ui/event.ui:458 +#: ui/media.ui:390 ui/photo.ui:374 ui/tags.ui:390 msgid "Add _Tags…" msgstr "Přidat š_títky…" -#: src/Resources.vala:313 ui/photo_context.ui:17 +#: src/Resources.vala:314 ui/photo_context.ui:17 msgid "_Add Tags…" msgstr "Přid_at štítky…" #. Dialog title -#: src/Resources.vala:315 +#: src/Resources.vala:316 msgctxt "Dialog Title" msgid "Add Tags" msgstr "Přidání štítků" -#: src/Resources.vala:324 ui/photo_context.ui:133 +#: src/Resources.vala:325 ui/photo_context.ui:135 msgid "Send T_o…" msgstr "_Odeslat…" -#: src/Resources.vala:326 +#: src/Resources.vala:327 msgid "_Find…" msgstr "Na_jít…" -#: src/Resources.vala:327 ui/collection.ui:215 ui/offline.ui:239 +#: src/Resources.vala:328 ui/collection.ui:217 ui/offline.ui:239 #: ui/trash.ui:312 msgid "Find" msgstr "Najít" -#: src/Resources.vala:328 ui/collection.ui:212 ui/offline.ui:236 +#: src/Resources.vala:329 ui/collection.ui:214 ui/offline.ui:236 #: ui/trash.ui:309 msgid "Find an image by typing text that appears in its name or tags" msgstr "Najít obrázky, jejichž název nebo štítek obsahují napsaný text" -#: src/Resources.vala:330 +#: src/Resources.vala:331 msgid "_Flag" msgstr "_Označit" -#: src/Resources.vala:332 +#: src/Resources.vala:333 msgid "Un_flag" msgstr "Zrušit _označení" -#: src/Resources.vala:335 +#: src/Resources.vala:336 #, c-format msgid "Unable to launch editor: %s" msgstr "Nelze spustit editor: %s" -#: src/Resources.vala:340 +#: src/Resources.vala:341 #, c-format msgid "Add Tag “%s”" msgstr "Přidat štítek „%s“" #. Used when adding two tags to photo(s) -#: src/Resources.vala:343 +#: src/Resources.vala:344 #, c-format msgid "Add Tags “%s” and “%s”" msgstr "Přidat štítky „%s“ a „%s“" #. Undo/Redo command name (in Edit menu) -#: src/Resources.vala:348 +#: src/Resources.vala:349 msgctxt "UndoRedo menu entry" msgid "Add Tags" msgstr "Přidat štítky" -#: src/Resources.vala:353 +#: src/Resources.vala:354 #, c-format msgid "_Delete Tag “%s”" msgstr "S_mazat štítek „%s“" -#: src/Resources.vala:357 +#: src/Resources.vala:358 #, c-format msgid "Delete Tag “%s”" msgstr "Smazat štítek „%s“" -#: src/Resources.vala:360 +#: src/Resources.vala:361 msgid "Delete Tag" msgstr "Smazat štítek" -#: src/Resources.vala:366 +#: src/Resources.vala:367 #, c-format msgid "Re_name Tag “%s”…" msgstr "Přejme_novat štítek „%s“…" -#: src/Resources.vala:370 +#: src/Resources.vala:371 #, c-format msgid "Rename Tag “%s” to “%s”" msgstr "Přejmenovat štítek „%s“ na „%s“" -#: src/Resources.vala:373 ui/tags.ui:454 +#: src/Resources.vala:374 ui/tags.ui:456 msgid "_Rename…" msgstr "_Přejmenovat…" -#: src/Resources.vala:375 ui/collection.ui:24 ui/event.ui:410 ui/event.ui:461 -#: ui/media.ui:393 ui/photo_context.ui:22 ui/photo.ui:377 ui/tags.ui:393 +#: src/Resources.vala:376 ui/collection.ui:24 ui/event.ui:412 ui/event.ui:463 +#: ui/media.ui:395 ui/photo_context.ui:22 ui/photo.ui:379 ui/tags.ui:395 msgid "Modif_y Tags…" msgstr "Změn_it štítky…" -#: src/Resources.vala:376 +#: src/Resources.vala:377 msgid "Modify Tags" msgstr "Změnit štítky" -#: src/Resources.vala:379 +#: src/Resources.vala:380 #, c-format msgid "Tag Photo as “%s”" msgid_plural "Tag Photos as “%s”" @@ -5606,7 +5612,7 @@ msgstr[0] "Oštítkovat fotku jako „%s“" msgstr[1] "Oštítkovat fotky jako „%s“" msgstr[2] "Oštítkovat fotky jako „%s“" -#: src/Resources.vala:385 +#: src/Resources.vala:386 #, c-format msgid "Tag the selected photo as “%s”" msgid_plural "Tag the selected photos as “%s”" @@ -5614,7 +5620,7 @@ msgstr[0] "Oštítkovat vybranou fotku jako „%s“" msgstr[1] "Oštítkovat vybrané fotky jako „%s“" msgstr[2] "Oštítkovat vybrané fotky jako „%s“" -#: src/Resources.vala:391 +#: src/Resources.vala:392 #, c-format msgid "Remove Tag “%s” From _Photo" msgid_plural "Remove Tag “%s” From _Photos" @@ -5622,7 +5628,7 @@ msgstr[0] "Odstranit z _fotky štítek „%s“" msgstr[1] "Odstranit z _fotek štítek „%s“" msgstr[2] "Odstranit z _fotek štítek „%s“" -#: src/Resources.vala:397 +#: src/Resources.vala:398 #, c-format msgid "Remove Tag “%s” From Photo" msgid_plural "Remove Tag “%s” From Photos" @@ -5630,130 +5636,130 @@ msgstr[0] "Odstranit z fotky šítek „%s“" msgstr[1] "Odstranit z fotek šítek „%s“" msgstr[2] "Odstranit z fotek šítek „%s“" -#: src/Resources.vala:403 +#: src/Resources.vala:404 #, c-format msgid "Unable to rename tag to “%s” because the tag already exists." msgstr "Nelze přejmenovat šítek na „%s“, protože takový už existuje." -#: src/Resources.vala:407 +#: src/Resources.vala:408 #, c-format msgid "Unable to rename search to “%s” because the search already exists." msgstr "Nelze přejmenovat hledání na „%s“, protože takové už existuje." #. Saved search button -#: src/Resources.vala:410 src/SearchFilter.vala:1124 +#: src/Resources.vala:411 src/SearchFilter.vala:1124 msgid "Saved Search" msgstr "Uložené hledání" -#: src/Resources.vala:412 +#: src/Resources.vala:413 msgid "Delete Search" msgstr "Smazat hledání" -#: src/Resources.vala:415 ui/savedsearch.ui:11 +#: src/Resources.vala:416 ui/savedsearch.ui:11 msgid "_Edit…" msgstr "_Upravit…" -#: src/Resources.vala:416 ui/savedsearch.ui:7 +#: src/Resources.vala:417 ui/savedsearch.ui:7 msgid "Re_name…" msgstr "Přejme_novat…" -#: src/Resources.vala:419 +#: src/Resources.vala:420 #, c-format msgid "Rename Search “%s” to “%s”" msgstr "Přejmenovat hledání „%s“ na „%s“" -#: src/Resources.vala:423 +#: src/Resources.vala:424 #, c-format msgid "Delete Search “%s”" msgstr "Smazat hledání „%s“" -#: src/Resources.vala:560 +#: src/Resources.vala:561 #, c-format msgid "Rate %s" msgstr "Hodnocení %s" -#: src/Resources.vala:561 +#: src/Resources.vala:562 #, c-format msgid "Set rating to %s" msgstr "Nastavit ohodnocení na %s" -#: src/Resources.vala:562 +#: src/Resources.vala:563 #, c-format msgid "Setting rating to %s" msgstr "Nastavuje se ohodnocení na %s" -#: src/Resources.vala:564 +#: src/Resources.vala:565 #, c-format msgid "Display %s" msgstr "Zobrazit %s" -#: src/Resources.vala:565 +#: src/Resources.vala:566 #, c-format msgid "Only show photos with a rating of %s" msgstr "Zobrazit jen fotografie s ohodnocením %s" -#: src/Resources.vala:566 +#: src/Resources.vala:567 #, c-format msgid "%s or Better" msgstr "%s nebo lepší" -#: src/Resources.vala:567 +#: src/Resources.vala:568 #, c-format msgid "Display %s or Better" msgstr "Zobrazit %s nebo lepší" -#: src/Resources.vala:568 +#: src/Resources.vala:569 #, c-format msgid "Only show photos with a rating of %s or better" msgstr "Zobrazit jen fotografie s hodnocením %s nebo lepším" -#: src/Resources.vala:659 ui/trash.ui:255 +#: src/Resources.vala:660 ui/trash.ui:255 msgid "Remove the selected photos from the trash" msgstr "Odstranit vybrané fotografie z koše" -#: src/Resources.vala:660 ui/offline.ui:221 +#: src/Resources.vala:661 ui/offline.ui:221 msgid "Remove the selected photos from the library" msgstr "Odstraní vybrané fotografie z knihovny" -#: src/Resources.vala:662 ui/trash.ui:68 ui/trash.ui:221 ui/trash.ui:273 +#: src/Resources.vala:663 ui/trash.ui:68 ui/trash.ui:221 ui/trash.ui:273 msgid "_Restore" msgstr "O_bnovit" -#: src/Resources.vala:663 ui/trash.ui:270 +#: src/Resources.vala:664 ui/trash.ui:270 msgid "Move the selected photos back into the library" msgstr "Přesunout vybrané fotografie zpět do knihovny" -#: src/Resources.vala:665 ui/collection.ui:121 ui/direct_context.ui:20 -#: ui/direct.ui:30 ui/event.ui:27 ui/event.ui:558 ui/media.ui:27 -#: ui/photo_context.ui:128 ui/photo.ui:35 ui/tags.ui:27 ui/trash.ui:19 +#: src/Resources.vala:666 ui/collection.ui:123 ui/direct_context.ui:20 +#: ui/direct.ui:30 ui/event.ui:27 ui/event.ui:562 ui/media.ui:27 +#: ui/photo_context.ui:130 ui/photo.ui:35 ui/tags.ui:27 ui/trash.ui:19 #: ui/trash.ui:227 msgid "Show in File Mana_ger" msgstr "Otevřít ve _správci souborů" -#: src/Resources.vala:666 +#: src/Resources.vala:667 msgid "Open the selected photo’s directory in the file manager" msgstr "Otevřít vybranou složku s fotografiemi ve správci souborů" -#: src/Resources.vala:669 +#: src/Resources.vala:670 #, c-format msgid "Unable to open in file manager: %s" msgstr "Nelze otevřít ve správci souborů: %s" -#: src/Resources.vala:672 ui/offline.ui:224 +#: src/Resources.vala:673 ui/offline.ui:224 msgid "R_emove From Library" msgstr "O_dstranit z knihovny" -#: src/Resources.vala:674 ui/collection.ui:132 ui/event.ui:79 ui/event.ui:569 -#: ui/media.ui:79 ui/photo_context.ui:139 ui/photo.ui:82 ui/tags.ui:79 +#: src/Resources.vala:675 ui/collection.ui:134 ui/event.ui:79 ui/event.ui:573 +#: ui/media.ui:79 ui/photo_context.ui:141 ui/photo.ui:82 ui/tags.ui:79 msgid "_Move to Trash" msgstr "Přesu_nout do koše" -#: src/Resources.vala:676 ui/events_directory.ui:58 ui/event.ui:86 +#: src/Resources.vala:677 ui/events_directory.ui:58 ui/event.ui:86 #: ui/import.ui:61 ui/media.ui:86 ui/offline.ui:65 ui/tags.ui:86 ui/trash.ui:74 msgid "Select _All" msgstr "Vybrat _vše" -#: src/Resources.vala:677 +#: src/Resources.vala:678 msgid "Select all items" msgstr "Vybrat všechny položky" @@ -5766,14 +5772,14 @@ msgstr "Vybrat všechny položky" #. / See http://developer.gnome.org/glib/2.32/glib-GDateTime.html#g-date-time-format #. / Locale-specific calendar date format, i.e. "Tue Mar 08, 2006" #. / See http://developer.gnome.org/glib/2.32/glib-GDateTime.html#g-date-time-format -#: src/Resources.vala:738 +#: src/Resources.vala:739 msgid "%a %b %d, %Y" msgstr "%a, %e. %B %Y" #. / Locale-specific starting date format for multi-date strings, #. / i.e. the "Tue Mar 08" in "Tue Mar 08 - 10, 2006" #. / See http://developer.gnome.org/glib/2.32/glib-GDateTime.html#g-date-time-format -#: src/Resources.vala:743 +#: src/Resources.vala:744 msgctxt "MultidayFormat" msgid "%a %b %d" msgstr "%a, %e." @@ -5781,7 +5787,7 @@ msgstr "%a, %e." #. / Locale-specific ending date format for multi-date strings, #. / i.e. the "10, 2006" in "Tue Mar 08 - 10, 2006" #. / See http://developer.gnome.org/glib/2.32/glib-GDateTime.html#g-date-time-format -#: src/Resources.vala:748 +#: src/Resources.vala:749 msgctxt "MultidayFormat" msgid "%d, %Y" msgstr "%e. %B %Y" @@ -5789,7 +5795,7 @@ msgstr "%e. %B %Y" #. / Locale-specific calendar date format for multi-month strings, #. / i.e. the "Tue Mar 08" in "Tue Mar 08 to Mon Apr 06, 2006" #. / See http://developer.gnome.org/glib/2.32/glib-GDateTime.html#g-date-time-format -#: src/Resources.vala:753 +#: src/Resources.vala:754 msgctxt "MultimonthFormat" msgid "%a %b %d" msgstr "%a, %e. %B" @@ -5797,7 +5803,7 @@ msgstr "%a, %e. %B" #. / Locale-specific calendar date format for multi-month strings, #. / i.e. the "Mon Apr 06, 2006" in "Tue Mar 08 to Mon Apr 06, 2006" #. / See http://developer.gnome.org/glib/2.32/glib-GDateTime.html#g-date-time-format -#: src/Resources.vala:758 +#: src/Resources.vala:759 msgctxt "MultimonthFormat" msgid "%a %b %d, %Y" msgstr "%a, %e. %B %Y" @@ -6119,22 +6125,22 @@ msgstr "bez názvu" msgid "Export Videos" msgstr "Export videí" -#: ui/collection.ui:33 ui/event.ui:281 ui/event.ui:470 ui/media.ui:281 +#: ui/collection.ui:33 ui/event.ui:281 ui/event.ui:472 ui/media.ui:281 #: ui/photo_context.ui:30 ui/photo.ui:268 ui/tags.ui:281 msgid "Toggle _Flag" msgstr "_Přepnout označení" -#: ui/collection.ui:82 ui/event.ui:351 ui/event.ui:519 ui/media.ui:351 -#: ui/photo_context.ui:88 ui/photo.ui:341 ui/tags.ui:351 +#: ui/collection.ui:82 ui/event.ui:353 ui/event.ui:521 ui/media.ui:353 +#: ui/photo_context.ui:88 ui/photo.ui:343 ui/tags.ui:353 msgid "_Developer" msgstr "_Vývojka" -#: ui/collection.ui:106 ui/event.ui:543 ui/photo_context.ui:113 ui/photo.ui:358 +#: ui/collection.ui:108 ui/event.ui:547 ui/photo_context.ui:115 ui/photo.ui:360 msgid "Open with E_xternal Editor" msgstr "Otevřít v e_xterním editoru" -#: ui/collection.ui:117 ui/event.ui:385 ui/event.ui:554 ui/media.ui:379 -#: ui/photo_context.ui:124 ui/tags.ui:379 +#: ui/collection.ui:119 ui/event.ui:387 ui/event.ui:558 ui/media.ui:381 +#: ui/photo_context.ui:126 ui/tags.ui:381 msgid "View Eve_nt for Photo" msgstr "Zobrazit u_dálosti pro fotku" @@ -6182,15 +6188,15 @@ msgstr "_Následující fotka" msgid "T_ools" msgstr "Nástr_oje" -#: ui/direct.ui:181 ui/events_directory.ui:158 ui/event.ui:426 -#: ui/import_queue.ui:73 ui/import.ui:191 ui/media.ui:409 ui/offline.ui:188 -#: ui/photo.ui:392 ui/tags.ui:428 ui/trash.ui:197 +#: ui/direct.ui:181 ui/events_directory.ui:158 ui/event.ui:428 +#: ui/import_queue.ui:73 ui/import.ui:191 ui/media.ui:411 ui/offline.ui:188 +#: ui/photo.ui:394 ui/tags.ui:430 ui/trash.ui:197 msgid "_Frequently Asked Questions" msgstr "Ča_sté dotazy a odpovědi" -#: ui/direct.ui:185 ui/events_directory.ui:162 ui/event.ui:430 -#: ui/import_queue.ui:77 ui/import.ui:195 ui/media.ui:413 ui/offline.ui:192 -#: ui/photo.ui:396 ui/tags.ui:432 ui/trash.ui:201 +#: ui/direct.ui:185 ui/events_directory.ui:162 ui/event.ui:432 +#: ui/import_queue.ui:77 ui/import.ui:195 ui/media.ui:415 ui/offline.ui:192 +#: ui/photo.ui:398 ui/tags.ui:434 ui/trash.ui:201 msgid "_Report a Problem…" msgstr "_Nahlásit problém…" @@ -6270,7 +6276,7 @@ msgstr "_Vzestupně" msgid "D_escending" msgstr "_Sestupně" -#: ui/events_directory.ui:132 ui/event.ui:377 ui/media.ui:371 ui/tags.ui:371 +#: ui/events_directory.ui:132 ui/event.ui:379 ui/media.ui:373 ui/tags.ui:373 msgid "Even_ts" msgstr "Událos_ti" @@ -6283,8 +6289,8 @@ msgstr "O_dstranit z knihovny" msgid "_Titles" msgstr "_Názvy" -#: ui/event.ui:139 ui/event.ui:402 ui/media.ui:139 ui/media.ui:385 -#: ui/photo.ui:369 ui/tags.ui:139 ui/tags.ui:385 +#: ui/event.ui:139 ui/event.ui:404 ui/media.ui:139 ui/media.ui:387 +#: ui/photo.ui:371 ui/tags.ui:139 ui/tags.ui:387 msgid "Ta_gs" msgstr "Štít_ky" @@ -6522,4 +6528,3 @@ msgstr "Nový š_títek…" #: ui/trash.ui:285 msgid "Delete all photos in the trash" msgstr "Vymazat všechny fotografie v koši" - diff --git a/po/shotwell.pot b/po/shotwell.pot index e08e440..7d15af7 100644 --- a/po/shotwell.pot +++ b/po/shotwell.pot @@ -6,10 +6,10 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: shotwell 0.26.2\n" +"Project-Id-Version: shotwell 0.26.3\n" "Report-Msgid-Bugs-To: https://bugzilla.gnome.org/enter_bug.cgi?" "product=Shotwell&component=Internationalization\n" -"POT-Creation-Date: 2017-06-01 18:54+0200\n" +"POT-Creation-Date: 2017-08-11 11:47+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -4196,15 +4196,15 @@ msgid "" "%s" msgstr "" -#: src/Page.vala:1318 +#: src/Page.vala:1319 msgid "No photos/videos" msgstr "" -#: src/Page.vala:1322 +#: src/Page.vala:1323 msgid "No photos/videos found which match the current filter" msgstr "" -#: src/Page.vala:2628 +#: src/Page.vala:2629 msgid "Photos cannot be exported to this directory." msgstr "" diff --git a/src/DesktopIntegration.c b/src/DesktopIntegration.c index a93aaa1..6354479 100644 --- a/src/DesktopIntegration.c +++ b/src/DesktopIntegration.c @@ -1839,13 +1839,17 @@ static void desktop_integration_background_slideshow_xml_builder_write_transitio gchar* _tmp8_ = NULL; gchar* _tmp9_ = NULL; gchar* _tmp10_ = NULL; - GDataOutputStream* _tmp11_ = NULL; - GFile* _tmp12_ = NULL; - gchar* _tmp13_ = NULL; - gchar* _tmp14_ = NULL; + gchar* _tmp11_ = NULL; + gchar* _tmp12_ = NULL; + GDataOutputStream* _tmp13_ = NULL; + GFile* _tmp14_ = NULL; gchar* _tmp15_ = NULL; gchar* _tmp16_ = NULL; - GDataOutputStream* _tmp17_ = NULL; + gchar* _tmp17_ = NULL; + gchar* _tmp18_ = NULL; + gchar* _tmp19_ = NULL; + gchar* _tmp20_ = NULL; + GDataOutputStream* _tmp21_ = NULL; GError * _inner_error_ = NULL; #line 215 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" g_return_if_fail (DESKTOP_INTEGRATION_IS_BACKGROUND_SLIDESHOW_XML_BUILDER (self)); @@ -1863,7 +1867,7 @@ static void desktop_integration_background_slideshow_xml_builder_write_transitio g_propagate_error (error, _inner_error_); #line 216 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" return; -#line 1867 "DesktopIntegration.c" +#line 1871 "DesktopIntegration.c" } #line 217 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp1_ = self->priv->outs; @@ -1883,7 +1887,7 @@ static void desktop_integration_background_slideshow_xml_builder_write_transitio g_propagate_error (error, _inner_error_); #line 217 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" return; -#line 1887 "DesktopIntegration.c" +#line 1891 "DesktopIntegration.c" } #line 218 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp5_ = self->priv->outs; @@ -1894,11 +1898,17 @@ static void desktop_integration_background_slideshow_xml_builder_write_transitio #line 218 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp8_ = _tmp7_; #line 218 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp9_ = g_strdup_printf (" <from>%s</from>\n", _tmp8_); + _tmp9_ = g_markup_escape_text (_tmp8_, (gssize) -1); #line 218 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp10_ = _tmp9_; #line 218 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - g_data_output_stream_put_string (_tmp5_, _tmp10_, NULL, &_inner_error_); + _tmp11_ = g_strdup_printf (" <from>%s</from>\n", _tmp10_); +#line 218 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" + _tmp12_ = _tmp11_; +#line 218 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" + g_data_output_stream_put_string (_tmp5_, _tmp12_, NULL, &_inner_error_); +#line 218 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" + _g_free0 (_tmp12_); #line 218 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _g_free0 (_tmp10_); #line 218 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" @@ -1909,45 +1919,51 @@ static void desktop_integration_background_slideshow_xml_builder_write_transitio g_propagate_error (error, _inner_error_); #line 218 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" return; -#line 1913 "DesktopIntegration.c" +#line 1923 "DesktopIntegration.c" } #line 219 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp11_ = self->priv->outs; + _tmp13_ = self->priv->outs; #line 219 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp12_ = to; + _tmp14_ = to; #line 219 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp13_ = g_file_get_path (_tmp12_); + _tmp15_ = g_file_get_path (_tmp14_); #line 219 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp14_ = _tmp13_; + _tmp16_ = _tmp15_; #line 219 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp15_ = g_strdup_printf (" <to>%s</to>\n", _tmp14_); + _tmp17_ = g_markup_escape_text (_tmp16_, (gssize) -1); #line 219 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp16_ = _tmp15_; + _tmp18_ = _tmp17_; #line 219 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - g_data_output_stream_put_string (_tmp11_, _tmp16_, NULL, &_inner_error_); + _tmp19_ = g_strdup_printf (" <to>%s</to>\n", _tmp18_); #line 219 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _g_free0 (_tmp16_); + _tmp20_ = _tmp19_; #line 219 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _g_free0 (_tmp14_); + g_data_output_stream_put_string (_tmp13_, _tmp20_, NULL, &_inner_error_); +#line 219 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" + _g_free0 (_tmp20_); +#line 219 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" + _g_free0 (_tmp18_); +#line 219 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" + _g_free0 (_tmp16_); #line 219 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 219 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" g_propagate_error (error, _inner_error_); #line 219 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" return; -#line 1939 "DesktopIntegration.c" +#line 1955 "DesktopIntegration.c" } #line 220 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp17_ = self->priv->outs; + _tmp21_ = self->priv->outs; #line 220 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - g_data_output_stream_put_string (_tmp17_, " </transition>\n", NULL, &_inner_error_); + g_data_output_stream_put_string (_tmp21_, " </transition>\n", NULL, &_inner_error_); #line 220 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 220 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" g_propagate_error (error, _inner_error_); #line 220 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" return; -#line 1951 "DesktopIntegration.c" +#line 1967 "DesktopIntegration.c" } } @@ -1964,7 +1980,9 @@ static void desktop_integration_background_slideshow_xml_builder_write_static (D gchar* _tmp8_ = NULL; gchar* _tmp9_ = NULL; gchar* _tmp10_ = NULL; - GDataOutputStream* _tmp11_ = NULL; + gchar* _tmp11_ = NULL; + gchar* _tmp12_ = NULL; + GDataOutputStream* _tmp13_ = NULL; GError * _inner_error_ = NULL; #line 223 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" g_return_if_fail (DESKTOP_INTEGRATION_IS_BACKGROUND_SLIDESHOW_XML_BUILDER (self)); @@ -1980,7 +1998,7 @@ static void desktop_integration_background_slideshow_xml_builder_write_static (D g_propagate_error (error, _inner_error_); #line 224 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" return; -#line 1984 "DesktopIntegration.c" +#line 2002 "DesktopIntegration.c" } #line 225 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp1_ = self->priv->outs; @@ -2000,7 +2018,7 @@ static void desktop_integration_background_slideshow_xml_builder_write_static (D g_propagate_error (error, _inner_error_); #line 225 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" return; -#line 2004 "DesktopIntegration.c" +#line 2022 "DesktopIntegration.c" } #line 226 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp5_ = self->priv->outs; @@ -2011,11 +2029,17 @@ static void desktop_integration_background_slideshow_xml_builder_write_static (D #line 226 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp8_ = _tmp7_; #line 226 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp9_ = g_strdup_printf (" <file>%s</file>\n", _tmp8_); + _tmp9_ = g_markup_escape_text (_tmp8_, (gssize) -1); #line 226 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp10_ = _tmp9_; #line 226 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - g_data_output_stream_put_string (_tmp5_, _tmp10_, NULL, &_inner_error_); + _tmp11_ = g_strdup_printf (" <file>%s</file>\n", _tmp10_); +#line 226 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" + _tmp12_ = _tmp11_; +#line 226 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" + g_data_output_stream_put_string (_tmp5_, _tmp12_, NULL, &_inner_error_); +#line 226 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" + _g_free0 (_tmp12_); #line 226 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _g_free0 (_tmp10_); #line 226 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" @@ -2026,19 +2050,19 @@ static void desktop_integration_background_slideshow_xml_builder_write_static (D g_propagate_error (error, _inner_error_); #line 226 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" return; -#line 2030 "DesktopIntegration.c" +#line 2054 "DesktopIntegration.c" } #line 227 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - _tmp11_ = self->priv->outs; + _tmp13_ = self->priv->outs; #line 227 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" - g_data_output_stream_put_string (_tmp11_, " </static>\n", NULL, &_inner_error_); + g_data_output_stream_put_string (_tmp13_, " </static>\n", NULL, &_inner_error_); #line 227 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { #line 227 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" g_propagate_error (error, _inner_error_); #line 227 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" return; -#line 2042 "DesktopIntegration.c" +#line 2066 "DesktopIntegration.c" } } @@ -2063,7 +2087,7 @@ void desktop_integration_background_slideshow_xml_builder_add_photo (DesktopInte _tmp1_ = self->priv->first_file; #line 233 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" if (_tmp1_ == NULL) { -#line 2067 "DesktopIntegration.c" +#line 2091 "DesktopIntegration.c" GFile* _tmp2_ = NULL; GFile* _tmp3_ = NULL; #line 234 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" @@ -2074,13 +2098,13 @@ void desktop_integration_background_slideshow_xml_builder_add_photo (DesktopInte _g_object_unref0 (self->priv->first_file); #line 234 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" self->priv->first_file = _tmp3_; -#line 2078 "DesktopIntegration.c" +#line 2102 "DesktopIntegration.c" } #line 236 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp4_ = self->priv->last_file; #line 236 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" if (_tmp4_ != NULL) { -#line 2084 "DesktopIntegration.c" +#line 2108 "DesktopIntegration.c" GFile* _tmp5_ = NULL; GFile* _tmp6_ = NULL; #line 237 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" @@ -2095,7 +2119,7 @@ void desktop_integration_background_slideshow_xml_builder_add_photo (DesktopInte g_propagate_error (error, _inner_error_); #line 237 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" return; -#line 2099 "DesktopIntegration.c" +#line 2123 "DesktopIntegration.c" } } #line 239 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" @@ -2108,7 +2132,7 @@ void desktop_integration_background_slideshow_xml_builder_add_photo (DesktopInte g_propagate_error (error, _inner_error_); #line 239 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" return; -#line 2112 "DesktopIntegration.c" +#line 2136 "DesktopIntegration.c" } #line 241 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp8_ = file; @@ -2118,7 +2142,7 @@ void desktop_integration_background_slideshow_xml_builder_add_photo (DesktopInte _g_object_unref0 (self->priv->last_file); #line 241 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" self->priv->last_file = _tmp9_; -#line 2122 "DesktopIntegration.c" +#line 2146 "DesktopIntegration.c" } @@ -2147,27 +2171,27 @@ GFile* desktop_integration_background_slideshow_xml_builder_close (DesktopIntegr result = NULL; #line 246 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" return result; -#line 2151 "DesktopIntegration.c" +#line 2175 "DesktopIntegration.c" } #line 249 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp2_ = self->priv->first_file; #line 249 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" if (_tmp2_ != NULL) { -#line 2157 "DesktopIntegration.c" +#line 2181 "DesktopIntegration.c" GFile* _tmp3_ = NULL; #line 249 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp3_ = self->priv->last_file; #line 249 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp1_ = _tmp3_ != NULL; -#line 2163 "DesktopIntegration.c" +#line 2187 "DesktopIntegration.c" } else { #line 249 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp1_ = FALSE; -#line 2167 "DesktopIntegration.c" +#line 2191 "DesktopIntegration.c" } #line 249 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" if (_tmp1_) { -#line 2171 "DesktopIntegration.c" +#line 2195 "DesktopIntegration.c" GFile* _tmp4_ = NULL; GFile* _tmp5_ = NULL; #line 250 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" @@ -2182,7 +2206,7 @@ GFile* desktop_integration_background_slideshow_xml_builder_close (DesktopIntegr g_propagate_error (error, _inner_error_); #line 250 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" return NULL; -#line 2186 "DesktopIntegration.c" +#line 2210 "DesktopIntegration.c" } } #line 252 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" @@ -2195,7 +2219,7 @@ GFile* desktop_integration_background_slideshow_xml_builder_close (DesktopIntegr g_propagate_error (error, _inner_error_); #line 252 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" return NULL; -#line 2199 "DesktopIntegration.c" +#line 2223 "DesktopIntegration.c" } #line 254 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp7_ = self->priv->outs; @@ -2207,7 +2231,7 @@ GFile* desktop_integration_background_slideshow_xml_builder_close (DesktopIntegr g_propagate_error (error, _inner_error_); #line 254 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" return NULL; -#line 2211 "DesktopIntegration.c" +#line 2235 "DesktopIntegration.c" } #line 255 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _g_object_unref0 (self->priv->outs); @@ -2225,7 +2249,7 @@ GFile* desktop_integration_background_slideshow_xml_builder_close (DesktopIntegr g_propagate_error (error, _inner_error_); #line 258 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" return NULL; -#line 2229 "DesktopIntegration.c" +#line 2253 "DesktopIntegration.c" } #line 259 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp10_ = self->priv->destination; @@ -2245,14 +2269,14 @@ GFile* desktop_integration_background_slideshow_xml_builder_close (DesktopIntegr result = _tmp14_; #line 261 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" return result; -#line 2249 "DesktopIntegration.c" +#line 2273 "DesktopIntegration.c" } static void desktop_integration_value_background_slideshow_xml_builder_init (GValue* value) { #line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" value->data[0].v_pointer = NULL; -#line 2256 "DesktopIntegration.c" +#line 2280 "DesktopIntegration.c" } @@ -2261,7 +2285,7 @@ static void desktop_integration_value_background_slideshow_xml_builder_free_valu if (value->data[0].v_pointer) { #line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" desktop_integration_background_slideshow_xml_builder_unref (value->data[0].v_pointer); -#line 2265 "DesktopIntegration.c" +#line 2289 "DesktopIntegration.c" } } @@ -2271,11 +2295,11 @@ static void desktop_integration_value_background_slideshow_xml_builder_copy_valu if (src_value->data[0].v_pointer) { #line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" dest_value->data[0].v_pointer = desktop_integration_background_slideshow_xml_builder_ref (src_value->data[0].v_pointer); -#line 2275 "DesktopIntegration.c" +#line 2299 "DesktopIntegration.c" } else { #line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" dest_value->data[0].v_pointer = NULL; -#line 2279 "DesktopIntegration.c" +#line 2303 "DesktopIntegration.c" } } @@ -2283,37 +2307,37 @@ static void desktop_integration_value_background_slideshow_xml_builder_copy_valu static gpointer desktop_integration_value_background_slideshow_xml_builder_peek_pointer (const GValue* value) { #line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" return value->data[0].v_pointer; -#line 2287 "DesktopIntegration.c" +#line 2311 "DesktopIntegration.c" } static gchar* desktop_integration_value_background_slideshow_xml_builder_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { #line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" if (collect_values[0].v_pointer) { -#line 2294 "DesktopIntegration.c" +#line 2318 "DesktopIntegration.c" DesktopIntegrationBackgroundSlideshowXMLBuilder* object; object = collect_values[0].v_pointer; #line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" if (object->parent_instance.g_class == NULL) { #line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 2301 "DesktopIntegration.c" +#line 2325 "DesktopIntegration.c" } else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) { #line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 2305 "DesktopIntegration.c" +#line 2329 "DesktopIntegration.c" } #line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" value->data[0].v_pointer = desktop_integration_background_slideshow_xml_builder_ref (object); -#line 2309 "DesktopIntegration.c" +#line 2333 "DesktopIntegration.c" } else { #line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" value->data[0].v_pointer = NULL; -#line 2313 "DesktopIntegration.c" +#line 2337 "DesktopIntegration.c" } #line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" return NULL; -#line 2317 "DesktopIntegration.c" +#line 2341 "DesktopIntegration.c" } @@ -2324,25 +2348,25 @@ static gchar* desktop_integration_value_background_slideshow_xml_builder_lcopy_v if (!object_p) { #line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value)); -#line 2328 "DesktopIntegration.c" +#line 2352 "DesktopIntegration.c" } #line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" if (!value->data[0].v_pointer) { #line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" *object_p = NULL; -#line 2334 "DesktopIntegration.c" +#line 2358 "DesktopIntegration.c" } else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) { #line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" *object_p = value->data[0].v_pointer; -#line 2338 "DesktopIntegration.c" +#line 2362 "DesktopIntegration.c" } else { #line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" *object_p = desktop_integration_background_slideshow_xml_builder_ref (value->data[0].v_pointer); -#line 2342 "DesktopIntegration.c" +#line 2366 "DesktopIntegration.c" } #line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" return NULL; -#line 2346 "DesktopIntegration.c" +#line 2370 "DesktopIntegration.c" } @@ -2356,7 +2380,7 @@ GParamSpec* desktop_integration_param_spec_background_slideshow_xml_builder (con G_PARAM_SPEC (spec)->value_type = object_type; #line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" return G_PARAM_SPEC (spec); -#line 2360 "DesktopIntegration.c" +#line 2384 "DesktopIntegration.c" } @@ -2365,7 +2389,7 @@ gpointer desktop_integration_value_get_background_slideshow_xml_builder (const G g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, DESKTOP_INTEGRATION_TYPE_BACKGROUND_SLIDESHOW_XML_BUILDER), NULL); #line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" return value->data[0].v_pointer; -#line 2369 "DesktopIntegration.c" +#line 2393 "DesktopIntegration.c" } @@ -2385,17 +2409,17 @@ void desktop_integration_value_set_background_slideshow_xml_builder (GValue* val value->data[0].v_pointer = v_object; #line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" desktop_integration_background_slideshow_xml_builder_ref (value->data[0].v_pointer); -#line 2389 "DesktopIntegration.c" +#line 2413 "DesktopIntegration.c" } else { #line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" value->data[0].v_pointer = NULL; -#line 2393 "DesktopIntegration.c" +#line 2417 "DesktopIntegration.c" } #line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" if (old) { #line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" desktop_integration_background_slideshow_xml_builder_unref (old); -#line 2399 "DesktopIntegration.c" +#line 2423 "DesktopIntegration.c" } } @@ -2414,17 +2438,17 @@ void desktop_integration_value_take_background_slideshow_xml_builder (GValue* va g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); #line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" value->data[0].v_pointer = v_object; -#line 2418 "DesktopIntegration.c" +#line 2442 "DesktopIntegration.c" } else { #line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" value->data[0].v_pointer = NULL; -#line 2422 "DesktopIntegration.c" +#line 2446 "DesktopIntegration.c" } #line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" if (old) { #line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" desktop_integration_background_slideshow_xml_builder_unref (old); -#line 2428 "DesktopIntegration.c" +#line 2452 "DesktopIntegration.c" } } @@ -2436,7 +2460,7 @@ static void desktop_integration_background_slideshow_xml_builder_class_init (Des ((DesktopIntegrationBackgroundSlideshowXMLBuilderClass *) klass)->finalize = desktop_integration_background_slideshow_xml_builder_finalize; #line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" g_type_class_add_private (klass, sizeof (DesktopIntegrationBackgroundSlideshowXMLBuilderPrivate)); -#line 2440 "DesktopIntegration.c" +#line 2464 "DesktopIntegration.c" } @@ -2451,7 +2475,7 @@ static void desktop_integration_background_slideshow_xml_builder_instance_init ( self->priv->last_file = NULL; #line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" self->ref_count = 1; -#line 2455 "DesktopIntegration.c" +#line 2479 "DesktopIntegration.c" } @@ -2471,7 +2495,7 @@ static void desktop_integration_background_slideshow_xml_builder_finalize (Deskt _g_object_unref0 (self->priv->first_file); #line 200 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _g_object_unref0 (self->priv->last_file); -#line 2475 "DesktopIntegration.c" +#line 2499 "DesktopIntegration.c" } @@ -2496,7 +2520,7 @@ gpointer desktop_integration_background_slideshow_xml_builder_ref (gpointer inst g_atomic_int_inc (&self->ref_count); #line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" return instance; -#line 2500 "DesktopIntegration.c" +#line 2524 "DesktopIntegration.c" } @@ -2509,7 +2533,7 @@ void desktop_integration_background_slideshow_xml_builder_unref (gpointer instan DESKTOP_INTEGRATION_BACKGROUND_SLIDESHOW_XML_BUILDER_GET_CLASS (self)->finalize (self); #line 193 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" g_type_free_instance ((GTypeInstance *) self); -#line 2513 "DesktopIntegration.c" +#line 2537 "DesktopIntegration.c" } } @@ -2517,7 +2541,7 @@ void desktop_integration_background_slideshow_xml_builder_unref (gpointer instan static void _desktop_integration_on_desktop_slideshow_exported_exporter_completion_callback (Exporter* exporter, gboolean is_cancelled, gpointer self) { #line 290 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" desktop_integration_on_desktop_slideshow_exported (exporter, is_cancelled); -#line 2521 "DesktopIntegration.c" +#line 2545 "DesktopIntegration.c" } @@ -2553,7 +2577,7 @@ void desktop_integration_set_background_slideshow (GeeCollection* photos, gdoubl if (_tmp0_ != NULL) { #line 268 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" return; -#line 2557 "DesktopIntegration.c" +#line 2581 "DesktopIntegration.c" } #line 270 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp1_ = desktop_background; @@ -2575,7 +2599,7 @@ void desktop_integration_set_background_slideshow (GeeCollection* photos, gdoubl _tmp5_ = exceptions; #line 276 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" gee_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, GEE_TYPE_COLLECTION, GeeCollection), DESKTOP_INTEGRATION_DESKTOP_SLIDESHOW_XML_FILENAME); -#line 2579 "DesktopIntegration.c" +#line 2603 "DesktopIntegration.c" { GFile* _tmp6_ = NULL; GeeSet* _tmp7_ = NULL; @@ -2587,7 +2611,7 @@ void desktop_integration_set_background_slideshow (GeeCollection* photos, gdoubl delete_all_files (_tmp6_, _tmp7_, NULL, NULL, (guint64) 0, NULL, &_inner_error_); #line 278 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 2591 "DesktopIntegration.c" +#line 2615 "DesktopIntegration.c" goto __catch568_g_error; } } @@ -2610,7 +2634,7 @@ void desktop_integration_set_background_slideshow (GeeCollection* photos, gdoubl "tory: %s", _tmp9_); #line 277 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _g_error_free0 (err); -#line 2613 "DesktopIntegration.c" +#line 2637 "DesktopIntegration.c" } __finally568: #line 277 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" @@ -2625,7 +2649,7 @@ void desktop_integration_set_background_slideshow (GeeCollection* photos, gdoubl g_clear_error (&_inner_error_); #line 277 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" return; -#line 2628 "DesktopIntegration.c" +#line 2652 "DesktopIntegration.c" } #line 283 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp10_ = duration; @@ -2673,7 +2697,7 @@ void desktop_integration_set_background_slideshow (GeeCollection* photos, gdoubl _g_object_unref0 (exceptions); #line 265 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _g_object_unref0 (wallpaper_dir); -#line 2676 "DesktopIntegration.c" +#line 2700 "DesktopIntegration.c" } @@ -2704,7 +2728,7 @@ void desktop_integration_on_desktop_slideshow_exported (Exporter* exporter, gboo if (_tmp0_) { #line 297 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" return; -#line 2707 "DesktopIntegration.c" +#line 2731 "DesktopIntegration.c" } #line 299 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" xml_file = NULL; @@ -2730,7 +2754,7 @@ void desktop_integration_on_desktop_slideshow_exported (Exporter* exporter, gboo _g_object_unref0 (_tmp2_); #line 300 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" xml_builder = _tmp8_; -#line 2733 "DesktopIntegration.c" +#line 2757 "DesktopIntegration.c" { DesktopIntegrationBackgroundSlideshowXMLBuilder* _tmp9_ = NULL; Exporter* _tmp10_ = NULL; @@ -2746,14 +2770,14 @@ void desktop_integration_on_desktop_slideshow_exported (Exporter* exporter, gboo desktop_integration_background_slideshow_xml_builder_open (_tmp9_, &_inner_error_); #line 304 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 2749 "DesktopIntegration.c" +#line 2773 "DesktopIntegration.c" goto __catch569_g_error; } #line 306 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp10_ = exporter; #line 306 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp12_ = exporter_get_exported_files (_tmp10_, &_tmp11_); -#line 2756 "DesktopIntegration.c" +#line 2780 "DesktopIntegration.c" { GFile** file_collection = NULL; gint file_collection_length1 = 0; @@ -2765,14 +2789,14 @@ void desktop_integration_on_desktop_slideshow_exported (Exporter* exporter, gboo file_collection_length1 = _tmp11_; #line 306 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" for (file_it = 0; file_it < _tmp11_; file_it = file_it + 1) { -#line 2768 "DesktopIntegration.c" +#line 2792 "DesktopIntegration.c" GFile* _tmp13_ = NULL; GFile* file = NULL; #line 306 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp13_ = _g_object_ref0 (file_collection[file_it]); #line 306 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" file = _tmp13_; -#line 2775 "DesktopIntegration.c" +#line 2799 "DesktopIntegration.c" { DesktopIntegrationBackgroundSlideshowXMLBuilder* _tmp14_ = NULL; GFile* _tmp15_ = NULL; @@ -2788,17 +2812,17 @@ void desktop_integration_on_desktop_slideshow_exported (Exporter* exporter, gboo _g_object_unref0 (file); #line 307 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" file_collection = (_vala_array_free (file_collection, file_collection_length1, (GDestroyNotify) g_object_unref), NULL); -#line 2791 "DesktopIntegration.c" +#line 2815 "DesktopIntegration.c" goto __catch569_g_error; } #line 306 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _g_object_unref0 (file); -#line 2796 "DesktopIntegration.c" +#line 2820 "DesktopIntegration.c" } } #line 306 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" file_collection = (_vala_array_free (file_collection, file_collection_length1, (GDestroyNotify) g_object_unref), NULL); -#line 2801 "DesktopIntegration.c" +#line 2825 "DesktopIntegration.c" } #line 309 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp17_ = xml_builder; @@ -2808,7 +2832,7 @@ void desktop_integration_on_desktop_slideshow_exported (Exporter* exporter, gboo _tmp16_ = _tmp18_; #line 309 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 2811 "DesktopIntegration.c" +#line 2835 "DesktopIntegration.c" goto __catch569_g_error; } #line 309 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" @@ -2821,7 +2845,7 @@ void desktop_integration_on_desktop_slideshow_exported (Exporter* exporter, gboo xml_file = _tmp19_; #line 303 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _g_object_unref0 (_tmp16_); -#line 2824 "DesktopIntegration.c" +#line 2848 "DesktopIntegration.c" } goto __finally569; __catch569_g_error: @@ -2858,7 +2882,7 @@ void desktop_integration_on_desktop_slideshow_exported (Exporter* exporter, gboo _g_object_unref0 (xml_file); #line 314 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" return; -#line 2861 "DesktopIntegration.c" +#line 2885 "DesktopIntegration.c" } __finally569: #line 303 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" @@ -2873,13 +2897,13 @@ void desktop_integration_on_desktop_slideshow_exported (Exporter* exporter, gboo g_clear_error (&_inner_error_); #line 303 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" return; -#line 2876 "DesktopIntegration.c" +#line 2900 "DesktopIntegration.c" } #line 317 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp25_ = desktop_integration_set_desktop_background; #line 317 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" if (_tmp25_) { -#line 2882 "DesktopIntegration.c" +#line 2906 "DesktopIntegration.c" ConfigFacade* _tmp26_ = NULL; ConfigFacade* _tmp27_ = NULL; GFile* _tmp28_ = NULL; @@ -2901,13 +2925,13 @@ void desktop_integration_on_desktop_slideshow_exported (Exporter* exporter, gboo _g_free0 (_tmp30_); #line 318 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _g_object_unref0 (_tmp27_); -#line 2904 "DesktopIntegration.c" +#line 2928 "DesktopIntegration.c" } #line 320 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _tmp31_ = desktop_integration_set_screensaver; #line 320 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" if (_tmp31_) { -#line 2910 "DesktopIntegration.c" +#line 2934 "DesktopIntegration.c" ConfigFacade* _tmp32_ = NULL; ConfigFacade* _tmp33_ = NULL; GFile* _tmp34_ = NULL; @@ -2929,13 +2953,13 @@ void desktop_integration_on_desktop_slideshow_exported (Exporter* exporter, gboo _g_free0 (_tmp36_); #line 321 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _g_object_unref0 (_tmp33_); -#line 2932 "DesktopIntegration.c" +#line 2956 "DesktopIntegration.c" } #line 293 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _desktop_integration_background_slideshow_xml_builder_unref0 (xml_builder); #line 293 "/home/jens/Source/shotwell/src/DesktopIntegration.vala" _g_object_unref0 (xml_file); -#line 2938 "DesktopIntegration.c" +#line 2962 "DesktopIntegration.c" } diff --git a/src/DesktopIntegration.vala b/src/DesktopIntegration.vala index 89ff556..80e8b2e 100644 --- a/src/DesktopIntegration.vala +++ b/src/DesktopIntegration.vala @@ -215,15 +215,15 @@ private class BackgroundSlideshowXMLBuilder { private void write_transition(File from, File to) throws Error { outs.put_string(" <transition>\n"); outs.put_string(" <duration>%2.2f</duration>\n".printf(transition)); - outs.put_string(" <from>%s</from>\n".printf(from.get_path())); - outs.put_string(" <to>%s</to>\n".printf(to.get_path())); + outs.put_string(" <from>%s</from>\n".printf(Markup.escape_text(from.get_path()))); + outs.put_string(" <to>%s</to>\n".printf(Markup.escape_text(to.get_path()))); outs.put_string(" </transition>\n"); } private void write_static(File file) throws Error { outs.put_string(" <static>\n"); outs.put_string(" <duration>%2.2f</duration>\n".printf(duration)); - outs.put_string(" <file>%s</file>\n".printf(file.get_path())); + outs.put_string(" <file>%s</file>\n".printf(Markup.escape_text(file.get_path()))); outs.put_string(" </static>\n"); } @@ -5047,6 +5047,9 @@ static void page_init_load_ui (Page* self, const gchar* ui_filename) { #line 5048 "Page.c" goto __catch254_g_error; } +#line 576 "/home/jens/Source/shotwell/src/Page.vala" + self->priv->menubar_injected = FALSE; +#line 5053 "Page.c" } goto __finally254; __catch254_g_error: @@ -5062,29 +5065,29 @@ static void page_init_load_ui (Page* self, const gchar* ui_filename) { err = _inner_error_; #line 574 "/home/jens/Source/shotwell/src/Page.vala" _inner_error_ = NULL; -#line 577 "/home/jens/Source/shotwell/src/Page.vala" +#line 578 "/home/jens/Source/shotwell/src/Page.vala" _tmp3_ = err; -#line 577 "/home/jens/Source/shotwell/src/Page.vala" +#line 578 "/home/jens/Source/shotwell/src/Page.vala" _tmp4_ = _tmp3_->message; -#line 577 "/home/jens/Source/shotwell/src/Page.vala" +#line 578 "/home/jens/Source/shotwell/src/Page.vala" _tmp5_ = g_strdup_printf ("Error loading UI resource %s: %s", ui_resource, _tmp4_); -#line 577 "/home/jens/Source/shotwell/src/Page.vala" +#line 578 "/home/jens/Source/shotwell/src/Page.vala" _tmp6_ = _tmp5_; -#line 577 "/home/jens/Source/shotwell/src/Page.vala" +#line 578 "/home/jens/Source/shotwell/src/Page.vala" app_window_error_message (_tmp6_, NULL); -#line 577 "/home/jens/Source/shotwell/src/Page.vala" +#line 578 "/home/jens/Source/shotwell/src/Page.vala" _g_free0 (_tmp6_); -#line 579 "/home/jens/Source/shotwell/src/Page.vala" +#line 580 "/home/jens/Source/shotwell/src/Page.vala" _tmp7_ = application_get_instance (); -#line 579 "/home/jens/Source/shotwell/src/Page.vala" +#line 580 "/home/jens/Source/shotwell/src/Page.vala" _tmp8_ = _tmp7_; -#line 579 "/home/jens/Source/shotwell/src/Page.vala" +#line 580 "/home/jens/Source/shotwell/src/Page.vala" application_panic (_tmp8_); -#line 579 "/home/jens/Source/shotwell/src/Page.vala" +#line 580 "/home/jens/Source/shotwell/src/Page.vala" _application_unref0 (_tmp8_); #line 574 "/home/jens/Source/shotwell/src/Page.vala" _g_error_free0 (err); -#line 5088 "Page.c" +#line 5091 "Page.c" } __finally254: #line 574 "/home/jens/Source/shotwell/src/Page.vala" @@ -5097,27 +5100,27 @@ static void page_init_load_ui (Page* self, const gchar* ui_filename) { g_clear_error (&_inner_error_); #line 574 "/home/jens/Source/shotwell/src/Page.vala" return; -#line 5101 "Page.c" +#line 5104 "Page.c" } #line 572 "/home/jens/Source/shotwell/src/Page.vala" _g_free0 (ui_resource); -#line 5105 "Page.c" +#line 5108 "Page.c" } static void page_real_init_collect_ui_filenames (Page* self, GeeList* ui_filenames) { -#line 586 "/home/jens/Source/shotwell/src/Page.vala" +#line 587 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (GEE_IS_LIST (ui_filenames)); -#line 5112 "Page.c" +#line 5115 "Page.c" } void page_init_collect_ui_filenames (Page* self, GeeList* ui_filenames) { -#line 586 "/home/jens/Source/shotwell/src/Page.vala" +#line 587 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (IS_PAGE (self)); -#line 586 "/home/jens/Source/shotwell/src/Page.vala" +#line 587 "/home/jens/Source/shotwell/src/Page.vala" PAGE_GET_CLASS (self)->init_collect_ui_filenames (self, ui_filenames); -#line 5121 "Page.c" +#line 5124 "Page.c" } @@ -5126,32 +5129,32 @@ static InjectionGroup** page_real_init_collect_injection_groups (Page* self, int InjectionGroup** _tmp0_ = NULL; InjectionGroup** _tmp1_ = NULL; gint _tmp1__length1 = 0; -#line 592 "/home/jens/Source/shotwell/src/Page.vala" +#line 593 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = g_new0 (InjectionGroup*, 0 + 1); -#line 592 "/home/jens/Source/shotwell/src/Page.vala" +#line 593 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = _tmp0_; -#line 592 "/home/jens/Source/shotwell/src/Page.vala" +#line 593 "/home/jens/Source/shotwell/src/Page.vala" _tmp1__length1 = 0; -#line 592 "/home/jens/Source/shotwell/src/Page.vala" +#line 593 "/home/jens/Source/shotwell/src/Page.vala" if (result_length1) { -#line 592 "/home/jens/Source/shotwell/src/Page.vala" +#line 593 "/home/jens/Source/shotwell/src/Page.vala" *result_length1 = _tmp1__length1; -#line 5140 "Page.c" +#line 5143 "Page.c" } -#line 592 "/home/jens/Source/shotwell/src/Page.vala" +#line 593 "/home/jens/Source/shotwell/src/Page.vala" result = _tmp1_; -#line 592 "/home/jens/Source/shotwell/src/Page.vala" +#line 593 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 5146 "Page.c" +#line 5149 "Page.c" } InjectionGroup** page_init_collect_injection_groups (Page* self, int* result_length1) { -#line 591 "/home/jens/Source/shotwell/src/Page.vala" +#line 592 "/home/jens/Source/shotwell/src/Page.vala" g_return_val_if_fail (IS_PAGE (self), NULL); -#line 591 "/home/jens/Source/shotwell/src/Page.vala" +#line 592 "/home/jens/Source/shotwell/src/Page.vala" return PAGE_GET_CLASS (self)->init_collect_injection_groups (self, result_length1); -#line 5155 "Page.c" +#line 5158 "Page.c" } @@ -5160,11 +5163,11 @@ static void page_real_init_actions (Page* self, gint selected_count, gint count) void page_init_actions (Page* self, gint selected_count, gint count) { -#line 597 "/home/jens/Source/shotwell/src/Page.vala" +#line 598 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (IS_PAGE (self)); -#line 597 "/home/jens/Source/shotwell/src/Page.vala" +#line 598 "/home/jens/Source/shotwell/src/Page.vala" PAGE_GET_CLASS (self)->init_actions (self, selected_count, count); -#line 5168 "Page.c" +#line 5171 "Page.c" } @@ -5173,48 +5176,48 @@ static void page_real_update_actions (Page* self, gint selected_count, gint coun void page_update_actions (Page* self, gint selected_count, gint count) { -#line 603 "/home/jens/Source/shotwell/src/Page.vala" +#line 604 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (IS_PAGE (self)); -#line 603 "/home/jens/Source/shotwell/src/Page.vala" +#line 604 "/home/jens/Source/shotwell/src/Page.vala" PAGE_GET_CLASS (self)->update_actions (self, selected_count, count); -#line 5181 "Page.c" +#line 5184 "Page.c" } static void _page_on_drag_begin_gtk_widget_drag_begin (GtkWidget* _sender, GdkDragContext* context, gpointer self) { -#line 618 "/home/jens/Source/shotwell/src/Page.vala" +#line 619 "/home/jens/Source/shotwell/src/Page.vala" page_on_drag_begin ((Page*) self, context); -#line 5188 "Page.c" +#line 5191 "Page.c" } static void _page_on_drag_data_get_gtk_widget_drag_data_get (GtkWidget* _sender, GdkDragContext* context, GtkSelectionData* selection_data, guint info, guint time_, gpointer self) { -#line 619 "/home/jens/Source/shotwell/src/Page.vala" +#line 620 "/home/jens/Source/shotwell/src/Page.vala" page_on_drag_data_get ((Page*) self, context, selection_data, info, time_); -#line 5195 "Page.c" +#line 5198 "Page.c" } static void _page_on_drag_data_delete_gtk_widget_drag_data_delete (GtkWidget* _sender, GdkDragContext* context, gpointer self) { -#line 620 "/home/jens/Source/shotwell/src/Page.vala" +#line 621 "/home/jens/Source/shotwell/src/Page.vala" page_on_drag_data_delete ((Page*) self, context); -#line 5202 "Page.c" +#line 5205 "Page.c" } static void _page_on_drag_end_gtk_widget_drag_end (GtkWidget* _sender, GdkDragContext* context, gpointer self) { -#line 621 "/home/jens/Source/shotwell/src/Page.vala" +#line 622 "/home/jens/Source/shotwell/src/Page.vala" page_on_drag_end ((Page*) self, context); -#line 5209 "Page.c" +#line 5212 "Page.c" } static gboolean _page_on_drag_failed_gtk_widget_drag_failed (GtkWidget* _sender, GdkDragContext* context, GtkDragResult _result_, gpointer self) { gboolean result; result = page_on_drag_failed ((Page*) self, context, _result_); -#line 622 "/home/jens/Source/shotwell/src/Page.vala" +#line 623 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 5218 "Page.c" +#line 5221 "Page.c" } @@ -5230,53 +5233,53 @@ void page_enable_drag_source (Page* self, GdkDragAction actions, GtkTargetEntry* GtkWidget* _tmp7_ = NULL; GtkWidget* _tmp8_ = NULL; GtkWidget* _tmp9_ = NULL; -#line 608 "/home/jens/Source/shotwell/src/Page.vala" - g_return_if_fail (IS_PAGE (self)); #line 609 "/home/jens/Source/shotwell/src/Page.vala" + g_return_if_fail (IS_PAGE (self)); +#line 610 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = self->priv->dnd_enabled; -#line 609 "/home/jens/Source/shotwell/src/Page.vala" - if (_tmp0_) { #line 610 "/home/jens/Source/shotwell/src/Page.vala" + if (_tmp0_) { +#line 611 "/home/jens/Source/shotwell/src/Page.vala" return; -#line 5242 "Page.c" +#line 5245 "Page.c" } -#line 612 "/home/jens/Source/shotwell/src/Page.vala" +#line 613 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = self->priv->event_source; -#line 612 "/home/jens/Source/shotwell/src/Page.vala" +#line 613 "/home/jens/Source/shotwell/src/Page.vala" _vala_assert (_tmp1_ != NULL, "event_source != null"); -#line 614 "/home/jens/Source/shotwell/src/Page.vala" +#line 615 "/home/jens/Source/shotwell/src/Page.vala" _tmp2_ = self->priv->event_source; -#line 614 "/home/jens/Source/shotwell/src/Page.vala" +#line 615 "/home/jens/Source/shotwell/src/Page.vala" _tmp3_ = source_target_entries; -#line 614 "/home/jens/Source/shotwell/src/Page.vala" +#line 615 "/home/jens/Source/shotwell/src/Page.vala" _tmp3__length1 = source_target_entries_length1; -#line 614 "/home/jens/Source/shotwell/src/Page.vala" +#line 615 "/home/jens/Source/shotwell/src/Page.vala" _tmp4_ = actions; -#line 614 "/home/jens/Source/shotwell/src/Page.vala" +#line 615 "/home/jens/Source/shotwell/src/Page.vala" gtk_drag_source_set (_tmp2_, GDK_BUTTON1_MASK, _tmp3_, _tmp3__length1, _tmp4_); -#line 618 "/home/jens/Source/shotwell/src/Page.vala" +#line 619 "/home/jens/Source/shotwell/src/Page.vala" _tmp5_ = self->priv->event_source; -#line 618 "/home/jens/Source/shotwell/src/Page.vala" - g_signal_connect_object (_tmp5_, "drag-begin", (GCallback) _page_on_drag_begin_gtk_widget_drag_begin, self, 0); #line 619 "/home/jens/Source/shotwell/src/Page.vala" + g_signal_connect_object (_tmp5_, "drag-begin", (GCallback) _page_on_drag_begin_gtk_widget_drag_begin, self, 0); +#line 620 "/home/jens/Source/shotwell/src/Page.vala" _tmp6_ = self->priv->event_source; -#line 619 "/home/jens/Source/shotwell/src/Page.vala" - g_signal_connect_object (_tmp6_, "drag-data-get", (GCallback) _page_on_drag_data_get_gtk_widget_drag_data_get, self, 0); #line 620 "/home/jens/Source/shotwell/src/Page.vala" + g_signal_connect_object (_tmp6_, "drag-data-get", (GCallback) _page_on_drag_data_get_gtk_widget_drag_data_get, self, 0); +#line 621 "/home/jens/Source/shotwell/src/Page.vala" _tmp7_ = self->priv->event_source; -#line 620 "/home/jens/Source/shotwell/src/Page.vala" - g_signal_connect_object (_tmp7_, "drag-data-delete", (GCallback) _page_on_drag_data_delete_gtk_widget_drag_data_delete, self, 0); #line 621 "/home/jens/Source/shotwell/src/Page.vala" + g_signal_connect_object (_tmp7_, "drag-data-delete", (GCallback) _page_on_drag_data_delete_gtk_widget_drag_data_delete, self, 0); +#line 622 "/home/jens/Source/shotwell/src/Page.vala" _tmp8_ = self->priv->event_source; -#line 621 "/home/jens/Source/shotwell/src/Page.vala" - g_signal_connect_object (_tmp8_, "drag-end", (GCallback) _page_on_drag_end_gtk_widget_drag_end, self, 0); #line 622 "/home/jens/Source/shotwell/src/Page.vala" + g_signal_connect_object (_tmp8_, "drag-end", (GCallback) _page_on_drag_end_gtk_widget_drag_end, self, 0); +#line 623 "/home/jens/Source/shotwell/src/Page.vala" _tmp9_ = self->priv->event_source; -#line 622 "/home/jens/Source/shotwell/src/Page.vala" +#line 623 "/home/jens/Source/shotwell/src/Page.vala" g_signal_connect_object (_tmp9_, "drag-failed", (GCallback) _page_on_drag_failed_gtk_widget_drag_failed, self, 0); -#line 624 "/home/jens/Source/shotwell/src/Page.vala" +#line 625 "/home/jens/Source/shotwell/src/Page.vala" self->priv->dnd_enabled = TRUE; -#line 5280 "Page.c" +#line 5283 "Page.c" } @@ -5294,86 +5297,86 @@ void page_disable_drag_source (Page* self) { GtkWidget* _tmp10_ = NULL; guint _tmp11_ = 0U; GtkWidget* _tmp12_ = NULL; -#line 627 "/home/jens/Source/shotwell/src/Page.vala" - g_return_if_fail (IS_PAGE (self)); #line 628 "/home/jens/Source/shotwell/src/Page.vala" + g_return_if_fail (IS_PAGE (self)); +#line 629 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = self->priv->dnd_enabled; -#line 628 "/home/jens/Source/shotwell/src/Page.vala" - if (!_tmp0_) { #line 629 "/home/jens/Source/shotwell/src/Page.vala" + if (!_tmp0_) { +#line 630 "/home/jens/Source/shotwell/src/Page.vala" return; -#line 5306 "Page.c" +#line 5309 "Page.c" } -#line 631 "/home/jens/Source/shotwell/src/Page.vala" +#line 632 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = self->priv->event_source; -#line 631 "/home/jens/Source/shotwell/src/Page.vala" +#line 632 "/home/jens/Source/shotwell/src/Page.vala" _vala_assert (_tmp1_ != NULL, "event_source != null"); -#line 633 "/home/jens/Source/shotwell/src/Page.vala" +#line 634 "/home/jens/Source/shotwell/src/Page.vala" _tmp2_ = self->priv->event_source; -#line 633 "/home/jens/Source/shotwell/src/Page.vala" +#line 634 "/home/jens/Source/shotwell/src/Page.vala" g_signal_parse_name ("drag-begin", gtk_widget_get_type (), &_tmp3_, NULL, FALSE); -#line 633 "/home/jens/Source/shotwell/src/Page.vala" - g_signal_handlers_disconnect_matched (_tmp2_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp3_, 0, NULL, (GCallback) _page_on_drag_begin_gtk_widget_drag_begin, self); #line 634 "/home/jens/Source/shotwell/src/Page.vala" + g_signal_handlers_disconnect_matched (_tmp2_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp3_, 0, NULL, (GCallback) _page_on_drag_begin_gtk_widget_drag_begin, self); +#line 635 "/home/jens/Source/shotwell/src/Page.vala" _tmp4_ = self->priv->event_source; -#line 634 "/home/jens/Source/shotwell/src/Page.vala" +#line 635 "/home/jens/Source/shotwell/src/Page.vala" g_signal_parse_name ("drag-data-get", gtk_widget_get_type (), &_tmp5_, NULL, FALSE); -#line 634 "/home/jens/Source/shotwell/src/Page.vala" - g_signal_handlers_disconnect_matched (_tmp4_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp5_, 0, NULL, (GCallback) _page_on_drag_data_get_gtk_widget_drag_data_get, self); #line 635 "/home/jens/Source/shotwell/src/Page.vala" + g_signal_handlers_disconnect_matched (_tmp4_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp5_, 0, NULL, (GCallback) _page_on_drag_data_get_gtk_widget_drag_data_get, self); +#line 636 "/home/jens/Source/shotwell/src/Page.vala" _tmp6_ = self->priv->event_source; -#line 635 "/home/jens/Source/shotwell/src/Page.vala" +#line 636 "/home/jens/Source/shotwell/src/Page.vala" g_signal_parse_name ("drag-data-delete", gtk_widget_get_type (), &_tmp7_, NULL, FALSE); -#line 635 "/home/jens/Source/shotwell/src/Page.vala" - g_signal_handlers_disconnect_matched (_tmp6_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp7_, 0, NULL, (GCallback) _page_on_drag_data_delete_gtk_widget_drag_data_delete, self); #line 636 "/home/jens/Source/shotwell/src/Page.vala" + g_signal_handlers_disconnect_matched (_tmp6_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp7_, 0, NULL, (GCallback) _page_on_drag_data_delete_gtk_widget_drag_data_delete, self); +#line 637 "/home/jens/Source/shotwell/src/Page.vala" _tmp8_ = self->priv->event_source; -#line 636 "/home/jens/Source/shotwell/src/Page.vala" +#line 637 "/home/jens/Source/shotwell/src/Page.vala" g_signal_parse_name ("drag-end", gtk_widget_get_type (), &_tmp9_, NULL, FALSE); -#line 636 "/home/jens/Source/shotwell/src/Page.vala" - g_signal_handlers_disconnect_matched (_tmp8_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp9_, 0, NULL, (GCallback) _page_on_drag_end_gtk_widget_drag_end, self); #line 637 "/home/jens/Source/shotwell/src/Page.vala" + g_signal_handlers_disconnect_matched (_tmp8_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp9_, 0, NULL, (GCallback) _page_on_drag_end_gtk_widget_drag_end, self); +#line 638 "/home/jens/Source/shotwell/src/Page.vala" _tmp10_ = self->priv->event_source; -#line 637 "/home/jens/Source/shotwell/src/Page.vala" +#line 638 "/home/jens/Source/shotwell/src/Page.vala" g_signal_parse_name ("drag-failed", gtk_widget_get_type (), &_tmp11_, NULL, FALSE); -#line 637 "/home/jens/Source/shotwell/src/Page.vala" - g_signal_handlers_disconnect_matched (_tmp10_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp11_, 0, NULL, (GCallback) _page_on_drag_failed_gtk_widget_drag_failed, self); #line 638 "/home/jens/Source/shotwell/src/Page.vala" + g_signal_handlers_disconnect_matched (_tmp10_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp11_, 0, NULL, (GCallback) _page_on_drag_failed_gtk_widget_drag_failed, self); +#line 639 "/home/jens/Source/shotwell/src/Page.vala" _tmp12_ = self->priv->event_source; -#line 638 "/home/jens/Source/shotwell/src/Page.vala" +#line 639 "/home/jens/Source/shotwell/src/Page.vala" gtk_drag_source_unset (_tmp12_); -#line 640 "/home/jens/Source/shotwell/src/Page.vala" +#line 641 "/home/jens/Source/shotwell/src/Page.vala" self->priv->dnd_enabled = FALSE; -#line 5348 "Page.c" +#line 5351 "Page.c" } gboolean page_is_dnd_enabled (Page* self) { gboolean result = FALSE; gboolean _tmp0_ = FALSE; -#line 643 "/home/jens/Source/shotwell/src/Page.vala" - g_return_val_if_fail (IS_PAGE (self), FALSE); #line 644 "/home/jens/Source/shotwell/src/Page.vala" + g_return_val_if_fail (IS_PAGE (self), FALSE); +#line 645 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = self->priv->dnd_enabled; -#line 644 "/home/jens/Source/shotwell/src/Page.vala" +#line 645 "/home/jens/Source/shotwell/src/Page.vala" result = _tmp0_; -#line 644 "/home/jens/Source/shotwell/src/Page.vala" +#line 645 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 5363 "Page.c" +#line 5366 "Page.c" } static void page_on_drag_begin (Page* self, GdkDragContext* context) { GdkDragContext* _tmp0_ = NULL; -#line 647 "/home/jens/Source/shotwell/src/Page.vala" +#line 648 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (IS_PAGE (self)); -#line 647 "/home/jens/Source/shotwell/src/Page.vala" - g_return_if_fail (GDK_IS_DRAG_CONTEXT (context)); #line 648 "/home/jens/Source/shotwell/src/Page.vala" + g_return_if_fail (GDK_IS_DRAG_CONTEXT (context)); +#line 649 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = context; -#line 648 "/home/jens/Source/shotwell/src/Page.vala" +#line 649 "/home/jens/Source/shotwell/src/Page.vala" g_signal_emit_by_name (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), "drag-begin", _tmp0_); -#line 5377 "Page.c" +#line 5380 "Page.c" } @@ -5382,72 +5385,72 @@ static void page_on_drag_data_get (Page* self, GdkDragContext* context, GtkSelec GtkSelectionData* _tmp1_ = NULL; guint _tmp2_ = 0U; guint _tmp3_ = 0U; -#line 651 "/home/jens/Source/shotwell/src/Page.vala" +#line 652 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (IS_PAGE (self)); -#line 651 "/home/jens/Source/shotwell/src/Page.vala" +#line 652 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (GDK_IS_DRAG_CONTEXT (context)); -#line 651 "/home/jens/Source/shotwell/src/Page.vala" +#line 652 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (selection_data != NULL); -#line 653 "/home/jens/Source/shotwell/src/Page.vala" +#line 654 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = context; -#line 653 "/home/jens/Source/shotwell/src/Page.vala" +#line 654 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = selection_data; -#line 653 "/home/jens/Source/shotwell/src/Page.vala" +#line 654 "/home/jens/Source/shotwell/src/Page.vala" _tmp2_ = info; -#line 653 "/home/jens/Source/shotwell/src/Page.vala" +#line 654 "/home/jens/Source/shotwell/src/Page.vala" _tmp3_ = time; -#line 653 "/home/jens/Source/shotwell/src/Page.vala" +#line 654 "/home/jens/Source/shotwell/src/Page.vala" g_signal_emit_by_name (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), "drag-data-get", _tmp0_, _tmp1_, _tmp2_, _tmp3_); -#line 5402 "Page.c" +#line 5405 "Page.c" } static void page_on_drag_data_delete (Page* self, GdkDragContext* context) { GdkDragContext* _tmp0_ = NULL; -#line 656 "/home/jens/Source/shotwell/src/Page.vala" +#line 657 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (IS_PAGE (self)); -#line 656 "/home/jens/Source/shotwell/src/Page.vala" - g_return_if_fail (GDK_IS_DRAG_CONTEXT (context)); #line 657 "/home/jens/Source/shotwell/src/Page.vala" + g_return_if_fail (GDK_IS_DRAG_CONTEXT (context)); +#line 658 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = context; -#line 657 "/home/jens/Source/shotwell/src/Page.vala" +#line 658 "/home/jens/Source/shotwell/src/Page.vala" g_signal_emit_by_name (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), "drag-data-delete", _tmp0_); -#line 5416 "Page.c" +#line 5419 "Page.c" } static void page_on_drag_end (Page* self, GdkDragContext* context) { GdkDragContext* _tmp0_ = NULL; -#line 660 "/home/jens/Source/shotwell/src/Page.vala" +#line 661 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (IS_PAGE (self)); -#line 660 "/home/jens/Source/shotwell/src/Page.vala" - g_return_if_fail (GDK_IS_DRAG_CONTEXT (context)); #line 661 "/home/jens/Source/shotwell/src/Page.vala" + g_return_if_fail (GDK_IS_DRAG_CONTEXT (context)); +#line 662 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = context; -#line 661 "/home/jens/Source/shotwell/src/Page.vala" +#line 662 "/home/jens/Source/shotwell/src/Page.vala" g_signal_emit_by_name (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), "drag-end", _tmp0_); -#line 5430 "Page.c" +#line 5433 "Page.c" } static gboolean page_real_source_drag_failed (Page* self, GdkDragContext* context, GtkDragResult drag_result) { gboolean result = FALSE; -#line 668 "/home/jens/Source/shotwell/src/Page.vala" - g_return_val_if_fail (GDK_IS_DRAG_CONTEXT (context), FALSE); #line 669 "/home/jens/Source/shotwell/src/Page.vala" + g_return_val_if_fail (GDK_IS_DRAG_CONTEXT (context), FALSE); +#line 670 "/home/jens/Source/shotwell/src/Page.vala" result = FALSE; -#line 669 "/home/jens/Source/shotwell/src/Page.vala" +#line 670 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 5442 "Page.c" +#line 5445 "Page.c" } gboolean page_source_drag_failed (Page* self, GdkDragContext* context, GtkDragResult drag_result) { -#line 668 "/home/jens/Source/shotwell/src/Page.vala" +#line 669 "/home/jens/Source/shotwell/src/Page.vala" g_return_val_if_fail (IS_PAGE (self), FALSE); -#line 668 "/home/jens/Source/shotwell/src/Page.vala" +#line 669 "/home/jens/Source/shotwell/src/Page.vala" return PAGE_GET_CLASS (self)->source_drag_failed (self, context, drag_result); -#line 5451 "Page.c" +#line 5454 "Page.c" } @@ -5456,21 +5459,21 @@ static gboolean page_on_drag_failed (Page* self, GdkDragContext* context, GtkDra GdkDragContext* _tmp0_ = NULL; GtkDragResult _tmp1_ = 0; gboolean _tmp2_ = FALSE; -#line 672 "/home/jens/Source/shotwell/src/Page.vala" +#line 673 "/home/jens/Source/shotwell/src/Page.vala" g_return_val_if_fail (IS_PAGE (self), FALSE); -#line 672 "/home/jens/Source/shotwell/src/Page.vala" - g_return_val_if_fail (GDK_IS_DRAG_CONTEXT (context), FALSE); #line 673 "/home/jens/Source/shotwell/src/Page.vala" + g_return_val_if_fail (GDK_IS_DRAG_CONTEXT (context), FALSE); +#line 674 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = context; -#line 673 "/home/jens/Source/shotwell/src/Page.vala" +#line 674 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = drag_result; -#line 673 "/home/jens/Source/shotwell/src/Page.vala" +#line 674 "/home/jens/Source/shotwell/src/Page.vala" _tmp2_ = page_source_drag_failed (self, _tmp0_, _tmp1_); -#line 673 "/home/jens/Source/shotwell/src/Page.vala" +#line 674 "/home/jens/Source/shotwell/src/Page.vala" result = _tmp2_; -#line 673 "/home/jens/Source/shotwell/src/Page.vala" +#line 674 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 5474 "Page.c" +#line 5477 "Page.c" } @@ -5499,291 +5502,291 @@ gboolean page_get_event_source_pointer (Page* self, gint* x, gint* y, GdkModifie GdkPoint _tmp20_ = {0}; gint _tmp21_ = 0; gint _tmp22_ = 0; -#line 680 "/home/jens/Source/shotwell/src/Page.vala" - g_return_val_if_fail (IS_PAGE (self), FALSE); #line 681 "/home/jens/Source/shotwell/src/Page.vala" + g_return_val_if_fail (IS_PAGE (self), FALSE); +#line 682 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = self->priv->event_source; -#line 681 "/home/jens/Source/shotwell/src/Page.vala" - if (_tmp0_ == NULL) { #line 682 "/home/jens/Source/shotwell/src/Page.vala" - _vala_x = 0; + if (_tmp0_ == NULL) { #line 683 "/home/jens/Source/shotwell/src/Page.vala" - _vala_y = 0; + _vala_x = 0; #line 684 "/home/jens/Source/shotwell/src/Page.vala" + _vala_y = 0; +#line 685 "/home/jens/Source/shotwell/src/Page.vala" _vala_mask = 0; -#line 686 "/home/jens/Source/shotwell/src/Page.vala" +#line 687 "/home/jens/Source/shotwell/src/Page.vala" result = FALSE; -#line 686 "/home/jens/Source/shotwell/src/Page.vala" +#line 687 "/home/jens/Source/shotwell/src/Page.vala" if (x) { -#line 686 "/home/jens/Source/shotwell/src/Page.vala" +#line 687 "/home/jens/Source/shotwell/src/Page.vala" *x = _vala_x; -#line 5521 "Page.c" +#line 5524 "Page.c" } -#line 686 "/home/jens/Source/shotwell/src/Page.vala" +#line 687 "/home/jens/Source/shotwell/src/Page.vala" if (y) { -#line 686 "/home/jens/Source/shotwell/src/Page.vala" +#line 687 "/home/jens/Source/shotwell/src/Page.vala" *y = _vala_y; -#line 5527 "Page.c" +#line 5530 "Page.c" } -#line 686 "/home/jens/Source/shotwell/src/Page.vala" +#line 687 "/home/jens/Source/shotwell/src/Page.vala" if (mask) { -#line 686 "/home/jens/Source/shotwell/src/Page.vala" +#line 687 "/home/jens/Source/shotwell/src/Page.vala" *mask = _vala_mask; -#line 5533 "Page.c" +#line 5536 "Page.c" } -#line 686 "/home/jens/Source/shotwell/src/Page.vala" +#line 687 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 5537 "Page.c" +#line 5540 "Page.c" } -#line 689 "/home/jens/Source/shotwell/src/Page.vala" +#line 690 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = self->priv->event_source; -#line 689 "/home/jens/Source/shotwell/src/Page.vala" +#line 690 "/home/jens/Source/shotwell/src/Page.vala" _tmp2_ = gtk_widget_get_window (_tmp1_); -#line 689 "/home/jens/Source/shotwell/src/Page.vala" +#line 690 "/home/jens/Source/shotwell/src/Page.vala" _tmp3_ = gdk_display_get_default (); -#line 689 "/home/jens/Source/shotwell/src/Page.vala" +#line 690 "/home/jens/Source/shotwell/src/Page.vala" _tmp4_ = gdk_display_get_device_manager (_tmp3_); -#line 689 "/home/jens/Source/shotwell/src/Page.vala" +#line 690 "/home/jens/Source/shotwell/src/Page.vala" _tmp5_ = gdk_device_manager_get_client_pointer (_tmp4_); -#line 689 "/home/jens/Source/shotwell/src/Page.vala" +#line 690 "/home/jens/Source/shotwell/src/Page.vala" gdk_window_get_device_position (_tmp2_, _tmp5_, &_tmp6_, &_tmp7_, &_tmp8_); -#line 689 "/home/jens/Source/shotwell/src/Page.vala" +#line 690 "/home/jens/Source/shotwell/src/Page.vala" _vala_x = _tmp6_; -#line 689 "/home/jens/Source/shotwell/src/Page.vala" +#line 690 "/home/jens/Source/shotwell/src/Page.vala" _vala_y = _tmp7_; -#line 689 "/home/jens/Source/shotwell/src/Page.vala" +#line 690 "/home/jens/Source/shotwell/src/Page.vala" _vala_mask = _tmp8_; -#line 692 "/home/jens/Source/shotwell/src/Page.vala" +#line 693 "/home/jens/Source/shotwell/src/Page.vala" _tmp10_ = self->priv->last_down; -#line 692 "/home/jens/Source/shotwell/src/Page.vala" +#line 693 "/home/jens/Source/shotwell/src/Page.vala" _tmp11_ = _tmp10_.x; -#line 692 "/home/jens/Source/shotwell/src/Page.vala" +#line 693 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp11_ < 0) { -#line 692 "/home/jens/Source/shotwell/src/Page.vala" +#line 693 "/home/jens/Source/shotwell/src/Page.vala" _tmp9_ = TRUE; -#line 5565 "Page.c" +#line 5568 "Page.c" } else { GdkPoint _tmp12_ = {0}; gint _tmp13_ = 0; -#line 692 "/home/jens/Source/shotwell/src/Page.vala" +#line 693 "/home/jens/Source/shotwell/src/Page.vala" _tmp12_ = self->priv->last_down; -#line 692 "/home/jens/Source/shotwell/src/Page.vala" +#line 693 "/home/jens/Source/shotwell/src/Page.vala" _tmp13_ = _tmp12_.y; -#line 692 "/home/jens/Source/shotwell/src/Page.vala" +#line 693 "/home/jens/Source/shotwell/src/Page.vala" _tmp9_ = _tmp13_ < 0; -#line 5575 "Page.c" +#line 5578 "Page.c" } -#line 692 "/home/jens/Source/shotwell/src/Page.vala" - if (_tmp9_) { #line 693 "/home/jens/Source/shotwell/src/Page.vala" + if (_tmp9_) { +#line 694 "/home/jens/Source/shotwell/src/Page.vala" result = TRUE; -#line 693 "/home/jens/Source/shotwell/src/Page.vala" +#line 694 "/home/jens/Source/shotwell/src/Page.vala" if (x) { -#line 693 "/home/jens/Source/shotwell/src/Page.vala" +#line 694 "/home/jens/Source/shotwell/src/Page.vala" *x = _vala_x; -#line 5585 "Page.c" +#line 5588 "Page.c" } -#line 693 "/home/jens/Source/shotwell/src/Page.vala" +#line 694 "/home/jens/Source/shotwell/src/Page.vala" if (y) { -#line 693 "/home/jens/Source/shotwell/src/Page.vala" +#line 694 "/home/jens/Source/shotwell/src/Page.vala" *y = _vala_y; -#line 5591 "Page.c" +#line 5594 "Page.c" } -#line 693 "/home/jens/Source/shotwell/src/Page.vala" +#line 694 "/home/jens/Source/shotwell/src/Page.vala" if (mask) { -#line 693 "/home/jens/Source/shotwell/src/Page.vala" +#line 694 "/home/jens/Source/shotwell/src/Page.vala" *mask = _vala_mask; -#line 5597 "Page.c" +#line 5600 "Page.c" } -#line 693 "/home/jens/Source/shotwell/src/Page.vala" +#line 694 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 5601 "Page.c" +#line 5604 "Page.c" } -#line 699 "/home/jens/Source/shotwell/src/Page.vala" +#line 700 "/home/jens/Source/shotwell/src/Page.vala" _tmp14_ = _vala_x; -#line 699 "/home/jens/Source/shotwell/src/Page.vala" +#line 700 "/home/jens/Source/shotwell/src/Page.vala" _tmp15_ = self->priv->last_down; -#line 699 "/home/jens/Source/shotwell/src/Page.vala" +#line 700 "/home/jens/Source/shotwell/src/Page.vala" _tmp16_ = _tmp15_.x; -#line 699 "/home/jens/Source/shotwell/src/Page.vala" +#line 700 "/home/jens/Source/shotwell/src/Page.vala" _tmp17_ = abs (_tmp14_ - _tmp16_); -#line 699 "/home/jens/Source/shotwell/src/Page.vala" +#line 700 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp17_ >= 0x7FFF) { -#line 5613 "Page.c" +#line 5616 "Page.c" gint _tmp18_ = 0; -#line 700 "/home/jens/Source/shotwell/src/Page.vala" +#line 701 "/home/jens/Source/shotwell/src/Page.vala" _tmp18_ = _vala_x; -#line 700 "/home/jens/Source/shotwell/src/Page.vala" +#line 701 "/home/jens/Source/shotwell/src/Page.vala" _vala_x = _tmp18_ + 0xFFFF; -#line 5619 "Page.c" +#line 5622 "Page.c" } -#line 702 "/home/jens/Source/shotwell/src/Page.vala" +#line 703 "/home/jens/Source/shotwell/src/Page.vala" _tmp19_ = _vala_y; -#line 702 "/home/jens/Source/shotwell/src/Page.vala" +#line 703 "/home/jens/Source/shotwell/src/Page.vala" _tmp20_ = self->priv->last_down; -#line 702 "/home/jens/Source/shotwell/src/Page.vala" +#line 703 "/home/jens/Source/shotwell/src/Page.vala" _tmp21_ = _tmp20_.y; -#line 702 "/home/jens/Source/shotwell/src/Page.vala" +#line 703 "/home/jens/Source/shotwell/src/Page.vala" _tmp22_ = abs (_tmp19_ - _tmp21_); -#line 702 "/home/jens/Source/shotwell/src/Page.vala" +#line 703 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp22_ >= 0x7FFF) { -#line 5631 "Page.c" +#line 5634 "Page.c" gint _tmp23_ = 0; -#line 703 "/home/jens/Source/shotwell/src/Page.vala" +#line 704 "/home/jens/Source/shotwell/src/Page.vala" _tmp23_ = _vala_y; -#line 703 "/home/jens/Source/shotwell/src/Page.vala" +#line 704 "/home/jens/Source/shotwell/src/Page.vala" _vala_y = _tmp23_ + 0xFFFF; -#line 5637 "Page.c" +#line 5640 "Page.c" } -#line 705 "/home/jens/Source/shotwell/src/Page.vala" +#line 706 "/home/jens/Source/shotwell/src/Page.vala" result = TRUE; -#line 705 "/home/jens/Source/shotwell/src/Page.vala" +#line 706 "/home/jens/Source/shotwell/src/Page.vala" if (x) { -#line 705 "/home/jens/Source/shotwell/src/Page.vala" +#line 706 "/home/jens/Source/shotwell/src/Page.vala" *x = _vala_x; -#line 5645 "Page.c" +#line 5648 "Page.c" } -#line 705 "/home/jens/Source/shotwell/src/Page.vala" +#line 706 "/home/jens/Source/shotwell/src/Page.vala" if (y) { -#line 705 "/home/jens/Source/shotwell/src/Page.vala" +#line 706 "/home/jens/Source/shotwell/src/Page.vala" *y = _vala_y; -#line 5651 "Page.c" +#line 5654 "Page.c" } -#line 705 "/home/jens/Source/shotwell/src/Page.vala" +#line 706 "/home/jens/Source/shotwell/src/Page.vala" if (mask) { -#line 705 "/home/jens/Source/shotwell/src/Page.vala" +#line 706 "/home/jens/Source/shotwell/src/Page.vala" *mask = _vala_mask; -#line 5657 "Page.c" +#line 5660 "Page.c" } -#line 705 "/home/jens/Source/shotwell/src/Page.vala" +#line 706 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 5661 "Page.c" +#line 5664 "Page.c" } static gboolean page_real_on_left_click (Page* self, GdkEventButton* event) { gboolean result = FALSE; -#line 708 "/home/jens/Source/shotwell/src/Page.vala" - g_return_val_if_fail (event != NULL, FALSE); #line 709 "/home/jens/Source/shotwell/src/Page.vala" + g_return_val_if_fail (event != NULL, FALSE); +#line 710 "/home/jens/Source/shotwell/src/Page.vala" result = FALSE; -#line 709 "/home/jens/Source/shotwell/src/Page.vala" +#line 710 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 5673 "Page.c" +#line 5676 "Page.c" } gboolean page_on_left_click (Page* self, GdkEventButton* event) { -#line 708 "/home/jens/Source/shotwell/src/Page.vala" +#line 709 "/home/jens/Source/shotwell/src/Page.vala" g_return_val_if_fail (IS_PAGE (self), FALSE); -#line 708 "/home/jens/Source/shotwell/src/Page.vala" +#line 709 "/home/jens/Source/shotwell/src/Page.vala" return PAGE_GET_CLASS (self)->on_left_click (self, event); -#line 5682 "Page.c" +#line 5685 "Page.c" } static gboolean page_real_on_middle_click (Page* self, GdkEventButton* event) { gboolean result = FALSE; -#line 712 "/home/jens/Source/shotwell/src/Page.vala" - g_return_val_if_fail (event != NULL, FALSE); #line 713 "/home/jens/Source/shotwell/src/Page.vala" + g_return_val_if_fail (event != NULL, FALSE); +#line 714 "/home/jens/Source/shotwell/src/Page.vala" result = FALSE; -#line 713 "/home/jens/Source/shotwell/src/Page.vala" +#line 714 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 5694 "Page.c" +#line 5697 "Page.c" } gboolean page_on_middle_click (Page* self, GdkEventButton* event) { -#line 712 "/home/jens/Source/shotwell/src/Page.vala" +#line 713 "/home/jens/Source/shotwell/src/Page.vala" g_return_val_if_fail (IS_PAGE (self), FALSE); -#line 712 "/home/jens/Source/shotwell/src/Page.vala" +#line 713 "/home/jens/Source/shotwell/src/Page.vala" return PAGE_GET_CLASS (self)->on_middle_click (self, event); -#line 5703 "Page.c" +#line 5706 "Page.c" } static gboolean page_real_on_right_click (Page* self, GdkEventButton* event) { gboolean result = FALSE; -#line 716 "/home/jens/Source/shotwell/src/Page.vala" - g_return_val_if_fail (event != NULL, FALSE); #line 717 "/home/jens/Source/shotwell/src/Page.vala" + g_return_val_if_fail (event != NULL, FALSE); +#line 718 "/home/jens/Source/shotwell/src/Page.vala" result = FALSE; -#line 717 "/home/jens/Source/shotwell/src/Page.vala" +#line 718 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 5715 "Page.c" +#line 5718 "Page.c" } gboolean page_on_right_click (Page* self, GdkEventButton* event) { -#line 716 "/home/jens/Source/shotwell/src/Page.vala" +#line 717 "/home/jens/Source/shotwell/src/Page.vala" g_return_val_if_fail (IS_PAGE (self), FALSE); -#line 716 "/home/jens/Source/shotwell/src/Page.vala" +#line 717 "/home/jens/Source/shotwell/src/Page.vala" return PAGE_GET_CLASS (self)->on_right_click (self, event); -#line 5724 "Page.c" +#line 5727 "Page.c" } static gboolean page_real_on_left_released (Page* self, GdkEventButton* event) { gboolean result = FALSE; -#line 720 "/home/jens/Source/shotwell/src/Page.vala" - g_return_val_if_fail (event != NULL, FALSE); #line 721 "/home/jens/Source/shotwell/src/Page.vala" + g_return_val_if_fail (event != NULL, FALSE); +#line 722 "/home/jens/Source/shotwell/src/Page.vala" result = FALSE; -#line 721 "/home/jens/Source/shotwell/src/Page.vala" +#line 722 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 5736 "Page.c" +#line 5739 "Page.c" } gboolean page_on_left_released (Page* self, GdkEventButton* event) { -#line 720 "/home/jens/Source/shotwell/src/Page.vala" +#line 721 "/home/jens/Source/shotwell/src/Page.vala" g_return_val_if_fail (IS_PAGE (self), FALSE); -#line 720 "/home/jens/Source/shotwell/src/Page.vala" +#line 721 "/home/jens/Source/shotwell/src/Page.vala" return PAGE_GET_CLASS (self)->on_left_released (self, event); -#line 5745 "Page.c" +#line 5748 "Page.c" } static gboolean page_real_on_middle_released (Page* self, GdkEventButton* event) { gboolean result = FALSE; -#line 724 "/home/jens/Source/shotwell/src/Page.vala" - g_return_val_if_fail (event != NULL, FALSE); #line 725 "/home/jens/Source/shotwell/src/Page.vala" + g_return_val_if_fail (event != NULL, FALSE); +#line 726 "/home/jens/Source/shotwell/src/Page.vala" result = FALSE; -#line 725 "/home/jens/Source/shotwell/src/Page.vala" +#line 726 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 5757 "Page.c" +#line 5760 "Page.c" } gboolean page_on_middle_released (Page* self, GdkEventButton* event) { -#line 724 "/home/jens/Source/shotwell/src/Page.vala" +#line 725 "/home/jens/Source/shotwell/src/Page.vala" g_return_val_if_fail (IS_PAGE (self), FALSE); -#line 724 "/home/jens/Source/shotwell/src/Page.vala" +#line 725 "/home/jens/Source/shotwell/src/Page.vala" return PAGE_GET_CLASS (self)->on_middle_released (self, event); -#line 5766 "Page.c" +#line 5769 "Page.c" } static gboolean page_real_on_right_released (Page* self, GdkEventButton* event) { gboolean result = FALSE; -#line 728 "/home/jens/Source/shotwell/src/Page.vala" - g_return_val_if_fail (event != NULL, FALSE); #line 729 "/home/jens/Source/shotwell/src/Page.vala" + g_return_val_if_fail (event != NULL, FALSE); +#line 730 "/home/jens/Source/shotwell/src/Page.vala" result = FALSE; -#line 729 "/home/jens/Source/shotwell/src/Page.vala" +#line 730 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 5778 "Page.c" +#line 5781 "Page.c" } gboolean page_on_right_released (Page* self, GdkEventButton* event) { -#line 728 "/home/jens/Source/shotwell/src/Page.vala" +#line 729 "/home/jens/Source/shotwell/src/Page.vala" g_return_val_if_fail (IS_PAGE (self), FALSE); -#line 728 "/home/jens/Source/shotwell/src/Page.vala" +#line 729 "/home/jens/Source/shotwell/src/Page.vala" return PAGE_GET_CLASS (self)->on_right_released (self, event); -#line 5787 "Page.c" +#line 5790 "Page.c" } @@ -5791,19 +5794,19 @@ static gboolean page_on_button_pressed_internal (Page* self, GdkEventButton* eve gboolean result = FALSE; GdkEventButton* _tmp0_ = NULL; guint _tmp1_ = 0U; -#line 732 "/home/jens/Source/shotwell/src/Page.vala" +#line 733 "/home/jens/Source/shotwell/src/Page.vala" g_return_val_if_fail (IS_PAGE (self), FALSE); -#line 732 "/home/jens/Source/shotwell/src/Page.vala" - g_return_val_if_fail (event != NULL, FALSE); #line 733 "/home/jens/Source/shotwell/src/Page.vala" + g_return_val_if_fail (event != NULL, FALSE); +#line 734 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = event; -#line 733 "/home/jens/Source/shotwell/src/Page.vala" +#line 734 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = _tmp0_->button; -#line 733 "/home/jens/Source/shotwell/src/Page.vala" +#line 734 "/home/jens/Source/shotwell/src/Page.vala" switch (_tmp1_) { -#line 733 "/home/jens/Source/shotwell/src/Page.vala" +#line 734 "/home/jens/Source/shotwell/src/Page.vala" case 1: -#line 5807 "Page.c" +#line 5810 "Page.c" { GtkWidget* _tmp2_ = NULL; GdkEventButton* _tmp4_ = NULL; @@ -5812,79 +5815,79 @@ static gboolean page_on_button_pressed_internal (Page* self, GdkEventButton* eve gdouble _tmp7_ = 0.0; GdkEventButton* _tmp8_ = NULL; gboolean _tmp9_ = FALSE; -#line 735 "/home/jens/Source/shotwell/src/Page.vala" +#line 736 "/home/jens/Source/shotwell/src/Page.vala" _tmp2_ = self->priv->event_source; -#line 735 "/home/jens/Source/shotwell/src/Page.vala" +#line 736 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp2_ != NULL) { -#line 5820 "Page.c" +#line 5823 "Page.c" GtkWidget* _tmp3_ = NULL; -#line 736 "/home/jens/Source/shotwell/src/Page.vala" +#line 737 "/home/jens/Source/shotwell/src/Page.vala" _tmp3_ = self->priv->event_source; -#line 736 "/home/jens/Source/shotwell/src/Page.vala" +#line 737 "/home/jens/Source/shotwell/src/Page.vala" gtk_widget_grab_focus (_tmp3_); -#line 5826 "Page.c" +#line 5829 "Page.c" } -#line 739 "/home/jens/Source/shotwell/src/Page.vala" +#line 740 "/home/jens/Source/shotwell/src/Page.vala" _tmp4_ = event; -#line 739 "/home/jens/Source/shotwell/src/Page.vala" +#line 740 "/home/jens/Source/shotwell/src/Page.vala" _tmp5_ = _tmp4_->x; -#line 739 "/home/jens/Source/shotwell/src/Page.vala" - self->priv->last_down.x = (gint) _tmp5_; #line 740 "/home/jens/Source/shotwell/src/Page.vala" + self->priv->last_down.x = (gint) _tmp5_; +#line 741 "/home/jens/Source/shotwell/src/Page.vala" _tmp6_ = event; -#line 740 "/home/jens/Source/shotwell/src/Page.vala" +#line 741 "/home/jens/Source/shotwell/src/Page.vala" _tmp7_ = _tmp6_->y; -#line 740 "/home/jens/Source/shotwell/src/Page.vala" +#line 741 "/home/jens/Source/shotwell/src/Page.vala" self->priv->last_down.y = (gint) _tmp7_; -#line 742 "/home/jens/Source/shotwell/src/Page.vala" +#line 743 "/home/jens/Source/shotwell/src/Page.vala" _tmp8_ = event; -#line 742 "/home/jens/Source/shotwell/src/Page.vala" +#line 743 "/home/jens/Source/shotwell/src/Page.vala" _tmp9_ = page_on_left_click (self, _tmp8_); -#line 742 "/home/jens/Source/shotwell/src/Page.vala" +#line 743 "/home/jens/Source/shotwell/src/Page.vala" result = _tmp9_; -#line 742 "/home/jens/Source/shotwell/src/Page.vala" +#line 743 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 5848 "Page.c" +#line 5851 "Page.c" } -#line 733 "/home/jens/Source/shotwell/src/Page.vala" +#line 734 "/home/jens/Source/shotwell/src/Page.vala" case 2: -#line 5852 "Page.c" +#line 5855 "Page.c" { GdkEventButton* _tmp10_ = NULL; gboolean _tmp11_ = FALSE; -#line 745 "/home/jens/Source/shotwell/src/Page.vala" +#line 746 "/home/jens/Source/shotwell/src/Page.vala" _tmp10_ = event; -#line 745 "/home/jens/Source/shotwell/src/Page.vala" +#line 746 "/home/jens/Source/shotwell/src/Page.vala" _tmp11_ = page_on_middle_click (self, _tmp10_); -#line 745 "/home/jens/Source/shotwell/src/Page.vala" +#line 746 "/home/jens/Source/shotwell/src/Page.vala" result = _tmp11_; -#line 745 "/home/jens/Source/shotwell/src/Page.vala" +#line 746 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 5864 "Page.c" +#line 5867 "Page.c" } -#line 733 "/home/jens/Source/shotwell/src/Page.vala" +#line 734 "/home/jens/Source/shotwell/src/Page.vala" case 3: -#line 5868 "Page.c" +#line 5871 "Page.c" { GdkEventButton* _tmp12_ = NULL; gboolean _tmp13_ = FALSE; -#line 748 "/home/jens/Source/shotwell/src/Page.vala" +#line 749 "/home/jens/Source/shotwell/src/Page.vala" _tmp12_ = event; -#line 748 "/home/jens/Source/shotwell/src/Page.vala" +#line 749 "/home/jens/Source/shotwell/src/Page.vala" _tmp13_ = page_on_right_click (self, _tmp12_); -#line 748 "/home/jens/Source/shotwell/src/Page.vala" +#line 749 "/home/jens/Source/shotwell/src/Page.vala" result = _tmp13_; -#line 748 "/home/jens/Source/shotwell/src/Page.vala" +#line 749 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 5880 "Page.c" +#line 5883 "Page.c" } default: { -#line 751 "/home/jens/Source/shotwell/src/Page.vala" +#line 752 "/home/jens/Source/shotwell/src/Page.vala" result = FALSE; -#line 751 "/home/jens/Source/shotwell/src/Page.vala" +#line 752 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 5888 "Page.c" +#line 5891 "Page.c" } } } @@ -5894,78 +5897,78 @@ static gboolean page_on_button_released_internal (Page* self, GdkEventButton* ev gboolean result = FALSE; GdkEventButton* _tmp0_ = NULL; guint _tmp1_ = 0U; -#line 755 "/home/jens/Source/shotwell/src/Page.vala" +#line 756 "/home/jens/Source/shotwell/src/Page.vala" g_return_val_if_fail (IS_PAGE (self), FALSE); -#line 755 "/home/jens/Source/shotwell/src/Page.vala" - g_return_val_if_fail (event != NULL, FALSE); #line 756 "/home/jens/Source/shotwell/src/Page.vala" + g_return_val_if_fail (event != NULL, FALSE); +#line 757 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = event; -#line 756 "/home/jens/Source/shotwell/src/Page.vala" +#line 757 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = _tmp0_->button; -#line 756 "/home/jens/Source/shotwell/src/Page.vala" +#line 757 "/home/jens/Source/shotwell/src/Page.vala" switch (_tmp1_) { -#line 756 "/home/jens/Source/shotwell/src/Page.vala" +#line 757 "/home/jens/Source/shotwell/src/Page.vala" case 1: -#line 5910 "Page.c" +#line 5913 "Page.c" { GdkPoint _tmp2_ = {0}; GdkEventButton* _tmp3_ = NULL; gboolean _tmp4_ = FALSE; -#line 759 "/home/jens/Source/shotwell/src/Page.vala" +#line 760 "/home/jens/Source/shotwell/src/Page.vala" _tmp2_.x = -1; -#line 759 "/home/jens/Source/shotwell/src/Page.vala" +#line 760 "/home/jens/Source/shotwell/src/Page.vala" _tmp2_.y = -1; -#line 759 "/home/jens/Source/shotwell/src/Page.vala" +#line 760 "/home/jens/Source/shotwell/src/Page.vala" self->priv->last_down = _tmp2_; -#line 761 "/home/jens/Source/shotwell/src/Page.vala" +#line 762 "/home/jens/Source/shotwell/src/Page.vala" _tmp3_ = event; -#line 761 "/home/jens/Source/shotwell/src/Page.vala" +#line 762 "/home/jens/Source/shotwell/src/Page.vala" _tmp4_ = page_on_left_released (self, _tmp3_); -#line 761 "/home/jens/Source/shotwell/src/Page.vala" +#line 762 "/home/jens/Source/shotwell/src/Page.vala" result = _tmp4_; -#line 761 "/home/jens/Source/shotwell/src/Page.vala" +#line 762 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 5929 "Page.c" +#line 5932 "Page.c" } -#line 756 "/home/jens/Source/shotwell/src/Page.vala" +#line 757 "/home/jens/Source/shotwell/src/Page.vala" case 2: -#line 5933 "Page.c" +#line 5936 "Page.c" { GdkEventButton* _tmp5_ = NULL; gboolean _tmp6_ = FALSE; -#line 764 "/home/jens/Source/shotwell/src/Page.vala" +#line 765 "/home/jens/Source/shotwell/src/Page.vala" _tmp5_ = event; -#line 764 "/home/jens/Source/shotwell/src/Page.vala" +#line 765 "/home/jens/Source/shotwell/src/Page.vala" _tmp6_ = page_on_middle_released (self, _tmp5_); -#line 764 "/home/jens/Source/shotwell/src/Page.vala" +#line 765 "/home/jens/Source/shotwell/src/Page.vala" result = _tmp6_; -#line 764 "/home/jens/Source/shotwell/src/Page.vala" +#line 765 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 5945 "Page.c" +#line 5948 "Page.c" } -#line 756 "/home/jens/Source/shotwell/src/Page.vala" +#line 757 "/home/jens/Source/shotwell/src/Page.vala" case 3: -#line 5949 "Page.c" +#line 5952 "Page.c" { GdkEventButton* _tmp7_ = NULL; gboolean _tmp8_ = FALSE; -#line 767 "/home/jens/Source/shotwell/src/Page.vala" +#line 768 "/home/jens/Source/shotwell/src/Page.vala" _tmp7_ = event; -#line 767 "/home/jens/Source/shotwell/src/Page.vala" +#line 768 "/home/jens/Source/shotwell/src/Page.vala" _tmp8_ = page_on_right_released (self, _tmp7_); -#line 767 "/home/jens/Source/shotwell/src/Page.vala" +#line 768 "/home/jens/Source/shotwell/src/Page.vala" result = _tmp8_; -#line 767 "/home/jens/Source/shotwell/src/Page.vala" +#line 768 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 5961 "Page.c" +#line 5964 "Page.c" } default: { -#line 770 "/home/jens/Source/shotwell/src/Page.vala" +#line 771 "/home/jens/Source/shotwell/src/Page.vala" result = FALSE; -#line 770 "/home/jens/Source/shotwell/src/Page.vala" +#line 771 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 5969 "Page.c" +#line 5972 "Page.c" } } } @@ -5973,195 +5976,195 @@ static gboolean page_on_button_released_internal (Page* self, GdkEventButton* ev static gboolean page_real_on_ctrl_pressed (Page* self, GdkEventKey* event) { gboolean result = FALSE; -#line 775 "/home/jens/Source/shotwell/src/Page.vala" +#line 776 "/home/jens/Source/shotwell/src/Page.vala" result = FALSE; -#line 775 "/home/jens/Source/shotwell/src/Page.vala" +#line 776 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 5981 "Page.c" +#line 5984 "Page.c" } gboolean page_on_ctrl_pressed (Page* self, GdkEventKey* event) { -#line 774 "/home/jens/Source/shotwell/src/Page.vala" +#line 775 "/home/jens/Source/shotwell/src/Page.vala" g_return_val_if_fail (IS_PAGE (self), FALSE); -#line 774 "/home/jens/Source/shotwell/src/Page.vala" +#line 775 "/home/jens/Source/shotwell/src/Page.vala" return PAGE_GET_CLASS (self)->on_ctrl_pressed (self, event); -#line 5990 "Page.c" +#line 5993 "Page.c" } static gboolean page_real_on_ctrl_released (Page* self, GdkEventKey* event) { gboolean result = FALSE; -#line 779 "/home/jens/Source/shotwell/src/Page.vala" +#line 780 "/home/jens/Source/shotwell/src/Page.vala" result = FALSE; -#line 779 "/home/jens/Source/shotwell/src/Page.vala" +#line 780 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 6000 "Page.c" +#line 6003 "Page.c" } gboolean page_on_ctrl_released (Page* self, GdkEventKey* event) { -#line 778 "/home/jens/Source/shotwell/src/Page.vala" +#line 779 "/home/jens/Source/shotwell/src/Page.vala" g_return_val_if_fail (IS_PAGE (self), FALSE); -#line 778 "/home/jens/Source/shotwell/src/Page.vala" +#line 779 "/home/jens/Source/shotwell/src/Page.vala" return PAGE_GET_CLASS (self)->on_ctrl_released (self, event); -#line 6009 "Page.c" +#line 6012 "Page.c" } static gboolean page_real_on_alt_pressed (Page* self, GdkEventKey* event) { gboolean result = FALSE; -#line 783 "/home/jens/Source/shotwell/src/Page.vala" +#line 784 "/home/jens/Source/shotwell/src/Page.vala" result = FALSE; -#line 783 "/home/jens/Source/shotwell/src/Page.vala" +#line 784 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 6019 "Page.c" +#line 6022 "Page.c" } gboolean page_on_alt_pressed (Page* self, GdkEventKey* event) { -#line 782 "/home/jens/Source/shotwell/src/Page.vala" +#line 783 "/home/jens/Source/shotwell/src/Page.vala" g_return_val_if_fail (IS_PAGE (self), FALSE); -#line 782 "/home/jens/Source/shotwell/src/Page.vala" +#line 783 "/home/jens/Source/shotwell/src/Page.vala" return PAGE_GET_CLASS (self)->on_alt_pressed (self, event); -#line 6028 "Page.c" +#line 6031 "Page.c" } static gboolean page_real_on_alt_released (Page* self, GdkEventKey* event) { gboolean result = FALSE; -#line 787 "/home/jens/Source/shotwell/src/Page.vala" +#line 788 "/home/jens/Source/shotwell/src/Page.vala" result = FALSE; -#line 787 "/home/jens/Source/shotwell/src/Page.vala" +#line 788 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 6038 "Page.c" +#line 6041 "Page.c" } gboolean page_on_alt_released (Page* self, GdkEventKey* event) { -#line 786 "/home/jens/Source/shotwell/src/Page.vala" +#line 787 "/home/jens/Source/shotwell/src/Page.vala" g_return_val_if_fail (IS_PAGE (self), FALSE); -#line 786 "/home/jens/Source/shotwell/src/Page.vala" +#line 787 "/home/jens/Source/shotwell/src/Page.vala" return PAGE_GET_CLASS (self)->on_alt_released (self, event); -#line 6047 "Page.c" +#line 6050 "Page.c" } static gboolean page_real_on_shift_pressed (Page* self, GdkEventKey* event) { gboolean result = FALSE; -#line 791 "/home/jens/Source/shotwell/src/Page.vala" +#line 792 "/home/jens/Source/shotwell/src/Page.vala" result = FALSE; -#line 791 "/home/jens/Source/shotwell/src/Page.vala" +#line 792 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 6057 "Page.c" +#line 6060 "Page.c" } gboolean page_on_shift_pressed (Page* self, GdkEventKey* event) { -#line 790 "/home/jens/Source/shotwell/src/Page.vala" +#line 791 "/home/jens/Source/shotwell/src/Page.vala" g_return_val_if_fail (IS_PAGE (self), FALSE); -#line 790 "/home/jens/Source/shotwell/src/Page.vala" +#line 791 "/home/jens/Source/shotwell/src/Page.vala" return PAGE_GET_CLASS (self)->on_shift_pressed (self, event); -#line 6066 "Page.c" +#line 6069 "Page.c" } static gboolean page_real_on_shift_released (Page* self, GdkEventKey* event) { gboolean result = FALSE; -#line 795 "/home/jens/Source/shotwell/src/Page.vala" +#line 796 "/home/jens/Source/shotwell/src/Page.vala" result = FALSE; -#line 795 "/home/jens/Source/shotwell/src/Page.vala" +#line 796 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 6076 "Page.c" +#line 6079 "Page.c" } gboolean page_on_shift_released (Page* self, GdkEventKey* event) { -#line 794 "/home/jens/Source/shotwell/src/Page.vala" +#line 795 "/home/jens/Source/shotwell/src/Page.vala" g_return_val_if_fail (IS_PAGE (self), FALSE); -#line 794 "/home/jens/Source/shotwell/src/Page.vala" +#line 795 "/home/jens/Source/shotwell/src/Page.vala" return PAGE_GET_CLASS (self)->on_shift_released (self, event); -#line 6085 "Page.c" +#line 6088 "Page.c" } static gboolean page_real_on_super_pressed (Page* self, GdkEventKey* event) { gboolean result = FALSE; -#line 799 "/home/jens/Source/shotwell/src/Page.vala" +#line 800 "/home/jens/Source/shotwell/src/Page.vala" result = FALSE; -#line 799 "/home/jens/Source/shotwell/src/Page.vala" +#line 800 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 6095 "Page.c" +#line 6098 "Page.c" } gboolean page_on_super_pressed (Page* self, GdkEventKey* event) { -#line 798 "/home/jens/Source/shotwell/src/Page.vala" +#line 799 "/home/jens/Source/shotwell/src/Page.vala" g_return_val_if_fail (IS_PAGE (self), FALSE); -#line 798 "/home/jens/Source/shotwell/src/Page.vala" +#line 799 "/home/jens/Source/shotwell/src/Page.vala" return PAGE_GET_CLASS (self)->on_super_pressed (self, event); -#line 6104 "Page.c" +#line 6107 "Page.c" } static gboolean page_real_on_super_released (Page* self, GdkEventKey* event) { gboolean result = FALSE; -#line 803 "/home/jens/Source/shotwell/src/Page.vala" +#line 804 "/home/jens/Source/shotwell/src/Page.vala" result = FALSE; -#line 803 "/home/jens/Source/shotwell/src/Page.vala" +#line 804 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 6114 "Page.c" +#line 6117 "Page.c" } gboolean page_on_super_released (Page* self, GdkEventKey* event) { -#line 802 "/home/jens/Source/shotwell/src/Page.vala" +#line 803 "/home/jens/Source/shotwell/src/Page.vala" g_return_val_if_fail (IS_PAGE (self), FALSE); -#line 802 "/home/jens/Source/shotwell/src/Page.vala" +#line 803 "/home/jens/Source/shotwell/src/Page.vala" return PAGE_GET_CLASS (self)->on_super_released (self, event); -#line 6123 "Page.c" +#line 6126 "Page.c" } static gboolean page_real_on_app_key_pressed (Page* self, GdkEventKey* event) { gboolean result = FALSE; -#line 806 "/home/jens/Source/shotwell/src/Page.vala" - g_return_val_if_fail (event != NULL, FALSE); #line 807 "/home/jens/Source/shotwell/src/Page.vala" + g_return_val_if_fail (event != NULL, FALSE); +#line 808 "/home/jens/Source/shotwell/src/Page.vala" result = FALSE; -#line 807 "/home/jens/Source/shotwell/src/Page.vala" +#line 808 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 6135 "Page.c" +#line 6138 "Page.c" } gboolean page_on_app_key_pressed (Page* self, GdkEventKey* event) { -#line 806 "/home/jens/Source/shotwell/src/Page.vala" +#line 807 "/home/jens/Source/shotwell/src/Page.vala" g_return_val_if_fail (IS_PAGE (self), FALSE); -#line 806 "/home/jens/Source/shotwell/src/Page.vala" +#line 807 "/home/jens/Source/shotwell/src/Page.vala" return PAGE_GET_CLASS (self)->on_app_key_pressed (self, event); -#line 6144 "Page.c" +#line 6147 "Page.c" } static gboolean page_real_on_app_key_released (Page* self, GdkEventKey* event) { gboolean result = FALSE; -#line 810 "/home/jens/Source/shotwell/src/Page.vala" - g_return_val_if_fail (event != NULL, FALSE); #line 811 "/home/jens/Source/shotwell/src/Page.vala" + g_return_val_if_fail (event != NULL, FALSE); +#line 812 "/home/jens/Source/shotwell/src/Page.vala" result = FALSE; -#line 811 "/home/jens/Source/shotwell/src/Page.vala" +#line 812 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 6156 "Page.c" +#line 6159 "Page.c" } gboolean page_on_app_key_released (Page* self, GdkEventKey* event) { -#line 810 "/home/jens/Source/shotwell/src/Page.vala" +#line 811 "/home/jens/Source/shotwell/src/Page.vala" g_return_val_if_fail (IS_PAGE (self), FALSE); -#line 810 "/home/jens/Source/shotwell/src/Page.vala" +#line 811 "/home/jens/Source/shotwell/src/Page.vala" return PAGE_GET_CLASS (self)->on_app_key_released (self, event); -#line 6165 "Page.c" +#line 6168 "Page.c" } @@ -6180,248 +6183,248 @@ gboolean page_notify_app_key_pressed (Page* self, GdkEventKey* event) { const gchar* _tmp6_ = NULL; const gchar* _tmp7_ = NULL; GQuark _tmp9_ = 0U; -#line 820 "/home/jens/Source/shotwell/src/Page.vala" +#line 821 "/home/jens/Source/shotwell/src/Page.vala" static GQuark _tmp8_label0 = 0; -#line 820 "/home/jens/Source/shotwell/src/Page.vala" +#line 821 "/home/jens/Source/shotwell/src/Page.vala" static GQuark _tmp8_label1 = 0; -#line 820 "/home/jens/Source/shotwell/src/Page.vala" +#line 821 "/home/jens/Source/shotwell/src/Page.vala" static GQuark _tmp8_label2 = 0; -#line 820 "/home/jens/Source/shotwell/src/Page.vala" +#line 821 "/home/jens/Source/shotwell/src/Page.vala" static GQuark _tmp8_label3 = 0; -#line 820 "/home/jens/Source/shotwell/src/Page.vala" +#line 821 "/home/jens/Source/shotwell/src/Page.vala" static GQuark _tmp8_label4 = 0; -#line 820 "/home/jens/Source/shotwell/src/Page.vala" +#line 821 "/home/jens/Source/shotwell/src/Page.vala" static GQuark _tmp8_label5 = 0; -#line 820 "/home/jens/Source/shotwell/src/Page.vala" +#line 821 "/home/jens/Source/shotwell/src/Page.vala" static GQuark _tmp8_label6 = 0; -#line 820 "/home/jens/Source/shotwell/src/Page.vala" +#line 821 "/home/jens/Source/shotwell/src/Page.vala" static GQuark _tmp8_label7 = 0; -#line 820 "/home/jens/Source/shotwell/src/Page.vala" +#line 821 "/home/jens/Source/shotwell/src/Page.vala" static GQuark _tmp8_label8 = 0; -#line 820 "/home/jens/Source/shotwell/src/Page.vala" +#line 821 "/home/jens/Source/shotwell/src/Page.vala" static GQuark _tmp8_label9 = 0; -#line 6204 "Page.c" +#line 6207 "Page.c" GdkEventKey* _tmp30_ = NULL; gboolean _tmp31_ = FALSE; -#line 814 "/home/jens/Source/shotwell/src/Page.vala" +#line 815 "/home/jens/Source/shotwell/src/Page.vala" g_return_val_if_fail (IS_PAGE (self), FALSE); -#line 814 "/home/jens/Source/shotwell/src/Page.vala" +#line 815 "/home/jens/Source/shotwell/src/Page.vala" g_return_val_if_fail (event != NULL, FALSE); -#line 817 "/home/jens/Source/shotwell/src/Page.vala" +#line 818 "/home/jens/Source/shotwell/src/Page.vala" page_get_modifiers (self, &_tmp0_, &_tmp1_, &_tmp2_, &_tmp3_); -#line 817 "/home/jens/Source/shotwell/src/Page.vala" +#line 818 "/home/jens/Source/shotwell/src/Page.vala" ctrl_currently_pressed = _tmp0_; -#line 817 "/home/jens/Source/shotwell/src/Page.vala" +#line 818 "/home/jens/Source/shotwell/src/Page.vala" alt_currently_pressed = _tmp1_; -#line 817 "/home/jens/Source/shotwell/src/Page.vala" +#line 818 "/home/jens/Source/shotwell/src/Page.vala" shift_currently_pressed = _tmp2_; -#line 817 "/home/jens/Source/shotwell/src/Page.vala" +#line 818 "/home/jens/Source/shotwell/src/Page.vala" super_currently_pressed = _tmp3_; -#line 820 "/home/jens/Source/shotwell/src/Page.vala" +#line 821 "/home/jens/Source/shotwell/src/Page.vala" _tmp4_ = event; -#line 820 "/home/jens/Source/shotwell/src/Page.vala" +#line 821 "/home/jens/Source/shotwell/src/Page.vala" _tmp5_ = _tmp4_->keyval; -#line 820 "/home/jens/Source/shotwell/src/Page.vala" +#line 821 "/home/jens/Source/shotwell/src/Page.vala" _tmp6_ = gdk_keyval_name (_tmp5_); -#line 820 "/home/jens/Source/shotwell/src/Page.vala" +#line 821 "/home/jens/Source/shotwell/src/Page.vala" _tmp7_ = _tmp6_; -#line 820 "/home/jens/Source/shotwell/src/Page.vala" +#line 821 "/home/jens/Source/shotwell/src/Page.vala" _tmp9_ = (NULL == _tmp7_) ? 0 : g_quark_from_string (_tmp7_); -#line 820 "/home/jens/Source/shotwell/src/Page.vala" +#line 821 "/home/jens/Source/shotwell/src/Page.vala" if ((_tmp9_ == ((0 != _tmp8_label0) ? _tmp8_label0 : (_tmp8_label0 = g_quark_from_static_string ("Control_L")))) || (_tmp9_ == ((0 != _tmp8_label1) ? _tmp8_label1 : (_tmp8_label1 = g_quark_from_static_string ("Control_R"))))) { -#line 820 "/home/jens/Source/shotwell/src/Page.vala" +#line 821 "/home/jens/Source/shotwell/src/Page.vala" switch (0) { -#line 6235 "Page.c" +#line 6238 "Page.c" default: { gboolean _tmp10_ = FALSE; gboolean _tmp11_ = FALSE; GdkEventKey* _tmp13_ = NULL; gboolean _tmp14_ = FALSE; -#line 823 "/home/jens/Source/shotwell/src/Page.vala" +#line 824 "/home/jens/Source/shotwell/src/Page.vala" _tmp11_ = ctrl_currently_pressed; -#line 823 "/home/jens/Source/shotwell/src/Page.vala" +#line 824 "/home/jens/Source/shotwell/src/Page.vala" if (!_tmp11_) { -#line 823 "/home/jens/Source/shotwell/src/Page.vala" +#line 824 "/home/jens/Source/shotwell/src/Page.vala" _tmp10_ = TRUE; -#line 6248 "Page.c" +#line 6251 "Page.c" } else { gboolean _tmp12_ = FALSE; -#line 823 "/home/jens/Source/shotwell/src/Page.vala" +#line 824 "/home/jens/Source/shotwell/src/Page.vala" _tmp12_ = self->priv->ctrl_pressed; -#line 823 "/home/jens/Source/shotwell/src/Page.vala" +#line 824 "/home/jens/Source/shotwell/src/Page.vala" _tmp10_ = _tmp12_; -#line 6255 "Page.c" +#line 6258 "Page.c" } -#line 823 "/home/jens/Source/shotwell/src/Page.vala" - if (_tmp10_) { #line 824 "/home/jens/Source/shotwell/src/Page.vala" + if (_tmp10_) { +#line 825 "/home/jens/Source/shotwell/src/Page.vala" result = FALSE; -#line 824 "/home/jens/Source/shotwell/src/Page.vala" +#line 825 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 6263 "Page.c" +#line 6266 "Page.c" } -#line 826 "/home/jens/Source/shotwell/src/Page.vala" +#line 827 "/home/jens/Source/shotwell/src/Page.vala" self->priv->ctrl_pressed = TRUE; -#line 828 "/home/jens/Source/shotwell/src/Page.vala" +#line 829 "/home/jens/Source/shotwell/src/Page.vala" _tmp13_ = event; -#line 828 "/home/jens/Source/shotwell/src/Page.vala" +#line 829 "/home/jens/Source/shotwell/src/Page.vala" _tmp14_ = page_on_ctrl_pressed (self, _tmp13_); -#line 828 "/home/jens/Source/shotwell/src/Page.vala" +#line 829 "/home/jens/Source/shotwell/src/Page.vala" result = _tmp14_; -#line 828 "/home/jens/Source/shotwell/src/Page.vala" +#line 829 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 6275 "Page.c" +#line 6278 "Page.c" } } } else if ((((_tmp9_ == ((0 != _tmp8_label2) ? _tmp8_label2 : (_tmp8_label2 = g_quark_from_static_string ("Meta_L")))) || (_tmp9_ == ((0 != _tmp8_label3) ? _tmp8_label3 : (_tmp8_label3 = g_quark_from_static_string ("Meta_R"))))) || (_tmp9_ == ((0 != _tmp8_label4) ? _tmp8_label4 : (_tmp8_label4 = g_quark_from_static_string ("Alt_L"))))) || (_tmp9_ == ((0 != _tmp8_label5) ? _tmp8_label5 : (_tmp8_label5 = g_quark_from_static_string ("Alt_R"))))) { -#line 820 "/home/jens/Source/shotwell/src/Page.vala" +#line 821 "/home/jens/Source/shotwell/src/Page.vala" switch (0) { -#line 6281 "Page.c" +#line 6284 "Page.c" default: { gboolean _tmp15_ = FALSE; gboolean _tmp16_ = FALSE; GdkEventKey* _tmp18_ = NULL; gboolean _tmp19_ = FALSE; -#line 834 "/home/jens/Source/shotwell/src/Page.vala" +#line 835 "/home/jens/Source/shotwell/src/Page.vala" _tmp16_ = alt_currently_pressed; -#line 834 "/home/jens/Source/shotwell/src/Page.vala" +#line 835 "/home/jens/Source/shotwell/src/Page.vala" if (!_tmp16_) { -#line 834 "/home/jens/Source/shotwell/src/Page.vala" +#line 835 "/home/jens/Source/shotwell/src/Page.vala" _tmp15_ = TRUE; -#line 6294 "Page.c" +#line 6297 "Page.c" } else { gboolean _tmp17_ = FALSE; -#line 834 "/home/jens/Source/shotwell/src/Page.vala" +#line 835 "/home/jens/Source/shotwell/src/Page.vala" _tmp17_ = self->priv->alt_pressed; -#line 834 "/home/jens/Source/shotwell/src/Page.vala" +#line 835 "/home/jens/Source/shotwell/src/Page.vala" _tmp15_ = _tmp17_; -#line 6301 "Page.c" +#line 6304 "Page.c" } -#line 834 "/home/jens/Source/shotwell/src/Page.vala" - if (_tmp15_) { #line 835 "/home/jens/Source/shotwell/src/Page.vala" + if (_tmp15_) { +#line 836 "/home/jens/Source/shotwell/src/Page.vala" result = FALSE; -#line 835 "/home/jens/Source/shotwell/src/Page.vala" +#line 836 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 6309 "Page.c" +#line 6312 "Page.c" } -#line 837 "/home/jens/Source/shotwell/src/Page.vala" +#line 838 "/home/jens/Source/shotwell/src/Page.vala" self->priv->alt_pressed = TRUE; -#line 839 "/home/jens/Source/shotwell/src/Page.vala" +#line 840 "/home/jens/Source/shotwell/src/Page.vala" _tmp18_ = event; -#line 839 "/home/jens/Source/shotwell/src/Page.vala" +#line 840 "/home/jens/Source/shotwell/src/Page.vala" _tmp19_ = page_on_alt_pressed (self, _tmp18_); -#line 839 "/home/jens/Source/shotwell/src/Page.vala" +#line 840 "/home/jens/Source/shotwell/src/Page.vala" result = _tmp19_; -#line 839 "/home/jens/Source/shotwell/src/Page.vala" +#line 840 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 6321 "Page.c" +#line 6324 "Page.c" } } } else if ((_tmp9_ == ((0 != _tmp8_label6) ? _tmp8_label6 : (_tmp8_label6 = g_quark_from_static_string ("Shift_L")))) || (_tmp9_ == ((0 != _tmp8_label7) ? _tmp8_label7 : (_tmp8_label7 = g_quark_from_static_string ("Shift_R"))))) { -#line 820 "/home/jens/Source/shotwell/src/Page.vala" +#line 821 "/home/jens/Source/shotwell/src/Page.vala" switch (0) { -#line 6327 "Page.c" +#line 6330 "Page.c" default: { gboolean _tmp20_ = FALSE; gboolean _tmp21_ = FALSE; GdkEventKey* _tmp23_ = NULL; gboolean _tmp24_ = FALSE; -#line 843 "/home/jens/Source/shotwell/src/Page.vala" +#line 844 "/home/jens/Source/shotwell/src/Page.vala" _tmp21_ = shift_currently_pressed; -#line 843 "/home/jens/Source/shotwell/src/Page.vala" +#line 844 "/home/jens/Source/shotwell/src/Page.vala" if (!_tmp21_) { -#line 843 "/home/jens/Source/shotwell/src/Page.vala" +#line 844 "/home/jens/Source/shotwell/src/Page.vala" _tmp20_ = TRUE; -#line 6340 "Page.c" +#line 6343 "Page.c" } else { gboolean _tmp22_ = FALSE; -#line 843 "/home/jens/Source/shotwell/src/Page.vala" +#line 844 "/home/jens/Source/shotwell/src/Page.vala" _tmp22_ = self->priv->shift_pressed; -#line 843 "/home/jens/Source/shotwell/src/Page.vala" +#line 844 "/home/jens/Source/shotwell/src/Page.vala" _tmp20_ = _tmp22_; -#line 6347 "Page.c" +#line 6350 "Page.c" } -#line 843 "/home/jens/Source/shotwell/src/Page.vala" - if (_tmp20_) { #line 844 "/home/jens/Source/shotwell/src/Page.vala" + if (_tmp20_) { +#line 845 "/home/jens/Source/shotwell/src/Page.vala" result = FALSE; -#line 844 "/home/jens/Source/shotwell/src/Page.vala" +#line 845 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 6355 "Page.c" +#line 6358 "Page.c" } -#line 846 "/home/jens/Source/shotwell/src/Page.vala" +#line 847 "/home/jens/Source/shotwell/src/Page.vala" self->priv->shift_pressed = TRUE; -#line 848 "/home/jens/Source/shotwell/src/Page.vala" +#line 849 "/home/jens/Source/shotwell/src/Page.vala" _tmp23_ = event; -#line 848 "/home/jens/Source/shotwell/src/Page.vala" +#line 849 "/home/jens/Source/shotwell/src/Page.vala" _tmp24_ = page_on_shift_pressed (self, _tmp23_); -#line 848 "/home/jens/Source/shotwell/src/Page.vala" +#line 849 "/home/jens/Source/shotwell/src/Page.vala" result = _tmp24_; -#line 848 "/home/jens/Source/shotwell/src/Page.vala" +#line 849 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 6367 "Page.c" +#line 6370 "Page.c" } } } else if ((_tmp9_ == ((0 != _tmp8_label8) ? _tmp8_label8 : (_tmp8_label8 = g_quark_from_static_string ("Super_L")))) || (_tmp9_ == ((0 != _tmp8_label9) ? _tmp8_label9 : (_tmp8_label9 = g_quark_from_static_string ("Super_R"))))) { -#line 820 "/home/jens/Source/shotwell/src/Page.vala" +#line 821 "/home/jens/Source/shotwell/src/Page.vala" switch (0) { -#line 6373 "Page.c" +#line 6376 "Page.c" default: { gboolean _tmp25_ = FALSE; gboolean _tmp26_ = FALSE; GdkEventKey* _tmp28_ = NULL; gboolean _tmp29_ = FALSE; -#line 852 "/home/jens/Source/shotwell/src/Page.vala" +#line 853 "/home/jens/Source/shotwell/src/Page.vala" _tmp26_ = super_currently_pressed; -#line 852 "/home/jens/Source/shotwell/src/Page.vala" +#line 853 "/home/jens/Source/shotwell/src/Page.vala" if (!_tmp26_) { -#line 852 "/home/jens/Source/shotwell/src/Page.vala" +#line 853 "/home/jens/Source/shotwell/src/Page.vala" _tmp25_ = TRUE; -#line 6386 "Page.c" +#line 6389 "Page.c" } else { gboolean _tmp27_ = FALSE; -#line 852 "/home/jens/Source/shotwell/src/Page.vala" +#line 853 "/home/jens/Source/shotwell/src/Page.vala" _tmp27_ = self->priv->super_pressed; -#line 852 "/home/jens/Source/shotwell/src/Page.vala" +#line 853 "/home/jens/Source/shotwell/src/Page.vala" _tmp25_ = _tmp27_; -#line 6393 "Page.c" +#line 6396 "Page.c" } -#line 852 "/home/jens/Source/shotwell/src/Page.vala" - if (_tmp25_) { #line 853 "/home/jens/Source/shotwell/src/Page.vala" + if (_tmp25_) { +#line 854 "/home/jens/Source/shotwell/src/Page.vala" result = FALSE; -#line 853 "/home/jens/Source/shotwell/src/Page.vala" +#line 854 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 6401 "Page.c" +#line 6404 "Page.c" } -#line 855 "/home/jens/Source/shotwell/src/Page.vala" +#line 856 "/home/jens/Source/shotwell/src/Page.vala" self->priv->super_pressed = TRUE; -#line 857 "/home/jens/Source/shotwell/src/Page.vala" +#line 858 "/home/jens/Source/shotwell/src/Page.vala" _tmp28_ = event; -#line 857 "/home/jens/Source/shotwell/src/Page.vala" +#line 858 "/home/jens/Source/shotwell/src/Page.vala" _tmp29_ = page_on_super_pressed (self, _tmp28_); -#line 857 "/home/jens/Source/shotwell/src/Page.vala" +#line 858 "/home/jens/Source/shotwell/src/Page.vala" result = _tmp29_; -#line 857 "/home/jens/Source/shotwell/src/Page.vala" +#line 858 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 6413 "Page.c" +#line 6416 "Page.c" } } } -#line 860 "/home/jens/Source/shotwell/src/Page.vala" +#line 861 "/home/jens/Source/shotwell/src/Page.vala" _tmp30_ = event; -#line 860 "/home/jens/Source/shotwell/src/Page.vala" +#line 861 "/home/jens/Source/shotwell/src/Page.vala" _tmp31_ = page_on_app_key_pressed (self, _tmp30_); -#line 860 "/home/jens/Source/shotwell/src/Page.vala" +#line 861 "/home/jens/Source/shotwell/src/Page.vala" result = _tmp31_; -#line 860 "/home/jens/Source/shotwell/src/Page.vala" +#line 861 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 6425 "Page.c" +#line 6428 "Page.c" } @@ -6440,406 +6443,406 @@ gboolean page_notify_app_key_released (Page* self, GdkEventKey* event) { const gchar* _tmp6_ = NULL; const gchar* _tmp7_ = NULL; GQuark _tmp9_ = 0U; -#line 869 "/home/jens/Source/shotwell/src/Page.vala" +#line 870 "/home/jens/Source/shotwell/src/Page.vala" static GQuark _tmp8_label0 = 0; -#line 869 "/home/jens/Source/shotwell/src/Page.vala" +#line 870 "/home/jens/Source/shotwell/src/Page.vala" static GQuark _tmp8_label1 = 0; -#line 869 "/home/jens/Source/shotwell/src/Page.vala" +#line 870 "/home/jens/Source/shotwell/src/Page.vala" static GQuark _tmp8_label2 = 0; -#line 869 "/home/jens/Source/shotwell/src/Page.vala" +#line 870 "/home/jens/Source/shotwell/src/Page.vala" static GQuark _tmp8_label3 = 0; -#line 869 "/home/jens/Source/shotwell/src/Page.vala" +#line 870 "/home/jens/Source/shotwell/src/Page.vala" static GQuark _tmp8_label4 = 0; -#line 869 "/home/jens/Source/shotwell/src/Page.vala" +#line 870 "/home/jens/Source/shotwell/src/Page.vala" static GQuark _tmp8_label5 = 0; -#line 869 "/home/jens/Source/shotwell/src/Page.vala" +#line 870 "/home/jens/Source/shotwell/src/Page.vala" static GQuark _tmp8_label6 = 0; -#line 869 "/home/jens/Source/shotwell/src/Page.vala" +#line 870 "/home/jens/Source/shotwell/src/Page.vala" static GQuark _tmp8_label7 = 0; -#line 869 "/home/jens/Source/shotwell/src/Page.vala" +#line 870 "/home/jens/Source/shotwell/src/Page.vala" static GQuark _tmp8_label8 = 0; -#line 869 "/home/jens/Source/shotwell/src/Page.vala" +#line 870 "/home/jens/Source/shotwell/src/Page.vala" static GQuark _tmp8_label9 = 0; -#line 6464 "Page.c" +#line 6467 "Page.c" GdkEventKey* _tmp30_ = NULL; gboolean _tmp31_ = FALSE; -#line 863 "/home/jens/Source/shotwell/src/Page.vala" +#line 864 "/home/jens/Source/shotwell/src/Page.vala" g_return_val_if_fail (IS_PAGE (self), FALSE); -#line 863 "/home/jens/Source/shotwell/src/Page.vala" +#line 864 "/home/jens/Source/shotwell/src/Page.vala" g_return_val_if_fail (event != NULL, FALSE); -#line 866 "/home/jens/Source/shotwell/src/Page.vala" +#line 867 "/home/jens/Source/shotwell/src/Page.vala" page_get_modifiers (self, &_tmp0_, &_tmp1_, &_tmp2_, &_tmp3_); -#line 866 "/home/jens/Source/shotwell/src/Page.vala" +#line 867 "/home/jens/Source/shotwell/src/Page.vala" ctrl_currently_pressed = _tmp0_; -#line 866 "/home/jens/Source/shotwell/src/Page.vala" +#line 867 "/home/jens/Source/shotwell/src/Page.vala" alt_currently_pressed = _tmp1_; -#line 866 "/home/jens/Source/shotwell/src/Page.vala" +#line 867 "/home/jens/Source/shotwell/src/Page.vala" shift_currently_pressed = _tmp2_; -#line 866 "/home/jens/Source/shotwell/src/Page.vala" +#line 867 "/home/jens/Source/shotwell/src/Page.vala" super_currently_pressed = _tmp3_; -#line 869 "/home/jens/Source/shotwell/src/Page.vala" +#line 870 "/home/jens/Source/shotwell/src/Page.vala" _tmp4_ = event; -#line 869 "/home/jens/Source/shotwell/src/Page.vala" +#line 870 "/home/jens/Source/shotwell/src/Page.vala" _tmp5_ = _tmp4_->keyval; -#line 869 "/home/jens/Source/shotwell/src/Page.vala" +#line 870 "/home/jens/Source/shotwell/src/Page.vala" _tmp6_ = gdk_keyval_name (_tmp5_); -#line 869 "/home/jens/Source/shotwell/src/Page.vala" +#line 870 "/home/jens/Source/shotwell/src/Page.vala" _tmp7_ = _tmp6_; -#line 869 "/home/jens/Source/shotwell/src/Page.vala" +#line 870 "/home/jens/Source/shotwell/src/Page.vala" _tmp9_ = (NULL == _tmp7_) ? 0 : g_quark_from_string (_tmp7_); -#line 869 "/home/jens/Source/shotwell/src/Page.vala" +#line 870 "/home/jens/Source/shotwell/src/Page.vala" if ((_tmp9_ == ((0 != _tmp8_label0) ? _tmp8_label0 : (_tmp8_label0 = g_quark_from_static_string ("Control_L")))) || (_tmp9_ == ((0 != _tmp8_label1) ? _tmp8_label1 : (_tmp8_label1 = g_quark_from_static_string ("Control_R"))))) { -#line 869 "/home/jens/Source/shotwell/src/Page.vala" +#line 870 "/home/jens/Source/shotwell/src/Page.vala" switch (0) { -#line 6495 "Page.c" +#line 6498 "Page.c" default: { gboolean _tmp10_ = FALSE; gboolean _tmp11_ = FALSE; GdkEventKey* _tmp13_ = NULL; gboolean _tmp14_ = FALSE; -#line 872 "/home/jens/Source/shotwell/src/Page.vala" +#line 873 "/home/jens/Source/shotwell/src/Page.vala" _tmp11_ = ctrl_currently_pressed; -#line 872 "/home/jens/Source/shotwell/src/Page.vala" +#line 873 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp11_) { -#line 872 "/home/jens/Source/shotwell/src/Page.vala" +#line 873 "/home/jens/Source/shotwell/src/Page.vala" _tmp10_ = TRUE; -#line 6508 "Page.c" +#line 6511 "Page.c" } else { gboolean _tmp12_ = FALSE; -#line 872 "/home/jens/Source/shotwell/src/Page.vala" +#line 873 "/home/jens/Source/shotwell/src/Page.vala" _tmp12_ = self->priv->ctrl_pressed; -#line 872 "/home/jens/Source/shotwell/src/Page.vala" +#line 873 "/home/jens/Source/shotwell/src/Page.vala" _tmp10_ = !_tmp12_; -#line 6515 "Page.c" +#line 6518 "Page.c" } -#line 872 "/home/jens/Source/shotwell/src/Page.vala" - if (_tmp10_) { #line 873 "/home/jens/Source/shotwell/src/Page.vala" + if (_tmp10_) { +#line 874 "/home/jens/Source/shotwell/src/Page.vala" result = FALSE; -#line 873 "/home/jens/Source/shotwell/src/Page.vala" +#line 874 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 6523 "Page.c" +#line 6526 "Page.c" } -#line 875 "/home/jens/Source/shotwell/src/Page.vala" +#line 876 "/home/jens/Source/shotwell/src/Page.vala" self->priv->ctrl_pressed = FALSE; -#line 877 "/home/jens/Source/shotwell/src/Page.vala" +#line 878 "/home/jens/Source/shotwell/src/Page.vala" _tmp13_ = event; -#line 877 "/home/jens/Source/shotwell/src/Page.vala" +#line 878 "/home/jens/Source/shotwell/src/Page.vala" _tmp14_ = page_on_ctrl_released (self, _tmp13_); -#line 877 "/home/jens/Source/shotwell/src/Page.vala" +#line 878 "/home/jens/Source/shotwell/src/Page.vala" result = _tmp14_; -#line 877 "/home/jens/Source/shotwell/src/Page.vala" +#line 878 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 6535 "Page.c" +#line 6538 "Page.c" } } } else if ((((_tmp9_ == ((0 != _tmp8_label2) ? _tmp8_label2 : (_tmp8_label2 = g_quark_from_static_string ("Meta_L")))) || (_tmp9_ == ((0 != _tmp8_label3) ? _tmp8_label3 : (_tmp8_label3 = g_quark_from_static_string ("Meta_R"))))) || (_tmp9_ == ((0 != _tmp8_label4) ? _tmp8_label4 : (_tmp8_label4 = g_quark_from_static_string ("Alt_L"))))) || (_tmp9_ == ((0 != _tmp8_label5) ? _tmp8_label5 : (_tmp8_label5 = g_quark_from_static_string ("Alt_R"))))) { -#line 869 "/home/jens/Source/shotwell/src/Page.vala" +#line 870 "/home/jens/Source/shotwell/src/Page.vala" switch (0) { -#line 6541 "Page.c" +#line 6544 "Page.c" default: { gboolean _tmp15_ = FALSE; gboolean _tmp16_ = FALSE; GdkEventKey* _tmp18_ = NULL; gboolean _tmp19_ = FALSE; -#line 883 "/home/jens/Source/shotwell/src/Page.vala" +#line 884 "/home/jens/Source/shotwell/src/Page.vala" _tmp16_ = alt_currently_pressed; -#line 883 "/home/jens/Source/shotwell/src/Page.vala" +#line 884 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp16_) { -#line 883 "/home/jens/Source/shotwell/src/Page.vala" +#line 884 "/home/jens/Source/shotwell/src/Page.vala" _tmp15_ = TRUE; -#line 6554 "Page.c" +#line 6557 "Page.c" } else { gboolean _tmp17_ = FALSE; -#line 883 "/home/jens/Source/shotwell/src/Page.vala" +#line 884 "/home/jens/Source/shotwell/src/Page.vala" _tmp17_ = self->priv->alt_pressed; -#line 883 "/home/jens/Source/shotwell/src/Page.vala" +#line 884 "/home/jens/Source/shotwell/src/Page.vala" _tmp15_ = !_tmp17_; -#line 6561 "Page.c" +#line 6564 "Page.c" } -#line 883 "/home/jens/Source/shotwell/src/Page.vala" - if (_tmp15_) { #line 884 "/home/jens/Source/shotwell/src/Page.vala" + if (_tmp15_) { +#line 885 "/home/jens/Source/shotwell/src/Page.vala" result = FALSE; -#line 884 "/home/jens/Source/shotwell/src/Page.vala" +#line 885 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 6569 "Page.c" +#line 6572 "Page.c" } -#line 886 "/home/jens/Source/shotwell/src/Page.vala" +#line 887 "/home/jens/Source/shotwell/src/Page.vala" self->priv->alt_pressed = FALSE; -#line 888 "/home/jens/Source/shotwell/src/Page.vala" +#line 889 "/home/jens/Source/shotwell/src/Page.vala" _tmp18_ = event; -#line 888 "/home/jens/Source/shotwell/src/Page.vala" +#line 889 "/home/jens/Source/shotwell/src/Page.vala" _tmp19_ = page_on_alt_released (self, _tmp18_); -#line 888 "/home/jens/Source/shotwell/src/Page.vala" +#line 889 "/home/jens/Source/shotwell/src/Page.vala" result = _tmp19_; -#line 888 "/home/jens/Source/shotwell/src/Page.vala" +#line 889 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 6581 "Page.c" +#line 6584 "Page.c" } } } else if ((_tmp9_ == ((0 != _tmp8_label6) ? _tmp8_label6 : (_tmp8_label6 = g_quark_from_static_string ("Shift_L")))) || (_tmp9_ == ((0 != _tmp8_label7) ? _tmp8_label7 : (_tmp8_label7 = g_quark_from_static_string ("Shift_R"))))) { -#line 869 "/home/jens/Source/shotwell/src/Page.vala" +#line 870 "/home/jens/Source/shotwell/src/Page.vala" switch (0) { -#line 6587 "Page.c" +#line 6590 "Page.c" default: { gboolean _tmp20_ = FALSE; gboolean _tmp21_ = FALSE; GdkEventKey* _tmp23_ = NULL; gboolean _tmp24_ = FALSE; -#line 892 "/home/jens/Source/shotwell/src/Page.vala" +#line 893 "/home/jens/Source/shotwell/src/Page.vala" _tmp21_ = shift_currently_pressed; -#line 892 "/home/jens/Source/shotwell/src/Page.vala" +#line 893 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp21_) { -#line 892 "/home/jens/Source/shotwell/src/Page.vala" +#line 893 "/home/jens/Source/shotwell/src/Page.vala" _tmp20_ = TRUE; -#line 6600 "Page.c" +#line 6603 "Page.c" } else { gboolean _tmp22_ = FALSE; -#line 892 "/home/jens/Source/shotwell/src/Page.vala" +#line 893 "/home/jens/Source/shotwell/src/Page.vala" _tmp22_ = self->priv->shift_pressed; -#line 892 "/home/jens/Source/shotwell/src/Page.vala" +#line 893 "/home/jens/Source/shotwell/src/Page.vala" _tmp20_ = !_tmp22_; -#line 6607 "Page.c" +#line 6610 "Page.c" } -#line 892 "/home/jens/Source/shotwell/src/Page.vala" - if (_tmp20_) { #line 893 "/home/jens/Source/shotwell/src/Page.vala" + if (_tmp20_) { +#line 894 "/home/jens/Source/shotwell/src/Page.vala" result = FALSE; -#line 893 "/home/jens/Source/shotwell/src/Page.vala" +#line 894 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 6615 "Page.c" +#line 6618 "Page.c" } -#line 895 "/home/jens/Source/shotwell/src/Page.vala" +#line 896 "/home/jens/Source/shotwell/src/Page.vala" self->priv->shift_pressed = FALSE; -#line 897 "/home/jens/Source/shotwell/src/Page.vala" +#line 898 "/home/jens/Source/shotwell/src/Page.vala" _tmp23_ = event; -#line 897 "/home/jens/Source/shotwell/src/Page.vala" +#line 898 "/home/jens/Source/shotwell/src/Page.vala" _tmp24_ = page_on_shift_released (self, _tmp23_); -#line 897 "/home/jens/Source/shotwell/src/Page.vala" +#line 898 "/home/jens/Source/shotwell/src/Page.vala" result = _tmp24_; -#line 897 "/home/jens/Source/shotwell/src/Page.vala" +#line 898 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 6627 "Page.c" +#line 6630 "Page.c" } } } else if ((_tmp9_ == ((0 != _tmp8_label8) ? _tmp8_label8 : (_tmp8_label8 = g_quark_from_static_string ("Super_L")))) || (_tmp9_ == ((0 != _tmp8_label9) ? _tmp8_label9 : (_tmp8_label9 = g_quark_from_static_string ("Super_R"))))) { -#line 869 "/home/jens/Source/shotwell/src/Page.vala" +#line 870 "/home/jens/Source/shotwell/src/Page.vala" switch (0) { -#line 6633 "Page.c" +#line 6636 "Page.c" default: { gboolean _tmp25_ = FALSE; gboolean _tmp26_ = FALSE; GdkEventKey* _tmp28_ = NULL; gboolean _tmp29_ = FALSE; -#line 901 "/home/jens/Source/shotwell/src/Page.vala" +#line 902 "/home/jens/Source/shotwell/src/Page.vala" _tmp26_ = super_currently_pressed; -#line 901 "/home/jens/Source/shotwell/src/Page.vala" +#line 902 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp26_) { -#line 901 "/home/jens/Source/shotwell/src/Page.vala" +#line 902 "/home/jens/Source/shotwell/src/Page.vala" _tmp25_ = TRUE; -#line 6646 "Page.c" +#line 6649 "Page.c" } else { gboolean _tmp27_ = FALSE; -#line 901 "/home/jens/Source/shotwell/src/Page.vala" +#line 902 "/home/jens/Source/shotwell/src/Page.vala" _tmp27_ = self->priv->super_pressed; -#line 901 "/home/jens/Source/shotwell/src/Page.vala" +#line 902 "/home/jens/Source/shotwell/src/Page.vala" _tmp25_ = !_tmp27_; -#line 6653 "Page.c" +#line 6656 "Page.c" } -#line 901 "/home/jens/Source/shotwell/src/Page.vala" - if (_tmp25_) { #line 902 "/home/jens/Source/shotwell/src/Page.vala" + if (_tmp25_) { +#line 903 "/home/jens/Source/shotwell/src/Page.vala" result = FALSE; -#line 902 "/home/jens/Source/shotwell/src/Page.vala" +#line 903 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 6661 "Page.c" +#line 6664 "Page.c" } -#line 904 "/home/jens/Source/shotwell/src/Page.vala" +#line 905 "/home/jens/Source/shotwell/src/Page.vala" self->priv->super_pressed = FALSE; -#line 906 "/home/jens/Source/shotwell/src/Page.vala" +#line 907 "/home/jens/Source/shotwell/src/Page.vala" _tmp28_ = event; -#line 906 "/home/jens/Source/shotwell/src/Page.vala" +#line 907 "/home/jens/Source/shotwell/src/Page.vala" _tmp29_ = page_on_super_released (self, _tmp28_); -#line 906 "/home/jens/Source/shotwell/src/Page.vala" +#line 907 "/home/jens/Source/shotwell/src/Page.vala" result = _tmp29_; -#line 906 "/home/jens/Source/shotwell/src/Page.vala" +#line 907 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 6673 "Page.c" +#line 6676 "Page.c" } } } -#line 909 "/home/jens/Source/shotwell/src/Page.vala" +#line 910 "/home/jens/Source/shotwell/src/Page.vala" _tmp30_ = event; -#line 909 "/home/jens/Source/shotwell/src/Page.vala" +#line 910 "/home/jens/Source/shotwell/src/Page.vala" _tmp31_ = page_on_app_key_released (self, _tmp30_); -#line 909 "/home/jens/Source/shotwell/src/Page.vala" +#line 910 "/home/jens/Source/shotwell/src/Page.vala" result = _tmp31_; -#line 909 "/home/jens/Source/shotwell/src/Page.vala" +#line 910 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 6685 "Page.c" +#line 6688 "Page.c" } gboolean page_notify_app_focus_in (Page* self, GdkEventFocus* event) { gboolean result = FALSE; -#line 912 "/home/jens/Source/shotwell/src/Page.vala" +#line 913 "/home/jens/Source/shotwell/src/Page.vala" g_return_val_if_fail (IS_PAGE (self), FALSE); -#line 912 "/home/jens/Source/shotwell/src/Page.vala" - g_return_val_if_fail (event != NULL, FALSE); #line 913 "/home/jens/Source/shotwell/src/Page.vala" + g_return_val_if_fail (event != NULL, FALSE); +#line 914 "/home/jens/Source/shotwell/src/Page.vala" page_update_modifiers (self); -#line 915 "/home/jens/Source/shotwell/src/Page.vala" +#line 916 "/home/jens/Source/shotwell/src/Page.vala" result = FALSE; -#line 915 "/home/jens/Source/shotwell/src/Page.vala" +#line 916 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 6701 "Page.c" +#line 6704 "Page.c" } gboolean page_notify_app_focus_out (Page* self, GdkEventFocus* event) { gboolean result = FALSE; -#line 918 "/home/jens/Source/shotwell/src/Page.vala" +#line 919 "/home/jens/Source/shotwell/src/Page.vala" g_return_val_if_fail (IS_PAGE (self), FALSE); -#line 918 "/home/jens/Source/shotwell/src/Page.vala" - g_return_val_if_fail (event != NULL, FALSE); #line 919 "/home/jens/Source/shotwell/src/Page.vala" + g_return_val_if_fail (event != NULL, FALSE); +#line 920 "/home/jens/Source/shotwell/src/Page.vala" result = FALSE; -#line 919 "/home/jens/Source/shotwell/src/Page.vala" +#line 920 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 6715 "Page.c" +#line 6718 "Page.c" } static void page_real_on_move (Page* self, GdkRectangle* rect) { -#line 922 "/home/jens/Source/shotwell/src/Page.vala" +#line 923 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (rect != NULL); -#line 6722 "Page.c" +#line 6725 "Page.c" } void page_on_move (Page* self, GdkRectangle* rect) { -#line 922 "/home/jens/Source/shotwell/src/Page.vala" +#line 923 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (IS_PAGE (self)); -#line 922 "/home/jens/Source/shotwell/src/Page.vala" +#line 923 "/home/jens/Source/shotwell/src/Page.vala" PAGE_GET_CLASS (self)->on_move (self, rect); -#line 6731 "Page.c" +#line 6734 "Page.c" } static void page_real_on_move_start (Page* self, GdkRectangle* rect) { -#line 925 "/home/jens/Source/shotwell/src/Page.vala" +#line 926 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (rect != NULL); -#line 6738 "Page.c" +#line 6741 "Page.c" } void page_on_move_start (Page* self, GdkRectangle* rect) { -#line 925 "/home/jens/Source/shotwell/src/Page.vala" +#line 926 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (IS_PAGE (self)); -#line 925 "/home/jens/Source/shotwell/src/Page.vala" +#line 926 "/home/jens/Source/shotwell/src/Page.vala" PAGE_GET_CLASS (self)->on_move_start (self, rect); -#line 6747 "Page.c" +#line 6750 "Page.c" } static void page_real_on_move_finished (Page* self, GdkRectangle* rect) { -#line 928 "/home/jens/Source/shotwell/src/Page.vala" +#line 929 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (rect != NULL); -#line 6754 "Page.c" +#line 6757 "Page.c" } void page_on_move_finished (Page* self, GdkRectangle* rect) { -#line 928 "/home/jens/Source/shotwell/src/Page.vala" +#line 929 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (IS_PAGE (self)); -#line 928 "/home/jens/Source/shotwell/src/Page.vala" +#line 929 "/home/jens/Source/shotwell/src/Page.vala" PAGE_GET_CLASS (self)->on_move_finished (self, rect); -#line 6763 "Page.c" +#line 6766 "Page.c" } static void page_real_on_resize (Page* self, GdkRectangle* rect) { -#line 931 "/home/jens/Source/shotwell/src/Page.vala" +#line 932 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (rect != NULL); -#line 6770 "Page.c" +#line 6773 "Page.c" } void page_on_resize (Page* self, GdkRectangle* rect) { -#line 931 "/home/jens/Source/shotwell/src/Page.vala" +#line 932 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (IS_PAGE (self)); -#line 931 "/home/jens/Source/shotwell/src/Page.vala" +#line 932 "/home/jens/Source/shotwell/src/Page.vala" PAGE_GET_CLASS (self)->on_resize (self, rect); -#line 6779 "Page.c" +#line 6782 "Page.c" } static void page_real_on_resize_start (Page* self, GdkRectangle* rect) { -#line 934 "/home/jens/Source/shotwell/src/Page.vala" +#line 935 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (rect != NULL); -#line 6786 "Page.c" +#line 6789 "Page.c" } void page_on_resize_start (Page* self, GdkRectangle* rect) { -#line 934 "/home/jens/Source/shotwell/src/Page.vala" +#line 935 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (IS_PAGE (self)); -#line 934 "/home/jens/Source/shotwell/src/Page.vala" +#line 935 "/home/jens/Source/shotwell/src/Page.vala" PAGE_GET_CLASS (self)->on_resize_start (self, rect); -#line 6795 "Page.c" +#line 6798 "Page.c" } static void page_real_on_resize_finished (Page* self, GdkRectangle* rect) { -#line 937 "/home/jens/Source/shotwell/src/Page.vala" +#line 938 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (rect != NULL); -#line 6802 "Page.c" +#line 6805 "Page.c" } void page_on_resize_finished (Page* self, GdkRectangle* rect) { -#line 937 "/home/jens/Source/shotwell/src/Page.vala" +#line 938 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (IS_PAGE (self)); -#line 937 "/home/jens/Source/shotwell/src/Page.vala" +#line 938 "/home/jens/Source/shotwell/src/Page.vala" PAGE_GET_CLASS (self)->on_resize_finished (self, rect); -#line 6811 "Page.c" +#line 6814 "Page.c" } static gboolean page_real_on_configure (Page* self, GdkEventConfigure* event, GdkRectangle* rect) { gboolean result = FALSE; -#line 940 "/home/jens/Source/shotwell/src/Page.vala" +#line 941 "/home/jens/Source/shotwell/src/Page.vala" g_return_val_if_fail (event != NULL, FALSE); -#line 940 "/home/jens/Source/shotwell/src/Page.vala" - g_return_val_if_fail (rect != NULL, FALSE); #line 941 "/home/jens/Source/shotwell/src/Page.vala" + g_return_val_if_fail (rect != NULL, FALSE); +#line 942 "/home/jens/Source/shotwell/src/Page.vala" result = FALSE; -#line 941 "/home/jens/Source/shotwell/src/Page.vala" +#line 942 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 6825 "Page.c" +#line 6828 "Page.c" } gboolean page_on_configure (Page* self, GdkEventConfigure* event, GdkRectangle* rect) { -#line 940 "/home/jens/Source/shotwell/src/Page.vala" +#line 941 "/home/jens/Source/shotwell/src/Page.vala" g_return_val_if_fail (IS_PAGE (self), FALSE); -#line 940 "/home/jens/Source/shotwell/src/Page.vala" +#line 941 "/home/jens/Source/shotwell/src/Page.vala" return PAGE_GET_CLASS (self)->on_configure (self, event, rect); -#line 6834 "Page.c" +#line 6837 "Page.c" } static gboolean _page_check_configure_halted_gsource_func (gpointer self) { gboolean result; result = page_check_configure_halted ((Page*) self); -#line 965 "/home/jens/Source/shotwell/src/Page.vala" +#line 966 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 6843 "Page.c" +#line 6846 "Page.c" } @@ -6870,41 +6873,41 @@ gboolean page_notify_configure_event (Page* self, GdkEventConfigure* event) { GdkEventConfigure* _tmp51_ = NULL; GdkRectangle _tmp52_ = {0}; gboolean _tmp53_ = FALSE; -#line 944 "/home/jens/Source/shotwell/src/Page.vala" +#line 945 "/home/jens/Source/shotwell/src/Page.vala" g_return_val_if_fail (IS_PAGE (self), FALSE); -#line 944 "/home/jens/Source/shotwell/src/Page.vala" - g_return_val_if_fail (event != NULL, FALSE); #line 945 "/home/jens/Source/shotwell/src/Page.vala" - memset (&rect, 0, sizeof (GdkRectangle)); + g_return_val_if_fail (event != NULL, FALSE); #line 946 "/home/jens/Source/shotwell/src/Page.vala" + memset (&rect, 0, sizeof (GdkRectangle)); +#line 947 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = event; -#line 946 "/home/jens/Source/shotwell/src/Page.vala" +#line 947 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = _tmp0_->x; -#line 946 "/home/jens/Source/shotwell/src/Page.vala" - rect.x = _tmp1_; #line 947 "/home/jens/Source/shotwell/src/Page.vala" + rect.x = _tmp1_; +#line 948 "/home/jens/Source/shotwell/src/Page.vala" _tmp2_ = event; -#line 947 "/home/jens/Source/shotwell/src/Page.vala" +#line 948 "/home/jens/Source/shotwell/src/Page.vala" _tmp3_ = _tmp2_->y; -#line 947 "/home/jens/Source/shotwell/src/Page.vala" - rect.y = _tmp3_; #line 948 "/home/jens/Source/shotwell/src/Page.vala" + rect.y = _tmp3_; +#line 949 "/home/jens/Source/shotwell/src/Page.vala" _tmp4_ = event; -#line 948 "/home/jens/Source/shotwell/src/Page.vala" +#line 949 "/home/jens/Source/shotwell/src/Page.vala" _tmp5_ = _tmp4_->width; -#line 948 "/home/jens/Source/shotwell/src/Page.vala" - rect.width = _tmp5_; #line 949 "/home/jens/Source/shotwell/src/Page.vala" + rect.width = _tmp5_; +#line 950 "/home/jens/Source/shotwell/src/Page.vala" _tmp6_ = event; -#line 949 "/home/jens/Source/shotwell/src/Page.vala" +#line 950 "/home/jens/Source/shotwell/src/Page.vala" _tmp7_ = _tmp6_->height; -#line 949 "/home/jens/Source/shotwell/src/Page.vala" +#line 950 "/home/jens/Source/shotwell/src/Page.vala" rect.height = _tmp7_; -#line 952 "/home/jens/Source/shotwell/src/Page.vala" +#line 953 "/home/jens/Source/shotwell/src/Page.vala" _tmp8_ = self->priv->last_configure_ms; -#line 952 "/home/jens/Source/shotwell/src/Page.vala" +#line 953 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp8_ == ((gulong) 0)) { -#line 6908 "Page.c" +#line 6911 "Page.c" gboolean _tmp9_ = FALSE; GdkRectangle _tmp10_ = {0}; gint _tmp11_ = 0; @@ -6915,193 +6918,193 @@ gboolean page_notify_configure_event (Page* self, GdkEventConfigure* event) { gint _tmp21_ = 0; GdkRectangle _tmp22_ = {0}; gint _tmp23_ = 0; -#line 953 "/home/jens/Source/shotwell/src/Page.vala" +#line 954 "/home/jens/Source/shotwell/src/Page.vala" _tmp10_ = self->priv->last_position; -#line 953 "/home/jens/Source/shotwell/src/Page.vala" +#line 954 "/home/jens/Source/shotwell/src/Page.vala" _tmp11_ = _tmp10_.x; -#line 953 "/home/jens/Source/shotwell/src/Page.vala" +#line 954 "/home/jens/Source/shotwell/src/Page.vala" _tmp12_ = rect; -#line 953 "/home/jens/Source/shotwell/src/Page.vala" +#line 954 "/home/jens/Source/shotwell/src/Page.vala" _tmp13_ = _tmp12_.x; -#line 953 "/home/jens/Source/shotwell/src/Page.vala" +#line 954 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp11_ != _tmp13_) { -#line 953 "/home/jens/Source/shotwell/src/Page.vala" +#line 954 "/home/jens/Source/shotwell/src/Page.vala" _tmp9_ = TRUE; -#line 6931 "Page.c" +#line 6934 "Page.c" } else { GdkRectangle _tmp14_ = {0}; gint _tmp15_ = 0; GdkRectangle _tmp16_ = {0}; gint _tmp17_ = 0; -#line 953 "/home/jens/Source/shotwell/src/Page.vala" +#line 954 "/home/jens/Source/shotwell/src/Page.vala" _tmp14_ = self->priv->last_position; -#line 953 "/home/jens/Source/shotwell/src/Page.vala" +#line 954 "/home/jens/Source/shotwell/src/Page.vala" _tmp15_ = _tmp14_.y; -#line 953 "/home/jens/Source/shotwell/src/Page.vala" +#line 954 "/home/jens/Source/shotwell/src/Page.vala" _tmp16_ = rect; -#line 953 "/home/jens/Source/shotwell/src/Page.vala" +#line 954 "/home/jens/Source/shotwell/src/Page.vala" _tmp17_ = _tmp16_.y; -#line 953 "/home/jens/Source/shotwell/src/Page.vala" +#line 954 "/home/jens/Source/shotwell/src/Page.vala" _tmp9_ = _tmp15_ != _tmp17_; -#line 6947 "Page.c" +#line 6950 "Page.c" } -#line 953 "/home/jens/Source/shotwell/src/Page.vala" +#line 954 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp9_) { -#line 6951 "Page.c" +#line 6954 "Page.c" GdkRectangle _tmp18_ = {0}; -#line 954 "/home/jens/Source/shotwell/src/Page.vala" +#line 955 "/home/jens/Source/shotwell/src/Page.vala" _tmp18_ = rect; -#line 954 "/home/jens/Source/shotwell/src/Page.vala" - page_on_move_start (self, &_tmp18_); #line 955 "/home/jens/Source/shotwell/src/Page.vala" + page_on_move_start (self, &_tmp18_); +#line 956 "/home/jens/Source/shotwell/src/Page.vala" self->priv->report_move_finished = TRUE; -#line 6959 "Page.c" +#line 6962 "Page.c" } -#line 958 "/home/jens/Source/shotwell/src/Page.vala" +#line 959 "/home/jens/Source/shotwell/src/Page.vala" _tmp20_ = self->priv->last_position; -#line 958 "/home/jens/Source/shotwell/src/Page.vala" +#line 959 "/home/jens/Source/shotwell/src/Page.vala" _tmp21_ = _tmp20_.width; -#line 958 "/home/jens/Source/shotwell/src/Page.vala" +#line 959 "/home/jens/Source/shotwell/src/Page.vala" _tmp22_ = rect; -#line 958 "/home/jens/Source/shotwell/src/Page.vala" +#line 959 "/home/jens/Source/shotwell/src/Page.vala" _tmp23_ = _tmp22_.width; -#line 958 "/home/jens/Source/shotwell/src/Page.vala" +#line 959 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp21_ != _tmp23_) { -#line 958 "/home/jens/Source/shotwell/src/Page.vala" +#line 959 "/home/jens/Source/shotwell/src/Page.vala" _tmp19_ = TRUE; -#line 6973 "Page.c" +#line 6976 "Page.c" } else { GdkRectangle _tmp24_ = {0}; gint _tmp25_ = 0; GdkRectangle _tmp26_ = {0}; gint _tmp27_ = 0; -#line 958 "/home/jens/Source/shotwell/src/Page.vala" +#line 959 "/home/jens/Source/shotwell/src/Page.vala" _tmp24_ = self->priv->last_position; -#line 958 "/home/jens/Source/shotwell/src/Page.vala" +#line 959 "/home/jens/Source/shotwell/src/Page.vala" _tmp25_ = _tmp24_.height; -#line 958 "/home/jens/Source/shotwell/src/Page.vala" +#line 959 "/home/jens/Source/shotwell/src/Page.vala" _tmp26_ = rect; -#line 958 "/home/jens/Source/shotwell/src/Page.vala" +#line 959 "/home/jens/Source/shotwell/src/Page.vala" _tmp27_ = _tmp26_.height; -#line 958 "/home/jens/Source/shotwell/src/Page.vala" +#line 959 "/home/jens/Source/shotwell/src/Page.vala" _tmp19_ = _tmp25_ != _tmp27_; -#line 6989 "Page.c" +#line 6992 "Page.c" } -#line 958 "/home/jens/Source/shotwell/src/Page.vala" +#line 959 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp19_) { -#line 6993 "Page.c" +#line 6996 "Page.c" GdkRectangle _tmp28_ = {0}; -#line 959 "/home/jens/Source/shotwell/src/Page.vala" +#line 960 "/home/jens/Source/shotwell/src/Page.vala" _tmp28_ = rect; -#line 959 "/home/jens/Source/shotwell/src/Page.vala" - page_on_resize_start (self, &_tmp28_); #line 960 "/home/jens/Source/shotwell/src/Page.vala" + page_on_resize_start (self, &_tmp28_); +#line 961 "/home/jens/Source/shotwell/src/Page.vala" self->priv->report_resize_finished = TRUE; -#line 7001 "Page.c" +#line 7004 "Page.c" } -#line 965 "/home/jens/Source/shotwell/src/Page.vala" +#line 966 "/home/jens/Source/shotwell/src/Page.vala" g_timeout_add_full (G_PRIORITY_DEFAULT, (guint) (PAGE_CONSIDER_CONFIGURE_HALTED_MSEC / 8), _page_check_configure_halted_gsource_func, g_object_ref (self), g_object_unref); -#line 7005 "Page.c" +#line 7008 "Page.c" } -#line 968 "/home/jens/Source/shotwell/src/Page.vala" +#line 969 "/home/jens/Source/shotwell/src/Page.vala" _tmp30_ = self->priv->last_position; -#line 968 "/home/jens/Source/shotwell/src/Page.vala" +#line 969 "/home/jens/Source/shotwell/src/Page.vala" _tmp31_ = _tmp30_.x; -#line 968 "/home/jens/Source/shotwell/src/Page.vala" +#line 969 "/home/jens/Source/shotwell/src/Page.vala" _tmp32_ = rect; -#line 968 "/home/jens/Source/shotwell/src/Page.vala" +#line 969 "/home/jens/Source/shotwell/src/Page.vala" _tmp33_ = _tmp32_.x; -#line 968 "/home/jens/Source/shotwell/src/Page.vala" +#line 969 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp31_ != _tmp33_) { -#line 968 "/home/jens/Source/shotwell/src/Page.vala" +#line 969 "/home/jens/Source/shotwell/src/Page.vala" _tmp29_ = TRUE; -#line 7019 "Page.c" +#line 7022 "Page.c" } else { GdkRectangle _tmp34_ = {0}; gint _tmp35_ = 0; GdkRectangle _tmp36_ = {0}; gint _tmp37_ = 0; -#line 968 "/home/jens/Source/shotwell/src/Page.vala" +#line 969 "/home/jens/Source/shotwell/src/Page.vala" _tmp34_ = self->priv->last_position; -#line 968 "/home/jens/Source/shotwell/src/Page.vala" +#line 969 "/home/jens/Source/shotwell/src/Page.vala" _tmp35_ = _tmp34_.y; -#line 968 "/home/jens/Source/shotwell/src/Page.vala" +#line 969 "/home/jens/Source/shotwell/src/Page.vala" _tmp36_ = rect; -#line 968 "/home/jens/Source/shotwell/src/Page.vala" +#line 969 "/home/jens/Source/shotwell/src/Page.vala" _tmp37_ = _tmp36_.y; -#line 968 "/home/jens/Source/shotwell/src/Page.vala" +#line 969 "/home/jens/Source/shotwell/src/Page.vala" _tmp29_ = _tmp35_ != _tmp37_; -#line 7035 "Page.c" +#line 7038 "Page.c" } -#line 968 "/home/jens/Source/shotwell/src/Page.vala" +#line 969 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp29_) { -#line 7039 "Page.c" +#line 7042 "Page.c" GdkRectangle _tmp38_ = {0}; -#line 969 "/home/jens/Source/shotwell/src/Page.vala" +#line 970 "/home/jens/Source/shotwell/src/Page.vala" _tmp38_ = rect; -#line 969 "/home/jens/Source/shotwell/src/Page.vala" +#line 970 "/home/jens/Source/shotwell/src/Page.vala" page_on_move (self, &_tmp38_); -#line 7045 "Page.c" +#line 7048 "Page.c" } -#line 971 "/home/jens/Source/shotwell/src/Page.vala" +#line 972 "/home/jens/Source/shotwell/src/Page.vala" _tmp40_ = self->priv->last_position; -#line 971 "/home/jens/Source/shotwell/src/Page.vala" +#line 972 "/home/jens/Source/shotwell/src/Page.vala" _tmp41_ = _tmp40_.width; -#line 971 "/home/jens/Source/shotwell/src/Page.vala" +#line 972 "/home/jens/Source/shotwell/src/Page.vala" _tmp42_ = rect; -#line 971 "/home/jens/Source/shotwell/src/Page.vala" +#line 972 "/home/jens/Source/shotwell/src/Page.vala" _tmp43_ = _tmp42_.width; -#line 971 "/home/jens/Source/shotwell/src/Page.vala" +#line 972 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp41_ != _tmp43_) { -#line 971 "/home/jens/Source/shotwell/src/Page.vala" +#line 972 "/home/jens/Source/shotwell/src/Page.vala" _tmp39_ = TRUE; -#line 7059 "Page.c" +#line 7062 "Page.c" } else { GdkRectangle _tmp44_ = {0}; gint _tmp45_ = 0; GdkRectangle _tmp46_ = {0}; gint _tmp47_ = 0; -#line 971 "/home/jens/Source/shotwell/src/Page.vala" +#line 972 "/home/jens/Source/shotwell/src/Page.vala" _tmp44_ = self->priv->last_position; -#line 971 "/home/jens/Source/shotwell/src/Page.vala" +#line 972 "/home/jens/Source/shotwell/src/Page.vala" _tmp45_ = _tmp44_.height; -#line 971 "/home/jens/Source/shotwell/src/Page.vala" +#line 972 "/home/jens/Source/shotwell/src/Page.vala" _tmp46_ = rect; -#line 971 "/home/jens/Source/shotwell/src/Page.vala" +#line 972 "/home/jens/Source/shotwell/src/Page.vala" _tmp47_ = _tmp46_.height; -#line 971 "/home/jens/Source/shotwell/src/Page.vala" +#line 972 "/home/jens/Source/shotwell/src/Page.vala" _tmp39_ = _tmp45_ != _tmp47_; -#line 7075 "Page.c" +#line 7078 "Page.c" } -#line 971 "/home/jens/Source/shotwell/src/Page.vala" +#line 972 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp39_) { -#line 7079 "Page.c" +#line 7082 "Page.c" GdkRectangle _tmp48_ = {0}; -#line 972 "/home/jens/Source/shotwell/src/Page.vala" +#line 973 "/home/jens/Source/shotwell/src/Page.vala" _tmp48_ = rect; -#line 972 "/home/jens/Source/shotwell/src/Page.vala" +#line 973 "/home/jens/Source/shotwell/src/Page.vala" page_on_resize (self, &_tmp48_); -#line 7085 "Page.c" +#line 7088 "Page.c" } -#line 974 "/home/jens/Source/shotwell/src/Page.vala" +#line 975 "/home/jens/Source/shotwell/src/Page.vala" _tmp49_ = rect; -#line 974 "/home/jens/Source/shotwell/src/Page.vala" - self->priv->last_position = _tmp49_; #line 975 "/home/jens/Source/shotwell/src/Page.vala" + self->priv->last_position = _tmp49_; +#line 976 "/home/jens/Source/shotwell/src/Page.vala" _tmp50_ = now_ms (); -#line 975 "/home/jens/Source/shotwell/src/Page.vala" +#line 976 "/home/jens/Source/shotwell/src/Page.vala" self->priv->last_configure_ms = _tmp50_; -#line 977 "/home/jens/Source/shotwell/src/Page.vala" +#line 978 "/home/jens/Source/shotwell/src/Page.vala" _tmp51_ = event; -#line 977 "/home/jens/Source/shotwell/src/Page.vala" +#line 978 "/home/jens/Source/shotwell/src/Page.vala" _tmp52_ = rect; -#line 977 "/home/jens/Source/shotwell/src/Page.vala" +#line 978 "/home/jens/Source/shotwell/src/Page.vala" _tmp53_ = page_on_configure (self, _tmp51_, &_tmp52_); -#line 977 "/home/jens/Source/shotwell/src/Page.vala" +#line 978 "/home/jens/Source/shotwell/src/Page.vala" result = _tmp53_; -#line 977 "/home/jens/Source/shotwell/src/Page.vala" +#line 978 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 7105 "Page.c" +#line 7108 "Page.c" } @@ -7114,117 +7117,117 @@ static gboolean page_check_configure_halted (Page* self) { GtkAllocation _tmp3_ = {0}; gboolean _tmp4_ = FALSE; gboolean _tmp7_ = FALSE; -#line 980 "/home/jens/Source/shotwell/src/Page.vala" - g_return_val_if_fail (IS_PAGE (self), FALSE); #line 981 "/home/jens/Source/shotwell/src/Page.vala" + g_return_val_if_fail (IS_PAGE (self), FALSE); +#line 982 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = self->priv->is_destroyed; -#line 981 "/home/jens/Source/shotwell/src/Page.vala" - if (_tmp0_) { #line 982 "/home/jens/Source/shotwell/src/Page.vala" + if (_tmp0_) { +#line 983 "/home/jens/Source/shotwell/src/Page.vala" result = FALSE; -#line 982 "/home/jens/Source/shotwell/src/Page.vala" +#line 983 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 7128 "Page.c" +#line 7131 "Page.c" } -#line 984 "/home/jens/Source/shotwell/src/Page.vala" +#line 985 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = now_ms (); -#line 984 "/home/jens/Source/shotwell/src/Page.vala" +#line 985 "/home/jens/Source/shotwell/src/Page.vala" _tmp2_ = self->priv->last_configure_ms; -#line 984 "/home/jens/Source/shotwell/src/Page.vala" - if ((_tmp1_ - _tmp2_) < ((gulong) PAGE_CONSIDER_CONFIGURE_HALTED_MSEC)) { #line 985 "/home/jens/Source/shotwell/src/Page.vala" + if ((_tmp1_ - _tmp2_) < ((gulong) PAGE_CONSIDER_CONFIGURE_HALTED_MSEC)) { +#line 986 "/home/jens/Source/shotwell/src/Page.vala" result = TRUE; -#line 985 "/home/jens/Source/shotwell/src/Page.vala" +#line 986 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 7140 "Page.c" +#line 7143 "Page.c" } -#line 988 "/home/jens/Source/shotwell/src/Page.vala" +#line 989 "/home/jens/Source/shotwell/src/Page.vala" gtk_widget_get_allocation (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), &_tmp3_); -#line 988 "/home/jens/Source/shotwell/src/Page.vala" +#line 989 "/home/jens/Source/shotwell/src/Page.vala" allocation = _tmp3_; -#line 990 "/home/jens/Source/shotwell/src/Page.vala" +#line 991 "/home/jens/Source/shotwell/src/Page.vala" _tmp4_ = self->priv->report_move_finished; -#line 990 "/home/jens/Source/shotwell/src/Page.vala" +#line 991 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp4_) { -#line 7150 "Page.c" +#line 7153 "Page.c" GtkAllocation _tmp5_ = {0}; GdkRectangle _tmp6_ = {0}; -#line 991 "/home/jens/Source/shotwell/src/Page.vala" +#line 992 "/home/jens/Source/shotwell/src/Page.vala" _tmp5_ = allocation; -#line 991 "/home/jens/Source/shotwell/src/Page.vala" +#line 992 "/home/jens/Source/shotwell/src/Page.vala" _tmp6_ = (GdkRectangle) _tmp5_; -#line 991 "/home/jens/Source/shotwell/src/Page.vala" +#line 992 "/home/jens/Source/shotwell/src/Page.vala" page_on_move_finished (self, &_tmp6_); -#line 7159 "Page.c" +#line 7162 "Page.c" } -#line 993 "/home/jens/Source/shotwell/src/Page.vala" +#line 994 "/home/jens/Source/shotwell/src/Page.vala" _tmp7_ = self->priv->report_resize_finished; -#line 993 "/home/jens/Source/shotwell/src/Page.vala" +#line 994 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp7_) { -#line 7165 "Page.c" +#line 7168 "Page.c" GtkAllocation _tmp8_ = {0}; GdkRectangle _tmp9_ = {0}; -#line 994 "/home/jens/Source/shotwell/src/Page.vala" +#line 995 "/home/jens/Source/shotwell/src/Page.vala" _tmp8_ = allocation; -#line 994 "/home/jens/Source/shotwell/src/Page.vala" +#line 995 "/home/jens/Source/shotwell/src/Page.vala" _tmp9_ = (GdkRectangle) _tmp8_; -#line 994 "/home/jens/Source/shotwell/src/Page.vala" +#line 995 "/home/jens/Source/shotwell/src/Page.vala" page_on_resize_finished (self, &_tmp9_); -#line 7174 "Page.c" +#line 7177 "Page.c" } -#line 996 "/home/jens/Source/shotwell/src/Page.vala" - self->priv->last_configure_ms = (gulong) 0; #line 997 "/home/jens/Source/shotwell/src/Page.vala" - self->priv->report_move_finished = FALSE; + self->priv->last_configure_ms = (gulong) 0; #line 998 "/home/jens/Source/shotwell/src/Page.vala" + self->priv->report_move_finished = FALSE; +#line 999 "/home/jens/Source/shotwell/src/Page.vala" self->priv->report_resize_finished = FALSE; -#line 1000 "/home/jens/Source/shotwell/src/Page.vala" +#line 1001 "/home/jens/Source/shotwell/src/Page.vala" result = FALSE; -#line 1000 "/home/jens/Source/shotwell/src/Page.vala" +#line 1001 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 7186 "Page.c" +#line 7189 "Page.c" } static gboolean page_real_on_motion (Page* self, GdkEventMotion* event, gint x, gint y, GdkModifierType mask) { gboolean result = FALSE; -#line 1003 "/home/jens/Source/shotwell/src/Page.vala" - g_return_val_if_fail (event != NULL, FALSE); #line 1004 "/home/jens/Source/shotwell/src/Page.vala" + g_return_val_if_fail (event != NULL, FALSE); +#line 1005 "/home/jens/Source/shotwell/src/Page.vala" page_check_cursor_hiding (self); -#line 1006 "/home/jens/Source/shotwell/src/Page.vala" +#line 1007 "/home/jens/Source/shotwell/src/Page.vala" result = FALSE; -#line 1006 "/home/jens/Source/shotwell/src/Page.vala" +#line 1007 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 7200 "Page.c" +#line 7203 "Page.c" } gboolean page_on_motion (Page* self, GdkEventMotion* event, gint x, gint y, GdkModifierType mask) { -#line 1003 "/home/jens/Source/shotwell/src/Page.vala" +#line 1004 "/home/jens/Source/shotwell/src/Page.vala" g_return_val_if_fail (IS_PAGE (self), FALSE); -#line 1003 "/home/jens/Source/shotwell/src/Page.vala" +#line 1004 "/home/jens/Source/shotwell/src/Page.vala" return PAGE_GET_CLASS (self)->on_motion (self, event, x, y, mask); -#line 7209 "Page.c" +#line 7212 "Page.c" } static gboolean page_real_on_leave_notify_event (Page* self) { gboolean result = FALSE; -#line 1010 "/home/jens/Source/shotwell/src/Page.vala" +#line 1011 "/home/jens/Source/shotwell/src/Page.vala" result = FALSE; -#line 1010 "/home/jens/Source/shotwell/src/Page.vala" +#line 1011 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 7219 "Page.c" +#line 7222 "Page.c" } gboolean page_on_leave_notify_event (Page* self) { -#line 1009 "/home/jens/Source/shotwell/src/Page.vala" +#line 1010 "/home/jens/Source/shotwell/src/Page.vala" g_return_val_if_fail (IS_PAGE (self), FALSE); -#line 1009 "/home/jens/Source/shotwell/src/Page.vala" +#line 1010 "/home/jens/Source/shotwell/src/Page.vala" return PAGE_GET_CLASS (self)->on_leave_notify_event (self); -#line 7228 "Page.c" +#line 7231 "Page.c" } @@ -7240,29 +7243,29 @@ static gboolean page_on_motion_internal (Page* self, GdkEventMotion* event) { gint _tmp13_ = 0; GdkModifierType _tmp14_ = 0; gboolean _tmp15_ = FALSE; -#line 1013 "/home/jens/Source/shotwell/src/Page.vala" +#line 1014 "/home/jens/Source/shotwell/src/Page.vala" g_return_val_if_fail (IS_PAGE (self), FALSE); -#line 1013 "/home/jens/Source/shotwell/src/Page.vala" +#line 1014 "/home/jens/Source/shotwell/src/Page.vala" g_return_val_if_fail (event != NULL, FALSE); -#line 1016 "/home/jens/Source/shotwell/src/Page.vala" +#line 1017 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = event; -#line 1016 "/home/jens/Source/shotwell/src/Page.vala" +#line 1017 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = _tmp0_->is_hint; -#line 1016 "/home/jens/Source/shotwell/src/Page.vala" +#line 1017 "/home/jens/Source/shotwell/src/Page.vala" if (((gint) _tmp1_) == 1) { -#line 7254 "Page.c" +#line 7257 "Page.c" gint _tmp2_ = 0; gint _tmp3_ = 0; GdkModifierType _tmp4_ = 0; -#line 1017 "/home/jens/Source/shotwell/src/Page.vala" +#line 1018 "/home/jens/Source/shotwell/src/Page.vala" page_get_event_source_pointer (self, &_tmp2_, &_tmp3_, &_tmp4_); -#line 1017 "/home/jens/Source/shotwell/src/Page.vala" +#line 1018 "/home/jens/Source/shotwell/src/Page.vala" x = _tmp2_; -#line 1017 "/home/jens/Source/shotwell/src/Page.vala" +#line 1018 "/home/jens/Source/shotwell/src/Page.vala" y = _tmp3_; -#line 1017 "/home/jens/Source/shotwell/src/Page.vala" +#line 1018 "/home/jens/Source/shotwell/src/Page.vala" mask = _tmp4_; -#line 7266 "Page.c" +#line 7269 "Page.c" } else { GdkEventMotion* _tmp5_ = NULL; gdouble _tmp6_ = 0.0; @@ -7270,41 +7273,41 @@ static gboolean page_on_motion_internal (Page* self, GdkEventMotion* event) { gdouble _tmp8_ = 0.0; GdkEventMotion* _tmp9_ = NULL; GdkModifierType _tmp10_ = 0; -#line 1019 "/home/jens/Source/shotwell/src/Page.vala" +#line 1020 "/home/jens/Source/shotwell/src/Page.vala" _tmp5_ = event; -#line 1019 "/home/jens/Source/shotwell/src/Page.vala" +#line 1020 "/home/jens/Source/shotwell/src/Page.vala" _tmp6_ = _tmp5_->x; -#line 1019 "/home/jens/Source/shotwell/src/Page.vala" - x = (gint) _tmp6_; #line 1020 "/home/jens/Source/shotwell/src/Page.vala" + x = (gint) _tmp6_; +#line 1021 "/home/jens/Source/shotwell/src/Page.vala" _tmp7_ = event; -#line 1020 "/home/jens/Source/shotwell/src/Page.vala" +#line 1021 "/home/jens/Source/shotwell/src/Page.vala" _tmp8_ = _tmp7_->y; -#line 1020 "/home/jens/Source/shotwell/src/Page.vala" - y = (gint) _tmp8_; #line 1021 "/home/jens/Source/shotwell/src/Page.vala" + y = (gint) _tmp8_; +#line 1022 "/home/jens/Source/shotwell/src/Page.vala" _tmp9_ = event; -#line 1021 "/home/jens/Source/shotwell/src/Page.vala" +#line 1022 "/home/jens/Source/shotwell/src/Page.vala" _tmp10_ = _tmp9_->state; -#line 1021 "/home/jens/Source/shotwell/src/Page.vala" +#line 1022 "/home/jens/Source/shotwell/src/Page.vala" mask = _tmp10_; -#line 7292 "Page.c" +#line 7295 "Page.c" } -#line 1024 "/home/jens/Source/shotwell/src/Page.vala" +#line 1025 "/home/jens/Source/shotwell/src/Page.vala" _tmp11_ = event; -#line 1024 "/home/jens/Source/shotwell/src/Page.vala" +#line 1025 "/home/jens/Source/shotwell/src/Page.vala" _tmp12_ = x; -#line 1024 "/home/jens/Source/shotwell/src/Page.vala" +#line 1025 "/home/jens/Source/shotwell/src/Page.vala" _tmp13_ = y; -#line 1024 "/home/jens/Source/shotwell/src/Page.vala" +#line 1025 "/home/jens/Source/shotwell/src/Page.vala" _tmp14_ = mask; -#line 1024 "/home/jens/Source/shotwell/src/Page.vala" +#line 1025 "/home/jens/Source/shotwell/src/Page.vala" _tmp15_ = page_on_motion (self, _tmp11_, _tmp12_, _tmp13_, _tmp14_); -#line 1024 "/home/jens/Source/shotwell/src/Page.vala" +#line 1025 "/home/jens/Source/shotwell/src/Page.vala" result = _tmp15_; -#line 1024 "/home/jens/Source/shotwell/src/Page.vala" +#line 1025 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 7308 "Page.c" +#line 7311 "Page.c" } @@ -7312,87 +7315,87 @@ static gboolean page_on_mousewheel_internal (Page* self, GdkEventScroll* event) gboolean result = FALSE; GdkEventScroll* _tmp0_ = NULL; GdkScrollDirection _tmp1_ = 0; -#line 1027 "/home/jens/Source/shotwell/src/Page.vala" +#line 1028 "/home/jens/Source/shotwell/src/Page.vala" g_return_val_if_fail (IS_PAGE (self), FALSE); -#line 1027 "/home/jens/Source/shotwell/src/Page.vala" - g_return_val_if_fail (event != NULL, FALSE); #line 1028 "/home/jens/Source/shotwell/src/Page.vala" + g_return_val_if_fail (event != NULL, FALSE); +#line 1029 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = event; -#line 1028 "/home/jens/Source/shotwell/src/Page.vala" +#line 1029 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = _tmp0_->direction; -#line 1028 "/home/jens/Source/shotwell/src/Page.vala" +#line 1029 "/home/jens/Source/shotwell/src/Page.vala" switch (_tmp1_) { -#line 1028 "/home/jens/Source/shotwell/src/Page.vala" +#line 1029 "/home/jens/Source/shotwell/src/Page.vala" case GDK_SCROLL_UP: -#line 7328 "Page.c" +#line 7331 "Page.c" { GdkEventScroll* _tmp2_ = NULL; gboolean _tmp3_ = FALSE; -#line 1030 "/home/jens/Source/shotwell/src/Page.vala" +#line 1031 "/home/jens/Source/shotwell/src/Page.vala" _tmp2_ = event; -#line 1030 "/home/jens/Source/shotwell/src/Page.vala" +#line 1031 "/home/jens/Source/shotwell/src/Page.vala" _tmp3_ = page_on_mousewheel_up (self, _tmp2_); -#line 1030 "/home/jens/Source/shotwell/src/Page.vala" +#line 1031 "/home/jens/Source/shotwell/src/Page.vala" result = _tmp3_; -#line 1030 "/home/jens/Source/shotwell/src/Page.vala" +#line 1031 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 7340 "Page.c" +#line 7343 "Page.c" } -#line 1028 "/home/jens/Source/shotwell/src/Page.vala" +#line 1029 "/home/jens/Source/shotwell/src/Page.vala" case GDK_SCROLL_DOWN: -#line 7344 "Page.c" +#line 7347 "Page.c" { GdkEventScroll* _tmp4_ = NULL; gboolean _tmp5_ = FALSE; -#line 1033 "/home/jens/Source/shotwell/src/Page.vala" +#line 1034 "/home/jens/Source/shotwell/src/Page.vala" _tmp4_ = event; -#line 1033 "/home/jens/Source/shotwell/src/Page.vala" +#line 1034 "/home/jens/Source/shotwell/src/Page.vala" _tmp5_ = page_on_mousewheel_down (self, _tmp4_); -#line 1033 "/home/jens/Source/shotwell/src/Page.vala" +#line 1034 "/home/jens/Source/shotwell/src/Page.vala" result = _tmp5_; -#line 1033 "/home/jens/Source/shotwell/src/Page.vala" +#line 1034 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 7356 "Page.c" +#line 7359 "Page.c" } -#line 1028 "/home/jens/Source/shotwell/src/Page.vala" +#line 1029 "/home/jens/Source/shotwell/src/Page.vala" case GDK_SCROLL_LEFT: -#line 7360 "Page.c" +#line 7363 "Page.c" { GdkEventScroll* _tmp6_ = NULL; gboolean _tmp7_ = FALSE; -#line 1036 "/home/jens/Source/shotwell/src/Page.vala" +#line 1037 "/home/jens/Source/shotwell/src/Page.vala" _tmp6_ = event; -#line 1036 "/home/jens/Source/shotwell/src/Page.vala" +#line 1037 "/home/jens/Source/shotwell/src/Page.vala" _tmp7_ = page_on_mousewheel_left (self, _tmp6_); -#line 1036 "/home/jens/Source/shotwell/src/Page.vala" +#line 1037 "/home/jens/Source/shotwell/src/Page.vala" result = _tmp7_; -#line 1036 "/home/jens/Source/shotwell/src/Page.vala" +#line 1037 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 7372 "Page.c" +#line 7375 "Page.c" } -#line 1028 "/home/jens/Source/shotwell/src/Page.vala" +#line 1029 "/home/jens/Source/shotwell/src/Page.vala" case GDK_SCROLL_RIGHT: -#line 7376 "Page.c" +#line 7379 "Page.c" { GdkEventScroll* _tmp8_ = NULL; gboolean _tmp9_ = FALSE; -#line 1039 "/home/jens/Source/shotwell/src/Page.vala" +#line 1040 "/home/jens/Source/shotwell/src/Page.vala" _tmp8_ = event; -#line 1039 "/home/jens/Source/shotwell/src/Page.vala" +#line 1040 "/home/jens/Source/shotwell/src/Page.vala" _tmp9_ = page_on_mousewheel_right (self, _tmp8_); -#line 1039 "/home/jens/Source/shotwell/src/Page.vala" +#line 1040 "/home/jens/Source/shotwell/src/Page.vala" result = _tmp9_; -#line 1039 "/home/jens/Source/shotwell/src/Page.vala" +#line 1040 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 7388 "Page.c" +#line 7391 "Page.c" } default: { -#line 1042 "/home/jens/Source/shotwell/src/Page.vala" +#line 1043 "/home/jens/Source/shotwell/src/Page.vala" result = FALSE; -#line 1042 "/home/jens/Source/shotwell/src/Page.vala" +#line 1043 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 7396 "Page.c" +#line 7399 "Page.c" } } } @@ -7400,144 +7403,144 @@ static gboolean page_on_mousewheel_internal (Page* self, GdkEventScroll* event) static gboolean page_real_on_mousewheel_up (Page* self, GdkEventScroll* event) { gboolean result = FALSE; -#line 1046 "/home/jens/Source/shotwell/src/Page.vala" - g_return_val_if_fail (event != NULL, FALSE); #line 1047 "/home/jens/Source/shotwell/src/Page.vala" + g_return_val_if_fail (event != NULL, FALSE); +#line 1048 "/home/jens/Source/shotwell/src/Page.vala" result = FALSE; -#line 1047 "/home/jens/Source/shotwell/src/Page.vala" +#line 1048 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 7410 "Page.c" +#line 7413 "Page.c" } gboolean page_on_mousewheel_up (Page* self, GdkEventScroll* event) { -#line 1046 "/home/jens/Source/shotwell/src/Page.vala" +#line 1047 "/home/jens/Source/shotwell/src/Page.vala" g_return_val_if_fail (IS_PAGE (self), FALSE); -#line 1046 "/home/jens/Source/shotwell/src/Page.vala" +#line 1047 "/home/jens/Source/shotwell/src/Page.vala" return PAGE_GET_CLASS (self)->on_mousewheel_up (self, event); -#line 7419 "Page.c" +#line 7422 "Page.c" } static gboolean page_real_on_mousewheel_down (Page* self, GdkEventScroll* event) { gboolean result = FALSE; -#line 1050 "/home/jens/Source/shotwell/src/Page.vala" - g_return_val_if_fail (event != NULL, FALSE); #line 1051 "/home/jens/Source/shotwell/src/Page.vala" + g_return_val_if_fail (event != NULL, FALSE); +#line 1052 "/home/jens/Source/shotwell/src/Page.vala" result = FALSE; -#line 1051 "/home/jens/Source/shotwell/src/Page.vala" +#line 1052 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 7431 "Page.c" +#line 7434 "Page.c" } gboolean page_on_mousewheel_down (Page* self, GdkEventScroll* event) { -#line 1050 "/home/jens/Source/shotwell/src/Page.vala" +#line 1051 "/home/jens/Source/shotwell/src/Page.vala" g_return_val_if_fail (IS_PAGE (self), FALSE); -#line 1050 "/home/jens/Source/shotwell/src/Page.vala" +#line 1051 "/home/jens/Source/shotwell/src/Page.vala" return PAGE_GET_CLASS (self)->on_mousewheel_down (self, event); -#line 7440 "Page.c" +#line 7443 "Page.c" } static gboolean page_real_on_mousewheel_left (Page* self, GdkEventScroll* event) { gboolean result = FALSE; -#line 1054 "/home/jens/Source/shotwell/src/Page.vala" - g_return_val_if_fail (event != NULL, FALSE); #line 1055 "/home/jens/Source/shotwell/src/Page.vala" + g_return_val_if_fail (event != NULL, FALSE); +#line 1056 "/home/jens/Source/shotwell/src/Page.vala" result = FALSE; -#line 1055 "/home/jens/Source/shotwell/src/Page.vala" +#line 1056 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 7452 "Page.c" +#line 7455 "Page.c" } gboolean page_on_mousewheel_left (Page* self, GdkEventScroll* event) { -#line 1054 "/home/jens/Source/shotwell/src/Page.vala" +#line 1055 "/home/jens/Source/shotwell/src/Page.vala" g_return_val_if_fail (IS_PAGE (self), FALSE); -#line 1054 "/home/jens/Source/shotwell/src/Page.vala" +#line 1055 "/home/jens/Source/shotwell/src/Page.vala" return PAGE_GET_CLASS (self)->on_mousewheel_left (self, event); -#line 7461 "Page.c" +#line 7464 "Page.c" } static gboolean page_real_on_mousewheel_right (Page* self, GdkEventScroll* event) { gboolean result = FALSE; -#line 1058 "/home/jens/Source/shotwell/src/Page.vala" - g_return_val_if_fail (event != NULL, FALSE); #line 1059 "/home/jens/Source/shotwell/src/Page.vala" + g_return_val_if_fail (event != NULL, FALSE); +#line 1060 "/home/jens/Source/shotwell/src/Page.vala" result = FALSE; -#line 1059 "/home/jens/Source/shotwell/src/Page.vala" +#line 1060 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 7473 "Page.c" +#line 7476 "Page.c" } gboolean page_on_mousewheel_right (Page* self, GdkEventScroll* event) { -#line 1058 "/home/jens/Source/shotwell/src/Page.vala" +#line 1059 "/home/jens/Source/shotwell/src/Page.vala" g_return_val_if_fail (IS_PAGE (self), FALSE); -#line 1058 "/home/jens/Source/shotwell/src/Page.vala" +#line 1059 "/home/jens/Source/shotwell/src/Page.vala" return PAGE_GET_CLASS (self)->on_mousewheel_right (self, event); -#line 7482 "Page.c" +#line 7485 "Page.c" } static gboolean page_real_on_context_keypress (Page* self) { gboolean result = FALSE; -#line 1063 "/home/jens/Source/shotwell/src/Page.vala" +#line 1064 "/home/jens/Source/shotwell/src/Page.vala" result = FALSE; -#line 1063 "/home/jens/Source/shotwell/src/Page.vala" +#line 1064 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 7492 "Page.c" +#line 7495 "Page.c" } gboolean page_on_context_keypress (Page* self) { -#line 1062 "/home/jens/Source/shotwell/src/Page.vala" +#line 1063 "/home/jens/Source/shotwell/src/Page.vala" g_return_val_if_fail (IS_PAGE (self), FALSE); -#line 1062 "/home/jens/Source/shotwell/src/Page.vala" +#line 1063 "/home/jens/Source/shotwell/src/Page.vala" return PAGE_GET_CLASS (self)->on_context_keypress (self); -#line 7501 "Page.c" +#line 7504 "Page.c" } static gboolean page_real_on_context_buttonpress (Page* self, GdkEventButton* event) { gboolean result = FALSE; -#line 1066 "/home/jens/Source/shotwell/src/Page.vala" - g_return_val_if_fail (event != NULL, FALSE); #line 1067 "/home/jens/Source/shotwell/src/Page.vala" + g_return_val_if_fail (event != NULL, FALSE); +#line 1068 "/home/jens/Source/shotwell/src/Page.vala" result = FALSE; -#line 1067 "/home/jens/Source/shotwell/src/Page.vala" +#line 1068 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 7513 "Page.c" +#line 7516 "Page.c" } gboolean page_on_context_buttonpress (Page* self, GdkEventButton* event) { -#line 1066 "/home/jens/Source/shotwell/src/Page.vala" +#line 1067 "/home/jens/Source/shotwell/src/Page.vala" g_return_val_if_fail (IS_PAGE (self), FALSE); -#line 1066 "/home/jens/Source/shotwell/src/Page.vala" +#line 1067 "/home/jens/Source/shotwell/src/Page.vala" return PAGE_GET_CLASS (self)->on_context_buttonpress (self, event); -#line 7522 "Page.c" +#line 7525 "Page.c" } static gboolean page_real_on_context_invoked (Page* self) { gboolean result = FALSE; -#line 1071 "/home/jens/Source/shotwell/src/Page.vala" +#line 1072 "/home/jens/Source/shotwell/src/Page.vala" result = TRUE; -#line 1071 "/home/jens/Source/shotwell/src/Page.vala" +#line 1072 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 7532 "Page.c" +#line 7535 "Page.c" } gboolean page_on_context_invoked (Page* self) { -#line 1070 "/home/jens/Source/shotwell/src/Page.vala" +#line 1071 "/home/jens/Source/shotwell/src/Page.vala" g_return_val_if_fail (IS_PAGE (self), FALSE); -#line 1070 "/home/jens/Source/shotwell/src/Page.vala" +#line 1071 "/home/jens/Source/shotwell/src/Page.vala" return PAGE_GET_CLASS (self)->on_context_invoked (self); -#line 7541 "Page.c" +#line 7544 "Page.c" } @@ -7546,72 +7549,72 @@ gboolean page_popup_context_menu (Page* self, GtkMenu* context_menu, GdkEventBut gboolean _tmp0_ = FALSE; GtkMenu* _tmp1_ = NULL; GdkEventButton* _tmp3_ = NULL; -#line 1074 "/home/jens/Source/shotwell/src/Page.vala" +#line 1075 "/home/jens/Source/shotwell/src/Page.vala" g_return_val_if_fail (IS_PAGE (self), FALSE); -#line 1074 "/home/jens/Source/shotwell/src/Page.vala" +#line 1075 "/home/jens/Source/shotwell/src/Page.vala" g_return_val_if_fail ((context_menu == NULL) || GTK_IS_MENU (context_menu), FALSE); -#line 1077 "/home/jens/Source/shotwell/src/Page.vala" +#line 1078 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = context_menu; -#line 1077 "/home/jens/Source/shotwell/src/Page.vala" +#line 1078 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp1_ == NULL) { -#line 1077 "/home/jens/Source/shotwell/src/Page.vala" +#line 1078 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = TRUE; -#line 7560 "Page.c" +#line 7563 "Page.c" } else { gboolean _tmp2_ = FALSE; -#line 1077 "/home/jens/Source/shotwell/src/Page.vala" +#line 1078 "/home/jens/Source/shotwell/src/Page.vala" _tmp2_ = page_on_context_invoked (self); -#line 1077 "/home/jens/Source/shotwell/src/Page.vala" +#line 1078 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = !_tmp2_; -#line 7567 "Page.c" +#line 7570 "Page.c" } -#line 1077 "/home/jens/Source/shotwell/src/Page.vala" - if (_tmp0_) { #line 1078 "/home/jens/Source/shotwell/src/Page.vala" + if (_tmp0_) { +#line 1079 "/home/jens/Source/shotwell/src/Page.vala" result = FALSE; -#line 1078 "/home/jens/Source/shotwell/src/Page.vala" +#line 1079 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 7575 "Page.c" +#line 7578 "Page.c" } -#line 1080 "/home/jens/Source/shotwell/src/Page.vala" +#line 1081 "/home/jens/Source/shotwell/src/Page.vala" _tmp3_ = event; -#line 1080 "/home/jens/Source/shotwell/src/Page.vala" +#line 1081 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp3_ == NULL) { -#line 7581 "Page.c" +#line 7584 "Page.c" GtkMenu* _tmp4_ = NULL; guint32 _tmp5_ = 0U; -#line 1081 "/home/jens/Source/shotwell/src/Page.vala" +#line 1082 "/home/jens/Source/shotwell/src/Page.vala" _tmp4_ = context_menu; -#line 1081 "/home/jens/Source/shotwell/src/Page.vala" +#line 1082 "/home/jens/Source/shotwell/src/Page.vala" _tmp5_ = gtk_get_current_event_time (); -#line 1081 "/home/jens/Source/shotwell/src/Page.vala" +#line 1082 "/home/jens/Source/shotwell/src/Page.vala" gtk_menu_popup (_tmp4_, NULL, NULL, NULL, NULL, (guint) 0, _tmp5_); -#line 7590 "Page.c" +#line 7593 "Page.c" } else { GtkMenu* _tmp6_ = NULL; GdkEventButton* _tmp7_ = NULL; guint _tmp8_ = 0U; GdkEventButton* _tmp9_ = NULL; guint32 _tmp10_ = 0U; -#line 1083 "/home/jens/Source/shotwell/src/Page.vala" +#line 1084 "/home/jens/Source/shotwell/src/Page.vala" _tmp6_ = context_menu; -#line 1083 "/home/jens/Source/shotwell/src/Page.vala" +#line 1084 "/home/jens/Source/shotwell/src/Page.vala" _tmp7_ = event; -#line 1083 "/home/jens/Source/shotwell/src/Page.vala" +#line 1084 "/home/jens/Source/shotwell/src/Page.vala" _tmp8_ = _tmp7_->button; -#line 1083 "/home/jens/Source/shotwell/src/Page.vala" +#line 1084 "/home/jens/Source/shotwell/src/Page.vala" _tmp9_ = event; -#line 1083 "/home/jens/Source/shotwell/src/Page.vala" +#line 1084 "/home/jens/Source/shotwell/src/Page.vala" _tmp10_ = _tmp9_->time; -#line 1083 "/home/jens/Source/shotwell/src/Page.vala" +#line 1084 "/home/jens/Source/shotwell/src/Page.vala" gtk_menu_popup (_tmp6_, NULL, NULL, NULL, NULL, _tmp8_, _tmp10_); -#line 7609 "Page.c" +#line 7612 "Page.c" } -#line 1085 "/home/jens/Source/shotwell/src/Page.vala" +#line 1086 "/home/jens/Source/shotwell/src/Page.vala" result = TRUE; -#line 1085 "/home/jens/Source/shotwell/src/Page.vala" +#line 1086 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 7615 "Page.c" +#line 7618 "Page.c" } @@ -7626,166 +7629,166 @@ void page_on_event_source_realize (Page* self) { GdkWindow* _tmp10_ = NULL; GdkWindow* _tmp11_ = NULL; GdkWindow* _tmp20_ = NULL; -#line 1088 "/home/jens/Source/shotwell/src/Page.vala" - g_return_if_fail (IS_PAGE (self)); #line 1089 "/home/jens/Source/shotwell/src/Page.vala" + g_return_if_fail (IS_PAGE (self)); +#line 1090 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = self->priv->event_source; -#line 1089 "/home/jens/Source/shotwell/src/Page.vala" +#line 1090 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = gtk_widget_get_window (_tmp0_); -#line 1089 "/home/jens/Source/shotwell/src/Page.vala" +#line 1090 "/home/jens/Source/shotwell/src/Page.vala" _vala_assert (_tmp1_ != NULL, "event_source.get_window() != null"); -#line 1091 "/home/jens/Source/shotwell/src/Page.vala" +#line 1092 "/home/jens/Source/shotwell/src/Page.vala" _tmp2_ = self->priv->event_source; -#line 1091 "/home/jens/Source/shotwell/src/Page.vala" +#line 1092 "/home/jens/Source/shotwell/src/Page.vala" _tmp3_ = gtk_widget_get_window (_tmp2_); -#line 1091 "/home/jens/Source/shotwell/src/Page.vala" +#line 1092 "/home/jens/Source/shotwell/src/Page.vala" _tmp4_ = gdk_window_get_cursor (_tmp3_); -#line 1091 "/home/jens/Source/shotwell/src/Page.vala" +#line 1092 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp4_ != NULL) { -#line 7646 "Page.c" +#line 7649 "Page.c" GtkWidget* _tmp5_ = NULL; GdkWindow* _tmp6_ = NULL; GdkCursor* _tmp7_ = NULL; GdkCursorType _tmp8_ = 0; -#line 1092 "/home/jens/Source/shotwell/src/Page.vala" +#line 1093 "/home/jens/Source/shotwell/src/Page.vala" _tmp5_ = self->priv->event_source; -#line 1092 "/home/jens/Source/shotwell/src/Page.vala" +#line 1093 "/home/jens/Source/shotwell/src/Page.vala" _tmp6_ = gtk_widget_get_window (_tmp5_); -#line 1092 "/home/jens/Source/shotwell/src/Page.vala" +#line 1093 "/home/jens/Source/shotwell/src/Page.vala" _tmp7_ = gdk_window_get_cursor (_tmp6_); -#line 1092 "/home/jens/Source/shotwell/src/Page.vala" +#line 1093 "/home/jens/Source/shotwell/src/Page.vala" _tmp8_ = gdk_cursor_get_cursor_type (_tmp7_); -#line 1092 "/home/jens/Source/shotwell/src/Page.vala" - self->priv->last_cursor = _tmp8_; #line 1093 "/home/jens/Source/shotwell/src/Page.vala" + self->priv->last_cursor = _tmp8_; +#line 1094 "/home/jens/Source/shotwell/src/Page.vala" return; -#line 7663 "Page.c" +#line 7666 "Page.c" } -#line 1097 "/home/jens/Source/shotwell/src/Page.vala" +#line 1098 "/home/jens/Source/shotwell/src/Page.vala" _tmp9_ = self->priv->event_source; -#line 1097 "/home/jens/Source/shotwell/src/Page.vala" +#line 1098 "/home/jens/Source/shotwell/src/Page.vala" _tmp10_ = gtk_widget_get_window (_tmp9_); -#line 1097 "/home/jens/Source/shotwell/src/Page.vala" +#line 1098 "/home/jens/Source/shotwell/src/Page.vala" _tmp11_ = _g_object_ref0 (_tmp10_); -#line 1097 "/home/jens/Source/shotwell/src/Page.vala" +#line 1098 "/home/jens/Source/shotwell/src/Page.vala" parent_window = _tmp11_; -#line 7673 "Page.c" +#line 7676 "Page.c" { gboolean _tmp12_ = FALSE; -#line 1098 "/home/jens/Source/shotwell/src/Page.vala" +#line 1099 "/home/jens/Source/shotwell/src/Page.vala" _tmp12_ = TRUE; -#line 1098 "/home/jens/Source/shotwell/src/Page.vala" +#line 1099 "/home/jens/Source/shotwell/src/Page.vala" while (TRUE) { -#line 7680 "Page.c" +#line 7683 "Page.c" GdkWindow* _tmp17_ = NULL; GdkWindow* _tmp18_ = NULL; GdkWindow* _tmp19_ = NULL; -#line 1098 "/home/jens/Source/shotwell/src/Page.vala" +#line 1099 "/home/jens/Source/shotwell/src/Page.vala" if (!_tmp12_) { -#line 7686 "Page.c" +#line 7689 "Page.c" gboolean _tmp13_ = FALSE; GdkWindow* _tmp14_ = NULL; -#line 1100 "/home/jens/Source/shotwell/src/Page.vala" +#line 1101 "/home/jens/Source/shotwell/src/Page.vala" _tmp14_ = parent_window; -#line 1100 "/home/jens/Source/shotwell/src/Page.vala" +#line 1101 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp14_ != NULL) { -#line 7693 "Page.c" +#line 7696 "Page.c" GdkWindow* _tmp15_ = NULL; GdkCursor* _tmp16_ = NULL; -#line 1100 "/home/jens/Source/shotwell/src/Page.vala" +#line 1101 "/home/jens/Source/shotwell/src/Page.vala" _tmp15_ = parent_window; -#line 1100 "/home/jens/Source/shotwell/src/Page.vala" +#line 1101 "/home/jens/Source/shotwell/src/Page.vala" _tmp16_ = gdk_window_get_cursor (_tmp15_); -#line 1100 "/home/jens/Source/shotwell/src/Page.vala" +#line 1101 "/home/jens/Source/shotwell/src/Page.vala" _tmp13_ = _tmp16_ == NULL; -#line 7702 "Page.c" +#line 7705 "Page.c" } else { -#line 1100 "/home/jens/Source/shotwell/src/Page.vala" +#line 1101 "/home/jens/Source/shotwell/src/Page.vala" _tmp13_ = FALSE; -#line 7706 "Page.c" +#line 7709 "Page.c" } -#line 1100 "/home/jens/Source/shotwell/src/Page.vala" +#line 1101 "/home/jens/Source/shotwell/src/Page.vala" if (!_tmp13_) { -#line 1100 "/home/jens/Source/shotwell/src/Page.vala" +#line 1101 "/home/jens/Source/shotwell/src/Page.vala" break; -#line 7712 "Page.c" +#line 7715 "Page.c" } } -#line 1098 "/home/jens/Source/shotwell/src/Page.vala" - _tmp12_ = FALSE; #line 1099 "/home/jens/Source/shotwell/src/Page.vala" + _tmp12_ = FALSE; +#line 1100 "/home/jens/Source/shotwell/src/Page.vala" _tmp17_ = parent_window; -#line 1099 "/home/jens/Source/shotwell/src/Page.vala" +#line 1100 "/home/jens/Source/shotwell/src/Page.vala" _tmp18_ = gdk_window_get_parent (_tmp17_); -#line 1099 "/home/jens/Source/shotwell/src/Page.vala" +#line 1100 "/home/jens/Source/shotwell/src/Page.vala" _tmp19_ = _g_object_ref0 (_tmp18_); -#line 1099 "/home/jens/Source/shotwell/src/Page.vala" +#line 1100 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (parent_window); -#line 1099 "/home/jens/Source/shotwell/src/Page.vala" +#line 1100 "/home/jens/Source/shotwell/src/Page.vala" parent_window = _tmp19_; -#line 7727 "Page.c" +#line 7730 "Page.c" } } -#line 1102 "/home/jens/Source/shotwell/src/Page.vala" +#line 1103 "/home/jens/Source/shotwell/src/Page.vala" _tmp20_ = parent_window; -#line 1102 "/home/jens/Source/shotwell/src/Page.vala" +#line 1103 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp20_ != NULL) { -#line 7734 "Page.c" +#line 7737 "Page.c" GdkWindow* _tmp21_ = NULL; GdkCursor* _tmp22_ = NULL; GdkCursorType _tmp23_ = 0; -#line 1103 "/home/jens/Source/shotwell/src/Page.vala" +#line 1104 "/home/jens/Source/shotwell/src/Page.vala" _tmp21_ = parent_window; -#line 1103 "/home/jens/Source/shotwell/src/Page.vala" +#line 1104 "/home/jens/Source/shotwell/src/Page.vala" _tmp22_ = gdk_window_get_cursor (_tmp21_); -#line 1103 "/home/jens/Source/shotwell/src/Page.vala" +#line 1104 "/home/jens/Source/shotwell/src/Page.vala" _tmp23_ = gdk_cursor_get_cursor_type (_tmp22_); -#line 1103 "/home/jens/Source/shotwell/src/Page.vala" +#line 1104 "/home/jens/Source/shotwell/src/Page.vala" self->priv->last_cursor = _tmp23_; -#line 7746 "Page.c" +#line 7749 "Page.c" } -#line 1088 "/home/jens/Source/shotwell/src/Page.vala" +#line 1089 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (parent_window); -#line 7750 "Page.c" +#line 7753 "Page.c" } void page_set_cursor_hide_time (Page* self, gint hide_time) { gint _tmp0_ = 0; -#line 1106 "/home/jens/Source/shotwell/src/Page.vala" - g_return_if_fail (IS_PAGE (self)); #line 1107 "/home/jens/Source/shotwell/src/Page.vala" + g_return_if_fail (IS_PAGE (self)); +#line 1108 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = hide_time; -#line 1107 "/home/jens/Source/shotwell/src/Page.vala" +#line 1108 "/home/jens/Source/shotwell/src/Page.vala" self->priv->cursor_hide_msec = _tmp0_; -#line 7762 "Page.c" +#line 7765 "Page.c" } void page_start_cursor_hiding (Page* self) { -#line 1110 "/home/jens/Source/shotwell/src/Page.vala" - g_return_if_fail (IS_PAGE (self)); #line 1111 "/home/jens/Source/shotwell/src/Page.vala" + g_return_if_fail (IS_PAGE (self)); +#line 1112 "/home/jens/Source/shotwell/src/Page.vala" page_check_cursor_hiding (self); -#line 7771 "Page.c" +#line 7774 "Page.c" } void page_stop_cursor_hiding (Page* self) { guint _tmp0_ = 0U; -#line 1114 "/home/jens/Source/shotwell/src/Page.vala" - g_return_if_fail (IS_PAGE (self)); #line 1115 "/home/jens/Source/shotwell/src/Page.vala" + g_return_if_fail (IS_PAGE (self)); +#line 1116 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = self->priv->last_timeout_id; -#line 1115 "/home/jens/Source/shotwell/src/Page.vala" +#line 1116 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp0_ != ((guint) 0)) { -#line 7783 "Page.c" +#line 7786 "Page.c" guint _tmp1_ = 0U; -#line 1116 "/home/jens/Source/shotwell/src/Page.vala" +#line 1117 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = self->priv->last_timeout_id; -#line 1116 "/home/jens/Source/shotwell/src/Page.vala" +#line 1117 "/home/jens/Source/shotwell/src/Page.vala" g_source_remove (_tmp1_); -#line 7789 "Page.c" +#line 7792 "Page.c" } } @@ -7793,41 +7796,41 @@ void page_stop_cursor_hiding (Page* self) { void page_suspend_cursor_hiding (Page* self) { gint _tmp0_ = 0; guint _tmp1_ = 0U; -#line 1119 "/home/jens/Source/shotwell/src/Page.vala" - g_return_if_fail (IS_PAGE (self)); #line 1120 "/home/jens/Source/shotwell/src/Page.vala" + g_return_if_fail (IS_PAGE (self)); +#line 1121 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = self->priv->cursor_hide_msec; -#line 1120 "/home/jens/Source/shotwell/src/Page.vala" +#line 1121 "/home/jens/Source/shotwell/src/Page.vala" self->priv->cursor_hide_time_cached = _tmp0_; -#line 1122 "/home/jens/Source/shotwell/src/Page.vala" +#line 1123 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = self->priv->last_timeout_id; -#line 1122 "/home/jens/Source/shotwell/src/Page.vala" +#line 1123 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp1_ != ((guint) 0)) { -#line 7807 "Page.c" +#line 7810 "Page.c" guint _tmp2_ = 0U; -#line 1123 "/home/jens/Source/shotwell/src/Page.vala" +#line 1124 "/home/jens/Source/shotwell/src/Page.vala" _tmp2_ = self->priv->last_timeout_id; -#line 1123 "/home/jens/Source/shotwell/src/Page.vala" +#line 1124 "/home/jens/Source/shotwell/src/Page.vala" g_source_remove (_tmp2_); -#line 7813 "Page.c" +#line 7816 "Page.c" } -#line 1125 "/home/jens/Source/shotwell/src/Page.vala" +#line 1126 "/home/jens/Source/shotwell/src/Page.vala" self->priv->cursor_hide_msec = 0; -#line 7817 "Page.c" +#line 7820 "Page.c" } void page_restore_cursor_hiding (Page* self) { gint _tmp0_ = 0; -#line 1128 "/home/jens/Source/shotwell/src/Page.vala" - g_return_if_fail (IS_PAGE (self)); #line 1129 "/home/jens/Source/shotwell/src/Page.vala" + g_return_if_fail (IS_PAGE (self)); +#line 1130 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = self->priv->cursor_hide_time_cached; -#line 1129 "/home/jens/Source/shotwell/src/Page.vala" - self->priv->cursor_hide_msec = _tmp0_; #line 1130 "/home/jens/Source/shotwell/src/Page.vala" + self->priv->cursor_hide_msec = _tmp0_; +#line 1131 "/home/jens/Source/shotwell/src/Page.vala" page_check_cursor_hiding (self); -#line 7831 "Page.c" +#line 7834 "Page.c" } @@ -7835,29 +7838,29 @@ static void page_real_set_page_cursor (Page* self, GdkCursorType cursor_type) { GdkCursorType _tmp0_ = 0; gboolean _tmp1_ = FALSE; gboolean _tmp2_ = FALSE; -#line 1135 "/home/jens/Source/shotwell/src/Page.vala" +#line 1136 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = cursor_type; -#line 1135 "/home/jens/Source/shotwell/src/Page.vala" +#line 1136 "/home/jens/Source/shotwell/src/Page.vala" self->priv->last_cursor = _tmp0_; -#line 1137 "/home/jens/Source/shotwell/src/Page.vala" +#line 1138 "/home/jens/Source/shotwell/src/Page.vala" _tmp2_ = self->priv->cursor_hidden; -#line 1137 "/home/jens/Source/shotwell/src/Page.vala" +#line 1138 "/home/jens/Source/shotwell/src/Page.vala" if (!_tmp2_) { -#line 7847 "Page.c" +#line 7850 "Page.c" GtkWidget* _tmp3_ = NULL; -#line 1137 "/home/jens/Source/shotwell/src/Page.vala" +#line 1138 "/home/jens/Source/shotwell/src/Page.vala" _tmp3_ = self->priv->event_source; -#line 1137 "/home/jens/Source/shotwell/src/Page.vala" +#line 1138 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = _tmp3_ != NULL; -#line 7853 "Page.c" +#line 7856 "Page.c" } else { -#line 1137 "/home/jens/Source/shotwell/src/Page.vala" +#line 1138 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = FALSE; -#line 7857 "Page.c" +#line 7860 "Page.c" } -#line 1137 "/home/jens/Source/shotwell/src/Page.vala" +#line 1138 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp1_) { -#line 7861 "Page.c" +#line 7864 "Page.c" GdkDisplay* display = NULL; GtkWidget* _tmp4_ = NULL; GdkWindow* _tmp5_ = NULL; @@ -7869,103 +7872,103 @@ static void page_real_set_page_cursor (Page* self, GdkCursorType cursor_type) { GdkCursorType _tmp11_ = 0; GdkCursor* _tmp12_ = NULL; GdkCursor* _tmp13_ = NULL; -#line 1138 "/home/jens/Source/shotwell/src/Page.vala" +#line 1139 "/home/jens/Source/shotwell/src/Page.vala" _tmp4_ = self->priv->event_source; -#line 1138 "/home/jens/Source/shotwell/src/Page.vala" +#line 1139 "/home/jens/Source/shotwell/src/Page.vala" _tmp5_ = gtk_widget_get_window (_tmp4_); -#line 1138 "/home/jens/Source/shotwell/src/Page.vala" +#line 1139 "/home/jens/Source/shotwell/src/Page.vala" _tmp6_ = gdk_window_get_display (_tmp5_); -#line 1138 "/home/jens/Source/shotwell/src/Page.vala" +#line 1139 "/home/jens/Source/shotwell/src/Page.vala" _tmp7_ = _g_object_ref0 (_tmp6_); -#line 1138 "/home/jens/Source/shotwell/src/Page.vala" - display = _tmp7_; #line 1139 "/home/jens/Source/shotwell/src/Page.vala" + display = _tmp7_; +#line 1140 "/home/jens/Source/shotwell/src/Page.vala" _tmp8_ = self->priv->event_source; -#line 1139 "/home/jens/Source/shotwell/src/Page.vala" +#line 1140 "/home/jens/Source/shotwell/src/Page.vala" _tmp9_ = gtk_widget_get_window (_tmp8_); -#line 1139 "/home/jens/Source/shotwell/src/Page.vala" +#line 1140 "/home/jens/Source/shotwell/src/Page.vala" _tmp10_ = display; -#line 1139 "/home/jens/Source/shotwell/src/Page.vala" +#line 1140 "/home/jens/Source/shotwell/src/Page.vala" _tmp11_ = cursor_type; -#line 1139 "/home/jens/Source/shotwell/src/Page.vala" +#line 1140 "/home/jens/Source/shotwell/src/Page.vala" _tmp12_ = gdk_cursor_new_for_display (_tmp10_, _tmp11_); -#line 1139 "/home/jens/Source/shotwell/src/Page.vala" +#line 1140 "/home/jens/Source/shotwell/src/Page.vala" _tmp13_ = _tmp12_; -#line 1139 "/home/jens/Source/shotwell/src/Page.vala" +#line 1140 "/home/jens/Source/shotwell/src/Page.vala" gdk_window_set_cursor (_tmp9_, _tmp13_); -#line 1139 "/home/jens/Source/shotwell/src/Page.vala" +#line 1140 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (_tmp13_); -#line 1137 "/home/jens/Source/shotwell/src/Page.vala" +#line 1138 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (display); -#line 7901 "Page.c" +#line 7904 "Page.c" } } void page_set_page_cursor (Page* self, GdkCursorType cursor_type) { -#line 1134 "/home/jens/Source/shotwell/src/Page.vala" +#line 1135 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (IS_PAGE (self)); -#line 1134 "/home/jens/Source/shotwell/src/Page.vala" +#line 1135 "/home/jens/Source/shotwell/src/Page.vala" PAGE_GET_CLASS (self)->set_page_cursor (self, cursor_type); -#line 7911 "Page.c" +#line 7914 "Page.c" } static gboolean _page_on_hide_cursor_gsource_func (gpointer self) { gboolean result; result = page_on_hide_cursor ((Page*) self); -#line 1152 "/home/jens/Source/shotwell/src/Page.vala" +#line 1153 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 7920 "Page.c" +#line 7923 "Page.c" } static void page_check_cursor_hiding (Page* self) { gboolean _tmp0_ = FALSE; gint _tmp2_ = 0; -#line 1143 "/home/jens/Source/shotwell/src/Page.vala" - g_return_if_fail (IS_PAGE (self)); #line 1144 "/home/jens/Source/shotwell/src/Page.vala" + g_return_if_fail (IS_PAGE (self)); +#line 1145 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = self->priv->cursor_hidden; -#line 1144 "/home/jens/Source/shotwell/src/Page.vala" +#line 1145 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp0_) { -#line 7933 "Page.c" +#line 7936 "Page.c" GdkCursorType _tmp1_ = 0; -#line 1145 "/home/jens/Source/shotwell/src/Page.vala" - self->priv->cursor_hidden = FALSE; #line 1146 "/home/jens/Source/shotwell/src/Page.vala" + self->priv->cursor_hidden = FALSE; +#line 1147 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = self->priv->last_cursor; -#line 1146 "/home/jens/Source/shotwell/src/Page.vala" +#line 1147 "/home/jens/Source/shotwell/src/Page.vala" page_set_page_cursor (self, _tmp1_); -#line 7941 "Page.c" +#line 7944 "Page.c" } -#line 1149 "/home/jens/Source/shotwell/src/Page.vala" +#line 1150 "/home/jens/Source/shotwell/src/Page.vala" _tmp2_ = self->priv->cursor_hide_msec; -#line 1149 "/home/jens/Source/shotwell/src/Page.vala" +#line 1150 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp2_ != 0) { -#line 7947 "Page.c" +#line 7950 "Page.c" guint _tmp3_ = 0U; gint _tmp5_ = 0; guint _tmp6_ = 0U; -#line 1150 "/home/jens/Source/shotwell/src/Page.vala" +#line 1151 "/home/jens/Source/shotwell/src/Page.vala" _tmp3_ = self->priv->last_timeout_id; -#line 1150 "/home/jens/Source/shotwell/src/Page.vala" +#line 1151 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp3_ != ((guint) 0)) { -#line 7955 "Page.c" +#line 7958 "Page.c" guint _tmp4_ = 0U; -#line 1151 "/home/jens/Source/shotwell/src/Page.vala" +#line 1152 "/home/jens/Source/shotwell/src/Page.vala" _tmp4_ = self->priv->last_timeout_id; -#line 1151 "/home/jens/Source/shotwell/src/Page.vala" +#line 1152 "/home/jens/Source/shotwell/src/Page.vala" g_source_remove (_tmp4_); -#line 7961 "Page.c" +#line 7964 "Page.c" } -#line 1152 "/home/jens/Source/shotwell/src/Page.vala" +#line 1153 "/home/jens/Source/shotwell/src/Page.vala" _tmp5_ = self->priv->cursor_hide_msec; -#line 1152 "/home/jens/Source/shotwell/src/Page.vala" +#line 1153 "/home/jens/Source/shotwell/src/Page.vala" _tmp6_ = g_timeout_add_full (G_PRIORITY_DEFAULT, (guint) _tmp5_, _page_on_hide_cursor_gsource_func, g_object_ref (self), g_object_unref); -#line 1152 "/home/jens/Source/shotwell/src/Page.vala" +#line 1153 "/home/jens/Source/shotwell/src/Page.vala" self->priv->last_timeout_id = _tmp6_; -#line 7969 "Page.c" +#line 7972 "Page.c" } } @@ -7973,15 +7976,15 @@ static void page_check_cursor_hiding (Page* self) { static gboolean page_on_hide_cursor (Page* self) { gboolean result = FALSE; GtkWidget* _tmp0_ = NULL; -#line 1156 "/home/jens/Source/shotwell/src/Page.vala" - g_return_val_if_fail (IS_PAGE (self), FALSE); #line 1157 "/home/jens/Source/shotwell/src/Page.vala" + g_return_val_if_fail (IS_PAGE (self), FALSE); +#line 1158 "/home/jens/Source/shotwell/src/Page.vala" self->priv->cursor_hidden = TRUE; -#line 1159 "/home/jens/Source/shotwell/src/Page.vala" +#line 1160 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = self->priv->event_source; -#line 1159 "/home/jens/Source/shotwell/src/Page.vala" +#line 1160 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp0_ != NULL) { -#line 7985 "Page.c" +#line 7988 "Page.c" GdkDisplay* display = NULL; GtkWidget* _tmp1_ = NULL; GdkWindow* _tmp2_ = NULL; @@ -7992,41 +7995,41 @@ static gboolean page_on_hide_cursor (Page* self) { GdkDisplay* _tmp7_ = NULL; GdkCursor* _tmp8_ = NULL; GdkCursor* _tmp9_ = NULL; -#line 1160 "/home/jens/Source/shotwell/src/Page.vala" +#line 1161 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = self->priv->event_source; -#line 1160 "/home/jens/Source/shotwell/src/Page.vala" +#line 1161 "/home/jens/Source/shotwell/src/Page.vala" _tmp2_ = gtk_widget_get_window (_tmp1_); -#line 1160 "/home/jens/Source/shotwell/src/Page.vala" +#line 1161 "/home/jens/Source/shotwell/src/Page.vala" _tmp3_ = gdk_window_get_display (_tmp2_); -#line 1160 "/home/jens/Source/shotwell/src/Page.vala" +#line 1161 "/home/jens/Source/shotwell/src/Page.vala" _tmp4_ = _g_object_ref0 (_tmp3_); -#line 1160 "/home/jens/Source/shotwell/src/Page.vala" - display = _tmp4_; #line 1161 "/home/jens/Source/shotwell/src/Page.vala" + display = _tmp4_; +#line 1162 "/home/jens/Source/shotwell/src/Page.vala" _tmp5_ = self->priv->event_source; -#line 1161 "/home/jens/Source/shotwell/src/Page.vala" +#line 1162 "/home/jens/Source/shotwell/src/Page.vala" _tmp6_ = gtk_widget_get_window (_tmp5_); -#line 1161 "/home/jens/Source/shotwell/src/Page.vala" +#line 1162 "/home/jens/Source/shotwell/src/Page.vala" _tmp7_ = display; -#line 1161 "/home/jens/Source/shotwell/src/Page.vala" +#line 1162 "/home/jens/Source/shotwell/src/Page.vala" _tmp8_ = gdk_cursor_new_for_display (_tmp7_, GDK_BLANK_CURSOR); -#line 1161 "/home/jens/Source/shotwell/src/Page.vala" +#line 1162 "/home/jens/Source/shotwell/src/Page.vala" _tmp9_ = _tmp8_; -#line 1161 "/home/jens/Source/shotwell/src/Page.vala" +#line 1162 "/home/jens/Source/shotwell/src/Page.vala" gdk_window_set_cursor (_tmp6_, _tmp9_); -#line 1161 "/home/jens/Source/shotwell/src/Page.vala" +#line 1162 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (_tmp9_); -#line 1159 "/home/jens/Source/shotwell/src/Page.vala" +#line 1160 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (display); -#line 8022 "Page.c" +#line 8025 "Page.c" } -#line 1165 "/home/jens/Source/shotwell/src/Page.vala" +#line 1166 "/home/jens/Source/shotwell/src/Page.vala" self->priv->last_timeout_id = (guint) 0; -#line 1167 "/home/jens/Source/shotwell/src/Page.vala" +#line 1168 "/home/jens/Source/shotwell/src/Page.vala" result = FALSE; -#line 1167 "/home/jens/Source/shotwell/src/Page.vala" +#line 1168 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 8030 "Page.c" +#line 8033 "Page.c" } @@ -8035,25 +8038,25 @@ void page_update_menu_item_label (Page* self, const gchar* id, const gchar* new_ AppWindow* _tmp1_ = NULL; const gchar* _tmp2_ = NULL; const gchar* _tmp3_ = NULL; -#line 1170 "/home/jens/Source/shotwell/src/Page.vala" +#line 1171 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (IS_PAGE (self)); -#line 1170 "/home/jens/Source/shotwell/src/Page.vala" +#line 1171 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (id != NULL); -#line 1170 "/home/jens/Source/shotwell/src/Page.vala" +#line 1171 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (new_label != NULL); -#line 1172 "/home/jens/Source/shotwell/src/Page.vala" +#line 1173 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = app_window_get_instance (); -#line 1172 "/home/jens/Source/shotwell/src/Page.vala" +#line 1173 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = _tmp0_; -#line 1172 "/home/jens/Source/shotwell/src/Page.vala" +#line 1173 "/home/jens/Source/shotwell/src/Page.vala" _tmp2_ = id; -#line 1172 "/home/jens/Source/shotwell/src/Page.vala" +#line 1173 "/home/jens/Source/shotwell/src/Page.vala" _tmp3_ = new_label; -#line 1172 "/home/jens/Source/shotwell/src/Page.vala" +#line 1173 "/home/jens/Source/shotwell/src/Page.vala" app_window_update_menu_item_label (_tmp1_, _tmp2_, _tmp3_); -#line 1172 "/home/jens/Source/shotwell/src/Page.vala" +#line 1173 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (_tmp1_); -#line 8057 "Page.c" +#line 8060 "Page.c" } @@ -8063,33 +8066,33 @@ GMenuModel* page_find_extension_point (Page* self, GMenuModel* model, const gcha GMenuModel* _tmp0_ = NULL; gint _tmp1_ = 0; GMenuModel* section = NULL; -#line 1175 "/home/jens/Source/shotwell/src/Page.vala" +#line 1176 "/home/jens/Source/shotwell/src/Page.vala" g_return_val_if_fail (IS_PAGE (self), NULL); -#line 1175 "/home/jens/Source/shotwell/src/Page.vala" +#line 1176 "/home/jens/Source/shotwell/src/Page.vala" g_return_val_if_fail (G_IS_MENU_MODEL (model), NULL); -#line 1175 "/home/jens/Source/shotwell/src/Page.vala" +#line 1176 "/home/jens/Source/shotwell/src/Page.vala" g_return_val_if_fail (extension_point != NULL, NULL); -#line 1177 "/home/jens/Source/shotwell/src/Page.vala" +#line 1178 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = model; -#line 1177 "/home/jens/Source/shotwell/src/Page.vala" +#line 1178 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = g_menu_model_get_n_items (_tmp0_); -#line 1177 "/home/jens/Source/shotwell/src/Page.vala" - items = _tmp1_; #line 1178 "/home/jens/Source/shotwell/src/Page.vala" + items = _tmp1_; +#line 1179 "/home/jens/Source/shotwell/src/Page.vala" section = NULL; -#line 8081 "Page.c" +#line 8084 "Page.c" { gint i = 0; -#line 1180 "/home/jens/Source/shotwell/src/Page.vala" +#line 1181 "/home/jens/Source/shotwell/src/Page.vala" i = 0; -#line 8086 "Page.c" +#line 8089 "Page.c" { gboolean _tmp2_ = FALSE; -#line 1180 "/home/jens/Source/shotwell/src/Page.vala" +#line 1181 "/home/jens/Source/shotwell/src/Page.vala" _tmp2_ = TRUE; -#line 1180 "/home/jens/Source/shotwell/src/Page.vala" +#line 1181 "/home/jens/Source/shotwell/src/Page.vala" while (TRUE) { -#line 8093 "Page.c" +#line 8096 "Page.c" gboolean _tmp4_ = FALSE; gint _tmp5_ = 0; gint _tmp6_ = 0; @@ -8098,71 +8101,71 @@ GMenuModel* page_find_extension_point (Page* self, GMenuModel* model, const gcha gint _tmp9_ = 0; const gchar* _tmp10_ = NULL; const gchar* _tmp11_ = NULL; -#line 1180 "/home/jens/Source/shotwell/src/Page.vala" +#line 1181 "/home/jens/Source/shotwell/src/Page.vala" if (!_tmp2_) { -#line 8104 "Page.c" +#line 8107 "Page.c" gint _tmp3_ = 0; -#line 1180 "/home/jens/Source/shotwell/src/Page.vala" +#line 1181 "/home/jens/Source/shotwell/src/Page.vala" _tmp3_ = i; -#line 1180 "/home/jens/Source/shotwell/src/Page.vala" +#line 1181 "/home/jens/Source/shotwell/src/Page.vala" i = _tmp3_ + 1; -#line 8110 "Page.c" +#line 8113 "Page.c" } -#line 1180 "/home/jens/Source/shotwell/src/Page.vala" +#line 1181 "/home/jens/Source/shotwell/src/Page.vala" _tmp2_ = FALSE; -#line 1180 "/home/jens/Source/shotwell/src/Page.vala" +#line 1181 "/home/jens/Source/shotwell/src/Page.vala" _tmp5_ = i; -#line 1180 "/home/jens/Source/shotwell/src/Page.vala" +#line 1181 "/home/jens/Source/shotwell/src/Page.vala" _tmp6_ = items; -#line 1180 "/home/jens/Source/shotwell/src/Page.vala" +#line 1181 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp5_ < _tmp6_) { -#line 8120 "Page.c" +#line 8123 "Page.c" GMenuModel* _tmp7_ = NULL; -#line 1180 "/home/jens/Source/shotwell/src/Page.vala" +#line 1181 "/home/jens/Source/shotwell/src/Page.vala" _tmp7_ = section; -#line 1180 "/home/jens/Source/shotwell/src/Page.vala" +#line 1181 "/home/jens/Source/shotwell/src/Page.vala" _tmp4_ = _tmp7_ == NULL; -#line 8126 "Page.c" +#line 8129 "Page.c" } else { -#line 1180 "/home/jens/Source/shotwell/src/Page.vala" +#line 1181 "/home/jens/Source/shotwell/src/Page.vala" _tmp4_ = FALSE; -#line 8130 "Page.c" +#line 8133 "Page.c" } -#line 1180 "/home/jens/Source/shotwell/src/Page.vala" +#line 1181 "/home/jens/Source/shotwell/src/Page.vala" if (!_tmp4_) { -#line 1180 "/home/jens/Source/shotwell/src/Page.vala" +#line 1181 "/home/jens/Source/shotwell/src/Page.vala" break; -#line 8136 "Page.c" +#line 8139 "Page.c" } -#line 1181 "/home/jens/Source/shotwell/src/Page.vala" - name = NULL; #line 1182 "/home/jens/Source/shotwell/src/Page.vala" + name = NULL; +#line 1183 "/home/jens/Source/shotwell/src/Page.vala" _tmp8_ = model; -#line 1182 "/home/jens/Source/shotwell/src/Page.vala" +#line 1183 "/home/jens/Source/shotwell/src/Page.vala" _tmp9_ = i; -#line 1182 "/home/jens/Source/shotwell/src/Page.vala" - g_menu_model_get_item_attribute (_tmp8_, _tmp9_, "id", "s", &name, NULL); #line 1183 "/home/jens/Source/shotwell/src/Page.vala" + g_menu_model_get_item_attribute (_tmp8_, _tmp9_, "id", "s", &name, NULL); +#line 1184 "/home/jens/Source/shotwell/src/Page.vala" _tmp10_ = name; -#line 1183 "/home/jens/Source/shotwell/src/Page.vala" +#line 1184 "/home/jens/Source/shotwell/src/Page.vala" _tmp11_ = extension_point; -#line 1183 "/home/jens/Source/shotwell/src/Page.vala" +#line 1184 "/home/jens/Source/shotwell/src/Page.vala" if (g_strcmp0 (_tmp10_, _tmp11_) == 0) { -#line 8152 "Page.c" +#line 8155 "Page.c" GMenuModel* _tmp12_ = NULL; gint _tmp13_ = 0; GMenuModel* _tmp14_ = NULL; -#line 1184 "/home/jens/Source/shotwell/src/Page.vala" +#line 1185 "/home/jens/Source/shotwell/src/Page.vala" _tmp12_ = model; -#line 1184 "/home/jens/Source/shotwell/src/Page.vala" +#line 1185 "/home/jens/Source/shotwell/src/Page.vala" _tmp13_ = i; -#line 1184 "/home/jens/Source/shotwell/src/Page.vala" +#line 1185 "/home/jens/Source/shotwell/src/Page.vala" _tmp14_ = g_menu_model_get_item_link (_tmp12_, _tmp13_, G_MENU_LINK_SECTION); -#line 1184 "/home/jens/Source/shotwell/src/Page.vala" +#line 1185 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (section); -#line 1184 "/home/jens/Source/shotwell/src/Page.vala" +#line 1185 "/home/jens/Source/shotwell/src/Page.vala" section = _tmp14_; -#line 8166 "Page.c" +#line 8169 "Page.c" } else { GMenuModel* subsection = NULL; GMenuModel* _tmp15_ = NULL; @@ -8172,45 +8175,45 @@ GMenuModel* page_find_extension_point (Page* self, GMenuModel* model, const gcha gint sub_items = 0; GMenuModel* _tmp19_ = NULL; gint _tmp20_ = 0; -#line 1186 "/home/jens/Source/shotwell/src/Page.vala" +#line 1187 "/home/jens/Source/shotwell/src/Page.vala" _tmp15_ = model; -#line 1186 "/home/jens/Source/shotwell/src/Page.vala" +#line 1187 "/home/jens/Source/shotwell/src/Page.vala" _tmp16_ = i; -#line 1186 "/home/jens/Source/shotwell/src/Page.vala" +#line 1187 "/home/jens/Source/shotwell/src/Page.vala" _tmp17_ = g_menu_model_get_item_link (_tmp15_, _tmp16_, G_MENU_LINK_SECTION); -#line 1186 "/home/jens/Source/shotwell/src/Page.vala" +#line 1187 "/home/jens/Source/shotwell/src/Page.vala" subsection = _tmp17_; -#line 1188 "/home/jens/Source/shotwell/src/Page.vala" +#line 1189 "/home/jens/Source/shotwell/src/Page.vala" _tmp18_ = subsection; -#line 1188 "/home/jens/Source/shotwell/src/Page.vala" - if (_tmp18_ == NULL) { #line 1189 "/home/jens/Source/shotwell/src/Page.vala" + if (_tmp18_ == NULL) { +#line 1190 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (subsection); -#line 1189 "/home/jens/Source/shotwell/src/Page.vala" +#line 1190 "/home/jens/Source/shotwell/src/Page.vala" _g_free0 (name); -#line 1189 "/home/jens/Source/shotwell/src/Page.vala" +#line 1190 "/home/jens/Source/shotwell/src/Page.vala" continue; -#line 8194 "Page.c" +#line 8197 "Page.c" } -#line 1192 "/home/jens/Source/shotwell/src/Page.vala" +#line 1193 "/home/jens/Source/shotwell/src/Page.vala" _tmp19_ = subsection; -#line 1192 "/home/jens/Source/shotwell/src/Page.vala" +#line 1193 "/home/jens/Source/shotwell/src/Page.vala" _tmp20_ = g_menu_model_get_n_items (_tmp19_); -#line 1192 "/home/jens/Source/shotwell/src/Page.vala" +#line 1193 "/home/jens/Source/shotwell/src/Page.vala" sub_items = _tmp20_; -#line 8202 "Page.c" +#line 8205 "Page.c" { gint j = 0; -#line 1193 "/home/jens/Source/shotwell/src/Page.vala" +#line 1194 "/home/jens/Source/shotwell/src/Page.vala" j = 0; -#line 8207 "Page.c" +#line 8210 "Page.c" { gboolean _tmp21_ = FALSE; -#line 1193 "/home/jens/Source/shotwell/src/Page.vala" +#line 1194 "/home/jens/Source/shotwell/src/Page.vala" _tmp21_ = TRUE; -#line 1193 "/home/jens/Source/shotwell/src/Page.vala" +#line 1194 "/home/jens/Source/shotwell/src/Page.vala" while (TRUE) { -#line 8214 "Page.c" +#line 8217 "Page.c" gboolean _tmp23_ = FALSE; gint _tmp24_ = 0; gint _tmp25_ = 0; @@ -8219,91 +8222,91 @@ GMenuModel* page_find_extension_point (Page* self, GMenuModel* model, const gcha gint _tmp28_ = 0; GMenuModel* _tmp29_ = NULL; GMenuModel* _tmp30_ = NULL; -#line 1193 "/home/jens/Source/shotwell/src/Page.vala" +#line 1194 "/home/jens/Source/shotwell/src/Page.vala" if (!_tmp21_) { -#line 8225 "Page.c" +#line 8228 "Page.c" gint _tmp22_ = 0; -#line 1193 "/home/jens/Source/shotwell/src/Page.vala" +#line 1194 "/home/jens/Source/shotwell/src/Page.vala" _tmp22_ = j; -#line 1193 "/home/jens/Source/shotwell/src/Page.vala" +#line 1194 "/home/jens/Source/shotwell/src/Page.vala" j = _tmp22_ + 1; -#line 8231 "Page.c" +#line 8234 "Page.c" } -#line 1193 "/home/jens/Source/shotwell/src/Page.vala" +#line 1194 "/home/jens/Source/shotwell/src/Page.vala" _tmp21_ = FALSE; -#line 1193 "/home/jens/Source/shotwell/src/Page.vala" +#line 1194 "/home/jens/Source/shotwell/src/Page.vala" _tmp24_ = j; -#line 1193 "/home/jens/Source/shotwell/src/Page.vala" +#line 1194 "/home/jens/Source/shotwell/src/Page.vala" _tmp25_ = sub_items; -#line 1193 "/home/jens/Source/shotwell/src/Page.vala" +#line 1194 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp24_ < _tmp25_) { -#line 8241 "Page.c" +#line 8244 "Page.c" GMenuModel* _tmp26_ = NULL; -#line 1193 "/home/jens/Source/shotwell/src/Page.vala" +#line 1194 "/home/jens/Source/shotwell/src/Page.vala" _tmp26_ = section; -#line 1193 "/home/jens/Source/shotwell/src/Page.vala" +#line 1194 "/home/jens/Source/shotwell/src/Page.vala" _tmp23_ = _tmp26_ == NULL; -#line 8247 "Page.c" +#line 8250 "Page.c" } else { -#line 1193 "/home/jens/Source/shotwell/src/Page.vala" +#line 1194 "/home/jens/Source/shotwell/src/Page.vala" _tmp23_ = FALSE; -#line 8251 "Page.c" +#line 8254 "Page.c" } -#line 1193 "/home/jens/Source/shotwell/src/Page.vala" +#line 1194 "/home/jens/Source/shotwell/src/Page.vala" if (!_tmp23_) { -#line 1193 "/home/jens/Source/shotwell/src/Page.vala" +#line 1194 "/home/jens/Source/shotwell/src/Page.vala" break; -#line 8257 "Page.c" +#line 8260 "Page.c" } -#line 1194 "/home/jens/Source/shotwell/src/Page.vala" +#line 1195 "/home/jens/Source/shotwell/src/Page.vala" _tmp27_ = subsection; -#line 1194 "/home/jens/Source/shotwell/src/Page.vala" +#line 1195 "/home/jens/Source/shotwell/src/Page.vala" _tmp28_ = j; -#line 1194 "/home/jens/Source/shotwell/src/Page.vala" +#line 1195 "/home/jens/Source/shotwell/src/Page.vala" _tmp29_ = g_menu_model_get_item_link (_tmp27_, _tmp28_, G_MENU_LINK_SUBMENU); -#line 1194 "/home/jens/Source/shotwell/src/Page.vala" +#line 1195 "/home/jens/Source/shotwell/src/Page.vala" submenu = _tmp29_; -#line 1196 "/home/jens/Source/shotwell/src/Page.vala" +#line 1197 "/home/jens/Source/shotwell/src/Page.vala" _tmp30_ = submenu; -#line 1196 "/home/jens/Source/shotwell/src/Page.vala" +#line 1197 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp30_ != NULL) { -#line 8271 "Page.c" +#line 8274 "Page.c" GMenuModel* _tmp31_ = NULL; const gchar* _tmp32_ = NULL; GMenuModel* _tmp33_ = NULL; -#line 1197 "/home/jens/Source/shotwell/src/Page.vala" +#line 1198 "/home/jens/Source/shotwell/src/Page.vala" _tmp31_ = submenu; -#line 1197 "/home/jens/Source/shotwell/src/Page.vala" +#line 1198 "/home/jens/Source/shotwell/src/Page.vala" _tmp32_ = extension_point; -#line 1197 "/home/jens/Source/shotwell/src/Page.vala" +#line 1198 "/home/jens/Source/shotwell/src/Page.vala" _tmp33_ = page_find_extension_point (self, _tmp31_, _tmp32_); -#line 1197 "/home/jens/Source/shotwell/src/Page.vala" +#line 1198 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (section); -#line 1197 "/home/jens/Source/shotwell/src/Page.vala" +#line 1198 "/home/jens/Source/shotwell/src/Page.vala" section = _tmp33_; -#line 8285 "Page.c" +#line 8288 "Page.c" } -#line 1193 "/home/jens/Source/shotwell/src/Page.vala" +#line 1194 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (submenu); -#line 8289 "Page.c" +#line 8292 "Page.c" } } } -#line 1183 "/home/jens/Source/shotwell/src/Page.vala" +#line 1184 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (subsection); -#line 8295 "Page.c" +#line 8298 "Page.c" } -#line 1180 "/home/jens/Source/shotwell/src/Page.vala" +#line 1181 "/home/jens/Source/shotwell/src/Page.vala" _g_free0 (name); -#line 8299 "Page.c" +#line 8302 "Page.c" } } } -#line 1204 "/home/jens/Source/shotwell/src/Page.vala" +#line 1205 "/home/jens/Source/shotwell/src/Page.vala" result = section; -#line 1204 "/home/jens/Source/shotwell/src/Page.vala" +#line 1205 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 8307 "Page.c" +#line 8310 "Page.c" } @@ -8416,7 +8419,7 @@ static void page_class_init (PageClass * klass) { ((PageClass *) klass)->set_page_cursor = (void (*)(Page*, GdkCursorType)) page_real_set_page_cursor; #line 58 "/home/jens/Source/shotwell/src/Page.vala" G_OBJECT_CLASS (klass)->finalize = page_finalize; -#line 8420 "Page.c" +#line 8423 "Page.c" } @@ -8474,7 +8477,7 @@ static void page_instance_init (Page * self) { self->priv->update_actions_scheduler = NULL; #line 205 "/home/jens/Source/shotwell/src/Page.vala" self->priv->menubar_injected = FALSE; -#line 8478 "Page.c" +#line 8481 "Page.c" } @@ -8500,7 +8503,7 @@ static void page_finalize (GObject* obj) { _one_shot_scheduler_unref0 (self->priv->update_actions_scheduler); #line 58 "/home/jens/Source/shotwell/src/Page.vala" G_OBJECT_CLASS (page_parent_class)->finalize (obj); -#line 8504 "Page.c" +#line 8507 "Page.c" } @@ -8529,30 +8532,30 @@ GType checkerboard_page_activator_get_type (void) { static void _checkerboard_page_on_items_hidden_view_collection_items_hidden (ViewCollection* _sender, GeeCollection* hidden, gpointer self) { -#line 1266 "/home/jens/Source/shotwell/src/Page.vala" +#line 1267 "/home/jens/Source/shotwell/src/Page.vala" checkerboard_page_on_items_hidden ((CheckerboardPage*) self, hidden); -#line 8535 "Page.c" +#line 8538 "Page.c" } static void _checkerboard_page_on_contents_altered_data_collection_contents_altered (DataCollection* _sender, GeeIterable* added, GeeIterable* removed, gpointer self) { -#line 1267 "/home/jens/Source/shotwell/src/Page.vala" +#line 1268 "/home/jens/Source/shotwell/src/Page.vala" checkerboard_page_on_contents_altered ((CheckerboardPage*) self, added, removed); -#line 8542 "Page.c" +#line 8545 "Page.c" } static void _checkerboard_page_on_items_state_changed_view_collection_items_state_changed (ViewCollection* _sender, GeeIterable* changed, gpointer self) { -#line 1268 "/home/jens/Source/shotwell/src/Page.vala" +#line 1269 "/home/jens/Source/shotwell/src/Page.vala" checkerboard_page_on_items_state_changed ((CheckerboardPage*) self, changed); -#line 8549 "Page.c" +#line 8552 "Page.c" } static void _checkerboard_page_on_items_visibility_changed_view_collection_items_visibility_changed (ViewCollection* _sender, GeeCollection* changed, gpointer self) { -#line 1269 "/home/jens/Source/shotwell/src/Page.vala" +#line 1270 "/home/jens/Source/shotwell/src/Page.vala" checkerboard_page_on_items_visibility_changed ((CheckerboardPage*) self, changed); -#line 8556 "Page.c" +#line 8559 "Page.c" } @@ -8581,141 +8584,141 @@ CheckerboardPage* checkerboard_page_construct (GType object_type, const gchar* p ViewCollection* _tmp20_ = NULL; ViewCollection* _tmp21_ = NULL; ViewCollection* _tmp22_ = NULL; -#line 1243 "/home/jens/Source/shotwell/src/Page.vala" - g_return_val_if_fail (page_name != NULL, NULL); #line 1244 "/home/jens/Source/shotwell/src/Page.vala" + g_return_val_if_fail (page_name != NULL, NULL); +#line 1245 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = page_name; -#line 1244 "/home/jens/Source/shotwell/src/Page.vala" +#line 1245 "/home/jens/Source/shotwell/src/Page.vala" self = (CheckerboardPage*) page_construct (object_type, _tmp0_); -#line 1246 "/home/jens/Source/shotwell/src/Page.vala" +#line 1247 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 1246 "/home/jens/Source/shotwell/src/Page.vala" +#line 1247 "/home/jens/Source/shotwell/src/Page.vala" _tmp2_ = _tmp1_; -#line 1246 "/home/jens/Source/shotwell/src/Page.vala" +#line 1247 "/home/jens/Source/shotwell/src/Page.vala" _tmp3_ = checkerboard_layout_new (_tmp2_); -#line 1246 "/home/jens/Source/shotwell/src/Page.vala" +#line 1247 "/home/jens/Source/shotwell/src/Page.vala" g_object_ref_sink (_tmp3_); -#line 1246 "/home/jens/Source/shotwell/src/Page.vala" +#line 1247 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (self->priv->layout); -#line 1246 "/home/jens/Source/shotwell/src/Page.vala" +#line 1247 "/home/jens/Source/shotwell/src/Page.vala" self->priv->layout = _tmp3_; -#line 1246 "/home/jens/Source/shotwell/src/Page.vala" - _data_collection_unref0 (_tmp2_); #line 1247 "/home/jens/Source/shotwell/src/Page.vala" + _data_collection_unref0 (_tmp2_); +#line 1248 "/home/jens/Source/shotwell/src/Page.vala" _tmp4_ = self->priv->layout; -#line 1247 "/home/jens/Source/shotwell/src/Page.vala" +#line 1248 "/home/jens/Source/shotwell/src/Page.vala" _tmp5_ = page_name; -#line 1247 "/home/jens/Source/shotwell/src/Page.vala" +#line 1248 "/home/jens/Source/shotwell/src/Page.vala" checkerboard_layout_set_name (_tmp4_, _tmp5_); -#line 1249 "/home/jens/Source/shotwell/src/Page.vala" +#line 1250 "/home/jens/Source/shotwell/src/Page.vala" _tmp6_ = self->priv->layout; -#line 1249 "/home/jens/Source/shotwell/src/Page.vala" +#line 1250 "/home/jens/Source/shotwell/src/Page.vala" page_set_event_source (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, gtk_widget_get_type (), GtkWidget)); -#line 1251 "/home/jens/Source/shotwell/src/Page.vala" - gtk_container_set_border_width (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_container_get_type (), GtkContainer), (guint) 0); #line 1252 "/home/jens/Source/shotwell/src/Page.vala" + gtk_container_set_border_width (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_container_get_type (), GtkContainer), (guint) 0); +#line 1253 "/home/jens/Source/shotwell/src/Page.vala" gtk_scrolled_window_set_shadow_type (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_scrolled_window_get_type (), GtkScrolledWindow), GTK_SHADOW_NONE); -#line 1254 "/home/jens/Source/shotwell/src/Page.vala" +#line 1255 "/home/jens/Source/shotwell/src/Page.vala" _tmp7_ = self->priv->viewport; -#line 1254 "/home/jens/Source/shotwell/src/Page.vala" - gtk_container_set_border_width (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_container_get_type (), GtkContainer), (guint) 0); #line 1255 "/home/jens/Source/shotwell/src/Page.vala" + gtk_container_set_border_width (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_container_get_type (), GtkContainer), (guint) 0); +#line 1256 "/home/jens/Source/shotwell/src/Page.vala" _tmp8_ = self->priv->viewport; -#line 1255 "/home/jens/Source/shotwell/src/Page.vala" +#line 1256 "/home/jens/Source/shotwell/src/Page.vala" gtk_viewport_set_shadow_type (_tmp8_, GTK_SHADOW_NONE); -#line 1257 "/home/jens/Source/shotwell/src/Page.vala" +#line 1258 "/home/jens/Source/shotwell/src/Page.vala" _tmp9_ = self->priv->viewport; -#line 1257 "/home/jens/Source/shotwell/src/Page.vala" +#line 1258 "/home/jens/Source/shotwell/src/Page.vala" _tmp10_ = self->priv->layout; -#line 1257 "/home/jens/Source/shotwell/src/Page.vala" +#line 1258 "/home/jens/Source/shotwell/src/Page.vala" gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, gtk_widget_get_type (), GtkWidget)); -#line 1261 "/home/jens/Source/shotwell/src/Page.vala" +#line 1262 "/home/jens/Source/shotwell/src/Page.vala" _tmp11_ = self->priv->layout; -#line 1261 "/home/jens/Source/shotwell/src/Page.vala" +#line 1262 "/home/jens/Source/shotwell/src/Page.vala" _tmp12_ = gtk_scrolled_window_get_hadjustment (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_scrolled_window_get_type (), GtkScrolledWindow)); -#line 1261 "/home/jens/Source/shotwell/src/Page.vala" +#line 1262 "/home/jens/Source/shotwell/src/Page.vala" _tmp13_ = gtk_scrolled_window_get_vadjustment (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_scrolled_window_get_type (), GtkScrolledWindow)); -#line 1261 "/home/jens/Source/shotwell/src/Page.vala" +#line 1262 "/home/jens/Source/shotwell/src/Page.vala" checkerboard_layout_set_adjustments (_tmp11_, _tmp12_, _tmp13_); -#line 1263 "/home/jens/Source/shotwell/src/Page.vala" +#line 1264 "/home/jens/Source/shotwell/src/Page.vala" _tmp14_ = self->priv->viewport; -#line 1263 "/home/jens/Source/shotwell/src/Page.vala" +#line 1264 "/home/jens/Source/shotwell/src/Page.vala" gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, gtk_widget_get_type (), GtkWidget)); -#line 1266 "/home/jens/Source/shotwell/src/Page.vala" +#line 1267 "/home/jens/Source/shotwell/src/Page.vala" _tmp15_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 1266 "/home/jens/Source/shotwell/src/Page.vala" +#line 1267 "/home/jens/Source/shotwell/src/Page.vala" _tmp16_ = _tmp15_; -#line 1266 "/home/jens/Source/shotwell/src/Page.vala" +#line 1267 "/home/jens/Source/shotwell/src/Page.vala" g_signal_connect_object (_tmp16_, "items-hidden", (GCallback) _checkerboard_page_on_items_hidden_view_collection_items_hidden, self, 0); -#line 1266 "/home/jens/Source/shotwell/src/Page.vala" - _data_collection_unref0 (_tmp16_); #line 1267 "/home/jens/Source/shotwell/src/Page.vala" + _data_collection_unref0 (_tmp16_); +#line 1268 "/home/jens/Source/shotwell/src/Page.vala" _tmp17_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 1267 "/home/jens/Source/shotwell/src/Page.vala" +#line 1268 "/home/jens/Source/shotwell/src/Page.vala" _tmp18_ = _tmp17_; -#line 1267 "/home/jens/Source/shotwell/src/Page.vala" +#line 1268 "/home/jens/Source/shotwell/src/Page.vala" g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, TYPE_DATA_COLLECTION, DataCollection), "contents-altered", (GCallback) _checkerboard_page_on_contents_altered_data_collection_contents_altered, self, 0); -#line 1267 "/home/jens/Source/shotwell/src/Page.vala" - _data_collection_unref0 (_tmp18_); #line 1268 "/home/jens/Source/shotwell/src/Page.vala" + _data_collection_unref0 (_tmp18_); +#line 1269 "/home/jens/Source/shotwell/src/Page.vala" _tmp19_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 1268 "/home/jens/Source/shotwell/src/Page.vala" +#line 1269 "/home/jens/Source/shotwell/src/Page.vala" _tmp20_ = _tmp19_; -#line 1268 "/home/jens/Source/shotwell/src/Page.vala" +#line 1269 "/home/jens/Source/shotwell/src/Page.vala" g_signal_connect_object (_tmp20_, "items-state-changed", (GCallback) _checkerboard_page_on_items_state_changed_view_collection_items_state_changed, self, 0); -#line 1268 "/home/jens/Source/shotwell/src/Page.vala" - _data_collection_unref0 (_tmp20_); #line 1269 "/home/jens/Source/shotwell/src/Page.vala" + _data_collection_unref0 (_tmp20_); +#line 1270 "/home/jens/Source/shotwell/src/Page.vala" _tmp21_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 1269 "/home/jens/Source/shotwell/src/Page.vala" +#line 1270 "/home/jens/Source/shotwell/src/Page.vala" _tmp22_ = _tmp21_; -#line 1269 "/home/jens/Source/shotwell/src/Page.vala" +#line 1270 "/home/jens/Source/shotwell/src/Page.vala" g_signal_connect_object (_tmp22_, "items-visibility-changed", (GCallback) _checkerboard_page_on_items_visibility_changed_view_collection_items_visibility_changed, self, 0); -#line 1269 "/home/jens/Source/shotwell/src/Page.vala" +#line 1270 "/home/jens/Source/shotwell/src/Page.vala" _data_collection_unref0 (_tmp22_); -#line 1272 "/home/jens/Source/shotwell/src/Page.vala" +#line 1273 "/home/jens/Source/shotwell/src/Page.vala" gtk_scrolled_window_set_policy (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_scrolled_window_get_type (), GtkScrolledWindow), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); -#line 1243 "/home/jens/Source/shotwell/src/Page.vala" +#line 1244 "/home/jens/Source/shotwell/src/Page.vala" return self; -#line 8681 "Page.c" +#line 8684 "Page.c" } void checkerboard_page_init_item_context_menu (CheckerboardPage* self, const gchar* path) { const gchar* _tmp0_ = NULL; gchar* _tmp1_ = NULL; -#line 1275 "/home/jens/Source/shotwell/src/Page.vala" +#line 1276 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (IS_CHECKERBOARD_PAGE (self)); -#line 1275 "/home/jens/Source/shotwell/src/Page.vala" - g_return_if_fail (path != NULL); #line 1276 "/home/jens/Source/shotwell/src/Page.vala" + g_return_if_fail (path != NULL); +#line 1277 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = path; -#line 1276 "/home/jens/Source/shotwell/src/Page.vala" +#line 1277 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = g_strdup (_tmp0_); -#line 1276 "/home/jens/Source/shotwell/src/Page.vala" +#line 1277 "/home/jens/Source/shotwell/src/Page.vala" _g_free0 (self->priv->item_context_menu_path); -#line 1276 "/home/jens/Source/shotwell/src/Page.vala" +#line 1277 "/home/jens/Source/shotwell/src/Page.vala" self->priv->item_context_menu_path = _tmp1_; -#line 8700 "Page.c" +#line 8703 "Page.c" } void checkerboard_page_init_page_context_menu (CheckerboardPage* self, const gchar* path) { const gchar* _tmp0_ = NULL; gchar* _tmp1_ = NULL; -#line 1279 "/home/jens/Source/shotwell/src/Page.vala" +#line 1280 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (IS_CHECKERBOARD_PAGE (self)); -#line 1279 "/home/jens/Source/shotwell/src/Page.vala" - g_return_if_fail (path != NULL); #line 1280 "/home/jens/Source/shotwell/src/Page.vala" + g_return_if_fail (path != NULL); +#line 1281 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = path; -#line 1280 "/home/jens/Source/shotwell/src/Page.vala" +#line 1281 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = g_strdup (_tmp0_); -#line 1280 "/home/jens/Source/shotwell/src/Page.vala" +#line 1281 "/home/jens/Source/shotwell/src/Page.vala" _g_free0 (self->priv->page_context_menu_path); -#line 1280 "/home/jens/Source/shotwell/src/Page.vala" +#line 1281 "/home/jens/Source/shotwell/src/Page.vala" self->priv->page_context_menu_path = _tmp1_; -#line 8719 "Page.c" +#line 8722 "Page.c" } @@ -8726,44 +8729,44 @@ GtkMenu* checkerboard_page_get_context_menu (CheckerboardPage* self) { ViewCollection* _tmp2_ = NULL; gint _tmp3_ = 0; gboolean _tmp4_ = FALSE; -#line 1283 "/home/jens/Source/shotwell/src/Page.vala" +#line 1284 "/home/jens/Source/shotwell/src/Page.vala" g_return_val_if_fail (IS_CHECKERBOARD_PAGE (self), NULL); -#line 1285 "/home/jens/Source/shotwell/src/Page.vala" +#line 1286 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 1285 "/home/jens/Source/shotwell/src/Page.vala" +#line 1286 "/home/jens/Source/shotwell/src/Page.vala" _tmp2_ = _tmp1_; -#line 1285 "/home/jens/Source/shotwell/src/Page.vala" +#line 1286 "/home/jens/Source/shotwell/src/Page.vala" _tmp3_ = view_collection_get_selected_count (_tmp2_); -#line 1285 "/home/jens/Source/shotwell/src/Page.vala" +#line 1286 "/home/jens/Source/shotwell/src/Page.vala" _tmp4_ = _tmp3_ != 0; -#line 1285 "/home/jens/Source/shotwell/src/Page.vala" +#line 1286 "/home/jens/Source/shotwell/src/Page.vala" _data_collection_unref0 (_tmp2_); -#line 1285 "/home/jens/Source/shotwell/src/Page.vala" +#line 1286 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp4_) { -#line 8744 "Page.c" +#line 8747 "Page.c" GtkMenu* _tmp5_ = NULL; -#line 1285 "/home/jens/Source/shotwell/src/Page.vala" +#line 1286 "/home/jens/Source/shotwell/src/Page.vala" _tmp5_ = checkerboard_page_get_item_context_menu (self); -#line 1285 "/home/jens/Source/shotwell/src/Page.vala" +#line 1286 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (_tmp0_); -#line 1285 "/home/jens/Source/shotwell/src/Page.vala" +#line 1286 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = _tmp5_; -#line 8752 "Page.c" +#line 8755 "Page.c" } else { GtkMenu* _tmp6_ = NULL; -#line 1286 "/home/jens/Source/shotwell/src/Page.vala" +#line 1287 "/home/jens/Source/shotwell/src/Page.vala" _tmp6_ = page_get_page_context_menu (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 1286 "/home/jens/Source/shotwell/src/Page.vala" +#line 1287 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (_tmp0_); -#line 1286 "/home/jens/Source/shotwell/src/Page.vala" +#line 1287 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = _tmp6_; -#line 8761 "Page.c" +#line 8764 "Page.c" } -#line 1285 "/home/jens/Source/shotwell/src/Page.vala" +#line 1286 "/home/jens/Source/shotwell/src/Page.vala" result = _tmp0_; -#line 1285 "/home/jens/Source/shotwell/src/Page.vala" +#line 1286 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 8767 "Page.c" +#line 8770 "Page.c" } @@ -8772,11 +8775,11 @@ static GtkMenu* checkerboard_page_real_get_item_context_menu (CheckerboardPage* GtkMenu* _tmp0_ = NULL; GtkMenu* _tmp8_ = NULL; GtkMenu* _tmp9_ = NULL; -#line 1291 "/home/jens/Source/shotwell/src/Page.vala" +#line 1292 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = self->priv->item_context_menu; -#line 1291 "/home/jens/Source/shotwell/src/Page.vala" +#line 1292 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp0_ == NULL) { -#line 8780 "Page.c" +#line 8783 "Page.c" GMenuModel* model = NULL; GtkBuilder* _tmp1_ = NULL; const gchar* _tmp2_ = NULL; @@ -8785,52 +8788,52 @@ static GtkMenu* checkerboard_page_real_get_item_context_menu (CheckerboardPage* GMenuModel* _tmp5_ = NULL; GtkMenu* _tmp6_ = NULL; GtkMenu* _tmp7_ = NULL; -#line 1292 "/home/jens/Source/shotwell/src/Page.vala" +#line 1293 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)->builder; -#line 1292 "/home/jens/Source/shotwell/src/Page.vala" +#line 1293 "/home/jens/Source/shotwell/src/Page.vala" _tmp2_ = self->priv->item_context_menu_path; -#line 1292 "/home/jens/Source/shotwell/src/Page.vala" +#line 1293 "/home/jens/Source/shotwell/src/Page.vala" _tmp3_ = gtk_builder_get_object (_tmp1_, _tmp2_); -#line 1292 "/home/jens/Source/shotwell/src/Page.vala" +#line 1293 "/home/jens/Source/shotwell/src/Page.vala" _tmp4_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp3_, g_menu_model_get_type ()) ? ((GMenuModel*) _tmp3_) : NULL); -#line 1292 "/home/jens/Source/shotwell/src/Page.vala" +#line 1293 "/home/jens/Source/shotwell/src/Page.vala" model = _tmp4_; -#line 1294 "/home/jens/Source/shotwell/src/Page.vala" +#line 1295 "/home/jens/Source/shotwell/src/Page.vala" _tmp5_ = model; -#line 1294 "/home/jens/Source/shotwell/src/Page.vala" +#line 1295 "/home/jens/Source/shotwell/src/Page.vala" _tmp6_ = (GtkMenu*) gtk_menu_new_from_model (_tmp5_); -#line 1294 "/home/jens/Source/shotwell/src/Page.vala" +#line 1295 "/home/jens/Source/shotwell/src/Page.vala" g_object_ref_sink (_tmp6_); -#line 1294 "/home/jens/Source/shotwell/src/Page.vala" +#line 1295 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (self->priv->item_context_menu); -#line 1294 "/home/jens/Source/shotwell/src/Page.vala" - self->priv->item_context_menu = _tmp6_; #line 1295 "/home/jens/Source/shotwell/src/Page.vala" + self->priv->item_context_menu = _tmp6_; +#line 1296 "/home/jens/Source/shotwell/src/Page.vala" _tmp7_ = self->priv->item_context_menu; -#line 1295 "/home/jens/Source/shotwell/src/Page.vala" +#line 1296 "/home/jens/Source/shotwell/src/Page.vala" gtk_menu_attach_to_widget (_tmp7_, G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), NULL); -#line 1291 "/home/jens/Source/shotwell/src/Page.vala" +#line 1292 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (model); -#line 8815 "Page.c" +#line 8818 "Page.c" } -#line 1298 "/home/jens/Source/shotwell/src/Page.vala" +#line 1299 "/home/jens/Source/shotwell/src/Page.vala" _tmp8_ = self->priv->item_context_menu; -#line 1298 "/home/jens/Source/shotwell/src/Page.vala" +#line 1299 "/home/jens/Source/shotwell/src/Page.vala" _tmp9_ = _g_object_ref0 (_tmp8_); -#line 1298 "/home/jens/Source/shotwell/src/Page.vala" +#line 1299 "/home/jens/Source/shotwell/src/Page.vala" result = _tmp9_; -#line 1298 "/home/jens/Source/shotwell/src/Page.vala" +#line 1299 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 8825 "Page.c" +#line 8828 "Page.c" } GtkMenu* checkerboard_page_get_item_context_menu (CheckerboardPage* self) { -#line 1290 "/home/jens/Source/shotwell/src/Page.vala" +#line 1291 "/home/jens/Source/shotwell/src/Page.vala" g_return_val_if_fail (IS_CHECKERBOARD_PAGE (self), NULL); -#line 1290 "/home/jens/Source/shotwell/src/Page.vala" +#line 1291 "/home/jens/Source/shotwell/src/Page.vala" return CHECKERBOARD_PAGE_GET_CLASS (self)->get_item_context_menu (self); -#line 8834 "Page.c" +#line 8837 "Page.c" } @@ -8840,13 +8843,13 @@ static GtkMenu* checkerboard_page_real_get_page_context_menu (Page* base) { GtkMenu* _tmp0_ = NULL; GtkMenu* _tmp8_ = NULL; GtkMenu* _tmp9_ = NULL; -#line 1302 "/home/jens/Source/shotwell/src/Page.vala" - self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_CHECKERBOARD_PAGE, CheckerboardPage); #line 1303 "/home/jens/Source/shotwell/src/Page.vala" + self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_CHECKERBOARD_PAGE, CheckerboardPage); +#line 1304 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = self->priv->page_context_menu; -#line 1303 "/home/jens/Source/shotwell/src/Page.vala" +#line 1304 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp0_ == NULL) { -#line 8850 "Page.c" +#line 8853 "Page.c" GMenuModel* model = NULL; GtkBuilder* _tmp1_ = NULL; const gchar* _tmp2_ = NULL; @@ -8855,43 +8858,43 @@ static GtkMenu* checkerboard_page_real_get_page_context_menu (Page* base) { GMenuModel* _tmp5_ = NULL; GtkMenu* _tmp6_ = NULL; GtkMenu* _tmp7_ = NULL; -#line 1304 "/home/jens/Source/shotwell/src/Page.vala" +#line 1305 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)->builder; -#line 1304 "/home/jens/Source/shotwell/src/Page.vala" +#line 1305 "/home/jens/Source/shotwell/src/Page.vala" _tmp2_ = self->priv->page_context_menu_path; -#line 1304 "/home/jens/Source/shotwell/src/Page.vala" +#line 1305 "/home/jens/Source/shotwell/src/Page.vala" _tmp3_ = gtk_builder_get_object (_tmp1_, _tmp2_); -#line 1304 "/home/jens/Source/shotwell/src/Page.vala" +#line 1305 "/home/jens/Source/shotwell/src/Page.vala" _tmp4_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp3_, g_menu_model_get_type ()) ? ((GMenuModel*) _tmp3_) : NULL); -#line 1304 "/home/jens/Source/shotwell/src/Page.vala" +#line 1305 "/home/jens/Source/shotwell/src/Page.vala" model = _tmp4_; -#line 1306 "/home/jens/Source/shotwell/src/Page.vala" +#line 1307 "/home/jens/Source/shotwell/src/Page.vala" _tmp5_ = model; -#line 1306 "/home/jens/Source/shotwell/src/Page.vala" +#line 1307 "/home/jens/Source/shotwell/src/Page.vala" _tmp6_ = (GtkMenu*) gtk_menu_new_from_model (_tmp5_); -#line 1306 "/home/jens/Source/shotwell/src/Page.vala" +#line 1307 "/home/jens/Source/shotwell/src/Page.vala" g_object_ref_sink (_tmp6_); -#line 1306 "/home/jens/Source/shotwell/src/Page.vala" +#line 1307 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (self->priv->page_context_menu); -#line 1306 "/home/jens/Source/shotwell/src/Page.vala" - self->priv->page_context_menu = _tmp6_; #line 1307 "/home/jens/Source/shotwell/src/Page.vala" + self->priv->page_context_menu = _tmp6_; +#line 1308 "/home/jens/Source/shotwell/src/Page.vala" _tmp7_ = self->priv->page_context_menu; -#line 1307 "/home/jens/Source/shotwell/src/Page.vala" +#line 1308 "/home/jens/Source/shotwell/src/Page.vala" gtk_menu_attach_to_widget (_tmp7_, G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), NULL); -#line 1303 "/home/jens/Source/shotwell/src/Page.vala" +#line 1304 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (model); -#line 8885 "Page.c" +#line 8888 "Page.c" } -#line 1310 "/home/jens/Source/shotwell/src/Page.vala" +#line 1311 "/home/jens/Source/shotwell/src/Page.vala" _tmp8_ = self->priv->page_context_menu; -#line 1310 "/home/jens/Source/shotwell/src/Page.vala" +#line 1311 "/home/jens/Source/shotwell/src/Page.vala" _tmp9_ = _g_object_ref0 (_tmp8_); -#line 1310 "/home/jens/Source/shotwell/src/Page.vala" +#line 1311 "/home/jens/Source/shotwell/src/Page.vala" result = _tmp9_; -#line 1310 "/home/jens/Source/shotwell/src/Page.vala" +#line 1311 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 8895 "Page.c" +#line 8898 "Page.c" } @@ -8902,23 +8905,23 @@ static gboolean checkerboard_page_real_on_context_keypress (Page* base) { GtkMenu* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; gboolean _tmp3_ = FALSE; -#line 1313 "/home/jens/Source/shotwell/src/Page.vala" - self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_CHECKERBOARD_PAGE, CheckerboardPage); #line 1314 "/home/jens/Source/shotwell/src/Page.vala" + self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_CHECKERBOARD_PAGE, CheckerboardPage); +#line 1315 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = checkerboard_page_get_context_menu (self); -#line 1314 "/home/jens/Source/shotwell/src/Page.vala" +#line 1315 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = _tmp0_; -#line 1314 "/home/jens/Source/shotwell/src/Page.vala" +#line 1315 "/home/jens/Source/shotwell/src/Page.vala" _tmp2_ = page_popup_context_menu (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), _tmp1_, NULL); -#line 1314 "/home/jens/Source/shotwell/src/Page.vala" +#line 1315 "/home/jens/Source/shotwell/src/Page.vala" _tmp3_ = _tmp2_; -#line 1314 "/home/jens/Source/shotwell/src/Page.vala" +#line 1315 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (_tmp1_); -#line 1314 "/home/jens/Source/shotwell/src/Page.vala" +#line 1315 "/home/jens/Source/shotwell/src/Page.vala" result = _tmp3_; -#line 1314 "/home/jens/Source/shotwell/src/Page.vala" +#line 1315 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 8922 "Page.c" +#line 8925 "Page.c" } @@ -8926,24 +8929,24 @@ static gchar* checkerboard_page_real_get_view_empty_message (CheckerboardPage* s gchar* result = NULL; const gchar* _tmp0_ = NULL; gchar* _tmp1_ = NULL; -#line 1318 "/home/jens/Source/shotwell/src/Page.vala" +#line 1319 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = _ ("No photos/videos"); -#line 1318 "/home/jens/Source/shotwell/src/Page.vala" +#line 1319 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = g_strdup (_tmp0_); -#line 1318 "/home/jens/Source/shotwell/src/Page.vala" +#line 1319 "/home/jens/Source/shotwell/src/Page.vala" result = _tmp1_; -#line 1318 "/home/jens/Source/shotwell/src/Page.vala" +#line 1319 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 8938 "Page.c" +#line 8941 "Page.c" } gchar* checkerboard_page_get_view_empty_message (CheckerboardPage* self) { -#line 1317 "/home/jens/Source/shotwell/src/Page.vala" +#line 1318 "/home/jens/Source/shotwell/src/Page.vala" g_return_val_if_fail (IS_CHECKERBOARD_PAGE (self), NULL); -#line 1317 "/home/jens/Source/shotwell/src/Page.vala" +#line 1318 "/home/jens/Source/shotwell/src/Page.vala" return CHECKERBOARD_PAGE_GET_CLASS (self)->get_view_empty_message (self); -#line 8947 "Page.c" +#line 8950 "Page.c" } @@ -8951,42 +8954,42 @@ static gchar* checkerboard_page_real_get_filter_no_match_message (CheckerboardPa gchar* result = NULL; const gchar* _tmp0_ = NULL; gchar* _tmp1_ = NULL; -#line 1322 "/home/jens/Source/shotwell/src/Page.vala" +#line 1323 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = _ ("No photos/videos found which match the current filter"); -#line 1322 "/home/jens/Source/shotwell/src/Page.vala" +#line 1323 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = g_strdup (_tmp0_); -#line 1322 "/home/jens/Source/shotwell/src/Page.vala" +#line 1323 "/home/jens/Source/shotwell/src/Page.vala" result = _tmp1_; -#line 1322 "/home/jens/Source/shotwell/src/Page.vala" +#line 1323 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 8963 "Page.c" +#line 8966 "Page.c" } gchar* checkerboard_page_get_filter_no_match_message (CheckerboardPage* self) { -#line 1321 "/home/jens/Source/shotwell/src/Page.vala" +#line 1322 "/home/jens/Source/shotwell/src/Page.vala" g_return_val_if_fail (IS_CHECKERBOARD_PAGE (self), NULL); -#line 1321 "/home/jens/Source/shotwell/src/Page.vala" +#line 1322 "/home/jens/Source/shotwell/src/Page.vala" return CHECKERBOARD_PAGE_GET_CLASS (self)->get_filter_no_match_message (self); -#line 8972 "Page.c" +#line 8975 "Page.c" } static void checkerboard_page_real_on_item_activated (CheckerboardPage* self, CheckerboardItem* item, CheckerboardPageActivator activator, CheckerboardPageKeyboardModifiers* modifiers) { -#line 1325 "/home/jens/Source/shotwell/src/Page.vala" +#line 1326 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (IS_CHECKERBOARD_ITEM (item)); -#line 1325 "/home/jens/Source/shotwell/src/Page.vala" +#line 1326 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (modifiers != NULL); -#line 8981 "Page.c" +#line 8984 "Page.c" } void checkerboard_page_on_item_activated (CheckerboardPage* self, CheckerboardItem* item, CheckerboardPageActivator activator, CheckerboardPageKeyboardModifiers* modifiers) { -#line 1325 "/home/jens/Source/shotwell/src/Page.vala" +#line 1326 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (IS_CHECKERBOARD_PAGE (self)); -#line 1325 "/home/jens/Source/shotwell/src/Page.vala" +#line 1326 "/home/jens/Source/shotwell/src/Page.vala" CHECKERBOARD_PAGE_GET_CLASS (self)->on_item_activated (self, item, activator, modifiers); -#line 8990 "Page.c" +#line 8993 "Page.c" } @@ -8994,61 +8997,61 @@ CheckerboardLayout* checkerboard_page_get_checkerboard_layout (CheckerboardPage* CheckerboardLayout* result = NULL; CheckerboardLayout* _tmp0_ = NULL; CheckerboardLayout* _tmp1_ = NULL; -#line 1329 "/home/jens/Source/shotwell/src/Page.vala" - g_return_val_if_fail (IS_CHECKERBOARD_PAGE (self), NULL); #line 1330 "/home/jens/Source/shotwell/src/Page.vala" + g_return_val_if_fail (IS_CHECKERBOARD_PAGE (self), NULL); +#line 1331 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = self->priv->layout; -#line 1330 "/home/jens/Source/shotwell/src/Page.vala" +#line 1331 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = _g_object_ref0 (_tmp0_); -#line 1330 "/home/jens/Source/shotwell/src/Page.vala" +#line 1331 "/home/jens/Source/shotwell/src/Page.vala" result = _tmp1_; -#line 1330 "/home/jens/Source/shotwell/src/Page.vala" +#line 1331 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 9008 "Page.c" +#line 9011 "Page.c" } static SearchViewFilter* checkerboard_page_real_get_search_view_filter (CheckerboardPage* self) { -#line 1334 "/home/jens/Source/shotwell/src/Page.vala" +#line 1335 "/home/jens/Source/shotwell/src/Page.vala" g_critical ("Type `%s' does not implement abstract method `checkerboard_page_get_search_view_filter'", g_type_name (G_TYPE_FROM_INSTANCE (self))); -#line 1334 "/home/jens/Source/shotwell/src/Page.vala" +#line 1335 "/home/jens/Source/shotwell/src/Page.vala" return NULL; -#line 9017 "Page.c" +#line 9020 "Page.c" } SearchViewFilter* checkerboard_page_get_search_view_filter (CheckerboardPage* self) { -#line 1334 "/home/jens/Source/shotwell/src/Page.vala" +#line 1335 "/home/jens/Source/shotwell/src/Page.vala" g_return_val_if_fail (IS_CHECKERBOARD_PAGE (self), NULL); -#line 1334 "/home/jens/Source/shotwell/src/Page.vala" +#line 1335 "/home/jens/Source/shotwell/src/Page.vala" return CHECKERBOARD_PAGE_GET_CLASS (self)->get_search_view_filter (self); -#line 9026 "Page.c" +#line 9029 "Page.c" } static CoreViewTracker* checkerboard_page_real_get_view_tracker (CheckerboardPage* self) { CoreViewTracker* result = NULL; -#line 1337 "/home/jens/Source/shotwell/src/Page.vala" +#line 1338 "/home/jens/Source/shotwell/src/Page.vala" result = NULL; -#line 1337 "/home/jens/Source/shotwell/src/Page.vala" +#line 1338 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 9036 "Page.c" +#line 9039 "Page.c" } CoreViewTracker* checkerboard_page_get_view_tracker (CheckerboardPage* self) { -#line 1336 "/home/jens/Source/shotwell/src/Page.vala" +#line 1337 "/home/jens/Source/shotwell/src/Page.vala" g_return_val_if_fail (IS_CHECKERBOARD_PAGE (self), NULL); -#line 1336 "/home/jens/Source/shotwell/src/Page.vala" +#line 1337 "/home/jens/Source/shotwell/src/Page.vala" return CHECKERBOARD_PAGE_GET_CLASS (self)->get_view_tracker (self); -#line 9045 "Page.c" +#line 9048 "Page.c" } static void _checkerboard_page_on_view_filter_refresh_view_filter_refresh (ViewFilter* _sender, gpointer self) { -#line 1342 "/home/jens/Source/shotwell/src/Page.vala" +#line 1343 "/home/jens/Source/shotwell/src/Page.vala" checkerboard_page_on_view_filter_refresh ((CheckerboardPage*) self); -#line 9052 "Page.c" +#line 9055 "Page.c" } @@ -9060,33 +9063,33 @@ static void checkerboard_page_real_switching_from (Page* base) { guint _tmp3_ = 0U; ViewCollection* _tmp4_ = NULL; ViewCollection* _tmp5_ = NULL; -#line 1340 "/home/jens/Source/shotwell/src/Page.vala" - self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_CHECKERBOARD_PAGE, CheckerboardPage); #line 1341 "/home/jens/Source/shotwell/src/Page.vala" + self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_CHECKERBOARD_PAGE, CheckerboardPage); +#line 1342 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = self->priv->layout; -#line 1341 "/home/jens/Source/shotwell/src/Page.vala" - checkerboard_layout_set_in_view (_tmp0_, FALSE); #line 1342 "/home/jens/Source/shotwell/src/Page.vala" + checkerboard_layout_set_in_view (_tmp0_, FALSE); +#line 1343 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = checkerboard_page_get_search_view_filter (self); -#line 1342 "/home/jens/Source/shotwell/src/Page.vala" +#line 1343 "/home/jens/Source/shotwell/src/Page.vala" _tmp2_ = _tmp1_; -#line 1342 "/home/jens/Source/shotwell/src/Page.vala" +#line 1343 "/home/jens/Source/shotwell/src/Page.vala" g_signal_parse_name ("refresh", TYPE_VIEW_FILTER, &_tmp3_, NULL, FALSE); -#line 1342 "/home/jens/Source/shotwell/src/Page.vala" +#line 1343 "/home/jens/Source/shotwell/src/Page.vala" g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, TYPE_VIEW_FILTER, ViewFilter), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp3_, 0, NULL, (GCallback) _checkerboard_page_on_view_filter_refresh_view_filter_refresh, self); -#line 1342 "/home/jens/Source/shotwell/src/Page.vala" +#line 1343 "/home/jens/Source/shotwell/src/Page.vala" _view_filter_unref0 (_tmp2_); -#line 1345 "/home/jens/Source/shotwell/src/Page.vala" +#line 1346 "/home/jens/Source/shotwell/src/Page.vala" _tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 1345 "/home/jens/Source/shotwell/src/Page.vala" +#line 1346 "/home/jens/Source/shotwell/src/Page.vala" _tmp5_ = _tmp4_; -#line 1345 "/home/jens/Source/shotwell/src/Page.vala" +#line 1346 "/home/jens/Source/shotwell/src/Page.vala" view_collection_unselect_all (_tmp5_); -#line 1345 "/home/jens/Source/shotwell/src/Page.vala" +#line 1346 "/home/jens/Source/shotwell/src/Page.vala" _data_collection_unref0 (_tmp5_); -#line 1347 "/home/jens/Source/shotwell/src/Page.vala" +#line 1348 "/home/jens/Source/shotwell/src/Page.vala" PAGE_CLASS (checkerboard_page_parent_class)->switching_from (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 9090 "Page.c" +#line 9093 "Page.c" } @@ -9099,35 +9102,35 @@ static void checkerboard_page_real_switched_to (Page* base) { ViewCollection* _tmp4_ = NULL; gint _tmp5_ = 0; gboolean _tmp6_ = FALSE; -#line 1350 "/home/jens/Source/shotwell/src/Page.vala" - self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_CHECKERBOARD_PAGE, CheckerboardPage); #line 1351 "/home/jens/Source/shotwell/src/Page.vala" + self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_CHECKERBOARD_PAGE, CheckerboardPage); +#line 1352 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = self->priv->layout; -#line 1351 "/home/jens/Source/shotwell/src/Page.vala" - checkerboard_layout_set_in_view (_tmp0_, TRUE); #line 1352 "/home/jens/Source/shotwell/src/Page.vala" + checkerboard_layout_set_in_view (_tmp0_, TRUE); +#line 1353 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = checkerboard_page_get_search_view_filter (self); -#line 1352 "/home/jens/Source/shotwell/src/Page.vala" +#line 1353 "/home/jens/Source/shotwell/src/Page.vala" _tmp2_ = _tmp1_; -#line 1352 "/home/jens/Source/shotwell/src/Page.vala" +#line 1353 "/home/jens/Source/shotwell/src/Page.vala" g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, TYPE_VIEW_FILTER, ViewFilter), "refresh", (GCallback) _checkerboard_page_on_view_filter_refresh_view_filter_refresh, self, 0); -#line 1352 "/home/jens/Source/shotwell/src/Page.vala" - _view_filter_unref0 (_tmp2_); #line 1353 "/home/jens/Source/shotwell/src/Page.vala" + _view_filter_unref0 (_tmp2_); +#line 1354 "/home/jens/Source/shotwell/src/Page.vala" checkerboard_page_on_view_filter_refresh (self); -#line 1355 "/home/jens/Source/shotwell/src/Page.vala" +#line 1356 "/home/jens/Source/shotwell/src/Page.vala" _tmp3_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 1355 "/home/jens/Source/shotwell/src/Page.vala" +#line 1356 "/home/jens/Source/shotwell/src/Page.vala" _tmp4_ = _tmp3_; -#line 1355 "/home/jens/Source/shotwell/src/Page.vala" +#line 1356 "/home/jens/Source/shotwell/src/Page.vala" _tmp5_ = view_collection_get_selected_count (_tmp4_); -#line 1355 "/home/jens/Source/shotwell/src/Page.vala" +#line 1356 "/home/jens/Source/shotwell/src/Page.vala" _tmp6_ = _tmp5_ > 0; -#line 1355 "/home/jens/Source/shotwell/src/Page.vala" +#line 1356 "/home/jens/Source/shotwell/src/Page.vala" _data_collection_unref0 (_tmp4_); -#line 1355 "/home/jens/Source/shotwell/src/Page.vala" +#line 1356 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp6_) { -#line 9131 "Page.c" +#line 9134 "Page.c" CheckerboardItem* item = NULL; ViewCollection* _tmp7_ = NULL; ViewCollection* _tmp8_ = NULL; @@ -9142,37 +9145,37 @@ static void checkerboard_page_real_switched_to (Page* base) { GdkRectangle _tmp16_ = {0}; gint _tmp17_ = 0; AdjustmentRelation _tmp18_ = 0; -#line 1356 "/home/jens/Source/shotwell/src/Page.vala" +#line 1357 "/home/jens/Source/shotwell/src/Page.vala" _tmp7_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 1356 "/home/jens/Source/shotwell/src/Page.vala" +#line 1357 "/home/jens/Source/shotwell/src/Page.vala" _tmp8_ = _tmp7_; -#line 1356 "/home/jens/Source/shotwell/src/Page.vala" +#line 1357 "/home/jens/Source/shotwell/src/Page.vala" _tmp9_ = view_collection_get_selected_at (_tmp8_, 0); -#line 1356 "/home/jens/Source/shotwell/src/Page.vala" +#line 1357 "/home/jens/Source/shotwell/src/Page.vala" _tmp10_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, TYPE_CHECKERBOARD_ITEM, CheckerboardItem); -#line 1356 "/home/jens/Source/shotwell/src/Page.vala" +#line 1357 "/home/jens/Source/shotwell/src/Page.vala" _data_collection_unref0 (_tmp8_); -#line 1356 "/home/jens/Source/shotwell/src/Page.vala" +#line 1357 "/home/jens/Source/shotwell/src/Page.vala" item = _tmp10_; -#line 1359 "/home/jens/Source/shotwell/src/Page.vala" +#line 1360 "/home/jens/Source/shotwell/src/Page.vala" _tmp11_ = gtk_scrolled_window_get_vadjustment (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_scrolled_window_get_type (), GtkScrolledWindow)); -#line 1359 "/home/jens/Source/shotwell/src/Page.vala" +#line 1360 "/home/jens/Source/shotwell/src/Page.vala" _tmp12_ = _g_object_ref0 (_tmp11_); -#line 1359 "/home/jens/Source/shotwell/src/Page.vala" - vadj = _tmp12_; #line 1360 "/home/jens/Source/shotwell/src/Page.vala" + vadj = _tmp12_; +#line 1361 "/home/jens/Source/shotwell/src/Page.vala" _tmp14_ = vadj; -#line 1360 "/home/jens/Source/shotwell/src/Page.vala" +#line 1361 "/home/jens/Source/shotwell/src/Page.vala" _tmp15_ = item; -#line 1360 "/home/jens/Source/shotwell/src/Page.vala" +#line 1361 "/home/jens/Source/shotwell/src/Page.vala" _tmp16_ = _tmp15_->allocation; -#line 1360 "/home/jens/Source/shotwell/src/Page.vala" +#line 1361 "/home/jens/Source/shotwell/src/Page.vala" _tmp17_ = _tmp16_.y; -#line 1360 "/home/jens/Source/shotwell/src/Page.vala" +#line 1361 "/home/jens/Source/shotwell/src/Page.vala" _tmp18_ = get_adjustment_relation (_tmp14_, _tmp17_); -#line 1360 "/home/jens/Source/shotwell/src/Page.vala" +#line 1361 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp18_ == ADJUSTMENT_RELATION_IN_RANGE) { -#line 9176 "Page.c" +#line 9179 "Page.c" GtkAdjustment* _tmp19_ = NULL; CheckerboardItem* _tmp20_ = NULL; GdkRectangle _tmp21_ = {0}; @@ -9181,33 +9184,33 @@ static void checkerboard_page_real_switched_to (Page* base) { GdkRectangle _tmp24_ = {0}; gint _tmp25_ = 0; AdjustmentRelation _tmp26_ = 0; -#line 1361 "/home/jens/Source/shotwell/src/Page.vala" +#line 1362 "/home/jens/Source/shotwell/src/Page.vala" _tmp19_ = vadj; -#line 1361 "/home/jens/Source/shotwell/src/Page.vala" +#line 1362 "/home/jens/Source/shotwell/src/Page.vala" _tmp20_ = item; -#line 1361 "/home/jens/Source/shotwell/src/Page.vala" +#line 1362 "/home/jens/Source/shotwell/src/Page.vala" _tmp21_ = _tmp20_->allocation; -#line 1361 "/home/jens/Source/shotwell/src/Page.vala" +#line 1362 "/home/jens/Source/shotwell/src/Page.vala" _tmp22_ = _tmp21_.y; -#line 1361 "/home/jens/Source/shotwell/src/Page.vala" +#line 1362 "/home/jens/Source/shotwell/src/Page.vala" _tmp23_ = item; -#line 1361 "/home/jens/Source/shotwell/src/Page.vala" +#line 1362 "/home/jens/Source/shotwell/src/Page.vala" _tmp24_ = _tmp23_->allocation; -#line 1361 "/home/jens/Source/shotwell/src/Page.vala" +#line 1362 "/home/jens/Source/shotwell/src/Page.vala" _tmp25_ = _tmp24_.height; -#line 1361 "/home/jens/Source/shotwell/src/Page.vala" +#line 1362 "/home/jens/Source/shotwell/src/Page.vala" _tmp26_ = get_adjustment_relation (_tmp19_, _tmp22_ + _tmp25_); -#line 1361 "/home/jens/Source/shotwell/src/Page.vala" +#line 1362 "/home/jens/Source/shotwell/src/Page.vala" _tmp13_ = _tmp26_ == ADJUSTMENT_RELATION_IN_RANGE; -#line 9203 "Page.c" +#line 9206 "Page.c" } else { -#line 1360 "/home/jens/Source/shotwell/src/Page.vala" +#line 1361 "/home/jens/Source/shotwell/src/Page.vala" _tmp13_ = FALSE; -#line 9207 "Page.c" +#line 9210 "Page.c" } -#line 1360 "/home/jens/Source/shotwell/src/Page.vala" +#line 1361 "/home/jens/Source/shotwell/src/Page.vala" if (!_tmp13_) { -#line 9211 "Page.c" +#line 9214 "Page.c" gint top = 0; CheckerboardItem* _tmp27_ = NULL; GdkRectangle _tmp28_ = {0}; @@ -9216,38 +9219,38 @@ static void checkerboard_page_real_switched_to (Page* base) { gdouble _tmp31_ = 0.0; GtkAdjustment* _tmp45_ = NULL; gint _tmp46_ = 0; -#line 1364 "/home/jens/Source/shotwell/src/Page.vala" - top = 0; #line 1365 "/home/jens/Source/shotwell/src/Page.vala" + top = 0; +#line 1366 "/home/jens/Source/shotwell/src/Page.vala" _tmp27_ = item; -#line 1365 "/home/jens/Source/shotwell/src/Page.vala" +#line 1366 "/home/jens/Source/shotwell/src/Page.vala" _tmp28_ = _tmp27_->allocation; -#line 1365 "/home/jens/Source/shotwell/src/Page.vala" +#line 1366 "/home/jens/Source/shotwell/src/Page.vala" _tmp29_ = _tmp28_.y; -#line 1365 "/home/jens/Source/shotwell/src/Page.vala" +#line 1366 "/home/jens/Source/shotwell/src/Page.vala" _tmp30_ = vadj; -#line 1365 "/home/jens/Source/shotwell/src/Page.vala" +#line 1366 "/home/jens/Source/shotwell/src/Page.vala" _tmp31_ = gtk_adjustment_get_value (_tmp30_); -#line 1365 "/home/jens/Source/shotwell/src/Page.vala" +#line 1366 "/home/jens/Source/shotwell/src/Page.vala" if (((gdouble) _tmp29_) < _tmp31_) { -#line 9234 "Page.c" +#line 9237 "Page.c" CheckerboardItem* _tmp32_ = NULL; GdkRectangle _tmp33_ = {0}; gint _tmp34_ = 0; gint _tmp35_ = 0; -#line 1366 "/home/jens/Source/shotwell/src/Page.vala" +#line 1367 "/home/jens/Source/shotwell/src/Page.vala" _tmp32_ = item; -#line 1366 "/home/jens/Source/shotwell/src/Page.vala" +#line 1367 "/home/jens/Source/shotwell/src/Page.vala" _tmp33_ = _tmp32_->allocation; -#line 1366 "/home/jens/Source/shotwell/src/Page.vala" +#line 1367 "/home/jens/Source/shotwell/src/Page.vala" _tmp34_ = _tmp33_.y; -#line 1366 "/home/jens/Source/shotwell/src/Page.vala" - top = _tmp34_; #line 1367 "/home/jens/Source/shotwell/src/Page.vala" + top = _tmp34_; +#line 1368 "/home/jens/Source/shotwell/src/Page.vala" _tmp35_ = top; -#line 1367 "/home/jens/Source/shotwell/src/Page.vala" +#line 1368 "/home/jens/Source/shotwell/src/Page.vala" top = _tmp35_ - (CHECKERBOARD_LAYOUT_ROW_GUTTER_PADDING / 2); -#line 9251 "Page.c" +#line 9254 "Page.c" } else { CheckerboardItem* _tmp36_ = NULL; GdkRectangle _tmp37_ = {0}; @@ -9258,91 +9261,91 @@ static void checkerboard_page_real_switched_to (Page* base) { GtkAdjustment* _tmp42_ = NULL; gdouble _tmp43_ = 0.0; gint _tmp44_ = 0; -#line 1369 "/home/jens/Source/shotwell/src/Page.vala" +#line 1370 "/home/jens/Source/shotwell/src/Page.vala" _tmp36_ = item; -#line 1369 "/home/jens/Source/shotwell/src/Page.vala" +#line 1370 "/home/jens/Source/shotwell/src/Page.vala" _tmp37_ = _tmp36_->allocation; -#line 1369 "/home/jens/Source/shotwell/src/Page.vala" +#line 1370 "/home/jens/Source/shotwell/src/Page.vala" _tmp38_ = _tmp37_.y; -#line 1369 "/home/jens/Source/shotwell/src/Page.vala" +#line 1370 "/home/jens/Source/shotwell/src/Page.vala" _tmp39_ = item; -#line 1369 "/home/jens/Source/shotwell/src/Page.vala" +#line 1370 "/home/jens/Source/shotwell/src/Page.vala" _tmp40_ = _tmp39_->allocation; -#line 1369 "/home/jens/Source/shotwell/src/Page.vala" +#line 1370 "/home/jens/Source/shotwell/src/Page.vala" _tmp41_ = _tmp40_.height; -#line 1369 "/home/jens/Source/shotwell/src/Page.vala" +#line 1370 "/home/jens/Source/shotwell/src/Page.vala" _tmp42_ = vadj; -#line 1369 "/home/jens/Source/shotwell/src/Page.vala" +#line 1370 "/home/jens/Source/shotwell/src/Page.vala" _tmp43_ = gtk_adjustment_get_page_size (_tmp42_); -#line 1369 "/home/jens/Source/shotwell/src/Page.vala" - top = (_tmp38_ + _tmp41_) - ((gint) _tmp43_); #line 1370 "/home/jens/Source/shotwell/src/Page.vala" + top = (_tmp38_ + _tmp41_) - ((gint) _tmp43_); +#line 1371 "/home/jens/Source/shotwell/src/Page.vala" _tmp44_ = top; -#line 1370 "/home/jens/Source/shotwell/src/Page.vala" +#line 1371 "/home/jens/Source/shotwell/src/Page.vala" top = _tmp44_ + (CHECKERBOARD_LAYOUT_ROW_GUTTER_PADDING / 2); -#line 9284 "Page.c" +#line 9287 "Page.c" } -#line 1373 "/home/jens/Source/shotwell/src/Page.vala" +#line 1374 "/home/jens/Source/shotwell/src/Page.vala" _tmp45_ = vadj; -#line 1373 "/home/jens/Source/shotwell/src/Page.vala" +#line 1374 "/home/jens/Source/shotwell/src/Page.vala" _tmp46_ = top; -#line 1373 "/home/jens/Source/shotwell/src/Page.vala" +#line 1374 "/home/jens/Source/shotwell/src/Page.vala" gtk_adjustment_set_value (_tmp45_, (gdouble) _tmp46_); -#line 9292 "Page.c" +#line 9295 "Page.c" } -#line 1355 "/home/jens/Source/shotwell/src/Page.vala" +#line 1356 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (vadj); -#line 1355 "/home/jens/Source/shotwell/src/Page.vala" +#line 1356 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (item); -#line 9298 "Page.c" +#line 9301 "Page.c" } -#line 1378 "/home/jens/Source/shotwell/src/Page.vala" +#line 1379 "/home/jens/Source/shotwell/src/Page.vala" PAGE_CLASS (checkerboard_page_parent_class)->switched_to (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 9302 "Page.c" +#line 9305 "Page.c" } static void checkerboard_page_on_view_filter_refresh (CheckerboardPage* self) { -#line 1381 "/home/jens/Source/shotwell/src/Page.vala" - g_return_if_fail (IS_CHECKERBOARD_PAGE (self)); #line 1382 "/home/jens/Source/shotwell/src/Page.vala" + g_return_if_fail (IS_CHECKERBOARD_PAGE (self)); +#line 1383 "/home/jens/Source/shotwell/src/Page.vala" checkerboard_page_update_view_filter_message (self); -#line 9311 "Page.c" +#line 9314 "Page.c" } static void checkerboard_page_on_contents_altered (CheckerboardPage* self, GeeIterable* added, GeeIterable* removed) { -#line 1385 "/home/jens/Source/shotwell/src/Page.vala" +#line 1386 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (IS_CHECKERBOARD_PAGE (self)); -#line 1385 "/home/jens/Source/shotwell/src/Page.vala" +#line 1386 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail ((added == NULL) || GEE_IS_ITERABLE (added)); -#line 1385 "/home/jens/Source/shotwell/src/Page.vala" +#line 1386 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail ((removed == NULL) || GEE_IS_ITERABLE (removed)); -#line 1387 "/home/jens/Source/shotwell/src/Page.vala" +#line 1388 "/home/jens/Source/shotwell/src/Page.vala" checkerboard_page_update_view_filter_message (self); -#line 9324 "Page.c" +#line 9327 "Page.c" } static void checkerboard_page_on_items_state_changed (CheckerboardPage* self, GeeIterable* changed) { -#line 1390 "/home/jens/Source/shotwell/src/Page.vala" +#line 1391 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (IS_CHECKERBOARD_PAGE (self)); -#line 1390 "/home/jens/Source/shotwell/src/Page.vala" - g_return_if_fail (GEE_IS_ITERABLE (changed)); #line 1391 "/home/jens/Source/shotwell/src/Page.vala" + g_return_if_fail (GEE_IS_ITERABLE (changed)); +#line 1392 "/home/jens/Source/shotwell/src/Page.vala" checkerboard_page_update_view_filter_message (self); -#line 9335 "Page.c" +#line 9338 "Page.c" } static void checkerboard_page_on_items_visibility_changed (CheckerboardPage* self, GeeCollection* changed) { -#line 1394 "/home/jens/Source/shotwell/src/Page.vala" +#line 1395 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (IS_CHECKERBOARD_PAGE (self)); -#line 1394 "/home/jens/Source/shotwell/src/Page.vala" - g_return_if_fail (GEE_IS_COLLECTION (changed)); #line 1395 "/home/jens/Source/shotwell/src/Page.vala" + g_return_if_fail (GEE_IS_COLLECTION (changed)); +#line 1396 "/home/jens/Source/shotwell/src/Page.vala" checkerboard_page_update_view_filter_message (self); -#line 9346 "Page.c" +#line 9349 "Page.c" } @@ -9352,87 +9355,87 @@ static void checkerboard_page_update_view_filter_message (CheckerboardPage* self ViewCollection* _tmp2_ = NULL; gboolean _tmp3_ = FALSE; gboolean _tmp4_ = FALSE; -#line 1398 "/home/jens/Source/shotwell/src/Page.vala" - g_return_if_fail (IS_CHECKERBOARD_PAGE (self)); #line 1399 "/home/jens/Source/shotwell/src/Page.vala" + g_return_if_fail (IS_CHECKERBOARD_PAGE (self)); +#line 1400 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 1399 "/home/jens/Source/shotwell/src/Page.vala" +#line 1400 "/home/jens/Source/shotwell/src/Page.vala" _tmp2_ = _tmp1_; -#line 1399 "/home/jens/Source/shotwell/src/Page.vala" +#line 1400 "/home/jens/Source/shotwell/src/Page.vala" _tmp3_ = view_collection_are_items_filtered_out (_tmp2_); -#line 1399 "/home/jens/Source/shotwell/src/Page.vala" +#line 1400 "/home/jens/Source/shotwell/src/Page.vala" _tmp4_ = _tmp3_; -#line 1399 "/home/jens/Source/shotwell/src/Page.vala" +#line 1400 "/home/jens/Source/shotwell/src/Page.vala" _data_collection_unref0 (_tmp2_); -#line 1399 "/home/jens/Source/shotwell/src/Page.vala" +#line 1400 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp4_) { -#line 9370 "Page.c" +#line 9373 "Page.c" ViewCollection* _tmp5_ = NULL; ViewCollection* _tmp6_ = NULL; gint _tmp7_ = 0; -#line 1399 "/home/jens/Source/shotwell/src/Page.vala" +#line 1400 "/home/jens/Source/shotwell/src/Page.vala" _tmp5_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 1399 "/home/jens/Source/shotwell/src/Page.vala" +#line 1400 "/home/jens/Source/shotwell/src/Page.vala" _tmp6_ = _tmp5_; -#line 1399 "/home/jens/Source/shotwell/src/Page.vala" +#line 1400 "/home/jens/Source/shotwell/src/Page.vala" _tmp7_ = data_collection_get_count (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, TYPE_DATA_COLLECTION, DataCollection)); -#line 1399 "/home/jens/Source/shotwell/src/Page.vala" +#line 1400 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = _tmp7_ == 0; -#line 1399 "/home/jens/Source/shotwell/src/Page.vala" +#line 1400 "/home/jens/Source/shotwell/src/Page.vala" _data_collection_unref0 (_tmp6_); -#line 9384 "Page.c" +#line 9387 "Page.c" } else { -#line 1399 "/home/jens/Source/shotwell/src/Page.vala" +#line 1400 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = FALSE; -#line 9388 "Page.c" +#line 9391 "Page.c" } -#line 1399 "/home/jens/Source/shotwell/src/Page.vala" +#line 1400 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp0_) { -#line 9392 "Page.c" +#line 9395 "Page.c" gchar* _tmp8_ = NULL; gchar* _tmp9_ = NULL; -#line 1400 "/home/jens/Source/shotwell/src/Page.vala" +#line 1401 "/home/jens/Source/shotwell/src/Page.vala" _tmp8_ = checkerboard_page_get_filter_no_match_message (self); -#line 1400 "/home/jens/Source/shotwell/src/Page.vala" +#line 1401 "/home/jens/Source/shotwell/src/Page.vala" _tmp9_ = _tmp8_; -#line 1400 "/home/jens/Source/shotwell/src/Page.vala" +#line 1401 "/home/jens/Source/shotwell/src/Page.vala" checkerboard_page_set_page_message (self, _tmp9_); -#line 1400 "/home/jens/Source/shotwell/src/Page.vala" +#line 1401 "/home/jens/Source/shotwell/src/Page.vala" _g_free0 (_tmp9_); -#line 9403 "Page.c" +#line 9406 "Page.c" } else { ViewCollection* _tmp10_ = NULL; ViewCollection* _tmp11_ = NULL; gint _tmp12_ = 0; gboolean _tmp13_ = FALSE; -#line 1401 "/home/jens/Source/shotwell/src/Page.vala" +#line 1402 "/home/jens/Source/shotwell/src/Page.vala" _tmp10_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 1401 "/home/jens/Source/shotwell/src/Page.vala" +#line 1402 "/home/jens/Source/shotwell/src/Page.vala" _tmp11_ = _tmp10_; -#line 1401 "/home/jens/Source/shotwell/src/Page.vala" +#line 1402 "/home/jens/Source/shotwell/src/Page.vala" _tmp12_ = data_collection_get_count (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, TYPE_DATA_COLLECTION, DataCollection)); -#line 1401 "/home/jens/Source/shotwell/src/Page.vala" +#line 1402 "/home/jens/Source/shotwell/src/Page.vala" _tmp13_ = _tmp12_ == 0; -#line 1401 "/home/jens/Source/shotwell/src/Page.vala" +#line 1402 "/home/jens/Source/shotwell/src/Page.vala" _data_collection_unref0 (_tmp11_); -#line 1401 "/home/jens/Source/shotwell/src/Page.vala" +#line 1402 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp13_) { -#line 9421 "Page.c" +#line 9424 "Page.c" gchar* _tmp14_ = NULL; gchar* _tmp15_ = NULL; -#line 1402 "/home/jens/Source/shotwell/src/Page.vala" +#line 1403 "/home/jens/Source/shotwell/src/Page.vala" _tmp14_ = checkerboard_page_get_view_empty_message (self); -#line 1402 "/home/jens/Source/shotwell/src/Page.vala" +#line 1403 "/home/jens/Source/shotwell/src/Page.vala" _tmp15_ = _tmp14_; -#line 1402 "/home/jens/Source/shotwell/src/Page.vala" +#line 1403 "/home/jens/Source/shotwell/src/Page.vala" checkerboard_page_set_page_message (self, _tmp15_); -#line 1402 "/home/jens/Source/shotwell/src/Page.vala" +#line 1403 "/home/jens/Source/shotwell/src/Page.vala" _g_free0 (_tmp15_); -#line 9432 "Page.c" +#line 9435 "Page.c" } else { -#line 1404 "/home/jens/Source/shotwell/src/Page.vala" +#line 1405 "/home/jens/Source/shotwell/src/Page.vala" checkerboard_page_unset_page_message (self); -#line 9436 "Page.c" +#line 9439 "Page.c" } } } @@ -9442,27 +9445,27 @@ void checkerboard_page_set_page_message (CheckerboardPage* self, const gchar* me CheckerboardLayout* _tmp0_ = NULL; const gchar* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; -#line 1408 "/home/jens/Source/shotwell/src/Page.vala" +#line 1409 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (IS_CHECKERBOARD_PAGE (self)); -#line 1408 "/home/jens/Source/shotwell/src/Page.vala" - g_return_if_fail (message != NULL); #line 1409 "/home/jens/Source/shotwell/src/Page.vala" + g_return_if_fail (message != NULL); +#line 1410 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = self->priv->layout; -#line 1409 "/home/jens/Source/shotwell/src/Page.vala" +#line 1410 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = message; -#line 1409 "/home/jens/Source/shotwell/src/Page.vala" - checkerboard_layout_set_message (_tmp0_, _tmp1_); #line 1410 "/home/jens/Source/shotwell/src/Page.vala" + checkerboard_layout_set_message (_tmp0_, _tmp1_); +#line 1411 "/home/jens/Source/shotwell/src/Page.vala" _tmp2_ = page_is_in_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 1410 "/home/jens/Source/shotwell/src/Page.vala" +#line 1411 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp2_) { -#line 9460 "Page.c" +#line 9463 "Page.c" CheckerboardLayout* _tmp3_ = NULL; -#line 1411 "/home/jens/Source/shotwell/src/Page.vala" +#line 1412 "/home/jens/Source/shotwell/src/Page.vala" _tmp3_ = self->priv->layout; -#line 1411 "/home/jens/Source/shotwell/src/Page.vala" +#line 1412 "/home/jens/Source/shotwell/src/Page.vala" gtk_widget_queue_draw (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_widget_get_type (), GtkWidget)); -#line 9466 "Page.c" +#line 9469 "Page.c" } } @@ -9470,23 +9473,23 @@ void checkerboard_page_set_page_message (CheckerboardPage* self, const gchar* me void checkerboard_page_unset_page_message (CheckerboardPage* self) { CheckerboardLayout* _tmp0_ = NULL; gboolean _tmp1_ = FALSE; -#line 1414 "/home/jens/Source/shotwell/src/Page.vala" - g_return_if_fail (IS_CHECKERBOARD_PAGE (self)); #line 1415 "/home/jens/Source/shotwell/src/Page.vala" + g_return_if_fail (IS_CHECKERBOARD_PAGE (self)); +#line 1416 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = self->priv->layout; -#line 1415 "/home/jens/Source/shotwell/src/Page.vala" - checkerboard_layout_unset_message (_tmp0_); #line 1416 "/home/jens/Source/shotwell/src/Page.vala" + checkerboard_layout_unset_message (_tmp0_); +#line 1417 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = page_is_in_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 1416 "/home/jens/Source/shotwell/src/Page.vala" +#line 1417 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp1_) { -#line 9484 "Page.c" +#line 9487 "Page.c" CheckerboardLayout* _tmp2_ = NULL; -#line 1417 "/home/jens/Source/shotwell/src/Page.vala" +#line 1418 "/home/jens/Source/shotwell/src/Page.vala" _tmp2_ = self->priv->layout; -#line 1417 "/home/jens/Source/shotwell/src/Page.vala" +#line 1418 "/home/jens/Source/shotwell/src/Page.vala" gtk_widget_queue_draw (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_widget_get_type (), GtkWidget)); -#line 9490 "Page.c" +#line 9493 "Page.c" } } @@ -9496,21 +9499,21 @@ static void checkerboard_page_real_set_page_name (Page* base, const gchar* name) const gchar* _tmp0_ = NULL; CheckerboardLayout* _tmp1_ = NULL; const gchar* _tmp2_ = NULL; -#line 1420 "/home/jens/Source/shotwell/src/Page.vala" +#line 1421 "/home/jens/Source/shotwell/src/Page.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_CHECKERBOARD_PAGE, CheckerboardPage); -#line 1420 "/home/jens/Source/shotwell/src/Page.vala" - g_return_if_fail (name != NULL); #line 1421 "/home/jens/Source/shotwell/src/Page.vala" + g_return_if_fail (name != NULL); +#line 1422 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = name; -#line 1421 "/home/jens/Source/shotwell/src/Page.vala" +#line 1422 "/home/jens/Source/shotwell/src/Page.vala" PAGE_CLASS (checkerboard_page_parent_class)->set_page_name (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), _tmp0_); -#line 1423 "/home/jens/Source/shotwell/src/Page.vala" +#line 1424 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = self->priv->layout; -#line 1423 "/home/jens/Source/shotwell/src/Page.vala" +#line 1424 "/home/jens/Source/shotwell/src/Page.vala" _tmp2_ = name; -#line 1423 "/home/jens/Source/shotwell/src/Page.vala" +#line 1424 "/home/jens/Source/shotwell/src/Page.vala" checkerboard_layout_set_name (_tmp1_, _tmp2_); -#line 9514 "Page.c" +#line 9517 "Page.c" } @@ -9520,43 +9523,43 @@ CheckerboardItem* checkerboard_page_get_item_at_pixel (CheckerboardPage* self, g gdouble _tmp1_ = 0.0; gdouble _tmp2_ = 0.0; CheckerboardItem* _tmp3_ = NULL; -#line 1426 "/home/jens/Source/shotwell/src/Page.vala" - g_return_val_if_fail (IS_CHECKERBOARD_PAGE (self), NULL); #line 1427 "/home/jens/Source/shotwell/src/Page.vala" + g_return_val_if_fail (IS_CHECKERBOARD_PAGE (self), NULL); +#line 1428 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = self->priv->layout; -#line 1427 "/home/jens/Source/shotwell/src/Page.vala" +#line 1428 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = x; -#line 1427 "/home/jens/Source/shotwell/src/Page.vala" +#line 1428 "/home/jens/Source/shotwell/src/Page.vala" _tmp2_ = y; -#line 1427 "/home/jens/Source/shotwell/src/Page.vala" +#line 1428 "/home/jens/Source/shotwell/src/Page.vala" _tmp3_ = checkerboard_layout_get_item_at_pixel (_tmp0_, _tmp1_, _tmp2_); -#line 1427 "/home/jens/Source/shotwell/src/Page.vala" +#line 1428 "/home/jens/Source/shotwell/src/Page.vala" result = _tmp3_; -#line 1427 "/home/jens/Source/shotwell/src/Page.vala" +#line 1428 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 9538 "Page.c" +#line 9541 "Page.c" } static void checkerboard_page_on_items_hidden (CheckerboardPage* self, GeeIterable* hidden) { -#line 1430 "/home/jens/Source/shotwell/src/Page.vala" +#line 1431 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (IS_CHECKERBOARD_PAGE (self)); -#line 1430 "/home/jens/Source/shotwell/src/Page.vala" +#line 1431 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (GEE_IS_ITERABLE (hidden)); -#line 9547 "Page.c" +#line 9550 "Page.c" { GeeIterator* _view_it = NULL; GeeIterable* _tmp0_ = NULL; GeeIterator* _tmp1_ = NULL; -#line 1431 "/home/jens/Source/shotwell/src/Page.vala" +#line 1432 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = hidden; -#line 1431 "/home/jens/Source/shotwell/src/Page.vala" +#line 1432 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = gee_iterable_iterator (_tmp0_); -#line 1431 "/home/jens/Source/shotwell/src/Page.vala" +#line 1432 "/home/jens/Source/shotwell/src/Page.vala" _view_it = _tmp1_; -#line 1431 "/home/jens/Source/shotwell/src/Page.vala" +#line 1432 "/home/jens/Source/shotwell/src/Page.vala" while (TRUE) { -#line 9560 "Page.c" +#line 9563 "Page.c" GeeIterator* _tmp2_ = NULL; gboolean _tmp3_ = FALSE; DataView* view = NULL; @@ -9571,73 +9574,73 @@ static void checkerboard_page_on_items_hidden (CheckerboardPage* self, GeeIterab CheckerboardItem* _tmp11_ = NULL; CheckerboardItem* _tmp12_ = NULL; CheckerboardItem* _tmp13_ = NULL; -#line 1431 "/home/jens/Source/shotwell/src/Page.vala" +#line 1432 "/home/jens/Source/shotwell/src/Page.vala" _tmp2_ = _view_it; -#line 1431 "/home/jens/Source/shotwell/src/Page.vala" +#line 1432 "/home/jens/Source/shotwell/src/Page.vala" _tmp3_ = gee_iterator_next (_tmp2_); -#line 1431 "/home/jens/Source/shotwell/src/Page.vala" +#line 1432 "/home/jens/Source/shotwell/src/Page.vala" if (!_tmp3_) { -#line 1431 "/home/jens/Source/shotwell/src/Page.vala" +#line 1432 "/home/jens/Source/shotwell/src/Page.vala" break; -#line 9583 "Page.c" +#line 9586 "Page.c" } -#line 1431 "/home/jens/Source/shotwell/src/Page.vala" +#line 1432 "/home/jens/Source/shotwell/src/Page.vala" _tmp4_ = _view_it; -#line 1431 "/home/jens/Source/shotwell/src/Page.vala" +#line 1432 "/home/jens/Source/shotwell/src/Page.vala" _tmp5_ = gee_iterator_get (_tmp4_); -#line 1431 "/home/jens/Source/shotwell/src/Page.vala" - view = (DataView*) _tmp5_; #line 1432 "/home/jens/Source/shotwell/src/Page.vala" + view = (DataView*) _tmp5_; +#line 1433 "/home/jens/Source/shotwell/src/Page.vala" _tmp6_ = view; -#line 1432 "/home/jens/Source/shotwell/src/Page.vala" +#line 1433 "/home/jens/Source/shotwell/src/Page.vala" _tmp7_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, TYPE_CHECKERBOARD_ITEM, CheckerboardItem)); -#line 1432 "/home/jens/Source/shotwell/src/Page.vala" +#line 1433 "/home/jens/Source/shotwell/src/Page.vala" item = _tmp7_; -#line 1434 "/home/jens/Source/shotwell/src/Page.vala" +#line 1435 "/home/jens/Source/shotwell/src/Page.vala" _tmp8_ = self->anchor; -#line 1434 "/home/jens/Source/shotwell/src/Page.vala" +#line 1435 "/home/jens/Source/shotwell/src/Page.vala" _tmp9_ = item; -#line 1434 "/home/jens/Source/shotwell/src/Page.vala" - if (_tmp8_ == _tmp9_) { #line 1435 "/home/jens/Source/shotwell/src/Page.vala" + if (_tmp8_ == _tmp9_) { +#line 1436 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (self->anchor); -#line 1435 "/home/jens/Source/shotwell/src/Page.vala" +#line 1436 "/home/jens/Source/shotwell/src/Page.vala" self->anchor = NULL; -#line 9607 "Page.c" +#line 9610 "Page.c" } -#line 1437 "/home/jens/Source/shotwell/src/Page.vala" +#line 1438 "/home/jens/Source/shotwell/src/Page.vala" _tmp10_ = self->cursor; -#line 1437 "/home/jens/Source/shotwell/src/Page.vala" +#line 1438 "/home/jens/Source/shotwell/src/Page.vala" _tmp11_ = item; -#line 1437 "/home/jens/Source/shotwell/src/Page.vala" - if (_tmp10_ == _tmp11_) { #line 1438 "/home/jens/Source/shotwell/src/Page.vala" + if (_tmp10_ == _tmp11_) { +#line 1439 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (self->cursor); -#line 1438 "/home/jens/Source/shotwell/src/Page.vala" +#line 1439 "/home/jens/Source/shotwell/src/Page.vala" self->cursor = NULL; -#line 9619 "Page.c" +#line 9622 "Page.c" } -#line 1440 "/home/jens/Source/shotwell/src/Page.vala" +#line 1441 "/home/jens/Source/shotwell/src/Page.vala" _tmp12_ = self->priv->highlighted; -#line 1440 "/home/jens/Source/shotwell/src/Page.vala" +#line 1441 "/home/jens/Source/shotwell/src/Page.vala" _tmp13_ = item; -#line 1440 "/home/jens/Source/shotwell/src/Page.vala" - if (_tmp12_ == _tmp13_) { #line 1441 "/home/jens/Source/shotwell/src/Page.vala" + if (_tmp12_ == _tmp13_) { +#line 1442 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (self->priv->highlighted); -#line 1441 "/home/jens/Source/shotwell/src/Page.vala" +#line 1442 "/home/jens/Source/shotwell/src/Page.vala" self->priv->highlighted = NULL; -#line 9631 "Page.c" +#line 9634 "Page.c" } -#line 1431 "/home/jens/Source/shotwell/src/Page.vala" +#line 1432 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (item); -#line 1431 "/home/jens/Source/shotwell/src/Page.vala" +#line 1432 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (view); -#line 9637 "Page.c" +#line 9640 "Page.c" } -#line 1431 "/home/jens/Source/shotwell/src/Page.vala" +#line 1432 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (_view_it); -#line 9641 "Page.c" +#line 9644 "Page.c" } } @@ -9654,138 +9657,138 @@ static gboolean checkerboard_page_real_key_press_event (GtkWidget* base, GdkEven const gchar* _tmp4_ = NULL; const gchar* _tmp5_ = NULL; GQuark _tmp7_ = 0U; -#line 1451 "/home/jens/Source/shotwell/src/Page.vala" +#line 1452 "/home/jens/Source/shotwell/src/Page.vala" static GQuark _tmp6_label0 = 0; -#line 1451 "/home/jens/Source/shotwell/src/Page.vala" +#line 1452 "/home/jens/Source/shotwell/src/Page.vala" static GQuark _tmp6_label1 = 0; -#line 1451 "/home/jens/Source/shotwell/src/Page.vala" +#line 1452 "/home/jens/Source/shotwell/src/Page.vala" static GQuark _tmp6_label2 = 0; -#line 1451 "/home/jens/Source/shotwell/src/Page.vala" +#line 1452 "/home/jens/Source/shotwell/src/Page.vala" static GQuark _tmp6_label3 = 0; -#line 1451 "/home/jens/Source/shotwell/src/Page.vala" +#line 1452 "/home/jens/Source/shotwell/src/Page.vala" static GQuark _tmp6_label4 = 0; -#line 1451 "/home/jens/Source/shotwell/src/Page.vala" +#line 1452 "/home/jens/Source/shotwell/src/Page.vala" static GQuark _tmp6_label5 = 0; -#line 1451 "/home/jens/Source/shotwell/src/Page.vala" +#line 1452 "/home/jens/Source/shotwell/src/Page.vala" static GQuark _tmp6_label6 = 0; -#line 1451 "/home/jens/Source/shotwell/src/Page.vala" +#line 1452 "/home/jens/Source/shotwell/src/Page.vala" static GQuark _tmp6_label7 = 0; -#line 1451 "/home/jens/Source/shotwell/src/Page.vala" +#line 1452 "/home/jens/Source/shotwell/src/Page.vala" static GQuark _tmp6_label8 = 0; -#line 1451 "/home/jens/Source/shotwell/src/Page.vala" +#line 1452 "/home/jens/Source/shotwell/src/Page.vala" static GQuark _tmp6_label9 = 0; -#line 1451 "/home/jens/Source/shotwell/src/Page.vala" +#line 1452 "/home/jens/Source/shotwell/src/Page.vala" static GQuark _tmp6_label10 = 0; -#line 1451 "/home/jens/Source/shotwell/src/Page.vala" +#line 1452 "/home/jens/Source/shotwell/src/Page.vala" static GQuark _tmp6_label11 = 0; -#line 1451 "/home/jens/Source/shotwell/src/Page.vala" +#line 1452 "/home/jens/Source/shotwell/src/Page.vala" static GQuark _tmp6_label12 = 0; -#line 1451 "/home/jens/Source/shotwell/src/Page.vala" +#line 1452 "/home/jens/Source/shotwell/src/Page.vala" static GQuark _tmp6_label13 = 0; -#line 1451 "/home/jens/Source/shotwell/src/Page.vala" +#line 1452 "/home/jens/Source/shotwell/src/Page.vala" static GQuark _tmp6_label14 = 0; -#line 9688 "Page.c" +#line 9691 "Page.c" gboolean _tmp45_ = FALSE; gboolean _tmp46_ = FALSE; -#line 1445 "/home/jens/Source/shotwell/src/Page.vala" +#line 1446 "/home/jens/Source/shotwell/src/Page.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_CHECKERBOARD_PAGE, CheckerboardPage); -#line 1445 "/home/jens/Source/shotwell/src/Page.vala" - g_return_val_if_fail (event != NULL, FALSE); #line 1446 "/home/jens/Source/shotwell/src/Page.vala" + g_return_val_if_fail (event != NULL, FALSE); +#line 1447 "/home/jens/Source/shotwell/src/Page.vala" handled = TRUE; -#line 1449 "/home/jens/Source/shotwell/src/Page.vala" +#line 1450 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = event; -#line 1449 "/home/jens/Source/shotwell/src/Page.vala" +#line 1450 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = _tmp0_->state; -#line 1449 "/home/jens/Source/shotwell/src/Page.vala" +#line 1450 "/home/jens/Source/shotwell/src/Page.vala" state = (guint) (_tmp1_ & GDK_SHIFT_MASK); -#line 1451 "/home/jens/Source/shotwell/src/Page.vala" +#line 1452 "/home/jens/Source/shotwell/src/Page.vala" _tmp2_ = event; -#line 1451 "/home/jens/Source/shotwell/src/Page.vala" +#line 1452 "/home/jens/Source/shotwell/src/Page.vala" _tmp3_ = _tmp2_->keyval; -#line 1451 "/home/jens/Source/shotwell/src/Page.vala" +#line 1452 "/home/jens/Source/shotwell/src/Page.vala" _tmp4_ = gdk_keyval_name (_tmp3_); -#line 1451 "/home/jens/Source/shotwell/src/Page.vala" +#line 1452 "/home/jens/Source/shotwell/src/Page.vala" _tmp5_ = _tmp4_; -#line 1451 "/home/jens/Source/shotwell/src/Page.vala" +#line 1452 "/home/jens/Source/shotwell/src/Page.vala" _tmp7_ = (NULL == _tmp5_) ? 0 : g_quark_from_string (_tmp5_); -#line 1451 "/home/jens/Source/shotwell/src/Page.vala" +#line 1452 "/home/jens/Source/shotwell/src/Page.vala" if ((_tmp7_ == ((0 != _tmp6_label0) ? _tmp6_label0 : (_tmp6_label0 = g_quark_from_static_string ("Up")))) || (_tmp7_ == ((0 != _tmp6_label1) ? _tmp6_label1 : (_tmp6_label1 = g_quark_from_static_string ("KP_Up"))))) { -#line 1451 "/home/jens/Source/shotwell/src/Page.vala" +#line 1452 "/home/jens/Source/shotwell/src/Page.vala" switch (0) { -#line 9717 "Page.c" +#line 9720 "Page.c" default: { guint _tmp8_ = 0U; -#line 1454 "/home/jens/Source/shotwell/src/Page.vala" - checkerboard_page_move_cursor (self, COMPASS_POINT_NORTH); #line 1455 "/home/jens/Source/shotwell/src/Page.vala" + checkerboard_page_move_cursor (self, COMPASS_POINT_NORTH); +#line 1456 "/home/jens/Source/shotwell/src/Page.vala" _tmp8_ = state; -#line 1455 "/home/jens/Source/shotwell/src/Page.vala" - checkerboard_page_select_anchor_to_cursor (self, _tmp8_); #line 1456 "/home/jens/Source/shotwell/src/Page.vala" + checkerboard_page_select_anchor_to_cursor (self, _tmp8_); +#line 1457 "/home/jens/Source/shotwell/src/Page.vala" break; -#line 9729 "Page.c" +#line 9732 "Page.c" } } } else if ((_tmp7_ == ((0 != _tmp6_label2) ? _tmp6_label2 : (_tmp6_label2 = g_quark_from_static_string ("Down")))) || (_tmp7_ == ((0 != _tmp6_label3) ? _tmp6_label3 : (_tmp6_label3 = g_quark_from_static_string ("KP_Down"))))) { -#line 1451 "/home/jens/Source/shotwell/src/Page.vala" +#line 1452 "/home/jens/Source/shotwell/src/Page.vala" switch (0) { -#line 9735 "Page.c" +#line 9738 "Page.c" default: { guint _tmp9_ = 0U; -#line 1460 "/home/jens/Source/shotwell/src/Page.vala" - checkerboard_page_move_cursor (self, COMPASS_POINT_SOUTH); #line 1461 "/home/jens/Source/shotwell/src/Page.vala" + checkerboard_page_move_cursor (self, COMPASS_POINT_SOUTH); +#line 1462 "/home/jens/Source/shotwell/src/Page.vala" _tmp9_ = state; -#line 1461 "/home/jens/Source/shotwell/src/Page.vala" - checkerboard_page_select_anchor_to_cursor (self, _tmp9_); #line 1462 "/home/jens/Source/shotwell/src/Page.vala" + checkerboard_page_select_anchor_to_cursor (self, _tmp9_); +#line 1463 "/home/jens/Source/shotwell/src/Page.vala" break; -#line 9747 "Page.c" +#line 9750 "Page.c" } } } else if ((_tmp7_ == ((0 != _tmp6_label4) ? _tmp6_label4 : (_tmp6_label4 = g_quark_from_static_string ("Left")))) || (_tmp7_ == ((0 != _tmp6_label5) ? _tmp6_label5 : (_tmp6_label5 = g_quark_from_static_string ("KP_Left"))))) { -#line 1451 "/home/jens/Source/shotwell/src/Page.vala" +#line 1452 "/home/jens/Source/shotwell/src/Page.vala" switch (0) { -#line 9753 "Page.c" +#line 9756 "Page.c" default: { guint _tmp10_ = 0U; -#line 1466 "/home/jens/Source/shotwell/src/Page.vala" - checkerboard_page_move_cursor (self, COMPASS_POINT_WEST); #line 1467 "/home/jens/Source/shotwell/src/Page.vala" + checkerboard_page_move_cursor (self, COMPASS_POINT_WEST); +#line 1468 "/home/jens/Source/shotwell/src/Page.vala" _tmp10_ = state; -#line 1467 "/home/jens/Source/shotwell/src/Page.vala" - checkerboard_page_select_anchor_to_cursor (self, _tmp10_); #line 1468 "/home/jens/Source/shotwell/src/Page.vala" + checkerboard_page_select_anchor_to_cursor (self, _tmp10_); +#line 1469 "/home/jens/Source/shotwell/src/Page.vala" break; -#line 9765 "Page.c" +#line 9768 "Page.c" } } } else if ((_tmp7_ == ((0 != _tmp6_label6) ? _tmp6_label6 : (_tmp6_label6 = g_quark_from_static_string ("Right")))) || (_tmp7_ == ((0 != _tmp6_label7) ? _tmp6_label7 : (_tmp6_label7 = g_quark_from_static_string ("KP_Right"))))) { -#line 1451 "/home/jens/Source/shotwell/src/Page.vala" +#line 1452 "/home/jens/Source/shotwell/src/Page.vala" switch (0) { -#line 9771 "Page.c" +#line 9774 "Page.c" default: { guint _tmp11_ = 0U; -#line 1472 "/home/jens/Source/shotwell/src/Page.vala" - checkerboard_page_move_cursor (self, COMPASS_POINT_EAST); #line 1473 "/home/jens/Source/shotwell/src/Page.vala" + checkerboard_page_move_cursor (self, COMPASS_POINT_EAST); +#line 1474 "/home/jens/Source/shotwell/src/Page.vala" _tmp11_ = state; -#line 1473 "/home/jens/Source/shotwell/src/Page.vala" - checkerboard_page_select_anchor_to_cursor (self, _tmp11_); #line 1474 "/home/jens/Source/shotwell/src/Page.vala" + checkerboard_page_select_anchor_to_cursor (self, _tmp11_); +#line 1475 "/home/jens/Source/shotwell/src/Page.vala" break; -#line 9783 "Page.c" +#line 9786 "Page.c" } } } else if ((_tmp7_ == ((0 != _tmp6_label8) ? _tmp6_label8 : (_tmp6_label8 = g_quark_from_static_string ("Home")))) || (_tmp7_ == ((0 != _tmp6_label9) ? _tmp6_label9 : (_tmp6_label9 = g_quark_from_static_string ("KP_Home"))))) { -#line 1451 "/home/jens/Source/shotwell/src/Page.vala" +#line 1452 "/home/jens/Source/shotwell/src/Page.vala" switch (0) { -#line 9789 "Page.c" +#line 9792 "Page.c" default: { CheckerboardItem* first = NULL; @@ -9795,45 +9798,45 @@ static gboolean checkerboard_page_real_key_press_event (GtkWidget* base, GdkEven CheckerboardItem* _tmp15_ = NULL; CheckerboardItem* _tmp16_ = NULL; guint _tmp18_ = 0U; -#line 1478 "/home/jens/Source/shotwell/src/Page.vala" +#line 1479 "/home/jens/Source/shotwell/src/Page.vala" _tmp12_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 1478 "/home/jens/Source/shotwell/src/Page.vala" +#line 1479 "/home/jens/Source/shotwell/src/Page.vala" _tmp13_ = _tmp12_; -#line 1478 "/home/jens/Source/shotwell/src/Page.vala" +#line 1479 "/home/jens/Source/shotwell/src/Page.vala" _tmp14_ = view_collection_get_first (_tmp13_); -#line 1478 "/home/jens/Source/shotwell/src/Page.vala" +#line 1479 "/home/jens/Source/shotwell/src/Page.vala" _tmp15_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, TYPE_CHECKERBOARD_ITEM, CheckerboardItem); -#line 1478 "/home/jens/Source/shotwell/src/Page.vala" +#line 1479 "/home/jens/Source/shotwell/src/Page.vala" _data_collection_unref0 (_tmp13_); -#line 1478 "/home/jens/Source/shotwell/src/Page.vala" - first = _tmp15_; #line 1479 "/home/jens/Source/shotwell/src/Page.vala" + first = _tmp15_; +#line 1480 "/home/jens/Source/shotwell/src/Page.vala" _tmp16_ = first; -#line 1479 "/home/jens/Source/shotwell/src/Page.vala" +#line 1480 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp16_ != NULL) { -#line 9815 "Page.c" +#line 9818 "Page.c" CheckerboardItem* _tmp17_ = NULL; -#line 1480 "/home/jens/Source/shotwell/src/Page.vala" +#line 1481 "/home/jens/Source/shotwell/src/Page.vala" _tmp17_ = first; -#line 1480 "/home/jens/Source/shotwell/src/Page.vala" +#line 1481 "/home/jens/Source/shotwell/src/Page.vala" checkerboard_page_cursor_to_item (self, _tmp17_); -#line 9821 "Page.c" +#line 9824 "Page.c" } -#line 1481 "/home/jens/Source/shotwell/src/Page.vala" +#line 1482 "/home/jens/Source/shotwell/src/Page.vala" _tmp18_ = state; -#line 1481 "/home/jens/Source/shotwell/src/Page.vala" - checkerboard_page_select_anchor_to_cursor (self, _tmp18_); #line 1482 "/home/jens/Source/shotwell/src/Page.vala" + checkerboard_page_select_anchor_to_cursor (self, _tmp18_); +#line 1483 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (first); -#line 1482 "/home/jens/Source/shotwell/src/Page.vala" +#line 1483 "/home/jens/Source/shotwell/src/Page.vala" break; -#line 9831 "Page.c" +#line 9834 "Page.c" } } } else if ((_tmp7_ == ((0 != _tmp6_label10) ? _tmp6_label10 : (_tmp6_label10 = g_quark_from_static_string ("End")))) || (_tmp7_ == ((0 != _tmp6_label11) ? _tmp6_label11 : (_tmp6_label11 = g_quark_from_static_string ("KP_End"))))) { -#line 1451 "/home/jens/Source/shotwell/src/Page.vala" +#line 1452 "/home/jens/Source/shotwell/src/Page.vala" switch (0) { -#line 9837 "Page.c" +#line 9840 "Page.c" default: { CheckerboardItem* last = NULL; @@ -9843,100 +9846,100 @@ static gboolean checkerboard_page_real_key_press_event (GtkWidget* base, GdkEven CheckerboardItem* _tmp22_ = NULL; CheckerboardItem* _tmp23_ = NULL; guint _tmp25_ = 0U; -#line 1486 "/home/jens/Source/shotwell/src/Page.vala" +#line 1487 "/home/jens/Source/shotwell/src/Page.vala" _tmp19_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 1486 "/home/jens/Source/shotwell/src/Page.vala" +#line 1487 "/home/jens/Source/shotwell/src/Page.vala" _tmp20_ = _tmp19_; -#line 1486 "/home/jens/Source/shotwell/src/Page.vala" +#line 1487 "/home/jens/Source/shotwell/src/Page.vala" _tmp21_ = view_collection_get_last (_tmp20_); -#line 1486 "/home/jens/Source/shotwell/src/Page.vala" +#line 1487 "/home/jens/Source/shotwell/src/Page.vala" _tmp22_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp21_, TYPE_CHECKERBOARD_ITEM, CheckerboardItem); -#line 1486 "/home/jens/Source/shotwell/src/Page.vala" +#line 1487 "/home/jens/Source/shotwell/src/Page.vala" _data_collection_unref0 (_tmp20_); -#line 1486 "/home/jens/Source/shotwell/src/Page.vala" - last = _tmp22_; #line 1487 "/home/jens/Source/shotwell/src/Page.vala" + last = _tmp22_; +#line 1488 "/home/jens/Source/shotwell/src/Page.vala" _tmp23_ = last; -#line 1487 "/home/jens/Source/shotwell/src/Page.vala" +#line 1488 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp23_ != NULL) { -#line 9863 "Page.c" +#line 9866 "Page.c" CheckerboardItem* _tmp24_ = NULL; -#line 1488 "/home/jens/Source/shotwell/src/Page.vala" +#line 1489 "/home/jens/Source/shotwell/src/Page.vala" _tmp24_ = last; -#line 1488 "/home/jens/Source/shotwell/src/Page.vala" +#line 1489 "/home/jens/Source/shotwell/src/Page.vala" checkerboard_page_cursor_to_item (self, _tmp24_); -#line 9869 "Page.c" +#line 9872 "Page.c" } -#line 1489 "/home/jens/Source/shotwell/src/Page.vala" +#line 1490 "/home/jens/Source/shotwell/src/Page.vala" _tmp25_ = state; -#line 1489 "/home/jens/Source/shotwell/src/Page.vala" - checkerboard_page_select_anchor_to_cursor (self, _tmp25_); #line 1490 "/home/jens/Source/shotwell/src/Page.vala" + checkerboard_page_select_anchor_to_cursor (self, _tmp25_); +#line 1491 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (last); -#line 1490 "/home/jens/Source/shotwell/src/Page.vala" +#line 1491 "/home/jens/Source/shotwell/src/Page.vala" break; -#line 9879 "Page.c" +#line 9882 "Page.c" } } } else if ((_tmp7_ == ((0 != _tmp6_label12) ? _tmp6_label12 : (_tmp6_label12 = g_quark_from_static_string ("Return")))) || (_tmp7_ == ((0 != _tmp6_label13) ? _tmp6_label13 : (_tmp6_label13 = g_quark_from_static_string ("KP_Enter"))))) { -#line 1451 "/home/jens/Source/shotwell/src/Page.vala" +#line 1452 "/home/jens/Source/shotwell/src/Page.vala" switch (0) { -#line 9885 "Page.c" +#line 9888 "Page.c" default: { ViewCollection* _tmp26_ = NULL; ViewCollection* _tmp27_ = NULL; gint _tmp28_ = 0; gboolean _tmp29_ = FALSE; -#line 1494 "/home/jens/Source/shotwell/src/Page.vala" +#line 1495 "/home/jens/Source/shotwell/src/Page.vala" _tmp26_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 1494 "/home/jens/Source/shotwell/src/Page.vala" +#line 1495 "/home/jens/Source/shotwell/src/Page.vala" _tmp27_ = _tmp26_; -#line 1494 "/home/jens/Source/shotwell/src/Page.vala" +#line 1495 "/home/jens/Source/shotwell/src/Page.vala" _tmp28_ = view_collection_get_selected_count (_tmp27_); -#line 1494 "/home/jens/Source/shotwell/src/Page.vala" +#line 1495 "/home/jens/Source/shotwell/src/Page.vala" _tmp29_ = _tmp28_ == 1; -#line 1494 "/home/jens/Source/shotwell/src/Page.vala" +#line 1495 "/home/jens/Source/shotwell/src/Page.vala" _data_collection_unref0 (_tmp27_); -#line 1494 "/home/jens/Source/shotwell/src/Page.vala" +#line 1495 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp29_) { -#line 9904 "Page.c" +#line 9907 "Page.c" ViewCollection* _tmp30_ = NULL; ViewCollection* _tmp31_ = NULL; DataView* _tmp32_ = NULL; CheckerboardItem* _tmp33_ = NULL; CheckerboardPageKeyboardModifiers _tmp34_ = {0}; -#line 1495 "/home/jens/Source/shotwell/src/Page.vala" +#line 1496 "/home/jens/Source/shotwell/src/Page.vala" _tmp30_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 1495 "/home/jens/Source/shotwell/src/Page.vala" +#line 1496 "/home/jens/Source/shotwell/src/Page.vala" _tmp31_ = _tmp30_; -#line 1495 "/home/jens/Source/shotwell/src/Page.vala" +#line 1496 "/home/jens/Source/shotwell/src/Page.vala" _tmp32_ = view_collection_get_selected_at (_tmp31_, 0); -#line 1495 "/home/jens/Source/shotwell/src/Page.vala" +#line 1496 "/home/jens/Source/shotwell/src/Page.vala" _tmp33_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp32_, TYPE_CHECKERBOARD_ITEM, CheckerboardItem); -#line 1495 "/home/jens/Source/shotwell/src/Page.vala" +#line 1496 "/home/jens/Source/shotwell/src/Page.vala" checkerboard_page_keyboard_modifiers_init (&_tmp34_, G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 1495 "/home/jens/Source/shotwell/src/Page.vala" +#line 1496 "/home/jens/Source/shotwell/src/Page.vala" checkerboard_page_on_item_activated (self, _tmp33_, CHECKERBOARD_PAGE_ACTIVATOR_KEYBOARD, &_tmp34_); -#line 1495 "/home/jens/Source/shotwell/src/Page.vala" +#line 1496 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (_tmp33_); -#line 1495 "/home/jens/Source/shotwell/src/Page.vala" +#line 1496 "/home/jens/Source/shotwell/src/Page.vala" _data_collection_unref0 (_tmp31_); -#line 9926 "Page.c" +#line 9929 "Page.c" } else { -#line 1498 "/home/jens/Source/shotwell/src/Page.vala" +#line 1499 "/home/jens/Source/shotwell/src/Page.vala" handled = FALSE; -#line 9930 "Page.c" +#line 9933 "Page.c" } -#line 1499 "/home/jens/Source/shotwell/src/Page.vala" +#line 1500 "/home/jens/Source/shotwell/src/Page.vala" break; -#line 9934 "Page.c" +#line 9937 "Page.c" } } } else if (_tmp7_ == ((0 != _tmp6_label14) ? _tmp6_label14 : (_tmp6_label14 = g_quark_from_static_string ("space")))) { -#line 1451 "/home/jens/Source/shotwell/src/Page.vala" +#line 1452 "/home/jens/Source/shotwell/src/Page.vala" switch (0) { -#line 9940 "Page.c" +#line 9943 "Page.c" default: { Marker* marker = NULL; @@ -9950,89 +9953,89 @@ static gboolean checkerboard_page_real_key_press_event (GtkWidget* base, GdkEven ViewCollection* _tmp42_ = NULL; ViewCollection* _tmp43_ = NULL; Marker* _tmp44_ = NULL; -#line 1502 "/home/jens/Source/shotwell/src/Page.vala" +#line 1503 "/home/jens/Source/shotwell/src/Page.vala" _tmp35_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 1502 "/home/jens/Source/shotwell/src/Page.vala" +#line 1503 "/home/jens/Source/shotwell/src/Page.vala" _tmp36_ = _tmp35_; -#line 1502 "/home/jens/Source/shotwell/src/Page.vala" +#line 1503 "/home/jens/Source/shotwell/src/Page.vala" _tmp37_ = self->priv->layout; -#line 1502 "/home/jens/Source/shotwell/src/Page.vala" +#line 1503 "/home/jens/Source/shotwell/src/Page.vala" _tmp38_ = checkerboard_layout_get_cursor (_tmp37_); -#line 1502 "/home/jens/Source/shotwell/src/Page.vala" +#line 1503 "/home/jens/Source/shotwell/src/Page.vala" _tmp39_ = _tmp38_; -#line 1502 "/home/jens/Source/shotwell/src/Page.vala" +#line 1503 "/home/jens/Source/shotwell/src/Page.vala" _tmp40_ = data_collection_mark (G_TYPE_CHECK_INSTANCE_CAST (_tmp36_, TYPE_DATA_COLLECTION, DataCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp39_, TYPE_DATA_OBJECT, DataObject)); -#line 1502 "/home/jens/Source/shotwell/src/Page.vala" +#line 1503 "/home/jens/Source/shotwell/src/Page.vala" _tmp41_ = _tmp40_; -#line 1502 "/home/jens/Source/shotwell/src/Page.vala" +#line 1503 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (_tmp39_); -#line 1502 "/home/jens/Source/shotwell/src/Page.vala" +#line 1503 "/home/jens/Source/shotwell/src/Page.vala" _data_collection_unref0 (_tmp36_); -#line 1502 "/home/jens/Source/shotwell/src/Page.vala" - marker = _tmp41_; #line 1503 "/home/jens/Source/shotwell/src/Page.vala" + marker = _tmp41_; +#line 1504 "/home/jens/Source/shotwell/src/Page.vala" _tmp42_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 1503 "/home/jens/Source/shotwell/src/Page.vala" +#line 1504 "/home/jens/Source/shotwell/src/Page.vala" _tmp43_ = _tmp42_; -#line 1503 "/home/jens/Source/shotwell/src/Page.vala" +#line 1504 "/home/jens/Source/shotwell/src/Page.vala" _tmp44_ = marker; -#line 1503 "/home/jens/Source/shotwell/src/Page.vala" +#line 1504 "/home/jens/Source/shotwell/src/Page.vala" view_collection_toggle_marked (_tmp43_, _tmp44_); -#line 1503 "/home/jens/Source/shotwell/src/Page.vala" - _data_collection_unref0 (_tmp43_); #line 1504 "/home/jens/Source/shotwell/src/Page.vala" + _data_collection_unref0 (_tmp43_); +#line 1505 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (marker); -#line 1504 "/home/jens/Source/shotwell/src/Page.vala" +#line 1505 "/home/jens/Source/shotwell/src/Page.vala" break; -#line 9988 "Page.c" +#line 9991 "Page.c" } } } else { -#line 1451 "/home/jens/Source/shotwell/src/Page.vala" +#line 1452 "/home/jens/Source/shotwell/src/Page.vala" switch (0) { -#line 9994 "Page.c" +#line 9997 "Page.c" default: { -#line 1507 "/home/jens/Source/shotwell/src/Page.vala" - handled = FALSE; #line 1508 "/home/jens/Source/shotwell/src/Page.vala" + handled = FALSE; +#line 1509 "/home/jens/Source/shotwell/src/Page.vala" break; -#line 10001 "Page.c" +#line 10004 "Page.c" } } } -#line 1511 "/home/jens/Source/shotwell/src/Page.vala" +#line 1512 "/home/jens/Source/shotwell/src/Page.vala" _tmp45_ = handled; -#line 1511 "/home/jens/Source/shotwell/src/Page.vala" - if (_tmp45_) { #line 1512 "/home/jens/Source/shotwell/src/Page.vala" + if (_tmp45_) { +#line 1513 "/home/jens/Source/shotwell/src/Page.vala" result = TRUE; -#line 1512 "/home/jens/Source/shotwell/src/Page.vala" +#line 1513 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 10013 "Page.c" +#line 10016 "Page.c" } -#line 1514 "/home/jens/Source/shotwell/src/Page.vala" +#line 1515 "/home/jens/Source/shotwell/src/Page.vala" if (GTK_WIDGET_CLASS (checkerboard_page_parent_class)->key_press_event != NULL) { -#line 10017 "Page.c" +#line 10020 "Page.c" GdkEventKey* _tmp47_ = NULL; gboolean _tmp48_ = FALSE; -#line 1514 "/home/jens/Source/shotwell/src/Page.vala" +#line 1515 "/home/jens/Source/shotwell/src/Page.vala" _tmp47_ = event; -#line 1514 "/home/jens/Source/shotwell/src/Page.vala" +#line 1515 "/home/jens/Source/shotwell/src/Page.vala" _tmp48_ = GTK_WIDGET_CLASS (checkerboard_page_parent_class)->key_press_event (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), gtk_widget_get_type (), GtkWidget), _tmp47_); -#line 1514 "/home/jens/Source/shotwell/src/Page.vala" +#line 1515 "/home/jens/Source/shotwell/src/Page.vala" _tmp46_ = _tmp48_; -#line 10026 "Page.c" +#line 10029 "Page.c" } else { -#line 1514 "/home/jens/Source/shotwell/src/Page.vala" +#line 1515 "/home/jens/Source/shotwell/src/Page.vala" _tmp46_ = TRUE; -#line 10030 "Page.c" +#line 10033 "Page.c" } -#line 1514 "/home/jens/Source/shotwell/src/Page.vala" +#line 1515 "/home/jens/Source/shotwell/src/Page.vala" result = _tmp46_; -#line 1514 "/home/jens/Source/shotwell/src/Page.vala" +#line 1515 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 10036 "Page.c" +#line 10039 "Page.c" } @@ -10056,62 +10059,62 @@ static gboolean checkerboard_page_real_on_left_click (Page* base, GdkEventButton ViewCollection* _tmp107_ = NULL; gint _tmp108_ = 0; gboolean _tmp109_ = FALSE; -#line 1517 "/home/jens/Source/shotwell/src/Page.vala" +#line 1518 "/home/jens/Source/shotwell/src/Page.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_CHECKERBOARD_PAGE, CheckerboardPage); -#line 1517 "/home/jens/Source/shotwell/src/Page.vala" +#line 1518 "/home/jens/Source/shotwell/src/Page.vala" g_return_val_if_fail (event != NULL, FALSE); -#line 1519 "/home/jens/Source/shotwell/src/Page.vala" +#line 1520 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = event; -#line 1519 "/home/jens/Source/shotwell/src/Page.vala" +#line 1520 "/home/jens/Source/shotwell/src/Page.vala" _tmp2_ = _tmp1_->type; -#line 1519 "/home/jens/Source/shotwell/src/Page.vala" +#line 1520 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp2_ != GDK_BUTTON_PRESS) { -#line 10070 "Page.c" +#line 10073 "Page.c" GdkEventButton* _tmp3_ = NULL; GdkEventType _tmp4_ = 0; -#line 1519 "/home/jens/Source/shotwell/src/Page.vala" +#line 1520 "/home/jens/Source/shotwell/src/Page.vala" _tmp3_ = event; -#line 1519 "/home/jens/Source/shotwell/src/Page.vala" +#line 1520 "/home/jens/Source/shotwell/src/Page.vala" _tmp4_ = _tmp3_->type; -#line 1519 "/home/jens/Source/shotwell/src/Page.vala" +#line 1520 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = _tmp4_ != GDK_2BUTTON_PRESS; -#line 10079 "Page.c" +#line 10082 "Page.c" } else { -#line 1519 "/home/jens/Source/shotwell/src/Page.vala" +#line 1520 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = FALSE; -#line 10083 "Page.c" +#line 10086 "Page.c" } -#line 1519 "/home/jens/Source/shotwell/src/Page.vala" - if (_tmp0_) { #line 1520 "/home/jens/Source/shotwell/src/Page.vala" + if (_tmp0_) { +#line 1521 "/home/jens/Source/shotwell/src/Page.vala" result = FALSE; -#line 1520 "/home/jens/Source/shotwell/src/Page.vala" +#line 1521 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 10091 "Page.c" +#line 10094 "Page.c" } -#line 1523 "/home/jens/Source/shotwell/src/Page.vala" +#line 1524 "/home/jens/Source/shotwell/src/Page.vala" _tmp5_ = event; -#line 1523 "/home/jens/Source/shotwell/src/Page.vala" +#line 1524 "/home/jens/Source/shotwell/src/Page.vala" _tmp6_ = _tmp5_->state; -#line 1523 "/home/jens/Source/shotwell/src/Page.vala" +#line 1524 "/home/jens/Source/shotwell/src/Page.vala" state = (guint) (_tmp6_ & (GDK_CONTROL_MASK | GDK_SHIFT_MASK)); -#line 1527 "/home/jens/Source/shotwell/src/Page.vala" +#line 1528 "/home/jens/Source/shotwell/src/Page.vala" _tmp7_ = event; -#line 1527 "/home/jens/Source/shotwell/src/Page.vala" +#line 1528 "/home/jens/Source/shotwell/src/Page.vala" _tmp8_ = _tmp7_->x; -#line 1527 "/home/jens/Source/shotwell/src/Page.vala" +#line 1528 "/home/jens/Source/shotwell/src/Page.vala" _tmp9_ = event; -#line 1527 "/home/jens/Source/shotwell/src/Page.vala" +#line 1528 "/home/jens/Source/shotwell/src/Page.vala" _tmp10_ = _tmp9_->y; -#line 1527 "/home/jens/Source/shotwell/src/Page.vala" +#line 1528 "/home/jens/Source/shotwell/src/Page.vala" _tmp11_ = checkerboard_page_get_item_at_pixel (self, _tmp8_, _tmp10_); -#line 1527 "/home/jens/Source/shotwell/src/Page.vala" - item = _tmp11_; #line 1528 "/home/jens/Source/shotwell/src/Page.vala" + item = _tmp11_; +#line 1529 "/home/jens/Source/shotwell/src/Page.vala" _tmp12_ = item; -#line 1528 "/home/jens/Source/shotwell/src/Page.vala" +#line 1529 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp12_ != NULL) { -#line 10115 "Page.c" +#line 10118 "Page.c" CheckerboardLayout* _tmp13_ = NULL; CheckerboardItem* _tmp14_ = NULL; GdkEventButton* _tmp15_ = NULL; @@ -10124,41 +10127,41 @@ static gboolean checkerboard_page_real_on_left_click (Page* base, GdkEventButton guint _tmp22_ = 0U; CheckerboardLayout* _tmp80_ = NULL; CheckerboardItem* _tmp81_ = NULL; -#line 1531 "/home/jens/Source/shotwell/src/Page.vala" +#line 1532 "/home/jens/Source/shotwell/src/Page.vala" _tmp13_ = self->priv->layout; -#line 1531 "/home/jens/Source/shotwell/src/Page.vala" +#line 1532 "/home/jens/Source/shotwell/src/Page.vala" _tmp14_ = item; -#line 1531 "/home/jens/Source/shotwell/src/Page.vala" +#line 1532 "/home/jens/Source/shotwell/src/Page.vala" _tmp15_ = event; -#line 1531 "/home/jens/Source/shotwell/src/Page.vala" +#line 1532 "/home/jens/Source/shotwell/src/Page.vala" _tmp16_ = _tmp15_->x; -#line 1531 "/home/jens/Source/shotwell/src/Page.vala" +#line 1532 "/home/jens/Source/shotwell/src/Page.vala" _tmp17_ = event; -#line 1531 "/home/jens/Source/shotwell/src/Page.vala" +#line 1532 "/home/jens/Source/shotwell/src/Page.vala" _tmp18_ = _tmp17_->y; -#line 1531 "/home/jens/Source/shotwell/src/Page.vala" +#line 1532 "/home/jens/Source/shotwell/src/Page.vala" _tmp19_ = event; -#line 1531 "/home/jens/Source/shotwell/src/Page.vala" +#line 1532 "/home/jens/Source/shotwell/src/Page.vala" _tmp20_ = _tmp19_->state; -#line 1531 "/home/jens/Source/shotwell/src/Page.vala" +#line 1532 "/home/jens/Source/shotwell/src/Page.vala" _tmp21_ = checkerboard_layout_handle_left_click (_tmp13_, _tmp14_, _tmp16_, _tmp18_, _tmp20_); -#line 1531 "/home/jens/Source/shotwell/src/Page.vala" - if (_tmp21_) { #line 1532 "/home/jens/Source/shotwell/src/Page.vala" + if (_tmp21_) { +#line 1533 "/home/jens/Source/shotwell/src/Page.vala" result = TRUE; -#line 1532 "/home/jens/Source/shotwell/src/Page.vala" +#line 1533 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (item); -#line 1532 "/home/jens/Source/shotwell/src/Page.vala" +#line 1533 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 10154 "Page.c" +#line 10157 "Page.c" } -#line 1534 "/home/jens/Source/shotwell/src/Page.vala" +#line 1535 "/home/jens/Source/shotwell/src/Page.vala" _tmp22_ = state; -#line 1534 "/home/jens/Source/shotwell/src/Page.vala" +#line 1535 "/home/jens/Source/shotwell/src/Page.vala" switch (_tmp22_) { -#line 1534 "/home/jens/Source/shotwell/src/Page.vala" +#line 1535 "/home/jens/Source/shotwell/src/Page.vala" case GDK_CONTROL_MASK: -#line 10162 "Page.c" +#line 10165 "Page.c" { Marker* marker = NULL; ViewCollection* _tmp23_ = NULL; @@ -10171,68 +10174,68 @@ static gboolean checkerboard_page_real_on_left_click (Page* base, GdkEventButton Marker* _tmp30_ = NULL; CheckerboardItem* _tmp31_ = NULL; gboolean _tmp32_ = FALSE; -#line 1538 "/home/jens/Source/shotwell/src/Page.vala" +#line 1539 "/home/jens/Source/shotwell/src/Page.vala" _tmp23_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 1538 "/home/jens/Source/shotwell/src/Page.vala" +#line 1539 "/home/jens/Source/shotwell/src/Page.vala" _tmp24_ = _tmp23_; -#line 1538 "/home/jens/Source/shotwell/src/Page.vala" +#line 1539 "/home/jens/Source/shotwell/src/Page.vala" _tmp25_ = item; -#line 1538 "/home/jens/Source/shotwell/src/Page.vala" +#line 1539 "/home/jens/Source/shotwell/src/Page.vala" _tmp26_ = data_collection_mark (G_TYPE_CHECK_INSTANCE_CAST (_tmp24_, TYPE_DATA_COLLECTION, DataCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp25_, TYPE_DATA_OBJECT, DataObject)); -#line 1538 "/home/jens/Source/shotwell/src/Page.vala" +#line 1539 "/home/jens/Source/shotwell/src/Page.vala" _tmp27_ = _tmp26_; -#line 1538 "/home/jens/Source/shotwell/src/Page.vala" +#line 1539 "/home/jens/Source/shotwell/src/Page.vala" _data_collection_unref0 (_tmp24_); -#line 1538 "/home/jens/Source/shotwell/src/Page.vala" - marker = _tmp27_; #line 1539 "/home/jens/Source/shotwell/src/Page.vala" + marker = _tmp27_; +#line 1540 "/home/jens/Source/shotwell/src/Page.vala" _tmp28_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 1539 "/home/jens/Source/shotwell/src/Page.vala" +#line 1540 "/home/jens/Source/shotwell/src/Page.vala" _tmp29_ = _tmp28_; -#line 1539 "/home/jens/Source/shotwell/src/Page.vala" +#line 1540 "/home/jens/Source/shotwell/src/Page.vala" _tmp30_ = marker; -#line 1539 "/home/jens/Source/shotwell/src/Page.vala" +#line 1540 "/home/jens/Source/shotwell/src/Page.vala" view_collection_toggle_marked (_tmp29_, _tmp30_); -#line 1539 "/home/jens/Source/shotwell/src/Page.vala" +#line 1540 "/home/jens/Source/shotwell/src/Page.vala" _data_collection_unref0 (_tmp29_); -#line 1541 "/home/jens/Source/shotwell/src/Page.vala" +#line 1542 "/home/jens/Source/shotwell/src/Page.vala" _tmp31_ = item; -#line 1541 "/home/jens/Source/shotwell/src/Page.vala" +#line 1542 "/home/jens/Source/shotwell/src/Page.vala" _tmp32_ = data_view_is_selected (G_TYPE_CHECK_INSTANCE_CAST (_tmp31_, TYPE_DATA_VIEW, DataView)); -#line 1541 "/home/jens/Source/shotwell/src/Page.vala" +#line 1542 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp32_) { -#line 10205 "Page.c" +#line 10208 "Page.c" CheckerboardItem* _tmp33_ = NULL; CheckerboardItem* _tmp34_ = NULL; CheckerboardItem* _tmp35_ = NULL; CheckerboardItem* _tmp36_ = NULL; -#line 1542 "/home/jens/Source/shotwell/src/Page.vala" +#line 1543 "/home/jens/Source/shotwell/src/Page.vala" _tmp33_ = item; -#line 1542 "/home/jens/Source/shotwell/src/Page.vala" +#line 1543 "/home/jens/Source/shotwell/src/Page.vala" _tmp34_ = _g_object_ref0 (_tmp33_); -#line 1542 "/home/jens/Source/shotwell/src/Page.vala" +#line 1543 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (self->anchor); -#line 1542 "/home/jens/Source/shotwell/src/Page.vala" - self->anchor = _tmp34_; #line 1543 "/home/jens/Source/shotwell/src/Page.vala" + self->anchor = _tmp34_; +#line 1544 "/home/jens/Source/shotwell/src/Page.vala" _tmp35_ = item; -#line 1543 "/home/jens/Source/shotwell/src/Page.vala" +#line 1544 "/home/jens/Source/shotwell/src/Page.vala" _tmp36_ = _g_object_ref0 (_tmp35_); -#line 1543 "/home/jens/Source/shotwell/src/Page.vala" +#line 1544 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (self->cursor); -#line 1543 "/home/jens/Source/shotwell/src/Page.vala" +#line 1544 "/home/jens/Source/shotwell/src/Page.vala" self->cursor = _tmp36_; -#line 10226 "Page.c" +#line 10229 "Page.c" } -#line 1545 "/home/jens/Source/shotwell/src/Page.vala" +#line 1546 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (marker); -#line 1545 "/home/jens/Source/shotwell/src/Page.vala" +#line 1546 "/home/jens/Source/shotwell/src/Page.vala" break; -#line 10232 "Page.c" +#line 10235 "Page.c" } -#line 1534 "/home/jens/Source/shotwell/src/Page.vala" +#line 1535 "/home/jens/Source/shotwell/src/Page.vala" case GDK_SHIFT_MASK: -#line 10236 "Page.c" +#line 10239 "Page.c" { ViewCollection* _tmp37_ = NULL; ViewCollection* _tmp38_ = NULL; @@ -10241,92 +10244,92 @@ static gboolean checkerboard_page_real_on_left_click (Page* base, GdkEventButton CheckerboardItem* _tmp43_ = NULL; CheckerboardItem* _tmp44_ = NULL; CheckerboardItem* _tmp45_ = NULL; -#line 1548 "/home/jens/Source/shotwell/src/Page.vala" +#line 1549 "/home/jens/Source/shotwell/src/Page.vala" _tmp37_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 1548 "/home/jens/Source/shotwell/src/Page.vala" +#line 1549 "/home/jens/Source/shotwell/src/Page.vala" _tmp38_ = _tmp37_; -#line 1548 "/home/jens/Source/shotwell/src/Page.vala" +#line 1549 "/home/jens/Source/shotwell/src/Page.vala" view_collection_unselect_all (_tmp38_); -#line 1548 "/home/jens/Source/shotwell/src/Page.vala" +#line 1549 "/home/jens/Source/shotwell/src/Page.vala" _data_collection_unref0 (_tmp38_); -#line 1550 "/home/jens/Source/shotwell/src/Page.vala" +#line 1551 "/home/jens/Source/shotwell/src/Page.vala" _tmp39_ = self->anchor; -#line 1550 "/home/jens/Source/shotwell/src/Page.vala" +#line 1551 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp39_ == NULL) { -#line 10257 "Page.c" +#line 10260 "Page.c" CheckerboardItem* _tmp40_ = NULL; CheckerboardItem* _tmp41_ = NULL; -#line 1551 "/home/jens/Source/shotwell/src/Page.vala" +#line 1552 "/home/jens/Source/shotwell/src/Page.vala" _tmp40_ = item; -#line 1551 "/home/jens/Source/shotwell/src/Page.vala" +#line 1552 "/home/jens/Source/shotwell/src/Page.vala" _tmp41_ = _g_object_ref0 (_tmp40_); -#line 1551 "/home/jens/Source/shotwell/src/Page.vala" +#line 1552 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (self->anchor); -#line 1551 "/home/jens/Source/shotwell/src/Page.vala" +#line 1552 "/home/jens/Source/shotwell/src/Page.vala" self->anchor = _tmp41_; -#line 10268 "Page.c" +#line 10271 "Page.c" } -#line 1553 "/home/jens/Source/shotwell/src/Page.vala" +#line 1554 "/home/jens/Source/shotwell/src/Page.vala" _tmp42_ = self->anchor; -#line 1553 "/home/jens/Source/shotwell/src/Page.vala" +#line 1554 "/home/jens/Source/shotwell/src/Page.vala" _tmp43_ = item; -#line 1553 "/home/jens/Source/shotwell/src/Page.vala" +#line 1554 "/home/jens/Source/shotwell/src/Page.vala" checkerboard_page_select_between_items (self, _tmp42_, _tmp43_); -#line 1555 "/home/jens/Source/shotwell/src/Page.vala" +#line 1556 "/home/jens/Source/shotwell/src/Page.vala" _tmp44_ = item; -#line 1555 "/home/jens/Source/shotwell/src/Page.vala" +#line 1556 "/home/jens/Source/shotwell/src/Page.vala" _tmp45_ = _g_object_ref0 (_tmp44_); -#line 1555 "/home/jens/Source/shotwell/src/Page.vala" +#line 1556 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (self->cursor); -#line 1555 "/home/jens/Source/shotwell/src/Page.vala" - self->cursor = _tmp45_; #line 1556 "/home/jens/Source/shotwell/src/Page.vala" + self->cursor = _tmp45_; +#line 1557 "/home/jens/Source/shotwell/src/Page.vala" break; -#line 10286 "Page.c" +#line 10289 "Page.c" } -#line 1534 "/home/jens/Source/shotwell/src/Page.vala" +#line 1535 "/home/jens/Source/shotwell/src/Page.vala" case GDK_CONTROL_MASK | GDK_SHIFT_MASK: -#line 10290 "Page.c" +#line 10293 "Page.c" { CheckerboardItem* _tmp46_ = NULL; CheckerboardItem* _tmp49_ = NULL; CheckerboardItem* _tmp50_ = NULL; CheckerboardItem* _tmp51_ = NULL; CheckerboardItem* _tmp52_ = NULL; -#line 1563 "/home/jens/Source/shotwell/src/Page.vala" +#line 1564 "/home/jens/Source/shotwell/src/Page.vala" _tmp46_ = self->anchor; -#line 1563 "/home/jens/Source/shotwell/src/Page.vala" +#line 1564 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp46_ == NULL) { -#line 10301 "Page.c" +#line 10304 "Page.c" CheckerboardItem* _tmp47_ = NULL; CheckerboardItem* _tmp48_ = NULL; -#line 1564 "/home/jens/Source/shotwell/src/Page.vala" +#line 1565 "/home/jens/Source/shotwell/src/Page.vala" _tmp47_ = item; -#line 1564 "/home/jens/Source/shotwell/src/Page.vala" +#line 1565 "/home/jens/Source/shotwell/src/Page.vala" _tmp48_ = _g_object_ref0 (_tmp47_); -#line 1564 "/home/jens/Source/shotwell/src/Page.vala" +#line 1565 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (self->anchor); -#line 1564 "/home/jens/Source/shotwell/src/Page.vala" +#line 1565 "/home/jens/Source/shotwell/src/Page.vala" self->anchor = _tmp48_; -#line 10312 "Page.c" +#line 10315 "Page.c" } -#line 1566 "/home/jens/Source/shotwell/src/Page.vala" +#line 1567 "/home/jens/Source/shotwell/src/Page.vala" _tmp49_ = self->anchor; -#line 1566 "/home/jens/Source/shotwell/src/Page.vala" +#line 1567 "/home/jens/Source/shotwell/src/Page.vala" _tmp50_ = item; -#line 1566 "/home/jens/Source/shotwell/src/Page.vala" +#line 1567 "/home/jens/Source/shotwell/src/Page.vala" checkerboard_page_select_between_items (self, _tmp49_, _tmp50_); -#line 1568 "/home/jens/Source/shotwell/src/Page.vala" +#line 1569 "/home/jens/Source/shotwell/src/Page.vala" _tmp51_ = item; -#line 1568 "/home/jens/Source/shotwell/src/Page.vala" +#line 1569 "/home/jens/Source/shotwell/src/Page.vala" _tmp52_ = _g_object_ref0 (_tmp51_); -#line 1568 "/home/jens/Source/shotwell/src/Page.vala" +#line 1569 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (self->cursor); -#line 1568 "/home/jens/Source/shotwell/src/Page.vala" - self->cursor = _tmp52_; #line 1569 "/home/jens/Source/shotwell/src/Page.vala" + self->cursor = _tmp52_; +#line 1570 "/home/jens/Source/shotwell/src/Page.vala" break; -#line 10330 "Page.c" +#line 10333 "Page.c" } default: { @@ -10336,34 +10339,34 @@ static gboolean checkerboard_page_real_on_left_click (Page* base, GdkEventButton CheckerboardItem* _tmp77_ = NULL; CheckerboardItem* _tmp78_ = NULL; CheckerboardItem* _tmp79_ = NULL; -#line 1572 "/home/jens/Source/shotwell/src/Page.vala" +#line 1573 "/home/jens/Source/shotwell/src/Page.vala" _tmp53_ = event; -#line 1572 "/home/jens/Source/shotwell/src/Page.vala" +#line 1573 "/home/jens/Source/shotwell/src/Page.vala" _tmp54_ = _tmp53_->type; -#line 1572 "/home/jens/Source/shotwell/src/Page.vala" +#line 1573 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp54_ == GDK_2BUTTON_PRESS) { -#line 10346 "Page.c" +#line 10349 "Page.c" CheckerboardItem* _tmp55_ = NULL; CheckerboardItem* _tmp56_ = NULL; -#line 1573 "/home/jens/Source/shotwell/src/Page.vala" +#line 1574 "/home/jens/Source/shotwell/src/Page.vala" _tmp55_ = item; -#line 1573 "/home/jens/Source/shotwell/src/Page.vala" +#line 1574 "/home/jens/Source/shotwell/src/Page.vala" _tmp56_ = _g_object_ref0 (_tmp55_); -#line 1573 "/home/jens/Source/shotwell/src/Page.vala" +#line 1574 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (self->priv->activated_item); -#line 1573 "/home/jens/Source/shotwell/src/Page.vala" +#line 1574 "/home/jens/Source/shotwell/src/Page.vala" self->priv->activated_item = _tmp56_; -#line 10357 "Page.c" +#line 10360 "Page.c" } else { CheckerboardItem* _tmp57_ = NULL; gboolean _tmp58_ = FALSE; -#line 1579 "/home/jens/Source/shotwell/src/Page.vala" +#line 1580 "/home/jens/Source/shotwell/src/Page.vala" _tmp57_ = item; -#line 1579 "/home/jens/Source/shotwell/src/Page.vala" +#line 1580 "/home/jens/Source/shotwell/src/Page.vala" _tmp58_ = data_view_is_selected (G_TYPE_CHECK_INSTANCE_CAST (_tmp57_, TYPE_DATA_VIEW, DataView)); -#line 1579 "/home/jens/Source/shotwell/src/Page.vala" +#line 1580 "/home/jens/Source/shotwell/src/Page.vala" if (!_tmp58_) { -#line 10367 "Page.c" +#line 10370 "Page.c" Marker* all = NULL; ViewCollection* _tmp59_ = NULL; ViewCollection* _tmp60_ = NULL; @@ -10382,91 +10385,91 @@ static gboolean checkerboard_page_real_on_left_click (Page* base, GdkEventButton CheckerboardItem* _tmp73_ = NULL; Marker* _tmp74_ = NULL; Marker* _tmp75_ = NULL; -#line 1580 "/home/jens/Source/shotwell/src/Page.vala" +#line 1581 "/home/jens/Source/shotwell/src/Page.vala" _tmp59_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 1580 "/home/jens/Source/shotwell/src/Page.vala" +#line 1581 "/home/jens/Source/shotwell/src/Page.vala" _tmp60_ = _tmp59_; -#line 1580 "/home/jens/Source/shotwell/src/Page.vala" +#line 1581 "/home/jens/Source/shotwell/src/Page.vala" _tmp61_ = data_collection_start_marking (G_TYPE_CHECK_INSTANCE_CAST (_tmp60_, TYPE_DATA_COLLECTION, DataCollection)); -#line 1580 "/home/jens/Source/shotwell/src/Page.vala" +#line 1581 "/home/jens/Source/shotwell/src/Page.vala" _tmp62_ = _tmp61_; -#line 1580 "/home/jens/Source/shotwell/src/Page.vala" +#line 1581 "/home/jens/Source/shotwell/src/Page.vala" _data_collection_unref0 (_tmp60_); -#line 1580 "/home/jens/Source/shotwell/src/Page.vala" - all = _tmp62_; #line 1581 "/home/jens/Source/shotwell/src/Page.vala" + all = _tmp62_; +#line 1582 "/home/jens/Source/shotwell/src/Page.vala" _tmp63_ = all; -#line 1581 "/home/jens/Source/shotwell/src/Page.vala" +#line 1582 "/home/jens/Source/shotwell/src/Page.vala" _tmp64_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 1581 "/home/jens/Source/shotwell/src/Page.vala" +#line 1582 "/home/jens/Source/shotwell/src/Page.vala" _tmp65_ = _tmp64_; -#line 1581 "/home/jens/Source/shotwell/src/Page.vala" +#line 1582 "/home/jens/Source/shotwell/src/Page.vala" _tmp66_ = view_collection_get_selected (_tmp65_); -#line 1581 "/home/jens/Source/shotwell/src/Page.vala" +#line 1582 "/home/jens/Source/shotwell/src/Page.vala" _tmp67_ = _tmp66_; -#line 1581 "/home/jens/Source/shotwell/src/Page.vala" +#line 1582 "/home/jens/Source/shotwell/src/Page.vala" marker_mark_many (_tmp63_, G_TYPE_CHECK_INSTANCE_CAST (_tmp67_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 1581 "/home/jens/Source/shotwell/src/Page.vala" +#line 1582 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (_tmp67_); -#line 1581 "/home/jens/Source/shotwell/src/Page.vala" +#line 1582 "/home/jens/Source/shotwell/src/Page.vala" _data_collection_unref0 (_tmp65_); -#line 1583 "/home/jens/Source/shotwell/src/Page.vala" +#line 1584 "/home/jens/Source/shotwell/src/Page.vala" _tmp68_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 1583 "/home/jens/Source/shotwell/src/Page.vala" +#line 1584 "/home/jens/Source/shotwell/src/Page.vala" _tmp69_ = _tmp68_; -#line 1583 "/home/jens/Source/shotwell/src/Page.vala" +#line 1584 "/home/jens/Source/shotwell/src/Page.vala" _tmp70_ = all; -#line 1583 "/home/jens/Source/shotwell/src/Page.vala" +#line 1584 "/home/jens/Source/shotwell/src/Page.vala" _tmp71_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 1583 "/home/jens/Source/shotwell/src/Page.vala" +#line 1584 "/home/jens/Source/shotwell/src/Page.vala" _tmp72_ = _tmp71_; -#line 1583 "/home/jens/Source/shotwell/src/Page.vala" +#line 1584 "/home/jens/Source/shotwell/src/Page.vala" _tmp73_ = item; -#line 1583 "/home/jens/Source/shotwell/src/Page.vala" +#line 1584 "/home/jens/Source/shotwell/src/Page.vala" _tmp74_ = data_collection_mark (G_TYPE_CHECK_INSTANCE_CAST (_tmp72_, TYPE_DATA_COLLECTION, DataCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp73_, TYPE_DATA_OBJECT, DataObject)); -#line 1583 "/home/jens/Source/shotwell/src/Page.vala" +#line 1584 "/home/jens/Source/shotwell/src/Page.vala" _tmp75_ = _tmp74_; -#line 1583 "/home/jens/Source/shotwell/src/Page.vala" +#line 1584 "/home/jens/Source/shotwell/src/Page.vala" view_collection_unselect_and_select_marked (_tmp69_, _tmp70_, _tmp75_); -#line 1583 "/home/jens/Source/shotwell/src/Page.vala" +#line 1584 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (_tmp75_); -#line 1583 "/home/jens/Source/shotwell/src/Page.vala" +#line 1584 "/home/jens/Source/shotwell/src/Page.vala" _data_collection_unref0 (_tmp72_); -#line 1583 "/home/jens/Source/shotwell/src/Page.vala" +#line 1584 "/home/jens/Source/shotwell/src/Page.vala" _data_collection_unref0 (_tmp69_); -#line 1579 "/home/jens/Source/shotwell/src/Page.vala" +#line 1580 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (all); -#line 10440 "Page.c" +#line 10443 "Page.c" } } -#line 1587 "/home/jens/Source/shotwell/src/Page.vala" +#line 1588 "/home/jens/Source/shotwell/src/Page.vala" _tmp76_ = item; -#line 1587 "/home/jens/Source/shotwell/src/Page.vala" +#line 1588 "/home/jens/Source/shotwell/src/Page.vala" _tmp77_ = _g_object_ref0 (_tmp76_); -#line 1587 "/home/jens/Source/shotwell/src/Page.vala" +#line 1588 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (self->anchor); -#line 1587 "/home/jens/Source/shotwell/src/Page.vala" - self->anchor = _tmp77_; #line 1588 "/home/jens/Source/shotwell/src/Page.vala" + self->anchor = _tmp77_; +#line 1589 "/home/jens/Source/shotwell/src/Page.vala" _tmp78_ = item; -#line 1588 "/home/jens/Source/shotwell/src/Page.vala" +#line 1589 "/home/jens/Source/shotwell/src/Page.vala" _tmp79_ = _g_object_ref0 (_tmp78_); -#line 1588 "/home/jens/Source/shotwell/src/Page.vala" +#line 1589 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (self->cursor); -#line 1588 "/home/jens/Source/shotwell/src/Page.vala" - self->cursor = _tmp79_; #line 1589 "/home/jens/Source/shotwell/src/Page.vala" + self->cursor = _tmp79_; +#line 1590 "/home/jens/Source/shotwell/src/Page.vala" break; -#line 10461 "Page.c" +#line 10464 "Page.c" } } -#line 1591 "/home/jens/Source/shotwell/src/Page.vala" +#line 1592 "/home/jens/Source/shotwell/src/Page.vala" _tmp80_ = self->priv->layout; -#line 1591 "/home/jens/Source/shotwell/src/Page.vala" +#line 1592 "/home/jens/Source/shotwell/src/Page.vala" _tmp81_ = item; -#line 1591 "/home/jens/Source/shotwell/src/Page.vala" +#line 1592 "/home/jens/Source/shotwell/src/Page.vala" checkerboard_layout_set_cursor (_tmp80_, _tmp81_); -#line 10470 "Page.c" +#line 10473 "Page.c" } else { guint _tmp82_ = 0U; GeeArrayList* _tmp85_ = NULL; @@ -10475,30 +10478,30 @@ static gboolean checkerboard_page_real_on_left_click (Page* base, GdkEventButton gdouble _tmp103_ = 0.0; GdkEventButton* _tmp104_ = NULL; gdouble _tmp105_ = 0.0; -#line 1595 "/home/jens/Source/shotwell/src/Page.vala" +#line 1596 "/home/jens/Source/shotwell/src/Page.vala" _tmp82_ = state; -#line 1595 "/home/jens/Source/shotwell/src/Page.vala" +#line 1596 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp82_ != ((guint) GDK_CONTROL_MASK)) { -#line 10483 "Page.c" +#line 10486 "Page.c" ViewCollection* _tmp83_ = NULL; ViewCollection* _tmp84_ = NULL; -#line 1596 "/home/jens/Source/shotwell/src/Page.vala" +#line 1597 "/home/jens/Source/shotwell/src/Page.vala" _tmp83_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 1596 "/home/jens/Source/shotwell/src/Page.vala" +#line 1597 "/home/jens/Source/shotwell/src/Page.vala" _tmp84_ = _tmp83_; -#line 1596 "/home/jens/Source/shotwell/src/Page.vala" +#line 1597 "/home/jens/Source/shotwell/src/Page.vala" view_collection_unselect_all (_tmp84_); -#line 1596 "/home/jens/Source/shotwell/src/Page.vala" +#line 1597 "/home/jens/Source/shotwell/src/Page.vala" _data_collection_unref0 (_tmp84_); -#line 10494 "Page.c" +#line 10497 "Page.c" } -#line 1599 "/home/jens/Source/shotwell/src/Page.vala" +#line 1600 "/home/jens/Source/shotwell/src/Page.vala" _tmp85_ = gee_array_list_new (TYPE_CHECKERBOARD_ITEM, (GBoxedCopyFunc) g_object_ref, (GDestroyNotify) g_object_unref, NULL, NULL, NULL); -#line 1599 "/home/jens/Source/shotwell/src/Page.vala" +#line 1600 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (self->priv->previously_selected); -#line 1599 "/home/jens/Source/shotwell/src/Page.vala" +#line 1600 "/home/jens/Source/shotwell/src/Page.vala" self->priv->previously_selected = _tmp85_; -#line 10502 "Page.c" +#line 10505 "Page.c" { GeeList* _view_list = NULL; ViewCollection* _tmp86_ = NULL; @@ -10510,31 +10513,31 @@ static gboolean checkerboard_page_real_on_left_click (Page* base, GdkEventButton gint _tmp91_ = 0; gint _tmp92_ = 0; gint _view_index = 0; -#line 1600 "/home/jens/Source/shotwell/src/Page.vala" +#line 1601 "/home/jens/Source/shotwell/src/Page.vala" _tmp86_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 1600 "/home/jens/Source/shotwell/src/Page.vala" +#line 1601 "/home/jens/Source/shotwell/src/Page.vala" _tmp87_ = _tmp86_; -#line 1600 "/home/jens/Source/shotwell/src/Page.vala" +#line 1601 "/home/jens/Source/shotwell/src/Page.vala" _tmp88_ = view_collection_get_selected (_tmp87_); -#line 1600 "/home/jens/Source/shotwell/src/Page.vala" +#line 1601 "/home/jens/Source/shotwell/src/Page.vala" _tmp89_ = _tmp88_; -#line 1600 "/home/jens/Source/shotwell/src/Page.vala" +#line 1601 "/home/jens/Source/shotwell/src/Page.vala" _data_collection_unref0 (_tmp87_); -#line 1600 "/home/jens/Source/shotwell/src/Page.vala" +#line 1601 "/home/jens/Source/shotwell/src/Page.vala" _view_list = _tmp89_; -#line 1600 "/home/jens/Source/shotwell/src/Page.vala" +#line 1601 "/home/jens/Source/shotwell/src/Page.vala" _tmp90_ = _view_list; -#line 1600 "/home/jens/Source/shotwell/src/Page.vala" +#line 1601 "/home/jens/Source/shotwell/src/Page.vala" _tmp91_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp90_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 1600 "/home/jens/Source/shotwell/src/Page.vala" +#line 1601 "/home/jens/Source/shotwell/src/Page.vala" _tmp92_ = _tmp91_; -#line 1600 "/home/jens/Source/shotwell/src/Page.vala" +#line 1601 "/home/jens/Source/shotwell/src/Page.vala" _view_size = _tmp92_; -#line 1600 "/home/jens/Source/shotwell/src/Page.vala" +#line 1601 "/home/jens/Source/shotwell/src/Page.vala" _view_index = -1; -#line 1600 "/home/jens/Source/shotwell/src/Page.vala" +#line 1601 "/home/jens/Source/shotwell/src/Page.vala" while (TRUE) { -#line 10538 "Page.c" +#line 10541 "Page.c" gint _tmp93_ = 0; gint _tmp94_ = 0; gint _tmp95_ = 0; @@ -10544,79 +10547,79 @@ static gboolean checkerboard_page_real_on_left_click (Page* base, GdkEventButton gpointer _tmp98_ = NULL; GeeArrayList* _tmp99_ = NULL; DataView* _tmp100_ = NULL; -#line 1600 "/home/jens/Source/shotwell/src/Page.vala" +#line 1601 "/home/jens/Source/shotwell/src/Page.vala" _tmp93_ = _view_index; -#line 1600 "/home/jens/Source/shotwell/src/Page.vala" +#line 1601 "/home/jens/Source/shotwell/src/Page.vala" _view_index = _tmp93_ + 1; -#line 1600 "/home/jens/Source/shotwell/src/Page.vala" +#line 1601 "/home/jens/Source/shotwell/src/Page.vala" _tmp94_ = _view_index; -#line 1600 "/home/jens/Source/shotwell/src/Page.vala" +#line 1601 "/home/jens/Source/shotwell/src/Page.vala" _tmp95_ = _view_size; -#line 1600 "/home/jens/Source/shotwell/src/Page.vala" +#line 1601 "/home/jens/Source/shotwell/src/Page.vala" if (!(_tmp94_ < _tmp95_)) { -#line 1600 "/home/jens/Source/shotwell/src/Page.vala" +#line 1601 "/home/jens/Source/shotwell/src/Page.vala" break; -#line 10560 "Page.c" +#line 10563 "Page.c" } -#line 1600 "/home/jens/Source/shotwell/src/Page.vala" +#line 1601 "/home/jens/Source/shotwell/src/Page.vala" _tmp96_ = _view_list; -#line 1600 "/home/jens/Source/shotwell/src/Page.vala" +#line 1601 "/home/jens/Source/shotwell/src/Page.vala" _tmp97_ = _view_index; -#line 1600 "/home/jens/Source/shotwell/src/Page.vala" +#line 1601 "/home/jens/Source/shotwell/src/Page.vala" _tmp98_ = gee_list_get (_tmp96_, _tmp97_); -#line 1600 "/home/jens/Source/shotwell/src/Page.vala" - view = (DataView*) _tmp98_; #line 1601 "/home/jens/Source/shotwell/src/Page.vala" + view = (DataView*) _tmp98_; +#line 1602 "/home/jens/Source/shotwell/src/Page.vala" _tmp99_ = self->priv->previously_selected; -#line 1601 "/home/jens/Source/shotwell/src/Page.vala" +#line 1602 "/home/jens/Source/shotwell/src/Page.vala" _tmp100_ = view; -#line 1601 "/home/jens/Source/shotwell/src/Page.vala" +#line 1602 "/home/jens/Source/shotwell/src/Page.vala" gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp99_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp100_, TYPE_CHECKERBOARD_ITEM, CheckerboardItem)); -#line 1600 "/home/jens/Source/shotwell/src/Page.vala" +#line 1601 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (view); -#line 10578 "Page.c" +#line 10581 "Page.c" } -#line 1600 "/home/jens/Source/shotwell/src/Page.vala" +#line 1601 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (_view_list); -#line 10582 "Page.c" +#line 10585 "Page.c" } -#line 1603 "/home/jens/Source/shotwell/src/Page.vala" +#line 1604 "/home/jens/Source/shotwell/src/Page.vala" _tmp101_ = self->priv->layout; -#line 1603 "/home/jens/Source/shotwell/src/Page.vala" +#line 1604 "/home/jens/Source/shotwell/src/Page.vala" _tmp102_ = event; -#line 1603 "/home/jens/Source/shotwell/src/Page.vala" +#line 1604 "/home/jens/Source/shotwell/src/Page.vala" _tmp103_ = _tmp102_->x; -#line 1603 "/home/jens/Source/shotwell/src/Page.vala" +#line 1604 "/home/jens/Source/shotwell/src/Page.vala" _tmp104_ = event; -#line 1603 "/home/jens/Source/shotwell/src/Page.vala" +#line 1604 "/home/jens/Source/shotwell/src/Page.vala" _tmp105_ = _tmp104_->y; -#line 1603 "/home/jens/Source/shotwell/src/Page.vala" +#line 1604 "/home/jens/Source/shotwell/src/Page.vala" checkerboard_layout_set_drag_select_origin (_tmp101_, (gint) _tmp103_, (gint) _tmp105_); -#line 1605 "/home/jens/Source/shotwell/src/Page.vala" +#line 1606 "/home/jens/Source/shotwell/src/Page.vala" result = TRUE; -#line 1605 "/home/jens/Source/shotwell/src/Page.vala" +#line 1606 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (item); -#line 1605 "/home/jens/Source/shotwell/src/Page.vala" +#line 1606 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 10602 "Page.c" +#line 10605 "Page.c" } -#line 1611 "/home/jens/Source/shotwell/src/Page.vala" +#line 1612 "/home/jens/Source/shotwell/src/Page.vala" _tmp106_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 1611 "/home/jens/Source/shotwell/src/Page.vala" +#line 1612 "/home/jens/Source/shotwell/src/Page.vala" _tmp107_ = _tmp106_; -#line 1611 "/home/jens/Source/shotwell/src/Page.vala" +#line 1612 "/home/jens/Source/shotwell/src/Page.vala" _tmp108_ = view_collection_get_selected_count (_tmp107_); -#line 1611 "/home/jens/Source/shotwell/src/Page.vala" +#line 1612 "/home/jens/Source/shotwell/src/Page.vala" _tmp109_ = _tmp108_ == 0; -#line 1611 "/home/jens/Source/shotwell/src/Page.vala" +#line 1612 "/home/jens/Source/shotwell/src/Page.vala" _data_collection_unref0 (_tmp107_); -#line 1611 "/home/jens/Source/shotwell/src/Page.vala" +#line 1612 "/home/jens/Source/shotwell/src/Page.vala" result = _tmp109_; -#line 1611 "/home/jens/Source/shotwell/src/Page.vala" +#line 1612 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (item); -#line 1611 "/home/jens/Source/shotwell/src/Page.vala" +#line 1612 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 10620 "Page.c" +#line 10623 "Page.c" } @@ -10637,152 +10640,152 @@ static gboolean checkerboard_page_real_on_left_released (Page* base, GdkEventBut CheckerboardItem* _tmp15_ = NULL; CheckerboardItem* _tmp16_ = NULL; CheckerboardItem* _tmp17_ = NULL; -#line 1614 "/home/jens/Source/shotwell/src/Page.vala" +#line 1615 "/home/jens/Source/shotwell/src/Page.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_CHECKERBOARD_PAGE, CheckerboardPage); -#line 1614 "/home/jens/Source/shotwell/src/Page.vala" - g_return_val_if_fail (event != NULL, FALSE); #line 1615 "/home/jens/Source/shotwell/src/Page.vala" + g_return_val_if_fail (event != NULL, FALSE); +#line 1616 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (self->priv->previously_selected); -#line 1615 "/home/jens/Source/shotwell/src/Page.vala" +#line 1616 "/home/jens/Source/shotwell/src/Page.vala" self->priv->previously_selected = NULL; -#line 1618 "/home/jens/Source/shotwell/src/Page.vala" +#line 1619 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = self->priv->layout; -#line 1618 "/home/jens/Source/shotwell/src/Page.vala" +#line 1619 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = checkerboard_layout_is_drag_select_active (_tmp0_); -#line 1618 "/home/jens/Source/shotwell/src/Page.vala" +#line 1619 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp1_) { -#line 10655 "Page.c" +#line 10658 "Page.c" CheckerboardLayout* _tmp2_ = NULL; CheckerboardItem* _tmp3_ = NULL; CheckerboardItem* _tmp4_ = NULL; -#line 1619 "/home/jens/Source/shotwell/src/Page.vala" +#line 1620 "/home/jens/Source/shotwell/src/Page.vala" _tmp2_ = self->priv->layout; -#line 1619 "/home/jens/Source/shotwell/src/Page.vala" - checkerboard_layout_clear_drag_select (_tmp2_); #line 1620 "/home/jens/Source/shotwell/src/Page.vala" + checkerboard_layout_clear_drag_select (_tmp2_); +#line 1621 "/home/jens/Source/shotwell/src/Page.vala" _tmp3_ = self->cursor; -#line 1620 "/home/jens/Source/shotwell/src/Page.vala" +#line 1621 "/home/jens/Source/shotwell/src/Page.vala" _tmp4_ = _g_object_ref0 (_tmp3_); -#line 1620 "/home/jens/Source/shotwell/src/Page.vala" +#line 1621 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (self->anchor); -#line 1620 "/home/jens/Source/shotwell/src/Page.vala" +#line 1621 "/home/jens/Source/shotwell/src/Page.vala" self->anchor = _tmp4_; -#line 1622 "/home/jens/Source/shotwell/src/Page.vala" +#line 1623 "/home/jens/Source/shotwell/src/Page.vala" result = TRUE; -#line 1622 "/home/jens/Source/shotwell/src/Page.vala" +#line 1623 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 10675 "Page.c" +#line 10678 "Page.c" } -#line 1626 "/home/jens/Source/shotwell/src/Page.vala" +#line 1627 "/home/jens/Source/shotwell/src/Page.vala" _tmp5_ = event; -#line 1626 "/home/jens/Source/shotwell/src/Page.vala" +#line 1627 "/home/jens/Source/shotwell/src/Page.vala" _tmp6_ = _tmp5_->state; -#line 1626 "/home/jens/Source/shotwell/src/Page.vala" - if ((_tmp6_ & (GDK_CONTROL_MASK | GDK_SHIFT_MASK)) != 0) { #line 1627 "/home/jens/Source/shotwell/src/Page.vala" + if ((_tmp6_ & (GDK_CONTROL_MASK | GDK_SHIFT_MASK)) != 0) { +#line 1628 "/home/jens/Source/shotwell/src/Page.vala" result = FALSE; -#line 1627 "/home/jens/Source/shotwell/src/Page.vala" +#line 1628 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 10687 "Page.c" +#line 10690 "Page.c" } -#line 1630 "/home/jens/Source/shotwell/src/Page.vala" +#line 1631 "/home/jens/Source/shotwell/src/Page.vala" _tmp7_ = self->priv->activated_item; -#line 1630 "/home/jens/Source/shotwell/src/Page.vala" +#line 1631 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp7_ != NULL) { -#line 10693 "Page.c" +#line 10696 "Page.c" CheckerboardItem* _tmp8_ = NULL; CheckerboardPageKeyboardModifiers _tmp9_ = {0}; -#line 1631 "/home/jens/Source/shotwell/src/Page.vala" +#line 1632 "/home/jens/Source/shotwell/src/Page.vala" _tmp8_ = self->priv->activated_item; -#line 1631 "/home/jens/Source/shotwell/src/Page.vala" +#line 1632 "/home/jens/Source/shotwell/src/Page.vala" checkerboard_page_keyboard_modifiers_init (&_tmp9_, G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 1631 "/home/jens/Source/shotwell/src/Page.vala" - checkerboard_page_on_item_activated (self, _tmp8_, CHECKERBOARD_PAGE_ACTIVATOR_MOUSE, &_tmp9_); #line 1632 "/home/jens/Source/shotwell/src/Page.vala" + checkerboard_page_on_item_activated (self, _tmp8_, CHECKERBOARD_PAGE_ACTIVATOR_MOUSE, &_tmp9_); +#line 1633 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (self->priv->activated_item); -#line 1632 "/home/jens/Source/shotwell/src/Page.vala" +#line 1633 "/home/jens/Source/shotwell/src/Page.vala" self->priv->activated_item = NULL; -#line 1634 "/home/jens/Source/shotwell/src/Page.vala" +#line 1635 "/home/jens/Source/shotwell/src/Page.vala" result = TRUE; -#line 1634 "/home/jens/Source/shotwell/src/Page.vala" +#line 1635 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 10710 "Page.c" +#line 10713 "Page.c" } -#line 1637 "/home/jens/Source/shotwell/src/Page.vala" +#line 1638 "/home/jens/Source/shotwell/src/Page.vala" _tmp10_ = event; -#line 1637 "/home/jens/Source/shotwell/src/Page.vala" +#line 1638 "/home/jens/Source/shotwell/src/Page.vala" _tmp11_ = _tmp10_->x; -#line 1637 "/home/jens/Source/shotwell/src/Page.vala" +#line 1638 "/home/jens/Source/shotwell/src/Page.vala" _tmp12_ = event; -#line 1637 "/home/jens/Source/shotwell/src/Page.vala" +#line 1638 "/home/jens/Source/shotwell/src/Page.vala" _tmp13_ = _tmp12_->y; -#line 1637 "/home/jens/Source/shotwell/src/Page.vala" +#line 1638 "/home/jens/Source/shotwell/src/Page.vala" _tmp14_ = checkerboard_page_get_item_at_pixel (self, _tmp11_, _tmp13_); -#line 1637 "/home/jens/Source/shotwell/src/Page.vala" - item = _tmp14_; #line 1638 "/home/jens/Source/shotwell/src/Page.vala" + item = _tmp14_; +#line 1639 "/home/jens/Source/shotwell/src/Page.vala" _tmp15_ = item; -#line 1638 "/home/jens/Source/shotwell/src/Page.vala" +#line 1639 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp15_ == NULL) { -#line 1640 "/home/jens/Source/shotwell/src/Page.vala" +#line 1641 "/home/jens/Source/shotwell/src/Page.vala" result = TRUE; -#line 1640 "/home/jens/Source/shotwell/src/Page.vala" +#line 1641 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (item); -#line 1640 "/home/jens/Source/shotwell/src/Page.vala" +#line 1641 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 10734 "Page.c" +#line 10737 "Page.c" } -#line 1643 "/home/jens/Source/shotwell/src/Page.vala" +#line 1644 "/home/jens/Source/shotwell/src/Page.vala" _tmp16_ = self->cursor; -#line 1643 "/home/jens/Source/shotwell/src/Page.vala" +#line 1644 "/home/jens/Source/shotwell/src/Page.vala" _tmp17_ = item; -#line 1643 "/home/jens/Source/shotwell/src/Page.vala" +#line 1644 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp16_ != _tmp17_) { -#line 10742 "Page.c" +#line 10745 "Page.c" ViewCollection* _tmp18_ = NULL; ViewCollection* _tmp19_ = NULL; -#line 1646 "/home/jens/Source/shotwell/src/Page.vala" +#line 1647 "/home/jens/Source/shotwell/src/Page.vala" _tmp18_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 1646 "/home/jens/Source/shotwell/src/Page.vala" +#line 1647 "/home/jens/Source/shotwell/src/Page.vala" _tmp19_ = _tmp18_; -#line 1646 "/home/jens/Source/shotwell/src/Page.vala" +#line 1647 "/home/jens/Source/shotwell/src/Page.vala" view_collection_unselect_all (_tmp19_); -#line 1646 "/home/jens/Source/shotwell/src/Page.vala" +#line 1647 "/home/jens/Source/shotwell/src/Page.vala" _data_collection_unref0 (_tmp19_); -#line 10753 "Page.c" +#line 10756 "Page.c" } else { CheckerboardItem* _tmp20_ = NULL; gboolean _tmp21_ = FALSE; -#line 1652 "/home/jens/Source/shotwell/src/Page.vala" +#line 1653 "/home/jens/Source/shotwell/src/Page.vala" _tmp20_ = item; -#line 1652 "/home/jens/Source/shotwell/src/Page.vala" +#line 1653 "/home/jens/Source/shotwell/src/Page.vala" _tmp21_ = data_view_is_selected (G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, TYPE_DATA_VIEW, DataView)); -#line 1652 "/home/jens/Source/shotwell/src/Page.vala" +#line 1653 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp21_) { -#line 10763 "Page.c" +#line 10766 "Page.c" ViewCollection* _tmp22_ = NULL; ViewCollection* _tmp23_ = NULL; CheckerboardItem* _tmp24_ = NULL; -#line 1653 "/home/jens/Source/shotwell/src/Page.vala" +#line 1654 "/home/jens/Source/shotwell/src/Page.vala" _tmp22_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 1653 "/home/jens/Source/shotwell/src/Page.vala" +#line 1654 "/home/jens/Source/shotwell/src/Page.vala" _tmp23_ = _tmp22_; -#line 1653 "/home/jens/Source/shotwell/src/Page.vala" +#line 1654 "/home/jens/Source/shotwell/src/Page.vala" _tmp24_ = item; -#line 1653 "/home/jens/Source/shotwell/src/Page.vala" +#line 1654 "/home/jens/Source/shotwell/src/Page.vala" view_collection_unselect_all_but (_tmp23_, G_TYPE_CHECK_INSTANCE_CAST (_tmp24_, TYPE_DATA_VIEW, DataView)); -#line 1653 "/home/jens/Source/shotwell/src/Page.vala" +#line 1654 "/home/jens/Source/shotwell/src/Page.vala" _data_collection_unref0 (_tmp23_); -#line 10777 "Page.c" +#line 10780 "Page.c" } } -#line 1656 "/home/jens/Source/shotwell/src/Page.vala" +#line 1657 "/home/jens/Source/shotwell/src/Page.vala" result = TRUE; -#line 1656 "/home/jens/Source/shotwell/src/Page.vala" +#line 1657 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (item); -#line 1656 "/home/jens/Source/shotwell/src/Page.vala" +#line 1657 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 10786 "Page.c" +#line 10789 "Page.c" } @@ -10803,50 +10806,50 @@ static gboolean checkerboard_page_real_on_right_click (Page* base, GdkEventButto GtkMenu* _tmp40_ = NULL; GdkEventButton* _tmp41_ = NULL; gboolean _tmp42_ = FALSE; -#line 1659 "/home/jens/Source/shotwell/src/Page.vala" +#line 1660 "/home/jens/Source/shotwell/src/Page.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_CHECKERBOARD_PAGE, CheckerboardPage); -#line 1659 "/home/jens/Source/shotwell/src/Page.vala" +#line 1660 "/home/jens/Source/shotwell/src/Page.vala" g_return_val_if_fail (event != NULL, FALSE); -#line 1661 "/home/jens/Source/shotwell/src/Page.vala" +#line 1662 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = event; -#line 1661 "/home/jens/Source/shotwell/src/Page.vala" +#line 1662 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = _tmp0_->type; -#line 1661 "/home/jens/Source/shotwell/src/Page.vala" - if (_tmp1_ != GDK_BUTTON_PRESS) { #line 1662 "/home/jens/Source/shotwell/src/Page.vala" + if (_tmp1_ != GDK_BUTTON_PRESS) { +#line 1663 "/home/jens/Source/shotwell/src/Page.vala" result = FALSE; -#line 1662 "/home/jens/Source/shotwell/src/Page.vala" +#line 1663 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 10821 "Page.c" +#line 10824 "Page.c" } -#line 1665 "/home/jens/Source/shotwell/src/Page.vala" +#line 1666 "/home/jens/Source/shotwell/src/Page.vala" _tmp2_ = event; -#line 1665 "/home/jens/Source/shotwell/src/Page.vala" +#line 1666 "/home/jens/Source/shotwell/src/Page.vala" _tmp3_ = _tmp2_->x; -#line 1665 "/home/jens/Source/shotwell/src/Page.vala" +#line 1666 "/home/jens/Source/shotwell/src/Page.vala" _tmp4_ = event; -#line 1665 "/home/jens/Source/shotwell/src/Page.vala" +#line 1666 "/home/jens/Source/shotwell/src/Page.vala" _tmp5_ = _tmp4_->y; -#line 1665 "/home/jens/Source/shotwell/src/Page.vala" +#line 1666 "/home/jens/Source/shotwell/src/Page.vala" _tmp6_ = checkerboard_page_get_item_at_pixel (self, _tmp3_, _tmp5_); -#line 1665 "/home/jens/Source/shotwell/src/Page.vala" - item = _tmp6_; #line 1666 "/home/jens/Source/shotwell/src/Page.vala" + item = _tmp6_; +#line 1667 "/home/jens/Source/shotwell/src/Page.vala" _tmp7_ = item; -#line 1666 "/home/jens/Source/shotwell/src/Page.vala" +#line 1667 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp7_ != NULL) { -#line 10839 "Page.c" +#line 10842 "Page.c" GdkEventButton* _tmp8_ = NULL; GdkModifierType _tmp9_ = 0; -#line 1668 "/home/jens/Source/shotwell/src/Page.vala" +#line 1669 "/home/jens/Source/shotwell/src/Page.vala" _tmp8_ = event; -#line 1668 "/home/jens/Source/shotwell/src/Page.vala" +#line 1669 "/home/jens/Source/shotwell/src/Page.vala" _tmp9_ = _tmp8_->state; -#line 1668 "/home/jens/Source/shotwell/src/Page.vala" +#line 1669 "/home/jens/Source/shotwell/src/Page.vala" switch (_tmp9_ & (GDK_CONTROL_MASK | GDK_SHIFT_MASK)) { -#line 1668 "/home/jens/Source/shotwell/src/Page.vala" +#line 1669 "/home/jens/Source/shotwell/src/Page.vala" case GDK_CONTROL_MASK: -#line 10850 "Page.c" +#line 10853 "Page.c" { Marker* marker = NULL; ViewCollection* _tmp10_ = NULL; @@ -10857,63 +10860,63 @@ static gboolean checkerboard_page_real_on_right_click (Page* base, GdkEventButto ViewCollection* _tmp15_ = NULL; ViewCollection* _tmp16_ = NULL; Marker* _tmp17_ = NULL; -#line 1671 "/home/jens/Source/shotwell/src/Page.vala" +#line 1672 "/home/jens/Source/shotwell/src/Page.vala" _tmp10_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 1671 "/home/jens/Source/shotwell/src/Page.vala" +#line 1672 "/home/jens/Source/shotwell/src/Page.vala" _tmp11_ = _tmp10_; -#line 1671 "/home/jens/Source/shotwell/src/Page.vala" +#line 1672 "/home/jens/Source/shotwell/src/Page.vala" _tmp12_ = item; -#line 1671 "/home/jens/Source/shotwell/src/Page.vala" +#line 1672 "/home/jens/Source/shotwell/src/Page.vala" _tmp13_ = data_collection_mark (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, TYPE_DATA_COLLECTION, DataCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, TYPE_DATA_OBJECT, DataObject)); -#line 1671 "/home/jens/Source/shotwell/src/Page.vala" +#line 1672 "/home/jens/Source/shotwell/src/Page.vala" _tmp14_ = _tmp13_; -#line 1671 "/home/jens/Source/shotwell/src/Page.vala" +#line 1672 "/home/jens/Source/shotwell/src/Page.vala" _data_collection_unref0 (_tmp11_); -#line 1671 "/home/jens/Source/shotwell/src/Page.vala" - marker = _tmp14_; #line 1672 "/home/jens/Source/shotwell/src/Page.vala" + marker = _tmp14_; +#line 1673 "/home/jens/Source/shotwell/src/Page.vala" _tmp15_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 1672 "/home/jens/Source/shotwell/src/Page.vala" +#line 1673 "/home/jens/Source/shotwell/src/Page.vala" _tmp16_ = _tmp15_; -#line 1672 "/home/jens/Source/shotwell/src/Page.vala" +#line 1673 "/home/jens/Source/shotwell/src/Page.vala" _tmp17_ = marker; -#line 1672 "/home/jens/Source/shotwell/src/Page.vala" +#line 1673 "/home/jens/Source/shotwell/src/Page.vala" view_collection_toggle_marked (_tmp16_, _tmp17_); -#line 1672 "/home/jens/Source/shotwell/src/Page.vala" - _data_collection_unref0 (_tmp16_); #line 1673 "/home/jens/Source/shotwell/src/Page.vala" + _data_collection_unref0 (_tmp16_); +#line 1674 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (marker); -#line 1673 "/home/jens/Source/shotwell/src/Page.vala" +#line 1674 "/home/jens/Source/shotwell/src/Page.vala" break; -#line 10889 "Page.c" +#line 10892 "Page.c" } -#line 1668 "/home/jens/Source/shotwell/src/Page.vala" +#line 1669 "/home/jens/Source/shotwell/src/Page.vala" case GDK_SHIFT_MASK: -#line 10893 "Page.c" +#line 10896 "Page.c" { -#line 1677 "/home/jens/Source/shotwell/src/Page.vala" +#line 1678 "/home/jens/Source/shotwell/src/Page.vala" break; -#line 10897 "Page.c" +#line 10900 "Page.c" } -#line 1668 "/home/jens/Source/shotwell/src/Page.vala" +#line 1669 "/home/jens/Source/shotwell/src/Page.vala" case GDK_CONTROL_MASK | GDK_SHIFT_MASK: -#line 10901 "Page.c" +#line 10904 "Page.c" { -#line 1681 "/home/jens/Source/shotwell/src/Page.vala" +#line 1682 "/home/jens/Source/shotwell/src/Page.vala" break; -#line 10905 "Page.c" +#line 10908 "Page.c" } default: { CheckerboardItem* _tmp18_ = NULL; gboolean _tmp19_ = FALSE; -#line 1686 "/home/jens/Source/shotwell/src/Page.vala" +#line 1687 "/home/jens/Source/shotwell/src/Page.vala" _tmp18_ = item; -#line 1686 "/home/jens/Source/shotwell/src/Page.vala" +#line 1687 "/home/jens/Source/shotwell/src/Page.vala" _tmp19_ = data_view_is_selected (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, TYPE_DATA_VIEW, DataView)); -#line 1686 "/home/jens/Source/shotwell/src/Page.vala" +#line 1687 "/home/jens/Source/shotwell/src/Page.vala" if (!_tmp19_) { -#line 10917 "Page.c" +#line 10920 "Page.c" Marker* all = NULL; ViewCollection* _tmp20_ = NULL; ViewCollection* _tmp21_ = NULL; @@ -10932,99 +10935,99 @@ static gboolean checkerboard_page_real_on_right_click (Page* base, GdkEventButto CheckerboardItem* _tmp34_ = NULL; Marker* _tmp35_ = NULL; Marker* _tmp36_ = NULL; -#line 1687 "/home/jens/Source/shotwell/src/Page.vala" +#line 1688 "/home/jens/Source/shotwell/src/Page.vala" _tmp20_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 1687 "/home/jens/Source/shotwell/src/Page.vala" +#line 1688 "/home/jens/Source/shotwell/src/Page.vala" _tmp21_ = _tmp20_; -#line 1687 "/home/jens/Source/shotwell/src/Page.vala" +#line 1688 "/home/jens/Source/shotwell/src/Page.vala" _tmp22_ = data_collection_start_marking (G_TYPE_CHECK_INSTANCE_CAST (_tmp21_, TYPE_DATA_COLLECTION, DataCollection)); -#line 1687 "/home/jens/Source/shotwell/src/Page.vala" +#line 1688 "/home/jens/Source/shotwell/src/Page.vala" _tmp23_ = _tmp22_; -#line 1687 "/home/jens/Source/shotwell/src/Page.vala" +#line 1688 "/home/jens/Source/shotwell/src/Page.vala" _data_collection_unref0 (_tmp21_); -#line 1687 "/home/jens/Source/shotwell/src/Page.vala" - all = _tmp23_; #line 1688 "/home/jens/Source/shotwell/src/Page.vala" + all = _tmp23_; +#line 1689 "/home/jens/Source/shotwell/src/Page.vala" _tmp24_ = all; -#line 1688 "/home/jens/Source/shotwell/src/Page.vala" +#line 1689 "/home/jens/Source/shotwell/src/Page.vala" _tmp25_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 1688 "/home/jens/Source/shotwell/src/Page.vala" +#line 1689 "/home/jens/Source/shotwell/src/Page.vala" _tmp26_ = _tmp25_; -#line 1688 "/home/jens/Source/shotwell/src/Page.vala" +#line 1689 "/home/jens/Source/shotwell/src/Page.vala" _tmp27_ = view_collection_get_selected (_tmp26_); -#line 1688 "/home/jens/Source/shotwell/src/Page.vala" +#line 1689 "/home/jens/Source/shotwell/src/Page.vala" _tmp28_ = _tmp27_; -#line 1688 "/home/jens/Source/shotwell/src/Page.vala" +#line 1689 "/home/jens/Source/shotwell/src/Page.vala" marker_mark_many (_tmp24_, G_TYPE_CHECK_INSTANCE_CAST (_tmp28_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 1688 "/home/jens/Source/shotwell/src/Page.vala" +#line 1689 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (_tmp28_); -#line 1688 "/home/jens/Source/shotwell/src/Page.vala" +#line 1689 "/home/jens/Source/shotwell/src/Page.vala" _data_collection_unref0 (_tmp26_); -#line 1690 "/home/jens/Source/shotwell/src/Page.vala" +#line 1691 "/home/jens/Source/shotwell/src/Page.vala" _tmp29_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 1690 "/home/jens/Source/shotwell/src/Page.vala" +#line 1691 "/home/jens/Source/shotwell/src/Page.vala" _tmp30_ = _tmp29_; -#line 1690 "/home/jens/Source/shotwell/src/Page.vala" +#line 1691 "/home/jens/Source/shotwell/src/Page.vala" _tmp31_ = all; -#line 1690 "/home/jens/Source/shotwell/src/Page.vala" +#line 1691 "/home/jens/Source/shotwell/src/Page.vala" _tmp32_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 1690 "/home/jens/Source/shotwell/src/Page.vala" +#line 1691 "/home/jens/Source/shotwell/src/Page.vala" _tmp33_ = _tmp32_; -#line 1690 "/home/jens/Source/shotwell/src/Page.vala" +#line 1691 "/home/jens/Source/shotwell/src/Page.vala" _tmp34_ = item; -#line 1690 "/home/jens/Source/shotwell/src/Page.vala" +#line 1691 "/home/jens/Source/shotwell/src/Page.vala" _tmp35_ = data_collection_mark (G_TYPE_CHECK_INSTANCE_CAST (_tmp33_, TYPE_DATA_COLLECTION, DataCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp34_, TYPE_DATA_OBJECT, DataObject)); -#line 1690 "/home/jens/Source/shotwell/src/Page.vala" +#line 1691 "/home/jens/Source/shotwell/src/Page.vala" _tmp36_ = _tmp35_; -#line 1690 "/home/jens/Source/shotwell/src/Page.vala" +#line 1691 "/home/jens/Source/shotwell/src/Page.vala" view_collection_unselect_and_select_marked (_tmp30_, _tmp31_, _tmp36_); -#line 1690 "/home/jens/Source/shotwell/src/Page.vala" +#line 1691 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (_tmp36_); -#line 1690 "/home/jens/Source/shotwell/src/Page.vala" +#line 1691 "/home/jens/Source/shotwell/src/Page.vala" _data_collection_unref0 (_tmp33_); -#line 1690 "/home/jens/Source/shotwell/src/Page.vala" +#line 1691 "/home/jens/Source/shotwell/src/Page.vala" _data_collection_unref0 (_tmp30_); -#line 1686 "/home/jens/Source/shotwell/src/Page.vala" +#line 1687 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (all); -#line 10990 "Page.c" +#line 10993 "Page.c" } -#line 1692 "/home/jens/Source/shotwell/src/Page.vala" +#line 1693 "/home/jens/Source/shotwell/src/Page.vala" break; -#line 10994 "Page.c" +#line 10997 "Page.c" } } } else { ViewCollection* _tmp37_ = NULL; ViewCollection* _tmp38_ = NULL; -#line 1696 "/home/jens/Source/shotwell/src/Page.vala" +#line 1697 "/home/jens/Source/shotwell/src/Page.vala" _tmp37_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 1696 "/home/jens/Source/shotwell/src/Page.vala" +#line 1697 "/home/jens/Source/shotwell/src/Page.vala" _tmp38_ = _tmp37_; -#line 1696 "/home/jens/Source/shotwell/src/Page.vala" +#line 1697 "/home/jens/Source/shotwell/src/Page.vala" view_collection_unselect_all (_tmp38_); -#line 1696 "/home/jens/Source/shotwell/src/Page.vala" +#line 1697 "/home/jens/Source/shotwell/src/Page.vala" _data_collection_unref0 (_tmp38_); -#line 11008 "Page.c" +#line 11011 "Page.c" } -#line 1699 "/home/jens/Source/shotwell/src/Page.vala" +#line 1700 "/home/jens/Source/shotwell/src/Page.vala" _tmp39_ = checkerboard_page_get_context_menu (self); -#line 1699 "/home/jens/Source/shotwell/src/Page.vala" - context_menu = _tmp39_; #line 1700 "/home/jens/Source/shotwell/src/Page.vala" + context_menu = _tmp39_; +#line 1701 "/home/jens/Source/shotwell/src/Page.vala" _tmp40_ = context_menu; -#line 1700 "/home/jens/Source/shotwell/src/Page.vala" +#line 1701 "/home/jens/Source/shotwell/src/Page.vala" _tmp41_ = event; -#line 1700 "/home/jens/Source/shotwell/src/Page.vala" +#line 1701 "/home/jens/Source/shotwell/src/Page.vala" _tmp42_ = page_popup_context_menu (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), _tmp40_, _tmp41_); -#line 1700 "/home/jens/Source/shotwell/src/Page.vala" +#line 1701 "/home/jens/Source/shotwell/src/Page.vala" result = _tmp42_; -#line 1700 "/home/jens/Source/shotwell/src/Page.vala" +#line 1701 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (context_menu); -#line 1700 "/home/jens/Source/shotwell/src/Page.vala" +#line 1701 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (item); -#line 1700 "/home/jens/Source/shotwell/src/Page.vala" +#line 1701 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 11028 "Page.c" +#line 11031 "Page.c" } @@ -11038,105 +11041,105 @@ static gboolean checkerboard_page_real_on_mouse_over (CheckerboardPage* self, Ch CheckerboardItem* _tmp11_ = NULL; CheckerboardItem* _tmp12_ = NULL; CheckerboardItem* _tmp13_ = NULL; -#line 1703 "/home/jens/Source/shotwell/src/Page.vala" - g_return_val_if_fail ((item == NULL) || IS_CHECKERBOARD_ITEM (item), FALSE); #line 1704 "/home/jens/Source/shotwell/src/Page.vala" + g_return_val_if_fail ((item == NULL) || IS_CHECKERBOARD_ITEM (item), FALSE); +#line 1705 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = item; -#line 1704 "/home/jens/Source/shotwell/src/Page.vala" +#line 1705 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp0_ != NULL) { -#line 11048 "Page.c" +#line 11051 "Page.c" CheckerboardLayout* _tmp1_ = NULL; CheckerboardItem* _tmp2_ = NULL; gint _tmp3_ = 0; gint _tmp4_ = 0; GdkModifierType _tmp5_ = 0; -#line 1705 "/home/jens/Source/shotwell/src/Page.vala" +#line 1706 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = self->priv->layout; -#line 1705 "/home/jens/Source/shotwell/src/Page.vala" +#line 1706 "/home/jens/Source/shotwell/src/Page.vala" _tmp2_ = item; -#line 1705 "/home/jens/Source/shotwell/src/Page.vala" +#line 1706 "/home/jens/Source/shotwell/src/Page.vala" _tmp3_ = x; -#line 1705 "/home/jens/Source/shotwell/src/Page.vala" +#line 1706 "/home/jens/Source/shotwell/src/Page.vala" _tmp4_ = y; -#line 1705 "/home/jens/Source/shotwell/src/Page.vala" +#line 1706 "/home/jens/Source/shotwell/src/Page.vala" _tmp5_ = mask; -#line 1705 "/home/jens/Source/shotwell/src/Page.vala" +#line 1706 "/home/jens/Source/shotwell/src/Page.vala" checkerboard_layout_handle_mouse_motion (_tmp1_, _tmp2_, _tmp3_, _tmp4_, _tmp5_); -#line 11066 "Page.c" +#line 11069 "Page.c" } -#line 1709 "/home/jens/Source/shotwell/src/Page.vala" +#line 1710 "/home/jens/Source/shotwell/src/Page.vala" _tmp6_ = item; -#line 1709 "/home/jens/Source/shotwell/src/Page.vala" +#line 1710 "/home/jens/Source/shotwell/src/Page.vala" _tmp7_ = self->priv->highlighted; -#line 1709 "/home/jens/Source/shotwell/src/Page.vala" - if (_tmp6_ == _tmp7_) { #line 1710 "/home/jens/Source/shotwell/src/Page.vala" + if (_tmp6_ == _tmp7_) { +#line 1711 "/home/jens/Source/shotwell/src/Page.vala" result = TRUE; -#line 1710 "/home/jens/Source/shotwell/src/Page.vala" +#line 1711 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 11078 "Page.c" +#line 11081 "Page.c" } -#line 1713 "/home/jens/Source/shotwell/src/Page.vala" +#line 1714 "/home/jens/Source/shotwell/src/Page.vala" _tmp8_ = self->priv->highlighted; -#line 1713 "/home/jens/Source/shotwell/src/Page.vala" +#line 1714 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp8_ != NULL) { -#line 11084 "Page.c" +#line 11087 "Page.c" CheckerboardItem* _tmp9_ = NULL; -#line 1714 "/home/jens/Source/shotwell/src/Page.vala" +#line 1715 "/home/jens/Source/shotwell/src/Page.vala" _tmp9_ = self->priv->highlighted; -#line 1714 "/home/jens/Source/shotwell/src/Page.vala" - checkerboard_item_unbrighten (_tmp9_); #line 1715 "/home/jens/Source/shotwell/src/Page.vala" + checkerboard_item_unbrighten (_tmp9_); +#line 1716 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (self->priv->highlighted); -#line 1715 "/home/jens/Source/shotwell/src/Page.vala" +#line 1716 "/home/jens/Source/shotwell/src/Page.vala" self->priv->highlighted = NULL; -#line 11094 "Page.c" +#line 11097 "Page.c" } -#line 1719 "/home/jens/Source/shotwell/src/Page.vala" +#line 1720 "/home/jens/Source/shotwell/src/Page.vala" _tmp10_ = item; -#line 1719 "/home/jens/Source/shotwell/src/Page.vala" - if (_tmp10_ == NULL) { #line 1720 "/home/jens/Source/shotwell/src/Page.vala" + if (_tmp10_ == NULL) { +#line 1721 "/home/jens/Source/shotwell/src/Page.vala" result = TRUE; -#line 1720 "/home/jens/Source/shotwell/src/Page.vala" +#line 1721 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 11104 "Page.c" +#line 11107 "Page.c" } -#line 1723 "/home/jens/Source/shotwell/src/Page.vala" +#line 1724 "/home/jens/Source/shotwell/src/Page.vala" _tmp11_ = item; -#line 1723 "/home/jens/Source/shotwell/src/Page.vala" - checkerboard_item_brighten (_tmp11_); #line 1724 "/home/jens/Source/shotwell/src/Page.vala" + checkerboard_item_brighten (_tmp11_); +#line 1725 "/home/jens/Source/shotwell/src/Page.vala" _tmp12_ = item; -#line 1724 "/home/jens/Source/shotwell/src/Page.vala" +#line 1725 "/home/jens/Source/shotwell/src/Page.vala" _tmp13_ = _g_object_ref0 (_tmp12_); -#line 1724 "/home/jens/Source/shotwell/src/Page.vala" +#line 1725 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (self->priv->highlighted); -#line 1724 "/home/jens/Source/shotwell/src/Page.vala" +#line 1725 "/home/jens/Source/shotwell/src/Page.vala" self->priv->highlighted = _tmp13_; -#line 1726 "/home/jens/Source/shotwell/src/Page.vala" +#line 1727 "/home/jens/Source/shotwell/src/Page.vala" result = TRUE; -#line 1726 "/home/jens/Source/shotwell/src/Page.vala" +#line 1727 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 11122 "Page.c" +#line 11125 "Page.c" } gboolean checkerboard_page_on_mouse_over (CheckerboardPage* self, CheckerboardItem* item, gint x, gint y, GdkModifierType mask) { -#line 1703 "/home/jens/Source/shotwell/src/Page.vala" +#line 1704 "/home/jens/Source/shotwell/src/Page.vala" g_return_val_if_fail (IS_CHECKERBOARD_PAGE (self), FALSE); -#line 1703 "/home/jens/Source/shotwell/src/Page.vala" +#line 1704 "/home/jens/Source/shotwell/src/Page.vala" return CHECKERBOARD_PAGE_GET_CLASS (self)->on_mouse_over (self, item, x, y, mask); -#line 11131 "Page.c" +#line 11134 "Page.c" } static gboolean _checkerboard_page_selection_autoscroll_gsource_func (gpointer self) { gboolean result; result = checkerboard_page_selection_autoscroll ((CheckerboardPage*) self); -#line 1746 "/home/jens/Source/shotwell/src/Page.vala" +#line 1747 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 11140 "Page.c" +#line 11143 "Page.c" } @@ -11159,95 +11162,95 @@ static gboolean checkerboard_page_real_on_motion (Page* base, GdkEventMotion* ev gint _tmp13_ = 0; gboolean _tmp14_ = FALSE; gboolean _tmp15_ = FALSE; -#line 1729 "/home/jens/Source/shotwell/src/Page.vala" +#line 1730 "/home/jens/Source/shotwell/src/Page.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_CHECKERBOARD_PAGE, CheckerboardPage); -#line 1729 "/home/jens/Source/shotwell/src/Page.vala" +#line 1730 "/home/jens/Source/shotwell/src/Page.vala" g_return_val_if_fail (event != NULL, FALSE); -#line 1731 "/home/jens/Source/shotwell/src/Page.vala" +#line 1732 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = x; -#line 1731 "/home/jens/Source/shotwell/src/Page.vala" +#line 1732 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = y; -#line 1731 "/home/jens/Source/shotwell/src/Page.vala" +#line 1732 "/home/jens/Source/shotwell/src/Page.vala" _tmp2_ = checkerboard_page_get_item_at_pixel (self, (gdouble) _tmp0_, (gdouble) _tmp1_); -#line 1731 "/home/jens/Source/shotwell/src/Page.vala" +#line 1732 "/home/jens/Source/shotwell/src/Page.vala" _tmp3_ = _tmp2_; -#line 1731 "/home/jens/Source/shotwell/src/Page.vala" +#line 1732 "/home/jens/Source/shotwell/src/Page.vala" _tmp4_ = x; -#line 1731 "/home/jens/Source/shotwell/src/Page.vala" +#line 1732 "/home/jens/Source/shotwell/src/Page.vala" _tmp5_ = y; -#line 1731 "/home/jens/Source/shotwell/src/Page.vala" +#line 1732 "/home/jens/Source/shotwell/src/Page.vala" _tmp6_ = mask; -#line 1731 "/home/jens/Source/shotwell/src/Page.vala" +#line 1732 "/home/jens/Source/shotwell/src/Page.vala" _tmp7_ = checkerboard_page_on_mouse_over (self, _tmp3_, _tmp4_, _tmp5_, _tmp6_); -#line 1731 "/home/jens/Source/shotwell/src/Page.vala" +#line 1732 "/home/jens/Source/shotwell/src/Page.vala" _tmp8_ = !_tmp7_; -#line 1731 "/home/jens/Source/shotwell/src/Page.vala" +#line 1732 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (_tmp3_); -#line 1731 "/home/jens/Source/shotwell/src/Page.vala" - if (_tmp8_) { #line 1732 "/home/jens/Source/shotwell/src/Page.vala" + if (_tmp8_) { +#line 1733 "/home/jens/Source/shotwell/src/Page.vala" result = FALSE; -#line 1732 "/home/jens/Source/shotwell/src/Page.vala" +#line 1733 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 11193 "Page.c" +#line 11196 "Page.c" } -#line 1735 "/home/jens/Source/shotwell/src/Page.vala" +#line 1736 "/home/jens/Source/shotwell/src/Page.vala" _tmp9_ = self->priv->layout; -#line 1735 "/home/jens/Source/shotwell/src/Page.vala" +#line 1736 "/home/jens/Source/shotwell/src/Page.vala" _tmp10_ = checkerboard_layout_is_drag_select_active (_tmp9_); -#line 1735 "/home/jens/Source/shotwell/src/Page.vala" - if (!_tmp10_) { #line 1736 "/home/jens/Source/shotwell/src/Page.vala" + if (!_tmp10_) { +#line 1737 "/home/jens/Source/shotwell/src/Page.vala" result = FALSE; -#line 1736 "/home/jens/Source/shotwell/src/Page.vala" +#line 1737 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 11205 "Page.c" +#line 11208 "Page.c" } -#line 1739 "/home/jens/Source/shotwell/src/Page.vala" +#line 1740 "/home/jens/Source/shotwell/src/Page.vala" _tmp11_ = self->priv->layout; -#line 1739 "/home/jens/Source/shotwell/src/Page.vala" +#line 1740 "/home/jens/Source/shotwell/src/Page.vala" _tmp12_ = x; -#line 1739 "/home/jens/Source/shotwell/src/Page.vala" +#line 1740 "/home/jens/Source/shotwell/src/Page.vala" _tmp13_ = y; -#line 1739 "/home/jens/Source/shotwell/src/Page.vala" +#line 1740 "/home/jens/Source/shotwell/src/Page.vala" checkerboard_layout_set_drag_select_endpoint (_tmp11_, _tmp12_, _tmp13_); -#line 1741 "/home/jens/Source/shotwell/src/Page.vala" +#line 1742 "/home/jens/Source/shotwell/src/Page.vala" checkerboard_page_updated_selection_band (self); -#line 1744 "/home/jens/Source/shotwell/src/Page.vala" +#line 1745 "/home/jens/Source/shotwell/src/Page.vala" _tmp15_ = self->priv->autoscroll_scheduled; -#line 1744 "/home/jens/Source/shotwell/src/Page.vala" +#line 1745 "/home/jens/Source/shotwell/src/Page.vala" if (!_tmp15_) { -#line 11221 "Page.c" +#line 11224 "Page.c" GtkAdjustment* _tmp16_ = NULL; gint _tmp17_ = 0; AdjustmentRelation _tmp18_ = 0; -#line 1745 "/home/jens/Source/shotwell/src/Page.vala" +#line 1746 "/home/jens/Source/shotwell/src/Page.vala" _tmp16_ = gtk_scrolled_window_get_vadjustment (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_scrolled_window_get_type (), GtkScrolledWindow)); -#line 1745 "/home/jens/Source/shotwell/src/Page.vala" +#line 1746 "/home/jens/Source/shotwell/src/Page.vala" _tmp17_ = y; -#line 1745 "/home/jens/Source/shotwell/src/Page.vala" +#line 1746 "/home/jens/Source/shotwell/src/Page.vala" _tmp18_ = get_adjustment_relation (_tmp16_, _tmp17_); -#line 1745 "/home/jens/Source/shotwell/src/Page.vala" +#line 1746 "/home/jens/Source/shotwell/src/Page.vala" _tmp14_ = _tmp18_ != ADJUSTMENT_RELATION_IN_RANGE; -#line 11233 "Page.c" +#line 11236 "Page.c" } else { -#line 1744 "/home/jens/Source/shotwell/src/Page.vala" +#line 1745 "/home/jens/Source/shotwell/src/Page.vala" _tmp14_ = FALSE; -#line 11237 "Page.c" +#line 11240 "Page.c" } -#line 1744 "/home/jens/Source/shotwell/src/Page.vala" +#line 1745 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp14_) { -#line 1746 "/home/jens/Source/shotwell/src/Page.vala" - g_timeout_add_full (G_PRIORITY_DEFAULT, (guint) CHECKERBOARD_PAGE_AUTOSCROLL_TICKS_MSEC, _checkerboard_page_selection_autoscroll_gsource_func, g_object_ref (self), g_object_unref); #line 1747 "/home/jens/Source/shotwell/src/Page.vala" + g_timeout_add_full (G_PRIORITY_DEFAULT, (guint) CHECKERBOARD_PAGE_AUTOSCROLL_TICKS_MSEC, _checkerboard_page_selection_autoscroll_gsource_func, g_object_ref (self), g_object_unref); +#line 1748 "/home/jens/Source/shotwell/src/Page.vala" self->priv->autoscroll_scheduled = TRUE; -#line 11245 "Page.c" +#line 11248 "Page.c" } -#line 1751 "/home/jens/Source/shotwell/src/Page.vala" +#line 1752 "/home/jens/Source/shotwell/src/Page.vala" result = TRUE; -#line 1751 "/home/jens/Source/shotwell/src/Page.vala" +#line 1752 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 11251 "Page.c" +#line 11254 "Page.c" } @@ -11284,91 +11287,91 @@ static void checkerboard_page_updated_selection_band (CheckerboardPage* self) { ViewCollection* _tmp47_ = NULL; ViewCollection* _tmp48_ = NULL; Marker* _tmp49_ = NULL; -#line 1754 "/home/jens/Source/shotwell/src/Page.vala" - g_return_if_fail (IS_CHECKERBOARD_PAGE (self)); #line 1755 "/home/jens/Source/shotwell/src/Page.vala" + g_return_if_fail (IS_CHECKERBOARD_PAGE (self)); +#line 1756 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = self->priv->layout; -#line 1755 "/home/jens/Source/shotwell/src/Page.vala" +#line 1756 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = checkerboard_layout_is_drag_select_active (_tmp0_); -#line 1755 "/home/jens/Source/shotwell/src/Page.vala" +#line 1756 "/home/jens/Source/shotwell/src/Page.vala" _vala_assert (_tmp1_, "layout.is_drag_select_active()"); -#line 1758 "/home/jens/Source/shotwell/src/Page.vala" +#line 1759 "/home/jens/Source/shotwell/src/Page.vala" _tmp2_ = self->priv->layout; -#line 1758 "/home/jens/Source/shotwell/src/Page.vala" +#line 1759 "/home/jens/Source/shotwell/src/Page.vala" _tmp3_ = checkerboard_layout_items_in_selection_band (_tmp2_); -#line 1758 "/home/jens/Source/shotwell/src/Page.vala" - intersection = _tmp3_; #line 1759 "/home/jens/Source/shotwell/src/Page.vala" + intersection = _tmp3_; +#line 1760 "/home/jens/Source/shotwell/src/Page.vala" _tmp4_ = intersection; -#line 1759 "/home/jens/Source/shotwell/src/Page.vala" - if (_tmp4_ == NULL) { #line 1760 "/home/jens/Source/shotwell/src/Page.vala" + if (_tmp4_ == NULL) { +#line 1761 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (intersection); -#line 1760 "/home/jens/Source/shotwell/src/Page.vala" +#line 1761 "/home/jens/Source/shotwell/src/Page.vala" return; -#line 11310 "Page.c" +#line 11313 "Page.c" } -#line 1762 "/home/jens/Source/shotwell/src/Page.vala" +#line 1763 "/home/jens/Source/shotwell/src/Page.vala" _tmp5_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 1762 "/home/jens/Source/shotwell/src/Page.vala" +#line 1763 "/home/jens/Source/shotwell/src/Page.vala" _tmp6_ = _tmp5_; -#line 1762 "/home/jens/Source/shotwell/src/Page.vala" +#line 1763 "/home/jens/Source/shotwell/src/Page.vala" _tmp7_ = data_collection_start_marking (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, TYPE_DATA_COLLECTION, DataCollection)); -#line 1762 "/home/jens/Source/shotwell/src/Page.vala" +#line 1763 "/home/jens/Source/shotwell/src/Page.vala" _tmp8_ = _tmp7_; -#line 1762 "/home/jens/Source/shotwell/src/Page.vala" +#line 1763 "/home/jens/Source/shotwell/src/Page.vala" _data_collection_unref0 (_tmp6_); -#line 1762 "/home/jens/Source/shotwell/src/Page.vala" - to_unselect = _tmp8_; #line 1763 "/home/jens/Source/shotwell/src/Page.vala" + to_unselect = _tmp8_; +#line 1764 "/home/jens/Source/shotwell/src/Page.vala" _tmp9_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 1763 "/home/jens/Source/shotwell/src/Page.vala" +#line 1764 "/home/jens/Source/shotwell/src/Page.vala" _tmp10_ = _tmp9_; -#line 1763 "/home/jens/Source/shotwell/src/Page.vala" +#line 1764 "/home/jens/Source/shotwell/src/Page.vala" _tmp11_ = data_collection_start_marking (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, TYPE_DATA_COLLECTION, DataCollection)); -#line 1763 "/home/jens/Source/shotwell/src/Page.vala" +#line 1764 "/home/jens/Source/shotwell/src/Page.vala" _tmp12_ = _tmp11_; -#line 1763 "/home/jens/Source/shotwell/src/Page.vala" +#line 1764 "/home/jens/Source/shotwell/src/Page.vala" _data_collection_unref0 (_tmp10_); -#line 1763 "/home/jens/Source/shotwell/src/Page.vala" +#line 1764 "/home/jens/Source/shotwell/src/Page.vala" to_select = _tmp12_; -#line 1766 "/home/jens/Source/shotwell/src/Page.vala" +#line 1767 "/home/jens/Source/shotwell/src/Page.vala" _tmp13_ = to_unselect; -#line 1766 "/home/jens/Source/shotwell/src/Page.vala" +#line 1767 "/home/jens/Source/shotwell/src/Page.vala" _tmp14_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 1766 "/home/jens/Source/shotwell/src/Page.vala" +#line 1767 "/home/jens/Source/shotwell/src/Page.vala" _tmp15_ = _tmp14_; -#line 1766 "/home/jens/Source/shotwell/src/Page.vala" +#line 1767 "/home/jens/Source/shotwell/src/Page.vala" _tmp16_ = view_collection_get_selected (_tmp15_); -#line 1766 "/home/jens/Source/shotwell/src/Page.vala" +#line 1767 "/home/jens/Source/shotwell/src/Page.vala" _tmp17_ = _tmp16_; -#line 1766 "/home/jens/Source/shotwell/src/Page.vala" +#line 1767 "/home/jens/Source/shotwell/src/Page.vala" marker_mark_many (_tmp13_, G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 1766 "/home/jens/Source/shotwell/src/Page.vala" +#line 1767 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (_tmp17_); -#line 1766 "/home/jens/Source/shotwell/src/Page.vala" +#line 1767 "/home/jens/Source/shotwell/src/Page.vala" _data_collection_unref0 (_tmp15_); -#line 1769 "/home/jens/Source/shotwell/src/Page.vala" +#line 1770 "/home/jens/Source/shotwell/src/Page.vala" _tmp18_ = self->priv->previously_selected; -#line 1769 "/home/jens/Source/shotwell/src/Page.vala" - _vala_assert (_tmp18_ != NULL, "previously_selected != null"); #line 1770 "/home/jens/Source/shotwell/src/Page.vala" + _vala_assert (_tmp18_ != NULL, "previously_selected != null"); +#line 1771 "/home/jens/Source/shotwell/src/Page.vala" _tmp19_ = to_unselect; -#line 1770 "/home/jens/Source/shotwell/src/Page.vala" +#line 1771 "/home/jens/Source/shotwell/src/Page.vala" _tmp20_ = self->priv->previously_selected; -#line 1770 "/home/jens/Source/shotwell/src/Page.vala" - marker_unmark_many (_tmp19_, G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, GEE_TYPE_COLLECTION, GeeCollection)); #line 1771 "/home/jens/Source/shotwell/src/Page.vala" + marker_unmark_many (_tmp19_, G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, GEE_TYPE_COLLECTION, GeeCollection)); +#line 1772 "/home/jens/Source/shotwell/src/Page.vala" _tmp21_ = to_select; -#line 1771 "/home/jens/Source/shotwell/src/Page.vala" +#line 1772 "/home/jens/Source/shotwell/src/Page.vala" _tmp22_ = self->priv->previously_selected; -#line 1771 "/home/jens/Source/shotwell/src/Page.vala" +#line 1772 "/home/jens/Source/shotwell/src/Page.vala" marker_mark_many (_tmp21_, G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 1774 "/home/jens/Source/shotwell/src/Page.vala" +#line 1775 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (self->cursor); -#line 1774 "/home/jens/Source/shotwell/src/Page.vala" +#line 1775 "/home/jens/Source/shotwell/src/Page.vala" self->cursor = NULL; -#line 11372 "Page.c" +#line 11375 "Page.c" { GeeList* _item_list = NULL; GeeList* _tmp23_ = NULL; @@ -11378,25 +11381,25 @@ static void checkerboard_page_updated_selection_band (CheckerboardPage* self) { gint _tmp26_ = 0; gint _tmp27_ = 0; gint _item_index = 0; -#line 1776 "/home/jens/Source/shotwell/src/Page.vala" +#line 1777 "/home/jens/Source/shotwell/src/Page.vala" _tmp23_ = intersection; -#line 1776 "/home/jens/Source/shotwell/src/Page.vala" +#line 1777 "/home/jens/Source/shotwell/src/Page.vala" _tmp24_ = _g_object_ref0 (_tmp23_); -#line 1776 "/home/jens/Source/shotwell/src/Page.vala" +#line 1777 "/home/jens/Source/shotwell/src/Page.vala" _item_list = _tmp24_; -#line 1776 "/home/jens/Source/shotwell/src/Page.vala" +#line 1777 "/home/jens/Source/shotwell/src/Page.vala" _tmp25_ = _item_list; -#line 1776 "/home/jens/Source/shotwell/src/Page.vala" +#line 1777 "/home/jens/Source/shotwell/src/Page.vala" _tmp26_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp25_, GEE_TYPE_COLLECTION, GeeCollection)); -#line 1776 "/home/jens/Source/shotwell/src/Page.vala" +#line 1777 "/home/jens/Source/shotwell/src/Page.vala" _tmp27_ = _tmp26_; -#line 1776 "/home/jens/Source/shotwell/src/Page.vala" +#line 1777 "/home/jens/Source/shotwell/src/Page.vala" _item_size = _tmp27_; -#line 1776 "/home/jens/Source/shotwell/src/Page.vala" +#line 1777 "/home/jens/Source/shotwell/src/Page.vala" _item_index = -1; -#line 1776 "/home/jens/Source/shotwell/src/Page.vala" +#line 1777 "/home/jens/Source/shotwell/src/Page.vala" while (TRUE) { -#line 11400 "Page.c" +#line 11403 "Page.c" gint _tmp28_ = 0; gint _tmp29_ = 0; gint _tmp30_ = 0; @@ -11408,109 +11411,109 @@ static void checkerboard_page_updated_selection_band (CheckerboardPage* self) { CheckerboardItem* _tmp35_ = NULL; gboolean _tmp36_ = FALSE; CheckerboardItem* _tmp41_ = NULL; -#line 1776 "/home/jens/Source/shotwell/src/Page.vala" +#line 1777 "/home/jens/Source/shotwell/src/Page.vala" _tmp28_ = _item_index; -#line 1776 "/home/jens/Source/shotwell/src/Page.vala" +#line 1777 "/home/jens/Source/shotwell/src/Page.vala" _item_index = _tmp28_ + 1; -#line 1776 "/home/jens/Source/shotwell/src/Page.vala" +#line 1777 "/home/jens/Source/shotwell/src/Page.vala" _tmp29_ = _item_index; -#line 1776 "/home/jens/Source/shotwell/src/Page.vala" +#line 1777 "/home/jens/Source/shotwell/src/Page.vala" _tmp30_ = _item_size; -#line 1776 "/home/jens/Source/shotwell/src/Page.vala" +#line 1777 "/home/jens/Source/shotwell/src/Page.vala" if (!(_tmp29_ < _tmp30_)) { -#line 1776 "/home/jens/Source/shotwell/src/Page.vala" +#line 1777 "/home/jens/Source/shotwell/src/Page.vala" break; -#line 11424 "Page.c" +#line 11427 "Page.c" } -#line 1776 "/home/jens/Source/shotwell/src/Page.vala" +#line 1777 "/home/jens/Source/shotwell/src/Page.vala" _tmp31_ = _item_list; -#line 1776 "/home/jens/Source/shotwell/src/Page.vala" +#line 1777 "/home/jens/Source/shotwell/src/Page.vala" _tmp32_ = _item_index; -#line 1776 "/home/jens/Source/shotwell/src/Page.vala" +#line 1777 "/home/jens/Source/shotwell/src/Page.vala" _tmp33_ = gee_list_get (_tmp31_, _tmp32_); -#line 1776 "/home/jens/Source/shotwell/src/Page.vala" - item = (CheckerboardItem*) _tmp33_; #line 1777 "/home/jens/Source/shotwell/src/Page.vala" + item = (CheckerboardItem*) _tmp33_; +#line 1778 "/home/jens/Source/shotwell/src/Page.vala" _tmp34_ = to_select; -#line 1777 "/home/jens/Source/shotwell/src/Page.vala" +#line 1778 "/home/jens/Source/shotwell/src/Page.vala" _tmp35_ = item; -#line 1777 "/home/jens/Source/shotwell/src/Page.vala" +#line 1778 "/home/jens/Source/shotwell/src/Page.vala" _tmp36_ = marker_toggle (_tmp34_, G_TYPE_CHECK_INSTANCE_CAST (_tmp35_, TYPE_DATA_OBJECT, DataObject)); -#line 1777 "/home/jens/Source/shotwell/src/Page.vala" +#line 1778 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp36_) { -#line 11442 "Page.c" +#line 11445 "Page.c" Marker* _tmp37_ = NULL; CheckerboardItem* _tmp38_ = NULL; -#line 1778 "/home/jens/Source/shotwell/src/Page.vala" +#line 1779 "/home/jens/Source/shotwell/src/Page.vala" _tmp37_ = to_unselect; -#line 1778 "/home/jens/Source/shotwell/src/Page.vala" +#line 1779 "/home/jens/Source/shotwell/src/Page.vala" _tmp38_ = item; -#line 1778 "/home/jens/Source/shotwell/src/Page.vala" +#line 1779 "/home/jens/Source/shotwell/src/Page.vala" marker_unmark (_tmp37_, G_TYPE_CHECK_INSTANCE_CAST (_tmp38_, TYPE_DATA_OBJECT, DataObject)); -#line 11451 "Page.c" +#line 11454 "Page.c" } else { Marker* _tmp39_ = NULL; CheckerboardItem* _tmp40_ = NULL; -#line 1780 "/home/jens/Source/shotwell/src/Page.vala" +#line 1781 "/home/jens/Source/shotwell/src/Page.vala" _tmp39_ = to_unselect; -#line 1780 "/home/jens/Source/shotwell/src/Page.vala" +#line 1781 "/home/jens/Source/shotwell/src/Page.vala" _tmp40_ = item; -#line 1780 "/home/jens/Source/shotwell/src/Page.vala" +#line 1781 "/home/jens/Source/shotwell/src/Page.vala" marker_mark (_tmp39_, G_TYPE_CHECK_INSTANCE_CAST (_tmp40_, TYPE_DATA_OBJECT, DataObject)); -#line 11461 "Page.c" +#line 11464 "Page.c" } -#line 1782 "/home/jens/Source/shotwell/src/Page.vala" +#line 1783 "/home/jens/Source/shotwell/src/Page.vala" _tmp41_ = self->cursor; -#line 1782 "/home/jens/Source/shotwell/src/Page.vala" +#line 1783 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp41_ == NULL) { -#line 11467 "Page.c" +#line 11470 "Page.c" CheckerboardItem* _tmp42_ = NULL; CheckerboardItem* _tmp43_ = NULL; -#line 1783 "/home/jens/Source/shotwell/src/Page.vala" +#line 1784 "/home/jens/Source/shotwell/src/Page.vala" _tmp42_ = item; -#line 1783 "/home/jens/Source/shotwell/src/Page.vala" +#line 1784 "/home/jens/Source/shotwell/src/Page.vala" _tmp43_ = _g_object_ref0 (_tmp42_); -#line 1783 "/home/jens/Source/shotwell/src/Page.vala" +#line 1784 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (self->cursor); -#line 1783 "/home/jens/Source/shotwell/src/Page.vala" +#line 1784 "/home/jens/Source/shotwell/src/Page.vala" self->cursor = _tmp43_; -#line 11478 "Page.c" +#line 11481 "Page.c" } -#line 1776 "/home/jens/Source/shotwell/src/Page.vala" +#line 1777 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (item); -#line 11482 "Page.c" +#line 11485 "Page.c" } -#line 1776 "/home/jens/Source/shotwell/src/Page.vala" +#line 1777 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (_item_list); -#line 11486 "Page.c" +#line 11489 "Page.c" } -#line 1786 "/home/jens/Source/shotwell/src/Page.vala" +#line 1787 "/home/jens/Source/shotwell/src/Page.vala" _tmp44_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 1786 "/home/jens/Source/shotwell/src/Page.vala" +#line 1787 "/home/jens/Source/shotwell/src/Page.vala" _tmp45_ = _tmp44_; -#line 1786 "/home/jens/Source/shotwell/src/Page.vala" +#line 1787 "/home/jens/Source/shotwell/src/Page.vala" _tmp46_ = to_select; -#line 1786 "/home/jens/Source/shotwell/src/Page.vala" +#line 1787 "/home/jens/Source/shotwell/src/Page.vala" view_collection_select_marked (_tmp45_, _tmp46_); -#line 1786 "/home/jens/Source/shotwell/src/Page.vala" - _data_collection_unref0 (_tmp45_); #line 1787 "/home/jens/Source/shotwell/src/Page.vala" + _data_collection_unref0 (_tmp45_); +#line 1788 "/home/jens/Source/shotwell/src/Page.vala" _tmp47_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 1787 "/home/jens/Source/shotwell/src/Page.vala" +#line 1788 "/home/jens/Source/shotwell/src/Page.vala" _tmp48_ = _tmp47_; -#line 1787 "/home/jens/Source/shotwell/src/Page.vala" +#line 1788 "/home/jens/Source/shotwell/src/Page.vala" _tmp49_ = to_unselect; -#line 1787 "/home/jens/Source/shotwell/src/Page.vala" +#line 1788 "/home/jens/Source/shotwell/src/Page.vala" view_collection_unselect_marked (_tmp48_, _tmp49_); -#line 1787 "/home/jens/Source/shotwell/src/Page.vala" +#line 1788 "/home/jens/Source/shotwell/src/Page.vala" _data_collection_unref0 (_tmp48_); -#line 1754 "/home/jens/Source/shotwell/src/Page.vala" +#line 1755 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (to_select); -#line 1754 "/home/jens/Source/shotwell/src/Page.vala" +#line 1755 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (to_unselect); -#line 1754 "/home/jens/Source/shotwell/src/Page.vala" +#line 1755 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (intersection); -#line 11514 "Page.c" +#line 11517 "Page.c" } @@ -11542,77 +11545,77 @@ static gboolean checkerboard_page_selection_autoscroll (CheckerboardPage* self) GtkAdjustment* _tmp28_ = NULL; gdouble _tmp29_ = 0.0; gint _tmp30_ = 0; -#line 1790 "/home/jens/Source/shotwell/src/Page.vala" - g_return_val_if_fail (IS_CHECKERBOARD_PAGE (self), FALSE); #line 1791 "/home/jens/Source/shotwell/src/Page.vala" + g_return_val_if_fail (IS_CHECKERBOARD_PAGE (self), FALSE); +#line 1792 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = self->priv->layout; -#line 1791 "/home/jens/Source/shotwell/src/Page.vala" +#line 1792 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = checkerboard_layout_is_drag_select_active (_tmp0_); -#line 1791 "/home/jens/Source/shotwell/src/Page.vala" - if (!_tmp1_) { #line 1792 "/home/jens/Source/shotwell/src/Page.vala" + if (!_tmp1_) { +#line 1793 "/home/jens/Source/shotwell/src/Page.vala" self->priv->autoscroll_scheduled = FALSE; -#line 1794 "/home/jens/Source/shotwell/src/Page.vala" +#line 1795 "/home/jens/Source/shotwell/src/Page.vala" result = FALSE; -#line 1794 "/home/jens/Source/shotwell/src/Page.vala" +#line 1795 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 11560 "Page.c" +#line 11563 "Page.c" } -#line 1798 "/home/jens/Source/shotwell/src/Page.vala" +#line 1799 "/home/jens/Source/shotwell/src/Page.vala" _tmp2_ = gtk_scrolled_window_get_vadjustment (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_scrolled_window_get_type (), GtkScrolledWindow)); -#line 1798 "/home/jens/Source/shotwell/src/Page.vala" +#line 1799 "/home/jens/Source/shotwell/src/Page.vala" _tmp3_ = _g_object_ref0 (_tmp2_); -#line 1798 "/home/jens/Source/shotwell/src/Page.vala" +#line 1799 "/home/jens/Source/shotwell/src/Page.vala" vadj = _tmp3_; -#line 1802 "/home/jens/Source/shotwell/src/Page.vala" +#line 1803 "/home/jens/Source/shotwell/src/Page.vala" page_get_event_source_pointer (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), &_tmp4_, &_tmp5_, &_tmp6_); -#line 1802 "/home/jens/Source/shotwell/src/Page.vala" +#line 1803 "/home/jens/Source/shotwell/src/Page.vala" x = _tmp4_; -#line 1802 "/home/jens/Source/shotwell/src/Page.vala" +#line 1803 "/home/jens/Source/shotwell/src/Page.vala" y = _tmp5_; -#line 1802 "/home/jens/Source/shotwell/src/Page.vala" +#line 1803 "/home/jens/Source/shotwell/src/Page.vala" mask = _tmp6_; -#line 1804 "/home/jens/Source/shotwell/src/Page.vala" +#line 1805 "/home/jens/Source/shotwell/src/Page.vala" _tmp7_ = vadj; -#line 1804 "/home/jens/Source/shotwell/src/Page.vala" +#line 1805 "/home/jens/Source/shotwell/src/Page.vala" _tmp8_ = gtk_adjustment_get_value (_tmp7_); -#line 1804 "/home/jens/Source/shotwell/src/Page.vala" - new_value = (gint) _tmp8_; #line 1805 "/home/jens/Source/shotwell/src/Page.vala" + new_value = (gint) _tmp8_; +#line 1806 "/home/jens/Source/shotwell/src/Page.vala" _tmp9_ = vadj; -#line 1805 "/home/jens/Source/shotwell/src/Page.vala" +#line 1806 "/home/jens/Source/shotwell/src/Page.vala" _tmp10_ = y; -#line 1805 "/home/jens/Source/shotwell/src/Page.vala" +#line 1806 "/home/jens/Source/shotwell/src/Page.vala" _tmp11_ = get_adjustment_relation (_tmp9_, _tmp10_); -#line 1805 "/home/jens/Source/shotwell/src/Page.vala" +#line 1806 "/home/jens/Source/shotwell/src/Page.vala" switch (_tmp11_) { -#line 1805 "/home/jens/Source/shotwell/src/Page.vala" +#line 1806 "/home/jens/Source/shotwell/src/Page.vala" case ADJUSTMENT_RELATION_BELOW: -#line 11592 "Page.c" +#line 11595 "Page.c" { gint _tmp12_ = 0; CheckerboardLayout* _tmp13_ = NULL; gint _tmp14_ = 0; gint _tmp15_ = 0; -#line 1808 "/home/jens/Source/shotwell/src/Page.vala" +#line 1809 "/home/jens/Source/shotwell/src/Page.vala" _tmp12_ = new_value; -#line 1808 "/home/jens/Source/shotwell/src/Page.vala" - new_value = _tmp12_ - CHECKERBOARD_PAGE_AUTOSCROLL_PIXELS; #line 1809 "/home/jens/Source/shotwell/src/Page.vala" + new_value = _tmp12_ - CHECKERBOARD_PAGE_AUTOSCROLL_PIXELS; +#line 1810 "/home/jens/Source/shotwell/src/Page.vala" _tmp13_ = self->priv->layout; -#line 1809 "/home/jens/Source/shotwell/src/Page.vala" +#line 1810 "/home/jens/Source/shotwell/src/Page.vala" _tmp14_ = x; -#line 1809 "/home/jens/Source/shotwell/src/Page.vala" +#line 1810 "/home/jens/Source/shotwell/src/Page.vala" _tmp15_ = new_value; -#line 1809 "/home/jens/Source/shotwell/src/Page.vala" - checkerboard_layout_set_drag_select_endpoint (_tmp13_, _tmp14_, _tmp15_); #line 1810 "/home/jens/Source/shotwell/src/Page.vala" + checkerboard_layout_set_drag_select_endpoint (_tmp13_, _tmp14_, _tmp15_); +#line 1811 "/home/jens/Source/shotwell/src/Page.vala" break; -#line 11612 "Page.c" +#line 11615 "Page.c" } -#line 1805 "/home/jens/Source/shotwell/src/Page.vala" +#line 1806 "/home/jens/Source/shotwell/src/Page.vala" case ADJUSTMENT_RELATION_ABOVE: -#line 11616 "Page.c" +#line 11619 "Page.c" { gint _tmp16_ = 0; CheckerboardLayout* _tmp17_ = NULL; @@ -11620,78 +11623,78 @@ static gboolean checkerboard_page_selection_autoscroll (CheckerboardPage* self) gint _tmp19_ = 0; GtkAdjustment* _tmp20_ = NULL; gdouble _tmp21_ = 0.0; -#line 1814 "/home/jens/Source/shotwell/src/Page.vala" +#line 1815 "/home/jens/Source/shotwell/src/Page.vala" _tmp16_ = new_value; -#line 1814 "/home/jens/Source/shotwell/src/Page.vala" - new_value = _tmp16_ + CHECKERBOARD_PAGE_AUTOSCROLL_PIXELS; #line 1815 "/home/jens/Source/shotwell/src/Page.vala" + new_value = _tmp16_ + CHECKERBOARD_PAGE_AUTOSCROLL_PIXELS; +#line 1816 "/home/jens/Source/shotwell/src/Page.vala" _tmp17_ = self->priv->layout; -#line 1815 "/home/jens/Source/shotwell/src/Page.vala" +#line 1816 "/home/jens/Source/shotwell/src/Page.vala" _tmp18_ = x; -#line 1815 "/home/jens/Source/shotwell/src/Page.vala" +#line 1816 "/home/jens/Source/shotwell/src/Page.vala" _tmp19_ = new_value; -#line 1815 "/home/jens/Source/shotwell/src/Page.vala" +#line 1816 "/home/jens/Source/shotwell/src/Page.vala" _tmp20_ = vadj; -#line 1815 "/home/jens/Source/shotwell/src/Page.vala" +#line 1816 "/home/jens/Source/shotwell/src/Page.vala" _tmp21_ = gtk_adjustment_get_page_size (_tmp20_); -#line 1815 "/home/jens/Source/shotwell/src/Page.vala" - checkerboard_layout_set_drag_select_endpoint (_tmp17_, _tmp18_, _tmp19_ + ((gint) _tmp21_)); #line 1816 "/home/jens/Source/shotwell/src/Page.vala" + checkerboard_layout_set_drag_select_endpoint (_tmp17_, _tmp18_, _tmp19_ + ((gint) _tmp21_)); +#line 1817 "/home/jens/Source/shotwell/src/Page.vala" break; -#line 11642 "Page.c" +#line 11645 "Page.c" } -#line 1805 "/home/jens/Source/shotwell/src/Page.vala" +#line 1806 "/home/jens/Source/shotwell/src/Page.vala" case ADJUSTMENT_RELATION_IN_RANGE: -#line 11646 "Page.c" +#line 11649 "Page.c" { -#line 1819 "/home/jens/Source/shotwell/src/Page.vala" +#line 1820 "/home/jens/Source/shotwell/src/Page.vala" self->priv->autoscroll_scheduled = FALSE; -#line 1821 "/home/jens/Source/shotwell/src/Page.vala" +#line 1822 "/home/jens/Source/shotwell/src/Page.vala" result = FALSE; -#line 1821 "/home/jens/Source/shotwell/src/Page.vala" +#line 1822 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (vadj); -#line 1821 "/home/jens/Source/shotwell/src/Page.vala" +#line 1822 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 11656 "Page.c" +#line 11659 "Page.c" } default: { -#line 1824 "/home/jens/Source/shotwell/src/Page.vala" - g_warn_if_reached (); #line 1825 "/home/jens/Source/shotwell/src/Page.vala" + g_warn_if_reached (); +#line 1826 "/home/jens/Source/shotwell/src/Page.vala" break; -#line 11664 "Page.c" +#line 11667 "Page.c" } } -#line 1831 "/home/jens/Source/shotwell/src/Page.vala" +#line 1832 "/home/jens/Source/shotwell/src/Page.vala" _tmp22_ = vadj; -#line 1831 "/home/jens/Source/shotwell/src/Page.vala" +#line 1832 "/home/jens/Source/shotwell/src/Page.vala" _tmp23_ = new_value; -#line 1831 "/home/jens/Source/shotwell/src/Page.vala" +#line 1832 "/home/jens/Source/shotwell/src/Page.vala" _tmp24_ = vadj; -#line 1831 "/home/jens/Source/shotwell/src/Page.vala" +#line 1832 "/home/jens/Source/shotwell/src/Page.vala" _tmp25_ = gtk_adjustment_get_lower (_tmp24_); -#line 1831 "/home/jens/Source/shotwell/src/Page.vala" +#line 1832 "/home/jens/Source/shotwell/src/Page.vala" _tmp26_ = vadj; -#line 1831 "/home/jens/Source/shotwell/src/Page.vala" +#line 1832 "/home/jens/Source/shotwell/src/Page.vala" _tmp27_ = gtk_adjustment_get_upper (_tmp26_); -#line 1831 "/home/jens/Source/shotwell/src/Page.vala" +#line 1832 "/home/jens/Source/shotwell/src/Page.vala" _tmp28_ = vadj; -#line 1831 "/home/jens/Source/shotwell/src/Page.vala" +#line 1832 "/home/jens/Source/shotwell/src/Page.vala" _tmp29_ = gtk_adjustment_get_page_size (_tmp28_); -#line 1831 "/home/jens/Source/shotwell/src/Page.vala" +#line 1832 "/home/jens/Source/shotwell/src/Page.vala" _tmp30_ = CLAMP (_tmp23_, (gint) _tmp25_, ((gint) _tmp27_) - ((gint) _tmp29_)); -#line 1831 "/home/jens/Source/shotwell/src/Page.vala" +#line 1832 "/home/jens/Source/shotwell/src/Page.vala" gtk_adjustment_set_value (_tmp22_, (gdouble) _tmp30_); -#line 1834 "/home/jens/Source/shotwell/src/Page.vala" +#line 1835 "/home/jens/Source/shotwell/src/Page.vala" checkerboard_page_updated_selection_band (self); -#line 1836 "/home/jens/Source/shotwell/src/Page.vala" +#line 1837 "/home/jens/Source/shotwell/src/Page.vala" result = TRUE; -#line 1836 "/home/jens/Source/shotwell/src/Page.vala" +#line 1837 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (vadj); -#line 1836 "/home/jens/Source/shotwell/src/Page.vala" +#line 1837 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 11695 "Page.c" +#line 11698 "Page.c" } @@ -11722,35 +11725,35 @@ void checkerboard_page_cursor_to_item (CheckerboardPage* self, CheckerboardItem* gdouble _tmp39_ = 0.0; GtkAdjustment* _tmp53_ = NULL; gint _tmp54_ = 0; -#line 1839 "/home/jens/Source/shotwell/src/Page.vala" +#line 1840 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (IS_CHECKERBOARD_PAGE (self)); -#line 1839 "/home/jens/Source/shotwell/src/Page.vala" - g_return_if_fail (IS_CHECKERBOARD_ITEM (item)); #line 1840 "/home/jens/Source/shotwell/src/Page.vala" + g_return_if_fail (IS_CHECKERBOARD_ITEM (item)); +#line 1841 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 1840 "/home/jens/Source/shotwell/src/Page.vala" +#line 1841 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = _tmp0_; -#line 1840 "/home/jens/Source/shotwell/src/Page.vala" +#line 1841 "/home/jens/Source/shotwell/src/Page.vala" _tmp2_ = item; -#line 1840 "/home/jens/Source/shotwell/src/Page.vala" +#line 1841 "/home/jens/Source/shotwell/src/Page.vala" _tmp3_ = data_collection_contains (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_DATA_COLLECTION, DataCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, TYPE_DATA_OBJECT, DataObject)); -#line 1840 "/home/jens/Source/shotwell/src/Page.vala" +#line 1841 "/home/jens/Source/shotwell/src/Page.vala" _vala_assert (_tmp3_, "get_view().contains(item)"); -#line 1840 "/home/jens/Source/shotwell/src/Page.vala" +#line 1841 "/home/jens/Source/shotwell/src/Page.vala" _data_collection_unref0 (_tmp1_); -#line 1842 "/home/jens/Source/shotwell/src/Page.vala" +#line 1843 "/home/jens/Source/shotwell/src/Page.vala" _tmp4_ = item; -#line 1842 "/home/jens/Source/shotwell/src/Page.vala" +#line 1843 "/home/jens/Source/shotwell/src/Page.vala" _tmp5_ = _g_object_ref0 (_tmp4_); -#line 1842 "/home/jens/Source/shotwell/src/Page.vala" +#line 1843 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (self->cursor); -#line 1842 "/home/jens/Source/shotwell/src/Page.vala" +#line 1843 "/home/jens/Source/shotwell/src/Page.vala" self->cursor = _tmp5_; -#line 1844 "/home/jens/Source/shotwell/src/Page.vala" +#line 1845 "/home/jens/Source/shotwell/src/Page.vala" _tmp6_ = page_get_ctrl_pressed (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 1844 "/home/jens/Source/shotwell/src/Page.vala" +#line 1845 "/home/jens/Source/shotwell/src/Page.vala" if (!_tmp6_) { -#line 11754 "Page.c" +#line 11757 "Page.c" ViewCollection* _tmp7_ = NULL; ViewCollection* _tmp8_ = NULL; Marker* marker = NULL; @@ -11762,67 +11765,67 @@ void checkerboard_page_cursor_to_item (CheckerboardPage* self, CheckerboardItem* ViewCollection* _tmp14_ = NULL; ViewCollection* _tmp15_ = NULL; Marker* _tmp16_ = NULL; -#line 1845 "/home/jens/Source/shotwell/src/Page.vala" +#line 1846 "/home/jens/Source/shotwell/src/Page.vala" _tmp7_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 1845 "/home/jens/Source/shotwell/src/Page.vala" +#line 1846 "/home/jens/Source/shotwell/src/Page.vala" _tmp8_ = _tmp7_; -#line 1845 "/home/jens/Source/shotwell/src/Page.vala" +#line 1846 "/home/jens/Source/shotwell/src/Page.vala" view_collection_unselect_all (_tmp8_); -#line 1845 "/home/jens/Source/shotwell/src/Page.vala" - _data_collection_unref0 (_tmp8_); #line 1846 "/home/jens/Source/shotwell/src/Page.vala" + _data_collection_unref0 (_tmp8_); +#line 1847 "/home/jens/Source/shotwell/src/Page.vala" _tmp9_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 1846 "/home/jens/Source/shotwell/src/Page.vala" +#line 1847 "/home/jens/Source/shotwell/src/Page.vala" _tmp10_ = _tmp9_; -#line 1846 "/home/jens/Source/shotwell/src/Page.vala" +#line 1847 "/home/jens/Source/shotwell/src/Page.vala" _tmp11_ = item; -#line 1846 "/home/jens/Source/shotwell/src/Page.vala" +#line 1847 "/home/jens/Source/shotwell/src/Page.vala" _tmp12_ = data_collection_mark (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, TYPE_DATA_COLLECTION, DataCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, TYPE_DATA_OBJECT, DataObject)); -#line 1846 "/home/jens/Source/shotwell/src/Page.vala" +#line 1847 "/home/jens/Source/shotwell/src/Page.vala" _tmp13_ = _tmp12_; -#line 1846 "/home/jens/Source/shotwell/src/Page.vala" +#line 1847 "/home/jens/Source/shotwell/src/Page.vala" _data_collection_unref0 (_tmp10_); -#line 1846 "/home/jens/Source/shotwell/src/Page.vala" - marker = _tmp13_; #line 1847 "/home/jens/Source/shotwell/src/Page.vala" + marker = _tmp13_; +#line 1848 "/home/jens/Source/shotwell/src/Page.vala" _tmp14_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 1847 "/home/jens/Source/shotwell/src/Page.vala" +#line 1848 "/home/jens/Source/shotwell/src/Page.vala" _tmp15_ = _tmp14_; -#line 1847 "/home/jens/Source/shotwell/src/Page.vala" +#line 1848 "/home/jens/Source/shotwell/src/Page.vala" _tmp16_ = marker; -#line 1847 "/home/jens/Source/shotwell/src/Page.vala" +#line 1848 "/home/jens/Source/shotwell/src/Page.vala" view_collection_select_marked (_tmp15_, _tmp16_); -#line 1847 "/home/jens/Source/shotwell/src/Page.vala" +#line 1848 "/home/jens/Source/shotwell/src/Page.vala" _data_collection_unref0 (_tmp15_); -#line 1844 "/home/jens/Source/shotwell/src/Page.vala" +#line 1845 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (marker); -#line 11800 "Page.c" +#line 11803 "Page.c" } -#line 1849 "/home/jens/Source/shotwell/src/Page.vala" +#line 1850 "/home/jens/Source/shotwell/src/Page.vala" _tmp17_ = self->priv->layout; -#line 1849 "/home/jens/Source/shotwell/src/Page.vala" +#line 1850 "/home/jens/Source/shotwell/src/Page.vala" _tmp18_ = item; -#line 1849 "/home/jens/Source/shotwell/src/Page.vala" +#line 1850 "/home/jens/Source/shotwell/src/Page.vala" checkerboard_layout_set_cursor (_tmp17_, _tmp18_); -#line 1852 "/home/jens/Source/shotwell/src/Page.vala" +#line 1853 "/home/jens/Source/shotwell/src/Page.vala" _tmp19_ = gtk_scrolled_window_get_vadjustment (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_scrolled_window_get_type (), GtkScrolledWindow)); -#line 1852 "/home/jens/Source/shotwell/src/Page.vala" +#line 1853 "/home/jens/Source/shotwell/src/Page.vala" _tmp20_ = _g_object_ref0 (_tmp19_); -#line 1852 "/home/jens/Source/shotwell/src/Page.vala" - vadj = _tmp20_; #line 1853 "/home/jens/Source/shotwell/src/Page.vala" + vadj = _tmp20_; +#line 1854 "/home/jens/Source/shotwell/src/Page.vala" _tmp22_ = vadj; -#line 1853 "/home/jens/Source/shotwell/src/Page.vala" +#line 1854 "/home/jens/Source/shotwell/src/Page.vala" _tmp23_ = item; -#line 1853 "/home/jens/Source/shotwell/src/Page.vala" +#line 1854 "/home/jens/Source/shotwell/src/Page.vala" _tmp24_ = _tmp23_->allocation; -#line 1853 "/home/jens/Source/shotwell/src/Page.vala" +#line 1854 "/home/jens/Source/shotwell/src/Page.vala" _tmp25_ = _tmp24_.y; -#line 1853 "/home/jens/Source/shotwell/src/Page.vala" +#line 1854 "/home/jens/Source/shotwell/src/Page.vala" _tmp26_ = get_adjustment_relation (_tmp22_, _tmp25_); -#line 1853 "/home/jens/Source/shotwell/src/Page.vala" +#line 1854 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp26_ == ADJUSTMENT_RELATION_IN_RANGE) { -#line 11826 "Page.c" +#line 11829 "Page.c" GtkAdjustment* _tmp27_ = NULL; CheckerboardItem* _tmp28_ = NULL; GdkRectangle _tmp29_ = {0}; @@ -11831,70 +11834,70 @@ void checkerboard_page_cursor_to_item (CheckerboardPage* self, CheckerboardItem* GdkRectangle _tmp32_ = {0}; gint _tmp33_ = 0; AdjustmentRelation _tmp34_ = 0; -#line 1854 "/home/jens/Source/shotwell/src/Page.vala" +#line 1855 "/home/jens/Source/shotwell/src/Page.vala" _tmp27_ = vadj; -#line 1854 "/home/jens/Source/shotwell/src/Page.vala" +#line 1855 "/home/jens/Source/shotwell/src/Page.vala" _tmp28_ = item; -#line 1854 "/home/jens/Source/shotwell/src/Page.vala" +#line 1855 "/home/jens/Source/shotwell/src/Page.vala" _tmp29_ = _tmp28_->allocation; -#line 1854 "/home/jens/Source/shotwell/src/Page.vala" +#line 1855 "/home/jens/Source/shotwell/src/Page.vala" _tmp30_ = _tmp29_.y; -#line 1854 "/home/jens/Source/shotwell/src/Page.vala" +#line 1855 "/home/jens/Source/shotwell/src/Page.vala" _tmp31_ = item; -#line 1854 "/home/jens/Source/shotwell/src/Page.vala" +#line 1855 "/home/jens/Source/shotwell/src/Page.vala" _tmp32_ = _tmp31_->allocation; -#line 1854 "/home/jens/Source/shotwell/src/Page.vala" +#line 1855 "/home/jens/Source/shotwell/src/Page.vala" _tmp33_ = _tmp32_.height; -#line 1854 "/home/jens/Source/shotwell/src/Page.vala" +#line 1855 "/home/jens/Source/shotwell/src/Page.vala" _tmp34_ = get_adjustment_relation (_tmp27_, _tmp30_ + _tmp33_); -#line 1854 "/home/jens/Source/shotwell/src/Page.vala" +#line 1855 "/home/jens/Source/shotwell/src/Page.vala" _tmp21_ = _tmp34_ == ADJUSTMENT_RELATION_IN_RANGE; -#line 11853 "Page.c" +#line 11856 "Page.c" } else { -#line 1853 "/home/jens/Source/shotwell/src/Page.vala" +#line 1854 "/home/jens/Source/shotwell/src/Page.vala" _tmp21_ = FALSE; -#line 11857 "Page.c" +#line 11860 "Page.c" } -#line 1853 "/home/jens/Source/shotwell/src/Page.vala" +#line 1854 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp21_) { -#line 1855 "/home/jens/Source/shotwell/src/Page.vala" +#line 1856 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (vadj); -#line 1855 "/home/jens/Source/shotwell/src/Page.vala" +#line 1856 "/home/jens/Source/shotwell/src/Page.vala" return; -#line 11865 "Page.c" +#line 11868 "Page.c" } -#line 1858 "/home/jens/Source/shotwell/src/Page.vala" - top = 0; #line 1859 "/home/jens/Source/shotwell/src/Page.vala" + top = 0; +#line 1860 "/home/jens/Source/shotwell/src/Page.vala" _tmp35_ = item; -#line 1859 "/home/jens/Source/shotwell/src/Page.vala" +#line 1860 "/home/jens/Source/shotwell/src/Page.vala" _tmp36_ = _tmp35_->allocation; -#line 1859 "/home/jens/Source/shotwell/src/Page.vala" +#line 1860 "/home/jens/Source/shotwell/src/Page.vala" _tmp37_ = _tmp36_.y; -#line 1859 "/home/jens/Source/shotwell/src/Page.vala" +#line 1860 "/home/jens/Source/shotwell/src/Page.vala" _tmp38_ = vadj; -#line 1859 "/home/jens/Source/shotwell/src/Page.vala" +#line 1860 "/home/jens/Source/shotwell/src/Page.vala" _tmp39_ = gtk_adjustment_get_value (_tmp38_); -#line 1859 "/home/jens/Source/shotwell/src/Page.vala" +#line 1860 "/home/jens/Source/shotwell/src/Page.vala" if (((gdouble) _tmp37_) < _tmp39_) { -#line 11881 "Page.c" +#line 11884 "Page.c" CheckerboardItem* _tmp40_ = NULL; GdkRectangle _tmp41_ = {0}; gint _tmp42_ = 0; gint _tmp43_ = 0; -#line 1860 "/home/jens/Source/shotwell/src/Page.vala" +#line 1861 "/home/jens/Source/shotwell/src/Page.vala" _tmp40_ = item; -#line 1860 "/home/jens/Source/shotwell/src/Page.vala" +#line 1861 "/home/jens/Source/shotwell/src/Page.vala" _tmp41_ = _tmp40_->allocation; -#line 1860 "/home/jens/Source/shotwell/src/Page.vala" +#line 1861 "/home/jens/Source/shotwell/src/Page.vala" _tmp42_ = _tmp41_.y; -#line 1860 "/home/jens/Source/shotwell/src/Page.vala" - top = _tmp42_; #line 1861 "/home/jens/Source/shotwell/src/Page.vala" + top = _tmp42_; +#line 1862 "/home/jens/Source/shotwell/src/Page.vala" _tmp43_ = top; -#line 1861 "/home/jens/Source/shotwell/src/Page.vala" +#line 1862 "/home/jens/Source/shotwell/src/Page.vala" top = _tmp43_ - (CHECKERBOARD_LAYOUT_ROW_GUTTER_PADDING / 2); -#line 11898 "Page.c" +#line 11901 "Page.c" } else { CheckerboardItem* _tmp44_ = NULL; GdkRectangle _tmp45_ = {0}; @@ -11905,39 +11908,39 @@ void checkerboard_page_cursor_to_item (CheckerboardPage* self, CheckerboardItem* GtkAdjustment* _tmp50_ = NULL; gdouble _tmp51_ = 0.0; gint _tmp52_ = 0; -#line 1863 "/home/jens/Source/shotwell/src/Page.vala" +#line 1864 "/home/jens/Source/shotwell/src/Page.vala" _tmp44_ = item; -#line 1863 "/home/jens/Source/shotwell/src/Page.vala" +#line 1864 "/home/jens/Source/shotwell/src/Page.vala" _tmp45_ = _tmp44_->allocation; -#line 1863 "/home/jens/Source/shotwell/src/Page.vala" +#line 1864 "/home/jens/Source/shotwell/src/Page.vala" _tmp46_ = _tmp45_.y; -#line 1863 "/home/jens/Source/shotwell/src/Page.vala" +#line 1864 "/home/jens/Source/shotwell/src/Page.vala" _tmp47_ = item; -#line 1863 "/home/jens/Source/shotwell/src/Page.vala" +#line 1864 "/home/jens/Source/shotwell/src/Page.vala" _tmp48_ = _tmp47_->allocation; -#line 1863 "/home/jens/Source/shotwell/src/Page.vala" +#line 1864 "/home/jens/Source/shotwell/src/Page.vala" _tmp49_ = _tmp48_.height; -#line 1863 "/home/jens/Source/shotwell/src/Page.vala" +#line 1864 "/home/jens/Source/shotwell/src/Page.vala" _tmp50_ = vadj; -#line 1863 "/home/jens/Source/shotwell/src/Page.vala" +#line 1864 "/home/jens/Source/shotwell/src/Page.vala" _tmp51_ = gtk_adjustment_get_page_size (_tmp50_); -#line 1863 "/home/jens/Source/shotwell/src/Page.vala" - top = (_tmp46_ + _tmp49_) - ((gint) _tmp51_); #line 1864 "/home/jens/Source/shotwell/src/Page.vala" + top = (_tmp46_ + _tmp49_) - ((gint) _tmp51_); +#line 1865 "/home/jens/Source/shotwell/src/Page.vala" _tmp52_ = top; -#line 1864 "/home/jens/Source/shotwell/src/Page.vala" +#line 1865 "/home/jens/Source/shotwell/src/Page.vala" top = _tmp52_ + (CHECKERBOARD_LAYOUT_ROW_GUTTER_PADDING / 2); -#line 11931 "Page.c" +#line 11934 "Page.c" } -#line 1867 "/home/jens/Source/shotwell/src/Page.vala" +#line 1868 "/home/jens/Source/shotwell/src/Page.vala" _tmp53_ = vadj; -#line 1867 "/home/jens/Source/shotwell/src/Page.vala" +#line 1868 "/home/jens/Source/shotwell/src/Page.vala" _tmp54_ = top; -#line 1867 "/home/jens/Source/shotwell/src/Page.vala" +#line 1868 "/home/jens/Source/shotwell/src/Page.vala" gtk_adjustment_set_value (_tmp53_, (gdouble) _tmp54_); -#line 1839 "/home/jens/Source/shotwell/src/Page.vala" +#line 1840 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (vadj); -#line 11941 "Page.c" +#line 11944 "Page.c" } @@ -11956,171 +11959,171 @@ void checkerboard_page_move_cursor (CheckerboardPage* self, CompassPoint point) CompassPoint _tmp27_ = 0; CheckerboardItem* _tmp28_ = NULL; CheckerboardItem* _tmp29_ = NULL; -#line 1870 "/home/jens/Source/shotwell/src/Page.vala" +#line 1871 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (IS_CHECKERBOARD_PAGE (self)); -#line 1872 "/home/jens/Source/shotwell/src/Page.vala" +#line 1873 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 1872 "/home/jens/Source/shotwell/src/Page.vala" +#line 1873 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = _tmp0_; -#line 1872 "/home/jens/Source/shotwell/src/Page.vala" +#line 1873 "/home/jens/Source/shotwell/src/Page.vala" _tmp2_ = data_collection_get_count (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_DATA_COLLECTION, DataCollection)); -#line 1872 "/home/jens/Source/shotwell/src/Page.vala" +#line 1873 "/home/jens/Source/shotwell/src/Page.vala" _tmp3_ = _tmp2_ == 0; -#line 1872 "/home/jens/Source/shotwell/src/Page.vala" +#line 1873 "/home/jens/Source/shotwell/src/Page.vala" _data_collection_unref0 (_tmp1_); -#line 1872 "/home/jens/Source/shotwell/src/Page.vala" - if (_tmp3_) { #line 1873 "/home/jens/Source/shotwell/src/Page.vala" + if (_tmp3_) { +#line 1874 "/home/jens/Source/shotwell/src/Page.vala" return; -#line 11976 "Page.c" +#line 11979 "Page.c" } -#line 1878 "/home/jens/Source/shotwell/src/Page.vala" +#line 1879 "/home/jens/Source/shotwell/src/Page.vala" _tmp6_ = self->cursor; -#line 1878 "/home/jens/Source/shotwell/src/Page.vala" +#line 1879 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp6_ == NULL) { -#line 11982 "Page.c" +#line 11985 "Page.c" CheckerboardLayout* _tmp7_ = NULL; CheckerboardItem* _tmp8_ = NULL; CheckerboardItem* _tmp9_ = NULL; -#line 1878 "/home/jens/Source/shotwell/src/Page.vala" +#line 1879 "/home/jens/Source/shotwell/src/Page.vala" _tmp7_ = self->priv->layout; -#line 1878 "/home/jens/Source/shotwell/src/Page.vala" +#line 1879 "/home/jens/Source/shotwell/src/Page.vala" _tmp8_ = checkerboard_layout_get_cursor (_tmp7_); -#line 1878 "/home/jens/Source/shotwell/src/Page.vala" +#line 1879 "/home/jens/Source/shotwell/src/Page.vala" _tmp9_ = _tmp8_; -#line 1878 "/home/jens/Source/shotwell/src/Page.vala" +#line 1879 "/home/jens/Source/shotwell/src/Page.vala" _tmp5_ = _tmp9_ == NULL; -#line 1878 "/home/jens/Source/shotwell/src/Page.vala" +#line 1879 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (_tmp9_); -#line 11996 "Page.c" +#line 11999 "Page.c" } else { -#line 1878 "/home/jens/Source/shotwell/src/Page.vala" +#line 1879 "/home/jens/Source/shotwell/src/Page.vala" _tmp5_ = FALSE; -#line 12000 "Page.c" +#line 12003 "Page.c" } -#line 1878 "/home/jens/Source/shotwell/src/Page.vala" +#line 1879 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp5_) { -#line 1878 "/home/jens/Source/shotwell/src/Page.vala" +#line 1879 "/home/jens/Source/shotwell/src/Page.vala" _tmp4_ = TRUE; -#line 12006 "Page.c" +#line 12009 "Page.c" } else { gboolean _tmp10_ = FALSE; CheckerboardItem* _tmp11_ = NULL; -#line 1878 "/home/jens/Source/shotwell/src/Page.vala" +#line 1879 "/home/jens/Source/shotwell/src/Page.vala" _tmp11_ = self->cursor; -#line 1878 "/home/jens/Source/shotwell/src/Page.vala" +#line 1879 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp11_ != NULL) { -#line 12014 "Page.c" +#line 12017 "Page.c" ViewCollection* _tmp12_ = NULL; ViewCollection* _tmp13_ = NULL; CheckerboardItem* _tmp14_ = NULL; gboolean _tmp15_ = FALSE; -#line 1878 "/home/jens/Source/shotwell/src/Page.vala" +#line 1879 "/home/jens/Source/shotwell/src/Page.vala" _tmp12_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 1878 "/home/jens/Source/shotwell/src/Page.vala" +#line 1879 "/home/jens/Source/shotwell/src/Page.vala" _tmp13_ = _tmp12_; -#line 1878 "/home/jens/Source/shotwell/src/Page.vala" +#line 1879 "/home/jens/Source/shotwell/src/Page.vala" _tmp14_ = self->cursor; -#line 1878 "/home/jens/Source/shotwell/src/Page.vala" +#line 1879 "/home/jens/Source/shotwell/src/Page.vala" _tmp15_ = data_collection_contains (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, TYPE_DATA_COLLECTION, DataCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, TYPE_DATA_OBJECT, DataObject)); -#line 1878 "/home/jens/Source/shotwell/src/Page.vala" +#line 1879 "/home/jens/Source/shotwell/src/Page.vala" _tmp10_ = !_tmp15_; -#line 1878 "/home/jens/Source/shotwell/src/Page.vala" +#line 1879 "/home/jens/Source/shotwell/src/Page.vala" _data_collection_unref0 (_tmp13_); -#line 12031 "Page.c" +#line 12034 "Page.c" } else { -#line 1878 "/home/jens/Source/shotwell/src/Page.vala" +#line 1879 "/home/jens/Source/shotwell/src/Page.vala" _tmp10_ = FALSE; -#line 12035 "Page.c" +#line 12038 "Page.c" } -#line 1878 "/home/jens/Source/shotwell/src/Page.vala" +#line 1879 "/home/jens/Source/shotwell/src/Page.vala" _tmp4_ = _tmp10_; -#line 12039 "Page.c" +#line 12042 "Page.c" } -#line 1878 "/home/jens/Source/shotwell/src/Page.vala" +#line 1879 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp4_) { -#line 12043 "Page.c" +#line 12046 "Page.c" CheckerboardItem* item = NULL; CheckerboardLayout* _tmp16_ = NULL; CheckerboardItem* _tmp17_ = NULL; CheckerboardItem* _tmp18_ = NULL; CheckerboardItem* _tmp19_ = NULL; CheckerboardItem* _tmp20_ = NULL; -#line 1879 "/home/jens/Source/shotwell/src/Page.vala" +#line 1880 "/home/jens/Source/shotwell/src/Page.vala" _tmp16_ = self->priv->layout; -#line 1879 "/home/jens/Source/shotwell/src/Page.vala" +#line 1880 "/home/jens/Source/shotwell/src/Page.vala" _tmp17_ = checkerboard_layout_get_item_at_coordinate (_tmp16_, 0, 0); -#line 1879 "/home/jens/Source/shotwell/src/Page.vala" - item = _tmp17_; #line 1880 "/home/jens/Source/shotwell/src/Page.vala" + item = _tmp17_; +#line 1881 "/home/jens/Source/shotwell/src/Page.vala" _tmp18_ = item; -#line 1880 "/home/jens/Source/shotwell/src/Page.vala" - checkerboard_page_cursor_to_item (self, _tmp18_); #line 1881 "/home/jens/Source/shotwell/src/Page.vala" + checkerboard_page_cursor_to_item (self, _tmp18_); +#line 1882 "/home/jens/Source/shotwell/src/Page.vala" _tmp19_ = item; -#line 1881 "/home/jens/Source/shotwell/src/Page.vala" +#line 1882 "/home/jens/Source/shotwell/src/Page.vala" _tmp20_ = _g_object_ref0 (_tmp19_); -#line 1881 "/home/jens/Source/shotwell/src/Page.vala" +#line 1882 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (self->anchor); -#line 1881 "/home/jens/Source/shotwell/src/Page.vala" +#line 1882 "/home/jens/Source/shotwell/src/Page.vala" self->anchor = _tmp20_; -#line 1883 "/home/jens/Source/shotwell/src/Page.vala" +#line 1884 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (item); -#line 1883 "/home/jens/Source/shotwell/src/Page.vala" +#line 1884 "/home/jens/Source/shotwell/src/Page.vala" return; -#line 12072 "Page.c" +#line 12075 "Page.c" } -#line 1886 "/home/jens/Source/shotwell/src/Page.vala" +#line 1887 "/home/jens/Source/shotwell/src/Page.vala" _tmp21_ = self->cursor; -#line 1886 "/home/jens/Source/shotwell/src/Page.vala" +#line 1887 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp21_ == NULL) { -#line 12078 "Page.c" +#line 12081 "Page.c" CheckerboardLayout* _tmp22_ = NULL; CheckerboardItem* _tmp23_ = NULL; CheckerboardItem* _tmp24_ = NULL; -#line 1887 "/home/jens/Source/shotwell/src/Page.vala" +#line 1888 "/home/jens/Source/shotwell/src/Page.vala" _tmp22_ = self->priv->layout; -#line 1887 "/home/jens/Source/shotwell/src/Page.vala" +#line 1888 "/home/jens/Source/shotwell/src/Page.vala" _tmp23_ = checkerboard_layout_get_cursor (_tmp22_); -#line 1887 "/home/jens/Source/shotwell/src/Page.vala" +#line 1888 "/home/jens/Source/shotwell/src/Page.vala" _tmp24_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp23_, TYPE_CHECKERBOARD_ITEM) ? ((CheckerboardItem*) _tmp23_) : NULL; -#line 1887 "/home/jens/Source/shotwell/src/Page.vala" +#line 1888 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp24_ == NULL) { -#line 1887 "/home/jens/Source/shotwell/src/Page.vala" +#line 1888 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (_tmp23_); -#line 12092 "Page.c" +#line 12095 "Page.c" } -#line 1887 "/home/jens/Source/shotwell/src/Page.vala" +#line 1888 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (self->cursor); -#line 1887 "/home/jens/Source/shotwell/src/Page.vala" +#line 1888 "/home/jens/Source/shotwell/src/Page.vala" self->cursor = _tmp24_; -#line 12098 "Page.c" +#line 12101 "Page.c" } -#line 1891 "/home/jens/Source/shotwell/src/Page.vala" +#line 1892 "/home/jens/Source/shotwell/src/Page.vala" _tmp25_ = self->priv->layout; -#line 1891 "/home/jens/Source/shotwell/src/Page.vala" +#line 1892 "/home/jens/Source/shotwell/src/Page.vala" _tmp26_ = self->cursor; -#line 1891 "/home/jens/Source/shotwell/src/Page.vala" +#line 1892 "/home/jens/Source/shotwell/src/Page.vala" _tmp27_ = point; -#line 1891 "/home/jens/Source/shotwell/src/Page.vala" +#line 1892 "/home/jens/Source/shotwell/src/Page.vala" _tmp28_ = checkerboard_layout_get_item_relative_to (_tmp25_, _tmp26_, _tmp27_); -#line 1891 "/home/jens/Source/shotwell/src/Page.vala" - item = _tmp28_; #line 1892 "/home/jens/Source/shotwell/src/Page.vala" + item = _tmp28_; +#line 1893 "/home/jens/Source/shotwell/src/Page.vala" _tmp29_ = item; -#line 1892 "/home/jens/Source/shotwell/src/Page.vala" +#line 1893 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp29_ != NULL) { -#line 12114 "Page.c" +#line 12117 "Page.c" CheckerboardItem* _tmp30_ = NULL; -#line 1893 "/home/jens/Source/shotwell/src/Page.vala" +#line 1894 "/home/jens/Source/shotwell/src/Page.vala" _tmp30_ = item; -#line 1893 "/home/jens/Source/shotwell/src/Page.vala" +#line 1894 "/home/jens/Source/shotwell/src/Page.vala" checkerboard_page_cursor_to_item (self, _tmp30_); -#line 12120 "Page.c" +#line 12123 "Page.c" } -#line 1870 "/home/jens/Source/shotwell/src/Page.vala" +#line 1871 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (item); -#line 12124 "Page.c" +#line 12127 "Page.c" } @@ -12137,51 +12140,51 @@ void checkerboard_page_set_cursor (CheckerboardPage* self, CheckerboardItem* ite CheckerboardItem* _tmp8_ = NULL; CheckerboardItem* _tmp9_ = NULL; CheckerboardItem* _tmp10_ = NULL; -#line 1896 "/home/jens/Source/shotwell/src/Page.vala" +#line 1897 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (IS_CHECKERBOARD_PAGE (self)); -#line 1896 "/home/jens/Source/shotwell/src/Page.vala" - g_return_if_fail (IS_CHECKERBOARD_ITEM (item)); #line 1897 "/home/jens/Source/shotwell/src/Page.vala" + g_return_if_fail (IS_CHECKERBOARD_ITEM (item)); +#line 1898 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 1897 "/home/jens/Source/shotwell/src/Page.vala" +#line 1898 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = _tmp0_; -#line 1897 "/home/jens/Source/shotwell/src/Page.vala" +#line 1898 "/home/jens/Source/shotwell/src/Page.vala" _tmp2_ = item; -#line 1897 "/home/jens/Source/shotwell/src/Page.vala" +#line 1898 "/home/jens/Source/shotwell/src/Page.vala" _tmp3_ = data_collection_mark (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_DATA_COLLECTION, DataCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, TYPE_DATA_OBJECT, DataObject)); -#line 1897 "/home/jens/Source/shotwell/src/Page.vala" +#line 1898 "/home/jens/Source/shotwell/src/Page.vala" _tmp4_ = _tmp3_; -#line 1897 "/home/jens/Source/shotwell/src/Page.vala" +#line 1898 "/home/jens/Source/shotwell/src/Page.vala" _data_collection_unref0 (_tmp1_); -#line 1897 "/home/jens/Source/shotwell/src/Page.vala" - marker = _tmp4_; #line 1898 "/home/jens/Source/shotwell/src/Page.vala" + marker = _tmp4_; +#line 1899 "/home/jens/Source/shotwell/src/Page.vala" _tmp5_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 1898 "/home/jens/Source/shotwell/src/Page.vala" +#line 1899 "/home/jens/Source/shotwell/src/Page.vala" _tmp6_ = _tmp5_; -#line 1898 "/home/jens/Source/shotwell/src/Page.vala" +#line 1899 "/home/jens/Source/shotwell/src/Page.vala" view_collection_select_marked (_tmp6_, marker); -#line 1898 "/home/jens/Source/shotwell/src/Page.vala" +#line 1899 "/home/jens/Source/shotwell/src/Page.vala" _data_collection_unref0 (_tmp6_); -#line 1900 "/home/jens/Source/shotwell/src/Page.vala" +#line 1901 "/home/jens/Source/shotwell/src/Page.vala" _tmp7_ = item; -#line 1900 "/home/jens/Source/shotwell/src/Page.vala" +#line 1901 "/home/jens/Source/shotwell/src/Page.vala" _tmp8_ = _g_object_ref0 (_tmp7_); -#line 1900 "/home/jens/Source/shotwell/src/Page.vala" +#line 1901 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (self->cursor); -#line 1900 "/home/jens/Source/shotwell/src/Page.vala" - self->cursor = _tmp8_; #line 1901 "/home/jens/Source/shotwell/src/Page.vala" + self->cursor = _tmp8_; +#line 1902 "/home/jens/Source/shotwell/src/Page.vala" _tmp9_ = item; -#line 1901 "/home/jens/Source/shotwell/src/Page.vala" +#line 1902 "/home/jens/Source/shotwell/src/Page.vala" _tmp10_ = _g_object_ref0 (_tmp9_); -#line 1901 "/home/jens/Source/shotwell/src/Page.vala" +#line 1902 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (self->anchor); -#line 1901 "/home/jens/Source/shotwell/src/Page.vala" +#line 1902 "/home/jens/Source/shotwell/src/Page.vala" self->anchor = _tmp10_; -#line 1896 "/home/jens/Source/shotwell/src/Page.vala" +#line 1897 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (marker); -#line 12185 "Page.c" +#line 12188 "Page.c" } @@ -12196,29 +12199,29 @@ void checkerboard_page_select_between_items (CheckerboardPage* self, Checkerboar ViewCollection* _tmp28_ = NULL; ViewCollection* _tmp29_ = NULL; Marker* _tmp30_ = NULL; -#line 1904 "/home/jens/Source/shotwell/src/Page.vala" +#line 1905 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (IS_CHECKERBOARD_PAGE (self)); -#line 1904 "/home/jens/Source/shotwell/src/Page.vala" +#line 1905 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (IS_CHECKERBOARD_ITEM (item_start)); -#line 1904 "/home/jens/Source/shotwell/src/Page.vala" - g_return_if_fail (IS_CHECKERBOARD_ITEM (item_end)); #line 1905 "/home/jens/Source/shotwell/src/Page.vala" + g_return_if_fail (IS_CHECKERBOARD_ITEM (item_end)); +#line 1906 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 1905 "/home/jens/Source/shotwell/src/Page.vala" +#line 1906 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = _tmp0_; -#line 1905 "/home/jens/Source/shotwell/src/Page.vala" +#line 1906 "/home/jens/Source/shotwell/src/Page.vala" _tmp2_ = data_collection_start_marking (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_DATA_COLLECTION, DataCollection)); -#line 1905 "/home/jens/Source/shotwell/src/Page.vala" +#line 1906 "/home/jens/Source/shotwell/src/Page.vala" _tmp3_ = _tmp2_; -#line 1905 "/home/jens/Source/shotwell/src/Page.vala" +#line 1906 "/home/jens/Source/shotwell/src/Page.vala" _data_collection_unref0 (_tmp1_); -#line 1905 "/home/jens/Source/shotwell/src/Page.vala" +#line 1906 "/home/jens/Source/shotwell/src/Page.vala" marker = _tmp3_; -#line 1907 "/home/jens/Source/shotwell/src/Page.vala" - passed_start = FALSE; #line 1908 "/home/jens/Source/shotwell/src/Page.vala" + passed_start = FALSE; +#line 1909 "/home/jens/Source/shotwell/src/Page.vala" passed_end = FALSE; -#line 12222 "Page.c" +#line 12225 "Page.c" { GeeIterator* _object_it = NULL; ViewCollection* _tmp4_ = NULL; @@ -12227,27 +12230,27 @@ void checkerboard_page_select_between_items (CheckerboardPage* self, Checkerboar GeeCollection* _tmp7_ = NULL; GeeIterator* _tmp8_ = NULL; GeeIterator* _tmp9_ = NULL; -#line 1910 "/home/jens/Source/shotwell/src/Page.vala" +#line 1911 "/home/jens/Source/shotwell/src/Page.vala" _tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 1910 "/home/jens/Source/shotwell/src/Page.vala" +#line 1911 "/home/jens/Source/shotwell/src/Page.vala" _tmp5_ = _tmp4_; -#line 1910 "/home/jens/Source/shotwell/src/Page.vala" +#line 1911 "/home/jens/Source/shotwell/src/Page.vala" _tmp6_ = data_collection_get_all (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, TYPE_DATA_COLLECTION, DataCollection)); -#line 1910 "/home/jens/Source/shotwell/src/Page.vala" +#line 1911 "/home/jens/Source/shotwell/src/Page.vala" _tmp7_ = _tmp6_; -#line 1910 "/home/jens/Source/shotwell/src/Page.vala" +#line 1911 "/home/jens/Source/shotwell/src/Page.vala" _tmp8_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, GEE_TYPE_ITERABLE, GeeIterable)); -#line 1910 "/home/jens/Source/shotwell/src/Page.vala" +#line 1911 "/home/jens/Source/shotwell/src/Page.vala" _tmp9_ = _tmp8_; -#line 1910 "/home/jens/Source/shotwell/src/Page.vala" +#line 1911 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (_tmp7_); -#line 1910 "/home/jens/Source/shotwell/src/Page.vala" +#line 1911 "/home/jens/Source/shotwell/src/Page.vala" _data_collection_unref0 (_tmp5_); -#line 1910 "/home/jens/Source/shotwell/src/Page.vala" +#line 1911 "/home/jens/Source/shotwell/src/Page.vala" _object_it = _tmp9_; -#line 1910 "/home/jens/Source/shotwell/src/Page.vala" +#line 1911 "/home/jens/Source/shotwell/src/Page.vala" while (TRUE) { -#line 12251 "Page.c" +#line 12254 "Page.c" GeeIterator* _tmp10_ = NULL; gboolean _tmp11_ = FALSE; DataObject* object = NULL; @@ -12264,125 +12267,125 @@ void checkerboard_page_select_between_items (CheckerboardPage* self, Checkerboar gboolean _tmp21_ = FALSE; gboolean _tmp25_ = FALSE; gboolean _tmp26_ = FALSE; -#line 1910 "/home/jens/Source/shotwell/src/Page.vala" +#line 1911 "/home/jens/Source/shotwell/src/Page.vala" _tmp10_ = _object_it; -#line 1910 "/home/jens/Source/shotwell/src/Page.vala" +#line 1911 "/home/jens/Source/shotwell/src/Page.vala" _tmp11_ = gee_iterator_next (_tmp10_); -#line 1910 "/home/jens/Source/shotwell/src/Page.vala" +#line 1911 "/home/jens/Source/shotwell/src/Page.vala" if (!_tmp11_) { -#line 1910 "/home/jens/Source/shotwell/src/Page.vala" +#line 1911 "/home/jens/Source/shotwell/src/Page.vala" break; -#line 12276 "Page.c" +#line 12279 "Page.c" } -#line 1910 "/home/jens/Source/shotwell/src/Page.vala" +#line 1911 "/home/jens/Source/shotwell/src/Page.vala" _tmp12_ = _object_it; -#line 1910 "/home/jens/Source/shotwell/src/Page.vala" +#line 1911 "/home/jens/Source/shotwell/src/Page.vala" _tmp13_ = gee_iterator_get (_tmp12_); -#line 1910 "/home/jens/Source/shotwell/src/Page.vala" - object = (DataObject*) _tmp13_; #line 1911 "/home/jens/Source/shotwell/src/Page.vala" + object = (DataObject*) _tmp13_; +#line 1912 "/home/jens/Source/shotwell/src/Page.vala" _tmp14_ = object; -#line 1911 "/home/jens/Source/shotwell/src/Page.vala" +#line 1912 "/home/jens/Source/shotwell/src/Page.vala" _tmp15_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, TYPE_CHECKERBOARD_ITEM, CheckerboardItem)); -#line 1911 "/home/jens/Source/shotwell/src/Page.vala" +#line 1912 "/home/jens/Source/shotwell/src/Page.vala" item = _tmp15_; -#line 1913 "/home/jens/Source/shotwell/src/Page.vala" +#line 1914 "/home/jens/Source/shotwell/src/Page.vala" _tmp16_ = item_start; -#line 1913 "/home/jens/Source/shotwell/src/Page.vala" +#line 1914 "/home/jens/Source/shotwell/src/Page.vala" _tmp17_ = item; -#line 1913 "/home/jens/Source/shotwell/src/Page.vala" - if (_tmp16_ == _tmp17_) { #line 1914 "/home/jens/Source/shotwell/src/Page.vala" + if (_tmp16_ == _tmp17_) { +#line 1915 "/home/jens/Source/shotwell/src/Page.vala" passed_start = TRUE; -#line 12298 "Page.c" +#line 12301 "Page.c" } -#line 1916 "/home/jens/Source/shotwell/src/Page.vala" +#line 1917 "/home/jens/Source/shotwell/src/Page.vala" _tmp18_ = item_end; -#line 1916 "/home/jens/Source/shotwell/src/Page.vala" +#line 1917 "/home/jens/Source/shotwell/src/Page.vala" _tmp19_ = item; -#line 1916 "/home/jens/Source/shotwell/src/Page.vala" - if (_tmp18_ == _tmp19_) { #line 1917 "/home/jens/Source/shotwell/src/Page.vala" + if (_tmp18_ == _tmp19_) { +#line 1918 "/home/jens/Source/shotwell/src/Page.vala" passed_end = TRUE; -#line 12308 "Page.c" +#line 12311 "Page.c" } -#line 1919 "/home/jens/Source/shotwell/src/Page.vala" +#line 1920 "/home/jens/Source/shotwell/src/Page.vala" _tmp21_ = passed_start; -#line 1919 "/home/jens/Source/shotwell/src/Page.vala" +#line 1920 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp21_) { -#line 1919 "/home/jens/Source/shotwell/src/Page.vala" +#line 1920 "/home/jens/Source/shotwell/src/Page.vala" _tmp20_ = TRUE; -#line 12316 "Page.c" +#line 12319 "Page.c" } else { gboolean _tmp22_ = FALSE; -#line 1919 "/home/jens/Source/shotwell/src/Page.vala" +#line 1920 "/home/jens/Source/shotwell/src/Page.vala" _tmp22_ = passed_end; -#line 1919 "/home/jens/Source/shotwell/src/Page.vala" +#line 1920 "/home/jens/Source/shotwell/src/Page.vala" _tmp20_ = _tmp22_; -#line 12323 "Page.c" +#line 12326 "Page.c" } -#line 1919 "/home/jens/Source/shotwell/src/Page.vala" +#line 1920 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp20_) { -#line 12327 "Page.c" +#line 12330 "Page.c" Marker* _tmp23_ = NULL; DataObject* _tmp24_ = NULL; -#line 1920 "/home/jens/Source/shotwell/src/Page.vala" +#line 1921 "/home/jens/Source/shotwell/src/Page.vala" _tmp23_ = marker; -#line 1920 "/home/jens/Source/shotwell/src/Page.vala" +#line 1921 "/home/jens/Source/shotwell/src/Page.vala" _tmp24_ = object; -#line 1920 "/home/jens/Source/shotwell/src/Page.vala" +#line 1921 "/home/jens/Source/shotwell/src/Page.vala" marker_mark (_tmp23_, G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (_tmp24_, TYPE_DATA_VIEW, DataView), TYPE_DATA_OBJECT, DataObject)); -#line 12336 "Page.c" +#line 12339 "Page.c" } -#line 1922 "/home/jens/Source/shotwell/src/Page.vala" +#line 1923 "/home/jens/Source/shotwell/src/Page.vala" _tmp26_ = passed_start; -#line 1922 "/home/jens/Source/shotwell/src/Page.vala" +#line 1923 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp26_) { -#line 12342 "Page.c" +#line 12345 "Page.c" gboolean _tmp27_ = FALSE; -#line 1922 "/home/jens/Source/shotwell/src/Page.vala" +#line 1923 "/home/jens/Source/shotwell/src/Page.vala" _tmp27_ = passed_end; -#line 1922 "/home/jens/Source/shotwell/src/Page.vala" +#line 1923 "/home/jens/Source/shotwell/src/Page.vala" _tmp25_ = _tmp27_; -#line 12348 "Page.c" +#line 12351 "Page.c" } else { -#line 1922 "/home/jens/Source/shotwell/src/Page.vala" +#line 1923 "/home/jens/Source/shotwell/src/Page.vala" _tmp25_ = FALSE; -#line 12352 "Page.c" +#line 12355 "Page.c" } -#line 1922 "/home/jens/Source/shotwell/src/Page.vala" - if (_tmp25_) { #line 1923 "/home/jens/Source/shotwell/src/Page.vala" + if (_tmp25_) { +#line 1924 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (item); -#line 1923 "/home/jens/Source/shotwell/src/Page.vala" +#line 1924 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (object); -#line 1923 "/home/jens/Source/shotwell/src/Page.vala" +#line 1924 "/home/jens/Source/shotwell/src/Page.vala" break; -#line 12362 "Page.c" +#line 12365 "Page.c" } -#line 1910 "/home/jens/Source/shotwell/src/Page.vala" +#line 1911 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (item); -#line 1910 "/home/jens/Source/shotwell/src/Page.vala" +#line 1911 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (object); -#line 12368 "Page.c" +#line 12371 "Page.c" } -#line 1910 "/home/jens/Source/shotwell/src/Page.vala" +#line 1911 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (_object_it); -#line 12372 "Page.c" +#line 12375 "Page.c" } -#line 1926 "/home/jens/Source/shotwell/src/Page.vala" +#line 1927 "/home/jens/Source/shotwell/src/Page.vala" _tmp28_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 1926 "/home/jens/Source/shotwell/src/Page.vala" +#line 1927 "/home/jens/Source/shotwell/src/Page.vala" _tmp29_ = _tmp28_; -#line 1926 "/home/jens/Source/shotwell/src/Page.vala" +#line 1927 "/home/jens/Source/shotwell/src/Page.vala" _tmp30_ = marker; -#line 1926 "/home/jens/Source/shotwell/src/Page.vala" +#line 1927 "/home/jens/Source/shotwell/src/Page.vala" view_collection_select_marked (_tmp29_, _tmp30_); -#line 1926 "/home/jens/Source/shotwell/src/Page.vala" +#line 1927 "/home/jens/Source/shotwell/src/Page.vala" _data_collection_unref0 (_tmp29_); -#line 1904 "/home/jens/Source/shotwell/src/Page.vala" +#line 1905 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (marker); -#line 12386 "Page.c" +#line 12389 "Page.c" } @@ -12390,65 +12393,65 @@ void checkerboard_page_select_anchor_to_cursor (CheckerboardPage* self, guint st gboolean _tmp0_ = FALSE; CheckerboardItem* _tmp1_ = NULL; guint _tmp3_ = 0U; -#line 1929 "/home/jens/Source/shotwell/src/Page.vala" - g_return_if_fail (IS_CHECKERBOARD_PAGE (self)); #line 1930 "/home/jens/Source/shotwell/src/Page.vala" + g_return_if_fail (IS_CHECKERBOARD_PAGE (self)); +#line 1931 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = self->cursor; -#line 1930 "/home/jens/Source/shotwell/src/Page.vala" +#line 1931 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp1_ == NULL) { -#line 1930 "/home/jens/Source/shotwell/src/Page.vala" +#line 1931 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = TRUE; -#line 12402 "Page.c" +#line 12405 "Page.c" } else { CheckerboardItem* _tmp2_ = NULL; -#line 1930 "/home/jens/Source/shotwell/src/Page.vala" +#line 1931 "/home/jens/Source/shotwell/src/Page.vala" _tmp2_ = self->anchor; -#line 1930 "/home/jens/Source/shotwell/src/Page.vala" +#line 1931 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = _tmp2_ == NULL; -#line 12409 "Page.c" +#line 12412 "Page.c" } -#line 1930 "/home/jens/Source/shotwell/src/Page.vala" - if (_tmp0_) { #line 1931 "/home/jens/Source/shotwell/src/Page.vala" + if (_tmp0_) { +#line 1932 "/home/jens/Source/shotwell/src/Page.vala" return; -#line 12415 "Page.c" +#line 12418 "Page.c" } -#line 1933 "/home/jens/Source/shotwell/src/Page.vala" +#line 1934 "/home/jens/Source/shotwell/src/Page.vala" _tmp3_ = state; -#line 1933 "/home/jens/Source/shotwell/src/Page.vala" +#line 1934 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp3_ == ((guint) GDK_SHIFT_MASK)) { -#line 12421 "Page.c" +#line 12424 "Page.c" ViewCollection* _tmp4_ = NULL; ViewCollection* _tmp5_ = NULL; CheckerboardItem* _tmp6_ = NULL; CheckerboardItem* _tmp7_ = NULL; -#line 1934 "/home/jens/Source/shotwell/src/Page.vala" +#line 1935 "/home/jens/Source/shotwell/src/Page.vala" _tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 1934 "/home/jens/Source/shotwell/src/Page.vala" +#line 1935 "/home/jens/Source/shotwell/src/Page.vala" _tmp5_ = _tmp4_; -#line 1934 "/home/jens/Source/shotwell/src/Page.vala" +#line 1935 "/home/jens/Source/shotwell/src/Page.vala" view_collection_unselect_all (_tmp5_); -#line 1934 "/home/jens/Source/shotwell/src/Page.vala" - _data_collection_unref0 (_tmp5_); #line 1935 "/home/jens/Source/shotwell/src/Page.vala" + _data_collection_unref0 (_tmp5_); +#line 1936 "/home/jens/Source/shotwell/src/Page.vala" _tmp6_ = self->anchor; -#line 1935 "/home/jens/Source/shotwell/src/Page.vala" +#line 1936 "/home/jens/Source/shotwell/src/Page.vala" _tmp7_ = self->cursor; -#line 1935 "/home/jens/Source/shotwell/src/Page.vala" +#line 1936 "/home/jens/Source/shotwell/src/Page.vala" checkerboard_page_select_between_items (self, _tmp6_, _tmp7_); -#line 12440 "Page.c" +#line 12443 "Page.c" } else { CheckerboardItem* _tmp8_ = NULL; CheckerboardItem* _tmp9_ = NULL; -#line 1937 "/home/jens/Source/shotwell/src/Page.vala" +#line 1938 "/home/jens/Source/shotwell/src/Page.vala" _tmp8_ = self->cursor; -#line 1937 "/home/jens/Source/shotwell/src/Page.vala" +#line 1938 "/home/jens/Source/shotwell/src/Page.vala" _tmp9_ = _g_object_ref0 (_tmp8_); -#line 1937 "/home/jens/Source/shotwell/src/Page.vala" +#line 1938 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (self->anchor); -#line 1937 "/home/jens/Source/shotwell/src/Page.vala" +#line 1938 "/home/jens/Source/shotwell/src/Page.vala" self->anchor = _tmp9_; -#line 12452 "Page.c" +#line 12455 "Page.c" } } @@ -12462,48 +12465,48 @@ static void checkerboard_page_real_set_display_titles (CheckerboardPage* self, g GValue _tmp5_ = {0}; ViewCollection* _tmp6_ = NULL; ViewCollection* _tmp7_ = NULL; -#line 1942 "/home/jens/Source/shotwell/src/Page.vala" +#line 1943 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 1942 "/home/jens/Source/shotwell/src/Page.vala" +#line 1943 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = _tmp0_; -#line 1942 "/home/jens/Source/shotwell/src/Page.vala" +#line 1943 "/home/jens/Source/shotwell/src/Page.vala" data_collection_freeze_notifications (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_DATA_COLLECTION, DataCollection)); -#line 1942 "/home/jens/Source/shotwell/src/Page.vala" - _data_collection_unref0 (_tmp1_); #line 1943 "/home/jens/Source/shotwell/src/Page.vala" + _data_collection_unref0 (_tmp1_); +#line 1944 "/home/jens/Source/shotwell/src/Page.vala" _tmp2_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 1943 "/home/jens/Source/shotwell/src/Page.vala" +#line 1944 "/home/jens/Source/shotwell/src/Page.vala" _tmp3_ = _tmp2_; -#line 1943 "/home/jens/Source/shotwell/src/Page.vala" +#line 1944 "/home/jens/Source/shotwell/src/Page.vala" _tmp4_ = display; -#line 1943 "/home/jens/Source/shotwell/src/Page.vala" +#line 1944 "/home/jens/Source/shotwell/src/Page.vala" g_value_init (&_tmp5_, G_TYPE_BOOLEAN); -#line 1943 "/home/jens/Source/shotwell/src/Page.vala" +#line 1944 "/home/jens/Source/shotwell/src/Page.vala" g_value_set_boolean (&_tmp5_, _tmp4_); -#line 1943 "/home/jens/Source/shotwell/src/Page.vala" +#line 1944 "/home/jens/Source/shotwell/src/Page.vala" data_collection_set_property (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, TYPE_DATA_COLLECTION, DataCollection), CHECKERBOARD_ITEM_PROP_SHOW_TITLES, &_tmp5_, NULL, NULL); -#line 1943 "/home/jens/Source/shotwell/src/Page.vala" +#line 1944 "/home/jens/Source/shotwell/src/Page.vala" G_IS_VALUE (&_tmp5_) ? (g_value_unset (&_tmp5_), NULL) : NULL; -#line 1943 "/home/jens/Source/shotwell/src/Page.vala" - _data_collection_unref0 (_tmp3_); #line 1944 "/home/jens/Source/shotwell/src/Page.vala" + _data_collection_unref0 (_tmp3_); +#line 1945 "/home/jens/Source/shotwell/src/Page.vala" _tmp6_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 1944 "/home/jens/Source/shotwell/src/Page.vala" +#line 1945 "/home/jens/Source/shotwell/src/Page.vala" _tmp7_ = _tmp6_; -#line 1944 "/home/jens/Source/shotwell/src/Page.vala" +#line 1945 "/home/jens/Source/shotwell/src/Page.vala" data_collection_thaw_notifications (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, TYPE_DATA_COLLECTION, DataCollection)); -#line 1944 "/home/jens/Source/shotwell/src/Page.vala" +#line 1945 "/home/jens/Source/shotwell/src/Page.vala" _data_collection_unref0 (_tmp7_); -#line 12498 "Page.c" +#line 12501 "Page.c" } void checkerboard_page_set_display_titles (CheckerboardPage* self, gboolean display) { -#line 1941 "/home/jens/Source/shotwell/src/Page.vala" +#line 1942 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (IS_CHECKERBOARD_PAGE (self)); -#line 1941 "/home/jens/Source/shotwell/src/Page.vala" +#line 1942 "/home/jens/Source/shotwell/src/Page.vala" CHECKERBOARD_PAGE_GET_CLASS (self)->set_display_titles (self, display); -#line 12507 "Page.c" +#line 12510 "Page.c" } @@ -12516,48 +12519,48 @@ static void checkerboard_page_real_set_display_comments (CheckerboardPage* self, GValue _tmp5_ = {0}; ViewCollection* _tmp6_ = NULL; ViewCollection* _tmp7_ = NULL; -#line 1948 "/home/jens/Source/shotwell/src/Page.vala" +#line 1949 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 1948 "/home/jens/Source/shotwell/src/Page.vala" +#line 1949 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = _tmp0_; -#line 1948 "/home/jens/Source/shotwell/src/Page.vala" +#line 1949 "/home/jens/Source/shotwell/src/Page.vala" data_collection_freeze_notifications (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_DATA_COLLECTION, DataCollection)); -#line 1948 "/home/jens/Source/shotwell/src/Page.vala" - _data_collection_unref0 (_tmp1_); #line 1949 "/home/jens/Source/shotwell/src/Page.vala" + _data_collection_unref0 (_tmp1_); +#line 1950 "/home/jens/Source/shotwell/src/Page.vala" _tmp2_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 1949 "/home/jens/Source/shotwell/src/Page.vala" +#line 1950 "/home/jens/Source/shotwell/src/Page.vala" _tmp3_ = _tmp2_; -#line 1949 "/home/jens/Source/shotwell/src/Page.vala" +#line 1950 "/home/jens/Source/shotwell/src/Page.vala" _tmp4_ = display; -#line 1949 "/home/jens/Source/shotwell/src/Page.vala" +#line 1950 "/home/jens/Source/shotwell/src/Page.vala" g_value_init (&_tmp5_, G_TYPE_BOOLEAN); -#line 1949 "/home/jens/Source/shotwell/src/Page.vala" +#line 1950 "/home/jens/Source/shotwell/src/Page.vala" g_value_set_boolean (&_tmp5_, _tmp4_); -#line 1949 "/home/jens/Source/shotwell/src/Page.vala" +#line 1950 "/home/jens/Source/shotwell/src/Page.vala" data_collection_set_property (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, TYPE_DATA_COLLECTION, DataCollection), CHECKERBOARD_ITEM_PROP_SHOW_COMMENTS, &_tmp5_, NULL, NULL); -#line 1949 "/home/jens/Source/shotwell/src/Page.vala" +#line 1950 "/home/jens/Source/shotwell/src/Page.vala" G_IS_VALUE (&_tmp5_) ? (g_value_unset (&_tmp5_), NULL) : NULL; -#line 1949 "/home/jens/Source/shotwell/src/Page.vala" - _data_collection_unref0 (_tmp3_); #line 1950 "/home/jens/Source/shotwell/src/Page.vala" + _data_collection_unref0 (_tmp3_); +#line 1951 "/home/jens/Source/shotwell/src/Page.vala" _tmp6_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 1950 "/home/jens/Source/shotwell/src/Page.vala" +#line 1951 "/home/jens/Source/shotwell/src/Page.vala" _tmp7_ = _tmp6_; -#line 1950 "/home/jens/Source/shotwell/src/Page.vala" +#line 1951 "/home/jens/Source/shotwell/src/Page.vala" data_collection_thaw_notifications (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, TYPE_DATA_COLLECTION, DataCollection)); -#line 1950 "/home/jens/Source/shotwell/src/Page.vala" +#line 1951 "/home/jens/Source/shotwell/src/Page.vala" _data_collection_unref0 (_tmp7_); -#line 12552 "Page.c" +#line 12555 "Page.c" } void checkerboard_page_set_display_comments (CheckerboardPage* self, gboolean display) { -#line 1947 "/home/jens/Source/shotwell/src/Page.vala" +#line 1948 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (IS_CHECKERBOARD_PAGE (self)); -#line 1947 "/home/jens/Source/shotwell/src/Page.vala" +#line 1948 "/home/jens/Source/shotwell/src/Page.vala" CHECKERBOARD_PAGE_GET_CLASS (self)->set_display_comments (self, display); -#line 12561 "Page.c" +#line 12564 "Page.c" } @@ -12570,54 +12573,54 @@ void checkerboard_page_keyboard_modifiers_init (CheckerboardPageKeyboardModifier gboolean _tmp5_ = FALSE; Page* _tmp6_ = NULL; gboolean _tmp7_ = FALSE; -#line 1230 "/home/jens/Source/shotwell/src/Page.vala" +#line 1231 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (IS_PAGE (page)); -#line 1230 "/home/jens/Source/shotwell/src/Page.vala" - memset (self, 0, sizeof (CheckerboardPageKeyboardModifiers)); #line 1231 "/home/jens/Source/shotwell/src/Page.vala" + memset (self, 0, sizeof (CheckerboardPageKeyboardModifiers)); +#line 1232 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = page; -#line 1231 "/home/jens/Source/shotwell/src/Page.vala" +#line 1232 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = page_get_ctrl_pressed (_tmp0_); -#line 1231 "/home/jens/Source/shotwell/src/Page.vala" - (*self).ctrl_pressed = _tmp1_; #line 1232 "/home/jens/Source/shotwell/src/Page.vala" + (*self).ctrl_pressed = _tmp1_; +#line 1233 "/home/jens/Source/shotwell/src/Page.vala" _tmp2_ = page; -#line 1232 "/home/jens/Source/shotwell/src/Page.vala" +#line 1233 "/home/jens/Source/shotwell/src/Page.vala" _tmp3_ = page_get_alt_pressed (_tmp2_); -#line 1232 "/home/jens/Source/shotwell/src/Page.vala" - (*self).alt_pressed = _tmp3_; #line 1233 "/home/jens/Source/shotwell/src/Page.vala" + (*self).alt_pressed = _tmp3_; +#line 1234 "/home/jens/Source/shotwell/src/Page.vala" _tmp4_ = page; -#line 1233 "/home/jens/Source/shotwell/src/Page.vala" +#line 1234 "/home/jens/Source/shotwell/src/Page.vala" _tmp5_ = page_get_shift_pressed (_tmp4_); -#line 1233 "/home/jens/Source/shotwell/src/Page.vala" - (*self).shift_pressed = _tmp5_; #line 1234 "/home/jens/Source/shotwell/src/Page.vala" + (*self).shift_pressed = _tmp5_; +#line 1235 "/home/jens/Source/shotwell/src/Page.vala" _tmp6_ = page; -#line 1234 "/home/jens/Source/shotwell/src/Page.vala" +#line 1235 "/home/jens/Source/shotwell/src/Page.vala" _tmp7_ = page_get_super_pressed (_tmp6_); -#line 1234 "/home/jens/Source/shotwell/src/Page.vala" +#line 1235 "/home/jens/Source/shotwell/src/Page.vala" (*self).super_pressed = _tmp7_; -#line 12602 "Page.c" +#line 12605 "Page.c" } CheckerboardPageKeyboardModifiers* checkerboard_page_keyboard_modifiers_dup (const CheckerboardPageKeyboardModifiers* self) { CheckerboardPageKeyboardModifiers* dup; -#line 1229 "/home/jens/Source/shotwell/src/Page.vala" +#line 1230 "/home/jens/Source/shotwell/src/Page.vala" dup = g_new0 (CheckerboardPageKeyboardModifiers, 1); -#line 1229 "/home/jens/Source/shotwell/src/Page.vala" +#line 1230 "/home/jens/Source/shotwell/src/Page.vala" memcpy (dup, self, sizeof (CheckerboardPageKeyboardModifiers)); -#line 1229 "/home/jens/Source/shotwell/src/Page.vala" +#line 1230 "/home/jens/Source/shotwell/src/Page.vala" return dup; -#line 12614 "Page.c" +#line 12617 "Page.c" } void checkerboard_page_keyboard_modifiers_free (CheckerboardPageKeyboardModifiers* self) { -#line 1229 "/home/jens/Source/shotwell/src/Page.vala" +#line 1230 "/home/jens/Source/shotwell/src/Page.vala" g_free (self); -#line 12621 "Page.c" +#line 12624 "Page.c" } @@ -12633,113 +12636,113 @@ GType checkerboard_page_keyboard_modifiers_get_type (void) { static void checkerboard_page_class_init (CheckerboardPageClass * klass) { -#line 1209 "/home/jens/Source/shotwell/src/Page.vala" +#line 1210 "/home/jens/Source/shotwell/src/Page.vala" checkerboard_page_parent_class = g_type_class_peek_parent (klass); -#line 1209 "/home/jens/Source/shotwell/src/Page.vala" +#line 1210 "/home/jens/Source/shotwell/src/Page.vala" g_type_class_add_private (klass, sizeof (CheckerboardPagePrivate)); -#line 1209 "/home/jens/Source/shotwell/src/Page.vala" +#line 1210 "/home/jens/Source/shotwell/src/Page.vala" ((CheckerboardPageClass *) klass)->get_item_context_menu = (GtkMenu* (*)(CheckerboardPage*)) checkerboard_page_real_get_item_context_menu; -#line 1209 "/home/jens/Source/shotwell/src/Page.vala" +#line 1210 "/home/jens/Source/shotwell/src/Page.vala" ((PageClass *) klass)->get_page_context_menu = (GtkMenu* (*)(Page*)) checkerboard_page_real_get_page_context_menu; -#line 1209 "/home/jens/Source/shotwell/src/Page.vala" +#line 1210 "/home/jens/Source/shotwell/src/Page.vala" ((PageClass *) klass)->on_context_keypress = (gboolean (*)(Page*)) checkerboard_page_real_on_context_keypress; -#line 1209 "/home/jens/Source/shotwell/src/Page.vala" +#line 1210 "/home/jens/Source/shotwell/src/Page.vala" ((CheckerboardPageClass *) klass)->get_view_empty_message = (gchar* (*)(CheckerboardPage*)) checkerboard_page_real_get_view_empty_message; -#line 1209 "/home/jens/Source/shotwell/src/Page.vala" +#line 1210 "/home/jens/Source/shotwell/src/Page.vala" ((CheckerboardPageClass *) klass)->get_filter_no_match_message = (gchar* (*)(CheckerboardPage*)) checkerboard_page_real_get_filter_no_match_message; -#line 1209 "/home/jens/Source/shotwell/src/Page.vala" +#line 1210 "/home/jens/Source/shotwell/src/Page.vala" ((CheckerboardPageClass *) klass)->on_item_activated = (void (*)(CheckerboardPage*, CheckerboardItem*, CheckerboardPageActivator, CheckerboardPageKeyboardModifiers*)) checkerboard_page_real_on_item_activated; -#line 1209 "/home/jens/Source/shotwell/src/Page.vala" +#line 1210 "/home/jens/Source/shotwell/src/Page.vala" ((CheckerboardPageClass *) klass)->get_search_view_filter = (SearchViewFilter* (*)(CheckerboardPage*)) checkerboard_page_real_get_search_view_filter; -#line 1209 "/home/jens/Source/shotwell/src/Page.vala" +#line 1210 "/home/jens/Source/shotwell/src/Page.vala" ((CheckerboardPageClass *) klass)->get_view_tracker = (CoreViewTracker* (*)(CheckerboardPage*)) checkerboard_page_real_get_view_tracker; -#line 1209 "/home/jens/Source/shotwell/src/Page.vala" +#line 1210 "/home/jens/Source/shotwell/src/Page.vala" ((PageClass *) klass)->switching_from = (void (*)(Page*)) checkerboard_page_real_switching_from; -#line 1209 "/home/jens/Source/shotwell/src/Page.vala" +#line 1210 "/home/jens/Source/shotwell/src/Page.vala" ((PageClass *) klass)->switched_to = (void (*)(Page*)) checkerboard_page_real_switched_to; -#line 1209 "/home/jens/Source/shotwell/src/Page.vala" +#line 1210 "/home/jens/Source/shotwell/src/Page.vala" ((PageClass *) klass)->set_page_name = (void (*)(Page*, const gchar*)) checkerboard_page_real_set_page_name; -#line 1209 "/home/jens/Source/shotwell/src/Page.vala" +#line 1210 "/home/jens/Source/shotwell/src/Page.vala" ((GtkWidgetClass *) klass)->key_press_event = (gboolean (*)(GtkWidget*, GdkEventKey*)) checkerboard_page_real_key_press_event; -#line 1209 "/home/jens/Source/shotwell/src/Page.vala" +#line 1210 "/home/jens/Source/shotwell/src/Page.vala" ((PageClass *) klass)->on_left_click = (gboolean (*)(Page*, GdkEventButton*)) checkerboard_page_real_on_left_click; -#line 1209 "/home/jens/Source/shotwell/src/Page.vala" +#line 1210 "/home/jens/Source/shotwell/src/Page.vala" ((PageClass *) klass)->on_left_released = (gboolean (*)(Page*, GdkEventButton*)) checkerboard_page_real_on_left_released; -#line 1209 "/home/jens/Source/shotwell/src/Page.vala" +#line 1210 "/home/jens/Source/shotwell/src/Page.vala" ((PageClass *) klass)->on_right_click = (gboolean (*)(Page*, GdkEventButton*)) checkerboard_page_real_on_right_click; -#line 1209 "/home/jens/Source/shotwell/src/Page.vala" +#line 1210 "/home/jens/Source/shotwell/src/Page.vala" ((CheckerboardPageClass *) klass)->on_mouse_over = (gboolean (*)(CheckerboardPage*, CheckerboardItem*, gint, gint, GdkModifierType)) checkerboard_page_real_on_mouse_over; -#line 1209 "/home/jens/Source/shotwell/src/Page.vala" +#line 1210 "/home/jens/Source/shotwell/src/Page.vala" ((PageClass *) klass)->on_motion = (gboolean (*)(Page*, GdkEventMotion*, gint, gint, GdkModifierType)) checkerboard_page_real_on_motion; -#line 1209 "/home/jens/Source/shotwell/src/Page.vala" +#line 1210 "/home/jens/Source/shotwell/src/Page.vala" ((CheckerboardPageClass *) klass)->set_display_titles = (void (*)(CheckerboardPage*, gboolean)) checkerboard_page_real_set_display_titles; -#line 1209 "/home/jens/Source/shotwell/src/Page.vala" +#line 1210 "/home/jens/Source/shotwell/src/Page.vala" ((CheckerboardPageClass *) klass)->set_display_comments = (void (*)(CheckerboardPage*, gboolean)) checkerboard_page_real_set_display_comments; -#line 1209 "/home/jens/Source/shotwell/src/Page.vala" +#line 1210 "/home/jens/Source/shotwell/src/Page.vala" G_OBJECT_CLASS (klass)->finalize = checkerboard_page_finalize; -#line 12681 "Page.c" +#line 12684 "Page.c" } static void checkerboard_page_instance_init (CheckerboardPage * self) { GtkViewport* _tmp0_ = NULL; -#line 1209 "/home/jens/Source/shotwell/src/Page.vala" +#line 1210 "/home/jens/Source/shotwell/src/Page.vala" self->priv = CHECKERBOARD_PAGE_GET_PRIVATE (self); -#line 1214 "/home/jens/Source/shotwell/src/Page.vala" - self->priv->item_context_menu_path = NULL; #line 1215 "/home/jens/Source/shotwell/src/Page.vala" - self->priv->page_context_menu_path = NULL; + self->priv->item_context_menu_path = NULL; #line 1216 "/home/jens/Source/shotwell/src/Page.vala" + self->priv->page_context_menu_path = NULL; +#line 1217 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = (GtkViewport*) gtk_viewport_new (NULL, NULL); -#line 1216 "/home/jens/Source/shotwell/src/Page.vala" +#line 1217 "/home/jens/Source/shotwell/src/Page.vala" g_object_ref_sink (_tmp0_); -#line 1216 "/home/jens/Source/shotwell/src/Page.vala" - self->priv->viewport = _tmp0_; #line 1217 "/home/jens/Source/shotwell/src/Page.vala" - self->anchor = NULL; + self->priv->viewport = _tmp0_; #line 1218 "/home/jens/Source/shotwell/src/Page.vala" - self->cursor = NULL; + self->anchor = NULL; #line 1219 "/home/jens/Source/shotwell/src/Page.vala" - self->priv->highlighted = NULL; + self->cursor = NULL; #line 1220 "/home/jens/Source/shotwell/src/Page.vala" - self->priv->autoscroll_scheduled = FALSE; + self->priv->highlighted = NULL; #line 1221 "/home/jens/Source/shotwell/src/Page.vala" - self->priv->activated_item = NULL; + self->priv->autoscroll_scheduled = FALSE; #line 1222 "/home/jens/Source/shotwell/src/Page.vala" + self->priv->activated_item = NULL; +#line 1223 "/home/jens/Source/shotwell/src/Page.vala" self->priv->previously_selected = NULL; -#line 12711 "Page.c" +#line 12714 "Page.c" } static void checkerboard_page_finalize (GObject* obj) { CheckerboardPage * self; -#line 1209 "/home/jens/Source/shotwell/src/Page.vala" +#line 1210 "/home/jens/Source/shotwell/src/Page.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_CHECKERBOARD_PAGE, CheckerboardPage); -#line 1213 "/home/jens/Source/shotwell/src/Page.vala" - _g_object_unref0 (self->priv->layout); #line 1214 "/home/jens/Source/shotwell/src/Page.vala" - _g_free0 (self->priv->item_context_menu_path); + _g_object_unref0 (self->priv->layout); #line 1215 "/home/jens/Source/shotwell/src/Page.vala" - _g_free0 (self->priv->page_context_menu_path); + _g_free0 (self->priv->item_context_menu_path); #line 1216 "/home/jens/Source/shotwell/src/Page.vala" - _g_object_unref0 (self->priv->viewport); + _g_free0 (self->priv->page_context_menu_path); #line 1217 "/home/jens/Source/shotwell/src/Page.vala" - _g_object_unref0 (self->anchor); + _g_object_unref0 (self->priv->viewport); #line 1218 "/home/jens/Source/shotwell/src/Page.vala" - _g_object_unref0 (self->cursor); + _g_object_unref0 (self->anchor); #line 1219 "/home/jens/Source/shotwell/src/Page.vala" + _g_object_unref0 (self->cursor); +#line 1220 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (self->priv->highlighted); -#line 1221 "/home/jens/Source/shotwell/src/Page.vala" - _g_object_unref0 (self->priv->activated_item); #line 1222 "/home/jens/Source/shotwell/src/Page.vala" + _g_object_unref0 (self->priv->activated_item); +#line 1223 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (self->priv->previously_selected); -#line 1289 "/home/jens/Source/shotwell/src/Page.vala" +#line 1290 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (self->priv->item_context_menu); -#line 1301 "/home/jens/Source/shotwell/src/Page.vala" +#line 1302 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (self->priv->page_context_menu); -#line 1209 "/home/jens/Source/shotwell/src/Page.vala" +#line 1210 "/home/jens/Source/shotwell/src/Page.vala" G_OBJECT_CLASS (checkerboard_page_parent_class)->finalize (obj); -#line 12743 "Page.c" +#line 12746 "Page.c" } @@ -12768,18 +12771,18 @@ GType single_photo_page_update_reason_get_type (void) { static void _single_photo_page_on_viewport_resize_gtk_widget_size_allocate (GtkWidget* _sender, GtkAllocation* allocation, gpointer self) { -#line 2009 "/home/jens/Source/shotwell/src/Page.vala" +#line 2010 "/home/jens/Source/shotwell/src/Page.vala" single_photo_page_on_viewport_resize ((SinglePhotoPage*) self); -#line 12774 "Page.c" +#line 12777 "Page.c" } static gboolean _single_photo_page_on_canvas_exposed_gtk_widget_draw (GtkWidget* _sender, cairo_t* cr, gpointer self) { gboolean result; result = single_photo_page_on_canvas_exposed ((SinglePhotoPage*) self, cr); -#line 2010 "/home/jens/Source/shotwell/src/Page.vala" +#line 2011 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 12783 "Page.c" +#line 12786 "Page.c" } @@ -12799,71 +12802,71 @@ SinglePhotoPage* single_photo_page_construct (GType object_type, const gchar* pa GtkViewport* _tmp11_ = NULL; GtkDrawingArea* _tmp12_ = NULL; GtkDrawingArea* _tmp13_ = NULL; -#line 1986 "/home/jens/Source/shotwell/src/Page.vala" - g_return_val_if_fail (page_name != NULL, NULL); #line 1987 "/home/jens/Source/shotwell/src/Page.vala" + g_return_val_if_fail (page_name != NULL, NULL); +#line 1988 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = page_name; -#line 1987 "/home/jens/Source/shotwell/src/Page.vala" +#line 1988 "/home/jens/Source/shotwell/src/Page.vala" self = (SinglePhotoPage*) page_construct (object_type, _tmp0_); -#line 1989 "/home/jens/Source/shotwell/src/Page.vala" +#line 1990 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = scale_up_to_viewport; -#line 1989 "/home/jens/Source/shotwell/src/Page.vala" +#line 1990 "/home/jens/Source/shotwell/src/Page.vala" self->priv->scale_up_to_viewport = _tmp1_; -#line 1991 "/home/jens/Source/shotwell/src/Page.vala" +#line 1992 "/home/jens/Source/shotwell/src/Page.vala" _tmp2_ = transition_effects_manager_get_instance (); -#line 1991 "/home/jens/Source/shotwell/src/Page.vala" +#line 1992 "/home/jens/Source/shotwell/src/Page.vala" _tmp3_ = _tmp2_; -#line 1991 "/home/jens/Source/shotwell/src/Page.vala" +#line 1992 "/home/jens/Source/shotwell/src/Page.vala" _tmp4_ = transition_effects_manager_create_null_transition_clock (_tmp3_); -#line 1991 "/home/jens/Source/shotwell/src/Page.vala" +#line 1992 "/home/jens/Source/shotwell/src/Page.vala" _transition_clock_unref0 (self->priv->transition_clock); -#line 1991 "/home/jens/Source/shotwell/src/Page.vala" +#line 1992 "/home/jens/Source/shotwell/src/Page.vala" self->priv->transition_clock = _tmp4_; -#line 1991 "/home/jens/Source/shotwell/src/Page.vala" +#line 1992 "/home/jens/Source/shotwell/src/Page.vala" _transition_effects_manager_unref0 (_tmp3_); -#line 1995 "/home/jens/Source/shotwell/src/Page.vala" +#line 1996 "/home/jens/Source/shotwell/src/Page.vala" gtk_scrolled_window_set_policy (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_scrolled_window_get_type (), GtkScrolledWindow), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); -#line 1997 "/home/jens/Source/shotwell/src/Page.vala" - gtk_container_set_border_width (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_container_get_type (), GtkContainer), (guint) 0); #line 1998 "/home/jens/Source/shotwell/src/Page.vala" + gtk_container_set_border_width (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_container_get_type (), GtkContainer), (guint) 0); +#line 1999 "/home/jens/Source/shotwell/src/Page.vala" gtk_scrolled_window_set_shadow_type (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_scrolled_window_get_type (), GtkScrolledWindow), GTK_SHADOW_NONE); -#line 2000 "/home/jens/Source/shotwell/src/Page.vala" +#line 2001 "/home/jens/Source/shotwell/src/Page.vala" _tmp5_ = self->viewport; -#line 2000 "/home/jens/Source/shotwell/src/Page.vala" - gtk_viewport_set_shadow_type (_tmp5_, GTK_SHADOW_NONE); #line 2001 "/home/jens/Source/shotwell/src/Page.vala" + gtk_viewport_set_shadow_type (_tmp5_, GTK_SHADOW_NONE); +#line 2002 "/home/jens/Source/shotwell/src/Page.vala" _tmp6_ = self->viewport; -#line 2001 "/home/jens/Source/shotwell/src/Page.vala" - gtk_container_set_border_width (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, gtk_container_get_type (), GtkContainer), (guint) 0); #line 2002 "/home/jens/Source/shotwell/src/Page.vala" + gtk_container_set_border_width (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, gtk_container_get_type (), GtkContainer), (guint) 0); +#line 2003 "/home/jens/Source/shotwell/src/Page.vala" _tmp7_ = self->viewport; -#line 2002 "/home/jens/Source/shotwell/src/Page.vala" +#line 2003 "/home/jens/Source/shotwell/src/Page.vala" _tmp8_ = self->canvas; -#line 2002 "/home/jens/Source/shotwell/src/Page.vala" +#line 2003 "/home/jens/Source/shotwell/src/Page.vala" gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, gtk_widget_get_type (), GtkWidget)); -#line 2004 "/home/jens/Source/shotwell/src/Page.vala" +#line 2005 "/home/jens/Source/shotwell/src/Page.vala" _tmp9_ = self->viewport; -#line 2004 "/home/jens/Source/shotwell/src/Page.vala" +#line 2005 "/home/jens/Source/shotwell/src/Page.vala" gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_widget_get_type (), GtkWidget)); -#line 2006 "/home/jens/Source/shotwell/src/Page.vala" +#line 2007 "/home/jens/Source/shotwell/src/Page.vala" _tmp10_ = self->canvas; -#line 2006 "/home/jens/Source/shotwell/src/Page.vala" +#line 2007 "/home/jens/Source/shotwell/src/Page.vala" gtk_widget_add_events (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, gtk_widget_get_type (), GtkWidget), (gint) ((GDK_EXPOSURE_MASK | GDK_STRUCTURE_MASK) | GDK_SUBSTRUCTURE_MASK)); -#line 2009 "/home/jens/Source/shotwell/src/Page.vala" +#line 2010 "/home/jens/Source/shotwell/src/Page.vala" _tmp11_ = self->viewport; -#line 2009 "/home/jens/Source/shotwell/src/Page.vala" - g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, gtk_widget_get_type (), GtkWidget), "size-allocate", (GCallback) _single_photo_page_on_viewport_resize_gtk_widget_size_allocate, self, 0); #line 2010 "/home/jens/Source/shotwell/src/Page.vala" + g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, gtk_widget_get_type (), GtkWidget), "size-allocate", (GCallback) _single_photo_page_on_viewport_resize_gtk_widget_size_allocate, self, 0); +#line 2011 "/home/jens/Source/shotwell/src/Page.vala" _tmp12_ = self->canvas; -#line 2010 "/home/jens/Source/shotwell/src/Page.vala" +#line 2011 "/home/jens/Source/shotwell/src/Page.vala" g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, gtk_widget_get_type (), GtkWidget), "draw", (GCallback) _single_photo_page_on_canvas_exposed_gtk_widget_draw, self, 0); -#line 2012 "/home/jens/Source/shotwell/src/Page.vala" +#line 2013 "/home/jens/Source/shotwell/src/Page.vala" _tmp13_ = self->canvas; -#line 2012 "/home/jens/Source/shotwell/src/Page.vala" +#line 2013 "/home/jens/Source/shotwell/src/Page.vala" page_set_event_source (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, gtk_widget_get_type (), GtkWidget)); -#line 1986 "/home/jens/Source/shotwell/src/Page.vala" +#line 1987 "/home/jens/Source/shotwell/src/Page.vala" return self; -#line 12867 "Page.c" +#line 12870 "Page.c" } @@ -12871,38 +12874,38 @@ gboolean single_photo_page_is_transition_in_progress (SinglePhotoPage* self) { gboolean result = FALSE; TransitionClock* _tmp0_ = NULL; gboolean _tmp1_ = FALSE; -#line 2015 "/home/jens/Source/shotwell/src/Page.vala" - g_return_val_if_fail (IS_SINGLE_PHOTO_PAGE (self), FALSE); #line 2016 "/home/jens/Source/shotwell/src/Page.vala" + g_return_val_if_fail (IS_SINGLE_PHOTO_PAGE (self), FALSE); +#line 2017 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = self->priv->transition_clock; -#line 2016 "/home/jens/Source/shotwell/src/Page.vala" +#line 2017 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = transition_clock_is_in_progress (_tmp0_); -#line 2016 "/home/jens/Source/shotwell/src/Page.vala" +#line 2017 "/home/jens/Source/shotwell/src/Page.vala" result = _tmp1_; -#line 2016 "/home/jens/Source/shotwell/src/Page.vala" +#line 2017 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 12885 "Page.c" +#line 12888 "Page.c" } void single_photo_page_cancel_transition (SinglePhotoPage* self) { TransitionClock* _tmp0_ = NULL; gboolean _tmp1_ = FALSE; -#line 2019 "/home/jens/Source/shotwell/src/Page.vala" - g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self)); #line 2020 "/home/jens/Source/shotwell/src/Page.vala" + g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self)); +#line 2021 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = self->priv->transition_clock; -#line 2020 "/home/jens/Source/shotwell/src/Page.vala" +#line 2021 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = transition_clock_is_in_progress (_tmp0_); -#line 2020 "/home/jens/Source/shotwell/src/Page.vala" +#line 2021 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp1_) { -#line 12900 "Page.c" +#line 12903 "Page.c" TransitionClock* _tmp2_ = NULL; -#line 2021 "/home/jens/Source/shotwell/src/Page.vala" +#line 2022 "/home/jens/Source/shotwell/src/Page.vala" _tmp2_ = self->priv->transition_clock; -#line 2021 "/home/jens/Source/shotwell/src/Page.vala" +#line 2022 "/home/jens/Source/shotwell/src/Page.vala" transition_clock_cancel (_tmp2_); -#line 12906 "Page.c" +#line 12909 "Page.c" } } @@ -12914,53 +12917,53 @@ void single_photo_page_set_transition (SinglePhotoPage* self, const gchar* effec TransitionClock* _tmp3_ = NULL; TransitionClock* _tmp4_ = NULL; gint _tmp8_ = 0; -#line 2024 "/home/jens/Source/shotwell/src/Page.vala" +#line 2025 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self)); -#line 2024 "/home/jens/Source/shotwell/src/Page.vala" - g_return_if_fail (effect_id != NULL); #line 2025 "/home/jens/Source/shotwell/src/Page.vala" + g_return_if_fail (effect_id != NULL); +#line 2026 "/home/jens/Source/shotwell/src/Page.vala" single_photo_page_cancel_transition (self); -#line 2027 "/home/jens/Source/shotwell/src/Page.vala" +#line 2028 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = transition_effects_manager_get_instance (); -#line 2027 "/home/jens/Source/shotwell/src/Page.vala" +#line 2028 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = _tmp0_; -#line 2027 "/home/jens/Source/shotwell/src/Page.vala" +#line 2028 "/home/jens/Source/shotwell/src/Page.vala" _tmp2_ = effect_id; -#line 2027 "/home/jens/Source/shotwell/src/Page.vala" +#line 2028 "/home/jens/Source/shotwell/src/Page.vala" _tmp3_ = transition_effects_manager_create_transition_clock (_tmp1_, _tmp2_); -#line 2027 "/home/jens/Source/shotwell/src/Page.vala" +#line 2028 "/home/jens/Source/shotwell/src/Page.vala" _transition_clock_unref0 (self->priv->transition_clock); -#line 2027 "/home/jens/Source/shotwell/src/Page.vala" +#line 2028 "/home/jens/Source/shotwell/src/Page.vala" self->priv->transition_clock = _tmp3_; -#line 2027 "/home/jens/Source/shotwell/src/Page.vala" - _transition_effects_manager_unref0 (_tmp1_); #line 2028 "/home/jens/Source/shotwell/src/Page.vala" + _transition_effects_manager_unref0 (_tmp1_); +#line 2029 "/home/jens/Source/shotwell/src/Page.vala" _tmp4_ = self->priv->transition_clock; -#line 2028 "/home/jens/Source/shotwell/src/Page.vala" +#line 2029 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp4_ == NULL) { -#line 12942 "Page.c" +#line 12945 "Page.c" TransitionEffectsManager* _tmp5_ = NULL; TransitionEffectsManager* _tmp6_ = NULL; TransitionClock* _tmp7_ = NULL; -#line 2029 "/home/jens/Source/shotwell/src/Page.vala" +#line 2030 "/home/jens/Source/shotwell/src/Page.vala" _tmp5_ = transition_effects_manager_get_instance (); -#line 2029 "/home/jens/Source/shotwell/src/Page.vala" +#line 2030 "/home/jens/Source/shotwell/src/Page.vala" _tmp6_ = _tmp5_; -#line 2029 "/home/jens/Source/shotwell/src/Page.vala" +#line 2030 "/home/jens/Source/shotwell/src/Page.vala" _tmp7_ = transition_effects_manager_create_null_transition_clock (_tmp6_); -#line 2029 "/home/jens/Source/shotwell/src/Page.vala" +#line 2030 "/home/jens/Source/shotwell/src/Page.vala" _transition_clock_unref0 (self->priv->transition_clock); -#line 2029 "/home/jens/Source/shotwell/src/Page.vala" +#line 2030 "/home/jens/Source/shotwell/src/Page.vala" self->priv->transition_clock = _tmp7_; -#line 2029 "/home/jens/Source/shotwell/src/Page.vala" +#line 2030 "/home/jens/Source/shotwell/src/Page.vala" _transition_effects_manager_unref0 (_tmp6_); -#line 12958 "Page.c" +#line 12961 "Page.c" } -#line 2031 "/home/jens/Source/shotwell/src/Page.vala" +#line 2032 "/home/jens/Source/shotwell/src/Page.vala" _tmp8_ = duration_msec; -#line 2031 "/home/jens/Source/shotwell/src/Page.vala" +#line 2032 "/home/jens/Source/shotwell/src/Page.vala" self->priv->transition_duration_msec = _tmp8_; -#line 12964 "Page.c" +#line 12967 "Page.c" } @@ -12992,86 +12995,86 @@ static void single_photo_page_render_zoomed_to_pixmap (SinglePhotoPage* self, Zo gint _tmp49_ = 0; gint _tmp50_ = 0; cairo_t* _tmp51_ = NULL; -#line 2035 "/home/jens/Source/shotwell/src/Page.vala" +#line 2036 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self)); -#line 2035 "/home/jens/Source/shotwell/src/Page.vala" - g_return_if_fail (zoom_state != NULL); #line 2036 "/home/jens/Source/shotwell/src/Page.vala" + g_return_if_fail (zoom_state != NULL); +#line 2037 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = single_photo_page_is_zoom_supported (self); -#line 2036 "/home/jens/Source/shotwell/src/Page.vala" +#line 2037 "/home/jens/Source/shotwell/src/Page.vala" _vala_assert (_tmp0_, "is_zoom_supported()"); -#line 2038 "/home/jens/Source/shotwell/src/Page.vala" +#line 2039 "/home/jens/Source/shotwell/src/Page.vala" zoom_state_get_viewing_rectangle_wrt_content (zoom_state, &_tmp1_); -#line 2038 "/home/jens/Source/shotwell/src/Page.vala" +#line 2039 "/home/jens/Source/shotwell/src/Page.vala" view_rect = _tmp1_; -#line 2041 "/home/jens/Source/shotwell/src/Page.vala" +#line 2042 "/home/jens/Source/shotwell/src/Page.vala" _tmp2_ = single_photo_page_get_zoom_buffer (self); -#line 2041 "/home/jens/Source/shotwell/src/Page.vala" +#line 2042 "/home/jens/Source/shotwell/src/Page.vala" _tmp3_ = _tmp2_; -#line 2041 "/home/jens/Source/shotwell/src/Page.vala" +#line 2042 "/home/jens/Source/shotwell/src/Page.vala" _tmp4_ = _tmp3_ != NULL; -#line 2041 "/home/jens/Source/shotwell/src/Page.vala" +#line 2042 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (_tmp3_); -#line 2041 "/home/jens/Source/shotwell/src/Page.vala" +#line 2042 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp4_) { -#line 13018 "Page.c" +#line 13021 "Page.c" GdkPixbuf* _tmp5_ = NULL; gboolean _tmp6_ = FALSE; GdkPixbuf* _tmp15_ = NULL; -#line 2042 "/home/jens/Source/shotwell/src/Page.vala" +#line 2043 "/home/jens/Source/shotwell/src/Page.vala" _tmp6_ = self->priv->zoom_high_quality; -#line 2042 "/home/jens/Source/shotwell/src/Page.vala" +#line 2043 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp6_) { -#line 13026 "Page.c" +#line 13029 "Page.c" ZoomBuffer* _tmp7_ = NULL; ZoomBuffer* _tmp8_ = NULL; ZoomState _tmp9_ = {0}; GdkPixbuf* _tmp10_ = NULL; -#line 2042 "/home/jens/Source/shotwell/src/Page.vala" +#line 2043 "/home/jens/Source/shotwell/src/Page.vala" _tmp7_ = single_photo_page_get_zoom_buffer (self); -#line 2042 "/home/jens/Source/shotwell/src/Page.vala" +#line 2043 "/home/jens/Source/shotwell/src/Page.vala" _tmp8_ = _tmp7_; -#line 2042 "/home/jens/Source/shotwell/src/Page.vala" +#line 2043 "/home/jens/Source/shotwell/src/Page.vala" _tmp9_ = *zoom_state; -#line 2042 "/home/jens/Source/shotwell/src/Page.vala" +#line 2043 "/home/jens/Source/shotwell/src/Page.vala" _tmp10_ = zoom_buffer_get_zoomed_image (_tmp8_, &_tmp9_); -#line 2042 "/home/jens/Source/shotwell/src/Page.vala" +#line 2043 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (_tmp5_); -#line 2042 "/home/jens/Source/shotwell/src/Page.vala" +#line 2043 "/home/jens/Source/shotwell/src/Page.vala" _tmp5_ = _tmp10_; -#line 2042 "/home/jens/Source/shotwell/src/Page.vala" +#line 2043 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (_tmp8_); -#line 13045 "Page.c" +#line 13048 "Page.c" } else { ZoomBuffer* _tmp11_ = NULL; ZoomBuffer* _tmp12_ = NULL; ZoomState _tmp13_ = {0}; GdkPixbuf* _tmp14_ = NULL; -#line 2043 "/home/jens/Source/shotwell/src/Page.vala" +#line 2044 "/home/jens/Source/shotwell/src/Page.vala" _tmp11_ = single_photo_page_get_zoom_buffer (self); -#line 2043 "/home/jens/Source/shotwell/src/Page.vala" +#line 2044 "/home/jens/Source/shotwell/src/Page.vala" _tmp12_ = _tmp11_; -#line 2043 "/home/jens/Source/shotwell/src/Page.vala" +#line 2044 "/home/jens/Source/shotwell/src/Page.vala" _tmp13_ = *zoom_state; -#line 2043 "/home/jens/Source/shotwell/src/Page.vala" +#line 2044 "/home/jens/Source/shotwell/src/Page.vala" _tmp14_ = zoom_buffer_get_zoom_preview_image (_tmp12_, &_tmp13_); -#line 2043 "/home/jens/Source/shotwell/src/Page.vala" +#line 2044 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (_tmp5_); -#line 2043 "/home/jens/Source/shotwell/src/Page.vala" +#line 2044 "/home/jens/Source/shotwell/src/Page.vala" _tmp5_ = _tmp14_; -#line 2043 "/home/jens/Source/shotwell/src/Page.vala" +#line 2044 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (_tmp12_); -#line 13065 "Page.c" +#line 13068 "Page.c" } -#line 2042 "/home/jens/Source/shotwell/src/Page.vala" +#line 2043 "/home/jens/Source/shotwell/src/Page.vala" _tmp15_ = _g_object_ref0 (_tmp5_); -#line 2042 "/home/jens/Source/shotwell/src/Page.vala" +#line 2043 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (zoomed); -#line 2042 "/home/jens/Source/shotwell/src/Page.vala" +#line 2043 "/home/jens/Source/shotwell/src/Page.vala" zoomed = _tmp15_; -#line 2041 "/home/jens/Source/shotwell/src/Page.vala" +#line 2042 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (_tmp5_); -#line 13075 "Page.c" +#line 13078 "Page.c" } else { GdkRectangle view_rect_proj = {0}; GdkPixbuf* _tmp16_ = NULL; @@ -13093,113 +13096,113 @@ static void single_photo_page_render_zoomed_to_pixmap (SinglePhotoPage* self, Zo GdkRectangle _tmp31_ = {0}; gint _tmp32_ = 0; GdkPixbuf* _tmp33_ = NULL; -#line 2045 "/home/jens/Source/shotwell/src/Page.vala" +#line 2046 "/home/jens/Source/shotwell/src/Page.vala" _tmp16_ = self->priv->unscaled; -#line 2045 "/home/jens/Source/shotwell/src/Page.vala" +#line 2046 "/home/jens/Source/shotwell/src/Page.vala" zoom_state_get_viewing_rectangle_projection (zoom_state, _tmp16_, &_tmp17_); -#line 2045 "/home/jens/Source/shotwell/src/Page.vala" +#line 2046 "/home/jens/Source/shotwell/src/Page.vala" view_rect_proj = _tmp17_; -#line 2047 "/home/jens/Source/shotwell/src/Page.vala" +#line 2048 "/home/jens/Source/shotwell/src/Page.vala" _tmp18_ = self->priv->unscaled; -#line 2047 "/home/jens/Source/shotwell/src/Page.vala" +#line 2048 "/home/jens/Source/shotwell/src/Page.vala" _tmp19_ = view_rect_proj; -#line 2047 "/home/jens/Source/shotwell/src/Page.vala" +#line 2048 "/home/jens/Source/shotwell/src/Page.vala" _tmp20_ = _tmp19_.x; -#line 2047 "/home/jens/Source/shotwell/src/Page.vala" +#line 2048 "/home/jens/Source/shotwell/src/Page.vala" _tmp21_ = view_rect_proj; -#line 2047 "/home/jens/Source/shotwell/src/Page.vala" +#line 2048 "/home/jens/Source/shotwell/src/Page.vala" _tmp22_ = _tmp21_.y; -#line 2047 "/home/jens/Source/shotwell/src/Page.vala" +#line 2048 "/home/jens/Source/shotwell/src/Page.vala" _tmp23_ = view_rect_proj; -#line 2047 "/home/jens/Source/shotwell/src/Page.vala" +#line 2048 "/home/jens/Source/shotwell/src/Page.vala" _tmp24_ = _tmp23_.width; -#line 2047 "/home/jens/Source/shotwell/src/Page.vala" +#line 2048 "/home/jens/Source/shotwell/src/Page.vala" _tmp25_ = view_rect_proj; -#line 2047 "/home/jens/Source/shotwell/src/Page.vala" +#line 2048 "/home/jens/Source/shotwell/src/Page.vala" _tmp26_ = _tmp25_.height; -#line 2047 "/home/jens/Source/shotwell/src/Page.vala" +#line 2048 "/home/jens/Source/shotwell/src/Page.vala" _tmp27_ = gdk_pixbuf_new_subpixbuf (_tmp18_, _tmp20_, _tmp22_, _tmp24_, _tmp26_); -#line 2047 "/home/jens/Source/shotwell/src/Page.vala" +#line 2048 "/home/jens/Source/shotwell/src/Page.vala" proj_subpixbuf = _tmp27_; -#line 2050 "/home/jens/Source/shotwell/src/Page.vala" +#line 2051 "/home/jens/Source/shotwell/src/Page.vala" _tmp28_ = proj_subpixbuf; -#line 2050 "/home/jens/Source/shotwell/src/Page.vala" +#line 2051 "/home/jens/Source/shotwell/src/Page.vala" _tmp29_ = view_rect; -#line 2050 "/home/jens/Source/shotwell/src/Page.vala" +#line 2051 "/home/jens/Source/shotwell/src/Page.vala" _tmp30_ = _tmp29_.width; -#line 2050 "/home/jens/Source/shotwell/src/Page.vala" +#line 2051 "/home/jens/Source/shotwell/src/Page.vala" _tmp31_ = view_rect; -#line 2050 "/home/jens/Source/shotwell/src/Page.vala" +#line 2051 "/home/jens/Source/shotwell/src/Page.vala" _tmp32_ = _tmp31_.height; -#line 2050 "/home/jens/Source/shotwell/src/Page.vala" +#line 2051 "/home/jens/Source/shotwell/src/Page.vala" _tmp33_ = gdk_pixbuf_scale_simple (_tmp28_, _tmp30_, _tmp32_, GDK_INTERP_BILINEAR); -#line 2050 "/home/jens/Source/shotwell/src/Page.vala" +#line 2051 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (zoomed); -#line 2050 "/home/jens/Source/shotwell/src/Page.vala" +#line 2051 "/home/jens/Source/shotwell/src/Page.vala" zoomed = _tmp33_; -#line 2041 "/home/jens/Source/shotwell/src/Page.vala" +#line 2042 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (proj_subpixbuf); -#line 13143 "Page.c" +#line 13146 "Page.c" } -#line 2054 "/home/jens/Source/shotwell/src/Page.vala" +#line 2055 "/home/jens/Source/shotwell/src/Page.vala" _tmp34_ = zoomed; -#line 2054 "/home/jens/Source/shotwell/src/Page.vala" - if (_tmp34_ == NULL) { #line 2055 "/home/jens/Source/shotwell/src/Page.vala" + if (_tmp34_ == NULL) { +#line 2056 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (zoomed); -#line 2055 "/home/jens/Source/shotwell/src/Page.vala" +#line 2056 "/home/jens/Source/shotwell/src/Page.vala" return; -#line 13153 "Page.c" +#line 13156 "Page.c" } -#line 2058 "/home/jens/Source/shotwell/src/Page.vala" +#line 2059 "/home/jens/Source/shotwell/src/Page.vala" _tmp35_ = self->priv->pixmap_dim; -#line 2058 "/home/jens/Source/shotwell/src/Page.vala" +#line 2059 "/home/jens/Source/shotwell/src/Page.vala" _tmp36_ = _tmp35_.width; -#line 2058 "/home/jens/Source/shotwell/src/Page.vala" +#line 2059 "/home/jens/Source/shotwell/src/Page.vala" _tmp37_ = view_rect; -#line 2058 "/home/jens/Source/shotwell/src/Page.vala" +#line 2059 "/home/jens/Source/shotwell/src/Page.vala" _tmp38_ = _tmp37_.width; -#line 2058 "/home/jens/Source/shotwell/src/Page.vala" - draw_x = (_tmp36_ - _tmp38_) / 2; #line 2059 "/home/jens/Source/shotwell/src/Page.vala" + draw_x = (_tmp36_ - _tmp38_) / 2; +#line 2060 "/home/jens/Source/shotwell/src/Page.vala" _tmp39_ = draw_x; -#line 2059 "/home/jens/Source/shotwell/src/Page.vala" +#line 2060 "/home/jens/Source/shotwell/src/Page.vala" _tmp40_ = CLAMP (_tmp39_, 0, G_MAXINT); -#line 2059 "/home/jens/Source/shotwell/src/Page.vala" +#line 2060 "/home/jens/Source/shotwell/src/Page.vala" draw_x = _tmp40_; -#line 2061 "/home/jens/Source/shotwell/src/Page.vala" +#line 2062 "/home/jens/Source/shotwell/src/Page.vala" _tmp41_ = self->priv->pixmap_dim; -#line 2061 "/home/jens/Source/shotwell/src/Page.vala" +#line 2062 "/home/jens/Source/shotwell/src/Page.vala" _tmp42_ = _tmp41_.height; -#line 2061 "/home/jens/Source/shotwell/src/Page.vala" +#line 2062 "/home/jens/Source/shotwell/src/Page.vala" _tmp43_ = view_rect; -#line 2061 "/home/jens/Source/shotwell/src/Page.vala" +#line 2062 "/home/jens/Source/shotwell/src/Page.vala" _tmp44_ = _tmp43_.height; -#line 2061 "/home/jens/Source/shotwell/src/Page.vala" - draw_y = (_tmp42_ - _tmp44_) / 2; #line 2062 "/home/jens/Source/shotwell/src/Page.vala" + draw_y = (_tmp42_ - _tmp44_) / 2; +#line 2063 "/home/jens/Source/shotwell/src/Page.vala" _tmp45_ = draw_y; -#line 2062 "/home/jens/Source/shotwell/src/Page.vala" +#line 2063 "/home/jens/Source/shotwell/src/Page.vala" _tmp46_ = CLAMP (_tmp45_, 0, G_MAXINT); -#line 2062 "/home/jens/Source/shotwell/src/Page.vala" +#line 2063 "/home/jens/Source/shotwell/src/Page.vala" draw_y = _tmp46_; -#line 2064 "/home/jens/Source/shotwell/src/Page.vala" +#line 2065 "/home/jens/Source/shotwell/src/Page.vala" _tmp47_ = self->priv->pixmap_ctx; -#line 2064 "/home/jens/Source/shotwell/src/Page.vala" +#line 2065 "/home/jens/Source/shotwell/src/Page.vala" _tmp48_ = zoomed; -#line 2064 "/home/jens/Source/shotwell/src/Page.vala" +#line 2065 "/home/jens/Source/shotwell/src/Page.vala" _tmp49_ = draw_x; -#line 2064 "/home/jens/Source/shotwell/src/Page.vala" +#line 2065 "/home/jens/Source/shotwell/src/Page.vala" _tmp50_ = draw_y; -#line 2064 "/home/jens/Source/shotwell/src/Page.vala" - gdk_cairo_set_source_pixbuf (_tmp47_, _tmp48_, (gdouble) _tmp49_, (gdouble) _tmp50_); #line 2065 "/home/jens/Source/shotwell/src/Page.vala" + gdk_cairo_set_source_pixbuf (_tmp47_, _tmp48_, (gdouble) _tmp49_, (gdouble) _tmp50_); +#line 2066 "/home/jens/Source/shotwell/src/Page.vala" _tmp51_ = self->priv->pixmap_ctx; -#line 2065 "/home/jens/Source/shotwell/src/Page.vala" +#line 2066 "/home/jens/Source/shotwell/src/Page.vala" cairo_paint (_tmp51_); -#line 2035 "/home/jens/Source/shotwell/src/Page.vala" +#line 2036 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (zoomed); -#line 13203 "Page.c" +#line 13206 "Page.c" } @@ -13211,39 +13214,39 @@ void single_photo_page_on_interactive_zoom (SinglePhotoPage* self, ZoomState* in gboolean _tmp3_ = FALSE; ZoomState _tmp4_ = {0}; GtkDrawingArea* _tmp5_ = NULL; -#line 2068 "/home/jens/Source/shotwell/src/Page.vala" +#line 2069 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self)); -#line 2068 "/home/jens/Source/shotwell/src/Page.vala" - g_return_if_fail (interactive_zoom_state != NULL); #line 2069 "/home/jens/Source/shotwell/src/Page.vala" + g_return_if_fail (interactive_zoom_state != NULL); +#line 2070 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = single_photo_page_is_zoom_supported (self); -#line 2069 "/home/jens/Source/shotwell/src/Page.vala" +#line 2070 "/home/jens/Source/shotwell/src/Page.vala" _vala_assert (_tmp0_, "is_zoom_supported()"); -#line 2071 "/home/jens/Source/shotwell/src/Page.vala" +#line 2072 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = self->priv->pixmap_ctx; -#line 2071 "/home/jens/Source/shotwell/src/Page.vala" - set_source_color_from_string (_tmp1_, "#000"); #line 2072 "/home/jens/Source/shotwell/src/Page.vala" + set_source_color_from_string (_tmp1_, "#000"); +#line 2073 "/home/jens/Source/shotwell/src/Page.vala" _tmp2_ = self->priv->pixmap_ctx; -#line 2072 "/home/jens/Source/shotwell/src/Page.vala" +#line 2073 "/home/jens/Source/shotwell/src/Page.vala" cairo_paint (_tmp2_); -#line 2074 "/home/jens/Source/shotwell/src/Page.vala" +#line 2075 "/home/jens/Source/shotwell/src/Page.vala" _tmp3_ = self->priv->zoom_high_quality; -#line 2074 "/home/jens/Source/shotwell/src/Page.vala" - old_quality_setting = _tmp3_; #line 2075 "/home/jens/Source/shotwell/src/Page.vala" - self->priv->zoom_high_quality = FALSE; + old_quality_setting = _tmp3_; #line 2076 "/home/jens/Source/shotwell/src/Page.vala" + self->priv->zoom_high_quality = FALSE; +#line 2077 "/home/jens/Source/shotwell/src/Page.vala" _tmp4_ = *interactive_zoom_state; -#line 2076 "/home/jens/Source/shotwell/src/Page.vala" - single_photo_page_render_zoomed_to_pixmap (self, &_tmp4_); #line 2077 "/home/jens/Source/shotwell/src/Page.vala" + single_photo_page_render_zoomed_to_pixmap (self, &_tmp4_); +#line 2078 "/home/jens/Source/shotwell/src/Page.vala" self->priv->zoom_high_quality = old_quality_setting; -#line 2079 "/home/jens/Source/shotwell/src/Page.vala" +#line 2080 "/home/jens/Source/shotwell/src/Page.vala" _tmp5_ = self->canvas; -#line 2079 "/home/jens/Source/shotwell/src/Page.vala" +#line 2080 "/home/jens/Source/shotwell/src/Page.vala" gtk_widget_queue_draw (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_widget_get_type (), GtkWidget)); -#line 13247 "Page.c" +#line 13250 "Page.c" } @@ -13255,230 +13258,230 @@ void single_photo_page_on_interactive_pan (SinglePhotoPage* self, ZoomState* int gboolean _tmp3_ = FALSE; ZoomState _tmp4_ = {0}; GtkDrawingArea* _tmp5_ = NULL; -#line 2082 "/home/jens/Source/shotwell/src/Page.vala" +#line 2083 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self)); -#line 2082 "/home/jens/Source/shotwell/src/Page.vala" - g_return_if_fail (interactive_zoom_state != NULL); #line 2083 "/home/jens/Source/shotwell/src/Page.vala" + g_return_if_fail (interactive_zoom_state != NULL); +#line 2084 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = single_photo_page_is_zoom_supported (self); -#line 2083 "/home/jens/Source/shotwell/src/Page.vala" +#line 2084 "/home/jens/Source/shotwell/src/Page.vala" _vala_assert (_tmp0_, "is_zoom_supported()"); -#line 2085 "/home/jens/Source/shotwell/src/Page.vala" +#line 2086 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = self->priv->pixmap_ctx; -#line 2085 "/home/jens/Source/shotwell/src/Page.vala" - set_source_color_from_string (_tmp1_, "#000"); #line 2086 "/home/jens/Source/shotwell/src/Page.vala" + set_source_color_from_string (_tmp1_, "#000"); +#line 2087 "/home/jens/Source/shotwell/src/Page.vala" _tmp2_ = self->priv->pixmap_ctx; -#line 2086 "/home/jens/Source/shotwell/src/Page.vala" +#line 2087 "/home/jens/Source/shotwell/src/Page.vala" cairo_paint (_tmp2_); -#line 2088 "/home/jens/Source/shotwell/src/Page.vala" +#line 2089 "/home/jens/Source/shotwell/src/Page.vala" _tmp3_ = self->priv->zoom_high_quality; -#line 2088 "/home/jens/Source/shotwell/src/Page.vala" - old_quality_setting = _tmp3_; #line 2089 "/home/jens/Source/shotwell/src/Page.vala" - self->priv->zoom_high_quality = TRUE; + old_quality_setting = _tmp3_; #line 2090 "/home/jens/Source/shotwell/src/Page.vala" + self->priv->zoom_high_quality = TRUE; +#line 2091 "/home/jens/Source/shotwell/src/Page.vala" _tmp4_ = *interactive_zoom_state; -#line 2090 "/home/jens/Source/shotwell/src/Page.vala" - single_photo_page_render_zoomed_to_pixmap (self, &_tmp4_); #line 2091 "/home/jens/Source/shotwell/src/Page.vala" + single_photo_page_render_zoomed_to_pixmap (self, &_tmp4_); +#line 2092 "/home/jens/Source/shotwell/src/Page.vala" self->priv->zoom_high_quality = old_quality_setting; -#line 2093 "/home/jens/Source/shotwell/src/Page.vala" +#line 2094 "/home/jens/Source/shotwell/src/Page.vala" _tmp5_ = self->canvas; -#line 2093 "/home/jens/Source/shotwell/src/Page.vala" +#line 2094 "/home/jens/Source/shotwell/src/Page.vala" gtk_widget_queue_draw (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_widget_get_type (), GtkWidget)); -#line 13291 "Page.c" +#line 13294 "Page.c" } static gboolean single_photo_page_real_is_zoom_supported (SinglePhotoPage* self) { gboolean result = FALSE; -#line 2097 "/home/jens/Source/shotwell/src/Page.vala" +#line 2098 "/home/jens/Source/shotwell/src/Page.vala" result = FALSE; -#line 2097 "/home/jens/Source/shotwell/src/Page.vala" +#line 2098 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 13301 "Page.c" +#line 13304 "Page.c" } gboolean single_photo_page_is_zoom_supported (SinglePhotoPage* self) { -#line 2096 "/home/jens/Source/shotwell/src/Page.vala" +#line 2097 "/home/jens/Source/shotwell/src/Page.vala" g_return_val_if_fail (IS_SINGLE_PHOTO_PAGE (self), FALSE); -#line 2096 "/home/jens/Source/shotwell/src/Page.vala" +#line 2097 "/home/jens/Source/shotwell/src/Page.vala" return SINGLE_PHOTO_PAGE_GET_CLASS (self)->is_zoom_supported (self); -#line 13310 "Page.c" +#line 13313 "Page.c" } static void single_photo_page_real_cancel_zoom (SinglePhotoPage* self) { cairo_surface_t* _tmp0_ = NULL; -#line 2101 "/home/jens/Source/shotwell/src/Page.vala" +#line 2102 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = self->priv->pixmap; -#line 2101 "/home/jens/Source/shotwell/src/Page.vala" +#line 2102 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp0_ != NULL) { -#line 13320 "Page.c" +#line 13323 "Page.c" cairo_t* _tmp1_ = NULL; cairo_t* _tmp2_ = NULL; -#line 2102 "/home/jens/Source/shotwell/src/Page.vala" +#line 2103 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = self->priv->pixmap_ctx; -#line 2102 "/home/jens/Source/shotwell/src/Page.vala" - set_source_color_from_string (_tmp1_, "#000"); #line 2103 "/home/jens/Source/shotwell/src/Page.vala" + set_source_color_from_string (_tmp1_, "#000"); +#line 2104 "/home/jens/Source/shotwell/src/Page.vala" _tmp2_ = self->priv->pixmap_ctx; -#line 2103 "/home/jens/Source/shotwell/src/Page.vala" +#line 2104 "/home/jens/Source/shotwell/src/Page.vala" cairo_paint (_tmp2_); -#line 13331 "Page.c" +#line 13334 "Page.c" } } void single_photo_page_cancel_zoom (SinglePhotoPage* self) { -#line 2100 "/home/jens/Source/shotwell/src/Page.vala" +#line 2101 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self)); -#line 2100 "/home/jens/Source/shotwell/src/Page.vala" +#line 2101 "/home/jens/Source/shotwell/src/Page.vala" SINGLE_PHOTO_PAGE_GET_CLASS (self)->cancel_zoom (self); -#line 13341 "Page.c" +#line 13344 "Page.c" } static void single_photo_page_real_save_zoom_state (SinglePhotoPage* self) { ZoomState _tmp0_ = {0}; -#line 2108 "/home/jens/Source/shotwell/src/Page.vala" +#line 2109 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = self->priv->static_zoom_state; -#line 2108 "/home/jens/Source/shotwell/src/Page.vala" - self->priv->saved_zoom_state = _tmp0_; #line 2109 "/home/jens/Source/shotwell/src/Page.vala" + self->priv->saved_zoom_state = _tmp0_; +#line 2110 "/home/jens/Source/shotwell/src/Page.vala" self->priv->has_saved_zoom_state = TRUE; -#line 13353 "Page.c" +#line 13356 "Page.c" } void single_photo_page_save_zoom_state (SinglePhotoPage* self) { -#line 2107 "/home/jens/Source/shotwell/src/Page.vala" +#line 2108 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self)); -#line 2107 "/home/jens/Source/shotwell/src/Page.vala" +#line 2108 "/home/jens/Source/shotwell/src/Page.vala" SINGLE_PHOTO_PAGE_GET_CLASS (self)->save_zoom_state (self); -#line 13362 "Page.c" +#line 13365 "Page.c" } static void single_photo_page_real_restore_zoom_state (SinglePhotoPage* self) { gboolean _tmp0_ = FALSE; ZoomState _tmp1_ = {0}; -#line 2113 "/home/jens/Source/shotwell/src/Page.vala" +#line 2114 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = self->priv->has_saved_zoom_state; -#line 2113 "/home/jens/Source/shotwell/src/Page.vala" - if (!_tmp0_) { #line 2114 "/home/jens/Source/shotwell/src/Page.vala" + if (!_tmp0_) { +#line 2115 "/home/jens/Source/shotwell/src/Page.vala" return; -#line 13375 "Page.c" +#line 13378 "Page.c" } -#line 2116 "/home/jens/Source/shotwell/src/Page.vala" +#line 2117 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = self->priv->saved_zoom_state; -#line 2116 "/home/jens/Source/shotwell/src/Page.vala" - self->priv->static_zoom_state = _tmp1_; #line 2117 "/home/jens/Source/shotwell/src/Page.vala" - single_photo_page_repaint (self, NULL); + self->priv->static_zoom_state = _tmp1_; #line 2118 "/home/jens/Source/shotwell/src/Page.vala" + single_photo_page_repaint (self, NULL); +#line 2119 "/home/jens/Source/shotwell/src/Page.vala" self->priv->has_saved_zoom_state = FALSE; -#line 13385 "Page.c" +#line 13388 "Page.c" } void single_photo_page_restore_zoom_state (SinglePhotoPage* self) { -#line 2112 "/home/jens/Source/shotwell/src/Page.vala" +#line 2113 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self)); -#line 2112 "/home/jens/Source/shotwell/src/Page.vala" +#line 2113 "/home/jens/Source/shotwell/src/Page.vala" SINGLE_PHOTO_PAGE_GET_CLASS (self)->restore_zoom_state (self); -#line 13394 "Page.c" +#line 13397 "Page.c" } static ZoomBuffer* single_photo_page_real_get_zoom_buffer (SinglePhotoPage* self) { ZoomBuffer* result = NULL; -#line 2122 "/home/jens/Source/shotwell/src/Page.vala" +#line 2123 "/home/jens/Source/shotwell/src/Page.vala" result = NULL; -#line 2122 "/home/jens/Source/shotwell/src/Page.vala" +#line 2123 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 13404 "Page.c" +#line 13407 "Page.c" } ZoomBuffer* single_photo_page_get_zoom_buffer (SinglePhotoPage* self) { -#line 2121 "/home/jens/Source/shotwell/src/Page.vala" +#line 2122 "/home/jens/Source/shotwell/src/Page.vala" g_return_val_if_fail (IS_SINGLE_PHOTO_PAGE (self), NULL); -#line 2121 "/home/jens/Source/shotwell/src/Page.vala" +#line 2122 "/home/jens/Source/shotwell/src/Page.vala" return SINGLE_PHOTO_PAGE_GET_CLASS (self)->get_zoom_buffer (self); -#line 13413 "Page.c" +#line 13416 "Page.c" } void single_photo_page_get_saved_zoom_state (SinglePhotoPage* self, ZoomState* result) { ZoomState _tmp0_ = {0}; -#line 2125 "/home/jens/Source/shotwell/src/Page.vala" - g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self)); #line 2126 "/home/jens/Source/shotwell/src/Page.vala" + g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self)); +#line 2127 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = self->priv->saved_zoom_state; -#line 2126 "/home/jens/Source/shotwell/src/Page.vala" +#line 2127 "/home/jens/Source/shotwell/src/Page.vala" *result = _tmp0_; -#line 2126 "/home/jens/Source/shotwell/src/Page.vala" +#line 2127 "/home/jens/Source/shotwell/src/Page.vala" return; -#line 13427 "Page.c" +#line 13430 "Page.c" } void single_photo_page_set_zoom_state (SinglePhotoPage* self, ZoomState* zoom_state) { gboolean _tmp0_ = FALSE; ZoomState _tmp1_ = {0}; -#line 2129 "/home/jens/Source/shotwell/src/Page.vala" +#line 2130 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self)); -#line 2129 "/home/jens/Source/shotwell/src/Page.vala" - g_return_if_fail (zoom_state != NULL); #line 2130 "/home/jens/Source/shotwell/src/Page.vala" + g_return_if_fail (zoom_state != NULL); +#line 2131 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = single_photo_page_is_zoom_supported (self); -#line 2130 "/home/jens/Source/shotwell/src/Page.vala" +#line 2131 "/home/jens/Source/shotwell/src/Page.vala" _vala_assert (_tmp0_, "is_zoom_supported()"); -#line 2132 "/home/jens/Source/shotwell/src/Page.vala" +#line 2133 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = *zoom_state; -#line 2132 "/home/jens/Source/shotwell/src/Page.vala" +#line 2133 "/home/jens/Source/shotwell/src/Page.vala" self->priv->static_zoom_state = _tmp1_; -#line 13446 "Page.c" +#line 13449 "Page.c" } void single_photo_page_get_zoom_state (SinglePhotoPage* self, ZoomState* result) { gboolean _tmp0_ = FALSE; ZoomState _tmp1_ = {0}; -#line 2135 "/home/jens/Source/shotwell/src/Page.vala" - g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self)); #line 2136 "/home/jens/Source/shotwell/src/Page.vala" + g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self)); +#line 2137 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = single_photo_page_is_zoom_supported (self); -#line 2136 "/home/jens/Source/shotwell/src/Page.vala" +#line 2137 "/home/jens/Source/shotwell/src/Page.vala" _vala_assert (_tmp0_, "is_zoom_supported()"); -#line 2138 "/home/jens/Source/shotwell/src/Page.vala" +#line 2139 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = self->priv->static_zoom_state; -#line 2138 "/home/jens/Source/shotwell/src/Page.vala" +#line 2139 "/home/jens/Source/shotwell/src/Page.vala" *result = _tmp1_; -#line 2138 "/home/jens/Source/shotwell/src/Page.vala" +#line 2139 "/home/jens/Source/shotwell/src/Page.vala" return; -#line 13465 "Page.c" +#line 13468 "Page.c" } static void single_photo_page_real_switched_to (Page* base) { SinglePhotoPage * self; GdkPixbuf* _tmp0_ = NULL; -#line 2141 "/home/jens/Source/shotwell/src/Page.vala" - self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_SINGLE_PHOTO_PAGE, SinglePhotoPage); #line 2142 "/home/jens/Source/shotwell/src/Page.vala" + self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_SINGLE_PHOTO_PAGE, SinglePhotoPage); +#line 2143 "/home/jens/Source/shotwell/src/Page.vala" PAGE_CLASS (single_photo_page_parent_class)->switched_to (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 2144 "/home/jens/Source/shotwell/src/Page.vala" +#line 2145 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = self->priv->unscaled; -#line 2144 "/home/jens/Source/shotwell/src/Page.vala" - if (_tmp0_ != NULL) { #line 2145 "/home/jens/Source/shotwell/src/Page.vala" + if (_tmp0_ != NULL) { +#line 2146 "/home/jens/Source/shotwell/src/Page.vala" single_photo_page_repaint (self, NULL); -#line 13482 "Page.c" +#line 13485 "Page.c" } } @@ -13487,21 +13490,21 @@ static void single_photo_page_real_set_container (Page* base, GtkWindow* contain SinglePhotoPage * self; GtkWindow* _tmp0_ = NULL; GtkWindow* _tmp1_ = NULL; -#line 2148 "/home/jens/Source/shotwell/src/Page.vala" +#line 2149 "/home/jens/Source/shotwell/src/Page.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_SINGLE_PHOTO_PAGE, SinglePhotoPage); -#line 2148 "/home/jens/Source/shotwell/src/Page.vala" - g_return_if_fail (GTK_IS_WINDOW (container)); #line 2149 "/home/jens/Source/shotwell/src/Page.vala" + g_return_if_fail (GTK_IS_WINDOW (container)); +#line 2150 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = container; -#line 2149 "/home/jens/Source/shotwell/src/Page.vala" +#line 2150 "/home/jens/Source/shotwell/src/Page.vala" PAGE_CLASS (single_photo_page_parent_class)->set_container (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), _tmp0_); -#line 2153 "/home/jens/Source/shotwell/src/Page.vala" +#line 2154 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = container; -#line 2153 "/home/jens/Source/shotwell/src/Page.vala" - if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, TYPE_FULLSCREEN_WINDOW)) { #line 2154 "/home/jens/Source/shotwell/src/Page.vala" + if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, TYPE_FULLSCREEN_WINDOW)) { +#line 2155 "/home/jens/Source/shotwell/src/Page.vala" gtk_scrolled_window_set_policy (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_scrolled_window_get_type (), GtkScrolledWindow), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); -#line 13505 "Page.c" +#line 13508 "Page.c" } } @@ -13518,92 +13521,92 @@ void single_photo_page_set_pixbuf (SinglePhotoPage* self, GdkPixbuf* unscaled, D GdkPixbuf* _tmp8_ = NULL; GtkDrawingArea* _tmp9_ = NULL; Direction* _tmp10_ = NULL; -#line 2161 "/home/jens/Source/shotwell/src/Page.vala" +#line 2162 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self)); -#line 2161 "/home/jens/Source/shotwell/src/Page.vala" +#line 2162 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (GDK_IS_PIXBUF (unscaled)); -#line 2161 "/home/jens/Source/shotwell/src/Page.vala" - g_return_if_fail (max_dim != NULL); #line 2162 "/home/jens/Source/shotwell/src/Page.vala" + g_return_if_fail (max_dim != NULL); +#line 2163 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = *max_dim; -#line 2162 "/home/jens/Source/shotwell/src/Page.vala" +#line 2163 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = self->priv->pixmap_dim; -#line 2162 "/home/jens/Source/shotwell/src/Page.vala" +#line 2163 "/home/jens/Source/shotwell/src/Page.vala" _tmp2_ = zoom_state_get_interpolation_factor (&self->priv->static_zoom_state); -#line 2162 "/home/jens/Source/shotwell/src/Page.vala" +#line 2163 "/home/jens/Source/shotwell/src/Page.vala" zoom_state_get_viewport_center (&self->priv->static_zoom_state, &_tmp3_); -#line 2162 "/home/jens/Source/shotwell/src/Page.vala" +#line 2163 "/home/jens/Source/shotwell/src/Page.vala" zoom_state_init (&self->priv->static_zoom_state, &_tmp0_, &_tmp1_, _tmp2_, &_tmp3_); -#line 2166 "/home/jens/Source/shotwell/src/Page.vala" +#line 2167 "/home/jens/Source/shotwell/src/Page.vala" single_photo_page_cancel_transition (self); -#line 2168 "/home/jens/Source/shotwell/src/Page.vala" +#line 2169 "/home/jens/Source/shotwell/src/Page.vala" _tmp4_ = unscaled; -#line 2168 "/home/jens/Source/shotwell/src/Page.vala" +#line 2169 "/home/jens/Source/shotwell/src/Page.vala" _tmp5_ = _g_object_ref0 (_tmp4_); -#line 2168 "/home/jens/Source/shotwell/src/Page.vala" +#line 2169 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (self->priv->unscaled); -#line 2168 "/home/jens/Source/shotwell/src/Page.vala" - self->priv->unscaled = _tmp5_; #line 2169 "/home/jens/Source/shotwell/src/Page.vala" + self->priv->unscaled = _tmp5_; +#line 2170 "/home/jens/Source/shotwell/src/Page.vala" _tmp6_ = *max_dim; -#line 2169 "/home/jens/Source/shotwell/src/Page.vala" - self->priv->max_dim = _tmp6_; #line 2170 "/home/jens/Source/shotwell/src/Page.vala" + self->priv->max_dim = _tmp6_; +#line 2171 "/home/jens/Source/shotwell/src/Page.vala" _tmp7_ = self->priv->scaled; -#line 2170 "/home/jens/Source/shotwell/src/Page.vala" +#line 2171 "/home/jens/Source/shotwell/src/Page.vala" _tmp8_ = _g_object_ref0 (_tmp7_); -#line 2170 "/home/jens/Source/shotwell/src/Page.vala" +#line 2171 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (self->priv->old_scaled); -#line 2170 "/home/jens/Source/shotwell/src/Page.vala" - self->priv->old_scaled = _tmp8_; #line 2171 "/home/jens/Source/shotwell/src/Page.vala" + self->priv->old_scaled = _tmp8_; +#line 2172 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (self->priv->scaled); -#line 2171 "/home/jens/Source/shotwell/src/Page.vala" +#line 2172 "/home/jens/Source/shotwell/src/Page.vala" self->priv->scaled = NULL; -#line 2174 "/home/jens/Source/shotwell/src/Page.vala" +#line 2175 "/home/jens/Source/shotwell/src/Page.vala" _tmp9_ = self->canvas; -#line 2174 "/home/jens/Source/shotwell/src/Page.vala" +#line 2175 "/home/jens/Source/shotwell/src/Page.vala" gtk_widget_realize (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_widget_get_type (), GtkWidget)); -#line 2176 "/home/jens/Source/shotwell/src/Page.vala" +#line 2177 "/home/jens/Source/shotwell/src/Page.vala" _tmp10_ = direction; -#line 2176 "/home/jens/Source/shotwell/src/Page.vala" +#line 2177 "/home/jens/Source/shotwell/src/Page.vala" single_photo_page_repaint (self, _tmp10_); -#line 13572 "Page.c" +#line 13575 "Page.c" } void single_photo_page_blank_display (SinglePhotoPage* self) { GtkDrawingArea* _tmp0_ = NULL; -#line 2179 "/home/jens/Source/shotwell/src/Page.vala" - g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self)); #line 2180 "/home/jens/Source/shotwell/src/Page.vala" + g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self)); +#line 2181 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (self->priv->unscaled); -#line 2180 "/home/jens/Source/shotwell/src/Page.vala" - self->priv->unscaled = NULL; #line 2181 "/home/jens/Source/shotwell/src/Page.vala" - dimensions_init (&self->priv->max_dim, 0, 0); + self->priv->unscaled = NULL; #line 2182 "/home/jens/Source/shotwell/src/Page.vala" + dimensions_init (&self->priv->max_dim, 0, 0); +#line 2183 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (self->priv->scaled); -#line 2182 "/home/jens/Source/shotwell/src/Page.vala" - self->priv->scaled = NULL; #line 2183 "/home/jens/Source/shotwell/src/Page.vala" + self->priv->scaled = NULL; +#line 2184 "/home/jens/Source/shotwell/src/Page.vala" _cairo_surface_destroy0 (self->priv->pixmap); -#line 2183 "/home/jens/Source/shotwell/src/Page.vala" +#line 2184 "/home/jens/Source/shotwell/src/Page.vala" self->priv->pixmap = NULL; -#line 2186 "/home/jens/Source/shotwell/src/Page.vala" +#line 2187 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = self->canvas; -#line 2186 "/home/jens/Source/shotwell/src/Page.vala" +#line 2187 "/home/jens/Source/shotwell/src/Page.vala" gtk_widget_realize (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget)); -#line 2189 "/home/jens/Source/shotwell/src/Page.vala" +#line 2190 "/home/jens/Source/shotwell/src/Page.vala" single_photo_page_invalidate_all (self); -#line 13600 "Page.c" +#line 13603 "Page.c" } static gpointer _cairo_surface_reference0 (gpointer self) { -#line 2193 "/home/jens/Source/shotwell/src/Page.vala" +#line 2194 "/home/jens/Source/shotwell/src/Page.vala" return self ? cairo_surface_reference (self) : NULL; -#line 13607 "Page.c" +#line 13610 "Page.c" } @@ -13611,38 +13614,38 @@ cairo_surface_t* single_photo_page_get_surface (SinglePhotoPage* self) { cairo_surface_t* result = NULL; cairo_surface_t* _tmp0_ = NULL; cairo_surface_t* _tmp1_ = NULL; -#line 2192 "/home/jens/Source/shotwell/src/Page.vala" - g_return_val_if_fail (IS_SINGLE_PHOTO_PAGE (self), NULL); #line 2193 "/home/jens/Source/shotwell/src/Page.vala" + g_return_val_if_fail (IS_SINGLE_PHOTO_PAGE (self), NULL); +#line 2194 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = self->priv->pixmap; -#line 2193 "/home/jens/Source/shotwell/src/Page.vala" +#line 2194 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = _cairo_surface_reference0 (_tmp0_); -#line 2193 "/home/jens/Source/shotwell/src/Page.vala" +#line 2194 "/home/jens/Source/shotwell/src/Page.vala" result = _tmp1_; -#line 2193 "/home/jens/Source/shotwell/src/Page.vala" +#line 2194 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 13625 "Page.c" +#line 13628 "Page.c" } void single_photo_page_get_surface_dim (SinglePhotoPage* self, Dimensions* result) { Dimensions _tmp0_ = {0}; -#line 2196 "/home/jens/Source/shotwell/src/Page.vala" - g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self)); #line 2197 "/home/jens/Source/shotwell/src/Page.vala" + g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self)); +#line 2198 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = self->priv->pixmap_dim; -#line 2197 "/home/jens/Source/shotwell/src/Page.vala" +#line 2198 "/home/jens/Source/shotwell/src/Page.vala" *result = _tmp0_; -#line 2197 "/home/jens/Source/shotwell/src/Page.vala" +#line 2198 "/home/jens/Source/shotwell/src/Page.vala" return; -#line 13639 "Page.c" +#line 13642 "Page.c" } static gpointer _cairo_reference0 (gpointer self) { -#line 2201 "/home/jens/Source/shotwell/src/Page.vala" +#line 2202 "/home/jens/Source/shotwell/src/Page.vala" return self ? cairo_reference (self) : NULL; -#line 13646 "Page.c" +#line 13649 "Page.c" } @@ -13650,17 +13653,17 @@ cairo_t* single_photo_page_get_cairo_context (SinglePhotoPage* self) { cairo_t* result = NULL; cairo_t* _tmp0_ = NULL; cairo_t* _tmp1_ = NULL; -#line 2200 "/home/jens/Source/shotwell/src/Page.vala" - g_return_val_if_fail (IS_SINGLE_PHOTO_PAGE (self), NULL); #line 2201 "/home/jens/Source/shotwell/src/Page.vala" + g_return_val_if_fail (IS_SINGLE_PHOTO_PAGE (self), NULL); +#line 2202 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = self->priv->pixmap_ctx; -#line 2201 "/home/jens/Source/shotwell/src/Page.vala" +#line 2202 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = _cairo_reference0 (_tmp0_); -#line 2201 "/home/jens/Source/shotwell/src/Page.vala" +#line 2202 "/home/jens/Source/shotwell/src/Page.vala" result = _tmp1_; -#line 2201 "/home/jens/Source/shotwell/src/Page.vala" +#line 2202 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 13664 "Page.c" +#line 13667 "Page.c" } @@ -13670,25 +13673,25 @@ void single_photo_page_paint_text (SinglePhotoPage* self, PangoLayout* pango_lay gint _tmp2_ = 0; cairo_t* _tmp3_ = NULL; PangoLayout* _tmp4_ = NULL; -#line 2204 "/home/jens/Source/shotwell/src/Page.vala" +#line 2205 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self)); -#line 2204 "/home/jens/Source/shotwell/src/Page.vala" - g_return_if_fail (PANGO_IS_LAYOUT (pango_layout)); #line 2205 "/home/jens/Source/shotwell/src/Page.vala" + g_return_if_fail (PANGO_IS_LAYOUT (pango_layout)); +#line 2206 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = self->priv->text_ctx; -#line 2205 "/home/jens/Source/shotwell/src/Page.vala" +#line 2206 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = x; -#line 2205 "/home/jens/Source/shotwell/src/Page.vala" +#line 2206 "/home/jens/Source/shotwell/src/Page.vala" _tmp2_ = y; -#line 2205 "/home/jens/Source/shotwell/src/Page.vala" - cairo_move_to (_tmp0_, (gdouble) _tmp1_, (gdouble) _tmp2_); #line 2206 "/home/jens/Source/shotwell/src/Page.vala" + cairo_move_to (_tmp0_, (gdouble) _tmp1_, (gdouble) _tmp2_); +#line 2207 "/home/jens/Source/shotwell/src/Page.vala" _tmp3_ = self->priv->text_ctx; -#line 2206 "/home/jens/Source/shotwell/src/Page.vala" +#line 2207 "/home/jens/Source/shotwell/src/Page.vala" _tmp4_ = pango_layout; -#line 2206 "/home/jens/Source/shotwell/src/Page.vala" +#line 2207 "/home/jens/Source/shotwell/src/Page.vala" pango_cairo_show_layout (_tmp3_, _tmp4_); -#line 13692 "Page.c" +#line 13695 "Page.c" } @@ -13697,55 +13700,55 @@ void single_photo_page_get_canvas_scaling (SinglePhotoPage* self, Scaling* resul GtkWindow* _tmp1_ = NULL; GtkWindow* _tmp2_ = NULL; gboolean _tmp3_ = FALSE; -#line 2209 "/home/jens/Source/shotwell/src/Page.vala" - g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self)); #line 2210 "/home/jens/Source/shotwell/src/Page.vala" + g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self)); +#line 2211 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = page_get_container (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 2210 "/home/jens/Source/shotwell/src/Page.vala" +#line 2211 "/home/jens/Source/shotwell/src/Page.vala" _tmp2_ = _tmp1_; -#line 2210 "/home/jens/Source/shotwell/src/Page.vala" +#line 2211 "/home/jens/Source/shotwell/src/Page.vala" _tmp3_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp2_, TYPE_FULLSCREEN_WINDOW); -#line 2210 "/home/jens/Source/shotwell/src/Page.vala" +#line 2211 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (_tmp2_); -#line 2210 "/home/jens/Source/shotwell/src/Page.vala" +#line 2211 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp3_) { -#line 13713 "Page.c" +#line 13716 "Page.c" GtkWindow* _tmp4_ = NULL; GtkWindow* _tmp5_ = NULL; gboolean _tmp6_ = FALSE; Scaling _tmp7_ = {0}; -#line 2210 "/home/jens/Source/shotwell/src/Page.vala" +#line 2211 "/home/jens/Source/shotwell/src/Page.vala" _tmp4_ = page_get_container (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 2210 "/home/jens/Source/shotwell/src/Page.vala" +#line 2211 "/home/jens/Source/shotwell/src/Page.vala" _tmp5_ = _tmp4_; -#line 2210 "/home/jens/Source/shotwell/src/Page.vala" +#line 2211 "/home/jens/Source/shotwell/src/Page.vala" _tmp6_ = self->priv->scale_up_to_viewport; -#line 2210 "/home/jens/Source/shotwell/src/Page.vala" +#line 2211 "/home/jens/Source/shotwell/src/Page.vala" scaling_for_screen (_tmp5_, _tmp6_, &_tmp7_); -#line 2210 "/home/jens/Source/shotwell/src/Page.vala" +#line 2211 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = _tmp7_; -#line 2210 "/home/jens/Source/shotwell/src/Page.vala" +#line 2211 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (_tmp5_); -#line 13730 "Page.c" +#line 13733 "Page.c" } else { GtkViewport* _tmp8_ = NULL; gboolean _tmp9_ = FALSE; Scaling _tmp10_ = {0}; -#line 2211 "/home/jens/Source/shotwell/src/Page.vala" +#line 2212 "/home/jens/Source/shotwell/src/Page.vala" _tmp8_ = self->viewport; -#line 2211 "/home/jens/Source/shotwell/src/Page.vala" +#line 2212 "/home/jens/Source/shotwell/src/Page.vala" _tmp9_ = self->priv->scale_up_to_viewport; -#line 2211 "/home/jens/Source/shotwell/src/Page.vala" +#line 2212 "/home/jens/Source/shotwell/src/Page.vala" scaling_for_widget (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, gtk_widget_get_type (), GtkWidget), _tmp9_, &_tmp10_); -#line 2211 "/home/jens/Source/shotwell/src/Page.vala" +#line 2212 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = _tmp10_; -#line 13743 "Page.c" +#line 13746 "Page.c" } -#line 2210 "/home/jens/Source/shotwell/src/Page.vala" +#line 2211 "/home/jens/Source/shotwell/src/Page.vala" *result = _tmp0_; -#line 2210 "/home/jens/Source/shotwell/src/Page.vala" +#line 2211 "/home/jens/Source/shotwell/src/Page.vala" return; -#line 13749 "Page.c" +#line 13752 "Page.c" } @@ -13753,17 +13756,17 @@ GdkPixbuf* single_photo_page_get_unscaled_pixbuf (SinglePhotoPage* self) { GdkPixbuf* result = NULL; GdkPixbuf* _tmp0_ = NULL; GdkPixbuf* _tmp1_ = NULL; -#line 2214 "/home/jens/Source/shotwell/src/Page.vala" - g_return_val_if_fail (IS_SINGLE_PHOTO_PAGE (self), NULL); #line 2215 "/home/jens/Source/shotwell/src/Page.vala" + g_return_val_if_fail (IS_SINGLE_PHOTO_PAGE (self), NULL); +#line 2216 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = self->priv->unscaled; -#line 2215 "/home/jens/Source/shotwell/src/Page.vala" +#line 2216 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = _g_object_ref0 (_tmp0_); -#line 2215 "/home/jens/Source/shotwell/src/Page.vala" +#line 2216 "/home/jens/Source/shotwell/src/Page.vala" result = _tmp1_; -#line 2215 "/home/jens/Source/shotwell/src/Page.vala" +#line 2216 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 13767 "Page.c" +#line 13770 "Page.c" } @@ -13771,31 +13774,31 @@ GdkPixbuf* single_photo_page_get_scaled_pixbuf (SinglePhotoPage* self) { GdkPixbuf* result = NULL; GdkPixbuf* _tmp0_ = NULL; GdkPixbuf* _tmp1_ = NULL; -#line 2218 "/home/jens/Source/shotwell/src/Page.vala" - g_return_val_if_fail (IS_SINGLE_PHOTO_PAGE (self), NULL); #line 2219 "/home/jens/Source/shotwell/src/Page.vala" + g_return_val_if_fail (IS_SINGLE_PHOTO_PAGE (self), NULL); +#line 2220 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = self->priv->scaled; -#line 2219 "/home/jens/Source/shotwell/src/Page.vala" +#line 2220 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = _g_object_ref0 (_tmp0_); -#line 2219 "/home/jens/Source/shotwell/src/Page.vala" +#line 2220 "/home/jens/Source/shotwell/src/Page.vala" result = _tmp1_; -#line 2219 "/home/jens/Source/shotwell/src/Page.vala" +#line 2220 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 13785 "Page.c" +#line 13788 "Page.c" } void single_photo_page_get_scaled_pixbuf_position (SinglePhotoPage* self, GdkRectangle* result) { GdkRectangle _tmp0_ = {0}; -#line 2223 "/home/jens/Source/shotwell/src/Page.vala" - g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self)); #line 2224 "/home/jens/Source/shotwell/src/Page.vala" + g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self)); +#line 2225 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = self->priv->scaled_pos; -#line 2224 "/home/jens/Source/shotwell/src/Page.vala" +#line 2225 "/home/jens/Source/shotwell/src/Page.vala" *result = _tmp0_; -#line 2224 "/home/jens/Source/shotwell/src/Page.vala" +#line 2225 "/home/jens/Source/shotwell/src/Page.vala" return; -#line 13799 "Page.c" +#line 13802 "Page.c" } @@ -13805,50 +13808,50 @@ gboolean single_photo_page_is_inside_pixbuf (SinglePhotoPage* self, gint x, gint gint _tmp1_ = 0; GdkRectangle _tmp2_ = {0}; gboolean _tmp3_ = FALSE; -#line 2227 "/home/jens/Source/shotwell/src/Page.vala" - g_return_val_if_fail (IS_SINGLE_PHOTO_PAGE (self), FALSE); #line 2228 "/home/jens/Source/shotwell/src/Page.vala" + g_return_val_if_fail (IS_SINGLE_PHOTO_PAGE (self), FALSE); +#line 2229 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = x; -#line 2228 "/home/jens/Source/shotwell/src/Page.vala" +#line 2229 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = y; -#line 2228 "/home/jens/Source/shotwell/src/Page.vala" +#line 2229 "/home/jens/Source/shotwell/src/Page.vala" _tmp2_ = self->priv->scaled_pos; -#line 2228 "/home/jens/Source/shotwell/src/Page.vala" +#line 2229 "/home/jens/Source/shotwell/src/Page.vala" _tmp3_ = coord_in_rectangle (_tmp0_, _tmp1_, &_tmp2_); -#line 2228 "/home/jens/Source/shotwell/src/Page.vala" +#line 2229 "/home/jens/Source/shotwell/src/Page.vala" result = _tmp3_; -#line 2228 "/home/jens/Source/shotwell/src/Page.vala" +#line 2229 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 13823 "Page.c" +#line 13826 "Page.c" } void single_photo_page_invalidate (SinglePhotoPage* self, GdkRectangle* rect) { GtkDrawingArea* _tmp0_ = NULL; GdkWindow* _tmp1_ = NULL; -#line 2231 "/home/jens/Source/shotwell/src/Page.vala" +#line 2232 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self)); -#line 2231 "/home/jens/Source/shotwell/src/Page.vala" - g_return_if_fail (rect != NULL); #line 2232 "/home/jens/Source/shotwell/src/Page.vala" + g_return_if_fail (rect != NULL); +#line 2233 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = self->canvas; -#line 2232 "/home/jens/Source/shotwell/src/Page.vala" +#line 2233 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = gtk_widget_get_window (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget)); -#line 2232 "/home/jens/Source/shotwell/src/Page.vala" +#line 2233 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp1_ != NULL) { -#line 13840 "Page.c" +#line 13843 "Page.c" GtkDrawingArea* _tmp2_ = NULL; GdkWindow* _tmp3_ = NULL; GdkRectangle _tmp4_ = {0}; -#line 2233 "/home/jens/Source/shotwell/src/Page.vala" +#line 2234 "/home/jens/Source/shotwell/src/Page.vala" _tmp2_ = self->canvas; -#line 2233 "/home/jens/Source/shotwell/src/Page.vala" +#line 2234 "/home/jens/Source/shotwell/src/Page.vala" _tmp3_ = gtk_widget_get_window (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_widget_get_type (), GtkWidget)); -#line 2233 "/home/jens/Source/shotwell/src/Page.vala" +#line 2234 "/home/jens/Source/shotwell/src/Page.vala" _tmp4_ = *rect; -#line 2233 "/home/jens/Source/shotwell/src/Page.vala" +#line 2234 "/home/jens/Source/shotwell/src/Page.vala" gdk_window_invalidate_rect (_tmp3_, &_tmp4_, FALSE); -#line 13852 "Page.c" +#line 13855 "Page.c" } } @@ -13856,51 +13859,51 @@ void single_photo_page_invalidate (SinglePhotoPage* self, GdkRectangle* rect) { void single_photo_page_invalidate_all (SinglePhotoPage* self) { GtkDrawingArea* _tmp0_ = NULL; GdkWindow* _tmp1_ = NULL; -#line 2236 "/home/jens/Source/shotwell/src/Page.vala" - g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self)); #line 2237 "/home/jens/Source/shotwell/src/Page.vala" + g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self)); +#line 2238 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = self->canvas; -#line 2237 "/home/jens/Source/shotwell/src/Page.vala" +#line 2238 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = gtk_widget_get_window (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget)); -#line 2237 "/home/jens/Source/shotwell/src/Page.vala" +#line 2238 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp1_ != NULL) { -#line 13868 "Page.c" +#line 13871 "Page.c" GtkDrawingArea* _tmp2_ = NULL; GdkWindow* _tmp3_ = NULL; -#line 2238 "/home/jens/Source/shotwell/src/Page.vala" +#line 2239 "/home/jens/Source/shotwell/src/Page.vala" _tmp2_ = self->canvas; -#line 2238 "/home/jens/Source/shotwell/src/Page.vala" +#line 2239 "/home/jens/Source/shotwell/src/Page.vala" _tmp3_ = gtk_widget_get_window (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_widget_get_type (), GtkWidget)); -#line 2238 "/home/jens/Source/shotwell/src/Page.vala" +#line 2239 "/home/jens/Source/shotwell/src/Page.vala" gdk_window_invalidate_rect (_tmp3_, NULL, FALSE); -#line 13877 "Page.c" +#line 13880 "Page.c" } } static void single_photo_page_on_viewport_resize (SinglePhotoPage* self) { -#line 2241 "/home/jens/Source/shotwell/src/Page.vala" +#line 2242 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self)); -#line 2243 "/home/jens/Source/shotwell/src/Page.vala" +#line 2244 "/home/jens/Source/shotwell/src/Page.vala" single_photo_page_internal_repaint (self, TRUE, NULL); -#line 13887 "Page.c" +#line 13890 "Page.c" } static void single_photo_page_real_on_resize_finished (Page* base, GdkRectangle* rect) { SinglePhotoPage * self; GdkRectangle _tmp0_ = {0}; -#line 2246 "/home/jens/Source/shotwell/src/Page.vala" +#line 2247 "/home/jens/Source/shotwell/src/Page.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_SINGLE_PHOTO_PAGE, SinglePhotoPage); -#line 2246 "/home/jens/Source/shotwell/src/Page.vala" - g_return_if_fail (rect != NULL); #line 2247 "/home/jens/Source/shotwell/src/Page.vala" + g_return_if_fail (rect != NULL); +#line 2248 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = *rect; -#line 2247 "/home/jens/Source/shotwell/src/Page.vala" +#line 2248 "/home/jens/Source/shotwell/src/Page.vala" PAGE_CLASS (single_photo_page_parent_class)->on_resize_finished (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), &_tmp0_); -#line 2250 "/home/jens/Source/shotwell/src/Page.vala" +#line 2251 "/home/jens/Source/shotwell/src/Page.vala" single_photo_page_repaint (self, NULL); -#line 13904 "Page.c" +#line 13907 "Page.c" } @@ -13911,114 +13914,114 @@ static gboolean single_photo_page_on_canvas_exposed (SinglePhotoPage* self, cair gint _tmp5_ = 0; gint _tmp6_ = 0; cairo_t* _tmp7_ = NULL; -#line 2253 "/home/jens/Source/shotwell/src/Page.vala" +#line 2254 "/home/jens/Source/shotwell/src/Page.vala" g_return_val_if_fail (IS_SINGLE_PHOTO_PAGE (self), FALSE); -#line 2253 "/home/jens/Source/shotwell/src/Page.vala" +#line 2254 "/home/jens/Source/shotwell/src/Page.vala" g_return_val_if_fail (exposed_ctx != NULL, FALSE); -#line 2256 "/home/jens/Source/shotwell/src/Page.vala" +#line 2257 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = self->priv->pixmap; -#line 2256 "/home/jens/Source/shotwell/src/Page.vala" +#line 2257 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp0_ != NULL) { -#line 13923 "Page.c" +#line 13926 "Page.c" cairo_t* _tmp1_ = NULL; cairo_surface_t* _tmp2_ = NULL; -#line 2257 "/home/jens/Source/shotwell/src/Page.vala" +#line 2258 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = exposed_ctx; -#line 2257 "/home/jens/Source/shotwell/src/Page.vala" +#line 2258 "/home/jens/Source/shotwell/src/Page.vala" _tmp2_ = self->priv->pixmap; -#line 2257 "/home/jens/Source/shotwell/src/Page.vala" +#line 2258 "/home/jens/Source/shotwell/src/Page.vala" cairo_set_source_surface (_tmp1_, _tmp2_, (gdouble) 0, (gdouble) 0); -#line 13932 "Page.c" +#line 13935 "Page.c" } else { cairo_t* _tmp3_ = NULL; -#line 2259 "/home/jens/Source/shotwell/src/Page.vala" +#line 2260 "/home/jens/Source/shotwell/src/Page.vala" _tmp3_ = exposed_ctx; -#line 2259 "/home/jens/Source/shotwell/src/Page.vala" +#line 2260 "/home/jens/Source/shotwell/src/Page.vala" set_source_color_from_string (_tmp3_, "#000"); -#line 13939 "Page.c" +#line 13942 "Page.c" } -#line 2261 "/home/jens/Source/shotwell/src/Page.vala" +#line 2262 "/home/jens/Source/shotwell/src/Page.vala" _tmp4_ = exposed_ctx; -#line 2261 "/home/jens/Source/shotwell/src/Page.vala" +#line 2262 "/home/jens/Source/shotwell/src/Page.vala" _tmp5_ = gtk_widget_get_allocated_width (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget)); -#line 2261 "/home/jens/Source/shotwell/src/Page.vala" +#line 2262 "/home/jens/Source/shotwell/src/Page.vala" _tmp6_ = gtk_widget_get_allocated_height (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget)); -#line 2261 "/home/jens/Source/shotwell/src/Page.vala" - cairo_rectangle (_tmp4_, (gdouble) 0, (gdouble) 0, (gdouble) _tmp5_, (gdouble) _tmp6_); #line 2262 "/home/jens/Source/shotwell/src/Page.vala" + cairo_rectangle (_tmp4_, (gdouble) 0, (gdouble) 0, (gdouble) _tmp5_, (gdouble) _tmp6_); +#line 2263 "/home/jens/Source/shotwell/src/Page.vala" _tmp7_ = exposed_ctx; -#line 2262 "/home/jens/Source/shotwell/src/Page.vala" +#line 2263 "/home/jens/Source/shotwell/src/Page.vala" cairo_paint (_tmp7_); -#line 2264 "/home/jens/Source/shotwell/src/Page.vala" +#line 2265 "/home/jens/Source/shotwell/src/Page.vala" result = TRUE; -#line 2264 "/home/jens/Source/shotwell/src/Page.vala" +#line 2265 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 13957 "Page.c" +#line 13960 "Page.c" } static void single_photo_page_real_new_surface (SinglePhotoPage* self, cairo_t* ctx, Dimensions* ctx_dim) { -#line 2267 "/home/jens/Source/shotwell/src/Page.vala" +#line 2268 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (ctx != NULL); -#line 2267 "/home/jens/Source/shotwell/src/Page.vala" +#line 2268 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (ctx_dim != NULL); -#line 13966 "Page.c" +#line 13969 "Page.c" } void single_photo_page_new_surface (SinglePhotoPage* self, cairo_t* ctx, Dimensions* ctx_dim) { -#line 2267 "/home/jens/Source/shotwell/src/Page.vala" +#line 2268 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self)); -#line 2267 "/home/jens/Source/shotwell/src/Page.vala" +#line 2268 "/home/jens/Source/shotwell/src/Page.vala" SINGLE_PHOTO_PAGE_GET_CLASS (self)->new_surface (self, ctx, ctx_dim); -#line 13975 "Page.c" +#line 13978 "Page.c" } static void single_photo_page_real_updated_pixbuf (SinglePhotoPage* self, GdkPixbuf* pixbuf, SinglePhotoPageUpdateReason reason, Dimensions* old_dim) { -#line 2270 "/home/jens/Source/shotwell/src/Page.vala" +#line 2271 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (GDK_IS_PIXBUF (pixbuf)); -#line 2270 "/home/jens/Source/shotwell/src/Page.vala" +#line 2271 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (old_dim != NULL); -#line 13984 "Page.c" +#line 13987 "Page.c" } void single_photo_page_updated_pixbuf (SinglePhotoPage* self, GdkPixbuf* pixbuf, SinglePhotoPageUpdateReason reason, Dimensions* old_dim) { -#line 2270 "/home/jens/Source/shotwell/src/Page.vala" +#line 2271 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self)); -#line 2270 "/home/jens/Source/shotwell/src/Page.vala" +#line 2271 "/home/jens/Source/shotwell/src/Page.vala" SINGLE_PHOTO_PAGE_GET_CLASS (self)->updated_pixbuf (self, pixbuf, reason, old_dim); -#line 13993 "Page.c" +#line 13996 "Page.c" } static void single_photo_page_real_paint (SinglePhotoPage* self, cairo_t* ctx, Dimensions* ctx_dim) { gboolean _tmp0_ = FALSE; gboolean _tmp1_ = FALSE; -#line 2273 "/home/jens/Source/shotwell/src/Page.vala" +#line 2274 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (ctx != NULL); -#line 2273 "/home/jens/Source/shotwell/src/Page.vala" - g_return_if_fail (ctx_dim != NULL); #line 2274 "/home/jens/Source/shotwell/src/Page.vala" + g_return_if_fail (ctx_dim != NULL); +#line 2275 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = single_photo_page_is_zoom_supported (self); -#line 2274 "/home/jens/Source/shotwell/src/Page.vala" +#line 2275 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp1_) { -#line 14008 "Page.c" +#line 14011 "Page.c" gboolean _tmp2_ = FALSE; -#line 2274 "/home/jens/Source/shotwell/src/Page.vala" +#line 2275 "/home/jens/Source/shotwell/src/Page.vala" _tmp2_ = zoom_state_is_default (&self->priv->static_zoom_state); -#line 2274 "/home/jens/Source/shotwell/src/Page.vala" +#line 2275 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = !_tmp2_; -#line 14014 "Page.c" +#line 14017 "Page.c" } else { -#line 2274 "/home/jens/Source/shotwell/src/Page.vala" +#line 2275 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = FALSE; -#line 14018 "Page.c" +#line 14021 "Page.c" } -#line 2274 "/home/jens/Source/shotwell/src/Page.vala" +#line 2275 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp0_) { -#line 14022 "Page.c" +#line 14025 "Page.c" cairo_t* _tmp3_ = NULL; cairo_t* _tmp4_ = NULL; Dimensions _tmp5_ = {0}; @@ -14027,31 +14030,31 @@ static void single_photo_page_real_paint (SinglePhotoPage* self, cairo_t* ctx, D gint _tmp8_ = 0; cairo_t* _tmp9_ = NULL; ZoomState _tmp10_ = {0}; -#line 2275 "/home/jens/Source/shotwell/src/Page.vala" +#line 2276 "/home/jens/Source/shotwell/src/Page.vala" _tmp3_ = ctx; -#line 2275 "/home/jens/Source/shotwell/src/Page.vala" - set_source_color_from_string (_tmp3_, "#000"); #line 2276 "/home/jens/Source/shotwell/src/Page.vala" + set_source_color_from_string (_tmp3_, "#000"); +#line 2277 "/home/jens/Source/shotwell/src/Page.vala" _tmp4_ = ctx; -#line 2276 "/home/jens/Source/shotwell/src/Page.vala" +#line 2277 "/home/jens/Source/shotwell/src/Page.vala" _tmp5_ = self->priv->pixmap_dim; -#line 2276 "/home/jens/Source/shotwell/src/Page.vala" +#line 2277 "/home/jens/Source/shotwell/src/Page.vala" _tmp6_ = _tmp5_.width; -#line 2276 "/home/jens/Source/shotwell/src/Page.vala" +#line 2277 "/home/jens/Source/shotwell/src/Page.vala" _tmp7_ = self->priv->pixmap_dim; -#line 2276 "/home/jens/Source/shotwell/src/Page.vala" +#line 2277 "/home/jens/Source/shotwell/src/Page.vala" _tmp8_ = _tmp7_.height; -#line 2276 "/home/jens/Source/shotwell/src/Page.vala" - cairo_rectangle (_tmp4_, (gdouble) 0, (gdouble) 0, (gdouble) _tmp6_, (gdouble) _tmp8_); #line 2277 "/home/jens/Source/shotwell/src/Page.vala" + cairo_rectangle (_tmp4_, (gdouble) 0, (gdouble) 0, (gdouble) _tmp6_, (gdouble) _tmp8_); +#line 2278 "/home/jens/Source/shotwell/src/Page.vala" _tmp9_ = ctx; -#line 2277 "/home/jens/Source/shotwell/src/Page.vala" +#line 2278 "/home/jens/Source/shotwell/src/Page.vala" cairo_fill (_tmp9_); -#line 2279 "/home/jens/Source/shotwell/src/Page.vala" +#line 2280 "/home/jens/Source/shotwell/src/Page.vala" _tmp10_ = self->priv->static_zoom_state; -#line 2279 "/home/jens/Source/shotwell/src/Page.vala" +#line 2280 "/home/jens/Source/shotwell/src/Page.vala" single_photo_page_render_zoomed_to_pixmap (self, &_tmp10_); -#line 14055 "Page.c" +#line 14058 "Page.c" } else { TransitionClock* _tmp11_ = NULL; cairo_t* _tmp12_ = NULL; @@ -14060,23 +14063,23 @@ static void single_photo_page_real_paint (SinglePhotoPage* self, cairo_t* ctx, D Dimensions _tmp15_ = {0}; gint _tmp16_ = 0; gboolean _tmp17_ = FALSE; -#line 2280 "/home/jens/Source/shotwell/src/Page.vala" +#line 2281 "/home/jens/Source/shotwell/src/Page.vala" _tmp11_ = self->priv->transition_clock; -#line 2280 "/home/jens/Source/shotwell/src/Page.vala" +#line 2281 "/home/jens/Source/shotwell/src/Page.vala" _tmp12_ = ctx; -#line 2280 "/home/jens/Source/shotwell/src/Page.vala" +#line 2281 "/home/jens/Source/shotwell/src/Page.vala" _tmp13_ = *ctx_dim; -#line 2280 "/home/jens/Source/shotwell/src/Page.vala" +#line 2281 "/home/jens/Source/shotwell/src/Page.vala" _tmp14_ = _tmp13_.width; -#line 2280 "/home/jens/Source/shotwell/src/Page.vala" +#line 2281 "/home/jens/Source/shotwell/src/Page.vala" _tmp15_ = *ctx_dim; -#line 2280 "/home/jens/Source/shotwell/src/Page.vala" +#line 2281 "/home/jens/Source/shotwell/src/Page.vala" _tmp16_ = _tmp15_.height; -#line 2280 "/home/jens/Source/shotwell/src/Page.vala" +#line 2281 "/home/jens/Source/shotwell/src/Page.vala" _tmp17_ = transition_clock_paint (_tmp11_, _tmp12_, _tmp14_, _tmp16_); -#line 2280 "/home/jens/Source/shotwell/src/Page.vala" +#line 2281 "/home/jens/Source/shotwell/src/Page.vala" if (!_tmp17_) { -#line 14080 "Page.c" +#line 14083 "Page.c" cairo_t* _tmp18_ = NULL; cairo_t* _tmp19_ = NULL; Dimensions _tmp20_ = {0}; @@ -14091,56 +14094,56 @@ static void single_photo_page_real_paint (SinglePhotoPage* self, cairo_t* ctx, D GdkRectangle _tmp29_ = {0}; gint _tmp30_ = 0; cairo_t* _tmp31_ = NULL; -#line 2282 "/home/jens/Source/shotwell/src/Page.vala" +#line 2283 "/home/jens/Source/shotwell/src/Page.vala" _tmp18_ = ctx; -#line 2282 "/home/jens/Source/shotwell/src/Page.vala" +#line 2283 "/home/jens/Source/shotwell/src/Page.vala" set_source_color_from_string (_tmp18_, "#000"); -#line 2284 "/home/jens/Source/shotwell/src/Page.vala" +#line 2285 "/home/jens/Source/shotwell/src/Page.vala" _tmp19_ = ctx; -#line 2284 "/home/jens/Source/shotwell/src/Page.vala" +#line 2285 "/home/jens/Source/shotwell/src/Page.vala" _tmp20_ = self->priv->pixmap_dim; -#line 2284 "/home/jens/Source/shotwell/src/Page.vala" +#line 2285 "/home/jens/Source/shotwell/src/Page.vala" _tmp21_ = _tmp20_.width; -#line 2284 "/home/jens/Source/shotwell/src/Page.vala" +#line 2285 "/home/jens/Source/shotwell/src/Page.vala" _tmp22_ = self->priv->pixmap_dim; -#line 2284 "/home/jens/Source/shotwell/src/Page.vala" +#line 2285 "/home/jens/Source/shotwell/src/Page.vala" _tmp23_ = _tmp22_.height; -#line 2284 "/home/jens/Source/shotwell/src/Page.vala" - cairo_rectangle (_tmp19_, (gdouble) 0, (gdouble) 0, (gdouble) _tmp21_, (gdouble) _tmp23_); #line 2285 "/home/jens/Source/shotwell/src/Page.vala" + cairo_rectangle (_tmp19_, (gdouble) 0, (gdouble) 0, (gdouble) _tmp21_, (gdouble) _tmp23_); +#line 2286 "/home/jens/Source/shotwell/src/Page.vala" _tmp24_ = ctx; -#line 2285 "/home/jens/Source/shotwell/src/Page.vala" +#line 2286 "/home/jens/Source/shotwell/src/Page.vala" cairo_fill (_tmp24_); -#line 2287 "/home/jens/Source/shotwell/src/Page.vala" +#line 2288 "/home/jens/Source/shotwell/src/Page.vala" _tmp25_ = ctx; -#line 2287 "/home/jens/Source/shotwell/src/Page.vala" +#line 2288 "/home/jens/Source/shotwell/src/Page.vala" _tmp26_ = self->priv->scaled; -#line 2287 "/home/jens/Source/shotwell/src/Page.vala" +#line 2288 "/home/jens/Source/shotwell/src/Page.vala" _tmp27_ = self->priv->scaled_pos; -#line 2287 "/home/jens/Source/shotwell/src/Page.vala" +#line 2288 "/home/jens/Source/shotwell/src/Page.vala" _tmp28_ = _tmp27_.x; -#line 2287 "/home/jens/Source/shotwell/src/Page.vala" +#line 2288 "/home/jens/Source/shotwell/src/Page.vala" _tmp29_ = self->priv->scaled_pos; -#line 2287 "/home/jens/Source/shotwell/src/Page.vala" +#line 2288 "/home/jens/Source/shotwell/src/Page.vala" _tmp30_ = _tmp29_.y; -#line 2287 "/home/jens/Source/shotwell/src/Page.vala" - gdk_cairo_set_source_pixbuf (_tmp25_, _tmp26_, (gdouble) _tmp28_, (gdouble) _tmp30_); #line 2288 "/home/jens/Source/shotwell/src/Page.vala" + gdk_cairo_set_source_pixbuf (_tmp25_, _tmp26_, (gdouble) _tmp28_, (gdouble) _tmp30_); +#line 2289 "/home/jens/Source/shotwell/src/Page.vala" _tmp31_ = ctx; -#line 2288 "/home/jens/Source/shotwell/src/Page.vala" +#line 2289 "/home/jens/Source/shotwell/src/Page.vala" cairo_paint (_tmp31_); -#line 14133 "Page.c" +#line 14136 "Page.c" } } } void single_photo_page_paint (SinglePhotoPage* self, cairo_t* ctx, Dimensions* ctx_dim) { -#line 2273 "/home/jens/Source/shotwell/src/Page.vala" +#line 2274 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self)); -#line 2273 "/home/jens/Source/shotwell/src/Page.vala" +#line 2274 "/home/jens/Source/shotwell/src/Page.vala" SINGLE_PHOTO_PAGE_GET_CLASS (self)->paint (self, ctx, ctx_dim); -#line 14144 "Page.c" +#line 14147 "Page.c" } @@ -14148,44 +14151,44 @@ static void single_photo_page_repaint_pixmap (SinglePhotoPage* self) { cairo_t* _tmp0_ = NULL; cairo_t* _tmp1_ = NULL; Dimensions _tmp2_ = {0}; -#line 2292 "/home/jens/Source/shotwell/src/Page.vala" - g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self)); #line 2293 "/home/jens/Source/shotwell/src/Page.vala" + g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self)); +#line 2294 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = self->priv->pixmap_ctx; -#line 2293 "/home/jens/Source/shotwell/src/Page.vala" - if (_tmp0_ == NULL) { #line 2294 "/home/jens/Source/shotwell/src/Page.vala" + if (_tmp0_ == NULL) { +#line 2295 "/home/jens/Source/shotwell/src/Page.vala" return; -#line 14160 "Page.c" +#line 14163 "Page.c" } -#line 2296 "/home/jens/Source/shotwell/src/Page.vala" +#line 2297 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = self->priv->pixmap_ctx; -#line 2296 "/home/jens/Source/shotwell/src/Page.vala" +#line 2297 "/home/jens/Source/shotwell/src/Page.vala" _tmp2_ = self->priv->pixmap_dim; -#line 2296 "/home/jens/Source/shotwell/src/Page.vala" - single_photo_page_paint (self, _tmp1_, &_tmp2_); #line 2297 "/home/jens/Source/shotwell/src/Page.vala" + single_photo_page_paint (self, _tmp1_, &_tmp2_); +#line 2298 "/home/jens/Source/shotwell/src/Page.vala" single_photo_page_invalidate_all (self); -#line 14170 "Page.c" +#line 14173 "Page.c" } void single_photo_page_repaint (SinglePhotoPage* self, Direction* direction) { Direction* _tmp0_ = NULL; -#line 2300 "/home/jens/Source/shotwell/src/Page.vala" - g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self)); #line 2301 "/home/jens/Source/shotwell/src/Page.vala" + g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self)); +#line 2302 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = direction; -#line 2301 "/home/jens/Source/shotwell/src/Page.vala" +#line 2302 "/home/jens/Source/shotwell/src/Page.vala" single_photo_page_internal_repaint (self, FALSE, _tmp0_); -#line 14182 "Page.c" +#line 14185 "Page.c" } static void _single_photo_page_repaint_pixmap_transition_clock_repaint_callback (gpointer self) { -#line 2389 "/home/jens/Source/shotwell/src/Page.vala" +#line 2390 "/home/jens/Source/shotwell/src/Page.vala" single_photo_page_repaint_pixmap ((SinglePhotoPage*) self); -#line 14189 "Page.c" +#line 14192 "Page.c" } @@ -14228,171 +14231,171 @@ static void single_photo_page_internal_repaint (SinglePhotoPage* self, gboolean Direction* _tmp84_ = NULL; TransitionClock* _tmp98_ = NULL; gboolean _tmp99_ = FALSE; -#line 2304 "/home/jens/Source/shotwell/src/Page.vala" +#line 2305 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self)); -#line 2306 "/home/jens/Source/shotwell/src/Page.vala" +#line 2307 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = page_is_in_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 2306 "/home/jens/Source/shotwell/src/Page.vala" - if (!_tmp0_) { #line 2307 "/home/jens/Source/shotwell/src/Page.vala" + if (!_tmp0_) { +#line 2308 "/home/jens/Source/shotwell/src/Page.vala" _cairo_surface_destroy0 (self->priv->pixmap); -#line 2307 "/home/jens/Source/shotwell/src/Page.vala" - self->priv->pixmap = NULL; #line 2308 "/home/jens/Source/shotwell/src/Page.vala" + self->priv->pixmap = NULL; +#line 2309 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (self->priv->scaled); -#line 2308 "/home/jens/Source/shotwell/src/Page.vala" +#line 2309 "/home/jens/Source/shotwell/src/Page.vala" self->priv->scaled = NULL; -#line 2310 "/home/jens/Source/shotwell/src/Page.vala" +#line 2311 "/home/jens/Source/shotwell/src/Page.vala" return; -#line 14248 "Page.c" +#line 14251 "Page.c" } -#line 2314 "/home/jens/Source/shotwell/src/Page.vala" +#line 2315 "/home/jens/Source/shotwell/src/Page.vala" _tmp2_ = self->priv->unscaled; -#line 2314 "/home/jens/Source/shotwell/src/Page.vala" +#line 2315 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp2_ == NULL) { -#line 2314 "/home/jens/Source/shotwell/src/Page.vala" +#line 2315 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = TRUE; -#line 14256 "Page.c" +#line 14259 "Page.c" } else { GtkDrawingArea* _tmp3_ = NULL; GdkWindow* _tmp4_ = NULL; -#line 2314 "/home/jens/Source/shotwell/src/Page.vala" +#line 2315 "/home/jens/Source/shotwell/src/Page.vala" _tmp3_ = self->canvas; -#line 2314 "/home/jens/Source/shotwell/src/Page.vala" +#line 2315 "/home/jens/Source/shotwell/src/Page.vala" _tmp4_ = gtk_widget_get_window (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_widget_get_type (), GtkWidget)); -#line 2314 "/home/jens/Source/shotwell/src/Page.vala" +#line 2315 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = _tmp4_ == NULL; -#line 14266 "Page.c" +#line 14269 "Page.c" } -#line 2314 "/home/jens/Source/shotwell/src/Page.vala" - if (_tmp1_) { #line 2315 "/home/jens/Source/shotwell/src/Page.vala" + if (_tmp1_) { +#line 2316 "/home/jens/Source/shotwell/src/Page.vala" return; -#line 14272 "Page.c" +#line 14275 "Page.c" } -#line 2318 "/home/jens/Source/shotwell/src/Page.vala" +#line 2319 "/home/jens/Source/shotwell/src/Page.vala" _tmp5_ = self->viewport; -#line 2318 "/home/jens/Source/shotwell/src/Page.vala" +#line 2319 "/home/jens/Source/shotwell/src/Page.vala" gtk_widget_get_allocation (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_widget_get_type (), GtkWidget), &_tmp6_); -#line 2318 "/home/jens/Source/shotwell/src/Page.vala" +#line 2319 "/home/jens/Source/shotwell/src/Page.vala" allocation = _tmp6_; -#line 2320 "/home/jens/Source/shotwell/src/Page.vala" +#line 2321 "/home/jens/Source/shotwell/src/Page.vala" _tmp7_ = allocation; -#line 2320 "/home/jens/Source/shotwell/src/Page.vala" +#line 2321 "/home/jens/Source/shotwell/src/Page.vala" _tmp8_ = _tmp7_.width; -#line 2320 "/home/jens/Source/shotwell/src/Page.vala" - width = _tmp8_; #line 2321 "/home/jens/Source/shotwell/src/Page.vala" + width = _tmp8_; +#line 2322 "/home/jens/Source/shotwell/src/Page.vala" _tmp9_ = allocation; -#line 2321 "/home/jens/Source/shotwell/src/Page.vala" +#line 2322 "/home/jens/Source/shotwell/src/Page.vala" _tmp10_ = _tmp9_.height; -#line 2321 "/home/jens/Source/shotwell/src/Page.vala" +#line 2322 "/home/jens/Source/shotwell/src/Page.vala" height = _tmp10_; -#line 2323 "/home/jens/Source/shotwell/src/Page.vala" +#line 2324 "/home/jens/Source/shotwell/src/Page.vala" _tmp12_ = width; -#line 2323 "/home/jens/Source/shotwell/src/Page.vala" +#line 2324 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp12_ <= 0) { -#line 2323 "/home/jens/Source/shotwell/src/Page.vala" +#line 2324 "/home/jens/Source/shotwell/src/Page.vala" _tmp11_ = TRUE; -#line 14298 "Page.c" +#line 14301 "Page.c" } else { gint _tmp13_ = 0; -#line 2323 "/home/jens/Source/shotwell/src/Page.vala" +#line 2324 "/home/jens/Source/shotwell/src/Page.vala" _tmp13_ = height; -#line 2323 "/home/jens/Source/shotwell/src/Page.vala" +#line 2324 "/home/jens/Source/shotwell/src/Page.vala" _tmp11_ = _tmp13_ <= 0; -#line 14305 "Page.c" +#line 14308 "Page.c" } -#line 2323 "/home/jens/Source/shotwell/src/Page.vala" - if (_tmp11_) { #line 2324 "/home/jens/Source/shotwell/src/Page.vala" + if (_tmp11_) { +#line 2325 "/home/jens/Source/shotwell/src/Page.vala" return; -#line 14311 "Page.c" +#line 14314 "Page.c" } -#line 2326 "/home/jens/Source/shotwell/src/Page.vala" +#line 2327 "/home/jens/Source/shotwell/src/Page.vala" _tmp14_ = self->priv->scaled; -#line 2326 "/home/jens/Source/shotwell/src/Page.vala" +#line 2327 "/home/jens/Source/shotwell/src/Page.vala" new_pixbuf = _tmp14_ == NULL; -#line 2329 "/home/jens/Source/shotwell/src/Page.vala" +#line 2330 "/home/jens/Source/shotwell/src/Page.vala" _tmp15_ = self->priv->scaled_pos; -#line 2329 "/home/jens/Source/shotwell/src/Page.vala" +#line 2330 "/home/jens/Source/shotwell/src/Page.vala" dimensions_for_rectangle (&_tmp15_, &_tmp16_); -#line 2329 "/home/jens/Source/shotwell/src/Page.vala" - old_scaled_dim = _tmp16_; #line 2330 "/home/jens/Source/shotwell/src/Page.vala" + old_scaled_dim = _tmp16_; +#line 2331 "/home/jens/Source/shotwell/src/Page.vala" _tmp17_ = self->priv->scaled_pos; -#line 2330 "/home/jens/Source/shotwell/src/Page.vala" +#line 2331 "/home/jens/Source/shotwell/src/Page.vala" old_scaled_pos = _tmp17_; -#line 2333 "/home/jens/Source/shotwell/src/Page.vala" +#line 2334 "/home/jens/Source/shotwell/src/Page.vala" _tmp19_ = self->priv->pixmap_dim; -#line 2333 "/home/jens/Source/shotwell/src/Page.vala" +#line 2334 "/home/jens/Source/shotwell/src/Page.vala" _tmp20_ = _tmp19_.width; -#line 2333 "/home/jens/Source/shotwell/src/Page.vala" +#line 2334 "/home/jens/Source/shotwell/src/Page.vala" _tmp21_ = width; -#line 2333 "/home/jens/Source/shotwell/src/Page.vala" +#line 2334 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp20_ != _tmp21_) { -#line 2333 "/home/jens/Source/shotwell/src/Page.vala" +#line 2334 "/home/jens/Source/shotwell/src/Page.vala" _tmp18_ = TRUE; -#line 14337 "Page.c" +#line 14340 "Page.c" } else { Dimensions _tmp22_ = {0}; gint _tmp23_ = 0; gint _tmp24_ = 0; -#line 2333 "/home/jens/Source/shotwell/src/Page.vala" +#line 2334 "/home/jens/Source/shotwell/src/Page.vala" _tmp22_ = self->priv->pixmap_dim; -#line 2333 "/home/jens/Source/shotwell/src/Page.vala" +#line 2334 "/home/jens/Source/shotwell/src/Page.vala" _tmp23_ = _tmp22_.height; -#line 2333 "/home/jens/Source/shotwell/src/Page.vala" +#line 2334 "/home/jens/Source/shotwell/src/Page.vala" _tmp24_ = height; -#line 2333 "/home/jens/Source/shotwell/src/Page.vala" +#line 2334 "/home/jens/Source/shotwell/src/Page.vala" _tmp18_ = _tmp23_ != _tmp24_; -#line 14350 "Page.c" +#line 14353 "Page.c" } -#line 2333 "/home/jens/Source/shotwell/src/Page.vala" - if (_tmp18_) { #line 2334 "/home/jens/Source/shotwell/src/Page.vala" + if (_tmp18_) { +#line 2335 "/home/jens/Source/shotwell/src/Page.vala" _cairo_surface_destroy0 (self->priv->pixmap); -#line 2334 "/home/jens/Source/shotwell/src/Page.vala" +#line 2335 "/home/jens/Source/shotwell/src/Page.vala" self->priv->pixmap = NULL; -#line 14358 "Page.c" +#line 14361 "Page.c" } -#line 2337 "/home/jens/Source/shotwell/src/Page.vala" - new_pixmap = FALSE; #line 2338 "/home/jens/Source/shotwell/src/Page.vala" + new_pixmap = FALSE; +#line 2339 "/home/jens/Source/shotwell/src/Page.vala" _tmp25_ = self->priv->pixmap; -#line 2338 "/home/jens/Source/shotwell/src/Page.vala" +#line 2339 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp25_ == NULL) { -#line 14366 "Page.c" +#line 14369 "Page.c" gint _tmp26_ = 0; gint _tmp27_ = 0; -#line 2339 "/home/jens/Source/shotwell/src/Page.vala" +#line 2340 "/home/jens/Source/shotwell/src/Page.vala" _tmp26_ = width; -#line 2339 "/home/jens/Source/shotwell/src/Page.vala" +#line 2340 "/home/jens/Source/shotwell/src/Page.vala" _tmp27_ = height; -#line 2339 "/home/jens/Source/shotwell/src/Page.vala" - single_photo_page_init_pixmap (self, _tmp26_, _tmp27_); #line 2340 "/home/jens/Source/shotwell/src/Page.vala" + single_photo_page_init_pixmap (self, _tmp26_, _tmp27_); +#line 2341 "/home/jens/Source/shotwell/src/Page.vala" new_pixmap = TRUE; -#line 14377 "Page.c" +#line 14380 "Page.c" } -#line 2343 "/home/jens/Source/shotwell/src/Page.vala" +#line 2344 "/home/jens/Source/shotwell/src/Page.vala" _tmp29_ = new_pixbuf; -#line 2343 "/home/jens/Source/shotwell/src/Page.vala" +#line 2344 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp29_) { -#line 2343 "/home/jens/Source/shotwell/src/Page.vala" +#line 2344 "/home/jens/Source/shotwell/src/Page.vala" _tmp28_ = TRUE; -#line 14385 "Page.c" +#line 14388 "Page.c" } else { gboolean _tmp30_ = FALSE; -#line 2343 "/home/jens/Source/shotwell/src/Page.vala" +#line 2344 "/home/jens/Source/shotwell/src/Page.vala" _tmp30_ = new_pixmap; -#line 2343 "/home/jens/Source/shotwell/src/Page.vala" +#line 2344 "/home/jens/Source/shotwell/src/Page.vala" _tmp28_ = _tmp30_; -#line 14392 "Page.c" +#line 14395 "Page.c" } -#line 2343 "/home/jens/Source/shotwell/src/Page.vala" +#line 2344 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp28_) { -#line 14396 "Page.c" +#line 14399 "Page.c" Dimensions unscaled_dim = {0}; GdkPixbuf* _tmp31_ = NULL; Dimensions _tmp32_ = {0}; @@ -14417,155 +14420,155 @@ static void single_photo_page_internal_repaint (SinglePhotoPage* self, gboolean gint _tmp60_ = 0; Dimensions _tmp61_ = {0}; gint _tmp62_ = 0; -#line 2344 "/home/jens/Source/shotwell/src/Page.vala" +#line 2345 "/home/jens/Source/shotwell/src/Page.vala" _tmp31_ = self->priv->unscaled; -#line 2344 "/home/jens/Source/shotwell/src/Page.vala" +#line 2345 "/home/jens/Source/shotwell/src/Page.vala" dimensions_for_pixbuf (_tmp31_, &_tmp32_); -#line 2344 "/home/jens/Source/shotwell/src/Page.vala" +#line 2345 "/home/jens/Source/shotwell/src/Page.vala" unscaled_dim = _tmp32_; -#line 2348 "/home/jens/Source/shotwell/src/Page.vala" - dimensions_init (&scaled_dim, 0, 0); #line 2349 "/home/jens/Source/shotwell/src/Page.vala" + dimensions_init (&scaled_dim, 0, 0); +#line 2350 "/home/jens/Source/shotwell/src/Page.vala" _tmp36_ = self->priv->scale_up_to_viewport; -#line 2349 "/home/jens/Source/shotwell/src/Page.vala" +#line 2350 "/home/jens/Source/shotwell/src/Page.vala" if (!_tmp36_) { -#line 14433 "Page.c" +#line 14436 "Page.c" gboolean _tmp37_ = FALSE; -#line 2349 "/home/jens/Source/shotwell/src/Page.vala" +#line 2350 "/home/jens/Source/shotwell/src/Page.vala" _tmp37_ = dimensions_has_area (&self->priv->max_dim); -#line 2349 "/home/jens/Source/shotwell/src/Page.vala" +#line 2350 "/home/jens/Source/shotwell/src/Page.vala" _tmp35_ = _tmp37_; -#line 14439 "Page.c" +#line 14442 "Page.c" } else { -#line 2349 "/home/jens/Source/shotwell/src/Page.vala" +#line 2350 "/home/jens/Source/shotwell/src/Page.vala" _tmp35_ = FALSE; -#line 14443 "Page.c" +#line 14446 "Page.c" } -#line 2349 "/home/jens/Source/shotwell/src/Page.vala" +#line 2350 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp35_) { -#line 14447 "Page.c" +#line 14450 "Page.c" Dimensions _tmp38_ = {0}; gint _tmp39_ = 0; gint _tmp40_ = 0; -#line 2349 "/home/jens/Source/shotwell/src/Page.vala" +#line 2350 "/home/jens/Source/shotwell/src/Page.vala" _tmp38_ = self->priv->max_dim; -#line 2349 "/home/jens/Source/shotwell/src/Page.vala" +#line 2350 "/home/jens/Source/shotwell/src/Page.vala" _tmp39_ = _tmp38_.width; -#line 2349 "/home/jens/Source/shotwell/src/Page.vala" +#line 2350 "/home/jens/Source/shotwell/src/Page.vala" _tmp40_ = width; -#line 2349 "/home/jens/Source/shotwell/src/Page.vala" +#line 2350 "/home/jens/Source/shotwell/src/Page.vala" _tmp34_ = _tmp39_ < _tmp40_; -#line 14459 "Page.c" +#line 14462 "Page.c" } else { -#line 2349 "/home/jens/Source/shotwell/src/Page.vala" +#line 2350 "/home/jens/Source/shotwell/src/Page.vala" _tmp34_ = FALSE; -#line 14463 "Page.c" +#line 14466 "Page.c" } -#line 2349 "/home/jens/Source/shotwell/src/Page.vala" +#line 2350 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp34_) { -#line 14467 "Page.c" +#line 14470 "Page.c" Dimensions _tmp41_ = {0}; gint _tmp42_ = 0; gint _tmp43_ = 0; -#line 2349 "/home/jens/Source/shotwell/src/Page.vala" +#line 2350 "/home/jens/Source/shotwell/src/Page.vala" _tmp41_ = self->priv->max_dim; -#line 2349 "/home/jens/Source/shotwell/src/Page.vala" +#line 2350 "/home/jens/Source/shotwell/src/Page.vala" _tmp42_ = _tmp41_.height; -#line 2349 "/home/jens/Source/shotwell/src/Page.vala" +#line 2350 "/home/jens/Source/shotwell/src/Page.vala" _tmp43_ = height; -#line 2349 "/home/jens/Source/shotwell/src/Page.vala" +#line 2350 "/home/jens/Source/shotwell/src/Page.vala" _tmp33_ = _tmp42_ < _tmp43_; -#line 14479 "Page.c" +#line 14482 "Page.c" } else { -#line 2349 "/home/jens/Source/shotwell/src/Page.vala" +#line 2350 "/home/jens/Source/shotwell/src/Page.vala" _tmp33_ = FALSE; -#line 14483 "Page.c" +#line 14486 "Page.c" } -#line 2349 "/home/jens/Source/shotwell/src/Page.vala" +#line 2350 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp33_) { -#line 14487 "Page.c" +#line 14490 "Page.c" Dimensions _tmp44_ = {0}; -#line 2350 "/home/jens/Source/shotwell/src/Page.vala" +#line 2351 "/home/jens/Source/shotwell/src/Page.vala" _tmp44_ = self->priv->max_dim; -#line 2350 "/home/jens/Source/shotwell/src/Page.vala" +#line 2351 "/home/jens/Source/shotwell/src/Page.vala" scaled_dim = _tmp44_; -#line 14493 "Page.c" +#line 14496 "Page.c" } else { Dimensions _tmp45_ = {0}; Dimensions _tmp46_ = {0}; -#line 2352 "/home/jens/Source/shotwell/src/Page.vala" +#line 2353 "/home/jens/Source/shotwell/src/Page.vala" _tmp45_ = self->priv->pixmap_dim; -#line 2352 "/home/jens/Source/shotwell/src/Page.vala" +#line 2353 "/home/jens/Source/shotwell/src/Page.vala" dimensions_get_scaled_proportional (&unscaled_dim, &_tmp45_, &_tmp46_); -#line 2352 "/home/jens/Source/shotwell/src/Page.vala" +#line 2353 "/home/jens/Source/shotwell/src/Page.vala" scaled_dim = _tmp46_; -#line 14503 "Page.c" +#line 14506 "Page.c" } -#line 2354 "/home/jens/Source/shotwell/src/Page.vala" +#line 2355 "/home/jens/Source/shotwell/src/Page.vala" _tmp47_ = width; -#line 2354 "/home/jens/Source/shotwell/src/Page.vala" +#line 2355 "/home/jens/Source/shotwell/src/Page.vala" _tmp48_ = scaled_dim; -#line 2354 "/home/jens/Source/shotwell/src/Page.vala" +#line 2355 "/home/jens/Source/shotwell/src/Page.vala" _tmp49_ = _tmp48_.width; -#line 2354 "/home/jens/Source/shotwell/src/Page.vala" - _vala_assert (_tmp47_ >= _tmp49_, "width >= scaled_dim.width"); #line 2355 "/home/jens/Source/shotwell/src/Page.vala" + _vala_assert (_tmp47_ >= _tmp49_, "width >= scaled_dim.width"); +#line 2356 "/home/jens/Source/shotwell/src/Page.vala" _tmp50_ = height; -#line 2355 "/home/jens/Source/shotwell/src/Page.vala" +#line 2356 "/home/jens/Source/shotwell/src/Page.vala" _tmp51_ = scaled_dim; -#line 2355 "/home/jens/Source/shotwell/src/Page.vala" +#line 2356 "/home/jens/Source/shotwell/src/Page.vala" _tmp52_ = _tmp51_.height; -#line 2355 "/home/jens/Source/shotwell/src/Page.vala" +#line 2356 "/home/jens/Source/shotwell/src/Page.vala" _vala_assert (_tmp50_ >= _tmp52_, "height >= scaled_dim.height"); -#line 2358 "/home/jens/Source/shotwell/src/Page.vala" +#line 2359 "/home/jens/Source/shotwell/src/Page.vala" _tmp53_ = width; -#line 2358 "/home/jens/Source/shotwell/src/Page.vala" +#line 2359 "/home/jens/Source/shotwell/src/Page.vala" _tmp54_ = scaled_dim; -#line 2358 "/home/jens/Source/shotwell/src/Page.vala" +#line 2359 "/home/jens/Source/shotwell/src/Page.vala" _tmp55_ = _tmp54_.width; -#line 2358 "/home/jens/Source/shotwell/src/Page.vala" - self->priv->scaled_pos.x = (_tmp53_ - _tmp55_) / 2; #line 2359 "/home/jens/Source/shotwell/src/Page.vala" + self->priv->scaled_pos.x = (_tmp53_ - _tmp55_) / 2; +#line 2360 "/home/jens/Source/shotwell/src/Page.vala" _tmp56_ = height; -#line 2359 "/home/jens/Source/shotwell/src/Page.vala" +#line 2360 "/home/jens/Source/shotwell/src/Page.vala" _tmp57_ = scaled_dim; -#line 2359 "/home/jens/Source/shotwell/src/Page.vala" +#line 2360 "/home/jens/Source/shotwell/src/Page.vala" _tmp58_ = _tmp57_.height; -#line 2359 "/home/jens/Source/shotwell/src/Page.vala" - self->priv->scaled_pos.y = (_tmp56_ - _tmp58_) / 2; #line 2360 "/home/jens/Source/shotwell/src/Page.vala" + self->priv->scaled_pos.y = (_tmp56_ - _tmp58_) / 2; +#line 2361 "/home/jens/Source/shotwell/src/Page.vala" _tmp59_ = scaled_dim; -#line 2360 "/home/jens/Source/shotwell/src/Page.vala" +#line 2361 "/home/jens/Source/shotwell/src/Page.vala" _tmp60_ = _tmp59_.width; -#line 2360 "/home/jens/Source/shotwell/src/Page.vala" - self->priv->scaled_pos.width = _tmp60_; #line 2361 "/home/jens/Source/shotwell/src/Page.vala" + self->priv->scaled_pos.width = _tmp60_; +#line 2362 "/home/jens/Source/shotwell/src/Page.vala" _tmp61_ = scaled_dim; -#line 2361 "/home/jens/Source/shotwell/src/Page.vala" +#line 2362 "/home/jens/Source/shotwell/src/Page.vala" _tmp62_ = _tmp61_.height; -#line 2361 "/home/jens/Source/shotwell/src/Page.vala" +#line 2362 "/home/jens/Source/shotwell/src/Page.vala" self->priv->scaled_pos.height = _tmp62_; -#line 14549 "Page.c" +#line 14552 "Page.c" } -#line 2364 "/home/jens/Source/shotwell/src/Page.vala" +#line 2365 "/home/jens/Source/shotwell/src/Page.vala" _tmp64_ = fast; -#line 2364 "/home/jens/Source/shotwell/src/Page.vala" +#line 2365 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp64_) { -#line 2364 "/home/jens/Source/shotwell/src/Page.vala" +#line 2365 "/home/jens/Source/shotwell/src/Page.vala" _tmp63_ = SINGLE_PHOTO_PAGE_FAST_INTERP; -#line 14557 "Page.c" +#line 14560 "Page.c" } else { -#line 2364 "/home/jens/Source/shotwell/src/Page.vala" +#line 2365 "/home/jens/Source/shotwell/src/Page.vala" _tmp63_ = SINGLE_PHOTO_PAGE_QUALITY_INTERP; -#line 14561 "Page.c" +#line 14564 "Page.c" } -#line 2364 "/home/jens/Source/shotwell/src/Page.vala" +#line 2365 "/home/jens/Source/shotwell/src/Page.vala" interp = _tmp63_; -#line 2367 "/home/jens/Source/shotwell/src/Page.vala" +#line 2368 "/home/jens/Source/shotwell/src/Page.vala" _tmp65_ = self->priv->scaled; -#line 2367 "/home/jens/Source/shotwell/src/Page.vala" +#line 2368 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp65_ == NULL) { -#line 14569 "Page.c" +#line 14572 "Page.c" GdkPixbuf* _tmp66_ = NULL; GdkRectangle _tmp67_ = {0}; Dimensions _tmp68_ = {0}; @@ -14580,101 +14583,101 @@ static void single_photo_page_internal_repaint (SinglePhotoPage* self, gboolean GdkPixbuf* _tmp79_ = NULL; SinglePhotoPageUpdateReason _tmp80_ = 0; Dimensions _tmp81_ = {0}; -#line 2368 "/home/jens/Source/shotwell/src/Page.vala" +#line 2369 "/home/jens/Source/shotwell/src/Page.vala" _tmp66_ = self->priv->unscaled; -#line 2368 "/home/jens/Source/shotwell/src/Page.vala" +#line 2369 "/home/jens/Source/shotwell/src/Page.vala" _tmp67_ = self->priv->scaled_pos; -#line 2368 "/home/jens/Source/shotwell/src/Page.vala" +#line 2369 "/home/jens/Source/shotwell/src/Page.vala" dimensions_for_rectangle (&_tmp67_, &_tmp68_); -#line 2368 "/home/jens/Source/shotwell/src/Page.vala" +#line 2369 "/home/jens/Source/shotwell/src/Page.vala" _tmp69_ = interp; -#line 2368 "/home/jens/Source/shotwell/src/Page.vala" +#line 2369 "/home/jens/Source/shotwell/src/Page.vala" _tmp70_ = resize_pixbuf (_tmp66_, &_tmp68_, _tmp69_); -#line 2368 "/home/jens/Source/shotwell/src/Page.vala" +#line 2369 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (self->priv->scaled); -#line 2368 "/home/jens/Source/shotwell/src/Page.vala" +#line 2369 "/home/jens/Source/shotwell/src/Page.vala" self->priv->scaled = _tmp70_; -#line 2370 "/home/jens/Source/shotwell/src/Page.vala" - reason = SINGLE_PHOTO_PAGE_UPDATE_REASON_RESIZED_CANVAS; #line 2371 "/home/jens/Source/shotwell/src/Page.vala" + reason = SINGLE_PHOTO_PAGE_UPDATE_REASON_RESIZED_CANVAS; +#line 2372 "/home/jens/Source/shotwell/src/Page.vala" _tmp71_ = new_pixbuf; -#line 2371 "/home/jens/Source/shotwell/src/Page.vala" - if (_tmp71_) { #line 2372 "/home/jens/Source/shotwell/src/Page.vala" + if (_tmp71_) { +#line 2373 "/home/jens/Source/shotwell/src/Page.vala" reason = SINGLE_PHOTO_PAGE_UPDATE_REASON_NEW_PIXBUF; -#line 14606 "Page.c" +#line 14609 "Page.c" } else { gboolean _tmp72_ = FALSE; gboolean _tmp73_ = FALSE; -#line 2373 "/home/jens/Source/shotwell/src/Page.vala" +#line 2374 "/home/jens/Source/shotwell/src/Page.vala" _tmp73_ = new_pixmap; -#line 2373 "/home/jens/Source/shotwell/src/Page.vala" +#line 2374 "/home/jens/Source/shotwell/src/Page.vala" if (!_tmp73_) { -#line 14614 "Page.c" +#line 14617 "Page.c" GdkInterpType _tmp74_ = 0; -#line 2373 "/home/jens/Source/shotwell/src/Page.vala" +#line 2374 "/home/jens/Source/shotwell/src/Page.vala" _tmp74_ = interp; -#line 2373 "/home/jens/Source/shotwell/src/Page.vala" +#line 2374 "/home/jens/Source/shotwell/src/Page.vala" _tmp72_ = _tmp74_ == SINGLE_PHOTO_PAGE_QUALITY_INTERP; -#line 14620 "Page.c" +#line 14623 "Page.c" } else { -#line 2373 "/home/jens/Source/shotwell/src/Page.vala" +#line 2374 "/home/jens/Source/shotwell/src/Page.vala" _tmp72_ = FALSE; -#line 14624 "Page.c" +#line 14627 "Page.c" } -#line 2373 "/home/jens/Source/shotwell/src/Page.vala" - if (_tmp72_) { #line 2374 "/home/jens/Source/shotwell/src/Page.vala" + if (_tmp72_) { +#line 2375 "/home/jens/Source/shotwell/src/Page.vala" reason = SINGLE_PHOTO_PAGE_UPDATE_REASON_QUALITY_IMPROVEMENT; -#line 14630 "Page.c" +#line 14633 "Page.c" } } -#line 2376 "/home/jens/Source/shotwell/src/Page.vala" +#line 2377 "/home/jens/Source/shotwell/src/Page.vala" _tmp75_ = self->priv->max_dim; -#line 2376 "/home/jens/Source/shotwell/src/Page.vala" +#line 2377 "/home/jens/Source/shotwell/src/Page.vala" _tmp76_ = self->priv->pixmap_dim; -#line 2376 "/home/jens/Source/shotwell/src/Page.vala" +#line 2377 "/home/jens/Source/shotwell/src/Page.vala" _tmp77_ = zoom_state_get_interpolation_factor (&self->priv->static_zoom_state); -#line 2376 "/home/jens/Source/shotwell/src/Page.vala" +#line 2377 "/home/jens/Source/shotwell/src/Page.vala" zoom_state_get_viewport_center (&self->priv->static_zoom_state, &_tmp78_); -#line 2376 "/home/jens/Source/shotwell/src/Page.vala" +#line 2377 "/home/jens/Source/shotwell/src/Page.vala" zoom_state_init (&self->priv->static_zoom_state, &_tmp75_, &_tmp76_, _tmp77_, &_tmp78_); -#line 2380 "/home/jens/Source/shotwell/src/Page.vala" +#line 2381 "/home/jens/Source/shotwell/src/Page.vala" _tmp79_ = self->priv->scaled; -#line 2380 "/home/jens/Source/shotwell/src/Page.vala" +#line 2381 "/home/jens/Source/shotwell/src/Page.vala" _tmp80_ = reason; -#line 2380 "/home/jens/Source/shotwell/src/Page.vala" +#line 2381 "/home/jens/Source/shotwell/src/Page.vala" _tmp81_ = old_scaled_dim; -#line 2380 "/home/jens/Source/shotwell/src/Page.vala" +#line 2381 "/home/jens/Source/shotwell/src/Page.vala" single_photo_page_updated_pixbuf (self, _tmp79_, _tmp80_, &_tmp81_); -#line 14651 "Page.c" +#line 14654 "Page.c" } -#line 2383 "/home/jens/Source/shotwell/src/Page.vala" +#line 2384 "/home/jens/Source/shotwell/src/Page.vala" _tmp82_ = fast; -#line 2383 "/home/jens/Source/shotwell/src/Page.vala" +#line 2384 "/home/jens/Source/shotwell/src/Page.vala" self->priv->zoom_high_quality = !_tmp82_; -#line 2385 "/home/jens/Source/shotwell/src/Page.vala" +#line 2386 "/home/jens/Source/shotwell/src/Page.vala" _tmp84_ = direction; -#line 2385 "/home/jens/Source/shotwell/src/Page.vala" +#line 2386 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp84_ != NULL) { -#line 14661 "Page.c" +#line 14664 "Page.c" TransitionClock* _tmp85_ = NULL; gboolean _tmp86_ = FALSE; -#line 2385 "/home/jens/Source/shotwell/src/Page.vala" +#line 2386 "/home/jens/Source/shotwell/src/Page.vala" _tmp85_ = self->priv->transition_clock; -#line 2385 "/home/jens/Source/shotwell/src/Page.vala" +#line 2386 "/home/jens/Source/shotwell/src/Page.vala" _tmp86_ = transition_clock_is_in_progress (_tmp85_); -#line 2385 "/home/jens/Source/shotwell/src/Page.vala" +#line 2386 "/home/jens/Source/shotwell/src/Page.vala" _tmp83_ = !_tmp86_; -#line 14670 "Page.c" +#line 14673 "Page.c" } else { -#line 2385 "/home/jens/Source/shotwell/src/Page.vala" +#line 2386 "/home/jens/Source/shotwell/src/Page.vala" _tmp83_ = FALSE; -#line 14674 "Page.c" +#line 14677 "Page.c" } -#line 2385 "/home/jens/Source/shotwell/src/Page.vala" +#line 2386 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp83_) { -#line 14678 "Page.c" +#line 14681 "Page.c" SpitTransitionsVisuals* visuals = NULL; GdkPixbuf* _tmp87_ = NULL; GdkRectangle _tmp88_ = {0}; @@ -14687,45 +14690,45 @@ static void single_photo_page_internal_repaint (SinglePhotoPage* self, gboolean Direction* _tmp95_ = NULL; SpitTransitionsDirection _tmp96_ = 0; gint _tmp97_ = 0; -#line 2386 "/home/jens/Source/shotwell/src/Page.vala" +#line 2387 "/home/jens/Source/shotwell/src/Page.vala" _tmp87_ = self->priv->old_scaled; -#line 2386 "/home/jens/Source/shotwell/src/Page.vala" +#line 2387 "/home/jens/Source/shotwell/src/Page.vala" _tmp88_ = old_scaled_pos; -#line 2386 "/home/jens/Source/shotwell/src/Page.vala" +#line 2387 "/home/jens/Source/shotwell/src/Page.vala" _tmp89_ = self->priv->scaled; -#line 2386 "/home/jens/Source/shotwell/src/Page.vala" +#line 2387 "/home/jens/Source/shotwell/src/Page.vala" _tmp90_ = self->priv->scaled_pos; -#line 2386 "/home/jens/Source/shotwell/src/Page.vala" +#line 2387 "/home/jens/Source/shotwell/src/Page.vala" parse_color ("#000", &_tmp91_); -#line 2386 "/home/jens/Source/shotwell/src/Page.vala" +#line 2387 "/home/jens/Source/shotwell/src/Page.vala" _tmp92_ = spit_transitions_visuals_new (_tmp87_, &_tmp88_, _tmp89_, &_tmp90_, &_tmp91_); -#line 2386 "/home/jens/Source/shotwell/src/Page.vala" +#line 2387 "/home/jens/Source/shotwell/src/Page.vala" visuals = _tmp92_; -#line 2389 "/home/jens/Source/shotwell/src/Page.vala" +#line 2390 "/home/jens/Source/shotwell/src/Page.vala" _tmp93_ = self->priv->transition_clock; -#line 2389 "/home/jens/Source/shotwell/src/Page.vala" +#line 2390 "/home/jens/Source/shotwell/src/Page.vala" _tmp94_ = visuals; -#line 2389 "/home/jens/Source/shotwell/src/Page.vala" +#line 2390 "/home/jens/Source/shotwell/src/Page.vala" _tmp95_ = direction; -#line 2389 "/home/jens/Source/shotwell/src/Page.vala" +#line 2390 "/home/jens/Source/shotwell/src/Page.vala" _tmp96_ = direction_to_transition_direction (*_tmp95_); -#line 2389 "/home/jens/Source/shotwell/src/Page.vala" +#line 2390 "/home/jens/Source/shotwell/src/Page.vala" _tmp97_ = self->priv->transition_duration_msec; -#line 2389 "/home/jens/Source/shotwell/src/Page.vala" +#line 2390 "/home/jens/Source/shotwell/src/Page.vala" transition_clock_start (_tmp93_, _tmp94_, _tmp96_, _tmp97_, _single_photo_page_repaint_pixmap_transition_clock_repaint_callback, self); -#line 2385 "/home/jens/Source/shotwell/src/Page.vala" +#line 2386 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (visuals); -#line 14719 "Page.c" +#line 14722 "Page.c" } -#line 2393 "/home/jens/Source/shotwell/src/Page.vala" +#line 2394 "/home/jens/Source/shotwell/src/Page.vala" _tmp98_ = self->priv->transition_clock; -#line 2393 "/home/jens/Source/shotwell/src/Page.vala" +#line 2394 "/home/jens/Source/shotwell/src/Page.vala" _tmp99_ = transition_clock_is_in_progress (_tmp98_); -#line 2393 "/home/jens/Source/shotwell/src/Page.vala" - if (!_tmp99_) { #line 2394 "/home/jens/Source/shotwell/src/Page.vala" + if (!_tmp99_) { +#line 2395 "/home/jens/Source/shotwell/src/Page.vala" single_photo_page_repaint_pixmap (self); -#line 14729 "Page.c" +#line 14732 "Page.c" } } @@ -14746,65 +14749,65 @@ static void single_photo_page_init_pixmap (SinglePhotoPage* self, gint width, gi cairo_t* _tmp12_ = NULL; cairo_t* _tmp13_ = NULL; Dimensions _tmp14_ = {0}; -#line 2397 "/home/jens/Source/shotwell/src/Page.vala" - g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self)); #line 2398 "/home/jens/Source/shotwell/src/Page.vala" + g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self)); +#line 2399 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = self->priv->unscaled; -#line 2398 "/home/jens/Source/shotwell/src/Page.vala" - _vala_assert (_tmp0_ != NULL, "unscaled != null"); #line 2399 "/home/jens/Source/shotwell/src/Page.vala" + _vala_assert (_tmp0_ != NULL, "unscaled != null"); +#line 2400 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = self->canvas; -#line 2399 "/home/jens/Source/shotwell/src/Page.vala" +#line 2400 "/home/jens/Source/shotwell/src/Page.vala" _tmp2_ = gtk_widget_get_window (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_widget_get_type (), GtkWidget)); -#line 2399 "/home/jens/Source/shotwell/src/Page.vala" +#line 2400 "/home/jens/Source/shotwell/src/Page.vala" _vala_assert (_tmp2_ != NULL, "canvas.get_window() != null"); -#line 2402 "/home/jens/Source/shotwell/src/Page.vala" +#line 2403 "/home/jens/Source/shotwell/src/Page.vala" _tmp3_ = width; -#line 2402 "/home/jens/Source/shotwell/src/Page.vala" +#line 2403 "/home/jens/Source/shotwell/src/Page.vala" _tmp4_ = height; -#line 2402 "/home/jens/Source/shotwell/src/Page.vala" +#line 2403 "/home/jens/Source/shotwell/src/Page.vala" _tmp5_ = cairo_image_surface_create (CAIRO_FORMAT_ARGB32, _tmp3_, _tmp4_); -#line 2402 "/home/jens/Source/shotwell/src/Page.vala" +#line 2403 "/home/jens/Source/shotwell/src/Page.vala" _cairo_surface_destroy0 (self->priv->pixmap); -#line 2402 "/home/jens/Source/shotwell/src/Page.vala" - self->priv->pixmap = _tmp5_; #line 2403 "/home/jens/Source/shotwell/src/Page.vala" + self->priv->pixmap = _tmp5_; +#line 2404 "/home/jens/Source/shotwell/src/Page.vala" _tmp6_ = width; -#line 2403 "/home/jens/Source/shotwell/src/Page.vala" +#line 2404 "/home/jens/Source/shotwell/src/Page.vala" _tmp7_ = height; -#line 2403 "/home/jens/Source/shotwell/src/Page.vala" +#line 2404 "/home/jens/Source/shotwell/src/Page.vala" dimensions_init (&self->priv->pixmap_dim, _tmp6_, _tmp7_); -#line 2406 "/home/jens/Source/shotwell/src/Page.vala" +#line 2407 "/home/jens/Source/shotwell/src/Page.vala" _tmp8_ = self->priv->pixmap; -#line 2406 "/home/jens/Source/shotwell/src/Page.vala" +#line 2407 "/home/jens/Source/shotwell/src/Page.vala" _tmp9_ = cairo_create (_tmp8_); -#line 2406 "/home/jens/Source/shotwell/src/Page.vala" +#line 2407 "/home/jens/Source/shotwell/src/Page.vala" _cairo_destroy0 (self->priv->pixmap_ctx); -#line 2406 "/home/jens/Source/shotwell/src/Page.vala" +#line 2407 "/home/jens/Source/shotwell/src/Page.vala" self->priv->pixmap_ctx = _tmp9_; -#line 2409 "/home/jens/Source/shotwell/src/Page.vala" +#line 2410 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (self->priv->scaled); -#line 2409 "/home/jens/Source/shotwell/src/Page.vala" +#line 2410 "/home/jens/Source/shotwell/src/Page.vala" self->priv->scaled = NULL; -#line 2412 "/home/jens/Source/shotwell/src/Page.vala" +#line 2413 "/home/jens/Source/shotwell/src/Page.vala" _tmp10_ = self->priv->pixmap; -#line 2412 "/home/jens/Source/shotwell/src/Page.vala" +#line 2413 "/home/jens/Source/shotwell/src/Page.vala" _tmp11_ = cairo_create (_tmp10_); -#line 2412 "/home/jens/Source/shotwell/src/Page.vala" +#line 2413 "/home/jens/Source/shotwell/src/Page.vala" _cairo_destroy0 (self->priv->text_ctx); -#line 2412 "/home/jens/Source/shotwell/src/Page.vala" - self->priv->text_ctx = _tmp11_; #line 2413 "/home/jens/Source/shotwell/src/Page.vala" + self->priv->text_ctx = _tmp11_; +#line 2414 "/home/jens/Source/shotwell/src/Page.vala" _tmp12_ = self->priv->text_ctx; -#line 2413 "/home/jens/Source/shotwell/src/Page.vala" +#line 2414 "/home/jens/Source/shotwell/src/Page.vala" set_source_color_from_string (_tmp12_, "#fff"); -#line 2418 "/home/jens/Source/shotwell/src/Page.vala" +#line 2419 "/home/jens/Source/shotwell/src/Page.vala" _tmp13_ = self->priv->pixmap_ctx; -#line 2418 "/home/jens/Source/shotwell/src/Page.vala" +#line 2419 "/home/jens/Source/shotwell/src/Page.vala" _tmp14_ = self->priv->pixmap_dim; -#line 2418 "/home/jens/Source/shotwell/src/Page.vala" +#line 2419 "/home/jens/Source/shotwell/src/Page.vala" single_photo_page_new_surface (self, _tmp13_, &_tmp14_); -#line 14808 "Page.c" +#line 14811 "Page.c" } @@ -14815,23 +14818,23 @@ static gboolean single_photo_page_real_on_context_keypress (Page* base) { GtkMenu* _tmp1_ = NULL; gboolean _tmp2_ = FALSE; gboolean _tmp3_ = FALSE; -#line 2421 "/home/jens/Source/shotwell/src/Page.vala" - self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_SINGLE_PHOTO_PAGE, SinglePhotoPage); #line 2422 "/home/jens/Source/shotwell/src/Page.vala" + self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_SINGLE_PHOTO_PAGE, SinglePhotoPage); +#line 2423 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = page_get_page_context_menu (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)); -#line 2422 "/home/jens/Source/shotwell/src/Page.vala" +#line 2423 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = _tmp0_; -#line 2422 "/home/jens/Source/shotwell/src/Page.vala" +#line 2423 "/home/jens/Source/shotwell/src/Page.vala" _tmp2_ = page_popup_context_menu (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), _tmp1_, NULL); -#line 2422 "/home/jens/Source/shotwell/src/Page.vala" +#line 2423 "/home/jens/Source/shotwell/src/Page.vala" _tmp3_ = _tmp2_; -#line 2422 "/home/jens/Source/shotwell/src/Page.vala" +#line 2423 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (_tmp1_); -#line 2422 "/home/jens/Source/shotwell/src/Page.vala" +#line 2423 "/home/jens/Source/shotwell/src/Page.vala" result = _tmp3_; -#line 2422 "/home/jens/Source/shotwell/src/Page.vala" +#line 2423 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 14835 "Page.c" +#line 14838 "Page.c" } @@ -14840,11 +14843,11 @@ static void single_photo_page_real_on_previous_photo (SinglePhotoPage* self) { void single_photo_page_on_previous_photo (SinglePhotoPage* self) { -#line 2425 "/home/jens/Source/shotwell/src/Page.vala" +#line 2426 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self)); -#line 2425 "/home/jens/Source/shotwell/src/Page.vala" +#line 2426 "/home/jens/Source/shotwell/src/Page.vala" SINGLE_PHOTO_PAGE_GET_CLASS (self)->on_previous_photo (self); -#line 14848 "Page.c" +#line 14851 "Page.c" } @@ -14853,11 +14856,11 @@ static void single_photo_page_real_on_next_photo (SinglePhotoPage* self) { void single_photo_page_on_next_photo (SinglePhotoPage* self) { -#line 2428 "/home/jens/Source/shotwell/src/Page.vala" +#line 2429 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self)); -#line 2428 "/home/jens/Source/shotwell/src/Page.vala" +#line 2429 "/home/jens/Source/shotwell/src/Page.vala" SINGLE_PHOTO_PAGE_GET_CLASS (self)->on_next_photo (self); -#line 14861 "Page.c" +#line 14864 "Page.c" } @@ -14874,266 +14877,266 @@ static gboolean single_photo_page_real_key_press_event (GtkWidget* base, GdkEven const gchar* _tmp5_ = NULL; const gchar* _tmp6_ = NULL; GQuark _tmp8_ = 0U; -#line 2438 "/home/jens/Source/shotwell/src/Page.vala" +#line 2439 "/home/jens/Source/shotwell/src/Page.vala" static GQuark _tmp7_label0 = 0; -#line 2438 "/home/jens/Source/shotwell/src/Page.vala" +#line 2439 "/home/jens/Source/shotwell/src/Page.vala" static GQuark _tmp7_label1 = 0; -#line 2438 "/home/jens/Source/shotwell/src/Page.vala" +#line 2439 "/home/jens/Source/shotwell/src/Page.vala" static GQuark _tmp7_label2 = 0; -#line 2438 "/home/jens/Source/shotwell/src/Page.vala" +#line 2439 "/home/jens/Source/shotwell/src/Page.vala" static GQuark _tmp7_label3 = 0; -#line 2438 "/home/jens/Source/shotwell/src/Page.vala" +#line 2439 "/home/jens/Source/shotwell/src/Page.vala" static GQuark _tmp7_label4 = 0; -#line 2438 "/home/jens/Source/shotwell/src/Page.vala" +#line 2439 "/home/jens/Source/shotwell/src/Page.vala" static GQuark _tmp7_label5 = 0; -#line 14890 "Page.c" +#line 14893 "Page.c" gboolean _tmp15_ = FALSE; gboolean _tmp16_ = FALSE; -#line 2431 "/home/jens/Source/shotwell/src/Page.vala" +#line 2432 "/home/jens/Source/shotwell/src/Page.vala" self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_SINGLE_PHOTO_PAGE, SinglePhotoPage); -#line 2431 "/home/jens/Source/shotwell/src/Page.vala" +#line 2432 "/home/jens/Source/shotwell/src/Page.vala" g_return_val_if_fail (event != NULL, FALSE); -#line 2435 "/home/jens/Source/shotwell/src/Page.vala" +#line 2436 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = event; -#line 2435 "/home/jens/Source/shotwell/src/Page.vala" +#line 2436 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = _tmp0_->time; -#line 2435 "/home/jens/Source/shotwell/src/Page.vala" +#line 2436 "/home/jens/Source/shotwell/src/Page.vala" _tmp2_ = self->priv->last_nav_key; -#line 2435 "/home/jens/Source/shotwell/src/Page.vala" +#line 2436 "/home/jens/Source/shotwell/src/Page.vala" nav_ok = (_tmp1_ - _tmp2_) > ((guint32) SINGLE_PHOTO_PAGE_KEY_REPEAT_INTERVAL_MSEC); -#line 2437 "/home/jens/Source/shotwell/src/Page.vala" - handled = TRUE; #line 2438 "/home/jens/Source/shotwell/src/Page.vala" + handled = TRUE; +#line 2439 "/home/jens/Source/shotwell/src/Page.vala" _tmp3_ = event; -#line 2438 "/home/jens/Source/shotwell/src/Page.vala" +#line 2439 "/home/jens/Source/shotwell/src/Page.vala" _tmp4_ = _tmp3_->keyval; -#line 2438 "/home/jens/Source/shotwell/src/Page.vala" +#line 2439 "/home/jens/Source/shotwell/src/Page.vala" _tmp5_ = gdk_keyval_name (_tmp4_); -#line 2438 "/home/jens/Source/shotwell/src/Page.vala" +#line 2439 "/home/jens/Source/shotwell/src/Page.vala" _tmp6_ = _tmp5_; -#line 2438 "/home/jens/Source/shotwell/src/Page.vala" +#line 2439 "/home/jens/Source/shotwell/src/Page.vala" _tmp8_ = (NULL == _tmp6_) ? 0 : g_quark_from_string (_tmp6_); -#line 2438 "/home/jens/Source/shotwell/src/Page.vala" +#line 2439 "/home/jens/Source/shotwell/src/Page.vala" if (((_tmp8_ == ((0 != _tmp7_label0) ? _tmp7_label0 : (_tmp7_label0 = g_quark_from_static_string ("Left")))) || (_tmp8_ == ((0 != _tmp7_label1) ? _tmp7_label1 : (_tmp7_label1 = g_quark_from_static_string ("KP_Left"))))) || (_tmp8_ == ((0 != _tmp7_label2) ? _tmp7_label2 : (_tmp7_label2 = g_quark_from_static_string ("BackSpace"))))) { -#line 2438 "/home/jens/Source/shotwell/src/Page.vala" +#line 2439 "/home/jens/Source/shotwell/src/Page.vala" switch (0) { -#line 14921 "Page.c" +#line 14924 "Page.c" default: { gboolean _tmp9_ = FALSE; -#line 2442 "/home/jens/Source/shotwell/src/Page.vala" +#line 2443 "/home/jens/Source/shotwell/src/Page.vala" _tmp9_ = nav_ok; -#line 2442 "/home/jens/Source/shotwell/src/Page.vala" +#line 2443 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp9_) { -#line 14929 "Page.c" +#line 14932 "Page.c" GdkEventKey* _tmp10_ = NULL; guint32 _tmp11_ = 0U; -#line 2443 "/home/jens/Source/shotwell/src/Page.vala" - single_photo_page_on_previous_photo (self); #line 2444 "/home/jens/Source/shotwell/src/Page.vala" + single_photo_page_on_previous_photo (self); +#line 2445 "/home/jens/Source/shotwell/src/Page.vala" _tmp10_ = event; -#line 2444 "/home/jens/Source/shotwell/src/Page.vala" +#line 2445 "/home/jens/Source/shotwell/src/Page.vala" _tmp11_ = _tmp10_->time; -#line 2444 "/home/jens/Source/shotwell/src/Page.vala" +#line 2445 "/home/jens/Source/shotwell/src/Page.vala" self->priv->last_nav_key = _tmp11_; -#line 14940 "Page.c" +#line 14943 "Page.c" } -#line 2446 "/home/jens/Source/shotwell/src/Page.vala" +#line 2447 "/home/jens/Source/shotwell/src/Page.vala" break; -#line 14944 "Page.c" +#line 14947 "Page.c" } } } else if (((_tmp8_ == ((0 != _tmp7_label3) ? _tmp7_label3 : (_tmp7_label3 = g_quark_from_static_string ("Right")))) || (_tmp8_ == ((0 != _tmp7_label4) ? _tmp7_label4 : (_tmp7_label4 = g_quark_from_static_string ("KP_Right"))))) || (_tmp8_ == ((0 != _tmp7_label5) ? _tmp7_label5 : (_tmp7_label5 = g_quark_from_static_string ("space"))))) { -#line 2438 "/home/jens/Source/shotwell/src/Page.vala" +#line 2439 "/home/jens/Source/shotwell/src/Page.vala" switch (0) { -#line 14950 "Page.c" +#line 14953 "Page.c" default: { gboolean _tmp12_ = FALSE; -#line 2451 "/home/jens/Source/shotwell/src/Page.vala" +#line 2452 "/home/jens/Source/shotwell/src/Page.vala" _tmp12_ = nav_ok; -#line 2451 "/home/jens/Source/shotwell/src/Page.vala" +#line 2452 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp12_) { -#line 14958 "Page.c" +#line 14961 "Page.c" GdkEventKey* _tmp13_ = NULL; guint32 _tmp14_ = 0U; -#line 2452 "/home/jens/Source/shotwell/src/Page.vala" - single_photo_page_on_next_photo (self); #line 2453 "/home/jens/Source/shotwell/src/Page.vala" + single_photo_page_on_next_photo (self); +#line 2454 "/home/jens/Source/shotwell/src/Page.vala" _tmp13_ = event; -#line 2453 "/home/jens/Source/shotwell/src/Page.vala" +#line 2454 "/home/jens/Source/shotwell/src/Page.vala" _tmp14_ = _tmp13_->time; -#line 2453 "/home/jens/Source/shotwell/src/Page.vala" +#line 2454 "/home/jens/Source/shotwell/src/Page.vala" self->priv->last_nav_key = _tmp14_; -#line 14969 "Page.c" +#line 14972 "Page.c" } -#line 2455 "/home/jens/Source/shotwell/src/Page.vala" +#line 2456 "/home/jens/Source/shotwell/src/Page.vala" break; -#line 14973 "Page.c" +#line 14976 "Page.c" } } } else { -#line 2438 "/home/jens/Source/shotwell/src/Page.vala" +#line 2439 "/home/jens/Source/shotwell/src/Page.vala" switch (0) { -#line 14979 "Page.c" +#line 14982 "Page.c" default: { -#line 2458 "/home/jens/Source/shotwell/src/Page.vala" - handled = FALSE; #line 2459 "/home/jens/Source/shotwell/src/Page.vala" + handled = FALSE; +#line 2460 "/home/jens/Source/shotwell/src/Page.vala" break; -#line 14986 "Page.c" +#line 14989 "Page.c" } } } -#line 2462 "/home/jens/Source/shotwell/src/Page.vala" +#line 2463 "/home/jens/Source/shotwell/src/Page.vala" _tmp15_ = handled; -#line 2462 "/home/jens/Source/shotwell/src/Page.vala" - if (_tmp15_) { #line 2463 "/home/jens/Source/shotwell/src/Page.vala" + if (_tmp15_) { +#line 2464 "/home/jens/Source/shotwell/src/Page.vala" result = TRUE; -#line 2463 "/home/jens/Source/shotwell/src/Page.vala" +#line 2464 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 14998 "Page.c" +#line 15001 "Page.c" } -#line 2465 "/home/jens/Source/shotwell/src/Page.vala" +#line 2466 "/home/jens/Source/shotwell/src/Page.vala" if (GTK_WIDGET_CLASS (single_photo_page_parent_class)->key_press_event != NULL) { -#line 15002 "Page.c" +#line 15005 "Page.c" GdkEventKey* _tmp17_ = NULL; gboolean _tmp18_ = FALSE; -#line 2465 "/home/jens/Source/shotwell/src/Page.vala" +#line 2466 "/home/jens/Source/shotwell/src/Page.vala" _tmp17_ = event; -#line 2465 "/home/jens/Source/shotwell/src/Page.vala" +#line 2466 "/home/jens/Source/shotwell/src/Page.vala" _tmp18_ = GTK_WIDGET_CLASS (single_photo_page_parent_class)->key_press_event (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), gtk_widget_get_type (), GtkWidget), _tmp17_); -#line 2465 "/home/jens/Source/shotwell/src/Page.vala" +#line 2466 "/home/jens/Source/shotwell/src/Page.vala" _tmp16_ = _tmp18_; -#line 15011 "Page.c" +#line 15014 "Page.c" } else { -#line 2465 "/home/jens/Source/shotwell/src/Page.vala" +#line 2466 "/home/jens/Source/shotwell/src/Page.vala" _tmp16_ = TRUE; -#line 15015 "Page.c" +#line 15018 "Page.c" } -#line 2465 "/home/jens/Source/shotwell/src/Page.vala" +#line 2466 "/home/jens/Source/shotwell/src/Page.vala" result = _tmp16_; -#line 2465 "/home/jens/Source/shotwell/src/Page.vala" +#line 2466 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 15021 "Page.c" +#line 15024 "Page.c" } static void single_photo_page_class_init (SinglePhotoPageClass * klass) { -#line 1954 "/home/jens/Source/shotwell/src/Page.vala" +#line 1955 "/home/jens/Source/shotwell/src/Page.vala" single_photo_page_parent_class = g_type_class_peek_parent (klass); -#line 1954 "/home/jens/Source/shotwell/src/Page.vala" +#line 1955 "/home/jens/Source/shotwell/src/Page.vala" g_type_class_add_private (klass, sizeof (SinglePhotoPagePrivate)); -#line 1954 "/home/jens/Source/shotwell/src/Page.vala" +#line 1955 "/home/jens/Source/shotwell/src/Page.vala" ((SinglePhotoPageClass *) klass)->is_zoom_supported = (gboolean (*)(SinglePhotoPage*)) single_photo_page_real_is_zoom_supported; -#line 1954 "/home/jens/Source/shotwell/src/Page.vala" +#line 1955 "/home/jens/Source/shotwell/src/Page.vala" ((SinglePhotoPageClass *) klass)->cancel_zoom = (void (*)(SinglePhotoPage*)) single_photo_page_real_cancel_zoom; -#line 1954 "/home/jens/Source/shotwell/src/Page.vala" +#line 1955 "/home/jens/Source/shotwell/src/Page.vala" ((SinglePhotoPageClass *) klass)->save_zoom_state = (void (*)(SinglePhotoPage*)) single_photo_page_real_save_zoom_state; -#line 1954 "/home/jens/Source/shotwell/src/Page.vala" +#line 1955 "/home/jens/Source/shotwell/src/Page.vala" ((SinglePhotoPageClass *) klass)->restore_zoom_state = (void (*)(SinglePhotoPage*)) single_photo_page_real_restore_zoom_state; -#line 1954 "/home/jens/Source/shotwell/src/Page.vala" +#line 1955 "/home/jens/Source/shotwell/src/Page.vala" ((SinglePhotoPageClass *) klass)->get_zoom_buffer = (ZoomBuffer* (*)(SinglePhotoPage*)) single_photo_page_real_get_zoom_buffer; -#line 1954 "/home/jens/Source/shotwell/src/Page.vala" +#line 1955 "/home/jens/Source/shotwell/src/Page.vala" ((PageClass *) klass)->switched_to = (void (*)(Page*)) single_photo_page_real_switched_to; -#line 1954 "/home/jens/Source/shotwell/src/Page.vala" +#line 1955 "/home/jens/Source/shotwell/src/Page.vala" ((PageClass *) klass)->set_container = (void (*)(Page*, GtkWindow*)) single_photo_page_real_set_container; -#line 1954 "/home/jens/Source/shotwell/src/Page.vala" +#line 1955 "/home/jens/Source/shotwell/src/Page.vala" ((PageClass *) klass)->on_resize_finished = (void (*)(Page*, GdkRectangle*)) single_photo_page_real_on_resize_finished; -#line 1954 "/home/jens/Source/shotwell/src/Page.vala" +#line 1955 "/home/jens/Source/shotwell/src/Page.vala" ((SinglePhotoPageClass *) klass)->new_surface = (void (*)(SinglePhotoPage*, cairo_t*, Dimensions*)) single_photo_page_real_new_surface; -#line 1954 "/home/jens/Source/shotwell/src/Page.vala" +#line 1955 "/home/jens/Source/shotwell/src/Page.vala" ((SinglePhotoPageClass *) klass)->updated_pixbuf = (void (*)(SinglePhotoPage*, GdkPixbuf*, SinglePhotoPageUpdateReason, Dimensions*)) single_photo_page_real_updated_pixbuf; -#line 1954 "/home/jens/Source/shotwell/src/Page.vala" +#line 1955 "/home/jens/Source/shotwell/src/Page.vala" ((SinglePhotoPageClass *) klass)->paint = (void (*)(SinglePhotoPage*, cairo_t*, Dimensions*)) single_photo_page_real_paint; -#line 1954 "/home/jens/Source/shotwell/src/Page.vala" +#line 1955 "/home/jens/Source/shotwell/src/Page.vala" ((PageClass *) klass)->on_context_keypress = (gboolean (*)(Page*)) single_photo_page_real_on_context_keypress; -#line 1954 "/home/jens/Source/shotwell/src/Page.vala" +#line 1955 "/home/jens/Source/shotwell/src/Page.vala" ((SinglePhotoPageClass *) klass)->on_previous_photo = (void (*)(SinglePhotoPage*)) single_photo_page_real_on_previous_photo; -#line 1954 "/home/jens/Source/shotwell/src/Page.vala" +#line 1955 "/home/jens/Source/shotwell/src/Page.vala" ((SinglePhotoPageClass *) klass)->on_next_photo = (void (*)(SinglePhotoPage*)) single_photo_page_real_on_next_photo; -#line 1954 "/home/jens/Source/shotwell/src/Page.vala" +#line 1955 "/home/jens/Source/shotwell/src/Page.vala" ((GtkWidgetClass *) klass)->key_press_event = (gboolean (*)(GtkWidget*, GdkEventKey*)) single_photo_page_real_key_press_event; -#line 1954 "/home/jens/Source/shotwell/src/Page.vala" +#line 1955 "/home/jens/Source/shotwell/src/Page.vala" G_OBJECT_CLASS (klass)->finalize = single_photo_page_finalize; -#line 15062 "Page.c" +#line 15065 "Page.c" } static void single_photo_page_instance_init (SinglePhotoPage * self) { GtkDrawingArea* _tmp0_ = NULL; GtkViewport* _tmp1_ = NULL; -#line 1954 "/home/jens/Source/shotwell/src/Page.vala" +#line 1955 "/home/jens/Source/shotwell/src/Page.vala" self->priv = SINGLE_PHOTO_PAGE_GET_PRIVATE (self); -#line 1965 "/home/jens/Source/shotwell/src/Page.vala" +#line 1966 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = (GtkDrawingArea*) gtk_drawing_area_new (); -#line 1965 "/home/jens/Source/shotwell/src/Page.vala" +#line 1966 "/home/jens/Source/shotwell/src/Page.vala" g_object_ref_sink (_tmp0_); -#line 1965 "/home/jens/Source/shotwell/src/Page.vala" - self->canvas = _tmp0_; #line 1966 "/home/jens/Source/shotwell/src/Page.vala" + self->canvas = _tmp0_; +#line 1967 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = (GtkViewport*) gtk_viewport_new (NULL, NULL); -#line 1966 "/home/jens/Source/shotwell/src/Page.vala" +#line 1967 "/home/jens/Source/shotwell/src/Page.vala" g_object_ref_sink (_tmp1_); -#line 1966 "/home/jens/Source/shotwell/src/Page.vala" +#line 1967 "/home/jens/Source/shotwell/src/Page.vala" self->viewport = _tmp1_; -#line 1970 "/home/jens/Source/shotwell/src/Page.vala" - self->priv->transition_duration_msec = 0; #line 1971 "/home/jens/Source/shotwell/src/Page.vala" - self->priv->pixmap = NULL; + self->priv->transition_duration_msec = 0; #line 1972 "/home/jens/Source/shotwell/src/Page.vala" - self->priv->pixmap_ctx = NULL; + self->priv->pixmap = NULL; #line 1973 "/home/jens/Source/shotwell/src/Page.vala" - self->priv->text_ctx = NULL; + self->priv->pixmap_ctx = NULL; #line 1974 "/home/jens/Source/shotwell/src/Page.vala" - dimensions_init (&self->priv->pixmap_dim, 0, 0); + self->priv->text_ctx = NULL; #line 1975 "/home/jens/Source/shotwell/src/Page.vala" - self->priv->unscaled = NULL; + dimensions_init (&self->priv->pixmap_dim, 0, 0); #line 1976 "/home/jens/Source/shotwell/src/Page.vala" - dimensions_init (&self->priv->max_dim, 0, 0); + self->priv->unscaled = NULL; #line 1977 "/home/jens/Source/shotwell/src/Page.vala" - self->priv->scaled = NULL; + dimensions_init (&self->priv->max_dim, 0, 0); #line 1978 "/home/jens/Source/shotwell/src/Page.vala" - self->priv->old_scaled = NULL; + self->priv->scaled = NULL; #line 1979 "/home/jens/Source/shotwell/src/Page.vala" + self->priv->old_scaled = NULL; +#line 1980 "/home/jens/Source/shotwell/src/Page.vala" memset (&self->priv->scaled_pos, 0, sizeof (GdkRectangle)); -#line 1981 "/home/jens/Source/shotwell/src/Page.vala" +#line 1982 "/home/jens/Source/shotwell/src/Page.vala" self->priv->zoom_high_quality = TRUE; -#line 1983 "/home/jens/Source/shotwell/src/Page.vala" - self->priv->has_saved_zoom_state = FALSE; #line 1984 "/home/jens/Source/shotwell/src/Page.vala" + self->priv->has_saved_zoom_state = FALSE; +#line 1985 "/home/jens/Source/shotwell/src/Page.vala" self->priv->last_nav_key = (guint32) 0; -#line 15109 "Page.c" +#line 15112 "Page.c" } static void single_photo_page_finalize (GObject* obj) { SinglePhotoPage * self; -#line 1954 "/home/jens/Source/shotwell/src/Page.vala" +#line 1955 "/home/jens/Source/shotwell/src/Page.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_SINGLE_PHOTO_PAGE, SinglePhotoPage); -#line 1965 "/home/jens/Source/shotwell/src/Page.vala" - _g_object_unref0 (self->canvas); #line 1966 "/home/jens/Source/shotwell/src/Page.vala" + _g_object_unref0 (self->canvas); +#line 1967 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (self->viewport); -#line 1969 "/home/jens/Source/shotwell/src/Page.vala" +#line 1970 "/home/jens/Source/shotwell/src/Page.vala" _transition_clock_unref0 (self->priv->transition_clock); -#line 1971 "/home/jens/Source/shotwell/src/Page.vala" - _cairo_surface_destroy0 (self->priv->pixmap); #line 1972 "/home/jens/Source/shotwell/src/Page.vala" - _cairo_destroy0 (self->priv->pixmap_ctx); + _cairo_surface_destroy0 (self->priv->pixmap); #line 1973 "/home/jens/Source/shotwell/src/Page.vala" + _cairo_destroy0 (self->priv->pixmap_ctx); +#line 1974 "/home/jens/Source/shotwell/src/Page.vala" _cairo_destroy0 (self->priv->text_ctx); -#line 1975 "/home/jens/Source/shotwell/src/Page.vala" +#line 1976 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (self->priv->unscaled); -#line 1977 "/home/jens/Source/shotwell/src/Page.vala" - _g_object_unref0 (self->priv->scaled); #line 1978 "/home/jens/Source/shotwell/src/Page.vala" + _g_object_unref0 (self->priv->scaled); +#line 1979 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (self->priv->old_scaled); -#line 1954 "/home/jens/Source/shotwell/src/Page.vala" +#line 1955 "/home/jens/Source/shotwell/src/Page.vala" G_OBJECT_CLASS (single_photo_page_parent_class)->finalize (obj); -#line 15137 "Page.c" +#line 15140 "Page.c" } @@ -15150,32 +15153,32 @@ GType single_photo_page_get_type (void) { static void _drag_and_drop_handler_on_drag_begin_gtk_widget_drag_begin (GtkWidget* _sender, GdkDragContext* context, gpointer self) { -#line 2524 "/home/jens/Source/shotwell/src/Page.vala" +#line 2525 "/home/jens/Source/shotwell/src/Page.vala" drag_and_drop_handler_on_drag_begin ((DragAndDropHandler*) self, context); -#line 15156 "Page.c" +#line 15159 "Page.c" } static void _drag_and_drop_handler_on_drag_data_get_gtk_widget_drag_data_get (GtkWidget* _sender, GdkDragContext* context, GtkSelectionData* selection_data, guint info, guint time_, gpointer self) { -#line 2525 "/home/jens/Source/shotwell/src/Page.vala" +#line 2526 "/home/jens/Source/shotwell/src/Page.vala" drag_and_drop_handler_on_drag_data_get ((DragAndDropHandler*) self, context, selection_data, info, time_); -#line 15163 "Page.c" +#line 15166 "Page.c" } static void _drag_and_drop_handler_on_drag_end_gtk_widget_drag_end (GtkWidget* _sender, GdkDragContext* context, gpointer self) { -#line 2526 "/home/jens/Source/shotwell/src/Page.vala" +#line 2527 "/home/jens/Source/shotwell/src/Page.vala" drag_and_drop_handler_on_drag_end ((DragAndDropHandler*) self); -#line 15170 "Page.c" +#line 15173 "Page.c" } static gboolean _drag_and_drop_handler_on_drag_failed_gtk_widget_drag_failed (GtkWidget* _sender, GdkDragContext* context, GtkDragResult _result_, gpointer self) { gboolean result; result = drag_and_drop_handler_on_drag_failed ((DragAndDropHandler*) self, context, _result_); -#line 2527 "/home/jens/Source/shotwell/src/Page.vala" +#line 2528 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 15179 "Page.c" +#line 15182 "Page.c" } @@ -15193,20 +15196,20 @@ static GType drag_and_drop_handler_target_type_get_type (void) { static GdkAtom* _gdk_atom_dup (GdkAtom* self) { GdkAtom* dup; -#line 2502 "/home/jens/Source/shotwell/src/Page.vala" +#line 2503 "/home/jens/Source/shotwell/src/Page.vala" dup = g_new0 (GdkAtom, 1); -#line 2502 "/home/jens/Source/shotwell/src/Page.vala" +#line 2503 "/home/jens/Source/shotwell/src/Page.vala" memcpy (dup, self, sizeof (GdkAtom)); -#line 2502 "/home/jens/Source/shotwell/src/Page.vala" +#line 2503 "/home/jens/Source/shotwell/src/Page.vala" return dup; -#line 15203 "Page.c" +#line 15206 "Page.c" } static gpointer __gdk_atom_dup0 (gpointer self) { -#line 2502 "/home/jens/Source/shotwell/src/Page.vala" +#line 2503 "/home/jens/Source/shotwell/src/Page.vala" return self ? _gdk_atom_dup (self) : NULL; -#line 15210 "Page.c" +#line 15213 "Page.c" } @@ -15227,117 +15230,117 @@ DragAndDropHandler* drag_and_drop_handler_construct (GType object_type, Page* pa GtkWidget* _tmp17_ = NULL; GtkWidget* _tmp18_ = NULL; GtkWidget* _tmp19_ = NULL; -#line 2494 "/home/jens/Source/shotwell/src/Page.vala" +#line 2495 "/home/jens/Source/shotwell/src/Page.vala" g_return_val_if_fail (IS_PAGE (page), NULL); -#line 2494 "/home/jens/Source/shotwell/src/Page.vala" - self = (DragAndDropHandler*) g_type_create_instance (object_type); #line 2495 "/home/jens/Source/shotwell/src/Page.vala" + self = (DragAndDropHandler*) g_type_create_instance (object_type); +#line 2496 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = page; -#line 2495 "/home/jens/Source/shotwell/src/Page.vala" - self->priv->page = _tmp0_; #line 2496 "/home/jens/Source/shotwell/src/Page.vala" + self->priv->page = _tmp0_; +#line 2497 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = page; -#line 2496 "/home/jens/Source/shotwell/src/Page.vala" +#line 2497 "/home/jens/Source/shotwell/src/Page.vala" _tmp2_ = page_get_event_source (_tmp1_); -#line 2496 "/home/jens/Source/shotwell/src/Page.vala" +#line 2497 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (self->priv->event_source); -#line 2496 "/home/jens/Source/shotwell/src/Page.vala" - self->priv->event_source = _tmp2_; #line 2497 "/home/jens/Source/shotwell/src/Page.vala" + self->priv->event_source = _tmp2_; +#line 2498 "/home/jens/Source/shotwell/src/Page.vala" _tmp3_ = self->priv->event_source; -#line 2497 "/home/jens/Source/shotwell/src/Page.vala" - _vala_assert (_tmp3_ != NULL, "event_source != null"); #line 2498 "/home/jens/Source/shotwell/src/Page.vala" + _vala_assert (_tmp3_ != NULL, "event_source != null"); +#line 2499 "/home/jens/Source/shotwell/src/Page.vala" _tmp4_ = self->priv->event_source; -#line 2498 "/home/jens/Source/shotwell/src/Page.vala" +#line 2499 "/home/jens/Source/shotwell/src/Page.vala" _tmp5_ = gtk_widget_get_has_window (_tmp4_); -#line 2498 "/home/jens/Source/shotwell/src/Page.vala" +#line 2499 "/home/jens/Source/shotwell/src/Page.vala" _vala_assert (_tmp5_, "event_source.get_has_window()"); -#line 2501 "/home/jens/Source/shotwell/src/Page.vala" +#line 2502 "/home/jens/Source/shotwell/src/Page.vala" _tmp6_ = drag_and_drop_handler_XDS_ATOM; -#line 2501 "/home/jens/Source/shotwell/src/Page.vala" +#line 2502 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp6_ == NULL) { -#line 15261 "Page.c" +#line 15264 "Page.c" GdkAtom _tmp7_ = 0U; GdkAtom* _tmp8_ = NULL; -#line 2502 "/home/jens/Source/shotwell/src/Page.vala" +#line 2503 "/home/jens/Source/shotwell/src/Page.vala" _tmp7_ = gdk_atom_intern_static_string ("XdndDirectSave0"); -#line 2502 "/home/jens/Source/shotwell/src/Page.vala" +#line 2503 "/home/jens/Source/shotwell/src/Page.vala" _tmp8_ = __gdk_atom_dup0 (&_tmp7_); -#line 2502 "/home/jens/Source/shotwell/src/Page.vala" +#line 2503 "/home/jens/Source/shotwell/src/Page.vala" _g_free0 (drag_and_drop_handler_XDS_ATOM); -#line 2502 "/home/jens/Source/shotwell/src/Page.vala" +#line 2503 "/home/jens/Source/shotwell/src/Page.vala" drag_and_drop_handler_XDS_ATOM = _tmp8_; -#line 15272 "Page.c" +#line 15275 "Page.c" } -#line 2504 "/home/jens/Source/shotwell/src/Page.vala" +#line 2505 "/home/jens/Source/shotwell/src/Page.vala" _tmp9_ = drag_and_drop_handler_TEXT_ATOM; -#line 2504 "/home/jens/Source/shotwell/src/Page.vala" +#line 2505 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp9_ == NULL) { -#line 15278 "Page.c" +#line 15281 "Page.c" GdkAtom _tmp10_ = 0U; GdkAtom* _tmp11_ = NULL; -#line 2505 "/home/jens/Source/shotwell/src/Page.vala" +#line 2506 "/home/jens/Source/shotwell/src/Page.vala" _tmp10_ = gdk_atom_intern_static_string ("text/plain"); -#line 2505 "/home/jens/Source/shotwell/src/Page.vala" +#line 2506 "/home/jens/Source/shotwell/src/Page.vala" _tmp11_ = __gdk_atom_dup0 (&_tmp10_); -#line 2505 "/home/jens/Source/shotwell/src/Page.vala" +#line 2506 "/home/jens/Source/shotwell/src/Page.vala" _g_free0 (drag_and_drop_handler_TEXT_ATOM); -#line 2505 "/home/jens/Source/shotwell/src/Page.vala" +#line 2506 "/home/jens/Source/shotwell/src/Page.vala" drag_and_drop_handler_TEXT_ATOM = _tmp11_; -#line 15289 "Page.c" +#line 15292 "Page.c" } -#line 2507 "/home/jens/Source/shotwell/src/Page.vala" +#line 2508 "/home/jens/Source/shotwell/src/Page.vala" _tmp12_ = drag_and_drop_handler_XDS_FAKE_TARGET; -#line 2507 "/home/jens/Source/shotwell/src/Page.vala" +#line 2508 "/home/jens/Source/shotwell/src/Page.vala" _tmp12__length1 = drag_and_drop_handler_XDS_FAKE_TARGET_length1; -#line 2507 "/home/jens/Source/shotwell/src/Page.vala" +#line 2508 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp12_ == NULL) { -#line 15297 "Page.c" +#line 15300 "Page.c" gint _tmp13_ = 0; guchar* _tmp14_ = NULL; -#line 2508 "/home/jens/Source/shotwell/src/Page.vala" +#line 2509 "/home/jens/Source/shotwell/src/Page.vala" _tmp14_ = string_to_uchar_array ("shotwell.txt", &_tmp13_); -#line 2508 "/home/jens/Source/shotwell/src/Page.vala" +#line 2509 "/home/jens/Source/shotwell/src/Page.vala" drag_and_drop_handler_XDS_FAKE_TARGET = (g_free (drag_and_drop_handler_XDS_FAKE_TARGET), NULL); -#line 2508 "/home/jens/Source/shotwell/src/Page.vala" +#line 2509 "/home/jens/Source/shotwell/src/Page.vala" drag_and_drop_handler_XDS_FAKE_TARGET = _tmp14_; -#line 2508 "/home/jens/Source/shotwell/src/Page.vala" +#line 2509 "/home/jens/Source/shotwell/src/Page.vala" drag_and_drop_handler_XDS_FAKE_TARGET_length1 = _tmp13_; -#line 2508 "/home/jens/Source/shotwell/src/Page.vala" +#line 2509 "/home/jens/Source/shotwell/src/Page.vala" _drag_and_drop_handler_XDS_FAKE_TARGET_size_ = drag_and_drop_handler_XDS_FAKE_TARGET_length1; -#line 15310 "Page.c" +#line 15313 "Page.c" } -#line 2511 "/home/jens/Source/shotwell/src/Page.vala" +#line 2512 "/home/jens/Source/shotwell/src/Page.vala" _tmp15_ = self->priv->event_source; -#line 2511 "/home/jens/Source/shotwell/src/Page.vala" +#line 2512 "/home/jens/Source/shotwell/src/Page.vala" gtk_drag_source_set (_tmp15_, GDK_BUTTON1_MASK, DRAG_AND_DROP_HANDLER_SOURCE_TARGET_ENTRIES, G_N_ELEMENTS (DRAG_AND_DROP_HANDLER_SOURCE_TARGET_ENTRIES), GDK_ACTION_COPY); -#line 2516 "/home/jens/Source/shotwell/src/Page.vala" +#line 2517 "/home/jens/Source/shotwell/src/Page.vala" _tmp16_ = self->priv->event_source; -#line 2516 "/home/jens/Source/shotwell/src/Page.vala" - g_signal_connect (_tmp16_, "drag-begin", (GCallback) _drag_and_drop_handler_on_drag_begin_gtk_widget_drag_begin, self); #line 2517 "/home/jens/Source/shotwell/src/Page.vala" + g_signal_connect (_tmp16_, "drag-begin", (GCallback) _drag_and_drop_handler_on_drag_begin_gtk_widget_drag_begin, self); +#line 2518 "/home/jens/Source/shotwell/src/Page.vala" _tmp17_ = self->priv->event_source; -#line 2517 "/home/jens/Source/shotwell/src/Page.vala" - g_signal_connect (_tmp17_, "drag-data-get", (GCallback) _drag_and_drop_handler_on_drag_data_get_gtk_widget_drag_data_get, self); #line 2518 "/home/jens/Source/shotwell/src/Page.vala" + g_signal_connect (_tmp17_, "drag-data-get", (GCallback) _drag_and_drop_handler_on_drag_data_get_gtk_widget_drag_data_get, self); +#line 2519 "/home/jens/Source/shotwell/src/Page.vala" _tmp18_ = self->priv->event_source; -#line 2518 "/home/jens/Source/shotwell/src/Page.vala" - g_signal_connect (_tmp18_, "drag-end", (GCallback) _drag_and_drop_handler_on_drag_end_gtk_widget_drag_end, self); #line 2519 "/home/jens/Source/shotwell/src/Page.vala" + g_signal_connect (_tmp18_, "drag-end", (GCallback) _drag_and_drop_handler_on_drag_end_gtk_widget_drag_end, self); +#line 2520 "/home/jens/Source/shotwell/src/Page.vala" _tmp19_ = self->priv->event_source; -#line 2519 "/home/jens/Source/shotwell/src/Page.vala" +#line 2520 "/home/jens/Source/shotwell/src/Page.vala" g_signal_connect (_tmp19_, "drag-failed", (GCallback) _drag_and_drop_handler_on_drag_failed_gtk_widget_drag_failed, self); -#line 2494 "/home/jens/Source/shotwell/src/Page.vala" +#line 2495 "/home/jens/Source/shotwell/src/Page.vala" return self; -#line 15334 "Page.c" +#line 15337 "Page.c" } DragAndDropHandler* drag_and_drop_handler_new (Page* page) { -#line 2494 "/home/jens/Source/shotwell/src/Page.vala" +#line 2495 "/home/jens/Source/shotwell/src/Page.vala" return drag_and_drop_handler_construct (TYPE_DRAG_AND_DROP_HANDLER, page); -#line 15341 "Page.c" +#line 15344 "Page.c" } @@ -15363,116 +15366,116 @@ static void drag_and_drop_handler_on_drag_begin (DragAndDropHandler* self, GdkDr guint8* _tmp31_ = NULL; gint _tmp31__length1 = 0; GError * _inner_error_ = NULL; -#line 2534 "/home/jens/Source/shotwell/src/Page.vala" +#line 2535 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (IS_DRAG_AND_DROP_HANDLER (self)); -#line 2534 "/home/jens/Source/shotwell/src/Page.vala" - g_return_if_fail (GDK_IS_DRAG_CONTEXT (context)); #line 2535 "/home/jens/Source/shotwell/src/Page.vala" + g_return_if_fail (GDK_IS_DRAG_CONTEXT (context)); +#line 2536 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = self->priv->page; -#line 2535 "/home/jens/Source/shotwell/src/Page.vala" +#line 2536 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = page_get_page_name (_tmp0_); -#line 2535 "/home/jens/Source/shotwell/src/Page.vala" +#line 2536 "/home/jens/Source/shotwell/src/Page.vala" _tmp2_ = _tmp1_; -#line 2535 "/home/jens/Source/shotwell/src/Page.vala" - g_debug ("Page.vala:2535: on_drag_begin (%s)", _tmp2_); -#line 2535 "/home/jens/Source/shotwell/src/Page.vala" +#line 2536 "/home/jens/Source/shotwell/src/Page.vala" + g_debug ("Page.vala:2536: on_drag_begin (%s)", _tmp2_); +#line 2536 "/home/jens/Source/shotwell/src/Page.vala" _g_free0 (_tmp2_); -#line 2537 "/home/jens/Source/shotwell/src/Page.vala" +#line 2538 "/home/jens/Source/shotwell/src/Page.vala" _tmp5_ = self->priv->page; -#line 2537 "/home/jens/Source/shotwell/src/Page.vala" +#line 2538 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp5_ == NULL) { -#line 2537 "/home/jens/Source/shotwell/src/Page.vala" +#line 2538 "/home/jens/Source/shotwell/src/Page.vala" _tmp4_ = TRUE; -#line 15387 "Page.c" +#line 15390 "Page.c" } else { Page* _tmp6_ = NULL; ViewCollection* _tmp7_ = NULL; ViewCollection* _tmp8_ = NULL; gint _tmp9_ = 0; -#line 2537 "/home/jens/Source/shotwell/src/Page.vala" +#line 2538 "/home/jens/Source/shotwell/src/Page.vala" _tmp6_ = self->priv->page; -#line 2537 "/home/jens/Source/shotwell/src/Page.vala" +#line 2538 "/home/jens/Source/shotwell/src/Page.vala" _tmp7_ = page_get_view (_tmp6_); -#line 2537 "/home/jens/Source/shotwell/src/Page.vala" +#line 2538 "/home/jens/Source/shotwell/src/Page.vala" _tmp8_ = _tmp7_; -#line 2537 "/home/jens/Source/shotwell/src/Page.vala" +#line 2538 "/home/jens/Source/shotwell/src/Page.vala" _tmp9_ = view_collection_get_selected_count (_tmp8_); -#line 2537 "/home/jens/Source/shotwell/src/Page.vala" +#line 2538 "/home/jens/Source/shotwell/src/Page.vala" _tmp4_ = _tmp9_ == 0; -#line 2537 "/home/jens/Source/shotwell/src/Page.vala" +#line 2538 "/home/jens/Source/shotwell/src/Page.vala" _data_collection_unref0 (_tmp8_); -#line 15405 "Page.c" +#line 15408 "Page.c" } -#line 2537 "/home/jens/Source/shotwell/src/Page.vala" +#line 2538 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp4_) { -#line 2537 "/home/jens/Source/shotwell/src/Page.vala" +#line 2538 "/home/jens/Source/shotwell/src/Page.vala" _tmp3_ = TRUE; -#line 15411 "Page.c" +#line 15414 "Page.c" } else { ExporterUI* _tmp10_ = NULL; -#line 2537 "/home/jens/Source/shotwell/src/Page.vala" +#line 2538 "/home/jens/Source/shotwell/src/Page.vala" _tmp10_ = self->priv->exporter; -#line 2537 "/home/jens/Source/shotwell/src/Page.vala" +#line 2538 "/home/jens/Source/shotwell/src/Page.vala" _tmp3_ = _tmp10_ != NULL; -#line 15418 "Page.c" +#line 15421 "Page.c" } -#line 2537 "/home/jens/Source/shotwell/src/Page.vala" - if (_tmp3_) { #line 2538 "/home/jens/Source/shotwell/src/Page.vala" + if (_tmp3_) { +#line 2539 "/home/jens/Source/shotwell/src/Page.vala" return; -#line 15424 "Page.c" +#line 15427 "Page.c" } -#line 2540 "/home/jens/Source/shotwell/src/Page.vala" +#line 2541 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (self->priv->drag_destination); -#line 2540 "/home/jens/Source/shotwell/src/Page.vala" +#line 2541 "/home/jens/Source/shotwell/src/Page.vala" self->priv->drag_destination = NULL; -#line 2543 "/home/jens/Source/shotwell/src/Page.vala" +#line 2544 "/home/jens/Source/shotwell/src/Page.vala" _tmp11_ = self->priv->page; -#line 2543 "/home/jens/Source/shotwell/src/Page.vala" +#line 2544 "/home/jens/Source/shotwell/src/Page.vala" _tmp12_ = page_get_view (_tmp11_); -#line 2543 "/home/jens/Source/shotwell/src/Page.vala" +#line 2544 "/home/jens/Source/shotwell/src/Page.vala" _tmp13_ = _tmp12_; -#line 2543 "/home/jens/Source/shotwell/src/Page.vala" +#line 2544 "/home/jens/Source/shotwell/src/Page.vala" _tmp14_ = view_collection_get_selected_at (_tmp13_, 0); -#line 2543 "/home/jens/Source/shotwell/src/Page.vala" +#line 2544 "/home/jens/Source/shotwell/src/Page.vala" _tmp15_ = _tmp14_; -#line 2543 "/home/jens/Source/shotwell/src/Page.vala" +#line 2544 "/home/jens/Source/shotwell/src/Page.vala" _tmp16_ = data_view_get_source (_tmp15_); -#line 2543 "/home/jens/Source/shotwell/src/Page.vala" +#line 2544 "/home/jens/Source/shotwell/src/Page.vala" _tmp17_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, TYPE_THUMBNAIL_SOURCE, ThumbnailSource); -#line 2543 "/home/jens/Source/shotwell/src/Page.vala" +#line 2544 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (_tmp15_); -#line 2543 "/home/jens/Source/shotwell/src/Page.vala" +#line 2544 "/home/jens/Source/shotwell/src/Page.vala" _data_collection_unref0 (_tmp13_); -#line 2543 "/home/jens/Source/shotwell/src/Page.vala" +#line 2544 "/home/jens/Source/shotwell/src/Page.vala" thumb = _tmp17_; -#line 15450 "Page.c" +#line 15453 "Page.c" { GdkPixbuf* icon = NULL; ThumbnailSource* _tmp18_ = NULL; GdkPixbuf* _tmp19_ = NULL; GtkWidget* _tmp20_ = NULL; GdkPixbuf* _tmp21_ = NULL; -#line 2546 "/home/jens/Source/shotwell/src/Page.vala" +#line 2547 "/home/jens/Source/shotwell/src/Page.vala" _tmp18_ = thumb; -#line 2546 "/home/jens/Source/shotwell/src/Page.vala" +#line 2547 "/home/jens/Source/shotwell/src/Page.vala" _tmp19_ = thumbnail_source_get_thumbnail (_tmp18_, APP_WINDOW_DND_ICON_SCALE, &_inner_error_); -#line 2546 "/home/jens/Source/shotwell/src/Page.vala" +#line 2547 "/home/jens/Source/shotwell/src/Page.vala" icon = _tmp19_; -#line 2546 "/home/jens/Source/shotwell/src/Page.vala" +#line 2547 "/home/jens/Source/shotwell/src/Page.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 15465 "Page.c" +#line 15468 "Page.c" goto __catch255_g_error; } -#line 2547 "/home/jens/Source/shotwell/src/Page.vala" +#line 2548 "/home/jens/Source/shotwell/src/Page.vala" _tmp20_ = self->priv->event_source; -#line 2547 "/home/jens/Source/shotwell/src/Page.vala" +#line 2548 "/home/jens/Source/shotwell/src/Page.vala" _tmp21_ = icon; -#line 2547 "/home/jens/Source/shotwell/src/Page.vala" +#line 2548 "/home/jens/Source/shotwell/src/Page.vala" gtk_drag_source_set_icon_pixbuf (_tmp20_, _tmp21_); -#line 2545 "/home/jens/Source/shotwell/src/Page.vala" +#line 2546 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (icon); -#line 15476 "Page.c" +#line 15479 "Page.c" } goto __finally255; __catch255_g_error: @@ -15483,58 +15486,58 @@ static void drag_and_drop_handler_on_drag_begin (DragAndDropHandler* self, GdkDr gchar* _tmp24_ = NULL; GError* _tmp25_ = NULL; const gchar* _tmp26_ = NULL; -#line 2545 "/home/jens/Source/shotwell/src/Page.vala" +#line 2546 "/home/jens/Source/shotwell/src/Page.vala" err = _inner_error_; -#line 2545 "/home/jens/Source/shotwell/src/Page.vala" +#line 2546 "/home/jens/Source/shotwell/src/Page.vala" _inner_error_ = NULL; -#line 2549 "/home/jens/Source/shotwell/src/Page.vala" +#line 2550 "/home/jens/Source/shotwell/src/Page.vala" _tmp22_ = thumb; -#line 2549 "/home/jens/Source/shotwell/src/Page.vala" +#line 2550 "/home/jens/Source/shotwell/src/Page.vala" _tmp23_ = data_object_to_string (G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, TYPE_DATA_OBJECT, DataObject)); -#line 2549 "/home/jens/Source/shotwell/src/Page.vala" +#line 2550 "/home/jens/Source/shotwell/src/Page.vala" _tmp24_ = _tmp23_; -#line 2549 "/home/jens/Source/shotwell/src/Page.vala" +#line 2550 "/home/jens/Source/shotwell/src/Page.vala" _tmp25_ = err; -#line 2549 "/home/jens/Source/shotwell/src/Page.vala" +#line 2550 "/home/jens/Source/shotwell/src/Page.vala" _tmp26_ = _tmp25_->message; -#line 2549 "/home/jens/Source/shotwell/src/Page.vala" - g_warning ("Page.vala:2549: Unable to fetch icon for drag-and-drop from %s: %s", _tmp24_, _tmp26_); -#line 2549 "/home/jens/Source/shotwell/src/Page.vala" +#line 2550 "/home/jens/Source/shotwell/src/Page.vala" + g_warning ("Page.vala:2550: Unable to fetch icon for drag-and-drop from %s: %s", _tmp24_, _tmp26_); +#line 2550 "/home/jens/Source/shotwell/src/Page.vala" _g_free0 (_tmp24_); -#line 2545 "/home/jens/Source/shotwell/src/Page.vala" +#line 2546 "/home/jens/Source/shotwell/src/Page.vala" _g_error_free0 (err); -#line 15507 "Page.c" +#line 15510 "Page.c" } __finally255: -#line 2545 "/home/jens/Source/shotwell/src/Page.vala" +#line 2546 "/home/jens/Source/shotwell/src/Page.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 2545 "/home/jens/Source/shotwell/src/Page.vala" +#line 2546 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (thumb); -#line 2545 "/home/jens/Source/shotwell/src/Page.vala" +#line 2546 "/home/jens/Source/shotwell/src/Page.vala" g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code); -#line 2545 "/home/jens/Source/shotwell/src/Page.vala" +#line 2546 "/home/jens/Source/shotwell/src/Page.vala" g_clear_error (&_inner_error_); -#line 2545 "/home/jens/Source/shotwell/src/Page.vala" +#line 2546 "/home/jens/Source/shotwell/src/Page.vala" return; -#line 15520 "Page.c" +#line 15523 "Page.c" } -#line 2555 "/home/jens/Source/shotwell/src/Page.vala" +#line 2556 "/home/jens/Source/shotwell/src/Page.vala" _tmp27_ = context; -#line 2555 "/home/jens/Source/shotwell/src/Page.vala" +#line 2556 "/home/jens/Source/shotwell/src/Page.vala" _tmp28_ = gdk_drag_context_get_source_window (_tmp27_); -#line 2555 "/home/jens/Source/shotwell/src/Page.vala" +#line 2556 "/home/jens/Source/shotwell/src/Page.vala" _tmp29_ = drag_and_drop_handler_XDS_ATOM; -#line 2555 "/home/jens/Source/shotwell/src/Page.vala" +#line 2556 "/home/jens/Source/shotwell/src/Page.vala" _tmp30_ = drag_and_drop_handler_TEXT_ATOM; -#line 2555 "/home/jens/Source/shotwell/src/Page.vala" +#line 2556 "/home/jens/Source/shotwell/src/Page.vala" _tmp31_ = drag_and_drop_handler_XDS_FAKE_TARGET; -#line 2555 "/home/jens/Source/shotwell/src/Page.vala" +#line 2556 "/home/jens/Source/shotwell/src/Page.vala" _tmp31__length1 = drag_and_drop_handler_XDS_FAKE_TARGET_length1; -#line 2555 "/home/jens/Source/shotwell/src/Page.vala" +#line 2556 "/home/jens/Source/shotwell/src/Page.vala" gdk_property_change (_tmp28_, *_tmp29_, *_tmp30_, 8, GDK_PROP_MODE_REPLACE, (const guchar*) _tmp31_, 1); -#line 2534 "/home/jens/Source/shotwell/src/Page.vala" +#line 2535 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (thumb); -#line 15538 "Page.c" +#line 15541 "Page.c" } @@ -15545,61 +15548,61 @@ static void drag_and_drop_handler_on_drag_data_get (DragAndDropHandler* self, Gd gboolean _tmp3_ = FALSE; Page* _tmp4_ = NULL; guint _tmp9_ = 0U; -#line 2563 "/home/jens/Source/shotwell/src/Page.vala" +#line 2564 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (IS_DRAG_AND_DROP_HANDLER (self)); -#line 2563 "/home/jens/Source/shotwell/src/Page.vala" +#line 2564 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (GDK_IS_DRAG_CONTEXT (context)); -#line 2563 "/home/jens/Source/shotwell/src/Page.vala" +#line 2564 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (selection_data != NULL); -#line 2565 "/home/jens/Source/shotwell/src/Page.vala" +#line 2566 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = self->priv->page; -#line 2565 "/home/jens/Source/shotwell/src/Page.vala" +#line 2566 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = page_get_page_name (_tmp0_); -#line 2565 "/home/jens/Source/shotwell/src/Page.vala" +#line 2566 "/home/jens/Source/shotwell/src/Page.vala" _tmp2_ = _tmp1_; -#line 2565 "/home/jens/Source/shotwell/src/Page.vala" - g_debug ("Page.vala:2565: on_drag_data_get (%s)", _tmp2_); -#line 2565 "/home/jens/Source/shotwell/src/Page.vala" +#line 2566 "/home/jens/Source/shotwell/src/Page.vala" + g_debug ("Page.vala:2566: on_drag_data_get (%s)", _tmp2_); +#line 2566 "/home/jens/Source/shotwell/src/Page.vala" _g_free0 (_tmp2_); -#line 2567 "/home/jens/Source/shotwell/src/Page.vala" +#line 2568 "/home/jens/Source/shotwell/src/Page.vala" _tmp4_ = self->priv->page; -#line 2567 "/home/jens/Source/shotwell/src/Page.vala" +#line 2568 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp4_ == NULL) { -#line 2567 "/home/jens/Source/shotwell/src/Page.vala" +#line 2568 "/home/jens/Source/shotwell/src/Page.vala" _tmp3_ = TRUE; -#line 15571 "Page.c" +#line 15574 "Page.c" } else { Page* _tmp5_ = NULL; ViewCollection* _tmp6_ = NULL; ViewCollection* _tmp7_ = NULL; gint _tmp8_ = 0; -#line 2567 "/home/jens/Source/shotwell/src/Page.vala" +#line 2568 "/home/jens/Source/shotwell/src/Page.vala" _tmp5_ = self->priv->page; -#line 2567 "/home/jens/Source/shotwell/src/Page.vala" +#line 2568 "/home/jens/Source/shotwell/src/Page.vala" _tmp6_ = page_get_view (_tmp5_); -#line 2567 "/home/jens/Source/shotwell/src/Page.vala" +#line 2568 "/home/jens/Source/shotwell/src/Page.vala" _tmp7_ = _tmp6_; -#line 2567 "/home/jens/Source/shotwell/src/Page.vala" +#line 2568 "/home/jens/Source/shotwell/src/Page.vala" _tmp8_ = view_collection_get_selected_count (_tmp7_); -#line 2567 "/home/jens/Source/shotwell/src/Page.vala" +#line 2568 "/home/jens/Source/shotwell/src/Page.vala" _tmp3_ = _tmp8_ == 0; -#line 2567 "/home/jens/Source/shotwell/src/Page.vala" +#line 2568 "/home/jens/Source/shotwell/src/Page.vala" _data_collection_unref0 (_tmp7_); -#line 15589 "Page.c" +#line 15592 "Page.c" } -#line 2567 "/home/jens/Source/shotwell/src/Page.vala" - if (_tmp3_) { #line 2568 "/home/jens/Source/shotwell/src/Page.vala" + if (_tmp3_) { +#line 2569 "/home/jens/Source/shotwell/src/Page.vala" return; -#line 15595 "Page.c" +#line 15598 "Page.c" } -#line 2570 "/home/jens/Source/shotwell/src/Page.vala" +#line 2571 "/home/jens/Source/shotwell/src/Page.vala" _tmp9_ = target_type; -#line 2570 "/home/jens/Source/shotwell/src/Page.vala" +#line 2571 "/home/jens/Source/shotwell/src/Page.vala" switch (_tmp9_) { -#line 2570 "/home/jens/Source/shotwell/src/Page.vala" +#line 2571 "/home/jens/Source/shotwell/src/Page.vala" case DRAG_AND_DROP_HANDLER_TARGET_TYPE_XDS: -#line 15603 "Page.c" +#line 15606 "Page.c" { guchar* data = NULL; guchar* _tmp10_ = NULL; @@ -15635,83 +15638,83 @@ static void drag_and_drop_handler_on_drag_data_get (DragAndDropHandler* self, Gd guchar* _tmp45_ = NULL; guchar* _tmp46_ = NULL; gint _tmp46__length1 = 0; -#line 2573 "/home/jens/Source/shotwell/src/Page.vala" +#line 2574 "/home/jens/Source/shotwell/src/Page.vala" _tmp10_ = g_new0 (guchar, 4096); -#line 2573 "/home/jens/Source/shotwell/src/Page.vala" +#line 2574 "/home/jens/Source/shotwell/src/Page.vala" data = _tmp10_; -#line 2573 "/home/jens/Source/shotwell/src/Page.vala" +#line 2574 "/home/jens/Source/shotwell/src/Page.vala" data_length1 = 4096; -#line 2573 "/home/jens/Source/shotwell/src/Page.vala" +#line 2574 "/home/jens/Source/shotwell/src/Page.vala" _data_size_ = data_length1; -#line 2575 "/home/jens/Source/shotwell/src/Page.vala" - actual_format = 0; #line 2576 "/home/jens/Source/shotwell/src/Page.vala" + actual_format = 0; +#line 2577 "/home/jens/Source/shotwell/src/Page.vala" _tmp11_ = context; -#line 2576 "/home/jens/Source/shotwell/src/Page.vala" +#line 2577 "/home/jens/Source/shotwell/src/Page.vala" _tmp12_ = gdk_drag_context_get_source_window (_tmp11_); -#line 2576 "/home/jens/Source/shotwell/src/Page.vala" +#line 2577 "/home/jens/Source/shotwell/src/Page.vala" _tmp13_ = drag_and_drop_handler_XDS_ATOM; -#line 2576 "/home/jens/Source/shotwell/src/Page.vala" +#line 2577 "/home/jens/Source/shotwell/src/Page.vala" _tmp14_ = drag_and_drop_handler_TEXT_ATOM; -#line 2576 "/home/jens/Source/shotwell/src/Page.vala" +#line 2577 "/home/jens/Source/shotwell/src/Page.vala" _tmp15_ = data; -#line 2576 "/home/jens/Source/shotwell/src/Page.vala" +#line 2577 "/home/jens/Source/shotwell/src/Page.vala" _tmp15__length1 = data_length1; -#line 2576 "/home/jens/Source/shotwell/src/Page.vala" +#line 2577 "/home/jens/Source/shotwell/src/Page.vala" _tmp20_ = gdk_property_get (_tmp12_, *_tmp13_, *_tmp14_, (gulong) 0, (gulong) _tmp15__length1, 0, &_tmp16_, &_tmp17_, &_tmp19_, &_tmp18_); -#line 2576 "/home/jens/Source/shotwell/src/Page.vala" +#line 2577 "/home/jens/Source/shotwell/src/Page.vala" actual_type = _tmp16_; -#line 2576 "/home/jens/Source/shotwell/src/Page.vala" +#line 2577 "/home/jens/Source/shotwell/src/Page.vala" actual_format = _tmp17_; -#line 2576 "/home/jens/Source/shotwell/src/Page.vala" +#line 2577 "/home/jens/Source/shotwell/src/Page.vala" data = (g_free (data), NULL); -#line 2576 "/home/jens/Source/shotwell/src/Page.vala" +#line 2577 "/home/jens/Source/shotwell/src/Page.vala" data = _tmp18_; -#line 2576 "/home/jens/Source/shotwell/src/Page.vala" +#line 2577 "/home/jens/Source/shotwell/src/Page.vala" data_length1 = _tmp19_; -#line 2576 "/home/jens/Source/shotwell/src/Page.vala" +#line 2577 "/home/jens/Source/shotwell/src/Page.vala" _data_size_ = data_length1; -#line 2576 "/home/jens/Source/shotwell/src/Page.vala" +#line 2577 "/home/jens/Source/shotwell/src/Page.vala" fetched = _tmp20_; -#line 2581 "/home/jens/Source/shotwell/src/Page.vala" +#line 2582 "/home/jens/Source/shotwell/src/Page.vala" _tmp23_ = fetched; -#line 2581 "/home/jens/Source/shotwell/src/Page.vala" +#line 2582 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp23_) { -#line 15681 "Page.c" +#line 15684 "Page.c" guchar* _tmp24_ = NULL; gint _tmp24__length1 = 0; -#line 2581 "/home/jens/Source/shotwell/src/Page.vala" +#line 2582 "/home/jens/Source/shotwell/src/Page.vala" _tmp24_ = data; -#line 2581 "/home/jens/Source/shotwell/src/Page.vala" +#line 2582 "/home/jens/Source/shotwell/src/Page.vala" _tmp24__length1 = data_length1; -#line 2581 "/home/jens/Source/shotwell/src/Page.vala" +#line 2582 "/home/jens/Source/shotwell/src/Page.vala" _tmp22_ = _tmp24_ != NULL; -#line 15690 "Page.c" +#line 15693 "Page.c" } else { -#line 2581 "/home/jens/Source/shotwell/src/Page.vala" +#line 2582 "/home/jens/Source/shotwell/src/Page.vala" _tmp22_ = FALSE; -#line 15694 "Page.c" +#line 15697 "Page.c" } -#line 2581 "/home/jens/Source/shotwell/src/Page.vala" +#line 2582 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp22_) { -#line 15698 "Page.c" +#line 15701 "Page.c" guchar* _tmp25_ = NULL; gint _tmp25__length1 = 0; -#line 2581 "/home/jens/Source/shotwell/src/Page.vala" +#line 2582 "/home/jens/Source/shotwell/src/Page.vala" _tmp25_ = data; -#line 2581 "/home/jens/Source/shotwell/src/Page.vala" +#line 2582 "/home/jens/Source/shotwell/src/Page.vala" _tmp25__length1 = data_length1; -#line 2581 "/home/jens/Source/shotwell/src/Page.vala" +#line 2582 "/home/jens/Source/shotwell/src/Page.vala" _tmp21_ = _tmp25__length1 > 0; -#line 15707 "Page.c" +#line 15710 "Page.c" } else { -#line 2581 "/home/jens/Source/shotwell/src/Page.vala" +#line 2582 "/home/jens/Source/shotwell/src/Page.vala" _tmp21_ = FALSE; -#line 15711 "Page.c" +#line 15714 "Page.c" } -#line 2581 "/home/jens/Source/shotwell/src/Page.vala" +#line 2582 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp21_) { -#line 15715 "Page.c" +#line 15718 "Page.c" guchar* _tmp26_ = NULL; gint _tmp26__length1 = 0; gchar* _tmp27_ = NULL; @@ -15719,103 +15722,103 @@ static void drag_and_drop_handler_on_drag_data_get (DragAndDropHandler* self, Gd GFile* _tmp29_ = NULL; GFile* _tmp30_ = NULL; GFile* _tmp31_ = NULL; -#line 2582 "/home/jens/Source/shotwell/src/Page.vala" +#line 2583 "/home/jens/Source/shotwell/src/Page.vala" _tmp26_ = data; -#line 2582 "/home/jens/Source/shotwell/src/Page.vala" +#line 2583 "/home/jens/Source/shotwell/src/Page.vala" _tmp26__length1 = data_length1; -#line 2582 "/home/jens/Source/shotwell/src/Page.vala" +#line 2583 "/home/jens/Source/shotwell/src/Page.vala" _tmp27_ = uchar_array_to_string (_tmp26_, _tmp26__length1, -1); -#line 2582 "/home/jens/Source/shotwell/src/Page.vala" +#line 2583 "/home/jens/Source/shotwell/src/Page.vala" _tmp28_ = _tmp27_; -#line 2582 "/home/jens/Source/shotwell/src/Page.vala" +#line 2583 "/home/jens/Source/shotwell/src/Page.vala" _tmp29_ = g_file_new_for_uri (_tmp28_); -#line 2582 "/home/jens/Source/shotwell/src/Page.vala" +#line 2583 "/home/jens/Source/shotwell/src/Page.vala" _tmp30_ = _tmp29_; -#line 2582 "/home/jens/Source/shotwell/src/Page.vala" +#line 2583 "/home/jens/Source/shotwell/src/Page.vala" _tmp31_ = g_file_get_parent (_tmp30_); -#line 2582 "/home/jens/Source/shotwell/src/Page.vala" +#line 2583 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (self->priv->drag_destination); -#line 2582 "/home/jens/Source/shotwell/src/Page.vala" +#line 2583 "/home/jens/Source/shotwell/src/Page.vala" self->priv->drag_destination = _tmp31_; -#line 2582 "/home/jens/Source/shotwell/src/Page.vala" +#line 2583 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (_tmp30_); -#line 2582 "/home/jens/Source/shotwell/src/Page.vala" +#line 2583 "/home/jens/Source/shotwell/src/Page.vala" _g_free0 (_tmp28_); -#line 15745 "Page.c" +#line 15748 "Page.c" } -#line 2585 "/home/jens/Source/shotwell/src/Page.vala" +#line 2586 "/home/jens/Source/shotwell/src/Page.vala" _tmp33_ = self->priv->drag_destination; -#line 2585 "/home/jens/Source/shotwell/src/Page.vala" +#line 2586 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp33_ != NULL) { -#line 15751 "Page.c" +#line 15754 "Page.c" GFile* _tmp34_ = NULL; gchar* _tmp35_ = NULL; -#line 2585 "/home/jens/Source/shotwell/src/Page.vala" +#line 2586 "/home/jens/Source/shotwell/src/Page.vala" _tmp34_ = self->priv->drag_destination; -#line 2585 "/home/jens/Source/shotwell/src/Page.vala" +#line 2586 "/home/jens/Source/shotwell/src/Page.vala" _tmp35_ = g_file_get_path (_tmp34_); -#line 2585 "/home/jens/Source/shotwell/src/Page.vala" +#line 2586 "/home/jens/Source/shotwell/src/Page.vala" _g_free0 (_tmp32_); -#line 2585 "/home/jens/Source/shotwell/src/Page.vala" +#line 2586 "/home/jens/Source/shotwell/src/Page.vala" _tmp32_ = _tmp35_; -#line 15762 "Page.c" +#line 15765 "Page.c" } else { gchar* _tmp36_ = NULL; -#line 2585 "/home/jens/Source/shotwell/src/Page.vala" +#line 2586 "/home/jens/Source/shotwell/src/Page.vala" _tmp36_ = g_strdup ("(no path)"); -#line 2585 "/home/jens/Source/shotwell/src/Page.vala" +#line 2586 "/home/jens/Source/shotwell/src/Page.vala" _g_free0 (_tmp32_); -#line 2585 "/home/jens/Source/shotwell/src/Page.vala" +#line 2586 "/home/jens/Source/shotwell/src/Page.vala" _tmp32_ = _tmp36_; -#line 15771 "Page.c" +#line 15774 "Page.c" } -#line 2584 "/home/jens/Source/shotwell/src/Page.vala" +#line 2585 "/home/jens/Source/shotwell/src/Page.vala" _tmp37_ = self->priv->page; -#line 2584 "/home/jens/Source/shotwell/src/Page.vala" +#line 2585 "/home/jens/Source/shotwell/src/Page.vala" _tmp38_ = page_get_page_name (_tmp37_); -#line 2584 "/home/jens/Source/shotwell/src/Page.vala" +#line 2585 "/home/jens/Source/shotwell/src/Page.vala" _tmp39_ = _tmp38_; -#line 2584 "/home/jens/Source/shotwell/src/Page.vala" - g_debug ("Page.vala:2584: on_drag_data_get (%s): %s", _tmp39_, _tmp32_); -#line 2584 "/home/jens/Source/shotwell/src/Page.vala" +#line 2585 "/home/jens/Source/shotwell/src/Page.vala" + g_debug ("Page.vala:2585: on_drag_data_get (%s): %s", _tmp39_, _tmp32_); +#line 2585 "/home/jens/Source/shotwell/src/Page.vala" _g_free0 (_tmp39_); -#line 2589 "/home/jens/Source/shotwell/src/Page.vala" +#line 2590 "/home/jens/Source/shotwell/src/Page.vala" _tmp41_ = self->priv->drag_destination; -#line 2589 "/home/jens/Source/shotwell/src/Page.vala" +#line 2590 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp41_ != NULL) { -#line 2589 "/home/jens/Source/shotwell/src/Page.vala" +#line 2590 "/home/jens/Source/shotwell/src/Page.vala" _tmp40_ = "S"; -#line 15789 "Page.c" +#line 15792 "Page.c" } else { -#line 2589 "/home/jens/Source/shotwell/src/Page.vala" +#line 2590 "/home/jens/Source/shotwell/src/Page.vala" _tmp40_ = "E"; -#line 15793 "Page.c" +#line 15796 "Page.c" } -#line 2588 "/home/jens/Source/shotwell/src/Page.vala" +#line 2589 "/home/jens/Source/shotwell/src/Page.vala" _tmp42_ = selection_data; -#line 2588 "/home/jens/Source/shotwell/src/Page.vala" +#line 2589 "/home/jens/Source/shotwell/src/Page.vala" _tmp43_ = drag_and_drop_handler_XDS_ATOM; -#line 2588 "/home/jens/Source/shotwell/src/Page.vala" +#line 2589 "/home/jens/Source/shotwell/src/Page.vala" _tmp45_ = string_to_uchar_array (_tmp40_, &_tmp44_); -#line 2588 "/home/jens/Source/shotwell/src/Page.vala" +#line 2589 "/home/jens/Source/shotwell/src/Page.vala" _tmp46_ = _tmp45_; -#line 2588 "/home/jens/Source/shotwell/src/Page.vala" +#line 2589 "/home/jens/Source/shotwell/src/Page.vala" _tmp46__length1 = _tmp44_; -#line 2588 "/home/jens/Source/shotwell/src/Page.vala" +#line 2589 "/home/jens/Source/shotwell/src/Page.vala" gtk_selection_data_set (_tmp42_, *_tmp43_, 8, _tmp46_, _tmp44_); -#line 2588 "/home/jens/Source/shotwell/src/Page.vala" +#line 2589 "/home/jens/Source/shotwell/src/Page.vala" _tmp46_ = (g_free (_tmp46_), NULL); -#line 2590 "/home/jens/Source/shotwell/src/Page.vala" +#line 2591 "/home/jens/Source/shotwell/src/Page.vala" _g_free0 (_tmp32_); -#line 2590 "/home/jens/Source/shotwell/src/Page.vala" +#line 2591 "/home/jens/Source/shotwell/src/Page.vala" data = (g_free (data), NULL); -#line 2590 "/home/jens/Source/shotwell/src/Page.vala" +#line 2591 "/home/jens/Source/shotwell/src/Page.vala" break; -#line 15815 "Page.c" +#line 15818 "Page.c" } -#line 2570 "/home/jens/Source/shotwell/src/Page.vala" +#line 2571 "/home/jens/Source/shotwell/src/Page.vala" case DRAG_AND_DROP_HANDLER_TARGET_TYPE_MEDIA_LIST: -#line 15819 "Page.c" +#line 15822 "Page.c" { GeeCollection* sources = NULL; Page* _tmp47_ = NULL; @@ -15830,41 +15833,41 @@ static void drag_and_drop_handler_on_drag_data_get (DragAndDropHandler* self, Gd guchar* _tmp56_ = NULL; guchar* _tmp57_ = NULL; gint _tmp57__length1 = 0; -#line 2593 "/home/jens/Source/shotwell/src/Page.vala" +#line 2594 "/home/jens/Source/shotwell/src/Page.vala" _tmp47_ = self->priv->page; -#line 2593 "/home/jens/Source/shotwell/src/Page.vala" +#line 2594 "/home/jens/Source/shotwell/src/Page.vala" _tmp48_ = page_get_view (_tmp47_); -#line 2593 "/home/jens/Source/shotwell/src/Page.vala" +#line 2594 "/home/jens/Source/shotwell/src/Page.vala" _tmp49_ = _tmp48_; -#line 2593 "/home/jens/Source/shotwell/src/Page.vala" +#line 2594 "/home/jens/Source/shotwell/src/Page.vala" _tmp50_ = view_collection_get_selected_sources (_tmp49_); -#line 2593 "/home/jens/Source/shotwell/src/Page.vala" +#line 2594 "/home/jens/Source/shotwell/src/Page.vala" _tmp51_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp50_, GEE_TYPE_COLLECTION, GeeCollection); -#line 2593 "/home/jens/Source/shotwell/src/Page.vala" +#line 2594 "/home/jens/Source/shotwell/src/Page.vala" _data_collection_unref0 (_tmp49_); -#line 2593 "/home/jens/Source/shotwell/src/Page.vala" +#line 2594 "/home/jens/Source/shotwell/src/Page.vala" sources = _tmp51_; -#line 2598 "/home/jens/Source/shotwell/src/Page.vala" +#line 2599 "/home/jens/Source/shotwell/src/Page.vala" _tmp52_ = selection_data; -#line 2598 "/home/jens/Source/shotwell/src/Page.vala" +#line 2599 "/home/jens/Source/shotwell/src/Page.vala" _tmp53_ = gdk_atom_intern_static_string ("SourceIDAtom"); -#line 2598 "/home/jens/Source/shotwell/src/Page.vala" +#line 2599 "/home/jens/Source/shotwell/src/Page.vala" _tmp54_ = sources; -#line 2598 "/home/jens/Source/shotwell/src/Page.vala" +#line 2599 "/home/jens/Source/shotwell/src/Page.vala" _tmp56_ = serialize_media_sources (_tmp54_, &_tmp55_); -#line 2598 "/home/jens/Source/shotwell/src/Page.vala" +#line 2599 "/home/jens/Source/shotwell/src/Page.vala" _tmp57_ = _tmp56_; -#line 2598 "/home/jens/Source/shotwell/src/Page.vala" +#line 2599 "/home/jens/Source/shotwell/src/Page.vala" _tmp57__length1 = _tmp55_; -#line 2598 "/home/jens/Source/shotwell/src/Page.vala" +#line 2599 "/home/jens/Source/shotwell/src/Page.vala" gtk_selection_data_set (_tmp52_, _tmp53_, (gint) sizeof (GdkAtom), _tmp57_, _tmp55_); -#line 2598 "/home/jens/Source/shotwell/src/Page.vala" +#line 2599 "/home/jens/Source/shotwell/src/Page.vala" _tmp57_ = (g_free (_tmp57_), NULL); -#line 2600 "/home/jens/Source/shotwell/src/Page.vala" +#line 2601 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (sources); -#line 2600 "/home/jens/Source/shotwell/src/Page.vala" +#line 2601 "/home/jens/Source/shotwell/src/Page.vala" break; -#line 15868 "Page.c" +#line 15871 "Page.c" } default: { @@ -15872,30 +15875,30 @@ static void drag_and_drop_handler_on_drag_data_get (DragAndDropHandler* self, Gd gchar* _tmp59_ = NULL; gchar* _tmp60_ = NULL; guint _tmp61_ = 0U; -#line 2603 "/home/jens/Source/shotwell/src/Page.vala" +#line 2604 "/home/jens/Source/shotwell/src/Page.vala" _tmp58_ = self->priv->page; -#line 2603 "/home/jens/Source/shotwell/src/Page.vala" +#line 2604 "/home/jens/Source/shotwell/src/Page.vala" _tmp59_ = page_get_page_name (_tmp58_); -#line 2603 "/home/jens/Source/shotwell/src/Page.vala" +#line 2604 "/home/jens/Source/shotwell/src/Page.vala" _tmp60_ = _tmp59_; -#line 2603 "/home/jens/Source/shotwell/src/Page.vala" +#line 2604 "/home/jens/Source/shotwell/src/Page.vala" _tmp61_ = target_type; -#line 2603 "/home/jens/Source/shotwell/src/Page.vala" - g_warning ("Page.vala:2603: on_drag_data_get (%s): unknown target type %u", _tmp60_, _tmp61_); -#line 2603 "/home/jens/Source/shotwell/src/Page.vala" +#line 2604 "/home/jens/Source/shotwell/src/Page.vala" + g_warning ("Page.vala:2604: on_drag_data_get (%s): unknown target type %u", _tmp60_, _tmp61_); +#line 2604 "/home/jens/Source/shotwell/src/Page.vala" _g_free0 (_tmp60_); -#line 2605 "/home/jens/Source/shotwell/src/Page.vala" +#line 2606 "/home/jens/Source/shotwell/src/Page.vala" break; -#line 15890 "Page.c" +#line 15893 "Page.c" } } } static void _drag_and_drop_handler_on_export_completed_exporter_completion_callback (Exporter* exporter, gboolean is_cancelled, gpointer self) { -#line 2626 "/home/jens/Source/shotwell/src/Page.vala" +#line 2627 "/home/jens/Source/shotwell/src/Page.vala" drag_and_drop_handler_on_export_completed ((DragAndDropHandler*) self); -#line 15899 "Page.c" +#line 15902 "Page.c" } @@ -15914,99 +15917,99 @@ static void drag_and_drop_handler_on_drag_end (DragAndDropHandler* self) { gchar* _tmp17_ = NULL; gchar* _tmp18_ = NULL; gboolean _tmp19_ = FALSE; -#line 2609 "/home/jens/Source/shotwell/src/Page.vala" - g_return_if_fail (IS_DRAG_AND_DROP_HANDLER (self)); #line 2610 "/home/jens/Source/shotwell/src/Page.vala" + g_return_if_fail (IS_DRAG_AND_DROP_HANDLER (self)); +#line 2611 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = self->priv->page; -#line 2610 "/home/jens/Source/shotwell/src/Page.vala" +#line 2611 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = page_get_page_name (_tmp0_); -#line 2610 "/home/jens/Source/shotwell/src/Page.vala" +#line 2611 "/home/jens/Source/shotwell/src/Page.vala" _tmp2_ = _tmp1_; -#line 2610 "/home/jens/Source/shotwell/src/Page.vala" - g_debug ("Page.vala:2610: on_drag_end (%s)", _tmp2_); -#line 2610 "/home/jens/Source/shotwell/src/Page.vala" +#line 2611 "/home/jens/Source/shotwell/src/Page.vala" + g_debug ("Page.vala:2611: on_drag_end (%s)", _tmp2_); +#line 2611 "/home/jens/Source/shotwell/src/Page.vala" _g_free0 (_tmp2_); -#line 2612 "/home/jens/Source/shotwell/src/Page.vala" +#line 2613 "/home/jens/Source/shotwell/src/Page.vala" _tmp6_ = self->priv->page; -#line 2612 "/home/jens/Source/shotwell/src/Page.vala" +#line 2613 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp6_ == NULL) { -#line 2612 "/home/jens/Source/shotwell/src/Page.vala" +#line 2613 "/home/jens/Source/shotwell/src/Page.vala" _tmp5_ = TRUE; -#line 15936 "Page.c" +#line 15939 "Page.c" } else { Page* _tmp7_ = NULL; ViewCollection* _tmp8_ = NULL; ViewCollection* _tmp9_ = NULL; gint _tmp10_ = 0; -#line 2612 "/home/jens/Source/shotwell/src/Page.vala" +#line 2613 "/home/jens/Source/shotwell/src/Page.vala" _tmp7_ = self->priv->page; -#line 2612 "/home/jens/Source/shotwell/src/Page.vala" +#line 2613 "/home/jens/Source/shotwell/src/Page.vala" _tmp8_ = page_get_view (_tmp7_); -#line 2612 "/home/jens/Source/shotwell/src/Page.vala" +#line 2613 "/home/jens/Source/shotwell/src/Page.vala" _tmp9_ = _tmp8_; -#line 2612 "/home/jens/Source/shotwell/src/Page.vala" +#line 2613 "/home/jens/Source/shotwell/src/Page.vala" _tmp10_ = view_collection_get_selected_count (_tmp9_); -#line 2612 "/home/jens/Source/shotwell/src/Page.vala" +#line 2613 "/home/jens/Source/shotwell/src/Page.vala" _tmp5_ = _tmp10_ == 0; -#line 2612 "/home/jens/Source/shotwell/src/Page.vala" +#line 2613 "/home/jens/Source/shotwell/src/Page.vala" _data_collection_unref0 (_tmp9_); -#line 15954 "Page.c" +#line 15957 "Page.c" } -#line 2612 "/home/jens/Source/shotwell/src/Page.vala" +#line 2613 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp5_) { -#line 2612 "/home/jens/Source/shotwell/src/Page.vala" +#line 2613 "/home/jens/Source/shotwell/src/Page.vala" _tmp4_ = TRUE; -#line 15960 "Page.c" +#line 15963 "Page.c" } else { GFile* _tmp11_ = NULL; -#line 2612 "/home/jens/Source/shotwell/src/Page.vala" +#line 2613 "/home/jens/Source/shotwell/src/Page.vala" _tmp11_ = self->priv->drag_destination; -#line 2612 "/home/jens/Source/shotwell/src/Page.vala" +#line 2613 "/home/jens/Source/shotwell/src/Page.vala" _tmp4_ = _tmp11_ == NULL; -#line 15967 "Page.c" +#line 15970 "Page.c" } -#line 2612 "/home/jens/Source/shotwell/src/Page.vala" +#line 2613 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp4_) { -#line 2612 "/home/jens/Source/shotwell/src/Page.vala" +#line 2613 "/home/jens/Source/shotwell/src/Page.vala" _tmp3_ = TRUE; -#line 15973 "Page.c" +#line 15976 "Page.c" } else { ExporterUI* _tmp12_ = NULL; -#line 2613 "/home/jens/Source/shotwell/src/Page.vala" +#line 2614 "/home/jens/Source/shotwell/src/Page.vala" _tmp12_ = self->priv->exporter; -#line 2613 "/home/jens/Source/shotwell/src/Page.vala" +#line 2614 "/home/jens/Source/shotwell/src/Page.vala" _tmp3_ = _tmp12_ != NULL; -#line 15980 "Page.c" +#line 15983 "Page.c" } -#line 2612 "/home/jens/Source/shotwell/src/Page.vala" +#line 2613 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp3_) { -#line 2614 "/home/jens/Source/shotwell/src/Page.vala" +#line 2615 "/home/jens/Source/shotwell/src/Page.vala" return; -#line 15986 "Page.c" +#line 15989 "Page.c" } -#line 2617 "/home/jens/Source/shotwell/src/Page.vala" +#line 2618 "/home/jens/Source/shotwell/src/Page.vala" _tmp13_ = self->priv->drag_destination; -#line 2617 "/home/jens/Source/shotwell/src/Page.vala" +#line 2618 "/home/jens/Source/shotwell/src/Page.vala" _tmp14_ = g_file_get_path (_tmp13_); -#line 2617 "/home/jens/Source/shotwell/src/Page.vala" +#line 2618 "/home/jens/Source/shotwell/src/Page.vala" _tmp15_ = _tmp14_; -#line 2617 "/home/jens/Source/shotwell/src/Page.vala" - g_debug ("Page.vala:2617: Exporting to %s", _tmp15_); -#line 2617 "/home/jens/Source/shotwell/src/Page.vala" +#line 2618 "/home/jens/Source/shotwell/src/Page.vala" + g_debug ("Page.vala:2618: Exporting to %s", _tmp15_); +#line 2618 "/home/jens/Source/shotwell/src/Page.vala" _g_free0 (_tmp15_); -#line 2622 "/home/jens/Source/shotwell/src/Page.vala" +#line 2623 "/home/jens/Source/shotwell/src/Page.vala" _tmp16_ = self->priv->drag_destination; -#line 2622 "/home/jens/Source/shotwell/src/Page.vala" +#line 2623 "/home/jens/Source/shotwell/src/Page.vala" _tmp17_ = g_file_get_path (_tmp16_); -#line 2622 "/home/jens/Source/shotwell/src/Page.vala" +#line 2623 "/home/jens/Source/shotwell/src/Page.vala" _tmp18_ = _tmp17_; -#line 2622 "/home/jens/Source/shotwell/src/Page.vala" +#line 2623 "/home/jens/Source/shotwell/src/Page.vala" _tmp19_ = _tmp18_ != NULL; -#line 2622 "/home/jens/Source/shotwell/src/Page.vala" +#line 2623 "/home/jens/Source/shotwell/src/Page.vala" _g_free0 (_tmp18_); -#line 2622 "/home/jens/Source/shotwell/src/Page.vala" +#line 2623 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp19_) { -#line 16010 "Page.c" +#line 16013 "Page.c" Page* _tmp20_ = NULL; ViewCollection* _tmp21_ = NULL; ViewCollection* _tmp22_ = NULL; @@ -16019,56 +16022,56 @@ static void drag_and_drop_handler_on_drag_end (DragAndDropHandler* self) { Exporter* _tmp29_ = NULL; ExporterUI* _tmp30_ = NULL; ExporterUI* _tmp31_ = NULL; -#line 2623 "/home/jens/Source/shotwell/src/Page.vala" +#line 2624 "/home/jens/Source/shotwell/src/Page.vala" _tmp20_ = self->priv->page; -#line 2623 "/home/jens/Source/shotwell/src/Page.vala" +#line 2624 "/home/jens/Source/shotwell/src/Page.vala" _tmp21_ = page_get_view (_tmp20_); -#line 2623 "/home/jens/Source/shotwell/src/Page.vala" +#line 2624 "/home/jens/Source/shotwell/src/Page.vala" _tmp22_ = _tmp21_; -#line 2623 "/home/jens/Source/shotwell/src/Page.vala" +#line 2624 "/home/jens/Source/shotwell/src/Page.vala" _tmp23_ = view_collection_get_selected_sources (_tmp22_); -#line 2623 "/home/jens/Source/shotwell/src/Page.vala" +#line 2624 "/home/jens/Source/shotwell/src/Page.vala" _tmp24_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, GEE_TYPE_COLLECTION, GeeCollection); -#line 2623 "/home/jens/Source/shotwell/src/Page.vala" +#line 2624 "/home/jens/Source/shotwell/src/Page.vala" _tmp25_ = self->priv->drag_destination; -#line 2623 "/home/jens/Source/shotwell/src/Page.vala" +#line 2624 "/home/jens/Source/shotwell/src/Page.vala" scaling_for_original (&_tmp26_); -#line 2623 "/home/jens/Source/shotwell/src/Page.vala" +#line 2624 "/home/jens/Source/shotwell/src/Page.vala" export_format_parameters_current (&_tmp27_); -#line 2623 "/home/jens/Source/shotwell/src/Page.vala" +#line 2624 "/home/jens/Source/shotwell/src/Page.vala" _tmp28_ = exporter_new (_tmp24_, _tmp25_, &_tmp26_, &_tmp27_, FALSE); -#line 2623 "/home/jens/Source/shotwell/src/Page.vala" +#line 2624 "/home/jens/Source/shotwell/src/Page.vala" _tmp29_ = _tmp28_; -#line 2623 "/home/jens/Source/shotwell/src/Page.vala" +#line 2624 "/home/jens/Source/shotwell/src/Page.vala" _tmp30_ = exporter_ui_new (_tmp29_); -#line 2623 "/home/jens/Source/shotwell/src/Page.vala" +#line 2624 "/home/jens/Source/shotwell/src/Page.vala" _exporter_ui_unref0 (self->priv->exporter); -#line 2623 "/home/jens/Source/shotwell/src/Page.vala" +#line 2624 "/home/jens/Source/shotwell/src/Page.vala" self->priv->exporter = _tmp30_; -#line 2623 "/home/jens/Source/shotwell/src/Page.vala" +#line 2624 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (_tmp29_); -#line 2623 "/home/jens/Source/shotwell/src/Page.vala" +#line 2624 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (_tmp24_); -#line 2623 "/home/jens/Source/shotwell/src/Page.vala" +#line 2624 "/home/jens/Source/shotwell/src/Page.vala" _data_collection_unref0 (_tmp22_); -#line 2626 "/home/jens/Source/shotwell/src/Page.vala" +#line 2627 "/home/jens/Source/shotwell/src/Page.vala" _tmp31_ = self->priv->exporter; -#line 2626 "/home/jens/Source/shotwell/src/Page.vala" +#line 2627 "/home/jens/Source/shotwell/src/Page.vala" exporter_ui_export (_tmp31_, _drag_and_drop_handler_on_export_completed_exporter_completion_callback, self); -#line 16059 "Page.c" +#line 16062 "Page.c" } else { const gchar* _tmp32_ = NULL; -#line 2628 "/home/jens/Source/shotwell/src/Page.vala" +#line 2629 "/home/jens/Source/shotwell/src/Page.vala" _tmp32_ = _ ("Photos cannot be exported to this directory."); -#line 2628 "/home/jens/Source/shotwell/src/Page.vala" +#line 2629 "/home/jens/Source/shotwell/src/Page.vala" app_window_error_message (_tmp32_, NULL); -#line 16066 "Page.c" +#line 16069 "Page.c" } -#line 2631 "/home/jens/Source/shotwell/src/Page.vala" +#line 2632 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (self->priv->drag_destination); -#line 2631 "/home/jens/Source/shotwell/src/Page.vala" +#line 2632 "/home/jens/Source/shotwell/src/Page.vala" self->priv->drag_destination = NULL; -#line 16072 "Page.c" +#line 16075 "Page.c" } @@ -16079,271 +16082,271 @@ static gboolean drag_and_drop_handler_on_drag_failed (DragAndDropHandler* self, gchar* _tmp2_ = NULL; GtkDragResult _tmp3_ = 0; Page* _tmp4_ = NULL; -#line 2634 "/home/jens/Source/shotwell/src/Page.vala" +#line 2635 "/home/jens/Source/shotwell/src/Page.vala" g_return_val_if_fail (IS_DRAG_AND_DROP_HANDLER (self), FALSE); -#line 2634 "/home/jens/Source/shotwell/src/Page.vala" - g_return_val_if_fail (GDK_IS_DRAG_CONTEXT (context), FALSE); #line 2635 "/home/jens/Source/shotwell/src/Page.vala" + g_return_val_if_fail (GDK_IS_DRAG_CONTEXT (context), FALSE); +#line 2636 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = self->priv->page; -#line 2635 "/home/jens/Source/shotwell/src/Page.vala" +#line 2636 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = page_get_page_name (_tmp0_); -#line 2635 "/home/jens/Source/shotwell/src/Page.vala" +#line 2636 "/home/jens/Source/shotwell/src/Page.vala" _tmp2_ = _tmp1_; -#line 2635 "/home/jens/Source/shotwell/src/Page.vala" +#line 2636 "/home/jens/Source/shotwell/src/Page.vala" _tmp3_ = drag_result; -#line 2635 "/home/jens/Source/shotwell/src/Page.vala" - g_debug ("Page.vala:2635: on_drag_failed (%s): %d", _tmp2_, (gint) _tmp3_); -#line 2635 "/home/jens/Source/shotwell/src/Page.vala" +#line 2636 "/home/jens/Source/shotwell/src/Page.vala" + g_debug ("Page.vala:2636: on_drag_failed (%s): %d", _tmp2_, (gint) _tmp3_); +#line 2636 "/home/jens/Source/shotwell/src/Page.vala" _g_free0 (_tmp2_); -#line 2637 "/home/jens/Source/shotwell/src/Page.vala" +#line 2638 "/home/jens/Source/shotwell/src/Page.vala" _tmp4_ = self->priv->page; -#line 2637 "/home/jens/Source/shotwell/src/Page.vala" - if (_tmp4_ == NULL) { #line 2638 "/home/jens/Source/shotwell/src/Page.vala" + if (_tmp4_ == NULL) { +#line 2639 "/home/jens/Source/shotwell/src/Page.vala" result = FALSE; -#line 2638 "/home/jens/Source/shotwell/src/Page.vala" +#line 2639 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 16107 "Page.c" +#line 16110 "Page.c" } -#line 2640 "/home/jens/Source/shotwell/src/Page.vala" +#line 2641 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (self->priv->drag_destination); -#line 2640 "/home/jens/Source/shotwell/src/Page.vala" +#line 2641 "/home/jens/Source/shotwell/src/Page.vala" self->priv->drag_destination = NULL; -#line 2642 "/home/jens/Source/shotwell/src/Page.vala" +#line 2643 "/home/jens/Source/shotwell/src/Page.vala" result = FALSE; -#line 2642 "/home/jens/Source/shotwell/src/Page.vala" +#line 2643 "/home/jens/Source/shotwell/src/Page.vala" return result; -#line 16117 "Page.c" +#line 16120 "Page.c" } static void drag_and_drop_handler_on_export_completed (DragAndDropHandler* self) { -#line 2645 "/home/jens/Source/shotwell/src/Page.vala" - g_return_if_fail (IS_DRAG_AND_DROP_HANDLER (self)); #line 2646 "/home/jens/Source/shotwell/src/Page.vala" + g_return_if_fail (IS_DRAG_AND_DROP_HANDLER (self)); +#line 2647 "/home/jens/Source/shotwell/src/Page.vala" _exporter_ui_unref0 (self->priv->exporter); -#line 2646 "/home/jens/Source/shotwell/src/Page.vala" +#line 2647 "/home/jens/Source/shotwell/src/Page.vala" self->priv->exporter = NULL; -#line 16128 "Page.c" +#line 16131 "Page.c" } static void value_drag_and_drop_handler_init (GValue* value) { -#line 2474 "/home/jens/Source/shotwell/src/Page.vala" +#line 2475 "/home/jens/Source/shotwell/src/Page.vala" value->data[0].v_pointer = NULL; -#line 16135 "Page.c" +#line 16138 "Page.c" } static void value_drag_and_drop_handler_free_value (GValue* value) { -#line 2474 "/home/jens/Source/shotwell/src/Page.vala" +#line 2475 "/home/jens/Source/shotwell/src/Page.vala" if (value->data[0].v_pointer) { -#line 2474 "/home/jens/Source/shotwell/src/Page.vala" +#line 2475 "/home/jens/Source/shotwell/src/Page.vala" drag_and_drop_handler_unref (value->data[0].v_pointer); -#line 16144 "Page.c" +#line 16147 "Page.c" } } static void value_drag_and_drop_handler_copy_value (const GValue* src_value, GValue* dest_value) { -#line 2474 "/home/jens/Source/shotwell/src/Page.vala" +#line 2475 "/home/jens/Source/shotwell/src/Page.vala" if (src_value->data[0].v_pointer) { -#line 2474 "/home/jens/Source/shotwell/src/Page.vala" +#line 2475 "/home/jens/Source/shotwell/src/Page.vala" dest_value->data[0].v_pointer = drag_and_drop_handler_ref (src_value->data[0].v_pointer); -#line 16154 "Page.c" +#line 16157 "Page.c" } else { -#line 2474 "/home/jens/Source/shotwell/src/Page.vala" +#line 2475 "/home/jens/Source/shotwell/src/Page.vala" dest_value->data[0].v_pointer = NULL; -#line 16158 "Page.c" +#line 16161 "Page.c" } } static gpointer value_drag_and_drop_handler_peek_pointer (const GValue* value) { -#line 2474 "/home/jens/Source/shotwell/src/Page.vala" +#line 2475 "/home/jens/Source/shotwell/src/Page.vala" return value->data[0].v_pointer; -#line 16166 "Page.c" +#line 16169 "Page.c" } static gchar* value_drag_and_drop_handler_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { -#line 2474 "/home/jens/Source/shotwell/src/Page.vala" +#line 2475 "/home/jens/Source/shotwell/src/Page.vala" if (collect_values[0].v_pointer) { -#line 16173 "Page.c" +#line 16176 "Page.c" DragAndDropHandler* object; object = collect_values[0].v_pointer; -#line 2474 "/home/jens/Source/shotwell/src/Page.vala" +#line 2475 "/home/jens/Source/shotwell/src/Page.vala" if (object->parent_instance.g_class == NULL) { -#line 2474 "/home/jens/Source/shotwell/src/Page.vala" +#line 2475 "/home/jens/Source/shotwell/src/Page.vala" return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 16180 "Page.c" +#line 16183 "Page.c" } else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) { -#line 2474 "/home/jens/Source/shotwell/src/Page.vala" +#line 2475 "/home/jens/Source/shotwell/src/Page.vala" return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 16184 "Page.c" +#line 16187 "Page.c" } -#line 2474 "/home/jens/Source/shotwell/src/Page.vala" +#line 2475 "/home/jens/Source/shotwell/src/Page.vala" value->data[0].v_pointer = drag_and_drop_handler_ref (object); -#line 16188 "Page.c" +#line 16191 "Page.c" } else { -#line 2474 "/home/jens/Source/shotwell/src/Page.vala" +#line 2475 "/home/jens/Source/shotwell/src/Page.vala" value->data[0].v_pointer = NULL; -#line 16192 "Page.c" +#line 16195 "Page.c" } -#line 2474 "/home/jens/Source/shotwell/src/Page.vala" +#line 2475 "/home/jens/Source/shotwell/src/Page.vala" return NULL; -#line 16196 "Page.c" +#line 16199 "Page.c" } static gchar* value_drag_and_drop_handler_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { DragAndDropHandler** object_p; object_p = collect_values[0].v_pointer; -#line 2474 "/home/jens/Source/shotwell/src/Page.vala" +#line 2475 "/home/jens/Source/shotwell/src/Page.vala" if (!object_p) { -#line 2474 "/home/jens/Source/shotwell/src/Page.vala" +#line 2475 "/home/jens/Source/shotwell/src/Page.vala" return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value)); -#line 16207 "Page.c" +#line 16210 "Page.c" } -#line 2474 "/home/jens/Source/shotwell/src/Page.vala" +#line 2475 "/home/jens/Source/shotwell/src/Page.vala" if (!value->data[0].v_pointer) { -#line 2474 "/home/jens/Source/shotwell/src/Page.vala" +#line 2475 "/home/jens/Source/shotwell/src/Page.vala" *object_p = NULL; -#line 16213 "Page.c" +#line 16216 "Page.c" } else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) { -#line 2474 "/home/jens/Source/shotwell/src/Page.vala" +#line 2475 "/home/jens/Source/shotwell/src/Page.vala" *object_p = value->data[0].v_pointer; -#line 16217 "Page.c" +#line 16220 "Page.c" } else { -#line 2474 "/home/jens/Source/shotwell/src/Page.vala" +#line 2475 "/home/jens/Source/shotwell/src/Page.vala" *object_p = drag_and_drop_handler_ref (value->data[0].v_pointer); -#line 16221 "Page.c" +#line 16224 "Page.c" } -#line 2474 "/home/jens/Source/shotwell/src/Page.vala" +#line 2475 "/home/jens/Source/shotwell/src/Page.vala" return NULL; -#line 16225 "Page.c" +#line 16228 "Page.c" } GParamSpec* param_spec_drag_and_drop_handler (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) { ParamSpecDragAndDropHandler* spec; -#line 2474 "/home/jens/Source/shotwell/src/Page.vala" +#line 2475 "/home/jens/Source/shotwell/src/Page.vala" g_return_val_if_fail (g_type_is_a (object_type, TYPE_DRAG_AND_DROP_HANDLER), NULL); -#line 2474 "/home/jens/Source/shotwell/src/Page.vala" +#line 2475 "/home/jens/Source/shotwell/src/Page.vala" spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags); -#line 2474 "/home/jens/Source/shotwell/src/Page.vala" +#line 2475 "/home/jens/Source/shotwell/src/Page.vala" G_PARAM_SPEC (spec)->value_type = object_type; -#line 2474 "/home/jens/Source/shotwell/src/Page.vala" +#line 2475 "/home/jens/Source/shotwell/src/Page.vala" return G_PARAM_SPEC (spec); -#line 16239 "Page.c" +#line 16242 "Page.c" } gpointer value_get_drag_and_drop_handler (const GValue* value) { -#line 2474 "/home/jens/Source/shotwell/src/Page.vala" +#line 2475 "/home/jens/Source/shotwell/src/Page.vala" g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_DRAG_AND_DROP_HANDLER), NULL); -#line 2474 "/home/jens/Source/shotwell/src/Page.vala" +#line 2475 "/home/jens/Source/shotwell/src/Page.vala" return value->data[0].v_pointer; -#line 16248 "Page.c" +#line 16251 "Page.c" } void value_set_drag_and_drop_handler (GValue* value, gpointer v_object) { DragAndDropHandler* old; -#line 2474 "/home/jens/Source/shotwell/src/Page.vala" +#line 2475 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_DRAG_AND_DROP_HANDLER)); -#line 2474 "/home/jens/Source/shotwell/src/Page.vala" +#line 2475 "/home/jens/Source/shotwell/src/Page.vala" old = value->data[0].v_pointer; -#line 2474 "/home/jens/Source/shotwell/src/Page.vala" +#line 2475 "/home/jens/Source/shotwell/src/Page.vala" if (v_object) { -#line 2474 "/home/jens/Source/shotwell/src/Page.vala" +#line 2475 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TYPE_DRAG_AND_DROP_HANDLER)); -#line 2474 "/home/jens/Source/shotwell/src/Page.vala" +#line 2475 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); -#line 2474 "/home/jens/Source/shotwell/src/Page.vala" +#line 2475 "/home/jens/Source/shotwell/src/Page.vala" value->data[0].v_pointer = v_object; -#line 2474 "/home/jens/Source/shotwell/src/Page.vala" +#line 2475 "/home/jens/Source/shotwell/src/Page.vala" drag_and_drop_handler_ref (value->data[0].v_pointer); -#line 16268 "Page.c" +#line 16271 "Page.c" } else { -#line 2474 "/home/jens/Source/shotwell/src/Page.vala" +#line 2475 "/home/jens/Source/shotwell/src/Page.vala" value->data[0].v_pointer = NULL; -#line 16272 "Page.c" +#line 16275 "Page.c" } -#line 2474 "/home/jens/Source/shotwell/src/Page.vala" +#line 2475 "/home/jens/Source/shotwell/src/Page.vala" if (old) { -#line 2474 "/home/jens/Source/shotwell/src/Page.vala" +#line 2475 "/home/jens/Source/shotwell/src/Page.vala" drag_and_drop_handler_unref (old); -#line 16278 "Page.c" +#line 16281 "Page.c" } } void value_take_drag_and_drop_handler (GValue* value, gpointer v_object) { DragAndDropHandler* old; -#line 2474 "/home/jens/Source/shotwell/src/Page.vala" +#line 2475 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_DRAG_AND_DROP_HANDLER)); -#line 2474 "/home/jens/Source/shotwell/src/Page.vala" +#line 2475 "/home/jens/Source/shotwell/src/Page.vala" old = value->data[0].v_pointer; -#line 2474 "/home/jens/Source/shotwell/src/Page.vala" +#line 2475 "/home/jens/Source/shotwell/src/Page.vala" if (v_object) { -#line 2474 "/home/jens/Source/shotwell/src/Page.vala" +#line 2475 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TYPE_DRAG_AND_DROP_HANDLER)); -#line 2474 "/home/jens/Source/shotwell/src/Page.vala" +#line 2475 "/home/jens/Source/shotwell/src/Page.vala" g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); -#line 2474 "/home/jens/Source/shotwell/src/Page.vala" +#line 2475 "/home/jens/Source/shotwell/src/Page.vala" value->data[0].v_pointer = v_object; -#line 16297 "Page.c" +#line 16300 "Page.c" } else { -#line 2474 "/home/jens/Source/shotwell/src/Page.vala" +#line 2475 "/home/jens/Source/shotwell/src/Page.vala" value->data[0].v_pointer = NULL; -#line 16301 "Page.c" +#line 16304 "Page.c" } -#line 2474 "/home/jens/Source/shotwell/src/Page.vala" +#line 2475 "/home/jens/Source/shotwell/src/Page.vala" if (old) { -#line 2474 "/home/jens/Source/shotwell/src/Page.vala" +#line 2475 "/home/jens/Source/shotwell/src/Page.vala" drag_and_drop_handler_unref (old); -#line 16307 "Page.c" +#line 16310 "Page.c" } } static void drag_and_drop_handler_class_init (DragAndDropHandlerClass * klass) { -#line 2474 "/home/jens/Source/shotwell/src/Page.vala" +#line 2475 "/home/jens/Source/shotwell/src/Page.vala" drag_and_drop_handler_parent_class = g_type_class_peek_parent (klass); -#line 2474 "/home/jens/Source/shotwell/src/Page.vala" +#line 2475 "/home/jens/Source/shotwell/src/Page.vala" ((DragAndDropHandlerClass *) klass)->finalize = drag_and_drop_handler_finalize; -#line 2474 "/home/jens/Source/shotwell/src/Page.vala" +#line 2475 "/home/jens/Source/shotwell/src/Page.vala" g_type_class_add_private (klass, sizeof (DragAndDropHandlerPrivate)); -#line 16319 "Page.c" +#line 16322 "Page.c" } static void drag_and_drop_handler_instance_init (DragAndDropHandler * self) { -#line 2474 "/home/jens/Source/shotwell/src/Page.vala" +#line 2475 "/home/jens/Source/shotwell/src/Page.vala" self->priv = DRAG_AND_DROP_HANDLER_GET_PRIVATE (self); -#line 2491 "/home/jens/Source/shotwell/src/Page.vala" - self->priv->drag_destination = NULL; #line 2492 "/home/jens/Source/shotwell/src/Page.vala" + self->priv->drag_destination = NULL; +#line 2493 "/home/jens/Source/shotwell/src/Page.vala" self->priv->exporter = NULL; -#line 2474 "/home/jens/Source/shotwell/src/Page.vala" +#line 2475 "/home/jens/Source/shotwell/src/Page.vala" self->ref_count = 1; -#line 16332 "Page.c" +#line 16335 "Page.c" } static void drag_and_drop_handler_finalize (DragAndDropHandler* obj) { DragAndDropHandler * self; GtkWidget* _tmp0_ = NULL; -#line 2474 "/home/jens/Source/shotwell/src/Page.vala" +#line 2475 "/home/jens/Source/shotwell/src/Page.vala" self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_DRAG_AND_DROP_HANDLER, DragAndDropHandler); -#line 2474 "/home/jens/Source/shotwell/src/Page.vala" +#line 2475 "/home/jens/Source/shotwell/src/Page.vala" g_signal_handlers_destroy (self); -#line 2523 "/home/jens/Source/shotwell/src/Page.vala" +#line 2524 "/home/jens/Source/shotwell/src/Page.vala" _tmp0_ = self->priv->event_source; -#line 2523 "/home/jens/Source/shotwell/src/Page.vala" +#line 2524 "/home/jens/Source/shotwell/src/Page.vala" if (_tmp0_ != NULL) { -#line 16347 "Page.c" +#line 16350 "Page.c" GtkWidget* _tmp1_ = NULL; guint _tmp2_ = 0U; GtkWidget* _tmp3_ = NULL; @@ -16352,45 +16355,45 @@ static void drag_and_drop_handler_finalize (DragAndDropHandler* obj) { guint _tmp6_ = 0U; GtkWidget* _tmp7_ = NULL; guint _tmp8_ = 0U; -#line 2524 "/home/jens/Source/shotwell/src/Page.vala" +#line 2525 "/home/jens/Source/shotwell/src/Page.vala" _tmp1_ = self->priv->event_source; -#line 2524 "/home/jens/Source/shotwell/src/Page.vala" +#line 2525 "/home/jens/Source/shotwell/src/Page.vala" g_signal_parse_name ("drag-begin", gtk_widget_get_type (), &_tmp2_, NULL, FALSE); -#line 2524 "/home/jens/Source/shotwell/src/Page.vala" - g_signal_handlers_disconnect_matched (_tmp1_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp2_, 0, NULL, (GCallback) _drag_and_drop_handler_on_drag_begin_gtk_widget_drag_begin, self); #line 2525 "/home/jens/Source/shotwell/src/Page.vala" + g_signal_handlers_disconnect_matched (_tmp1_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp2_, 0, NULL, (GCallback) _drag_and_drop_handler_on_drag_begin_gtk_widget_drag_begin, self); +#line 2526 "/home/jens/Source/shotwell/src/Page.vala" _tmp3_ = self->priv->event_source; -#line 2525 "/home/jens/Source/shotwell/src/Page.vala" +#line 2526 "/home/jens/Source/shotwell/src/Page.vala" g_signal_parse_name ("drag-data-get", gtk_widget_get_type (), &_tmp4_, NULL, FALSE); -#line 2525 "/home/jens/Source/shotwell/src/Page.vala" - g_signal_handlers_disconnect_matched (_tmp3_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp4_, 0, NULL, (GCallback) _drag_and_drop_handler_on_drag_data_get_gtk_widget_drag_data_get, self); #line 2526 "/home/jens/Source/shotwell/src/Page.vala" + g_signal_handlers_disconnect_matched (_tmp3_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp4_, 0, NULL, (GCallback) _drag_and_drop_handler_on_drag_data_get_gtk_widget_drag_data_get, self); +#line 2527 "/home/jens/Source/shotwell/src/Page.vala" _tmp5_ = self->priv->event_source; -#line 2526 "/home/jens/Source/shotwell/src/Page.vala" +#line 2527 "/home/jens/Source/shotwell/src/Page.vala" g_signal_parse_name ("drag-end", gtk_widget_get_type (), &_tmp6_, NULL, FALSE); -#line 2526 "/home/jens/Source/shotwell/src/Page.vala" - g_signal_handlers_disconnect_matched (_tmp5_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp6_, 0, NULL, (GCallback) _drag_and_drop_handler_on_drag_end_gtk_widget_drag_end, self); #line 2527 "/home/jens/Source/shotwell/src/Page.vala" + g_signal_handlers_disconnect_matched (_tmp5_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp6_, 0, NULL, (GCallback) _drag_and_drop_handler_on_drag_end_gtk_widget_drag_end, self); +#line 2528 "/home/jens/Source/shotwell/src/Page.vala" _tmp7_ = self->priv->event_source; -#line 2527 "/home/jens/Source/shotwell/src/Page.vala" +#line 2528 "/home/jens/Source/shotwell/src/Page.vala" g_signal_parse_name ("drag-failed", gtk_widget_get_type (), &_tmp8_, NULL, FALSE); -#line 2527 "/home/jens/Source/shotwell/src/Page.vala" +#line 2528 "/home/jens/Source/shotwell/src/Page.vala" g_signal_handlers_disconnect_matched (_tmp7_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp8_, 0, NULL, (GCallback) _drag_and_drop_handler_on_drag_failed_gtk_widget_drag_failed, self); -#line 16380 "Page.c" +#line 16383 "Page.c" } -#line 2530 "/home/jens/Source/shotwell/src/Page.vala" - self->priv->page = NULL; #line 2531 "/home/jens/Source/shotwell/src/Page.vala" + self->priv->page = NULL; +#line 2532 "/home/jens/Source/shotwell/src/Page.vala" _g_object_unref0 (self->priv->event_source); -#line 2531 "/home/jens/Source/shotwell/src/Page.vala" +#line 2532 "/home/jens/Source/shotwell/src/Page.vala" self->priv->event_source = NULL; -#line 2490 "/home/jens/Source/shotwell/src/Page.vala" - _g_object_unref0 (self->priv->event_source); #line 2491 "/home/jens/Source/shotwell/src/Page.vala" - _g_object_unref0 (self->priv->drag_destination); + _g_object_unref0 (self->priv->event_source); #line 2492 "/home/jens/Source/shotwell/src/Page.vala" + _g_object_unref0 (self->priv->drag_destination); +#line 2493 "/home/jens/Source/shotwell/src/Page.vala" _exporter_ui_unref0 (self->priv->exporter); -#line 16394 "Page.c" +#line 16397 "Page.c" } @@ -16411,24 +16414,24 @@ GType drag_and_drop_handler_get_type (void) { gpointer drag_and_drop_handler_ref (gpointer instance) { DragAndDropHandler* self; self = instance; -#line 2474 "/home/jens/Source/shotwell/src/Page.vala" +#line 2475 "/home/jens/Source/shotwell/src/Page.vala" g_atomic_int_inc (&self->ref_count); -#line 2474 "/home/jens/Source/shotwell/src/Page.vala" +#line 2475 "/home/jens/Source/shotwell/src/Page.vala" return instance; -#line 16419 "Page.c" +#line 16422 "Page.c" } void drag_and_drop_handler_unref (gpointer instance) { DragAndDropHandler* self; self = instance; -#line 2474 "/home/jens/Source/shotwell/src/Page.vala" +#line 2475 "/home/jens/Source/shotwell/src/Page.vala" if (g_atomic_int_dec_and_test (&self->ref_count)) { -#line 2474 "/home/jens/Source/shotwell/src/Page.vala" +#line 2475 "/home/jens/Source/shotwell/src/Page.vala" DRAG_AND_DROP_HANDLER_GET_CLASS (self)->finalize (self); -#line 2474 "/home/jens/Source/shotwell/src/Page.vala" +#line 2475 "/home/jens/Source/shotwell/src/Page.vala" g_type_free_instance ((GTypeInstance *) self); -#line 16432 "Page.c" +#line 16435 "Page.c" } } diff --git a/src/Page.vala b/src/Page.vala index bdeee6b..7504743 100644 --- a/src/Page.vala +++ b/src/Page.vala @@ -573,6 +573,7 @@ public abstract class Page : Gtk.ScrolledWindow { var ui_resource = Resources.get_ui(ui_filename); try { builder.add_from_resource(ui_resource); + this.menubar_injected = false; } catch (Error err) { AppWindow.error_message("Error loading UI resource %s: %s".printf( ui_resource, err.message)); diff --git a/src/SearchFilter.c b/src/SearchFilter.c index 9e6ede5..a505b2c 100644 --- a/src/SearchFilter.c +++ b/src/SearchFilter.c @@ -7955,7 +7955,7 @@ SearchFilterToolbarSavedSearchFilterButton* search_filter_toolbar_saved_search_f #line 860 "/home/jens/Source/shotwell/src/SearchFilter.vala" gtk_button_set_always_show_image (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_button_get_type (), GtkButton), TRUE); #line 862 "/home/jens/Source/shotwell/src/SearchFilter.vala" - _tmp2_ = (GtkImage*) gtk_image_new_from_icon_name ("find", GTK_ICON_SIZE_SMALL_TOOLBAR); + _tmp2_ = (GtkImage*) gtk_image_new_from_icon_name ("edit-find", GTK_ICON_SIZE_SMALL_TOOLBAR); #line 862 "/home/jens/Source/shotwell/src/SearchFilter.vala" g_object_ref_sink (_tmp2_); #line 862 "/home/jens/Source/shotwell/src/SearchFilter.vala" diff --git a/src/SearchFilter.vala b/src/SearchFilter.vala index e4c1512..04e5593 100644 --- a/src/SearchFilter.vala +++ b/src/SearchFilter.vala @@ -859,7 +859,7 @@ public class SearchFilterToolbar : Gtk.Revealer { button = new Gtk.ToggleButton(); button.set_always_show_image(true); - Gtk.Image? image = new Gtk.Image.from_icon_name("find", Gtk.IconSize.SMALL_TOOLBAR); + Gtk.Image? image = new Gtk.Image.from_icon_name("edit-find", Gtk.IconSize.SMALL_TOOLBAR); image.set_margin_end(6); button.set_image(image); button.set_can_focus(false); diff --git a/src/camera/GPhoto.c b/src/camera/GPhoto.c index 89722c6..e482a97 100644 --- a/src/camera/GPhoto.c +++ b/src/camera/GPhoto.c @@ -26,7 +26,6 @@ #include <fcntl.h> #include <sys/types.h> #include <errno.h> -#include <unistd.h> #include <gobject/gvaluecollector.h> @@ -240,28 +239,28 @@ GQuark gphoto_error_quark (void) { static void _gp_context_wrapper_on_idle_gp_context_idle_func (GPContext* context, gpointer self) { #line 18 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" gp_context_wrapper_on_idle ((GPContextWrapper*) self, context); -#line 244 "GPhoto.c" +#line 243 "GPhoto.c" } static void _gp_context_wrapper_on_error_gp_context_error_func (GPContext* context, const gchar* text, gpointer self) { #line 19 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" gp_context_wrapper_on_error ((GPContextWrapper*) self, context, text); -#line 251 "GPhoto.c" +#line 250 "GPhoto.c" } static void _gp_context_wrapper_on_status_gp_context_status_func (GPContext* context, const gchar* text, gpointer self) { #line 20 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" gp_context_wrapper_on_status ((GPContextWrapper*) self, context, text); -#line 258 "GPhoto.c" +#line 257 "GPhoto.c" } static void _gp_context_wrapper_on_message_gp_context_message_func (GPContext* context, const gchar* text, gpointer self) { #line 21 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" gp_context_wrapper_on_message ((GPContextWrapper*) self, context, text); -#line 265 "GPhoto.c" +#line 264 "GPhoto.c" } @@ -270,21 +269,21 @@ static guint _gp_context_wrapper_on_progress_start_gp_context_progress_start_fun result = gp_context_wrapper_on_progress_start ((GPContextWrapper*) self, context, target, text); #line 22 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" return result; -#line 274 "GPhoto.c" +#line 273 "GPhoto.c" } static void _gp_context_wrapper_on_progress_update_gp_context_progress_update_func (GPContext* context, guint id, gfloat current, gpointer self) { #line 22 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" gp_context_wrapper_on_progress_update ((GPContextWrapper*) self, context, id, current); -#line 281 "GPhoto.c" +#line 280 "GPhoto.c" } static void _gp_context_wrapper_on_progress_stop_gp_context_progress_stop_func (GPContext* context, guint id, gpointer self) { #line 22 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" gp_context_wrapper_on_progress_stop ((GPContextWrapper*) self, context, id); -#line 288 "GPhoto.c" +#line 287 "GPhoto.c" } @@ -319,14 +318,14 @@ GPContextWrapper* gp_context_wrapper_construct (GType object_type) { gp_context_set_progress_funcs (_tmp4_, _gp_context_wrapper_on_progress_start_gp_context_progress_start_func, _gp_context_wrapper_on_progress_update_gp_context_progress_update_func, _gp_context_wrapper_on_progress_stop_gp_context_progress_stop_func, self); #line 17 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" return self; -#line 323 "GPhoto.c" +#line 322 "GPhoto.c" } GPContextWrapper* gp_context_wrapper_new (void) { #line 17 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" return gp_context_wrapper_construct (GP_TYPE_CONTEXT_WRAPPER); -#line 330 "GPhoto.c" +#line 329 "GPhoto.c" } @@ -339,14 +338,14 @@ void gp_context_wrapper_idle (GPContextWrapper* self) { g_return_if_fail (GP_IS_CONTEXT_WRAPPER (self)); #line 25 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" GP_CONTEXT_WRAPPER_GET_CLASS (self)->idle (self); -#line 343 "GPhoto.c" +#line 342 "GPhoto.c" } static void gp_context_wrapper_real_error (GPContextWrapper* self, const gchar* text, void* data) { #line 28 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" g_return_if_fail (text != NULL); -#line 350 "GPhoto.c" +#line 349 "GPhoto.c" } @@ -355,14 +354,14 @@ void gp_context_wrapper_error (GPContextWrapper* self, const gchar* text, void* g_return_if_fail (GP_IS_CONTEXT_WRAPPER (self)); #line 28 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" GP_CONTEXT_WRAPPER_GET_CLASS (self)->error (self, text, data); -#line 359 "GPhoto.c" +#line 358 "GPhoto.c" } static void gp_context_wrapper_real_status (GPContextWrapper* self, const gchar* text, void* data) { #line 31 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" g_return_if_fail (text != NULL); -#line 366 "GPhoto.c" +#line 365 "GPhoto.c" } @@ -371,14 +370,14 @@ void gp_context_wrapper_status (GPContextWrapper* self, const gchar* text, void* g_return_if_fail (GP_IS_CONTEXT_WRAPPER (self)); #line 31 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" GP_CONTEXT_WRAPPER_GET_CLASS (self)->status (self, text, data); -#line 375 "GPhoto.c" +#line 374 "GPhoto.c" } static void gp_context_wrapper_real_message (GPContextWrapper* self, const gchar* text, void* data) { #line 34 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" g_return_if_fail (text != NULL); -#line 382 "GPhoto.c" +#line 381 "GPhoto.c" } @@ -387,14 +386,14 @@ void gp_context_wrapper_message (GPContextWrapper* self, const gchar* text, void g_return_if_fail (GP_IS_CONTEXT_WRAPPER (self)); #line 34 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" GP_CONTEXT_WRAPPER_GET_CLASS (self)->message (self, text, data); -#line 391 "GPhoto.c" +#line 390 "GPhoto.c" } static void gp_context_wrapper_real_progress_start (GPContextWrapper* self, gfloat current, const gchar* text, void* data) { #line 37 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" g_return_if_fail (text != NULL); -#line 398 "GPhoto.c" +#line 397 "GPhoto.c" } @@ -403,7 +402,7 @@ void gp_context_wrapper_progress_start (GPContextWrapper* self, gfloat current, g_return_if_fail (GP_IS_CONTEXT_WRAPPER (self)); #line 37 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" GP_CONTEXT_WRAPPER_GET_CLASS (self)->progress_start (self, current, text, data); -#line 407 "GPhoto.c" +#line 406 "GPhoto.c" } @@ -416,7 +415,7 @@ void gp_context_wrapper_progress_update (GPContextWrapper* self, gfloat current, g_return_if_fail (GP_IS_CONTEXT_WRAPPER (self)); #line 40 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" GP_CONTEXT_WRAPPER_GET_CLASS (self)->progress_update (self, current, data); -#line 420 "GPhoto.c" +#line 419 "GPhoto.c" } @@ -429,7 +428,7 @@ void gp_context_wrapper_progress_stop (GPContextWrapper* self) { g_return_if_fail (GP_IS_CONTEXT_WRAPPER (self)); #line 43 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" GP_CONTEXT_WRAPPER_GET_CLASS (self)->progress_stop (self); -#line 433 "GPhoto.c" +#line 432 "GPhoto.c" } @@ -440,7 +439,7 @@ static void gp_context_wrapper_on_idle (GPContextWrapper* self, GPContext* conte g_return_if_fail (context != NULL); #line 47 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" gp_context_wrapper_idle (self); -#line 444 "GPhoto.c" +#line 443 "GPhoto.c" } @@ -456,7 +455,7 @@ static void gp_context_wrapper_on_error (GPContextWrapper* self, GPContext* cont _tmp0_ = text; #line 51 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" gp_context_wrapper_error (self, _tmp0_, NULL); -#line 460 "GPhoto.c" +#line 459 "GPhoto.c" } @@ -472,7 +471,7 @@ static void gp_context_wrapper_on_status (GPContextWrapper* self, GPContext* con _tmp0_ = text; #line 55 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" gp_context_wrapper_status (self, _tmp0_, NULL); -#line 476 "GPhoto.c" +#line 475 "GPhoto.c" } @@ -488,7 +487,7 @@ static void gp_context_wrapper_on_message (GPContextWrapper* self, GPContext* co _tmp0_ = text; #line 59 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" gp_context_wrapper_message (self, _tmp0_, NULL); -#line 492 "GPhoto.c" +#line 491 "GPhoto.c" } @@ -512,7 +511,7 @@ static guint gp_context_wrapper_on_progress_start (GPContextWrapper* self, GPCon result = (guint) 0; #line 65 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" return result; -#line 516 "GPhoto.c" +#line 515 "GPhoto.c" } @@ -526,7 +525,7 @@ static void gp_context_wrapper_on_progress_update (GPContextWrapper* self, GPCon _tmp0_ = current; #line 69 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" gp_context_wrapper_progress_update (self, _tmp0_, NULL); -#line 530 "GPhoto.c" +#line 529 "GPhoto.c" } @@ -537,14 +536,14 @@ static void gp_context_wrapper_on_progress_stop (GPContextWrapper* self, GPConte g_return_if_fail (context != NULL); #line 73 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" gp_context_wrapper_progress_stop (self); -#line 541 "GPhoto.c" +#line 540 "GPhoto.c" } static void gp_value_context_wrapper_init (GValue* value) { #line 14 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" value->data[0].v_pointer = NULL; -#line 548 "GPhoto.c" +#line 547 "GPhoto.c" } @@ -553,7 +552,7 @@ static void gp_value_context_wrapper_free_value (GValue* value) { if (value->data[0].v_pointer) { #line 14 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" gp_context_wrapper_unref (value->data[0].v_pointer); -#line 557 "GPhoto.c" +#line 556 "GPhoto.c" } } @@ -563,11 +562,11 @@ static void gp_value_context_wrapper_copy_value (const GValue* src_value, GValue if (src_value->data[0].v_pointer) { #line 14 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" dest_value->data[0].v_pointer = gp_context_wrapper_ref (src_value->data[0].v_pointer); -#line 567 "GPhoto.c" +#line 566 "GPhoto.c" } else { #line 14 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" dest_value->data[0].v_pointer = NULL; -#line 571 "GPhoto.c" +#line 570 "GPhoto.c" } } @@ -575,37 +574,37 @@ static void gp_value_context_wrapper_copy_value (const GValue* src_value, GValue static gpointer gp_value_context_wrapper_peek_pointer (const GValue* value) { #line 14 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" return value->data[0].v_pointer; -#line 579 "GPhoto.c" +#line 578 "GPhoto.c" } static gchar* gp_value_context_wrapper_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) { #line 14 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" if (collect_values[0].v_pointer) { -#line 586 "GPhoto.c" +#line 585 "GPhoto.c" GPContextWrapper* object; object = collect_values[0].v_pointer; #line 14 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" if (object->parent_instance.g_class == NULL) { #line 14 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 593 "GPhoto.c" +#line 592 "GPhoto.c" } else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) { #line 14 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" return g_strconcat ("invalid object type `", g_type_name (G_TYPE_FROM_INSTANCE (object)), "' for value type `", G_VALUE_TYPE_NAME (value), "'", NULL); -#line 597 "GPhoto.c" +#line 596 "GPhoto.c" } #line 14 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" value->data[0].v_pointer = gp_context_wrapper_ref (object); -#line 601 "GPhoto.c" +#line 600 "GPhoto.c" } else { #line 14 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" value->data[0].v_pointer = NULL; -#line 605 "GPhoto.c" +#line 604 "GPhoto.c" } #line 14 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" return NULL; -#line 609 "GPhoto.c" +#line 608 "GPhoto.c" } @@ -616,25 +615,25 @@ static gchar* gp_value_context_wrapper_lcopy_value (const GValue* value, guint n if (!object_p) { #line 14 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value)); -#line 620 "GPhoto.c" +#line 619 "GPhoto.c" } #line 14 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" if (!value->data[0].v_pointer) { #line 14 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" *object_p = NULL; -#line 626 "GPhoto.c" +#line 625 "GPhoto.c" } else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) { #line 14 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" *object_p = value->data[0].v_pointer; -#line 630 "GPhoto.c" +#line 629 "GPhoto.c" } else { #line 14 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" *object_p = gp_context_wrapper_ref (value->data[0].v_pointer); -#line 634 "GPhoto.c" +#line 633 "GPhoto.c" } #line 14 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" return NULL; -#line 638 "GPhoto.c" +#line 637 "GPhoto.c" } @@ -648,7 +647,7 @@ GParamSpec* gp_param_spec_context_wrapper (const gchar* name, const gchar* nick, G_PARAM_SPEC (spec)->value_type = object_type; #line 14 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" return G_PARAM_SPEC (spec); -#line 652 "GPhoto.c" +#line 651 "GPhoto.c" } @@ -657,7 +656,7 @@ gpointer gp_value_get_context_wrapper (const GValue* value) { g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, GP_TYPE_CONTEXT_WRAPPER), NULL); #line 14 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" return value->data[0].v_pointer; -#line 661 "GPhoto.c" +#line 660 "GPhoto.c" } @@ -677,17 +676,17 @@ void gp_value_set_context_wrapper (GValue* value, gpointer v_object) { value->data[0].v_pointer = v_object; #line 14 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" gp_context_wrapper_ref (value->data[0].v_pointer); -#line 681 "GPhoto.c" +#line 680 "GPhoto.c" } else { #line 14 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" value->data[0].v_pointer = NULL; -#line 685 "GPhoto.c" +#line 684 "GPhoto.c" } #line 14 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" if (old) { #line 14 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" gp_context_wrapper_unref (old); -#line 691 "GPhoto.c" +#line 690 "GPhoto.c" } } @@ -706,17 +705,17 @@ void gp_value_take_context_wrapper (GValue* value, gpointer v_object) { g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value))); #line 14 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" value->data[0].v_pointer = v_object; -#line 710 "GPhoto.c" +#line 709 "GPhoto.c" } else { #line 14 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" value->data[0].v_pointer = NULL; -#line 714 "GPhoto.c" +#line 713 "GPhoto.c" } #line 14 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" if (old) { #line 14 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" gp_context_wrapper_unref (old); -#line 720 "GPhoto.c" +#line 719 "GPhoto.c" } } @@ -740,7 +739,7 @@ static void gp_context_wrapper_class_init (GPContextWrapperClass * klass) { ((GPContextWrapperClass *) klass)->progress_update = (void (*)(GPContextWrapper*, gfloat, void*)) gp_context_wrapper_real_progress_update; #line 14 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" ((GPContextWrapperClass *) klass)->progress_stop = (void (*)(GPContextWrapper*)) gp_context_wrapper_real_progress_stop; -#line 744 "GPhoto.c" +#line 743 "GPhoto.c" } @@ -752,7 +751,7 @@ static void gp_context_wrapper_instance_init (GPContextWrapper * self) { self->context = _tmp0_; #line 14 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" self->ref_count = 1; -#line 756 "GPhoto.c" +#line 755 "GPhoto.c" } @@ -764,7 +763,7 @@ static void gp_context_wrapper_finalize (GPContextWrapper* obj) { g_signal_handlers_destroy (self); #line 15 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _gp_context_unref0 (self->context); -#line 768 "GPhoto.c" +#line 767 "GPhoto.c" } @@ -789,7 +788,7 @@ gpointer gp_context_wrapper_ref (gpointer instance) { g_atomic_int_inc (&self->ref_count); #line 14 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" return instance; -#line 793 "GPhoto.c" +#line 792 "GPhoto.c" } @@ -802,7 +801,7 @@ void gp_context_wrapper_unref (gpointer instance) { GP_CONTEXT_WRAPPER_GET_CLASS (self)->finalize (self); #line 14 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" g_type_free_instance ((GTypeInstance *) self); -#line 806 "GPhoto.c" +#line 805 "GPhoto.c" } } @@ -813,14 +812,14 @@ GPSpinIdleWrapper* gp_spin_idle_wrapper_construct (GType object_type) { self = (GPSpinIdleWrapper*) gp_context_wrapper_construct (object_type); #line 79 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" return self; -#line 817 "GPhoto.c" +#line 816 "GPhoto.c" } GPSpinIdleWrapper* gp_spin_idle_wrapper_new (void) { #line 79 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" return gp_spin_idle_wrapper_construct (GP_TYPE_SPIN_IDLE_WRAPPER); -#line 824 "GPhoto.c" +#line 823 "GPhoto.c" } @@ -832,7 +831,7 @@ static void gp_spin_idle_wrapper_real_idle (GPContextWrapper* base) { GP_CONTEXT_WRAPPER_CLASS (gp_spin_idle_wrapper_parent_class)->idle (G_TYPE_CHECK_INSTANCE_CAST (self, GP_TYPE_CONTEXT_WRAPPER, GPContextWrapper)); #line 85 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" spin_event_loop (); -#line 836 "GPhoto.c" +#line 835 "GPhoto.c" } @@ -850,7 +849,7 @@ static void gp_spin_idle_wrapper_real_progress_update (GPContextWrapper* base, g GP_CONTEXT_WRAPPER_CLASS (gp_spin_idle_wrapper_parent_class)->progress_update (G_TYPE_CHECK_INSTANCE_CAST (self, GP_TYPE_CONTEXT_WRAPPER, GPContextWrapper), _tmp0_, _tmp1_); #line 91 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" spin_event_loop (); -#line 854 "GPhoto.c" +#line 853 "GPhoto.c" } @@ -861,7 +860,7 @@ static void gp_spin_idle_wrapper_class_init (GPSpinIdleWrapperClass * klass) { ((GPContextWrapperClass *) klass)->idle = (void (*)(GPContextWrapper*)) gp_spin_idle_wrapper_real_idle; #line 78 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" ((GPContextWrapperClass *) klass)->progress_update = (void (*)(GPContextWrapper*, gfloat, void*)) gp_spin_idle_wrapper_real_progress_update; -#line 865 "GPhoto.c" +#line 864 "GPhoto.c" } @@ -915,7 +914,7 @@ gboolean gp_get_info (GPContext* context, Camera* camera, const gchar* folder, c if (_tmp3_ > GP_MAX_BASEDIR_LENGTH) { #line 104 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp0_ = TRUE; -#line 919 "GPhoto.c" +#line 918 "GPhoto.c" } else { const gchar* _tmp4_ = NULL; gint _tmp5_ = 0; @@ -928,11 +927,11 @@ gboolean gp_get_info (GPContext* context, Camera* camera, const gchar* folder, c _tmp6_ = _tmp5_; #line 104 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp0_ = _tmp6_ > GP_MAX_FILENAME_LENGTH; -#line 932 "GPhoto.c" +#line 931 "GPhoto.c" } #line 104 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" if (_tmp0_) { -#line 936 "GPhoto.c" +#line 935 "GPhoto.c" CameraFileInfo _tmp7_ = {0}; #line 105 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" (_vala_info); @@ -944,15 +943,15 @@ gboolean gp_get_info (GPContext* context, Camera* camera, const gchar* folder, c if (info) { #line 107 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" *info = _vala_info; -#line 948 "GPhoto.c" +#line 947 "GPhoto.c" } else { #line 107 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" (_vala_info); -#line 952 "GPhoto.c" +#line 951 "GPhoto.c" } #line 107 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" return result; -#line 956 "GPhoto.c" +#line 955 "GPhoto.c" } #line 110 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp8_ = camera; @@ -974,7 +973,7 @@ gboolean gp_get_info (GPContext* context, Camera* camera, const gchar* folder, c _tmp14_ = res; #line 111 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" if (_tmp14_ != GP_OK) { -#line 978 "GPhoto.c" +#line 977 "GPhoto.c" int _tmp15_ = 0; const gchar* _tmp16_ = NULL; const gchar* _tmp17_ = NULL; @@ -1000,7 +999,7 @@ gboolean gp_get_info (GPContext* context, Camera* camera, const gchar* folder, c g_propagate_error (error, _inner_error_); #line 112 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" return _tmp21_; -#line 1004 "GPhoto.c" +#line 1003 "GPhoto.c" } #line 115 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" result = TRUE; @@ -1008,15 +1007,15 @@ gboolean gp_get_info (GPContext* context, Camera* camera, const gchar* folder, c if (info) { #line 115 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" *info = _vala_info; -#line 1012 "GPhoto.c" +#line 1011 "GPhoto.c" } else { #line 115 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" (_vala_info); -#line 1016 "GPhoto.c" +#line 1015 "GPhoto.c" } #line 115 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" return result; -#line 1020 "GPhoto.c" +#line 1019 "GPhoto.c" } @@ -1049,7 +1048,7 @@ static gchar* string_slice (const gchar* self, glong start, glong end) { _tmp2_ = start; #line 1330 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp2_ < ((glong) 0)) { -#line 1053 "GPhoto.c" +#line 1052 "GPhoto.c" glong _tmp3_ = 0L; glong _tmp4_ = 0L; #line 1331 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" @@ -1058,13 +1057,13 @@ static gchar* string_slice (const gchar* self, glong start, glong end) { _tmp4_ = start; #line 1331 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" start = _tmp3_ + _tmp4_; -#line 1062 "GPhoto.c" +#line 1061 "GPhoto.c" } #line 1333 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp5_ = end; #line 1333 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp5_ < ((glong) 0)) { -#line 1068 "GPhoto.c" +#line 1067 "GPhoto.c" glong _tmp6_ = 0L; glong _tmp7_ = 0L; #line 1334 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" @@ -1073,13 +1072,13 @@ static gchar* string_slice (const gchar* self, glong start, glong end) { _tmp7_ = end; #line 1334 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" end = _tmp6_ + _tmp7_; -#line 1077 "GPhoto.c" +#line 1076 "GPhoto.c" } #line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp9_ = start; #line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp9_ >= ((glong) 0)) { -#line 1083 "GPhoto.c" +#line 1082 "GPhoto.c" glong _tmp10_ = 0L; glong _tmp11_ = 0L; #line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" @@ -1088,11 +1087,11 @@ static gchar* string_slice (const gchar* self, glong start, glong end) { _tmp11_ = string_length; #line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp8_ = _tmp10_ <= _tmp11_; -#line 1092 "GPhoto.c" +#line 1091 "GPhoto.c" } else { #line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp8_ = FALSE; -#line 1096 "GPhoto.c" +#line 1095 "GPhoto.c" } #line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (_tmp8_, NULL); @@ -1100,7 +1099,7 @@ static gchar* string_slice (const gchar* self, glong start, glong end) { _tmp13_ = end; #line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" if (_tmp13_ >= ((glong) 0)) { -#line 1104 "GPhoto.c" +#line 1103 "GPhoto.c" glong _tmp14_ = 0L; glong _tmp15_ = 0L; #line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" @@ -1109,11 +1108,11 @@ static gchar* string_slice (const gchar* self, glong start, glong end) { _tmp15_ = string_length; #line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp12_ = _tmp14_ <= _tmp15_; -#line 1113 "GPhoto.c" +#line 1112 "GPhoto.c" } else { #line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" _tmp12_ = FALSE; -#line 1117 "GPhoto.c" +#line 1116 "GPhoto.c" } #line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" g_return_val_if_fail (_tmp12_, NULL); @@ -1135,7 +1134,7 @@ static gchar* string_slice (const gchar* self, glong start, glong end) { result = _tmp21_; #line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi" return result; -#line 1139 "GPhoto.c" +#line 1138 "GPhoto.c" } @@ -1205,7 +1204,7 @@ PhotoMetadata* gp_get_fallback_metadata (Camera* camera, GPContext* context, con _tmp9_ = g_str_has_prefix (_tmp8_, prefix); #line 133 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" if (_tmp9_) { -#line 1209 "GPhoto.c" +#line 1208 "GPhoto.c" const gchar* _tmp10_ = NULL; gint _tmp11_ = 0; gint _tmp12_ = 0; @@ -1231,7 +1230,7 @@ PhotoMetadata* gp_get_fallback_metadata (Camera* camera, GPContext* context, con _g_free0 (path); #line 134 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" path = _tmp16_; -#line 1235 "GPhoto.c" +#line 1234 "GPhoto.c" } else { #line 136 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" result = NULL; @@ -1243,13 +1242,13 @@ PhotoMetadata* gp_get_fallback_metadata (Camera* camera, GPContext* context, con (port_info); #line 136 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" return result; -#line 1247 "GPhoto.c" +#line 1246 "GPhoto.c" } #line 138 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp17_ = photo_metadata_new (); #line 138 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" metadata = _tmp17_; -#line 1253 "GPhoto.c" +#line 1252 "GPhoto.c" { PhotoMetadata* _tmp18_ = NULL; const gchar* _tmp19_ = NULL; @@ -1299,7 +1298,7 @@ PhotoMetadata* gp_get_fallback_metadata (Camera* camera, GPContext* context, con _g_free0 (_tmp22_); #line 140 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1303 "GPhoto.c" +#line 1302 "GPhoto.c" goto __catch61_g_error; } } @@ -1314,7 +1313,7 @@ PhotoMetadata* gp_get_fallback_metadata (Camera* camera, GPContext* context, con _media_metadata_unref0 (metadata); #line 142 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" metadata = NULL; -#line 1318 "GPhoto.c" +#line 1317 "GPhoto.c" } __finally61: #line 139 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" @@ -1333,7 +1332,7 @@ PhotoMetadata* gp_get_fallback_metadata (Camera* camera, GPContext* context, con g_clear_error (&_inner_error_); #line 139 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" return NULL; -#line 1337 "GPhoto.c" +#line 1336 "GPhoto.c" } #line 145 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" result = metadata; @@ -1345,14 +1344,14 @@ PhotoMetadata* gp_get_fallback_metadata (Camera* camera, GPContext* context, con (port_info); #line 145 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" return result; -#line 1349 "GPhoto.c" +#line 1348 "GPhoto.c" } static guint8* _vala_array_dup23 (guint8* self, int length) { #line 186 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" return g_memdup (self, length * sizeof (guint8)); -#line 1356 "GPhoto.c" +#line 1355 "GPhoto.c" } @@ -1393,7 +1392,7 @@ GdkPixbuf* gp_load_preview (GPContext* context, Camera* camera, const gchar* fol _vala_raw_length1 = 0; #line 151 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _vala_raw_length = (gsize) 0; -#line 1397 "GPhoto.c" +#line 1396 "GPhoto.c" { guint8* _tmp0_ = NULL; GPContext* _tmp1_ = NULL; @@ -1424,7 +1423,7 @@ GdkPixbuf* gp_load_preview (GPContext* context, Camera* camera, const gchar* fol __tmp0__size_ = _tmp0__length1; #line 154 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 1428 "GPhoto.c" +#line 1427 "GPhoto.c" goto __catch62_g_error; } #line 154 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" @@ -1443,7 +1442,7 @@ GdkPixbuf* gp_load_preview (GPContext* context, Camera* camera, const gchar* fol _vala_raw_length1 = _tmp7__length1; #line 153 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp0_ = (g_free (_tmp0_), NULL); -#line 1447 "GPhoto.c" +#line 1446 "GPhoto.c" } goto __finally62; __catch62_g_error: @@ -1498,27 +1497,27 @@ GdkPixbuf* gp_load_preview (GPContext* context, Camera* camera, const gchar* fol if (raw) { #line 158 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" *raw = _vala_raw; -#line 1502 "GPhoto.c" +#line 1501 "GPhoto.c" } else { #line 158 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _vala_raw = (g_free (_vala_raw), NULL); -#line 1506 "GPhoto.c" +#line 1505 "GPhoto.c" } #line 158 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" if (raw_length1) { #line 158 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" *raw_length1 = _vala_raw_length1; -#line 1512 "GPhoto.c" +#line 1511 "GPhoto.c" } #line 158 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" if (raw_length) { #line 158 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" *raw_length = _vala_raw_length; -#line 1518 "GPhoto.c" +#line 1517 "GPhoto.c" } #line 158 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" return result; -#line 1522 "GPhoto.c" +#line 1521 "GPhoto.c" } #line 159 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp14_ = metadata; @@ -1534,27 +1533,27 @@ GdkPixbuf* gp_load_preview (GPContext* context, Camera* camera, const gchar* fol if (raw) { #line 160 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" *raw = _vala_raw; -#line 1538 "GPhoto.c" +#line 1537 "GPhoto.c" } else { #line 160 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _vala_raw = (g_free (_vala_raw), NULL); -#line 1542 "GPhoto.c" +#line 1541 "GPhoto.c" } #line 160 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" if (raw_length1) { #line 160 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" *raw_length1 = _vala_raw_length1; -#line 1548 "GPhoto.c" +#line 1547 "GPhoto.c" } #line 160 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" if (raw_length) { #line 160 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" *raw_length = _vala_raw_length; -#line 1554 "GPhoto.c" +#line 1553 "GPhoto.c" } #line 160 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" return result; -#line 1558 "GPhoto.c" +#line 1557 "GPhoto.c" } #line 161 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp16_ = metadata; @@ -1582,7 +1581,7 @@ GdkPixbuf* gp_load_preview (GPContext* context, Camera* camera, const gchar* fol _photo_preview_unref0 (preview); #line 162 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _media_metadata_unref0 (metadata); -#line 1586 "GPhoto.c" +#line 1585 "GPhoto.c" goto __finally62; } #line 162 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" @@ -1605,7 +1604,7 @@ GdkPixbuf* gp_load_preview (GPContext* context, Camera* camera, const gchar* fol _photo_preview_unref0 (preview); #line 153 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _media_metadata_unref0 (metadata); -#line 1609 "GPhoto.c" +#line 1608 "GPhoto.c" } __finally62: #line 153 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" @@ -1614,7 +1613,7 @@ GdkPixbuf* gp_load_preview (GPContext* context, Camera* camera, const gchar* fol g_propagate_error (error, _inner_error_); #line 153 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" return NULL; -#line 1618 "GPhoto.c" +#line 1617 "GPhoto.c" } #line 165 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp25_ = _vala_raw; @@ -1630,27 +1629,27 @@ GdkPixbuf* gp_load_preview (GPContext* context, Camera* camera, const gchar* fol if (raw) { #line 167 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" *raw = _vala_raw; -#line 1634 "GPhoto.c" +#line 1633 "GPhoto.c" } else { #line 167 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _vala_raw = (g_free (_vala_raw), NULL); -#line 1638 "GPhoto.c" +#line 1637 "GPhoto.c" } #line 167 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" if (raw_length1) { #line 167 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" *raw_length1 = _vala_raw_length1; -#line 1644 "GPhoto.c" +#line 1643 "GPhoto.c" } #line 167 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" if (raw_length) { #line 167 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" *raw_length = _vala_raw_length; -#line 1650 "GPhoto.c" +#line 1649 "GPhoto.c" } #line 167 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" return result; -#line 1654 "GPhoto.c" +#line 1653 "GPhoto.c" } #line 170 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp26_ = _vala_raw; @@ -1662,7 +1661,7 @@ GdkPixbuf* gp_load_preview (GPContext* context, Camera* camera, const gchar* fol _tmp27_ = _vala_raw_length; #line 176 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" if (_tmp27_ > ((gsize) 32)) { -#line 1666 "GPhoto.c" +#line 1665 "GPhoto.c" { gsize i = 0UL; gsize _tmp28_ = 0UL; @@ -1670,14 +1669,14 @@ GdkPixbuf* gp_load_preview (GPContext* context, Camera* camera, const gchar* fol _tmp28_ = _vala_raw_length; #line 177 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" i = _tmp28_ - 2; -#line 1674 "GPhoto.c" +#line 1673 "GPhoto.c" { gboolean _tmp29_ = FALSE; #line 177 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp29_ = TRUE; #line 177 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" while (TRUE) { -#line 1681 "GPhoto.c" +#line 1680 "GPhoto.c" gsize _tmp31_ = 0UL; gsize _tmp32_ = 0UL; gboolean _tmp33_ = FALSE; @@ -1687,13 +1686,13 @@ GdkPixbuf* gp_load_preview (GPContext* context, Camera* camera, const gchar* fol guint8 _tmp36_ = 0U; #line 177 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" if (!_tmp29_) { -#line 1691 "GPhoto.c" +#line 1690 "GPhoto.c" gsize _tmp30_ = 0UL; #line 177 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp30_ = i; #line 177 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" i = _tmp30_ - 1; -#line 1697 "GPhoto.c" +#line 1696 "GPhoto.c" } #line 177 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp29_ = FALSE; @@ -1705,7 +1704,7 @@ GdkPixbuf* gp_load_preview (GPContext* context, Camera* camera, const gchar* fol if (!(_tmp31_ > (_tmp32_ - 32))) { #line 177 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" break; -#line 1709 "GPhoto.c" +#line 1708 "GPhoto.c" } #line 178 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp34_ = _vala_raw; @@ -1717,7 +1716,7 @@ GdkPixbuf* gp_load_preview (GPContext* context, Camera* camera, const gchar* fol _tmp36_ = _tmp34_[_tmp35_]; #line 178 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" if (_tmp36_ == JPEG_MARKER_PREFIX) { -#line 1721 "GPhoto.c" +#line 1720 "GPhoto.c" guint8* _tmp37_ = NULL; gint _tmp37__length1 = 0; gsize _tmp38_ = 0UL; @@ -1732,15 +1731,15 @@ GdkPixbuf* gp_load_preview (GPContext* context, Camera* camera, const gchar* fol _tmp39_ = _tmp37_[_tmp38_ + 1]; #line 178 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp33_ = _tmp39_ == JPEG_MARKER_EOI; -#line 1736 "GPhoto.c" +#line 1735 "GPhoto.c" } else { #line 178 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp33_ = FALSE; -#line 1740 "GPhoto.c" +#line 1739 "GPhoto.c" } #line 178 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" if (_tmp33_) { -#line 1744 "GPhoto.c" +#line 1743 "GPhoto.c" const gchar* _tmp40_ = NULL; gsize _tmp41_ = 0UL; #line 179 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" @@ -1753,7 +1752,7 @@ GdkPixbuf* gp_load_preview (GPContext* context, Camera* camera, const gchar* fol _vala_raw_length = _tmp41_ + 2; #line 181 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" break; -#line 1757 "GPhoto.c" +#line 1756 "GPhoto.c" } } } @@ -1785,7 +1784,7 @@ GdkPixbuf* gp_load_preview (GPContext* context, Camera* camera, const gchar* fol _g_object_unref0 (mins); #line 187 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" return NULL; -#line 1789 "GPhoto.c" +#line 1788 "GPhoto.c" } #line 187 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp48_ = _tmp45_; @@ -1801,27 +1800,27 @@ GdkPixbuf* gp_load_preview (GPContext* context, Camera* camera, const gchar* fol if (raw) { #line 187 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" *raw = _vala_raw; -#line 1805 "GPhoto.c" +#line 1804 "GPhoto.c" } else { #line 187 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _vala_raw = (g_free (_vala_raw), NULL); -#line 1809 "GPhoto.c" +#line 1808 "GPhoto.c" } #line 187 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" if (raw_length1) { #line 187 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" *raw_length1 = _vala_raw_length1; -#line 1815 "GPhoto.c" +#line 1814 "GPhoto.c" } #line 187 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" if (raw_length) { #line 187 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" *raw_length = _vala_raw_length; -#line 1821 "GPhoto.c" +#line 1820 "GPhoto.c" } #line 187 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" return result; -#line 1825 "GPhoto.c" +#line 1824 "GPhoto.c" } @@ -1865,7 +1864,7 @@ GdkPixbuf* gp_load_image (GPContext* context, Camera* camera, const gchar* folde g_propagate_error (error, _inner_error_); #line 192 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" return NULL; -#line 1869 "GPhoto.c" +#line 1868 "GPhoto.c" } #line 193 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp5_ = ins; @@ -1877,7 +1876,7 @@ GdkPixbuf* gp_load_image (GPContext* context, Camera* camera, const gchar* folde _g_object_unref0 (ins); #line 194 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" return result; -#line 1881 "GPhoto.c" +#line 1880 "GPhoto.c" } #line 196 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp7_ = ins; @@ -1893,7 +1892,7 @@ GdkPixbuf* gp_load_image (GPContext* context, Camera* camera, const gchar* folde _g_object_unref0 (ins); #line 196 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" return NULL; -#line 1897 "GPhoto.c" +#line 1896 "GPhoto.c" } #line 196 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp9_ = _tmp6_; @@ -1907,7 +1906,7 @@ GdkPixbuf* gp_load_image (GPContext* context, Camera* camera, const gchar* folde _g_object_unref0 (ins); #line 196 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" return result; -#line 1911 "GPhoto.c" +#line 1910 "GPhoto.c" } @@ -1925,14 +1924,13 @@ void gp_save_image (GPContext* context, Camera* camera, const gchar* folder, con CameraFile* _tmp13_ = NULL; int _tmp14_ = 0; int _tmp15_ = 0; - Camera* _tmp21_ = NULL; + Camera* _tmp20_ = NULL; + const gchar* _tmp21_ = NULL; const gchar* _tmp22_ = NULL; - const gchar* _tmp23_ = NULL; - CameraFile* _tmp24_ = NULL; - GPContext* _tmp25_ = NULL; + CameraFile* _tmp23_ = NULL; + GPContext* _tmp24_ = NULL; + int _tmp25_ = 0; int _tmp26_ = 0; - int _tmp27_ = 0; - gint _tmp35_ = 0; GError * _inner_error_ = NULL; #line 199 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" g_return_if_fail (context != NULL); @@ -1962,7 +1960,7 @@ void gp_save_image (GPContext* context, Camera* camera, const gchar* folder, con _tmp5_ = fd; #line 201 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" if (_tmp5_ < 0) { -#line 1966 "GPhoto.c" +#line 1964 "GPhoto.c" gint _tmp6_ = 0; GFile* _tmp7_ = NULL; gchar* _tmp8_ = NULL; @@ -1989,7 +1987,7 @@ void gp_save_image (GPContext* context, Camera* camera, const gchar* folder, con g_propagate_error (error, _inner_error_); #line 202 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" return; -#line 1993 "GPhoto.c" +#line 1991 "GPhoto.c" } #line 206 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp12_ = fd; @@ -2005,93 +2003,79 @@ void gp_save_image (GPContext* context, Camera* camera, const gchar* folder, con _tmp15_ = res; #line 207 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" if (_tmp15_ != GP_OK) { -#line 2009 "GPhoto.c" - gint _tmp16_ = 0; +#line 2007 "GPhoto.c" + int _tmp16_ = 0; int _tmp17_ = 0; - int _tmp18_ = 0; - const gchar* _tmp19_ = NULL; - GError* _tmp20_ = NULL; + const gchar* _tmp18_ = NULL; + GError* _tmp19_ = NULL; #line 208 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" - _tmp16_ = fd; + _tmp16_ = res; #line 208 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" - close (_tmp16_); -#line 209 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp17_ = res; -#line 209 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" - _tmp18_ = res; -#line 209 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" - _tmp19_ = gp_port_result_as_string (_tmp18_); -#line 209 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" - _tmp20_ = g_error_new (GPHOTO_ERROR, GPHOTO_ERROR_LIBRARY, "[%d] Error allocating camera file: %s", (gint) _tmp17_, _tmp19_); -#line 209 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" - _inner_error_ = _tmp20_; -#line 209 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 208 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" + _tmp18_ = gp_port_result_as_string (_tmp17_); +#line 208 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" + _tmp19_ = g_error_new (GPHOTO_ERROR, GPHOTO_ERROR_LIBRARY, "[%d] Error allocating camera file: %s", (gint) _tmp16_, _tmp18_); +#line 208 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" + _inner_error_ = _tmp19_; +#line 208 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" g_propagate_error (error, _inner_error_); -#line 209 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 208 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _gp_file_unref0 (camera_file); -#line 209 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 208 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" return; -#line 2035 "GPhoto.c" +#line 2028 "GPhoto.c" } +#line 211 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" + _tmp20_ = camera; +#line 211 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" + _tmp21_ = folder; +#line 211 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" + _tmp22_ = filename; +#line 211 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" + _tmp23_ = camera_file; +#line 211 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" + _tmp24_ = context; +#line 211 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" + _tmp25_ = gp_camera_file_get (_tmp20_, _tmp21_, _tmp22_, GP_FILE_TYPE_NORMAL, _tmp23_, _tmp24_); +#line 211 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" + res = _tmp25_; #line 212 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" - _tmp21_ = camera; + _tmp26_ = res; #line 212 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" - _tmp22_ = folder; -#line 212 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" - _tmp23_ = filename; -#line 212 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" - _tmp24_ = camera_file; -#line 212 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" - _tmp25_ = context; -#line 212 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" - _tmp26_ = gp_camera_file_get (_tmp21_, _tmp22_, _tmp23_, GP_FILE_TYPE_NORMAL, _tmp24_, _tmp25_); -#line 212 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" - res = _tmp26_; + if (_tmp26_ != GP_OK) { +#line 2048 "GPhoto.c" + int _tmp27_ = 0; + const gchar* _tmp28_ = NULL; + const gchar* _tmp29_ = NULL; + int _tmp30_ = 0; + const gchar* _tmp31_ = NULL; + GError* _tmp32_ = NULL; #line 213 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" - _tmp27_ = res; + _tmp27_ = res; +#line 213 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" + _tmp28_ = folder; +#line 213 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" + _tmp29_ = filename; +#line 213 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" + _tmp30_ = res; +#line 213 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" + _tmp31_ = gp_port_result_as_string (_tmp30_); +#line 213 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" + _tmp32_ = g_error_new (GPHOTO_ERROR, GPHOTO_ERROR_LIBRARY, "[%d] Error retrieving file object for %s/%s: %s", (gint) _tmp27_, _tmp28_, _tmp29_, _tmp31_); +#line 213 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" + _inner_error_ = _tmp32_; #line 213 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" - if (_tmp27_ != GP_OK) { -#line 2055 "GPhoto.c" - gint _tmp28_ = 0; - int _tmp29_ = 0; - const gchar* _tmp30_ = NULL; - const gchar* _tmp31_ = NULL; - int _tmp32_ = 0; - const gchar* _tmp33_ = NULL; - GError* _tmp34_ = NULL; -#line 214 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" - _tmp28_ = fd; -#line 214 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" - close (_tmp28_); -#line 215 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" - _tmp29_ = res; -#line 215 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" - _tmp30_ = folder; -#line 215 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" - _tmp31_ = filename; -#line 215 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" - _tmp32_ = res; -#line 215 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" - _tmp33_ = gp_port_result_as_string (_tmp32_); -#line 215 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" - _tmp34_ = g_error_new (GPHOTO_ERROR, GPHOTO_ERROR_LIBRARY, "[%d] Error retrieving file object for %s/%s: %s", (gint) _tmp29_, _tmp30_, _tmp31_, _tmp33_); -#line 215 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" - _inner_error_ = _tmp34_; -#line 215 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" g_propagate_error (error, _inner_error_); -#line 215 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 213 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _gp_file_unref0 (camera_file); -#line 215 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 213 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" return; -#line 2087 "GPhoto.c" +#line 2075 "GPhoto.c" } -#line 219 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" - _tmp35_ = fd; -#line 219 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" - close (_tmp35_); #line 199 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _gp_file_unref0 (camera_file); -#line 2095 "GPhoto.c" +#line 2079 "GPhoto.c" } @@ -2109,21 +2093,21 @@ PhotoMetadata* gp_load_metadata (GPContext* context, Camera* camera, const gchar guint8* _tmp18_ = NULL; gint _tmp18__length1 = 0; GError * _inner_error_ = NULL; -#line 222 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 218 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" g_return_val_if_fail (context != NULL, NULL); -#line 222 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 218 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" g_return_val_if_fail (camera != NULL, NULL); -#line 222 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 218 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" g_return_val_if_fail (folder != NULL, NULL); -#line 222 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 218 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" g_return_val_if_fail (filename != NULL, NULL); -#line 224 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 220 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" camera_raw = NULL; -#line 224 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 220 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" camera_raw_length1 = 0; -#line 224 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 220 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _camera_raw_size_ = camera_raw_length1; -#line 2127 "GPhoto.c" +#line 2111 "GPhoto.c" { guint8* _tmp0_ = NULL; GPContext* _tmp1_ = NULL; @@ -2136,46 +2120,46 @@ PhotoMetadata* gp_load_metadata (GPContext* context, Camera* camera, const gchar gint __tmp0__size_ = 0; guint8* _tmp7_ = NULL; gint _tmp7__length1 = 0; -#line 226 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 222 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp1_ = context; -#line 226 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 222 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp2_ = camera; -#line 226 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 222 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp3_ = folder; -#line 226 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 222 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp4_ = filename; -#line 226 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 222 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp6_ = gp_load_file_into_buffer (_tmp1_, _tmp2_, _tmp3_, _tmp4_, GP_FILE_TYPE_EXIF, &_tmp5_, &_inner_error_); -#line 226 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 222 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp0_ = _tmp6_; -#line 226 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 222 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp0__length1 = _tmp5_; -#line 226 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 222 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" __tmp0__size_ = _tmp0__length1; -#line 226 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 222 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 2158 "GPhoto.c" +#line 2142 "GPhoto.c" goto __catch63_g_error; } -#line 226 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 222 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp7_ = _tmp0_; -#line 226 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 222 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp7__length1 = _tmp0__length1; -#line 226 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 222 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp0_ = NULL; -#line 226 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 222 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp0__length1 = 0; -#line 226 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 222 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" camera_raw = (g_free (camera_raw), NULL); -#line 226 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 222 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" camera_raw = _tmp7_; -#line 226 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 222 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" camera_raw_length1 = _tmp7__length1; -#line 226 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 222 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _camera_raw_size_ = camera_raw_length1; -#line 225 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 221 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp0_ = (g_free (_tmp0_), NULL); -#line 2179 "GPhoto.c" +#line 2163 "GPhoto.c" } goto __finally63; __catch63_g_error: @@ -2185,114 +2169,114 @@ PhotoMetadata* gp_load_metadata (GPContext* context, Camera* camera, const gchar const gchar* _tmp10_ = NULL; const gchar* _tmp11_ = NULL; PhotoMetadata* _tmp12_ = NULL; -#line 225 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 221 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" g_clear_error (&_inner_error_); -#line 225 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 221 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _inner_error_ = NULL; -#line 228 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 224 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp8_ = camera; -#line 228 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 224 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp9_ = context; -#line 228 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 224 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp10_ = folder; -#line 228 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 224 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp11_ = filename; -#line 228 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 224 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp12_ = gp_get_fallback_metadata (_tmp8_, _tmp9_, _tmp10_, _tmp11_); -#line 228 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 224 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" result = _tmp12_; -#line 228 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 224 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" camera_raw = (g_free (camera_raw), NULL); -#line 228 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 224 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" return result; -#line 2209 "GPhoto.c" +#line 2193 "GPhoto.c" } __finally63: -#line 225 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 221 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 225 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 221 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" g_propagate_error (error, _inner_error_); -#line 225 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 221 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" camera_raw = (g_free (camera_raw), NULL); -#line 225 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 221 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" return NULL; -#line 2220 "GPhoto.c" +#line 2204 "GPhoto.c" } -#line 231 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 227 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp14_ = camera_raw; -#line 231 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 227 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp14__length1 = camera_raw_length1; -#line 231 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 227 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" if (_tmp14_ == NULL) { -#line 231 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 227 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp13_ = TRUE; -#line 2230 "GPhoto.c" +#line 2214 "GPhoto.c" } else { guint8* _tmp15_ = NULL; gint _tmp15__length1 = 0; -#line 231 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 227 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp15_ = camera_raw; -#line 231 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 227 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp15__length1 = camera_raw_length1; -#line 231 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 227 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp13_ = _tmp15__length1 == 0; -#line 2240 "GPhoto.c" +#line 2224 "GPhoto.c" } -#line 231 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 227 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" if (_tmp13_) { -#line 232 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 228 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" result = NULL; -#line 232 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 228 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" camera_raw = (g_free (camera_raw), NULL); -#line 232 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 228 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" return result; -#line 2250 "GPhoto.c" +#line 2234 "GPhoto.c" } -#line 234 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 230 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp16_ = photo_metadata_new (); -#line 234 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 230 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" metadata = _tmp16_; -#line 235 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 231 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp17_ = metadata; -#line 235 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 231 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp18_ = camera_raw; -#line 235 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 231 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp18__length1 = camera_raw_length1; -#line 235 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 231 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" photo_metadata_read_from_app1_segment (_tmp17_, _tmp18_, _tmp18__length1, 0, &_inner_error_); -#line 235 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 231 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 235 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 231 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" g_propagate_error (error, _inner_error_); -#line 235 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 231 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _media_metadata_unref0 (metadata); -#line 235 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 231 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" camera_raw = (g_free (camera_raw), NULL); -#line 235 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 231 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" return NULL; -#line 2274 "GPhoto.c" +#line 2258 "GPhoto.c" } -#line 237 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 233 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" result = metadata; -#line 237 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 233 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" camera_raw = (g_free (camera_raw), NULL); -#line 237 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 233 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" return result; -#line 2282 "GPhoto.c" +#line 2266 "GPhoto.c" } static guint8* _vala_array_dup24 (guint8* self, int length) { -#line 264 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 260 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" return g_memdup (self, length * sizeof (guint8)); -#line 2289 "GPhoto.c" +#line 2273 "GPhoto.c" } static void _gp_on_mins_destroyed_gdestroy_notify (void* data) { -#line 264 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 260 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" gp_on_mins_destroyed (data); -#line 2296 "GPhoto.c" +#line 2280 "GPhoto.c" } @@ -2331,109 +2315,109 @@ GInputStream* gp_load_file_into_stream (GPContext* context, Camera* camera, cons GFileInputStream* _tmp53_ = NULL; GFileInputStream* _tmp54_ = NULL; GError * _inner_error_ = NULL; -#line 242 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 238 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" g_return_val_if_fail (context != NULL, NULL); -#line 242 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 238 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" g_return_val_if_fail (camera != NULL, NULL); -#line 242 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 238 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" g_return_val_if_fail (folder != NULL, NULL); -#line 242 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 238 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" g_return_val_if_fail (filename != NULL, NULL); -#line 245 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 241 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp1_ = gp_file_new (&_tmp0_); -#line 245 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 241 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _gp_file_unref0 (camera_file); -#line 245 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 241 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" camera_file = _tmp0_; -#line 245 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 241 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" res = _tmp1_; -#line 246 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 242 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp2_ = res; -#line 246 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 242 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" if (_tmp2_ != GP_OK) { -#line 2355 "GPhoto.c" +#line 2339 "GPhoto.c" int _tmp3_ = 0; int _tmp4_ = 0; const gchar* _tmp5_ = NULL; GError* _tmp6_ = NULL; -#line 247 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 243 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp3_ = res; -#line 247 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 243 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp4_ = res; -#line 247 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 243 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp5_ = gp_port_result_as_string (_tmp4_); -#line 247 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 243 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp6_ = g_error_new (GPHOTO_ERROR, GPHOTO_ERROR_LIBRARY, "[%d] Error allocating camera file: %s", (gint) _tmp3_, _tmp5_); -#line 247 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 243 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _inner_error_ = _tmp6_; -#line 247 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 243 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" g_propagate_error (error, _inner_error_); -#line 247 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 243 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _gp_file_unref0 (camera_file); -#line 247 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 243 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" return NULL; -#line 2376 "GPhoto.c" +#line 2360 "GPhoto.c" } -#line 249 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 245 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp7_ = camera; -#line 249 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 245 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp8_ = folder; -#line 249 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 245 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp9_ = filename; -#line 249 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 245 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp10_ = filetype; -#line 249 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 245 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp11_ = context; -#line 249 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 245 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp12_ = gp_camera_file_get (_tmp7_, _tmp8_, _tmp9_, _tmp10_, camera_file, _tmp11_); -#line 249 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 245 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" res = _tmp12_; -#line 250 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 246 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp13_ = res; -#line 250 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 246 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" if (_tmp13_ != GP_OK) { -#line 2396 "GPhoto.c" +#line 2380 "GPhoto.c" int _tmp14_ = 0; const gchar* _tmp15_ = NULL; const gchar* _tmp16_ = NULL; int _tmp17_ = 0; const gchar* _tmp18_ = NULL; GError* _tmp19_ = NULL; -#line 251 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 247 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp14_ = res; -#line 251 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 247 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp15_ = folder; -#line 251 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 247 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp16_ = filename; -#line 251 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 247 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp17_ = res; -#line 251 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 247 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp18_ = gp_port_result_as_string (_tmp17_); -#line 251 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 247 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp19_ = g_error_new (GPHOTO_ERROR, GPHOTO_ERROR_LIBRARY, "[%d] Error retrieving file object for %s/%s: %s", (gint) _tmp14_, _tmp15_, _tmp16_, _tmp18_); -#line 251 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 247 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _inner_error_ = _tmp19_; -#line 251 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 247 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" g_propagate_error (error, _inner_error_); -#line 251 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 247 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _gp_file_unref0 (camera_file); -#line 251 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 247 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" return NULL; -#line 2423 "GPhoto.c" +#line 2407 "GPhoto.c" } -#line 259 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 255 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp22_ = gp_file_get_data_and_size (camera_file, &_tmp20_, &_tmp21_); -#line 259 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 255 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" data = _tmp20_; -#line 259 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 255 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" data_len = _tmp21_; -#line 259 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 255 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" res = _tmp22_; -#line 260 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 256 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp23_ = res; -#line 260 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 256 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" if (_tmp23_ == GP_OK) { -#line 2437 "GPhoto.c" +#line 2421 "GPhoto.c" guint8* buffer = NULL; gulong _tmp24_ = 0UL; guint8* _tmp25_ = NULL; @@ -2449,77 +2433,77 @@ GInputStream* gp_load_file_into_stream (GPContext* context, Camera* camera, cons guint8* _tmp30_ = NULL; gint _tmp30__length1 = 0; GMemoryInputStream* _tmp31_ = NULL; -#line 261 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 257 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp24_ = data_len; -#line 261 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 257 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp25_ = g_new0 (guint8, _tmp24_); -#line 261 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 257 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" buffer = _tmp25_; -#line 261 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 257 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" buffer_length1 = _tmp24_; -#line 261 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 257 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _buffer_size_ = buffer_length1; -#line 262 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 258 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp26_ = buffer; -#line 262 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 258 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp26__length1 = buffer_length1; -#line 262 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 258 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp27_ = data; -#line 262 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 258 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp28_ = buffer; -#line 262 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 258 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp28__length1 = buffer_length1; -#line 262 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 258 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" memcpy (_tmp26_, _tmp27_, (gsize) _tmp28__length1); -#line 264 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 260 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp29_ = buffer; -#line 264 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 260 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp29__length1 = buffer_length1; -#line 264 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 260 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp30_ = (_tmp29_ != NULL) ? _vala_array_dup24 (_tmp29_, _tmp29__length1) : ((gpointer) _tmp29_); -#line 264 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 260 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp30__length1 = _tmp29__length1; -#line 264 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 260 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp31_ = (GMemoryInputStream*) g_memory_input_stream_new_from_data (_tmp30_, _tmp30__length1, _gp_on_mins_destroyed_gdestroy_notify); -#line 264 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 260 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" result = G_TYPE_CHECK_INSTANCE_CAST (_tmp31_, g_input_stream_get_type (), GInputStream); -#line 264 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 260 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" buffer = (g_free (buffer), NULL); -#line 264 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 260 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _gp_file_unref0 (camera_file); -#line 264 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 260 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" return result; -#line 2493 "GPhoto.c" +#line 2477 "GPhoto.c" } -#line 268 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 264 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp32_ = app_dirs_get_temp_dir (); -#line 268 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 264 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp33_ = _tmp32_; -#line 268 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 264 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp34_ = g_file_get_child (_tmp33_, "import.tmp"); -#line 268 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 264 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp35_ = _tmp34_; -#line 268 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 264 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _g_object_unref0 (_tmp33_); -#line 268 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 264 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" temp = _tmp35_; -#line 269 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 265 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp36_ = temp; -#line 269 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 265 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp37_ = g_file_get_path (_tmp36_); -#line 269 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 265 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp38_ = _tmp37_; -#line 269 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 265 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp39_ = gp_file_save (camera_file, _tmp38_); -#line 269 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 265 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" res = _tmp39_; -#line 269 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 265 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _g_free0 (_tmp38_); -#line 270 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 266 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp40_ = res; -#line 270 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 266 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" if (_tmp40_ != GP_OK) { -#line 2523 "GPhoto.c" +#line 2507 "GPhoto.c" int _tmp41_ = 0; const gchar* _tmp42_ = NULL; const gchar* _tmp43_ = NULL; @@ -2530,83 +2514,83 @@ GInputStream* gp_load_file_into_stream (GPContext* context, Camera* camera, cons const gchar* _tmp48_ = NULL; GError* _tmp49_ = NULL; GError* _tmp50_ = NULL; -#line 271 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 267 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp41_ = res; -#line 271 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 267 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp42_ = folder; -#line 271 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 267 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp43_ = filename; -#line 271 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 267 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp44_ = temp; -#line 271 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 267 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp45_ = g_file_get_path (_tmp44_); -#line 271 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 267 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp46_ = _tmp45_; -#line 271 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 267 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp47_ = res; -#line 271 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 267 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp48_ = gp_port_result_as_string (_tmp47_); -#line 271 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 267 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp49_ = g_error_new (GPHOTO_ERROR, GPHOTO_ERROR_LIBRARY, "[%d] Error copying file %s/%s to %s: %s", (gint) _tmp41_, _tmp42_, _tmp43_, _tmp46_, _tmp48_); -#line 271 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 267 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp50_ = _tmp49_; -#line 271 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 267 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _g_free0 (_tmp46_); -#line 271 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 267 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _inner_error_ = _tmp50_; -#line 271 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 267 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" g_propagate_error (error, _inner_error_); -#line 271 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 267 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _g_object_unref0 (temp); -#line 271 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 267 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _gp_file_unref0 (camera_file); -#line 271 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 267 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" return NULL; -#line 2566 "GPhoto.c" +#line 2550 "GPhoto.c" } -#line 274 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 270 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp52_ = temp; -#line 274 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 270 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp53_ = g_file_read (_tmp52_, NULL, &_inner_error_); -#line 274 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 270 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp51_ = _tmp53_; -#line 274 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 270 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" if (G_UNLIKELY (_inner_error_ != NULL)) { -#line 274 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 270 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" g_propagate_error (error, _inner_error_); -#line 274 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 270 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _g_object_unref0 (temp); -#line 274 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 270 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _gp_file_unref0 (camera_file); -#line 274 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 270 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" return NULL; -#line 2584 "GPhoto.c" +#line 2568 "GPhoto.c" } -#line 274 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 270 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp54_ = _tmp51_; -#line 274 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 270 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp51_ = NULL; -#line 274 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 270 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" result = G_TYPE_CHECK_INSTANCE_CAST (_tmp54_, g_input_stream_get_type (), GInputStream); -#line 274 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 270 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _g_object_unref0 (_tmp51_); -#line 274 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 270 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _g_object_unref0 (temp); -#line 274 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 270 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _gp_file_unref0 (camera_file); -#line 274 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 270 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" return result; -#line 2600 "GPhoto.c" +#line 2584 "GPhoto.c" } void gp_on_mins_destroyed (void* data) { void* _tmp0_ = NULL; -#line 278 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 274 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp0_ = data; -#line 278 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 274 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" g_free (_tmp0_); -#line 2610 "GPhoto.c" +#line 2594 "GPhoto.c" } @@ -2645,172 +2629,172 @@ guint8* gp_load_file_into_buffer (GPContext* context, Camera* camera, const gcha guint8* _tmp32_ = NULL; gint _tmp32__length1 = 0; GError * _inner_error_ = NULL; -#line 282 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 278 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" g_return_val_if_fail (context != NULL, NULL); -#line 282 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 278 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" g_return_val_if_fail (camera != NULL, NULL); -#line 282 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 278 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" g_return_val_if_fail (folder != NULL, NULL); -#line 282 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 278 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" g_return_val_if_fail (filename != NULL, NULL); -#line 285 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 281 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp1_ = gp_file_new (&_tmp0_); -#line 285 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 281 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _gp_file_unref0 (camera_file); -#line 285 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 281 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" camera_file = _tmp0_; -#line 285 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 281 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" res = _tmp1_; -#line 286 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 282 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp2_ = res; -#line 286 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 282 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" if (_tmp2_ != GP_OK) { -#line 2669 "GPhoto.c" +#line 2653 "GPhoto.c" int _tmp3_ = 0; int _tmp4_ = 0; const gchar* _tmp5_ = NULL; GError* _tmp6_ = NULL; -#line 287 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 283 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp3_ = res; -#line 287 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 283 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp4_ = res; -#line 287 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 283 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp5_ = gp_port_result_as_string (_tmp4_); -#line 287 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 283 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp6_ = g_error_new (GPHOTO_ERROR, GPHOTO_ERROR_LIBRARY, "[%d] Error allocating camera file: %s", (gint) _tmp3_, _tmp5_); -#line 287 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 283 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _inner_error_ = _tmp6_; -#line 287 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 283 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" g_propagate_error (error, _inner_error_); -#line 287 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 283 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _gp_file_unref0 (camera_file); -#line 287 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 283 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" return NULL; -#line 2690 "GPhoto.c" +#line 2674 "GPhoto.c" } -#line 289 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 285 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp7_ = camera; -#line 289 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 285 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp8_ = folder; -#line 289 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 285 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp9_ = filename; -#line 289 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 285 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp10_ = filetype; -#line 289 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 285 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp11_ = camera_file; -#line 289 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 285 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp12_ = context; -#line 289 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 285 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp13_ = gp_camera_file_get (_tmp7_, _tmp8_, _tmp9_, _tmp10_, _tmp11_, _tmp12_); -#line 289 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 285 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" res = _tmp13_; -#line 290 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 286 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp14_ = res; -#line 290 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 286 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" if (_tmp14_ != GP_OK) { -#line 2712 "GPhoto.c" +#line 2696 "GPhoto.c" int _tmp15_ = 0; const gchar* _tmp16_ = NULL; const gchar* _tmp17_ = NULL; int _tmp18_ = 0; const gchar* _tmp19_ = NULL; GError* _tmp20_ = NULL; -#line 291 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 287 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp15_ = res; -#line 291 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 287 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp16_ = folder; -#line 291 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 287 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp17_ = filename; -#line 291 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 287 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp18_ = res; -#line 291 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 287 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp19_ = gp_port_result_as_string (_tmp18_); -#line 291 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 287 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp20_ = g_error_new (GPHOTO_ERROR, GPHOTO_ERROR_LIBRARY, "[%d] Error retrieving file object for %s/%s: %s", (gint) _tmp15_, _tmp16_, _tmp17_, _tmp19_); -#line 291 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 287 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _inner_error_ = _tmp20_; -#line 291 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 287 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" g_propagate_error (error, _inner_error_); -#line 291 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 287 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _gp_file_unref0 (camera_file); -#line 291 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 287 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" return NULL; -#line 2739 "GPhoto.c" +#line 2723 "GPhoto.c" } -#line 298 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 294 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp21_ = camera_file; -#line 298 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 294 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp24_ = gp_file_get_data_and_size (_tmp21_, &_tmp22_, &_tmp23_); -#line 298 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 294 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" data = _tmp22_; -#line 298 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 294 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" data_len = _tmp23_; -#line 298 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 294 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" res = _tmp24_; -#line 299 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 295 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp25_ = res; -#line 299 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 295 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" if (_tmp25_ != GP_OK) { -#line 2755 "GPhoto.c" +#line 2739 "GPhoto.c" guint8* _tmp26_ = NULL; gint _tmp26__length1 = 0; -#line 300 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 296 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp26_ = NULL; -#line 300 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 296 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp26__length1 = 0; -#line 300 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 296 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" if (result_length1) { -#line 300 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 296 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" *result_length1 = _tmp26__length1; -#line 2766 "GPhoto.c" +#line 2750 "GPhoto.c" } -#line 300 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 296 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" result = _tmp26_; -#line 300 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 296 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _gp_file_unref0 (camera_file); -#line 300 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 296 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" return result; -#line 2774 "GPhoto.c" +#line 2758 "GPhoto.c" } -#line 302 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 298 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp27_ = data_len; -#line 302 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 298 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp28_ = g_new0 (guint8, _tmp27_); -#line 302 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 298 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" buffer = _tmp28_; -#line 302 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 298 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" buffer_length1 = _tmp27_; -#line 302 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 298 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _buffer_size_ = buffer_length1; -#line 303 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 299 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp29_ = buffer; -#line 303 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 299 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp29__length1 = buffer_length1; -#line 303 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 299 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp30_ = data; -#line 303 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 299 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp31_ = buffer; -#line 303 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 299 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp31__length1 = buffer_length1; -#line 303 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 299 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" memcpy (_tmp29_, _tmp30_, (gsize) _tmp31__length1); -#line 305 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 301 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp32_ = buffer; -#line 305 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 301 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _tmp32__length1 = buffer_length1; -#line 305 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 301 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" if (result_length1) { -#line 305 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 301 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" *result_length1 = _tmp32__length1; -#line 2806 "GPhoto.c" +#line 2790 "GPhoto.c" } -#line 305 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 301 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" result = _tmp32_; -#line 305 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 301 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" _gp_file_unref0 (camera_file); -#line 305 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" +#line 301 "/home/jens/Source/shotwell/src/camera/GPhoto.vala" return result; -#line 2814 "GPhoto.c" +#line 2798 "GPhoto.c" } diff --git a/src/camera/GPhoto.vala b/src/camera/GPhoto.vala index 5acc4a3..5919080 100644 --- a/src/camera/GPhoto.vala +++ b/src/camera/GPhoto.vala @@ -205,18 +205,14 @@ namespace GPhoto { GPhoto.CameraFile camera_file; GPhoto.Result res = GPhoto.CameraFile.create_from_fd(out camera_file, fd); if (res != Result.OK) { - Posix.close(fd); throw new GPhotoError.LIBRARY("[%d] Error allocating camera file: %s", (int) res, res.as_string()); } res = camera.get_file(folder, filename, GPhoto.CameraFileType.NORMAL, camera_file, context); if (res != Result.OK) { - Posix.close(fd); throw new GPhotoError.LIBRARY("[%d] Error retrieving file object for %s/%s: %s", (int) res, folder, filename, res.as_string()); } - - Posix.close(fd); } public PhotoMetadata? load_metadata(Context context, Camera camera, string folder, string filename) diff --git a/src/searches/Branch.c b/src/searches/Branch.c index cce6434..2da9433 100644 --- a/src/searches/Branch.c +++ b/src/searches/Branch.c @@ -1447,7 +1447,7 @@ static void searches_sidebar_entry_class_init (SearchesSidebarEntryClass * klass #line 90 "/home/jens/Source/shotwell/src/searches/Branch.vala" G_OBJECT_CLASS (klass)->finalize = searches_sidebar_entry_finalize; #line 92 "/home/jens/Source/shotwell/src/searches/Branch.vala" - _tmp0_ = g_strdup ("find"); + _tmp0_ = g_strdup ("edit-find"); #line 92 "/home/jens/Source/shotwell/src/searches/Branch.vala" searches_sidebar_entry_single_search_icon = _tmp0_; #line 1454 "Branch.c" diff --git a/src/searches/Branch.vala b/src/searches/Branch.vala index 1c4ee90..3b54acf 100644 --- a/src/searches/Branch.vala +++ b/src/searches/Branch.vala @@ -89,7 +89,7 @@ public class Searches.Header : Sidebar.Header, Sidebar.Contextable { public class Searches.SidebarEntry : Sidebar.SimplePageEntry, Sidebar.RenameableEntry, Sidebar.DestroyableEntry { - private static string single_search_icon = "find"; + private static string single_search_icon = "edit-find"; private SavedSearch search; diff --git a/ui/Makefile.in b/ui/Makefile.in index fca2df5..2880e3f 100644 --- a/ui/Makefile.in +++ b/ui/Makefile.in @@ -90,7 +90,8 @@ build_triplet = @build@ host_triplet = @host@ subdir = ui ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 -am__aclocal_m4_deps = $(top_srcdir)/m4/ax_generate_changelog.m4 \ +am__aclocal_m4_deps = $(top_srcdir)/m4/appstream-xml.m4 \ + $(top_srcdir)/m4/ax_generate_changelog.m4 \ $(top_srcdir)/m4/ax_is_release.m4 \ $(top_srcdir)/m4/ax_require_defined.m4 \ $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/gsettings.m4 \ @@ -269,7 +270,7 @@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ -appdataxmldir = @appdataxmldir@ +appstreamxmldir = @appstreamxmldir@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ |