summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog461
-rw-r--r--Makefile.in233
-rw-r--r--NEWS49
-rw-r--r--README11
-rwxr-xr-xconfigure24
-rw-r--r--configure.ac4
-rw-r--r--help/es/edit-date-time.page4
-rw-r--r--help/es/edit-external.page18
-rw-r--r--help/es/edit-nondestructive.page7
-rw-r--r--help/es/edit-redeye.page6
-rw-r--r--help/es/edit-rotate.page4
-rw-r--r--help/es/edit-straighten.page4
-rw-r--r--help/es/edit-undo.page4
-rw-r--r--help/es/es.po6248
-rw-r--r--help/es/formats.page20
-rw-r--r--help/es/import-camera.page4
-rw-r--r--help/es/import-f-spot.page6
-rw-r--r--help/es/import-file.page8
-rw-r--r--help/es/import-memorycard.page4
-rw-r--r--help/es/organize-event.page22
-rw-r--r--help/es/organize-flag.page4
-rw-r--r--org.gnome.Shotwell.gresource.xml13
-rw-r--r--plugins/common/BuilderPane.c2
-rw-r--r--plugins/common/RESTSupport.c200
-rw-r--r--plugins/common/Resources.c2
-rw-r--r--plugins/common/WebAuthenticationPane.c2
-rw-r--r--plugins/shotwell-data-imports/FSpotDatabase.c2
-rw-r--r--plugins/shotwell-data-imports/FSpotDatabaseBehavior.c2
-rw-r--r--plugins/shotwell-data-imports/FSpotDatabaseTable.c256
-rw-r--r--plugins/shotwell-data-imports/FSpotImporter.c212
-rw-r--r--plugins/shotwell-data-imports/FSpotMetaTable.c266
-rw-r--r--plugins/shotwell-data-imports/FSpotPhotoTagsTable.c2
-rw-r--r--plugins/shotwell-data-imports/FSpotPhotoVersionsTable.c2
-rw-r--r--plugins/shotwell-data-imports/FSpotPhotosTable.c2
-rw-r--r--plugins/shotwell-data-imports/FSpotRollsTable.c2
-rw-r--r--plugins/shotwell-data-imports/FSpotTableBehavior.c2
-rw-r--r--plugins/shotwell-data-imports/FSpotTagsTable.c2
-rw-r--r--plugins/shotwell-data-imports/SqliteSupport.c2
-rw-r--r--plugins/shotwell-data-imports/VersionNumber.c256
-rw-r--r--plugins/shotwell-data-imports/shotwell-data-imports.c2
-rw-r--r--plugins/shotwell-plugin-common.h2
-rw-r--r--plugins/shotwell-plugin-common.vapi2
-rw-r--r--plugins/shotwell-plugin-dev-1.0.h2
-rw-r--r--plugins/shotwell-plugin-dev-1.0.vapi2
-rw-r--r--plugins/shotwell-publishing-extras/GalleryConnector.c508
-rw-r--r--plugins/shotwell-publishing-extras/RajcePublishing.c16
-rw-r--r--plugins/shotwell-publishing-extras/TumblrPublishing.c470
-rw-r--r--plugins/shotwell-publishing-extras/YandexPublishing.c48
-rw-r--r--plugins/shotwell-publishing-extras/shotwell-publishing-extras.c2
-rw-r--r--plugins/shotwell-publishing/FacebookPublishing.c226
-rw-r--r--plugins/shotwell-publishing/FlickrPublishing.c116
-rw-r--r--plugins/shotwell-publishing/PicasaPublishing.c484
-rw-r--r--plugins/shotwell-publishing/PiwigoPublishing.c270
-rw-r--r--plugins/shotwell-publishing/YouTubePublishing.c34
-rw-r--r--plugins/shotwell-publishing/shotwell-publishing.c2
-rw-r--r--plugins/shotwell-transitions/BlindsEffect.c2
-rw-r--r--plugins/shotwell-transitions/ChessEffect.c2
-rw-r--r--plugins/shotwell-transitions/CircleEffect.c2
-rw-r--r--plugins/shotwell-transitions/CirclesEffect.c2
-rw-r--r--plugins/shotwell-transitions/ClockEffect.c2
-rw-r--r--plugins/shotwell-transitions/CrumbleEffect.c2
-rw-r--r--plugins/shotwell-transitions/FadeEffect.c2
-rw-r--r--plugins/shotwell-transitions/SlideEffect.c2
-rw-r--r--plugins/shotwell-transitions/SquaresEffect.c2
-rw-r--r--plugins/shotwell-transitions/StripesEffect.c2
-rw-r--r--plugins/shotwell-transitions/shotwell-transitions.c2
-rw-r--r--po/POTFILES.in1
-rw-r--r--po/cs.gmobin127736 -> 127319 bytes
-rw-r--r--po/cs.po686
-rw-r--r--po/da.gmobin77388 -> 119051 bytes
-rw-r--r--po/da.po7265
-rw-r--r--po/de.gmobin128320 -> 125479 bytes
-rw-r--r--po/de.po2247
-rw-r--r--po/hr.gmobin54126 -> 83280 bytes
-rw-r--r--po/hr.po5817
-rw-r--r--po/hu.gmobin129446 -> 126451 bytes
-rw-r--r--po/hu.po2181
-rw-r--r--po/pl.gmobin129986 -> 129984 bytes
-rw-r--r--po/pl.po495
-rw-r--r--po/shotwell.pot704
-rw-r--r--shotwell.am19
-rw-r--r--src/.unitize/_CameraInternals.c2
-rw-r--r--src/.unitize/_ConfigInternals.c2
-rw-r--r--src/.unitize/_CoreInternals.c2
-rw-r--r--src/.unitize/_DataImportsInternals.c2
-rw-r--r--src/.unitize/_DbInternals.c2
-rw-r--r--src/.unitize/_DirectInternals.c2
-rw-r--r--src/.unitize/_Direct_unitize_entry.c2
-rw-r--r--src/.unitize/_EditingToolsInternals.c2
-rw-r--r--src/.unitize/_EventsInternals.c2
-rw-r--r--src/.unitize/_FoldersInternals.c2
-rw-r--r--src/.unitize/_LibraryInternals.c2
-rw-r--r--src/.unitize/_Library_unitize_entry.c2
-rw-r--r--src/.unitize/_PhotosInternals.c2
-rw-r--r--src/.unitize/_PluginsInternals.c2
-rw-r--r--src/.unitize/_PublishingInternals.c2
-rw-r--r--src/.unitize/_SearchesInternals.c2
-rw-r--r--src/.unitize/_SidebarInternals.c2
-rw-r--r--src/.unitize/_SlideshowInternals.c2
-rw-r--r--src/.unitize/_TagsInternals.c2
-rw-r--r--src/.unitize/_ThreadsInternals.c2
-rw-r--r--src/.unitize/_UnitInternals.c2
-rw-r--r--src/.unitize/_UtilInternals.c2
-rw-r--r--src/AppDirs.c84
-rw-r--r--src/AppWindow.c2658
-rw-r--r--src/AppWindow.vala68
-rw-r--r--src/Application.c480
-rw-r--r--src/Application.vala4
-rw-r--r--src/BatchImport.c8
-rw-r--r--src/Box.c2
-rw-r--r--src/CheckerboardLayout.c194
-rw-r--r--src/CollectionPage.c2933
-rw-r--r--src/CollectionPage.vala8
-rw-r--r--src/ColorTransformation.c30
-rw-r--r--src/CommandManager.c2
-rw-r--r--src/Commands.c234
-rw-r--r--src/CustomComponents.c2
-rw-r--r--src/Debug.c36
-rw-r--r--src/DesktopIntegration.c54
-rw-r--r--src/Dialogs.c9921
-rw-r--r--src/Dialogs.vala142
-rw-r--r--src/Dimensions.c2
-rw-r--r--src/DirectoryMonitor.c96
-rw-r--r--src/Event.c328
-rw-r--r--src/Exporter.c20
-rw-r--r--src/International.c2
-rw-r--r--src/LibraryFiles.c58
-rw-r--r--src/LibraryMonitor.c56
-rw-r--r--src/MediaDataRepresentation.c50
-rw-r--r--src/MediaInterfaces.c24
-rw-r--r--src/MediaMetadata.c40
-rw-r--r--src/MediaMonitor.c12
-rw-r--r--src/MediaPage.c1656
-rw-r--r--src/MediaPage.vala25
-rw-r--r--src/MediaViewTracker.c2
-rw-r--r--src/MetadataWriter.c46
-rw-r--r--src/NaturalCollate.c148
-rw-r--r--src/Orientation.c2
-rw-r--r--src/Page.c11550
-rw-r--r--src/Page.vala50
-rw-r--r--src/Photo.c120
-rw-r--r--src/PhotoMonitor.c70
-rw-r--r--src/PhotoPage.c3981
-rw-r--r--src/PhotoPage.vala23
-rw-r--r--src/PixbufCache.c22
-rw-r--r--src/Printing.c52
-rw-r--r--src/Properties.c250
-rw-r--r--src/Resources.c1861
-rw-r--r--src/Resources.vala69
-rw-r--r--src/Screensaver.c2
-rw-r--r--src/SearchFilter.c1675
-rw-r--r--src/SearchFilter.vala26
-rw-r--r--src/SlideshowPage.c10
-rw-r--r--src/SortedList.c6
-rw-r--r--src/Tag.c194
-rw-r--r--src/Thumbnail.c2
-rw-r--r--src/ThumbnailCache.c4
-rw-r--r--src/TimedQueue.c2
-rw-r--r--src/Tombstone.c52
-rw-r--r--src/UnityProgressBar.c2
-rw-r--r--src/Upgrades.c20
-rw-r--r--src/VideoMetadata.c232
-rw-r--r--src/VideoMonitor.c2
-rw-r--r--src/VideoSupport.c328
-rw-r--r--src/camera/Branch.c2
-rw-r--r--src/camera/Camera.c2
-rw-r--r--src/camera/CameraTable.c184
-rw-r--r--src/camera/GPhoto.c82
-rw-r--r--src/camera/ImportPage.c1067
-rw-r--r--src/camera/ImportPage.vala6
-rw-r--r--src/config/Config.c2
-rw-r--r--src/config/ConfigurationInterfaces.c40
-rw-r--r--src/config/GSettingsEngine.c198
-rw-r--r--src/core/Alteration.c16
-rw-r--r--src/core/ContainerSourceCollection.c2
-rw-r--r--src/core/Core.c2
-rw-r--r--src/core/DataCollection.c2
-rw-r--r--src/core/DataObject.c2
-rw-r--r--src/core/DataSet.c2
-rw-r--r--src/core/DataSource.c38
-rw-r--r--src/core/DataSourceTypes.c2
-rw-r--r--src/core/DataView.c2
-rw-r--r--src/core/DataViewTypes.c2
-rw-r--r--src/core/DatabaseSourceCollection.c2
-rw-r--r--src/core/SourceCollection.c2
-rw-r--r--src/core/SourceHoldingTank.c2
-rw-r--r--src/core/SourceInterfaces.c2
-rw-r--r--src/core/Tracker.c2
-rw-r--r--src/core/ViewCollection.c2
-rw-r--r--src/core/util.c2
-rw-r--r--src/data_imports/DataImportJob.c2
-rw-r--r--src/data_imports/DataImportSource.c2
-rw-r--r--src/data_imports/DataImports.c2
-rw-r--r--src/data_imports/DataImportsPluginHost.c2
-rw-r--r--src/data_imports/DataImportsUI.c2
-rw-r--r--src/db/DatabaseTable.c42
-rw-r--r--src/db/Db.c2
-rw-r--r--src/db/EventTable.c2
-rw-r--r--src/db/PhotoTable.c2
-rw-r--r--src/db/SavedSearchDBTable.c2
-rw-r--r--src/db/TagTable.c92
-rw-r--r--src/db/TombstoneTable.c2
-rw-r--r--src/db/VersionTable.c2
-rw-r--r--src/db/VideoTable.c2
-rw-r--r--src/direct/Direct.c2
-rw-r--r--src/direct/DirectPhoto.c4
-rw-r--r--src/direct/DirectPhotoPage.c4
-rw-r--r--src/direct/DirectPhotoPage.vala2
-rw-r--r--src/direct/DirectView.c2
-rw-r--r--src/direct/DirectWindow.c338
-rw-r--r--src/direct/DirectWindow.vala2
-rw-r--r--src/editing_tools/EditingTools.c13225
-rw-r--r--src/editing_tools/EditingTools.vala5
-rw-r--r--src/editing_tools/StraightenTool.c2
-rw-r--r--src/events/Branch.c40
-rw-r--r--src/events/EventDirectoryItem.c2
-rw-r--r--src/events/EventPage.c2
-rw-r--r--src/events/Events.c2
-rw-r--r--src/events/EventsDirectoryPage.c253
-rw-r--r--src/events/EventsDirectoryPage.vala4
-rw-r--r--src/folders/Branch.c8
-rw-r--r--src/folders/Folders.c2
-rw-r--r--src/folders/Page.c2
-rw-r--r--src/library/Branch.c2
-rw-r--r--src/library/FlaggedPage.c2
-rw-r--r--src/library/FlaggedSidebarEntry.c2
-rw-r--r--src/library/ImportQueuePage.c2
-rw-r--r--src/library/ImportQueueSidebarEntry.c2
-rw-r--r--src/library/LastImportPage.c2
-rw-r--r--src/library/LastImportSidebarEntry.c2
-rw-r--r--src/library/Library.c2
-rw-r--r--src/library/LibraryWindow.c4562
-rw-r--r--src/library/LibraryWindow.vala33
-rw-r--r--src/library/OfflinePage.c2
-rw-r--r--src/library/OfflineSidebarEntry.c2
-rw-r--r--src/library/TrashPage.c2
-rw-r--r--src/library/TrashSidebarEntry.c2
-rw-r--r--src/main.c14
-rw-r--r--src/org.gnome.Shotwell.gresource.xml10
-rw-r--r--src/photos/BmpSupport.c4
-rw-r--r--src/photos/GRaw.c4
-rw-r--r--src/photos/GdkSupport.c6
-rw-r--r--src/photos/JfifSupport.c4
-rw-r--r--src/photos/PhotoFileAdapter.c2
-rw-r--r--src/photos/PhotoFileFormat.c2
-rw-r--r--src/photos/PhotoFileSniffer.c2
-rw-r--r--src/photos/PhotoMetadata.c212
-rw-r--r--src/photos/Photos.c2
-rw-r--r--src/photos/PngSupport.c4
-rw-r--r--src/photos/RawSupport.c2
-rw-r--r--src/photos/TiffSupport.c4
-rw-r--r--src/plugins/DataImportsInterfaces.c2
-rw-r--r--src/plugins/ManifestWidget.c20
-rw-r--r--src/plugins/Plugins.c2
-rw-r--r--src/plugins/PublishingInterfaces.c2
-rw-r--r--src/plugins/SpitInterfaces.c2
-rw-r--r--src/plugins/StandardHostInterface.c2
-rw-r--r--src/plugins/TransitionsInterfaces.c10
-rw-r--r--src/publishing/APIGlue.c2
-rw-r--r--src/publishing/Publishing.c2
-rw-r--r--src/publishing/PublishingPluginHost.c2
-rw-r--r--src/publishing/PublishingUI.c6
-rw-r--r--src/publishing/PublishingUI.vala4
-rw-r--r--src/searches/Branch.c2
-rw-r--r--src/searches/SavedSearchDialog.c16
-rw-r--r--src/searches/SavedSearchPage.c2
-rw-r--r--src/searches/SearchBoolean.c14
-rw-r--r--src/searches/Searches.c2
-rw-r--r--src/sidebar/Branch.c2
-rw-r--r--src/sidebar/Entry.c2
-rw-r--r--src/sidebar/Sidebar.c2
-rw-r--r--src/sidebar/Tree.c2
-rw-r--r--src/sidebar/common.c2
-rw-r--r--src/slideshow/Slideshow.c2
-rw-r--r--src/slideshow/TransitionEffects.c2
-rw-r--r--src/tags/Branch.c114
-rw-r--r--src/tags/HierarchicalTagIndex.c2
-rw-r--r--src/tags/HierarchicalTagUtilities.c448
-rw-r--r--src/tags/TagPage.c2
-rw-r--r--src/tags/Tags.c2
-rw-r--r--src/threads/BackgroundJob.c2
-rw-r--r--src/threads/Semaphore.c2
-rw-r--r--src/threads/Threads.c2
-rw-r--r--src/threads/Workers.c2
-rw-r--r--src/unit/Unit.c2
-rw-r--r--src/util/KeyValueMap.c58
-rw-r--r--src/util/Util.c2
-rw-r--r--src/util/file.c104
-rw-r--r--src/util/image.c1314
-rw-r--r--src/util/image.vala8
-rw-r--r--src/util/misc.c548
-rw-r--r--src/util/misc.vala15
-rw-r--r--src/util/string.c268
-rw-r--r--src/util/system.c2
-rw-r--r--src/util/ui.c2
-rw-r--r--thumbnailer/shotwell-video-thumbnailer.c2
-rw-r--r--ui/Makefile.am8
-rw-r--r--ui/Makefile.in13
-rw-r--r--ui/appmenu.ui67
-rw-r--r--ui/direct.ui31
-rw-r--r--ui/event.ui30
-rw-r--r--ui/events_directory.ui37
-rw-r--r--ui/import.ui37
-rw-r--r--ui/import_queue.ui13
-rw-r--r--ui/media.ui37
-rw-r--r--ui/offline.ui37
-rw-r--r--ui/photo.ui37
-rw-r--r--ui/set_background_dialog.ui15
-rw-r--r--ui/set_background_slideshow_dialog.ui94
-rw-r--r--ui/shotwell.xml10
-rw-r--r--ui/tags.ui37
-rw-r--r--ui/trash.ui37
312 files changed, 48031 insertions, 46204 deletions
diff --git a/ChangeLog b/ChangeLog
index 4b739a5..8349525 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,465 @@
+commit e2940082c6e44526d9494a13443064f544a597ba
+Author: Jens Georg <mail@jensge.org>
+Date: Mon Dec 12 18:19:56 2016 +0100
+
+ Prepare 0.25.2
+
+ Signed-off-by: Jens Georg <mail@jensge.org>
+
+M NEWS
+M configure.ac
+M debian/changelog
+
+commit 1b117dcf0161697a137e955727ef868f1bee9f2f
+Author: Marina Prado <mapraro93@hotmail.com>
+Date: Mon Dec 12 15:12:25 2016 +0000
+
+ Update Spanish translation
+
+M help/es/es.po
+
+commit e59f3184266543c057c96290b95a5392c31d9bbf
+Author: Jens Georg <mail@jensge.org>
+Date: Sun Dec 11 16:15:04 2016 +0100
+
+ Fix make distcheck
+
+ Signed-off-by: Jens Georg <mail@jensge.org>
+
+M shotwell.am
+
+commit 76e8dabf9d043773f6335269e536c876c3cd21e9
+Author: Jens Georg <mail@jensge.org>
+Date: Fri Dec 9 23:52:00 2016 +0100
+
+ Fix context menu on import page
+
+ More left-over from the GLib.Action rework
+
+ Signed-off-by: Jens Georg <mail@jensge.org>
+
+M src/camera/ImportPage.vala
+
+commit 7794d0401071d180b23741f1950b598340048307
+Author: Alan Mortensen <alanmortensen.am@gmail.com>
+Date: Thu Dec 8 20:27:38 2016 +0100
+
+ Updated Danish translation
+
+M po/da.po
+
+commit 00e3e01fee5b9a062b40c055f527442b191178fe
+Author: Marina Prado <mapraro93@hotmail.com>
+Date: Wed Dec 7 08:28:59 2016 +0000
+
+ Update Spanish translation
+
+M help/es/es.po
+
+commit 81c6c321ab01313b4a55b24fc8c645d43561e85e
+Author: Jens Georg <mail@jensge.org>
+Date: Mon Dec 5 23:42:05 2016 +0100
+
+ Fix Undo/Redo adaptive labeling
+
+ Signed-off-by: Jens Georg <mail@jensge.org>
+
+M src/AppWindow.vala
+M src/Page.vala
+
+commit 01da01587dc184a940a9bbf2d84ab0647dcf30d5
+Author: Jens Georg <mail@jensge.org>
+Date: Mon Dec 5 23:27:43 2016 +0100
+
+ Re-add label switching for background menu item
+
+ Signed-off-by: Jens Georg <mail@jensge.org>
+
+M src/CollectionPage.vala
+M src/Page.vala
+M src/PhotoPage.vala
+
+commit 3b7754f2a92a34180d82bc2627f99e23d330109c
+Author: Jens Georg <mail@jensge.org>
+Date: Mon Dec 5 22:42:49 2016 +0100
+
+ One more missing SetBackground shortcut
+
+ Signed-off-by: Jens Georg <mail@jensge.org>
+
+M src/CollectionPage.vala
+
+commit 25ef3e05e3573bf39efd8d07fe038c6a61fccd20
+Author: Jens Georg <mail@jensge.org>
+Date: Mon Dec 5 20:57:51 2016 +0100
+
+ Make two dialogs Template-based
+
+ Also fixes an issue with upcoming vala release
+
+ Signed-off-by: Jens Georg <mail@jensge.org>
+
+M org.gnome.Shotwell.gresource.xml
+M shotwell.am
+M src/Dialogs.vala
+M ui/Makefile.am
+M ui/set_background_dialog.ui
+M ui/set_background_slideshow_dialog.ui
+
+commit 7da6f0ea5fe79cc377ef01af685e8458c0a8e05a
+Author: Jens Georg <mail@jensge.org>
+Date: Sun Dec 4 20:55:26 2016 +0100
+
+ Move gresource to top-level
+
+ Prepare for vala --gresources which does not have the --sourcedir
+ parameter so
+ it looks for the referenced files next to the resource file
+
+ Signed-off-by: Jens Georg <mail@jensge.org>
+
+A org.gnome.Shotwell.gresource.xml
+M shotwell.am
+D src/org.gnome.Shotwell.gresource.xml
+
+commit a6e8b19ed137682917cb2d7e600476f8ff265a5f
+Author: Jens Georg <mail@jensge.org>
+Date: Sun Dec 4 20:12:30 2016 +0100
+
+ Add missing shortcut for Set Background
+
+ Signed-off-by: Jens Georg <mail@jensge.org>
+
+M src/PhotoPage.vala
+M src/direct/DirectPhotoPage.vala
+
+commit e2a9987638ef1e12ad30d7559ccfe508a4d8afed
+Author: Jens Georg <mail@jensge.org>
+Date: Sat Dec 3 23:28:43 2016 +0100
+
+ Fix opacity of disabled icons
+
+ The icons added in 7589900c4ee3f790fd57474a64978193bd839424 were
+ darker than
+ the "original" disabled icons; apply the missing opacity change to
+ the PNGs
+
+ Signed-off-by: Jens Georg <mail@jensge.org>
+
+M icons/filter-flagged-disabled.png
+M icons/filter-photos-disabled.png
+M icons/filter-raw-disabled.png
+M icons/filter-videos-disabled.png
+
+commit b3a37f6bbbd5fd147b73a8f29eb776085c0ee42c
+Author: Jens Georg <mail@jensge.org>
+Date: Sat Dec 3 23:23:37 2016 +0100
+
+ Small clean-up
+
+ Signed-off-by: Jens Georg <mail@jensge.org>
+
+M src/editing_tools/EditingTools.vala
+M src/util/misc.vala
+
+commit 545ea734a93befc34a59b63090d67e5df34bf3a9
+Author: Marina Prado <mapraro93@hotmail.com>
+Date: Fri Dec 2 07:31:24 2016 +0000
+
+ Update Spanish translation
+
+M help/es/es.po
+
+commit c430023b92ef28aa6a5cdae8abd2b2bda366944c
+Author: Marina Prado <mapraro93@hotmail.com>
+Date: Thu Dec 1 07:38:52 2016 +0000
+
+ Update Spanish translation
+
+M help/es/es.po
+
+commit 832f4aaa24e663682e27add8c916407e334af8de
+Author: Piotr Drąg <piotrdrag@gmail.com>
+Date: Thu Dec 1 03:16:55 2016 +0100
+
+ Update POTFILES.in
+
+M po/POTFILES.in
+
+commit 7589900c4ee3f790fd57474a64978193bd839424
+Author: Jens Georg <mail@jensge.org>
+Date: Thu Dec 1 01:31:50 2016 +0100
+
+ Remove Gtk.IconFactory
+
+ Use Gtk.IconTheme and add the four -disabled variants used in
+ SearchBar.
+
+ Signed-off-by: Jens Georg <mail@jensge.org>
+
+A icons/filter-flagged-disabled.png
+A icons/filter-photos-disabled.png
+A icons/filter-raw-disabled.png
+A icons/filter-videos-disabled.png
+M src/Resources.vala
+M src/SearchFilter.vala
+M src/util/image.vala
+
+commit b954655410f5d8351067bd3fb7aef1f6267ffdb7
+Author: Jens Georg <mail@jensge.org>
+Date: Thu Dec 1 01:27:41 2016 +0100
+
+ Fix initial searchbar state
+
+ Signed-off-by: Jens Georg <mail@jensge.org>
+
+M src/library/LibraryWindow.vala
+
+commit cbe584674eba4c1196135c6f5d8df0ce3ff09a31
+Author: Jens Georg <mail@jensge.org>
+Date: Thu Dec 1 01:18:07 2016 +0100
+
+ Fix type filter action for search bar
+
+ Signed-off-by: Jens Georg <mail@jensge.org>
+
+M src/SearchFilter.vala
+
+commit 003c7fd16cb896b20dd664a9bd1ccb870098de9c
+Author: Jens Georg <mail@jensge.org>
+Date: Wed Nov 30 23:21:29 2016 +0100
+
+ debian: Fix makeshlibs
+
+ Signed-off-by: Jens Georg <mail@jensge.org>
+
+M debian/rules
+
+commit 708d0aca71a2369a6b56ba2292c9c77792b196fd
+Author: Jens Georg <mail@jensge.org>
+Date: Tue Nov 29 23:57:43 2016 +0100
+
+ Suppress error on git version check
+
+ Signed-off-by: Jens Georg <mail@jensge.org>
+
+M configure.ac
+
+commit 6e6a51b3a5b939322e0a40c2f2766367969721c2
+Author: Jens Georg <mail@jensge.org>
+Date: Sat Nov 26 10:14:59 2016 +0100
+
+ Use AppMenu
+
+ Signed-off-by: Jens Georg <mail@jensge.org>
+
+ https://bugzilla.gnome.org/show_bug.cgi?id=719279
+
+M src/Application.vala
+M src/direct/DirectWindow.vala
+M src/library/LibraryWindow.vala
+M src/org.gnome.Shotwell.gresource.xml
+A ui/appmenu.ui
+M ui/direct.ui
+M ui/event.ui
+M ui/events_directory.ui
+M ui/import.ui
+M ui/import_queue.ui
+M ui/media.ui
+M ui/offline.ui
+M ui/photo.ui
+M ui/tags.ui
+M ui/trash.ui
+
+commit cf253ba83df8e7b64431ba47ce6f6eaecd4290e9
+Author: Marina Prado <mapraro93@hotmail.com>
+Date: Wed Nov 30 08:06:53 2016 +0000
+
+ Update Spanish translation
+
+M help/es/es.po
+
+commit abefe41125206a8bd13fd2d3b8d514104c8490bd
+Author: Piotr Drąg <piotrdrag@gmail.com>
+Date: Sun Nov 27 17:26:40 2016 +0100
+
+ Update Polish translation
+
+M po/pl.po
+
+commit 63766d02e16c88dc0906d25760fd789586949c7a
+Author: Mario Blättermann <mario.blaettermann@gmail.com>
+Date: Sat Nov 26 10:52:56 2016 +0000
+
+ Update German translation
+
+M po/de.po
+
+commit 2d7aae3e2d66e09efb58b32fbc9828962dfc5898
+Author: Jens Georg <mail@jensge.org>
+Date: Sat Nov 26 09:06:38 2016 +0100
+
+ Fix c&p error in publishing result
+
+ Signed-off-by: Jens Georg <mail@jensge.org>
+
+M src/publishing/PublishingUI.vala
+
+commit c1bfc20645f388150d62680388a565e7c14f5d59
+Author: gogo <trebelnik2@gmail.com>
+Date: Fri Nov 25 22:09:44 2016 +0000
+
+ Update Croatian translation
+ (cherry picked from commit ea4d90848de74ec9eb20b18332bfafb31795ac37)
+
+M po/hr.po
+
+commit 1bc0b23c1c9f264fd5158a883e6e65c051684a77
+Author: Jens Georg <mail@jensge.org>
+Date: Fri Nov 25 20:20:56 2016 +0100
+
+ Wrap bottom toolbar into a Gtk.Revealer
+
+ Signed-off-by: Jens Georg <mail@jensge.org>
+
+M src/library/LibraryWindow.vala
+
+commit d9c46b697a7b888240a4436752788dec036389d4
+Author: Jens Georg <mail@jensge.org>
+Date: Fri Nov 25 19:58:04 2016 +0100
+
+ Fix disabled rating filter menu
+
+ Signed-off-by: Jens Georg <mail@jensge.org>
+
+M src/SearchFilter.vala
+
+commit 070a14ee74d49669b1e49b787c5322549d047e65
+Author: Jens Georg <mail@jensge.org>
+Date: Fri Nov 25 19:52:58 2016 +0100
+
+ Fix search header hiding
+
+ Signed-off-by: Jens Georg <mail@jensge.org>
+
+M src/SearchFilter.vala
+M src/library/LibraryWindow.vala
+
+commit c5f5ae947573591f6536fbe2942ef58772bdb67d
+Author: Jens Georg <mail@jensge.org>
+Date: Fri Nov 25 19:05:08 2016 +0100
+
+ Fix initial sort order
+
+ Signed-off-by: Jens Georg <mail@jensge.org>
+
+M src/MediaPage.vala
+
+commit d50fc3d02eb804144159ba58fbb218f5b35900c9
+Author: Jens Georg <mail@jensge.org>
+Date: Thu Nov 24 23:02:03 2016 +0100
+
+ Prevent cricial on start-up
+
+ Signed-off-by: Jens Georg <mail@jensge.org>
+
+M src/library/LibraryWindow.vala
+
+commit 1763804167a4afd0b024eaa38cdde011806800c4
+Author: Jens Georg <mail@jensge.org>
+Date: Thu Nov 24 23:01:44 2016 +0100
+
+ Use proper strings for states
+
+ Signed-off-by: Jens Georg <mail@jensge.org>
+
+M src/MediaPage.vala
+M src/PhotoPage.vala
+M src/SearchFilter.vala
+
+commit aae874a437d5074562887eced6fd38ceae33fb9e
+Author: Jens Georg <mail@jensge.org>
+Date: Wed Nov 23 23:47:55 2016 +0100
+
+ Fix typo
+
+ Signed-off-by: Jens Georg <mail@jensge.org>
+
+M src/events/EventsDirectoryPage.vala
+
+commit 78d4241ece3c6679b2cec7a226dac9a18c85a30e
+Author: Jens Georg <mail@jensge.org>
+Date: Wed Nov 23 23:15:08 2016 +0100
+
+ Add forgotton initialisation for states
+
+ Signed-off-by: Jens Georg <mail@jensge.org>
+
+M src/library/LibraryWindow.vala
+
+commit 368c897bb6ddced1e120ec74765390ae803361f1
+Author: Jens Georg <mail@jensge.org>
+Date: Wed Nov 23 23:14:36 2016 +0100
+
+ Use change_state to set initial action state
+
+ Signed-off-by: Jens Georg <mail@jensge.org>
+
+M src/MediaPage.vala
+M src/PhotoPage.vala
+M src/SearchFilter.vala
+M src/camera/ImportPage.vala
+M src/events/EventsDirectoryPage.vala
+
+commit 4bcd9e9bfc3fdaf61e30fad4a9fe0d509727cb01
+Author: Jens Georg <mail@jensge.org>
+Date: Wed Nov 23 22:52:07 2016 +0100
+
+ Update README
+
+ Signed-off-by: Jens Georg <mail@jensge.org>
+
+M README
+
+commit 38347d6e03930e479c1fdcceb63291694fe383e5
+Author: Jens Georg <mail@jensge.org>
+Date: Wed Nov 23 18:53:26 2016 +0100
+
+ Add missing About action
+
+ Signed-off-by: Jens Georg <mail@jensge.org>
+
+ https://bugzilla.gnome.org/show_bug.cgi?id=774901
+
+M src/AppWindow.vala
+
+commit c7ee3bffae33fb8445d63419985bc84a881d2b1a
+Author: Gábor Kelemen <kelemeng@openscope.org>
+Date: Tue Nov 22 23:15:11 2016 +0000
+
+ Update Hungarian translation
+
+M po/hu.po
+
+commit 2bd9761ba434353114215d15e397e9e9b0fba6eb
+Author: Marek Cernocky <marek_cernocky@conel.cz>
+Date: Tue Nov 22 13:28:43 2016 +0100
+
+ Updated Czech translation
+
+M po/cs.po
+
+commit 8dd5b215d3ada4e2061b5e468e341c3336d4d0dc
+Author: Marek Cernocky <marek_cernocky@conel.cz>
+Date: Tue Nov 22 13:26:54 2016 +0100
+
+ Updated Czech translation
+
+M po/cs.po
+
commit 9984f365ab9407791f58792a71b71d15d974b64e
Author: Jens Georg <mail@jensge.org>
-Date: Mon Nov 21 20:30:37 2016 +0100
+Date: Mon Nov 21 20:30:37 2016 +0100
Prepare 0.25.1
diff --git a/Makefile.in b/Makefile.in
index c1db35d..753e7bb 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -485,7 +485,7 @@ am_shotwell_OBJECTS = src/unit/shotwell-Unit.$(OBJEXT) \
src/.unitize/shotwell-_FoldersInternals.$(OBJEXT) \
src/.unitize/shotwell-_Library_unitize_entry.$(OBJEXT) \
src/.unitize/shotwell-_Direct_unitize_entry.$(OBJEXT)
-nodist_shotwell_OBJECTS = src/shotwell-resource.$(OBJEXT)
+nodist_shotwell_OBJECTS = shotwell-resource.$(OBJEXT)
shotwell_OBJECTS = $(am_shotwell_OBJECTS) $(nodist_shotwell_OBJECTS)
shotwell_DEPENDENCIES = src/plugins/libplugin.la $(am__DEPENDENCIES_1) \
$(am__DEPENDENCIES_1)
@@ -576,7 +576,7 @@ am__can_run_installinfo = \
n|no|NO) false;; \
*) (install-info --version) >/dev/null 2>&1;; \
esac
-am__dist_noinst_DATA_DIST = src/org.gnome.Shotwell.gresource.xml \
+am__dist_noinst_DATA_DIST = org.gnome.Shotwell.gresource.xml \
plugins/shotwell-publishing/facebook.png \
plugins/shotwell-publishing/flickr.png \
plugins/shotwell-publishing/picasa.png \
@@ -1123,7 +1123,7 @@ plugin_LTLIBRARIES = \
plugins/shotwell-data-imports/shotwell-data-imports.la
dist_plugin_DATA =
dist_pkglibexec_SCRIPTS = $(top_srcdir)/settings-migrator/shotwell-settings-migrator
-dist_noinst_DATA = $(NULL) src/org.gnome.Shotwell.gresource.xml \
+dist_noinst_DATA = $(NULL) org.gnome.Shotwell.gresource.xml \
plugins/shotwell-publishing/facebook.png \
plugins/shotwell-publishing/flickr.png \
plugins/shotwell-publishing/picasa.png \
@@ -1147,7 +1147,7 @@ dist_noinst_DATA = $(NULL) src/org.gnome.Shotwell.gresource.xml \
plugins/shotwell-plugin-common.h vapi/gphoto.h \
vapi/libexif.vapi vapi/libgphoto2.vapi vapi/libraw.vapi \
vapi/unity.deps vapi/unity.vapi vapi/misc.vapi
-MOSTLYCLEANFILES = $(NULL) src/resource.c \
+MOSTLYCLEANFILES = $(NULL) resource.c \
plugins/shotwell-publishing/resource.c $(am__append_5) \
plugins/shotwell-transitions/resource.c \
plugins/shotwell-data-imports/resource.c
@@ -1184,16 +1184,16 @@ shotwell_VALAFLAGS = $(COMMON_VALAFLAGS) \
--pkg libgphoto2 --pkg posix --pkg libraw --pkg gexiv2 \
--pkg libexif --pkg gudev-1.0 --pkg gstreamer-1.0 \
--pkg gstreamer-pbutils-1.0 --pkg misc \
+ --gresources $(abs_top_srcdir)/org.gnome.Shotwell.gresource.xml \
$(UNITY_VALAFLAGS) \
$(COMMON_VALAFLAGS_POST)
nodist_shotwell_SOURCES = \
- src/resource.c
+ resource.c
-shotwell_resource_deps = $(shell $(GLIB_COMPILE_RESOURCES) \
- --sourcedir=$(abs_top_srcdir)/icons \
- --sourcedir=$(abs_top_srcdir)/ui \
- --generate-dependencies $(abs_top_srcdir)/src/org.gnome.Shotwell.gresource.xml)
+shotwell_resource_deps := $(shell $(GLIB_COMPILE_RESOURCES) \
+ --sourcedir=$(abs_top_srcdir) \
+ --generate-dependencies $(abs_top_srcdir)/org.gnome.Shotwell.gresource.xml)
shotwell_SOURCES = \
src/unit/Unit.vala \
@@ -2573,8 +2573,6 @@ src/.unitize/shotwell-_Library_unitize_entry.$(OBJEXT): \
src/.unitize/shotwell-_Direct_unitize_entry.$(OBJEXT): \
src/.unitize/$(am__dirstamp) \
src/.unitize/$(DEPDIR)/$(am__dirstamp)
-src/shotwell-resource.$(OBJEXT): src/$(am__dirstamp) \
- src/$(DEPDIR)/$(am__dirstamp)
shotwell$(EXEEXT): $(shotwell_OBJECTS) $(shotwell_DEPENDENCIES) $(EXTRA_shotwell_DEPENDENCIES)
@rm -f shotwell$(EXEEXT)
@@ -2668,6 +2666,7 @@ mostlyclean-compile:
distclean-compile:
-rm -f *.tab.c
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/shotwell-resource.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@plugins/common/$(DEPDIR)/plugins_common_libshotwell_plugin_common_la-BuilderPane.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@plugins/common/$(DEPDIR)/plugins_common_libshotwell_plugin_common_la-RESTSupport.Plo@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@plugins/common/$(DEPDIR)/plugins_common_libshotwell_plugin_common_la-Resources.Plo@am__quote@
@@ -2765,7 +2764,6 @@ distclean-compile:
@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/shotwell-VideoMonitor.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/shotwell-VideoSupport.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/shotwell-main.Po@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@src/$(DEPDIR)/shotwell-resource.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@src/.unitize/$(DEPDIR)/shotwell-_CameraInternals.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@src/.unitize/$(DEPDIR)/shotwell-_ConfigInternals.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@src/.unitize/$(DEPDIR)/shotwell-_CoreInternals.Po@am__quote@
@@ -5944,19 +5942,19 @@ src/.unitize/shotwell-_Direct_unitize_entry.obj: src/.unitize/_Direct_unitize_en
@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) $(shotwell_CFLAGS) $(CFLAGS) -c -o src/.unitize/shotwell-_Direct_unitize_entry.obj `if test -f 'src/.unitize/_Direct_unitize_entry.c'; then $(CYGPATH_W) 'src/.unitize/_Direct_unitize_entry.c'; else $(CYGPATH_W) '$(srcdir)/src/.unitize/_Direct_unitize_entry.c'; fi`
-src/shotwell-resource.o: src/resource.c
-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(shotwell_CFLAGS) $(CFLAGS) -MT src/shotwell-resource.o -MD -MP -MF src/$(DEPDIR)/shotwell-resource.Tpo -c -o src/shotwell-resource.o `test -f 'src/resource.c' || echo '$(srcdir)/'`src/resource.c
-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/shotwell-resource.Tpo src/$(DEPDIR)/shotwell-resource.Po
-@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/resource.c' object='src/shotwell-resource.o' libtool=no @AMDEPBACKSLASH@
+shotwell-resource.o: resource.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(shotwell_CFLAGS) $(CFLAGS) -MT shotwell-resource.o -MD -MP -MF $(DEPDIR)/shotwell-resource.Tpo -c -o shotwell-resource.o `test -f 'resource.c' || echo '$(srcdir)/'`resource.c
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/shotwell-resource.Tpo $(DEPDIR)/shotwell-resource.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='resource.c' object='shotwell-resource.o' 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) $(shotwell_CFLAGS) $(CFLAGS) -c -o src/shotwell-resource.o `test -f 'src/resource.c' || echo '$(srcdir)/'`src/resource.c
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(shotwell_CFLAGS) $(CFLAGS) -c -o shotwell-resource.o `test -f 'resource.c' || echo '$(srcdir)/'`resource.c
-src/shotwell-resource.obj: src/resource.c
-@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(shotwell_CFLAGS) $(CFLAGS) -MT src/shotwell-resource.obj -MD -MP -MF src/$(DEPDIR)/shotwell-resource.Tpo -c -o src/shotwell-resource.obj `if test -f 'src/resource.c'; then $(CYGPATH_W) 'src/resource.c'; else $(CYGPATH_W) '$(srcdir)/src/resource.c'; fi`
-@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/shotwell-resource.Tpo src/$(DEPDIR)/shotwell-resource.Po
-@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/resource.c' object='src/shotwell-resource.obj' libtool=no @AMDEPBACKSLASH@
+shotwell-resource.obj: resource.c
+@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(shotwell_CFLAGS) $(CFLAGS) -MT shotwell-resource.obj -MD -MP -MF $(DEPDIR)/shotwell-resource.Tpo -c -o shotwell-resource.obj `if test -f 'resource.c'; then $(CYGPATH_W) 'resource.c'; else $(CYGPATH_W) '$(srcdir)/resource.c'; fi`
+@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/shotwell-resource.Tpo $(DEPDIR)/shotwell-resource.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='resource.c' object='shotwell-resource.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) $(shotwell_CFLAGS) $(CFLAGS) -c -o src/shotwell-resource.obj `if test -f 'src/resource.c'; then $(CYGPATH_W) 'src/resource.c'; else $(CYGPATH_W) '$(srcdir)/src/resource.c'; fi`
+@am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(shotwell_CFLAGS) $(CFLAGS) -c -o shotwell-resource.obj `if test -f 'resource.c'; then $(CYGPATH_W) 'resource.c'; else $(CYGPATH_W) '$(srcdir)/resource.c'; fi`
thumbnailer/thumbnailer_shotwell_video_thumbnailer-shotwell-video-thumbnailer.o: thumbnailer/shotwell-video-thumbnailer.c
@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(thumbnailer_shotwell_video_thumbnailer_CFLAGS) $(CFLAGS) -MT thumbnailer/thumbnailer_shotwell_video_thumbnailer-shotwell-video-thumbnailer.o -MD -MP -MF thumbnailer/$(DEPDIR)/thumbnailer_shotwell_video_thumbnailer-shotwell-video-thumbnailer.Tpo -c -o thumbnailer/thumbnailer_shotwell_video_thumbnailer-shotwell-video-thumbnailer.o `test -f 'thumbnailer/shotwell-video-thumbnailer.c' || echo '$(srcdir)/'`thumbnailer/shotwell-video-thumbnailer.c
@@ -5971,6 +5969,15 @@ 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 \
@@ -6930,39 +6937,6 @@ $(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/common/RESTSupport.c: $(srcdir)/plugins_common_libshotwell_plugin_common_la_vala.stamp
- @if test -f $@; then :; else rm -f $(srcdir)/plugins_common_libshotwell_plugin_common_la_vala.stamp; fi
- @if test -f $@; then :; else \
- $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_common_libshotwell_plugin_common_la_vala.stamp; \
- fi
-$(srcdir)/plugins/common/Resources.c: $(srcdir)/plugins_common_libshotwell_plugin_common_la_vala.stamp
- @if test -f $@; then :; else rm -f $(srcdir)/plugins_common_libshotwell_plugin_common_la_vala.stamp; fi
- @if test -f $@; then :; else \
- $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_common_libshotwell_plugin_common_la_vala.stamp; \
- fi
-$(srcdir)/plugins/common/WebAuthenticationPane.c: $(srcdir)/plugins_common_libshotwell_plugin_common_la_vala.stamp
- @if test -f $@; then :; else rm -f $(srcdir)/plugins_common_libshotwell_plugin_common_la_vala.stamp; fi
- @if test -f $@; then :; else \
- $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_common_libshotwell_plugin_common_la_vala.stamp; \
- fi
-$(srcdir)/plugins/common/BuilderPane.c: $(srcdir)/plugins_common_libshotwell_plugin_common_la_vala.stamp
- @if test -f $@; then :; else rm -f $(srcdir)/plugins_common_libshotwell_plugin_common_la_vala.stamp; fi
- @if test -f $@; then :; else \
- $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_common_libshotwell_plugin_common_la_vala.stamp; \
- fi
-$(srcdir)/plugins_common_libshotwell_plugin_common_la_vala.stamp: 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)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-publishing-extras/GalleryConnector.c: $(srcdir)/plugins_shotwell_publishing_extras_shotwell_publishing_extras_la_vala.stamp
@if test -f $@; then :; else rm -f $(srcdir)/plugins_shotwell_publishing_extras_shotwell_publishing_extras_la_vala.stamp; fi
@if test -f $@; then :; else \
@@ -6992,64 +6966,6 @@ $(srcdir)/plugins_shotwell_publishing_extras_shotwell_publishing_extras_la_vala.
$(AM_V_at)rm -f $@ && echo stamp > $@-t
$(AM_V_VALAC)$(am__cd) $(srcdir) && $(VALAC) $(plugins_shotwell_publishing_extras_shotwell_publishing_extras_la_VALAFLAGS) $(VALAFLAGS) -C plugins/shotwell-publishing-extras/GalleryConnector.vala plugins/shotwell-publishing-extras/RajcePublishing.vala plugins/shotwell-publishing-extras/shotwell-publishing-extras.vala plugins/shotwell-publishing-extras/TumblrPublishing.vala plugins/shotwell-publishing-extras/YandexPublishing.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
- $(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
- $(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 \
@@ -7183,6 +7099,88 @@ $(srcdir)/plugins_shotwell_transitions_shotwell_transitions_la_vala.stamp: plugi
$(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/common/RESTSupport.c: $(srcdir)/plugins_common_libshotwell_plugin_common_la_vala.stamp
+ @if test -f $@; then :; else rm -f $(srcdir)/plugins_common_libshotwell_plugin_common_la_vala.stamp; fi
+ @if test -f $@; then :; else \
+ $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_common_libshotwell_plugin_common_la_vala.stamp; \
+ fi
+$(srcdir)/plugins/common/Resources.c: $(srcdir)/plugins_common_libshotwell_plugin_common_la_vala.stamp
+ @if test -f $@; then :; else rm -f $(srcdir)/plugins_common_libshotwell_plugin_common_la_vala.stamp; fi
+ @if test -f $@; then :; else \
+ $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_common_libshotwell_plugin_common_la_vala.stamp; \
+ fi
+$(srcdir)/plugins/common/WebAuthenticationPane.c: $(srcdir)/plugins_common_libshotwell_plugin_common_la_vala.stamp
+ @if test -f $@; then :; else rm -f $(srcdir)/plugins_common_libshotwell_plugin_common_la_vala.stamp; fi
+ @if test -f $@; then :; else \
+ $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_common_libshotwell_plugin_common_la_vala.stamp; \
+ fi
+$(srcdir)/plugins/common/BuilderPane.c: $(srcdir)/plugins_common_libshotwell_plugin_common_la_vala.stamp
+ @if test -f $@; then :; else rm -f $(srcdir)/plugins_common_libshotwell_plugin_common_la_vala.stamp; fi
+ @if test -f $@; then :; else \
+ $(MAKE) $(AM_MAKEFLAGS) $(srcdir)/plugins_common_libshotwell_plugin_common_la_vala.stamp; \
+ fi
+$(srcdir)/plugins_common_libshotwell_plugin_common_la_vala.stamp: 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)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-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
+ $(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
+ $(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 $@
mostlyclean-libtool:
-rm -f *.lo
@@ -8104,7 +8102,7 @@ clean-am: clean-binPROGRAMS clean-generic clean-libLTLIBRARIES \
distclean: distclean-recursive
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
- -rm -rf plugins/common/$(DEPDIR) plugins/shotwell-data-imports/$(DEPDIR) plugins/shotwell-publishing-extras/$(DEPDIR) plugins/shotwell-publishing/$(DEPDIR) plugins/shotwell-transitions/$(DEPDIR) src/$(DEPDIR) src/.unitize/$(DEPDIR) src/camera/$(DEPDIR) src/config/$(DEPDIR) src/core/$(DEPDIR) src/data_imports/$(DEPDIR) src/db/$(DEPDIR) src/direct/$(DEPDIR) src/editing_tools/$(DEPDIR) src/events/$(DEPDIR) src/folders/$(DEPDIR) src/library/$(DEPDIR) src/photos/$(DEPDIR) src/plugins/$(DEPDIR) src/publishing/$(DEPDIR) src/searches/$(DEPDIR) src/sidebar/$(DEPDIR) src/slideshow/$(DEPDIR) src/tags/$(DEPDIR) src/threads/$(DEPDIR) src/unit/$(DEPDIR) src/util/$(DEPDIR) thumbnailer/$(DEPDIR)
+ -rm -rf ./$(DEPDIR) plugins/common/$(DEPDIR) plugins/shotwell-data-imports/$(DEPDIR) plugins/shotwell-publishing-extras/$(DEPDIR) plugins/shotwell-publishing/$(DEPDIR) plugins/shotwell-transitions/$(DEPDIR) src/$(DEPDIR) src/.unitize/$(DEPDIR) src/camera/$(DEPDIR) src/config/$(DEPDIR) src/core/$(DEPDIR) src/data_imports/$(DEPDIR) src/db/$(DEPDIR) src/direct/$(DEPDIR) src/editing_tools/$(DEPDIR) src/events/$(DEPDIR) src/folders/$(DEPDIR) src/library/$(DEPDIR) src/photos/$(DEPDIR) src/plugins/$(DEPDIR) src/publishing/$(DEPDIR) src/searches/$(DEPDIR) src/sidebar/$(DEPDIR) src/slideshow/$(DEPDIR) src/tags/$(DEPDIR) src/threads/$(DEPDIR) src/unit/$(DEPDIR) src/util/$(DEPDIR) thumbnailer/$(DEPDIR)
-rm -f Makefile
distclean-am: clean-am distclean-compile distclean-generic \
distclean-hdr distclean-libtool distclean-tags
@@ -8153,7 +8151,7 @@ installcheck-am:
maintainer-clean: maintainer-clean-recursive
-rm -f $(am__CONFIG_DISTCLEAN_FILES)
-rm -rf $(top_srcdir)/autom4te.cache
- -rm -rf plugins/common/$(DEPDIR) plugins/shotwell-data-imports/$(DEPDIR) plugins/shotwell-publishing-extras/$(DEPDIR) plugins/shotwell-publishing/$(DEPDIR) plugins/shotwell-transitions/$(DEPDIR) src/$(DEPDIR) src/.unitize/$(DEPDIR) src/camera/$(DEPDIR) src/config/$(DEPDIR) src/core/$(DEPDIR) src/data_imports/$(DEPDIR) src/db/$(DEPDIR) src/direct/$(DEPDIR) src/editing_tools/$(DEPDIR) src/events/$(DEPDIR) src/folders/$(DEPDIR) src/library/$(DEPDIR) src/photos/$(DEPDIR) src/plugins/$(DEPDIR) src/publishing/$(DEPDIR) src/searches/$(DEPDIR) src/sidebar/$(DEPDIR) src/slideshow/$(DEPDIR) src/tags/$(DEPDIR) src/threads/$(DEPDIR) src/unit/$(DEPDIR) src/util/$(DEPDIR) thumbnailer/$(DEPDIR)
+ -rm -rf ./$(DEPDIR) plugins/common/$(DEPDIR) plugins/shotwell-data-imports/$(DEPDIR) plugins/shotwell-publishing-extras/$(DEPDIR) plugins/shotwell-publishing/$(DEPDIR) plugins/shotwell-transitions/$(DEPDIR) src/$(DEPDIR) src/.unitize/$(DEPDIR) src/camera/$(DEPDIR) src/config/$(DEPDIR) src/core/$(DEPDIR) src/data_imports/$(DEPDIR) src/db/$(DEPDIR) src/direct/$(DEPDIR) src/editing_tools/$(DEPDIR) src/events/$(DEPDIR) src/folders/$(DEPDIR) src/library/$(DEPDIR) src/photos/$(DEPDIR) src/plugins/$(DEPDIR) src/publishing/$(DEPDIR) src/searches/$(DEPDIR) src/sidebar/$(DEPDIR) src/slideshow/$(DEPDIR) src/tags/$(DEPDIR) src/threads/$(DEPDIR) src/unit/$(DEPDIR) src/util/$(DEPDIR) thumbnailer/$(DEPDIR)
-rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic
@@ -8230,10 +8228,9 @@ plugins/shotwell-plugin-dev-1.0.vapi plugins/shotwell-plugin-dev-1.0.h: src_plug
-include $(top_srcdir)/git.mk
-src/resource.c: src/org.gnome.Shotwell.gresource.xml $(shotwell_resource_deps)
+resource.c: org.gnome.Shotwell.gresource.xml $(shotwell_resource_deps)
$(AM_V_GEN)$(GLIB_COMPILE_RESOURCES) --target=$@ \
- --sourcedir=$(abs_top_srcdir)/icons \
- --sourcedir=$(abs_top_srcdir)/ui \
+ --sourcedir=$(abs_top_srcdir) \
--generate $<
plugins/shotwell-publishing/resource.c: $(PUBLISHING_RESOURCE_DEPS) $(PUBLISHING_RESOURCE_FILE)
diff --git a/NEWS b/NEWS
index cc83831..69db0a7 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,50 @@
+Shotwell 0.25.2 - 12 Dec 2016
+ * Fix missing About action
+ * Fix setting of initial action state
+ * Fix missing initialzation of several states
+ * Fix sort order not working
+ * Fix a critical on startup
+ * Fix initial sort order
+ * Fix hiding of search toolbar
+ * Fix rating filter menu initially being disabled
+ * Use Gtk.Revealer for bottom toolbar
+ * Fix a copy and paste error in the publishing result
+ * Use Application menu
+ * Do not make errors in git version check cause false identifiaction of git
+ versions
+ * Fix debian scripts
+ * Fix filter actions not being active
+ * Fix initial search bar state not being persisted
+ * Remove deprecated Gtk.IconFactory
+ * Add missing keyboard shortcut for setting the background
+ * Move some dialogs to GtkTemplate, preparing for issues with valac master
+ * Fix context-sensitive label of background menu
+ * Fix context-sensitive label of Undo and Redo menu
+ * Fix context menu on import page
+
+Bugs fixed in this release:
+ - https://bugzilla.gnome.org/show_bug.cgi?id=719279
+ - https://bugzilla.gnome.org/show_bug.cgi?id=774901
+
+All contributors to this release:
+ - Jens Georg <mail@jensge.org>
+ - Marina Prado <mapraro93@hotmail.com>
+ - Piotr Drąg <piotrdrag@gmail.com>
+ - Marek Cernocky <marek_cernocky@conel.cz>
+ - Mario Blättermann <mario.blaettermann@gmail.com>
+ - gogo <trebelnik2@gmail.com>
+ - Gábor Kelemen <kelemeng@openscope.org>
+ - Alan Mortensen <alanmortensen.am@gmail.com>
+
+Added/updated translations
+ - cs, courtesy of Marek Černocký
+ - da, courtesy of Alan Mortensen
+ - de, courtesy of Mario Blättermann
+ - es, courtesy of Daniel Mustieles
+ - hr, courtesy of gogo
+ - hu, courtesy of Gabor Kelemen
+ - pl, courtesy of Piotr Drąg
+
Shotwell 0.25.1 - 21 Nov 2016
* Remove deprecated libsoup API
* Remove extra box around WebKit authenticator view
@@ -43,7 +90,7 @@ Added/updated translations
- lv, courtesy of Rūdolfs Mazurs
- pl, courtesy of Piotr Drąg
- pt_BR, courtesy of Rafael Fontenelle
-
+
Shotwell 0.25.0 - 24 Oct 2016
* Add contrast to improvements
* Add a log when shifting events
diff --git a/README b/README
index a8c138d..65baeea 100644
--- a/README
+++ b/README
@@ -45,15 +45,12 @@
regularly for updates.
- * Contacting Yorba
-
- Yorba: http://www.yorba.org
Shotwell project page: https://wiki.gnome.org/Apps/Shotwell
- Shotwell documentation: http://www.yorba.org/shotwell/help
+ Shotwell documentation: http://shotwell-project.org/doc/html/
- We also encourage you to join the Shotwell mailing list. Send an email
- with a subject: line of "subscribe" (no quotes) to
- shotwell-list@gnome.org.
+ We also encourage you to join the Shotwell mailing list. See
+ https://mail.gnome.org/mailman/listinfo/shotwell-list for how to subscribe
+ to the mailing list.
diff --git a/configure b/configure
index 8656614..0b40d5c 100755
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for shotwell 0.25.1.
+# Generated by GNU Autoconf 2.69 for shotwell 0.25.2.
#
# 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.25.1'
-PACKAGE_STRING='shotwell 0.25.1'
+PACKAGE_VERSION='0.25.2'
+PACKAGE_STRING='shotwell 0.25.2'
PACKAGE_BUGREPORT='https://bugzilla.gnome.org/enter_bug.cgi?product=shotwell'
PACKAGE_URL=''
@@ -1486,7 +1486,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.25.1 to adapt to many kinds of systems.
+\`configure' configures shotwell 0.25.2 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1557,7 +1557,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of shotwell 0.25.1:";;
+ short | recursive ) echo "Configuration of shotwell 0.25.2:";;
esac
cat <<\_ACEOF
@@ -1720,7 +1720,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-shotwell configure 0.25.1
+shotwell configure 0.25.2
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1998,7 +1998,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.25.1, which was
+It was created by shotwell $as_me 0.25.2, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
@@ -2459,12 +2459,12 @@ MAJOR_VERSION=0
MINOR_VERSION=25
-MICRO_VERSION=1
+MICRO_VERSION=2
API_VERSION=0
-GITVER=9984f365ab9407791f58792a71b71d15d974b64e
+GITVER=e2940082c6e44526d9494a13443064f544a597ba
if test "x$GITVER" != "x"; then
@@ -2962,7 +2962,7 @@ fi
# Define the identity of the package.
PACKAGE='shotwell'
- VERSION='0.25.1'
+ VERSION='0.25.2'
cat >>confdefs.h <<_ACEOF
@@ -17615,7 +17615,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.25.1, which was
+This file was extended by shotwell $as_me 0.25.2, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -17681,7 +17681,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.25.1
+shotwell config.status 0.25.2
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
diff --git a/configure.ac b/configure.ac
index a62e957..86c0a1c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -6,14 +6,14 @@ dnl Define Versioning Information
dnl ***********************************************************************
m4_define([major_version],[0])
m4_define([minor_version],[25])
-m4_define([micro_version],[1])
+m4_define([micro_version],[2])
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])
AX_IS_RELEASE([micro-version])
-m4_define([git_version],[m4_esyscmd(git rev-parse HEAD)])
+m4_define([git_version],[m4_esyscmd(git rev-parse HEAD 2>/dev/null)])
dnl ***********************************************************************
dnl Initialize autoconf
diff --git a/help/es/edit-date-time.page b/help/es/edit-date-time.page
index 3917b77..acc0323 100644
--- a/help/es/edit-date-time.page
+++ b/help/es/edit-date-time.page
@@ -30,8 +30,8 @@
<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>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>Si está cambiando la fecha y la hora de varias fotos a la vez, puede elegir cambiar todas las fotos en la misma cantidad de horas o establecer todas las fotos en la misma hora.</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>De manera predeterminada, la fecha y la hora sólo se cambian dentro de Shotwell. También puede optar por modificar la fecha y la hora en el archivo original, pero esto no se puede deshacer una vez que salga de Shotwell.</p>
</page>
diff --git a/help/es/edit-external.page b/help/es/edit-external.page
index e9e9e1b..0b6f834 100644
--- a/help/es/edit-external.page
+++ b/help/es/edit-external.page
@@ -38,25 +38,13 @@
<p>Una vez que los editores se han establecido, seleccione una foto y elija <guiseq><gui>Fotos</gui> <gui>Abrir con un editor externo</gui></guiseq> para abrir la foto con un editor externo. De la misma manera, si la foto original es un archivo RAW, seleccione <guiseq><gui>Fotos</gui><gui>Abrir con un editor RAW</gui></guiseq> para editar el archivo RAW directamente con un editor RAW establecido.</p>
- <p>
- When you complete your edits and save the file, Shotwell will detect the changes and
- update the photo. When external edits have been made, press and hold the
- <key>Shift</key> key in full-window view to show the original photo rather than the
- externally-edited one.
- </p>
+ <p>Cuando complete sus ediciones y guarde el archivo, Shotwell detectará los cambios y actualizará la foto. Cuando se hayan realizado ediciones externas, mantenga pulsada la tecla <tecla>Mayús</tecla> en la vista de la pantalla completa para mostrar la foto original en lugar de la editada externamente.</p>
<p>Revertir al original borrará cualquier cambio externo.</p>
<note>
- <p>
- If you externally edit a RAW photo and save the result to another image, such as a
- JPEG or PNG, Shotwell cannot automatically determine that the original RAW and the
- new image should be paired.
- </p>
+ <p>Si edita de manera externa una foto RAW y guarda el resultado en otra imagen, como un archivo JPEG o PNG, Shotwell no puede determinar automáticamente que la RAW original y la nueva imagen deberían estar emparejadas.</p>
- <p>
- If you want to work within the resulting image within Shotwell, you'll need to
- import it yourself.
- </p>
+ <p>Si quiere trabajar sobre la imagen resultante con Shotwell, tendrá que importarla usted mismo.</p>
</note>
</page>
diff --git a/help/es/edit-nondestructive.page b/help/es/edit-nondestructive.page
index 06363a6..d8348a8 100644
--- a/help/es/edit-nondestructive.page
+++ b/help/es/edit-nondestructive.page
@@ -3,7 +3,7 @@
<info>
<link type="guide" xref="index#edit"/>
- <desc>Shotwell is a non-destructive photo editor - it does not modify your original photos.</desc>
+ <desc>Shotwell es un editor de fotos no destructivo, es decir, no modifica sus fotos originales.</desc>
<link type="next" xref="edit-date-time"/>
@@ -28,11 +28,10 @@
<title>¿Qué sucede con el original cuando edito una foto?</title>
-<p>Shotwell is a non-destructive photo editor. It does not modify your original photographs. That is to say, if you crop a photo or adjust its colors, the photo file on disc remains untouched. Shotwell stores your edits in a database and applies them on the fly as necessary. This means you can undo any alterations you make to a photograph.</p>
+<p>Shotwell es un editor de fotos no destructivo. No modifica sus fotografías originales. Es decir, si recorta una foto o ajusta sus colores, el archivo de la foto del disco permanece intacto. Shotwell almacena sus ediciones en una base de datos y las aplica sobre la marcha, según sea necesario. Esto significa que puede deshacer cualquier alteración que realices en una fotografía.</p>
<p>If you want to see what a photo looked like before your modifications, press the <key>Shift</key> key. The original photo will be displayed as long as you hold the key down.</p>
-<p>Note that Shotwell can optionally write metadata (such as tags and titles) to photo files.
-For more information, see the section <link xref="other-files">Photo files</link>.</p>
+<p>Tenga en cuenta que Shotwell puede escribir metadatos opcionalmente (como etiquetas y títulos) en los archivos de fotos. Para obtener más información, consulte la sección <link xref="other-files">Archivos de fotos</link>.</p>
</page>
diff --git a/help/es/edit-redeye.page b/help/es/edit-redeye.page
index f8300b4..733d37b 100644
--- a/help/es/edit-redeye.page
+++ b/help/es/edit-redeye.page
@@ -28,16 +28,16 @@
<title>Quitar los ojos rojos</title>
- <p>Red-eye occurs when the camera's flash reflects off the pupil of someone's eye. To eliminate this in a photo, use the Red-eye tool.</p>
+ <p>Los ojos rojos aparecen cuando el flash de la cámara se refleja en las pupilas de los ojos. Para eliminar esto en una foto, utilice la herramienta Ojos rojos.</p>
<steps>
<item>
<p>Pulse en <gui>Ojos Rojos</gui>. Un círculo aparecerá en la foto.</p>
</item>
<item>
- <p>Drag the circle over the affected pupil, adjust its size with the slider control, and press <gui>Apply</gui>. The redness will be removed.</p>
+ <p>Arrastre el círculo sobre la pupila afectada, ajuste su tamaño con el control deslizante y presione <gui>Aplicar</gui>. Se eliminará el color rojo.</p>
</item>
<item>
- <p>Repeat this process for all red pupils in your photo. Press <gui>Close</gui> when finished.</p>
+ <p>Repita este proceso para todas las pupilas rojas en su foto. Pulse <gui>Cerrar</gui> cuando haya terminado.</p>
</item>
</steps>
</page>
diff --git a/help/es/edit-rotate.page b/help/es/edit-rotate.page
index ec2d730..f18e358 100644
--- a/help/es/edit-rotate.page
+++ b/help/es/edit-rotate.page
@@ -28,14 +28,14 @@
<title>Girar o voltear una foto</title>
- <p>You can rotate your photos left and right (clockwise and counterclockwise) with the <gui>Rotate</gui> button on the toolbar of most views. You can also make a mirror image of any photo.</p>
+ <p>Puede girar las fotos a la izquierda y a la derecha con el botón <gui>Girar</gui> en la barra de herramientas de la mayoría de las vistas. También puede hacer una imagen reflejada de cualquier foto.</p>
<p>To rotate right, click on the <gui>Rotate</gui> button. To rotate left, press and hold the <key>Ctrl</key> key and then click the button. Both commands are available in the <gui>Photos</gui> menu too. Alternatively, use the following keyboard shortcuts:</p>
<list>
<item><p>rotar a la izquierda: <keyseq><key>Mayús</key><key>Ctrl</key><key>R</key></keyseq> o <key>[</key></p></item>
<item><p>rotar a la derecha: <keyseq><key>Ctrl</key><key>R</key></keyseq> or <key>]</key></p></item>
</list>
- <p>To create a mirror image of a photo, use the <gui>Flip Horizontally</gui> command in the <gui>Photos</gui> menu. To flip an image vertically, use the <gui>Flip Vertically</gui> command in the same menu.</p>
+ <p>Para crear una imagen reflejada de una foto, utilice el comando <gui>Voltear horizontalmente</gui> en el menú <gui>Fotos</gui>. Para voltear una imagen verticalmente, utilice el comando <gui>Voltear verticalmente</gui> en el mismo menú.</p>
<note>
<p>Si selecciona más de una imagen, puede girar todas ellas al mismo tiempo.</p>
diff --git a/help/es/edit-straighten.page b/help/es/edit-straighten.page
index 0906223..269d6dc 100644
--- a/help/es/edit-straighten.page
+++ b/help/es/edit-straighten.page
@@ -28,11 +28,11 @@
<title>Enderezar fotos</title>
-<p>The straighten tools allows photos to be leveled and straightened. The straighten tool is only available in full-window or fullscreen mode. </p>
+<p>Las herramientas de enderezar permiten que las fotos se nivelen y enderecen. La herramienta de enderezado sólo está disponible en modo de pantalla completa.</p>
<steps>
<item>
- <p>Click <gui>Straighten</gui>. The straighten slider will appear. Alternatively, use the keyboard shortcut <keyseq><key>Ctrl</key><key>A</key></keyseq>.</p>
+ <p>Pulse en <gui>Enderezar</gui>. Aparecerá el control deslizante de enderezamiento. También puede utilizar el atajo de teclado <keyseq><key>Ctrl</key><key>A</key></keyseq>.</p>
</item>
<item>
<p>Arrastre el control deslizante para conseguir el grado que quiera de enderezamiento.</p>
diff --git a/help/es/edit-undo.page b/help/es/edit-undo.page
index 51ec098..3f694e9 100644
--- a/help/es/edit-undo.page
+++ b/help/es/edit-undo.page
@@ -30,10 +30,10 @@
<title>Deshacer cambios</title>
- <p>Because Shotwell is a non-destructive photo editor, you can undo any alterations you make to a photograph.</p>
+ <p>Gracias a que Shotwell es un editor de fotos no destructivo, puede deshacer cualquier alteración que realice en una foto.</p>
<p>If you want to see what a photo looked like before your modifications, press the <key>Shift</key> key. The original photo will be displayed as long as you hold the key down.</p>
- <p>To completely undo all the changes you've made to a photo, click <guiseq><gui>Photos</gui><gui>Revert to Original</gui></guiseq>. The only exception is that time and date adjustments will not be reverted.</p>
+ <p>Para deshacer por completo todos los cambios realizados en una foto, haga clic en <guiseq><gui>Fotos</gui><gui>Volver al original</gui></guiseq>. La única excepción es que los ajustes de hora y fecha no se revertirán.</p>
</page>
diff --git a/help/es/es.po b/help/es/es.po
index b2c3d30..ca61133 100644
--- a/help/es/es.po
+++ b/help/es/es.po
@@ -3,3046 +3,3208 @@
# This file is distributed under the same license as the shotwell package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
# Dámaris Letelier <dam.letelier@gmail.com>, 2014.
-#
-#
-#
-# Daniel Mustieles <daniel.mustieles@gmail.com>, 2014, 2016. , 2016.
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: shotwell master\n"
-"POT-Creation-Date: 2016-11-19 01:52+0000\n"
-"PO-Revision-Date: 2016-11-21 \n"
-"Last-Translator: Daniel Mustieles <daniel.mustieles@gmail.com>\n"
-"Language-Team: es <gnome-es-list@gnome.org>\n"
-"Language: es\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-"X-Generator: Gtranslator 2.91.6\n"
-
-#. Put one translator per line, in the form NAME <EMAIL>, YEAR1, YEAR2
-msgctxt "_"
-msgid "translator-credits"
-msgstr ""
-"Marina Prado <mapraro93@hotmail.com>, 2016\n"
-"Daniel Mustieles <daniel.mustieles@gmail.com>, 2014 - 2016\n"
-"Dámaris Letelier <dam.letelier@gmail.com>, 2014"
-
-#. (itstool) path: info/desc
-#: C/edit-adjustments.page:7
-msgid "Change the exposure, saturation, tint, and shadows of a photo."
-msgstr "Cambiar la exposición, saturación, matiz y sombras de una foto."
-
-#. (itstool) path: page/title
-#: C/edit-adjustments.page:12
-msgid "Color adjustments"
-msgstr "Ajustes del color"
-
-#. (itstool) path: page/p
-#: C/edit-adjustments.page:14
-msgid ""
-"The <gui>Adjust</gui> button opens a floating window with a histogram and "
-"sliders to adjust a photo's exposure, saturation, tint, temperature, and "
-"shadows. The histogram also has sliders to reduce the upper and lower "
-"intensity thresholds of the photograph, expanding the contrast of the middle "
-"range."
-msgstr ""
-"El botón <gui>Ajustes</gui> abre una ventana flotante con un histograma y el "
-"control deslizante para ajustar la exposición, la saturación, el matiz, la "
-"calidez y las sombras de una fotografía. El histograma también tiene control "
-"deslizante para reducir los umbrales de intensidad superior e inferior de la "
-"fotografía, ampliando el contraste de la gama media."
-
-#. (itstool) path: page/p
-#: C/edit-adjustments.page:16
-msgid ""
-"The <gui>Enhance</gui> button adjusts the histogram and shadows sliders to "
-"improve the quality of a photo."
-msgstr ""
-"El botón <gui>Mejorar</gui> ajusta el histograma y el control deslizante de "
-"las sombras para mejorar la calidad de una foto."
-
-#. (itstool) path: page/p
-#: C/edit-adjustments.page:18
-msgid ""
-"When the photo's colors and contrast are to your liking, press <gui>OK</gui> "
-"to save the changes. <gui>Reset</gui> will return the image to its original "
-"state. <gui>Cancel</gui> discards all changes you've made."
-msgstr ""
-"Si los colores y el contraste de la foto son adecuados, pulse <gui>Aceptar</"
-"gui> para guardar los cambios. El botón <gui>Restablecer</gui> devolverá la "
-"imagen a su estado original. El botón <gui>Cancelar</gui> deshace todos los "
-"cambios realizados."
-
-#. (itstool) path: section/title
-#: C/edit-adjustments.page:21
-msgid "What do the color adjustments do?"
-msgstr "¿Qué hacen los ajustes del color?"
-
-#. (itstool) path: item/title
-#: C/edit-adjustments.page:24
-msgid "Exposure"
-msgstr "Exposición"
-
-#. (itstool) path: item/p
-#: C/edit-adjustments.page:25
-msgid ""
-"Changes the brightness to make it look like the photo was exposed for a "
-"longer or shorter time. Use this to correct under- or over-exposed photos."
-msgstr ""
-"Cambia el brillo para que parezca que la foto se ha expuesto por un tiempo "
-"más o menos largo. Utilice esta opción para corregir las fotografías "
-"sobreexpuestas o excesivamente subexpuestas."
-
-#. (itstool) path: item/title
-#: C/edit-adjustments.page:28
-msgid "Saturation"
-msgstr "Saturación"
-
-#. (itstool) path: item/p
-#: C/edit-adjustments.page:29
-msgid ""
-"Changes how vivid colors look. If your photo looks gray and washed out, try "
-"increasing the saturation. If colors look too bold, try decreasing it."
-msgstr ""
-"Cambia la intensidad de los colores. Si su foto parece gris y pálida, pruebe "
-"a aumentar la saturación. Si los colores se ven demasiado intensos, intente "
-"disminuirlos."
-
-#. (itstool) path: item/title
-#: C/edit-adjustments.page:32
-msgid "Tint"
-msgstr "Matiz"
-
-#. (itstool) path: item/p
-#: C/edit-adjustments.page:33
-msgid ""
-"This tints the photo with a color. It's useful for correcting photos taken "
-"with the wrong white balance setting, which typically have an unnatural "
-"color cast. For example, photos taken outdoors with the white balance set to "
-"\"Tungsten\" may have a blue cast."
-msgstr ""
-"Esto matiza la foto con un color. Es útil para corregir fotos que se han "
-"tomado con el ajuste del balance de blancos erróneo, que normalmente tiene "
-"unas tonalidades de color poco naturales. Por ejemplo, las fotos tomadas en "
-"el exterior con el ajuste del balance de blancos en «Tungsten» pueden tener "
-"una tonalidad azulada."
-
-#. (itstool) path: item/title
-#: C/edit-adjustments.page:36
-msgid "Temperature"
-msgstr "Temperatura"
-
-#. (itstool) path: item/p
-#: C/edit-adjustments.page:37
-msgid ""
-"Changes how \"warm\" or \"cool\" the picture looks. Use this to make cold, "
-"depressing scenes look more lively, for example."
-msgstr ""
-"Cambia el aspecto «cálido» o «frío» de la imagen. Utilice esto, por ejemplo, "
-"para hacer que las escenas frías y tristes parezcan más alegres."
-
-#. (itstool) path: item/title
-#: C/edit-adjustments.page:40
-msgid "Shadows"
-msgstr "Sombras"
-
-#. (itstool) path: item/p
-#: C/edit-adjustments.page:41
-msgid ""
-"This makes shadowy areas appear lighter. Use this to make detail more "
-"visible if it's obscured by the darkness of a shadow."
-msgstr ""
-"Esto hace que las áreas oscuras aparezcan más claras. Si los detalles se han "
-"oscurecido por las sombras, utilice esto para hacerlos más visibles."
-
-#. (itstool) path: item/title
-#: C/edit-adjustments.page:44
-msgid "Intensity Threshold (sliders on the histogram)"
-msgstr "Umbral de intensidad (control deslizante en el histograma)"
-
-#. (itstool) path: item/p
-#: C/edit-adjustments.page:45
-msgid ""
-"These sliders change how light the brightest white is and how dark the "
-"darkest black is. Use them to change the contrast of the photo. Photos which "
-"look washed out should particularly benefit from changing these settings."
-msgstr ""
-"Estos controles deslizantes cambian cómo de claro es el blanco más brillante "
-"y cómo de oscuro es el negro más oscuro. Utilícelos para cambiar el "
-"contraste de la foto, sobre todo en las fotos que son pálidas."
-
-#. (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 ""
-"external ref='figures/crop_thirds.jpg' md5='4cf0a026bb812c7eab0c9db8210a9524'"
-
-#. (itstool) path: info/desc
-#: C/edit-crop.page:7
-msgid "Improve the composition of a photo by cutting out parts of it."
-msgstr "Mejore la composición de una foto cortando partes de la misma."
-
-#. (itstool) path: page/title
-#: C/edit-crop.page:12
-msgid "Cropping"
-msgstr "Recortar"
-
-#. (itstool) path: page/p
-#: C/edit-crop.page:14
-msgid ""
-"To reduce the area of a photo and concentrate the viewer's attention on a "
-"smaller portion of it, use the Crop tool. The crop tool is only available in "
-"full-window or fullscreen mode."
-msgstr ""
-"Para reducir el área de una foto y concentrar la atención del espectador en "
-"una parte más pequeña de ella, utilice la herramienta Recortar. La "
-"herramienta Recortar sólo está disponible en el modo a pantalla completa."
-
-#. (itstool) path: item/p
-#: C/edit-crop.page:19
-msgid ""
-"Double-click on a photo to enter full-window mode, then press the <gui>Crop</"
-"gui> button on the toolbar."
-msgstr ""
-"Para entrar en el modo a pantalla completa, pulse dos veces en la foto y "
-"luego pulse el botón <gui>Recortar</gui> en la barra de herramientas."
-
-#. (itstool) path: item/p
-#: C/edit-crop.page:22
-msgid ""
-"A white box, the crop rectangle, will appear over the photo. The lighter "
-"portion of the photo within the crop rectangle represents what the photo "
-"will look like when you crop it."
-msgstr ""
-"Unas líneas blancas, que representan el rectángulo de recorte, aparecerán "
-"sobre la foto. La parte más clara de la foto dentro del rectángulo de "
-"recorte representa cómo se verá la foto cuando la recorte."
-
-#. (itstool) path: item/p
-#: C/edit-crop.page:25
-msgid ""
-"If you place your cursor in the middle of the box, you can move the box "
-"around. If you drag the edges of the box, you can adjust its size. As you "
-"move and adjust the crop box, you'll see four lines appear inside it, like a "
-"tic-tac-toe grid. These are <em>rule of thirds</em> lines."
-msgstr ""
-"Si coloca el cursor en el centro del recuadro, podrá moverlo. Si arrastra "
-"los bordes del recuadro, puede ajustar su tamaño. Al mover y ajustar la caja "
-"de recorte, verá aparecer cuatro líneas en su interior, como las cuadrículas "
-"para el tres en raya. Estas son las líneas de la <em>regla de los tercios</"
-"em>."
-
-#. (itstool) path: item/p
-#: C/edit-crop.page:26
-msgid ""
-"You can also constrain the crop box to one of many common sizes. Choose a "
-"size from the drop-down list that suits your needs. If you press the flip "
-"button next to it, the orientation of the constraint will switch (from "
-"landscape to portrait)."
-msgstr ""
-"También puede limitar el recuadro a uno de los tamaños más comunes. Elija un "
-"tamaño de la lista desplegable que se adapte a sus necesidades. Si pulsa el "
-"botón voltear situado junto a esta, la orientación de la restricción "
-"cambiará (de horizontal a vertical)."
-
-#. (itstool) path: item/p
-#: C/edit-crop.page:29
-msgid ""
-"When you're happy with your crop outline, apply it by pressing the "
-"<gui>Crop</gui> button. Shotwell will display the cropped photo."
-msgstr ""
-"Cuando esté satisfecho con su recorte, aplíquelo pulsando el botón "
-"<gui>Recortar<gui>. Shotwell mostrará la foto recortada."
-
-#. (itstool) path: item/p
-#: C/edit-crop.page:32
-msgid ""
-"If you change your mind, press the <gui>Crop</gui> button again and fine-"
-"tune the crop."
-msgstr ""
-"Si cambia de opinión, pulse el botón <gui>Recortar</gui> de nuevo y ajuste "
-"el recorte."
-
-#. (itstool) path: item/p
-#: C/edit-crop.page:33
-msgid ""
-"If you press <gui>Cancel</gui> rather than <gui>Apply</gui>, Shotwell will "
-"return to the photo's previous crop dimensions."
-msgstr ""
-"Si pulsa el botón <gui>Cancelar</gui> en vez del botón <gui>Aplicar</gui>, "
-"Shotwell devolverá a la foto las dimensiones anteriores del recorte."
-
-#. (itstool) path: section/title
-#: C/edit-crop.page:38
-msgid "What is the rule of thirds?"
-msgstr "¿Qué es la regla de los tercios?"
-
-#. (itstool) path: section/p
-#: C/edit-crop.page:39
-msgid ""
-"The <em>rule of thirds</em> helps you to choose a pleasing composition for a "
-"photo."
-msgstr ""
-"La <em>regla de los tercios </em> le ayuda a elegir una composición "
-"satisfactoria para una foto."
-
-#. (itstool) path: section/p
-#: C/edit-crop.page:40
-msgid ""
-"Imagine that the scene is divided up into a 3x3 grid by two equally-spaced "
-"vertical lines and two equally-spaced horizontal lines. According to the "
-"rule, you're more likely to get a pleasing composition if you align major "
-"features (like the horizon, or a person's body) with one of the lines. "
-"Paying attention to the way features flow from one part of the grid to "
-"another can also help."
-msgstr ""
-"Imagine que la escena se divide en una cuadrícula de 3x3 por dos líneas "
-"verticales espaciadas y por dos líneas horizontales igualmente espaciadas. "
-"De acuerdo con la regla, es más probable que obtenga una composición "
-"satisfactoria si alinea las características principales (como el horizonte o "
-"una persona) con una de estas líneas. Prestar atención a la forma en que las "
-"características van de una parte de la cuadrícula a la otra también puede "
-"ser de ayuda."
-
-#. (itstool) path: section/p
-#: C/edit-crop.page:41
-msgid ""
-"Cropping a photo so that it conforms to the rule of thirds often results in "
-"a more visually appealing image."
-msgstr ""
-"Recortar una foto siguiendo la regla de los tercios suele dar como resultado "
-"una imagen visualmente más satisfactoria."
-
-#. (itstool) path: media/p
-#: C/edit-crop.page:43
-msgid ""
-"Cropping a photo, using the \"rule of thirds\" lines to improve the "
-"composition."
-msgstr ""
-"Recorte una foto siguiendo las líneas de la «regla de los tercios» para "
-"mejorar la composición."
-
-#. (itstool) path: info/desc
-#: C/edit-enhance.page:7
-msgid ""
-"Let Shotwell improve the brightness and contrast of a photo automatically."
-msgstr ""
-"Permita que Shotwell mejore el brillo y el contraste de una foto "
-"automáticamente."
-
-#. (itstool) path: page/title
-#: C/edit-enhance.page:14
-msgid "Auto-enhance"
-msgstr "Mejora automática"
-
-#. (itstool) path: page/p
-#: C/edit-enhance.page:16
-msgid ""
-"Clicking on the <gui>Enhance</gui> button is a quick way to automatically "
-"adjust the brightness and contrast of your photo. It will often give you a "
-"photo that is correctly exposed. You can also use it as a starting point and "
-"then improve the adjustments by clicking on the <gui>Adjust</gui> button."
-msgstr ""
-"Pulsar en el botón <gui>Mejorar</gui> es una forma rápida de ajustar "
-"automáticamente el brillo y el contraste de la foto. Normalmente le ofrecerá "
-"una foto que esté correctamente expuesta. También puede utilizarlo como "
-"punto de partida y luego mejorar los ajustes pulsando en el botón "
-"<gui>Ajustar</gui>."
-
-#. (itstool) path: info/desc
-#: C/edit-external.page:7
-msgid "Use a different program to edit a photo."
-msgstr "Usar un programa diferente para editar una foto."
-
-#. (itstool) path: page/title
-#: C/edit-external.page:12
-msgid "Edit photos with an external program"
-msgstr "Editar las fotos con un programa externo"
-
-#. (itstool) path: page/p
-#: C/edit-external.page:16
-msgid ""
-"You might want to use an external editor to do additional work on a photo. "
-"If installed, GIMP and UFRaw are the default external editors for photo and "
-"RAW editing, respectively. If these programs are not installed, you must "
-"select your preferred editors by choosing <guiseq><gui>Edit</"
-"gui><gui>Preferences</gui></guiseq> and selecting editors from drop-down "
-"menus of installed applications."
-msgstr ""
-"Quizás quiera utilizar un editor externo para trabajar adicionalmente en una "
-"foto. Si están instalados, GIMP y UFRaw son los editores externos "
-"predeterminados para editar una foto o RAW, respectivamente. Si estos "
-"programas no están instalados, tiene que seleccionar sus editores preferidos "
-"eligiendo <guiseq><gui>Editar<gui><gui>Preferencias</gui></guiseq> y "
-"seleccionar los editores del menú desplegable de las aplicaciones instaladas."
-
-#. (itstool) path: page/p
-#: C/edit-external.page:24
-msgid ""
-"Once your editors have been set, select a photo and choose "
-"<guiseq><gui>Photos</gui> <gui>Open With External Editor</gui></guiseq> to "
-"open the photo with the external editor. Likewise, if the original photo is "
-"a RAW file, select <guiseq><gui>Photos</gui><gui>Open With RAW Editor</gui></"
-"guiseq> to edit the RAW file directly with the set RAW editor."
-msgstr ""
-"Una vez que los editores se han establecido, seleccione una foto y elija "
-"<guiseq><gui>Fotos</gui> <gui>Abrir con un editor externo</gui></guiseq> "
-"para abrir la foto con un editor externo. De la misma manera, si la foto "
-"original es un archivo RAW, seleccione <guiseq><gui>Fotos</gui><gui>Abrir "
-"con un editor RAW</gui></guiseq> para editar el archivo RAW directamente con "
-"un editor RAW establecido."
-
-#. (itstool) path: page/p
-#: C/edit-external.page:31
-msgid ""
-"When you complete your edits and save the file, Shotwell will detect the "
-"changes and update the photo. When external edits have been made, press and "
-"hold the <key>Shift</key> key in full-window view to show the original photo "
-"rather than the externally-edited one."
-msgstr ""
-
-#. (itstool) path: page/p
-#: C/edit-external.page:38
-msgid "Reverting to original will erase any external edits."
-msgstr "Revertir al original borrará cualquier cambio externo."
-
-#. (itstool) path: note/p
-#: C/edit-external.page:43
-msgid ""
-"If you externally edit a RAW photo and save the result to another image, "
-"such as a JPEG or PNG, Shotwell cannot automatically determine that the "
-"original RAW and the new image should be paired."
-msgstr ""
-
-#. (itstool) path: note/p
-#: C/edit-external.page:49
-msgid ""
-"If you want to work within the resulting image within Shotwell, you'll need "
-"to import it yourself."
-msgstr ""
-
-#. (itstool) path: info/desc
-#: C/edit-nondestructive.page:7
-msgid ""
-"Shotwell is a non-destructive photo editor - it does not modify your "
-"original photos."
-msgstr ""
-
-#. (itstool) path: page/title
-#: C/edit-nondestructive.page:12
-msgid "What happens to the original when I edit a photo?"
-msgstr "¿Qué sucede con el original cuando edito una foto?"
-
-#. (itstool) path: page/p
-#: C/edit-nondestructive.page:14
-msgid ""
-"Shotwell is a non-destructive photo editor. It does not modify your original "
-"photographs. That is to say, if you crop a photo or adjust its colors, the "
-"photo file on disc remains untouched. Shotwell stores your edits in a "
-"database and applies them on the fly as necessary. This means you can undo "
-"any alterations you make to a photograph."
-msgstr ""
-
-#. (itstool) path: page/p
-#: C/edit-nondestructive.page:16 C/edit-undo.page:18
-msgid ""
-"If you want to see what a photo looked like before your modifications, press "
-"the <key>Shift</key> key. The original photo will be displayed as long as "
-"you hold the key down."
-msgstr ""
-
-#. (itstool) path: page/p
-#: C/edit-nondestructive.page:18
-msgid ""
-"Note that Shotwell can optionally write metadata (such as tags and titles) "
-"to photo files. For more information, see the section <link xref=\"other-"
-"files\">Photo files</link>."
-msgstr ""
-
-#. (itstool) path: info/desc
-#: C/edit-redeye.page:7
-msgid ""
-"Correct photos where people have red eyes because of the camera's flash."
-msgstr ""
-"Corrige las fotos donde las personas tienen ojos rojos por el flash de la "
-"cámara."
-
-#. (itstool) path: page/title
-#: C/edit-redeye.page:12
-msgid "Removing red-eye"
-msgstr "Quitar los ojos rojos"
-
-#. (itstool) path: page/p
-#: C/edit-redeye.page:14
-msgid ""
-"Red-eye occurs when the camera's flash reflects off the pupil of someone's "
-"eye. To eliminate this in a photo, use the Red-eye tool."
-msgstr ""
-
-#. (itstool) path: item/p
-#: C/edit-redeye.page:17
-msgid "Click <gui>Red-eye</gui>. A circle will appear on the photo."
-msgstr "Pulse en <gui>Ojos Rojos</gui>. Un círculo aparecerá en la foto."
-
-#. (itstool) path: item/p
-#: C/edit-redeye.page:20
-msgid ""
-"Drag the circle over the affected pupil, adjust its size with the slider "
-"control, and press <gui>Apply</gui>. The redness will be removed."
-msgstr ""
-
-#. (itstool) path: item/p
-#: C/edit-redeye.page:23
-msgid ""
-"Repeat this process for all red pupils in your photo. Press <gui>Close</gui> "
-"when finished."
-msgstr ""
-
-#. (itstool) path: info/desc
-#: C/edit-rotate.page:7
-msgid ""
-"Click the <gui>Rotate</gui> button, or choose one of the commands in the "
-"<gui>Photo</gui> menu."
-msgstr ""
-"Pulse el botón <gui>Girar</gui>, o elija uno de los comandos en el menú "
-"<gui>Foto</gui>."
-
-#. (itstool) path: page/title
-#: C/edit-rotate.page:12
-msgid "Rotate or flip a photo"
-msgstr "Girar o voltear una foto"
-
-#. (itstool) path: page/p
-#: C/edit-rotate.page:14
-msgid ""
-"You can rotate your photos left and right (clockwise and counterclockwise) "
-"with the <gui>Rotate</gui> button on the toolbar of most views. You can also "
-"make a mirror image of any photo."
-msgstr ""
-
-#. (itstool) path: page/p
-#: C/edit-rotate.page:16
-msgid ""
-"To rotate right, click on the <gui>Rotate</gui> button. To rotate left, "
-"press and hold the <key>Ctrl</key> key and then click the button. Both "
-"commands are available in the <gui>Photos</gui> menu too. Alternatively, use "
-"the following keyboard shortcuts:"
-msgstr ""
-
-#. (itstool) path: item/p
-#: C/edit-rotate.page:18
-msgid ""
-"rotate left: <keyseq><key>Shift</key><key>Ctrl</key><key>R</key></keyseq> or "
-"<key>[</key>"
-msgstr ""
-"rotar a la izquierda: <keyseq><key>Mayús</key><key>Ctrl</key><key>R</key></"
-"keyseq> o <key>[</key>"
-
-#. (itstool) path: item/p
-#: C/edit-rotate.page:19
-msgid ""
-"rotate right: <keyseq><key>Ctrl</key><key>R</key></keyseq> or <key>]</key>"
-msgstr ""
-"rotar a la derecha: <keyseq><key>Ctrl</key><key>R</key></keyseq> or <key>]</"
-"key>"
-
-#. (itstool) path: page/p
-#: C/edit-rotate.page:21
-msgid ""
-"To create a mirror image of a photo, use the <gui>Flip Horizontally</gui> "
-"command in the <gui>Photos</gui> menu. To flip an image vertically, use the "
-"<gui>Flip Vertically</gui> command in the same menu."
-msgstr ""
-
-#. (itstool) path: note/p
-#: C/edit-rotate.page:24
-msgid ""
-"If you select more than one image, you can rotate all of them at the same "
-"time."
-msgstr ""
-"Si selecciona más de una imagen, puede girar todas ellas al mismo tiempo."
-
-#. (itstool) path: info/desc
-#: C/edit-straighten.page:7
-msgid "Straighten a photo so that its horizon appears level."
-msgstr "Enderezar una foto tal que su horizonte aparezca nivelado."
-
-#. (itstool) path: page/title
-#: C/edit-straighten.page:12
-msgid "Straighten photos"
-msgstr "Enderezar fotos"
-
-#. (itstool) path: page/p
-#: C/edit-straighten.page:14
-msgid ""
-"The straighten tools allows photos to be leveled and straightened. The "
-"straighten tool is only available in full-window or fullscreen mode."
-msgstr ""
-
-#. (itstool) path: item/p
-#: C/edit-straighten.page:18
-msgid ""
-"Click <gui>Straighten</gui>. The straighten slider will appear. "
-"Alternatively, use the keyboard shortcut <keyseq><key>Ctrl</key><key>A</"
-"key></keyseq>."
-msgstr ""
-
-#. (itstool) path: item/p
-#: C/edit-straighten.page:21
-msgid "Drag the slider to achieve the desired degree of straightening."
-msgstr ""
-"Arrastre el control deslizante para conseguir el grado que quiera de "
-"enderezamiento."
-
-#. (itstool) path: item/p
-#: C/edit-straighten.page:24
-#, fuzzy
-#| msgid "Press <gui>OK</gui> when finished."
-msgid "Press <gui>Straighten</gui> when finished."
-msgstr "Pulse <gui>Aceptar</gui> cuando haya acabado."
-
-#. (itstool) path: info/desc
-#: C/edit-date-time.page:7
-#, fuzzy
-#| msgid "Change the time and date of photos if those details are incorrect."
-msgid "Change the date and time of photos if those details are incorrect."
-msgstr "Cambiar la hora y la fecha de las fotos si son incorrectas."
-
-#. (itstool) path: page/title
-#: C/edit-date-time.page:12
-#, fuzzy
-#| msgid "Adjust the time and date of photos"
-msgid "Adjust the date and time of photos"
-msgstr "Ajustar la hora y fecha de las fotos"
-
-#. (itstool) path: page/p
-#: C/edit-date-time.page:14
-#, fuzzy
-#| 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>."
-msgid ""
-"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."
-msgstr ""
-"Para crear un evento nuevo, seleccione las fotos que quiere tener en el "
-"evento y pulse <guiseq><gui>Eventos</gui><gui>Nuevo evento</gui></guiseq>."
-
-#. (itstool) path: page/p
-#: C/edit-date-time.page:16
-msgid ""
-"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."
-msgstr ""
-
-#. (itstool) path: page/p
-#: C/edit-date-time.page:18
-msgid ""
-"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."
-msgstr ""
-
-#. (itstool) path: info/desc
-#: C/edit-undo.page:7
-msgid "Return a photo to its original, unedited form."
-msgstr "Restaurar una foto a su estado original, sin edición."
-
-#. (itstool) path: page/title
-#: C/edit-undo.page:14
-msgid "Undoing changes"
-msgstr "Deshacer cambios"
-
-#. (itstool) path: page/p
-#: C/edit-undo.page:16
-msgid ""
-"Because Shotwell is a non-destructive photo editor, you can undo any "
-"alterations you make to a photograph."
-msgstr ""
-
-#. (itstool) path: page/p
-#: C/edit-undo.page:20
-msgid ""
-"To completely undo all the changes you've made to a photo, click "
-"<guiseq><gui>Photos</gui><gui>Revert to Original</gui></guiseq>. The only "
-"exception is that time and date adjustments will not be reverted."
-msgstr ""
-
-#. (itstool) path: info/desc
-#: C/formats.page:7
-msgid ""
-"Shotwell supports JPEG, PNG, TIFF, BMP and RAW photo files as well as video "
-"files."
-msgstr ""
-
-#. (itstool) path: page/title
-#: C/formats.page:12
-msgid "Supported photo and video formats"
-msgstr "Formatos de foto y vídeo soportados"
-
-#. (itstool) path: page/p
-#: C/formats.page:14
-msgid ""
-"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."
-msgstr ""
-
-#. (itstool) path: page/p
-#: C/formats.page:16
-msgid ""
-"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)."
-msgstr ""
-
-#. (itstool) path: page/p
-#: C/formats.page:18
-msgid ""
-"For more information about RAW-format photos in Shotwell, please see the "
-"<link type=\"guide\" xref=\"other-raw\">RAW</link> section."
-msgstr ""
-
-#. (itstool) path: page/p
-#: C/formats.page:22
-msgid ""
-"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:"
-msgstr ""
-
-#. (itstool) path: item/p
-#: C/formats.page:25
-msgid "Container formats: Ogg, QuickTime, MP4, AVI."
-msgstr "Formatos de contenedor: Ogg, QuickTime, MP4, AVI."
-
-#. (itstool) path: item/p
-#: C/formats.page:26
-msgid ""
-"Codecs: Theora, Quicktime, MPEG-4, Motion JPEG. <em>Note that some operating "
-"systems may not include all codecs listed here due to legal or licensing "
-"restrictions.</em>"
-msgstr ""
-
-#. (itstool) path: page/p
-#: C/formats.page:30
-msgid ""
-"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."
-msgstr ""
-
-#. (itstool) path: info/desc
-#: C/import-camera.page:7
-msgid "Copy photos from a digital camera."
-msgstr "Copiar fotos desde una cámara digital."
-
-#. (itstool) path: page/title
-#: C/import-camera.page:12
-msgid "Importing from a camera"
-msgstr "Importar desde una cámara"
-
-#. (itstool) path: page/p
-#: C/import-camera.page:14
-msgid "To import photos from a digital camera:"
-msgstr "Para importar fotos desde una cámara digital:"
-
-#. (itstool) path: item/p
-#: C/import-camera.page:18
-msgid ""
-"Connect the camera to your computer and switch it on. Shotwell will detect "
-"it and list it in the sidebar."
-msgstr ""
-"Conecte la cámara al equipo y enciéndala. Shotwell la detectará y la "
-"mostrará en la barra lateral."
-
-#. (itstool) path: item/p
-#: C/import-camera.page:22
-msgid ""
-"Select the camera in the sidebar. Previews of each photo on the camera will "
-"be displayed."
-msgstr ""
-"Seleccione la cámara en la barra lateral. Se mostrará la vista previa de "
-"cada una de las fotos de la cámara."
-
-#. (itstool) path: item/p
-#: C/import-camera.page:25
-msgid ""
-"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."
-msgstr ""
-
-#. (itstool) path: item/p
-#: C/import-camera.page:28
-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 ""
-
-#. (itstool) path: page/p
-#: C/import-camera.page:32
-msgid ""
-"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."
-msgstr ""
-
-#. (itstool) path: info/desc
-#: C/import-file.page:7
-msgid "Import photos that are already saved on your computer."
-msgstr "Importar fotos que ya están en el equipo."
-
-#. (itstool) path: page/title
-#: C/import-file.page:12
-msgid "Importing from your hard disk"
-msgstr "Importar desde su disco duro"
-
-#. (itstool) path: page/p
-#: C/import-file.page:14
-msgid ""
-"To import photo files from your hard disk into Shotwell, just drag them from "
-"your file browser into the Shotwell window."
-msgstr ""
-"Para importar fotos desde su disco duro a Shotwell, solo debe arrastrarlas "
-"desde su explorador a la ventana de Shotwell."
-
-#. (itstool) path: page/p
-#: C/import-file.page:16
-msgid ""
-"Alternatively, click <guiseq><gui>File</gui><gui>Import From Folder...</"
-"gui></guiseq> and select the folder containing the photos you want to import."
-msgstr ""
-
-#. (itstool) path: page/p
-#: C/import-file.page:18
-msgid ""
-"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."
-msgstr ""
-
-#. (itstool) path: page/p
-#: C/import-file.page:20
-msgid ""
-"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."
-msgstr ""
-
-#. (itstool) path: page/p
-#: C/import-file.page:22
-msgid ""
-"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."
-msgstr ""
-
-#. (itstool) path: info/desc
-#: C/import-f-spot.page:7
-msgid ""
-"Shotwell can import all your photos and tags from the F-Spot photo manager."
-msgstr ""
-"Shotwell puede importar todas sus fotos y etiquetas desde el gestor de fotos "
-"F-Spot."
-
-#. (itstool) path: page/title
-#: C/import-f-spot.page:12
-msgid "Importing from F-Spot"
-msgstr "Importar desde F-Spot"
-
-#. (itstool) path: page/p
-#: C/import-f-spot.page:14
-msgid "To import an existing photo collection from F-Spot:"
-msgstr "Para importar una colección de fotos existente desde F-Spot:"
-
-#. (itstool) path: item/p
-#: C/import-f-spot.page:16
-msgid "Select <guiseq><gui>File</gui><gui>Import From F-Spot</gui></guiseq>."
-msgstr ""
-"Seleccione <guiseq><gui>Archivo</gui><gui>Importar desde F-Spot</gui></"
-"guiseq>."
-
-#. (itstool) path: item/p
-#: C/import-f-spot.page:17
-msgid ""
-"Now choose either the default F-Spot library or another F-Spot database. If "
-"importing from another F-Spot database, select a directory and file from the "
-"chooser dialog box."
-msgstr ""
-
-#. (itstool) path: page/p
-#: C/import-f-spot.page:20
-msgid ""
-"Shotwell will import your photos, together with their tags and other "
-"information. 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."
-msgstr ""
-
-#. (itstool) path: info/desc
-#: C/import-memorycard.page:7
-msgid "Import photos from a digital camera's memory card."
-msgstr "Importar fotos desde una tarjeta de memoria de una cámara digital."
-
-#. (itstool) path: page/title
-#: C/import-memorycard.page:12
-msgid "Importing from a memory card"
-msgstr "Importar desde una tarjeta de memoria"
-
-#. (itstool) path: page/p
-#: C/import-memorycard.page:14
-msgid "To import photos from a camera memory card:"
-msgstr "Para importar fotos desde una tarjeta de memoria de una cámara:"
-
-#. (itstool) path: item/p
-#: C/import-memorycard.page:18
-msgid ""
-"Put the card into your card reader. Make sure the card reader is plugged in "
-"to the computer and switched on."
-msgstr ""
-"Coloque la tarjeta en el lector de tarjetas. Asegúrese de que el lector está "
-"conectado al equipo y encendido."
-
-#. (itstool) path: item/p
-#: C/import-memorycard.page:21
-msgid "The card reader and card should be detected automatically."
-msgstr ""
-"El lector de tarjetas y la tarjeta se deberían detectar automáticamente."
-
-#. (itstool) path: item/p
-#: C/import-memorycard.page:24
-msgid ""
-"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."
-msgstr ""
-
-#. (itstool) path: page/p
-#: C/import-memorycard.page:28
-msgid ""
-"Shotwell can import photos from any memory card that is compatible with your "
-"card reader."
-msgstr ""
-"Shotwell puede importar fotos de una tarjeta de memoria que sea compatible "
-"con su lector de tarjetas."
-
-#. (itstool) path: page/p
-#: C/import-memorycard.page:30
-msgid ""
-"If the card is not detected automatically, your card reader may not have "
-"been recognized. Try unplugging it and then plugging it in again. If that "
-"doesn't work, you should still be able to import photos by <link xref="
-"\"import-camera\">connecting your camera directly to the computer</link>, "
-"though."
-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/index.page:23
-msgctxt "_"
-msgid ""
-"external ref='figures/shotwell_logo.png' "
-"md5='4b333499555b4e496b1a38f7899067f3'"
-msgstr ""
-"external ref='figures/shotwell_logo.png' "
-"md5='4b333499555b4e496b1a38f7899067f3'"
-
-#. (itstool) path: info/title
-#: C/index.page:6
-msgctxt "link"
-msgid "Shotwell"
-msgstr "Shotwell"
-
-#. (itstool) path: info/title
-#: C/index.page:7
-msgctxt "text"
-msgid "Shotwell"
-msgstr "Shotwell"
-
-#. (itstool) path: credit/name
-#: C/index.page:9
-msgid "Jim Nelson"
-msgstr "Jim Nelson"
-
-#. (itstool) path: credit/name
-#: C/index.page:11
-msgid "Allison Barlow"
-msgstr "Allison Barlow"
-
-#. (itstool) path: credit/name
-#: C/index.page:13
-msgid "Robert Ancell"
-msgstr "Robert Ancell"
-
-#. (itstool) path: credit/name
-#: C/index.page:15
-msgid "Peter Smith"
-msgstr "Peter Smith"
-
-#. (itstool) path: credit/name
-#: C/index.page:17
-msgid "Phil Bull"
-msgstr "Phil Bull"
-
-#. (itstool) path: page/title
-#: C/index.page:23
-msgid ""
-"<media type=\"image\" src=\"figures/shotwell_logo.png\"/>Shotwell Photo "
-"Manager"
-msgstr ""
-"<media type=\"image\" src=\"figures/shotwell_logo.png\"/>Gestor de fotos "
-"Shotwell"
-
-#. (itstool) path: section/title
-#: C/index.page:26
-msgid "Importing Photos"
-msgstr "Importar fotos"
-
-#. (itstool) path: section/title
-#: C/index.page:30
-msgid "Viewing Photos"
-msgstr "Ver fotos"
-
-#. (itstool) path: section/title
-#: C/index.page:34
-msgid "Organizing Photos"
-msgstr "Organizar fotos"
-
-#. (itstool) path: section/title
-#: C/index.page:38
-msgid "Editing Photos"
-msgstr "Editar fotos"
-
-#. (itstool) path: section/title
-#: C/index.page:42
-msgid "Sharing Photos"
-msgstr "Compartir fotos"
-
-#. (itstool) path: section/title
-#: C/index.page:46
-msgid "Other Features"
-msgstr "Otras características"
-
-#. (itstool) path: info/desc
-#: C/organize-event.page:7
-msgid ""
-"Group photos together that were taken at the same time. Learn how to rename, "
-"merge, and sort events."
-msgstr ""
-"Agrupar fotos que se tomadron al mismo tiempo. Aprenda como renombrar, unir "
-"y ordenar eventos."
-
-#. (itstool) path: page/title
-#: C/organize-event.page:12
-msgid "Events"
-msgstr "Eventos"
-
-#. (itstool) path: page/p
-#: C/organize-event.page:14
-msgid ""
-"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."
-msgstr ""
-
-#. (itstool) path: page/p
-#: C/organize-event.page:16
-msgid ""
-"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."
-msgstr ""
-
-#. (itstool) path: page/p
-#: C/organize-event.page:18
-msgid ""
-"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."
-msgstr ""
-
-#. (itstool) path: section/title
-#: C/organize-event.page:25
-msgid "Renaming events"
-msgstr "Renombrar eventos"
-
-#. (itstool) path: section/p
-#: C/organize-event.page:27
-msgid ""
-"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>."
-msgstr ""
-
-#. (itstool) path: section/title
-#: C/organize-event.page:31
-msgid "Moving photos between events"
-msgstr "Mover fotos entre eventos"
-
-#. (itstool) path: section/p
-#: C/organize-event.page:33
-msgid ""
-"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."
-msgstr ""
-
-#. (itstool) path: section/title
-#: C/organize-event.page:37
-msgid "Creating and merging events"
-msgstr "Crear y combinar eventos"
-
-#. (itstool) path: section/p
-#: C/organize-event.page:38
-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 ""
-"Para crear un evento nuevo, seleccione las fotos que quiere tener en el "
-"evento y pulse <guiseq><gui>Eventos</gui><gui>Nuevo evento</gui></guiseq>."
-
-#. (itstool) path: section/p
-#: C/organize-event.page:39
-msgid ""
-"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>."
-msgstr ""
-
-#. (itstool) path: section/title
-#: C/organize-event.page:43
-msgid "Sorting events"
-msgstr "Ordenar eventos"
-
-#. (itstool) path: section/p
-#: C/organize-event.page:45
-msgid ""
-"Events are displayed in a tree in the sidebar, organized by the year and "
-"month of the earliest photo in the event. To change the event sort order, "
-"click <guiseq><gui>View</gui><gui>Sort Events</gui></guiseq> and select "
-"either ascending or descending."
-msgstr ""
-
-#. (itstool) path: section/title
-#: C/organize-event.page:51
-msgid "Change the photo used to represent each event"
-msgstr "Cambiar la foto usada para representar cada evento"
-
-#. (itstool) path: section/p
-#: C/organize-event.page:53
-#, fuzzy
-#| msgid ""
-#| "If you select the Events item in the sidebar, you'll see a single photo "
-#| "which represents each event. This is called the key photo."
-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 ""
-"Si selecciona el elemento Eventos en la barra lateral, verá una única foto "
-"que representa cada evento. Esto se denomina «foto clave»."
-
-#. (itstool) path: section/p
-#: C/organize-event.page:55
-msgid ""
-"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>."
-msgstr ""
-
-#. (itstool) path: info/desc
-#: C/organize-flag.page:7
-msgid "Flag photos to mark them as special or to work with them as a set."
-msgstr ""
-"Marcar fotos para identificarlas como especiales o para trabajar con ellas "
-"como conjunto."
-
-#. (itstool) path: page/title
-#: C/organize-flag.page:12
-msgid "Flagging photos"
-msgstr "Marcar fotos"
-
-#. (itstool) path: page/p
-#: C/organize-flag.page:14
-msgid ""
-"Shotwell lets you <em>flag</em> photos. When a photo is flagged, a small "
-"flag icon appears in its upper right corner. You can select the "
-"<gui>Flagged</gui> item in the sidebar to see all photos which have been "
-"flagged."
-msgstr ""
-
-#. (itstool) path: page/p
-#: C/organize-flag.page:18
-msgid ""
-"Flagging a photo marks it as special. You can interpret this in any way you "
-"like. For example, you might flag all photos which need visual adjustment, "
-"or all photos which you want to share with a friend."
-msgstr ""
-
-#. (itstool) path: page/p
-#: C/organize-flag.page:22
-msgid ""
-"Flagging is also useful because you can operate on all flagged photos as a "
-"set. For example, you can select the <gui>Flagged</gui> view and then upload "
-"all flagged photos to a publishing service."
-msgstr ""
-
-#. (itstool) path: section/title
-#: C/organize-flag.page:27
-msgid "To flag or unflag a photo"
-msgstr "Para marcar o desmarcar una foto"
-
-#. (itstool) path: section/p
-#: C/organize-flag.page:28
-msgid ""
-"To flag or unflag a photo, right-click the photo and choose <gui>Flag</gui> "
-"or <gui>Unflag</gui> from the context menu. Or use the <keyseq><key>Ctrl</"
-"key><key>G</key></keyseq> or <key>/</key> shortcut keys."
-msgstr ""
-
-#. (itstool) path: info/desc
-#: C/organize-rating.page:7
-msgid ""
-"Give photos a rating between 1 and 5 stars. You can reject bad photos, "
-"hiding them from view."
-msgstr ""
-"Asigne a las fotos una puntuación entre 1 y 5. Puede rechazar las fotos "
-"malas, ocultándolas en la vista."
-
-#. (itstool) path: page/title
-#: C/organize-rating.page:12
-msgid "Ratings"
-msgstr "Valoraciones"
-
-#. (itstool) path: page/p
-#: C/organize-rating.page:13
-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 ""
-"Puede asignar a cada foto una puntuación entre 1 y 5, o marcarla como "
-"rechazada, en cuyo caso Shotwell la ocultará de manera predeterminada."
-
-#. (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 ""
-"Puede valorar una foto o un conjunto de fotos de cualquiera de estas maneras:"
-
-#. (itstool) path: item/p
-#: C/organize-rating.page:18
-msgid ""
-"Select the photo(s), then choose a rating from the top-level "
-"<guiseq><gui>Photos</gui><gui>Set Rating</gui></guiseq> menu."
-msgstr ""
-"Seleccione las fotos y luego escoja una puntuación en el menú "
-"<guiseq><gui>Foto</gui><gui>Establecer puntuación</gui></guiseq> del nivel "
-"superior."
-
-#. (itstool) path: item/p
-#: C/organize-rating.page:19
-msgid ""
-"Right-click on the photo(s), then choose a rating from the Set Rating "
-"context menu."
-msgstr ""
-"Pulse con el botón derecho en las fotos y luego escoja su puntuación en el "
-"menú contextual «Establecer puntuación»."
-
-#. (itstool) path: item/p
-#: C/organize-rating.page:20
-msgid ""
-"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)."
-msgstr ""
-
-#. (itstool) path: page/p
-#: C/organize-rating.page:23
-msgid ""
-"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."
-msgstr ""
-
-#. (itstool) path: page/p
-#: C/organize-rating.page:26
-msgid ""
-"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."
-msgstr ""
-
-#. (itstool) path: page/p
-#: C/organize-rating.page:28
-msgid ""
-"You can increase or decrease a photo's rating using the <guiseq><gui>Set "
-"Rating</gui><gui>Increase</gui></guiseq> and <guiseq><gui>Set Rating</"
-"gui><gui>Decrease</gui></guiseq> commands, or the keyboard shortcuts "
-"<key>&lt;</key> and <key>&gt;</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 ""
-"external ref='figures/trash_process.png' "
-"md5='ed596bda34c2f4a79a310fbc8bb51fd2'"
-
-#. (itstool) path: info/desc
-#: C/organize-remove.page:7
-msgid ""
-"Remove photos from the library, or delete them from your computer entirely."
-msgstr "Quitar fotos de la biblioteca, o eliminarlas por completo del equipo."
-
-#. (itstool) path: page/title
-#: C/organize-remove.page:12
-msgid "Removing and deleting photos"
-msgstr "Quitar y eliminar fotos"
-
-#. (itstool) path: page/p
-#: C/organize-remove.page:14
-msgid ""
-"You may remove photos from your library and you may additionally delete them "
-"entirely from your hard disk."
-msgstr ""
-"Puede eliminar las fotos de su biblioteca y también puede eliminarlas de su "
-"disco duro."
-
-#. (itstool) path: page/media
-#: C/organize-remove.page:15
-msgid "Delete process"
-msgstr "Proceso de eliminado"
-
-#. (itstool) path: page/p
-#: C/organize-remove.page:16
-msgid ""
-"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."
-msgstr ""
-"Este diagrama muestra cómo, cuando se elimina una foto, se pone primero en "
-"la papelera de Shotwell. Si la elimina de la papelera de Shotwell, se mueve "
-"a la papelera de su equipo. Si la elimina de la papelera del equipo, se "
-"eliminará permanentemente."
-
-#. (itstool) path: section/title
-#: C/organize-remove.page:18
-msgid "Removing photos from the library"
-msgstr "Quitar fotos de la biblioteca"
-
-#. (itstool) path: section/p
-#: C/organize-remove.page:19
-msgid ""
-"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."
-msgstr ""
-"Seleccione las fotos que quiere quitar y elija <guiseq><gui>Editar</"
-"gui><gui>Mover a la papelera</gui></guiseq>. (También puede pulsar la tecla "
-"<key>Supr</key>.) Las fotos se moverán de su biblioteca a la papelera de "
-"Shotwell."
-
-#. (itstool) path: section/p
-#: C/organize-remove.page:22
-msgid ""
-"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."
-msgstr ""
-
-#. (itstool) path: section/title
-#: C/organize-remove.page:26
-msgid "Emptying or restoring the trash folder"
-msgstr "Vaciar o restaurar la carpeta de la papelera"
-
-#. (itstool) path: section/p
-#: C/organize-remove.page:27
-msgid ""
-"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:"
-msgstr ""
-"Seleccione la entrada de la papelera en la barra lateral y Shotwell mostrará "
-"todas las fotos que se han marcado para quitar o eliminar. En la vista de la "
-"papelera están disponibles los siguientes comandos:"
-
-#. (itstool) path: item/title
-#: C/organize-remove.page:29
-msgid "Delete"
-msgstr "Eliminar"
-
-#. (itstool) path: item/p
-#: C/organize-remove.page:29
-msgid "Delete the selected photos from the trash folder."
-msgstr "Eliminar las fotos seleccionadas de la carpeta de la papelera"
-
-#. (itstool) path: item/title
-#: C/organize-remove.page:30
-msgid "Restore"
-msgstr "Restaurar"
-
-#. (itstool) path: item/p
-#: C/organize-remove.page:30
-msgid "Restore the selected photos into Shotwell."
-msgstr "Restaurar las fotos seleccionadas en Shotwell."
-
-#. (itstool) path: item/title
-#: C/organize-remove.page:31
-msgid "Empty trash"
-msgstr "Vaciar la papelera"
-
-#. (itstool) path: item/p
-#: C/organize-remove.page:31
-msgid "Delete all photos from the trash folder."
-msgstr "Eliminar todas las fotos de la papelera."
-
-#. (itstool) path: section/title
-#: C/organize-remove.page:36
-msgid "Deleting or emptying Trash"
-msgstr "Eliminar o vaciar la papelera"
-
-#. (itstool) path: section/p
-#: C/organize-remove.page:37
-msgid ""
-"When you delete files from the Trash folder or empty the Trash folder, you "
-"will be given the following choices:"
-msgstr ""
-"Cuando elimine archivos de la carpeta Papelera, o cuando la vacíe, se le "
-"ofrecerán las siguientes opciones:"
-
-#. (itstool) path: item/title
-#: C/organize-remove.page:39
-msgid "Only Remove"
-msgstr "Solo eliminar"
-
-#. (itstool) path: item/p
-#: C/organize-remove.page:39
-msgid ""
-"Remove photos from the library but leave the photos in their location on the "
-"computer."
-msgstr ""
-"Quitar fotos de la biblioteca pero mantener las fotos en su ubicación dentro "
-"del equipo."
-
-#. (itstool) path: item/title
-#: C/organize-remove.page:40
-msgid "Trash file"
-msgstr "Archivo de Papelera"
-
-#. (itstool) path: item/p
-#: C/organize-remove.page:40
-msgid "Remove photos from the library and delete them from the computer."
-msgstr "Quitar fotos de la biblioteca y eliminarlas del equipo."
-
-#. (itstool) path: item/title
-#: C/organize-remove.page:41
-msgid "Cancel"
-msgstr "Cancelar"
-
-#. (itstool) path: item/p
-#: C/organize-remove.page:41
-msgid "Do nothing."
-msgstr "No hacer nada."
-
-#. (itstool) path: info/desc
-#: C/organize-search.page:7
-msgid "Find photos and videos in your collection by a variety of criteria."
-msgstr "Buscar fotos y vídeos en su colección siguiendo varios criterios."
-
-#. (itstool) path: page/title
-#: C/organize-search.page:12
-msgid "Searching"
-msgstr "Búsqueda"
-
-#. (itstool) path: page/p
-#: C/organize-search.page:14
-msgid ""
-"There are two ways to search in Shotwell: the filter toolbar, and with a "
-"saved search. The search bar allows you to quickly search the current view "
-"for certain criteria. Saved Searches feature more complex search criteria "
-"and persist in the sidebar between sessions."
-msgstr ""
-
-#. (itstool) path: section/title
-#: C/organize-search.page:21
-msgid "Search bar"
-msgstr "Barra de búsqueda"
-
-#. (itstool) path: section/p
-#: C/organize-search.page:22
-msgid ""
-"The <guiseq><gui>View</gui><gui>Search Bar</gui></guiseq> checkbox toggles "
-"the display of the search bar. You can also hit <keyseq><key>Ctrl</"
-"key><key>F</key></keyseq> or <key>F8</key> to bring up the search bar. From "
-"this bar, you can find, show and hide photos and videos based on title, tag, "
-"rating or other options."
-msgstr ""
-
-#. (itstool) path: section/p
-#: C/organize-search.page:29
-msgid ""
-"To begin searching, simply enter a search keyword in the text box, or click "
-"on <gui>Flagged</gui>, <gui>Rating</gui> or <gui>Type</gui>. The text search "
-"matches your keywords across tag names, photo or video titles and photos' "
-"original filenames. The <gui>Flagged</gui>, <gui>Rating</gui> and <gui>Type</"
-"gui> buttons allow you to filter your collection by whether photos are "
-"flagged, their current number of stars, and whether the items shown are "
-"images, videos, or raw camera files, respectively."
-msgstr ""
-
-#. (itstool) path: section/p
-#: C/organize-search.page:38
-msgid ""
-"Disabling the search bar or exiting Shotwell automatically resets the search "
-"bar."
-msgstr ""
-"Desactivar la barra de búsqueda o salir de Shotwell reinicia automáticamente "
-"la barra de búsqueda."
-
-#. (itstool) path: section/title
-#: C/organize-search.page:44
-msgid "Saved search"
-msgstr "Búsqueda guardada"
-
-#. (itstool) path: section/p
-#: C/organize-search.page:45
-msgid ""
-"A saved search persists across Shotwell sessions, and is updated as photos "
-"and videos are added and removed from your Shotwell library."
-msgstr ""
-"Una búsqueda guardada se mantiene entre sesiones de Shotwell, y se actualiza "
-"con las fotos y vídeos que se añaden o quitan de su biblioteca de Shotwell."
-
-#. (itstool) path: section/p
-#: C/organize-search.page:50
-msgid ""
-"Create a new saved search with <guiseq><gui>Edit</gui><gui>New Saved "
-"Search...</gui></guiseq> or by hitting <keyseq><key>Ctrl</key><key>S</key></"
-"keyseq>. The dialog box allows you to enter a name for the search and select "
-"whether you want to meet Any, All, or None of the criteria in the following "
-"rows."
-msgstr ""
-
-#. (itstool) path: section/p
-#: C/organize-search.page:56
-msgid ""
-"Each row represents a search criterion. Use the <gui>+</gui> button to add "
-"more rows, and the <gui>-</gui> button to remove a specific row. The combo "
-"box on the left of each row selects the type of criteria. Criteria must be "
-"entered correctly before the <gui>OK</gui> button becomes available."
-msgstr ""
-
-#. (itstool) path: info/desc
-#: C/organize-tag.page:7
-msgid "Organize photos by labelling them."
-msgstr "Organizar las fotos etiquetándolas."
-
-#. (itstool) path: page/title
-#: C/organize-tag.page:14
-msgid "Tagging photos"
-msgstr "Etiquetar fotos"
-
-#. (itstool) path: page/p
-#: C/organize-tag.page:16
-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 ""
-"Puede asignar una o más etiquetas a las fotos seleccionadas. Una etiqueta "
-"puede constar de una o más palabras que quiera asociar a esas fotos."
-
-#. (itstool) path: page/p
-#: C/organize-tag.page:22
-msgid ""
-"To add new tags to photos, select the photos you would like to tag, then do "
-"any of the following:"
-msgstr ""
-"Para añadir etiquetas nuevas a las fotos, seleccione las fotos que quiere "
-"etiquetar y siga estos pasos:"
-
-#. (itstool) path: item/p
-#: C/organize-tag.page:28
-msgid "Choose <guiseq><gui>Tags</gui><gui>Add Tags...</gui></guiseq>."
-msgstr ""
-"Elija <guiseq><gui>Etiquetas</gui><gui>Añadir etiquetas...</gui></guiseq>."
-
-#. (itstool) path: item/p
-#: C/organize-tag.page:29
-msgid "Type <keyseq><key>Ctrl</key><key>T</key></keyseq>."
-msgstr "Pulse <keyseq><key>Ctrl</key><key>T</key></keyseq>."
-
-#. (itstool) path: item/p
-#: C/organize-tag.page:30
-msgid "Drag the selected photos and drop them on the desired tag."
-msgstr "Arrastre las fotos y suéltelas en la etiqueta que quiera."
-
-#. (itstool) path: page/p
-#: C/organize-tag.page:33
-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 "
-"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."
-msgstr ""
-
-#. (itstool) path: page/p
-#: C/organize-tag.page:44
-msgid ""
-"To change which tags are associated with a particular photo, select that "
-"photo, choose <guiseq><gui>Tags</gui><gui>Modify Tags...</gui></guiseq> or "
-"right-click on a photo and select <gui>Modify Tags...</gui> and edit the "
-"comma separated list. To remove a tag from one or more photos, first select "
-"that tag in the sidebar, then select the photos you would like to remove, "
-"and choose <guiseq><gui>Tags</gui><gui>Remove Tag \"[name]\" from Photos</"
-"gui></guiseq> or right-click on the photos an select <gui>Remove Tag \"[name]"
-"\" from Photos</gui>."
-msgstr ""
-
-#. (itstool) path: page/p
-#: C/organize-tag.page:58
-msgid ""
-"To delete a tag entirely, select that tag in the sidebar and choose "
-"<guiseq><gui>Tags</gui><gui>Delete Tag \"[name]\"</gui></guiseq> or by right-"
-"click and select <gui>Delete Tag \"[name]\"</gui>."
-msgstr ""
-"Para eliminar por completo una etiqueta, selecciónela en la barra latera y "
-"elija <guiseq><gui>Etiquetas</gui><gui>Eliminar etiqueta «nombre»</gui></"
-"guiseq> o púlsela con el botón derecho y elija <gui>Eliminar etiqueta "
-"«nombre»</gui>."
-
-#. (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 ""
-"La carpeta <gui>Etiquetas</gui> lista todas las etiquetas que ha asignado a "
-"sus fotos. Las fotos pueden tener múltiples etiquetas relacionadas con las "
-"mismas. Cuando posiciona el cursor sobre el nombre de una etiqueta en la "
-"barra lateral, podrá ver todas las fotos asociadas a esa etiqueta."
-
-#. (itstool) path: section/title
-#: C/organize-tag.page:73
-msgid "Hierarchical Tags"
-msgstr "Etiquetas jerárquicas"
-
-#. (itstool) path: section/p
-#: C/organize-tag.page:74
-msgid ""
-"Shotwell supports also hierarchial tags. You can rearrange your tags by drag "
-"and drop a tag onto another. To create a new subtag right-click on a tag and "
-"select <gui>New</gui>."
-msgstr ""
-"Shotwell también soporta etiquetas jerárquicas. Puede reordenar sus "
-"etiquetas arrastrando y soltando una etiqueta sobre otra. Para crear una "
-"etiqueta hija nueva, pulse con el botón derecho sobre una etiqueta y elija "
-"<gui>Nuevo</gui>."
-
-#. (itstool) path: section/p
-#: C/organize-tag.page:81
-msgid ""
-"Hierarchial tags can help you to sort your tag list in ways that better "
-"match how you work or think; for example, you can store location tags like "
-"\"Mountains\" or \"Beach\" under a parent tag \"Places\", which itself can "
-"be placed under the tag \"Summer Holidays\"."
-msgstr ""
-"Las etiquetas jerárquicas le pueden ayudar a ordenar su lista de etiquetas "
-"de manera que se ajuste a mejor a lo que necesita; por ejemplo, puede tener "
-"las etiquetas «Montañas» o «Playa» dentro de la etiqueta «Lugares», que a su "
-"vez puede estar dentro de la etiqueta «Vacaciones de verano»."
-
-#. (itstool) path: section/p
-#: C/organize-tag.page:89
-msgid "Note that deleting a parent tag will also delete its child tags."
-msgstr ""
-"Tenga en cuenta que al eliminar una etiqueta padre también se eliminarán las "
-"etiquetas hijas."
-
-#. (itstool) path: info/desc
-#: C/organize-title.page:7
-msgid "Give titles to your photos."
-msgstr "Asignar títulos a las fotos."
-
-#. (itstool) path: page/title
-#: C/organize-title.page:12
-msgid "Titles"
-msgstr "Títulos"
-
-#. (itstool) path: page/p
-#: C/organize-title.page:14
-msgid ""
-"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."
-msgstr ""
-
-#. (itstool) path: page/p
-#: C/organize-title.page:17
-#, fuzzy
-#| msgid ""
-#| "To change a photo's title, select the photo and click "
-#| "<guiseq><gui>Photos</gui><gui>Edit Title</gui></guiseq>, or press "
-#| "<key>F2</key>."
-msgid ""
-"To change a photo's title, select the photo and click <guiseq><gui>Photos</"
-"gui><gui>Edit Title...</gui></guiseq>, or press <key>F2</key>."
-msgstr ""
-"Para cambiar el título de una foto, selecciónela y pulse <guiseq><gui>Fotos</"
-"gui><gui>Editar título</gui></guiseq>, o pulse <key>F2</key>."
-
-#. (itstool) path: info/desc
-#: C/other-files.page:7
-msgid "Keep the Shotwell library in sync with photo files on disk."
-msgstr ""
-"Mantener la biblioteca de Shotwell sincronizada con los archivos de fotos "
-"del disco."
-
-#. (itstool) path: page/title
-#: C/other-files.page:12
-msgid "Photo files"
-msgstr "Archivos de fotos"
-
-#. (itstool) path: page/p
-#: C/other-files.page:14
-msgid ""
-"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."
-msgstr ""
-"Cada foto de la biblioteca de Shotwell se corresponde con un archivo "
-"almacenado en su disco duro. Shotwell tienen varias características que le "
-"ayudan a mantener su biblioteca y los archivos del disco sincronizados."
-
-#. (itstool) path: section/title
-#: C/other-files.page:21
-msgid "Using a custom directory pattern"
-msgstr "Usar un patrón de carpeta predeterminado"
-
-#. (itstool) path: section/p
-#: C/other-files.page:22
-msgid ""
-"Shotwell allows you to specify how it names directories in your library. You "
-"can do this by changing the <gui>Directory Structure</gui> and <gui>Pattern</"
-"gui> settings in the <gui>Preferences</gui> dialog. You may use a "
-"preselected pattern, or choose <gui>Custom</gui> and type in your own."
-msgstr ""
-"Shotwell le permite especificar como llamar a sus carpetas en una "
-"biblioteca. Puede hacer esto cambiando las configuraciones de "
-"<gui>Estructura del directorio</gui> y <gui>Patrón</gui> en el cuadro de "
-"diálogo <gui>Preferencias</gui>. Puede utilizar un patrón preseleccionado, o "
-"escoger <gui>Personalizado</gui> y escribir el suyo."
-
-#. (itstool) path: section/p
-#: C/other-files.page:29
-msgid ""
-"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."
-msgstr ""
-"Los símbolos disponibles para los patrones de carpetas empiezan por "
-"«%» (signo de porcentaje). Los valores que estos símbolos producen dependen "
-"de la configuración regional, por lo que lo que vea en su equipo puede ser "
-"diferente a estos ejemplos."
-
-#. (itstool) path: td/p
-#: C/other-files.page:38
-msgid "<em>Symbol</em>"
-msgstr "<em>Símbolo</em>"
-
-#. (itstool) path: td/p
-#: C/other-files.page:38
-msgid "<em>Meaning</em>"
-msgstr "<em>Significado</em>"
-
-#. (itstool) path: td/p
-#: C/other-files.page:38
-msgid "<em>Example</em>"
-msgstr "<em>Ejemplo</em>"
-
-#. (itstool) path: td/p
-#: C/other-files.page:43
-msgid "%Y"
-msgstr "%Y"
-
-#. (itstool) path: td/p
-#: C/other-files.page:43
-msgid "Year: full"
-msgstr "Año: completo"
-
-#. (itstool) path: td/p
-#: C/other-files.page:43
-msgid "2011"
-msgstr "2011"
-
-#. (itstool) path: td/p
-#: C/other-files.page:46
-msgid "%y"
-msgstr "%y"
-
-#. (itstool) path: td/p
-#: C/other-files.page:46
-msgid "Year: two digit"
-msgstr "Año: dos dígitos"
-
-#. (itstool) path: td/p
-#: C/other-files.page:46
-msgid "11"
-msgstr "11"
-
-#. (itstool) path: td/p
-#: C/other-files.page:49
-msgid "%d"
-msgstr "%d"
-
-#. (itstool) path: td/p
-#: C/other-files.page:49
-msgid "Day of the month with leading zero"
-msgstr "Día del mes, empezando por cero"
-
-#. (itstool) path: td/p
-#: C/other-files.page:49
-msgid "03"
-msgstr "03"
-
-#. (itstool) path: td/p
-#: C/other-files.page:52
-msgid "%A"
-msgstr "%A"
-
-#. (itstool) path: td/p
-#: C/other-files.page:52
-msgid "Day name: full"
-msgstr "Nombre del día: completo"
-
-#. (itstool) path: td/p
-#: C/other-files.page:52
-msgid "Wednesday"
-msgstr "Miércoles"
-
-#. (itstool) path: td/p
-#: C/other-files.page:55
-msgid "%a"
-msgstr "%a"
-
-#. (itstool) path: td/p
-#: C/other-files.page:55
-msgid "Day name: abbreviated"
-msgstr "Nombre del día: abreviado"
-
-#. (itstool) path: td/p
-#: C/other-files.page:55
-msgid "Wed"
-msgstr "Mié"
-
-#. (itstool) path: td/p
-#: C/other-files.page:58
-msgid "%m"
-msgstr "%m"
-
-#. (itstool) path: td/p
-#: C/other-files.page:58
-msgid "Month number with leading zero"
-msgstr "Número de mes, empezando por cero"
-
-#. (itstool) path: td/p
-#: C/other-files.page:58
-msgid "02"
-msgstr "02"
-
-#. (itstool) path: td/p
-#: C/other-files.page:60
-msgid "%b"
-msgstr "%b"
-
-#. (itstool) path: td/p
-#: C/other-files.page:60
-msgid "Month name: abbreviated"
-msgstr "Nombre del mes: abreviado"
-
-#. (itstool) path: td/p
-#: C/other-files.page:60
-msgid "Feb"
-msgstr "Feb"
-
-#. (itstool) path: td/p
-#: C/other-files.page:62
-msgid "%B"
-msgstr "%B"
-
-#. (itstool) path: td/p
-#: C/other-files.page:62
-msgid "Month name: full"
-msgstr "Nombre del mes: completo"
-
-#. (itstool) path: td/p
-#: C/other-files.page:62
-msgid "February"
-msgstr "Febrero"
-
-#. (itstool) path: td/p
-#: C/other-files.page:63
-msgid "%I"
-msgstr "%I"
-
-#. (itstool) path: td/p
-#: C/other-files.page:63
-msgid "Hour: 12 hour format"
-msgstr "Hora: formato de 12 horas"
-
-#. (itstool) path: td/p
-#: C/other-files.page:63
-msgid "05"
-msgstr "05"
-
-#. (itstool) path: td/p
-#: C/other-files.page:64
-msgid "%H"
-msgstr "%H"
-
-#. (itstool) path: td/p
-#: C/other-files.page:64
-msgid "Hour: 24 hour format"
-msgstr "Hora: formato de 24 horas"
-
-#. (itstool) path: td/p
-#: C/other-files.page:64
-msgid "17"
-msgstr "17"
-
-#. (itstool) path: td/p
-#: C/other-files.page:66
-msgid "%M"
-msgstr "%M"
-
-#. (itstool) path: td/p
-#: C/other-files.page:66
-msgid "Minute"
-msgstr "Minuto"
-
-#. (itstool) path: td/p
-#: C/other-files.page:66
-msgid "16"
-msgstr "16"
-
-#. (itstool) path: td/p
-#: C/other-files.page:67
-msgid "%S"
-msgstr "%S"
-
-#. (itstool) path: td/p
-#: C/other-files.page:67
-msgid "Second"
-msgstr "Segundo"
-
-#. (itstool) path: td/p
-#: C/other-files.page:67
-msgid "30"
-msgstr "30"
-
-#. (itstool) path: td/p
-#: C/other-files.page:68
-msgid "%p"
-msgstr "%p"
-
-#. (itstool) path: td/p
-#: C/other-files.page:68
-msgid "AM or PM"
-msgstr "AM o PM"
-
-#. (itstool) path: td/p
-#: C/other-files.page:68
-msgid "PM"
-msgstr "PM"
-
-#. (itstool) path: section/p
-#: C/other-files.page:72
-msgid ""
-"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."
-msgstr ""
-"Existen otros símbolos disponibles, revise el manual de strftime ejecutando "
-"el comando <cmd>man strftime</cmd> si necesita alguno que no esté listado "
-"aquí."
-
-#. (itstool) path: section/title
-#: C/other-files.page:79
-msgid "Automatically importing photos"
-msgstr "Importar fotos automáticamente"
-
-#. (itstool) path: section/p
-#: C/other-files.page:81
-msgid ""
-"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.)"
-msgstr ""
-"Shotwell puede automáticamente importar nuevas fotos que aparezcan en la "
-"carpeta de la biblioteca. (La carpeta de la biblioteca está usualmente en la "
-"carpeta <file>Imágenes</file> en su carpeta local; puede cambiar esta "
-"ubicación en la ventana <gui>Preferencias</gui>.)"
-
-#. (itstool) path: section/p
-#: C/other-files.page:86
-msgid ""
-"To enable auto-import, check the box <gui>Watch library directory for new "
-"files</gui> in the <gui>Preferences</gui> window."
-msgstr ""
-"Para activar la importación automática, marca la opción <gui>Vigilar mi "
-"colección en búsqueda de archivos nuevos</gui> en la ventana "
-"<gui>Preferencias</gui>."
-
-#. (itstool) path: note/p
-#: C/other-files.page:90
-msgid ""
-"Shotwell can also follow symbolic links inside automatically-imported "
-"directories."
-msgstr ""
-"Shotwell también puede seguir los enlaces simbólicos en carpetas importadas "
-"automáticamente."
-
-#. (itstool) path: section/title
-#: C/other-files.page:95
-msgid "Automatically renaming imported photos to lowercase"
-msgstr "Renombrar a minúsculas automáticamente las fotos importadas"
-
-#. (itstool) path: section/p
-#: C/other-files.page:97
-msgid ""
-"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."
-msgstr ""
-"Shotwell puede cambiar automáticamente los nombres de las fotos importadas a "
-"minúsculas. Para activar esto, escoja <guiseq><gui>Editar</"
-"gui><gui>Preferencias</gui></guiseq>, y en la ventana de <gui>Preferencias</"
-"gui>, marque la casilla <gui>Renombrar los archivos importados a minúsculas</"
-"gui>."
-
-#. (itstool) path: section/title
-#: C/other-files.page:107
-msgid "Writing metadata on the fly"
-msgstr "Escribir metadatos al vuelo"
-
-#. (itstool) path: section/p
-#: C/other-files.page:109
-msgid ""
-"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."
-msgstr ""
-"De manera predeterminada, Shotwell no modifica los archivos de fotos, aunque "
-"las edite o cambie sus etiquetas o títulos. Shotwell guardará estos cambios "
-"únicamente en su propia base de datos."
-
-#. (itstool) path: section/p
-#: C/other-files.page:112
-msgid ""
-"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:"
-msgstr ""
-"Para cambiar este comportamiento, puede activar la casilla <gui>Escribir "
-"etiquetas, títulos y otros metadatos a los archivos</gui> en el cuadro de "
-"diálogo <gui>Preferencias</gui>. Cuando esta opción se activa, Shotwell "
-"escribirá los siguientes metadatos a la mayoría de los archivos cada vez que "
-"los modifique en Shotwell."
-
-#. (itstool) path: item/p
-#: C/other-files.page:118
-msgid "titles"
-msgstr "títulos"
-
-#. (itstool) path: item/p
-#: C/other-files.page:119
-msgid "tags"
-msgstr "etiquetas"
-
-#. (itstool) path: item/p
-#: C/other-files.page:120
-msgid "ratings"
-msgstr "valoraciones"
-
-#. (itstool) path: item/p
-#: C/other-files.page:121
-msgid "rotation information"
-msgstr "información de rotación"
-
-#. (itstool) path: item/p
-#: C/other-files.page:122
-msgid "time/date"
-msgstr "fecha/hora"
-
-#. (itstool) path: section/p
-#: C/other-files.page:125
-msgid ""
-"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."
-msgstr ""
-"Shotwell almacena esta información en archivos de fotos en formato EXIF, "
-"IPTC y/o XMP. Tenga en cuenta que Shotwell sólo puede escribir en archivos "
-"de fotos en formato JPEG, PNG y TIFF, no en fotos en BMP, RAW o en archivos "
-"de vídeo."
-
-#. (itstool) path: section/title
-#: C/other-files.page:133
-msgid "Runtime monitoring"
-msgstr "Monitorizazión en tiempo de ejecución"
-
-#. (itstool) path: section/p
-#: C/other-files.page:135
-msgid ""
-"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."
-msgstr ""
-"Mientras Shotwell está en ejecución, tiene en cuenta los cambios realizados "
-"en un archivo de una foto externamente. Cuando el archivo cambia, Shotwell "
-"vuelve a leer el archivo y actualiza la vista de la foto y sus metadatos."
-
-#. (itstool) path: section/p
-#: C/other-files.page:139
-msgid ""
-"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."
-msgstr ""
-
-#. (itstool) path: info/desc
-#: C/other-missing.page:7
-msgid "If Shotwell can't find a photo in your library, it marks it as missing."
-msgstr ""
-"Si Shotwell no puede encontrar una foto en su biblioteca, la marca como "
-"ausente."
-
-#. (itstool) path: page/title
-#: C/other-missing.page:12
-msgid "Missing photos"
-msgstr "Fotos ausentes"
-
-#. (itstool) path: page/p
-#: C/other-missing.page:14
-msgid ""
-"Each time Shotwell starts up, it scans your photo library to verify that all "
-"photo files still exist on your hard drive. If Shotwell finds that any photo "
-"files are missing, it will not display them in the normal Photos, Events and "
-"Tags views, but will instead show them in a separate Missing Files view "
-"which will appear in the sidebar."
-msgstr ""
-"Cada vez que Shotwell se inicia, analiza su biblioteca de fotos para "
-"verificar que todos los archivos de fotos siguen existiendo en el disco "
-"duro. Si Shotwell encuentra que falta alguna foto, no la mostrará en las "
-"vistas normales de Fotos, Eventos o Etiquetas, sino que la mostrará en una "
-"vista de Fotos ausentes separada que aparecerá en la barra lateral."
-
-#. (itstool) path: page/p
-#: C/other-missing.page:16
-msgid ""
-"If you no longer want the missing files to be part of your Shotwell "
-"collection (perhaps because you deleted them), go to the Missing Files view, "
-"select the photos and then click <gui>Remove From Library</gui>."
-msgstr ""
-
-#. (itstool) path: page/p
-#: C/other-missing.page:18
-msgid ""
-"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."
-msgstr ""
-"Si tiene fotos en un disco externo, como un CD o un pendrive USB y las <link "
-"xref=\"index#import\">importa</link> en Shotwell <em>sin</em> copiarlas al "
-"equipo, se mostrarán como archivos ausentes cuando desconecte el disco "
-"extraíble. Consulte la <link xref=\"import-file\"/> para aprender cómo "
-"copiar archivos desde discos extraíbles a su equipo."
-
-#. (itstool) path: page/p
-#: C/other-missing.page:20
-msgid ""
-"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."
-msgstr ""
-"Si una foto ausente vuelve a estar disponible, Shotwell lo tendrá en cuenta "
-"la próxima vez que se inicie. Las fotos volverán a aparecer en las vistas de "
-"Fotos, Eventos y Etiquetas."
-
-#. (itstool) path: info/desc
-#: C/other-multiple.page:7
-msgid ""
-"You can open Shotwell with a different photo library by using the command "
-"line."
-msgstr ""
-"Puede abrir Shotwell con una biblioteca de fotos diferente usando la línea "
-"de comandos."
-
-#. (itstool) path: page/title
-#: C/other-multiple.page:12
-msgid "Multiple libraries"
-msgstr "Varias bibliotecas"
-
-#. (itstool) path: page/p
-#: C/other-multiple.page:14
-msgid ""
-"Shotwell normally stores its database and photo thumbnails in the directory "
-"<file>~/.shotwell</file> . This directory does not hold photos, but the "
-"database in this directory contains a list of all the photos in the Shotwell "
-"library."
-msgstr ""
-
-#. (itstool) path: page/p
-#: C/other-multiple.page:16
-msgid ""
-"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:"
-msgstr ""
-"Como característica avanzada, es posible tener varias bibliotecas de "
-"Shotwell, cada una de ellas con su propio conjunto de fotos. Cada biblioteca "
-"necesita su propia carpeta de base de datos. Para ejecutar Shotwell con una "
-"biblioteca diferente, especifique una base de datos alternativa en la línea "
-"de comandos como sigue:"
-
-#. (itstool) path: page/screen
-#: C/other-multiple.page:18
-#, no-wrap
-msgid ""
-"\n"
-"shotwell -d [library-directory]\n"
-msgstr ""
-"\n"
-"shotwell -d [carpeta-biblioteca]\n"
-
-#. (itstool) path: info/desc
-#: C/other-plugins.page:7
-msgid "Extend Shotwell's functionality dynamically."
-msgstr "Ampliar la funcionalidad de Shotwell dinámicamente."
-
-#. (itstool) path: page/title
-#: C/other-plugins.page:12
-msgid "Plugins"
-msgstr "Complementos"
-
-#. (itstool) path: page/p
-#: C/other-plugins.page:13
-msgid ""
-"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."
-msgstr ""
-
-#. (itstool) path: page/p
-#: C/other-plugins.page:18
-msgid ""
-"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."
-msgstr ""
-"Para ver una lista de los complementos instalados, elija "
-"<guiseq><gui>Editar</gui><gui>Preferencias</gui></guiseq>, y en la ventana "
-"de <gui>Preferencias</gui> pulse en la pestaña <gui>Complementos</gui>. Verá "
-"una lista de los complementos actualmente instalados, cada uno con una "
-"casilla mediante la que puede activarlos o desactivarlos por su nombre."
-
-#. (itstool) path: note/p
-#: C/other-plugins.page:25
-msgid ""
-"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>"
-msgstr ""
-"La documentación completa sobre cómo desarrollar nuevos complementos está "
-"disponible en <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
-msgid "More about RAW support in Shotwell."
-msgstr "Más sobre el soporte RAW en Shotwell."
-
-#. (itstool) path: page/title
-#: C/raw.page:12
-msgid "RAW support in Shotwell"
-msgstr "Soporte de RAW en Shotwell"
-
-#. (itstool) path: page/p
-#: C/raw.page:13
-msgid ""
-"Some cameras have the ability to store data directly off the sensor and into "
-"a file that contains extra color information; this is commonly referred to "
-"as 'RAW' or 'camera RAW', and Shotwell supports these files as well."
-msgstr ""
-
-#. (itstool) path: page/p
-#: C/raw.page:18
-msgid ""
-"Since RAW photographs normally cannot be displayed directly, but must be "
-"first developed - that is, have their extra information interpreted and "
-"readied for displaying - most cameras will either embed a JPEG inside a RAW-"
-"format file, or produce a JPEG alongside the RAW file at the time the "
-"snapshot is taken. The latter is referred to throughout this document as RAW"
-"+JPEG. If you import a RAW+JPEG pair, Shotwell will keep them paired and "
-"treat them as one item in your library."
-msgstr ""
-
-#. (itstool) path: page/p
-#: C/raw.page:27
-msgid ""
-"When you import a RAW file, you can choose to either use the camera's "
-"internally-developed JPEG or Shotwell's by selecting <guiseq><gui>Photos</"
-"gui><gui>Developer</gui></guiseq> in the menus."
-msgstr ""
-
-#. (itstool) path: note/p
-#: C/raw.page:33
-msgid ""
-"Changing between developers will cause all edits made to a photograph to be "
-"discarded."
-msgstr ""
-
-#. (itstool) path: page/p
-#: C/raw.page:39
-msgid ""
-"In order to publish or use a RAW photograph in most other software, it has "
-"to be exported first. Shotwell can export your RAW photos in JPEG, PNG, TIFF "
-"or BMP format, and, when publishing, will internally export a JPEG version "
-"for you and publish that."
-msgstr ""
-
-#. (itstool) path: info/desc
-#: C/running.page:7
-msgid ""
-"Find Shotwell in the Applications menu, or have it start automatically when "
-"you plug in a camera."
-msgstr ""
-"Busque Shotwell en el menú Aplicaciones o haga que se inicie automáticamente "
-"cuando conecta una cámara."
-
-#. (itstool) path: page/title
-#: C/running.page:14
-msgid "Running Shotwell"
-msgstr "Ejecutar Shotwell"
-
-#. (itstool) path: page/p
-#: C/running.page:16
-msgid ""
-"Once installed, Shotwell is available in your <gui>Applications</gui> menu "
-"under <gui>Graphics</gui> or <gui>Photography</gui>."
-msgstr ""
-"Una vez instalado, Shotwell estará disponible en su menú <gui>Aplicaciones</"
-"gui>, en <gui>Gráficos</gui> o en <gui>Fotografía</gui>."
-
-#. (itstool) path: page/p
-#: C/running.page:18
-msgid ""
-"Shotwell may also be executed automatically when a camera is plugged in to "
-"your computer. To check that your system is set up to run Shotwell when a "
-"camera is detected, go to <guiseq><gui>Edit</gui><gui>Preferences</gui></"
-"guiseq> in any Nautilus (file browser) window and choose the <gui>Media</"
-"gui> tab.  You'll see a dropdown box entitled <gui>Photos:</gui> which lets "
-"you choose Shotwell as your photo handling application."
-msgstr ""
-
-#. (itstool) path: note/p
-#: C/running.page:25
-msgid ""
-"Shotwell may also be executed directly from its build directory, although "
-"this is only recommended for testing out Shotwell or for developers."
-msgstr ""
-"También puede ejecutar Shotwell directamente desde la carpeta en la que se "
-"construyó, pero esto sólo se recomienda para probar Shotwell o para "
-"desarrolladores."
-
-#. (itstool) path: info/desc
-#: C/share-background.page:7
-msgid ""
-"Set your desktop background to a single photo or to a slideshow of photos."
-msgstr ""
-"Configure su fondo de escritorio como una única foto o como una presentación "
-"de fotos."
-
-#. (itstool) path: page/title
-#: C/share-background.page:12
-msgid "Set a desktop background or slideshow"
-msgstr "Configurar un fondo de escritorio o presentación"
-
-#. (itstool) path: page/p
-#: C/share-background.page:14
-msgid ""
-"To set a single photo as your desktop background, select the photo and "
-"choose <guiseq><gui>File</gui><gui>Set as Desktop Background</gui></guiseq>."
-msgstr ""
-"Para establecer una única foto como fondo del escritorio, seleccione la foto "
-"y escriba <guiseq><gui>Archivo</gui><gui>Establecer como fondo del "
-"escritorio</gui></guiseq>."
-
-#. (itstool) path: page/p
-#: C/share-background.page:16
-msgid ""
-"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."
-msgstr ""
-
-#. (itstool) path: info/desc
-#: C/share-export.page:7
-msgid "Copy photos out of Shotwell so you can put them somewhere else."
-msgstr ""
-"Copiar fotos fuera Shotwell, para poder ponerlas en cualquier otro lugar."
-
-#. (itstool) path: page/title
-#: C/share-export.page:12
-msgid "Exporting photos"
-msgstr "Exportar fotos"
-
-#. (itstool) path: page/p
-#: C/share-export.page:14
-msgid ""
-"To export photos from Shotwell via drag and drop, drag the photos from "
-"Shotwell onto a file manager window or your desktop. The new files will be "
-"full-sized copies of the photos in your library."
-msgstr ""
-"Para exportar fotos desde Shotwell usando arrastrar y soltar, arrastre desde "
-"Shotwell hacia una ventana de manejador de archivos o su escritorio. Los "
-"archivos nuevos serán copias de tamaño completo de las fotos de su "
-"biblioteca."
-
-#. (itstool) path: page/p
-#: C/share-export.page:18
-msgid ""
-"Alternatively, select a set of photos and choose the <guiseq><gui>File</"
-"gui><gui>Export...</gui></guiseq> command or press <keyseq><key>Shift</"
-"key><key>Ctrl</key><key>E</key></keyseq>, which exports photos while letting "
-"you fine-tune the size and dimensions of your photo files. A window will "
-"appear allowing you to make several choices:"
-msgstr ""
-
-#. (itstool) path: item/p
-#: C/share-export.page:24
-msgid "A format for export."
-msgstr "Un formato al que exportar."
-
-#. (itstool) path: item/p
-#: C/share-export.page:27
-msgid ""
-"Choose <gui>Unmodified</gui> to export photos in their original format "
-"without any edits made in Shotwell. RAW photos will be exported in their "
-"original RAW format."
-msgstr ""
-"Selecione <gui>Sin modificar</gui> para exportar las fotos en su formato "
-"original, sin ninguna modificación hecha en Shotwell. Las fotos en bruto se "
-"exportarán en su formato original."
-
-#. (itstool) path: item/p
-#: C/share-export.page:29
-msgid ""
-"Choose <gui>Current</gui> to export photos including edits made in Shotwell. "
-"RAW photos will be exported in JPEG format if you have edited them in "
-"Shotwell, and otherwise in their original RAW format."
-msgstr ""
-"Escoja <gui>Actual</gui> para exportar las fotos, incluyendo las editadas en "
-"Shotwell. Las fotos en bruto se exportarán en formato JPEG si las editó en "
-"Shotwell, y si no en su formato en bruto original."
-
-#. (itstool) path: item/p
-#: C/share-export.page:31
-msgid ""
-"Or you can choose a particular image format (JPEG, PNG, TIFF, BMP) to be "
-"used for exporting. Any edits made in Shotwell will be included, and "
-"Shotwell will convert photos to the destination format."
-msgstr ""
-"O puede seleccionar un formato de imagen específico (JPEG, PNG,TIFF, BMP) "
-"para usar en la exportación. Cualquier edición hecha en Shotwell se "
-"incluirá, y Shotwel convertirá las fotos al formato de destino."
-
-#. (itstool) path: item/p
-#: C/share-export.page:37
-msgid "The image quality for exporting (Low, Medium, High, or Maximum)."
-msgstr "La calidad de la imagen al exportarla (baja, media, alta o máxima)."
-
-#. (itstool) path: item/p
-#: C/share-export.page:38
-msgid ""
-"A scaling constraint (which means how Shotwell will decide to scale the "
-"photos down), and the desired pixel size."
-msgstr ""
-"Una restricción de la escala (que significa cómo Shotwell va a decidir "
-"reducir la escala proporcionalmente), y el tamaño de píxel requerido."
-
-#. (itstool) path: item/p
-#: C/share-export.page:39
-msgid ""
-"The option whether you like to export metadatas such as tags or ratings. "
-"This can help to save your privacy if you have geolocation tags or tags "
-"which shouldn't be seen by anyone."
-msgstr ""
-
-#. (itstool) path: page/p
-#: C/share-export.page:42
-msgid ""
-"If selected, Shotwell will write tags, titles, and other metadata to the new "
-"files."
-msgstr ""
-"Si está seleccionada, Shotwell escribirá etiquetas, títulos y otros "
-"metadatos a los nuevos archivos."
-
-#. (itstool) path: info/desc
-#: C/share-print.page:7
-msgid ""
-"Click <guiseq><gui>File</gui><gui>Print...</gui></guiseq>. For more printing "
-"options, select the <gui>Page Setup</gui> tab in the <gui>Print</gui> dialog."
-msgstr ""
-"Pulse <guiseq><gui>Archivo</gui><gui>Imprimir...</gui></guiseq>. Para más "
-"opciones de impresión, seleccione la pestaña <gui>Configuración de página</"
-"gui> en el diálogo <gui>Imprimir</gui>."
-
-#. (itstool) path: page/title
-#: C/share-print.page:12
-msgid "Printing"
-msgstr "Imprimir"
-
-#. (itstool) path: page/p
-#: C/share-print.page:14
-#, fuzzy
-#| msgid ""
-#| "To print a photo, select it and choose <guiseq><gui>File</gui><gui>Print</"
-#| "gui></guiseq>."
-msgid ""
-"To print a photo, select it and choose <guiseq><gui>File</gui><gui>Print...</"
-"gui></guiseq>."
-msgstr ""
-"Para imprimir una foto, selecciónela y elija <guiseq><gui>Archivo</"
-"gui><gui>Imprimir</gui></guiseq>."
-
-#. (itstool) path: page/p
-#: C/share-print.page:16
-#, fuzzy
-#| msgid ""
-#| "Shotwell can also print multiple images in one page; to do this, select "
-#| "multiple images, choose <guiseq><gui>File</gui><gui>Print</gui></guiseq>, "
-#| "and in the <gui>Print</gui> dialog, choose the <gui>Image Settings</gui> "
-#| "tab. In <gui>Image Settings</gui>, choose one of the multiple-image-per-"
-#| "page options under <gui>Autosize</gui>."
-msgid ""
-"Shotwell can also print multiple images in one page; to do this, select "
-"multiple images, choose <guiseq><gui>File</gui><gui>Print...</gui></guiseq>, "
-"and in the <gui>Print</gui> dialog, choose the <gui>Image Settings</gui> "
-"tab. In <gui>Image Settings</gui>, choose one of the multiple-image-per-page "
-"options under <gui>Autosize</gui>."
-msgstr ""
-"Shotwell puede también imprimir varias imágenes en una página; para hacer "
-"esto, seleccione las imágenes, escoja <guiseq><gui>Archivo</"
-"gui><gui>Imprimir</gui></guiseq> y en el cuadro de diálogo <gui>Imprimir</"
-"gui>, seleccione la pestaña <gui>Configuraciones de la imagen</gui>. "
-"En<gui>Configuración de la imagen</gui>, escoja una de las opciones "
-"múltiples imágenes por página en <gui>Tamaño automático</gui>."
-
-#. (itstool) path: page/p
-#: C/share-print.page:23
-msgid ""
-"If you would like to set formatting, paper size, and orientation options, "
-"choose the <gui>Page Setup</gui> tab in the <gui>Print</gui> dialog prior to "
-"printing."
-msgstr ""
-"Si quiere establecer el formato, el tamaño del papel, y la orientación, "
-"seleccione la pestaña <gui>Configuración de la página</gui>en el cuadro de "
-"diálogo <gui>Imprimir</gui> antes de imprimir."
-
-#. (itstool) path: info/desc
-#: C/share-send.page:7
-msgid "Send photos via email, instant messaging or in other ways."
-msgstr "Enviar fotos por correo-e, mensajería instantánea u otras maneras."
-
-#. (itstool) path: page/title
-#: C/share-send.page:12
-msgid "Sending photos"
-msgstr "Enviar fotos"
-
-#. (itstool) path: page/p
-#: C/share-send.page:14
-msgid ""
-"Shotwell can send photos using the GNOME desktop's Send To mechanism, which "
-"lets you send photos via email, instant messaging or in other ways."
-msgstr ""
-"Shotwell puede enviar fotos usando el mecanismo de «Enviar a» de GNOME, lo "
-"que le permite enviar fotos por correo-e, mensajería instantánea u otras "
-"maneras."
-
-#. (itstool) path: page/p
-#: C/share-send.page:16
-msgid ""
-"To send photos, select them in Shotwell and choose <guiseq><gui>File</"
-"gui><gui>Send To...</gui></guiseq>, or right-click the photos and choose "
-"<gui>Send To...</gui> from the context menu. A <gui>Send To</gui> dialog box "
-"will appear which lets you choose a mechanism for sending the files (such as "
-"email or instant messaging) and a destination. You can optionally choose to "
-"send the files in a compressed format."
-msgstr ""
-"Para enviar fotos, selecciónelas en Shotwell y después "
-"escoja<guiseq><gui>Archivo</gui><gui>Enviar a...</gui></guiseq>, o pulse con "
-"el botón derecho en las fotos y escoja <gui>Enviar a ...</gui> del menú "
-"contextual. Aparecerá una caja de diálogo en donde puede escoger la forma "
-"para enviar los archivos (como correo electrónico o mensaje instantáneo) y "
-"el destino. Puede, opcionalmente, enviar los archivos en un formato "
-"comprimido."
-
-#. (itstool) path: info/desc
-#: C/share-slideshow.page:7
-msgid "Watch a slideshow of your photos."
-msgstr "Ver sus fotos como diapositivas."
-
-#. (itstool) path: page/title
-#: C/share-slideshow.page:12
-msgid "Slideshows"
-msgstr "Diapositivas"
-
-#. (itstool) path: page/p
-#: C/share-slideshow.page:14
-msgid ""
-"To see a sideshow of any collection in Shotwell, navigate to that collection "
-"and select <guiseq><gui>View</gui><gui>Slideshow</gui></guiseq> or press "
-"<key>F5</key>."
-msgstr ""
-"Para ver una presentación de diapositivas en Shotwell, navegue hasta la "
-"colección y elija <guiseq><gui>Ver</gui><gui>Presentación</gui></guiseq> o "
-"pulse <key>F5</key>."
-
-#. (itstool) path: page/p
-#: C/share-slideshow.page:16
-msgid "You can change some settings in a running slideshow:"
-msgstr ""
-"Puede cambiar algunas configuraciones de una presentación de diapositivas en "
-"ejecución:"
-
-#. (itstool) path: item/p
-#: C/share-slideshow.page:19
-msgid "The duration how long an image should be shown: 1 - 30 seconds"
-msgstr ""
-"La duración de cuánto tiempo se debe mostrar una imagen: 1 - 30 segundos"
-
-#. (itstool) path: item/p
-#: C/share-slideshow.page:20
-msgid "You can select different transition effects."
-msgstr "Puede seleccionar diferentes efectos de transición."
-
-#. (itstool) path: item/p
-#: C/share-slideshow.page:21
-msgid "The time for each transition effect: 0.1 - 1.0 seconds"
-msgstr "El tiempo para cada efecto de transición: 0.1 - 1.0 segundos"
-
-#. (itstool) path: info/desc
-#: C/share-upload.page:7
-msgid "Publish photos to Facebook, Flickr, Picasa Web Albums, or other sites."
-msgstr ""
-"Publica fotos en Facebook, Flickr, álbumes web de Picasa o en otros sitios."
-
-#. (itstool) path: page/title
-#: C/share-upload.page:12
-msgid "Publishing to the Web"
-msgstr "Publicar en la web"
-
-#. (itstool) path: page/p
-#: C/share-upload.page:14
-msgid ""
-"Through the use of <link xref=\"other-plugins\">plugins</link>, Shotwell can "
-"publish photos and videos to the following services, each of which requires "
-"an account:"
-msgstr ""
-"Gracias al uso de <link xref=\"other-plugins\">complementos</link>, Shotwell "
-"puede publicar fotos y vídeos en los siguientes servicios, para los que se "
-"requiere una cuenta."
-
-#. (itstool) path: item/p
-#: C/share-upload.page:18
-msgid "<link href=\"http://facebook.com\">Facebook</link>"
-msgstr "<link href=\"http://facebook.com\">Facebook</link>"
-
-#. (itstool) path: item/p
-#: C/share-upload.page:19
-msgid "<link href=\"http://flickr.com\">Flickr</link>"
-msgstr "<link href=\"http://flickr.com\">Flickr</link>"
-
-#. (itstool) path: item/p
-#: C/share-upload.page:20
-msgid ""
-"<link href=\"http://picasaweb.google.com\">Picasa Web Albums</link> and "
-"<link href=\"http://plus.google.com\">Google+</link>"
-msgstr ""
-"<link href=\"http://picasaweb.google.com\">Álbumes de Picasa Web</link> y "
-"<link href=\"http://plus.google.com\">Google+</link>"
-
-#. (itstool) path: item/p
-#: C/share-upload.page:21
-msgid "<link href=\"http://youtube.com\">YouTube</link> (videos only)"
-msgstr "<link href=\"http://youtube.com\">YouTube</link> (sólo vídeos)"
-
-#. (itstool) path: item/p
-#: C/share-upload.page:22
-msgid ""
-"<link href=\"http://fotki.yandex.ru\">Yandex.Fotki</link>, a photo site "
-"popular in Russia (photos only)"
-msgstr ""
-"<link href=\"http://fotki.yandex.ru\">Yandex.Fotki</link>, una página de "
-"fotos popular en Rusia (sólo fotos)"
-
-#. (itstool) path: item/p
-#: C/share-upload.page:23
-msgid ""
-"Any site running the <link href=\"http://piwigo.org\">Piwigo</link> photo "
-"gallery software (photos only)"
-msgstr ""
-"Cualquier sitio que ejecute el software de galería de fotos <link href="
-"\"http://piwigo.org\">Piwigo</link> (sólo fotos)"
-
-#. (itstool) path: page/p
-#: C/share-upload.page:26
-msgid ""
-"To publish selected photos in a collection, choose <guiseq><gui>Edit</"
-"gui><gui>Preferences</gui></guiseq> and click on the <gui>Plugins</gui> tab "
-"to enable the plugin for the service you want to publish to. Next, choose, "
-"<guiseq><gui>File</gui><gui>Publish</gui></guiseq>, press the <gui>Publish</"
-"gui> toolbar button or use <keyseq><key>Ctrl</key><key>P</key></keyseq>. You "
-"will see a dialog that lets you select a publishing service. You will then "
-"need to log in or create an account."
-msgstr ""
-"Para publicar las fotos seleccionadas en una colección, elija "
-"<guiseq><gui>Editar</gui><gui>Preferencias</gui></guiseq> y pulse en la "
-"pestaña <gui>Complementos</gui> para activar el complemento del servicio en "
-"el que quiere publicar. A continuación, elija <guiseq><gui>Archivo</"
-"gui><gui>Publicar</gui></guiseq>, pulse el botón <gui>Publicar</gui> en la "
-"barra de herramientas o pulse <keyseq><key>Ctrl</key><key>P</key></keyseq>. "
-"Verá un diálogo que le permite elegir el servicio de publicación. Necesitará "
-"iniciar sesión o crear una cuenta."
-
-#. (itstool) path: page/p
-#: C/share-upload.page:31
-#, fuzzy
-#| msgid ""
-#| "Publishing to Facebook requires you to grant certain permissions to the "
-#| "Shotwell Connect Facebook application. You only need to grant these "
-#| "permissions once, when you first associate Shotwell Connect with your "
-#| "Facebook account."
-msgid ""
-"Publishing to Facebook requires you to grant certain permissions to the "
-"Shotwell Facebook application. You only need to grant these permissions "
-"once, when you first associate Shotwell with your Facebook account."
-msgstr ""
-"Publicar en Facebook requiere que conceda ciertos permisos a la aplicación "
-"Conectar Shotwell con Facebook. Solo necesita conceder los permisos una vez, "
-"la primera vez que asocie Shotwell con su cuenta de Facebook."
-
-#. (itstool) path: note/p
-#: C/share-upload.page:34
-msgid ""
-"You will be only able to publish images with at most the permission you "
-"granted to the Shotwell Facebook application"
-msgstr ""
-
-#. (itstool) path: page/p
-#: C/share-upload.page:36
-msgid ""
-"Similarly, publishing to Flickr requires you to log in and permit Shotwell "
-"Connect to access your account."
-msgstr ""
-"Del mismo modo, publicar en Flickr requiere que inicie sesión y permita que "
-"Shotwell Connect acceda a su cuenta."
-
-#. (itstool) path: page/p
-#: C/share-upload.page:38
-msgid ""
-"If you have a Google account, but have not yet used Picasa Web Albums, you "
-"will need to log in to Picasa using a browser once before you can publish to "
-"this service."
-msgstr ""
-"Si tiene una cuenta de Google, pero nunca ha usado los álbumes web de "
-"Picasa, necesitará iniciar sesión en Picasa usando un navegador antes de "
-"poder publicar algo en este servicio."
-
-#. (itstool) path: info/desc
-#: C/view-displaying.page:7
-msgid ""
-"Learn about different ways of viewing your photos: in a grid, filling the "
-"main window, or filling the whole screen."
-msgstr ""
-"Aprenda sobre diferentes formas de ver sus fotos: en una cuadrícula, "
-"llenando la ventana principal o a pantalla completa."
-
-#. (itstool) path: page/title
-#: C/view-displaying.page:12
-msgid "Photo views"
-msgstr "Vistas de fotos"
-
-#. (itstool) path: page/p
-#: C/view-displaying.page:14
-msgid ""
-"When you select any collection in the sidebar, Shotwell displays all photos "
-"in the collection in the main window area. At the bottom right is a slider "
-"which adjusts the viewing size of the thumbnails. You may also adjust the "
-"thumbnail size using the plus and minus keys (<key>+</key> and <key>-</key>) "
-"or by pressing <key>Ctrl</key> while moving your mouse scroll wheel."
-msgstr ""
-"Cuando selecciona cualquier colección en la barra lateral, Shotwell muestra "
-"todas las fotos en esa colección en la ventana principal. En la esquina "
-"inferior derecha hay un control deslizante que puede ajustar el tamaño de "
-"las vistas miniatura. Puede ajustar el tamaño de las miniaturas usando las "
-"teclas más y menos (<key>+</key> y <key>-</key>) o presionando <key>Ctrl</"
-"key> mientras mueve la rueda central del ratón."
-
-#. (itstool) path: page/p
-#: C/view-displaying.page:16
-msgid ""
-"You can view a photo full-window by double-clicking on it. From there you "
-"may move to other photos in the collection with the Back and Forward "
-"buttons. To return to the collection, double-click on the photo or press "
-"<key>Esc</key>."
-msgstr ""
-"Puede ver la vista de la foto en pantalla completa pulsando dos veces. Desde "
-"ahí puede moverse a otras fotos en la colección con los botones de retroceso "
-"y avance. Puede regresar a la colección, pulsando dos veces en la foto o "
-"presionando <key>Esc</key>."
-
-#. (itstool) path: page/p
-#: C/view-displaying.page:18
-msgid ""
-"When viewing a photo in full-window mode, the slider on the toolbar controls "
-"zoom. You can pan around by grabbing and dragging anywhere on the photo. You "
-"can also zoom using your scroll wheel or by pressing the following keyboard "
-"shortcuts: <keyseq><key>Ctrl</key>0</keyseq> for the full image, "
-"<keyseq><key>Ctrl</key>1</keyseq> for 100% (1 photo pixel = 1 screen pixel), "
-"and <keyseq><key>Ctrl</key>2</keyseq> for 200% (1 photo pixel = 2x2 screen "
-"pixels)."
-msgstr ""
-
-#. (itstool) path: page/p
-#: C/view-displaying.page:20
-msgid ""
-"Shotwell offers a fullscreen mode to display photos. Choose "
-"<guiseq><gui>View</gui><gui>Fullscreen</gui></guiseq> or press <key>F11</"
-"key>. To see the fullscreen toolbar, move your mouse to the bottom of the "
-"screen. The toolbar offers buttons to move through the collection, to pin "
-"the toolbar down (so it isn't hidden when you move the mouse away), and to "
-"leave fullscreen view."
-msgstr ""
-"Shotwell ofrece un modo de pantalla completa para mostrar las fotos. Escoja "
-"<guiseq><gui>Ver</gui><gui>Pantalla completa</gui></guiseq> o presione "
-"<key>F11</key>. Para ver la barra de herramientas de pantalla completa, "
-"mueva su ratón a la parte inferior de la pantalla. La barra de herramientas "
-"le ofrece botones para moverse a través de la colección, para fijar la barra "
-"de herramientas (así esta no se ocultará cuando mueva el ratón), y dejar la "
-"vista de pantalla completa."
-
-#. (itstool) path: section/title
-#: C/view-displaying.page:23
-msgid "Viewing videos"
-msgstr "Ver vídeos"
-
-#. (itstool) path: section/p
-#: C/view-displaying.page:24
-msgid ""
-"When you double-click a video, Shotwell will launch an external video player "
-"to play the video. It's not currently possible to display a video in full-"
-"window mode in Shotwell or to play the video within Shotwell itself."
-msgstr ""
-"Cuando pulse dos veces sobre un vídeo, Shotwell lanzará un reproductor de "
-"vídeo externo para reproducir el vídeo. Actualmente no es posible mostrar un "
-"vídeo en modo a pantalla completa o reproducirlo dentro del propio Shotwell"
-
-#. (itstool) path: info/desc
-#: C/view-information.page:7
-msgid ""
-"View more detailed information about photos, like the exposure mode used by "
-"the camera."
-msgstr ""
-"Ver información más detallada sobre las fotos, como el modo de exposición "
-"usado por la cámara."
-
-#. (itstool) path: page/title
-#: C/view-information.page:12
-msgid "Basic and extended information"
-msgstr "Información básica y extendida"
-
-#. (itstool) path: page/p
-#: C/view-information.page:14
-msgid ""
-"The Basic Information pane appears at the bottom of the sidebar, and "
-"displays a brief summary of the photos you've selected. If no photos are "
-"selected, it displays a summary of the entire collection. You can toggle the "
-"display of this pane using the <guiseq><gui>View</gui><gui>Basic "
-"Information</gui></guiseq> command."
-msgstr ""
-"El panel de información básica aparece en la parte inferior de la barra "
-"lateral, y muestra un breve resumen de las fotos que ha seleccionado. Si no "
-"se ha seleccionado ninguna foto, muestra un resumen de la colección "
-"completa. Puede cambiar la visibilidad de este panel usando el comando "
-"<guiseq><gui>Ver</gui><gui>Información básica</gui></guiseq>."
-
-#. (itstool) path: page/p
-#: C/view-information.page:16
-msgid ""
-"The floating Extended Information window displays more information about the "
-"selected photo. The <guiseq><gui>View</gui><gui>Extended Information</gui></"
-"guiseq> command or <keyseq><key>Ctrl</key><key>Shift</key><key>X</key></"
-"keyseq> toggles the display of this window."
-msgstr ""
-
-#. (itstool) path: info/desc
-#: C/view-sidebar.page:7
-msgid ""
-"The sidebar on the left of the window lists various views of your library."
-msgstr ""
-"La barra lateral de la izquierda de la ventana lista varios tipos de vistas "
-"de su biblioteca."
-
-#. (itstool) path: page/title
-#: C/view-sidebar.page:21
-msgid "The sidebar"
-msgstr "La barra lateral"
-
-#. (itstool) path: page/p
-#: C/view-sidebar.page:23
-msgid ""
-"The sidebar on the left side of the Shotwell window lists various views of "
-"your library. Although you may see the same photo in multiple views, it's "
-"only stored once on your hard drive."
-msgstr ""
-"La barra lateral a la izquierda de la ventana de Shotwell lista varias "
-"vistas de su biblioteca. Aunque puede ver muchas vistas de la misma foto, "
-"solo se almacena una en su disco duro"
-
-#. (itstool) path: page/p
-#: C/view-sidebar.page:25
-msgid ""
-"The <gui>Last Import</gui> view lists your last imported photos no matter if "
-"they are imported from F-Spot, your camera, a memory card or the hard disk."
-msgstr ""
-"La vista <gui>Última importación</gui> lista sus últimas fotos importadas no "
-"importa si estas se importaron de F-Spot, su cámara, una tarjeta de memoria "
-"o su disco duro."
-
-#. (itstool) path: page/p
-#: C/view-sidebar.page:27
-msgid "The <gui>Flagged</gui> lists all photos you had previous flagged."
-msgstr ""
-"La opción <gui>Marcada</gui> lista todas las fotos que ha marcado "
-"anteriormente."
-
-#. (itstool) path: page/p
-#: C/view-sidebar.page:29
-msgid ""
-"The <gui>Saved Search</gui> allows you to sort your library by many criteria."
-msgstr ""
-"La <gui>Búsqueda guardada</gui> le permite ordenar su biblioteca bajo "
-"diferentes criterios."
-
-#. (itstool) path: page/p
-#: C/view-sidebar.page:31
-msgid ""
-"The <gui>Events</gui> folder lists all events in your library. An event is a "
-"group of photos that were taken at approximately the same time."
-msgstr ""
-"La carpeta de <gui>Eventos</gui> lista todos los eventos en su biblioteca.Un "
-"evento es un grupo de fotos que se tomaron aproximadamente al mismo tiempo."
-
-#. (itstool) path: page/p
-#: C/view-sidebar.page:33
-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."
-msgstr ""
-"La carpeta <gui>Etiquetas</gui> lista todas las etiquetas que ha asignado a "
-"sus fotos. Las fotos pueden tener múltiples etiquetas relacionadas con las "
-"mismas. Cuando posiciona el cursor sobre el nombre de una etiqueta en la "
-"barra lateral, podrá ver todas las fotos asociadas a esa etiqueta."
-
-#~ msgid "Facebook"
-#~ msgstr "Facebook"
-
-#~ msgid "Flickr"
-#~ msgstr "Flickr"
-
-#~ msgid "Symbol"
-#~ msgstr "Símbolo"
-
-#~ msgid ""
-#~ "@@image: 'figures/shotwell_logo.png'; md5=59de2b2c4fa64ea1497c98452c509dbd"
-#~ msgstr ""
-#~ "@@image: 'figures/shotwell_logo.png'; md5=59de2b2c4fa64ea1497c98452c509dbd"
-
-#~ msgid "jim@yorba.org"
-#~ msgstr "jim@yorba.org"
-
-#~ msgid "allison@yorba.org"
-#~ msgstr "allison@yorba.org"
-
-#~ msgid "robert.ancell@canonical.com"
-#~ msgstr "robert.ancell@canonical.com"
-
-#~ msgid "pdo.smith@gmail.com"
-#~ msgstr "pdo.smith@gmail.com"
-
-#~ msgid "philbull@gmail.com"
-#~ msgstr "philbull@gmail.com"
+#
+#
+#
+#
+# Daniel Mustieles <daniel.mustieles@gmail.com>, 2014, 2016. , 2016.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: shotwell master\n"
+"POT-Creation-Date: 2016-12-08 19:26+0000\n"
+"PO-Revision-Date: 2016-12-12 16:08+0100\n"
+"Last-Translator: Daniel Mustieles <daniel.mustieles@gmail.com>\n"
+"Language-Team: es <gnome-es-list@gnome.org>\n"
+"Language: es\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+"X-Generator: Gtranslator 2.91.6\n"
+
+#. Put one translator per line, in the form NAME <EMAIL>, YEAR1, YEAR2
+msgctxt "_"
+msgid "translator-credits"
+msgstr ""
+"Marina Prado <mapraro93@hotmail.com>, 2016\n"
+"Daniel Mustieles <daniel.mustieles@gmail.com>, 2014 - 2016\n"
+"Dámaris Letelier <dam.letelier@gmail.com>, 2014"
+
+#. (itstool) path: info/desc
+#: C/edit-adjustments.page:7
+msgid "Change the exposure, saturation, tint, and shadows of a photo."
+msgstr "Cambiar la exposición, saturación, matiz y sombras de una foto."
+
+#. (itstool) path: page/title
+#: C/edit-adjustments.page:12
+msgid "Color adjustments"
+msgstr "Ajustes del color"
+
+#. (itstool) path: page/p
+#: C/edit-adjustments.page:14
+msgid ""
+"The <gui>Adjust</gui> button opens a floating window with a histogram and "
+"sliders to adjust a photo's exposure, saturation, tint, temperature, and "
+"shadows. The histogram also has sliders to reduce the upper and lower "
+"intensity thresholds of the photograph, expanding the contrast of the middle "
+"range."
+msgstr ""
+"El botón <gui>Ajustes</gui> abre una ventana flotante con un histograma y el "
+"control deslizante para ajustar la exposición, la saturación, el matiz, la "
+"calidez y las sombras de una fotografía. El histograma también tiene control "
+"deslizante para reducir los umbrales de intensidad superior e inferior de la "
+"fotografía, ampliando el contraste de la gama media."
+
+#. (itstool) path: page/p
+#: C/edit-adjustments.page:16
+msgid ""
+"The <gui>Enhance</gui> button adjusts the histogram and shadows sliders to "
+"improve the quality of a photo."
+msgstr ""
+"El botón <gui>Mejorar</gui> ajusta el histograma y el control deslizante de "
+"las sombras para mejorar la calidad de una foto."
+
+#. (itstool) path: page/p
+#: C/edit-adjustments.page:18
+msgid ""
+"When the photo's colors and contrast are to your liking, press <gui>OK</gui> "
+"to save the changes. <gui>Reset</gui> will return the image to its original "
+"state. <gui>Cancel</gui> discards all changes you've made."
+msgstr ""
+"Si los colores y el contraste de la foto son adecuados, pulse <gui>Aceptar</"
+"gui> para guardar los cambios. El botón <gui>Restablecer</gui> devolverá la "
+"imagen a su estado original. El botón <gui>Cancelar</gui> deshace todos los "
+"cambios realizados."
+
+#. (itstool) path: section/title
+#: C/edit-adjustments.page:21
+msgid "What do the color adjustments do?"
+msgstr "¿Qué hacen los ajustes del color?"
+
+#. (itstool) path: item/title
+#: C/edit-adjustments.page:24
+msgid "Exposure"
+msgstr "Exposición"
+
+#. (itstool) path: item/p
+#: C/edit-adjustments.page:25
+msgid ""
+"Changes the brightness to make it look like the photo was exposed for a "
+"longer or shorter time. Use this to correct under- or over-exposed photos."
+msgstr ""
+"Cambia el brillo para que parezca que la foto se ha expuesto por un tiempo "
+"más o menos largo. Utilice esta opción para corregir las fotografías "
+"sobreexpuestas o excesivamente subexpuestas."
+
+#. (itstool) path: item/title
+#: C/edit-adjustments.page:28
+msgid "Saturation"
+msgstr "Saturación"
+
+#. (itstool) path: item/p
+#: C/edit-adjustments.page:29
+msgid ""
+"Changes how vivid colors look. If your photo looks gray and washed out, try "
+"increasing the saturation. If colors look too bold, try decreasing it."
+msgstr ""
+"Cambia la intensidad de los colores. Si su foto parece gris y pálida, pruebe "
+"a aumentar la saturación. Si los colores se ven demasiado intensos, intente "
+"disminuirlos."
+
+#. (itstool) path: item/title
+#: C/edit-adjustments.page:32
+msgid "Tint"
+msgstr "Matiz"
+
+#. (itstool) path: item/p
+#: C/edit-adjustments.page:33
+msgid ""
+"This tints the photo with a color. It's useful for correcting photos taken "
+"with the wrong white balance setting, which typically have an unnatural "
+"color cast. For example, photos taken outdoors with the white balance set to "
+"\"Tungsten\" may have a blue cast."
+msgstr ""
+"Esto matiza la foto con un color. Es útil para corregir fotos que se han "
+"tomado con el ajuste del balance de blancos erróneo, que normalmente tiene "
+"unas tonalidades de color poco naturales. Por ejemplo, las fotos tomadas en "
+"el exterior con el ajuste del balance de blancos en «Tungsten» pueden tener "
+"una tonalidad azulada."
+
+#. (itstool) path: item/title
+#: C/edit-adjustments.page:36
+msgid "Temperature"
+msgstr "Temperatura"
+
+#. (itstool) path: item/p
+#: C/edit-adjustments.page:37
+msgid ""
+"Changes how \"warm\" or \"cool\" the picture looks. Use this to make cold, "
+"depressing scenes look more lively, for example."
+msgstr ""
+"Cambia el aspecto «cálido» o «frío» de la imagen. Utilice esto, por ejemplo, "
+"para hacer que las escenas frías y tristes parezcan más alegres."
+
+#. (itstool) path: item/title
+#: C/edit-adjustments.page:40
+msgid "Shadows"
+msgstr "Sombras"
+
+#. (itstool) path: item/p
+#: C/edit-adjustments.page:41
+msgid ""
+"This makes shadowy areas appear lighter. Use this to make detail more "
+"visible if it's obscured by the darkness of a shadow."
+msgstr ""
+"Esto hace que las áreas oscuras aparezcan más claras. Si los detalles se han "
+"oscurecido por las sombras, utilice esto para hacerlos más visibles."
+
+#. (itstool) path: item/title
+#: C/edit-adjustments.page:44
+msgid "Intensity Threshold (sliders on the histogram)"
+msgstr "Umbral de intensidad (control deslizante en el histograma)"
+
+#. (itstool) path: item/p
+#: C/edit-adjustments.page:45
+msgid ""
+"These sliders change how light the brightest white is and how dark the "
+"darkest black is. Use them to change the contrast of the photo. Photos which "
+"look washed out should particularly benefit from changing these settings."
+msgstr ""
+"Estos controles deslizantes cambian cómo de claro es el blanco más brillante "
+"y cómo de oscuro es el negro más oscuro. Utilícelos para cambiar el "
+"contraste de la foto, sobre todo en las fotos que son pálidas."
+
+#. (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 ""
+"external ref='figures/crop_thirds.jpg' md5='4cf0a026bb812c7eab0c9db8210a9524'"
+
+#. (itstool) path: info/desc
+#: C/edit-crop.page:7
+msgid "Improve the composition of a photo by cutting out parts of it."
+msgstr "Mejore la composición de una foto cortando partes de la misma."
+
+#. (itstool) path: page/title
+#: C/edit-crop.page:12
+msgid "Cropping"
+msgstr "Recortar"
+
+#. (itstool) path: page/p
+#: C/edit-crop.page:14
+msgid ""
+"To reduce the area of a photo and concentrate the viewer's attention on a "
+"smaller portion of it, use the Crop tool. The crop tool is only available in "
+"full-window or fullscreen mode."
+msgstr ""
+"Para reducir el área de una foto y concentrar la atención del espectador en "
+"una parte más pequeña de ella, utilice la herramienta Recortar. La "
+"herramienta Recortar sólo está disponible en el modo a pantalla completa."
+
+#. (itstool) path: item/p
+#: C/edit-crop.page:19
+msgid ""
+"Double-click on a photo to enter full-window mode, then press the <gui>Crop</"
+"gui> button on the toolbar."
+msgstr ""
+"Para entrar en el modo a pantalla completa, pulse dos veces en la foto y "
+"luego pulse el botón <gui>Recortar</gui> en la barra de herramientas."
+
+#. (itstool) path: item/p
+#: C/edit-crop.page:22
+msgid ""
+"A white box, the crop rectangle, will appear over the photo. The lighter "
+"portion of the photo within the crop rectangle represents what the photo "
+"will look like when you crop it."
+msgstr ""
+"Unas líneas blancas, que representan el rectángulo de recorte, aparecerán "
+"sobre la foto. La parte más clara de la foto dentro del rectángulo de "
+"recorte representa cómo se verá la foto cuando la recorte."
+
+#. (itstool) path: item/p
+#: C/edit-crop.page:25
+msgid ""
+"If you place your cursor in the middle of the box, you can move the box "
+"around. If you drag the edges of the box, you can adjust its size. As you "
+"move and adjust the crop box, you'll see four lines appear inside it, like a "
+"tic-tac-toe grid. These are <em>rule of thirds</em> lines."
+msgstr ""
+"Si coloca el cursor en el centro del recuadro, podrá moverlo. Si arrastra "
+"los bordes del recuadro, puede ajustar su tamaño. Al mover y ajustar la caja "
+"de recorte, verá aparecer cuatro líneas en su interior, como las cuadrículas "
+"para el tres en raya. Estas son las líneas de la <em>regla de los tercios</"
+"em>."
+
+#. (itstool) path: item/p
+#: C/edit-crop.page:26
+msgid ""
+"You can also constrain the crop box to one of many common sizes. Choose a "
+"size from the drop-down list that suits your needs. If you press the flip "
+"button next to it, the orientation of the constraint will switch (from "
+"landscape to portrait)."
+msgstr ""
+"También puede limitar el recuadro a uno de los tamaños más comunes. Elija un "
+"tamaño de la lista desplegable que se adapte a sus necesidades. Si pulsa el "
+"botón voltear situado junto a esta, la orientación de la restricción "
+"cambiará (de horizontal a vertical)."
+
+#. (itstool) path: item/p
+#: C/edit-crop.page:29
+msgid ""
+"When you're happy with your crop outline, apply it by pressing the "
+"<gui>Crop</gui> button. Shotwell will display the cropped photo."
+msgstr ""
+"Cuando esté satisfecho con su recorte, aplíquelo pulsando el botón "
+"<gui>Recortar<gui>. Shotwell mostrará la foto recortada."
+
+#. (itstool) path: item/p
+#: C/edit-crop.page:32
+msgid ""
+"If you change your mind, press the <gui>Crop</gui> button again and fine-"
+"tune the crop."
+msgstr ""
+"Si cambia de opinión, pulse el botón <gui>Recortar</gui> de nuevo y ajuste "
+"el recorte."
+
+#. (itstool) path: item/p
+#: C/edit-crop.page:33
+msgid ""
+"If you press <gui>Cancel</gui> rather than <gui>Apply</gui>, Shotwell will "
+"return to the photo's previous crop dimensions."
+msgstr ""
+"Si pulsa el botón <gui>Cancelar</gui> en vez del botón <gui>Aplicar</gui>, "
+"Shotwell devolverá a la foto las dimensiones anteriores del recorte."
+
+#. (itstool) path: section/title
+#: C/edit-crop.page:38
+msgid "What is the rule of thirds?"
+msgstr "¿Qué es la regla de los tercios?"
+
+#. (itstool) path: section/p
+#: C/edit-crop.page:39
+msgid ""
+"The <em>rule of thirds</em> helps you to choose a pleasing composition for a "
+"photo."
+msgstr ""
+"La <em>regla de los tercios </em> le ayuda a elegir una composición "
+"satisfactoria para una foto."
+
+#. (itstool) path: section/p
+#: C/edit-crop.page:40
+msgid ""
+"Imagine that the scene is divided up into a 3x3 grid by two equally-spaced "
+"vertical lines and two equally-spaced horizontal lines. According to the "
+"rule, you're more likely to get a pleasing composition if you align major "
+"features (like the horizon, or a person's body) with one of the lines. "
+"Paying attention to the way features flow from one part of the grid to "
+"another can also help."
+msgstr ""
+"Imagine que la escena se divide en una cuadrícula de 3x3 por dos líneas "
+"verticales espaciadas y por dos líneas horizontales igualmente espaciadas. "
+"De acuerdo con la regla, es más probable que obtenga una composición "
+"satisfactoria si alinea las características principales (como el horizonte o "
+"una persona) con una de estas líneas. Prestar atención a la forma en que las "
+"características van de una parte de la cuadrícula a la otra también puede "
+"ser de ayuda."
+
+#. (itstool) path: section/p
+#: C/edit-crop.page:41
+msgid ""
+"Cropping a photo so that it conforms to the rule of thirds often results in "
+"a more visually appealing image."
+msgstr ""
+"Recortar una foto siguiendo la regla de los tercios suele dar como resultado "
+"una imagen visualmente más satisfactoria."
+
+#. (itstool) path: media/p
+#: C/edit-crop.page:43
+msgid ""
+"Cropping a photo, using the \"rule of thirds\" lines to improve the "
+"composition."
+msgstr ""
+"Recorte una foto siguiendo las líneas de la «regla de los tercios» para "
+"mejorar la composición."
+
+#. (itstool) path: info/desc
+#: C/edit-enhance.page:7
+msgid ""
+"Let Shotwell improve the brightness and contrast of a photo automatically."
+msgstr ""
+"Permita que Shotwell mejore el brillo y el contraste de una foto "
+"automáticamente."
+
+#. (itstool) path: page/title
+#: C/edit-enhance.page:14
+msgid "Auto-enhance"
+msgstr "Mejora automática"
+
+#. (itstool) path: page/p
+#: C/edit-enhance.page:16
+msgid ""
+"Clicking on the <gui>Enhance</gui> button is a quick way to automatically "
+"adjust the brightness and contrast of your photo. It will often give you a "
+"photo that is correctly exposed. You can also use it as a starting point and "
+"then improve the adjustments by clicking on the <gui>Adjust</gui> button."
+msgstr ""
+"Pulsar en el botón <gui>Mejorar</gui> es una forma rápida de ajustar "
+"automáticamente el brillo y el contraste de la foto. Normalmente le ofrecerá "
+"una foto que esté correctamente expuesta. También puede utilizarlo como "
+"punto de partida y luego mejorar los ajustes pulsando en el botón "
+"<gui>Ajustar</gui>."
+
+#. (itstool) path: info/desc
+#: C/edit-external.page:7
+msgid "Use a different program to edit a photo."
+msgstr "Usar un programa diferente para editar una foto."
+
+#. (itstool) path: page/title
+#: C/edit-external.page:12
+msgid "Edit photos with an external program"
+msgstr "Editar las fotos con un programa externo"
+
+#. (itstool) path: page/p
+#: C/edit-external.page:16
+msgid ""
+"You might want to use an external editor to do additional work on a photo. "
+"If installed, GIMP and UFRaw are the default external editors for photo and "
+"RAW editing, respectively. If these programs are not installed, you must "
+"select your preferred editors by choosing <guiseq><gui>Edit</"
+"gui><gui>Preferences</gui></guiseq> and selecting editors from drop-down "
+"menus of installed applications."
+msgstr ""
+"Quizás quiera utilizar un editor externo para trabajar adicionalmente en una "
+"foto. Si están instalados, GIMP y UFRaw son los editores externos "
+"predeterminados para editar una foto o RAW, respectivamente. Si estos "
+"programas no están instalados, tiene que seleccionar sus editores preferidos "
+"eligiendo <guiseq><gui>Editar<gui><gui>Preferencias</gui></guiseq> y "
+"seleccionar los editores del menú desplegable de las aplicaciones instaladas."
+
+#. (itstool) path: page/p
+#: C/edit-external.page:24
+msgid ""
+"Once your editors have been set, select a photo and choose "
+"<guiseq><gui>Photos</gui> <gui>Open With External Editor</gui></guiseq> to "
+"open the photo with the external editor. Likewise, if the original photo is "
+"a RAW file, select <guiseq><gui>Photos</gui><gui>Open With RAW Editor</gui></"
+"guiseq> to edit the RAW file directly with the set RAW editor."
+msgstr ""
+"Una vez que los editores se han establecido, seleccione una foto y elija "
+"<guiseq><gui>Fotos</gui> <gui>Abrir con un editor externo</gui></guiseq> "
+"para abrir la foto con un editor externo. De la misma manera, si la foto "
+"original es un archivo RAW, seleccione <guiseq><gui>Fotos</gui><gui>Abrir "
+"con un editor RAW</gui></guiseq> para editar el archivo RAW directamente con "
+"un editor RAW establecido."
+
+#. (itstool) path: page/p
+#: C/edit-external.page:31
+msgid ""
+"When you complete your edits and save the file, Shotwell will detect the "
+"changes and update the photo. When external edits have been made, press and "
+"hold the <key>Shift</key> key in full-window view to show the original photo "
+"rather than the externally-edited one."
+msgstr ""
+"Cuando complete sus ediciones y guarde el archivo, Shotwell detectará los "
+"cambios y actualizará la foto. Cuando se hayan realizado ediciones externas, "
+"mantenga pulsada la tecla <tecla>Mayús</tecla> en la vista de la pantalla "
+"completa para mostrar la foto original en lugar de la editada externamente."
+
+#. (itstool) path: page/p
+#: C/edit-external.page:38
+msgid "Reverting to original will erase any external edits."
+msgstr "Revertir al original borrará cualquier cambio externo."
+
+#. (itstool) path: note/p
+#: C/edit-external.page:43
+msgid ""
+"If you externally edit a RAW photo and save the result to another image, "
+"such as a JPEG or PNG, Shotwell cannot automatically determine that the "
+"original RAW and the new image should be paired."
+msgstr ""
+"Si edita de manera externa una foto RAW y guarda el resultado en otra "
+"imagen, como un archivo JPEG o PNG, Shotwell no puede determinar "
+"automáticamente que la RAW original y la nueva imagen deberían estar "
+"emparejadas."
+
+#. (itstool) path: note/p
+#: C/edit-external.page:49
+msgid ""
+"If you want to work within the resulting image within Shotwell, you'll need "
+"to import it yourself."
+msgstr ""
+"Si quiere trabajar sobre la imagen resultante con Shotwell, tendrá que "
+"importarla usted mismo."
+
+#. (itstool) path: info/desc
+#: C/edit-nondestructive.page:7
+msgid ""
+"Shotwell is a non-destructive photo editor - it does not modify your "
+"original photos."
+msgstr ""
+"Shotwell es un editor de fotos no destructivo, es decir, no modifica sus "
+"fotos originales."
+
+#. (itstool) path: page/title
+#: C/edit-nondestructive.page:12
+msgid "What happens to the original when I edit a photo?"
+msgstr "¿Qué sucede con el original cuando edito una foto?"
+
+#. (itstool) path: page/p
+#: C/edit-nondestructive.page:14
+msgid ""
+"Shotwell is a non-destructive photo editor. It does not modify your original "
+"photographs. That is to say, if you crop a photo or adjust its colors, the "
+"photo file on disc remains untouched. Shotwell stores your edits in a "
+"database and applies them on the fly as necessary. This means you can undo "
+"any alterations you make to a photograph."
+msgstr ""
+"Shotwell es un editor de fotos no destructivo. No modifica sus fotografías "
+"originales. Es decir, si recorta una foto o ajusta sus colores, el archivo "
+"de la foto del disco permanece intacto. Shotwell almacena sus ediciones en "
+"una base de datos y las aplica sobre la marcha, según sea necesario. Esto "
+"significa que puede deshacer cualquier alteración que realices en una "
+"fotografía."
+
+#. (itstool) path: page/p
+#: C/edit-nondestructive.page:16 C/edit-undo.page:18
+msgid ""
+"If you want to see what a photo looked like before your modifications, press "
+"the <key>Shift</key> key. The original photo will be displayed as long as "
+"you hold the key down."
+msgstr ""
+"Si quiere ver qué aspecto tenía una foto antes de realizar las "
+"modificaciones, pulse la tecla <tecla>Mayús<tecla>. La foto original se "
+"mostrará siempre que mantenga pulsada esta tecla."
+
+#. (itstool) path: page/p
+#: C/edit-nondestructive.page:18
+msgid ""
+"Note that Shotwell can optionally write metadata (such as tags and titles) "
+"to photo files. For more information, see the section <link xref=\"other-"
+"files\">Photo files</link>."
+msgstr ""
+"Tenga en cuenta que Shotwell puede escribir metadatos opcionalmente (como "
+"etiquetas y títulos) en los archivos de fotos. Para obtener más información, "
+"consulte la sección <link xref=\"other-files\">Archivos de fotos</link>."
+
+#. (itstool) path: info/desc
+#: C/edit-redeye.page:7
+msgid ""
+"Correct photos where people have red eyes because of the camera's flash."
+msgstr ""
+"Corrige las fotos donde las personas tienen ojos rojos por el flash de la "
+"cámara."
+
+#. (itstool) path: page/title
+#: C/edit-redeye.page:12
+msgid "Removing red-eye"
+msgstr "Quitar los ojos rojos"
+
+#. (itstool) path: page/p
+#: C/edit-redeye.page:14
+msgid ""
+"Red-eye occurs when the camera's flash reflects off the pupil of someone's "
+"eye. To eliminate this in a photo, use the Red-eye tool."
+msgstr ""
+"Los ojos rojos aparecen cuando el flash de la cámara se refleja en las "
+"pupilas de los ojos. Para eliminar esto en una foto, utilice la herramienta "
+"Ojos rojos."
+
+#. (itstool) path: item/p
+#: C/edit-redeye.page:17
+msgid "Click <gui>Red-eye</gui>. A circle will appear on the photo."
+msgstr "Pulse en <gui>Ojos Rojos</gui>. Un círculo aparecerá en la foto."
+
+#. (itstool) path: item/p
+#: C/edit-redeye.page:20
+msgid ""
+"Drag the circle over the affected pupil, adjust its size with the slider "
+"control, and press <gui>Apply</gui>. The redness will be removed."
+msgstr ""
+"Arrastre el círculo sobre la pupila afectada, ajuste su tamaño con el "
+"control deslizante y presione <gui>Aplicar</gui>. Se eliminará el color rojo."
+
+#. (itstool) path: item/p
+#: C/edit-redeye.page:23
+msgid ""
+"Repeat this process for all red pupils in your photo. Press <gui>Close</gui> "
+"when finished."
+msgstr ""
+"Repita este proceso para todas las pupilas rojas en su foto. Pulse "
+"<gui>Cerrar</gui> cuando haya terminado."
+
+#. (itstool) path: info/desc
+#: C/edit-rotate.page:7
+msgid ""
+"Click the <gui>Rotate</gui> button, or choose one of the commands in the "
+"<gui>Photo</gui> menu."
+msgstr ""
+"Pulse el botón <gui>Girar</gui>, o elija uno de los comandos en el menú "
+"<gui>Foto</gui>."
+
+#. (itstool) path: page/title
+#: C/edit-rotate.page:12
+msgid "Rotate or flip a photo"
+msgstr "Girar o voltear una foto"
+
+#. (itstool) path: page/p
+#: C/edit-rotate.page:14
+msgid ""
+"You can rotate your photos left and right (clockwise and counterclockwise) "
+"with the <gui>Rotate</gui> button on the toolbar of most views. You can also "
+"make a mirror image of any photo."
+msgstr ""
+"Puede girar las fotos a la izquierda y a la derecha con el botón <gui>Girar</"
+"gui> en la barra de herramientas de la mayoría de las vistas. También puede "
+"hacer una imagen reflejada de cualquier foto."
+
+#. (itstool) path: page/p
+#: C/edit-rotate.page:16
+msgid ""
+"To rotate right, click on the <gui>Rotate</gui> button. To rotate left, "
+"press and hold the <key>Ctrl</key> key and then click the button. Both "
+"commands are available in the <gui>Photos</gui> menu too. Alternatively, use "
+"the following keyboard shortcuts:"
+msgstr ""
+"Para girar hacia la derecha, pulse el botón <gui>Girar</gui>. Para girar "
+"hacia la izquierda, mantenga pulsada la tecla <tecla>Ctrl</key> y luego "
+"pulse el botón. Ambos comandos están disponibles en el menú <gui>Fotos</"
+"gui>. Como alternativa, utilice los siguientes atajos del teclado:"
+
+#. (itstool) path: item/p
+#: C/edit-rotate.page:18
+msgid ""
+"rotate left: <keyseq><key>Shift</key><key>Ctrl</key><key>R</key></keyseq> or "
+"<key>[</key>"
+msgstr ""
+"rotar a la izquierda: <keyseq><key>Mayús</key><key>Ctrl</key><key>R</key></"
+"keyseq> o <key>[</key>"
+
+#. (itstool) path: item/p
+#: C/edit-rotate.page:19
+msgid ""
+"rotate right: <keyseq><key>Ctrl</key><key>R</key></keyseq> or <key>]</key>"
+msgstr ""
+"rotar a la derecha: <keyseq><key>Ctrl</key><key>R</key></keyseq> or <key>]</"
+"key>"
+
+#. (itstool) path: page/p
+#: C/edit-rotate.page:21
+msgid ""
+"To create a mirror image of a photo, use the <gui>Flip Horizontally</gui> "
+"command in the <gui>Photos</gui> menu. To flip an image vertically, use the "
+"<gui>Flip Vertically</gui> command in the same menu."
+msgstr ""
+"Para crear una imagen reflejada de una foto, utilice el comando <gui>Voltear "
+"horizontalmente</gui> en el menú <gui>Fotos</gui>. Para voltear una imagen "
+"verticalmente, utilice el comando <gui>Voltear verticalmente</gui> en el "
+"mismo menú."
+
+#. (itstool) path: note/p
+#: C/edit-rotate.page:24
+msgid ""
+"If you select more than one image, you can rotate all of them at the same "
+"time."
+msgstr ""
+"Si selecciona más de una imagen, puede girar todas ellas al mismo tiempo."
+
+#. (itstool) path: info/desc
+#: C/edit-straighten.page:7
+msgid "Straighten a photo so that its horizon appears level."
+msgstr "Enderezar una foto tal que su horizonte aparezca nivelado."
+
+#. (itstool) path: page/title
+#: C/edit-straighten.page:12
+msgid "Straighten photos"
+msgstr "Enderezar fotos"
+
+#. (itstool) path: page/p
+#: C/edit-straighten.page:14
+msgid ""
+"The straighten tools allows photos to be leveled and straightened. The "
+"straighten tool is only available in full-window or fullscreen mode."
+msgstr ""
+"Las herramientas de enderezar permiten que las fotos se nivelen y enderecen. "
+"La herramienta de enderezado sólo está disponible en modo de pantalla "
+"completa."
+
+#. (itstool) path: item/p
+#: C/edit-straighten.page:18
+msgid ""
+"Click <gui>Straighten</gui>. The straighten slider will appear. "
+"Alternatively, use the keyboard shortcut <keyseq><key>Ctrl</key><key>A</"
+"key></keyseq>."
+msgstr ""
+"Pulse en <gui>Enderezar</gui>. Aparecerá el control deslizante de "
+"enderezamiento. También puede utilizar el atajo de teclado "
+"<keyseq><key>Ctrl</key><key>A</key></keyseq>."
+
+#. (itstool) path: item/p
+#: C/edit-straighten.page:21
+msgid "Drag the slider to achieve the desired degree of straightening."
+msgstr ""
+"Arrastre el control deslizante para conseguir el grado que quiera de "
+"enderezamiento."
+
+#. (itstool) path: item/p
+#: C/edit-straighten.page:24
+#, fuzzy
+#| msgid "Press <gui>OK</gui> when finished."
+msgid "Press <gui>Straighten</gui> when finished."
+msgstr "Pulse <gui>Aceptar</gui> cuando haya acabado."
+
+#. (itstool) path: info/desc
+#: C/edit-date-time.page:7
+#, fuzzy
+#| msgid "Change the time and date of photos if those details are incorrect."
+msgid "Change the date and time of photos if those details are incorrect."
+msgstr "Cambiar la hora y la fecha de las fotos si son incorrectas."
+
+#. (itstool) path: page/title
+#: C/edit-date-time.page:12
+#, fuzzy
+#| msgid "Adjust the time and date of photos"
+msgid "Adjust the date and time of photos"
+msgstr "Ajustar la hora y fecha de las fotos"
+
+#. (itstool) path: page/p
+#: C/edit-date-time.page:14
+#, fuzzy
+#| 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>."
+msgid ""
+"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."
+msgstr ""
+"Para crear un evento nuevo, seleccione las fotos que quiere tener en el "
+"evento y pulse <guiseq><gui>Eventos</gui><gui>Nuevo evento</gui></guiseq>."
+
+#. (itstool) path: page/p
+#: C/edit-date-time.page:16
+msgid ""
+"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."
+msgstr ""
+"Si está cambiando la fecha y la hora de varias fotos a la vez, puede elegir "
+"cambiar todas las fotos en la misma cantidad de horas o establecer todas las "
+"fotos en la misma hora."
+
+#. (itstool) path: page/p
+#: C/edit-date-time.page:18
+msgid ""
+"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."
+msgstr ""
+"De manera predeterminada, la fecha y la hora sólo se cambian dentro de "
+"Shotwell. También puede optar por modificar la fecha y la hora en el archivo "
+"original, pero esto no se puede deshacer una vez que salga de Shotwell."
+
+#. (itstool) path: info/desc
+#: C/edit-undo.page:7
+msgid "Return a photo to its original, unedited form."
+msgstr "Restaurar una foto a su estado original, sin edición."
+
+#. (itstool) path: page/title
+#: C/edit-undo.page:14
+msgid "Undoing changes"
+msgstr "Deshacer cambios"
+
+#. (itstool) path: page/p
+#: C/edit-undo.page:16
+msgid ""
+"Because Shotwell is a non-destructive photo editor, you can undo any "
+"alterations you make to a photograph."
+msgstr ""
+"Gracias a que Shotwell es un editor de fotos no destructivo, puede deshacer "
+"cualquier alteración que realice en una foto."
+
+#. (itstool) path: page/p
+#: C/edit-undo.page:20
+msgid ""
+"To completely undo all the changes you've made to a photo, click "
+"<guiseq><gui>Photos</gui><gui>Revert to Original</gui></guiseq>. The only "
+"exception is that time and date adjustments will not be reverted."
+msgstr ""
+"Para deshacer por completo todos los cambios realizados en una foto, haga "
+"clic en <guiseq><gui>Fotos</gui><gui>Volver al original</gui></guiseq>. La "
+"única excepción es que los ajustes de hora y fecha no se revertirán."
+
+#. (itstool) path: info/desc
+#: C/formats.page:7
+msgid ""
+"Shotwell supports JPEG, PNG, TIFF, BMP and RAW photo files as well as video "
+"files."
+msgstr ""
+"Shotwell soporta archivos JPEG, PNG, TIFF, BMP y RAW, así como archivos de "
+"vídeo."
+
+#. (itstool) path: page/title
+#: C/formats.page:12
+msgid "Supported photo and video formats"
+msgstr "Formatos de foto y vídeo soportados"
+
+#. (itstool) path: page/p
+#: C/formats.page:14
+msgid ""
+"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."
+msgstr ""
+"Shotwell soporta archivos JPEG, PNG, TIFF, BMP y <link type =\"guide\" xref="
+"\"other-raw\">RAW</link>. Shotwell todavía no soporta otros formatos "
+"gráficos como GIF."
+
+#. (itstool) path: page/p
+#: C/formats.page:16
+msgid ""
+"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)."
+msgstr ""
+"El soporte del formato RAW de Shotwell está actualmente limitado. Cuando ve "
+"una foto RAW, en realidad está viendo un JPEG derivado de la foto RAW, no la "
+"imagen RAW en sí. Además, la ruta de edición RAW no es completamente de 16 "
+"bits; sólo puede exportar las fotos editadas como archivos de 8 bits. Todos "
+"los formatos compatibles se pueden utilizar para la exportación (JPEG, PNG, "
+"TIFF, BMP)."
+
+#. (itstool) path: page/p
+#: C/formats.page:18
+msgid ""
+"For more information about RAW-format photos in Shotwell, please see the "
+"<link type=\"guide\" xref=\"other-raw\">RAW</link> section."
+msgstr ""
+"Para obtener más información acerca de las fotos en formato RAW en Shotwell, "
+"consulte la sección <link type=\"guide\" xref=\"other-raw\">RAW</link>."
+
+#. (itstool) path: page/p
+#: C/formats.page:22
+msgid ""
+"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:"
+msgstr ""
+"Shotwell también soporta archivos de vídeo en cualquier formato soportado "
+"por la biblioteca multimedia de GStreamer en el sistema donde Shotwell está "
+"funcionando. Esto normalmente incluye los siguientes formatos, entre otros:"
+
+#. (itstool) path: item/p
+#: C/formats.page:25
+msgid "Container formats: Ogg, QuickTime, MP4, AVI."
+msgstr "Formatos de contenedor: Ogg, QuickTime, MP4, AVI."
+
+#. (itstool) path: item/p
+#: C/formats.page:26
+msgid ""
+"Codecs: Theora, Quicktime, MPEG-4, Motion JPEG. <em>Note that some operating "
+"systems may not include all codecs listed here due to legal or licensing "
+"restrictions.</em>"
+msgstr ""
+"Códecs: Theora, Quicktime, MPEG-4, Motion JPEG. <em>Tenga en cuenta que "
+"algunos sistemas operativos pueden no incluir todos los códecs que se "
+"enumeran aquí debido a restricciones legales o de licencia.</em>"
+
+#. (itstool) path: page/p
+#: C/formats.page:30
+msgid ""
+"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."
+msgstr ""
+"Shotwell soporta fotos y vídeos, pero por simplicidad, esta documentación "
+"usa sólo el término «fotos» en la mayoría de ocasiones. Sin embargo, muchas "
+"operaciones en Shotwell se aplican tanto a fotos como a vídeos. En "
+"particular, los eventos, los marcados, las clasificaciones, los etiquetados "
+"y los trabajos publicados funcionan tanto para fotos como para vídeos."
+
+#. (itstool) path: info/desc
+#: C/import-camera.page:7
+msgid "Copy photos from a digital camera."
+msgstr "Copiar fotos desde una cámara digital."
+
+#. (itstool) path: page/title
+#: C/import-camera.page:12
+msgid "Importing from a camera"
+msgstr "Importar desde una cámara"
+
+#. (itstool) path: page/p
+#: C/import-camera.page:14
+msgid "To import photos from a digital camera:"
+msgstr "Para importar fotos desde una cámara digital:"
+
+#. (itstool) path: item/p
+#: C/import-camera.page:18
+msgid ""
+"Connect the camera to your computer and switch it on. Shotwell will detect "
+"it and list it in the sidebar."
+msgstr ""
+"Conecte la cámara al equipo y enciéndala. Shotwell la detectará y la "
+"mostrará en la barra lateral."
+
+#. (itstool) path: item/p
+#: C/import-camera.page:22
+msgid ""
+"Select the camera in the sidebar. Previews of each photo on the camera will "
+"be displayed."
+msgstr ""
+"Seleccione la cámara en la barra lateral. Se mostrará la vista previa de "
+"cada una de las fotos de la cámara."
+
+#. (itstool) path: item/p
+#: C/import-camera.page:25
+msgid ""
+"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."
+msgstr ""
+"Si quiere, puede elegir un conjunto de fotos específicas para importar. Para "
+"ello, mantenga presionada la tecla <tecla>Ctrl</key> y pulse para "
+"seleccionar las fotos individuales. Puede mantener pulsada la tecla "
+"<tecla>Mayús</tecla> y pulsar para seleccionar varias fotos también."
+
+#. (itstool) path: item/p
+#: C/import-camera.page:28
+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 ""
+"Pulse <gui>Importar seleccionadas</gui> o <gui> Importar todo</gui>. Las "
+"fotos se copiarán de la cámara y se guardarán en el ordenador."
+
+#. (itstool) path: page/p
+#: C/import-camera.page:32
+msgid ""
+"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."
+msgstr ""
+"Una vez finalizada la importación, puede abrir la vista <gui>Última "
+"importación</gui> (en la barra lateral) para ver todas las fotos que se "
+"importaron. La lista de Eventos (también en la barra lateral) también "
+"mostrará las nuevas fotos, organizadas por fecha."
+
+#. (itstool) path: info/desc
+#: C/import-file.page:7
+msgid "Import photos that are already saved on your computer."
+msgstr "Importar fotos que ya están en el equipo."
+
+#. (itstool) path: page/title
+#: C/import-file.page:12
+msgid "Importing from your hard disk"
+msgstr "Importar desde su disco duro"
+
+#. (itstool) path: page/p
+#: C/import-file.page:14
+msgid ""
+"To import photo files from your hard disk into Shotwell, just drag them from "
+"your file browser into the Shotwell window."
+msgstr ""
+"Para importar fotos desde su disco duro a Shotwell, solo debe arrastrarlas "
+"desde su explorador a la ventana de Shotwell."
+
+#. (itstool) path: page/p
+#: C/import-file.page:16
+msgid ""
+"Alternatively, click <guiseq><gui>File</gui><gui>Import From Folder...</"
+"gui></guiseq> and select the folder containing the photos you want to import."
+msgstr ""
+"Alternativamente, pulse <guiseq><gui>Archivo</gui><gui>Importar desde la "
+"carpeta...</gui></guiseq> y seleccione la carpeta que contiene las fotos que "
+"quiere importar."
+
+#. (itstool) path: page/p
+#: C/import-file.page:18
+msgid ""
+"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."
+msgstr ""
+"Shotwell le preguntará si quiere copiar los archivos de fotos en su carpeta "
+"de la biblioteca (la carpeta de la biblioteca está normalmente en la carpeta "
+"<file>Imágenes</file> en su carpeta local) o importarlos en su lugar sin "
+"copiar los archivos."
+
+#. (itstool) path: page/p
+#: C/import-file.page:20
+msgid ""
+"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."
+msgstr ""
+"Si mantiene pulsada la tecla <key>Ctrl</key> mientras arrastra las fotos, "
+"Shotwell copiará las fotos en la carpeta de la biblioteca sin preguntar. Del "
+"mismo modo, si mantiene presionadas las teclas <keyseq><key>Ctrl</"
+"key><key>Shift</key></keyseq>, Shotwell importará las fotos sin copiarlas."
+
+#. (itstool) path: page/p
+#: C/import-file.page:22
+msgid ""
+"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."
+msgstr ""
+"Una vez finalizada la importación, puede seleccionar <gui>Última "
+"importación</gui> en la barra lateral para ver todas las fotos importadas "
+"correctamente. La lista de Eventos también mostrará nuevas entradas para las "
+"fechas correspondientes a las fotos importadas."
+
+#. (itstool) path: info/desc
+#: C/import-f-spot.page:7
+msgid ""
+"Shotwell can import all your photos and tags from the F-Spot photo manager."
+msgstr ""
+"Shotwell puede importar todas sus fotos y etiquetas desde el gestor de fotos "
+"F-Spot."
+
+#. (itstool) path: page/title
+#: C/import-f-spot.page:12
+msgid "Importing from F-Spot"
+msgstr "Importar desde F-Spot"
+
+#. (itstool) path: page/p
+#: C/import-f-spot.page:14
+msgid "To import an existing photo collection from F-Spot:"
+msgstr "Para importar una colección de fotos existente desde F-Spot:"
+
+#. (itstool) path: item/p
+#: C/import-f-spot.page:16
+msgid "Select <guiseq><gui>File</gui><gui>Import From F-Spot</gui></guiseq>."
+msgstr ""
+"Seleccione <guiseq><gui>Archivo</gui><gui>Importar desde F-Spot</gui></"
+"guiseq>."
+
+#. (itstool) path: item/p
+#: C/import-f-spot.page:17
+msgid ""
+"Now choose either the default F-Spot library or another F-Spot database. If "
+"importing from another F-Spot database, select a directory and file from the "
+"chooser dialog box."
+msgstr ""
+"Ahora elija la biblioteca predeterminada F-Spot u otra base de datos F-Spot. "
+"Si quiere importar desde otra base de datos F-Spot, seleccione una carpeta y "
+"un archivo en el cuadro de diálogo del selector."
+
+#. (itstool) path: page/p
+#: C/import-f-spot.page:20
+msgid ""
+"Shotwell will import your photos, together with their tags and other "
+"information. 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."
+msgstr ""
+"Shotwell importará sus fotos, junto con sus etiquetas y otra información. "
+"Una vez finalizada la importación, puede seleccionar <gui>Última "
+"importación</gui> en la barra lateral para ver todas las fotos importadas "
+"correctamente. La lista de Eventos también mostrará nuevas entradas para las "
+"fechas correspondientes a las fotos importadas."
+
+#. (itstool) path: info/desc
+#: C/import-memorycard.page:7
+msgid "Import photos from a digital camera's memory card."
+msgstr "Importar fotos desde una tarjeta de memoria de una cámara digital."
+
+#. (itstool) path: page/title
+#: C/import-memorycard.page:12
+msgid "Importing from a memory card"
+msgstr "Importar desde una tarjeta de memoria"
+
+#. (itstool) path: page/p
+#: C/import-memorycard.page:14
+msgid "To import photos from a camera memory card:"
+msgstr "Para importar fotos desde una tarjeta de memoria de una cámara:"
+
+#. (itstool) path: item/p
+#: C/import-memorycard.page:18
+msgid ""
+"Put the card into your card reader. Make sure the card reader is plugged in "
+"to the computer and switched on."
+msgstr ""
+"Coloque la tarjeta en el lector de tarjetas. Asegúrese de que el lector está "
+"conectado al equipo y encendido."
+
+#. (itstool) path: item/p
+#: C/import-memorycard.page:21
+msgid "The card reader and card should be detected automatically."
+msgstr ""
+"El lector de tarjetas y la tarjeta se deberían detectar automáticamente."
+
+#. (itstool) path: item/p
+#: C/import-memorycard.page:24
+msgid ""
+"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."
+msgstr ""
+"Siga las instrucciones para <link xref=\"import-file\">importar fotos desde "
+"el disco duro</link>. Si pulsa en <guiseq><gui>Archivo</gui><gui>Importar "
+"desde la carpeta...</gui></guiseq>, la tarjeta de memoria será visible como "
+"una carpeta en la barra lateral de la ventana de selección de archivos."
+
+#. (itstool) path: page/p
+#: C/import-memorycard.page:28
+msgid ""
+"Shotwell can import photos from any memory card that is compatible with your "
+"card reader."
+msgstr ""
+"Shotwell puede importar fotos de una tarjeta de memoria que sea compatible "
+"con su lector de tarjetas."
+
+#. (itstool) path: page/p
+#: C/import-memorycard.page:30
+msgid ""
+"If the card is not detected automatically, your card reader may not have "
+"been recognized. Try unplugging it and then plugging it in again. If that "
+"doesn't work, you should still be able to import photos by <link xref="
+"\"import-camera\">connecting your camera directly to the computer</link>, "
+"though."
+msgstr ""
+"Si la tarjeta no se detecta automáticamente, es posible que su lector de "
+"tarjetas no se haya reconocido. Intente desenchufarlo y vuelva a enchufarlo. "
+"Sin embargo, si eso no funciona, podrá importar fotos mediante <link xref="
+"\"import-camera\">conectar su cámara directamente al ordenador</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 ""
+"external ref='figures/shotwell_logo.png' "
+"md5='4b333499555b4e496b1a38f7899067f3'"
+
+#. (itstool) path: info/title
+#: C/index.page:6
+msgctxt "link"
+msgid "Shotwell"
+msgstr "Shotwell"
+
+#. (itstool) path: info/title
+#: C/index.page:7
+msgctxt "text"
+msgid "Shotwell"
+msgstr "Shotwell"
+
+#. (itstool) path: credit/name
+#: C/index.page:9
+msgid "Jim Nelson"
+msgstr "Jim Nelson"
+
+#. (itstool) path: credit/name
+#: C/index.page:11
+msgid "Allison Barlow"
+msgstr "Allison Barlow"
+
+#. (itstool) path: credit/name
+#: C/index.page:13
+msgid "Robert Ancell"
+msgstr "Robert Ancell"
+
+#. (itstool) path: credit/name
+#: C/index.page:15
+msgid "Peter Smith"
+msgstr "Peter Smith"
+
+#. (itstool) path: credit/name
+#: C/index.page:17
+msgid "Phil Bull"
+msgstr "Phil Bull"
+
+#. (itstool) path: page/title
+#: C/index.page:23
+msgid ""
+"<media type=\"image\" src=\"figures/shotwell_logo.png\"/>Shotwell Photo "
+"Manager"
+msgstr ""
+"<media type=\"image\" src=\"figures/shotwell_logo.png\"/>Gestor de fotos "
+"Shotwell"
+
+#. (itstool) path: section/title
+#: C/index.page:26
+msgid "Importing Photos"
+msgstr "Importar fotos"
+
+#. (itstool) path: section/title
+#: C/index.page:30
+msgid "Viewing Photos"
+msgstr "Ver fotos"
+
+#. (itstool) path: section/title
+#: C/index.page:34
+msgid "Organizing Photos"
+msgstr "Organizar fotos"
+
+#. (itstool) path: section/title
+#: C/index.page:38
+msgid "Editing Photos"
+msgstr "Editar fotos"
+
+#. (itstool) path: section/title
+#: C/index.page:42
+msgid "Sharing Photos"
+msgstr "Compartir fotos"
+
+#. (itstool) path: section/title
+#: C/index.page:46
+msgid "Other Features"
+msgstr "Otras características"
+
+#. (itstool) path: info/desc
+#: C/organize-event.page:7
+msgid ""
+"Group photos together that were taken at the same time. Learn how to rename, "
+"merge, and sort events."
+msgstr ""
+"Agrupar fotos que se tomadron al mismo tiempo. Aprenda como renombrar, unir "
+"y ordenar eventos."
+
+#. (itstool) path: page/title
+#: C/organize-event.page:12
+msgid "Events"
+msgstr "Eventos"
+
+#. (itstool) path: page/p
+#: C/organize-event.page:14
+msgid ""
+"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."
+msgstr ""
+"Un evento es un grupo de fotos que se han hecho aproximadamente al mismo "
+"tiempo. Cuando importa fotos, Shotwell comprueba cuándo se hizo cada foto y "
+"las agrupa por eventos."
+
+#. (itstool) path: page/p
+#: C/organize-event.page:16
+msgid ""
+"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."
+msgstr ""
+"Elija <gui>Eventos</gui> en la barra lateral para ver sus fotos organizadas "
+"por fecha. Si selecciona un mes o un año en la barra lateral, se mostrará "
+"una lista de eventos en la ventana principal. Pulse dos veces en un evento "
+"para ver todas las fotos tomadas en ese momento."
+
+#. (itstool) path: page/p
+#: C/organize-event.page:18
+msgid ""
+"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."
+msgstr ""
+"Si una foto no tiene información insertada de la fecha o la hora, entonces "
+"Shotwell no puede colocarla automáticamente en ningún evento. En este caso, "
+"la foto aparecerá en la vista <gui>No hay eventos</gui> a la que se accede "
+"desde la barra lateral. Todavía puede mover la foto a cualquier evento que "
+"quiera como se describe a continuación."
+
+#. (itstool) path: section/title
+#: C/organize-event.page:25
+msgid "Renaming events"
+msgstr "Renombrar eventos"
+
+#. (itstool) path: section/p
+#: C/organize-event.page:27
+msgid ""
+"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>."
+msgstr ""
+"Para dar un nombre a un evento en lugar de referirse a él por su fecha, "
+"seleccione el evento, pulse en <guiseq><gui>Eventos</gui><gui>Renombrar "
+"evento...</gui></guiseq> e introduzca un nuevo nombre. Otra forma de cambiar "
+"el nombre de un evento es pulsar dos veces en su nombre en la barra lateral; "
+"Escriba un nuevo nombre y luego pulse <key>Intro</key>."
+
+#. (itstool) path: section/title
+#: C/organize-event.page:31
+msgid "Moving photos between events"
+msgstr "Mover fotos entre eventos"
+
+#. (itstool) path: section/p
+#: C/organize-event.page:33
+msgid ""
+"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."
+msgstr ""
+"Aunque las fotos se agrupan inicialmente por eventos según su fecha, puede "
+"mover fotos entre eventos. Para ello, arrastre cualquier foto a la barra "
+"lateral y suéltela en un evento."
+
+#. (itstool) path: section/title
+#: C/organize-event.page:37
+msgid "Creating and merging events"
+msgstr "Crear y combinar eventos"
+
+#. (itstool) path: section/p
+#: C/organize-event.page:38
+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 ""
+"Para crear un evento nuevo, seleccione las fotos que quiere tener en el "
+"evento y pulse <guiseq><gui>Eventos</gui><gui>Nuevo evento</gui></guiseq>."
+
+#. (itstool) path: section/p
+#: C/organize-event.page:39
+msgid ""
+"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>."
+msgstr ""
+"Para combinar eventos, seleccione <guiseq><gui>Eventos</gui></guiseq> de la "
+"barra lateral, luego, mientras presiona <key>Ctrl</key> pulse en los eventos "
+"que quiere combinar en la ventana principal. Finalmente, pulse en "
+"<guiseq><gui>Eventos</gui><gui>Combinar eventos</gui></guiseq>."
+
+#. (itstool) path: section/title
+#: C/organize-event.page:43
+msgid "Sorting events"
+msgstr "Ordenar eventos"
+
+#. (itstool) path: section/p
+#: C/organize-event.page:45
+msgid ""
+"Events are displayed in a tree in the sidebar, organized by the year and "
+"month of the earliest photo in the event. To change the event sort order, "
+"click <guiseq><gui>View</gui><gui>Sort Events</gui></guiseq> and select "
+"either ascending or descending."
+msgstr ""
+"Los eventos se muestran en la estructura de árbol en la barra lateral, "
+"organizados por el año y el mes de la primera foto del evento. Para cambiar "
+"el orden de clasificación del evento, pulse en <guiseq><gui>Vista</"
+"gui><gui>Ordenar eventos</gui></guiseq> y seleccione si quiere el orden "
+"ascendente o descendente."
+
+#. (itstool) path: section/title
+#: C/organize-event.page:51
+msgid "Change the photo used to represent each event"
+msgstr "Cambiar la foto usada para representar cada evento"
+
+#. (itstool) path: section/p
+#: C/organize-event.page:53
+#, fuzzy
+#| msgid ""
+#| "If you select the Events item in the sidebar, you'll see a single photo "
+#| "which represents each event. This is called the key photo."
+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 ""
+"Si selecciona el elemento Eventos en la barra lateral, verá una única foto "
+"que representa cada evento. Esto se denomina «foto clave»."
+
+#. (itstool) path: section/p
+#: C/organize-event.page:55
+msgid ""
+"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>."
+msgstr ""
+"De manera predeterminada, Shotwell utiliza la primera foto de cada evento "
+"como su vista de miniatura. Para utilizar una foto distinta, seleccione la "
+"foto y elija <guiseq><gui>Fotos</gui><gui>Definir vista de miniatura de "
+"eventos </gui></guiseq>."
+
+#. (itstool) path: info/desc
+#: C/organize-flag.page:7
+msgid "Flag photos to mark them as special or to work with them as a set."
+msgstr ""
+"Marcar fotos para identificarlas como especiales o para trabajar con ellas "
+"como conjunto."
+
+#. (itstool) path: page/title
+#: C/organize-flag.page:12
+msgid "Flagging photos"
+msgstr "Marcar fotos"
+
+#. (itstool) path: page/p
+#: C/organize-flag.page:14
+msgid ""
+"Shotwell lets you <em>flag</em> photos. When a photo is flagged, a small "
+"flag icon appears in its upper right corner. You can select the "
+"<gui>Flagged</gui> item in the sidebar to see all photos which have been "
+"flagged."
+msgstr ""
+"Shotwell le permite <em>marcar</em> sus fotos. Cuando se marca una foto, "
+"aparece un pequeño icono de una bandera en su esquina superior derecha. "
+"Puede seleccionar el elemento <gui>Marcada</gui> en la barra lateral para "
+"ver todas las fotos que se han marcado."
+
+#. (itstool) path: page/p
+#: C/organize-flag.page:18
+msgid ""
+"Flagging a photo marks it as special. You can interpret this in any way you "
+"like. For example, you might flag all photos which need visual adjustment, "
+"or all photos which you want to share with a friend."
+msgstr ""
+
+#. (itstool) path: page/p
+#: C/organize-flag.page:22
+msgid ""
+"Flagging is also useful because you can operate on all flagged photos as a "
+"set. For example, you can select the <gui>Flagged</gui> view and then upload "
+"all flagged photos to a publishing service."
+msgstr ""
+
+#. (itstool) path: section/title
+#: C/organize-flag.page:27
+msgid "To flag or unflag a photo"
+msgstr "Para marcar o desmarcar una foto"
+
+#. (itstool) path: section/p
+#: C/organize-flag.page:28
+msgid ""
+"To flag or unflag a photo, right-click the photo and choose <gui>Flag</gui> "
+"or <gui>Unflag</gui> from the context menu. Or use the <keyseq><key>Ctrl</"
+"key><key>G</key></keyseq> or <key>/</key> shortcut keys."
+msgstr ""
+
+#. (itstool) path: info/desc
+#: C/organize-rating.page:7
+msgid ""
+"Give photos a rating between 1 and 5 stars. You can reject bad photos, "
+"hiding them from view."
+msgstr ""
+"Asigne a las fotos una puntuación entre 1 y 5. Puede rechazar las fotos "
+"malas, ocultándolas en la vista."
+
+#. (itstool) path: page/title
+#: C/organize-rating.page:12
+msgid "Ratings"
+msgstr "Valoraciones"
+
+#. (itstool) path: page/p
+#: C/organize-rating.page:13
+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 ""
+"Puede asignar a cada foto una puntuación entre 1 y 5, o marcarla como "
+"rechazada, en cuyo caso Shotwell la ocultará de manera predeterminada."
+
+#. (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 ""
+"Puede valorar una foto o un conjunto de fotos de cualquiera de estas maneras:"
+
+#. (itstool) path: item/p
+#: C/organize-rating.page:18
+msgid ""
+"Select the photo(s), then choose a rating from the top-level "
+"<guiseq><gui>Photos</gui><gui>Set Rating</gui></guiseq> menu."
+msgstr ""
+"Seleccione las fotos y luego escoja una puntuación en el menú "
+"<guiseq><gui>Foto</gui><gui>Establecer puntuación</gui></guiseq> del nivel "
+"superior."
+
+#. (itstool) path: item/p
+#: C/organize-rating.page:19
+msgid ""
+"Right-click on the photo(s), then choose a rating from the Set Rating "
+"context menu."
+msgstr ""
+"Pulse con el botón derecho en las fotos y luego escoja su puntuación en el "
+"menú contextual «Establecer puntuación»."
+
+#. (itstool) path: item/p
+#: C/organize-rating.page:20
+msgid ""
+"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)."
+msgstr ""
+
+#. (itstool) path: page/p
+#: C/organize-rating.page:23
+msgid ""
+"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."
+msgstr ""
+
+#. (itstool) path: page/p
+#: C/organize-rating.page:26
+msgid ""
+"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."
+msgstr ""
+
+#. (itstool) path: page/p
+#: C/organize-rating.page:28
+msgid ""
+"You can increase or decrease a photo's rating using the <guiseq><gui>Set "
+"Rating</gui><gui>Increase</gui></guiseq> and <guiseq><gui>Set Rating</"
+"gui><gui>Decrease</gui></guiseq> commands, or the keyboard shortcuts "
+"<key>&lt;</key> and <key>&gt;</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 ""
+"external ref='figures/trash_process.png' "
+"md5='ed596bda34c2f4a79a310fbc8bb51fd2'"
+
+#. (itstool) path: info/desc
+#: C/organize-remove.page:7
+msgid ""
+"Remove photos from the library, or delete them from your computer entirely."
+msgstr "Quitar fotos de la biblioteca, o eliminarlas por completo del equipo."
+
+#. (itstool) path: page/title
+#: C/organize-remove.page:12
+msgid "Removing and deleting photos"
+msgstr "Quitar y eliminar fotos"
+
+#. (itstool) path: page/p
+#: C/organize-remove.page:14
+msgid ""
+"You may remove photos from your library and you may additionally delete them "
+"entirely from your hard disk."
+msgstr ""
+"Puede eliminar las fotos de su biblioteca y también puede eliminarlas de su "
+"disco duro."
+
+#. (itstool) path: page/media
+#: C/organize-remove.page:15
+msgid "Delete process"
+msgstr "Proceso de eliminado"
+
+#. (itstool) path: page/p
+#: C/organize-remove.page:16
+msgid ""
+"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."
+msgstr ""
+"Este diagrama muestra cómo, cuando se elimina una foto, se pone primero en "
+"la papelera de Shotwell. Si la elimina de la papelera de Shotwell, se mueve "
+"a la papelera de su equipo. Si la elimina de la papelera del equipo, se "
+"eliminará permanentemente."
+
+#. (itstool) path: section/title
+#: C/organize-remove.page:18
+msgid "Removing photos from the library"
+msgstr "Quitar fotos de la biblioteca"
+
+#. (itstool) path: section/p
+#: C/organize-remove.page:19
+msgid ""
+"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."
+msgstr ""
+"Seleccione las fotos que quiere quitar y elija <guiseq><gui>Editar</"
+"gui><gui>Mover a la papelera</gui></guiseq>. (También puede pulsar la tecla "
+"<key>Supr</key>.) Las fotos se moverán de su biblioteca a la papelera de "
+"Shotwell."
+
+#. (itstool) path: section/p
+#: C/organize-remove.page:22
+msgid ""
+"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."
+msgstr ""
+
+#. (itstool) path: section/title
+#: C/organize-remove.page:26
+msgid "Emptying or restoring the trash folder"
+msgstr "Vaciar o restaurar la carpeta de la papelera"
+
+#. (itstool) path: section/p
+#: C/organize-remove.page:27
+msgid ""
+"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:"
+msgstr ""
+"Seleccione la entrada de la papelera en la barra lateral y Shotwell mostrará "
+"todas las fotos que se han marcado para quitar o eliminar. En la vista de la "
+"papelera están disponibles los siguientes comandos:"
+
+#. (itstool) path: item/title
+#: C/organize-remove.page:29
+msgid "Delete"
+msgstr "Eliminar"
+
+#. (itstool) path: item/p
+#: C/organize-remove.page:29
+msgid "Delete the selected photos from the trash folder."
+msgstr "Eliminar las fotos seleccionadas de la carpeta de la papelera"
+
+#. (itstool) path: item/title
+#: C/organize-remove.page:30
+msgid "Restore"
+msgstr "Restaurar"
+
+#. (itstool) path: item/p
+#: C/organize-remove.page:30
+msgid "Restore the selected photos into Shotwell."
+msgstr "Restaurar las fotos seleccionadas en Shotwell."
+
+#. (itstool) path: item/title
+#: C/organize-remove.page:31
+msgid "Empty trash"
+msgstr "Vaciar la papelera"
+
+#. (itstool) path: item/p
+#: C/organize-remove.page:31
+msgid "Delete all photos from the trash folder."
+msgstr "Eliminar todas las fotos de la papelera."
+
+#. (itstool) path: section/title
+#: C/organize-remove.page:36
+msgid "Deleting or emptying Trash"
+msgstr "Eliminar o vaciar la papelera"
+
+#. (itstool) path: section/p
+#: C/organize-remove.page:37
+msgid ""
+"When you delete files from the Trash folder or empty the Trash folder, you "
+"will be given the following choices:"
+msgstr ""
+"Cuando elimine archivos de la carpeta Papelera, o cuando la vacíe, se le "
+"ofrecerán las siguientes opciones:"
+
+#. (itstool) path: item/title
+#: C/organize-remove.page:39
+msgid "Only Remove"
+msgstr "Solo eliminar"
+
+#. (itstool) path: item/p
+#: C/organize-remove.page:39
+msgid ""
+"Remove photos from the library but leave the photos in their location on the "
+"computer."
+msgstr ""
+"Quitar fotos de la biblioteca pero mantener las fotos en su ubicación dentro "
+"del equipo."
+
+#. (itstool) path: item/title
+#: C/organize-remove.page:40
+msgid "Trash file"
+msgstr "Archivo de Papelera"
+
+#. (itstool) path: item/p
+#: C/organize-remove.page:40
+msgid "Remove photos from the library and delete them from the computer."
+msgstr "Quitar fotos de la biblioteca y eliminarlas del equipo."
+
+#. (itstool) path: item/title
+#: C/organize-remove.page:41
+msgid "Cancel"
+msgstr "Cancelar"
+
+#. (itstool) path: item/p
+#: C/organize-remove.page:41
+msgid "Do nothing."
+msgstr "No hacer nada."
+
+#. (itstool) path: info/desc
+#: C/organize-search.page:7
+msgid "Find photos and videos in your collection by a variety of criteria."
+msgstr "Buscar fotos y vídeos en su colección siguiendo varios criterios."
+
+#. (itstool) path: page/title
+#: C/organize-search.page:12
+msgid "Searching"
+msgstr "Búsqueda"
+
+#. (itstool) path: page/p
+#: C/organize-search.page:14
+msgid ""
+"There are two ways to search in Shotwell: the filter toolbar, and with a "
+"saved search. The search bar allows you to quickly search the current view "
+"for certain criteria. Saved Searches feature more complex search criteria "
+"and persist in the sidebar between sessions."
+msgstr ""
+
+#. (itstool) path: section/title
+#: C/organize-search.page:21
+msgid "Search bar"
+msgstr "Barra de búsqueda"
+
+#. (itstool) path: section/p
+#: C/organize-search.page:22
+msgid ""
+"The <guiseq><gui>View</gui><gui>Search Bar</gui></guiseq> checkbox toggles "
+"the display of the search bar. You can also hit <keyseq><key>Ctrl</"
+"key><key>F</key></keyseq> or <key>F8</key> to bring up the search bar. From "
+"this bar, you can find, show and hide photos and videos based on title, tag, "
+"rating or other options."
+msgstr ""
+
+#. (itstool) path: section/p
+#: C/organize-search.page:29
+msgid ""
+"To begin searching, simply enter a search keyword in the text box, or click "
+"on <gui>Flagged</gui>, <gui>Rating</gui> or <gui>Type</gui>. The text search "
+"matches your keywords across tag names, photo or video titles and photos' "
+"original filenames. The <gui>Flagged</gui>, <gui>Rating</gui> and <gui>Type</"
+"gui> buttons allow you to filter your collection by whether photos are "
+"flagged, their current number of stars, and whether the items shown are "
+"images, videos, or raw camera files, respectively."
+msgstr ""
+
+#. (itstool) path: section/p
+#: C/organize-search.page:38
+msgid ""
+"Disabling the search bar or exiting Shotwell automatically resets the search "
+"bar."
+msgstr ""
+"Desactivar la barra de búsqueda o salir de Shotwell reinicia automáticamente "
+"la barra de búsqueda."
+
+#. (itstool) path: section/title
+#: C/organize-search.page:44
+msgid "Saved search"
+msgstr "Búsqueda guardada"
+
+#. (itstool) path: section/p
+#: C/organize-search.page:45
+msgid ""
+"A saved search persists across Shotwell sessions, and is updated as photos "
+"and videos are added and removed from your Shotwell library."
+msgstr ""
+"Una búsqueda guardada se mantiene entre sesiones de Shotwell, y se actualiza "
+"con las fotos y vídeos que se añaden o quitan de su biblioteca de Shotwell."
+
+#. (itstool) path: section/p
+#: C/organize-search.page:50
+msgid ""
+"Create a new saved search with <guiseq><gui>Edit</gui><gui>New Saved "
+"Search...</gui></guiseq> or by hitting <keyseq><key>Ctrl</key><key>S</key></"
+"keyseq>. The dialog box allows you to enter a name for the search and select "
+"whether you want to meet Any, All, or None of the criteria in the following "
+"rows."
+msgstr ""
+
+#. (itstool) path: section/p
+#: C/organize-search.page:56
+msgid ""
+"Each row represents a search criterion. Use the <gui>+</gui> button to add "
+"more rows, and the <gui>-</gui> button to remove a specific row. The combo "
+"box on the left of each row selects the type of criteria. Criteria must be "
+"entered correctly before the <gui>OK</gui> button becomes available."
+msgstr ""
+
+#. (itstool) path: info/desc
+#: C/organize-tag.page:7
+msgid "Organize photos by labelling them."
+msgstr "Organizar las fotos etiquetándolas."
+
+#. (itstool) path: page/title
+#: C/organize-tag.page:14
+msgid "Tagging photos"
+msgstr "Etiquetar fotos"
+
+#. (itstool) path: page/p
+#: C/organize-tag.page:16
+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 ""
+"Puede asignar una o más etiquetas a las fotos seleccionadas. Una etiqueta "
+"puede constar de una o más palabras que quiera asociar a esas fotos."
+
+#. (itstool) path: page/p
+#: C/organize-tag.page:22
+msgid ""
+"To add new tags to photos, select the photos you would like to tag, then do "
+"any of the following:"
+msgstr ""
+"Para añadir etiquetas nuevas a las fotos, seleccione las fotos que quiere "
+"etiquetar y siga estos pasos:"
+
+#. (itstool) path: item/p
+#: C/organize-tag.page:28
+msgid "Choose <guiseq><gui>Tags</gui><gui>Add Tags...</gui></guiseq>."
+msgstr ""
+"Elija <guiseq><gui>Etiquetas</gui><gui>Añadir etiquetas...</gui></guiseq>."
+
+#. (itstool) path: item/p
+#: C/organize-tag.page:29
+msgid "Type <keyseq><key>Ctrl</key><key>T</key></keyseq>."
+msgstr "Pulse <keyseq><key>Ctrl</key><key>T</key></keyseq>."
+
+#. (itstool) path: item/p
+#: C/organize-tag.page:30
+msgid "Drag the selected photos and drop them on the desired tag."
+msgstr "Arrastre las fotos y suéltelas en la etiqueta que quiera."
+
+#. (itstool) path: page/p
+#: C/organize-tag.page:33
+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 "
+"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."
+msgstr ""
+
+#. (itstool) path: page/p
+#: C/organize-tag.page:44
+msgid ""
+"To change which tags are associated with a particular photo, select that "
+"photo, choose <guiseq><gui>Tags</gui><gui>Modify Tags...</gui></guiseq> or "
+"right-click on a photo and select <gui>Modify Tags...</gui> and edit the "
+"comma separated list. To remove a tag from one or more photos, first select "
+"that tag in the sidebar, then select the photos you would like to remove, "
+"and choose <guiseq><gui>Tags</gui><gui>Remove Tag \"[name]\" from Photos</"
+"gui></guiseq> or right-click on the photos an select <gui>Remove Tag "
+"\"[name]\" from Photos</gui>."
+msgstr ""
+
+#. (itstool) path: page/p
+#: C/organize-tag.page:58
+msgid ""
+"To delete a tag entirely, select that tag in the sidebar and choose "
+"<guiseq><gui>Tags</gui><gui>Delete Tag \"[name]\"</gui></guiseq> or by right-"
+"click and select <gui>Delete Tag \"[name]\"</gui>."
+msgstr ""
+"Para eliminar por completo una etiqueta, selecciónela en la barra latera y "
+"elija <guiseq><gui>Etiquetas</gui><gui>Eliminar etiqueta «nombre»</gui></"
+"guiseq> o púlsela con el botón derecho y elija <gui>Eliminar etiqueta "
+"«nombre»</gui>."
+
+#. (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 ""
+"La carpeta <gui>Etiquetas</gui> lista todas las etiquetas que ha asignado a "
+"sus fotos. Las fotos pueden tener múltiples etiquetas relacionadas con las "
+"mismas. Cuando posiciona el cursor sobre el nombre de una etiqueta en la "
+"barra lateral, podrá ver todas las fotos asociadas a esa etiqueta."
+
+#. (itstool) path: section/title
+#: C/organize-tag.page:73
+msgid "Hierarchical Tags"
+msgstr "Etiquetas jerárquicas"
+
+#. (itstool) path: section/p
+#: C/organize-tag.page:74
+msgid ""
+"Shotwell supports also hierarchial tags. You can rearrange your tags by drag "
+"and drop a tag onto another. To create a new subtag right-click on a tag and "
+"select <gui>New</gui>."
+msgstr ""
+"Shotwell también soporta etiquetas jerárquicas. Puede reordenar sus "
+"etiquetas arrastrando y soltando una etiqueta sobre otra. Para crear una "
+"etiqueta hija nueva, pulse con el botón derecho sobre una etiqueta y elija "
+"<gui>Nuevo</gui>."
+
+#. (itstool) path: section/p
+#: C/organize-tag.page:81
+msgid ""
+"Hierarchial tags can help you to sort your tag list in ways that better "
+"match how you work or think; for example, you can store location tags like "
+"\"Mountains\" or \"Beach\" under a parent tag \"Places\", which itself can "
+"be placed under the tag \"Summer Holidays\"."
+msgstr ""
+"Las etiquetas jerárquicas le pueden ayudar a ordenar su lista de etiquetas "
+"de manera que se ajuste a mejor a lo que necesita; por ejemplo, puede tener "
+"las etiquetas «Montañas» o «Playa» dentro de la etiqueta «Lugares», que a su "
+"vez puede estar dentro de la etiqueta «Vacaciones de verano»."
+
+#. (itstool) path: section/p
+#: C/organize-tag.page:89
+msgid "Note that deleting a parent tag will also delete its child tags."
+msgstr ""
+"Tenga en cuenta que al eliminar una etiqueta padre también se eliminarán las "
+"etiquetas hijas."
+
+#. (itstool) path: info/desc
+#: C/organize-title.page:7
+msgid "Give titles to your photos."
+msgstr "Asignar títulos a las fotos."
+
+#. (itstool) path: page/title
+#: C/organize-title.page:12
+msgid "Titles"
+msgstr "Títulos"
+
+#. (itstool) path: page/p
+#: C/organize-title.page:14
+msgid ""
+"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."
+msgstr ""
+
+#. (itstool) path: page/p
+#: C/organize-title.page:17
+#, fuzzy
+#| msgid ""
+#| "To change a photo's title, select the photo and click "
+#| "<guiseq><gui>Photos</gui><gui>Edit Title</gui></guiseq>, or press "
+#| "<key>F2</key>."
+msgid ""
+"To change a photo's title, select the photo and click <guiseq><gui>Photos</"
+"gui><gui>Edit Title...</gui></guiseq>, or press <key>F2</key>."
+msgstr ""
+"Para cambiar el título de una foto, selecciónela y pulse <guiseq><gui>Fotos</"
+"gui><gui>Editar título</gui></guiseq>, o pulse <key>F2</key>."
+
+#. (itstool) path: info/desc
+#: C/other-files.page:7
+msgid "Keep the Shotwell library in sync with photo files on disk."
+msgstr ""
+"Mantener la biblioteca de Shotwell sincronizada con los archivos de fotos "
+"del disco."
+
+#. (itstool) path: page/title
+#: C/other-files.page:12
+msgid "Photo files"
+msgstr "Archivos de fotos"
+
+#. (itstool) path: page/p
+#: C/other-files.page:14
+msgid ""
+"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."
+msgstr ""
+"Cada foto de la biblioteca de Shotwell se corresponde con un archivo "
+"almacenado en su disco duro. Shotwell tienen varias características que le "
+"ayudan a mantener su biblioteca y los archivos del disco sincronizados."
+
+#. (itstool) path: section/title
+#: C/other-files.page:21
+msgid "Using a custom directory pattern"
+msgstr "Usar un patrón de carpeta predeterminado"
+
+#. (itstool) path: section/p
+#: C/other-files.page:22
+msgid ""
+"Shotwell allows you to specify how it names directories in your library. You "
+"can do this by changing the <gui>Directory Structure</gui> and <gui>Pattern</"
+"gui> settings in the <gui>Preferences</gui> dialog. You may use a "
+"preselected pattern, or choose <gui>Custom</gui> and type in your own."
+msgstr ""
+"Shotwell le permite especificar como llamar a sus carpetas en una "
+"biblioteca. Puede hacer esto cambiando las configuraciones de "
+"<gui>Estructura del directorio</gui> y <gui>Patrón</gui> en el cuadro de "
+"diálogo <gui>Preferencias</gui>. Puede utilizar un patrón preseleccionado, o "
+"escoger <gui>Personalizado</gui> y escribir el suyo."
+
+#. (itstool) path: section/p
+#: C/other-files.page:29
+msgid ""
+"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."
+msgstr ""
+"Los símbolos disponibles para los patrones de carpetas empiezan por "
+"«%» (signo de porcentaje). Los valores que estos símbolos producen dependen "
+"de la configuración regional, por lo que lo que vea en su equipo puede ser "
+"diferente a estos ejemplos."
+
+#. (itstool) path: td/p
+#: C/other-files.page:38
+msgid "<em>Symbol</em>"
+msgstr "<em>Símbolo</em>"
+
+#. (itstool) path: td/p
+#: C/other-files.page:38
+msgid "<em>Meaning</em>"
+msgstr "<em>Significado</em>"
+
+#. (itstool) path: td/p
+#: C/other-files.page:38
+msgid "<em>Example</em>"
+msgstr "<em>Ejemplo</em>"
+
+#. (itstool) path: td/p
+#: C/other-files.page:43
+msgid "%Y"
+msgstr "%Y"
+
+#. (itstool) path: td/p
+#: C/other-files.page:43
+msgid "Year: full"
+msgstr "Año: completo"
+
+#. (itstool) path: td/p
+#: C/other-files.page:43
+msgid "2011"
+msgstr "2011"
+
+#. (itstool) path: td/p
+#: C/other-files.page:46
+msgid "%y"
+msgstr "%y"
+
+#. (itstool) path: td/p
+#: C/other-files.page:46
+msgid "Year: two digit"
+msgstr "Año: dos dígitos"
+
+#. (itstool) path: td/p
+#: C/other-files.page:46
+msgid "11"
+msgstr "11"
+
+#. (itstool) path: td/p
+#: C/other-files.page:49
+msgid "%d"
+msgstr "%d"
+
+#. (itstool) path: td/p
+#: C/other-files.page:49
+msgid "Day of the month with leading zero"
+msgstr "Día del mes, empezando por cero"
+
+#. (itstool) path: td/p
+#: C/other-files.page:49
+msgid "03"
+msgstr "03"
+
+#. (itstool) path: td/p
+#: C/other-files.page:52
+msgid "%A"
+msgstr "%A"
+
+#. (itstool) path: td/p
+#: C/other-files.page:52
+msgid "Day name: full"
+msgstr "Nombre del día: completo"
+
+#. (itstool) path: td/p
+#: C/other-files.page:52
+msgid "Wednesday"
+msgstr "Miércoles"
+
+#. (itstool) path: td/p
+#: C/other-files.page:55
+msgid "%a"
+msgstr "%a"
+
+#. (itstool) path: td/p
+#: C/other-files.page:55
+msgid "Day name: abbreviated"
+msgstr "Nombre del día: abreviado"
+
+#. (itstool) path: td/p
+#: C/other-files.page:55
+msgid "Wed"
+msgstr "Mié"
+
+#. (itstool) path: td/p
+#: C/other-files.page:58
+msgid "%m"
+msgstr "%m"
+
+#. (itstool) path: td/p
+#: C/other-files.page:58
+msgid "Month number with leading zero"
+msgstr "Número de mes, empezando por cero"
+
+#. (itstool) path: td/p
+#: C/other-files.page:58
+msgid "02"
+msgstr "02"
+
+#. (itstool) path: td/p
+#: C/other-files.page:60
+msgid "%b"
+msgstr "%b"
+
+#. (itstool) path: td/p
+#: C/other-files.page:60
+msgid "Month name: abbreviated"
+msgstr "Nombre del mes: abreviado"
+
+#. (itstool) path: td/p
+#: C/other-files.page:60
+msgid "Feb"
+msgstr "Feb"
+
+#. (itstool) path: td/p
+#: C/other-files.page:62
+msgid "%B"
+msgstr "%B"
+
+#. (itstool) path: td/p
+#: C/other-files.page:62
+msgid "Month name: full"
+msgstr "Nombre del mes: completo"
+
+#. (itstool) path: td/p
+#: C/other-files.page:62
+msgid "February"
+msgstr "Febrero"
+
+#. (itstool) path: td/p
+#: C/other-files.page:63
+msgid "%I"
+msgstr "%I"
+
+#. (itstool) path: td/p
+#: C/other-files.page:63
+msgid "Hour: 12 hour format"
+msgstr "Hora: formato de 12 horas"
+
+#. (itstool) path: td/p
+#: C/other-files.page:63
+msgid "05"
+msgstr "05"
+
+#. (itstool) path: td/p
+#: C/other-files.page:64
+msgid "%H"
+msgstr "%H"
+
+#. (itstool) path: td/p
+#: C/other-files.page:64
+msgid "Hour: 24 hour format"
+msgstr "Hora: formato de 24 horas"
+
+#. (itstool) path: td/p
+#: C/other-files.page:64
+msgid "17"
+msgstr "17"
+
+#. (itstool) path: td/p
+#: C/other-files.page:66
+msgid "%M"
+msgstr "%M"
+
+#. (itstool) path: td/p
+#: C/other-files.page:66
+msgid "Minute"
+msgstr "Minuto"
+
+#. (itstool) path: td/p
+#: C/other-files.page:66
+msgid "16"
+msgstr "16"
+
+#. (itstool) path: td/p
+#: C/other-files.page:67
+msgid "%S"
+msgstr "%S"
+
+#. (itstool) path: td/p
+#: C/other-files.page:67
+msgid "Second"
+msgstr "Segundo"
+
+#. (itstool) path: td/p
+#: C/other-files.page:67
+msgid "30"
+msgstr "30"
+
+#. (itstool) path: td/p
+#: C/other-files.page:68
+msgid "%p"
+msgstr "%p"
+
+#. (itstool) path: td/p
+#: C/other-files.page:68
+msgid "AM or PM"
+msgstr "AM o PM"
+
+#. (itstool) path: td/p
+#: C/other-files.page:68
+msgid "PM"
+msgstr "PM"
+
+#. (itstool) path: section/p
+#: C/other-files.page:72
+msgid ""
+"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."
+msgstr ""
+"Existen otros símbolos disponibles, revise el manual de strftime ejecutando "
+"el comando <cmd>man strftime</cmd> si necesita alguno que no esté listado "
+"aquí."
+
+#. (itstool) path: section/title
+#: C/other-files.page:79
+msgid "Automatically importing photos"
+msgstr "Importar fotos automáticamente"
+
+#. (itstool) path: section/p
+#: C/other-files.page:81
+msgid ""
+"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.)"
+msgstr ""
+"Shotwell puede automáticamente importar nuevas fotos que aparezcan en la "
+"carpeta de la biblioteca. (La carpeta de la biblioteca está usualmente en la "
+"carpeta <file>Imágenes</file> en su carpeta local; puede cambiar esta "
+"ubicación en la ventana <gui>Preferencias</gui>.)"
+
+#. (itstool) path: section/p
+#: C/other-files.page:86
+msgid ""
+"To enable auto-import, check the box <gui>Watch library directory for new "
+"files</gui> in the <gui>Preferences</gui> window."
+msgstr ""
+"Para activar la importación automática, marca la opción <gui>Vigilar mi "
+"colección en búsqueda de archivos nuevos</gui> en la ventana "
+"<gui>Preferencias</gui>."
+
+#. (itstool) path: note/p
+#: C/other-files.page:90
+msgid ""
+"Shotwell can also follow symbolic links inside automatically-imported "
+"directories."
+msgstr ""
+"Shotwell también puede seguir los enlaces simbólicos en carpetas importadas "
+"automáticamente."
+
+#. (itstool) path: section/title
+#: C/other-files.page:95
+msgid "Automatically renaming imported photos to lowercase"
+msgstr "Renombrar a minúsculas automáticamente las fotos importadas"
+
+#. (itstool) path: section/p
+#: C/other-files.page:97
+msgid ""
+"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."
+msgstr ""
+"Shotwell puede cambiar automáticamente los nombres de las fotos importadas a "
+"minúsculas. Para activar esto, escoja <guiseq><gui>Editar</"
+"gui><gui>Preferencias</gui></guiseq>, y en la ventana de <gui>Preferencias</"
+"gui>, marque la casilla <gui>Renombrar los archivos importados a minúsculas</"
+"gui>."
+
+#. (itstool) path: section/title
+#: C/other-files.page:107
+msgid "Writing metadata on the fly"
+msgstr "Escribir metadatos al vuelo"
+
+#. (itstool) path: section/p
+#: C/other-files.page:109
+msgid ""
+"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."
+msgstr ""
+"De manera predeterminada, Shotwell no modifica los archivos de fotos, aunque "
+"las edite o cambie sus etiquetas o títulos. Shotwell guardará estos cambios "
+"únicamente en su propia base de datos."
+
+#. (itstool) path: section/p
+#: C/other-files.page:112
+msgid ""
+"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:"
+msgstr ""
+"Para cambiar este comportamiento, puede activar la casilla <gui>Escribir "
+"etiquetas, títulos y otros metadatos a los archivos</gui> en el cuadro de "
+"diálogo <gui>Preferencias</gui>. Cuando esta opción se activa, Shotwell "
+"escribirá los siguientes metadatos a la mayoría de los archivos cada vez que "
+"los modifique en Shotwell."
+
+#. (itstool) path: item/p
+#: C/other-files.page:118
+msgid "titles"
+msgstr "títulos"
+
+#. (itstool) path: item/p
+#: C/other-files.page:119
+msgid "tags"
+msgstr "etiquetas"
+
+#. (itstool) path: item/p
+#: C/other-files.page:120
+msgid "ratings"
+msgstr "valoraciones"
+
+#. (itstool) path: item/p
+#: C/other-files.page:121
+msgid "rotation information"
+msgstr "información de rotación"
+
+#. (itstool) path: item/p
+#: C/other-files.page:122
+msgid "time/date"
+msgstr "fecha/hora"
+
+#. (itstool) path: section/p
+#: C/other-files.page:125
+msgid ""
+"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."
+msgstr ""
+"Shotwell almacena esta información en archivos de fotos en formato EXIF, "
+"IPTC y/o XMP. Tenga en cuenta que Shotwell sólo puede escribir en archivos "
+"de fotos en formato JPEG, PNG y TIFF, no en fotos en BMP, RAW o en archivos "
+"de vídeo."
+
+#. (itstool) path: section/title
+#: C/other-files.page:133
+msgid "Runtime monitoring"
+msgstr "Monitorizazión en tiempo de ejecución"
+
+#. (itstool) path: section/p
+#: C/other-files.page:135
+msgid ""
+"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."
+msgstr ""
+"Mientras Shotwell está en ejecución, tiene en cuenta los cambios realizados "
+"en un archivo de una foto externamente. Cuando el archivo cambia, Shotwell "
+"vuelve a leer el archivo y actualiza la vista de la foto y sus metadatos."
+
+#. (itstool) path: section/p
+#: C/other-files.page:139
+msgid ""
+"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."
+msgstr ""
+
+#. (itstool) path: info/desc
+#: C/other-missing.page:7
+msgid "If Shotwell can't find a photo in your library, it marks it as missing."
+msgstr ""
+"Si Shotwell no puede encontrar una foto en su biblioteca, la marca como "
+"ausente."
+
+#. (itstool) path: page/title
+#: C/other-missing.page:12
+msgid "Missing photos"
+msgstr "Fotos ausentes"
+
+#. (itstool) path: page/p
+#: C/other-missing.page:14
+msgid ""
+"Each time Shotwell starts up, it scans your photo library to verify that all "
+"photo files still exist on your hard drive. If Shotwell finds that any photo "
+"files are missing, it will not display them in the normal Photos, Events and "
+"Tags views, but will instead show them in a separate Missing Files view "
+"which will appear in the sidebar."
+msgstr ""
+"Cada vez que Shotwell se inicia, analiza su biblioteca de fotos para "
+"verificar que todos los archivos de fotos siguen existiendo en el disco "
+"duro. Si Shotwell encuentra que falta alguna foto, no la mostrará en las "
+"vistas normales de Fotos, Eventos o Etiquetas, sino que la mostrará en una "
+"vista de Fotos ausentes separada que aparecerá en la barra lateral."
+
+#. (itstool) path: page/p
+#: C/other-missing.page:16
+msgid ""
+"If you no longer want the missing files to be part of your Shotwell "
+"collection (perhaps because you deleted them), go to the Missing Files view, "
+"select the photos and then click <gui>Remove From Library</gui>."
+msgstr ""
+
+#. (itstool) path: page/p
+#: C/other-missing.page:18
+msgid ""
+"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."
+msgstr ""
+"Si tiene fotos en un disco externo, como un CD o un pendrive USB y las <link "
+"xref=\"index#import\">importa</link> en Shotwell <em>sin</em> copiarlas al "
+"equipo, se mostrarán como archivos ausentes cuando desconecte el disco "
+"extraíble. Consulte la <link xref=\"import-file\"/> para aprender cómo "
+"copiar archivos desde discos extraíbles a su equipo."
+
+#. (itstool) path: page/p
+#: C/other-missing.page:20
+msgid ""
+"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."
+msgstr ""
+"Si una foto ausente vuelve a estar disponible, Shotwell lo tendrá en cuenta "
+"la próxima vez que se inicie. Las fotos volverán a aparecer en las vistas de "
+"Fotos, Eventos y Etiquetas."
+
+#. (itstool) path: info/desc
+#: C/other-multiple.page:7
+msgid ""
+"You can open Shotwell with a different photo library by using the command "
+"line."
+msgstr ""
+"Puede abrir Shotwell con una biblioteca de fotos diferente usando la línea "
+"de comandos."
+
+#. (itstool) path: page/title
+#: C/other-multiple.page:12
+msgid "Multiple libraries"
+msgstr "Varias bibliotecas"
+
+#. (itstool) path: page/p
+#: C/other-multiple.page:14
+msgid ""
+"Shotwell normally stores its database and photo thumbnails in the directory "
+"<file>~/.shotwell</file> . This directory does not hold photos, but the "
+"database in this directory contains a list of all the photos in the Shotwell "
+"library."
+msgstr ""
+
+#. (itstool) path: page/p
+#: C/other-multiple.page:16
+msgid ""
+"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:"
+msgstr ""
+"Como característica avanzada, es posible tener varias bibliotecas de "
+"Shotwell, cada una de ellas con su propio conjunto de fotos. Cada biblioteca "
+"necesita su propia carpeta de base de datos. Para ejecutar Shotwell con una "
+"biblioteca diferente, especifique una base de datos alternativa en la línea "
+"de comandos como sigue:"
+
+#. (itstool) path: page/screen
+#: C/other-multiple.page:18
+#, no-wrap
+msgid ""
+"\n"
+"shotwell -d [library-directory]\n"
+msgstr ""
+"\n"
+"shotwell -d [carpeta-biblioteca]\n"
+
+#. (itstool) path: info/desc
+#: C/other-plugins.page:7
+msgid "Extend Shotwell's functionality dynamically."
+msgstr "Ampliar la funcionalidad de Shotwell dinámicamente."
+
+#. (itstool) path: page/title
+#: C/other-plugins.page:12
+msgid "Plugins"
+msgstr "Complementos"
+
+#. (itstool) path: page/p
+#: C/other-plugins.page:13
+msgid ""
+"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."
+msgstr ""
+
+#. (itstool) path: page/p
+#: C/other-plugins.page:18
+msgid ""
+"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."
+msgstr ""
+"Para ver una lista de los complementos instalados, elija "
+"<guiseq><gui>Editar</gui><gui>Preferencias</gui></guiseq>, y en la ventana "
+"de <gui>Preferencias</gui> pulse en la pestaña <gui>Complementos</gui>. Verá "
+"una lista de los complementos actualmente instalados, cada uno con una "
+"casilla mediante la que puede activarlos o desactivarlos por su nombre."
+
+#. (itstool) path: note/p
+#: C/other-plugins.page:25
+msgid ""
+"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>"
+msgstr ""
+"La documentación completa sobre cómo desarrollar nuevos complementos está "
+"disponible en <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
+msgid "More about RAW support in Shotwell."
+msgstr "Más sobre el soporte RAW en Shotwell."
+
+#. (itstool) path: page/title
+#: C/raw.page:12
+msgid "RAW support in Shotwell"
+msgstr "Soporte de RAW en Shotwell"
+
+#. (itstool) path: page/p
+#: C/raw.page:13
+msgid ""
+"Some cameras have the ability to store data directly off the sensor and into "
+"a file that contains extra color information; this is commonly referred to "
+"as 'RAW' or 'camera RAW', and Shotwell supports these files as well."
+msgstr ""
+
+#. (itstool) path: page/p
+#: C/raw.page:18
+msgid ""
+"Since RAW photographs normally cannot be displayed directly, but must be "
+"first developed - that is, have their extra information interpreted and "
+"readied for displaying - most cameras will either embed a JPEG inside a RAW-"
+"format file, or produce a JPEG alongside the RAW file at the time the "
+"snapshot is taken. The latter is referred to throughout this document as RAW"
+"+JPEG. If you import a RAW+JPEG pair, Shotwell will keep them paired and "
+"treat them as one item in your library."
+msgstr ""
+
+#. (itstool) path: page/p
+#: C/raw.page:27
+msgid ""
+"When you import a RAW file, you can choose to either use the camera's "
+"internally-developed JPEG or Shotwell's by selecting <guiseq><gui>Photos</"
+"gui><gui>Developer</gui></guiseq> in the menus."
+msgstr ""
+
+#. (itstool) path: note/p
+#: C/raw.page:33
+msgid ""
+"Changing between developers will cause all edits made to a photograph to be "
+"discarded."
+msgstr ""
+
+#. (itstool) path: page/p
+#: C/raw.page:39
+msgid ""
+"In order to publish or use a RAW photograph in most other software, it has "
+"to be exported first. Shotwell can export your RAW photos in JPEG, PNG, TIFF "
+"or BMP format, and, when publishing, will internally export a JPEG version "
+"for you and publish that."
+msgstr ""
+
+#. (itstool) path: info/desc
+#: C/running.page:7
+msgid ""
+"Find Shotwell in the Applications menu, or have it start automatically when "
+"you plug in a camera."
+msgstr ""
+"Busque Shotwell en el menú Aplicaciones o haga que se inicie automáticamente "
+"cuando conecta una cámara."
+
+#. (itstool) path: page/title
+#: C/running.page:14
+msgid "Running Shotwell"
+msgstr "Ejecutar Shotwell"
+
+#. (itstool) path: page/p
+#: C/running.page:16
+msgid ""
+"Once installed, Shotwell is available in your <gui>Applications</gui> menu "
+"under <gui>Graphics</gui> or <gui>Photography</gui>."
+msgstr ""
+"Una vez instalado, Shotwell estará disponible en su menú <gui>Aplicaciones</"
+"gui>, en <gui>Gráficos</gui> o en <gui>Fotografía</gui>."
+
+#. (itstool) path: page/p
+#: C/running.page:18
+msgid ""
+"Shotwell may also be executed automatically when a camera is plugged in to "
+"your computer. To check that your system is set up to run Shotwell when a "
+"camera is detected, go to <guiseq><gui>Edit</gui><gui>Preferences</gui></"
+"guiseq> in any Nautilus (file browser) window and choose the <gui>Media</"
+"gui> tab.  You'll see a dropdown box entitled <gui>Photos:</gui> which lets "
+"you choose Shotwell as your photo handling application."
+msgstr ""
+
+#. (itstool) path: note/p
+#: C/running.page:25
+msgid ""
+"Shotwell may also be executed directly from its build directory, although "
+"this is only recommended for testing out Shotwell or for developers."
+msgstr ""
+"También puede ejecutar Shotwell directamente desde la carpeta en la que se "
+"construyó, pero esto sólo se recomienda para probar Shotwell o para "
+"desarrolladores."
+
+#. (itstool) path: info/desc
+#: C/share-background.page:7
+msgid ""
+"Set your desktop background to a single photo or to a slideshow of photos."
+msgstr ""
+"Configure su fondo de escritorio como una única foto o como una presentación "
+"de fotos."
+
+#. (itstool) path: page/title
+#: C/share-background.page:12
+msgid "Set a desktop background or slideshow"
+msgstr "Configurar un fondo de escritorio o presentación"
+
+#. (itstool) path: page/p
+#: C/share-background.page:14
+msgid ""
+"To set a single photo as your desktop background, select the photo and "
+"choose <guiseq><gui>File</gui><gui>Set as Desktop Background</gui></guiseq>."
+msgstr ""
+"Para establecer una única foto como fondo del escritorio, seleccione la foto "
+"y escriba <guiseq><gui>Archivo</gui><gui>Establecer como fondo del "
+"escritorio</gui></guiseq>."
+
+#. (itstool) path: page/p
+#: C/share-background.page:16
+msgid ""
+"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."
+msgstr ""
+
+#. (itstool) path: info/desc
+#: C/share-export.page:7
+msgid "Copy photos out of Shotwell so you can put them somewhere else."
+msgstr ""
+"Copiar fotos fuera Shotwell, para poder ponerlas en cualquier otro lugar."
+
+#. (itstool) path: page/title
+#: C/share-export.page:12
+msgid "Exporting photos"
+msgstr "Exportar fotos"
+
+#. (itstool) path: page/p
+#: C/share-export.page:14
+msgid ""
+"To export photos from Shotwell via drag and drop, drag the photos from "
+"Shotwell onto a file manager window or your desktop. The new files will be "
+"full-sized copies of the photos in your library."
+msgstr ""
+"Para exportar fotos desde Shotwell usando arrastrar y soltar, arrastre desde "
+"Shotwell hacia una ventana de manejador de archivos o su escritorio. Los "
+"archivos nuevos serán copias de tamaño completo de las fotos de su "
+"biblioteca."
+
+#. (itstool) path: page/p
+#: C/share-export.page:18
+msgid ""
+"Alternatively, select a set of photos and choose the <guiseq><gui>File</"
+"gui><gui>Export...</gui></guiseq> command or press <keyseq><key>Shift</"
+"key><key>Ctrl</key><key>E</key></keyseq>, which exports photos while letting "
+"you fine-tune the size and dimensions of your photo files. A window will "
+"appear allowing you to make several choices:"
+msgstr ""
+
+#. (itstool) path: item/p
+#: C/share-export.page:24
+msgid "A format for export."
+msgstr "Un formato al que exportar."
+
+#. (itstool) path: item/p
+#: C/share-export.page:27
+msgid ""
+"Choose <gui>Unmodified</gui> to export photos in their original format "
+"without any edits made in Shotwell. RAW photos will be exported in their "
+"original RAW format."
+msgstr ""
+"Selecione <gui>Sin modificar</gui> para exportar las fotos en su formato "
+"original, sin ninguna modificación hecha en Shotwell. Las fotos en bruto se "
+"exportarán en su formato original."
+
+#. (itstool) path: item/p
+#: C/share-export.page:29
+msgid ""
+"Choose <gui>Current</gui> to export photos including edits made in Shotwell. "
+"RAW photos will be exported in JPEG format if you have edited them in "
+"Shotwell, and otherwise in their original RAW format."
+msgstr ""
+"Escoja <gui>Actual</gui> para exportar las fotos, incluyendo las editadas en "
+"Shotwell. Las fotos en bruto se exportarán en formato JPEG si las editó en "
+"Shotwell, y si no en su formato en bruto original."
+
+#. (itstool) path: item/p
+#: C/share-export.page:31
+msgid ""
+"Or you can choose a particular image format (JPEG, PNG, TIFF, BMP) to be "
+"used for exporting. Any edits made in Shotwell will be included, and "
+"Shotwell will convert photos to the destination format."
+msgstr ""
+"O puede seleccionar un formato de imagen específico (JPEG, PNG,TIFF, BMP) "
+"para usar en la exportación. Cualquier edición hecha en Shotwell se "
+"incluirá, y Shotwel convertirá las fotos al formato de destino."
+
+#. (itstool) path: item/p
+#: C/share-export.page:37
+msgid "The image quality for exporting (Low, Medium, High, or Maximum)."
+msgstr "La calidad de la imagen al exportarla (baja, media, alta o máxima)."
+
+#. (itstool) path: item/p
+#: C/share-export.page:38
+msgid ""
+"A scaling constraint (which means how Shotwell will decide to scale the "
+"photos down), and the desired pixel size."
+msgstr ""
+"Una restricción de la escala (que significa cómo Shotwell va a decidir "
+"reducir la escala proporcionalmente), y el tamaño de píxel requerido."
+
+#. (itstool) path: item/p
+#: C/share-export.page:39
+msgid ""
+"The option whether you like to export metadatas such as tags or ratings. "
+"This can help to save your privacy if you have geolocation tags or tags "
+"which shouldn't be seen by anyone."
+msgstr ""
+
+#. (itstool) path: page/p
+#: C/share-export.page:42
+msgid ""
+"If selected, Shotwell will write tags, titles, and other metadata to the new "
+"files."
+msgstr ""
+"Si está seleccionada, Shotwell escribirá etiquetas, títulos y otros "
+"metadatos a los nuevos archivos."
+
+#. (itstool) path: info/desc
+#: C/share-print.page:7
+msgid ""
+"Click <guiseq><gui>File</gui><gui>Print...</gui></guiseq>. For more printing "
+"options, select the <gui>Page Setup</gui> tab in the <gui>Print</gui> dialog."
+msgstr ""
+"Pulse <guiseq><gui>Archivo</gui><gui>Imprimir...</gui></guiseq>. Para más "
+"opciones de impresión, seleccione la pestaña <gui>Configuración de página</"
+"gui> en el diálogo <gui>Imprimir</gui>."
+
+#. (itstool) path: page/title
+#: C/share-print.page:12
+msgid "Printing"
+msgstr "Imprimir"
+
+#. (itstool) path: page/p
+#: C/share-print.page:14
+#, fuzzy
+#| msgid ""
+#| "To print a photo, select it and choose <guiseq><gui>File</gui><gui>Print</"
+#| "gui></guiseq>."
+msgid ""
+"To print a photo, select it and choose <guiseq><gui>File</gui><gui>Print...</"
+"gui></guiseq>."
+msgstr ""
+"Para imprimir una foto, selecciónela y elija <guiseq><gui>Archivo</"
+"gui><gui>Imprimir</gui></guiseq>."
+
+#. (itstool) path: page/p
+#: C/share-print.page:16
+#, fuzzy
+#| msgid ""
+#| "Shotwell can also print multiple images in one page; to do this, select "
+#| "multiple images, choose <guiseq><gui>File</gui><gui>Print</gui></guiseq>, "
+#| "and in the <gui>Print</gui> dialog, choose the <gui>Image Settings</gui> "
+#| "tab. In <gui>Image Settings</gui>, choose one of the multiple-image-per-"
+#| "page options under <gui>Autosize</gui>."
+msgid ""
+"Shotwell can also print multiple images in one page; to do this, select "
+"multiple images, choose <guiseq><gui>File</gui><gui>Print...</gui></guiseq>, "
+"and in the <gui>Print</gui> dialog, choose the <gui>Image Settings</gui> "
+"tab. In <gui>Image Settings</gui>, choose one of the multiple-image-per-page "
+"options under <gui>Autosize</gui>."
+msgstr ""
+"Shotwell puede también imprimir varias imágenes en una página; para hacer "
+"esto, seleccione las imágenes, escoja <guiseq><gui>Archivo</"
+"gui><gui>Imprimir</gui></guiseq> y en el cuadro de diálogo <gui>Imprimir</"
+"gui>, seleccione la pestaña <gui>Configuraciones de la imagen</gui>. "
+"En<gui>Configuración de la imagen</gui>, escoja una de las opciones "
+"múltiples imágenes por página en <gui>Tamaño automático</gui>."
+
+#. (itstool) path: page/p
+#: C/share-print.page:23
+msgid ""
+"If you would like to set formatting, paper size, and orientation options, "
+"choose the <gui>Page Setup</gui> tab in the <gui>Print</gui> dialog prior to "
+"printing."
+msgstr ""
+"Si quiere establecer el formato, el tamaño del papel, y la orientación, "
+"seleccione la pestaña <gui>Configuración de la página</gui>en el cuadro de "
+"diálogo <gui>Imprimir</gui> antes de imprimir."
+
+#. (itstool) path: info/desc
+#: C/share-send.page:7
+msgid "Send photos via email, instant messaging or in other ways."
+msgstr "Enviar fotos por correo-e, mensajería instantánea u otras maneras."
+
+#. (itstool) path: page/title
+#: C/share-send.page:12
+msgid "Sending photos"
+msgstr "Enviar fotos"
+
+#. (itstool) path: page/p
+#: C/share-send.page:14
+msgid ""
+"Shotwell can send photos using the GNOME desktop's Send To mechanism, which "
+"lets you send photos via email, instant messaging or in other ways."
+msgstr ""
+"Shotwell puede enviar fotos usando el mecanismo de «Enviar a» de GNOME, lo "
+"que le permite enviar fotos por correo-e, mensajería instantánea u otras "
+"maneras."
+
+#. (itstool) path: page/p
+#: C/share-send.page:16
+msgid ""
+"To send photos, select them in Shotwell and choose <guiseq><gui>File</"
+"gui><gui>Send To...</gui></guiseq>, or right-click the photos and choose "
+"<gui>Send To...</gui> from the context menu. A <gui>Send To</gui> dialog box "
+"will appear which lets you choose a mechanism for sending the files (such as "
+"email or instant messaging) and a destination. You can optionally choose to "
+"send the files in a compressed format."
+msgstr ""
+"Para enviar fotos, selecciónelas en Shotwell y después "
+"escoja<guiseq><gui>Archivo</gui><gui>Enviar a...</gui></guiseq>, o pulse con "
+"el botón derecho en las fotos y escoja <gui>Enviar a ...</gui> del menú "
+"contextual. Aparecerá una caja de diálogo en donde puede escoger la forma "
+"para enviar los archivos (como correo electrónico o mensaje instantáneo) y "
+"el destino. Puede, opcionalmente, enviar los archivos en un formato "
+"comprimido."
+
+#. (itstool) path: info/desc
+#: C/share-slideshow.page:7
+msgid "Watch a slideshow of your photos."
+msgstr "Ver sus fotos como diapositivas."
+
+#. (itstool) path: page/title
+#: C/share-slideshow.page:12
+msgid "Slideshows"
+msgstr "Diapositivas"
+
+#. (itstool) path: page/p
+#: C/share-slideshow.page:14
+msgid ""
+"To see a sideshow of any collection in Shotwell, navigate to that collection "
+"and select <guiseq><gui>View</gui><gui>Slideshow</gui></guiseq> or press "
+"<key>F5</key>."
+msgstr ""
+"Para ver una presentación de diapositivas en Shotwell, navegue hasta la "
+"colección y elija <guiseq><gui>Ver</gui><gui>Presentación</gui></guiseq> o "
+"pulse <key>F5</key>."
+
+#. (itstool) path: page/p
+#: C/share-slideshow.page:16
+msgid "You can change some settings in a running slideshow:"
+msgstr ""
+"Puede cambiar algunas configuraciones de una presentación de diapositivas en "
+"ejecución:"
+
+#. (itstool) path: item/p
+#: C/share-slideshow.page:19
+msgid "The duration how long an image should be shown: 1 - 30 seconds"
+msgstr ""
+"La duración de cuánto tiempo se debe mostrar una imagen: 1 - 30 segundos"
+
+#. (itstool) path: item/p
+#: C/share-slideshow.page:20
+msgid "You can select different transition effects."
+msgstr "Puede seleccionar diferentes efectos de transición."
+
+#. (itstool) path: item/p
+#: C/share-slideshow.page:21
+msgid "The time for each transition effect: 0.1 - 1.0 seconds"
+msgstr "El tiempo para cada efecto de transición: 0.1 - 1.0 segundos"
+
+#. (itstool) path: info/desc
+#: C/share-upload.page:7
+msgid "Publish photos to Facebook, Flickr, Picasa Web Albums, or other sites."
+msgstr ""
+"Publica fotos en Facebook, Flickr, álbumes web de Picasa o en otros sitios."
+
+#. (itstool) path: page/title
+#: C/share-upload.page:12
+msgid "Publishing to the Web"
+msgstr "Publicar en la web"
+
+#. (itstool) path: page/p
+#: C/share-upload.page:14
+msgid ""
+"Through the use of <link xref=\"other-plugins\">plugins</link>, Shotwell can "
+"publish photos and videos to the following services, each of which requires "
+"an account:"
+msgstr ""
+"Gracias al uso de <link xref=\"other-plugins\">complementos</link>, Shotwell "
+"puede publicar fotos y vídeos en los siguientes servicios, para los que se "
+"requiere una cuenta."
+
+#. (itstool) path: item/p
+#: C/share-upload.page:18
+msgid "<link href=\"http://facebook.com\">Facebook</link>"
+msgstr "<link href=\"http://facebook.com\">Facebook</link>"
+
+#. (itstool) path: item/p
+#: C/share-upload.page:19
+msgid "<link href=\"http://flickr.com\">Flickr</link>"
+msgstr "<link href=\"http://flickr.com\">Flickr</link>"
+
+#. (itstool) path: item/p
+#: C/share-upload.page:20
+msgid ""
+"<link href=\"http://picasaweb.google.com\">Picasa Web Albums</link> and "
+"<link href=\"http://plus.google.com\">Google+</link>"
+msgstr ""
+"<link href=\"http://picasaweb.google.com\">Álbumes de Picasa Web</link> y "
+"<link href=\"http://plus.google.com\">Google+</link>"
+
+#. (itstool) path: item/p
+#: C/share-upload.page:21
+msgid "<link href=\"http://youtube.com\">YouTube</link> (videos only)"
+msgstr "<link href=\"http://youtube.com\">YouTube</link> (sólo vídeos)"
+
+#. (itstool) path: item/p
+#: C/share-upload.page:22
+msgid ""
+"<link href=\"http://fotki.yandex.ru\">Yandex.Fotki</link>, a photo site "
+"popular in Russia (photos only)"
+msgstr ""
+"<link href=\"http://fotki.yandex.ru\">Yandex.Fotki</link>, una página de "
+"fotos popular en Rusia (sólo fotos)"
+
+#. (itstool) path: item/p
+#: C/share-upload.page:23
+msgid ""
+"Any site running the <link href=\"http://piwigo.org\">Piwigo</link> photo "
+"gallery software (photos only)"
+msgstr ""
+"Cualquier sitio que ejecute el software de galería de fotos <link href="
+"\"http://piwigo.org\">Piwigo</link> (sólo fotos)"
+
+#. (itstool) path: page/p
+#: C/share-upload.page:26
+msgid ""
+"To publish selected photos in a collection, choose <guiseq><gui>Edit</"
+"gui><gui>Preferences</gui></guiseq> and click on the <gui>Plugins</gui> tab "
+"to enable the plugin for the service you want to publish to. Next, choose, "
+"<guiseq><gui>File</gui><gui>Publish</gui></guiseq>, press the <gui>Publish</"
+"gui> toolbar button or use <keyseq><key>Ctrl</key><key>P</key></keyseq>. You "
+"will see a dialog that lets you select a publishing service. You will then "
+"need to log in or create an account."
+msgstr ""
+"Para publicar las fotos seleccionadas en una colección, elija "
+"<guiseq><gui>Editar</gui><gui>Preferencias</gui></guiseq> y pulse en la "
+"pestaña <gui>Complementos</gui> para activar el complemento del servicio en "
+"el que quiere publicar. A continuación, elija <guiseq><gui>Archivo</"
+"gui><gui>Publicar</gui></guiseq>, pulse el botón <gui>Publicar</gui> en la "
+"barra de herramientas o pulse <keyseq><key>Ctrl</key><key>P</key></keyseq>. "
+"Verá un diálogo que le permite elegir el servicio de publicación. Necesitará "
+"iniciar sesión o crear una cuenta."
+
+#. (itstool) path: page/p
+#: C/share-upload.page:31
+#, fuzzy
+#| msgid ""
+#| "Publishing to Facebook requires you to grant certain permissions to the "
+#| "Shotwell Connect Facebook application. You only need to grant these "
+#| "permissions once, when you first associate Shotwell Connect with your "
+#| "Facebook account."
+msgid ""
+"Publishing to Facebook requires you to grant certain permissions to the "
+"Shotwell Facebook application. You only need to grant these permissions "
+"once, when you first associate Shotwell with your Facebook account."
+msgstr ""
+"Publicar en Facebook requiere que conceda ciertos permisos a la aplicación "
+"Conectar Shotwell con Facebook. Solo necesita conceder los permisos una vez, "
+"la primera vez que asocie Shotwell con su cuenta de Facebook."
+
+#. (itstool) path: note/p
+#: C/share-upload.page:34
+msgid ""
+"You will be only able to publish images with at most the permission you "
+"granted to the Shotwell Facebook application"
+msgstr ""
+
+#. (itstool) path: page/p
+#: C/share-upload.page:36
+msgid ""
+"Similarly, publishing to Flickr requires you to log in and permit Shotwell "
+"Connect to access your account."
+msgstr ""
+"Del mismo modo, publicar en Flickr requiere que inicie sesión y permita que "
+"Shotwell Connect acceda a su cuenta."
+
+#. (itstool) path: page/p
+#: C/share-upload.page:38
+msgid ""
+"If you have a Google account, but have not yet used Picasa Web Albums, you "
+"will need to log in to Picasa using a browser once before you can publish to "
+"this service."
+msgstr ""
+"Si tiene una cuenta de Google, pero nunca ha usado los álbumes web de "
+"Picasa, necesitará iniciar sesión en Picasa usando un navegador antes de "
+"poder publicar algo en este servicio."
+
+#. (itstool) path: info/desc
+#: C/view-displaying.page:7
+msgid ""
+"Learn about different ways of viewing your photos: in a grid, filling the "
+"main window, or filling the whole screen."
+msgstr ""
+"Aprenda sobre diferentes formas de ver sus fotos: en una cuadrícula, "
+"llenando la ventana principal o a pantalla completa."
+
+#. (itstool) path: page/title
+#: C/view-displaying.page:12
+msgid "Photo views"
+msgstr "Vistas de fotos"
+
+#. (itstool) path: page/p
+#: C/view-displaying.page:14
+msgid ""
+"When you select any collection in the sidebar, Shotwell displays all photos "
+"in the collection in the main window area. At the bottom right is a slider "
+"which adjusts the viewing size of the thumbnails. You may also adjust the "
+"thumbnail size using the plus and minus keys (<key>+</key> and <key>-</key>) "
+"or by pressing <key>Ctrl</key> while moving your mouse scroll wheel."
+msgstr ""
+"Cuando selecciona cualquier colección en la barra lateral, Shotwell muestra "
+"todas las fotos en esa colección en la ventana principal. En la esquina "
+"inferior derecha hay un control deslizante que puede ajustar el tamaño de "
+"las vistas miniatura. Puede ajustar el tamaño de las miniaturas usando las "
+"teclas más y menos (<key>+</key> y <key>-</key>) o presionando <key>Ctrl</"
+"key> mientras mueve la rueda central del ratón."
+
+#. (itstool) path: page/p
+#: C/view-displaying.page:16
+msgid ""
+"You can view a photo full-window by double-clicking on it. From there you "
+"may move to other photos in the collection with the Back and Forward "
+"buttons. To return to the collection, double-click on the photo or press "
+"<key>Esc</key>."
+msgstr ""
+"Puede ver la vista de la foto en pantalla completa pulsando dos veces. Desde "
+"ahí puede moverse a otras fotos en la colección con los botones de retroceso "
+"y avance. Puede regresar a la colección, pulsando dos veces en la foto o "
+"presionando <key>Esc</key>."
+
+#. (itstool) path: page/p
+#: C/view-displaying.page:18
+msgid ""
+"When viewing a photo in full-window mode, the slider on the toolbar controls "
+"zoom. You can pan around by grabbing and dragging anywhere on the photo. You "
+"can also zoom using your scroll wheel or by pressing the following keyboard "
+"shortcuts: <keyseq><key>Ctrl</key>0</keyseq> for the full image, "
+"<keyseq><key>Ctrl</key>1</keyseq> for 100% (1 photo pixel = 1 screen pixel), "
+"and <keyseq><key>Ctrl</key>2</keyseq> for 200% (1 photo pixel = 2x2 screen "
+"pixels)."
+msgstr ""
+
+#. (itstool) path: page/p
+#: C/view-displaying.page:20
+msgid ""
+"Shotwell offers a fullscreen mode to display photos. Choose "
+"<guiseq><gui>View</gui><gui>Fullscreen</gui></guiseq> or press <key>F11</"
+"key>. To see the fullscreen toolbar, move your mouse to the bottom of the "
+"screen. The toolbar offers buttons to move through the collection, to pin "
+"the toolbar down (so it isn't hidden when you move the mouse away), and to "
+"leave fullscreen view."
+msgstr ""
+"Shotwell ofrece un modo de pantalla completa para mostrar las fotos. Escoja "
+"<guiseq><gui>Ver</gui><gui>Pantalla completa</gui></guiseq> o presione "
+"<key>F11</key>. Para ver la barra de herramientas de pantalla completa, "
+"mueva su ratón a la parte inferior de la pantalla. La barra de herramientas "
+"le ofrece botones para moverse a través de la colección, para fijar la barra "
+"de herramientas (así esta no se ocultará cuando mueva el ratón), y dejar la "
+"vista de pantalla completa."
+
+#. (itstool) path: section/title
+#: C/view-displaying.page:23
+msgid "Viewing videos"
+msgstr "Ver vídeos"
+
+#. (itstool) path: section/p
+#: C/view-displaying.page:24
+msgid ""
+"When you double-click a video, Shotwell will launch an external video player "
+"to play the video. It's not currently possible to display a video in full-"
+"window mode in Shotwell or to play the video within Shotwell itself."
+msgstr ""
+"Cuando pulse dos veces sobre un vídeo, Shotwell lanzará un reproductor de "
+"vídeo externo para reproducir el vídeo. Actualmente no es posible mostrar un "
+"vídeo en modo a pantalla completa o reproducirlo dentro del propio Shotwell"
+
+#. (itstool) path: info/desc
+#: C/view-information.page:7
+msgid ""
+"View more detailed information about photos, like the exposure mode used by "
+"the camera."
+msgstr ""
+"Ver información más detallada sobre las fotos, como el modo de exposición "
+"usado por la cámara."
+
+#. (itstool) path: page/title
+#: C/view-information.page:12
+msgid "Basic and extended information"
+msgstr "Información básica y extendida"
+
+#. (itstool) path: page/p
+#: C/view-information.page:14
+msgid ""
+"The Basic Information pane appears at the bottom of the sidebar, and "
+"displays a brief summary of the photos you've selected. If no photos are "
+"selected, it displays a summary of the entire collection. You can toggle the "
+"display of this pane using the <guiseq><gui>View</gui><gui>Basic "
+"Information</gui></guiseq> command."
+msgstr ""
+"El panel de información básica aparece en la parte inferior de la barra "
+"lateral, y muestra un breve resumen de las fotos que ha seleccionado. Si no "
+"se ha seleccionado ninguna foto, muestra un resumen de la colección "
+"completa. Puede cambiar la visibilidad de este panel usando el comando "
+"<guiseq><gui>Ver</gui><gui>Información básica</gui></guiseq>."
+
+#. (itstool) path: page/p
+#: C/view-information.page:16
+msgid ""
+"The floating Extended Information window displays more information about the "
+"selected photo. The <guiseq><gui>View</gui><gui>Extended Information</gui></"
+"guiseq> command or <keyseq><key>Ctrl</key><key>Shift</key><key>X</key></"
+"keyseq> toggles the display of this window."
+msgstr ""
+
+#. (itstool) path: info/desc
+#: C/view-sidebar.page:7
+msgid ""
+"The sidebar on the left of the window lists various views of your library."
+msgstr ""
+"La barra lateral de la izquierda de la ventana lista varios tipos de vistas "
+"de su biblioteca."
+
+#. (itstool) path: page/title
+#: C/view-sidebar.page:21
+msgid "The sidebar"
+msgstr "La barra lateral"
+
+#. (itstool) path: page/p
+#: C/view-sidebar.page:23
+msgid ""
+"The sidebar on the left side of the Shotwell window lists various views of "
+"your library. Although you may see the same photo in multiple views, it's "
+"only stored once on your hard drive."
+msgstr ""
+"La barra lateral a la izquierda de la ventana de Shotwell lista varias "
+"vistas de su biblioteca. Aunque puede ver muchas vistas de la misma foto, "
+"solo se almacena una en su disco duro"
+
+#. (itstool) path: page/p
+#: C/view-sidebar.page:25
+msgid ""
+"The <gui>Last Import</gui> view lists your last imported photos no matter if "
+"they are imported from F-Spot, your camera, a memory card or the hard disk."
+msgstr ""
+"La vista <gui>Última importación</gui> lista sus últimas fotos importadas no "
+"importa si estas se importaron de F-Spot, su cámara, una tarjeta de memoria "
+"o su disco duro."
+
+#. (itstool) path: page/p
+#: C/view-sidebar.page:27
+msgid "The <gui>Flagged</gui> lists all photos you had previous flagged."
+msgstr ""
+"La opción <gui>Marcada</gui> lista todas las fotos que ha marcado "
+"anteriormente."
+
+#. (itstool) path: page/p
+#: C/view-sidebar.page:29
+msgid ""
+"The <gui>Saved Search</gui> allows you to sort your library by many criteria."
+msgstr ""
+"La <gui>Búsqueda guardada</gui> le permite ordenar su biblioteca bajo "
+"diferentes criterios."
+
+#. (itstool) path: page/p
+#: C/view-sidebar.page:31
+msgid ""
+"The <gui>Events</gui> folder lists all events in your library. An event is a "
+"group of photos that were taken at approximately the same time."
+msgstr ""
+"La carpeta de <gui>Eventos</gui> lista todos los eventos en su biblioteca.Un "
+"evento es un grupo de fotos que se tomaron aproximadamente al mismo tiempo."
+
+#. (itstool) path: page/p
+#: C/view-sidebar.page:33
+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."
+msgstr ""
+"La carpeta <gui>Etiquetas</gui> lista todas las etiquetas que ha asignado a "
+"sus fotos. Las fotos pueden tener múltiples etiquetas relacionadas con las "
+"mismas. Cuando posiciona el cursor sobre el nombre de una etiqueta en la "
+"barra lateral, podrá ver todas las fotos asociadas a esa etiqueta."
+
+#~ msgid "Facebook"
+#~ msgstr "Facebook"
+
+#~ msgid "Flickr"
+#~ msgstr "Flickr"
+
+#~ msgid "Symbol"
+#~ msgstr "Símbolo"
+
+#~ msgid ""
+#~ "@@image: 'figures/shotwell_logo.png'; md5=59de2b2c4fa64ea1497c98452c509dbd"
+#~ msgstr ""
+#~ "@@image: 'figures/shotwell_logo.png'; md5=59de2b2c4fa64ea1497c98452c509dbd"
+
+#~ msgid "jim@yorba.org"
+#~ msgstr "jim@yorba.org"
+
+#~ msgid "allison@yorba.org"
+#~ msgstr "allison@yorba.org"
+
+#~ msgid "robert.ancell@canonical.com"
+#~ msgstr "robert.ancell@canonical.com"
+
+#~ msgid "pdo.smith@gmail.com"
+#~ msgstr "pdo.smith@gmail.com"
+
+#~ msgid "philbull@gmail.com"
+#~ msgstr "philbull@gmail.com"
diff --git a/help/es/formats.page b/help/es/formats.page
index 21a2e27..4d08cd8 100644
--- a/help/es/formats.page
+++ b/help/es/formats.page
@@ -3,7 +3,7 @@
<info>
<link type="guide" xref="index"/>
- <desc>Shotwell supports JPEG, PNG, TIFF, BMP and RAW photo files as well as video files.</desc>
+ <desc>Shotwell soporta archivos JPEG, PNG, TIFF, BMP y RAW, así como archivos de vídeo.</desc>
<link type="next" xref="running"/>
@@ -28,24 +28,18 @@
<title>Formatos de foto y vídeo soportados</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 soporta archivos JPEG, PNG, TIFF, BMP y <link type="guide" xref="other-raw">RAW</link>. Shotwell todavía no soporta otros formatos gráficos como GIF.</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>El soporte del formato RAW de Shotwell está actualmente limitado. Cuando ve una foto RAW, en realidad está viendo un JPEG derivado de la foto RAW, no la imagen RAW en sí. Además, la ruta de edición RAW no es completamente de 16 bits; sólo puede exportar las fotos editadas como archivos de 8 bits. Todos los formatos compatibles se pueden utilizar para la exportación (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>Para obtener más información acerca de las fotos en formato RAW en Shotwell, consulte la sección <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 también soporta archivos de vídeo en cualquier formato soportado por la biblioteca multimedia de GStreamer en el sistema donde Shotwell está funcionando. Esto normalmente incluye los siguientes formatos, entre otros:</p>
<list>
<item><p>Formatos de contenedor: Ogg, QuickTime, MP4, AVI.</p></item>
-<item><p>Codecs: Theora, Quicktime, MPEG-4, Motion JPEG. <em>Note that some operating systems may not include all
-codecs listed here due to legal or licensing restrictions.</em></p></item>
+<item><p>Códecs: Theora, Quicktime, MPEG-4, Motion JPEG. <em>Tenga en cuenta que algunos sistemas operativos pueden no incluir todos los códecs que se enumeran aquí debido a restricciones legales o de licencia.</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 soporta fotos y vídeos, pero por simplicidad, esta documentación usa sólo el término «fotos» en la mayoría de ocasiones. Sin embargo, muchas operaciones en Shotwell se aplican tanto a fotos como a vídeos. En particular, los eventos, los marcados, las clasificaciones, los etiquetados y los trabajos publicados funcionan tanto para fotos como para vídeos.</p>
</page>
diff --git a/help/es/import-camera.page b/help/es/import-camera.page
index be706ec..874b518 100644
--- a/help/es/import-camera.page
+++ b/help/es/import-camera.page
@@ -41,9 +41,9 @@
<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>
</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>Pulse <gui>Importar seleccionadas</gui> o <gui> Importar todo</gui>. Las fotos se copiarán de la cámara y se guardarán en el ordenador.</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>Una vez finalizada la importación, puede abrir la vista <gui>Última importación</gui> (en la barra lateral) para ver todas las fotos que se importaron. La lista de Eventos (también en la barra lateral) también mostrará las nuevas fotos, organizadas por fecha.</p>
</page>
diff --git a/help/es/import-f-spot.page b/help/es/import-f-spot.page
index 7c6a257..57b9c1e 100644
--- a/help/es/import-f-spot.page
+++ b/help/es/import-f-spot.page
@@ -31,9 +31,7 @@
<p>Para importar una colección de fotos existente desde F-Spot:</p>
<steps>
<item><p>Seleccione <guiseq><gui>Archivo</gui><gui>Importar desde F-Spot</gui></guiseq>.</p></item>
- <item><p>Now choose either the default F-Spot library or another F-Spot database.
- If importing from another F-Spot database, select a directory and file from the chooser dialog box.</p></item>
+ <item><p>Ahora elija la biblioteca predeterminada F-Spot u otra base de datos F-Spot. Si quiere importar desde otra base de datos F-Spot, seleccione una carpeta y un archivo en el cuadro de diálogo del selector.</p></item>
</steps>
- <p>Shotwell will import your photos, together with their tags and other information.
- 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>Shotwell importará sus fotos, junto con sus etiquetas y otra información. Una vez finalizada la importación, puede seleccionar <gui>Última importación</gui> en la barra lateral para ver todas las fotos importadas correctamente. La lista de Eventos también mostrará nuevas entradas para las fechas correspondientes a las fotos importadas.</p>
</page>
diff --git a/help/es/import-file.page b/help/es/import-file.page
index 9dc05c2..c0919c8 100644
--- a/help/es/import-file.page
+++ b/help/es/import-file.page
@@ -30,12 +30,12 @@
<p>Para importar fotos desde su disco duro a Shotwell, solo debe arrastrarlas desde su explorador a la ventana de Shotwell.</p>
- <p>Alternatively, click <guiseq><gui>File</gui><gui>Import From Folder...</gui></guiseq> and select the folder containing the photos you want to import.</p>
+ <p>Alternativamente, pulse <guiseq><gui>Archivo</gui><gui>Importar desde la carpeta...</gui></guiseq> y seleccione la carpeta que contiene las fotos que quiere importar.</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 le preguntará si quiere copiar los archivos de fotos en su carpeta de la biblioteca (la carpeta de la biblioteca está normalmente en la carpeta <file>Imágenes</file> en su carpeta local) o importarlos en su lugar sin copiar los archivos.</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>Si mantiene pulsada la tecla <key>Ctrl</key> mientras arrastra las fotos, Shotwell copiará las fotos en la carpeta de la biblioteca sin preguntar. Del mismo modo, si mantiene presionadas las teclas <keyseq><key>Ctrl</key><key>Shift</key></keyseq>, Shotwell importará las fotos sin copiarlas.</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>Una vez finalizada la importación, puede seleccionar <gui>Última importación</gui> en la barra lateral para ver todas las fotos importadas correctamente. La lista de Eventos también mostrará nuevas entradas para las fechas correspondientes a las fotos importadas.</p>
</page>
diff --git a/help/es/import-memorycard.page b/help/es/import-memorycard.page
index ac82fe6..1623556 100644
--- a/help/es/import-memorycard.page
+++ b/help/es/import-memorycard.page
@@ -38,12 +38,12 @@
<p>El lector de tarjetas y la tarjeta se deberían detectar automáticamente.</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>Siga las instrucciones para <link xref="import-file">importar fotos desde el disco duro</link>. Si pulsa en <guiseq><gui>Archivo</gui><gui>Importar desde la carpeta...</gui></guiseq>, la tarjeta de memoria será visible como una carpeta en la barra lateral de la ventana de selección de archivos.</p>
</item>
</steps>
<p>Shotwell puede importar fotos de una tarjeta de memoria que sea compatible con su lector de tarjetas.</p>
-<p>If the card is not detected automatically, your card reader may not have been recognized. Try unplugging it and then plugging it in again. If that doesn't work, you should still be able to import photos by <link xref="import-camera">connecting your camera directly to the computer</link>, though.</p>
+<p>Si la tarjeta no se detecta automáticamente, es posible que su lector de tarjetas no se haya reconocido. Intente desenchufarlo y vuelva a enchufarlo. Sin embargo, si eso no funciona, podrá importar fotos mediante <link xref="import-camera">conectar su cámara directamente al ordenador</link>.</p>
</page>
diff --git a/help/es/organize-event.page b/help/es/organize-event.page
index 95ec14a..20ef544 100644
--- a/help/es/organize-event.page
+++ b/help/es/organize-event.page
@@ -28,39 +28,34 @@
<title>Eventos</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>Un evento es un grupo de fotos que se han hecho aproximadamente al mismo tiempo. Cuando importa fotos, Shotwell comprueba cuándo se hizo cada foto y las agrupa por eventos.</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>Elija <gui>Eventos</gui> en la barra lateral para ver sus fotos organizadas por fecha. Si selecciona un mes o un año en la barra lateral, se mostrará una lista de eventos en la ventana principal. Pulse dos veces en un evento para ver todas las fotos tomadas en ese momento.</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>Si una foto no tiene información insertada de la fecha o la hora, entonces Shotwell no puede colocarla automáticamente en ningún evento. En este caso, la foto aparecerá en la vista <gui>No hay eventos</gui> a la que se accede desde la barra lateral. Todavía puede mover la foto a cualquier evento que quiera como se describe a continuación.</p>
<section>
<title>Renombrar eventos</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>Para dar un nombre a un evento en lugar de referirse a él por su fecha, seleccione el evento, pulse en <guiseq><gui>Eventos</gui><gui>Renombrar evento...</gui></guiseq> e introduzca un nuevo nombre. Otra forma de cambiar el nombre de un evento es pulsar dos veces en su nombre en la barra lateral; Escriba un nuevo nombre y luego pulse <key>Intro</key>.</p>
</section>
<section>
<title>Mover fotos entre eventos</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>Aunque las fotos se agrupan inicialmente por eventos según su fecha, puede mover fotos entre eventos. Para ello, arrastre cualquier foto a la barra lateral y suéltela en un evento.</p>
</section>
<section>
<title>Crear y combinar eventos</title>
<p>Para crear un evento nuevo, seleccione las fotos que quiere tener en el evento y pulse <guiseq><gui>Eventos</gui><gui>Nuevo evento</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>Para combinar eventos, seleccione <guiseq><gui>Eventos</gui></guiseq> de la barra lateral, luego, mientras presiona <key>Ctrl</key> pulse en los eventos que quiere combinar en la ventana principal. Finalmente, pulse en <guiseq><gui>Eventos</gui><gui>Combinar eventos</gui></guiseq>.</p>
</section>
<section>
<title>Ordenar eventos</title>
- <p>Events are displayed in a tree in the sidebar, organized by the year and month of the earliest photo in the event.
- To change the event sort order, click <guiseq><gui>View</gui><gui>Sort Events</gui></guiseq> and select either ascending or descending.</p>
+ <p>Los eventos se muestran en la estructura de árbol en la barra lateral, organizados por el año y el mes de la primera foto del evento. Para cambiar el orden de clasificación del evento, pulse en <guiseq><gui>Vista</gui><gui>Ordenar eventos</gui></guiseq> y seleccione si quiere el orden ascendente o descendente.</p>
</section>
@@ -69,8 +64,7 @@
<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>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>
+ <p>De manera predeterminada, Shotwell utiliza la primera foto de cada evento como su vista de miniatura. Para utilizar una foto distinta, seleccione la foto y elija <guiseq><gui>Fotos</gui><gui>Definir vista de miniatura de eventos </gui></guiseq>.</p>
</section>
diff --git a/help/es/organize-flag.page b/help/es/organize-flag.page
index 1d5ca99..2385561 100644
--- a/help/es/organize-flag.page
+++ b/help/es/organize-flag.page
@@ -28,9 +28,7 @@
<title>Marcar fotos</title>
- <p>Shotwell lets you <em>flag</em> photos. When a photo is flagged, a small flag icon
- appears in its upper right corner. You can select the <gui>Flagged</gui> item in the sidebar to see
- all photos which have been flagged.</p>
+ <p>Shotwell le permite <em>marcar</em> sus fotos. Cuando se marca una foto, aparece un pequeño icono de una bandera en su esquina superior derecha. Puede seleccionar el elemento <gui>Marcada</gui> en la barra lateral para ver todas las fotos que se han marcado.</p>
<p>Flagging a photo marks it as special. You can interpret this in any way you like. For example,
you might flag all photos which need visual
diff --git a/org.gnome.Shotwell.gresource.xml b/org.gnome.Shotwell.gresource.xml
new file mode 100644
index 0000000..11489d9
--- /dev/null
+++ b/org.gnome.Shotwell.gresource.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<gresources>
+ <gresource prefix="/org/gnome/Shotwell">
+ <file alias="crop-pivot-reticle.png">icons/crop-pivot-reticle.png</file>
+ <file alias="search_sidebar_context.ui">ui/search_sidebar_context.ui</file>
+ <file alias="tag_sidebar_context.ui">ui/tag_sidebar_context.ui</file>
+ <file alias="sidebar_default_context.ui">ui/sidebar_default_context.ui</file>
+ <file alias="search_bar.ui">ui/search_bar.ui</file>
+ <file alias="appmenu.ui">ui/appmenu.ui</file>
+ <file>ui/set_background_dialog.ui</file>
+ <file>ui/set_background_slideshow_dialog.ui</file>
+ </gresource>
+</gresources>
diff --git a/plugins/common/BuilderPane.c b/plugins/common/BuilderPane.c
index a278bed..10cb0ca 100644
--- a/plugins/common/BuilderPane.c
+++ b/plugins/common/BuilderPane.c
@@ -1,4 +1,4 @@
-/* BuilderPane.c generated by valac 0.34.2, the Vala compiler
+/* BuilderPane.c generated by valac 0.32.1, the Vala compiler
* generated from BuilderPane.vala, do not modify */
/* Copyright 2016 Jens Georg <mail@jensge.org>
diff --git a/plugins/common/RESTSupport.c b/plugins/common/RESTSupport.c
index 719d0a4..a603147 100644
--- a/plugins/common/RESTSupport.c
+++ b/plugins/common/RESTSupport.c
@@ -1,4 +1,4 @@
-/* RESTSupport.c generated by valac 0.34.2, the Vala compiler
+/* RESTSupport.c generated by valac 0.32.1, the Vala compiler
* generated from RESTSupport.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -750,39 +750,39 @@ static guint8* string_get_data (const gchar* self, int* result_length1) {
gint _tmp3__length1 = 0;
guint8* _tmp4_ = NULL;
gint _tmp4__length1 = 0;
-#line 1398 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1398 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1399 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1399 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
res = (guint8*) self;
-#line 1399 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1399 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
res_length1 = -1;
-#line 1399 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1399 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_res_size_ = res_length1;
-#line 1400 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1400 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = strlen (self);
-#line 1400 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1400 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = _tmp0_;
-#line 1400 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1400 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
res_length1 = (gint) _tmp1_;
-#line 1400 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1400 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = res_length1;
-#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = res;
-#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3__length1 = res_length1;
-#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = _tmp3_;
-#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4__length1 = _tmp3__length1;
-#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (result_length1) {
-#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
*result_length1 = _tmp4__length1;
#line 781 "RESTSupport.c"
}
-#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp4_;
-#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 787 "RESTSupport.c"
}
@@ -5066,19 +5066,19 @@ static gchar* string_chug (const gchar* self) {
gchar* _result_ = NULL;
gchar* _tmp0_ = NULL;
const gchar* _tmp1_ = NULL;
-#line 1199 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1199 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1200 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1200 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = g_strdup (self);
-#line 1200 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1200 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_result_ = _tmp0_;
-#line 1201 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1201 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = _result_;
-#line 1201 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1201 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_strchug (_tmp1_);
-#line 1202 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1202 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _result_;
-#line 1202 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1202 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 5076 "RESTSupport.c"
}
@@ -5089,19 +5089,19 @@ static gchar* string_chomp (const gchar* self) {
gchar* _result_ = NULL;
gchar* _tmp0_ = NULL;
const gchar* _tmp1_ = NULL;
-#line 1191 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1191 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1192 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1192 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = g_strdup (self);
-#line 1192 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1192 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_result_ = _tmp0_;
-#line 1193 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1193 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = _result_;
-#line 1193 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1193 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_strchomp (_tmp1_);
-#line 1194 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1194 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _result_;
-#line 1194 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1194 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 5099 "RESTSupport.c"
}
@@ -6546,15 +6546,15 @@ static gunichar string_get_char (const gchar* self, glong index) {
gunichar result = 0U;
glong _tmp0_ = 0L;
gunichar _tmp1_ = 0U;
-#line 1116 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1116 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, 0U);
-#line 1117 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1117 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = index;
-#line 1117 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1117 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = g_utf8_get_char (((gchar*) self) + _tmp0_);
-#line 1117 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1117 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp1_;
-#line 1117 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1117 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 6552 "RESTSupport.c"
}
@@ -8621,35 +8621,35 @@ static gint string_index_of (const gchar* self, const gchar* needle, gint start_
const gchar* _tmp1_ = NULL;
gchar* _tmp2_ = NULL;
gchar* _tmp3_ = NULL;
-#line 987 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 987 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, 0);
-#line 987 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 987 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (needle != NULL, 0);
-#line 988 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 988 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = start_index;
-#line 988 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 988 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = needle;
-#line 988 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 988 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = strstr (((gchar*) self) + _tmp0_, (gchar*) _tmp1_);
-#line 988 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 988 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_result_ = _tmp2_;
-#line 990 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 990 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = _result_;
-#line 990 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 990 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp3_ != NULL) {
#line 8614 "RESTSupport.c"
gchar* _tmp4_ = NULL;
-#line 991 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 991 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = _result_;
-#line 991 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 991 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = (gint) (_tmp4_ - ((gchar*) self));
-#line 991 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 991 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 8622 "RESTSupport.c"
} else {
-#line 993 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 993 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = -1;
-#line 993 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 993 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 8628 "RESTSupport.c"
}
@@ -8663,37 +8663,37 @@ static glong string_strnlen (gchar* str, glong maxlen) {
glong _tmp1_ = 0L;
gchar* _tmp2_ = NULL;
gchar* _tmp3_ = NULL;
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = str;
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = maxlen;
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = memchr (_tmp0_, 0, (gsize) _tmp1_);
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
end = _tmp2_;
-#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = end;
-#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp3_ == NULL) {
#line 8652 "RESTSupport.c"
glong _tmp4_ = 0L;
-#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = maxlen;
-#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp4_;
-#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 8660 "RESTSupport.c"
} else {
gchar* _tmp5_ = NULL;
gchar* _tmp6_ = NULL;
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = end;
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6_ = str;
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = (glong) (_tmp5_ - _tmp6_);
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 8672 "RESTSupport.c"
}
@@ -8713,112 +8713,112 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) {
glong _tmp20_ = 0L;
glong _tmp21_ = 0L;
gchar* _tmp22_ = NULL;
-#line 1306 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1306 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = offset;
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp1_ >= ((glong) 0)) {
#line 8696 "RESTSupport.c"
glong _tmp2_ = 0L;
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = len;
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = _tmp2_ >= ((glong) 0);
#line 8702 "RESTSupport.c"
} else {
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = FALSE;
#line 8706 "RESTSupport.c"
}
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp0_) {
#line 8710 "RESTSupport.c"
glong _tmp3_ = 0L;
glong _tmp4_ = 0L;
glong _tmp5_ = 0L;
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = offset;
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = len;
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = string_strnlen ((gchar*) self, _tmp3_ + _tmp4_);
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
string_length = _tmp5_;
#line 8722 "RESTSupport.c"
} else {
gint _tmp6_ = 0;
gint _tmp7_ = 0;
-#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6_ = strlen (self);
-#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp7_ = _tmp6_;
-#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
string_length = (glong) _tmp7_;
#line 8732 "RESTSupport.c"
}
-#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp8_ = offset;
-#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp8_ < ((glong) 0)) {
#line 8738 "RESTSupport.c"
glong _tmp9_ = 0L;
glong _tmp10_ = 0L;
glong _tmp11_ = 0L;
-#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp9_ = string_length;
-#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp10_ = offset;
-#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
offset = _tmp9_ + _tmp10_;
-#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp11_ = offset;
-#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp11_ >= ((glong) 0), NULL);
#line 8752 "RESTSupport.c"
} else {
glong _tmp12_ = 0L;
glong _tmp13_ = 0L;
-#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp12_ = offset;
-#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp13_ = string_length;
-#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp12_ <= _tmp13_, NULL);
#line 8762 "RESTSupport.c"
}
-#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp14_ = len;
-#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp14_ < ((glong) 0)) {
#line 8768 "RESTSupport.c"
glong _tmp15_ = 0L;
glong _tmp16_ = 0L;
-#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp15_ = string_length;
-#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp16_ = offset;
-#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
len = _tmp15_ - _tmp16_;
#line 8777 "RESTSupport.c"
}
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp17_ = offset;
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp18_ = len;
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp19_ = string_length;
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail ((_tmp17_ + _tmp18_) <= _tmp19_, NULL);
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp20_ = offset;
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp21_ = len;
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp22_ = g_strndup (((gchar*) self) + _tmp20_, (gsize) _tmp21_);
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp22_;
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 8797 "RESTSupport.c"
}
diff --git a/plugins/common/Resources.c b/plugins/common/Resources.c
index f50b253..dc7428b 100644
--- a/plugins/common/Resources.c
+++ b/plugins/common/Resources.c
@@ -1,4 +1,4 @@
-/* Resources.c generated by valac 0.34.2, the Vala compiler
+/* Resources.c generated by valac 0.32.1, the Vala compiler
* generated from Resources.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/plugins/common/WebAuthenticationPane.c b/plugins/common/WebAuthenticationPane.c
index 372350f..c82e910 100644
--- a/plugins/common/WebAuthenticationPane.c
+++ b/plugins/common/WebAuthenticationPane.c
@@ -1,4 +1,4 @@
-/* WebAuthenticationPane.c generated by valac 0.34.2, the Vala compiler
+/* WebAuthenticationPane.c generated by valac 0.32.1, the Vala compiler
* generated from WebAuthenticationPane.vala, do not modify */
/* Copyright 2016 Jens Georg <mail@jensge.org>
diff --git a/plugins/shotwell-data-imports/FSpotDatabase.c b/plugins/shotwell-data-imports/FSpotDatabase.c
index 960dde9..31d70a7 100644
--- a/plugins/shotwell-data-imports/FSpotDatabase.c
+++ b/plugins/shotwell-data-imports/FSpotDatabase.c
@@ -1,4 +1,4 @@
-/* FSpotDatabase.c generated by valac 0.34.2, the Vala compiler
+/* FSpotDatabase.c generated by valac 0.32.1, the Vala compiler
* generated from FSpotDatabase.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/plugins/shotwell-data-imports/FSpotDatabaseBehavior.c b/plugins/shotwell-data-imports/FSpotDatabaseBehavior.c
index c860abc..b20f73f 100644
--- a/plugins/shotwell-data-imports/FSpotDatabaseBehavior.c
+++ b/plugins/shotwell-data-imports/FSpotDatabaseBehavior.c
@@ -1,4 +1,4 @@
-/* FSpotDatabaseBehavior.c generated by valac 0.34.2, the Vala compiler
+/* FSpotDatabaseBehavior.c generated by valac 0.32.1, the Vala compiler
* generated from FSpotDatabaseBehavior.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/plugins/shotwell-data-imports/FSpotDatabaseTable.c b/plugins/shotwell-data-imports/FSpotDatabaseTable.c
index bf549b1..48e5030 100644
--- a/plugins/shotwell-data-imports/FSpotDatabaseTable.c
+++ b/plugins/shotwell-data-imports/FSpotDatabaseTable.c
@@ -1,4 +1,4 @@
-/* FSpotDatabaseTable.c generated by valac 0.34.2, the Vala compiler
+/* FSpotDatabaseTable.c generated by valac 0.32.1, the Vala compiler
* generated from FSpotDatabaseTable.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -211,72 +211,72 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
gboolean _tmp2_ = FALSE;
gchar** _tmp3_ = NULL;
gint _tmp3__length1 = 0;
-#line 1054 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1054 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = separator;
-#line 1054 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1054 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp0_ == NULL) {
-#line 1055 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1055 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
separator = "";
#line 221 "FSpotDatabaseTable.c"
}
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = str_array;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3__length1 = str_array_length1;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp3_ != NULL) {
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = TRUE;
#line 231 "FSpotDatabaseTable.c"
} else {
gchar** _tmp4_ = NULL;
gint _tmp4__length1 = 0;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = str_array;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4__length1 = str_array_length1;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = _tmp4__length1 > 0;
#line 241 "FSpotDatabaseTable.c"
}
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp2_) {
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = TRUE;
#line 247 "FSpotDatabaseTable.c"
} else {
gboolean _tmp5_ = FALSE;
gchar** _tmp6_ = NULL;
gint _tmp6__length1 = 0;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6_ = str_array;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6__length1 = str_array_length1;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp6__length1 == -1) {
#line 258 "FSpotDatabaseTable.c"
gchar** _tmp7_ = NULL;
gint _tmp7__length1 = 0;
const gchar* _tmp8_ = NULL;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp7_ = str_array;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp7__length1 = str_array_length1;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp8_ = _tmp7_[0];
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = _tmp8_ != NULL;
#line 270 "FSpotDatabaseTable.c"
} else {
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = FALSE;
#line 274 "FSpotDatabaseTable.c"
}
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = _tmp5_;
#line 278 "FSpotDatabaseTable.c"
}
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp1_) {
#line 282 "FSpotDatabaseTable.c"
gint i = 0;
@@ -299,16 +299,16 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
const gchar* _tmp44_ = NULL;
void* _tmp45_ = NULL;
const gchar* _tmp62_ = NULL;
-#line 1059 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1059 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
len = (gsize) 1;
#line 305 "FSpotDatabaseTable.c"
{
gboolean _tmp9_ = FALSE;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
i = 0;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp9_ = TRUE;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
while (TRUE) {
#line 314 "FSpotDatabaseTable.c"
gboolean _tmp11_ = FALSE;
@@ -321,97 +321,97 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
gint _tmp23_ = 0;
const gchar* _tmp24_ = NULL;
gsize _tmp30_ = 0UL;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (!_tmp9_) {
#line 327 "FSpotDatabaseTable.c"
gint _tmp10_ = 0;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp10_ = i;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
i = _tmp10_ + 1;
#line 333 "FSpotDatabaseTable.c"
}
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp9_ = FALSE;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp13_ = str_array;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp13__length1 = str_array_length1;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp13__length1 != -1) {
#line 343 "FSpotDatabaseTable.c"
gint _tmp14_ = 0;
gchar** _tmp15_ = NULL;
gint _tmp15__length1 = 0;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp14_ = i;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp15_ = str_array;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp15__length1 = str_array_length1;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp12_ = _tmp14_ < _tmp15__length1;
#line 355 "FSpotDatabaseTable.c"
} else {
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp12_ = FALSE;
#line 359 "FSpotDatabaseTable.c"
}
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp12_) {
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp11_ = TRUE;
#line 365 "FSpotDatabaseTable.c"
} else {
gboolean _tmp16_ = FALSE;
gchar** _tmp17_ = NULL;
gint _tmp17__length1 = 0;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp17_ = str_array;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp17__length1 = str_array_length1;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp17__length1 == -1) {
#line 376 "FSpotDatabaseTable.c"
gchar** _tmp18_ = NULL;
gint _tmp18__length1 = 0;
gint _tmp19_ = 0;
const gchar* _tmp20_ = NULL;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp18_ = str_array;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp18__length1 = str_array_length1;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp19_ = i;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp20_ = _tmp18_[_tmp19_];
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp16_ = _tmp20_ != NULL;
#line 391 "FSpotDatabaseTable.c"
} else {
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp16_ = FALSE;
#line 395 "FSpotDatabaseTable.c"
}
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp11_ = _tmp16_;
#line 399 "FSpotDatabaseTable.c"
}
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (!_tmp11_) {
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
break;
#line 405 "FSpotDatabaseTable.c"
}
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp22_ = str_array;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp22__length1 = str_array_length1;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp23_ = i;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp24_ = _tmp22_[_tmp23_];
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp24_ != NULL) {
#line 417 "FSpotDatabaseTable.c"
gchar** _tmp25_ = NULL;
@@ -420,91 +420,91 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
const gchar* _tmp27_ = NULL;
gint _tmp28_ = 0;
gint _tmp29_ = 0;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp25_ = str_array;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp25__length1 = str_array_length1;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp26_ = i;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp27_ = _tmp25_[_tmp26_];
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp28_ = strlen ((const gchar*) _tmp27_);
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp29_ = _tmp28_;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp21_ = _tmp29_;
#line 438 "FSpotDatabaseTable.c"
} else {
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp21_ = 0;
#line 442 "FSpotDatabaseTable.c"
}
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp30_ = len;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
len = _tmp30_ + _tmp21_;
#line 448 "FSpotDatabaseTable.c"
}
}
-#line 1063 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1063 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp31_ = i;
-#line 1063 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1063 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp31_ == 0) {
#line 455 "FSpotDatabaseTable.c"
gchar* _tmp32_ = NULL;
-#line 1064 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1064 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp32_ = g_strdup ("");
-#line 1064 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1064 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp32_;
-#line 1064 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1064 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 463 "FSpotDatabaseTable.c"
}
-#line 1066 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1066 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp33_ = i;
-#line 1066 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1066 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
str_array_length1 = _tmp33_;
-#line 1066 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1066 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp34_ = str_array_length1;
-#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp35_ = len;
-#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp36_ = separator;
-#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp37_ = strlen ((const gchar*) _tmp36_);
-#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp38_ = _tmp37_;
-#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp39_ = i;
-#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
len = _tmp35_ + (_tmp38_ * (_tmp39_ - 1));
-#line 1069 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1069 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp40_ = len;
-#line 1069 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1069 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp41_ = g_malloc (_tmp40_);
-#line 1069 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1069 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
res = _tmp41_;
-#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp42_ = res;
-#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp43_ = str_array;
-#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp43__length1 = str_array_length1;
-#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp44_ = _tmp43_[0];
-#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp45_ = g_stpcpy ((void*) _tmp42_, (const gchar*) _tmp44_);
-#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
ptr = _tmp45_;
#line 501 "FSpotDatabaseTable.c"
{
gboolean _tmp46_ = FALSE;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
i = 1;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp46_ = TRUE;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
while (TRUE) {
#line 510 "FSpotDatabaseTable.c"
gint _tmp48_ = 0;
@@ -520,94 +520,94 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
const gchar* _tmp56_ = NULL;
void* _tmp60_ = NULL;
void* _tmp61_ = NULL;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (!_tmp46_) {
#line 526 "FSpotDatabaseTable.c"
gint _tmp47_ = 0;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp47_ = i;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
i = _tmp47_ + 1;
#line 532 "FSpotDatabaseTable.c"
}
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp46_ = FALSE;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp48_ = i;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp49_ = str_array;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp49__length1 = str_array_length1;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (!(_tmp48_ < _tmp49__length1)) {
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
break;
#line 546 "FSpotDatabaseTable.c"
}
-#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp50_ = ptr;
-#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp51_ = separator;
-#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp52_ = g_stpcpy (_tmp50_, (const gchar*) _tmp51_);
-#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
ptr = _tmp52_;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp54_ = str_array;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp54__length1 = str_array_length1;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp55_ = i;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp56_ = _tmp54_[_tmp55_];
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp56_ != NULL) {
#line 566 "FSpotDatabaseTable.c"
gchar** _tmp57_ = NULL;
gint _tmp57__length1 = 0;
gint _tmp58_ = 0;
const gchar* _tmp59_ = NULL;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp57_ = str_array;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp57__length1 = str_array_length1;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp58_ = i;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp59_ = _tmp57_[_tmp58_];
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp53_ = (const gchar*) _tmp59_;
#line 581 "FSpotDatabaseTable.c"
} else {
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp53_ = "";
#line 585 "FSpotDatabaseTable.c"
}
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp60_ = ptr;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp61_ = g_stpcpy (_tmp60_, _tmp53_);
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
ptr = _tmp61_;
#line 593 "FSpotDatabaseTable.c"
}
}
-#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp62_ = res;
-#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
res = NULL;
-#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = (gchar*) _tmp62_;
-#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 604 "FSpotDatabaseTable.c"
} else {
gchar* _tmp63_ = NULL;
-#line 1078 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1078 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp63_ = g_strdup ("");
-#line 1078 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1078 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp63_;
-#line 1078 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1078 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 613 "FSpotDatabaseTable.c"
}
diff --git a/plugins/shotwell-data-imports/FSpotImporter.c b/plugins/shotwell-data-imports/FSpotImporter.c
index f2c82a4..5cb73d5 100644
--- a/plugins/shotwell-data-imports/FSpotImporter.c
+++ b/plugins/shotwell-data-imports/FSpotImporter.c
@@ -1,4 +1,4 @@
-/* FSpotImporter.c generated by valac 0.34.2, the Vala compiler
+/* FSpotImporter.c generated by valac 0.32.1, the Vala compiler
* generated from FSpotImporter.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -1661,33 +1661,33 @@ static gint string_index_of_char (const gchar* self, gunichar c, gint start_inde
gunichar _tmp1_ = 0U;
gchar* _tmp2_ = NULL;
gchar* _tmp3_ = NULL;
-#line 1007 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1007 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, 0);
-#line 1008 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1008 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = start_index;
-#line 1008 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1008 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = c;
-#line 1008 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1008 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = g_utf8_strchr (((gchar*) self) + _tmp0_, (gssize) -1, _tmp1_);
-#line 1008 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1008 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_result_ = _tmp2_;
-#line 1010 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1010 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = _result_;
-#line 1010 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1010 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp3_ != NULL) {
#line 1665 "FSpotImporter.c"
gchar* _tmp4_ = NULL;
-#line 1011 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1011 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = _result_;
-#line 1011 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1011 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = (gint) (_tmp4_ - ((gchar*) self));
-#line 1011 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1011 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 1673 "FSpotImporter.c"
} else {
-#line 1013 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1013 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = -1;
-#line 1013 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1013 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 1679 "FSpotImporter.c"
}
@@ -1711,103 +1711,103 @@ static gchar* string_slice (const gchar* self, glong start, glong end) {
glong _tmp19_ = 0L;
glong _tmp20_ = 0L;
gchar* _tmp21_ = NULL;
-#line 1328 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1328 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1329 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1329 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = strlen (self);
-#line 1329 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1329 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = _tmp0_;
-#line 1329 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1329 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
string_length = (glong) _tmp1_;
-#line 1330 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1330 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = start;
-#line 1330 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1330 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp2_ < ((glong) 0)) {
#line 1713 "FSpotImporter.c"
glong _tmp3_ = 0L;
glong _tmp4_ = 0L;
-#line 1331 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1331 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = string_length;
-#line 1331 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1331 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = start;
-#line 1331 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1331 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
start = _tmp3_ + _tmp4_;
#line 1722 "FSpotImporter.c"
}
-#line 1333 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1333 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = end;
-#line 1333 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1333 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp5_ < ((glong) 0)) {
#line 1728 "FSpotImporter.c"
glong _tmp6_ = 0L;
glong _tmp7_ = 0L;
-#line 1334 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1334 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6_ = string_length;
-#line 1334 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1334 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp7_ = end;
-#line 1334 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1334 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
end = _tmp6_ + _tmp7_;
#line 1737 "FSpotImporter.c"
}
-#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp9_ = start;
-#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp9_ >= ((glong) 0)) {
#line 1743 "FSpotImporter.c"
glong _tmp10_ = 0L;
glong _tmp11_ = 0L;
-#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp10_ = start;
-#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp11_ = string_length;
-#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp8_ = _tmp10_ <= _tmp11_;
#line 1752 "FSpotImporter.c"
} else {
-#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp8_ = FALSE;
#line 1756 "FSpotImporter.c"
}
-#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp8_, NULL);
-#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp13_ = end;
-#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp13_ >= ((glong) 0)) {
#line 1764 "FSpotImporter.c"
glong _tmp14_ = 0L;
glong _tmp15_ = 0L;
-#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp14_ = end;
-#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp15_ = string_length;
-#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp12_ = _tmp14_ <= _tmp15_;
#line 1773 "FSpotImporter.c"
} else {
-#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp12_ = FALSE;
#line 1777 "FSpotImporter.c"
}
-#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp12_, NULL);
-#line 1338 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1338 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp16_ = start;
-#line 1338 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1338 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp17_ = end;
-#line 1338 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1338 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp16_ <= _tmp17_, NULL);
-#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp18_ = start;
-#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp19_ = end;
-#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp20_ = start;
-#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp21_ = g_strndup (((gchar*) self) + _tmp18_, (gsize) (_tmp19_ - _tmp20_));
-#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp21_;
-#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 1799 "FSpotImporter.c"
}
@@ -1817,15 +1817,15 @@ static gchar string_get (const gchar* self, glong index) {
gchar result = '\0';
glong _tmp0_ = 0L;
gchar _tmp1_ = '\0';
-#line 1086 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1086 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, '\0');
-#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = index;
-#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = ((gchar*) self)[_tmp0_];
-#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp1_;
-#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 1817 "FSpotImporter.c"
}
@@ -1838,37 +1838,37 @@ static glong string_strnlen (gchar* str, glong maxlen) {
glong _tmp1_ = 0L;
gchar* _tmp2_ = NULL;
gchar* _tmp3_ = NULL;
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = str;
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = maxlen;
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = memchr (_tmp0_, 0, (gsize) _tmp1_);
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
end = _tmp2_;
-#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = end;
-#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp3_ == NULL) {
#line 1840 "FSpotImporter.c"
glong _tmp4_ = 0L;
-#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = maxlen;
-#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp4_;
-#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 1848 "FSpotImporter.c"
} else {
gchar* _tmp5_ = NULL;
gchar* _tmp6_ = NULL;
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = end;
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6_ = str;
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = (glong) (_tmp5_ - _tmp6_);
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 1860 "FSpotImporter.c"
}
@@ -1888,112 +1888,112 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) {
glong _tmp20_ = 0L;
glong _tmp21_ = 0L;
gchar* _tmp22_ = NULL;
-#line 1306 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1306 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = offset;
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp1_ >= ((glong) 0)) {
#line 1884 "FSpotImporter.c"
glong _tmp2_ = 0L;
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = len;
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = _tmp2_ >= ((glong) 0);
#line 1890 "FSpotImporter.c"
} else {
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = FALSE;
#line 1894 "FSpotImporter.c"
}
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp0_) {
#line 1898 "FSpotImporter.c"
glong _tmp3_ = 0L;
glong _tmp4_ = 0L;
glong _tmp5_ = 0L;
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = offset;
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = len;
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = string_strnlen ((gchar*) self, _tmp3_ + _tmp4_);
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
string_length = _tmp5_;
#line 1910 "FSpotImporter.c"
} else {
gint _tmp6_ = 0;
gint _tmp7_ = 0;
-#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6_ = strlen (self);
-#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp7_ = _tmp6_;
-#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
string_length = (glong) _tmp7_;
#line 1920 "FSpotImporter.c"
}
-#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp8_ = offset;
-#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp8_ < ((glong) 0)) {
#line 1926 "FSpotImporter.c"
glong _tmp9_ = 0L;
glong _tmp10_ = 0L;
glong _tmp11_ = 0L;
-#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp9_ = string_length;
-#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp10_ = offset;
-#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
offset = _tmp9_ + _tmp10_;
-#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp11_ = offset;
-#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp11_ >= ((glong) 0), NULL);
#line 1940 "FSpotImporter.c"
} else {
glong _tmp12_ = 0L;
glong _tmp13_ = 0L;
-#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp12_ = offset;
-#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp13_ = string_length;
-#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp12_ <= _tmp13_, NULL);
#line 1950 "FSpotImporter.c"
}
-#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp14_ = len;
-#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp14_ < ((glong) 0)) {
#line 1956 "FSpotImporter.c"
glong _tmp15_ = 0L;
glong _tmp16_ = 0L;
-#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp15_ = string_length;
-#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp16_ = offset;
-#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
len = _tmp15_ - _tmp16_;
#line 1965 "FSpotImporter.c"
}
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp17_ = offset;
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp18_ = len;
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp19_ = string_length;
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail ((_tmp17_ + _tmp18_) <= _tmp19_, NULL);
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp20_ = offset;
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp21_ = len;
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp22_ = g_strndup (((gchar*) self) + _tmp20_, (gsize) _tmp21_);
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp22_;
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 1985 "FSpotImporter.c"
}
diff --git a/plugins/shotwell-data-imports/FSpotMetaTable.c b/plugins/shotwell-data-imports/FSpotMetaTable.c
index ee93b8d..5b8a0c1 100644
--- a/plugins/shotwell-data-imports/FSpotMetaTable.c
+++ b/plugins/shotwell-data-imports/FSpotMetaTable.c
@@ -1,4 +1,4 @@
-/* FSpotMetaTable.c generated by valac 0.34.2, the Vala compiler
+/* FSpotMetaTable.c generated by valac 0.32.1, the Vala compiler
* generated from FSpotMetaTable.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -302,72 +302,72 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
gboolean _tmp2_ = FALSE;
gchar** _tmp3_ = NULL;
gint _tmp3__length1 = 0;
-#line 1054 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1054 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = separator;
-#line 1054 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1054 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp0_ == NULL) {
-#line 1055 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1055 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
separator = "";
#line 312 "FSpotMetaTable.c"
}
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = str_array;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3__length1 = str_array_length1;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp3_ != NULL) {
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = TRUE;
#line 322 "FSpotMetaTable.c"
} else {
gchar** _tmp4_ = NULL;
gint _tmp4__length1 = 0;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = str_array;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4__length1 = str_array_length1;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = _tmp4__length1 > 0;
#line 332 "FSpotMetaTable.c"
}
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp2_) {
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = TRUE;
#line 338 "FSpotMetaTable.c"
} else {
gboolean _tmp5_ = FALSE;
gchar** _tmp6_ = NULL;
gint _tmp6__length1 = 0;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6_ = str_array;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6__length1 = str_array_length1;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp6__length1 == -1) {
#line 349 "FSpotMetaTable.c"
gchar** _tmp7_ = NULL;
gint _tmp7__length1 = 0;
const gchar* _tmp8_ = NULL;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp7_ = str_array;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp7__length1 = str_array_length1;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp8_ = _tmp7_[0];
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = _tmp8_ != NULL;
#line 361 "FSpotMetaTable.c"
} else {
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = FALSE;
#line 365 "FSpotMetaTable.c"
}
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = _tmp5_;
#line 369 "FSpotMetaTable.c"
}
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp1_) {
#line 373 "FSpotMetaTable.c"
gint i = 0;
@@ -390,16 +390,16 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
const gchar* _tmp44_ = NULL;
void* _tmp45_ = NULL;
const gchar* _tmp62_ = NULL;
-#line 1059 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1059 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
len = (gsize) 1;
#line 396 "FSpotMetaTable.c"
{
gboolean _tmp9_ = FALSE;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
i = 0;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp9_ = TRUE;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
while (TRUE) {
#line 405 "FSpotMetaTable.c"
gboolean _tmp11_ = FALSE;
@@ -412,97 +412,97 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
gint _tmp23_ = 0;
const gchar* _tmp24_ = NULL;
gsize _tmp30_ = 0UL;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (!_tmp9_) {
#line 418 "FSpotMetaTable.c"
gint _tmp10_ = 0;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp10_ = i;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
i = _tmp10_ + 1;
#line 424 "FSpotMetaTable.c"
}
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp9_ = FALSE;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp13_ = str_array;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp13__length1 = str_array_length1;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp13__length1 != -1) {
#line 434 "FSpotMetaTable.c"
gint _tmp14_ = 0;
gchar** _tmp15_ = NULL;
gint _tmp15__length1 = 0;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp14_ = i;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp15_ = str_array;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp15__length1 = str_array_length1;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp12_ = _tmp14_ < _tmp15__length1;
#line 446 "FSpotMetaTable.c"
} else {
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp12_ = FALSE;
#line 450 "FSpotMetaTable.c"
}
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp12_) {
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp11_ = TRUE;
#line 456 "FSpotMetaTable.c"
} else {
gboolean _tmp16_ = FALSE;
gchar** _tmp17_ = NULL;
gint _tmp17__length1 = 0;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp17_ = str_array;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp17__length1 = str_array_length1;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp17__length1 == -1) {
#line 467 "FSpotMetaTable.c"
gchar** _tmp18_ = NULL;
gint _tmp18__length1 = 0;
gint _tmp19_ = 0;
const gchar* _tmp20_ = NULL;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp18_ = str_array;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp18__length1 = str_array_length1;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp19_ = i;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp20_ = _tmp18_[_tmp19_];
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp16_ = _tmp20_ != NULL;
#line 482 "FSpotMetaTable.c"
} else {
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp16_ = FALSE;
#line 486 "FSpotMetaTable.c"
}
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp11_ = _tmp16_;
#line 490 "FSpotMetaTable.c"
}
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (!_tmp11_) {
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
break;
#line 496 "FSpotMetaTable.c"
}
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp22_ = str_array;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp22__length1 = str_array_length1;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp23_ = i;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp24_ = _tmp22_[_tmp23_];
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp24_ != NULL) {
#line 508 "FSpotMetaTable.c"
gchar** _tmp25_ = NULL;
@@ -511,91 +511,91 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
const gchar* _tmp27_ = NULL;
gint _tmp28_ = 0;
gint _tmp29_ = 0;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp25_ = str_array;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp25__length1 = str_array_length1;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp26_ = i;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp27_ = _tmp25_[_tmp26_];
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp28_ = strlen ((const gchar*) _tmp27_);
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp29_ = _tmp28_;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp21_ = _tmp29_;
#line 529 "FSpotMetaTable.c"
} else {
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp21_ = 0;
#line 533 "FSpotMetaTable.c"
}
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp30_ = len;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
len = _tmp30_ + _tmp21_;
#line 539 "FSpotMetaTable.c"
}
}
-#line 1063 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1063 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp31_ = i;
-#line 1063 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1063 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp31_ == 0) {
#line 546 "FSpotMetaTable.c"
gchar* _tmp32_ = NULL;
-#line 1064 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1064 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp32_ = g_strdup ("");
-#line 1064 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1064 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp32_;
-#line 1064 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1064 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 554 "FSpotMetaTable.c"
}
-#line 1066 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1066 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp33_ = i;
-#line 1066 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1066 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
str_array_length1 = _tmp33_;
-#line 1066 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1066 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp34_ = str_array_length1;
-#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp35_ = len;
-#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp36_ = separator;
-#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp37_ = strlen ((const gchar*) _tmp36_);
-#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp38_ = _tmp37_;
-#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp39_ = i;
-#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
len = _tmp35_ + (_tmp38_ * (_tmp39_ - 1));
-#line 1069 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1069 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp40_ = len;
-#line 1069 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1069 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp41_ = g_malloc (_tmp40_);
-#line 1069 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1069 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
res = _tmp41_;
-#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp42_ = res;
-#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp43_ = str_array;
-#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp43__length1 = str_array_length1;
-#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp44_ = _tmp43_[0];
-#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp45_ = g_stpcpy ((void*) _tmp42_, (const gchar*) _tmp44_);
-#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
ptr = _tmp45_;
#line 592 "FSpotMetaTable.c"
{
gboolean _tmp46_ = FALSE;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
i = 1;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp46_ = TRUE;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
while (TRUE) {
#line 601 "FSpotMetaTable.c"
gint _tmp48_ = 0;
@@ -611,94 +611,94 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
const gchar* _tmp56_ = NULL;
void* _tmp60_ = NULL;
void* _tmp61_ = NULL;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (!_tmp46_) {
#line 617 "FSpotMetaTable.c"
gint _tmp47_ = 0;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp47_ = i;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
i = _tmp47_ + 1;
#line 623 "FSpotMetaTable.c"
}
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp46_ = FALSE;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp48_ = i;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp49_ = str_array;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp49__length1 = str_array_length1;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (!(_tmp48_ < _tmp49__length1)) {
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
break;
#line 637 "FSpotMetaTable.c"
}
-#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp50_ = ptr;
-#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp51_ = separator;
-#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp52_ = g_stpcpy (_tmp50_, (const gchar*) _tmp51_);
-#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
ptr = _tmp52_;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp54_ = str_array;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp54__length1 = str_array_length1;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp55_ = i;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp56_ = _tmp54_[_tmp55_];
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp56_ != NULL) {
#line 657 "FSpotMetaTable.c"
gchar** _tmp57_ = NULL;
gint _tmp57__length1 = 0;
gint _tmp58_ = 0;
const gchar* _tmp59_ = NULL;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp57_ = str_array;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp57__length1 = str_array_length1;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp58_ = i;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp59_ = _tmp57_[_tmp58_];
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp53_ = (const gchar*) _tmp59_;
#line 672 "FSpotMetaTable.c"
} else {
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp53_ = "";
#line 676 "FSpotMetaTable.c"
}
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp60_ = ptr;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp61_ = g_stpcpy (_tmp60_, _tmp53_);
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
ptr = _tmp61_;
#line 684 "FSpotMetaTable.c"
}
}
-#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp62_ = res;
-#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
res = NULL;
-#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = (gchar*) _tmp62_;
-#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 695 "FSpotMetaTable.c"
} else {
gchar* _tmp63_ = NULL;
-#line 1078 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1078 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp63_ = g_strdup ("");
-#line 1078 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1078 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp63_;
-#line 1078 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1078 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 704 "FSpotMetaTable.c"
}
@@ -1113,15 +1113,15 @@ static gint64 int64_parse (const gchar* str) {
gint64 result = 0LL;
const gchar* _tmp0_ = NULL;
gint64 _tmp1_ = 0LL;
-#line 679 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 679 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (str != NULL, 0LL);
-#line 680 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 680 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = str;
-#line 680 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 680 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = g_ascii_strtoll (_tmp0_, NULL, (guint) 0);
-#line 680 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 680 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp1_;
-#line 680 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 680 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 1127 "FSpotMetaTable.c"
}
diff --git a/plugins/shotwell-data-imports/FSpotPhotoTagsTable.c b/plugins/shotwell-data-imports/FSpotPhotoTagsTable.c
index dfd5dbf..27aca60 100644
--- a/plugins/shotwell-data-imports/FSpotPhotoTagsTable.c
+++ b/plugins/shotwell-data-imports/FSpotPhotoTagsTable.c
@@ -1,4 +1,4 @@
-/* FSpotPhotoTagsTable.c generated by valac 0.34.2, the Vala compiler
+/* FSpotPhotoTagsTable.c generated by valac 0.32.1, the Vala compiler
* generated from FSpotPhotoTagsTable.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/plugins/shotwell-data-imports/FSpotPhotoVersionsTable.c b/plugins/shotwell-data-imports/FSpotPhotoVersionsTable.c
index 20cfee9..92b63eb 100644
--- a/plugins/shotwell-data-imports/FSpotPhotoVersionsTable.c
+++ b/plugins/shotwell-data-imports/FSpotPhotoVersionsTable.c
@@ -1,4 +1,4 @@
-/* FSpotPhotoVersionsTable.c generated by valac 0.34.2, the Vala compiler
+/* FSpotPhotoVersionsTable.c generated by valac 0.32.1, the Vala compiler
* generated from FSpotPhotoVersionsTable.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/plugins/shotwell-data-imports/FSpotPhotosTable.c b/plugins/shotwell-data-imports/FSpotPhotosTable.c
index cad8d5f..b610d4f 100644
--- a/plugins/shotwell-data-imports/FSpotPhotosTable.c
+++ b/plugins/shotwell-data-imports/FSpotPhotosTable.c
@@ -1,4 +1,4 @@
-/* FSpotPhotosTable.c generated by valac 0.34.2, the Vala compiler
+/* FSpotPhotosTable.c generated by valac 0.32.1, the Vala compiler
* generated from FSpotPhotosTable.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/plugins/shotwell-data-imports/FSpotRollsTable.c b/plugins/shotwell-data-imports/FSpotRollsTable.c
index 3fe36a3..2814b00 100644
--- a/plugins/shotwell-data-imports/FSpotRollsTable.c
+++ b/plugins/shotwell-data-imports/FSpotRollsTable.c
@@ -1,4 +1,4 @@
-/* FSpotRollsTable.c generated by valac 0.34.2, the Vala compiler
+/* FSpotRollsTable.c generated by valac 0.32.1, the Vala compiler
* generated from FSpotRollsTable.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/plugins/shotwell-data-imports/FSpotTableBehavior.c b/plugins/shotwell-data-imports/FSpotTableBehavior.c
index 0467e46..77543b8 100644
--- a/plugins/shotwell-data-imports/FSpotTableBehavior.c
+++ b/plugins/shotwell-data-imports/FSpotTableBehavior.c
@@ -1,4 +1,4 @@
-/* FSpotTableBehavior.c generated by valac 0.34.2, the Vala compiler
+/* FSpotTableBehavior.c generated by valac 0.32.1, the Vala compiler
* generated from FSpotTableBehavior.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/plugins/shotwell-data-imports/FSpotTagsTable.c b/plugins/shotwell-data-imports/FSpotTagsTable.c
index 93da68d..93805e4 100644
--- a/plugins/shotwell-data-imports/FSpotTagsTable.c
+++ b/plugins/shotwell-data-imports/FSpotTagsTable.c
@@ -1,4 +1,4 @@
-/* FSpotTagsTable.c generated by valac 0.34.2, the Vala compiler
+/* FSpotTagsTable.c generated by valac 0.32.1, the Vala compiler
* generated from FSpotTagsTable.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/plugins/shotwell-data-imports/SqliteSupport.c b/plugins/shotwell-data-imports/SqliteSupport.c
index a3bf276..4abfac9 100644
--- a/plugins/shotwell-data-imports/SqliteSupport.c
+++ b/plugins/shotwell-data-imports/SqliteSupport.c
@@ -1,4 +1,4 @@
-/* SqliteSupport.c generated by valac 0.34.2, the Vala compiler
+/* SqliteSupport.c generated by valac 0.32.1, the Vala compiler
* generated from SqliteSupport.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/plugins/shotwell-data-imports/VersionNumber.c b/plugins/shotwell-data-imports/VersionNumber.c
index 75b63ec..dec3778 100644
--- a/plugins/shotwell-data-imports/VersionNumber.c
+++ b/plugins/shotwell-data-imports/VersionNumber.c
@@ -1,4 +1,4 @@
-/* VersionNumber.c generated by valac 0.34.2, the Vala compiler
+/* VersionNumber.c generated by valac 0.32.1, the Vala compiler
* generated from VersionNumber.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -246,72 +246,72 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
gboolean _tmp2_ = FALSE;
gchar** _tmp3_ = NULL;
gint _tmp3__length1 = 0;
-#line 1054 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1054 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = separator;
-#line 1054 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1054 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp0_ == NULL) {
-#line 1055 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1055 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
separator = "";
#line 256 "VersionNumber.c"
}
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = str_array;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3__length1 = str_array_length1;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp3_ != NULL) {
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = TRUE;
#line 266 "VersionNumber.c"
} else {
gchar** _tmp4_ = NULL;
gint _tmp4__length1 = 0;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = str_array;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4__length1 = str_array_length1;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = _tmp4__length1 > 0;
#line 276 "VersionNumber.c"
}
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp2_) {
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = TRUE;
#line 282 "VersionNumber.c"
} else {
gboolean _tmp5_ = FALSE;
gchar** _tmp6_ = NULL;
gint _tmp6__length1 = 0;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6_ = str_array;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6__length1 = str_array_length1;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp6__length1 == -1) {
#line 293 "VersionNumber.c"
gchar** _tmp7_ = NULL;
gint _tmp7__length1 = 0;
const gchar* _tmp8_ = NULL;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp7_ = str_array;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp7__length1 = str_array_length1;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp8_ = _tmp7_[0];
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = _tmp8_ != NULL;
#line 305 "VersionNumber.c"
} else {
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = FALSE;
#line 309 "VersionNumber.c"
}
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = _tmp5_;
#line 313 "VersionNumber.c"
}
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp1_) {
#line 317 "VersionNumber.c"
gint i = 0;
@@ -334,16 +334,16 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
const gchar* _tmp44_ = NULL;
void* _tmp45_ = NULL;
const gchar* _tmp62_ = NULL;
-#line 1059 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1059 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
len = (gsize) 1;
#line 340 "VersionNumber.c"
{
gboolean _tmp9_ = FALSE;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
i = 0;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp9_ = TRUE;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
while (TRUE) {
#line 349 "VersionNumber.c"
gboolean _tmp11_ = FALSE;
@@ -356,97 +356,97 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
gint _tmp23_ = 0;
const gchar* _tmp24_ = NULL;
gsize _tmp30_ = 0UL;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (!_tmp9_) {
#line 362 "VersionNumber.c"
gint _tmp10_ = 0;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp10_ = i;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
i = _tmp10_ + 1;
#line 368 "VersionNumber.c"
}
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp9_ = FALSE;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp13_ = str_array;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp13__length1 = str_array_length1;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp13__length1 != -1) {
#line 378 "VersionNumber.c"
gint _tmp14_ = 0;
gchar** _tmp15_ = NULL;
gint _tmp15__length1 = 0;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp14_ = i;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp15_ = str_array;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp15__length1 = str_array_length1;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp12_ = _tmp14_ < _tmp15__length1;
#line 390 "VersionNumber.c"
} else {
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp12_ = FALSE;
#line 394 "VersionNumber.c"
}
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp12_) {
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp11_ = TRUE;
#line 400 "VersionNumber.c"
} else {
gboolean _tmp16_ = FALSE;
gchar** _tmp17_ = NULL;
gint _tmp17__length1 = 0;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp17_ = str_array;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp17__length1 = str_array_length1;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp17__length1 == -1) {
#line 411 "VersionNumber.c"
gchar** _tmp18_ = NULL;
gint _tmp18__length1 = 0;
gint _tmp19_ = 0;
const gchar* _tmp20_ = NULL;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp18_ = str_array;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp18__length1 = str_array_length1;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp19_ = i;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp20_ = _tmp18_[_tmp19_];
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp16_ = _tmp20_ != NULL;
#line 426 "VersionNumber.c"
} else {
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp16_ = FALSE;
#line 430 "VersionNumber.c"
}
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp11_ = _tmp16_;
#line 434 "VersionNumber.c"
}
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (!_tmp11_) {
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
break;
#line 440 "VersionNumber.c"
}
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp22_ = str_array;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp22__length1 = str_array_length1;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp23_ = i;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp24_ = _tmp22_[_tmp23_];
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp24_ != NULL) {
#line 452 "VersionNumber.c"
gchar** _tmp25_ = NULL;
@@ -455,91 +455,91 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
const gchar* _tmp27_ = NULL;
gint _tmp28_ = 0;
gint _tmp29_ = 0;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp25_ = str_array;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp25__length1 = str_array_length1;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp26_ = i;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp27_ = _tmp25_[_tmp26_];
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp28_ = strlen ((const gchar*) _tmp27_);
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp29_ = _tmp28_;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp21_ = _tmp29_;
#line 473 "VersionNumber.c"
} else {
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp21_ = 0;
#line 477 "VersionNumber.c"
}
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp30_ = len;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
len = _tmp30_ + _tmp21_;
#line 483 "VersionNumber.c"
}
}
-#line 1063 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1063 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp31_ = i;
-#line 1063 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1063 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp31_ == 0) {
#line 490 "VersionNumber.c"
gchar* _tmp32_ = NULL;
-#line 1064 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1064 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp32_ = g_strdup ("");
-#line 1064 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1064 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp32_;
-#line 1064 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1064 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 498 "VersionNumber.c"
}
-#line 1066 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1066 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp33_ = i;
-#line 1066 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1066 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
str_array_length1 = _tmp33_;
-#line 1066 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1066 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp34_ = str_array_length1;
-#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp35_ = len;
-#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp36_ = separator;
-#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp37_ = strlen ((const gchar*) _tmp36_);
-#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp38_ = _tmp37_;
-#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp39_ = i;
-#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
len = _tmp35_ + (_tmp38_ * (_tmp39_ - 1));
-#line 1069 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1069 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp40_ = len;
-#line 1069 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1069 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp41_ = g_malloc (_tmp40_);
-#line 1069 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1069 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
res = _tmp41_;
-#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp42_ = res;
-#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp43_ = str_array;
-#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp43__length1 = str_array_length1;
-#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp44_ = _tmp43_[0];
-#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp45_ = g_stpcpy ((void*) _tmp42_, (const gchar*) _tmp44_);
-#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
ptr = _tmp45_;
#line 536 "VersionNumber.c"
{
gboolean _tmp46_ = FALSE;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
i = 1;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp46_ = TRUE;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
while (TRUE) {
#line 545 "VersionNumber.c"
gint _tmp48_ = 0;
@@ -555,94 +555,94 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
const gchar* _tmp56_ = NULL;
void* _tmp60_ = NULL;
void* _tmp61_ = NULL;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (!_tmp46_) {
#line 561 "VersionNumber.c"
gint _tmp47_ = 0;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp47_ = i;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
i = _tmp47_ + 1;
#line 567 "VersionNumber.c"
}
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp46_ = FALSE;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp48_ = i;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp49_ = str_array;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp49__length1 = str_array_length1;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (!(_tmp48_ < _tmp49__length1)) {
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
break;
#line 581 "VersionNumber.c"
}
-#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp50_ = ptr;
-#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp51_ = separator;
-#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp52_ = g_stpcpy (_tmp50_, (const gchar*) _tmp51_);
-#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
ptr = _tmp52_;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp54_ = str_array;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp54__length1 = str_array_length1;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp55_ = i;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp56_ = _tmp54_[_tmp55_];
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp56_ != NULL) {
#line 601 "VersionNumber.c"
gchar** _tmp57_ = NULL;
gint _tmp57__length1 = 0;
gint _tmp58_ = 0;
const gchar* _tmp59_ = NULL;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp57_ = str_array;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp57__length1 = str_array_length1;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp58_ = i;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp59_ = _tmp57_[_tmp58_];
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp53_ = (const gchar*) _tmp59_;
#line 616 "VersionNumber.c"
} else {
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp53_ = "";
#line 620 "VersionNumber.c"
}
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp60_ = ptr;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp61_ = g_stpcpy (_tmp60_, _tmp53_);
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
ptr = _tmp61_;
#line 628 "VersionNumber.c"
}
}
-#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp62_ = res;
-#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
res = NULL;
-#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = (gchar*) _tmp62_;
-#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 639 "VersionNumber.c"
} else {
gchar* _tmp63_ = NULL;
-#line 1078 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1078 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp63_ = g_strdup ("");
-#line 1078 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1078 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp63_;
-#line 1078 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1078 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 648 "VersionNumber.c"
}
diff --git a/plugins/shotwell-data-imports/shotwell-data-imports.c b/plugins/shotwell-data-imports/shotwell-data-imports.c
index 48d8c93..0c8ea43 100644
--- a/plugins/shotwell-data-imports/shotwell-data-imports.c
+++ b/plugins/shotwell-data-imports/shotwell-data-imports.c
@@ -1,4 +1,4 @@
-/* shotwell-data-imports.c generated by valac 0.34.2, the Vala compiler
+/* shotwell-data-imports.c generated by valac 0.32.1, the Vala compiler
* generated from shotwell-data-imports.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/plugins/shotwell-plugin-common.h b/plugins/shotwell-plugin-common.h
index a5285c0..3019306 100644
--- a/plugins/shotwell-plugin-common.h
+++ b/plugins/shotwell-plugin-common.h
@@ -1,4 +1,4 @@
-/* shotwell-plugin-common.h generated by valac 0.34.2, the Vala compiler, do not modify */
+/* shotwell-plugin-common.h generated by valac 0.32.1, the Vala compiler, do not modify */
#ifndef __PLUGINS_SHOTWELL_PLUGIN_COMMON_H__
diff --git a/plugins/shotwell-plugin-common.vapi b/plugins/shotwell-plugin-common.vapi
index b5367a4..b7882b8 100644
--- a/plugins/shotwell-plugin-common.vapi
+++ b/plugins/shotwell-plugin-common.vapi
@@ -1,4 +1,4 @@
-/* shotwell-plugin-common.vapi generated by valac 0.34.2, do not modify. */
+/* shotwell-plugin-common.vapi generated by valac 0.32.1, do not modify. */
namespace Publishing {
namespace RESTSupport {
diff --git a/plugins/shotwell-plugin-dev-1.0.h b/plugins/shotwell-plugin-dev-1.0.h
index 67385d6..fb72125 100644
--- a/plugins/shotwell-plugin-dev-1.0.h
+++ b/plugins/shotwell-plugin-dev-1.0.h
@@ -1,4 +1,4 @@
-/* shotwell-plugin-dev-1.0.h generated by valac 0.34.2, the Vala compiler, do not modify */
+/* shotwell-plugin-dev-1.0.h generated by valac 0.32.1, the Vala compiler, do not modify */
#ifndef __PLUGINS_SHOTWELL_PLUGIN_DEV_1_0_H__
diff --git a/plugins/shotwell-plugin-dev-1.0.vapi b/plugins/shotwell-plugin-dev-1.0.vapi
index c61cb4a..e065dab 100644
--- a/plugins/shotwell-plugin-dev-1.0.vapi
+++ b/plugins/shotwell-plugin-dev-1.0.vapi
@@ -1,4 +1,4 @@
-/* shotwell-plugin-dev-1.0.vapi generated by valac 0.34.2, do not modify. */
+/* shotwell-plugin-dev-1.0.vapi generated by valac 0.32.1, do not modify. */
namespace Spit {
namespace DataImports {
diff --git a/plugins/shotwell-publishing-extras/GalleryConnector.c b/plugins/shotwell-publishing-extras/GalleryConnector.c
index e89f86e..7b4b296 100644
--- a/plugins/shotwell-publishing-extras/GalleryConnector.c
+++ b/plugins/shotwell-publishing-extras/GalleryConnector.c
@@ -1,4 +1,4 @@
-/* GalleryConnector.c generated by valac 0.34.2, the Vala compiler
+/* GalleryConnector.c generated by valac 0.32.1, the Vala compiler
* generated from GalleryConnector.vala, do not modify */
/* Copyright 2012-2013 Joe Sapp nixphoeni@gentoo.org
@@ -2105,15 +2105,15 @@ static gchar string_get (const gchar* self, glong index) {
gchar result = '\0';
glong _tmp0_ = 0L;
gchar _tmp1_ = '\0';
-#line 1086 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1086 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, '\0');
-#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = index;
-#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = ((gchar*) self)[_tmp0_];
-#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp1_;
-#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 2088 "GalleryConnector.c"
}
@@ -2499,103 +2499,103 @@ static gchar* string_slice (const gchar* self, glong start, glong end) {
glong _tmp19_ = 0L;
glong _tmp20_ = 0L;
gchar* _tmp21_ = NULL;
-#line 1328 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1328 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1329 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1329 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = strlen (self);
-#line 1329 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1329 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = _tmp0_;
-#line 1329 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1329 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
string_length = (glong) _tmp1_;
-#line 1330 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1330 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = start;
-#line 1330 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1330 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp2_ < ((glong) 0)) {
#line 2484 "GalleryConnector.c"
glong _tmp3_ = 0L;
glong _tmp4_ = 0L;
-#line 1331 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1331 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = string_length;
-#line 1331 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1331 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = start;
-#line 1331 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1331 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
start = _tmp3_ + _tmp4_;
#line 2493 "GalleryConnector.c"
}
-#line 1333 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1333 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = end;
-#line 1333 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1333 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp5_ < ((glong) 0)) {
#line 2499 "GalleryConnector.c"
glong _tmp6_ = 0L;
glong _tmp7_ = 0L;
-#line 1334 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1334 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6_ = string_length;
-#line 1334 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1334 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp7_ = end;
-#line 1334 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1334 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
end = _tmp6_ + _tmp7_;
#line 2508 "GalleryConnector.c"
}
-#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp9_ = start;
-#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp9_ >= ((glong) 0)) {
#line 2514 "GalleryConnector.c"
glong _tmp10_ = 0L;
glong _tmp11_ = 0L;
-#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp10_ = start;
-#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp11_ = string_length;
-#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp8_ = _tmp10_ <= _tmp11_;
#line 2523 "GalleryConnector.c"
} else {
-#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp8_ = FALSE;
#line 2527 "GalleryConnector.c"
}
-#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp8_, NULL);
-#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp13_ = end;
-#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp13_ >= ((glong) 0)) {
#line 2535 "GalleryConnector.c"
glong _tmp14_ = 0L;
glong _tmp15_ = 0L;
-#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp14_ = end;
-#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp15_ = string_length;
-#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp12_ = _tmp14_ <= _tmp15_;
#line 2544 "GalleryConnector.c"
} else {
-#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp12_ = FALSE;
#line 2548 "GalleryConnector.c"
}
-#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp12_, NULL);
-#line 1338 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1338 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp16_ = start;
-#line 1338 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1338 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp17_ = end;
-#line 1338 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1338 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp16_ <= _tmp17_, NULL);
-#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp18_ = start;
-#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp19_ = end;
-#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp20_ = start;
-#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp21_ = g_strndup (((gchar*) self) + _tmp18_, (gsize) (_tmp19_ - _tmp20_));
-#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp21_;
-#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 2570 "GalleryConnector.c"
}
@@ -3099,72 +3099,72 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
gboolean _tmp2_ = FALSE;
gchar** _tmp3_ = NULL;
gint _tmp3__length1 = 0;
-#line 1054 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1054 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = separator;
-#line 1054 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1054 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp0_ == NULL) {
-#line 1055 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1055 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
separator = "";
#line 3078 "GalleryConnector.c"
}
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = str_array;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3__length1 = str_array_length1;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp3_ != NULL) {
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = TRUE;
#line 3088 "GalleryConnector.c"
} else {
gchar** _tmp4_ = NULL;
gint _tmp4__length1 = 0;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = str_array;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4__length1 = str_array_length1;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = _tmp4__length1 > 0;
#line 3098 "GalleryConnector.c"
}
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp2_) {
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = TRUE;
#line 3104 "GalleryConnector.c"
} else {
gboolean _tmp5_ = FALSE;
gchar** _tmp6_ = NULL;
gint _tmp6__length1 = 0;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6_ = str_array;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6__length1 = str_array_length1;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp6__length1 == -1) {
#line 3115 "GalleryConnector.c"
gchar** _tmp7_ = NULL;
gint _tmp7__length1 = 0;
const gchar* _tmp8_ = NULL;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp7_ = str_array;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp7__length1 = str_array_length1;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp8_ = _tmp7_[0];
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = _tmp8_ != NULL;
#line 3127 "GalleryConnector.c"
} else {
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = FALSE;
#line 3131 "GalleryConnector.c"
}
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = _tmp5_;
#line 3135 "GalleryConnector.c"
}
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp1_) {
#line 3139 "GalleryConnector.c"
gint i = 0;
@@ -3187,16 +3187,16 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
const gchar* _tmp44_ = NULL;
void* _tmp45_ = NULL;
const gchar* _tmp62_ = NULL;
-#line 1059 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1059 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
len = (gsize) 1;
#line 3162 "GalleryConnector.c"
{
gboolean _tmp9_ = FALSE;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
i = 0;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp9_ = TRUE;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
while (TRUE) {
#line 3171 "GalleryConnector.c"
gboolean _tmp11_ = FALSE;
@@ -3209,97 +3209,97 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
gint _tmp23_ = 0;
const gchar* _tmp24_ = NULL;
gsize _tmp30_ = 0UL;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (!_tmp9_) {
#line 3184 "GalleryConnector.c"
gint _tmp10_ = 0;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp10_ = i;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
i = _tmp10_ + 1;
#line 3190 "GalleryConnector.c"
}
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp9_ = FALSE;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp13_ = str_array;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp13__length1 = str_array_length1;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp13__length1 != -1) {
#line 3200 "GalleryConnector.c"
gint _tmp14_ = 0;
gchar** _tmp15_ = NULL;
gint _tmp15__length1 = 0;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp14_ = i;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp15_ = str_array;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp15__length1 = str_array_length1;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp12_ = _tmp14_ < _tmp15__length1;
#line 3212 "GalleryConnector.c"
} else {
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp12_ = FALSE;
#line 3216 "GalleryConnector.c"
}
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp12_) {
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp11_ = TRUE;
#line 3222 "GalleryConnector.c"
} else {
gboolean _tmp16_ = FALSE;
gchar** _tmp17_ = NULL;
gint _tmp17__length1 = 0;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp17_ = str_array;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp17__length1 = str_array_length1;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp17__length1 == -1) {
#line 3233 "GalleryConnector.c"
gchar** _tmp18_ = NULL;
gint _tmp18__length1 = 0;
gint _tmp19_ = 0;
const gchar* _tmp20_ = NULL;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp18_ = str_array;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp18__length1 = str_array_length1;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp19_ = i;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp20_ = _tmp18_[_tmp19_];
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp16_ = _tmp20_ != NULL;
#line 3248 "GalleryConnector.c"
} else {
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp16_ = FALSE;
#line 3252 "GalleryConnector.c"
}
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp11_ = _tmp16_;
#line 3256 "GalleryConnector.c"
}
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (!_tmp11_) {
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
break;
#line 3262 "GalleryConnector.c"
}
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp22_ = str_array;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp22__length1 = str_array_length1;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp23_ = i;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp24_ = _tmp22_[_tmp23_];
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp24_ != NULL) {
#line 3274 "GalleryConnector.c"
gchar** _tmp25_ = NULL;
@@ -3308,91 +3308,91 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
const gchar* _tmp27_ = NULL;
gint _tmp28_ = 0;
gint _tmp29_ = 0;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp25_ = str_array;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp25__length1 = str_array_length1;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp26_ = i;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp27_ = _tmp25_[_tmp26_];
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp28_ = strlen ((const gchar*) _tmp27_);
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp29_ = _tmp28_;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp21_ = _tmp29_;
#line 3295 "GalleryConnector.c"
} else {
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp21_ = 0;
#line 3299 "GalleryConnector.c"
}
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp30_ = len;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
len = _tmp30_ + _tmp21_;
#line 3305 "GalleryConnector.c"
}
}
-#line 1063 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1063 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp31_ = i;
-#line 1063 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1063 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp31_ == 0) {
#line 3312 "GalleryConnector.c"
gchar* _tmp32_ = NULL;
-#line 1064 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1064 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp32_ = g_strdup ("");
-#line 1064 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1064 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp32_;
-#line 1064 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1064 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 3320 "GalleryConnector.c"
}
-#line 1066 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1066 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp33_ = i;
-#line 1066 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1066 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
str_array_length1 = _tmp33_;
-#line 1066 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1066 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp34_ = str_array_length1;
-#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp35_ = len;
-#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp36_ = separator;
-#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp37_ = strlen ((const gchar*) _tmp36_);
-#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp38_ = _tmp37_;
-#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp39_ = i;
-#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
len = _tmp35_ + (_tmp38_ * (_tmp39_ - 1));
-#line 1069 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1069 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp40_ = len;
-#line 1069 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1069 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp41_ = g_malloc (_tmp40_);
-#line 1069 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1069 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
res = _tmp41_;
-#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp42_ = res;
-#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp43_ = str_array;
-#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp43__length1 = str_array_length1;
-#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp44_ = _tmp43_[0];
-#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp45_ = g_stpcpy ((void*) _tmp42_, (const gchar*) _tmp44_);
-#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
ptr = _tmp45_;
#line 3358 "GalleryConnector.c"
{
gboolean _tmp46_ = FALSE;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
i = 1;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp46_ = TRUE;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
while (TRUE) {
#line 3367 "GalleryConnector.c"
gint _tmp48_ = 0;
@@ -3408,94 +3408,94 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
const gchar* _tmp56_ = NULL;
void* _tmp60_ = NULL;
void* _tmp61_ = NULL;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (!_tmp46_) {
#line 3383 "GalleryConnector.c"
gint _tmp47_ = 0;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp47_ = i;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
i = _tmp47_ + 1;
#line 3389 "GalleryConnector.c"
}
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp46_ = FALSE;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp48_ = i;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp49_ = str_array;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp49__length1 = str_array_length1;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (!(_tmp48_ < _tmp49__length1)) {
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
break;
#line 3403 "GalleryConnector.c"
}
-#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp50_ = ptr;
-#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp51_ = separator;
-#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp52_ = g_stpcpy (_tmp50_, (const gchar*) _tmp51_);
-#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
ptr = _tmp52_;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp54_ = str_array;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp54__length1 = str_array_length1;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp55_ = i;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp56_ = _tmp54_[_tmp55_];
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp56_ != NULL) {
#line 3423 "GalleryConnector.c"
gchar** _tmp57_ = NULL;
gint _tmp57__length1 = 0;
gint _tmp58_ = 0;
const gchar* _tmp59_ = NULL;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp57_ = str_array;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp57__length1 = str_array_length1;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp58_ = i;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp59_ = _tmp57_[_tmp58_];
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp53_ = (const gchar*) _tmp59_;
#line 3438 "GalleryConnector.c"
} else {
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp53_ = "";
#line 3442 "GalleryConnector.c"
}
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp60_ = ptr;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp61_ = g_stpcpy (_tmp60_, _tmp53_);
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
ptr = _tmp61_;
#line 3450 "GalleryConnector.c"
}
}
-#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp62_ = res;
-#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
res = NULL;
-#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = (gchar*) _tmp62_;
-#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 3461 "GalleryConnector.c"
} else {
gchar* _tmp63_ = NULL;
-#line 1078 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1078 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp63_ = g_strdup ("");
-#line 1078 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1078 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp63_;
-#line 1078 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1078 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 3470 "GalleryConnector.c"
}
@@ -3839,11 +3839,11 @@ static void _vala_array_add4 (PublishingGallery3Album*** array, int* length, int
static const gchar* string_to_string (const gchar* self) {
const gchar* result = NULL;
-#line 1412 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1412 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1413 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1413 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = self;
-#line 1413 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1413 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 3818 "GalleryConnector.c"
}
@@ -9928,19 +9928,19 @@ static gchar* string_strip (const gchar* self) {
gchar* _result_ = NULL;
gchar* _tmp0_ = NULL;
const gchar* _tmp1_ = NULL;
-#line 1207 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1207 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1208 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1208 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = g_strdup (self);
-#line 1208 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1208 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_result_ = _tmp0_;
-#line 1209 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1209 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = _result_;
-#line 1209 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1209 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_strstrip (_tmp1_);
-#line 1210 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1210 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _result_;
-#line 1210 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1210 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 9905 "GalleryConnector.c"
}
@@ -10047,37 +10047,37 @@ static glong string_strnlen (gchar* str, glong maxlen) {
glong _tmp1_ = 0L;
gchar* _tmp2_ = NULL;
gchar* _tmp3_ = NULL;
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = str;
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = maxlen;
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = memchr (_tmp0_, 0, (gsize) _tmp1_);
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
end = _tmp2_;
-#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = end;
-#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp3_ == NULL) {
#line 10022 "GalleryConnector.c"
glong _tmp4_ = 0L;
-#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = maxlen;
-#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp4_;
-#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 10030 "GalleryConnector.c"
} else {
gchar* _tmp5_ = NULL;
gchar* _tmp6_ = NULL;
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = end;
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6_ = str;
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = (glong) (_tmp5_ - _tmp6_);
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 10042 "GalleryConnector.c"
}
@@ -10097,112 +10097,112 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) {
glong _tmp20_ = 0L;
glong _tmp21_ = 0L;
gchar* _tmp22_ = NULL;
-#line 1306 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1306 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = offset;
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp1_ >= ((glong) 0)) {
#line 10066 "GalleryConnector.c"
glong _tmp2_ = 0L;
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = len;
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = _tmp2_ >= ((glong) 0);
#line 10072 "GalleryConnector.c"
} else {
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = FALSE;
#line 10076 "GalleryConnector.c"
}
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp0_) {
#line 10080 "GalleryConnector.c"
glong _tmp3_ = 0L;
glong _tmp4_ = 0L;
glong _tmp5_ = 0L;
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = offset;
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = len;
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = string_strnlen ((gchar*) self, _tmp3_ + _tmp4_);
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
string_length = _tmp5_;
#line 10092 "GalleryConnector.c"
} else {
gint _tmp6_ = 0;
gint _tmp7_ = 0;
-#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6_ = strlen (self);
-#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp7_ = _tmp6_;
-#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
string_length = (glong) _tmp7_;
#line 10102 "GalleryConnector.c"
}
-#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp8_ = offset;
-#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp8_ < ((glong) 0)) {
#line 10108 "GalleryConnector.c"
glong _tmp9_ = 0L;
glong _tmp10_ = 0L;
glong _tmp11_ = 0L;
-#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp9_ = string_length;
-#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp10_ = offset;
-#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
offset = _tmp9_ + _tmp10_;
-#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp11_ = offset;
-#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp11_ >= ((glong) 0), NULL);
#line 10122 "GalleryConnector.c"
} else {
glong _tmp12_ = 0L;
glong _tmp13_ = 0L;
-#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp12_ = offset;
-#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp13_ = string_length;
-#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp12_ <= _tmp13_, NULL);
#line 10132 "GalleryConnector.c"
}
-#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp14_ = len;
-#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp14_ < ((glong) 0)) {
#line 10138 "GalleryConnector.c"
glong _tmp15_ = 0L;
glong _tmp16_ = 0L;
-#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp15_ = string_length;
-#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp16_ = offset;
-#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
len = _tmp15_ - _tmp16_;
#line 10147 "GalleryConnector.c"
}
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp17_ = offset;
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp18_ = len;
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp19_ = string_length;
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail ((_tmp17_ + _tmp18_) <= _tmp19_, NULL);
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp20_ = offset;
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp21_ = len;
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp22_ = g_strndup (((gchar*) self) + _tmp20_, (gsize) _tmp21_);
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp22_;
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 10167 "GalleryConnector.c"
}
@@ -10763,25 +10763,25 @@ static gchar* string_delimit (const gchar* self, const gchar* delimiters, gchar
const gchar* _tmp1_ = NULL;
const gchar* _tmp2_ = NULL;
gchar _tmp3_ = '\0';
-#line 1215 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1215 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1215 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1215 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (delimiters != NULL, NULL);
-#line 1216 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1216 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = g_strdup (self);
-#line 1216 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1216 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_result_ = _tmp0_;
-#line 1217 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1217 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = _result_;
-#line 1217 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1217 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = delimiters;
-#line 1217 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1217 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = new_delimiter;
-#line 1217 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1217 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_strdelimit (_tmp1_, _tmp2_, _tmp3_);
-#line 1218 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1218 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _result_;
-#line 1218 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1218 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 10746 "GalleryConnector.c"
}
@@ -12896,35 +12896,35 @@ static gint string_last_index_of (const gchar* self, const gchar* needle, gint s
const gchar* _tmp1_ = NULL;
gchar* _tmp2_ = NULL;
gchar* _tmp3_ = NULL;
-#line 997 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 997 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, 0);
-#line 997 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 997 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (needle != NULL, 0);
-#line 998 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 998 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = start_index;
-#line 998 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 998 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = needle;
-#line 998 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 998 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = g_strrstr (((gchar*) self) + _tmp0_, (gchar*) _tmp1_);
-#line 998 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 998 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_result_ = _tmp2_;
-#line 1000 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1000 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = _result_;
-#line 1000 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1000 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp3_ != NULL) {
#line 12873 "GalleryConnector.c"
gchar* _tmp4_ = NULL;
-#line 1001 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1001 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = _result_;
-#line 1001 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1001 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = (gint) (_tmp4_ - ((gchar*) self));
-#line 1001 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1001 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 12881 "GalleryConnector.c"
} else {
-#line 1003 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1003 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = -1;
-#line 1003 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1003 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 12887 "GalleryConnector.c"
}
diff --git a/plugins/shotwell-publishing-extras/RajcePublishing.c b/plugins/shotwell-publishing-extras/RajcePublishing.c
index f7a1674..d953d67 100644
--- a/plugins/shotwell-publishing-extras/RajcePublishing.c
+++ b/plugins/shotwell-publishing-extras/RajcePublishing.c
@@ -1,4 +1,4 @@
-/* RajcePublishing.c generated by valac 0.34.2, the Vala compiler
+/* RajcePublishing.c generated by valac 0.32.1, the Vala compiler
* generated from RajcePublishing.vala, do not modify */
/* Copyright 2014 rajce.net
@@ -7770,19 +7770,19 @@ static gchar* string_strip (const gchar* self) {
gchar* _result_ = NULL;
gchar* _tmp0_ = NULL;
const gchar* _tmp1_ = NULL;
-#line 1207 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1207 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1208 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1208 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = g_strdup (self);
-#line 1208 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1208 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_result_ = _tmp0_;
-#line 1209 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1209 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = _result_;
-#line 1209 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1209 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_strstrip (_tmp1_);
-#line 1210 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1210 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _result_;
-#line 1210 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1210 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 7784 "RajcePublishing.c"
}
diff --git a/plugins/shotwell-publishing-extras/TumblrPublishing.c b/plugins/shotwell-publishing-extras/TumblrPublishing.c
index 0127984..cac5ead 100644
--- a/plugins/shotwell-publishing-extras/TumblrPublishing.c
+++ b/plugins/shotwell-publishing-extras/TumblrPublishing.c
@@ -1,4 +1,4 @@
-/* TumblrPublishing.c generated by valac 0.34.2, the Vala compiler
+/* TumblrPublishing.c generated by valac 0.32.1, the Vala compiler
* generated from TumblrPublishing.vala, do not modify */
/* Copyright 2012 BJA Electronics
@@ -2803,11 +2803,11 @@ static gpointer _json_object_ref0 (gpointer self) {
static gchar* string_replace (const gchar* self, const gchar* old, const gchar* replacement) {
gchar* result = NULL;
GError * _inner_error_ = NULL;
-#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (old != NULL, NULL);
-#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (replacement != NULL, NULL);
#line 2807 "TumblrPublishing.c"
{
@@ -2822,73 +2822,73 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar*
const gchar* _tmp7_ = NULL;
gchar* _tmp8_ = NULL;
gchar* _tmp9_ = NULL;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = old;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = g_regex_escape_string (_tmp0_, -1);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = _tmp1_;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = g_regex_new (_tmp2_, 0, 0, &_inner_error_);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = _tmp3_;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_free0 (_tmp2_);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
regex = _tmp4_;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_inner_error_->domain == G_REGEX_ERROR) {
#line 2838 "TumblrPublishing.c"
goto __catch35_g_regex_error;
}
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_clear_error (&_inner_error_);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return NULL;
#line 2847 "TumblrPublishing.c"
}
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6_ = regex;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp7_ = replacement;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp8_ = g_regex_replace_literal (_tmp6_, self, (gssize) -1, 0, _tmp7_, 0, &_inner_error_);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = _tmp8_;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_regex_unref0 (regex);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_inner_error_->domain == G_REGEX_ERROR) {
#line 2863 "TumblrPublishing.c"
goto __catch35_g_regex_error;
}
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_regex_unref0 (regex);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_clear_error (&_inner_error_);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return NULL;
#line 2874 "TumblrPublishing.c"
}
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp9_ = _tmp5_;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = NULL;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp9_;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_free0 (_tmp5_);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_regex_unref0 (regex);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 2888 "TumblrPublishing.c"
}
@@ -2896,24 +2896,24 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar*
__catch35_g_regex_error:
{
GError* e = NULL;
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
e = _inner_error_;
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_inner_error_ = NULL;
-#line 1385 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1385 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_assert_not_reached ();
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_error_free0 (e);
#line 2902 "TumblrPublishing.c"
}
__finally35:
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
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 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_clear_error (&_inner_error_);
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return NULL;
#line 2913 "TumblrPublishing.c"
}
@@ -6101,39 +6101,39 @@ static guint8* string_get_data (const gchar* self, int* result_length1) {
gint _tmp3__length1 = 0;
guint8* _tmp4_ = NULL;
gint _tmp4__length1 = 0;
-#line 1398 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1398 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1399 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1399 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
res = (guint8*) self;
-#line 1399 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1399 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
res_length1 = -1;
-#line 1399 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1399 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_res_size_ = res_length1;
-#line 1400 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1400 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = strlen (self);
-#line 1400 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1400 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = _tmp0_;
-#line 1400 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1400 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
res_length1 = (gint) _tmp1_;
-#line 1400 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1400 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = res_length1;
-#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = res;
-#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3__length1 = res_length1;
-#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = _tmp3_;
-#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4__length1 = _tmp3__length1;
-#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (result_length1) {
-#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
*result_length1 = _tmp4__length1;
#line 6115 "TumblrPublishing.c"
}
-#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp4_;
-#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 6121 "TumblrPublishing.c"
}
@@ -6146,72 +6146,72 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
gboolean _tmp2_ = FALSE;
gchar** _tmp3_ = NULL;
gint _tmp3__length1 = 0;
-#line 1054 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1054 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = separator;
-#line 1054 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1054 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp0_ == NULL) {
-#line 1055 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1055 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
separator = "";
#line 6138 "TumblrPublishing.c"
}
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = str_array;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3__length1 = str_array_length1;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp3_ != NULL) {
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = TRUE;
#line 6148 "TumblrPublishing.c"
} else {
gchar** _tmp4_ = NULL;
gint _tmp4__length1 = 0;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = str_array;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4__length1 = str_array_length1;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = _tmp4__length1 > 0;
#line 6158 "TumblrPublishing.c"
}
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp2_) {
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = TRUE;
#line 6164 "TumblrPublishing.c"
} else {
gboolean _tmp5_ = FALSE;
gchar** _tmp6_ = NULL;
gint _tmp6__length1 = 0;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6_ = str_array;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6__length1 = str_array_length1;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp6__length1 == -1) {
#line 6175 "TumblrPublishing.c"
gchar** _tmp7_ = NULL;
gint _tmp7__length1 = 0;
const gchar* _tmp8_ = NULL;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp7_ = str_array;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp7__length1 = str_array_length1;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp8_ = _tmp7_[0];
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = _tmp8_ != NULL;
#line 6187 "TumblrPublishing.c"
} else {
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = FALSE;
#line 6191 "TumblrPublishing.c"
}
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = _tmp5_;
#line 6195 "TumblrPublishing.c"
}
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp1_) {
#line 6199 "TumblrPublishing.c"
gint i = 0;
@@ -6234,16 +6234,16 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
const gchar* _tmp44_ = NULL;
void* _tmp45_ = NULL;
const gchar* _tmp62_ = NULL;
-#line 1059 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1059 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
len = (gsize) 1;
#line 6222 "TumblrPublishing.c"
{
gboolean _tmp9_ = FALSE;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
i = 0;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp9_ = TRUE;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
while (TRUE) {
#line 6231 "TumblrPublishing.c"
gboolean _tmp11_ = FALSE;
@@ -6256,97 +6256,97 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
gint _tmp23_ = 0;
const gchar* _tmp24_ = NULL;
gsize _tmp30_ = 0UL;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (!_tmp9_) {
#line 6244 "TumblrPublishing.c"
gint _tmp10_ = 0;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp10_ = i;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
i = _tmp10_ + 1;
#line 6250 "TumblrPublishing.c"
}
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp9_ = FALSE;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp13_ = str_array;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp13__length1 = str_array_length1;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp13__length1 != -1) {
#line 6260 "TumblrPublishing.c"
gint _tmp14_ = 0;
gchar** _tmp15_ = NULL;
gint _tmp15__length1 = 0;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp14_ = i;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp15_ = str_array;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp15__length1 = str_array_length1;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp12_ = _tmp14_ < _tmp15__length1;
#line 6272 "TumblrPublishing.c"
} else {
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp12_ = FALSE;
#line 6276 "TumblrPublishing.c"
}
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp12_) {
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp11_ = TRUE;
#line 6282 "TumblrPublishing.c"
} else {
gboolean _tmp16_ = FALSE;
gchar** _tmp17_ = NULL;
gint _tmp17__length1 = 0;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp17_ = str_array;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp17__length1 = str_array_length1;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp17__length1 == -1) {
#line 6293 "TumblrPublishing.c"
gchar** _tmp18_ = NULL;
gint _tmp18__length1 = 0;
gint _tmp19_ = 0;
const gchar* _tmp20_ = NULL;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp18_ = str_array;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp18__length1 = str_array_length1;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp19_ = i;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp20_ = _tmp18_[_tmp19_];
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp16_ = _tmp20_ != NULL;
#line 6308 "TumblrPublishing.c"
} else {
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp16_ = FALSE;
#line 6312 "TumblrPublishing.c"
}
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp11_ = _tmp16_;
#line 6316 "TumblrPublishing.c"
}
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (!_tmp11_) {
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
break;
#line 6322 "TumblrPublishing.c"
}
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp22_ = str_array;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp22__length1 = str_array_length1;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp23_ = i;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp24_ = _tmp22_[_tmp23_];
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp24_ != NULL) {
#line 6334 "TumblrPublishing.c"
gchar** _tmp25_ = NULL;
@@ -6355,91 +6355,91 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
const gchar* _tmp27_ = NULL;
gint _tmp28_ = 0;
gint _tmp29_ = 0;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp25_ = str_array;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp25__length1 = str_array_length1;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp26_ = i;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp27_ = _tmp25_[_tmp26_];
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp28_ = strlen ((const gchar*) _tmp27_);
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp29_ = _tmp28_;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp21_ = _tmp29_;
#line 6355 "TumblrPublishing.c"
} else {
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp21_ = 0;
#line 6359 "TumblrPublishing.c"
}
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp30_ = len;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
len = _tmp30_ + _tmp21_;
#line 6365 "TumblrPublishing.c"
}
}
-#line 1063 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1063 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp31_ = i;
-#line 1063 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1063 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp31_ == 0) {
#line 6372 "TumblrPublishing.c"
gchar* _tmp32_ = NULL;
-#line 1064 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1064 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp32_ = g_strdup ("");
-#line 1064 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1064 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp32_;
-#line 1064 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1064 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 6380 "TumblrPublishing.c"
}
-#line 1066 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1066 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp33_ = i;
-#line 1066 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1066 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
str_array_length1 = _tmp33_;
-#line 1066 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1066 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp34_ = str_array_length1;
-#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp35_ = len;
-#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp36_ = separator;
-#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp37_ = strlen ((const gchar*) _tmp36_);
-#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp38_ = _tmp37_;
-#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp39_ = i;
-#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
len = _tmp35_ + (_tmp38_ * (_tmp39_ - 1));
-#line 1069 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1069 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp40_ = len;
-#line 1069 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1069 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp41_ = g_malloc (_tmp40_);
-#line 1069 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1069 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
res = _tmp41_;
-#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp42_ = res;
-#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp43_ = str_array;
-#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp43__length1 = str_array_length1;
-#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp44_ = _tmp43_[0];
-#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp45_ = g_stpcpy ((void*) _tmp42_, (const gchar*) _tmp44_);
-#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
ptr = _tmp45_;
#line 6418 "TumblrPublishing.c"
{
gboolean _tmp46_ = FALSE;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
i = 1;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp46_ = TRUE;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
while (TRUE) {
#line 6427 "TumblrPublishing.c"
gint _tmp48_ = 0;
@@ -6455,94 +6455,94 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
const gchar* _tmp56_ = NULL;
void* _tmp60_ = NULL;
void* _tmp61_ = NULL;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (!_tmp46_) {
#line 6443 "TumblrPublishing.c"
gint _tmp47_ = 0;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp47_ = i;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
i = _tmp47_ + 1;
#line 6449 "TumblrPublishing.c"
}
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp46_ = FALSE;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp48_ = i;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp49_ = str_array;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp49__length1 = str_array_length1;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (!(_tmp48_ < _tmp49__length1)) {
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
break;
#line 6463 "TumblrPublishing.c"
}
-#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp50_ = ptr;
-#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp51_ = separator;
-#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp52_ = g_stpcpy (_tmp50_, (const gchar*) _tmp51_);
-#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
ptr = _tmp52_;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp54_ = str_array;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp54__length1 = str_array_length1;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp55_ = i;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp56_ = _tmp54_[_tmp55_];
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp56_ != NULL) {
#line 6483 "TumblrPublishing.c"
gchar** _tmp57_ = NULL;
gint _tmp57__length1 = 0;
gint _tmp58_ = 0;
const gchar* _tmp59_ = NULL;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp57_ = str_array;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp57__length1 = str_array_length1;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp58_ = i;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp59_ = _tmp57_[_tmp58_];
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp53_ = (const gchar*) _tmp59_;
#line 6498 "TumblrPublishing.c"
} else {
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp53_ = "";
#line 6502 "TumblrPublishing.c"
}
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp60_ = ptr;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp61_ = g_stpcpy (_tmp60_, _tmp53_);
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
ptr = _tmp61_;
#line 6510 "TumblrPublishing.c"
}
}
-#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp62_ = res;
-#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
res = NULL;
-#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = (gchar*) _tmp62_;
-#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 6521 "TumblrPublishing.c"
} else {
gchar* _tmp63_ = NULL;
-#line 1078 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1078 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp63_ = g_strdup ("");
-#line 1078 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1078 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp63_;
-#line 1078 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1078 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 6530 "TumblrPublishing.c"
}
@@ -8042,37 +8042,37 @@ static glong string_strnlen (gchar* str, glong maxlen) {
glong _tmp1_ = 0L;
gchar* _tmp2_ = NULL;
gchar* _tmp3_ = NULL;
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = str;
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = maxlen;
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = memchr (_tmp0_, 0, (gsize) _tmp1_);
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
end = _tmp2_;
-#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = end;
-#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp3_ == NULL) {
#line 8037 "TumblrPublishing.c"
glong _tmp4_ = 0L;
-#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = maxlen;
-#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp4_;
-#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 8045 "TumblrPublishing.c"
} else {
gchar* _tmp5_ = NULL;
gchar* _tmp6_ = NULL;
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = end;
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6_ = str;
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = (glong) (_tmp5_ - _tmp6_);
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 8057 "TumblrPublishing.c"
}
@@ -8092,112 +8092,112 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) {
glong _tmp20_ = 0L;
glong _tmp21_ = 0L;
gchar* _tmp22_ = NULL;
-#line 1306 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1306 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = offset;
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp1_ >= ((glong) 0)) {
#line 8081 "TumblrPublishing.c"
glong _tmp2_ = 0L;
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = len;
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = _tmp2_ >= ((glong) 0);
#line 8087 "TumblrPublishing.c"
} else {
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = FALSE;
#line 8091 "TumblrPublishing.c"
}
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp0_) {
#line 8095 "TumblrPublishing.c"
glong _tmp3_ = 0L;
glong _tmp4_ = 0L;
glong _tmp5_ = 0L;
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = offset;
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = len;
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = string_strnlen ((gchar*) self, _tmp3_ + _tmp4_);
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
string_length = _tmp5_;
#line 8107 "TumblrPublishing.c"
} else {
gint _tmp6_ = 0;
gint _tmp7_ = 0;
-#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6_ = strlen (self);
-#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp7_ = _tmp6_;
-#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
string_length = (glong) _tmp7_;
#line 8117 "TumblrPublishing.c"
}
-#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp8_ = offset;
-#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp8_ < ((glong) 0)) {
#line 8123 "TumblrPublishing.c"
glong _tmp9_ = 0L;
glong _tmp10_ = 0L;
glong _tmp11_ = 0L;
-#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp9_ = string_length;
-#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp10_ = offset;
-#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
offset = _tmp9_ + _tmp10_;
-#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp11_ = offset;
-#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp11_ >= ((glong) 0), NULL);
#line 8137 "TumblrPublishing.c"
} else {
glong _tmp12_ = 0L;
glong _tmp13_ = 0L;
-#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp12_ = offset;
-#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp13_ = string_length;
-#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp12_ <= _tmp13_, NULL);
#line 8147 "TumblrPublishing.c"
}
-#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp14_ = len;
-#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp14_ < ((glong) 0)) {
#line 8153 "TumblrPublishing.c"
glong _tmp15_ = 0L;
glong _tmp16_ = 0L;
-#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp15_ = string_length;
-#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp16_ = offset;
-#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
len = _tmp15_ - _tmp16_;
#line 8162 "TumblrPublishing.c"
}
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp17_ = offset;
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp18_ = len;
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp19_ = string_length;
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail ((_tmp17_ + _tmp18_) <= _tmp19_, NULL);
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp20_ = offset;
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp21_ = len;
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp22_ = g_strndup (((gchar*) self) + _tmp20_, (gsize) _tmp21_);
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp22_;
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 8182 "TumblrPublishing.c"
}
diff --git a/plugins/shotwell-publishing-extras/YandexPublishing.c b/plugins/shotwell-publishing-extras/YandexPublishing.c
index fb0a65b..9118b93 100644
--- a/plugins/shotwell-publishing-extras/YandexPublishing.c
+++ b/plugins/shotwell-publishing-extras/YandexPublishing.c
@@ -1,4 +1,4 @@
-/* YandexPublishing.c generated by valac 0.34.2, the Vala compiler
+/* YandexPublishing.c generated by valac 0.32.1, the Vala compiler
* generated from YandexPublishing.vala, do not modify */
/* Copyright 2010+ Evgeniy Polyakov <zbr@ioremap.net>
@@ -2243,24 +2243,24 @@ GType publishing_yandex_uploader_get_type (void) {
static gchar* bool_to_string (gboolean self) {
gchar* result = NULL;
-#line 37 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 37 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (self) {
#line 2249 "YandexPublishing.c"
gchar* _tmp0_ = NULL;
-#line 38 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 38 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = g_strdup ("true");
-#line 38 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 38 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp0_;
-#line 38 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 38 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 2257 "YandexPublishing.c"
} else {
gchar* _tmp1_ = NULL;
-#line 40 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 40 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = g_strdup ("false");
-#line 40 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 40 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp1_;
-#line 40 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 40 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 2266 "YandexPublishing.c"
}
@@ -2286,39 +2286,39 @@ static guint8* string_get_data (const gchar* self, int* result_length1) {
gint _tmp3__length1 = 0;
guint8* _tmp4_ = NULL;
gint _tmp4__length1 = 0;
-#line 1398 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1398 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1399 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1399 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
res = (guint8*) self;
-#line 1399 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1399 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
res_length1 = -1;
-#line 1399 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1399 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_res_size_ = res_length1;
-#line 1400 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1400 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = strlen (self);
-#line 1400 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1400 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = _tmp0_;
-#line 1400 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1400 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
res_length1 = (gint) _tmp1_;
-#line 1400 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1400 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = res_length1;
-#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = res;
-#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3__length1 = res_length1;
-#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = _tmp3_;
-#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4__length1 = _tmp3__length1;
-#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (result_length1) {
-#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
*result_length1 = _tmp4__length1;
#line 2318 "YandexPublishing.c"
}
-#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp4_;
-#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 2324 "YandexPublishing.c"
}
diff --git a/plugins/shotwell-publishing-extras/shotwell-publishing-extras.c b/plugins/shotwell-publishing-extras/shotwell-publishing-extras.c
index db8e249..53262a3 100644
--- a/plugins/shotwell-publishing-extras/shotwell-publishing-extras.c
+++ b/plugins/shotwell-publishing-extras/shotwell-publishing-extras.c
@@ -1,4 +1,4 @@
-/* shotwell-publishing-extras.c generated by valac 0.34.2, the Vala compiler
+/* shotwell-publishing-extras.c generated by valac 0.32.1, the Vala compiler
* generated from shotwell-publishing-extras.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/plugins/shotwell-publishing/FacebookPublishing.c b/plugins/shotwell-publishing/FacebookPublishing.c
index da03420..40b85b5 100644
--- a/plugins/shotwell-publishing/FacebookPublishing.c
+++ b/plugins/shotwell-publishing/FacebookPublishing.c
@@ -1,4 +1,4 @@
-/* FacebookPublishing.c generated by valac 0.34.2, the Vala compiler
+/* FacebookPublishing.c generated by valac 0.32.1, the Vala compiler
* generated from FacebookPublishing.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -3460,35 +3460,35 @@ static gint string_index_of (const gchar* self, const gchar* needle, gint start_
const gchar* _tmp1_ = NULL;
gchar* _tmp2_ = NULL;
gchar* _tmp3_ = NULL;
-#line 987 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 987 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, 0);
-#line 987 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 987 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (needle != NULL, 0);
-#line 988 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 988 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = start_index;
-#line 988 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 988 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = needle;
-#line 988 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 988 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = strstr (((gchar*) self) + _tmp0_, (gchar*) _tmp1_);
-#line 988 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 988 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_result_ = _tmp2_;
-#line 990 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 990 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = _result_;
-#line 990 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 990 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp3_ != NULL) {
#line 3465 "FacebookPublishing.c"
gchar* _tmp4_ = NULL;
-#line 991 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 991 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = _result_;
-#line 991 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 991 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = (gint) (_tmp4_ - ((gchar*) self));
-#line 991 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 991 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 3473 "FacebookPublishing.c"
} else {
-#line 993 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 993 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = -1;
-#line 993 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 993 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 3479 "FacebookPublishing.c"
}
@@ -3512,103 +3512,103 @@ static gchar* string_slice (const gchar* self, glong start, glong end) {
glong _tmp19_ = 0L;
glong _tmp20_ = 0L;
gchar* _tmp21_ = NULL;
-#line 1328 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1328 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1329 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1329 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = strlen (self);
-#line 1329 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1329 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = _tmp0_;
-#line 1329 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1329 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
string_length = (glong) _tmp1_;
-#line 1330 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1330 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = start;
-#line 1330 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1330 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp2_ < ((glong) 0)) {
#line 3513 "FacebookPublishing.c"
glong _tmp3_ = 0L;
glong _tmp4_ = 0L;
-#line 1331 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1331 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = string_length;
-#line 1331 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1331 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = start;
-#line 1331 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1331 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
start = _tmp3_ + _tmp4_;
#line 3522 "FacebookPublishing.c"
}
-#line 1333 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1333 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = end;
-#line 1333 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1333 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp5_ < ((glong) 0)) {
#line 3528 "FacebookPublishing.c"
glong _tmp6_ = 0L;
glong _tmp7_ = 0L;
-#line 1334 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1334 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6_ = string_length;
-#line 1334 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1334 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp7_ = end;
-#line 1334 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1334 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
end = _tmp6_ + _tmp7_;
#line 3537 "FacebookPublishing.c"
}
-#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp9_ = start;
-#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp9_ >= ((glong) 0)) {
#line 3543 "FacebookPublishing.c"
glong _tmp10_ = 0L;
glong _tmp11_ = 0L;
-#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp10_ = start;
-#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp11_ = string_length;
-#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp8_ = _tmp10_ <= _tmp11_;
#line 3552 "FacebookPublishing.c"
} else {
-#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp8_ = FALSE;
#line 3556 "FacebookPublishing.c"
}
-#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp8_, NULL);
-#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp13_ = end;
-#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp13_ >= ((glong) 0)) {
#line 3564 "FacebookPublishing.c"
glong _tmp14_ = 0L;
glong _tmp15_ = 0L;
-#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp14_ = end;
-#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp15_ = string_length;
-#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp12_ = _tmp14_ <= _tmp15_;
#line 3573 "FacebookPublishing.c"
} else {
-#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp12_ = FALSE;
#line 3577 "FacebookPublishing.c"
}
-#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp12_, NULL);
-#line 1338 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1338 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp16_ = start;
-#line 1338 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1338 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp17_ = end;
-#line 1338 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1338 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp16_ <= _tmp17_, NULL);
-#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp18_ = start;
-#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp19_ = end;
-#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp20_ = start;
-#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp21_ = g_strndup (((gchar*) self) + _tmp18_, (gsize) (_tmp19_ - _tmp20_));
-#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp21_;
-#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 3599 "FacebookPublishing.c"
}
@@ -3621,33 +3621,33 @@ static gint string_index_of_char (const gchar* self, gunichar c, gint start_inde
gunichar _tmp1_ = 0U;
gchar* _tmp2_ = NULL;
gchar* _tmp3_ = NULL;
-#line 1007 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1007 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, 0);
-#line 1008 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1008 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = start_index;
-#line 1008 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1008 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = c;
-#line 1008 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1008 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = g_utf8_strchr (((gchar*) self) + _tmp0_, (gssize) -1, _tmp1_);
-#line 1008 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1008 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_result_ = _tmp2_;
-#line 1010 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1010 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = _result_;
-#line 1010 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1010 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp3_ != NULL) {
#line 3624 "FacebookPublishing.c"
gchar* _tmp4_ = NULL;
-#line 1011 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1011 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = _result_;
-#line 1011 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1011 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = (gint) (_tmp4_ - ((gchar*) self));
-#line 1011 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1011 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 3632 "FacebookPublishing.c"
} else {
-#line 1013 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1013 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = -1;
-#line 1013 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1013 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 3638 "FacebookPublishing.c"
}
@@ -3657,11 +3657,11 @@ static gint string_index_of_char (const gchar* self, gunichar c, gint start_inde
static gchar* string_replace (const gchar* self, const gchar* old, const gchar* replacement) {
gchar* result = NULL;
GError * _inner_error_ = NULL;
-#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (old != NULL, NULL);
-#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (replacement != NULL, NULL);
#line 3652 "FacebookPublishing.c"
{
@@ -3676,73 +3676,73 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar*
const gchar* _tmp7_ = NULL;
gchar* _tmp8_ = NULL;
gchar* _tmp9_ = NULL;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = old;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = g_regex_escape_string (_tmp0_, -1);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = _tmp1_;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = g_regex_new (_tmp2_, 0, 0, &_inner_error_);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = _tmp3_;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_free0 (_tmp2_);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
regex = _tmp4_;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_inner_error_->domain == G_REGEX_ERROR) {
#line 3683 "FacebookPublishing.c"
goto __catch4_g_regex_error;
}
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_clear_error (&_inner_error_);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return NULL;
#line 3692 "FacebookPublishing.c"
}
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6_ = regex;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp7_ = replacement;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp8_ = g_regex_replace_literal (_tmp6_, self, (gssize) -1, 0, _tmp7_, 0, &_inner_error_);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = _tmp8_;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_regex_unref0 (regex);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_inner_error_->domain == G_REGEX_ERROR) {
#line 3708 "FacebookPublishing.c"
goto __catch4_g_regex_error;
}
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_regex_unref0 (regex);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_clear_error (&_inner_error_);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return NULL;
#line 3719 "FacebookPublishing.c"
}
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp9_ = _tmp5_;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = NULL;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp9_;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_free0 (_tmp5_);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_regex_unref0 (regex);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 3733 "FacebookPublishing.c"
}
@@ -3750,24 +3750,24 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar*
__catch4_g_regex_error:
{
GError* e = NULL;
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
e = _inner_error_;
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_inner_error_ = NULL;
-#line 1385 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1385 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_assert_not_reached ();
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_error_free0 (e);
#line 3747 "FacebookPublishing.c"
}
__finally4:
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
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 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_clear_error (&_inner_error_);
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return NULL;
#line 3758 "FacebookPublishing.c"
}
@@ -5366,17 +5366,17 @@ static gboolean string_contains (const gchar* self, const gchar* needle) {
gboolean result = FALSE;
const gchar* _tmp0_ = NULL;
gchar* _tmp1_ = NULL;
-#line 1376 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1376 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, FALSE);
-#line 1376 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1376 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (needle != NULL, FALSE);
-#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = needle;
-#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = strstr ((gchar*) self, (gchar*) _tmp0_);
-#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp1_ != NULL;
-#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 5348 "FacebookPublishing.c"
}
@@ -9919,13 +9919,13 @@ static GType publishing_facebook_graph_session_graph_endpoint_probe_message_get_
static gchar* g_date_time_to_string (GDateTime* self) {
gchar* result = NULL;
gchar* _tmp0_ = NULL;
-#line 2834 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2785 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 2835 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2786 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = g_date_time_format (self, "%FT%H:%M:%S%z");
-#line 2835 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2786 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp0_;
-#line 2835 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2786 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 9895 "FacebookPublishing.c"
}
diff --git a/plugins/shotwell-publishing/FlickrPublishing.c b/plugins/shotwell-publishing/FlickrPublishing.c
index a6ea1f8..5ce38bd 100644
--- a/plugins/shotwell-publishing/FlickrPublishing.c
+++ b/plugins/shotwell-publishing/FlickrPublishing.c
@@ -1,4 +1,4 @@
-/* FlickrPublishing.c generated by valac 0.34.2, the Vala compiler
+/* FlickrPublishing.c generated by valac 0.32.1, the Vala compiler
* generated from FlickrPublishing.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -5492,17 +5492,17 @@ static gboolean string_contains (const gchar* self, const gchar* needle) {
gboolean result = FALSE;
const gchar* _tmp0_ = NULL;
gchar* _tmp1_ = NULL;
-#line 1376 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1376 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, FALSE);
-#line 1376 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1376 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (needle != NULL, FALSE);
-#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = needle;
-#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = strstr ((gchar*) self, (gchar*) _tmp0_);
-#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp1_ != NULL;
-#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 5471 "FlickrPublishing.c"
}
@@ -7286,37 +7286,37 @@ static glong string_strnlen (gchar* str, glong maxlen) {
glong _tmp1_ = 0L;
gchar* _tmp2_ = NULL;
gchar* _tmp3_ = NULL;
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = str;
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = maxlen;
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = memchr (_tmp0_, 0, (gsize) _tmp1_);
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
end = _tmp2_;
-#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = end;
-#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp3_ == NULL) {
#line 7260 "FlickrPublishing.c"
glong _tmp4_ = 0L;
-#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = maxlen;
-#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp4_;
-#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 7268 "FlickrPublishing.c"
} else {
gchar* _tmp5_ = NULL;
gchar* _tmp6_ = NULL;
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = end;
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6_ = str;
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = (glong) (_tmp5_ - _tmp6_);
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 7280 "FlickrPublishing.c"
}
@@ -7336,112 +7336,112 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) {
glong _tmp20_ = 0L;
glong _tmp21_ = 0L;
gchar* _tmp22_ = NULL;
-#line 1306 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1306 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = offset;
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp1_ >= ((glong) 0)) {
#line 7304 "FlickrPublishing.c"
glong _tmp2_ = 0L;
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = len;
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = _tmp2_ >= ((glong) 0);
#line 7310 "FlickrPublishing.c"
} else {
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = FALSE;
#line 7314 "FlickrPublishing.c"
}
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp0_) {
#line 7318 "FlickrPublishing.c"
glong _tmp3_ = 0L;
glong _tmp4_ = 0L;
glong _tmp5_ = 0L;
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = offset;
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = len;
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = string_strnlen ((gchar*) self, _tmp3_ + _tmp4_);
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
string_length = _tmp5_;
#line 7330 "FlickrPublishing.c"
} else {
gint _tmp6_ = 0;
gint _tmp7_ = 0;
-#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6_ = strlen (self);
-#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp7_ = _tmp6_;
-#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
string_length = (glong) _tmp7_;
#line 7340 "FlickrPublishing.c"
}
-#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp8_ = offset;
-#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp8_ < ((glong) 0)) {
#line 7346 "FlickrPublishing.c"
glong _tmp9_ = 0L;
glong _tmp10_ = 0L;
glong _tmp11_ = 0L;
-#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp9_ = string_length;
-#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp10_ = offset;
-#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
offset = _tmp9_ + _tmp10_;
-#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp11_ = offset;
-#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp11_ >= ((glong) 0), NULL);
#line 7360 "FlickrPublishing.c"
} else {
glong _tmp12_ = 0L;
glong _tmp13_ = 0L;
-#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp12_ = offset;
-#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp13_ = string_length;
-#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp12_ <= _tmp13_, NULL);
#line 7370 "FlickrPublishing.c"
}
-#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp14_ = len;
-#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp14_ < ((glong) 0)) {
#line 7376 "FlickrPublishing.c"
glong _tmp15_ = 0L;
glong _tmp16_ = 0L;
-#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp15_ = string_length;
-#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp16_ = offset;
-#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
len = _tmp15_ - _tmp16_;
#line 7385 "FlickrPublishing.c"
}
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp17_ = offset;
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp18_ = len;
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp19_ = string_length;
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail ((_tmp17_ + _tmp18_) <= _tmp19_, NULL);
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp20_ = offset;
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp21_ = len;
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp22_ = g_strndup (((gchar*) self) + _tmp20_, (gsize) _tmp21_);
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp22_;
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 7405 "FlickrPublishing.c"
}
diff --git a/plugins/shotwell-publishing/PicasaPublishing.c b/plugins/shotwell-publishing/PicasaPublishing.c
index ea3cc5f..354eaca 100644
--- a/plugins/shotwell-publishing/PicasaPublishing.c
+++ b/plugins/shotwell-publishing/PicasaPublishing.c
@@ -1,4 +1,4 @@
-/* PicasaPublishing.c generated by valac 0.34.2, the Vala compiler
+/* PicasaPublishing.c generated by valac 0.32.1, the Vala compiler
* generated from PicasaPublishing.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -3690,37 +3690,37 @@ static glong string_strnlen (gchar* str, glong maxlen) {
glong _tmp1_ = 0L;
gchar* _tmp2_ = NULL;
gchar* _tmp3_ = NULL;
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = str;
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = maxlen;
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = memchr (_tmp0_, 0, (gsize) _tmp1_);
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
end = _tmp2_;
-#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = end;
-#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp3_ == NULL) {
#line 3678 "PicasaPublishing.c"
glong _tmp4_ = 0L;
-#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = maxlen;
-#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp4_;
-#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 3686 "PicasaPublishing.c"
} else {
gchar* _tmp5_ = NULL;
gchar* _tmp6_ = NULL;
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = end;
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6_ = str;
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = (glong) (_tmp5_ - _tmp6_);
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 3698 "PicasaPublishing.c"
}
@@ -3740,112 +3740,112 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) {
glong _tmp20_ = 0L;
glong _tmp21_ = 0L;
gchar* _tmp22_ = NULL;
-#line 1306 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1306 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = offset;
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp1_ >= ((glong) 0)) {
#line 3722 "PicasaPublishing.c"
glong _tmp2_ = 0L;
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = len;
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = _tmp2_ >= ((glong) 0);
#line 3728 "PicasaPublishing.c"
} else {
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = FALSE;
#line 3732 "PicasaPublishing.c"
}
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp0_) {
#line 3736 "PicasaPublishing.c"
glong _tmp3_ = 0L;
glong _tmp4_ = 0L;
glong _tmp5_ = 0L;
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = offset;
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = len;
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = string_strnlen ((gchar*) self, _tmp3_ + _tmp4_);
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
string_length = _tmp5_;
#line 3748 "PicasaPublishing.c"
} else {
gint _tmp6_ = 0;
gint _tmp7_ = 0;
-#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6_ = strlen (self);
-#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp7_ = _tmp6_;
-#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
string_length = (glong) _tmp7_;
#line 3758 "PicasaPublishing.c"
}
-#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp8_ = offset;
-#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp8_ < ((glong) 0)) {
#line 3764 "PicasaPublishing.c"
glong _tmp9_ = 0L;
glong _tmp10_ = 0L;
glong _tmp11_ = 0L;
-#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp9_ = string_length;
-#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp10_ = offset;
-#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
offset = _tmp9_ + _tmp10_;
-#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp11_ = offset;
-#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp11_ >= ((glong) 0), NULL);
#line 3778 "PicasaPublishing.c"
} else {
glong _tmp12_ = 0L;
glong _tmp13_ = 0L;
-#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp12_ = offset;
-#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp13_ = string_length;
-#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp12_ <= _tmp13_, NULL);
#line 3788 "PicasaPublishing.c"
}
-#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp14_ = len;
-#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp14_ < ((glong) 0)) {
#line 3794 "PicasaPublishing.c"
glong _tmp15_ = 0L;
glong _tmp16_ = 0L;
-#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp15_ = string_length;
-#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp16_ = offset;
-#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
len = _tmp15_ - _tmp16_;
#line 3803 "PicasaPublishing.c"
}
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp17_ = offset;
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp18_ = len;
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp19_ = string_length;
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail ((_tmp17_ + _tmp18_) <= _tmp19_, NULL);
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp20_ = offset;
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp21_ = len;
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp22_ = g_strndup (((gchar*) self) + _tmp20_, (gsize) _tmp21_);
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp22_;
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 3823 "PicasaPublishing.c"
}
@@ -3858,72 +3858,72 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
gboolean _tmp2_ = FALSE;
gchar** _tmp3_ = NULL;
gint _tmp3__length1 = 0;
-#line 1054 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1054 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = separator;
-#line 1054 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1054 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp0_ == NULL) {
-#line 1055 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1055 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
separator = "";
#line 3840 "PicasaPublishing.c"
}
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = str_array;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3__length1 = str_array_length1;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp3_ != NULL) {
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = TRUE;
#line 3850 "PicasaPublishing.c"
} else {
gchar** _tmp4_ = NULL;
gint _tmp4__length1 = 0;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = str_array;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4__length1 = str_array_length1;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = _tmp4__length1 > 0;
#line 3860 "PicasaPublishing.c"
}
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp2_) {
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = TRUE;
#line 3866 "PicasaPublishing.c"
} else {
gboolean _tmp5_ = FALSE;
gchar** _tmp6_ = NULL;
gint _tmp6__length1 = 0;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6_ = str_array;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6__length1 = str_array_length1;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp6__length1 == -1) {
#line 3877 "PicasaPublishing.c"
gchar** _tmp7_ = NULL;
gint _tmp7__length1 = 0;
const gchar* _tmp8_ = NULL;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp7_ = str_array;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp7__length1 = str_array_length1;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp8_ = _tmp7_[0];
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = _tmp8_ != NULL;
#line 3889 "PicasaPublishing.c"
} else {
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = FALSE;
#line 3893 "PicasaPublishing.c"
}
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = _tmp5_;
#line 3897 "PicasaPublishing.c"
}
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp1_) {
#line 3901 "PicasaPublishing.c"
gint i = 0;
@@ -3946,16 +3946,16 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
const gchar* _tmp44_ = NULL;
void* _tmp45_ = NULL;
const gchar* _tmp62_ = NULL;
-#line 1059 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1059 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
len = (gsize) 1;
#line 3924 "PicasaPublishing.c"
{
gboolean _tmp9_ = FALSE;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
i = 0;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp9_ = TRUE;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
while (TRUE) {
#line 3933 "PicasaPublishing.c"
gboolean _tmp11_ = FALSE;
@@ -3968,97 +3968,97 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
gint _tmp23_ = 0;
const gchar* _tmp24_ = NULL;
gsize _tmp30_ = 0UL;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (!_tmp9_) {
#line 3946 "PicasaPublishing.c"
gint _tmp10_ = 0;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp10_ = i;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
i = _tmp10_ + 1;
#line 3952 "PicasaPublishing.c"
}
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp9_ = FALSE;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp13_ = str_array;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp13__length1 = str_array_length1;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp13__length1 != -1) {
#line 3962 "PicasaPublishing.c"
gint _tmp14_ = 0;
gchar** _tmp15_ = NULL;
gint _tmp15__length1 = 0;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp14_ = i;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp15_ = str_array;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp15__length1 = str_array_length1;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp12_ = _tmp14_ < _tmp15__length1;
#line 3974 "PicasaPublishing.c"
} else {
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp12_ = FALSE;
#line 3978 "PicasaPublishing.c"
}
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp12_) {
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp11_ = TRUE;
#line 3984 "PicasaPublishing.c"
} else {
gboolean _tmp16_ = FALSE;
gchar** _tmp17_ = NULL;
gint _tmp17__length1 = 0;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp17_ = str_array;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp17__length1 = str_array_length1;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp17__length1 == -1) {
#line 3995 "PicasaPublishing.c"
gchar** _tmp18_ = NULL;
gint _tmp18__length1 = 0;
gint _tmp19_ = 0;
const gchar* _tmp20_ = NULL;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp18_ = str_array;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp18__length1 = str_array_length1;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp19_ = i;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp20_ = _tmp18_[_tmp19_];
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp16_ = _tmp20_ != NULL;
#line 4010 "PicasaPublishing.c"
} else {
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp16_ = FALSE;
#line 4014 "PicasaPublishing.c"
}
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp11_ = _tmp16_;
#line 4018 "PicasaPublishing.c"
}
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (!_tmp11_) {
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
break;
#line 4024 "PicasaPublishing.c"
}
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp22_ = str_array;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp22__length1 = str_array_length1;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp23_ = i;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp24_ = _tmp22_[_tmp23_];
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp24_ != NULL) {
#line 4036 "PicasaPublishing.c"
gchar** _tmp25_ = NULL;
@@ -4067,91 +4067,91 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
const gchar* _tmp27_ = NULL;
gint _tmp28_ = 0;
gint _tmp29_ = 0;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp25_ = str_array;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp25__length1 = str_array_length1;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp26_ = i;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp27_ = _tmp25_[_tmp26_];
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp28_ = strlen ((const gchar*) _tmp27_);
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp29_ = _tmp28_;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp21_ = _tmp29_;
#line 4057 "PicasaPublishing.c"
} else {
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp21_ = 0;
#line 4061 "PicasaPublishing.c"
}
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp30_ = len;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
len = _tmp30_ + _tmp21_;
#line 4067 "PicasaPublishing.c"
}
}
-#line 1063 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1063 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp31_ = i;
-#line 1063 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1063 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp31_ == 0) {
#line 4074 "PicasaPublishing.c"
gchar* _tmp32_ = NULL;
-#line 1064 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1064 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp32_ = g_strdup ("");
-#line 1064 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1064 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp32_;
-#line 1064 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1064 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 4082 "PicasaPublishing.c"
}
-#line 1066 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1066 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp33_ = i;
-#line 1066 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1066 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
str_array_length1 = _tmp33_;
-#line 1066 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1066 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp34_ = str_array_length1;
-#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp35_ = len;
-#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp36_ = separator;
-#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp37_ = strlen ((const gchar*) _tmp36_);
-#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp38_ = _tmp37_;
-#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp39_ = i;
-#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
len = _tmp35_ + (_tmp38_ * (_tmp39_ - 1));
-#line 1069 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1069 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp40_ = len;
-#line 1069 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1069 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp41_ = g_malloc (_tmp40_);
-#line 1069 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1069 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
res = _tmp41_;
-#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp42_ = res;
-#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp43_ = str_array;
-#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp43__length1 = str_array_length1;
-#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp44_ = _tmp43_[0];
-#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp45_ = g_stpcpy ((void*) _tmp42_, (const gchar*) _tmp44_);
-#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
ptr = _tmp45_;
#line 4120 "PicasaPublishing.c"
{
gboolean _tmp46_ = FALSE;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
i = 1;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp46_ = TRUE;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
while (TRUE) {
#line 4129 "PicasaPublishing.c"
gint _tmp48_ = 0;
@@ -4167,94 +4167,94 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
const gchar* _tmp56_ = NULL;
void* _tmp60_ = NULL;
void* _tmp61_ = NULL;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (!_tmp46_) {
#line 4145 "PicasaPublishing.c"
gint _tmp47_ = 0;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp47_ = i;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
i = _tmp47_ + 1;
#line 4151 "PicasaPublishing.c"
}
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp46_ = FALSE;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp48_ = i;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp49_ = str_array;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp49__length1 = str_array_length1;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (!(_tmp48_ < _tmp49__length1)) {
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
break;
#line 4165 "PicasaPublishing.c"
}
-#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp50_ = ptr;
-#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp51_ = separator;
-#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp52_ = g_stpcpy (_tmp50_, (const gchar*) _tmp51_);
-#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
ptr = _tmp52_;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp54_ = str_array;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp54__length1 = str_array_length1;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp55_ = i;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp56_ = _tmp54_[_tmp55_];
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp56_ != NULL) {
#line 4185 "PicasaPublishing.c"
gchar** _tmp57_ = NULL;
gint _tmp57__length1 = 0;
gint _tmp58_ = 0;
const gchar* _tmp59_ = NULL;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp57_ = str_array;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp57__length1 = str_array_length1;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp58_ = i;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp59_ = _tmp57_[_tmp58_];
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp53_ = (const gchar*) _tmp59_;
#line 4200 "PicasaPublishing.c"
} else {
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp53_ = "";
#line 4204 "PicasaPublishing.c"
}
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp60_ = ptr;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp61_ = g_stpcpy (_tmp60_, _tmp53_);
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
ptr = _tmp61_;
#line 4212 "PicasaPublishing.c"
}
}
-#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp62_ = res;
-#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
res = NULL;
-#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = (gchar*) _tmp62_;
-#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 4223 "PicasaPublishing.c"
} else {
gchar* _tmp63_ = NULL;
-#line 1078 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1078 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp63_ = g_strdup ("");
-#line 1078 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1078 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp63_;
-#line 1078 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1078 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 4232 "PicasaPublishing.c"
}
@@ -4273,39 +4273,39 @@ static guint8* string_get_data (const gchar* self, int* result_length1) {
gint _tmp3__length1 = 0;
guint8* _tmp4_ = NULL;
gint _tmp4__length1 = 0;
-#line 1398 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1398 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1399 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1399 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
res = (guint8*) self;
-#line 1399 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1399 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
res_length1 = -1;
-#line 1399 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1399 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_res_size_ = res_length1;
-#line 1400 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1400 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = strlen (self);
-#line 1400 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1400 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = _tmp0_;
-#line 1400 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1400 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
res_length1 = (gint) _tmp1_;
-#line 1400 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1400 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = res_length1;
-#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = res;
-#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3__length1 = res_length1;
-#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = _tmp3_;
-#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4__length1 = _tmp3__length1;
-#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (result_length1) {
-#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
*result_length1 = _tmp4__length1;
#line 4277 "PicasaPublishing.c"
}
-#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp4_;
-#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 4283 "PicasaPublishing.c"
}
@@ -5798,19 +5798,19 @@ static gchar* string_strip (const gchar* self) {
gchar* _result_ = NULL;
gchar* _tmp0_ = NULL;
const gchar* _tmp1_ = NULL;
-#line 1207 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1207 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1208 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1208 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = g_strdup (self);
-#line 1208 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1208 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_result_ = _tmp0_;
-#line 1209 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1209 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = _result_;
-#line 1209 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1209 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_strstrip (_tmp1_);
-#line 1210 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1210 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _result_;
-#line 1210 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1210 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 5788 "PicasaPublishing.c"
}
@@ -6973,11 +6973,11 @@ gchar* publishing_picasa_publishing_parameters_get_target_album_entry_url (Publi
static gchar* string_replace (const gchar* self, const gchar* old, const gchar* replacement) {
gchar* result = NULL;
GError * _inner_error_ = NULL;
-#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (old != NULL, NULL);
-#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (replacement != NULL, NULL);
#line 6955 "PicasaPublishing.c"
{
@@ -6992,73 +6992,73 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar*
const gchar* _tmp7_ = NULL;
gchar* _tmp8_ = NULL;
gchar* _tmp9_ = NULL;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = old;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = g_regex_escape_string (_tmp0_, -1);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = _tmp1_;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = g_regex_new (_tmp2_, 0, 0, &_inner_error_);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = _tmp3_;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_free0 (_tmp2_);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
regex = _tmp4_;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_inner_error_->domain == G_REGEX_ERROR) {
#line 6986 "PicasaPublishing.c"
goto __catch15_g_regex_error;
}
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_clear_error (&_inner_error_);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return NULL;
#line 6995 "PicasaPublishing.c"
}
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6_ = regex;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp7_ = replacement;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp8_ = g_regex_replace_literal (_tmp6_, self, (gssize) -1, 0, _tmp7_, 0, &_inner_error_);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = _tmp8_;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_regex_unref0 (regex);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_inner_error_->domain == G_REGEX_ERROR) {
#line 7011 "PicasaPublishing.c"
goto __catch15_g_regex_error;
}
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_regex_unref0 (regex);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_clear_error (&_inner_error_);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return NULL;
#line 7022 "PicasaPublishing.c"
}
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp9_ = _tmp5_;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = NULL;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp9_;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_free0 (_tmp5_);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_regex_unref0 (regex);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 7036 "PicasaPublishing.c"
}
@@ -7066,24 +7066,24 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar*
__catch15_g_regex_error:
{
GError* e = NULL;
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
e = _inner_error_;
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_inner_error_ = NULL;
-#line 1385 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1385 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_assert_not_reached ();
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_error_free0 (e);
#line 7050 "PicasaPublishing.c"
}
__finally15:
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
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 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_clear_error (&_inner_error_);
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return NULL;
#line 7061 "PicasaPublishing.c"
}
diff --git a/plugins/shotwell-publishing/PiwigoPublishing.c b/plugins/shotwell-publishing/PiwigoPublishing.c
index 87af607..8d06afe 100644
--- a/plugins/shotwell-publishing/PiwigoPublishing.c
+++ b/plugins/shotwell-publishing/PiwigoPublishing.c
@@ -1,4 +1,4 @@
-/* PiwigoPublishing.c generated by valac 0.34.2, the Vala compiler
+/* PiwigoPublishing.c generated by valac 0.32.1, the Vala compiler
* generated from PiwigoPublishing.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -5655,19 +5655,19 @@ static gchar* string_strip (const gchar* self) {
gchar* _result_ = NULL;
gchar* _tmp0_ = NULL;
const gchar* _tmp1_ = NULL;
-#line 1207 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1207 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1208 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1208 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = g_strdup (self);
-#line 1208 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1208 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_result_ = _tmp0_;
-#line 1209 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1209 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = _result_;
-#line 1209 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1209 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_strstrip (_tmp1_);
-#line 1210 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1210 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _result_;
-#line 1210 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1210 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 5664 "PiwigoPublishing.c"
}
@@ -12238,72 +12238,72 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
gboolean _tmp2_ = FALSE;
gchar** _tmp3_ = NULL;
gint _tmp3__length1 = 0;
-#line 1054 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1054 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = separator;
-#line 1054 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1054 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp0_ == NULL) {
-#line 1055 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1055 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
separator = "";
#line 12233 "PiwigoPublishing.c"
}
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = str_array;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3__length1 = str_array_length1;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp3_ != NULL) {
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = TRUE;
#line 12243 "PiwigoPublishing.c"
} else {
gchar** _tmp4_ = NULL;
gint _tmp4__length1 = 0;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = str_array;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4__length1 = str_array_length1;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = _tmp4__length1 > 0;
#line 12253 "PiwigoPublishing.c"
}
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp2_) {
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = TRUE;
#line 12259 "PiwigoPublishing.c"
} else {
gboolean _tmp5_ = FALSE;
gchar** _tmp6_ = NULL;
gint _tmp6__length1 = 0;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6_ = str_array;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6__length1 = str_array_length1;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp6__length1 == -1) {
#line 12270 "PiwigoPublishing.c"
gchar** _tmp7_ = NULL;
gint _tmp7__length1 = 0;
const gchar* _tmp8_ = NULL;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp7_ = str_array;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp7__length1 = str_array_length1;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp8_ = _tmp7_[0];
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = _tmp8_ != NULL;
#line 12282 "PiwigoPublishing.c"
} else {
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = FALSE;
#line 12286 "PiwigoPublishing.c"
}
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = _tmp5_;
#line 12290 "PiwigoPublishing.c"
}
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp1_) {
#line 12294 "PiwigoPublishing.c"
gint i = 0;
@@ -12326,16 +12326,16 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
const gchar* _tmp44_ = NULL;
void* _tmp45_ = NULL;
const gchar* _tmp62_ = NULL;
-#line 1059 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1059 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
len = (gsize) 1;
#line 12317 "PiwigoPublishing.c"
{
gboolean _tmp9_ = FALSE;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
i = 0;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp9_ = TRUE;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
while (TRUE) {
#line 12326 "PiwigoPublishing.c"
gboolean _tmp11_ = FALSE;
@@ -12348,97 +12348,97 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
gint _tmp23_ = 0;
const gchar* _tmp24_ = NULL;
gsize _tmp30_ = 0UL;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (!_tmp9_) {
#line 12339 "PiwigoPublishing.c"
gint _tmp10_ = 0;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp10_ = i;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
i = _tmp10_ + 1;
#line 12345 "PiwigoPublishing.c"
}
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp9_ = FALSE;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp13_ = str_array;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp13__length1 = str_array_length1;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp13__length1 != -1) {
#line 12355 "PiwigoPublishing.c"
gint _tmp14_ = 0;
gchar** _tmp15_ = NULL;
gint _tmp15__length1 = 0;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp14_ = i;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp15_ = str_array;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp15__length1 = str_array_length1;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp12_ = _tmp14_ < _tmp15__length1;
#line 12367 "PiwigoPublishing.c"
} else {
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp12_ = FALSE;
#line 12371 "PiwigoPublishing.c"
}
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp12_) {
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp11_ = TRUE;
#line 12377 "PiwigoPublishing.c"
} else {
gboolean _tmp16_ = FALSE;
gchar** _tmp17_ = NULL;
gint _tmp17__length1 = 0;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp17_ = str_array;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp17__length1 = str_array_length1;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp17__length1 == -1) {
#line 12388 "PiwigoPublishing.c"
gchar** _tmp18_ = NULL;
gint _tmp18__length1 = 0;
gint _tmp19_ = 0;
const gchar* _tmp20_ = NULL;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp18_ = str_array;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp18__length1 = str_array_length1;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp19_ = i;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp20_ = _tmp18_[_tmp19_];
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp16_ = _tmp20_ != NULL;
#line 12403 "PiwigoPublishing.c"
} else {
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp16_ = FALSE;
#line 12407 "PiwigoPublishing.c"
}
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp11_ = _tmp16_;
#line 12411 "PiwigoPublishing.c"
}
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (!_tmp11_) {
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
break;
#line 12417 "PiwigoPublishing.c"
}
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp22_ = str_array;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp22__length1 = str_array_length1;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp23_ = i;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp24_ = _tmp22_[_tmp23_];
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp24_ != NULL) {
#line 12429 "PiwigoPublishing.c"
gchar** _tmp25_ = NULL;
@@ -12447,91 +12447,91 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
const gchar* _tmp27_ = NULL;
gint _tmp28_ = 0;
gint _tmp29_ = 0;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp25_ = str_array;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp25__length1 = str_array_length1;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp26_ = i;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp27_ = _tmp25_[_tmp26_];
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp28_ = strlen ((const gchar*) _tmp27_);
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp29_ = _tmp28_;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp21_ = _tmp29_;
#line 12450 "PiwigoPublishing.c"
} else {
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp21_ = 0;
#line 12454 "PiwigoPublishing.c"
}
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp30_ = len;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
len = _tmp30_ + _tmp21_;
#line 12460 "PiwigoPublishing.c"
}
}
-#line 1063 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1063 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp31_ = i;
-#line 1063 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1063 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp31_ == 0) {
#line 12467 "PiwigoPublishing.c"
gchar* _tmp32_ = NULL;
-#line 1064 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1064 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp32_ = g_strdup ("");
-#line 1064 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1064 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp32_;
-#line 1064 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1064 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 12475 "PiwigoPublishing.c"
}
-#line 1066 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1066 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp33_ = i;
-#line 1066 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1066 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
str_array_length1 = _tmp33_;
-#line 1066 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1066 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp34_ = str_array_length1;
-#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp35_ = len;
-#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp36_ = separator;
-#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp37_ = strlen ((const gchar*) _tmp36_);
-#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp38_ = _tmp37_;
-#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp39_ = i;
-#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
len = _tmp35_ + (_tmp38_ * (_tmp39_ - 1));
-#line 1069 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1069 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp40_ = len;
-#line 1069 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1069 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp41_ = g_malloc (_tmp40_);
-#line 1069 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1069 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
res = _tmp41_;
-#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp42_ = res;
-#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp43_ = str_array;
-#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp43__length1 = str_array_length1;
-#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp44_ = _tmp43_[0];
-#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp45_ = g_stpcpy ((void*) _tmp42_, (const gchar*) _tmp44_);
-#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
ptr = _tmp45_;
#line 12513 "PiwigoPublishing.c"
{
gboolean _tmp46_ = FALSE;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
i = 1;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp46_ = TRUE;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
while (TRUE) {
#line 12522 "PiwigoPublishing.c"
gint _tmp48_ = 0;
@@ -12547,94 +12547,94 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
const gchar* _tmp56_ = NULL;
void* _tmp60_ = NULL;
void* _tmp61_ = NULL;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (!_tmp46_) {
#line 12538 "PiwigoPublishing.c"
gint _tmp47_ = 0;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp47_ = i;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
i = _tmp47_ + 1;
#line 12544 "PiwigoPublishing.c"
}
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp46_ = FALSE;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp48_ = i;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp49_ = str_array;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp49__length1 = str_array_length1;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (!(_tmp48_ < _tmp49__length1)) {
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
break;
#line 12558 "PiwigoPublishing.c"
}
-#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp50_ = ptr;
-#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp51_ = separator;
-#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp52_ = g_stpcpy (_tmp50_, (const gchar*) _tmp51_);
-#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
ptr = _tmp52_;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp54_ = str_array;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp54__length1 = str_array_length1;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp55_ = i;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp56_ = _tmp54_[_tmp55_];
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp56_ != NULL) {
#line 12578 "PiwigoPublishing.c"
gchar** _tmp57_ = NULL;
gint _tmp57__length1 = 0;
gint _tmp58_ = 0;
const gchar* _tmp59_ = NULL;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp57_ = str_array;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp57__length1 = str_array_length1;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp58_ = i;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp59_ = _tmp57_[_tmp58_];
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp53_ = (const gchar*) _tmp59_;
#line 12593 "PiwigoPublishing.c"
} else {
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp53_ = "";
#line 12597 "PiwigoPublishing.c"
}
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp60_ = ptr;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp61_ = g_stpcpy (_tmp60_, _tmp53_);
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
ptr = _tmp61_;
#line 12605 "PiwigoPublishing.c"
}
}
-#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp62_ = res;
-#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
res = NULL;
-#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = (gchar*) _tmp62_;
-#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 12616 "PiwigoPublishing.c"
} else {
gchar* _tmp63_ = NULL;
-#line 1078 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1078 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp63_ = g_strdup ("");
-#line 1078 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1078 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp63_;
-#line 1078 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1078 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 12625 "PiwigoPublishing.c"
}
diff --git a/plugins/shotwell-publishing/YouTubePublishing.c b/plugins/shotwell-publishing/YouTubePublishing.c
index f1adc38..4d842f6 100644
--- a/plugins/shotwell-publishing/YouTubePublishing.c
+++ b/plugins/shotwell-publishing/YouTubePublishing.c
@@ -1,4 +1,4 @@
-/* YouTubePublishing.c generated by valac 0.34.2, the Vala compiler
+/* YouTubePublishing.c generated by valac 0.32.1, the Vala compiler
* generated from YouTubePublishing.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -3720,39 +3720,39 @@ static guint8* string_get_data (const gchar* self, int* result_length1) {
gint _tmp3__length1 = 0;
guint8* _tmp4_ = NULL;
gint _tmp4__length1 = 0;
-#line 1398 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1398 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1399 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1399 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
res = (guint8*) self;
-#line 1399 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1399 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
res_length1 = -1;
-#line 1399 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1399 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_res_size_ = res_length1;
-#line 1400 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1400 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = strlen (self);
-#line 1400 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1400 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = _tmp0_;
-#line 1400 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1400 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
res_length1 = (gint) _tmp1_;
-#line 1400 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1400 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = res_length1;
-#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = res;
-#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3__length1 = res_length1;
-#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = _tmp3_;
-#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4__length1 = _tmp3__length1;
-#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (result_length1) {
-#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
*result_length1 = _tmp4__length1;
#line 3718 "YouTubePublishing.c"
}
-#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp4_;
-#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 3724 "YouTubePublishing.c"
}
diff --git a/plugins/shotwell-publishing/shotwell-publishing.c b/plugins/shotwell-publishing/shotwell-publishing.c
index 13cf81d..c5b6a4b 100644
--- a/plugins/shotwell-publishing/shotwell-publishing.c
+++ b/plugins/shotwell-publishing/shotwell-publishing.c
@@ -1,4 +1,4 @@
-/* shotwell-publishing.c generated by valac 0.34.2, the Vala compiler
+/* shotwell-publishing.c generated by valac 0.32.1, the Vala compiler
* generated from shotwell-publishing.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/plugins/shotwell-transitions/BlindsEffect.c b/plugins/shotwell-transitions/BlindsEffect.c
index f6b5ef0..a8fa711 100644
--- a/plugins/shotwell-transitions/BlindsEffect.c
+++ b/plugins/shotwell-transitions/BlindsEffect.c
@@ -1,4 +1,4 @@
-/* BlindsEffect.c generated by valac 0.34.2, the Vala compiler
+/* BlindsEffect.c generated by valac 0.32.1, the Vala compiler
* generated from BlindsEffect.vala, do not modify */
/* Copyright 2013 Jens Bav
diff --git a/plugins/shotwell-transitions/ChessEffect.c b/plugins/shotwell-transitions/ChessEffect.c
index d0a3631..a59a2e6 100644
--- a/plugins/shotwell-transitions/ChessEffect.c
+++ b/plugins/shotwell-transitions/ChessEffect.c
@@ -1,4 +1,4 @@
-/* ChessEffect.c generated by valac 0.34.2, the Vala compiler
+/* ChessEffect.c generated by valac 0.32.1, the Vala compiler
* generated from ChessEffect.vala, do not modify */
/* Copyright 2013 Jens Bav
diff --git a/plugins/shotwell-transitions/CircleEffect.c b/plugins/shotwell-transitions/CircleEffect.c
index 7edfb12..0bd66ef 100644
--- a/plugins/shotwell-transitions/CircleEffect.c
+++ b/plugins/shotwell-transitions/CircleEffect.c
@@ -1,4 +1,4 @@
-/* CircleEffect.c generated by valac 0.34.2, the Vala compiler
+/* CircleEffect.c generated by valac 0.32.1, the Vala compiler
* generated from CircleEffect.vala, do not modify */
/* Copyright 2013 Jens Bav
diff --git a/plugins/shotwell-transitions/CirclesEffect.c b/plugins/shotwell-transitions/CirclesEffect.c
index d588136..542de61 100644
--- a/plugins/shotwell-transitions/CirclesEffect.c
+++ b/plugins/shotwell-transitions/CirclesEffect.c
@@ -1,4 +1,4 @@
-/* CirclesEffect.c generated by valac 0.34.2, the Vala compiler
+/* CirclesEffect.c generated by valac 0.32.1, the Vala compiler
* generated from CirclesEffect.vala, do not modify */
/* Copyright 2013 Jens Bav
diff --git a/plugins/shotwell-transitions/ClockEffect.c b/plugins/shotwell-transitions/ClockEffect.c
index b5e7927..3074f40 100644
--- a/plugins/shotwell-transitions/ClockEffect.c
+++ b/plugins/shotwell-transitions/ClockEffect.c
@@ -1,4 +1,4 @@
-/* ClockEffect.c generated by valac 0.34.2, the Vala compiler
+/* ClockEffect.c generated by valac 0.32.1, the Vala compiler
* generated from ClockEffect.vala, do not modify */
/* Copyright 2013 Jens Bav
diff --git a/plugins/shotwell-transitions/CrumbleEffect.c b/plugins/shotwell-transitions/CrumbleEffect.c
index 55b5df9..4fab4db 100644
--- a/plugins/shotwell-transitions/CrumbleEffect.c
+++ b/plugins/shotwell-transitions/CrumbleEffect.c
@@ -1,4 +1,4 @@
-/* CrumbleEffect.c generated by valac 0.34.2, the Vala compiler
+/* CrumbleEffect.c generated by valac 0.32.1, the Vala compiler
* generated from CrumbleEffect.vala, do not modify */
/* Copyright 2010 Maxim Kartashev
diff --git a/plugins/shotwell-transitions/FadeEffect.c b/plugins/shotwell-transitions/FadeEffect.c
index 6586c42..132f3d6 100644
--- a/plugins/shotwell-transitions/FadeEffect.c
+++ b/plugins/shotwell-transitions/FadeEffect.c
@@ -1,4 +1,4 @@
-/* FadeEffect.c generated by valac 0.34.2, the Vala compiler
+/* FadeEffect.c generated by valac 0.32.1, the Vala compiler
* generated from FadeEffect.vala, do not modify */
/* Copyright 2010 Maxim Kartashev
diff --git a/plugins/shotwell-transitions/SlideEffect.c b/plugins/shotwell-transitions/SlideEffect.c
index 4c7b96e..1fa1cd3 100644
--- a/plugins/shotwell-transitions/SlideEffect.c
+++ b/plugins/shotwell-transitions/SlideEffect.c
@@ -1,4 +1,4 @@
-/* SlideEffect.c generated by valac 0.34.2, the Vala compiler
+/* SlideEffect.c generated by valac 0.32.1, the Vala compiler
* generated from SlideEffect.vala, do not modify */
/* Copyright 2010 Maxim Kartashev
diff --git a/plugins/shotwell-transitions/SquaresEffect.c b/plugins/shotwell-transitions/SquaresEffect.c
index 6a3fcfd..29fab0c 100644
--- a/plugins/shotwell-transitions/SquaresEffect.c
+++ b/plugins/shotwell-transitions/SquaresEffect.c
@@ -1,4 +1,4 @@
-/* SquaresEffect.c generated by valac 0.34.2, the Vala compiler
+/* SquaresEffect.c generated by valac 0.32.1, the Vala compiler
* generated from SquaresEffect.vala, do not modify */
/* Copyright 2013 Jens Bav
diff --git a/plugins/shotwell-transitions/StripesEffect.c b/plugins/shotwell-transitions/StripesEffect.c
index 0d2bb9b..c6e802d 100644
--- a/plugins/shotwell-transitions/StripesEffect.c
+++ b/plugins/shotwell-transitions/StripesEffect.c
@@ -1,4 +1,4 @@
-/* StripesEffect.c generated by valac 0.34.2, the Vala compiler
+/* StripesEffect.c generated by valac 0.32.1, the Vala compiler
* generated from StripesEffect.vala, do not modify */
/* Copyright 2013 Jens Bav
diff --git a/plugins/shotwell-transitions/shotwell-transitions.c b/plugins/shotwell-transitions/shotwell-transitions.c
index 8f54fcf..7e6d981 100644
--- a/plugins/shotwell-transitions/shotwell-transitions.c
+++ b/plugins/shotwell-transitions/shotwell-transitions.c
@@ -1,4 +1,4 @@
-/* shotwell-transitions.c generated by valac 0.34.2, the Vala compiler
+/* shotwell-transitions.c generated by valac 0.32.1, the Vala compiler
* generated from shotwell-transitions.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 4d7e209..aeb14af 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -106,6 +106,7 @@ src/slideshow/TransitionEffects.vala
src/tags/Branch.vala
src/Tag.vala
src/VideoSupport.vala
+ui/appmenu.ui
ui/collection.ui
ui/direct_context.ui
ui/direct.ui
diff --git a/po/cs.gmo b/po/cs.gmo
index d4fce83..a977e62 100644
--- a/po/cs.gmo
+++ b/po/cs.gmo
Binary files differ
diff --git a/po/cs.po b/po/cs.po
index 95d3c04..75e0238 100644
--- a/po/cs.po
+++ b/po/cs.po
@@ -17,8 +17,8 @@ msgstr ""
"Project-Id-Version: shotwell\n"
"Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?"
"product=shotwell&keywords=I18N+L10N&component=Internationalization\n"
-"POT-Creation-Date: 2016-11-16 22:10+0000\n"
-"PO-Revision-Date: 2016-11-17 11:21+0100\n"
+"POT-Creation-Date: 2016-11-22 12:27+0000\n"
+"PO-Revision-Date: 2016-11-22 13:25+0100\n"
"Last-Translator: Marek Černocký <marek@manet.cz>\n"
"Language-Team: čeština <gnome-cs-list@gnome.org>\n"
"Language: cs\n"
@@ -1385,7 +1385,7 @@ msgstr ""
msgid "Visit the Shotwell home page"
msgstr "Navštívit web aplikace Shotwell"
-#: plugins/common/Resources.vala:31 src/AppWindow.vala:593
+#: plugins/common/Resources.vala:31 src/AppWindow.vala:602
msgid "translator-credits"
msgstr ""
"David Štancl <dstancl@dstancl.cz>\n"
@@ -1574,7 +1574,7 @@ msgstr "Jít _zpět"
#: plugins/shotwell-publishing-extras/gallery3_authentication_pane.ui:8
#: plugins/shotwell-publishing-extras/gallery3_authentication_pane.ui:145
-#: ui/shotwell.ui:1627
+#: ui/shotwell.ui:1464
msgid "_Log in"
msgstr "_Přihlásit se"
@@ -1619,7 +1619,7 @@ msgstr "_Odhlásit"
#: plugins/shotwell-publishing/flickr_publishing_options_pane.ui:153
#: plugins/shotwell-publishing/picasa_publishing_options_pane.ui:243
#: plugins/shotwell-publishing/youtube_publishing_options_pane.ui:115
-#: src/CollectionPage.vala:76 src/PhotoPage.vala:2454
+#: src/CollectionPage.vala:76 src/PhotoPage.vala:2456
msgid "_Publish"
msgstr "_Zveřejnit"
@@ -2230,7 +2230,7 @@ msgid "Google+ (2048 × 1536 pixels)"
msgstr "Google+ (2048 × 1536 pixelů)"
#: plugins/shotwell-publishing/PicasaPublishing.vala:750
-#: src/editing_tools/EditingTools.vala:755
+#: src/editing_tools/EditingTools.vala:752
msgid "Original Size"
msgstr "Původní velikost"
@@ -2502,27 +2502,28 @@ msgstr "Nelze nastavit složku %s jako zapisovatelnou"
msgid "Could not make directory %s writable: %s"
msgstr "Nelze nastavit složku %s jako zapisovatelnou: %s"
-#: src/AppWindow.vala:45
+#: src/AppWindow.vala:47
msgid "Pin Toolbar"
msgstr "Připíchnout lištu"
-#: src/AppWindow.vala:46
+#: src/AppWindow.vala:48
msgid "Pin the toolbar open"
msgstr "Připíchnout otevřenou nástrojovou lištu"
-#: src/AppWindow.vala:51
+#: src/AppWindow.vala:53
msgid "Leave fullscreen"
msgstr "Opustit režim celé obrazovky"
-#: src/AppWindow.vala:522 src/AppWindow.vala:543 src/AppWindow.vala:560
-#: src/data_imports/DataImportsUI.vala:413 src/Dialogs.vala:20
-#: src/Dialogs.vala:28 src/Dialogs.vala:1441 src/Dialogs.vala:1464
-#: src/publishing/PublishingUI.vala:296 src/publishing/PublishingUI.vala:524
+#: src/AppWindow.vala:531 src/AppWindow.vala:552 src/AppWindow.vala:569
+#: src/data_imports/DataImportsUI.vala:301
+#: src/data_imports/DataImportsUI.vala:419 src/Dialogs.vala:20
+#: src/Dialogs.vala:28 src/Dialogs.vala:1430 src/Dialogs.vala:1453
+#: src/publishing/PublishingUI.vala:301 src/publishing/PublishingUI.vala:525
#: src/Resources.vala:157
msgid "_Cancel"
msgstr "_Zrušit"
-#: src/AppWindow.vala:570
+#: src/AppWindow.vala:579
#, c-format
msgid ""
"A fatal error occurred when accessing Shotwell’s library. Shotwell cannot "
@@ -2535,21 +2536,21 @@ msgstr ""
"\n"
"%s"
-#: src/AppWindow.vala:590
+#: src/AppWindow.vala:599
msgid "Visit the Shotwell web site"
msgstr "Navštívit web aplikace Shotwell"
-#: src/AppWindow.vala:602
+#: src/AppWindow.vala:611
#, c-format
msgid "Unable to display help: %s"
msgstr "Nelze zobrazit nápovědu: %s"
-#: src/AppWindow.vala:610
+#: src/AppWindow.vala:619
#, c-format
msgid "Unable to navigate to bug database: %s"
msgstr "Nelze se připojit k databázi chyb: %s"
-#: src/AppWindow.vala:618
+#: src/AppWindow.vala:627
#, c-format
msgid "Unable to display FAQ: %s"
msgstr "Nelze zobrazit časté dotazy a odpovědi: %s"
@@ -2626,7 +2627,7 @@ msgstr "Fotoaparáty"
msgid "Camera"
msgstr "Fotoaparát"
-#: src/camera/ImportPage.vala:311 src/Properties.vala:227
+#: src/camera/ImportPage.vala:311 src/Properties.vala:230
msgid "RAW+JPEG"
msgstr "RAW + JPEG"
@@ -2750,7 +2751,7 @@ msgstr[0] "Smazat tento soubor z fotoaparátu?"
msgstr[1] "Smazat tyto %d soubory z fotoaparátu?"
msgstr[2] "Smazat těchto %d souborů z fotoaparátu?"
-#: src/camera/ImportPage.vala:1731 src/Dialogs.vala:1408
+#: src/camera/ImportPage.vala:1731 src/Dialogs.vala:1397
msgid "_Keep"
msgstr "_Zachovat"
@@ -2767,17 +2768,17 @@ 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:74 src/direct/DirectPhotoPage.vala:78
-#: src/PhotoPage.vala:2449 src/Resources.vala:170
+#: src/PhotoPage.vala:2451 src/Resources.vala:170
msgid "_Print"
msgstr "_Tisk"
#: src/CollectionPage.vala:77 src/Resources.vala:323 ui/collection.ui:126
-#: ui/direct_context.ui:26 ui/direct.ui:23 ui/event.ui:563 ui/photo.ui:28
+#: ui/direct_context.ui:25 ui/direct.ui:23 ui/event.ui:563 ui/photo.ui:28
msgid "Send _To…"
msgstr "Odesla_t…"
#: src/CollectionPage.vala:78 src/direct/DirectPhotoPage.vala:83
-#: src/PhotoPage.vala:2459 src/Resources.vala:220
+#: src/PhotoPage.vala:2461 src/Resources.vala:220
msgid "Set as _Desktop Background"
msgstr "Nastavit jako poza_dí plochy"
@@ -2814,13 +2815,13 @@ msgid "Flip Verti_cally"
msgstr "Překlopit s_visle"
#: src/CollectionPage.vala:113 src/Resources.vala:186 ui/collection.ui:8
-#: ui/direct_context.ui:10 ui/direct.ui:134 ui/event.ui:445
+#: ui/direct_context.ui:9 ui/direct.ui:134 ui/event.ui:445
#: ui/photo_context.ui:6 ui/photo.ui:223
msgid "_Enhance"
msgstr "_Vylepšit"
#: src/CollectionPage.vala:114 src/Resources.vala:214 ui/collection.ui:13
-#: ui/direct_context.ui:15 ui/direct.ui:161 ui/event.ui:450
+#: ui/direct_context.ui:14 ui/direct.ui:161 ui/event.ui:450
#: ui/photo_context.ui:11 ui/photo.ui:250
msgid "Re_vert to Original"
msgstr "_Vrátit zpět na původní"
@@ -2850,43 +2851,43 @@ msgstr "Otevřít v editoru RA_W"
msgid "_Play"
msgstr "_Přehrát"
-#: src/CollectionPage.vala:399
+#: src/CollectionPage.vala:404
msgid "Export Photo/Video"
msgstr "Export fotografie/videa"
-#: src/CollectionPage.vala:399
+#: src/CollectionPage.vala:404
msgid "Export Photos/Videos"
msgstr "Export fotografií/videí"
-#: src/CollectionPage.vala:401 src/Dialogs.vala:59 src/PhotoPage.vala:2986
+#: src/CollectionPage.vala:406 src/Dialogs.vala:59 src/PhotoPage.vala:2988
msgid "Export Photo"
msgstr "Export fotografie"
-#: src/CollectionPage.vala:401 src/Dialogs.vala:84
+#: src/CollectionPage.vala:406 src/Dialogs.vala:84
msgid "Export Photos"
msgstr "Export fotografií"
-#: src/CollectionPage.vala:488 src/CollectionPage.vala:504
+#: src/CollectionPage.vala:493 src/CollectionPage.vala:509
msgid "Rotating"
msgstr "Otáčí se"
-#: src/CollectionPage.vala:488 src/CollectionPage.vala:504
+#: src/CollectionPage.vala:493 src/CollectionPage.vala:509
msgid "Undoing Rotate"
msgstr "Vrací se zpět otočení"
-#: src/CollectionPage.vala:513
+#: src/CollectionPage.vala:518
msgid "Flipping Horizontally"
msgstr "Překlápí se vodorovně"
-#: src/CollectionPage.vala:514
+#: src/CollectionPage.vala:519
msgid "Undoing Flip Horizontally"
msgstr "Vrací se zpět vodorovné překlopení"
-#: src/CollectionPage.vala:523
+#: src/CollectionPage.vala:528
msgid "Flipping Vertically"
msgstr "Překlápí se svisle"
-#: src/CollectionPage.vala:524
+#: src/CollectionPage.vala:529
msgid "Undoing Flip Vertically"
msgstr "Vrací se zpět svislé překlopení"
@@ -3115,7 +3116,7 @@ msgstr "Import z aplikace"
msgid "Import media _from:"
msgstr "Importovat _multimédia z:"
-#: src/data_imports/DataImportsUI.vala:408 src/publishing/PublishingUI.vala:519
+#: src/data_imports/DataImportsUI.vala:414 src/publishing/PublishingUI.vala:520
msgid "_Close"
msgstr "_Zavřít"
@@ -3184,9 +3185,9 @@ msgstr[0] "Tím odstraníte štítek „%s“ z jedné fotografie. Pokračovat?"
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:1409
+#: src/Dialogs.vala:20 src/Dialogs.vala:28 src/Dialogs.vala:1398
#: src/Resources.vala:158 src/Resources.vala:361 src/Resources.vala:414
-#: src/Resources.vala:658 ui/savedsearch.ui:16 ui/trash.ui:63 ui/trash.ui:216
+#: src/Resources.vala:658 ui/savedsearch.ui:15 ui/trash.ui:63 ui/trash.ui:216
#: ui/trash.ui:258
msgid "_Delete"
msgstr "S_mazat"
@@ -3699,57 +3700,57 @@ msgstr[2] "%d hodin"
msgid "1 day"
msgstr "1 den"
-#: src/Dialogs.vala:1338 src/Resources.vala:231
+#: src/Dialogs.vala:1327 src/Resources.vala:231
msgid "Rename Event"
msgstr "Přejmenovat událost"
-#: src/Dialogs.vala:1338
+#: src/Dialogs.vala:1327
msgid "Name:"
msgstr "Název:"
#. Dialog title
-#: src/Dialogs.vala:1349
+#: src/Dialogs.vala:1338
msgctxt "Dialog Title"
msgid "Edit Title"
msgstr "Úprava názvu"
-#: src/Dialogs.vala:1350 src/Properties.vala:340
+#: src/Dialogs.vala:1339 src/Properties.vala:343
msgid "Title:"
msgstr "Název:"
#. Dialog title
-#: src/Dialogs.vala:1366 src/Resources.vala:307
+#: src/Dialogs.vala:1355 src/Resources.vala:307
msgid "Edit Event Comment"
msgstr "Úprava komentáře k události"
-#: src/Dialogs.vala:1367
+#: src/Dialogs.vala:1356
msgid "Edit Photo/Video Comment"
msgstr "Úprava komentáře k fotografii/videu"
-#: src/Dialogs.vala:1368 src/Properties.vala:628
+#: src/Dialogs.vala:1357 src/Properties.vala:631
msgid "Comment:"
msgstr "Komentář:"
-#: src/Dialogs.vala:1384
+#: src/Dialogs.vala:1373
msgid "Remove and _Trash File"
msgid_plural "Remove and _Trash Files"
msgstr[0] "Soubor odstranit a přesunou_t do koše"
msgstr[1] "Soubory odstranit a přesunou_t do koše"
msgstr[2] "Soubory odstranit a přesunou_t do koše"
-#: src/Dialogs.vala:1388
+#: src/Dialogs.vala:1377
msgid "_Remove From Library"
msgstr "Odst_ranit z knihovny"
-#: src/Dialogs.vala:1431
+#: src/Dialogs.vala:1420
msgid "Revert External Edit?"
msgstr "Vrátit zpět externí úpravu?"
-#: src/Dialogs.vala:1431
+#: src/Dialogs.vala:1420
msgid "Revert External Edits?"
msgstr "Vrátit zpět externí úpravy?"
-#: src/Dialogs.vala:1433
+#: src/Dialogs.vala:1422
#, c-format
msgid "This will destroy all changes made to the external file. Continue?"
msgid_plural ""
@@ -3761,15 +3762,15 @@ msgstr[1] ""
msgstr[2] ""
"Tím se odstraní všechny změny provedené v %d externích souborech. Pokračovat?"
-#: src/Dialogs.vala:1437
+#: src/Dialogs.vala:1426
msgid "Re_vert External Edit"
msgstr "_Vrátit zpět externí úpravu"
-#: src/Dialogs.vala:1437
+#: src/Dialogs.vala:1426
msgid "Re_vert External Edits"
msgstr "_Vrátit zpět externí úpravy"
-#: src/Dialogs.vala:1458
+#: src/Dialogs.vala:1447
#, c-format
msgid "This will remove the photo from the library. Continue?"
msgid_plural "This will remove %d photos from the library. Continue?"
@@ -3777,72 +3778,70 @@ 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:1465 src/Resources.vala:173
+#: src/Dialogs.vala:1454 src/Resources.vala:173
msgid "_Remove"
msgstr "Odeb_rat"
-#: src/Dialogs.vala:1466
+#: src/Dialogs.vala:1455
msgid "Remove Photo From Library"
msgstr "Odstranit fotografii z knihovny"
-#: src/Dialogs.vala:1466
+#: src/Dialogs.vala:1455
msgid "Remove Photos From Library"
msgstr "Odstranit fotografie z knihovny"
-#: src/Dialogs.vala:1559
+#: src/Dialogs.vala:1553
#, c-format
msgid "%d%%"
msgstr "%d %%"
-#: src/Dialogs.vala:1713
+#: src/Dialogs.vala:1707
msgid "AM"
msgstr "dop."
-#: src/Dialogs.vala:1714
+#: src/Dialogs.vala:1708
msgid "PM"
msgstr "odp."
-#: src/Dialogs.vala:1715
+#: src/Dialogs.vala:1709
msgid "24 Hr"
msgstr "24hod"
-#: src/Dialogs.vala:1730
+#: src/Dialogs.vala:1724
msgid "_Shift photos/videos by the same amount"
msgstr "_Posunout fotografie/videa o tu samou hodnotu"
-#: src/Dialogs.vala:1735
+#: src/Dialogs.vala:1729
msgid "Set _all photos/videos to this time"
msgstr "Nastavit tento čas _všem fotkám/videím"
-#: src/Dialogs.vala:1742
+#: src/Dialogs.vala:1735
msgid "_Modify original photo file"
-msgstr "Z_měnit soubor s originální fotkou"
+msgid_plural "_Modify original photo files"
+msgstr[0] "Z_měnit soubor s originální fotkou"
+msgstr[1] "Z_měnit soubory s originálními fotkami"
+msgstr[2] "Z_měnit soubory s originálními fotkami"
-#: src/Dialogs.vala:1742
-msgid "_Modify original photo files"
-msgstr "Z_měnit soubory s originálními fotkami"
-
-#: src/Dialogs.vala:1745
+#: src/Dialogs.vala:1739
msgid "_Modify original file"
-msgstr "Z_měnit originální soubor"
-
-#: src/Dialogs.vala:1745
-msgid "_Modify original files"
-msgstr "Z_měnit originální soubory"
+msgid_plural "_Modify original files"
+msgstr[0] "Z_měnit originální soubor"
+msgstr[1] "Z_měnit originální soubory"
+msgstr[2] "Z_měnit originální soubory"
-#: src/Dialogs.vala:1831
+#: src/Dialogs.vala:1827
msgid "Original: "
msgstr "Originál:"
-#: src/Dialogs.vala:1832
+#: src/Dialogs.vala:1828
msgid "%m/%d/%Y, %H:%M:%S"
msgstr "%d.%m.%Y, %k∶%M∶%S"
-#: src/Dialogs.vala:1833
+#: src/Dialogs.vala:1829
msgid "%m/%d/%Y, %I:%M:%S %p"
msgstr "%d.%m.%Y, %l∶%M∶%S %p"
-#: src/Dialogs.vala:1922
+#: src/Dialogs.vala:1918
#, c-format
msgid ""
"Exposure time will be shifted forward by\n"
@@ -3851,7 +3850,7 @@ msgstr ""
"Čas expozice bude posunut dopředu\n"
"o %d %s, %d %s, %d %s a %d %s."
-#: src/Dialogs.vala:1923
+#: src/Dialogs.vala:1919
#, c-format
msgid ""
"Exposure time will be shifted backward by\n"
@@ -3860,35 +3859,35 @@ msgstr ""
"Čas expozice bude posunut dozadu\n"
"o %d %s, %d %s, %d %s a %d %s."
-#: src/Dialogs.vala:1925
+#: src/Dialogs.vala:1921
msgid "day"
msgid_plural "days"
msgstr[0] "den"
msgstr[1] "dny"
msgstr[2] "dní"
-#: src/Dialogs.vala:1926
+#: src/Dialogs.vala:1922
msgid "hour"
msgid_plural "hours"
msgstr[0] "hodinu"
msgstr[1] "hodiny"
msgstr[2] "hodin"
-#: src/Dialogs.vala:1927
+#: src/Dialogs.vala:1923
msgid "minute"
msgid_plural "minutes"
msgstr[0] "minutu"
msgstr[1] "minuty"
msgstr[2] "minut"
-#: src/Dialogs.vala:1928
+#: src/Dialogs.vala:1924
msgid "second"
msgid_plural "seconds"
msgstr[0] "sekundu"
msgstr[1] "sekundy"
msgstr[2] "sekund"
-#: src/Dialogs.vala:1972
+#: src/Dialogs.vala:1968
#, c-format
msgid ""
"\n"
@@ -3911,42 +3910,42 @@ msgstr[2] ""
"\n"
"A %d dalších."
-#: src/Dialogs.vala:1996 src/Dialogs.vala:2023
+#: src/Dialogs.vala:1992 src/Dialogs.vala:2019
msgid "Tags (separated by commas):"
msgstr "Štítky (oddělené čárkou):"
-#: src/Dialogs.vala:2103
+#: src/Dialogs.vala:2099
msgid "Welcome!"
msgstr "Vítejte!"
-#: src/Dialogs.vala:2110
+#: src/Dialogs.vala:2106
msgid "Welcome to Shotwell!"
msgstr "Vítejte v aplikaci Shotwell"
-#: src/Dialogs.vala:2114
+#: src/Dialogs.vala:2111
msgid "To get started, import photos in any of these ways:"
msgstr "Pro začátek naimportujte fotky libovolným postupem:"
-#: src/Dialogs.vala:2133
+#: src/Dialogs.vala:2131
#, c-format
msgid "Choose <span weight=\"bold\">File %s Import From Folder</span>"
msgstr ""
"výběrem z nabídky <span weight=\"bold\">Soubor %s Importovat ze složky</span>"
-#: src/Dialogs.vala:2134
+#: src/Dialogs.vala:2132
msgid "Drag and drop photos onto the Shotwell window"
msgstr "přetažením a upuštěním souborů nad oknem aplikace"
-#: src/Dialogs.vala:2135
+#: src/Dialogs.vala:2133
msgid "Connect a camera to your computer and import"
msgstr "připojením fotoaparátu k počítači a importem z něj"
-#: src/Dialogs.vala:2145
+#: src/Dialogs.vala:2144
#, c-format
msgid "_Import photos from your %s folder"
msgstr "_Importovat fotografie ze složky %s"
-#: src/Dialogs.vala:2152
+#: src/Dialogs.vala:2151
msgid "You can also import photos in any of these ways:"
msgstr "Můžete také některým z těchto způsobů importovat fotky:"
@@ -3954,7 +3953,7 @@ msgstr "Můžete také některým z těchto způsobů importovat fotky:"
msgid "_Don’t show this message again"
msgstr "Příště _nezobrazovat"
-#: src/Dialogs.vala:2197
+#: src/Dialogs.vala:2199
#, c-format
msgid "Import photos from your %s library"
msgstr "Importovat fotky z knihovny %s"
@@ -3962,41 +3961,41 @@ msgstr "Importovat fotky z knihovny %s"
#. We're installed system-wide, so use the system help.
#. We're being run from the build directory; we'll have to handle clicks to this
#. link manually ourselves, due to a limitation of help: URIs.
-#: src/Dialogs.vala:2344 src/Dialogs.vala:2348
+#: src/Dialogs.vala:2345 src/Dialogs.vala:2349
msgid "(Help)"
msgstr "(nápověda)"
-#: src/Dialogs.vala:2357
+#: src/Dialogs.vala:2356
#, c-format
msgid "Year%sMonth%sDay"
msgstr "rok%směsíc%sden"
-#: src/Dialogs.vala:2359
+#: src/Dialogs.vala:2358
#, c-format
msgid "Year%sMonth"
msgstr "rok%směsíc"
-#: src/Dialogs.vala:2361
+#: src/Dialogs.vala:2360
#, c-format
msgid "Year%sMonth-Day"
msgstr "rok%směsíc-den"
-#: src/Dialogs.vala:2363
+#: src/Dialogs.vala:2362
msgid "Year-Month-Day"
msgstr "rok-měsíc-den"
-#: src/Dialogs.vala:2364 src/editing_tools/EditingTools.vala:780
+#: src/Dialogs.vala:2363 src/editing_tools/EditingTools.vala:777
msgid "Custom"
msgstr "Vlastní"
#. Invalid pattern.
-#: src/Dialogs.vala:2601
+#: src/Dialogs.vala:2600
msgid "Invalid pattern"
msgstr "Neplatný vzor"
#. This function is used to determine whether or not files should be copied or linked when imported.
#. Returns ACCEPT for copy, REJECT for link, and CANCEL for (drum-roll) cancel.
-#: src/Dialogs.vala:2703
+#: src/Dialogs.vala:2702
msgid ""
"Shotwell can copy the photos into your library folder or it can import them "
"without copying."
@@ -4004,31 +4003,31 @@ msgstr ""
"Shotwell může zkopírovat fotky do knihovny nebo je může importovat bez "
"kopírování."
-#: src/Dialogs.vala:2708
+#: src/Dialogs.vala:2707
msgid "Co_py Photos"
msgstr "Ko_pírovat fotky"
-#: src/Dialogs.vala:2709
+#: src/Dialogs.vala:2708
msgid "_Import in Place"
msgstr "_Importovat bez kopírování"
-#: src/Dialogs.vala:2710
+#: src/Dialogs.vala:2709
msgid "Import to Library"
msgstr "Import do knihovny"
-#: src/Dialogs.vala:2720 src/PhotoPage.vala:2862
+#: src/Dialogs.vala:2719 src/PhotoPage.vala:2864
msgid "Remove From Library"
msgstr "Odstranění z knihovny"
-#: src/Dialogs.vala:2721 src/PhotoPage.vala:2862
+#: src/Dialogs.vala:2720 src/PhotoPage.vala:2864
msgid "Removing Photo From Library"
msgstr "Odstraňuje se fotografie z knihovny"
-#: src/Dialogs.vala:2721
+#: src/Dialogs.vala:2720
msgid "Removing Photos From Library"
msgstr "Odstraňují se fotografie z knihovny"
-#: src/Dialogs.vala:2735
+#: src/Dialogs.vala:2734
#, c-format
msgid ""
"This will remove the photo/video from your Shotwell library. Would you also "
@@ -4056,7 +4055,7 @@ msgstr[2] ""
"\n"
"Tuto operaci nelze vrátit zpět."
-#: src/Dialogs.vala:2739
+#: src/Dialogs.vala:2738
#, c-format
msgid ""
"This will remove the video from your Shotwell library. Would you also like "
@@ -4084,7 +4083,7 @@ msgstr[2] ""
"\n"
"Tuto operaci nelze vrátit zpět."
-#: src/Dialogs.vala:2743
+#: src/Dialogs.vala:2742
#, c-format
msgid ""
"This will remove the photo from your Shotwell library. Would you also like "
@@ -4112,7 +4111,7 @@ msgstr[2] ""
"\n"
"Tuto operaci nelze vrátit zpět."
-#: src/Dialogs.vala:2775
+#: src/Dialogs.vala:2774
#, c-format
msgid ""
"The photo or video cannot be moved to your desktop trash. Delete this file?"
@@ -4125,7 +4124,7 @@ msgstr[2] ""
"%d fotografií/videí nelze přesunout do koše. Mají se soubory smazat?"
#. Alert the user that the files were not removed.
-#: src/Dialogs.vala:2792
+#: src/Dialogs.vala:2791
#, c-format
msgid "The photo or video cannot be deleted."
msgid_plural "%d photos/videos cannot be deleted."
@@ -4195,201 +4194,201 @@ msgstr "Uložení jako"
msgid "Unable to monitor %s: Not a directory (%s)"
msgstr "Nelze sledovat %s: nejedná se o složku (%s)"
-#: src/editing_tools/EditingTools.vala:664
+#: src/editing_tools/EditingTools.vala:661
msgid "Return to current photo dimensions"
msgstr "Vrátit se k původním rozměrům fotky"
-#: src/editing_tools/EditingTools.vala:667
+#: src/editing_tools/EditingTools.vala:664
msgid "Set the crop for this photo"
msgstr "Nastaví oříznutí fotografie"
-#: src/editing_tools/EditingTools.vala:679
+#: src/editing_tools/EditingTools.vala:676
msgid "Pivot the crop rectangle between portrait and landscape orientations"
msgstr "Přetočit ořezový rám mezi orientací na výšku a na šířku"
-#: src/editing_tools/EditingTools.vala:752
+#: src/editing_tools/EditingTools.vala:749
msgid "Unconstrained"
msgstr "Neomezeně"
-#: src/editing_tools/EditingTools.vala:753
+#: src/editing_tools/EditingTools.vala:750
msgid "Square"
msgstr "Čtverec"
-#: src/editing_tools/EditingTools.vala:754
+#: src/editing_tools/EditingTools.vala:751
msgid "Screen"
msgstr "Obrazovka"
+#: src/editing_tools/EditingTools.vala:753
#: src/editing_tools/EditingTools.vala:756
-#: src/editing_tools/EditingTools.vala:759
-#: src/editing_tools/EditingTools.vala:769
-#: src/editing_tools/EditingTools.vala:779
+#: src/editing_tools/EditingTools.vala:766
+#: src/editing_tools/EditingTools.vala:776
msgid "-"
msgstr "-"
-#: src/editing_tools/EditingTools.vala:757
+#: src/editing_tools/EditingTools.vala:754
msgid "SD Video (4 ∶ 3)"
msgstr "SD video (4:3)"
-#: src/editing_tools/EditingTools.vala:758
+#: src/editing_tools/EditingTools.vala:755
msgid "HD Video (16 ∶ 9)"
msgstr "HD video (16:9)"
-#: src/editing_tools/EditingTools.vala:760 src/Printing.vala:818
+#: src/editing_tools/EditingTools.vala:757 src/Printing.vala:818
msgid "Wallet (2 × 3 in.)"
msgstr "Do peněženky (2 × 3 palce)"
-#: src/editing_tools/EditingTools.vala:761 src/Printing.vala:821
+#: src/editing_tools/EditingTools.vala:758 src/Printing.vala:821
msgid "Notecard (3 × 5 in.)"
msgstr "Poznámková karta (3 × 5 palců)"
-#: src/editing_tools/EditingTools.vala:762 src/Printing.vala:824
+#: src/editing_tools/EditingTools.vala:759 src/Printing.vala:824
msgid "4 × 6 in."
msgstr "4 × 6 palců"
-#: src/editing_tools/EditingTools.vala:763 src/Printing.vala:827
+#: src/editing_tools/EditingTools.vala:760 src/Printing.vala:827
msgid "5 × 7 in."
msgstr "5 × 7 palců"
-#: src/editing_tools/EditingTools.vala:764 src/Printing.vala:830
+#: src/editing_tools/EditingTools.vala:761 src/Printing.vala:830
msgid "8 × 10 in."
msgstr "8 × 10 palců"
-#: src/editing_tools/EditingTools.vala:765
+#: src/editing_tools/EditingTools.vala:762
msgid "Letter (8.5 × 11 in.)"
msgstr "Letter (8,5 x 11 palců)"
-#: src/editing_tools/EditingTools.vala:766 src/Printing.vala:833
+#: src/editing_tools/EditingTools.vala:763 src/Printing.vala:833
msgid "11 × 14 in."
msgstr "11 × 14 palců"
-#: src/editing_tools/EditingTools.vala:767
+#: src/editing_tools/EditingTools.vala:764
msgid "Tabloid (11 × 17 in.)"
msgstr "Tabloid (11 × 17 palců)"
-#: src/editing_tools/EditingTools.vala:768 src/Printing.vala:836
+#: src/editing_tools/EditingTools.vala:765 src/Printing.vala:836
msgid "16 × 20 in."
msgstr "16 × 20 palců"
-#: src/editing_tools/EditingTools.vala:770 src/Printing.vala:842
+#: src/editing_tools/EditingTools.vala:767 src/Printing.vala:842
msgid "Metric Wallet (9 × 13 cm)"
msgstr "Do peněženky (9 × 13 cm)"
-#: src/editing_tools/EditingTools.vala:771 src/Printing.vala:845
+#: src/editing_tools/EditingTools.vala:768 src/Printing.vala:845
msgid "Postcard (10 × 15 cm)"
msgstr "Pohlednice (10 × 15 cm)"
-#: src/editing_tools/EditingTools.vala:772 src/Printing.vala:848
+#: src/editing_tools/EditingTools.vala:769 src/Printing.vala:848
msgid "13 × 18 cm"
msgstr "13 × 18 cm"
-#: src/editing_tools/EditingTools.vala:773 src/Printing.vala:851
+#: src/editing_tools/EditingTools.vala:770 src/Printing.vala:851
msgid "18 × 24 cm"
msgstr "18 × 24 cm"
-#: src/editing_tools/EditingTools.vala:774
+#: src/editing_tools/EditingTools.vala:771
msgid "A4 (210 × 297 mm)"
msgstr "A4 (210 × 297 mm)"
-#: src/editing_tools/EditingTools.vala:775 src/Printing.vala:854
+#: src/editing_tools/EditingTools.vala:772 src/Printing.vala:854
msgid "20 × 30 cm"
msgstr "20 × 30 cm"
-#: src/editing_tools/EditingTools.vala:776 src/Printing.vala:857
+#: src/editing_tools/EditingTools.vala:773 src/Printing.vala:857
msgid "24 × 40 cm"
msgstr "24 × 40 cm"
-#: src/editing_tools/EditingTools.vala:777 src/Printing.vala:860
+#: src/editing_tools/EditingTools.vala:774 src/Printing.vala:860
msgid "30 × 40 cm"
msgstr "30 × 40 cm"
-#: src/editing_tools/EditingTools.vala:778
+#: src/editing_tools/EditingTools.vala:775
msgid "A3 (297 × 420 mm)"
msgstr "A3 (297 × 420 mm)"
-#: src/editing_tools/EditingTools.vala:1878 src/Properties.vala:395
+#: src/editing_tools/EditingTools.vala:1875 src/Properties.vala:398
msgid "Size:"
msgstr "Velikost:"
-#: src/editing_tools/EditingTools.vala:1893
+#: src/editing_tools/EditingTools.vala:1890
msgid "Close the red-eye tool"
msgstr "Zavřít nástroj pro odstranění červených očí"
-#: src/editing_tools/EditingTools.vala:1896
+#: src/editing_tools/EditingTools.vala:1893
msgid "Remove any red-eye effects in the selected region"
msgstr "Odstranit efekt červených očí ve vybrané oblasti"
-#: src/editing_tools/EditingTools.vala:2236
+#: src/editing_tools/EditingTools.vala:2233
#: src/editing_tools/StraightenTool.vala:102
msgid "_Reset"
msgstr "_Původní"
#. fit both on the top line, emit and move on
-#: src/editing_tools/EditingTools.vala:2250 src/Properties.vala:436
-#: src/Properties.vala:440 src/Properties.vala:447
+#: src/editing_tools/EditingTools.vala:2247 src/Properties.vala:439
+#: src/Properties.vala:443 src/Properties.vala:450
msgid "Exposure:"
msgstr "Expozice:"
-#: src/editing_tools/EditingTools.vala:2259
+#: src/editing_tools/EditingTools.vala:2256
msgid "Contrast:"
msgstr "Kontrast:"
-#: src/editing_tools/EditingTools.vala:2268
+#: src/editing_tools/EditingTools.vala:2265
msgid "Saturation:"
msgstr "Sytost:"
-#: src/editing_tools/EditingTools.vala:2277
+#: src/editing_tools/EditingTools.vala:2274
msgid "Tint:"
msgstr "Odstín:"
-#: src/editing_tools/EditingTools.vala:2287
+#: src/editing_tools/EditingTools.vala:2284
msgid "Temperature:"
msgstr "Teplota:"
-#: src/editing_tools/EditingTools.vala:2296
+#: src/editing_tools/EditingTools.vala:2293
msgid "Shadows:"
msgstr "Tmavé tóny:"
-#: src/editing_tools/EditingTools.vala:2305
+#: src/editing_tools/EditingTools.vala:2302
msgid "Highlights:"
msgstr "Světlé tóny:"
-#: src/editing_tools/EditingTools.vala:2361
+#: src/editing_tools/EditingTools.vala:2358
msgid "Reset Colors"
msgstr "Původní barvy"
-#: src/editing_tools/EditingTools.vala:2361
+#: src/editing_tools/EditingTools.vala:2358
msgid "Reset all color adjustments to original"
msgstr "Obnovit nastavení barev na původní"
-#: src/editing_tools/EditingTools.vala:2720
+#: src/editing_tools/EditingTools.vala:2717
msgid "Temperature"
msgstr "Teplota"
-#: src/editing_tools/EditingTools.vala:2732
+#: src/editing_tools/EditingTools.vala:2729
msgid "Tint"
msgstr "Odstín"
-#: src/editing_tools/EditingTools.vala:2744
+#: src/editing_tools/EditingTools.vala:2741
msgid "Contrast"
msgstr "Kontrast"
-#: src/editing_tools/EditingTools.vala:2758
+#: src/editing_tools/EditingTools.vala:2755
msgid "Saturation"
msgstr "Sytost"
-#: src/editing_tools/EditingTools.vala:2771
+#: src/editing_tools/EditingTools.vala:2768
msgid "Exposure"
msgstr "Expozice"
-#: src/editing_tools/EditingTools.vala:2784
+#: src/editing_tools/EditingTools.vala:2781
msgid "Shadows"
msgstr "Tmavé tóny"
-#: src/editing_tools/EditingTools.vala:2797
+#: src/editing_tools/EditingTools.vala:2794
msgid "Highlights"
msgstr "Světlé tóny"
-#: src/editing_tools/EditingTools.vala:2807
+#: src/editing_tools/EditingTools.vala:2804
msgid "Contrast Expansion"
msgstr "Zvýšení kontrastu"
@@ -4414,7 +4413,7 @@ msgstr[0] "%d fotka/video"
msgstr[1] "%d fotky/videa"
msgstr[2] "%d fotek/videí"
-#: src/events/EventDirectoryItem.vala:85 src/Properties.vala:355
+#: src/events/EventDirectoryItem.vala:85 src/Properties.vala:358
#, c-format
msgid "%d Video"
msgid_plural "%d Videos"
@@ -4422,7 +4421,7 @@ msgstr[0] "%d video"
msgstr[1] "%d videa"
msgstr[2] "%d videí"
-#: src/events/EventDirectoryItem.vala:87 src/Properties.vala:353
+#: src/events/EventDirectoryItem.vala:87 src/Properties.vala:356
#, c-format
msgid "%d Photo"
msgid_plural "%d Photos"
@@ -4498,16 +4497,16 @@ msgstr "Export"
msgid "Folders"
msgstr "Složky"
-#: src/library/Branch.vala:30 src/library/Branch.vala:130 ui/shotwell.ui:1191
+#: src/library/Branch.vala:30 src/library/Branch.vala:130 ui/shotwell.ui:412
msgid "Library"
msgstr "Knihovna"
-#: src/library/Branch.vala:97 src/SearchFilter.vala:1104
+#: src/library/Branch.vala:97 src/SearchFilter.vala:1084
msgid "Photos"
msgstr "Fotografie"
-#: src/library/FlaggedPage.vala:8 src/SearchFilter.vala:1123
-#: src/SearchFilter.vala:1124
+#: src/library/FlaggedPage.vala:8 src/SearchFilter.vala:1103
+#: src/SearchFilter.vala:1104
msgid "Flagged"
msgstr "Označeno"
@@ -4552,7 +4551,7 @@ msgstr ""
"Doporučujeme to v <span weight=\"bold\">Upravit %s Předvolby</span> změnit.\n"
"Chcete pokračovat v importu fotografií?"
-#: src/library/LibraryWindow.vala:766 ui/shotwell.ui:784
+#: src/library/LibraryWindow.vala:766 ui/shotwell.ui:142
msgid "Library Location"
msgstr "Umístění knihovny"
@@ -4712,21 +4711,21 @@ msgid "Photos cannot be exported to this directory."
msgstr "Fotografie nelze exportovat do této složky."
#. previous button
-#: src/PhotoPage.vala:533
+#: src/PhotoPage.vala:535
msgid "Previous photo"
msgstr "Předchozí fotografie"
#. next button
-#: src/PhotoPage.vala:539
+#: src/PhotoPage.vala:541
msgid "Next photo"
msgstr "Následující fotografie"
-#: src/PhotoPage.vala:1845
+#: src/PhotoPage.vala:1847
#, c-format
msgid "Photo source file missing: %s"
msgstr "Chybí zdrojový soubor s fotografií: %s"
-#: src/PhotoPage.vala:3006
+#: src/PhotoPage.vala:3008
#, c-format
msgid "Unable to export %s: %s"
msgstr "Nelze exportovat %s: %s"
@@ -4830,19 +4829,19 @@ msgstr ""
"\n"
"%s"
-#: src/Properties.vala:84
+#: src/Properties.vala:87
msgid "Today"
msgstr "Dnes"
-#: src/Properties.vala:86
+#: src/Properties.vala:89
msgid "Yesterday"
msgstr "Včera"
-#: src/Properties.vala:343
+#: src/Properties.vala:346
msgid "Items:"
msgstr "Položky:"
-#: src/Properties.vala:346
+#: src/Properties.vala:349
#, c-format
msgid "%d Event"
msgid_plural "%d Events"
@@ -4851,104 +4850,104 @@ msgstr[1] "%d události"
msgstr[2] "%d událostí"
#. display only one date if start and end are the same
-#: src/Properties.vala:377
+#: src/Properties.vala:380
msgid "Date:"
msgstr "Datum:"
#. display only one time if start and end are the same
-#: src/Properties.vala:381
+#: src/Properties.vala:384
msgid "Time:"
msgstr "Čas:"
#. display time range
#. display date range
-#: src/Properties.vala:384 src/Properties.vala:389
+#: src/Properties.vala:387 src/Properties.vala:392
msgid "From:"
msgstr "Od:"
-#: src/Properties.vala:385 src/Properties.vala:390
+#: src/Properties.vala:388 src/Properties.vala:393
msgid "To:"
msgstr "Do:"
-#: src/Properties.vala:404
+#: src/Properties.vala:407
msgid "Duration:"
msgstr "Délka:"
-#: src/Properties.vala:404
+#: src/Properties.vala:407
#, c-format
msgid "%.1f seconds"
msgstr "%.1f sekund"
-#: src/Properties.vala:408
+#: src/Properties.vala:411
msgid "Developer:"
msgstr "Vývojka:"
#. nothing special to be done for now for Events
-#: src/Properties.vala:583
+#: src/Properties.vala:586
msgid "Location:"
msgstr "Místo:"
-#: src/Properties.vala:586
+#: src/Properties.vala:589
msgid "File size:"
msgstr "Velikost souboru:"
-#: src/Properties.vala:590
+#: src/Properties.vala:593
msgid "Current Development:"
msgstr "Aktuální vývojka:"
-#: src/Properties.vala:592
+#: src/Properties.vala:595
msgid "Original dimensions:"
msgstr "Původní velikost:"
-#: src/Properties.vala:595
+#: src/Properties.vala:598
msgid "Camera make:"
msgstr "Výrobce fotoaparátu:"
-#: src/Properties.vala:598
+#: src/Properties.vala:601
msgid "Camera model:"
msgstr "Model fotoaparátu:"
-#: src/Properties.vala:601
+#: src/Properties.vala:604
msgid "Flash:"
msgstr "Blesk:"
-#: src/Properties.vala:603
+#: src/Properties.vala:606
msgid "Focal length:"
msgstr "Ohnisko:"
-#: src/Properties.vala:606
+#: src/Properties.vala:609
msgid "Exposure date:"
msgstr "Datum expozice:"
-#: src/Properties.vala:609
+#: src/Properties.vala:612
msgid "Exposure time:"
msgstr "Čas expozice:"
-#: src/Properties.vala:612
+#: src/Properties.vala:615
msgid "Exposure bias:"
msgstr "Expoziční korekce:"
-#: src/Properties.vala:614
+#: src/Properties.vala:617
msgid "GPS latitude:"
msgstr "Zeměpisná šířka:"
-#: src/Properties.vala:617
+#: src/Properties.vala:620
msgid "GPS longitude:"
msgstr "Zeměpisná délka:"
-#: src/Properties.vala:620
+#: src/Properties.vala:623
msgid "Artist:"
msgstr "Umělec:"
-#: src/Properties.vala:622
+#: src/Properties.vala:625
msgid "Copyright:"
msgstr "Copyright:"
-#: src/Properties.vala:624
+#: src/Properties.vala:627
msgid "Software:"
msgstr "Software:"
-#: src/Properties.vala:641
+#: src/Properties.vala:644
msgid "Extended Information"
msgstr "Doplňující informace"
@@ -4970,65 +4969,58 @@ msgstr "Zveřejnění na %s nemůže pokračovat kvůli chybě:"
msgid "To try publishing to another service, select one from the above menu."
msgstr "V nabídce výše vyberte jinou službu, na které se má zkusit zveřejnit."
-#: src/publishing/PublishingUI.vala:105
-msgid "The selected photos/videos were successfully published."
-msgstr "Vybrané fotografie/videa byla úspěšně zveřejněna."
-
-#: src/publishing/PublishingUI.vala:107
-msgid "The selected videos were successfully published."
-msgstr "Vybraná videa byla úspěšně zveřejněna."
-
-#: src/publishing/PublishingUI.vala:109
-msgid "The selected photos were successfully published."
-msgstr "Vybrané fotografie byly úspěšně zveřejněny."
-
-#: src/publishing/PublishingUI.vala:112
+#. Here, we check whether more than one item is being uploaded, and if so, display
+#. an alternate message.
+#: src/publishing/PublishingUI.vala:104 src/publishing/PublishingUI.vala:109
msgid "The selected video was successfully published."
-msgstr "Vybrané video bylo úspěšně zveřejněno."
+msgid_plural "The selected videos were successfully published."
+msgstr[0] "Vybrané video bylo úspěšně zveřejněno."
+msgstr[1] "Vybraná videa byla úspěšně zveřejněna."
+msgstr[2] "Vybraná videa byla úspěšně zveřejněna."
-#: src/publishing/PublishingUI.vala:114
-msgid "The selected photo was successfully published."
-msgstr "Vybraná fotografie byla úspěšně zveřejněna."
+#: src/publishing/PublishingUI.vala:115
+msgid "The selected photos/videos were successfully published."
+msgstr "Vybrané fotografie/videa byla úspěšně zveřejněna."
-#: src/publishing/PublishingUI.vala:122
+#: src/publishing/PublishingUI.vala:127
msgid "Fetching account information…"
msgstr "Získávají se informace o účtu…"
-#: src/publishing/PublishingUI.vala:128
+#: src/publishing/PublishingUI.vala:133
msgid "Logging in…"
msgstr "Přihlašuje se…"
-#: src/publishing/PublishingUI.vala:188
+#: src/publishing/PublishingUI.vala:193
msgid "Publish Photos"
msgstr "Zveřejnit fotografie"
-#: src/publishing/PublishingUI.vala:189
+#: src/publishing/PublishingUI.vala:194
msgid "Publish photos _to:"
msgstr "Zveřejni_t fotografie na"
-#: src/publishing/PublishingUI.vala:191
+#: src/publishing/PublishingUI.vala:196
msgid "Publish Videos"
msgstr "Zveřejnit videa"
-#: src/publishing/PublishingUI.vala:192
+#: src/publishing/PublishingUI.vala:197
msgid "Publish videos _to"
msgstr "Zveřejni_t videa na"
-#: src/publishing/PublishingUI.vala:194
+#: src/publishing/PublishingUI.vala:199
msgid "Publish Photos and Videos"
msgstr "Zveřejnit fotografie a videa"
-#: src/publishing/PublishingUI.vala:195
+#: src/publishing/PublishingUI.vala:200
msgid "Publish photos and videos _to"
msgstr "Zveřejni_t fotografie a videa na"
#. There are no enabled publishing services that accept this media type,
#. warn the user.
-#: src/publishing/PublishingUI.vala:409
+#: src/publishing/PublishingUI.vala:410
msgid "Unable to publish"
msgstr "Nelze zveřejnit"
-#: src/publishing/PublishingUI.vala:410
+#: src/publishing/PublishingUI.vala:411
#, c-format
msgid ""
"Shotwell cannot publish the selected items because you do not have a "
@@ -5659,7 +5651,7 @@ 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:1145
+#: src/Resources.vala:410 src/SearchFilter.vala:1125
msgid "Saved Search"
msgstr "Uložené hledání"
@@ -5667,11 +5659,11 @@ msgstr "Uložené hledání"
msgid "Delete Search"
msgstr "Smazat hledání"
-#: src/Resources.vala:415 ui/savedsearch.ui:12
+#: src/Resources.vala:415 ui/savedsearch.ui:11
msgid "_Edit…"
msgstr "_Upravit…"
-#: src/Resources.vala:416 ui/savedsearch.ui:8
+#: src/Resources.vala:416 ui/savedsearch.ui:7
msgid "Re_name…"
msgstr "Přejme_novat…"
@@ -5741,7 +5733,7 @@ msgstr "O_bnovit"
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:21
+#: 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
#: ui/trash.ui:227
@@ -6001,8 +5993,8 @@ msgstr "Stav označení"
msgid "Photo state"
msgstr "Stav fotky"
-#: src/searches/SearchBoolean.vala:184 src/SearchFilter.vala:851
-#: src/SearchFilter.vala:1135
+#: src/searches/SearchBoolean.vala:184 src/SearchFilter.vala:831
+#: src/SearchFilter.vala:1115
msgid "Rating"
msgstr "Hodnocení"
@@ -6010,27 +6002,27 @@ msgstr "Hodnocení"
msgid "Date"
msgstr "Datum"
-#: src/SearchFilter.vala:835
+#: src/SearchFilter.vala:815
msgid "★+ Rating"
msgstr "Hodnocení ★+"
-#: src/SearchFilter.vala:838
+#: src/SearchFilter.vala:818
msgid "★★+ Rating"
msgstr "Hodnocení ★★+"
-#: src/SearchFilter.vala:841
+#: src/SearchFilter.vala:821
msgid "★★★+ Rating"
msgstr "Hodnocení ★★★+"
-#: src/SearchFilter.vala:844
+#: src/SearchFilter.vala:824
msgid "★★★★+ Rating"
msgstr "Hodnocení ★★★★+"
-#: src/SearchFilter.vala:848
+#: src/SearchFilter.vala:828
msgid "★★★★★+ Rating"
msgstr "Hodnocení ★★★★★+"
-#: src/SearchFilter.vala:1085
+#: src/SearchFilter.vala:1065
#, c-format
msgid "Error loading search bar UI: %s"
msgstr "Chyba při načítání uživatelského rozhraním vyhledávací lišty: %s"
@@ -6040,24 +6032,24 @@ msgstr "Chyba při načítání uživatelského rozhraním vyhledávací lišty:
#. Prepare the close menu for use, but don't
#. display it yet; we'll connect it to secondary
#. click later on.
-#: src/SearchFilter.vala:1094
+#: src/SearchFilter.vala:1074
msgid "Close"
msgstr "Zavřít"
#. Type label and toggles
-#: src/SearchFilter.vala:1100
+#: src/SearchFilter.vala:1080
msgid "Type"
msgstr "Typ"
-#: src/SearchFilter.vala:1107
+#: src/SearchFilter.vala:1087
msgid "Videos"
msgstr "Videa"
-#: src/SearchFilter.vala:1110
+#: src/SearchFilter.vala:1090
msgid "RAW Photos"
msgstr "Fotografie RAW"
-#: src/SearchFilter.vala:1146
+#: src/SearchFilter.vala:1126
msgid "Use a saved search to filter items in the current view"
msgstr "Použít uložené hledání k filtrování položek v aktuálním zobrazení"
@@ -6156,10 +6148,6 @@ msgstr "Otevřít v e_xterním editoru"
msgid "View Eve_nt for Photo"
msgstr "Zobrazit u_dálosti pro fotku"
-#: ui/direct_context.ui:7
-msgid "DirectContextMenu"
-msgstr "DirectContextMenu"
-
#: ui/direct.ui:5 ui/events_directory.ui:5 ui/event.ui:5 ui/import_queue.ui:5
#: ui/import.ui:5 ui/media.ui:5 ui/offline.ui:5 ui/photo.ui:5 ui/tags.ui:5
#: ui/top.ui:5 ui/trash.ui:5
@@ -6352,10 +6340,6 @@ msgstr "Importovat vy_brané"
msgid "Import _All"
msgstr "Importovat _vše"
-#: ui/savedsearch.ui:5
-msgid "SearchContextMenu"
-msgstr "SearchContextMenu"
-
#: ui/set_background_dialog.ui:15
msgid "Set as Desktop Background"
msgstr "Nastavit jako pozadí plochy"
@@ -6388,159 +6372,155 @@ msgstr "Vytvořit promítání snímků na pozadí plochy"
msgid "How long each photo is shown on the desktop background"
msgstr "Na jak dlouho se má zobrazit jedna fotografie"
-#: ui/shotwell.ui:23
-msgid "_Name of search:"
-msgstr "_Název hledání:"
-
-#: ui/shotwell.ui:81
-msgid "_Match"
-msgstr "_Shoduje se"
-
-#: ui/shotwell.ui:108
-msgid "of the following:"
-msgstr "z následujícího:"
-
-#: ui/shotwell.ui:195
-msgid "<b>Printed Image Size</b>"
-msgstr "<b>Velikost tištěného obrázku</b>"
-
-#: ui/shotwell.ui:212
-msgid "Use a _standard size:"
-msgstr "Použít _standardní velikost:"
-
-#: ui/shotwell.ui:255
-msgid "Use a c_ustom size:"
-msgstr "Použít _vlastní velikost:"
-
-#: ui/shotwell.ui:345
-msgid "_Match photo aspect ratio"
-msgstr "Zachovat po_měr stran"
-
-#: ui/shotwell.ui:369
-msgid "_Autosize:"
-msgstr "_Automatická velikost:"
-
-#: ui/shotwell.ui:409
-msgid "<b>Titles</b>"
-msgstr "<b>Názvy</b>"
-
-#: ui/shotwell.ui:426
-msgid "Print image _title"
-msgstr "Tisknout _název obrázku"
-
-#: ui/shotwell.ui:470
-msgid "<b>Pixel Resolution</b>"
-msgstr "<b>Rozlišení</b>"
-
-#: ui/shotwell.ui:490
-msgid "_Output photo at:"
-msgstr "Vytiskn_out v rozlišení:"
-
-#: ui/shotwell.ui:525
-msgid "pixels per inch"
-msgstr "bodů na palec"
-
-#: ui/shotwell.ui:559
-msgid "label"
-msgstr "štítek"
-
-#: ui/shotwell.ui:681
-msgid "Shotwell Preferences"
-msgstr "Předvolby Shotwell"
-
-#: ui/shotwell.ui:730
+#: ui/shotwell.ui:65
msgid "white"
msgstr "bílé"
-#: ui/shotwell.ui:757
+#: ui/shotwell.ui:92
msgid "black"
msgstr "černé"
-#: ui/shotwell.ui:805
-msgid "_Watch library directory for new files"
-msgstr "S_ledovat, jestli nejsou do knihovny přidány nové soubory"
-
-#: ui/shotwell.ui:834
-msgid "Metadata"
-msgstr "Metadata"
-
-#: ui/shotwell.ui:854
-msgid "Write tags, titles, and other _metadata to photo files"
-msgstr "Zapisovat štítky, názvy a další _metadata do souborů s fotografiemi"
-
-#: ui/shotwell.ui:880
+#: ui/shotwell.ui:123
msgid "Display"
msgstr "Zobrazení"
-#: ui/shotwell.ui:901
+#: ui/shotwell.ui:160
+msgid "_Background:"
+msgstr "_Pozadí:"
+
+#: ui/shotwell.ui:175
msgid "_Import photos to:"
msgstr "_Importovat fotografie do:"
-#: ui/shotwell.ui:924
-msgid "_Background:"
-msgstr "_Pozadí:"
+#: ui/shotwell.ui:186
+msgid "_Watch library directory for new files"
+msgstr "S_ledovat, jestli nejsou do knihovny přidány nové soubory"
-#: ui/shotwell.ui:947
+#: ui/shotwell.ui:209
msgid "Importing"
msgstr "Import"
-#: ui/shotwell.ui:970
+#: ui/shotwell.ui:226
msgid "_Directory structure:"
msgstr "Struktura _složek:"
-#: ui/shotwell.ui:1009
-msgid "_Pattern:"
-msgstr "_Vzor:"
-
-#: ui/shotwell.ui:1091
+#: ui/shotwell.ui:240
msgid "Example:"
msgstr "Příklad:"
-#: ui/shotwell.ui:1108
+#: ui/shotwell.ui:249
msgid "R_ename imported files to lowercase"
msgstr "Př_evádět názvy importovaných souborů na malá písmena"
-#: ui/shotwell.ui:1137
+#: ui/shotwell.ui:271
+msgid "Metadata"
+msgstr "Metadata"
+
+#: ui/shotwell.ui:284
+msgid "Write tags, titles, and other _metadata to photo files"
+msgstr "Zapisovat štítky, názvy a další _metadata do souborů s fotografiemi"
+
+#: ui/shotwell.ui:306
msgid "RAW Developer"
msgstr "Vývojka RAW"
-#: ui/shotwell.ui:1172
+#: ui/shotwell.ui:323
msgid "De_fault:"
msgstr "_Výchozí:"
-#: ui/shotwell.ui:1226
+#: ui/shotwell.ui:377
+msgid "_Pattern:"
+msgstr "_Vzor:"
+
+#: ui/shotwell.ui:439
msgid "E_xternal photo editor:"
msgstr "E_xterní editor fotografií:"
-#: ui/shotwell.ui:1242
+#: ui/shotwell.ui:456
msgid "External _RAW editor:"
msgstr "Externí editor _RAW:"
-#: ui/shotwell.ui:1307
+#: ui/shotwell.ui:517
msgid "External Editors"
msgstr "Externí editory"
-#: ui/shotwell.ui:1334
+#: ui/shotwell.ui:542
msgid "Plugins"
msgstr "Zásuvné moduly"
-#: ui/shotwell.ui:1400
+#: ui/shotwell.ui:583
+msgid "<b>Printed Image Size</b>"
+msgstr "<b>Velikost tištěného obrázku</b>"
+
+#: ui/shotwell.ui:600
+msgid "Use a _standard size:"
+msgstr "Použít _standardní velikost:"
+
+#: ui/shotwell.ui:643
+msgid "Use a c_ustom size:"
+msgstr "Použít _vlastní velikost:"
+
+#: ui/shotwell.ui:731
+msgid "_Match photo aspect ratio"
+msgstr "Zachovat po_měr stran"
+
+#: ui/shotwell.ui:755
+msgid "_Autosize:"
+msgstr "_Automatická velikost:"
+
+#: ui/shotwell.ui:795
+msgid "<b>Titles</b>"
+msgstr "<b>Názvy</b>"
+
+#: ui/shotwell.ui:812
+msgid "Print image _title"
+msgstr "Tisknout _název obrázku"
+
+#: ui/shotwell.ui:855
+msgid "<b>Pixel Resolution</b>"
+msgstr "<b>Rozlišení</b>"
+
+#: ui/shotwell.ui:875
+msgid "_Output photo at:"
+msgstr "Vytiskn_out v rozlišení:"
+
+#: ui/shotwell.ui:909
+msgid "pixels per inch"
+msgstr "bodů na palec"
+
+#: ui/shotwell.ui:949
+msgid "_Name of search:"
+msgstr "_Název hledání:"
+
+#: ui/shotwell.ui:1003
+msgid "_Match"
+msgstr "_Shoduje se"
+
+#: ui/shotwell.ui:1030
+msgid "of the following:"
+msgstr "z následujícího:"
+
+#: ui/shotwell.ui:1111
+msgid "label"
+msgstr "štítek"
+
+#: ui/shotwell.ui:1262
msgid "_Delay:"
msgstr "_Doba zobrazení:"
-#: ui/shotwell.ui:1416
+#: ui/shotwell.ui:1276
msgid "_Transition effect:"
msgstr "Efek_t přechodu:"
-#: ui/shotwell.ui:1432
+#: ui/shotwell.ui:1290
msgid "Transition d_elay:"
msgstr "Trvání př_echodu:"
-#: ui/shotwell.ui:1444
+#: ui/shotwell.ui:1300
msgid "Show t_itle"
msgstr "Zobrazovat n_ázev"
-#: ui/shotwell.ui:1534 ui/shotwell.ui:1547
+#: ui/shotwell.ui:1375 ui/shotwell.ui:1386
msgid "seconds"
msgstr "sekund"
diff --git a/po/da.gmo b/po/da.gmo
index 9d6eec9..e24e7f4 100644
--- a/po/da.gmo
+++ b/po/da.gmo
Binary files differ
diff --git a/po/da.po b/po/da.po
index 1684b98..841bfd5 100644
--- a/po/da.po
+++ b/po/da.po
@@ -11,13 +11,20 @@
# johanneswilm <johanneswilm@gmail.com>, 2011
# Kris Thomsen <lakristho@gmail.com>, 2011
# verayin <vera@yorba.org>, 2011
+# Alan Mortensen <alanmortensen.am@gmail.com>, 2016.
+#
+# Konventioner:
+# slideshow -> slideshow (accepteret af RO; MicroSoft har forladt diasshow; dias relaterer sig til lysbilleder)
+# directory -> mappe
+#
msgid ""
msgstr ""
"Project-Id-Version: shotwell-0.15.1\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2014-09-06 10:14+0200\n"
-"PO-Revision-Date: 2014-04-08 15:59+0000\n"
-"Last-Translator: Ask Hjorth Larsen <asklarsen@gmail.com>\n"
+"Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?"
+"product=shotwell&keywords=I18N+L10N&component=Internationalization\n"
+"POT-Creation-Date: 2016-11-26 08:07+0000\n"
+"PO-Revision-Date: 2016-12-08 20:17+0100\n"
+"Last-Translator: Alan Mortensen <alanmortensen.am@gmail.com>\n"
"Language-Team: Danish (http://www.transifex.com/projects/p/shotwell/language/"
"da/)\n"
"Language: da\n"
@@ -26,50 +33,1447 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
"X-Launchpad-Export-Date: 2014-04-09 13:12+0000\n"
-"X-Generator: Launchpad (build 16976)\n"
+"X-Generator: Poedit 1.8.7.1\n"
-#: ../plugins/common/RESTSupport.vala:424
-#: ../plugins/shotwell-publishing-extras/TumblrPublishing.vala:968
-msgid "A temporary file needed for publishing is unavailable"
+#: misc/shotwell.appdata.xml.in:8 misc/shotwell.desktop.in.in:4
+#: plugins/shotwell-publishing-extras/GalleryConnector.vala:115
+#: src/photos/RawSupport.vala:300 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
+msgid "Shotwell"
+msgstr "Shotwell"
+
+#: misc/shotwell.appdata.xml.in:9
+msgid "Popular photo manager"
+msgstr "Populært program til billedhåndtering"
+
+#: misc/shotwell.appdata.xml.in:11
+msgid ""
+"Shotwell is an easy-to-use, fast photo organizer designed for the GNOME "
+"desktop. It allows you to import photos from your camera or disk, organize "
+"them by date and subject matter, even ratings. It also offers basic photo "
+"editing, like crop, red-eye correction, color adjustments, and straighten. "
+"Shotwell’s non-destructive photo editor does not alter your master photos, "
+"making it easy to experiment and correct errors."
+msgstr ""
+"Shotwell er et hurtigt og brugervenligt program til organisering af dine "
+"billeder. Det er designet til GNOME-skrivebordet. Du kan importere billeder "
+"fra kamera eller disk og organisere dem efter dato, emne eller bedømmelse. "
+"Det indeholder også grundlæggende værktøjer til billedredigering så som "
+"beskæring, fjernelse af røde øjne, farvejustering og udjævning. Shotwell "
+"ødelægger ikke det oprindelige billede, hvilket gør det nemt at "
+"eksperimentere og rette fejl."
+
+#: misc/shotwell.appdata.xml.in:18
+msgid ""
+"When ready, Shotwell can upload your photos to various web sites, such as "
+"Facebook, Flickr, Picasa (Google Plus), and more."
msgstr ""
-"En midlertidig fil som er nødvendig for publisering er ikke tilgængelig"
+"Når du er klar, kan Shotwell overføre dine billeder til forskellige "
+"websteder så som Facebook, Flickr, Picasa (Google Plus) med flere."
-#: ../plugins/common/RESTSupport.vala:1138
+#: misc/shotwell.appdata.xml.in:22
+msgid "Shotwell supports JPEG, PNG, TIFF, and a variety of RAW file formats."
+msgstr "Shotwell understøtter JPEG, PNG, TIFF og en række RAW-filformater."
+
+#: misc/shotwell.desktop.in.in:5 src/Resources.vala:17
+msgid "Photo Manager"
+msgstr "Billedhåndtering"
+
+#: misc/shotwell.desktop.in.in:6
+msgid "Organize your photos"
+msgstr "Organisér dine billeder"
+
+#. Translators: Search terms to find this application. Do NOT translate or localize the semicolons! The list MUST also end with a semicolon!
+#: misc/shotwell.desktop.in.in:8
msgid ""
-"You have already logged in and out of a Google service during this Shotwell "
-"session.\n"
-"\n"
-"To continue publishing to Google services, quit and restart Shotwell, then "
-"try publishing again."
+"album;camera;cameras;crop;edit;enhance;export;gallery;image;images;import;"
+"organize;photo;photographs;photos;picture;pictures;photography;print;publish;"
+"rotate;share;tags;video;facebook;flickr;picasa;youtube;piwigo;"
msgstr ""
-"Du har allerede logget ind og ud af en Google-tjeneste under denne Shotwell-"
-"session.\n"
-"\n"
-"For at fortsætte med at udgive til Google-tjenester, så afslut og start "
-"Shotwell påny. Forsøg dernæst af udgive igen."
+"album;kamera;kameraer;beskær;redigér;rediger;forbedr;eksport;galleri;billede;"
+"billeder;import;organisér;organiser;foto;fotografier;fotografi;udskriv;udgiv;"
+"roter;rotér;del;mærker;video;facebook;flickr;picasa;youtube;piwigo;print;"
+"publicér;"
-#: ../plugins/common/Resources.vala:9
-msgid "Visit the Shotwell home page"
+#. Translators: Do NOT translate or transliterate this text (this is an icon file name)!
+#: misc/shotwell.desktop.in.in:11 misc/shotwell-viewer.desktop.in.in:8
+msgid "shotwell"
+msgstr "shotwell"
+
+#: misc/shotwell-viewer.desktop.in.in:4
+msgid "Shotwell Viewer"
+msgstr "Shotwell-fremviser"
+
+#: misc/shotwell-viewer.desktop.in.in:5 src/Resources.vala:18
+msgid "Photo Viewer"
+msgstr "Billedvisning"
+
+#: misc/org.yorba.shotwell-extras.gschema.xml:6
+msgid "authentication token"
+msgstr "godkendelsestoken"
+
+#: misc/org.yorba.shotwell-extras.gschema.xml:7
+msgid "Yandex-Fotki authentication token, if logged in."
+msgstr "Yandex.Fotki-godkendelsestoken, hvis logget på."
+
+#: misc/org.yorba.shotwell-extras.gschema.xml:14
+msgid "Token"
+msgstr "Token"
+
+#: misc/org.yorba.shotwell-extras.gschema.xml:15
+msgid "The token to access tumblr"
+msgstr "Token for at få adgang til tumblr"
+
+#: misc/org.yorba.shotwell-extras.gschema.xml:20
+msgid "Secret token"
+msgstr "Hemmelig token"
+
+#: misc/org.yorba.shotwell-extras.gschema.xml:21
+msgid "The secret token to sign oauth requests"
+msgstr "Hemmeligt token til at underskrive oauth-forespørgsler"
+
+#: misc/org.yorba.shotwell-extras.gschema.xml:26
+#: misc/org.yorba.shotwell.gschema.xml:486
+msgid "default size"
+msgstr "standardstørrelse"
+
+#: misc/org.yorba.shotwell-extras.gschema.xml:27
+msgid ""
+"A numeric code representing the default size for photos uploaded to Tumblr"
+msgstr ""
+"En numerisk kode som repræsenterer standardstørrelsen for billeder, der "
+"overføres til Tumblr"
+
+#: misc/org.yorba.shotwell-extras.gschema.xml:32
+msgid "default blog"
+msgstr "standardblog"
+
+#: misc/org.yorba.shotwell-extras.gschema.xml:33
+msgid "The name of the default blog of the user, if any"
+msgstr "Navnet på brugerens standardblog, hvis der er en"
+
+#: misc/org.yorba.shotwell-extras.gschema.xml:40
+msgid "Rajce URL"
+msgstr "Rajce-URL"
+
+#: misc/org.yorba.shotwell-extras.gschema.xml:41
+msgid "URL of the Rajce server."
+msgstr "Rajce-serverens URL."
+
+#: misc/org.yorba.shotwell-extras.gschema.xml:46
+#: misc/org.yorba.shotwell.gschema.xml:454
+#: misc/org.yorba.shotwell.gschema.xml:512
+#: misc/org.yorba.shotwell.gschema.xml:568
+msgid "username"
+msgstr "brugernavn"
+
+#: misc/org.yorba.shotwell-extras.gschema.xml:47
+msgid "Rajce username, if logged in."
+msgstr "Rajce-brugernavn, hvis logget på."
+
+#: misc/org.yorba.shotwell-extras.gschema.xml:52
+msgid "token"
+msgstr "token"
+
+#: misc/org.yorba.shotwell-extras.gschema.xml:53
+msgid "user token, if remembered."
+msgstr "brugertoken, hvis det huskes."
+
+#: misc/org.yorba.shotwell-extras.gschema.xml:58
+#: misc/org.yorba.shotwell.gschema.xml:530
+msgid "last category"
+msgstr "seneste kategori"
+
+#: misc/org.yorba.shotwell-extras.gschema.xml:59
+msgid "The last selected Rajce category."
+msgstr "Den sidst valgte Rajce-kategori."
+
+#: misc/org.yorba.shotwell-extras.gschema.xml:64
+#: misc/org.yorba.shotwell.gschema.xml:542
+msgid "last photo size"
+msgstr "seneste billedstørrelse"
+
+#: misc/org.yorba.shotwell-extras.gschema.xml:65
+msgid ""
+"A numeric code representing the last photo size preset used when publishing "
+"to Rajce."
+msgstr ""
+"En numerisk kode som repræsenterer den sidste indstilling for "
+"billedstørrelse, når der udgives til Rajce."
+
+#: misc/org.yorba.shotwell-extras.gschema.xml:70
+msgid "remember"
+msgstr "husk"
+
+#: misc/org.yorba.shotwell-extras.gschema.xml:71
+msgid "If true, remember last login."
+msgstr "Hvis sand, husk seneste login."
+
+#: misc/org.yorba.shotwell-extras.gschema.xml:76
+msgid "hide album"
+msgstr "skjul album"
+
+#: misc/org.yorba.shotwell-extras.gschema.xml:77
+msgid "If true, hide the newly created Rajce album."
+msgstr "Hvis sand, skjul det nyligt oprettet Rajce-album."
+
+#: misc/org.yorba.shotwell-extras.gschema.xml:82
+msgid "open album in web browser"
+msgstr "åbn album i webbrowser"
+
+#: misc/org.yorba.shotwell-extras.gschema.xml:83
+msgid ""
+"If true, open target album in the web browser just after uploading photos"
+msgstr "Hvis sand, åbn målalbummet i webbrowseren, når billederne er overført"
+
+#: misc/org.yorba.shotwell-extras.gschema.xml:88
+#: misc/org.yorba.shotwell.gschema.xml:434
+#: misc/org.yorba.shotwell.gschema.xml:472
+#: misc/org.yorba.shotwell.gschema.xml:498
+#: misc/org.yorba.shotwell.gschema.xml:548
+#: misc/org.yorba.shotwell.gschema.xml:592
+msgid "remove sensitive info from uploads"
+msgstr "fjern følsom information fra overførte billeder"
+
+#: misc/org.yorba.shotwell-extras.gschema.xml:89
+msgid ""
+"Whether images being uploaded to Rajce should have their metadata removed "
+"first"
+msgstr ""
+"Om billeder, der overføres til Rajce, skal have fjernet deres metadata først"
+
+#: misc/org.yorba.shotwell.gschema.xml:23
+msgid "display basic properties"
+msgstr "vis grundlæggende egenskaber"
+
+#: misc/org.yorba.shotwell.gschema.xml:24
+msgid "True if the basic properties pane is to be displayed, false otherwise."
+msgstr "Sand hvis ruden med grundlæggende egenskaber skal vises, ellers falsk."
+
+#: misc/org.yorba.shotwell.gschema.xml:29
+msgid "display extended properties"
+msgstr "vis udvidede egenskaber"
+
+#: misc/org.yorba.shotwell.gschema.xml:30
+msgid ""
+"True if the extended properties window is to be displayed, false otherwise."
+msgstr "Sand hvis vinduet med udvidede egenskaber skal vises, ellers falsk."
+
+#: misc/org.yorba.shotwell.gschema.xml:35
+msgid "display sidebar"
+msgstr "vis sidebjælken"
+
+#: misc/org.yorba.shotwell.gschema.xml:36
+msgid "True if the sidebar is to be displayed, false otherwise."
+msgstr "Sand hvis sidebjælken skal vises, ellers falsk."
+
+#: misc/org.yorba.shotwell.gschema.xml:41
+msgid "display toolbar"
+msgstr "vis værktøjsbjælken"
+
+#: misc/org.yorba.shotwell.gschema.xml:42
+msgid "True if the bottom toolbar is to be displayed, false otherwise."
+msgstr "Sand hvis den nederste værktøjsbjælke skal vises, ellers falsk."
+
+#: misc/org.yorba.shotwell.gschema.xml:47
+msgid "display search bar"
+msgstr "vis søgebjælken"
+
+#: misc/org.yorba.shotwell.gschema.xml:48
+msgid "True if the Search/Filter Toolbar is to be displayed, false otherwise."
+msgstr "Sand hvis søg/filtrér-værktøjsbjælken skal vises, ellers falsk."
+
+#: misc/org.yorba.shotwell.gschema.xml:53
+msgid "display photo titles"
+msgstr "vis billedtitler"
+
+#: misc/org.yorba.shotwell.gschema.xml:54
+msgid ""
+"True if photo titles are to be displayed beneath thumbnails in collection "
+"views, false otherwise."
+msgstr ""
+"Sand hvis billedtitler skal vises under miniaturebillederne i visning af "
+"samlinger, ellers falsk."
+
+#: misc/org.yorba.shotwell.gschema.xml:59
+msgid "display photo comments"
+msgstr "vis billedkommentarer"
+
+#: misc/org.yorba.shotwell.gschema.xml:60
+msgid ""
+"True if photo comments are to be displayed beneath thumbnails in collection "
+"views, false otherwise."
+msgstr ""
+"Sand hvis billedkommentarer skal vises under miniaturebillederne i visning "
+"af samlinger, ellers falsk."
+
+#: misc/org.yorba.shotwell.gschema.xml:65
+msgid "display event comments"
+msgstr "vis kommentarer til begivenheder"
+
+#: misc/org.yorba.shotwell.gschema.xml:66
+msgid ""
+"True if event comments are to be displayed beneath thumbnails in event "
+"views, false otherwise."
+msgstr ""
+"Sand hvis kommentarer til begivenheder skal vises under miniaturebillederne "
+"i visning af samlinger, ellers falsk."
+
+#: misc/org.yorba.shotwell.gschema.xml:71
+msgid "display photo tags"
+msgstr "vis billedernes mærker"
+
+#: misc/org.yorba.shotwell.gschema.xml:72
+msgid ""
+"True if photo tags are to be listed beneath thumbnails in collection views, "
+"false otherwise."
+msgstr ""
+"Sand hvis billedernes mærker skal vises under miniaturebillederne i visning "
+"af samlinger, ellers falsk."
+
+#: misc/org.yorba.shotwell.gschema.xml:77
+msgid "display photo ratings"
+msgstr "vis billedernes bedømmelse"
+
+#: misc/org.yorba.shotwell.gschema.xml:78
+msgid ""
+"True if a photo’s rating should be displayed as overlaid trinket, false "
+"otherwise."
+msgstr ""
+"Sand hvis et billedes bedømmelse skal vises som overlejret udsmykning, "
+"ellers falsk."
+
+#: misc/org.yorba.shotwell.gschema.xml:83
+msgid "rating filter level"
+msgstr "niveau for bedømmelsesfilter"
+
+#: misc/org.yorba.shotwell.gschema.xml:84
+msgid ""
+"Determines how to filter photos based on their ratings. 1: Rejected or "
+"better, 2: Unrated or better, 3: One or better, 4: Two or better, 5: Three "
+"or better, 6: Four or better, 7: Five or better."
+msgstr ""
+"Bestemmer hvordan billeder skal filtreres baseret på deres bedømmelse. 1: "
+"Afvist eller bedre, 2: Ikke bedømt eller bedre, 3: En eller bedre, 4: To "
+"eller bedre, 5: Tre eller bedre, 6: Fire eller bedre, 7: Fem eller bedre."
+
+#: misc/org.yorba.shotwell.gschema.xml:89
+msgid "sort events ascending"
+msgstr "sortér begivenheder stigende"
+
+#: misc/org.yorba.shotwell.gschema.xml:90
+msgid "True if events should be sorted ascending, false if descending."
+msgstr ""
+"Sand hvis begivenheder skal sorteres i stigende orden, falsk hvis faldende "
+"orden."
+
+#: misc/org.yorba.shotwell.gschema.xml:95
+msgid "sort library photos ascending"
+msgstr "sortér billeder i biblioteker i stigende orden"
+
+#: misc/org.yorba.shotwell.gschema.xml:96
+msgid "True if library photos should be sorted ascending, false if descending."
+msgstr ""
+"Sand hvis billeder i biblioteker skal sorteres i stigende orden, falsk hvis "
+"faldende orden."
+
+#: misc/org.yorba.shotwell.gschema.xml:101
+msgid "sort library photos criteria"
+msgstr "sorteringskriterier for billeder i biblioteker"
+
+#: misc/org.yorba.shotwell.gschema.xml:102
+msgid ""
+"A numeric code that specifies the sort criteria for photos in library views."
+msgstr ""
+"En numerisk kode som repræsenterer sorteringskriterier for billeder i "
+"biblioteksvisning."
+
+#: misc/org.yorba.shotwell.gschema.xml:107
+msgid "sort event photos ascending"
+msgstr "sortér begivenhedsbilleder i stigende orden"
+
+#: misc/org.yorba.shotwell.gschema.xml:108
+msgid "True if event photos should be sorted ascending, false if descending."
+msgstr ""
+"Sand hvis begivenhedsbilleder skal sorteres i stigende orden, falsk hvis "
+"faldende orden."
+
+#: misc/org.yorba.shotwell.gschema.xml:113
+msgid "sort event photos criteria"
+msgstr "sorteringskriterier for begivenhedsbilleder"
+
+#: misc/org.yorba.shotwell.gschema.xml:114
+msgid "Specifies the sort criteria for event photos."
+msgstr "Specificerer sorteringskriterierne for begivenhedsbilleder."
+
+#: misc/org.yorba.shotwell.gschema.xml:119
+msgid "use 24 hour time"
+msgstr "brug 24 timers ur"
+
+#: misc/org.yorba.shotwell.gschema.xml:120
+msgid ""
+"True if should display times with a 24 hour clock, false if times should use "
+"AM/PM notation."
+msgstr ""
+"Sand hvis der skal anvendes 24 timers ur, falsk hvis der skal bruges AM/PM-"
+"notation."
+
+#: misc/org.yorba.shotwell.gschema.xml:125
+msgid "keep relative time between photos"
+msgstr "behold relativ tid mellem billeder"
+
+#: misc/org.yorba.shotwell.gschema.xml:126
+msgid ""
+"True if when adjusting time/date of photos, relative time should be "
+"maintained. False if all photos should be set to the same time."
+msgstr ""
+"Sand hvis den relative tid mellem billeder skal bibeholdes, når tid/dato "
+"ændres; falsk hvis alle billeder ændres til samme tidspunkt."
+
+#: misc/org.yorba.shotwell.gschema.xml:131
+msgid "modify original photo files"
+msgstr "ændr oprindelige billedfiler"
+
+#: misc/org.yorba.shotwell.gschema.xml:132
+msgid ""
+"True if when adjusting time/date of photos, the original files should be "
+"modified as well. False if changes are made only in the database."
+msgstr ""
+"Sand hvis de oprindelige filer også skal ændres, når billeders klokkeslæt/"
+"dato ændres; falsk hvis ændringer kun sker i databasen."
+
+#: misc/org.yorba.shotwell.gschema.xml:137
+msgid "show welcome dialog on startup"
+msgstr "vis velkomstdialog ved opstart"
+
+# har sat komma foran falsk som i alle lignende strenge
+#: misc/org.yorba.shotwell.gschema.xml:138
+msgid ""
+"True if, when on startup, a welcome dialog should be shown. False if it "
+"should not be shown."
+msgstr ""
+"Sand hvis en velkomstdialog skal vises ved opstart, falsk hvis den ikke skal "
+"vises."
+
+#: misc/org.yorba.shotwell.gschema.xml:143
+msgid "sidebar position"
+msgstr "sidebjælkens placering"
+
+#: misc/org.yorba.shotwell.gschema.xml:144
+msgid "The width, in pixels, of the sidebar"
+msgstr "Sidebjælkens bredde (i billedpunkter)"
+
+#: misc/org.yorba.shotwell.gschema.xml:149
+msgid "photo thumbnail scale"
+msgstr "skala for miniaturebilleder"
+
+#: misc/org.yorba.shotwell.gschema.xml:150
+msgid "The scale of photo thumbnails, ranging from 72 to 360."
+msgstr "Skala for miniaturebilleder, fra 72 til 360."
+
+#: misc/org.yorba.shotwell.gschema.xml:155
+msgid "pin toolbar state"
+msgstr "tilstand for fastgørelse af værktøjsbjælken"
+
+#: misc/org.yorba.shotwell.gschema.xml:156
+msgid "Pin toolbar in fullscreen, or not."
+msgstr "Fastgør værktøjsbjælken i fuldskærm, eller ikke."
+
+#: misc/org.yorba.shotwell.gschema.xml:161
+msgid "background color"
+msgstr "baggrundsfarve"
+
+#: misc/org.yorba.shotwell.gschema.xml:162
+msgid "A grayscale color for use as the background color."
+msgstr "Gråskalafarve til brug som baggrundsfarve."
+
+#: misc/org.yorba.shotwell.gschema.xml:167
+msgid "Selection state of “hide photos” option"
+msgstr "Tilstand for indstillingen \"skjul billeder\""
+
+#: misc/org.yorba.shotwell.gschema.xml:168
+msgid ""
+"Last used selection state of the “hide photos already imported” option in "
+"the import page."
+msgstr ""
+"Sidst valgte tilstand af indstillingen \"skjul allerede importerede billeder"
+"\" på importsiden."
+
+#: misc/org.yorba.shotwell.gschema.xml:175
+msgid "delay"
+msgstr "forsinkelse"
+
+#: misc/org.yorba.shotwell.gschema.xml:176
+msgid "Delay (in seconds) between photos in the slideshow."
+msgstr "Forsinkelse (i sekunder) mellem billederne i slideshowet."
+
+#: misc/org.yorba.shotwell.gschema.xml:181
+msgid "transition delay"
+msgstr "forsinkelse i overgang"
+
+#: misc/org.yorba.shotwell.gschema.xml:182
+msgid ""
+"The time (in seconds) that a transition runs between photos in a slideshow"
+msgstr "Varigheden (i sekunder) af en overgang mellem billeder i et slideshow"
+
+#: misc/org.yorba.shotwell.gschema.xml:187
+msgid "transition effect id"
+msgstr "overgangseffekt-id"
+
+#: misc/org.yorba.shotwell.gschema.xml:188
+msgid ""
+"The name of the transition effect that will be used between photos when "
+"running a slideshow"
+msgstr "Navnet på overgangseffekten der vises mellem billederne i et slideshow"
+
+#: misc/org.yorba.shotwell.gschema.xml:193
+msgid "Show title"
+msgstr "Vis titel"
+
+#: misc/org.yorba.shotwell.gschema.xml:194
+msgid "Whether to show the title of a photo during the slideshow"
+msgstr "Om billedets titel skal vises under et slideshow"
+
+#: misc/org.yorba.shotwell.gschema.xml:201
+msgid "maximize library window"
+msgstr "maksimér biblioteksvindue"
+
+#: misc/org.yorba.shotwell.gschema.xml:202
+msgid "True if library application is maximized, false otherwise."
+msgstr "Sand hvis biblioteksprogrammet er maksimeret, ellers falsk."
+
+#: misc/org.yorba.shotwell.gschema.xml:207
+msgid "width of library window"
+msgstr "biblioteksvinduets bredde"
+
+#: misc/org.yorba.shotwell.gschema.xml:208
+msgid "The last recorded width of the library application window."
+msgstr "Biblioteksprogrammets vindues sidst registrerede bredde."
+
+#: misc/org.yorba.shotwell.gschema.xml:213
+msgid "height of library window"
+msgstr "biblioteksvinduets højde"
+
+#: misc/org.yorba.shotwell.gschema.xml:214
+msgid "The last recorded height of the library application window."
+msgstr "Biblioteksprogrammets vindues sidst registrerede højde."
+
+#: misc/org.yorba.shotwell.gschema.xml:219
+msgid "maximize direct-edit window"
+msgstr "maksimér vinduet til direkte redigering"
+
+#: misc/org.yorba.shotwell.gschema.xml:220
+msgid "True if direct-edit application is maximized, false otherwise."
+msgstr ""
+"Sand hvis programmet til direkte redigering er maksimeret, ellers falsk."
+
+#: misc/org.yorba.shotwell.gschema.xml:225
+msgid "width of direct-edit window"
+msgstr "bredde på vinduet til direkte redigering"
+
+#: misc/org.yorba.shotwell.gschema.xml:226
+msgid "The last recorded width of the direct-edit application window."
+msgstr "Den sidst registrerede bredde på vinduet til direkte redigering."
+
+#: misc/org.yorba.shotwell.gschema.xml:231
+msgid "height of direct-edit window"
+msgstr "højde på vinduet til direkte redigering"
+
+#: misc/org.yorba.shotwell.gschema.xml:232
+msgid "The last recorded height of the direct-edit application window."
+msgstr "Den sidst registrerede højde på vinduet til direkte redigering."
+
+#: misc/org.yorba.shotwell.gschema.xml:237
+msgid "sidebar divider position"
+msgstr "placering af sidebjælkeadskilleren"
+
+#: misc/org.yorba.shotwell.gschema.xml:238
+msgid ""
+"The last recorded position of the divider between the sidebar and view in "
+"library application window."
+msgstr ""
+"Den sidst registrerede placering af adskilleren mellem sidebjælken og "
+"visningsområdet i biblioteksprogrammets vindue."
+
+#: misc/org.yorba.shotwell.gschema.xml:245
+msgid "import directory"
+msgstr "importmappe"
+
+#: misc/org.yorba.shotwell.gschema.xml:246
+msgid "Directory in which imported photo files are placed."
+msgstr "Mappen som importerede billeder placeres i."
+
+#: misc/org.yorba.shotwell.gschema.xml:251
+msgid "watch library directory for new files"
+msgstr "overvåg biblioteksmappe for nye filer"
+
+#: misc/org.yorba.shotwell.gschema.xml:252
+msgid ""
+"If true, files added to the library directory are automatically imported."
+msgstr "Hvis sand importeres filer, der tilføjes biblioteksmappen, automatisk."
+
+#: misc/org.yorba.shotwell.gschema.xml:257
+msgid "write metadata to master files"
+msgstr "skriv metadata til oprindelige filer"
+
+#: misc/org.yorba.shotwell.gschema.xml:258
+msgid ""
+"If true, changes to metadata (tags, titles, etc.) are written to the master "
+"photo file."
+msgstr ""
+"Hvis sand ændres metadata (mærker, titler m.v.) i den oprindelige billedfil."
+
+#: misc/org.yorba.shotwell.gschema.xml:263
+msgid "use lowercase filenames"
+msgstr "brug filnavne med småt"
+
+# Har sat slutpunktum, da det bruges i lignende sætninger.
+#: misc/org.yorba.shotwell.gschema.xml:264
+msgid ""
+"If true, Shotwell will convert all filenames to lowercase when importing "
+"photo files"
+msgstr ""
+"Hvis sand vil Shotwell ændre alle filnavne til små bogstaver, når billeder "
+"importeres."
+
+#: misc/org.yorba.shotwell.gschema.xml:269
+msgid "directory pattern"
+msgstr "mappemønster"
+
+#: misc/org.yorba.shotwell.gschema.xml:270
+msgid ""
+"A string encoding a naming pattern that will be used to name photo "
+"directories on import."
+msgstr ""
+"En streng der koder for navngivningsmønster, som bruges til at navngive "
+"billedmapper ved import."
+
+#: misc/org.yorba.shotwell.gschema.xml:275
+msgid "directory pattern custom"
+msgstr "tilpasset mappemønster"
+
+#: misc/org.yorba.shotwell.gschema.xml:276
+msgid ""
+"A string encoding a custom naming pattern that will be used to name photo "
+"directories on import."
+msgstr ""
+"En streng der koder for et tilpasset navngivningsmønster, som bruges til at "
+"navngive billedmapper ved import."
+
+#: misc/org.yorba.shotwell.gschema.xml:281
+msgid "RAW developer default"
+msgstr "Standardfremkalder til RAW"
+
+#: misc/org.yorba.shotwell.gschema.xml:282
+msgid "Default option for which RAW developer Shotwell will use."
+msgstr "Standardindstilling for hvilken RAW-fremkalder Shotwell vil bruge."
+
+#: misc/org.yorba.shotwell.gschema.xml:289
+msgid "Most-recently-used crop aspect ratio menu choice."
+msgstr "Sidst brugte valg for højde-/breddeforhold i beskæringsmenuen."
+
+#: misc/org.yorba.shotwell.gschema.xml:290
+msgid "A numeric code representing the last crop menu choice the user made."
+msgstr ""
+"En numerisk kode som repræsenterer det sidste valg, brugeren foretog i "
+"beskæringsmenuen."
+
+#: misc/org.yorba.shotwell.gschema.xml:294
+msgid "Most-recently-used crop custom aspect ratio’s numerator."
+msgstr "Tælleren for det sidst brugte beskæringsforhold."
+
+#: misc/org.yorba.shotwell.gschema.xml:295
+msgid ""
+"A nonzero, positive integer representing the width part of the last custom "
+"crop ratio the user entered."
+msgstr ""
+"Et heltal større end nul som repræsenterer bredden på det sidste "
+"beskæringsforhold, som brugeren indtastede."
+
+#: misc/org.yorba.shotwell.gschema.xml:299
+msgid "Most-recently-used crop custom aspect ratio’s denominator."
+msgstr "Nævneren for det sidst brugte beskæringsforhold."
+
+#: misc/org.yorba.shotwell.gschema.xml:300
+msgid ""
+"A nonzero, positive integer representing the height part of the last custom "
+"crop ratio the user entered."
+msgstr ""
+"Et heltal større end nul som repræsenterer højden på det sidste "
+"beskæringsforhold, som brugeren indtastede."
+
+#: misc/org.yorba.shotwell.gschema.xml:307
+msgid "external photo editor"
+msgstr "eksternt billedbehandlingsprogram"
+
+#: misc/org.yorba.shotwell.gschema.xml:308
+msgid "External application used to edit photos."
+msgstr "Eksternt program til at redigere billeder i."
+
+#: misc/org.yorba.shotwell.gschema.xml:313
+msgid "external raw editor"
+msgstr "eksternt RAW-billedbehandlingsprogram"
+
+#: misc/org.yorba.shotwell.gschema.xml:314
+msgid "External application used to edit RAW photos."
+msgstr "Eksternt program til at redigere RAW-billeder i."
+
+#: misc/org.yorba.shotwell.gschema.xml:352
+#: misc/org.yorba.shotwell.gschema.xml:353
+msgid "Setting in export dialog: how to trim images"
+msgstr "Indstilling i eksportér-dialog: hvordan man trimmer billeder"
+
+#: misc/org.yorba.shotwell.gschema.xml:358
+msgid "export metadata"
+msgstr "eksportér metadata"
+
+#: misc/org.yorba.shotwell.gschema.xml:359
+msgid "Setting in export dialog: option to export metadata"
+msgstr "Indstilling i eksportér-dialog: mulighed for at eksportere metadata"
+
+#: misc/org.yorba.shotwell.gschema.xml:364
+msgid "format setting, special value"
+msgstr "formatindstilling, specialværdi"
+
+#: misc/org.yorba.shotwell.gschema.xml:365
+msgid "Setting in export dialog: format setting, special value"
+msgstr "Indstilling i eksportér-dialog: formatindstilling, speciel værdi"
+
+#: misc/org.yorba.shotwell.gschema.xml:370
+msgid "format setting, type value"
+msgstr "formatindstilling, typeværdi"
+
+#: misc/org.yorba.shotwell.gschema.xml:371
+msgid "Setting in export dialog: format setting, type value"
+msgstr "Indstilling i eksportér-dialog: formatindstilling, typeværdi"
+
+#: misc/org.yorba.shotwell.gschema.xml:376
+msgid "JPEG quality option"
+msgstr "kvalitetsindstilling for JPEG"
+
+#: misc/org.yorba.shotwell.gschema.xml:377
+msgid "Setting in export dialog: jpeg quality option"
+msgstr "Indstilling i eksportér-dialog: kvalitetsindstilling for JPEG"
+
+#: misc/org.yorba.shotwell.gschema.xml:382
+msgid "maximal size of image"
+msgstr "billedets maksimale størrelse"
+
+#: misc/org.yorba.shotwell.gschema.xml:383
+msgid "Setting in export dialog: maximal size of image"
+msgstr "Indstilling i eksportér-dialog: billedets maksimale størrelse"
+
+#: misc/org.yorba.shotwell.gschema.xml:390
+msgid "last used publishing service"
+msgstr "sidst brugte tjeneste til udgivelse"
+
+#: misc/org.yorba.shotwell.gschema.xml:391
+#: misc/org.yorba.shotwell.gschema.xml:397
+msgid ""
+"A numeric code representing the last service to which photos were published"
+msgstr ""
+"En numerisk kode der repræsenterer den sidst brugte tjeneste til udgivelse "
+"af billeder"
+
+#: misc/org.yorba.shotwell.gschema.xml:396
+msgid "default publishing service"
+msgstr "standardtjeneste til udgivelse"
+
+#: misc/org.yorba.shotwell.gschema.xml:410
+msgid "access token"
+msgstr "adgangstoken"
+
+#: misc/org.yorba.shotwell.gschema.xml:411
+msgid "Facebook OAuth token for the currently logged in session, if any"
+msgstr "OAuth-token til den nuværende Facebook-session, om nogen"
+
+#: misc/org.yorba.shotwell.gschema.xml:416
+msgid "user i.d."
+msgstr "bruger-id"
+
+#: misc/org.yorba.shotwell.gschema.xml:417
+msgid "Facebook user i.d. for the currently logged in user, if any"
+msgstr "Bruger-id for den aktuelle Facebook-bruger, hvis nogen"
+
+#: misc/org.yorba.shotwell.gschema.xml:422
+msgid "user name"
+msgstr "brugernavn"
+
+#: misc/org.yorba.shotwell.gschema.xml:423
+msgid "The name of the currently logged in Facebook user, if any"
+msgstr "Den aktuelle Facebook-brugers navn, hvis nogen"
+
+#: misc/org.yorba.shotwell.gschema.xml:428
+#: misc/org.yorba.shotwell.gschema.xml:460
+msgid "default size code"
+msgstr "kode for standardstørrelse"
+
+#: misc/org.yorba.shotwell.gschema.xml:429
+msgid ""
+"A numeric code representing the default size for photos published to Facebook"
msgstr ""
+"En numerisk kode som repræsenterer standardstørrelsen på billeder, der "
+"udgives på Facebook"
+
+#: misc/org.yorba.shotwell.gschema.xml:435
+msgid ""
+"Whether images being uploaded to Facebook should have their metadata removed "
+"first"
+msgstr ""
+"Om billeder, der overføres til Facebook, først skal have fjernet deres "
+"metadata"
+
+#: misc/org.yorba.shotwell.gschema.xml:442
+msgid "OAuth Access Phase Token"
+msgstr "OAuth-adgangsfasetoken"
+
+#: misc/org.yorba.shotwell.gschema.xml:443
+msgid "The authorization token for the currently logged in Flickr user, if any"
+msgstr "Autorisationstoken for den aktuelle Flickr-bruger, hvis nogen"
+
+#: misc/org.yorba.shotwell.gschema.xml:448
+msgid "OAuth Access Phase Token Secret"
+msgstr "Hemmelighed til OAuth-adgangsfasetoken"
+
+#: misc/org.yorba.shotwell.gschema.xml:449
+msgid ""
+"The cryptographic secret used to sign requests against the authorization "
+"token for the currently logged in Flickr user, if any"
+msgstr ""
+"Den kryptografiske hemmelighed til at signere forespørgsler mod "
+"autorisationstoken for den aktuelle Flickr-bruger, hvis nogen"
+
+#: misc/org.yorba.shotwell.gschema.xml:455
+msgid "The user name of the currently logged in Flickr user, if any"
+msgstr "Den aktuelle Flickr-brugers brugernavn, hvis noget"
-#: ../plugins/common/Resources.vala:28 ../src/AppWindow.vala:691
+#: misc/org.yorba.shotwell.gschema.xml:461
+msgid ""
+"A numeric code representing the default size for photos published to Flickr"
+msgstr ""
+"En numerisk kode som repræsenterer standardstørrelsen på billeder, der "
+"udgives på Flickr"
+
+#: misc/org.yorba.shotwell.gschema.xml:466
+msgid "default visibility"
+msgstr "standardsynlighed"
+
+#: misc/org.yorba.shotwell.gschema.xml:467
+msgid ""
+"A numeric code representing the default visibility for photos published to "
+"Flickr"
+msgstr ""
+"En numerisk kode som repræsenterer standardsynligheden på billeder, der "
+"udgives på Flickr"
+
+#: misc/org.yorba.shotwell.gschema.xml:473
+msgid ""
+"Whether images being uploaded to Flickr should have their metadata removed "
+"first"
+msgstr ""
+"Om billeder, der overføres til Flickr, først skal have fjernet deres metadata"
+
+#: misc/org.yorba.shotwell.gschema.xml:480
+#: misc/org.yorba.shotwell.gschema.xml:612
+msgid "refresh token"
+msgstr "genopfrisk token"
+
+#: misc/org.yorba.shotwell.gschema.xml:481
+msgid ""
+"The OAuth token used to refresh the Picasa Web Albums session for the "
+"currently logged in user, if any."
+msgstr ""
+"Det OAuth-token der bruges til at genopfriske den aktuelle brugers Picasa "
+"Webalbums-session, hvis nogen."
+
+#: misc/org.yorba.shotwell.gschema.xml:487
+msgid ""
+"A numeric code representing the default size for photos uploaded to Picasa "
+"Web Albums"
+msgstr ""
+"En numerisk kode som repræsenterer standardstørrelsen på billeder, der "
+"overføres til Picasa Webalbums"
+
+#: misc/org.yorba.shotwell.gschema.xml:492
+#: misc/org.yorba.shotwell.gschema.xml:586
+msgid "last album"
+msgstr "sidste album"
+
+#: misc/org.yorba.shotwell.gschema.xml:493
+#: misc/org.yorba.shotwell.gschema.xml:587
+msgid "The name of the last album the user published photos to, if any"
+msgstr "Navnet på det sidste album som brugeren udgav billeder til, hvis noget"
+
+#: misc/org.yorba.shotwell.gschema.xml:499
+msgid ""
+"Whether images being uploaded to Picasa should have their metadata removed "
+"first"
+msgstr ""
+"Om billeder, der overføres til Picasa, skal have fjernet deres metadata først"
+
+#: misc/org.yorba.shotwell.gschema.xml:506
+msgid "Piwigo URL"
+msgstr "Piwigo-URL"
+
+#: misc/org.yorba.shotwell.gschema.xml:507
+msgid "URL of the Piwigo server."
+msgstr "Piwigo-serverens URL."
+
+#: misc/org.yorba.shotwell.gschema.xml:513
+msgid "Piwigo username, if logged in."
+msgstr "Piwigo-brugernavn, hvis logget på."
+
+#: misc/org.yorba.shotwell.gschema.xml:518
+msgid "password"
+msgstr "adgangskode"
+
+#: misc/org.yorba.shotwell.gschema.xml:519
+msgid "Piwigo password, if logged in."
+msgstr "Piwigo-adgangskode, hvis logget på."
+
+#: misc/org.yorba.shotwell.gschema.xml:524
+msgid "remember password"
+msgstr "husk adgangskode"
+
+#: misc/org.yorba.shotwell.gschema.xml:525
+msgid "If true, remember the Piwigo password."
+msgstr "Hvis sand, husk adgangskode til Piwigo."
+
+#: misc/org.yorba.shotwell.gschema.xml:531
+msgid "The last selected Piwigo category."
+msgstr "Den sidst valgte Piwigo-kategori."
+
+#: misc/org.yorba.shotwell.gschema.xml:536
+msgid "last permission level"
+msgstr "sidste tilladelsesniveau"
+
+#: misc/org.yorba.shotwell.gschema.xml:537
+msgid "The last chosen Piwigo permission level."
+msgstr "Det sidst valgte Piwigo-tilladelsesniveau."
+
+#: misc/org.yorba.shotwell.gschema.xml:543
+msgid ""
+"A numeric code representing the last photo size preset used when publishing "
+"to Piwigo."
+msgstr ""
+"En numerisk kode som repræsenterer den sidst brugte forudindstilling for "
+"billedstørrelse, når der udgives til Piwigo."
+
+#: misc/org.yorba.shotwell.gschema.xml:549
+msgid ""
+"Whether images being uploaded to Piwigo should have their metadata removed "
+"first"
+msgstr ""
+"Om billeder, der overføres til Piwigo, skal have fjernet deres metadata først"
+
+#: misc/org.yorba.shotwell.gschema.xml:554
+msgid ""
+"if title is set and comment unset, use title as comment for uploads to Piwigo"
+msgstr ""
+"hvis der er angivet en titel, men ikke en kommentar, så brug titel som "
+"kommentar ved overførsler til Piwigo"
+
+#: misc/org.yorba.shotwell.gschema.xml:555
+msgid ""
+"Whether images being uploaded to Piwigo should have their comment set from "
+"the title if title is set and comment unset"
+msgstr ""
+"Om billeder, der overføres til Piwigo, skal overføre titlen til kommentaren, "
+"hvis der er angivet en titel, men ikke en kommentar"
+
+#: misc/org.yorba.shotwell.gschema.xml:560
+msgid "do not upload tags when uploading to Piwigo"
+msgstr "overfør ikke mærker, når billeder sendes til Piwigo"
+
+#: misc/org.yorba.shotwell.gschema.xml:561
+msgid ""
+"Whether images being uploaded to Piwigo should have their tags removed on "
+"upload, such that these tags will not appear on the remote Piwigo server."
+msgstr ""
+"Om billeder, der sendes til Piwigo, skal have fjernet deres mærker, så "
+"mærkerne ikke forekommer på Piwigo-fjernserveren."
+
+#: misc/org.yorba.shotwell.gschema.xml:569
+msgid "Gallery3 username"
+msgstr "Gallery3-brugernavn"
+
+#: misc/org.yorba.shotwell.gschema.xml:574
+msgid "API key"
+msgstr "API-nøgle"
+
+#: misc/org.yorba.shotwell.gschema.xml:575
+msgid "Gallery3 API key"
+msgstr "API-nøgle til Gallery3"
+
+#: misc/org.yorba.shotwell.gschema.xml:580
+msgid "URL"
+msgstr "URL"
+
+#: misc/org.yorba.shotwell.gschema.xml:581
+msgid "Gallery3 site URL"
+msgstr "Gallery3-webstedets URL"
+
+# Har ikke oversat "indicates", da det ikke optræder i lignende strenge
+#: misc/org.yorba.shotwell.gschema.xml:593
+msgid ""
+"Indicates whether images being uploaded to Gallery3 should have their "
+"metadata removed first"
+msgstr ""
+"Om billeder, der overføres til Gallery3, skal have fjernet deres metadata "
+"først"
+
+#: misc/org.yorba.shotwell.gschema.xml:598
+msgid "scaling constraint of uploaded picture"
+msgstr "skaleringsbegrænsning på sendte billeder"
+
+#: misc/org.yorba.shotwell.gschema.xml:599
+msgid "The scaling constraint ID of the picture to be uploaded"
+msgstr "Det sendte billedes skaleringsbegrænsnings-id"
+
+#: misc/org.yorba.shotwell.gschema.xml:604
+msgid "pixels of the major axis uploaded picture"
+msgstr "overførte billedes hovedakses billedpunkter"
+
+#: misc/org.yorba.shotwell.gschema.xml:605
+msgid ""
+"The pixels of the major axis of the picture to be uploaded; used only if "
+"scaling-constraint-id is an appropriate value"
+msgstr ""
+"Hovedaksens billedpunkter på det billede, der skal overføres; bruges kun "
+"hvis skaleringsbegrænsnings-id'et er en passende værdi"
+
+#: misc/org.yorba.shotwell.gschema.xml:613
+msgid ""
+"The OAuth token used to refresh the YouTube session for the currently logged "
+"in user, if any."
+msgstr ""
+"Det OAuth-token der bruges til at genopfriske den aktuelle brugers YouTube-"
+"session, hvis nogen."
+
+#: misc/org.yorba.shotwell.gschema.xml:620
+msgid "last used import service"
+msgstr "sidst brugte importtjeneste"
+
+#: misc/org.yorba.shotwell.gschema.xml:621
+msgid ""
+"A numeric code representing the last service from which photos were imported"
+msgstr ""
+"En numerisk kode som repræsenterer den sidste tjeneste, som billeder blev "
+"importeret fra"
+
+#: misc/org.yorba.shotwell.gschema.xml:628
+msgid "interpreter state cookie"
+msgstr "cookie for fortolkertilstand"
+
+#: misc/org.yorba.shotwell.gschema.xml:629
+msgid ""
+"A numeric code that captures the state of the GStreamer plug-in environment"
+msgstr ""
+"En numerisk kode som opsamler tilstanden for GStreamers udvidelsesmodulmiljø"
+
+#: misc/org.yorba.shotwell.gschema.xml:636
+msgid "content layout mode"
+msgstr "tilstand for indholdslayout"
+
+#: misc/org.yorba.shotwell.gschema.xml:637
+msgid ""
+"A numeric code that describes how photos are laid out on the page during "
+"printing"
+msgstr ""
+"En numerisk kode som beskriver, hvordan billeder sættes op på siden under "
+"udskrivning"
+
+#: misc/org.yorba.shotwell.gschema.xml:642
+msgid "content ppi"
+msgstr "indholds-ppi"
+
+#: misc/org.yorba.shotwell.gschema.xml:643
+msgid "The number of pixels per inch (ppi) sent to the printer during printing"
+msgstr ""
+"Antallet af billedpunkter pr. tomme (ppi) som sendes til printeren under "
+"udskrivning"
+
+#: misc/org.yorba.shotwell.gschema.xml:648
+msgid "content width"
+msgstr "indholdsbredde"
+
+# fotografisk emulsion? Fotoemulsion til "Screen printing"?
+#: misc/org.yorba.shotwell.gschema.xml:649
+msgid "The width of the printed emulsion on the page when printing"
+msgstr "Den udskrevne emulsions bredde på siden ved udskrift"
+
+#: misc/org.yorba.shotwell.gschema.xml:654
+msgid "content height"
+msgstr "indholdshøjde"
+
+#: misc/org.yorba.shotwell.gschema.xml:655
+msgid "The height of the printed emulsion on the page when printing"
+msgstr "Den udskrevne emulsions højde på siden ved udskrift"
+
+#: misc/org.yorba.shotwell.gschema.xml:660
+msgid "content units"
+msgstr "indholdsenheder"
+
+#: misc/org.yorba.shotwell.gschema.xml:661
+msgid ""
+"A numeric code representing unit of measure (inches or centimeters) used "
+"when printing"
+msgstr ""
+"En numerisk kode som repræsenterer måleenheder (tommer eller centimeter) "
+"brugt til udskrivning"
+
+#: misc/org.yorba.shotwell.gschema.xml:666
+msgid "images per page code"
+msgstr "kode for billeder pr. side"
+
+#: misc/org.yorba.shotwell.gschema.xml:667
+msgid ""
+"A numeric code representing the currently selected images per page mode used "
+"when printing"
+msgstr ""
+"En numerisk kode som repræsenterer den aktuelle billeder pr. side-tilstand "
+"brugt ved udskrivning"
+
+#: misc/org.yorba.shotwell.gschema.xml:672
+msgid "size selection"
+msgstr "størrelsesudvalg"
+
+#: misc/org.yorba.shotwell.gschema.xml:673
+msgid ""
+"The index of the current print size in a pre-defined list of standard sizes"
+msgstr ""
+"Den aktuelle udskriftsstørrelses index i en prædefineret liste over "
+"standardstørrelser"
+
+#: misc/org.yorba.shotwell.gschema.xml:678
+msgid "match aspect ratio"
+msgstr "match højde-/breddeforhold"
+
+#: misc/org.yorba.shotwell.gschema.xml:679
+msgid ""
+"Determines whether custom print sizes must match the aspect ratio of the "
+"original photo"
+msgstr ""
+"Bestemmer om tilpassede udskriftsstørrelser skal matche det oprindelige "
+"billedes højde-/breddeforhold"
+
+#: misc/org.yorba.shotwell.gschema.xml:684
+msgid "print titles"
+msgstr "udskriv titler"
+
+#: misc/org.yorba.shotwell.gschema.xml:685
+msgid ""
+"True if the title of a photo should be printed when the photo is printed, "
+"false otherwise."
+msgstr ""
+"Sand hvis billedets titel skal udskrives, når billedet udskrives, ellers "
+"falsk."
+
+#: misc/org.yorba.shotwell.gschema.xml:690
+msgid "titles font"
+msgstr "titlens skrifttype"
+
+#: misc/org.yorba.shotwell.gschema.xml:691
+msgid "The name of the font to use for photo titles when they are printed."
+msgstr "Navn på skrifttypen brugt til billedtitler, når de udskrives."
+
+#: misc/org.yorba.shotwell.gschema.xml:702
+msgid "enable facebook publishing plugin"
+msgstr "aktivér udvidelsesmodul til udgivelse på facebook"
+
+#: misc/org.yorba.shotwell.gschema.xml:703
+msgid "True if the Facebook publishing plugin is enabled, false otherwise"
+msgstr ""
+"Sand hvis udvidelsesmodulet til udgivelse på Facebook skal aktiveres, ellers "
+"falsk"
+
+#: misc/org.yorba.shotwell.gschema.xml:708
+msgid "enable flickr publishing plugin"
+msgstr "aktivér udvidelsesmodul til udgivelse på flickr"
+
+#: misc/org.yorba.shotwell.gschema.xml:709
+msgid "True if the Flickr publishing plugin is enabled, false otherwise"
+msgstr ""
+"Sand hvis udvidelsesmodulet til udgivelse på Flickr skal aktiveres, ellers "
+"falsk"
+
+#: misc/org.yorba.shotwell.gschema.xml:714
+msgid "enable picasa publishing plugin"
+msgstr "aktivér udvidelsesmodul til udgivelse på picasa"
+
+#: misc/org.yorba.shotwell.gschema.xml:715
+msgid ""
+"True if the Picasa Web Albums publishing plugin is enabled, false otherwise"
+msgstr ""
+"Sand hvis udvidelsesmodulet til udgivelse på Picasa Webalbums skal "
+"aktiveres, ellers falsk"
+
+#: misc/org.yorba.shotwell.gschema.xml:720
+msgid "enable youtube publishing plugin"
+msgstr "aktivér udvidelsesmodul til udgivelse på youtube"
+
+#: misc/org.yorba.shotwell.gschema.xml:721
+msgid "True if the YouTube publishing plugin is enabled, false otherwise"
+msgstr ""
+"Sand hvis udvidelsesmodulet til udgivelse på YouTube skal aktiveres, ellers "
+"falsk"
+
+#: misc/org.yorba.shotwell.gschema.xml:726
+msgid "enable piwigo publishing plugin"
+msgstr "aktivér udvidelsesmodul til udgivelse på piwigo"
+
+#: misc/org.yorba.shotwell.gschema.xml:727
+msgid "True if the Piwigo publishing plugin is enabled, false otherwise"
+msgstr ""
+"Sand hvis udvidelsesmodulet til udgivelse på Piwigo skal aktiveres, ellers "
+"falsk"
+
+#: misc/org.yorba.shotwell.gschema.xml:732
+msgid "enable yandex publishing plugin"
+msgstr "aktivér udvidelsesmodul til udgivelse på yandex"
+
+#: misc/org.yorba.shotwell.gschema.xml:733
+msgid "True if the Yandex.Fotki publishing plugin is enabled, false otherwise"
+msgstr ""
+"Sand hvis udvidelsesmodulet til udgivelse på Yandex.Fotki skal aktiveres, "
+"ellers falsk"
+
+#: misc/org.yorba.shotwell.gschema.xml:738
+msgid "enable tumblr publishing plugin"
+msgstr "aktivér udvidelsesmodul til udgivelse på tumblr"
+
+#: misc/org.yorba.shotwell.gschema.xml:739
+msgid "True if the Tumblr publishing plugin is enabled, false otherwise"
+msgstr ""
+"Sand hvis udvidelsesmodulet til udgivelse på Tumblr skal aktiveres, ellers "
+"falsk"
+
+#: misc/org.yorba.shotwell.gschema.xml:744
+msgid "enable rajce publishing plugin"
+msgstr "aktivér udvidelsesmodul til udgivelse på rajce"
+
+#: misc/org.yorba.shotwell.gschema.xml:745
+msgid "True if the Rajce publishing plugin is enabled, false otherwise"
+msgstr ""
+"Sand hvis udvidelsesmodulet til udgivelse på Rajce skal aktiveres, ellers "
+"falsk"
+
+#: misc/org.yorba.shotwell.gschema.xml:750
+msgid "enable gallery3 publishing plugin"
+msgstr "aktivér udvidelsesmodul til udgivelse på gallery3"
+
+#: misc/org.yorba.shotwell.gschema.xml:751
+msgid "True if the Gallery3 publishing plugin is enabled, false otherwise"
+msgstr ""
+"Sand hvis udvidelsesmodulet til udgivelse på Gallery3 skal aktiveres, ellers "
+"falsk"
+
+#: misc/org.yorba.shotwell.gschema.xml:756
+msgid "enable F-Spot import plugin"
+msgstr "aktivér importudvidelsesmodul til F-Spot"
+
+#: misc/org.yorba.shotwell.gschema.xml:757
+msgid "True if the F-Spot import plugin is enabled, false otherwise"
+msgstr ""
+"Sand hvis importudvidelsesmodulet til F-Spot skal aktiveres, ellers falsk"
+
+#: misc/org.yorba.shotwell.gschema.xml:762
+msgid "enable slideshow crumble transition"
+msgstr "aktivér smuldre-overgang i slideshow"
+
+#: misc/org.yorba.shotwell.gschema.xml:763
+msgid ""
+"True if the Crumble slideshow transition plugin is enabled, false otherwise"
+msgstr ""
+"Sand hvis slideshowudvidelsesmodulet Smuldre skal aktiveres, ellers falsk"
+
+#: misc/org.yorba.shotwell.gschema.xml:768
+msgid "enable slideshow fade transition"
+msgstr "aktivér falme-overgang i slideshow"
+
+#: misc/org.yorba.shotwell.gschema.xml:769
+msgid ""
+"True if the Fade slideshow transition plugin is enabled, false otherwise"
+msgstr ""
+"Sand hvis slideshowudvidelsesmodulet Falme skal aktiveres, ellers falsk"
+
+#: misc/org.yorba.shotwell.gschema.xml:774
+#: misc/org.yorba.shotwell.gschema.xml:798
+msgid "enable slideshow slide transition"
+msgstr "aktivér glide-overgang i slideshow"
+
+#: misc/org.yorba.shotwell.gschema.xml:775
+msgid ""
+"True if the Slide slideshow transition plugin is enabled, false otherwise"
+msgstr ""
+"Sand hvis slideshowudvidelsesmodulet Glide skal aktiveres, ellers falsk"
+
+#: misc/org.yorba.shotwell.gschema.xml:780
+msgid "enable slideshow clock transition"
+msgstr "aktivér ur-overgang i slideshow"
+
+#: misc/org.yorba.shotwell.gschema.xml:781
+msgid ""
+"True if the Clock slideshow transition plugin is enabled, false otherwise"
+msgstr "Sand hvis slideshowudvidelsesmodulet Ur skal aktiveres, ellers falsk"
+
+#: misc/org.yorba.shotwell.gschema.xml:786
+#: misc/org.yorba.shotwell.gschema.xml:792
+msgid "enable slideshow circle transition"
+msgstr "aktivér cirkel-overgang i slideshow"
+
+#: misc/org.yorba.shotwell.gschema.xml:787
+msgid ""
+"True if the Circle slideshow transition plugin is enabled, false otherwise"
+msgstr ""
+"Sand hvis slideshowudvidelsesmodulet Cirkel skal aktiveres, ellers falsk"
+
+#: misc/org.yorba.shotwell.gschema.xml:793
+msgid ""
+"True if the Circles slideshow transition plugin is enabled, false otherwise"
+msgstr ""
+"Sand hvis slideshowudvidelsesmodulet Cirkler skal aktiveres, ellers falsk"
+
+#: misc/org.yorba.shotwell.gschema.xml:799
+msgid ""
+"True if the Blinds slideshow transition plugin is enabled, false otherwise"
+msgstr ""
+"Sand hvis slideshowudvidelsesmodulet Persienne skal aktiveres, ellers falsk"
+
+#: misc/org.yorba.shotwell.gschema.xml:804
+msgid "enable slideshow squares transition"
+msgstr "aktivér kvadrater-overgang i slideshow"
+
+#: misc/org.yorba.shotwell.gschema.xml:805
+msgid ""
+"True if the Squares slideshow transition plugin is enabled, false otherwise"
+msgstr ""
+"Sand hvis slideshowudvidelsesmodulet Kvadrater skal aktiveres, ellers falsk"
+
+#: misc/org.yorba.shotwell.gschema.xml:810
+msgid "enable slideshow stripes transition"
+msgstr "aktivér striber-overgang i slideshow"
+
+#: misc/org.yorba.shotwell.gschema.xml:811
+msgid ""
+"True if the Stripes slideshow transition plugin is enabled, false otherwise"
+msgstr ""
+"Sand hvis slideshowudvidelsesmodulet Striber skal aktiveres, ellers falsk"
+
+#: misc/org.yorba.shotwell.gschema.xml:816
+msgid "enable slideshow chess transition"
+msgstr "aktivér skaktern-overgang i slideshow"
+
+#: misc/org.yorba.shotwell.gschema.xml:817
+msgid ""
+"True if the Chess-Board slideshow transition plugin is enabled, false "
+"otherwise"
+msgstr ""
+"Sand hvis slideshowudvidelsesmodulet Skaktern skal aktiveres, ellers falsk"
+
+#: plugins/common/Resources.vala:12
+msgid "Visit the Shotwell home page"
+msgstr "Besøg Shotwells hjemmeside"
+
+#: plugins/common/Resources.vala:31 src/AppWindow.vala:603
msgid "translator-credits"
msgstr ""
"Joe Hansen <joedalton2@yahoo.dk>\n"
"Johannes Wilm <mail@johanneswilm.org>\n"
-"Aputsiaq Janussen <aj@isit.gl>"
+"Aputsiaq Janussen <aj@isit.gl>\n"
+"Alan Mortensen <alanmortensen.am@gmail.com>\n"
+"\n"
+"Dansk-gruppen <dansk@dansk-gruppen.dk>\n"
+"Mere info: http://www.dansk-gruppen.dk"
-#: ../plugins/shotwell-data-imports/FSpotImporter.vala:34
-#: ../plugins/shotwell-publishing/FacebookPublishing.vala:32
-#: ../plugins/shotwell-publishing/FlickrPublishing.vala:34
-#: ../plugins/shotwell-publishing/PicasaPublishing.vala:32
-#: ../plugins/shotwell-publishing/PiwigoPublishing.vala:32
-#: ../plugins/shotwell-publishing/YouTubePublishing.vala:32
-#: ../src/Resources.vala:27
-msgid "Copyright 2009-2014 Yorba Foundation"
+#. Possible error message when a site presents a bad certificate.
+#: plugins/common/RESTSupport.vala:202
+msgid ""
+"⚫ This website presented identification that belongs to a different website."
msgstr ""
+"⚫ Dette websted fremviste identifikation som tilhører et andet websted."
-#: ../plugins/shotwell-data-imports/FSpotImporter.vala:56
+#. Possible error message when a site presents a bad certificate.
+#: plugins/common/RESTSupport.vala:207
+msgid ""
+"⚫ This website’s identification is too old to trust. Check the date on your "
+"computer’s calendar."
+msgstr ""
+"⚫ Dette websteds identifikation er for gammel til at stole på. Tjek datoen i "
+"din computers kalender."
+
+#. Possible error message when a site presents a bad certificate.
+#: plugins/common/RESTSupport.vala:212
+msgid ""
+"⚫ This website’s identification was not issued by a trusted organization."
+msgstr ""
+"⚫ Dette websteds identifikation var ikke udstedt af en betroet organisation."
+
+#. Possible error message when a site presents a bad certificate.
+#: plugins/common/RESTSupport.vala:217
+msgid ""
+"⚫ This website’s identification could not be processed. It may be corrupted."
+msgstr ""
+"⚫ Dette websteds identifikation kunne ikke behandles. Den kan være ødelagt."
+
+#. Possible error message when a site presents a bad certificate.
+#: plugins/common/RESTSupport.vala:222
+msgid ""
+"⚫ This website’s identification has been revoked by the trusted organization "
+"that issued it."
+msgstr ""
+"⚫ Dette websteds identifikation er blevet tilbagekaldt af den organisation, "
+"som udstedte den."
+
+#. Possible error message when a site presents a bad certificate.
+#: plugins/common/RESTSupport.vala:227
+msgid ""
+"⚫ This website’s identification cannot be trusted because it uses very weak "
+"encryption."
+msgstr ""
+"⚫ Dette websteds identifikation kan der ikke fæstes tillid til, fordi "
+"krypteringen er meget svag."
+
+#. Possible error message when a site presents a bad certificate.
+#: plugins/common/RESTSupport.vala:232
+msgid ""
+"⚫ This website’s identification is only valid for future dates. Check the "
+"date on your computer’s calendar."
+msgstr ""
+"⚫ Dette websteds identifikation er kun gyldig for fremtidige datoer. Tjek "
+"datoen i din computers kalender."
+
+#: plugins/common/RESTSupport.vala:509
+#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:959
+msgid "A temporary file needed for publishing is unavailable"
+msgstr ""
+"En midlertidig fil, som er nødvendig for udgivelse, er ikke tilgængelig"
+
+#: plugins/common/RESTSupport.vala:1167
+msgid ""
+"You have already logged in and out of a Google service during this Shotwell "
+"session.\n"
+"\n"
+"To continue publishing to Google services, quit and restart Shotwell, then "
+"try publishing again."
+msgstr ""
+"Du har allerede logget ind og ud af en Google-tjeneste under denne Shotwell-"
+"session.\n"
+"\n"
+"Afslut og start Shotwell på ny for at fortsætte med at udgive til Google-"
+"tjenester."
+
+#: plugins/shotwell-data-imports/FSpotImporter.vala:36
+#: plugins/shotwell-publishing/FacebookPublishing.vala:33
+#: plugins/shotwell-publishing/FlickrPublishing.vala:33
+#: plugins/shotwell-publishing/PicasaPublishing.vala:33
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:33
+#: plugins/shotwell-publishing/YouTubePublishing.vala:33 src/Resources.vala:27
+msgid "Copyright 2016 Software Freedom Conservancy Inc."
+msgstr "Copyright 2016 Software Freedom Conservancy Inc."
+
+#: plugins/shotwell-data-imports/FSpotImporter.vala:58
msgid ""
"Welcome to the F-Spot library import service.\n"
"\n"
@@ -80,10 +1484,10 @@ msgstr ""
"Velkommen til tjenesten til import af biblioteker for F-Spot.\n"
"\n"
"Vælg venligst et bibliotek som skal importeres, enten ved at vælge ét af de "
-"eksisterende biblioteker som Shotwell finder, eller ved at vælge en anden F-"
+"eksisterende biblioteker, som Shotwell finder, eller ved at vælge en anden F-"
"Spot-databasefil."
-#: ../plugins/shotwell-data-imports/FSpotImporter.vala:58
+#: plugins/shotwell-data-imports/FSpotImporter.vala:60
msgid ""
"Welcome to the F-Spot library import service.\n"
"\n"
@@ -93,11 +1497,11 @@ msgstr ""
"\n"
"Vælg venligst en F-Spot-databasefil."
-#: ../plugins/shotwell-data-imports/FSpotImporter.vala:60
+#: plugins/shotwell-data-imports/FSpotImporter.vala:62
msgid "Manually select an F-Spot database file to import:"
msgstr "Vælg manuelt en F-Spot-database som skal importeres:"
-#: ../plugins/shotwell-data-imports/FSpotImporter.vala:62
+#: plugins/shotwell-data-imports/FSpotImporter.vala:64
msgid ""
"Cannot open the selected F-Spot database file: the file does not exist or is "
"not an F-Spot database"
@@ -105,7 +1509,7 @@ msgstr ""
"Kan ikke åbne den valgte F-Spot-databasefil: filen findes ikke eller er ikke "
"en F-Spot-database"
-#: ../plugins/shotwell-data-imports/FSpotImporter.vala:64
+#: plugins/shotwell-data-imports/FSpotImporter.vala:66
msgid ""
"Cannot open the selected F-Spot database file: this version of the F-Spot "
"database is not supported by Shotwell"
@@ -113,21 +1517,22 @@ msgstr ""
"Kan ikke åbne den valgte F-Spot-databasefil: denne version af F-Spot-"
"databasen understøttes ikke af Shotwell"
-#: ../plugins/shotwell-data-imports/FSpotImporter.vala:66
+#: plugins/shotwell-data-imports/FSpotImporter.vala:68
msgid ""
"Cannot read the selected F-Spot database file: error while reading tags table"
msgstr ""
-"Kan ikke læse den valgte F-Spot-databasefil: fejl under læsning af tags-tabel"
+"Kan ikke læse den valgte F-Spot-databasefil: fejl under læsning af "
+"mærketabellen"
-#: ../plugins/shotwell-data-imports/FSpotImporter.vala:68
+#: plugins/shotwell-data-imports/FSpotImporter.vala:70
msgid ""
"Cannot read the selected F-Spot database file: error while reading photos "
"table"
msgstr ""
-"Kan ikke læse den valgte F-Spot-databasefil: fejl under læsning af photos-"
-"tabel"
+"Kan ikke læse den valgte F-Spot-databasefil: fejl under læsning af "
+"billedtabellen"
-#: ../plugins/shotwell-data-imports/FSpotImporter.vala:70
+#: plugins/shotwell-data-imports/FSpotImporter.vala:72
#, c-format
msgid ""
"Shotwell has found %d photos in the F-Spot library and is currently "
@@ -136,459 +1541,452 @@ msgid ""
"You can close this dialog and start using Shotwell while the import is "
"taking place in the background."
msgstr ""
-"Shotwell har fundet %d billeder i F-Spot-biblioteket, og er i gang med at "
-"importere dem. Dupletter vil automatisk blive opdaget og fjernet.\n"
+"Shotwell har fundet %d billeder i F-Spot-biblioteket og er i gang med at "
+"importere dem. Dubletter vil automatisk blive opdaget og fjernet.\n"
"\n"
"Du kan lukke dette vindue og begynde at anvende Shotwell, mens importen "
"foregår i baggrunden."
-#: ../plugins/shotwell-data-imports/FSpotImporter.vala:84
+#: plugins/shotwell-data-imports/FSpotImporter.vala:86
#, c-format
msgid "F-Spot library: %s"
msgstr "F-Spot-bibliotek: %s"
-#: ../plugins/shotwell-data-imports/FSpotImporter.vala:416
+#: plugins/shotwell-data-imports/FSpotImporter.vala:424
msgid "Preparing to import"
msgstr "Forbereder import"
-#: ../plugins/shotwell-data-imports/shotwell-data-imports.vala:22
+#: plugins/shotwell-data-imports/shotwell-data-imports.vala:22
msgid "Core Data Import Services"
msgstr "Kerne-tjenester til dataimport"
-#: ../plugins/shotwell-publishing-extras/GalleryConnector.vala:41
-msgid "Gallery3 publishing module"
+#: plugins/shotwell-publishing-extras/gallery3_authentication_pane.ui:5
+#: plugins/shotwell-publishing-extras/gallery3_authentication_pane.ui:125
+msgid "Go _Back"
+msgstr "Gå _tilbage"
+
+#: plugins/shotwell-publishing-extras/gallery3_authentication_pane.ui:8
+#: plugins/shotwell-publishing-extras/gallery3_authentication_pane.ui:145
+#: ui/shotwell.ui:1464
+msgid "_Log in"
+msgstr "_Log ind"
+
+#: plugins/shotwell-publishing-extras/gallery3_authentication_pane.ui:34
+msgid "_Gallery3 URL:"
+msgstr "_Gallery3-URL:"
+
+#: plugins/shotwell-publishing-extras/gallery3_authentication_pane.ui:64
+msgid "_User name:"
+msgstr "Bruger_navn:"
+
+#: plugins/shotwell-publishing-extras/gallery3_authentication_pane.ui:79
+msgid "_Password:"
+msgstr "Ad_gangskode:"
+
+#: plugins/shotwell-publishing-extras/gallery3_authentication_pane.ui:178
+msgid "API _Key:"
+msgstr "API-_nøgle:"
+
+#: plugins/shotwell-publishing-extras/gallery3_authentication_pane.ui:208
+msgid "or"
+msgstr "eller"
+
+#: plugins/shotwell-publishing-extras/gallery3_publishing_options_pane.ui:5
+#: plugins/shotwell-publishing-extras/rajce_publishing_options_pane.ui:38
+#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1019
+#: plugins/shotwell-publishing-extras/tumblr_publishing_options_pane.ui:116
+#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:142
+#: plugins/shotwell-publishing/facebook_publishing_options_pane.ui:197
+#: plugins/shotwell-publishing/flickr_publishing_options_pane.ui:137
+#: plugins/shotwell-publishing/picasa_publishing_options_pane.ui:229
+#: plugins/shotwell-publishing/youtube_publishing_options_pane.ui:99
+msgid "_Logout"
+msgstr "_Log ud"
+
+#: plugins/shotwell-publishing-extras/gallery3_publishing_options_pane.ui:8
+#: plugins/shotwell-publishing-extras/rajce_publishing_options_pane.ui:247
+#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1018
+#: plugins/shotwell-publishing-extras/tumblr_publishing_options_pane.ui:134
+#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:156
+#: plugins/shotwell-publishing/facebook_publishing_options_pane.ui:212
+#: plugins/shotwell-publishing/flickr_publishing_options_pane.ui:153
+#: plugins/shotwell-publishing/picasa_publishing_options_pane.ui:243
+#: plugins/shotwell-publishing/youtube_publishing_options_pane.ui:115
+#: src/CollectionPage.vala:76 src/PhotoPage.vala:2456
+msgid "_Publish"
+msgstr "_Udgiv"
+
+#: plugins/shotwell-publishing-extras/gallery3_publishing_options_pane.ui:11
+msgid "A _new album"
+msgstr "Et _nyt album"
+
+#: plugins/shotwell-publishing-extras/gallery3_publishing_options_pane.ui:17
+msgid "An _existing album"
+msgstr "Et _eksisterende album"
+
+#: plugins/shotwell-publishing-extras/gallery3_publishing_options_pane.ui:22
+msgid "_Remove location, tag and camera-identifying data before uploading"
msgstr ""
+"_Fjern sted, mærke og samt information som identificerer kameraet før "
+"overførsel"
-#: ../plugins/shotwell-publishing-extras/GalleryConnector.vala:114
-#, fuzzy
+#: plugins/shotwell-publishing-extras/gallery3_publishing_options_pane.ui:135
+msgid "Scaling constraint:"
+msgstr "Skaleringsbegrænsning:"
+
+#: plugins/shotwell-publishing-extras/gallery3_publishing_options_pane.ui:153
+msgid "pixels"
+msgstr "billedpunkter"
+
+#: plugins/shotwell-publishing-extras/gallery3_publishing_options_pane.ui:195
+#: plugins/shotwell-publishing/FlickrPublishing.vala:1235
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1306
+#: src/Dimensions.vala:17
+msgid "Original size"
+msgstr "Oprindelig størrelse"
+
+#: plugins/shotwell-publishing-extras/gallery3_publishing_options_pane.ui:196
+#: src/Dimensions.vala:20
+msgid "Width or height"
+msgstr "Bredde eller højde"
+
+#: plugins/shotwell-publishing-extras/GalleryConnector.vala:41
+msgid "Gallery3 publishing module"
+msgstr "Udgivelsesmodul til Gallery3"
+
+#: plugins/shotwell-publishing-extras/GalleryConnector.vala:114
msgid ""
"You are not currently logged into your Gallery.\n"
"\n"
"You must have already signed up for a Gallery3 account to complete the login "
"process."
msgstr ""
-"Du er ikke logget ind YouTube. \n"
+"Du er ikke logget ind på dit Gallery. \n"
"\n"
-"Du må allerede have åbnet en Google-konto og sat den op til brug med YouTube "
-"for at kunne fortsætte. Du kan sætte de fleste konti op ved hjælp af at "
-"logge ind på YouTube-webstedet mindst en gang med din browser."
-
-#: ../plugins/shotwell-publishing-extras/GalleryConnector.vala:115
-#: ../src/MediaPage.vala:420 ../src/photos/RawSupport.vala:300
-msgid "Shotwell"
-msgstr "Shotwell"
+"Du skal på forhånd have oprettet en Gallery3-konto for at kunne fuldføre "
+"login-processen."
-#: ../plugins/shotwell-publishing-extras/GalleryConnector.vala:117
-#, fuzzy
+#: plugins/shotwell-publishing-extras/GalleryConnector.vala:117
msgid "Shotwell default directory"
-msgstr "Shotwell Præferancer"
+msgstr "Shotwells standardbibliotek"
-#: ../plugins/shotwell-publishing-extras/GalleryConnector.vala:801
+#: plugins/shotwell-publishing-extras/GalleryConnector.vala:801
#, c-format
msgid ""
"\n"
"\n"
-"The file \"%s\" may not be supported by or may be too large for this "
-"instance of Gallery3."
+"The file “%s” may not be supported by or may be too large for this instance "
+"of Gallery3."
msgstr ""
+"\n"
+"\n"
+"Filen \"%s\" er muligvis ikke understøttet eller kan være for stor til denne "
+"forekomst af Gallery3."
-#: ../plugins/shotwell-publishing-extras/GalleryConnector.vala:802
+#: plugins/shotwell-publishing-extras/GalleryConnector.vala:802
msgid ""
"\n"
"Note that Gallery3 only supports the video types that Flowplayer does."
msgstr ""
+"\n"
+"Bemærk at Gallery3 kun understøtter de samme videotyper som Flowplayer."
-#: ../plugins/shotwell-publishing-extras/GalleryConnector.vala:1022
-#: ../plugins/shotwell-publishing-extras/GalleryConnector.vala:1774
-#, fuzzy
-msgid "A file required for publishing is unavailable. Publishing to "
+#: plugins/shotwell-publishing-extras/GalleryConnector.vala:1021
+#: plugins/shotwell-publishing-extras/GalleryConnector.vala:1773
+#, c-format
+msgid ""
+"A file required for publishing is unavailable. Publishing to %s can’t "
+"continue."
msgstr ""
-"En fil som kræves for at udgive mangler. Udgivelse til Flickr kan ikke "
+"En fil nødvendig til udgivelse er utilgængelig. Udgivelse til %s kan ikke "
"fortsætte."
#. populate any widgets whose contents are
#. programmatically-generated
-#: ../plugins/shotwell-publishing-extras/GalleryConnector.vala:1550
-#, fuzzy, c-format
+#: plugins/shotwell-publishing-extras/GalleryConnector.vala:1550
+#, c-format
msgid "Publishing to %s as %s."
-msgstr "Publiser billeder og videoer"
+msgstr "Udgiver til %s som %s."
-#: ../plugins/shotwell-publishing-extras/GalleryConnector.vala:1816
-#, fuzzy
+#: plugins/shotwell-publishing-extras/GalleryConnector.vala:1817
msgid ""
"Enter the URL for your Gallery3 site and the username and password (or API "
"key) for your Gallery3 account."
msgstr ""
-"Indtast URL'en til dit Piwigo-billedbibliotek samt brugernavnet og "
-"adgangskoden, som er knyttet til din Piwigo-konto for dette bibliotek."
+"Indtast dit Gallery3-websteds URL samt brugernavnet og adgangskoden (eller "
+"API-nøglen) til din Gallery3-konto."
-#: ../plugins/shotwell-publishing-extras/GalleryConnector.vala:1817
+#: plugins/shotwell-publishing-extras/GalleryConnector.vala:1818
msgid ""
"The username and password or API key were incorrect. To try again, re-enter "
"your username and password below."
msgstr ""
+"Brugernavn og adgangskode eller API-nøgle var forkerte. Indtast dit "
+"brugernavn og din adgangskode nedenfor for at prøve igen."
-#: ../plugins/shotwell-publishing-extras/GalleryConnector.vala:1818
+#: plugins/shotwell-publishing-extras/GalleryConnector.vala:1819
msgid ""
"The URL entered does not appear to be the main directory of a Gallery3 "
"instance. Please make sure you typed it correctly and it does not have any "
"trailing components (e.g., index.php)."
msgstr ""
+"Den indtastede URL lader ikke til at være en Gallery3-forekomsts hovedmappe. "
+"Sikr dig, at du har indtastet det korrekt, og at der ikke er nogen "
+"efterstillede komponenter (f.eks. index.php)."
-#: ../plugins/shotwell-publishing-extras/GalleryConnector.vala:1871
+#: plugins/shotwell-publishing-extras/GalleryConnector.vala:1872
msgid "Unrecognized User"
-msgstr ""
+msgstr "Bruger ikke genkendt"
-#: ../plugins/shotwell-publishing-extras/GalleryConnector.vala:1876
+#: plugins/shotwell-publishing-extras/GalleryConnector.vala:1877
msgid " Site Not Found"
-msgstr ""
+msgstr "Websted kunne ikke findes"
-#: ../plugins/shotwell-publishing-extras/RajcePublishing.vala:38
-msgid "Copyright (C) 2013 rajce.net"
-msgstr ""
-
-#: ../plugins/shotwell-publishing-extras/RajcePublishing.vala:742
-#, fuzzy
-msgid "An error message occurred when publishing to Rajce. Please try again."
-msgstr ""
-"Der fremkom en fejlbesked under udgivelse til Piwigo. Forsøg venligst igen."
-
-#: ../plugins/shotwell-publishing-extras/RajcePublishing.vala:831
-msgid "Enter email and password associated with your Rajce account."
-msgstr ""
-
-#: ../plugins/shotwell-publishing-extras/RajcePublishing.vala:832
-#, fuzzy
-msgid "Invalid email and/or password. Please try again"
-msgstr "Brugernavn og/eller adgangskode er ugyldig. Prøv venligst igen"
-
-#: ../plugins/shotwell-publishing-extras/RajcePublishing.vala:863
-#, fuzzy
-msgid "Invalid User Email or Password"
-msgstr "Ugyldigt brugernavn eller adgangskode"
-
-#: ../plugins/shotwell-publishing-extras/RajcePublishing.vala:890
-#: ../plugins/shotwell-publishing-extras/tumblr_authentication_pane.glade.h:2
-#: ../plugins/shotwell-publishing-extras/rajce_authentication_pane.glade.h:2
+#: plugins/shotwell-publishing-extras/rajce_authentication_pane.ui:43
+#: plugins/shotwell-publishing-extras/RajcePublishing.vala:892
+#: plugins/shotwell-publishing-extras/tumblr_authentication_pane.ui:43
msgid "_Email address"
-msgstr ""
+msgstr "_E-mail-adresse"
-#: ../plugins/shotwell-publishing-extras/RajcePublishing.vala:891
-#: ../plugins/shotwell-publishing-extras/tumblr_authentication_pane.glade.h:3
-#: ../plugins/shotwell-publishing-extras/rajce_authentication_pane.glade.h:3
-#: ../plugins/shotwell-publishing/piwigo_authentication_pane.glade.h:4
+#: plugins/shotwell-publishing-extras/rajce_authentication_pane.ui:53
+#: plugins/shotwell-publishing-extras/RajcePublishing.vala:893
+#: plugins/shotwell-publishing-extras/tumblr_authentication_pane.ui:53
+#: plugins/shotwell-publishing/piwigo_authentication_pane.ui:119
msgid "_Password"
msgstr "_Adgangskode"
-#: ../plugins/shotwell-publishing-extras/RajcePublishing.vala:892
-#: ../plugins/shotwell-publishing-extras/rajce_authentication_pane.glade.h:4
-#, fuzzy
+#: plugins/shotwell-publishing-extras/rajce_authentication_pane.ui:97
+#: plugins/shotwell-publishing-extras/RajcePublishing.vala:894
msgid "_Remember"
-msgstr "_Husk adgangskode"
+msgstr "_Husk"
-#: ../plugins/shotwell-publishing-extras/RajcePublishing.vala:893
-#: ../plugins/shotwell-publishing-extras/tumblr_authentication_pane.glade.h:4
-#: ../plugins/shotwell-publishing-extras/rajce_authentication_pane.glade.h:5
-#: ../plugins/shotwell-publishing/piwigo_authentication_pane.glade.h:6
-msgid "Login"
+#: plugins/shotwell-publishing-extras/rajce_authentication_pane.ui:118
+#: plugins/shotwell-publishing-extras/RajcePublishing.vala:895
+#: plugins/shotwell-publishing-extras/tumblr_authentication_pane.ui:101
+#: plugins/shotwell-publishing/piwigo_authentication_pane.ui:154
+msgid "Log in"
msgstr "Log ind"
-#: ../plugins/shotwell-publishing-extras/RajcePublishing.vala:1006
-#: ../plugins/shotwell-publishing-extras/rajce_publishing_options_pane.glade.h:5
-msgid "_Hide album"
-msgstr ""
-
-#: ../plugins/shotwell-publishing-extras/RajcePublishing.vala:1013
-#, fuzzy, c-format
-msgid "You are logged into Rajce as %s."
-msgstr ""
-"Du er logget ind på Facebook som %s.\n"
-"\n"
-
-#: ../plugins/shotwell-publishing-extras/RajcePublishing.vala:1014
-#: ../plugins/shotwell-publishing/PicasaPublishing.vala:670
-#: ../plugins/shotwell-publishing/piwigo_publishing_options_pane.glade.h:1
-msgid "Photos will appear in:"
-msgstr "Billeder vil blive vist i:"
-
-#: ../plugins/shotwell-publishing-extras/RajcePublishing.vala:1015
-#: ../plugins/shotwell-publishing-extras/rajce_publishing_options_pane.glade.h:3
-#: ../plugins/shotwell-publishing/picasa_publishing_options_pane.glade.h:1
+#: plugins/shotwell-publishing-extras/rajce_publishing_options_pane.ui:111
+#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1015
+#: plugins/shotwell-publishing/picasa_publishing_options_pane.ui:75
msgid "An _existing album:"
msgstr "Et _eksisterende album:"
-#: ../plugins/shotwell-publishing-extras/RajcePublishing.vala:1016
-#: ../plugins/shotwell-publishing-extras/rajce_publishing_options_pane.glade.h:4
-#: ../plugins/shotwell-publishing/picasa_publishing_options_pane.glade.h:2
-#: ../plugins/shotwell-publishing/piwigo_publishing_options_pane.glade.h:3
+#: plugins/shotwell-publishing-extras/rajce_publishing_options_pane.ui:135
+#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1016
+#: plugins/shotwell-publishing/picasa_publishing_options_pane.ui:94
msgid "A _new album named:"
msgstr "Et _nyt album med navnet:"
-#: ../plugins/shotwell-publishing-extras/RajcePublishing.vala:1017
-#: ../plugins/shotwell-publishing-extras/rajce_publishing_options_pane.glade.h:6
+#: plugins/shotwell-publishing-extras/rajce_publishing_options_pane.ui:159
+#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1006
+msgid "_Hide album"
+msgstr "_Skjul album"
+
+#: plugins/shotwell-publishing-extras/rajce_publishing_options_pane.ui:178
+#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1017
msgid "Open target _album in browser"
+msgstr "Åbn mål_album i browser"
+
+#: plugins/shotwell-publishing-extras/RajcePublishing.vala:40
+msgid "Copyright © 2013 rajce.net"
+msgstr "Copyright © 2013 rajce.net"
+
+#: plugins/shotwell-publishing-extras/RajcePublishing.vala:744
+msgid "An error message occurred when publishing to Rajce. Please try again."
msgstr ""
+"Der fremkom en fejlbesked under udgivelse til Rajce. Forsøg venligst igen."
-#: ../plugins/shotwell-publishing-extras/RajcePublishing.vala:1018
-#: ../plugins/shotwell-publishing-extras/gallery3_publishing_options_pane.glade.h:2
-#: ../plugins/shotwell-publishing-extras/tumblr_publishing_options_pane.glade.h:4
-#: ../plugins/shotwell-publishing-extras/rajce_publishing_options_pane.glade.h:8
-#: ../plugins/shotwell-publishing-extras/yandex_publish_model.glade.h:6
-#: ../plugins/shotwell-publishing/facebook_publishing_options_pane.glade.h:7
-#: ../plugins/shotwell-publishing/flickr_publishing_options_pane.glade.h:4
-#: ../plugins/shotwell-publishing/picasa_publishing_options_pane.glade.h:7
-#: ../plugins/shotwell-publishing/youtube_publishing_options_pane.glade.h:3
-msgid "_Publish"
-msgstr "_Udgiv"
+#: plugins/shotwell-publishing-extras/RajcePublishing.vala:833
+msgid "Enter email and password associated with your Rajce account."
+msgstr "Indtast e-mail og adgangskode tilknyttet din Rajce-konto."
-#: ../plugins/shotwell-publishing-extras/RajcePublishing.vala:1019
-#: ../plugins/shotwell-publishing-extras/gallery3_publishing_options_pane.glade.h:1
-#: ../plugins/shotwell-publishing-extras/tumblr_publishing_options_pane.glade.h:3
-#: ../plugins/shotwell-publishing-extras/rajce_publishing_options_pane.glade.h:2
-#: ../plugins/shotwell-publishing-extras/yandex_publish_model.glade.h:5
-#: ../plugins/shotwell-publishing/facebook_publishing_options_pane.glade.h:6
-#: ../plugins/shotwell-publishing/flickr_publishing_options_pane.glade.h:3
-#: ../plugins/shotwell-publishing/picasa_publishing_options_pane.glade.h:6
-#: ../plugins/shotwell-publishing/youtube_publishing_options_pane.glade.h:2
-msgid "_Logout"
-msgstr "_Log ud"
+#: plugins/shotwell-publishing-extras/RajcePublishing.vala:834
+msgid "Invalid email and/or password. Please try again"
+msgstr "E-mail og/eller adgangskode er ugyldig. Prøv venligst igen"
+
+#: plugins/shotwell-publishing-extras/RajcePublishing.vala:865
+msgid "Invalid User Email or Password"
+msgstr "Ugyldig e-mail eller adgangskode for bruger"
+
+#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1013
+#, c-format
+msgid "You are logged into Rajce as %s."
+msgstr "Du er logget ind på Rajce som %s."
+
+#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1014
+#: plugins/shotwell-publishing/PicasaPublishing.vala:670
+#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:20
+msgid "Photos will appear in:"
+msgstr "Billeder vil blive vist i:"
+
+#: plugins/shotwell-publishing-extras/shotwell-publishing-extras.vala:20
+msgid "Shotwell Extra Publishing Services"
+msgstr "Shotwells ekstra udgivelsestjenester"
+
+#: plugins/shotwell-publishing-extras/tumblr_publishing_options_pane.ui:43
+msgid "Blogs:"
+msgstr "Blogs:"
+
+#: plugins/shotwell-publishing-extras/tumblr_publishing_options_pane.ui:60
+#: plugins/shotwell-publishing/flickr_publishing_options_pane.ui:61
+msgid "Photo _size:"
+msgstr "_Billedstørrelse:"
-#: ../plugins/shotwell-publishing-extras/TumblrPublishing.vala:35
+#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:36
msgid "Copyright 2012 BJA Electronics"
-msgstr ""
+msgstr "Copyright 2012 BJA Electronics"
-#: ../plugins/shotwell-publishing-extras/TumblrPublishing.vala:104
-#: ../plugins/shotwell-publishing/FlickrPublishing.vala:1229
-#: ../plugins/shotwell-publishing/PiwigoPublishing.vala:1246
-msgid "500 x 375 pixels"
-msgstr "500 x 375 billedpunkter"
+#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:105
+#: plugins/shotwell-publishing/FlickrPublishing.vala:1231
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1302
+msgid "500 × 375 pixels"
+msgstr "500 × 375 billedpunkter"
-#: ../plugins/shotwell-publishing-extras/TumblrPublishing.vala:105
-#: ../plugins/shotwell-publishing/FlickrPublishing.vala:1230
-#: ../plugins/shotwell-publishing/PiwigoPublishing.vala:1247
-msgid "1024 x 768 pixels"
-msgstr "1024 x 768 billedpunkter"
+#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:106
+#: plugins/shotwell-publishing/FlickrPublishing.vala:1232
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1303
+msgid "1024 × 768 pixels"
+msgstr "1024 × 768 billedpunkter"
-#: ../plugins/shotwell-publishing-extras/TumblrPublishing.vala:106
-msgid "1280 x 853 pixels"
-msgstr ""
+#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:107
+msgid "1280 × 853 pixels"
+msgstr "1280 × 853 billedpunkter"
-#: ../plugins/shotwell-publishing-extras/TumblrPublishing.vala:310
-#: ../plugins/shotwell-publishing-extras/TumblrPublishing.vala:320
+#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:311
+#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:321
#, c-format
-msgid "'%s' isn't a valid response to an OAuth authentication request"
-msgstr ""
+msgid "“%s” isn’t a valid response to an OAuth authentication request"
+msgstr "“%s” er ikke et gyldigt svar på en forespørgsel om OAuth-godkendelse"
-#: ../plugins/shotwell-publishing-extras/TumblrPublishing.vala:558
+#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:559
msgid ""
-"TumblrPublisher: start( ): can't start; this publisher is not restartable."
+"TumblrPublisher: start( ): can’t start; this publisher is not restartable."
msgstr ""
+"TumblrPublisher: start( ): kan ikke starte; denne udgiver kan ikke "
+"genstartes."
-#: ../plugins/shotwell-publishing-extras/TumblrPublishing.vala:586
+#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:587
msgid "Enter the username and password associated with your Tumblr account."
-msgstr ""
+msgstr "Indtast e-mail og adgangskode tilknyttet din Tumblr-konto."
-#: ../plugins/shotwell-publishing-extras/TumblrPublishing.vala:587
-#: ../plugins/shotwell-publishing/PiwigoPublishing.vala:1000
+#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:588
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1081
msgid "Username and/or password invalid. Please try again"
msgstr "Brugernavn og/eller adgangskode er ugyldig. Prøv venligst igen"
-#: ../plugins/shotwell-publishing-extras/TumblrPublishing.vala:617
-#: ../plugins/shotwell-publishing/PiwigoPublishing.vala:1037
+#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:615
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1117
msgid "Invalid User Name or Password"
msgstr "Ugyldigt brugernavn eller adgangskode"
-#: ../plugins/shotwell-publishing-extras/TumblrPublishing.vala:636
-#: ../plugins/shotwell-publishing-extras/TumblrPublishing.vala:757
+#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:635
+#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:753
#, c-format
msgid "Could not load UI: %s"
-msgstr ""
+msgstr "Kunne ikke indlæse UI: %s"
-#: ../plugins/shotwell-publishing-extras/TumblrPublishing.vala:739
+#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:735
#, c-format
msgid ""
"You are logged into Tumblr as %s.\n"
"\n"
msgstr ""
+"D uer logget på Tumblr som %s.\n"
+"\n"
-#: ../plugins/shotwell-publishing-extras/YandexPublishing.vala:22
+#: plugins/shotwell-publishing-extras/YandexPublishing.vala:22
msgid "Copyright 2010+ Evgeniy Polyakov <zbr@ioremap.net>"
-msgstr ""
+msgstr "Copyright 2010+ Evgeniy Polyakov <zbr@ioremap.net>"
-#: ../plugins/shotwell-publishing-extras/YandexPublishing.vala:25
+#: plugins/shotwell-publishing-extras/YandexPublishing.vala:25
msgid "Visit the Yandex.Fotki web site"
-msgstr ""
+msgstr "Besøg Yandex.Fotki-webstedet"
-#: ../plugins/shotwell-publishing-extras/YandexPublishing.vala:632
+#: plugins/shotwell-publishing-extras/YandexPublishing.vala:609
msgid "You are not currently logged into Yandex.Fotki."
msgstr "Du er ikke logget ind til Yandex.Fotki."
-#: ../plugins/shotwell-publishing-extras/shotwell-publishing-extras.vala:20
-#, fuzzy
-msgid "Shotwell Extra Publishing Services"
-msgstr "Kernetjenester til udgivelse"
-
-#: ../plugins/shotwell-publishing-extras/gallery3_authentication_pane.glade.h:1
-#, fuzzy
-msgid "Go _Back"
-msgstr "Tilbage"
-
-#: ../plugins/shotwell-publishing-extras/gallery3_authentication_pane.glade.h:2
-#: ../ui/shotwell.glade.h:43
-msgid "_Login"
-msgstr "_Log ind"
-
-#: ../plugins/shotwell-publishing-extras/gallery3_authentication_pane.glade.h:3
-msgid "Intro message replaced at runtime"
-msgstr ""
-
-#: ../plugins/shotwell-publishing-extras/gallery3_authentication_pane.glade.h:4
-msgid "_Gallery3 URL:"
-msgstr ""
-
-#: ../plugins/shotwell-publishing-extras/gallery3_authentication_pane.glade.h:5
-#, fuzzy
-msgid "_User name:"
-msgstr "Bruger_navn"
-
-#: ../plugins/shotwell-publishing-extras/gallery3_authentication_pane.glade.h:6
-#, fuzzy
-msgid "_Password:"
-msgstr "_Adgangskode"
-
-#: ../plugins/shotwell-publishing-extras/gallery3_authentication_pane.glade.h:7
-msgid "API _Key:"
-msgstr ""
-
-#: ../plugins/shotwell-publishing-extras/gallery3_authentication_pane.glade.h:8
-#, fuzzy
-msgid "or"
-msgstr "time"
-
-#: ../plugins/shotwell-publishing-extras/gallery3_publishing_options_pane.glade.h:3
-#, fuzzy
-msgid "A _new album"
-msgstr "Et _nyt album med navnet:"
-
-#: ../plugins/shotwell-publishing-extras/gallery3_publishing_options_pane.glade.h:4
-#, fuzzy
-msgid "An _existing album"
-msgstr "Et _eksisterende album:"
-
-#: ../plugins/shotwell-publishing-extras/gallery3_publishing_options_pane.glade.h:5
-#, fuzzy
-msgid "_Remove location, tag and camera-identifying data before uploading"
-msgstr ""
-"_Fjern sted, kamera og anden identificerende information før overførsel"
-
-#: ../plugins/shotwell-publishing-extras/gallery3_publishing_options_pane.glade.h:6
-msgid "'Publishing to $url as $username' (populated in application code)"
-msgstr ""
-
-#: ../plugins/shotwell-publishing-extras/gallery3_publishing_options_pane.glade.h:7
-#, fuzzy
-msgid "Scaling constraint:"
-msgstr "_Skaleringsbegrænsning:"
-
-#: ../plugins/shotwell-publishing-extras/gallery3_publishing_options_pane.glade.h:8
-#, fuzzy
-msgid "pixels"
-msgstr " _billedpunkter"
-
-#: ../plugins/shotwell-publishing-extras/gallery3_publishing_options_pane.glade.h:9
-#: ../plugins/shotwell-publishing/FlickrPublishing.vala:1233
-#: ../plugins/shotwell-publishing/PiwigoPublishing.vala:1250
-#: ../src/Dimensions.vala:17
-msgid "Original size"
-msgstr "Oprindelig størrelse"
-
-#: ../plugins/shotwell-publishing-extras/gallery3_publishing_options_pane.glade.h:10
-#: ../src/Dimensions.vala:20
-msgid "Width or height"
-msgstr "Bredde eller højde"
-
-#: ../plugins/shotwell-publishing-extras/tumblr_authentication_pane.glade.h:1
-#: ../plugins/shotwell-publishing-extras/rajce_authentication_pane.glade.h:1
-#: ../plugins/shotwell-publishing/piwigo_authentication_pane.glade.h:1
-#: ../ui/shotwell.glade.h:15
-msgid "label"
-msgstr "etikette"
-
-#: ../plugins/shotwell-publishing-extras/tumblr_publishing_options_pane.glade.h:1
-msgid "Blogs:"
-msgstr ""
-
-#: ../plugins/shotwell-publishing-extras/tumblr_publishing_options_pane.glade.h:2
-#: ../plugins/shotwell-publishing/flickr_publishing_options_pane.glade.h:1
-msgid "Photo _size:"
-msgstr "_Billedstørrelse:"
+#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:12
+msgid "Public"
+msgstr "Offentlig"
-#: ../plugins/shotwell-publishing-extras/rajce_publishing_options_pane.glade.h:1
-#, fuzzy
-msgid "you are logged in rajce as $name"
-msgstr ""
-"Du er logget ind på Facebook som %s.\n"
-"\n"
+#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:15
+#: plugins/shotwell-publishing/FacebookPublishing.vala:1144
+msgid "Friends"
+msgstr "Venner"
-#: ../plugins/shotwell-publishing-extras/rajce_publishing_options_pane.glade.h:7
-#, fuzzy
-msgid "$mediatype will appear in"
-msgstr "Video vil blive vist i:"
+#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:18
+#: plugins/shotwell-publishing/YouTubePublishing.vala:498
+msgid "Private"
+msgstr "Privat"
-#: ../plugins/shotwell-publishing-extras/yandex_publish_model.glade.h:1
+#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:44
msgid "_Albums (or write new):"
-msgstr ""
+msgstr "_Album (eller skriv nyt):"
-#: ../plugins/shotwell-publishing-extras/yandex_publish_model.glade.h:2
+#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:59
msgid "Access _type:"
-msgstr ""
+msgstr "Adgangs_type:"
-#: ../plugins/shotwell-publishing-extras/yandex_publish_model.glade.h:3
+#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:103
msgid "Disable _comments"
-msgstr ""
+msgstr "Deaktivér _kommentarer"
-#: ../plugins/shotwell-publishing-extras/yandex_publish_model.glade.h:4
+#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:120
msgid "_Forbid downloading original photo"
-msgstr ""
+msgstr "_Forbyd at oprindeligt billede kan hentes"
-#: ../plugins/shotwell-publishing-extras/yandex_publish_model.glade.h:7
-#, fuzzy
-msgid "Public"
-msgstr "Udgiv"
+#: plugins/shotwell-publishing/facebook_publishing_options_pane.ui:39
+msgid "Publish to an e_xisting album:"
+msgstr "Udgiv til et eks_isterende album:"
-#: ../plugins/shotwell-publishing-extras/yandex_publish_model.glade.h:8
-#: ../plugins/shotwell-publishing/FacebookPublishing.vala:1181
-msgid "Friends"
-msgstr "Venner"
+#: plugins/shotwell-publishing/facebook_publishing_options_pane.ui:57
+msgid "Create a _new album named:"
+msgstr "Opret et _nyt album med navnet:"
-#: ../plugins/shotwell-publishing-extras/yandex_publish_model.glade.h:9
-#: ../plugins/shotwell-publishing/YouTubePublishing.vala:497
-msgid "Private"
-msgstr "Privat"
+#: plugins/shotwell-publishing/facebook_publishing_options_pane.ui:108
+#: plugins/shotwell-publishing/FacebookPublishing.vala:984
+msgid "Upload _size:"
+msgstr "Overførsels_størrelse:"
+
+#: plugins/shotwell-publishing/facebook_publishing_options_pane.ui:139
+msgid "Videos and new photo albums _visible to:"
+msgstr "Videoer og nye fotoalbum _synlige for:"
-#: ../plugins/shotwell-publishing/FacebookPublishing.vala:61
-#: ../plugins/shotwell-publishing/PicasaPublishing.vala:59
-#: ../plugins/shotwell-publishing/PiwigoPublishing.vala:1127
+#: plugins/shotwell-publishing/facebook_publishing_options_pane.ui:175
+#: plugins/shotwell-publishing/flickr_publishing_options_pane.ui:102
+#: plugins/shotwell-publishing/picasa_publishing_options_pane.ui:178
+#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:203
+msgid ""
+"_Remove location, camera, and other identifying information before uploading"
+msgstr ""
+"_Fjern sted, kamera og anden identificerende information før overførsel"
+
+#: plugins/shotwell-publishing/FacebookPublishing.vala:62
+#: plugins/shotwell-publishing/PicasaPublishing.vala:60
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1188
msgid "Shotwell Connect"
msgstr "Shotwell Connect"
-#: ../plugins/shotwell-publishing/FacebookPublishing.vala:63
+#: plugins/shotwell-publishing/FacebookPublishing.vala:64
msgid ""
"You are not currently logged into Facebook.\n"
"\n"
-"If you don't yet have a Facebook account, you can create one during the "
+"If you don’t yet have a Facebook account, you can create one during the "
"login process. During login, Shotwell Connect may ask you for permission to "
"upload photos and publish to your feed. These permissions are required for "
"Shotwell Connect to function."
msgstr ""
"Du er i øjeblikket ikke logget ind på Facebook.\n"
"\n"
-"Hvis du endnu ikke har en Facebookkonto, kan du oprette en under "
-"logindprocessen. Under logind, kan det være at Shotwell Connect spørger dig "
-"om tilladelse til at overføre billeder og udgive i din nyhedskilde. Disse "
+"Hvis du endnu ikke har en Facebook-konto, kan du oprette en under "
+"loginprocessen. Under login kan det være, at Shotwell Connect spørger dig om "
+"tilladelse til at overføre billeder og udgive i din nyhedskilde. Disse "
"rettigheder er nødvendige for at Shotwell Connect skal kunne fungere."
-#: ../plugins/shotwell-publishing/FacebookPublishing.vala:65
+#: plugins/shotwell-publishing/FacebookPublishing.vala:66
msgid ""
"You have already logged in and out of Facebook during this Shotwell "
"session.\n"
@@ -599,32 +1997,32 @@ msgstr ""
"For at udgive på Facebook igen så afslut og genstart Shotwell, forsøg så "
"udgivelse igen."
-#: ../plugins/shotwell-publishing/FacebookPublishing.vala:86
+#: plugins/shotwell-publishing/FacebookPublishing.vala:87
msgid "Standard (720 pixels)"
msgstr "Standard (720 billedpunkter)"
-#: ../plugins/shotwell-publishing/FacebookPublishing.vala:89
+#: plugins/shotwell-publishing/FacebookPublishing.vala:90
msgid "Large (2048 pixels)"
msgstr "Stor (2048 billedpunkter)"
-#: ../plugins/shotwell-publishing/FacebookPublishing.vala:254
-msgid "Testing connection to Facebook..."
-msgstr "Tester forbindelse til Facebook..."
+#: plugins/shotwell-publishing/FacebookPublishing.vala:255
+msgid "Testing connection to Facebook…"
+msgstr "Tester forbindelse til Facebook …"
-#: ../plugins/shotwell-publishing/FacebookPublishing.vala:347
-#: ../plugins/shotwell-publishing/PicasaPublishing.vala:379
-msgid "Creating album..."
-msgstr "Opretter album..."
+#: plugins/shotwell-publishing/FacebookPublishing.vala:348
+#: plugins/shotwell-publishing/PicasaPublishing.vala:379
+msgid "Creating album…"
+msgstr "Opretter album …"
-#: ../plugins/shotwell-publishing/FacebookPublishing.vala:374
+#: plugins/shotwell-publishing/FacebookPublishing.vala:374
msgid ""
-"A file required for publishing is unavailable. Publishing to Facebook can't "
+"A file required for publishing is unavailable. Publishing to Facebook can’t "
"continue."
msgstr ""
-"En fil som kræves for at udgive mangler. Udgivelse til Facebook kan ikke "
+"En fil, som kræves for at udgive, mangler. Udgivelse til Facebook kan ikke "
"fortsætte."
-#: ../plugins/shotwell-publishing/FacebookPublishing.vala:1019
+#: plugins/shotwell-publishing/FacebookPublishing.vala:982
#, c-format
msgid ""
"You are logged into Facebook as %s.\n"
@@ -633,66 +2031,77 @@ msgstr ""
"Du er logget ind på Facebook som %s.\n"
"\n"
-#: ../plugins/shotwell-publishing/FacebookPublishing.vala:1020
+#: plugins/shotwell-publishing/FacebookPublishing.vala:983
msgid "Where would you like to publish the selected photos?"
-msgstr "Hvor vil du gerne publisere de valgte billeder?"
-
-#: ../plugins/shotwell-publishing/FacebookPublishing.vala:1021
-#: ../plugins/shotwell-publishing/facebook_publishing_options_pane.glade.h:3
-msgid "Upload _size:"
-msgstr "Overførselsstørrelse:"
+msgstr "Hvor vil du gerne udgive de valgte billeder?"
-#: ../plugins/shotwell-publishing/FacebookPublishing.vala:1180
-#: ../plugins/shotwell-publishing/FlickrPublishing.vala:1211
+#: plugins/shotwell-publishing/FacebookPublishing.vala:1143
+#: plugins/shotwell-publishing/FlickrPublishing.vala:1213
msgid "Just me"
-msgstr "Bare mig"
+msgstr "Kun mig"
-#: ../plugins/shotwell-publishing/FacebookPublishing.vala:1182
-#: ../plugins/shotwell-publishing/FlickrPublishing.vala:1207
-#: ../plugins/shotwell-publishing/PiwigoPublishing.vala:1234
+#: plugins/shotwell-publishing/FacebookPublishing.vala:1145
+#: plugins/shotwell-publishing/FlickrPublishing.vala:1209
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1290
msgid "Everyone"
msgstr "Alle"
-#: ../plugins/shotwell-publishing/FlickrPublishing.vala:61
+#: plugins/shotwell-publishing/flickr_pin_entry_pane.ui:16
+msgid ""
+"Enter the confirmation number which appears after you log into Flickr in "
+"your Web browser."
+msgstr ""
+"Indtast bekræftelsestallet, der fremkommer efter du logger ind i Flickr i "
+"din webbrowser."
+
+#: plugins/shotwell-publishing/flickr_pin_entry_pane.ui:37
+msgid "Authorization _Number:"
+msgstr "Godkendelses_nummer:"
+
+#: plugins/shotwell-publishing/flickr_pin_entry_pane.ui:83 src/Dialogs.vala:128
+msgid "Con_tinue"
+msgstr "For_tsæt"
+
+#: plugins/shotwell-publishing/FlickrPublishing.vala:60
msgid ""
"You are not currently logged into Flickr.\n"
"\n"
-"Click Login to log into Flickr in your Web browser. You will have to "
+"Click Log in to log into Flickr in your Web browser. You will have to "
"authorize Shotwell Connect to link to your Flickr account."
msgstr ""
"Du er ikke logget på Flickr i øjeblikket.\n"
"\n"
"Klik Log ind for at logge ind i din webbrowser. Du vil skulle godkende "
-"Shotwell Connect for at lænke til din Flickr-konto."
+"Shotwell Connect for at linke til din Flickr-konto."
-#: ../plugins/shotwell-publishing/FlickrPublishing.vala:63
+#: plugins/shotwell-publishing/FlickrPublishing.vala:62
msgid ""
"You have already logged in and out of Flickr during this Shotwell session.\n"
"To continue publishing to Flickr, quit and restart Shotwell, then try "
"publishing again."
msgstr ""
-"Du har allerede logget ind og ud af Flickr i denne Shotwellsession.\n"
-"For at udgive på Flickr igen så afslut og genstart Shotwell, prøv så at "
+"Du har allerede logget ind og ud af Flickr i denne Shotwell-session.\n"
+"For at udgive på Flickr igen så afslut og genstart Shotwell og prøv så at "
"udgive igen."
-#: ../plugins/shotwell-publishing/FlickrPublishing.vala:375
-msgid "Preparing for login..."
-msgstr "Forbereder på logind..."
+#: plugins/shotwell-publishing/FlickrPublishing.vala:374
+msgid "Preparing for login…"
+msgstr "Forbereder på login …"
-#: ../plugins/shotwell-publishing/FlickrPublishing.vala:444
-#: ../plugins/shotwell-publishing/FlickrPublishing.vala:595
+#: plugins/shotwell-publishing/FlickrPublishing.vala:444
+#: plugins/shotwell-publishing/FlickrPublishing.vala:594
msgid ""
-"A file required for publishing is unavailable. Publishing to Flickr can't "
+"A file required for publishing is unavailable. Publishing to Flickr can’t "
"continue."
msgstr ""
-"En fil som kræves for at udgive mangler. Udgivelse til Flickr kan ikke "
+"En fil, som kræves for at udgive, mangler. Udgivelse til Flickr kan ikke "
"fortsætte."
-#: ../plugins/shotwell-publishing/FlickrPublishing.vala:457
-msgid "Verifying authorization..."
-msgstr "Bekræfter autorisation..."
+#: plugins/shotwell-publishing/FlickrPublishing.vala:457
+msgid "Verifying authorization…"
+msgstr "Bekræfter godkendelse …"
-#: ../plugins/shotwell-publishing/FlickrPublishing.vala:1153
+#: plugins/shotwell-publishing/FlickrPublishing.vala:1152
#, c-format
msgid ""
"You are logged into Flickr as %s.\n"
@@ -701,116 +2110,209 @@ msgstr ""
"Du er logget på Flickr som %s.\n"
"\n"
-#: ../plugins/shotwell-publishing/FlickrPublishing.vala:1155
+#: plugins/shotwell-publishing/FlickrPublishing.vala:1155
#, c-format
msgid ""
"Your free Flickr account limits how much data you can upload per month.\n"
-"This month, you have %d megabytes remaining in your upload quota."
-msgstr ""
-"Din frie Flickrkonto begrænser hvor mange data du kan overføre per måned.\n"
-"Denne måned har du %d megabyte tilbage i din overførselskvota."
+"This month you have %d megabyte remaining in your upload quota."
+msgid_plural ""
+"Your free Flickr account limits how much data you can upload per month.\n"
+"This month you have %d megabytes remaining in your upload quota."
+msgstr[0] ""
+"Din gratis Flickr-konto begrænser, hvor mange data du kan overføre per "
+"måned.\n"
+"Denne måned har du %d megabyte tilbage i din overførselskvote."
+msgstr[1] ""
+"Din gratis Flickr-konto begrænser, hvor mange data du kan overføre per "
+"måned.\n"
+"Denne måned har du %d megabyte tilbage i din overførselskvote."
-#: ../plugins/shotwell-publishing/FlickrPublishing.vala:1157
+#: plugins/shotwell-publishing/FlickrPublishing.vala:1159
msgid "Your Flickr Pro account entitles you to unlimited uploads."
msgstr "Din Flickr Pro-konto giver dig ubegrænset overførsel."
-#: ../plugins/shotwell-publishing/FlickrPublishing.vala:1162
+#: plugins/shotwell-publishing/FlickrPublishing.vala:1164
msgid "Photos _visible to:"
msgstr "Billeder _synlige for:"
-#: ../plugins/shotwell-publishing/FlickrPublishing.vala:1164
+#: plugins/shotwell-publishing/FlickrPublishing.vala:1166
msgid "Videos _visible to:"
msgstr "Videoer _synlige for:"
-#: ../plugins/shotwell-publishing/FlickrPublishing.vala:1167
+#: plugins/shotwell-publishing/FlickrPublishing.vala:1169
msgid "Photos and videos _visible to:"
msgstr "Billeder og videoer _synlige for:"
-#: ../plugins/shotwell-publishing/FlickrPublishing.vala:1208
+#: plugins/shotwell-publishing/FlickrPublishing.vala:1210
msgid "Friends & family only"
msgstr "Kun venner & familie"
-#: ../plugins/shotwell-publishing/FlickrPublishing.vala:1209
+#: plugins/shotwell-publishing/FlickrPublishing.vala:1211
msgid "Family only"
msgstr "Kun familie"
-#: ../plugins/shotwell-publishing/FlickrPublishing.vala:1210
+#: plugins/shotwell-publishing/FlickrPublishing.vala:1212
msgid "Friends only"
msgstr "Kun venner"
-#: ../plugins/shotwell-publishing/FlickrPublishing.vala:1231
-#: ../plugins/shotwell-publishing/PiwigoPublishing.vala:1248
-msgid "2048 x 1536 pixels"
-msgstr "2048 x 1536 billedpunkter"
+#: plugins/shotwell-publishing/FlickrPublishing.vala:1233
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1304
+msgid "2048 × 1536 pixels"
+msgstr "2048 × 1536 billedpunkter"
-#: ../plugins/shotwell-publishing/FlickrPublishing.vala:1232
-#: ../plugins/shotwell-publishing/PiwigoPublishing.vala:1249
-msgid "4096 x 3072 pixels"
-msgstr "4096 x 3072 billedpunkter"
+#: plugins/shotwell-publishing/FlickrPublishing.vala:1234
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1305
+msgid "4096 × 3072 pixels"
+msgstr "4096 × 3072 billedpunkter"
+
+#: plugins/shotwell-publishing/picasa_publishing_options_pane.ui:113
+msgid "L_ist album in public gallery"
+msgstr "V_is album i offentlig galleri"
+
+#: plugins/shotwell-publishing/picasa_publishing_options_pane.ui:150
+msgid "Photo _size preset:"
+msgstr "_Standardstørrelse på billede:"
-#: ../plugins/shotwell-publishing/PicasaPublishing.vala:58
+#: plugins/shotwell-publishing/PicasaPublishing.vala:59
msgid ""
"You are not currently logged into Picasa Web Albums.\n"
"\n"
-"Click Login to log into Picasa Web Albums in your Web browser. You will have "
-"to authorize Shotwell Connect to link to your Picasa Web Albums account."
+"Click Log in to log into Picasa Web Albums in your Web browser. You will "
+"have to authorize Shotwell Connect to link to your Picasa Web Albums account."
msgstr ""
-"Du er ikke logget ind på Picasa internetalbum.\n"
+"Du er ikke logget ind på Picasa Webalbums.\n"
"\n"
-"Klik på \"Log ind\" for at logge ind på Picasa internetalbum i din "
-"internetbrowser. Du skal godkende Shotwell Connect for at forbinde til din "
-"konto på Picasa internetalbum."
+"Klik på Log ind for at logge ind på Picasa Webalbums i din internetbrowser. "
+"Du skal godkende Shotwell Connect for at forbinde til din konto på Picasa "
+"Webalbums."
-#: ../plugins/shotwell-publishing/PicasaPublishing.vala:361
+#: plugins/shotwell-publishing/PicasaPublishing.vala:361
msgid ""
-"A file required for publishing is unavailable. Publishing to Picasa can't "
+"A file required for publishing is unavailable. Publishing to Picasa can’t "
"continue."
msgstr ""
"En fil nødvendig til udgivelse er utilgængelig. Udgivelse til Picasa kan "
"ikke fortsætte."
#. populate any widgets whose contents are programmatically-generated.
-#: ../plugins/shotwell-publishing/PicasaPublishing.vala:659
+#: plugins/shotwell-publishing/PicasaPublishing.vala:659
#, c-format
msgid "You are logged into Picasa Web Albums as %s."
-msgstr "Du er logget på Picasas internetalbum som %s."
+msgstr "Du er logget på Picasa Webalbums som %s."
-#: ../plugins/shotwell-publishing/PicasaPublishing.vala:665
+#: plugins/shotwell-publishing/PicasaPublishing.vala:665
msgid "Videos will appear in:"
msgstr "Video vil blive vist i:"
-#: ../plugins/shotwell-publishing/PicasaPublishing.vala:746
-msgid "Small (640 x 480 pixels)"
-msgstr "Lille (640 x 480 billedpunkter)"
+#: plugins/shotwell-publishing/PicasaPublishing.vala:746
+msgid "Small (640 × 480 pixels)"
+msgstr "Lille (640 × 480 billedpunkter)"
-#: ../plugins/shotwell-publishing/PicasaPublishing.vala:747
-msgid "Medium (1024 x 768 pixels)"
-msgstr "Mellem (1024 x 768 billedpunkter)"
+#: plugins/shotwell-publishing/PicasaPublishing.vala:747
+msgid "Medium (1024 × 768 pixels)"
+msgstr "Mellem (1024 × 768 billedpunkter)"
-#: ../plugins/shotwell-publishing/PicasaPublishing.vala:748
-msgid "Recommended (1600 x 1200 pixels)"
-msgstr "Anbefalet (1600 x 1200 billedpunkter)"
+#: plugins/shotwell-publishing/PicasaPublishing.vala:748
+msgid "Recommended (1600 × 1200 pixels)"
+msgstr "Anbefalet (1600 × 1200 billedpunkter)"
-#: ../plugins/shotwell-publishing/PicasaPublishing.vala:749
-msgid "Google+ (2048 x 1536 pixels)"
-msgstr "Google+ (2048 x 1536 billedpunkter)"
+#: plugins/shotwell-publishing/PicasaPublishing.vala:749
+msgid "Google+ (2048 × 1536 pixels)"
+msgstr "Google+ (2048 × 1536 billedpunkter)"
-#: ../plugins/shotwell-publishing/PicasaPublishing.vala:750
-#: ../src/editing_tools/EditingTools.vala:756
+#: plugins/shotwell-publishing/PicasaPublishing.vala:750
+#: src/editing_tools/EditingTools.vala:752
msgid "Original Size"
msgstr "Oprindelig størrelse"
-#: ../plugins/shotwell-publishing/PiwigoPublishing.vala:746
+#: plugins/shotwell-publishing/piwigo_authentication_pane.ui:44
+msgid "_URL of your Piwigo photo library"
+msgstr "_URL til dit Piwigo-billedbibliotek"
+
+#: plugins/shotwell-publishing/piwigo_authentication_pane.ui:94
+msgid "User _name"
+msgstr "Bruger_navn"
+
+#: plugins/shotwell-publishing/piwigo_authentication_pane.ui:133
+msgid "Remember Password"
+msgstr "Husk adgangskode"
+
+#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:36
+msgid "An _existing category"
+msgstr "En _eksisterende kategori"
+
+#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:110
+msgid "A _new album named"
+msgstr "Et _nyt album med navnet"
+
+#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:142
+msgid "within category"
+msgstr "inden for kategorien"
+
+#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:155
+msgid "Album comment"
+msgstr "Kommentar til album"
+
+#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:167
+msgid "Photos will be _visible by"
+msgstr "Billeder vil blive _vist efter"
+
+#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:181
+msgid "Photo size"
+msgstr "Billedstørrelse"
+
+#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:219
+msgid "_If a title is set and comment unset, use title as comment"
+msgstr ""
+"_Hvis der er angivet en titel, men ikke en kommentar, så brug titel som "
+"kommentar"
+
+#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:235
+msgid "_Do no upload tags"
+msgstr "_Undlad at overføre mærker"
+
+#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:255
+msgid "Logout"
+msgstr "Log ud"
+
+#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:268
+#: src/Resources.vala:295 ui/collection.ui:190
+msgid "Publish"
+msgstr "Udgiv"
+
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:773
#, c-format
-msgid "Creating album %s..."
-msgstr "Opretter albummet %s..."
+msgid "Creating album %s…"
+msgstr "Opretter albummet %s …"
-#: ../plugins/shotwell-publishing/PiwigoPublishing.vala:917
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:946
msgid "An error message occurred when publishing to Piwigo. Please try again."
msgstr ""
"Der fremkom en fejlbesked under udgivelse til Piwigo. Forsøg venligst igen."
-#: ../plugins/shotwell-publishing/PiwigoPublishing.vala:998
+#. %s is the host name that we tried to connect to
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1030
+#, c-format
+msgid ""
+"This does not look like the real <b>%s</b>. Attackers might be trying to "
+"steal or alter information going to or from this site (for example, private "
+"messages, credit card information, or passwords)."
+msgstr ""
+"Dette ligner ikke den rigtige <b>%s</b>. Angribere forsøger måske at stjæle "
+"eller ændre informationer, der går til eller kommer fra dette websted (f."
+"eks. private beskeder, kreditkortoplysninger eller adgangskoder)."
+
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1048
+#, c-format
+msgid "Certificate of %s"
+msgstr "Certifikat fra %s"
+
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1051
+#: src/Resources.vala:166
+msgid "_OK"
+msgstr "_OK"
+
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1079
msgid ""
"Enter the URL of your Piwigo photo library as well as the username and "
"password associated with your Piwigo account for that library."
@@ -818,7 +2320,7 @@ msgstr ""
"Indtast URL'en til dit Piwigo-billedbibliotek samt brugernavnet og "
"adgangskoden, som er knyttet til din Piwigo-konto for dette bibliotek."
-#: ../plugins/shotwell-publishing/PiwigoPublishing.vala:999
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1080
msgid ""
"Shotwell cannot contact your Piwigo photo library. Please verify the URL you "
"entered"
@@ -826,27 +2328,47 @@ msgstr ""
"Shotwell kan ikke kontakte dit Piwigo-billedbibliotek. Sørg venligst for at "
"gennemse den URL, du indtastede"
-#: ../plugins/shotwell-publishing/PiwigoPublishing.vala:1032
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1112
msgid "Invalid URL"
msgstr "Ugyldig URL"
-#: ../plugins/shotwell-publishing/PiwigoPublishing.vala:1235
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1291
msgid "Admins, Family, Friends, Contacts"
msgstr "Administratorer, familie, venner, kontakter"
-#: ../plugins/shotwell-publishing/PiwigoPublishing.vala:1236
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1292
msgid "Admins, Family, Friends"
msgstr "Administratorer, familie, venner"
-#: ../plugins/shotwell-publishing/PiwigoPublishing.vala:1237
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1293
msgid "Admins, Family"
msgstr "Administratorer, familie"
-#: ../plugins/shotwell-publishing/PiwigoPublishing.vala:1238
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1294
msgid "Admins"
msgstr "Administratorer"
-#: ../plugins/shotwell-publishing/YouTubePublishing.vala:57
+#: plugins/shotwell-publishing/piwigo_ssl_failure_pane.ui:21
+msgid "This connection is not secure"
+msgstr "Denne forbindelse er ikke sikker"
+
+#: plugins/shotwell-publishing/piwigo_ssl_failure_pane.ui:75
+msgid "Show the certificate…"
+msgstr "Vis certifikatet …"
+
+#: plugins/shotwell-publishing/piwigo_ssl_failure_pane.ui:88
+msgid "I understand, please _proceed."
+msgstr "Jeg er indforstået, fortsæt _venligst."
+
+#: plugins/shotwell-publishing/shotwell-publishing.vala:26
+msgid "Core Publishing Services"
+msgstr "Kernetjenester til udgivelse"
+
+#: plugins/shotwell-publishing/youtube_publishing_options_pane.ui:55
+msgid "Video privacy _setting:"
+msgstr "Video-ind_stilinger for privatliv:"
+
+#: plugins/shotwell-publishing/YouTubePublishing.vala:58
msgid ""
"You are not currently logged into YouTube.\n"
"\n"
@@ -854,618 +2376,813 @@ msgid ""
"with YouTube to continue. You can set up most accounts by using your browser "
"to log into the YouTube site at least once."
msgstr ""
-"Du er ikke logget ind YouTube. \n"
+"Du er ikke logget ind på YouTube. \n"
"\n"
-"Du må allerede have åbnet en Google-konto og sat den op til brug med YouTube "
-"for at kunne fortsætte. Du kan sætte de fleste konti op ved hjælp af at "
-"logge ind på YouTube-webstedet mindst en gang med din browser."
+"Du skal allerede have åbnet en Google-konto og sat den op til brug med "
+"YouTube for at kunne fortsætte. Du kan sætte de fleste konti op ved at logge "
+"ind på YouTube-webstedet mindst en gang med din browser."
-#: ../plugins/shotwell-publishing/YouTubePublishing.vala:362
+#: plugins/shotwell-publishing/YouTubePublishing.vala:363
msgid ""
-"A file required for publishing is unavailable. Publishing to Youtube can't "
+"A file required for publishing is unavailable. Publishing to YouTube can’t "
"continue."
msgstr ""
-"En fil som kræves for at udgive mangler. Udgivelse til Youtube kan ikke "
+"En fil, som kræves for at udgive, mangler. Udgivelse til Youtube kan ikke "
"fortsætte."
-#: ../plugins/shotwell-publishing/YouTubePublishing.vala:461
+#: plugins/shotwell-publishing/YouTubePublishing.vala:462
#, c-format
msgid "You are logged into YouTube as %s."
msgstr "Du er logget ind på YouTube som %s."
-#: ../plugins/shotwell-publishing/YouTubePublishing.vala:463
+#: plugins/shotwell-publishing/YouTubePublishing.vala:464
#, c-format
-msgid "Videos will appear in '%s'"
-msgstr "Videoer vil blive vist i '%s'"
+msgid "Videos will appear in “%s”"
+msgstr "Videoer vil blive vist i \"%s\""
-#: ../plugins/shotwell-publishing/YouTubePublishing.vala:495
+#: plugins/shotwell-publishing/YouTubePublishing.vala:496
msgid "Public listed"
msgstr "Vises offentligt"
-#: ../plugins/shotwell-publishing/YouTubePublishing.vala:496
+#: plugins/shotwell-publishing/YouTubePublishing.vala:497
msgid "Public unlisted"
msgstr "Vises ikke offentligt"
-#: ../plugins/shotwell-publishing/facebook_publishing_options_pane.glade.h:1
-msgid "Publish to an e_xisting album:"
-msgstr "Udgiv til et eks_isterende album:"
-
-#: ../plugins/shotwell-publishing/facebook_publishing_options_pane.glade.h:2
-msgid "Create a _new album named:"
-msgstr "Opret et _nyt album med navnet:"
-
-#: ../plugins/shotwell-publishing/facebook_publishing_options_pane.glade.h:4
-msgid "Videos and new photo albums _visible to:"
-msgstr "Videoer og nye fotoalbum _synlig for:"
-
-#: ../plugins/shotwell-publishing/facebook_publishing_options_pane.glade.h:5
-#: ../plugins/shotwell-publishing/flickr_publishing_options_pane.glade.h:2
-#: ../plugins/shotwell-publishing/picasa_publishing_options_pane.glade.h:5
-#: ../plugins/shotwell-publishing/piwigo_publishing_options_pane.glade.h:8
-msgid ""
-"_Remove location, camera, and other identifying information before uploading"
-msgstr ""
-"_Fjern sted, kamera og anden identificerende information før overførsel"
-
-#: ../plugins/shotwell-publishing/flickr_pin_entry_pane.glade.h:1
-msgid ""
-"Enter the confirmation number which appears after you log into Flickr in "
-"your Web browser."
-msgstr ""
-"Indtast bekræftelsestallet, der fremkommer efter du logger ind i Flickr i "
-"din webbrowser."
-
-#: ../plugins/shotwell-publishing/flickr_pin_entry_pane.glade.h:2
-msgid "Authorization _Number:"
-msgstr "Autorisations_nummer:"
-
-#: ../plugins/shotwell-publishing/flickr_pin_entry_pane.glade.h:3
-#: ../src/Dialogs.vala:131
-msgid "Con_tinue"
-msgstr "For_tsæt"
-
-#: ../plugins/shotwell-publishing/picasa_publishing_options_pane.glade.h:3
-msgid "L_ist album in public gallery"
-msgstr "V_is album i offentlig galleri"
-
-#: ../plugins/shotwell-publishing/picasa_publishing_options_pane.glade.h:4
-msgid "Photo _size preset:"
-msgstr "_Standardstørrelse på billede:"
-
-#: ../plugins/shotwell-publishing/piwigo_authentication_pane.glade.h:2
-msgid "_URL of your Piwigo photo library"
-msgstr "_URL til dit Piwigo-billedbibliotek"
-
-#: ../plugins/shotwell-publishing/piwigo_authentication_pane.glade.h:3
-msgid "User _name"
-msgstr "Bruger_navn"
-
-#: ../plugins/shotwell-publishing/piwigo_authentication_pane.glade.h:5
-msgid "_Remember Password"
-msgstr "_Husk adgangskode"
-
-#: ../plugins/shotwell-publishing/piwigo_publishing_options_pane.glade.h:2
-msgid "An _existing category:"
-msgstr "En _eksisterende kategori:"
-
-#: ../plugins/shotwell-publishing/piwigo_publishing_options_pane.glade.h:4
-msgid "Photos will be _visible by:"
-msgstr "Billeder vil blive _vist efter:"
-
-#: ../plugins/shotwell-publishing/piwigo_publishing_options_pane.glade.h:5
-msgid "Photo size:"
-msgstr "Billedstørrelse:"
-
-#: ../plugins/shotwell-publishing/piwigo_publishing_options_pane.glade.h:6
-msgid "within category:"
-msgstr "inden for kategorien:"
-
-#: ../plugins/shotwell-publishing/piwigo_publishing_options_pane.glade.h:7
-msgid "Album comment:"
-msgstr "Kommentar til album:"
-
-#: ../plugins/shotwell-publishing/piwigo_publishing_options_pane.glade.h:9
-msgid "_If a title is set and comment unset, use title as comment"
-msgstr ""
-"_Hvis der er angivet en titel, men ikke en kommentar, så brug titel som "
-"kommentar"
-
-#: ../plugins/shotwell-publishing/piwigo_publishing_options_pane.glade.h:10
-msgid "_Do no upload tags"
-msgstr "_Undlad at overføre mærker"
-
-#: ../plugins/shotwell-publishing/piwigo_publishing_options_pane.glade.h:11
-msgid "Logout"
-msgstr "Log ud"
-
-#: ../plugins/shotwell-publishing/piwigo_publishing_options_pane.glade.h:12
-#: ../src/Resources.vala:268
-msgid "Publish"
-msgstr "Udgiv"
-
-#: ../plugins/shotwell-publishing/shotwell-publishing.vala:26
-msgid "Core Publishing Services"
-msgstr "Kernetjenester til udgivelse"
-
-#: ../plugins/shotwell-publishing/youtube_publishing_options_pane.glade.h:1
-msgid "Video privacy _setting:"
-msgstr "Video-ind_stilinger for privatliv:"
-
-#: ../plugins/shotwell-transitions/BlindsEffect.vala:20
+#: plugins/shotwell-transitions/BlindsEffect.vala:20
msgid "Blinds"
-msgstr "Persienner"
+msgstr "Persienne"
-#: ../plugins/shotwell-transitions/ChessEffect.vala:20
+#: plugins/shotwell-transitions/ChessEffect.vala:20
msgid "Chess"
-msgstr "Skak"
+msgstr "Skaktern"
-#: ../plugins/shotwell-transitions/CircleEffect.vala:20
+#: plugins/shotwell-transitions/CircleEffect.vala:20
msgid "Circle"
msgstr "Cirkel"
-#: ../plugins/shotwell-transitions/CirclesEffect.vala:20
+#: plugins/shotwell-transitions/CirclesEffect.vala:20
msgid "Circles"
msgstr "Cirkler"
-#: ../plugins/shotwell-transitions/ClockEffect.vala:20
+#: plugins/shotwell-transitions/ClockEffect.vala:20
msgid "Clock"
msgstr "Ur"
-#: ../plugins/shotwell-transitions/CrumbleEffect.vala:20
+#: plugins/shotwell-transitions/CrumbleEffect.vala:20
msgid "Crumble"
msgstr "Smuldre"
-#: ../plugins/shotwell-transitions/FadeEffect.vala:20
+#: plugins/shotwell-transitions/FadeEffect.vala:20
msgid "Fade"
msgstr "Falme"
-#: ../plugins/shotwell-transitions/SlideEffect.vala:20
+#: plugins/shotwell-transitions/shotwell-transitions.vala:28
+msgid "Core Slideshow Transitions"
+msgstr "Kerneovergange i diasshow"
+
+#: plugins/shotwell-transitions/shotwell-transitions.vala:76
+msgid ""
+"Copyright 2010 Maxim Kartashev, Copyright 2016 Software Freedom Conservancy "
+"Inc."
+msgstr ""
+"Copyright 2010 Maxim Kartashev, Copyright 2016 Software Freedom Conservancy "
+"Inc."
+
+# Overgang i slideshow
+#: plugins/shotwell-transitions/SlideEffect.vala:20
msgid "Slide"
-msgstr "Dias"
+msgstr "Glide"
-#: ../plugins/shotwell-transitions/SquaresEffect.vala:20
+#: plugins/shotwell-transitions/SquaresEffect.vala:20
msgid "Squares"
msgstr "Kvadrater"
-#: ../plugins/shotwell-transitions/StripesEffect.vala:20
+#: plugins/shotwell-transitions/StripesEffect.vala:20
msgid "Stripes"
msgstr "Striber"
-#: ../plugins/shotwell-transitions/shotwell-transitions.vala:28
-msgid "Core Slideshow Transitions"
-msgstr "Kerneovergange i diasshow"
-
-#: ../plugins/shotwell-transitions/shotwell-transitions.vala:75
-msgid "Copyright 2010 Maxim Kartashev, Copyright 2011-2014 Yorba Foundation"
-msgstr ""
-
-#: ../src/AppDirs.vala:48 ../src/AppDirs.vala:99
+#: src/AppDirs.vala:64 src/AppDirs.vala:115
#, c-format
msgid "Unable to create cache directory %s: %s"
-msgstr "Kan ikke oprette mellemlager-mappen %s: %s"
+msgstr "Kunne ikke oprette mellemlager-mappen %s: %s"
-#: ../src/AppDirs.vala:58 ../src/AppDirs.vala:88
+#: src/AppDirs.vala:74 src/AppDirs.vala:104
#, c-format
msgid "Unable to create data directory %s: %s"
-msgstr "Det var ikke muligt at lave data mappen %s: %s"
+msgstr "Kunne ikke oprette datamappen %s: %s"
#. If XDG yarfed, use ~/Pictures
-#: ../src/AppDirs.vala:152
+#: src/AppDirs.vala:168
msgid "Pictures"
msgstr "Billeder"
-#: ../src/AppDirs.vala:190
+#: src/AppDirs.vala:206
#, c-format
msgid "Unable to create temporary directory %s: %s"
-msgstr "Det var ikke muligt at lave den temporære mappe %s: %s"
+msgstr "Kunne ikke oprette den midlertidige mappe %s: %s"
-#: ../src/AppDirs.vala:207 ../src/AppDirs.vala:223
+#: src/AppDirs.vala:223 src/AppDirs.vala:254
#, c-format
msgid "Unable to create data subdirectory %s: %s"
-msgstr "Det var ikke muligt at lave data undermappen %s: %s"
+msgstr "Kunne ikke oprette dataundermappen %s: %s"
+
+#: src/AppDirs.vala:236
+#, c-format
+msgid "Could not make directory %s writable"
+msgstr "Kunne ikke gøre mappen %s skrivbar"
+
+#: src/AppDirs.vala:239
+#, c-format
+msgid "Could not make directory %s writable: %s"
+msgstr "Kunne ikke gøre mappen %s skrivbar: %s"
-#. restore pin state
-#: ../src/AppWindow.vala:52
+# koden taler om "toolbar dismissal"
+#: src/AppWindow.vala:47
msgid "Pin Toolbar"
-msgstr "Opsæt værktøjsbjælke"
+msgstr "Forhindr at værktøjsbjælken lukkes"
-#: ../src/AppWindow.vala:53
+#: src/AppWindow.vala:48
msgid "Pin the toolbar open"
-msgstr "Opsæt værktøjsbjælken åben"
+msgstr "Fastgør værktøjsbjælken åben"
-#: ../src/AppWindow.vala:57 ../src/AppWindow.vala:135
+#: src/AppWindow.vala:53
msgid "Leave fullscreen"
msgstr "Forlad fuldskærm"
-#: ../src/AppWindow.vala:134
-msgid "Leave _Fullscreen"
-msgstr "Forlad _fuldskærm"
-
-#: ../src/AppWindow.vala:496
-msgid "_Quit"
-msgstr "_Afslut"
-
-#: ../src/AppWindow.vala:501
-msgid "_About"
-msgstr "_Om"
-
-#: ../src/AppWindow.vala:506
-msgid "Fulls_creen"
-msgstr "_Fuldskærm"
-
-#: ../src/AppWindow.vala:511
-msgid "_Contents"
-msgstr "_Indhold"
-
-#: ../src/AppWindow.vala:516
-msgid "_Frequently Asked Questions"
-msgstr "O_ftest stillede spørgsmål"
-
-#: ../src/AppWindow.vala:521
-msgid "_Report a Problem..."
-msgstr "_Rapportér et problem..."
-
-#: ../src/AppWindow.vala:620 ../src/AppWindow.vala:641
-#: ../src/AppWindow.vala:658 ../src/Dialogs.vala:20 ../src/Dialogs.vala:28
-#: ../src/Dialogs.vala:1417 ../src/Dialogs.vala:1440
-#: ../src/data_imports/DataImportsUI.vala:399
-#: ../src/publishing/PublishingUI.vala:498
+#: src/AppWindow.vala:532 src/AppWindow.vala:553 src/AppWindow.vala:570
+#: src/data_imports/DataImportsUI.vala:301
+#: src/data_imports/DataImportsUI.vala:419 src/Dialogs.vala:20
+#: src/Dialogs.vala:28 src/Dialogs.vala:1430 src/Dialogs.vala:1453
+#: src/publishing/PublishingUI.vala:301 src/publishing/PublishingUI.vala:525
+#: src/Resources.vala:157
msgid "_Cancel"
msgstr "_Afbryd"
-#: ../src/AppWindow.vala:668
+#: src/AppWindow.vala:580
#, c-format
msgid ""
-"A fatal error occurred when accessing Shotwell's library. Shotwell cannot "
+"A fatal error occurred when accessing Shotwell’s library. Shotwell cannot "
"continue.\n"
"\n"
"%s"
msgstr ""
-"En fatal fejl opstod under adgang til Shotwells bibliotek. Shotwell kan ikke "
-"fortsætte.\n"
+"Der opstod en fatal fejl under adgang til Shotwells bibliotek. Shotwell kan "
+"ikke fortsætte.\n"
"\n"
"%s"
-#: ../src/AppWindow.vala:688
-msgid "Visit the Yorba web site"
-msgstr "Besøg Yorbas hjemmeside"
+#: src/AppWindow.vala:600
+msgid "Visit the Shotwell web site"
+msgstr "Besøg Shotwells websted"
-#: ../src/AppWindow.vala:700
+#: src/AppWindow.vala:612
#, c-format
msgid "Unable to display help: %s"
msgstr "Kan ikke vise hjælp: %s"
-#: ../src/AppWindow.vala:708
+#: src/AppWindow.vala:620
#, c-format
msgid "Unable to navigate to bug database: %s"
msgstr "Kan ikke navigere til fejldatase: %s"
-#: ../src/AppWindow.vala:716
+#: src/AppWindow.vala:628
#, c-format
msgid "Unable to display FAQ: %s"
msgstr "Ikke i stand til at vise OSS: %s"
-#: ../src/BatchImport.vala:26
+#: src/BatchImport.vala:26
msgid "Success"
msgstr "Succes"
-#: ../src/BatchImport.vala:29
+#: src/BatchImport.vala:29
msgid "File error"
msgstr "Filfejl"
-#: ../src/BatchImport.vala:32
+#: src/BatchImport.vala:32
msgid "Unable to decode file"
msgstr "Kunne ikke afkode fil"
-#: ../src/BatchImport.vala:35
+#: src/BatchImport.vala:35
msgid "Database error"
msgstr "Databasefejl"
-#: ../src/BatchImport.vala:38
+#: src/BatchImport.vala:38
msgid "User aborted import"
msgstr "Bruger afbrød import"
-#: ../src/BatchImport.vala:41
+#: src/BatchImport.vala:41
msgid "Not a file"
msgstr "Ikke en fil"
-#: ../src/BatchImport.vala:44
+#: src/BatchImport.vala:44
msgid "File already exists in database"
msgstr "Fil findes allerede i database"
-#: ../src/BatchImport.vala:47
+#: src/BatchImport.vala:47
msgid "Unsupported file format"
msgstr "Filformat ikke understøttet"
-#: ../src/BatchImport.vala:50
+#: src/BatchImport.vala:50
msgid "Not an image file"
msgstr "Ikke en billedfil"
-#: ../src/BatchImport.vala:53
+#: src/BatchImport.vala:53
msgid "Disk failure"
msgstr "Diskfejl"
-#: ../src/BatchImport.vala:56
+#: src/BatchImport.vala:56
msgid "Disk full"
msgstr "Disk fuld"
-#: ../src/BatchImport.vala:59
+#: src/BatchImport.vala:59
msgid "Camera error"
msgstr "Kamerafejl"
-#: ../src/BatchImport.vala:62
+#: src/BatchImport.vala:62
msgid "File write error"
msgstr "Filskrivningsfejl"
-#: ../src/BatchImport.vala:65
+#: src/BatchImport.vala:65
msgid "Corrupt image file"
msgstr "Beskadiget billedfil"
-#: ../src/BatchImport.vala:68
+#: src/BatchImport.vala:68
#, c-format
msgid "Imported failed (%d)"
msgstr "Import mislykkedes (%d)"
-#: ../src/CollectionPage.vala:230 ../src/PhotoPage.vala:2634
+#: src/camera/Branch.vala:85
+msgid "Cameras"
+msgstr "Kameraer"
+
+#: src/camera/Branch.vala:99 src/camera/ImportPage.vala:710
+#: src/camera/ImportPage.vala:726 src/photos/RawSupport.vala:303
+#: 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
+msgid "Camera"
+msgstr "Kamera"
+
+#: src/camera/ImportPage.vala:311 src/Properties.vala:230
+msgid "RAW+JPEG"
+msgstr "RAW+JPEG"
+
+#: src/camera/ImportPage.vala:458
+msgid ""
+"Unable to unmount camera. Try unmounting the camera from the file manager."
+msgstr ""
+"Kunne ikke afmontere kameraet. Forsøg afmontering af kameraet fra "
+"filhåndteringen."
+
+#. hide duplicates checkbox
+#: src/camera/ImportPage.vala:775
+msgid "Hide photos already imported"
+msgstr "Skjul allerede importerede billeder"
+
+#: src/camera/ImportPage.vala:776
+msgid "Only display photos that have not been imported"
+msgstr "Vis kun billeder som endnu ikke er blevet importeret"
+
+#: src/camera/ImportPage.vala:842
+msgid "The camera seems to be empty. No photos/videos found to import"
+msgstr ""
+"Kameraet ser ud til at være tomt. Fandt ingen billeder/videoer at importere"
+
+#: src/camera/ImportPage.vala:846
+msgid "No new photos/videos found on camera"
+msgstr "Fandt ingen nye billeder/videoer på kameraet"
+
+#. it's mounted, offer to unmount for the user
+#: src/camera/ImportPage.vala:999
+msgid ""
+"Shotwell needs to unmount the camera from the filesystem in order to access "
+"it. Continue?"
+msgstr ""
+"Shotwell har brug for at afmontere kameraet fra filsystemet for at få adgang "
+"til det. Fortsæt?"
+
+#: src/camera/ImportPage.vala:1005
+msgid "_Unmount"
+msgstr "A_fmontér"
+
+#: src/camera/ImportPage.vala:1010
+msgid "Please unmount the camera."
+msgstr "Afmontér venligst kameraet."
+
+#: src/camera/ImportPage.vala:1015
+msgid ""
+"The camera is locked by another application. Shotwell can only access the "
+"camera when it’s unlocked. Please close any other application using the "
+"camera and try again."
+msgstr ""
+"Kameraet er låst af et andet program. Shotwell kan kun tilgå kameraet, når "
+"det ikke er låst. Luk venligst alle andre programmer, som bruger kameraet, "
+"og forsøg igen."
+
+#: src/camera/ImportPage.vala:1025
+msgid "Please close any other application using the camera."
+msgstr "Luk venligst alle andre programmer, som bruger kameraet."
+
+#: src/camera/ImportPage.vala:1030
+#, c-format
+msgid ""
+"Unable to fetch previews from the camera:\n"
+"%s"
+msgstr ""
+"Kunne ikke indhente forhåndsvisninger fra kameraet:\n"
+"%s"
+
+#: src/camera/ImportPage.vala:1047
+msgid "Unmounting…"
+msgstr "Afmonterer …"
+
+#: src/camera/ImportPage.vala:1138
+msgid "Starting import, please wait…"
+msgstr "Begynder import. Vent venligst …"
+
+#: src/camera/ImportPage.vala:1155
+msgid "Fetching photo information"
+msgstr "Indhenter billedinformation"
+
+#: src/camera/ImportPage.vala:1513
+#, c-format
+msgid "Fetching preview for %s"
+msgstr "Indhenter forhåndsvisning for %s"
+
+#: src/camera/ImportPage.vala:1629
+#, c-format
+msgid "Unable to lock camera: %s"
+msgstr "Kan ikke låse kamera: %s"
+
+#: src/camera/ImportPage.vala:1714
+#, c-format
+msgid "Delete this photo from camera?"
+msgid_plural "Delete these %d photos from camera?"
+msgstr[0] "Slet dette billede fra kameraet?"
+msgstr[1] "Slet disse %d billeder fra kameraet?"
+
+#: src/camera/ImportPage.vala:1717
+#, c-format
+msgid "Delete this video from camera?"
+msgid_plural "Delete these %d videos from camera?"
+msgstr[0] "Slet denne video fra kameraet?"
+msgstr[1] "Slet disse %d videoer fra kameraet?"
+
+#: src/camera/ImportPage.vala:1720
+#, c-format
+msgid "Delete this photo/video from camera?"
+msgid_plural "Delete these %d photos/videos from camera?"
+msgstr[0] "Slet dette billede/denne video fra kameraet?"
+msgstr[1] "Slet disse %d billeder/videoer fra kameraet?"
+
+#: src/camera/ImportPage.vala:1723
+#, c-format
+msgid "Delete these files from camera?"
+msgid_plural "Delete these %d files from camera?"
+msgstr[0] "Slette disse filer fra kameraet?"
+msgstr[1] "Slette disse %d filer fra kameraet?"
+
+#: src/camera/ImportPage.vala:1731 src/Dialogs.vala:1397
+msgid "_Keep"
+msgstr "_Behold"
+
+#: src/camera/ImportPage.vala:1750
+msgid "Removing photos/videos from camera"
+msgstr "Fjern billeder/videoer fra kameraet"
+
+#: src/camera/ImportPage.vala:1754
+#, c-format
+msgid "Unable to delete %d photo/video from the camera due to errors."
+msgid_plural "Unable to delete %d photos/videos from the camera due to errors."
+msgstr[0] "Kan ikke slette %d billede/video fra kameraet på grund af fejl."
+msgstr[1] "Kan ikke slette %d billeder/videoer fra kameraet på grund af fejl."
+
+#: src/CollectionPage.vala:74 src/direct/DirectPhotoPage.vala:78
+#: src/PhotoPage.vala:2451 src/Resources.vala:170
+msgid "_Print"
+msgstr "_Udskriv"
+
+#: src/CollectionPage.vala:77 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
+msgid "Send _To…"
+msgstr "Send _til …"
+
+#: src/CollectionPage.vala:78 src/direct/DirectPhotoPage.vala:83
+#: src/PhotoPage.vala:2461 src/Resources.vala:220
+msgid "Set as _Desktop Background"
+msgstr "Angiv som skrivebords_baggrund"
+
+#: src/CollectionPage.vala:86 src/Resources.vala:286
+msgid "_Duplicate"
+msgstr "_Duplikér"
+
+#: src/CollectionPage.vala:94
+msgid "Fullscreen"
+msgstr "Fuldskærm"
+
+#: src/CollectionPage.vala:96 ui/photo.ui:180
msgid "S_lideshow"
-msgstr "_Diasshow"
+msgstr "S_lideshow"
+
+#: src/CollectionPage.vala:104 src/Resources.vala:139 ui/direct.ui:111
+#: ui/photo.ui:200
+msgid "Rotate _Right"
+msgstr "Rotér mod _højre"
+
+#: src/CollectionPage.vala:107 src/Resources.vala:144 ui/direct.ui:116
+#: ui/photo.ui:205
+msgid "Rotate _Left"
+msgstr "Rotér mod _venstre"
+
+#: src/CollectionPage.vala:110 src/Resources.vala:149 ui/direct.ui:121
+#: ui/photo.ui:210
+msgid "Flip Hori_zontally"
+msgstr "Vend _vandret"
+
+#: src/CollectionPage.vala:111 src/Resources.vala:152 ui/direct.ui:125
+#: ui/photo.ui:214
+msgid "Flip Verti_cally"
+msgstr "Vend _lodret"
+
+#: src/CollectionPage.vala:113 src/Resources.vala:186 ui/collection.ui:8
+#: ui/direct_context.ui:9 ui/direct.ui:134 ui/event.ui:445
+#: ui/photo_context.ui:6 ui/photo.ui:223
+msgid "_Enhance"
+msgstr "_Gør skarpere"
+
+#: src/CollectionPage.vala:114 src/Resources.vala:214 ui/collection.ui:13
+#: ui/direct_context.ui:14 ui/direct.ui:161 ui/event.ui:450
+#: ui/photo_context.ui:11 ui/photo.ui:250
+msgid "Re_vert to Original"
+msgstr "_Gendan til oprindelig"
+
+#: src/CollectionPage.vala:116 src/Resources.vala:190 ui/photo.ui:256
+msgid "_Copy Color Adjustments"
+msgstr "_Kopiér farvetilpasninger"
+
+#: src/CollectionPage.vala:119 src/Resources.vala:194 ui/photo.ui:261
+msgid "_Paste Color Adjustments"
+msgstr "_Indsæt farvetilpasninger"
-#: ../src/CollectionPage.vala:231 ../src/PhotoPage.vala:2635
-msgid "Play a slideshow"
-msgstr "Afspil et diasshow"
+#: src/CollectionPage.vala:129
+msgid "Adjust Date and Time…"
+msgstr "Justér dato og tid …"
-#: ../src/CollectionPage.vala:456
+#: src/CollectionPage.vala:137 src/Resources.vala:319
+msgid "Open With E_xternal Editor"
+msgstr "Åbn med e_ksternt redigeringsprogram"
+
+#: src/CollectionPage.vala:140 src/Resources.vala:321 ui/collection.ui:111
+#: ui/event.ui:548 ui/photo_context.ui:118 ui/photo.ui:363
+msgid "Open With RA_W Editor"
+msgstr "Åbn med RA_W-redigeringsprogram"
+
+#: src/CollectionPage.vala:143 src/Resources.vala:167
+msgid "_Play"
+msgstr "_Afspil"
+
+#: src/CollectionPage.vala:404
msgid "Export Photo/Video"
-msgstr "Eksporter billeder/videoer"
+msgstr "Eksportér billede/video"
-#: ../src/CollectionPage.vala:456
+#: src/CollectionPage.vala:404
msgid "Export Photos/Videos"
-msgstr "Eksporter billeder/videoer"
+msgstr "Eksportér billeder/videoer"
-#: ../src/CollectionPage.vala:458 ../src/Dialogs.vala:58
-#: ../src/PhotoPage.vala:3210
+#: src/CollectionPage.vala:406 src/Dialogs.vala:59 src/PhotoPage.vala:2988
msgid "Export Photo"
-msgstr "Eksporter billeder"
+msgstr "Eksportér billede"
-#: ../src/CollectionPage.vala:458 ../src/Dialogs.vala:87
+#: src/CollectionPage.vala:406 src/Dialogs.vala:84
msgid "Export Photos"
-msgstr "Eksporter billeder"
+msgstr "Eksportér billeder"
-#: ../src/CollectionPage.vala:545 ../src/CollectionPage.vala:561
+#: src/CollectionPage.vala:493 src/CollectionPage.vala:509
msgid "Rotating"
msgstr "Roterer"
-#: ../src/CollectionPage.vala:545 ../src/CollectionPage.vala:561
+#: src/CollectionPage.vala:493 src/CollectionPage.vala:509
msgid "Undoing Rotate"
msgstr "Fortryder rotering"
-#: ../src/CollectionPage.vala:570
+#: src/CollectionPage.vala:518
msgid "Flipping Horizontally"
msgstr "Vender vandret"
-#: ../src/CollectionPage.vala:571
+#: src/CollectionPage.vala:519
msgid "Undoing Flip Horizontally"
msgstr "Fortryder vandret vending"
-#: ../src/CollectionPage.vala:580
+#: src/CollectionPage.vala:528
msgid "Flipping Vertically"
msgstr "Vender lodret"
-#: ../src/CollectionPage.vala:581
+#: src/CollectionPage.vala:529
msgid "Undoing Flip Vertically"
msgstr "Fortryder lodret vending"
-#: ../src/Commands.vala:733
+#: src/Commands.vala:737
msgid "Reverting"
msgstr "Forkaster"
-#: ../src/Commands.vala:733
+#: src/Commands.vala:737
msgid "Undoing Revert"
msgstr "Fortryder forkastelse"
-#: ../src/Commands.vala:777
+#: src/Commands.vala:781
msgid "Enhancing"
msgstr "Gør skarpere"
-#: ../src/Commands.vala:777
+#: src/Commands.vala:781
msgid "Undoing Enhance"
msgstr "Fortryder gør skarpere"
-#: ../src/Commands.vala:845
+#: src/Commands.vala:857
msgid "Applying Color Transformations"
msgstr "Gør brug af farvetransformationer"
-#: ../src/Commands.vala:845
+#: src/Commands.vala:857
msgid "Undoing Color Transformations"
msgstr "Fortryder farvetransformationer"
-#: ../src/Commands.vala:995
+#: src/Commands.vala:1007
msgid "Creating New Event"
-msgstr "Opretter ny hændelse"
+msgstr "Opretter ny begivenhed"
-#: ../src/Commands.vala:996
+#: src/Commands.vala:1008
msgid "Removing Event"
-msgstr "Fjerner hændelse"
+msgstr "Fjerner begivenhed"
-#: ../src/Commands.vala:1005
+#: src/Commands.vala:1017
msgid "Moving Photos to New Event"
-msgstr "Flytter billeder til ny hændelse"
+msgstr "Flytter billeder til ny begivenhed"
-#: ../src/Commands.vala:1006
+#: src/Commands.vala:1018
msgid "Setting Photos to Previous Event"
-msgstr "Angiv billeder til forrige hændelse"
+msgstr "Angiver billeder til forrige begivenhed"
-#: ../src/Commands.vala:1063
+#: src/Commands.vala:1075
msgid "Merging"
msgstr "Fletter"
-#: ../src/Commands.vala:1064
+#: src/Commands.vala:1076
msgid "Unmerging"
msgstr "Fjerner fletning"
-#: ../src/Commands.vala:1073
+#: src/Commands.vala:1085
msgid "Duplicating photos"
msgstr "Duplikerer billeder"
-#: ../src/Commands.vala:1073
+#: src/Commands.vala:1085
msgid "Removing duplicated photos"
msgstr "Fjerner duplikerede billeder"
-#: ../src/Commands.vala:1096
+#: src/Commands.vala:1108
#, c-format
msgid "Unable to duplicate one photo due to a file error"
msgid_plural "Unable to duplicate %d photos due to file errors"
msgstr[0] "Kunne ikke duplikere et billede på grund af en filfejl"
msgstr[1] "Kunne ikke duplikere %d billeder på grund af filfejl"
-#: ../src/Commands.vala:1183
+#: src/Commands.vala:1195
msgid "Restoring previous rating"
msgstr "Gendanner forrige bedømmelse"
-#: ../src/Commands.vala:1193 ../src/Commands.vala:1194
+#: src/Commands.vala:1205 src/Commands.vala:1206
msgid "Increasing ratings"
-msgstr "Højere bedømmelser"
+msgstr "Hæver bedømmelser"
-#: ../src/Commands.vala:1193 ../src/Commands.vala:1194
+#: src/Commands.vala:1205 src/Commands.vala:1206
msgid "Decreasing ratings"
-msgstr "Mindre bedømmelser"
+msgstr "Sænker bedømmelser"
-#: ../src/Commands.vala:1244
+#: src/Commands.vala:1256
msgid "Setting RAW developer"
msgstr "Angiver RAW-udvikler"
-#: ../src/Commands.vala:1244
+#: src/Commands.vala:1256
msgid "Restoring previous RAW developer"
msgstr "Gendanner forrige RAW-udvikler"
-#: ../src/Commands.vala:1245
+#: src/Commands.vala:1257
msgid "Set Developer"
msgstr "Angiv udvikler"
-#: ../src/Commands.vala:1335
+#: src/Commands.vala:1347
msgid "Original photo could not be adjusted."
-msgstr "Originalt billede kunne ikke justeres."
+msgstr "Oprindeligt billede kunne ikke justeres."
-#: ../src/Commands.vala:1356
+#: src/Commands.vala:1368
msgid "Adjusting Date and Time"
msgstr "Justerer dato og tid"
-#: ../src/Commands.vala:1356
+#: src/Commands.vala:1368
msgid "Undoing Date and Time Adjustment"
msgstr "Fjerner justering af dato og tid"
-#: ../src/Commands.vala:1387
+#: src/Commands.vala:1399
msgid "One original photo could not be adjusted."
msgid_plural "The following original photos could not be adjusted."
msgstr[0] "Et oprindeligt billede kunne ikke justeres."
msgstr[1] "De følgende oprindelige billeder kunne ikke justeres."
-#: ../src/Commands.vala:1389 ../src/Commands.vala:1413
+#: src/Commands.vala:1401 src/Commands.vala:1425
msgid "Time Adjustment Error"
msgstr "Fejl ved tidsjustering"
-#: ../src/Commands.vala:1411
+#: src/Commands.vala:1423
msgid "Time adjustments could not be undone on the following photo file."
msgid_plural ""
"Time adjustments could not be undone on the following photo files."
msgstr[0] "Tidsjustering kunne ikke fortrydes på den følgende billedfil."
msgstr[1] "Tidsjusteringer kunne ikke fortrydes på de følgende billedfiler."
-#: ../src/Commands.vala:1625 ../src/Commands.vala:1648
+#: src/Commands.vala:1637 src/Commands.vala:1660
msgid "Create Tag"
msgstr "Opret mærke"
-#: ../src/Commands.vala:1683
+#: src/Commands.vala:1695
#, c-format
-msgid "Move Tag \"%s\""
+msgid "Move Tag “%s”"
msgstr "Flyt mærket \"%s\""
-#: ../src/Commands.vala:2335
+#: src/Commands.vala:2347
msgid "Move Photos to Trash"
-msgstr "Flyt billeder til skraldespanden"
+msgstr "Flyt billeder til papirkurven"
-#: ../src/Commands.vala:2335
+#: src/Commands.vala:2347
msgid "Restore Photos from Trash"
-msgstr "Genopret billeder fra skraldespanden"
+msgstr "Genopret billeder fra papirkurven"
-#: ../src/Commands.vala:2336
+#: src/Commands.vala:2348
msgid "Move the photos to the Shotwell trash"
-msgstr "Flyt billeder til Shotwell skraldespanden"
+msgstr "Flyt billeder til Shotwells papirkurv"
-#: ../src/Commands.vala:2336
+#: src/Commands.vala:2348
msgid "Restore the photos back to the Shotwell library"
-msgstr "Genopret billederne tilbage i Shotwellbiblioteket"
+msgstr "Genopret billederne i Shotwells bibliotek"
-#: ../src/Commands.vala:2355
+#: src/Commands.vala:2367
msgid "Moving Photos to Trash"
-msgstr "Flytter billeder til skraldespanden"
+msgstr "Flytter billeder til papirkurven"
-#: ../src/Commands.vala:2355
+#: src/Commands.vala:2367
msgid "Restoring Photos From Trash"
-msgstr "Genopret billeder fra skraldespanden"
+msgstr "Genopretter billeder fra papirkurven"
-#: ../src/Commands.vala:2441
+#: src/Commands.vala:2453
msgid "Flag selected photos"
-msgstr "Marker disse billder"
+msgstr "Tilføj flag til de valgte billeder"
-#: ../src/Commands.vala:2442
+#: src/Commands.vala:2454
msgid "Unflag selected photos"
-msgstr "Fjern markering fra disse billeder"
+msgstr "Fjern flag fra de valgte billeder"
-#: ../src/Commands.vala:2443
+#: src/Commands.vala:2455
msgid "Flagging selected photos"
-msgstr "Sætter mærkater på valgte billeder"
+msgstr "Sætter flag på de valgte billeder"
-#: ../src/Commands.vala:2444
+#: src/Commands.vala:2456
msgid "Unflagging selected photos"
-msgstr "Fjerner mærkater på valgte billeder"
+msgstr "Fjerner flag fra de valgte billeder"
-#: ../src/Commands.vala:2451
+#: src/Commands.vala:2463
msgid "Flag"
-msgstr "Sæt mærke"
+msgstr "Sæt flag på"
-#: ../src/Commands.vala:2451
+#: src/Commands.vala:2463
msgid "Unflag"
-msgstr "Fjern mærke"
+msgstr "Fjern flag fra"
-#: ../src/DesktopIntegration.vala:121
+#. Send an empty job to the queue to mark the end of the import
+#: src/data_imports/DataImportsPluginHost.vala:65
+#: src/data_imports/DataImportsPluginHost.vala:78
+#, c-format
+msgid "%s Database"
+msgstr "Databasen %s"
+
+#: src/data_imports/DataImportsPluginHost.vala:148
+#: src/data_imports/DataImportsPluginHost.vala:294
+#, c-format
+msgid "Importing from %s can’t continue because an error occurred:"
+msgstr "Import fra %s kan ikke fortsætte, fordi der opstod en fejl:"
+
+#: src/data_imports/DataImportsPluginHost.vala:151
+msgid "To try importing from another service, select one from the above menu."
+msgstr ""
+"For at forsøge at importere fra en anden tjeneste, så vælg én fra menuen "
+"ovenfor."
+
+#: src/data_imports/DataImportsUI.vala:10
+msgid ""
+"You do not have any data imports plugins enabled.\n"
+"\n"
+"In order to use the Import From Application functionality, you need to have "
+"at least one data imports plugin enabled. Plugins can be enabled in the "
+"Preferences dialog."
+msgstr ""
+"Du har ingen aktiverede udvidelsesmoduler til import af data.\n"
+"\n"
+"For at anvende funktionen Importér fra program, så skal du mindst have ét "
+"aktiveret udvidelsesmodul til import af data. Udvidelsesmoduler kan "
+"aktiveres i dialogvinduet Indstillinger."
+
+#: src/data_imports/DataImportsUI.vala:100
+msgid "Database file:"
+msgstr "Database-fil:"
+
+#: src/data_imports/DataImportsUI.vala:112 src/library/LibraryWindow.vala:769
+msgid "_Import"
+msgstr "_Importér"
+
+#: src/data_imports/DataImportsUI.vala:220
+msgid "Import From Application"
+msgstr "Importér fra program"
+
+#: src/data_imports/DataImportsUI.vala:221
+msgid "Import media _from:"
+msgstr "Importér medie _fra:"
+
+#: src/data_imports/DataImportsUI.vala:414 src/publishing/PublishingUI.vala:520
+msgid "_Close"
+msgstr "_Luk"
+
+#: src/data_imports/DataImports.vala:22
+msgid "Data Imports"
+msgstr "Data-importer"
+
+#: src/db/DatabaseTable.vala:37
+#, c-format
+msgid "Unable to open/create photo database %s: error code %d"
+msgstr "Ikke i stand til at åbne/oprette billeddatabase %s: fejlkode %d"
+
+#: src/db/DatabaseTable.vala:46
+#, c-format
+msgid ""
+"Unable to write to photo database file:\n"
+" %s"
+msgstr ""
+"Kan ikke skrive til billeddatabasefilen:\n"
+" %s"
+
+#: src/db/DatabaseTable.vala:48
+#, c-format
+msgid ""
+"Error accessing database file:\n"
+" %s\n"
+"\n"
+"Error was: \n"
+"%s"
+msgstr ""
+"Fejl med at få tilgang til databasefil:\n"
+"%s \n"
+"\n"
+"Fejl var:\n"
+"%s"
+
+#: src/db/DatabaseTable.vala:92
+#, c-format
+msgid "Unable to restore photo database %s"
+msgstr "Kunne ikke gendanne billeddatabasen: %s"
+
+#: src/DesktopIntegration.vala:121
#, c-format
msgid "Unable to launch Nautilus Send-To: %s"
-msgstr "Kan ikke starte Nautilus Send-til: %s"
+msgstr "Kunne ikke starte Nautilus Send-To: %s"
-#: ../src/DesktopIntegration.vala:129
+#: src/DesktopIntegration.vala:129
msgid "Send To"
msgstr "Send til"
-#: ../src/DesktopIntegration.vala:174
+#: src/DesktopIntegration.vala:174
#, c-format
msgid "Unable to export background to %s: %s"
-msgstr "Kan ikke eksportere baggrund til %s: %s"
+msgstr "Kunne ikke eksportere baggrund til %s: %s"
-#: ../src/DesktopIntegration.vala:311
+#: src/DesktopIntegration.vala:311
#, c-format
msgid "Unable to prepare desktop slideshow: %s"
-msgstr "Ikke i stand til at forberede desktop slideshow: %s"
+msgstr "Kunne ikke forberede skrivebordsslideshow: %s"
-#: ../src/Dialogs.vala:16
+#: src/Dialogs.vala:16
#, c-format
-msgid "This will remove the tag \"%s\" from one photo. Continue?"
-msgid_plural "This will remove the tag \"%s\" from %d photos. Continue?"
-msgstr[0] "Dette vil fjerne mærket »%s« fra et billede. Fortsæt?"
-msgstr[1] "Dette vil fjerne mærket »%s« fra %d billeder. Fortsæt?"
+msgid "This will remove the tag “%s” from one photo. Continue?"
+msgid_plural "This will remove the tag “%s” from %d photos. Continue?"
+msgstr[0] "Dette vil fjerne mærket \"%s\" fra et billede. Fortsæt?"
+msgstr[1] "Dette vil fjerne mærket \"%s\" fra %d billeder. Fortsæt?"
-#: ../src/Dialogs.vala:20 ../src/Dialogs.vala:28 ../src/Dialogs.vala:1385
-#: ../src/Resources.vala:328 ../src/Resources.vala:376
-#: ../src/Resources.vala:641
+#: src/Dialogs.vala:20 src/Dialogs.vala:28 src/Dialogs.vala:1398
+#: src/Resources.vala:158 src/Resources.vala:361 src/Resources.vala:414
+#: src/Resources.vala:658 ui/savedsearch.ui:15 ui/trash.ui:63 ui/trash.ui:216
+#: ui/trash.ui:258
msgid "_Delete"
msgstr "_Slet"
-#: ../src/Dialogs.vala:25
+#: src/Dialogs.vala:25
#, c-format
-msgid "This will remove the saved search \"%s\". Continue?"
-msgstr "Dette vil fjerne den gemte søgning \"%s\". Fortsætte?"
+msgid "This will remove the saved search “%s”. Continue?"
+msgstr "Dette vil fjerne den gemte søgning \"%s\". Fortsæt?"
-#: ../src/Dialogs.vala:35
+#: src/Dialogs.vala:36
msgid ""
"Switching developers will undo all changes you have made to this photo in "
"Shotwell"
@@ -1479,29 +3196,29 @@ msgstr[1] ""
"Udskiftning af udviklere vil slette alle ændringer, du har lavet på disse "
"billeder i Shotwell"
-#: ../src/Dialogs.vala:39
+#: src/Dialogs.vala:40
msgid "_Switch Developer"
msgstr "_Skift udvikler"
-#: ../src/Dialogs.vala:58
+#: src/Dialogs.vala:59
msgid "Export Video"
-msgstr "Eksporter Video"
+msgstr "Eksportér video"
#. Ticket #3023
#. Attempt to replace the system error with something friendlier
#. if we can't copy an image over for editing in an external tool.
#. Did we fail because we can't write to this directory?
#. Yes - display an alternate error message here.
-#: ../src/Dialogs.vala:115
+#: src/Dialogs.vala:112
#, c-format
msgid ""
-"Shotwell couldn't create a file for editing this photo because you do not "
+"Shotwell couldn’t create a file for editing this photo because you do not "
"have permission to write to %s."
msgstr ""
"Shotwell kunne ikke oprette en fil for redigering af dette foto, fordi du "
-"ikke har skriverettigheder for %s."
+"ikke har skriverettigheder til %s."
-#: ../src/Dialogs.vala:124
+#: src/Dialogs.vala:121
msgid ""
"Unable to export the following photo due to a file error.\n"
"\n"
@@ -1509,7 +3226,7 @@ msgstr ""
"Kunne ikke eksportere følgende billede på grund af en filfejl.\n"
"\n"
-#: ../src/Dialogs.vala:130
+#: src/Dialogs.vala:127
msgid ""
"\n"
"\n"
@@ -1522,60 +3239,60 @@ msgstr ""
#. "Unmodified" and "Current," though they appear in the "Format:" popup menu, really
#. aren't formats so much as they are operating modes that determine specific formats.
#. Hereafter we'll refer to these as "special formats."
-#: ../src/Dialogs.vala:147
+#: src/Dialogs.vala:144
msgid "Unmodified"
msgstr "Umodificeret"
-#: ../src/Dialogs.vala:148
+#: src/Dialogs.vala:145
msgid "Current"
msgstr "Nuværende"
#. layout controls
-#: ../src/Dialogs.vala:212
+#: src/Dialogs.vala:221
msgid "_Format:"
msgstr "_Format:"
-#: ../src/Dialogs.vala:215
+#: src/Dialogs.vala:224
msgid "_Quality:"
msgstr "_Kvalitet:"
-#: ../src/Dialogs.vala:218
+#: src/Dialogs.vala:227
msgid "_Scaling constraint:"
msgstr "_Skaleringsbegrænsning:"
-#: ../src/Dialogs.vala:221
-msgid " _pixels"
-msgstr " _billedpunkter"
+#: src/Dialogs.vala:230
+msgid "_Pixels:"
+msgstr " _Billedpunkter:"
-#: ../src/Dialogs.vala:229
-msgid "Export metadata"
-msgstr "Eksportér metadata"
+#: src/Dialogs.vala:234
+msgid "Export _metadata:"
+msgstr "Eksportér _metadata:"
-#: ../src/Dialogs.vala:465
-msgid "Save Details..."
-msgstr "Gem detaljer..."
+#: src/Dialogs.vala:478
+msgid "Save Details…"
+msgstr "Gem detaljer …"
-#: ../src/Dialogs.vala:466
+#: src/Dialogs.vala:479
msgid "Save Details"
msgstr "Gem detaljer"
-#: ../src/Dialogs.vala:481
+#: src/Dialogs.vala:494
#, c-format
msgid "(and %d more)\n"
msgstr "(og %d flere)\n"
-#: ../src/Dialogs.vala:534
+#: src/Dialogs.vala:547
msgid "Import Results Report"
msgstr "Rapport over resultat af import"
-#: ../src/Dialogs.vala:538
+#: src/Dialogs.vala:551
#, c-format
msgid "Attempted to import %d file."
msgid_plural "Attempted to import %d files."
msgstr[0] "Forsøgte at importere %d fil."
msgstr[1] "Forsøgte at importere %d filer."
-#: ../src/Dialogs.vala:541
+#: src/Dialogs.vala:554
#, c-format
msgid "Of these, %d file was successfully imported."
msgid_plural "Of these, %d files were successfully imported."
@@ -1585,31 +3302,31 @@ msgstr[1] "Ud af disse blev import af %d filer gennemført."
#.
#. Duplicates
#.
-#: ../src/Dialogs.vala:553
+#: src/Dialogs.vala:566
msgid "Duplicate Photos/Videos Not Imported:"
msgstr "Duplikerede billeder/videoer blev ikke importeret:"
-#: ../src/Dialogs.vala:557
+#: src/Dialogs.vala:570
msgid "duplicates existing media item"
msgstr "duplikerer eksisterende medieelement"
#.
#. Files Not Imported Due to Camera Errors
#.
-#: ../src/Dialogs.vala:568
+#: src/Dialogs.vala:581
msgid "Photos/Videos Not Imported Due to Camera Errors:"
msgstr "Billeder/videoer blev ikke importeret på grund af kamerafejl:"
-#: ../src/Dialogs.vala:571 ../src/Dialogs.vala:586 ../src/Dialogs.vala:601
-#: ../src/Dialogs.vala:617 ../src/Dialogs.vala:632 ../src/Dialogs.vala:646
+#: src/Dialogs.vala:584 src/Dialogs.vala:599 src/Dialogs.vala:614
+#: src/Dialogs.vala:630 src/Dialogs.vala:645 src/Dialogs.vala:659
msgid "error message:"
msgstr "fejlbesked:"
#.
#. Files Not Imported Because They Weren't Recognized as Photos or Videos
#.
-#: ../src/Dialogs.vala:582
-msgid "Files Not Imported Because They Weren't Recognized as Photos or Videos:"
+#: src/Dialogs.vala:595
+msgid "Files Not Imported Because They Weren’t Recognized as Photos or Videos:"
msgstr ""
"Billeder/videoer blev ikke importeret, fordi de ikke blev genkendt som "
"billeder eller videoer:"
@@ -1617,29 +3334,29 @@ msgstr ""
#.
#. Photos/Videos Not Imported Because They Weren't in a Format Shotwell Understands
#.
-#: ../src/Dialogs.vala:597
+#: src/Dialogs.vala:610
msgid ""
-"Photos/Videos Not Imported Because They Weren't in a Format Shotwell "
+"Photos/Videos Not Imported Because They Weren’t in a Format Shotwell "
"Understands:"
msgstr ""
-"Billeder/videoer blev ikke importeret, fordi de ikke var i et format som "
+"Billeder/videoer blev ikke importeret, fordi de ikke var i et format, som "
"Shotwell forstår:"
#.
#. Photos/Videos Not Imported Because Shotwell Couldn't Copy Them into its Library
#.
-#: ../src/Dialogs.vala:612
+#: src/Dialogs.vala:625
msgid ""
-"Photos/Videos Not Imported Because Shotwell Couldn't Copy Them into its "
+"Photos/Videos Not Imported Because Shotwell Couldn’t Copy Them into its "
"Library:"
msgstr ""
"Billeder/videoer blev ikke importeret, fordi Shotwell ikke kunne kopiere dem "
"til dets bibliotek:"
-#: ../src/Dialogs.vala:616
+#: src/Dialogs.vala:629
#, c-format
msgid ""
-"couldn't copy %s\n"
+"couldn’t copy %s\n"
"\tto %s"
msgstr ""
"kunne ikke kopiere %s\n"
@@ -1648,39 +3365,39 @@ msgstr ""
#.
#. Photos/Videos Not Imported Because GDK Pixbuf Library Identified them as Corrupt
#.
-#: ../src/Dialogs.vala:628
+#: src/Dialogs.vala:641
msgid "Photos/Videos Not Imported Because Files Are Corrupt:"
msgstr "Billeder/videoer blev ikke importeret, fordi filerne er beskadigede:"
#.
#. Photos/Videos Not Imported for Other Reasons
#.
-#: ../src/Dialogs.vala:643
+#: src/Dialogs.vala:656
msgid "Photos/Videos Not Imported for Other Reasons:"
msgstr "Billeder/videoer blev ikke importeret af andre grunde:"
-#: ../src/Dialogs.vala:663
+#: src/Dialogs.vala:676
#, c-format
msgid "1 duplicate photo was not imported:\n"
msgid_plural "%d duplicate photos were not imported:\n"
-msgstr[0] "1 duplikatbillede blev ikke importeret:\n"
-msgstr[1] "%d duplikatbilleder blev ikke importeret:\n"
+msgstr[0] "1 dubletbillede blev ikke importeret:\n"
+msgstr[1] "%d dubletbilleder blev ikke importeret:\n"
-#: ../src/Dialogs.vala:666
+#: src/Dialogs.vala:679
#, c-format
msgid "1 duplicate video was not imported:\n"
msgid_plural "%d duplicate videos were not imported:\n"
-msgstr[0] "1 video blev ikke importeret:\n"
-msgstr[1] "%d duplikate videoer blev ikke importeret:\n"
+msgstr[0] "1 dubletvideo blev ikke importeret:\n"
+msgstr[1] "%d dubletvideoer blev ikke importeret:\n"
-#: ../src/Dialogs.vala:669
+#: src/Dialogs.vala:682
#, c-format
msgid "1 duplicate photo/video was not imported:\n"
msgid_plural "%d duplicate photos/videos were not imported:\n"
-msgstr[0] "1 duplikat foto/video blev ikke importeret:\n"
-msgstr[1] "%d duplikate fotoer/videoer blev ikke importeret:\n"
+msgstr[0] "1 dubletbillede/-video blev ikke importeret:\n"
+msgstr[1] "%d dubletbilleder/-videoer blev ikke importeret:\n"
-#: ../src/Dialogs.vala:683
+#: src/Dialogs.vala:696
#, c-format
msgid "1 photo failed to import due to a file or hardware error:\n"
msgid_plural "%d photos failed to import due to a file or hardware error:\n"
@@ -1689,14 +3406,14 @@ msgstr[0] ""
msgstr[1] ""
"%d billeder kunne ikke importeres på grund af en fil- eller hardwarefejl.\n"
-#: ../src/Dialogs.vala:686
+#: src/Dialogs.vala:699
#, c-format
msgid "1 video failed to import due to a file or hardware error:\n"
msgid_plural "%d videos failed to import due to a file or hardware error:\n"
msgstr[0] "1 video kunne ikke importeres pga. en fil- eller hardwarefejl:\n"
msgstr[1] "%d videoer kunne ikke importeres pga. en fil- eller hardwarefejl:\n"
-#: ../src/Dialogs.vala:689
+#: src/Dialogs.vala:702
#, c-format
msgid "1 photo/video failed to import due to a file or hardware error:\n"
msgid_plural ""
@@ -1706,35 +3423,38 @@ msgstr[0] ""
msgstr[1] ""
"%d billeder/videoer kunne ikke importeres pga. en fil- eller hardwarefejl:\n"
-#: ../src/Dialogs.vala:692
+#: src/Dialogs.vala:705
#, c-format
msgid "1 file failed to import due to a file or hardware error:\n"
msgid_plural "%d files failed to import due to a file or hardware error:\n"
-msgstr[0] "1 fil kunne ikke importeres pga. en fil eller hardware fejl:\n"
-msgstr[1] "%d filer kunne ikke importeres pga. en fil eller hardware fejl:\n"
+msgstr[0] "1 fil kunne ikke importeres pga. en fil- eller hardwarefejl:\n"
+msgstr[1] "%d filer kunne ikke importeres pga. en fil- eller hardwarefejl:\n"
-#: ../src/Dialogs.vala:706
+#: src/Dialogs.vala:719
#, c-format
msgid ""
"1 photo failed to import because the photo library folder was not writable:\n"
msgid_plural ""
"%d photos failed to import because the photo library folder was not "
"writable:\n"
-msgstr[0] "1 foto fejlede under import da fotomappen var skrivebeskyttet:\n"
-msgstr[1] "%d fotos fejlede under import da fotomappen var skrivebeskyttet:\n"
+msgstr[0] ""
+"1 billede kunne ikke importeres, da billedmappen er skrivebeskyttet:\n"
+msgstr[1] ""
+"%d billeder kunne ikke importeres, da billedmappen er skrivebeskyttet:\n"
-#: ../src/Dialogs.vala:709
+#: src/Dialogs.vala:722
#, c-format
msgid ""
"1 video failed to import because the photo library folder was not writable:\n"
msgid_plural ""
"%d videos failed to import because the photo library folder was not "
"writable:\n"
-msgstr[0] "1 video fejlede under import, da fotomappen er skrivebeskyttet:\n"
+msgstr[0] ""
+"1 video kunne ikke importeres, da billedmappen er skrivebeskyttet:\n"
msgstr[1] ""
-"%d videoer fejlede under import, da fotomappen er skrivebeskyttet:\n"
+"%d videoer kunne ikke importeres, da billedmappen er skrivebeskyttet:\n"
-#: ../src/Dialogs.vala:712
+#: src/Dialogs.vala:725
#, c-format
msgid ""
"1 photo/video failed to import because the photo library folder was not "
@@ -1743,11 +3463,13 @@ msgid_plural ""
"%d photos/videos failed to import because the photo library folder was not "
"writable:\n"
msgstr[0] ""
-"1 foto/video fejlede under import, da fotomappen var skrivebeskyttet:\n"
+"1 billede/video kunne ikke importeres, da fotomappen er skrivebeskyttet:\n"
+"\n"
msgstr[1] ""
-"%d fotos/videoer fejlede under import, da fotomappen var skrivebeskyttet:\n"
+"%d billeder/videoer kunne ikke importeres, da fotomappen er "
+"skrivebeskyttet:\n"
-#: ../src/Dialogs.vala:715
+#: src/Dialogs.vala:728
#, c-format
msgid ""
"1 file failed to import because the photo library folder was not writable:\n"
@@ -1755,55 +3477,56 @@ msgid_plural ""
"%d files failed to import because the photo library folder was not "
"writable:\n"
msgstr[0] ""
-"1 fil kunne ikke importeres pga. der ikke kunne skrives til "
-"billedbiblioteksfoldere:\n"
+"1 fil kunne ikke importeres, fordi der ikke kunne skrives til "
+"billedbiblioteksmappen:\n"
msgstr[1] ""
-"%d filer kunne ikke importeres pga. der ikke kunne skrives til "
-"billedbiblioteksfoldere:\n"
+"%d filer kunne ikke importeres, fordi der ikke kunne skrives til "
+"billedbiblioteksmappen:\n"
+"\n"
-#: ../src/Dialogs.vala:729
+#: src/Dialogs.vala:742
#, c-format
msgid "1 photo failed to import due to a camera error:\n"
msgid_plural "%d photos failed to import due to a camera error:\n"
-msgstr[0] "1 billede kunne ikke importeres på grund af en kamerafejl.\n"
-msgstr[1] "%d billeder kunne ikke importeres på grund af en kamerafejl.\n"
+msgstr[0] "1 billede kunne ikke importeres på grund af en kamerafejl:\n"
+msgstr[1] "%d billeder kunne ikke importeres på grund af en kamerafejl:\n"
-#: ../src/Dialogs.vala:732
+#: src/Dialogs.vala:745
#, c-format
msgid "1 video failed to import due to a camera error:\n"
msgid_plural "%d videos failed to import due to a camera error:\n"
msgstr[0] "1 video kunne ikke importeres pga. en kamerafejl:\n"
msgstr[1] "%d videoer kunne ikke importeres pga. en kamerafejl:\n"
-#: ../src/Dialogs.vala:735
+#: src/Dialogs.vala:748
#, c-format
msgid "1 photo/video failed to import due to a camera error:\n"
msgid_plural "%d photos/videos failed to import due to a camera error:\n"
msgstr[0] "1 billede/video kunne ikke importeres pga. en kamerafejl:\n"
msgstr[1] "%d billeder/videoer kunne ikke importeres pga. en kamerafejl:\n"
-#: ../src/Dialogs.vala:738
+#: src/Dialogs.vala:751
#, c-format
msgid "1 file failed to import due to a camera error:\n"
msgid_plural "%d files failed to import due to a camera error:\n"
-msgstr[0] "1 fil kunne ikke importeres pga. kamerafejl:\n"
-msgstr[1] "%d filer kunne ikke importeres pga. kamerafejl:\n"
+msgstr[0] "1 fil kunne ikke importeres pga. en kamerafejl:\n"
+msgstr[1] "%d filer kunne ikke importeres pga. en kamerafejl:\n"
-#: ../src/Dialogs.vala:752
+#: src/Dialogs.vala:765
#, c-format
msgid "1 photo failed to import because it was corrupt:\n"
msgid_plural "%d photos failed to import because they were corrupt:\n"
msgstr[0] "1 billede blev ikke importeret, fordi det var beskadiget:\n"
msgstr[1] "%d billeder blev ikke importeret, fordi de var beskadiget:\n"
-#: ../src/Dialogs.vala:755
+#: src/Dialogs.vala:768
#, c-format
msgid "1 video failed to import because it was corrupt:\n"
msgid_plural "%d videos failed to import because they were corrupt:\n"
msgstr[0] "1 video blev ikke importeret, fordi den var beskadiget:\n"
msgstr[1] "%d videoer blev ikke importeret, fordi de var beskadiget:\n"
-#: ../src/Dialogs.vala:758
+#: src/Dialogs.vala:771
#, c-format
msgid "1 photo/video failed to import because it was corrupt:\n"
msgid_plural "%d photos/videos failed to import because they were corrupt:\n"
@@ -1812,7 +3535,7 @@ msgstr[0] ""
msgstr[1] ""
"%d billeder/videoer blev ikke importeret, fordi de var beskadiget:\n"
-#: ../src/Dialogs.vala:761
+#: src/Dialogs.vala:774
#, c-format
msgid "1 file failed to import because it was corrupt:\n"
msgid_plural "%d files failed to import because it was corrupt:\n"
@@ -1823,248 +3546,242 @@ msgstr[1] "%d filer blev ikke importeret, fordi de var beskadiget:\n"
#. standard container formats are supported, it's just that the streams in them
#. might or might not be interpretable), so this message does not need to be
#. media specific
-#: ../src/Dialogs.vala:778
+#: src/Dialogs.vala:791
#, c-format
msgid "1 unsupported photo skipped:\n"
msgid_plural "%d unsupported photos skipped:\n"
-msgstr[0] "1 billede der ikke er understøttet blev udeladt.\n"
-msgstr[1] "%d billeder der ikke er understøttet blev udeladt.\n"
+msgstr[0] "1 billede, som ikke understøttes, blev udeladt:\n"
+msgstr[1] "%d billeder, som ikke understøttes, blev udeladt:\n"
#. we have no notion of "non-video" video files right now in Shotwell, so this
#. message doesn't need to be media specific
-#: ../src/Dialogs.vala:793
+#: src/Dialogs.vala:806
#, c-format
msgid "1 non-image file skipped.\n"
msgid_plural "%d non-image files skipped.\n"
-msgstr[0] "1 fil der ikke var et billede sprunget over.\n"
-msgstr[1] "%d filer der ikke var billeder sprunget over.\n"
+msgstr[0] "1 fil, der ikke var et billede, blev udeladt.\n"
+msgstr[1] "%d filer, der ikke var billeder, blev udeladt.\n"
-#: ../src/Dialogs.vala:804
+#: src/Dialogs.vala:817
#, c-format
msgid "1 photo skipped due to user cancel:\n"
msgid_plural "%d photos skipped due to user cancel:\n"
-msgstr[0] "1 billede udeladt på grund af brugerafbrydelse:\n"
-msgstr[1] "%d billeder udeladt på grund af brugerafbrydelse_\n"
+msgstr[0] "1 billede udeladt, fordi brugeren afbrød:\n"
+msgstr[1] "%d billeder udeladt, fordi brugeren afbrød:\n"
-#: ../src/Dialogs.vala:807
+#: src/Dialogs.vala:820
#, c-format
msgid "1 video skipped due to user cancel:\n"
msgid_plural "%d videos skipped due to user cancel:\n"
-msgstr[0] "1 video sprunget over på grund af brugeren annullerede:\n"
-msgstr[1] "%d videoer sprunget over på grund af brugeren annullerede:\n"
+msgstr[0] "1 video udeladt, fordi brugeren afbrød:\n"
+msgstr[1] "%d videoer udeladt, fordi brugeren afbrød:\n"
-#: ../src/Dialogs.vala:810
+#: src/Dialogs.vala:823
#, c-format
msgid "1 photo/video skipped due to user cancel:\n"
msgid_plural "%d photos/videos skipped due to user cancel:\n"
-msgstr[0] "1 billede/video sprunget over på grund af brugeren annullerede:\n"
-msgstr[1] ""
-"%d billeder/videoer sprunget over på grund af brugeren annullerede:\n"
+msgstr[0] "1 billede/video udeladt, fordi brugeren afbrød:\n"
+msgstr[1] "%d billeder/videoer udeladt, fordi brugeren afbrød:\n"
-#: ../src/Dialogs.vala:813
+#: src/Dialogs.vala:826
#, c-format
msgid "1 file skipped due to user cancel:\n"
msgid_plural "%d file skipped due to user cancel:\n"
-msgstr[0] "1 fil sprunget over pga. annulling fra brugeren:\n"
-msgstr[1] "%d filer sprunget over pga. annulling fra brugeren:\n"
+msgstr[0] "%d filer udeladt, fordi brugeren afbrød:\n"
+msgstr[1] ""
+"%d filer udeladt, fordi brugeren afbrød:\n"
+"\n"
-#: ../src/Dialogs.vala:827
+#: src/Dialogs.vala:840
#, c-format
msgid "1 photo successfully imported.\n"
msgid_plural "%d photos successfully imported.\n"
msgstr[0] "1 billede importeret.\n"
msgstr[1] "%d billeder importeret.\n"
-#: ../src/Dialogs.vala:830
+#: src/Dialogs.vala:843
#, c-format
msgid "1 video successfully imported.\n"
msgid_plural "%d videos successfully imported.\n"
-msgstr[0] "1 video importeret succesfuldt.\n"
-msgstr[1] "%d videoer importeret succesfuldt.\n"
+msgstr[0] "1 video importeret.\n"
+msgstr[1] "%d videoer importeret.\n"
-#: ../src/Dialogs.vala:833
+#: src/Dialogs.vala:846
#, c-format
msgid "1 photo/video successfully imported.\n"
msgid_plural "%d photos/videos successfully imported.\n"
-msgstr[0] "1 billede/video importeret succesfuldt.\n"
-msgstr[1] "%d billeder/videoer importeret succesfuldt.\n"
+msgstr[0] "1 billede/video importeret.\n"
+msgstr[1] "%d billeder/videoer importeret.\n"
#. if no media items were imported at all (i.e. an empty directory attempted), need to at least
#. report that nothing was imported
-#: ../src/Dialogs.vala:849
+#: src/Dialogs.vala:862
msgid "No photos or videos imported.\n"
msgstr "Ingen billeder eller videoer importeret.\n"
-#: ../src/Dialogs.vala:856 ../src/Dialogs.vala:875
+#: src/Dialogs.vala:869 src/Dialogs.vala:888
msgid "Import Complete"
msgstr "Import færdig"
-#: ../src/Dialogs.vala:1161
+#: src/Dialogs.vala:1174
#, c-format
msgid "%d second"
msgid_plural "%d seconds"
msgstr[0] "%d sekund"
msgstr[1] "%d sekunder"
-#: ../src/Dialogs.vala:1164
+#: src/Dialogs.vala:1177
#, c-format
msgid "%d minute"
msgid_plural "%d minutes"
msgstr[0] "%d minut"
msgstr[1] "%d minutter"
-#: ../src/Dialogs.vala:1168
+#: src/Dialogs.vala:1181
#, c-format
msgid "%d hour"
msgid_plural "%d hours"
msgstr[0] "%d time"
msgstr[1] "%d timer"
-#: ../src/Dialogs.vala:1171
+#: src/Dialogs.vala:1184
msgid "1 day"
msgstr "1 dag"
-#: ../src/Dialogs.vala:1319 ../src/Resources.vala:203
+#: src/Dialogs.vala:1327 src/Resources.vala:231
msgid "Rename Event"
-msgstr "Omdøb hændelse"
+msgstr "Omdøb begivenhed"
-#: ../src/Dialogs.vala:1319
+#: src/Dialogs.vala:1327
msgid "Name:"
msgstr "Navn:"
-#: ../src/Dialogs.vala:1329 ../src/Resources.vala:272
+#. Dialog title
+#: src/Dialogs.vala:1338
+msgctxt "Dialog Title"
msgid "Edit Title"
-msgstr "Rediger titel"
+msgstr "Redigér titel"
-#: ../src/Dialogs.vala:1329 ../src/Properties.vala:340
+#: src/Dialogs.vala:1339 src/Properties.vala:343
msgid "Title:"
msgstr "Titel:"
-#: ../src/Dialogs.vala:1343 ../src/Resources.vala:278
+#. Dialog title
+#: src/Dialogs.vala:1355 src/Resources.vala:307
msgid "Edit Event Comment"
-msgstr "Redigér kommentar til hændelse"
+msgstr "Redigér kommentar til begivenhed"
-#: ../src/Dialogs.vala:1343
+#: src/Dialogs.vala:1356
msgid "Edit Photo/Video Comment"
msgstr "Redigér kommentar til billede/video"
-#: ../src/Dialogs.vala:1344 ../src/Properties.vala:630
+#: src/Dialogs.vala:1357 src/Properties.vala:631
msgid "Comment:"
msgstr "Kommentar:"
-#: ../src/Dialogs.vala:1360
-#, fuzzy
+#: src/Dialogs.vala:1373
msgid "Remove and _Trash File"
msgid_plural "Remove and _Trash Files"
-msgstr[0] "_Slet fil"
-msgstr[1] "_Slet filer"
+msgstr[0] "_Fjern fil og smid i papirkurven"
+msgstr[1] "_Fjern filer og smid i papirkurven"
-#: ../src/Dialogs.vala:1364
-#, fuzzy
+#: src/Dialogs.vala:1377
msgid "_Remove From Library"
-msgstr "Fjern fra biblioteket"
+msgstr "_Fjern fra biblioteket"
-#: ../src/Dialogs.vala:1384 ../src/camera/ImportPage.vala:1739
-msgid "_Keep"
-msgstr "_Behold"
-
-#: ../src/Dialogs.vala:1407
+#: src/Dialogs.vala:1420
msgid "Revert External Edit?"
msgstr "Fortryd ekstern redigering?"
-#: ../src/Dialogs.vala:1407
+#: src/Dialogs.vala:1420
msgid "Revert External Edits?"
msgstr "Fortryd eksterne redigeringer?"
-#: ../src/Dialogs.vala:1409
+#: src/Dialogs.vala:1422
#, c-format
-msgid "This will destroy all changes made to the external file. Continue?"
+msgid "This will destroy all changes made to the external file. Continue?"
msgid_plural ""
-"This will destroy all changes made to %d external files. Continue?"
+"This will destroy all changes made to %d external files. Continue?"
msgstr[0] "Dette vil ødelægge alle forandringer i den eksterne fil. Fortsæt?"
msgstr[1] "Dette vil ødelægge alle forandringer i %d eksterne filer. Fortsæt?"
-#: ../src/Dialogs.vala:1413
+#: src/Dialogs.vala:1426
msgid "Re_vert External Edit"
-msgstr "Omg_ør eksterne editeringer"
+msgstr "For_tryd ekstern redigering"
-#: ../src/Dialogs.vala:1413
+#: src/Dialogs.vala:1426
msgid "Re_vert External Edits"
msgstr "For_tryd eksterne redigeringer"
-#: ../src/Dialogs.vala:1434
+#: src/Dialogs.vala:1447
#, c-format
-msgid "This will remove the photo from the library. Continue?"
-msgid_plural "This will remove %d photos from the library. Continue?"
+msgid "This will remove the photo from the library. Continue?"
+msgid_plural "This will remove %d photos from the library. Continue?"
msgstr[0] "Dette vil fjerne billedet fra biblioteket. Fortsæt?"
msgstr[1] "Dette vil fjerne %d billeder fra biblioteket. Fortsæt?"
-#: ../src/Dialogs.vala:1441
+#: src/Dialogs.vala:1454 src/Resources.vala:173
msgid "_Remove"
msgstr "_Fjern"
-#: ../src/Dialogs.vala:1442
+#: src/Dialogs.vala:1455
msgid "Remove Photo From Library"
-msgstr "Fjerner billeder fra biblioteket"
+msgstr "Fjern billede fra biblioteket"
-#: ../src/Dialogs.vala:1442
+#: src/Dialogs.vala:1455
msgid "Remove Photos From Library"
-msgstr "Fjern billeder fra bibliotek"
+msgstr "Fjern billeder fra biblioteket"
-#: ../src/Dialogs.vala:1535
+#: src/Dialogs.vala:1553
#, c-format
msgid "%d%%"
msgstr "%d%%"
-#: ../src/Dialogs.vala:1682
+#: src/Dialogs.vala:1707
msgid "AM"
msgstr "AM"
-#: ../src/Dialogs.vala:1683
+#: src/Dialogs.vala:1708
msgid "PM"
msgstr "PM"
-#: ../src/Dialogs.vala:1684
+#: src/Dialogs.vala:1709
msgid "24 Hr"
msgstr "24 t."
-#: ../src/Dialogs.vala:1699
+#: src/Dialogs.vala:1724
msgid "_Shift photos/videos by the same amount"
msgstr "_Flyt billeder/videoer på samme måde"
-#: ../src/Dialogs.vala:1704
+#: src/Dialogs.vala:1729
msgid "Set _all photos/videos to this time"
msgstr "Sæt _alle billeder til denne tid"
-#: ../src/Dialogs.vala:1711
+#: src/Dialogs.vala:1735
msgid "_Modify original photo file"
-msgstr "_Tilpas original fotofil"
+msgid_plural "_Modify original photo files"
+msgstr[0] "_Ændr oprindelig billedfil"
+msgstr[1] "_Ændr oprindelige billedfiler"
-#: ../src/Dialogs.vala:1711
-msgid "_Modify original photo files"
-msgstr "_Tilpas originale fotofiler"
-
-#: ../src/Dialogs.vala:1714
+#: src/Dialogs.vala:1739
msgid "_Modify original file"
-msgstr "_Ændr oprindelige filer"
-
-#: ../src/Dialogs.vala:1714
-msgid "_Modify original files"
-msgstr "_Modifiser originale filer"
+msgid_plural "_Modify original files"
+msgstr[0] "_Ændr oprindelig fil"
+msgstr[1] "_Ændr oprindelige filer"
-#: ../src/Dialogs.vala:1800
+#: src/Dialogs.vala:1827
msgid "Original: "
msgstr "Oprindelig: "
-#: ../src/Dialogs.vala:1801
+#: src/Dialogs.vala:1828
msgid "%m/%d/%Y, %H:%M:%S"
msgstr "%d/%m/%Y, %H:%M:%S"
-#: ../src/Dialogs.vala:1802
+#: src/Dialogs.vala:1829
msgid "%m/%d/%Y, %I:%M:%S %p"
msgstr "%d/%m/%Y, %H:%M:%S"
-#: ../src/Dialogs.vala:1891
+#: src/Dialogs.vala:1918
#, c-format
msgid ""
"Exposure time will be shifted forward by\n"
@@ -2073,7 +3790,7 @@ msgstr ""
"Belysningstidspunkt vil blive flyttet fremad med\n"
"%d %s, %d %s, %d %s, og %d %s."
-#: ../src/Dialogs.vala:1892
+#: src/Dialogs.vala:1919
#, c-format
msgid ""
"Exposure time will be shifted backward by\n"
@@ -2082,31 +3799,31 @@ msgstr ""
"Belysningstidspunkt vil blive flyttet tilbage med\n"
"%d %s, %d %s, %d %s, og %d %s."
-#: ../src/Dialogs.vala:1894
+#: src/Dialogs.vala:1921
msgid "day"
msgid_plural "days"
msgstr[0] "dag"
msgstr[1] "dage"
-#: ../src/Dialogs.vala:1895
+#: src/Dialogs.vala:1922
msgid "hour"
msgid_plural "hours"
msgstr[0] "time"
msgstr[1] "timer"
-#: ../src/Dialogs.vala:1896
+#: src/Dialogs.vala:1923
msgid "minute"
msgid_plural "minutes"
msgstr[0] "minut"
msgstr[1] "minutter"
-#: ../src/Dialogs.vala:1897
+#: src/Dialogs.vala:1924
msgid "second"
msgid_plural "seconds"
msgstr[0] "sekund"
msgstr[1] "sekunder"
-#: ../src/Dialogs.vala:1941
+#: src/Dialogs.vala:1968
#, c-format
msgid ""
"\n"
@@ -2119,97 +3836,97 @@ msgid_plural ""
msgstr[0] ""
"\n"
"\n"
-"Og 1 anden."
+"Og %d anden."
msgstr[1] ""
"\n"
"\n"
"Og %d andre."
-#: ../src/Dialogs.vala:1963 ../src/Dialogs.vala:1990
+#: src/Dialogs.vala:1992 src/Dialogs.vala:2019
msgid "Tags (separated by commas):"
msgstr "Mærker (adskilt af kommaer):"
-#: ../src/Dialogs.vala:2070
+#: src/Dialogs.vala:2099
msgid "Welcome!"
msgstr "Velkommen!"
-#: ../src/Dialogs.vala:2077
+#: src/Dialogs.vala:2106
msgid "Welcome to Shotwell!"
msgstr "Velkommen til Shotwell!"
-#: ../src/Dialogs.vala:2081
+#: src/Dialogs.vala:2111
msgid "To get started, import photos in any of these ways:"
msgstr "For at komme i gang importeres billeder på en af følgende måder:"
-#: ../src/Dialogs.vala:2100
+#: src/Dialogs.vala:2131
#, c-format
msgid "Choose <span weight=\"bold\">File %s Import From Folder</span>"
msgstr "Vælg <span weight=\"bold\">Import af fil %s fra mappe</span>"
-#: ../src/Dialogs.vala:2101
+#: src/Dialogs.vala:2132
msgid "Drag and drop photos onto the Shotwell window"
-msgstr "Træk og slip billeder i Shotwellvinduet"
+msgstr "Træk og slip billeder i Shotwell-vinduet"
-#: ../src/Dialogs.vala:2102
+#: src/Dialogs.vala:2133
msgid "Connect a camera to your computer and import"
-msgstr "Forbind et kamera til din computer og importer"
+msgstr "Forbind et kamera til din computer og importér"
-#: ../src/Dialogs.vala:2112
+#: src/Dialogs.vala:2144
#, c-format
msgid "_Import photos from your %s folder"
-msgstr "_Importer billeder fra din mappe %s"
+msgstr "_Importér billeder fra din mappe %s"
-#: ../src/Dialogs.vala:2119
+#: src/Dialogs.vala:2151
msgid "You can also import photos in any of these ways:"
msgstr "Du kan også importere billeder på en af følgende måder:"
-#: ../src/Dialogs.vala:2129
-msgid "_Don't show this message again"
+#: src/Dialogs.vala:2162
+msgid "_Don’t show this message again"
msgstr "_Vis ikke denne besked igen"
-#: ../src/Dialogs.vala:2164
+#: src/Dialogs.vala:2199
#, c-format
msgid "Import photos from your %s library"
msgstr "Importér billeder fra dit %s-bibliotek"
#. We're installed system-wide, so use the system help.
#. We're being run from the build directory; we'll have to handle clicks to this
-#. link manually ourselves, due to a limitation ghelp: URIs.
-#: ../src/Dialogs.vala:2308 ../src/Dialogs.vala:2312
+#. link manually ourselves, due to a limitation of help: URIs.
+#: src/Dialogs.vala:2345 src/Dialogs.vala:2349
msgid "(Help)"
msgstr "(Hjælp)"
-#: ../src/Dialogs.vala:2321
+#: src/Dialogs.vala:2356
#, c-format
msgid "Year%sMonth%sDay"
msgstr "År%småned%sdag"
-#: ../src/Dialogs.vala:2323
+#: src/Dialogs.vala:2358
#, c-format
msgid "Year%sMonth"
msgstr "År%småned"
-#: ../src/Dialogs.vala:2325
+#: src/Dialogs.vala:2360
#, c-format
msgid "Year%sMonth-Day"
msgstr "År%småned-dag"
-#: ../src/Dialogs.vala:2327
+#: src/Dialogs.vala:2362
msgid "Year-Month-Day"
msgstr "År-måned-dag"
-#: ../src/Dialogs.vala:2328 ../src/editing_tools/EditingTools.vala:781
+#: src/Dialogs.vala:2363 src/editing_tools/EditingTools.vala:777
msgid "Custom"
msgstr "Tilpasset"
#. Invalid pattern.
-#: ../src/Dialogs.vala:2565
+#: src/Dialogs.vala:2600
msgid "Invalid pattern"
msgstr "Ugyldigt mønster"
#. This function is used to determine whether or not files should be copied or linked when imported.
#. Returns ACCEPT for copy, REJECT for link, and CANCEL for (drum-roll) cancel.
-#: ../src/Dialogs.vala:2668
+#: src/Dialogs.vala:2702
msgid ""
"Shotwell can copy the photos into your library folder or it can import them "
"without copying."
@@ -2217,490 +3934,805 @@ msgstr ""
"Shotwell kan kopiere billederne ind i din biblioteksmappe eller det kan "
"importere dem uden at kopiere."
-#: ../src/Dialogs.vala:2673
+#: src/Dialogs.vala:2707
msgid "Co_py Photos"
-msgstr "Ko_pier billeder"
+msgstr "Ko_piér billeder"
-#: ../src/Dialogs.vala:2674
+#: src/Dialogs.vala:2708
msgid "_Import in Place"
-msgstr "_Importer uden at kopiere"
+msgstr "_Importér uden at kopiere"
-#: ../src/Dialogs.vala:2675
+#: src/Dialogs.vala:2709
msgid "Import to Library"
-msgstr "Importer til bibliotek"
+msgstr "Importér til bibliotek"
-#: ../src/Dialogs.vala:2685 ../src/PhotoPage.vala:3086
+#: src/Dialogs.vala:2719 src/PhotoPage.vala:2864
msgid "Remove From Library"
msgstr "Fjern fra biblioteket"
-#: ../src/Dialogs.vala:2686 ../src/PhotoPage.vala:3086
+#: src/Dialogs.vala:2720 src/PhotoPage.vala:2864
msgid "Removing Photo From Library"
-msgstr "Fjerner billeder fra biblioteket"
+msgstr "Fjerner billede fra biblioteket"
-#: ../src/Dialogs.vala:2686
+#: src/Dialogs.vala:2720
msgid "Removing Photos From Library"
-msgstr "Fjernelse billeder fra bibliotek"
+msgstr "Fjerner billeder fra bibliotek"
-#: ../src/Dialogs.vala:2700
+#: src/Dialogs.vala:2734
#, c-format
msgid ""
-"This will remove the photo/video from your Shotwell library. Would you also "
+"This will remove the photo/video from your Shotwell library. Would you also "
"like to move the file to your desktop trash?\n"
"\n"
"This action cannot be undone."
msgid_plural ""
-"This will remove %d photos/videos from your Shotwell library. Would you "
-"also like to move the files to your desktop trash?\n"
+"This will remove %d photos/videos from your Shotwell library. Would you also "
+"like to move the files to your desktop trash?\n"
"\n"
"This action cannot be undone."
msgstr[0] ""
-"Dette vil fjerne %d billede/video fra dit Shotwell biblioteket. Vil du også "
+"Dette vil fjerne billedet/videoen fra dit Shotwell-bibliotek. Vil du også "
"flytte filen til papirkurven?\n"
"\n"
"Denne handling kan ikke fortrydes."
msgstr[1] ""
-"Dette vil fjerne %d billederne/videoerne fra dit Shotwell biblioteket. Vil "
-"du også flytte filerne til papirkurven?\n"
+"Dette vil fjerne %d billeder/videoer fra dit Shotwell-bibliotek. Vil du "
+"også flytte filerne til papirkurven?\n"
"\n"
"Denne handling kan ikke fortrydes."
-#: ../src/Dialogs.vala:2704
+#: src/Dialogs.vala:2738
#, c-format
msgid ""
-"This will remove the video from your Shotwell library. Would you also like "
+"This will remove the video from your Shotwell library. Would you also like "
"to move the file to your desktop trash?\n"
"\n"
"This action cannot be undone."
msgid_plural ""
-"This will remove %d videos from your Shotwell library. Would you also like "
+"This will remove %d videos from your Shotwell library. Would you also like "
"to move the files to your desktop trash?\n"
"\n"
"This action cannot be undone."
msgstr[0] ""
-"Dette vil fjerne video fra dit Shotwell-bibliotek. Ønsker du også at flytte "
-"filerne til dit skrivebords affaldskurv?\n"
+"Dette vil fjerne videoen fra dit Shotwell-bibliotek. Vil du også flytte "
+"filen til papirkurven?\n"
"\n"
-"Denne handling kan ikke omgøres."
+"Denne handling kan ikke fortrydes."
msgstr[1] ""
-"Dette vil fjerne %d videoer fra dit Shotwell-bibliotek. Ønsker du også at "
-"flytte filerne til dit skrivebords affaldskurv?\n"
+"Dette vil fjerne %d videoer fra dit Shotwell-bibliotek. Vil du også flytte "
+"filerne til papirkurven?\n"
"\n"
-"Denne handling kan ikke omgøres."
+"Denne handling kan ikke fortrydes."
-#: ../src/Dialogs.vala:2708
+#: src/Dialogs.vala:2742
#, c-format
msgid ""
-"This will remove the photo from your Shotwell library. Would you also like "
+"This will remove the photo from your Shotwell library. Would you also like "
"to move the file to your desktop trash?\n"
"\n"
"This action cannot be undone."
msgid_plural ""
-"This will remove %d photos from your Shotwell library. Would you also like "
+"This will remove %d photos from your Shotwell library. Would you also like "
"to move the files to your desktop trash?\n"
"\n"
"This action cannot be undone."
msgstr[0] ""
-"Dette vil fjerne billedet fra dit Shotwellbibliotek. Ønsker du også at "
-"flytte filen til skraldespanden?\n"
+"Dette vil fjerne billedet fra dit Shotwell-bibliotek. Vil du også flytte "
+"filen til papirkurven?\n"
"\n"
"Denne handling kan ikke fortrydes."
msgstr[1] ""
-"Dette vil fjerne %d billeder fra dit Shotwellbibliotek. Ønsker du også at "
-"flytte filerne til skraldespanden?\n"
+"Dette vil fjerne %d billeder fra dit Shotwell-bibliotek. Vil du også flytte "
+"filerne til papirkurven?\n"
"\n"
"Denne handling kan ikke fortrydes."
-#: ../src/Dialogs.vala:2740
+#: src/Dialogs.vala:2774
#, c-format
msgid ""
-"The photo or video cannot be moved to your desktop trash. Delete this file?"
+"The photo or video cannot be moved to your desktop trash. Delete this file?"
msgid_plural ""
-"%d photos/videos cannot be moved to your desktop trash. Delete these files?"
-msgstr[0] ""
-"1 foto/video kan ikke flyttes til dit skrivebords affaldskurv. Slet disse "
-"filer?"
+"%d photos/videos cannot be moved to your desktop trash. Delete these files?"
+msgstr[0] "Billedet/videoen kan ikke flyttes til papirkurven. Slet filen?"
msgstr[1] ""
-"%d fotos/videoer kan ikke flyttes til dit skrivebords affaldskurv. Slet "
-"disse filer?"
+"%d billeder/videoer kan ikke flyttes til papirkurven. Slet disse filer?"
#. Alert the user that the files were not removed.
-#: ../src/Dialogs.vala:2757
+#: src/Dialogs.vala:2791
#, c-format
msgid "The photo or video cannot be deleted."
msgid_plural "%d photos/videos cannot be deleted."
msgstr[0] "Billedet eller videoen kan ikke slettes."
msgstr[1] "%d billeder/videoer kan ikke slettes."
-#: ../src/Dimensions.vala:23
+#: src/Dimensions.vala:23
msgid "Width"
msgstr "Bredde"
-#: ../src/Dimensions.vala:26
+#: src/Dimensions.vala:26
msgid "Height"
msgstr "Højde"
+#: src/direct/DirectPhotoPage.vala:92
+#, c-format
+msgid "%s does not exist."
+msgstr "%s findes ikke."
+
+#: src/direct/DirectPhotoPage.vala:94
+#, c-format
+msgid "%s is not a file."
+msgstr "%s er ikke en fil."
+
+#: src/direct/DirectPhotoPage.vala:96
+#, c-format
+msgid ""
+"%s does not support the file format of\n"
+"%s."
+msgstr ""
+"%s understøtter ikke filformatet for\n"
+"%s."
+
+#: src/direct/DirectPhotoPage.vala:113
+#, c-format
+msgid "Unable open photo %s. Sorry."
+msgstr "Kunne ikke åbne billedet %s. Beklager."
+
+#: src/direct/DirectPhotoPage.vala:297 src/Resources.vala:175 ui/direct.ui:8
+msgid "_Save"
+msgstr "_Gem"
+
+#: src/direct/DirectPhotoPage.vala:297
+msgid "_Save a Copy"
+msgstr "_Gem en kopi"
+
+#: src/direct/DirectPhotoPage.vala:300
+#, c-format
+msgid "Lose changes to %s?"
+msgstr "Mist ændringer til %s?"
+
+#: src/direct/DirectPhotoPage.vala:301
+msgid "Close _without Saving"
+msgstr "Luk _uden at gemme"
+
+#: src/direct/DirectPhotoPage.vala:334
+#, c-format
+msgid "Error while saving to %s: %s"
+msgstr "Fejl i forsøget på at gemme til %s: %s"
+
+#: src/direct/DirectPhotoPage.vala:362 src/direct/DirectPhotoPage.vala:383
+msgid "Save As"
+msgstr "Gem som"
+
#. verify this is a directory
-#: ../src/DirectoryMonitor.vala:889
+#: src/DirectoryMonitor.vala:889
#, c-format
msgid "Unable to monitor %s: Not a directory (%s)"
-msgstr "Ikke muligt at overvåge %s: Ikke et katalog (%s)"
+msgstr "Ikke muligt at overvåge %s: Ikke en mappe (%s)"
+
+#: src/editing_tools/EditingTools.vala:661
+msgid "Return to current photo dimensions"
+msgstr "Gendan aktuelle billeddimensioner"
+
+#: src/editing_tools/EditingTools.vala:664
+msgid "Set the crop for this photo"
+msgstr "Angiv beskæring på dette billede"
+
+#: src/editing_tools/EditingTools.vala:676
+msgid "Pivot the crop rectangle between portrait and landscape orientations"
+msgstr "Drej beskæringsrektanglen mellem stående og liggende"
+
+#: src/editing_tools/EditingTools.vala:749
+msgid "Unconstrained"
+msgstr "Ubegrænset"
+
+#: src/editing_tools/EditingTools.vala:750
+msgid "Square"
+msgstr "Firkant"
+
+#: src/editing_tools/EditingTools.vala:751
+msgid "Screen"
+msgstr "Skærm"
+
+#: src/editing_tools/EditingTools.vala:753
+#: src/editing_tools/EditingTools.vala:756
+#: src/editing_tools/EditingTools.vala:766
+#: src/editing_tools/EditingTools.vala:776
+msgid "-"
+msgstr "-"
+
+#: src/editing_tools/EditingTools.vala:754
+msgid "SD Video (4 ∶ 3)"
+msgstr "SD-video (4 ∶ 3)"
+
+#: src/editing_tools/EditingTools.vala:755
+msgid "HD Video (16 ∶ 9)"
+msgstr "HD-video (16 ∶ 9)"
+
+#: src/editing_tools/EditingTools.vala:757 src/Printing.vala:818
+msgid "Wallet (2 × 3 in.)"
+msgstr "Tegnebog (2 × 3 in.)"
+
+#: src/editing_tools/EditingTools.vala:758 src/Printing.vala:821
+msgid "Notecard (3 × 5 in.)"
+msgstr "Noteskort (3 × 5 in.)"
+
+#: src/editing_tools/EditingTools.vala:759 src/Printing.vala:824
+msgid "4 × 6 in."
+msgstr "4 × 6 in."
+
+#: src/editing_tools/EditingTools.vala:760 src/Printing.vala:827
+msgid "5 × 7 in."
+msgstr "5 × 7 in."
+
+#: src/editing_tools/EditingTools.vala:761 src/Printing.vala:830
+msgid "8 × 10 in."
+msgstr "8 × 10 in."
+
+#: src/editing_tools/EditingTools.vala:762
+msgid "Letter (8.5 × 11 in.)"
+msgstr "Letter (8.5 × 11 in.)"
+
+#: src/editing_tools/EditingTools.vala:763 src/Printing.vala:833
+msgid "11 × 14 in."
+msgstr "11 × 14 in."
+
+#: src/editing_tools/EditingTools.vala:764
+msgid "Tabloid (11 × 17 in.)"
+msgstr "Tabloid (11 × 17 in.)"
+
+#: src/editing_tools/EditingTools.vala:765 src/Printing.vala:836
+msgid "16 × 20 in."
+msgstr "16 × 20 in."
+
+#: src/editing_tools/EditingTools.vala:767 src/Printing.vala:842
+msgid "Metric Wallet (9 × 13 cm)"
+msgstr "Metrisk tegnebog (9 × 13 cm)"
+
+#: src/editing_tools/EditingTools.vala:768 src/Printing.vala:845
+msgid "Postcard (10 × 15 cm)"
+msgstr "Postkort (10 × 15 cm)"
+
+#: src/editing_tools/EditingTools.vala:769 src/Printing.vala:848
+msgid "13 × 18 cm"
+msgstr "13 × 18 cm"
+
+#: src/editing_tools/EditingTools.vala:770 src/Printing.vala:851
+msgid "18 × 24 cm"
+msgstr "18 × 24 cm"
+
+#: src/editing_tools/EditingTools.vala:771
+msgid "A4 (210 × 297 mm)"
+msgstr "A4 (210 × 297 mm)"
+
+#: src/editing_tools/EditingTools.vala:772 src/Printing.vala:854
+msgid "20 × 30 cm"
+msgstr "20 × 30 cm"
+
+#: src/editing_tools/EditingTools.vala:773 src/Printing.vala:857
+msgid "24 × 40 cm"
+msgstr "24 × 40 cm"
+
+#: src/editing_tools/EditingTools.vala:774 src/Printing.vala:860
+msgid "30 × 40 cm"
+msgstr "30 × 40 cm"
+
+#: src/editing_tools/EditingTools.vala:775
+msgid "A3 (297 × 420 mm)"
+msgstr "A3 (297 × 420 mm)"
+
+#: src/editing_tools/EditingTools.vala:1875 src/Properties.vala:398
+msgid "Size:"
+msgstr "Størrelse:"
+
+#: src/editing_tools/EditingTools.vala:1890
+msgid "Close the red-eye tool"
+msgstr "Luk værktøjet til rødøje"
+
+#: src/editing_tools/EditingTools.vala:1893
+msgid "Remove any red-eye effects in the selected region"
+msgstr "Fjern alle rødøjeeffekter i det valgte område"
+
+#: src/editing_tools/EditingTools.vala:2233
+#: src/editing_tools/StraightenTool.vala:102
+msgid "_Reset"
+msgstr "_Nulstil"
+
+#. fit both on the top line, emit and move on
+#: src/editing_tools/EditingTools.vala:2247 src/Properties.vala:439
+#: src/Properties.vala:443 src/Properties.vala:450
+msgid "Exposure:"
+msgstr "Belysning:"
+
+#: src/editing_tools/EditingTools.vala:2256
+msgid "Contrast:"
+msgstr "Kontrast:"
+
+#: src/editing_tools/EditingTools.vala:2265
+msgid "Saturation:"
+msgstr "Mætning:"
+
+#: src/editing_tools/EditingTools.vala:2274
+msgid "Tint:"
+msgstr "Nuance:"
+
+#: src/editing_tools/EditingTools.vala:2284
+msgid "Temperature:"
+msgstr "Temperatur:"
+
+#: src/editing_tools/EditingTools.vala:2293
+msgid "Shadows:"
+msgstr "Skygger:"
+
+#: src/editing_tools/EditingTools.vala:2302
+msgid "Highlights:"
+msgstr "Højlys:"
+
+#: src/editing_tools/EditingTools.vala:2358
+msgid "Reset Colors"
+msgstr "Nulstil farver"
+
+#: src/editing_tools/EditingTools.vala:2358
+msgid "Reset all color adjustments to original"
+msgstr "Nulstil alle farvejusteringer til oprindelige farver"
+
+#: src/editing_tools/EditingTools.vala:2717
+msgid "Temperature"
+msgstr "Temperatur"
+
+#: src/editing_tools/EditingTools.vala:2729
+msgid "Tint"
+msgstr "Nuance"
+
+#: src/editing_tools/EditingTools.vala:2741
+msgid "Contrast"
+msgstr "Kontrast"
+
+#: src/editing_tools/EditingTools.vala:2755
+msgid "Saturation"
+msgstr "Mætning"
+
+#: src/editing_tools/EditingTools.vala:2768
+msgid "Exposure"
+msgstr "Belysning"
+
+#: src/editing_tools/EditingTools.vala:2781
+msgid "Shadows"
+msgstr "Skygger"
+
+#: src/editing_tools/EditingTools.vala:2794
+msgid "Highlights"
+msgstr "Højlys"
+
+#: src/editing_tools/EditingTools.vala:2804
+msgid "Contrast Expansion"
+msgstr "Kontrastudvidelse"
+
+#: src/editing_tools/StraightenTool.vala:99
+msgid "Angle:"
+msgstr "Vinkel:"
+
+#: src/editing_tools/StraightenTool.vala:100 src/Resources.vala:202
+#: ui/direct.ui:144 ui/photo.ui:233
+msgid "_Straighten"
+msgstr "Ud_jævn"
+
+#: src/events/Branch.vala:25
+msgid "Events"
+msgstr "Begivenheder"
+
+#: src/events/EventDirectoryItem.vala:83
+#, c-format
+msgid "%d Photo/Video"
+msgid_plural "%d Photos/Videos"
+msgstr[0] "%d billede/video"
+msgstr[1] "%d billeder/videoer"
+
+#: src/events/EventDirectoryItem.vala:85 src/Properties.vala:358
+#, c-format
+msgid "%d Video"
+msgid_plural "%d Videos"
+msgstr[0] "%d video"
+msgstr[1] "%d videoer"
+
+#: src/events/EventDirectoryItem.vala:87 src/Properties.vala:356
+#, c-format
+msgid "%d Photo"
+msgid_plural "%d Photos"
+msgstr[0] "%d billede"
+msgstr[1] "%d billeder"
+
+#: src/events/EventPage.vala:121
+msgid "No Event"
+msgstr "Ingen begivenhed"
+
+#: src/events/EventsDirectoryPage.vala:143
+msgid "No events"
+msgstr "Ingen begivenheder"
+
+#: src/events/EventsDirectoryPage.vala:147
+msgid "No events found"
+msgstr "Ingen begivenheder fundet"
+
+#: src/events/EventsDirectoryPage.vala:220
+msgid "All Events"
+msgstr "Alle begivenheder"
+
+#: src/events/EventsDirectoryPage.vala:234
+msgid "Undated"
+msgstr "Uden dato"
+
+#: src/events/EventsDirectoryPage.vala:235
+msgid "%Y"
+msgstr "%Y"
+
+#: src/events/EventsDirectoryPage.vala:236
+msgid "%B"
+msgstr "%B"
#. if no name, pretty up the start time
-#: ../src/Event.vala:751
+#: src/Event.vala:753
#, c-format
msgid "Event %s"
msgstr "Begivenhed %s"
-#: ../src/Exporter.vala:232
+#: src/Exporter.vala:232
#, c-format
msgid "Unable to generate a temporary file for %s: %s"
msgstr "Ikke i stand til at generere en midlertidig fil for %s: %s"
-#: ../src/Exporter.vala:299
+#: src/Exporter.vala:299
msgid "Exporting"
msgstr "Eksporterer"
-#: ../src/Exporter.vala:317
+#: src/Exporter.vala:317
#, c-format
-msgid "File %s already exists. Replace?"
-msgstr "Fil %s findes allerede. Overskriv?"
+msgid "File %s already exists. Replace?"
+msgstr "Filen %s findes allerede. Overskriv?"
-#: ../src/Exporter.vala:319
+#: src/Exporter.vala:319
msgid "_Skip"
msgstr "_Udelad"
-#: ../src/Exporter.vala:319
+#: src/Exporter.vala:319
msgid "_Replace"
msgstr "_Overskriv"
-#: ../src/Exporter.vala:319
+#: src/Exporter.vala:319
msgid "Replace _All"
msgstr "Overskriv _alle"
-#: ../src/Exporter.vala:319
+#: src/Exporter.vala:319
msgid "Export"
-msgstr "Eksporter"
+msgstr "Eksportér"
+
+#: src/folders/Branch.vala:144
+msgid "Folders"
+msgstr "Mapper"
+
+#: src/library/Branch.vala:30 src/library/Branch.vala:130 ui/shotwell.ui:412
+msgid "Library"
+msgstr "Bibliotek"
+
+#: src/library/Branch.vala:97 src/SearchFilter.vala:1086
+msgid "Photos"
+msgstr "Billeder"
+
+#: src/library/FlaggedPage.vala:8 src/SearchFilter.vala:1105
+#: src/SearchFilter.vala:1106
+msgid "Flagged"
+msgstr "Med flag på"
+
+#: src/library/ImportQueuePage.vala:8
+msgid "Importing…"
+msgstr "Importerer …"
-#: ../src/MediaMonitor.vala:400
+#: src/library/ImportQueuePage.vala:122
+msgid "Preparing to import…"
+msgstr "Forbereder import …"
+
+#: src/library/ImportQueuePage.vala:149
#, c-format
-msgid "Unable to process monitoring updates: %s"
-msgstr "Kan ikke behandle overvågningsopdateringer: %s"
+msgid "Imported %s"
+msgstr "Importerede %s"
-#: ../src/MediaPage.vala:143
-msgid "Adjust the size of the thumbnails"
-msgstr "Juster størrelsen på miniaturebillederne"
+#: src/library/LastImportPage.vala:8
+msgid "Last Import"
+msgstr "Sidste import"
-#: ../src/MediaPage.vala:325 ../src/PhotoPage.vala:2590
-#: ../src/direct/DirectPhotoPage.vala:174
-msgid "Zoom _In"
-msgstr "Zoom _ind"
+#: src/library/LibraryWindow.vala:501
+msgid "Import From Folder"
+msgstr "Importér fra mappe"
-#: ../src/MediaPage.vala:326
-msgid "Increase the magnification of the thumbnails"
-msgstr "Vis større miniaturebiller"
+#: src/library/LibraryWindow.vala:570 ui/trash.ui:288
+msgid "Empty Trash"
+msgstr "Tøm papirkurven"
-#: ../src/MediaPage.vala:331 ../src/PhotoPage.vala:2596
-#: ../src/direct/DirectPhotoPage.vala:180
-msgid "Zoom _Out"
-msgstr "Zoom _ud"
+#: src/library/LibraryWindow.vala:570
+msgid "Emptying Trash…"
+msgstr "Tømmer papirkurven …"
-#: ../src/MediaPage.vala:332
-msgid "Decrease the magnification of the thumbnails"
-msgstr "Vis mindre miniaturebilleder"
+#: src/library/LibraryWindow.vala:766
+#, c-format
+msgid ""
+"Shotwell is configured to import photos to your home directory.\n"
+"We recommend changing this in <span weight=\"bold\">Edit %s Preferences</"
+"span>.\n"
+"Do you want to continue importing photos?"
+msgstr ""
+"Shotwell er indstillet til at importere billeder ind i din Hjem-mappe.\n"
+"Vi anbefaler at ændre dette i <span weight=\"bold\">Redigér %s "
+"Indstillinger</span>.\n"
+"Vil du fortsætte med at importere billeder?"
-#: ../src/MediaPage.vala:399
-msgid "Sort _Photos"
-msgstr "Sorter _billeder"
+#: src/library/LibraryWindow.vala:769 ui/shotwell.ui:142
+msgid "Library Location"
+msgstr "Bibliotekets placering"
-#: ../src/MediaPage.vala:408
-msgid "_Play Video"
-msgstr "_Afspil video"
+#. TODO: Specify which directory/file.
+#: src/library/LibraryWindow.vala:782
+msgid "Photos cannot be imported from this directory."
+msgstr "Billeder kan ikke importeres fra denne mappe."
-#: ../src/MediaPage.vala:409
-msgid "Open the selected videos in the system video player"
-msgstr "Åbn de valgte videoer i systemets videoafspiller"
+#: src/library/LibraryWindow.vala:1062
+#, c-format
+msgid "%s (%d%%)"
+msgstr "%s (%d%%)"
-#: ../src/MediaPage.vala:413 ../src/PhotoPage.vala:2639
-msgid "_Developer"
-msgstr "_Udvikler"
+#: src/library/LibraryWindow.vala:1106 src/library/LibraryWindow.vala:1117
+msgid "Updating library…"
+msgstr "Opdaterer bibliotek …"
-#: ../src/MediaPage.vala:425 ../src/camera/Branch.vala:101
-#: ../src/camera/ImportPage.vala:711 ../src/camera/ImportPage.vala:727
-#: ../src/photos/RawSupport.vala:303
-msgid "Camera"
-msgstr "Kamera"
+#: src/library/LibraryWindow.vala:1123
+msgid "Preparing to auto-import photos…"
+msgstr "Forbereder auto-import af billeder …"
-#: ../src/MediaPage.vala:436 ../src/camera/ImportPage.vala:872
-msgid "_Titles"
-msgstr "_Titler"
+#: src/library/LibraryWindow.vala:1128
+msgid "Auto-importing photos…"
+msgstr "Auto-importerer billeder …"
-#: ../src/MediaPage.vala:437 ../src/camera/ImportPage.vala:873
-msgid "Display the title of each photo"
-msgstr "Vis titlen på hvert billede"
+#: src/library/LibraryWindow.vala:1136
+msgid "Writing metadata to files…"
+msgstr "Skriver metadata til filer …"
-#: ../src/MediaPage.vala:442 ../src/events/EventsDirectoryPage.vala:130
-msgid "_Comments"
-msgstr "_Kommentarer"
+#: src/library/OfflinePage.vala:8
+msgid "Missing Files"
+msgstr "Manglende filer"
-#: ../src/MediaPage.vala:443
-msgid "Display the comment of each photo"
-msgstr "Vis kommentaren for hvert billede"
+#: src/library/OfflinePage.vala:103
+msgid "Deleting…"
+msgstr "Sletter …"
-#: ../src/MediaPage.vala:454 ../src/library/LibraryWindow.vala:376
-msgid "Ta_gs"
-msgstr "_Mærker"
+#: src/library/TrashPage.vala:8
+msgid "Trash"
+msgstr "Papirkurv"
-#: ../src/MediaPage.vala:455
-msgid "Display each photo's tags"
-msgstr "Vis mærker på hvert billede"
+#: src/library/TrashPage.vala:101
+msgid "Trash is empty"
+msgstr "Papirkurven er tom"
-#: ../src/MediaPage.vala:471
-msgid "By _Title"
-msgstr "Efter _titel"
+#: src/library/TrashPage.vala:105
+msgid "Delete"
+msgstr "Slet"
-#: ../src/MediaPage.vala:472
-msgid "Sort photos by title"
-msgstr "Sorter billeder efter titel"
+#: src/library/TrashPage.vala:106
+msgid "Deleting Photos"
+msgstr "Sletter billeder"
-#: ../src/MediaPage.vala:477
-msgid "By Exposure _Date"
-msgstr "Efter _belysningsdato"
+#: src/main.vala:54
+#, c-format
+msgid ""
+"Your photo library is not compatible with this version of Shotwell. It "
+"appears it was created by Shotwell %s (schema %d). This version is %s "
+"(schema %d). Please use the latest version of Shotwell."
+msgstr ""
+"Dit billedbibliotek er ikke kompatibelt med denne version af Shotwell. Det "
+"ser ud til, det blev oprettet af Shotwell %s (skema %d). Dette er version %s "
+"(skema %d). Brug venligst den nyeste version af Shotwell."
-#: ../src/MediaPage.vala:478
-msgid "Sort photos by exposure date"
-msgstr "Sorter billeder efter belysningsdato"
+#: src/main.vala:59
+#, c-format
+msgid ""
+"Shotwell was unable to upgrade your photo library from version %s (schema "
+"%d) to %s (schema %d). For more information please check the Shotwell Wiki "
+"at %s"
+msgstr ""
+"Shotwell kunne ikke opgradere dit billedbibliotek fra version %s (skema %d) "
+"til %s (skema %d). Yderligere information kan findes på Shotwell-wiki'en: %s"
-#: ../src/MediaPage.vala:483
-msgid "By _Rating"
-msgstr "Efter _bedømmelse"
+#: src/main.vala:65
+#, c-format
+msgid ""
+"Your photo library is not compatible with this version of Shotwell. It "
+"appears it was created by Shotwell %s (schema %d). This version is %s "
+"(schema %d). Please clear your library by deleting %s and re-import your "
+"photos."
+msgstr ""
+"Dit billedbibliotek er ikke kompatibelt med denne version af Shotwell. Det "
+"ser ud til, det blev oprettet af Shotwell %s (skema %d). Dette er version %s "
+"(skema %d). Ryd venligst dit bibliotek ved at slette %s og importere dine "
+"billeder igen."
-#: ../src/MediaPage.vala:484
-msgid "Sort photos by rating"
-msgstr "Sorter billeder efter bedømmelse"
+#: src/main.vala:71
+#, c-format
+msgid "Unknown error attempting to verify Shotwell’s database: %s"
+msgstr "Ukendt fejl under forsøg på at kontrollere Shotwells database: %s"
-#: ../src/MediaPage.vala:494 ../src/library/LibraryWindow.vala:422
-msgid "_Ascending"
-msgstr "_Stigende"
+#: src/main.vala:104
+msgid "Loading Shotwell"
+msgstr "Indlæser Shotwell"
-#: ../src/MediaPage.vala:495 ../src/library/LibraryWindow.vala:423
-msgid "Sort photos in an ascending order"
-msgstr "Sorter billeder i stigende orden"
+#: src/main.vala:294
+msgid "Path to Shotwell’s private data"
+msgstr "Sti til Shotwells private data"
-#: ../src/MediaPage.vala:500 ../src/library/LibraryWindow.vala:429
-msgid "D_escending"
-msgstr "_Faldende"
+#: src/main.vala:294
+msgid "DIRECTORY"
+msgstr "MAPPE"
+
+#: src/main.vala:298
+msgid "Do not monitor library directory at runtime for changes"
+msgstr "Undlad at overvåge biblioteksmappe for ændringer ved kørselstid"
-#: ../src/MediaPage.vala:501 ../src/library/LibraryWindow.vala:430
-msgid "Sort photos in a descending order"
-msgstr "Sorter billeder i faldende orden"
+#: src/main.vala:302
+msgid "Don’t display startup progress meter"
+msgstr "Undlad at vise statusforløb for opstart"
+
+#: src/main.vala:306
+msgid "Show the application’s version"
+msgstr "Vis programmets version"
+
+#. init GTK (valac has already called g_threads_init())
+#: src/main.vala:338
+msgid "[FILE]"
+msgstr "[FIL]"
+
+#: src/main.vala:342
+#, c-format
+msgid "Run “%s --help” to see a full list of available command line options.\n"
+msgstr ""
+"Kør \"%s --help\" for at se en fuldstændig liste over tilgængelige "
+"kommandolinjetilvalg.\n"
-#: ../src/MediaPage.vala:702
+#: src/MediaMonitor.vala:400
+#, c-format
+msgid "Unable to process monitoring updates: %s"
+msgstr "Kan ikke behandle overvågningsopdateringer: %s"
+
+#: src/MediaPage.vala:158
+msgid "Adjust the size of the thumbnails"
+msgstr "Justér størrelsen på miniaturebillederne"
+
+#: src/MediaPage.vala:493
#, c-format
msgid ""
"Shotwell was unable to play the selected video:\n"
"%s"
msgstr ""
-"Shotwell var ude af stand til at afspille den valgte video:\n"
+"Shotwell kunne ikke afspille den valgte video:\n"
"%s"
-#: ../src/Page.vala:1268
+#: src/Page.vala:1338
msgid "No photos/videos"
-msgstr "Ingen fotos/videoer"
+msgstr "Ingen billeder/videoer"
-#: ../src/Page.vala:1272
-msgid "No photos/videos found"
-msgstr "Fandt ingen fotos/videoer"
+#: src/Page.vala:1342
+msgid "No photos/videos found which match the current filter"
+msgstr ""
+"Der blev ikke fundet nogen billeder/videoer, som matcher det nuværende filter"
-#: ../src/Page.vala:2573
+#: src/Page.vala:2648
msgid "Photos cannot be exported to this directory."
-msgstr "Billeder kan ikke blive eksporteret til denne mappe."
-
-#: ../src/Photo.vala:3665
-msgid "modified"
-msgstr "forandret"
+msgstr "Billeder kan ikke eksporteres til denne mappe."
#. previous button
-#: ../src/PhotoPage.vala:532
+#: src/PhotoPage.vala:535
msgid "Previous photo"
msgstr "Forrige billede"
#. next button
-#: ../src/PhotoPage.vala:537
+#: src/PhotoPage.vala:541
msgid "Next photo"
msgstr "Næste billede"
-#: ../src/PhotoPage.vala:1844
+#: src/PhotoPage.vala:1847
#, c-format
msgid "Photo source file missing: %s"
msgstr "Kildefil for billede mangler: %s"
-#: ../src/PhotoPage.vala:2411 ../src/direct/DirectPhotoPage.vala:165
-#: ../src/library/LibraryWindow.vala:360
-msgid "_View"
-msgstr "_Vis"
-
-#: ../src/PhotoPage.vala:2415 ../src/direct/DirectPhotoPage.vala:81
-msgid "T_ools"
-msgstr "_Værktøjer"
-
-#: ../src/PhotoPage.vala:2420 ../src/direct/DirectPhotoPage.vala:86
-msgid "_Previous Photo"
-msgstr "_Forrige billede"
-
-#: ../src/PhotoPage.vala:2421 ../src/direct/DirectPhotoPage.vala:87
-msgid "Previous Photo"
-msgstr "Forrige billede"
-
-#: ../src/PhotoPage.vala:2426 ../src/direct/DirectPhotoPage.vala:92
-msgid "_Next Photo"
-msgstr "_Næste billede"
+#: src/PhotoPage.vala:3008
+#, c-format
+msgid "Unable to export %s: %s"
+msgstr "Kunne ikke eksportere %s: %s"
-#: ../src/PhotoPage.vala:2427 ../src/direct/DirectPhotoPage.vala:93
-msgid "Next Photo"
-msgstr "Næste billede"
+#: src/photos/BmpSupport.vala:32
+msgid "BMP"
+msgstr "BMP"
-#: ../src/PhotoPage.vala:2591 ../src/direct/DirectPhotoPage.vala:175
-msgid "Increase the magnification of the photo"
-msgstr "Øg forstørrelsen af billedet"
+#: src/photos/JfifSupport.vala:84
+msgid "JPEG"
+msgstr "JPEG"
-#: ../src/PhotoPage.vala:2597 ../src/direct/DirectPhotoPage.vala:181
-msgid "Decrease the magnification of the photo"
-msgstr "Formindsk forstørrelsen af billedet"
+#: src/photos/JfifSupport.vala:185
+#, c-format
+msgid "Low (%d%%)"
+msgstr "Lav (%d%%)"
-#: ../src/PhotoPage.vala:2602 ../src/direct/DirectPhotoPage.vala:186
-msgid "Fit to _Page"
-msgstr "Tilpas _side"
+#: src/photos/JfifSupport.vala:188
+#, c-format
+msgid "Medium (%d%%)"
+msgstr "Mellem (%d%%)"
-#: ../src/PhotoPage.vala:2603 ../src/direct/DirectPhotoPage.vala:187
-msgid "Zoom the photo to fit on the screen"
-msgstr "Zoom billedet så det passer til skærmen"
+#: src/photos/JfifSupport.vala:191
+#, c-format
+msgid "High (%d%%)"
+msgstr "Høj (%d%%)"
-#: ../src/PhotoPage.vala:2609 ../src/direct/DirectPhotoPage.vala:193
-#, no-c-format
-msgid "Zoom _100%"
-msgstr "Zoom _100 %"
+#: src/photos/JfifSupport.vala:194
+#, c-format
+msgid "Maximum (%d%%)"
+msgstr "Maksimum (%d%%)"
-#: ../src/PhotoPage.vala:2611 ../src/direct/DirectPhotoPage.vala:195
-#, no-c-format
-msgid "Zoom the photo to 100% magnification"
-msgstr "Zoom billedet til 100 %"
+#: src/photos/PngSupport.vala:30
+msgid "PNG"
+msgstr "PNG"
-#: ../src/PhotoPage.vala:2617 ../src/direct/DirectPhotoPage.vala:201
-#, no-c-format
-msgid "Zoom _200%"
-msgstr "Zoom _200 %"
+#: src/photos/RawSupport.vala:134
+msgid "RAW"
+msgstr "RAW"
-#: ../src/PhotoPage.vala:2619 ../src/direct/DirectPhotoPage.vala:203
-#, no-c-format
-msgid "Zoom the photo to 200% magnification"
-msgstr "Zoom billedet til 200 %"
+#: src/photos/TiffSupport.vala:86
+msgid "TIFF"
+msgstr "TIFF"
-#: ../src/PhotoPage.vala:3230
-#, c-format
-msgid "Unable to export %s: %s"
-msgstr "Kunne ikke eksportere %s: %s"
+#: src/Photo.vala:3753
+msgid "modified"
+msgstr "forandret"
-#: ../src/Printing.vala:255
+#: src/Printing.vala:255
msgid "Fill the entire page"
msgstr "Udfyld hele siden"
-#: ../src/Printing.vala:256
+#: src/Printing.vala:256
msgid "2 images per page"
msgstr "2 billeder per side"
-#: ../src/Printing.vala:257
+#: src/Printing.vala:257
msgid "4 images per page"
msgstr "4 billeder per side"
-#: ../src/Printing.vala:258
+#: src/Printing.vala:258
msgid "6 images per page"
msgstr "6 billeder per side"
-#: ../src/Printing.vala:259
+#: src/Printing.vala:259
msgid "8 images per page"
msgstr "8 billeder per side"
-#: ../src/Printing.vala:260
+#: src/Printing.vala:260
msgid "16 images per page"
msgstr "16 billeder per side"
-#: ../src/Printing.vala:261
+#: src/Printing.vala:261
msgid "32 images per page"
msgstr "32 billeder per side"
-#: ../src/Printing.vala:348
+#: src/Printing.vala:348
msgid "in."
-msgstr "tommer"
+msgstr "in."
-#: ../src/Printing.vala:349
+#: src/Printing.vala:349
msgid "cm"
msgstr "cm"
-#: ../src/Printing.vala:817 ../src/editing_tools/EditingTools.vala:761
-msgid "Wallet (2 x 3 in.)"
-msgstr "Pengepung (2 x 3 tommer)"
-
-#: ../src/Printing.vala:820 ../src/editing_tools/EditingTools.vala:762
-msgid "Notecard (3 x 5 in.)"
-msgstr "Notekort (3 x 5 tommer)"
-
-#: ../src/Printing.vala:823 ../src/editing_tools/EditingTools.vala:763
-msgid "4 x 6 in."
-msgstr "4 x 6 tommer"
-
-#: ../src/Printing.vala:826 ../src/editing_tools/EditingTools.vala:764
-msgid "5 x 7 in."
-msgstr "5 x 7 tommer"
-
-#: ../src/Printing.vala:829 ../src/editing_tools/EditingTools.vala:765
-msgid "8 x 10 in."
-msgstr "8 x 10 tommer"
-
-#: ../src/Printing.vala:832 ../src/editing_tools/EditingTools.vala:767
-msgid "11 x 14 in."
-msgstr "11 x 14 tommer"
-
-#: ../src/Printing.vala:835 ../src/editing_tools/EditingTools.vala:769
-msgid "16 x 20 in."
-msgstr "16 x 20 tommer"
-
-#: ../src/Printing.vala:841 ../src/editing_tools/EditingTools.vala:771
-msgid "Metric Wallet (9 x 13 cm)"
-msgstr "Metrisk tegnebog (9 x 13 cm)"
-
-#: ../src/Printing.vala:844 ../src/editing_tools/EditingTools.vala:772
-msgid "Postcard (10 x 15 cm)"
-msgstr "Postkort (10 x 15 cm)"
-
-#: ../src/Printing.vala:847 ../src/editing_tools/EditingTools.vala:773
-msgid "13 x 18 cm"
-msgstr "13 x 18 cm"
-
-#: ../src/Printing.vala:850 ../src/editing_tools/EditingTools.vala:774
-msgid "18 x 24 cm"
-msgstr "18 x 24 cm"
-
-#: ../src/Printing.vala:853 ../src/editing_tools/EditingTools.vala:776
-msgid "20 x 30 cm"
-msgstr "20 x 30 cm"
-
-#: ../src/Printing.vala:856 ../src/editing_tools/EditingTools.vala:777
-msgid "24 x 40 cm"
-msgstr "24 x 40 cm"
-
-#: ../src/Printing.vala:859 ../src/editing_tools/EditingTools.vala:778
-msgid "30 x 40 cm"
-msgstr "30 x 40 cm"
-
-#: ../src/Printing.vala:875
+#: src/Printing.vala:876
msgid "Image Settings"
msgstr "Billedopsætning"
-#: ../src/Printing.vala:888
-msgid "Printing..."
-msgstr "Udskriver..."
+#: src/Printing.vala:889
+msgid "Printing…"
+msgstr "Udskriver …"
-#: ../src/Printing.vala:908 ../src/Printing.vala:1111
+#: src/Printing.vala:909 src/Printing.vala:1112
#, c-format
msgid ""
"Unable to print photo:\n"
@@ -2711,2199 +4743,1906 @@ msgstr ""
"\n"
"%s"
-#: ../src/Properties.vala:84
+#: src/Properties.vala:87
msgid "Today"
msgstr "I dag"
-#: ../src/Properties.vala:86
+#: src/Properties.vala:89
msgid "Yesterday"
msgstr "I går"
-#: ../src/Properties.vala:227 ../src/camera/ImportPage.vala:312
-msgid "RAW+JPEG"
-msgstr "RAW+JPEG"
-
-#: ../src/Properties.vala:343
+#: src/Properties.vala:346
msgid "Items:"
-msgstr "Punkter:"
+msgstr "Elementer:"
-#: ../src/Properties.vala:346
+#: src/Properties.vala:349
#, c-format
msgid "%d Event"
msgid_plural "%d Events"
-msgstr[0] "%d hændelse"
-msgstr[1] "%d hændelser"
-
-#: ../src/Properties.vala:353 ../src/events/EventDirectoryItem.vala:87
-#, c-format
-msgid "%d Photo"
-msgid_plural "%d Photos"
-msgstr[0] "%d billede"
-msgstr[1] "%d billeder"
-
-#: ../src/Properties.vala:355 ../src/events/EventDirectoryItem.vala:85
-#, c-format
-msgid "%d Video"
-msgid_plural "%d Videos"
-msgstr[0] "%d Video"
-msgstr[1] "%d Videoer"
+msgstr[0] "%d begivenhed"
+msgstr[1] "%d begivenheder"
#. display only one date if start and end are the same
-#: ../src/Properties.vala:377
+#: src/Properties.vala:380
msgid "Date:"
msgstr "Dato:"
#. display only one time if start and end are the same
-#: ../src/Properties.vala:381
+#: src/Properties.vala:384
msgid "Time:"
msgstr "Tid:"
#. display time range
#. display date range
-#: ../src/Properties.vala:384 ../src/Properties.vala:389
+#: src/Properties.vala:387 src/Properties.vala:392
msgid "From:"
msgstr "Fra:"
-#: ../src/Properties.vala:385 ../src/Properties.vala:390
+#: src/Properties.vala:388 src/Properties.vala:393
msgid "To:"
msgstr "Til:"
-#: ../src/Properties.vala:395 ../src/editing_tools/EditingTools.vala:1890
-msgid "Size:"
-msgstr "Størrelse:"
-
-#: ../src/Properties.vala:404
+#: src/Properties.vala:407
msgid "Duration:"
msgstr "Varighed:"
-#: ../src/Properties.vala:404
+#: src/Properties.vala:407
#, c-format
msgid "%.1f seconds"
msgstr "%.1f sekunder"
-#: ../src/Properties.vala:408
+#: src/Properties.vala:411
msgid "Developer:"
msgstr "Udvikler:"
-#. fit both on the top line, emit and move on
-#: ../src/Properties.vala:436 ../src/Properties.vala:440
-#: ../src/Properties.vala:447 ../src/editing_tools/EditingTools.vala:2258
-msgid "Exposure:"
-msgstr "Belysning:"
-
#. nothing special to be done for now for Events
-#: ../src/Properties.vala:585
+#: src/Properties.vala:586
msgid "Location:"
msgstr "Placering:"
-#: ../src/Properties.vala:588
+#: src/Properties.vala:589
msgid "File size:"
msgstr "Filstørrelse:"
-#: ../src/Properties.vala:592
+#: src/Properties.vala:593
msgid "Current Development:"
msgstr "Nuværende udviklingsretning:"
-#: ../src/Properties.vala:594
+#: src/Properties.vala:595
msgid "Original dimensions:"
msgstr "Oprindelige dimensioner:"
-#: ../src/Properties.vala:597
+#: src/Properties.vala:598
msgid "Camera make:"
msgstr "Kameraproducent:"
-#: ../src/Properties.vala:600
+#: src/Properties.vala:601
msgid "Camera model:"
msgstr "Kameramodel:"
-#: ../src/Properties.vala:603
+#: src/Properties.vala:604
msgid "Flash:"
msgstr "Blitz:"
-#: ../src/Properties.vala:605
+#: src/Properties.vala:606
msgid "Focal length:"
msgstr "Brændvidde:"
-#: ../src/Properties.vala:608
+#: src/Properties.vala:609
msgid "Exposure date:"
msgstr "Eksponeringsdato:"
-#: ../src/Properties.vala:611
+#: src/Properties.vala:612
msgid "Exposure time:"
msgstr "Eksponeringstid:"
-#: ../src/Properties.vala:614
+#: src/Properties.vala:615
msgid "Exposure bias:"
msgstr "Belysningskompensation:"
-#: ../src/Properties.vala:616
+#: src/Properties.vala:617
msgid "GPS latitude:"
msgstr "GPS-breddegrad:"
-#: ../src/Properties.vala:619
+#: src/Properties.vala:620
msgid "GPS longitude:"
msgstr "GPS-længdegrad:"
-#: ../src/Properties.vala:622
+#: src/Properties.vala:623
msgid "Artist:"
msgstr "Kunstner:"
-#: ../src/Properties.vala:624
+#: src/Properties.vala:625
msgid "Copyright:"
msgstr "Ophavsret:"
-#: ../src/Properties.vala:626
+#: src/Properties.vala:627
msgid "Software:"
msgstr "Program:"
-#: ../src/Properties.vala:639
+#: src/Properties.vala:644
msgid "Extended Information"
msgstr "Udvidet information"
-#: ../src/Resources.vala:17
-msgid "Photo Manager"
-msgstr "Billedhåndtering"
+#: src/publishing/PublishingPluginHost.vala:11
+msgid "Preparing for upload"
+msgstr "Forbereder til upload"
-#: ../src/Resources.vala:18
-msgid "Photo Viewer"
-msgstr "Billedvisning"
+#: src/publishing/PublishingPluginHost.vala:12
+#, c-format
+msgid "Uploading %d of %d"
+msgstr "Uploader %d af %d"
-#: ../src/Resources.vala:142
-msgid "Rotate _Right"
-msgstr "Roter mod _højre"
+#: src/publishing/PublishingPluginHost.vala:81
+#, c-format
+msgid "Publishing to %s can’t continue because an error occurred:"
+msgstr "Udgivelse til %s kan ikke fortsætte, da der opstod en fejl:"
+
+#: src/publishing/PublishingPluginHost.vala:84
+msgid "To try publishing to another service, select one from the above menu."
+msgstr ""
+"For at forsøge udgivelse til en anden tjeneste, vælges en fra ovenstående "
+"menu."
-#: ../src/Resources.vala:143 ../src/Resources.vala:148
+#. Here, we check whether more than one item is being uploaded, and if so, display
+#. an alternate message.
+#: src/publishing/PublishingUI.vala:104
+msgid "The selected video was successfully published."
+msgid_plural "The selected videos were successfully published."
+msgstr[0] "Den valgte video blev udgivet."
+msgstr[1] "De valgte videoer blev udgivet."
+
+#: src/publishing/PublishingUI.vala:109
+msgid "The selected photo was successfully published."
+msgid_plural "The selected photos were successfully published."
+msgstr[0] "Det valgte billede blev udgivet."
+msgstr[1] "De valgte billeder blev udgivet."
+
+#: src/publishing/PublishingUI.vala:115
+msgid "The selected photos/videos were successfully published."
+msgstr "De valgte billeder/videoer blev udgivet."
+
+#: src/publishing/PublishingUI.vala:127
+msgid "Fetching account information…"
+msgstr "Indhenter kontoinformation …"
+
+#: src/publishing/PublishingUI.vala:133
+msgid "Logging in…"
+msgstr "Logger ind …"
+
+#: src/publishing/PublishingUI.vala:193
+msgid "Publish Photos"
+msgstr "Udgiv billeder"
+
+#: src/publishing/PublishingUI.vala:194
+msgid "Publish photos _to:"
+msgstr "Udgiv billeder _til:"
+
+#: src/publishing/PublishingUI.vala:196
+msgid "Publish Videos"
+msgstr "Udgiv videoer"
+
+#: src/publishing/PublishingUI.vala:197
+msgid "Publish videos _to"
+msgstr "Udgiv videoer _til"
+
+#: src/publishing/PublishingUI.vala:199
+msgid "Publish Photos and Videos"
+msgstr "Udgiv billeder og videoer"
+
+#: src/publishing/PublishingUI.vala:200
+msgid "Publish photos and videos _to"
+msgstr "Udgiv billeder og videoer _til"
+
+#. There are no enabled publishing services that accept this media type,
+#. warn the user.
+#: src/publishing/PublishingUI.vala:410
+msgid "Unable to publish"
+msgstr "Ikke i stand til at udgive"
+
+#: src/publishing/PublishingUI.vala:411
+#, c-format
+msgid ""
+"Shotwell cannot publish the selected items because you do not have a "
+"compatible publishing plugin enabled. To correct this, choose <b>Edit %s "
+"Preferences</b> and enable one or more of the publishing plugins on the "
+"<b>Plugins</b> tab."
+msgstr ""
+"Shotwell kan ikke udgive de valgte elementer, da du ikke har aktiveret en "
+"udvidelse, som er kompatibel. For at korrigere dette, så vælg <b>Redigér %s "
+"Indstillinger</b> og aktivér én eller flere af udgivelsesmodulerne i fanen "
+"<b>Udvidelsesmoduler</b>."
+
+#: src/publishing/Publishing.vala:16
+msgid "Publishing"
+msgstr "Udgiver"
+
+#: src/Resources.vala:140 src/Resources.vala:145 ui/collection.ui:149
msgid "Rotate"
-msgstr "Roter"
+msgstr "Rotér"
-#: ../src/Resources.vala:144
+#: src/Resources.vala:141
msgid "Rotate Right"
-msgstr "Roter mod højre"
+msgstr "Rotér mod højre"
-#: ../src/Resources.vala:145
+#: src/Resources.vala:142 ui/collection.ui:146
msgid "Rotate the photos right (press Ctrl to rotate left)"
-msgstr "Roter billeder til højre (tryk på Ctrl for at rotere til venstre)"
+msgstr "Rotér billederne til højre (tryk på Ctrl for at rotere til venstre)"
-#: ../src/Resources.vala:147
-msgid "Rotate _Left"
-msgstr "Roter mod _venstre"
-
-#: ../src/Resources.vala:149
+#: src/Resources.vala:146
msgid "Rotate Left"
-msgstr "Roter mod venstre"
+msgstr "Rotér mod venstre"
-#: ../src/Resources.vala:150
+#: src/Resources.vala:147
msgid "Rotate the photos left"
-msgstr "Roter billederne mod venstre"
-
-#: ../src/Resources.vala:152
-msgid "Flip Hori_zontally"
-msgstr "Vend _vandret"
+msgstr "Rotér billederne mod venstre"
-#: ../src/Resources.vala:153
+#: src/Resources.vala:150
msgid "Flip Horizontally"
msgstr "Vend vandret"
-#: ../src/Resources.vala:155
-msgid "Flip Verti_cally"
-msgstr "Vend _lodret"
-
-#: ../src/Resources.vala:156
+#: src/Resources.vala:153
msgid "Flip Vertically"
msgstr "Vend lodret"
-#: ../src/Resources.vala:158
-msgid "_Enhance"
-msgstr "_Gør skarpere"
+#: 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
+msgid "_About"
+msgstr "_Om"
+
+#: src/Resources.vala:156
+msgid "_Apply"
+msgstr "An_vend"
+
+#: src/Resources.vala:159 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/top.ui:10 ui/trash.ui:37
+msgid "_Edit"
+msgstr "_Redigér"
+
+#: src/Resources.vala:160
+msgid "_Forward"
+msgstr "_Frem"
+
+#: src/Resources.vala:161 ui/direct.ui:62 ui/events_directory.ui:125
+#: ui/photo.ui:173
+msgid "Fulls_creen"
+msgstr "_Fuldskærm"
+
+#: 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/top.ui:40 ui/trash.ui:189 ui/trash.ui:192
+msgid "_Help"
+msgstr "_Hjælp"
+
+#: src/Resources.vala:163
+msgid "Leave _Fullscreen"
+msgstr "Forlad _fuldskærm"
+
+#: src/Resources.vala:164 src/Resources.vala:363
+msgid "_New"
+msgstr "_Nyt"
+
+#: src/Resources.vala:165
+msgid "_Next"
+msgstr "_Næste"
+
+#: src/Resources.vala:168 src/Resources.vala:317 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 "_Indstillinger"
+
+#: src/Resources.vala:169
+msgid "_Previous"
+msgstr "_Forrige"
+
+#: src/Resources.vala:171 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 "_Afslut"
+
+#: src/Resources.vala:172
+msgid "_Refresh"
+msgstr "_Opdatér"
+
+#: src/Resources.vala:174
+msgid "_Revert"
+msgstr "_Forkast"
+
+#: src/Resources.vala:176
+msgid "Save _As"
+msgstr "Gem _som"
+
+#: src/Resources.vala:177
+msgid "Sort _Ascending"
+msgstr "Sortér _stigende"
+
+#: src/Resources.vala:178
+msgid "Sort _Descending"
+msgstr "Sortér _faldende"
+
+#: src/Resources.vala:179
+msgid "_Stop"
+msgstr "_Stop"
+
+#: src/Resources.vala:180
+msgid "_Undelete"
+msgstr "_Gendan"
+
+#: src/Resources.vala:181
+msgid "_Normal Size"
+msgstr "_Normal størrelse"
+
+#: src/Resources.vala:182
+msgid "Best _Fit"
+msgstr "Bedste _tilpasning"
+
+#: src/Resources.vala:183 ui/direct.ui:69 ui/event.ui:260 ui/media.ui:260
+#: ui/photo.ui:144 ui/tags.ui:260
+msgid "Zoom _In"
+msgstr "Zoom _ind"
+
+#: src/Resources.vala:184 ui/direct.ui:74 ui/event.ui:265 ui/media.ui:265
+#: ui/photo.ui:149 ui/tags.ui:265
+msgid "Zoom _Out"
+msgstr "Zoom _ud"
-#: ../src/Resources.vala:159
+#: src/Resources.vala:187 ui/collection.ui:165
msgid "Enhance"
msgstr "Gør skarpere"
-#: ../src/Resources.vala:160
-msgid "Automatically improve the photo's appearance"
-msgstr "Automatisk forbedring af billedets fremtoning"
+#: src/Resources.vala:188 ui/collection.ui:162
+msgid "Automatically improve the photo’s appearance"
+msgstr "Forbedr automatisk billedets fremtoning"
-#: ../src/Resources.vala:162
-msgid "_Copy Color Adjustments"
-msgstr "_Kopiér farvetilpasninger"
-
-#: ../src/Resources.vala:163
+#: src/Resources.vala:191
msgid "Copy Color Adjustments"
msgstr "Kopiér farvetilpasninger"
-#: ../src/Resources.vala:164
+#: src/Resources.vala:192
msgid "Copy the color adjustments applied to the photo"
msgstr "Kopiér farvetilpasningerne som er anvendt på billedet"
-#: ../src/Resources.vala:166
-msgid "_Paste Color Adjustments"
-msgstr "_Indsæt farvetilpasninger"
-
-#: ../src/Resources.vala:167
+#: src/Resources.vala:195
msgid "Paste Color Adjustments"
msgstr "Indsæt farvetilpasninger"
-#: ../src/Resources.vala:168
+#: src/Resources.vala:196
msgid "Apply copied color adjustments to the selected photos"
msgstr "Anvend de kopierede farvetilpasninger på de valgte billeder"
-#: ../src/Resources.vala:170
+#: src/Resources.vala:198 ui/direct.ui:139 ui/photo.ui:228
msgid "_Crop"
msgstr "Besk_ær"
-#: ../src/Resources.vala:171
+#: src/Resources.vala:199
msgid "Crop"
msgstr "Beskær"
-#: ../src/Resources.vala:172
-msgid "Crop the photo's size"
+#: src/Resources.vala:200
+msgid "Crop the photo’s size"
msgstr "Beskær billedets størrelse"
-#: ../src/Resources.vala:174 ../src/editing_tools/StraightenTool.vala:100
-msgid "_Straighten"
-msgstr "Ud_jævn"
-
-#: ../src/Resources.vala:175
+#: src/Resources.vala:203
msgid "Straighten"
msgstr "Udjævn"
-#: ../src/Resources.vala:176
+#: src/Resources.vala:204
msgid "Straighten the photo"
msgstr "Udjævn billedet"
-#: ../src/Resources.vala:178
+#: src/Resources.vala:206 ui/direct.ui:149 ui/photo.ui:238
msgid "_Red-eye"
msgstr "_Rødøje"
-#: ../src/Resources.vala:179
+#: src/Resources.vala:207
msgid "Red-eye"
msgstr "Rødøje"
-#: ../src/Resources.vala:180
+#: src/Resources.vala:208
msgid "Reduce or eliminate any red-eye effects in the photo"
-msgstr "Reducer eller eliminer rødøjeeffekter i billedet"
+msgstr "Reducér eller eliminér rødøjeeffekter i billedet"
-#: ../src/Resources.vala:182
+#: src/Resources.vala:210 ui/direct.ui:154 ui/photo.ui:243
msgid "_Adjust"
-msgstr "_Juster"
+msgstr "_Justér"
-#: ../src/Resources.vala:183
+#: src/Resources.vala:211
msgid "Adjust"
-msgstr "Juster"
+msgstr "Justér"
-#: ../src/Resources.vala:184
-msgid "Adjust the photo's color and tone"
-msgstr "Juster billedets farve og tone"
+#: src/Resources.vala:212
+msgid "Adjust the photo’s color and tone"
+msgstr "Justér billedets farve og tone"
-#: ../src/Resources.vala:186
-msgid "Re_vert to Original"
-msgstr "_Gendan til oprindelig"
-
-#: ../src/Resources.vala:187
+#: src/Resources.vala:215
msgid "Revert to Original"
msgstr "Gendan til oprindelig"
-#: ../src/Resources.vala:189
+#: src/Resources.vala:217
msgid "Revert External E_dits"
-msgstr "Gendan eksterne e_diteringer"
+msgstr "Gendan eksterne _ændringer"
-#: ../src/Resources.vala:190
+#: src/Resources.vala:218
msgid "Revert to the master photo"
msgstr "Gendan til det oprindelige billede"
-#: ../src/Resources.vala:192
-msgid "Set as _Desktop Background"
-msgstr "Angiv som skrivebords_baggrund"
-
-#: ../src/Resources.vala:193
+#: src/Resources.vala:221
msgid "Set selected image to be the new desktop background"
msgstr "Angiv det valgte billede som den nye skrivebordsbaggrund"
-#: ../src/Resources.vala:194
-msgid "Set as _Desktop Slideshow..."
-msgstr "Sæt som _Desktop Slideshow..."
+#: src/Resources.vala:222
+msgid "Set as _Desktop Slideshow…"
+msgstr "_Sæt som slideshow på skrivebord …"
-#: ../src/Resources.vala:196
+#: src/Resources.vala:224 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 "_Genskab"
-#: ../src/Resources.vala:197
+#: src/Resources.vala:225
msgid "Undo"
msgstr "Genskab"
-#: ../src/Resources.vala:199
+#: src/Resources.vala:227 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 "_Omgør"
-#: ../src/Resources.vala:200
+#: src/Resources.vala:228
msgid "Redo"
msgstr "Omgør"
-#: ../src/Resources.vala:202
-msgid "Re_name Event..."
-msgstr "_Omdøb hændelse..."
+#: src/Resources.vala:230 ui/events_directory.ui:139 ui/events_directory.ui:181
+#: ui/event.ui:391 ui/event.ui:584
+msgid "Re_name Event…"
+msgstr "_Omdøb begivenhed …"
-#: ../src/Resources.vala:205
+#: src/Resources.vala:233 ui/event.ui:371 ui/event.ui:576
msgid "Make _Key Photo for Event"
-msgstr "Gør til _nøglebillede for hændelse"
+msgstr "Gør til _nøglebillede for begivenhed"
-#: ../src/Resources.vala:206
+#: src/Resources.vala:234
msgid "Make Key Photo for Event"
-msgstr "Gør til nøglebillede for hændelse"
+msgstr "Gør til nøglebillede begivenhed"
-#: ../src/Resources.vala:208
+#: src/Resources.vala:236 ui/event.ui:380 ui/media.ui:374 ui/tags.ui:374
msgid "_New Event"
-msgstr "_Ny hændelse"
+msgstr "_Ny begivenhed"
-#: ../src/Resources.vala:209
+#: src/Resources.vala:237
msgid "New Event"
-msgstr "Ny hændelse"
+msgstr "Ny begivenhed"
-#: ../src/Resources.vala:211
+#: src/Resources.vala:239
msgid "Move Photos"
msgstr "Flyt billeder"
-#: ../src/Resources.vala:212
+#: src/Resources.vala:240
msgid "Move photos to an event"
-msgstr "Flyt billeder til en hændelse"
+msgstr "Flyt billeder til en begivenhed"
-#: ../src/Resources.vala:214
+#: src/Resources.vala:242 ui/events_directory.ui:135 ui/events_directory.ui:177
msgid "_Merge Events"
-msgstr "_Flet hændelser"
+msgstr "_Flet begivenheder"
-#: ../src/Resources.vala:215
+#: src/Resources.vala:243
msgid "Merge"
msgstr "Flet"
-#: ../src/Resources.vala:216
+#: src/Resources.vala:244
msgid "Combine events into a single event"
msgstr "Kombinér begivenheder til én samlet begivenhed"
-#: ../src/Resources.vala:218
+#: src/Resources.vala:246 ui/collection.ui:39 ui/event.ui:286 ui/event.ui:476
+#: ui/media.ui:286 ui/photo_context.ui:35 ui/photo.ui:273 ui/tags.ui:286
msgid "_Set Rating"
msgstr "_Angiv bedømmelse"
-#: ../src/Resources.vala:219
+#: src/Resources.vala:247
msgid "Set Rating"
msgstr "Angiv bedømmelse"
-#: ../src/Resources.vala:220
+#: src/Resources.vala:248
msgid "Change the rating of your photo"
msgstr "Ændr bedømmelsen på dit billede"
-#: ../src/Resources.vala:222
+#: src/Resources.vala:250 ui/collection.ui:72 ui/event.ui:326 ui/event.ui:509
+#: ui/media.ui:326 ui/photo_context.ui:75 ui/photo.ui:313 ui/tags.ui:326
msgid "_Increase"
msgstr "_Øg"
-#: ../src/Resources.vala:223
+#: src/Resources.vala:251
msgid "Increase Rating"
msgstr "Øg bedømmelse"
-#: ../src/Resources.vala:225
+#: src/Resources.vala:253 ui/collection.ui:76 ui/event.ui:331 ui/event.ui:513
+#: ui/media.ui:331 ui/photo_context.ui:80 ui/photo.ui:318 ui/tags.ui:331
msgid "_Decrease"
msgstr "_Formindsk"
-#: ../src/Resources.vala:226
+#: src/Resources.vala:254
msgid "Decrease Rating"
msgstr "Formindsk bedømmelse"
-#: ../src/Resources.vala:228
+#: src/Resources.vala:256 ui/collection.ui:62 ui/event.ui:314 ui/event.ui:499
+#: ui/media.ui:314 ui/photo_context.ui:63 ui/photo.ui:301 ui/tags.ui:314
msgid "_Unrated"
-msgstr "_Uden bedømmelse"
+msgstr "_Ikke bedømt"
-#: ../src/Resources.vala:229
+#: src/Resources.vala:257
msgid "Unrated"
-msgstr "uden karakter"
+msgstr "Ikke bedømt"
-#: ../src/Resources.vala:230
+#: src/Resources.vala:258
msgid "Rate Unrated"
-msgstr "Bedøm ej bedømte"
+msgstr "Bedøm de ikke bedømte"
-#: ../src/Resources.vala:231
+#: src/Resources.vala:259
msgid "Setting as unrated"
-msgstr "Angiver som ej bedømt"
+msgstr "Angiver som ikke bedømt"
-#: ../src/Resources.vala:232
+#: src/Resources.vala:260
msgid "Remove any ratings"
msgstr "Fjern alle bedømmelser"
-#: ../src/Resources.vala:234
+#: src/Resources.vala:262 ui/collection.ui:66 ui/event.ui:319 ui/event.ui:503
+#: ui/media.ui:319 ui/photo_context.ui:68 ui/photo.ui:306 ui/tags.ui:319
msgid "_Rejected"
msgstr "_Afvist"
-#: ../src/Resources.vala:235
+#: src/Resources.vala:263
msgid "Rejected"
msgstr "Afvist"
-#: ../src/Resources.vala:236
+#: src/Resources.vala:264
msgid "Rate Rejected"
msgstr "Bedømmelse afvist"
-#: ../src/Resources.vala:237
+#: src/Resources.vala:265
msgid "Setting as rejected"
msgstr "Angiver som afvist"
-#: ../src/Resources.vala:238
+#: src/Resources.vala:266
msgid "Set rating to rejected"
msgstr "Angiv bedømmelse som afvist"
-#: ../src/Resources.vala:240
+#: src/Resources.vala:268 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 "Kun _afviste"
-#: ../src/Resources.vala:241
+#: src/Resources.vala:269
msgid "Rejected Only"
msgstr "Kun afviste"
-#: ../src/Resources.vala:242
+#: src/Resources.vala:270
msgid "Show only rejected photos"
msgstr "Vis kun afviste billeder"
-#: ../src/Resources.vala:244
+#: src/Resources.vala:272 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 "Alle + _afviste"
-#: ../src/Resources.vala:245 ../src/Resources.vala:246
+#: src/Resources.vala:273
+msgctxt "Tooltip"
msgid "Show all photos, including rejected"
msgstr "Vis alle billeder, inklusive afviste"
-#: ../src/Resources.vala:248
+#: src/Resources.vala:275 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 "_Alle billeder"
-#: ../src/Resources.vala:249 ../src/Resources.vala:250
+#. Button tooltip
+#: src/Resources.vala:277
msgid "Show all photos"
msgstr "Vis alle billeder"
-#: ../src/Resources.vala:252
+#: src/Resources.vala:279 ui/event.ui:144 ui/media.ui:144 ui/photo.ui:120
+#: ui/tags.ui:144
msgid "_Ratings"
msgstr "_Bedømmelser"
-#: ../src/Resources.vala:253
-msgid "Display each photo's rating"
+#: src/Resources.vala:280
+msgid "Display each photo’s rating"
msgstr "Vis hvert billedes bedømmelse"
-#: ../src/Resources.vala:255
+#: src/Resources.vala:282 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 "_Filtrer billeder"
+msgstr "_Filtrér billeder"
-#: ../src/Resources.vala:256
+#: src/Resources.vala:283
msgid "Filter Photos"
-msgstr "Filtrer billeder"
+msgstr "Filtrér billeder"
-#: ../src/Resources.vala:257
+#: src/Resources.vala:284
msgid "Limit the number of photos displayed based on a filter"
msgstr "Begræns antallet af viste billeder baseret på et filter"
-#: ../src/Resources.vala:259
-msgid "_Duplicate"
-msgstr "_Dupliker"
-
-#: ../src/Resources.vala:260
+#: src/Resources.vala:287
msgid "Duplicate"
-msgstr "Dupliker"
+msgstr "Duplikér"
-#: ../src/Resources.vala:261
+#: src/Resources.vala:288
msgid "Make a duplicate of the photo"
-msgstr "Lav en duplikat af billedet"
+msgstr "Lav en dublet af billedet"
-#: ../src/Resources.vala:263
-msgid "_Export..."
-msgstr "_Eksporterer..."
+#: src/Resources.vala:290
+msgid "_Export…"
+msgstr "_Eksportér …"
-#: ../src/Resources.vala:265
-msgid "_Print..."
-msgstr "_Udskriv..."
+#: src/Resources.vala:292
+msgid "_Print…"
+msgstr "_Udskriv …"
-#: ../src/Resources.vala:267
-msgid "Pu_blish..."
-msgstr "Ud_giv..."
+#: src/Resources.vala:294
+msgid "Pu_blish…"
+msgstr "_Udgiv …"
-#: ../src/Resources.vala:269
+#: src/Resources.vala:296 ui/collection.ui:187
msgid "Publish to various websites"
msgstr "Udgiv til forskellige hjemmesider"
-#: ../src/Resources.vala:271
-msgid "Edit _Title..."
-msgstr "Redigér _title..."
+#: src/Resources.vala:298 ui/collection.ui:98 ui/event.ui:340 ui/event.ui:535
+#: ui/media.ui:340 ui/photo_context.ui:105 ui/photo.ui:327 ui/tags.ui:340
+msgid "Edit _Title…"
+msgstr "Redigér _titel …"
+
+#. Button label
+#: src/Resources.vala:300
+msgctxt "Button Label"
+msgid "Edit Title"
+msgstr "Redigér titel"
-#: ../src/Resources.vala:274
-msgid "Edit _Comment..."
-msgstr "Redigér _kommentar..."
+#: 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
+msgid "Edit _Comment…"
+msgstr "Redigér _kommentar …"
-#: ../src/Resources.vala:275
+#. Button label
+#: src/Resources.vala:304
msgid "Edit Comment"
msgstr "Redigér kommentar"
-#: ../src/Resources.vala:277
-msgid "Edit Event _Comment..."
-msgstr "Redigér _kommentar for hændelse..."
+#: src/Resources.vala:306 ui/event.ui:588
+msgid "Edit Event _Comment…"
+msgstr "Redigér kommentar til begivenhed …"
-#: ../src/Resources.vala:280
-msgid "_Adjust Date and Time..."
-msgstr "_Juster dato og tid..."
+#: src/Resources.vala:309 ui/direct.ui:167 ui/photo.ui:335
+msgid "_Adjust Date and Time…"
+msgstr "_Justér dato og tid …"
-#: ../src/Resources.vala:281
+#: src/Resources.vala:310
msgid "Adjust Date and Time"
-msgstr "Juster dato og tid"
+msgstr "Justér dato og tid"
-#: ../src/Resources.vala:283
-msgid "Add _Tags..."
-msgstr "Tilføj _mærker..."
+#: 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
+msgid "Add _Tags…"
+msgstr "Tilføj _mærker …"
-#: ../src/Resources.vala:284
-msgid "_Add Tags..."
-msgstr "_Tilføj mærker..."
+#: src/Resources.vala:313 ui/photo_context.ui:17
+msgid "_Add Tags…"
+msgstr "_Tilføj mærker …"
-#: ../src/Resources.vala:285 ../src/Resources.vala:316
+#. Dialog title
+#: src/Resources.vala:315
+msgctxt "Dialog Title"
msgid "Add Tags"
msgstr "Tilføj mærker"
-#: ../src/Resources.vala:287
-msgid "_Preferences"
-msgstr "_Indstillinger"
-
-#: ../src/Resources.vala:289
-msgid "Open With E_xternal Editor"
-msgstr "Åbn med e_kstern redigering"
-
-#: ../src/Resources.vala:291
-msgid "Open With RA_W Editor"
-msgstr "Åbn med RA_W-redigeringsprogram"
-
-#: ../src/Resources.vala:293
-msgid "Send _To..."
-msgstr "Send _til..."
+#: src/Resources.vala:324 ui/photo_context.ui:133
+msgid "Send T_o…"
+msgstr "Send t_il …"
-#: ../src/Resources.vala:294
-msgid "Send T_o..."
-msgstr "Send t_il..."
+#: src/Resources.vala:326
+msgid "_Find…"
+msgstr "_Find …"
-#: ../src/Resources.vala:296
-msgid "_Find..."
-msgstr "_Find..."
-
-#: ../src/Resources.vala:297
+#: src/Resources.vala:327 ui/collection.ui:215 ui/offline.ui:239
+#: ui/trash.ui:312
msgid "Find"
msgstr "Find"
-#: ../src/Resources.vala:298
+#: src/Resources.vala:328 ui/collection.ui:212 ui/offline.ui:236
+#: ui/trash.ui:309
msgid "Find an image by typing text that appears in its name or tags"
msgstr ""
"Find et billede ved at indtaste tekst som indgår i navnet eller mærkerne"
-#: ../src/Resources.vala:300
+#: src/Resources.vala:330
msgid "_Flag"
-msgstr "_Marker"
+msgstr "_Sæt flag på"
-#: ../src/Resources.vala:302
+#: src/Resources.vala:332
msgid "Un_flag"
-msgstr "_Fjern markering"
+msgstr "_Fjern flag"
-#: ../src/Resources.vala:305
+#: src/Resources.vala:335
#, c-format
msgid "Unable to launch editor: %s"
msgstr "Kan ikke starte redigeringsprogram: %s"
-#: ../src/Resources.vala:310
+#: src/Resources.vala:340
#, c-format
-msgid "Add Tag \"%s\""
-msgstr "Tilføj mærke »%s«"
+msgid "Add Tag “%s”"
+msgstr "Tilføj mærket \"%s\""
-#: ../src/Resources.vala:312
+#. Used when adding two tags to photo(s)
+#: src/Resources.vala:343
#, c-format
-msgid "Add Tags \"%s\" and \"%s\""
-msgstr "Tilføj mærker »%s« og »%s«"
+msgid "Add Tags “%s” and “%s”"
+msgstr "Tilføj mærkerne \"%s\" og \"%s\""
-#: ../src/Resources.vala:320
+#. Undo/Redo command name (in Edit menu)
+#: src/Resources.vala:348
+msgctxt "UndoRedo menu entry"
+msgid "Add Tags"
+msgstr "Tilføj mærker"
+
+#: src/Resources.vala:353
#, c-format
-msgid "_Delete Tag \"%s\""
-msgstr "_Slet mærke »%s«"
+msgid "_Delete Tag “%s”"
+msgstr "_Slet mærke \"%s\""
-#: ../src/Resources.vala:324
+#: src/Resources.vala:357
#, c-format
-msgid "Delete Tag \"%s\""
-msgstr "Slet mærke »%s«"
+msgid "Delete Tag “%s”"
+msgstr "Slet mærke \"%s\""
-#: ../src/Resources.vala:327
+#: src/Resources.vala:360
msgid "Delete Tag"
msgstr "Slet mærke"
-#: ../src/Resources.vala:330
-msgid "_New"
-msgstr "_Nyt"
-
-#: ../src/Resources.vala:333
+#: src/Resources.vala:366
#, c-format
-msgid "Re_name Tag \"%s\"..."
-msgstr "_Omdøb mærke »%s«..."
+msgid "Re_name Tag “%s”…"
+msgstr "Om_døb mærke \"%s\" …"
-#: ../src/Resources.vala:337
+#: src/Resources.vala:370
#, c-format
-msgid "Rename Tag \"%s\" to \"%s\""
-msgstr "Omdøb mærke »%s« til »%s«"
+msgid "Rename Tag “%s” to “%s”"
+msgstr "Omdøb mærke \"%s\" til \"%s\""
-#: ../src/Resources.vala:340
-msgid "_Rename..."
-msgstr "_Omdøb..."
+#: src/Resources.vala:373
+msgid "_Rename…"
+msgstr "_Omdøb …"
-#: ../src/Resources.vala:342
-msgid "Modif_y Tags..."
-msgstr "_Ændre mærker..."
+#: 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
+msgid "Modif_y Tags…"
+msgstr "_Ændr mærker …"
-#: ../src/Resources.vala:343
+#: src/Resources.vala:376
msgid "Modify Tags"
-msgstr "Ændre mærker"
-
-#: ../src/Resources.vala:346
-#, c-format
-msgid "Tag Photo as \"%s\""
-msgstr "Mærk billeder som »%s«"
-
-#: ../src/Resources.vala:346
-#, c-format
-msgid "Tag Photos as \"%s\""
-msgstr "Mærk billede som \"%s\""
+msgstr "Ændr mærker"
-#: ../src/Resources.vala:350
+#: src/Resources.vala:379
#, c-format
-msgid "Tag the selected photo as \"%s\""
-msgstr "Mærk de valgte billeder som »%s«"
+msgid "Tag Photo as “%s”"
+msgid_plural "Tag Photos as “%s”"
+msgstr[0] "Mærk billede som \"%s\""
+msgstr[1] "Mærk billeder som \"%s\""
-#: ../src/Resources.vala:351
+#: src/Resources.vala:385
#, c-format
-msgid "Tag the selected photos as \"%s\""
-msgstr "Mærk de udvalgte billeder som \"%s\""
+msgid "Tag the selected photo as “%s”"
+msgid_plural "Tag the selected photos as “%s”"
+msgstr[0] "Mærk det valgte billede som \"%s\""
+msgstr[1] "Mærk de valgte billeder som \"%s\""
-#: ../src/Resources.vala:355
+#: src/Resources.vala:391
#, c-format
-msgid "Remove Tag \"%s\" From _Photo"
-msgstr "Fjern mærke »%s« fra billeder"
+msgid "Remove Tag “%s” From _Photo"
+msgid_plural "Remove Tag “%s” From _Photos"
+msgstr[0] "Fjern mærket \"%s\" fra _billedet"
+msgstr[1] "Fjern mærket \"%s\" fra _billederne"
-#: ../src/Resources.vala:356
+#: src/Resources.vala:397
#, c-format
-msgid "Remove Tag \"%s\" From _Photos"
-msgstr "_Fjern mærke \"%s\" fra billeder"
+msgid "Remove Tag “%s” From Photo"
+msgid_plural "Remove Tag “%s” From Photos"
+msgstr[0] "Fjern mærket \"%s\" fra billedet"
+msgstr[1] "Fjern mærket \"%s\" fra billederne"
-#: ../src/Resources.vala:360
+#: src/Resources.vala:403
#, c-format
-msgid "Remove Tag \"%s\" From Photo"
-msgstr "Fjern mærke »%s« fra billeder"
+msgid "Unable to rename tag to “%s” because the tag already exists."
+msgstr "Kunne ikke omdøbe mærket til \"%s\", da mærket allerede findes."
-#: ../src/Resources.vala:361
+#: src/Resources.vala:407
#, c-format
-msgid "Remove Tag \"%s\" From Photos"
-msgstr "Fjern mærke \"%s\" fra billeder"
-
-#: ../src/Resources.vala:365
-#, c-format
-msgid "Unable to rename tag to \"%s\" because the tag already exists."
-msgstr "Kunne ikke omdøbe mærke til »%s« da mærket allerede findes."
-
-#: ../src/Resources.vala:369
-#, c-format
-msgid "Unable to rename search to \"%s\" because the search already exists."
+msgid "Unable to rename search to “%s” because the search already exists."
msgstr ""
-"Ikke i stand til at forandre navn til \"%s\" fordi søgningen allerede "
-"eksisterer"
+"Kunne ikke omdøbe søgningen til \"%s\", fordi søgningen allerede findes."
-#: ../src/Resources.vala:372
+#. Saved search button
+#: src/Resources.vala:410 src/SearchFilter.vala:1127
msgid "Saved Search"
msgstr "Gemt søgning"
-#: ../src/Resources.vala:374
+#: src/Resources.vala:412
msgid "Delete Search"
msgstr "Slet søgning"
-#: ../src/Resources.vala:377
-msgid "_Edit..."
-msgstr "R_edigér..."
+#: src/Resources.vala:415 ui/savedsearch.ui:11
+msgid "_Edit…"
+msgstr "_Redigér …"
-#: ../src/Resources.vala:378
-msgid "Re_name..."
-msgstr "Om_døb..."
+#: src/Resources.vala:416 ui/savedsearch.ui:7
+msgid "Re_name…"
+msgstr "_Omdøb …"
-#: ../src/Resources.vala:381
+#: src/Resources.vala:419
#, c-format
-msgid "Rename Search \"%s\" to \"%s\""
-msgstr "Fora_ndre navn af søgning \"%s\" til \"%s\""
+msgid "Rename Search “%s” to “%s”"
+msgstr "Omdøb søgning \"%s\" til \"%s\""
-#: ../src/Resources.vala:385
+#: src/Resources.vala:423
#, c-format
-msgid "Delete Search \"%s\""
-msgstr "Slet søgning \"%s\""
+msgid "Delete Search “%s”"
+msgstr "Slet søgningen \"%s\""
-#: ../src/Resources.vala:543
+#: src/Resources.vala:560
#, c-format
msgid "Rate %s"
msgstr "Bedøm %s"
-#: ../src/Resources.vala:544
+#: src/Resources.vala:561
#, c-format
msgid "Set rating to %s"
msgstr "Angiv bedømmelse til %s"
-#: ../src/Resources.vala:545
+#: src/Resources.vala:562
#, c-format
msgid "Setting rating to %s"
-msgstr "Angiver bedømmelse for %s"
+msgstr "Angiver bedømmelse til %s"
-#: ../src/Resources.vala:547
+#: src/Resources.vala:564
#, c-format
msgid "Display %s"
msgstr "Vis %s"
-#: ../src/Resources.vala:548
+#: src/Resources.vala:565
#, c-format
msgid "Only show photos with a rating of %s"
msgstr "Vis kun billeder med en bedømmelse på %s"
-#: ../src/Resources.vala:549
+#: src/Resources.vala:566
#, c-format
msgid "%s or Better"
msgstr "%s eller bedre"
-#: ../src/Resources.vala:550
+#: src/Resources.vala:567
#, c-format
msgid "Display %s or Better"
msgstr "Vis %s eller bedre"
-#: ../src/Resources.vala:551
+#: src/Resources.vala:568
#, c-format
msgid "Only show photos with a rating of %s or better"
msgstr "Vis kun billeder med en bedømmelse på %s eller bedre"
-#: ../src/Resources.vala:642
+#: src/Resources.vala:659 ui/trash.ui:255
msgid "Remove the selected photos from the trash"
-msgstr "Fjern de valgte billeder fra skraldespanden"
+msgstr "Fjern de valgte billeder fra papirkurven"
-#: ../src/Resources.vala:643
+#: src/Resources.vala:660 ui/offline.ui:221
msgid "Remove the selected photos from the library"
-msgstr "Flyt de valgte billeder fra biblioteket"
+msgstr "Fjern de valgte billeder fra biblioteket"
-#: ../src/Resources.vala:645
+#: src/Resources.vala:662 ui/trash.ui:68 ui/trash.ui:221 ui/trash.ui:273
msgid "_Restore"
msgstr "_Nulstil"
-#: ../src/Resources.vala:646
+#: src/Resources.vala:663 ui/trash.ui:270
msgid "Move the selected photos back into the library"
msgstr "Flyt de valgte billeder tilbage til biblioteket"
-#: ../src/Resources.vala:648
+#: 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
+#: ui/trash.ui:227
msgid "Show in File Mana_ger"
msgstr "Vis i _filhåndteringen"
-#: ../src/Resources.vala:649
-msgid "Open the selected photo's directory in the file manager"
+#: src/Resources.vala:666
+msgid "Open the selected photo’s directory in the file manager"
msgstr "Åbn mappen for det valgte billede i et filhåndteringsprogram"
-#: ../src/Resources.vala:652
+#: src/Resources.vala:669
#, c-format
msgid "Unable to open in file manager: %s"
msgstr "Kan ikke åbne i filhåndteringsprogram: %s"
-#: ../src/Resources.vala:655
+#: src/Resources.vala:672 ui/offline.ui:224
msgid "R_emove From Library"
msgstr "Fj_ern fra biblioteket"
-#: ../src/Resources.vala:657
+#: 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
msgid "_Move to Trash"
msgstr "_Flyt til papirkurven"
-#: ../src/Resources.vala:659
+#: src/Resources.vala:676 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 "Vælg _alle"
-#: ../src/Resources.vala:660
+#: src/Resources.vala:677
msgid "Select all items"
-msgstr "Vælg alle punkter"
+msgstr "Vælg alle elementer"
#. ...precache the timestamp string...
#. / Locale-specific time format for 12-hour time, i.e. 8:31 PM
#. / Precede modifier with a dash ("-") to pad with spaces, otherwise will pad with zeroes
#. / See http://developer.gnome.org/glib/2.32/glib-GDateTime.html#g-date-time-format
-#: ../src/Resources.vala:741
-msgid "%-I:%M %p"
-msgstr "%-H:%M"
-
#. / Locale-specific time format for 12-hour time with seconds, i.e. 8:31:42 PM
#. / Precede modifier with a dash ("-") to pad with spaces, otherwise will pad with zeroes
#. / See http://developer.gnome.org/glib/2.32/glib-GDateTime.html#g-date-time-format
-#: ../src/Resources.vala:746
-msgid "%-I:%M:%S %p"
-msgstr "%-H:%M:%S"
-
#. / 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:750
+#: src/Resources.vala:766
msgid "%a %b %d, %Y"
msgstr "%a %d. %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
-#. / 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:755 ../src/Resources.vala:765
+#: src/Resources.vala:771
+msgctxt "MultidayFormat"
msgid "%a %b %d"
-msgstr "%a %b %d"
+msgstr "%a %d. %b"
#. / 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:760
+#: src/Resources.vala:776
+msgctxt "MultidayFormat"
msgid "%d, %Y"
msgstr "%d, %Y"
-#: ../src/Screensaver.vala:18 ../src/SlideshowPage.vala:141
-msgid "Slideshow"
-msgstr "Diasshow"
-
-#. Flagged label and toggle
-#: ../src/SearchFilter.vala:587 ../src/SearchFilter.vala:588
-#: ../src/SearchFilter.vala:990 ../src/library/FlaggedPage.vala:8
-msgid "Flagged"
-msgstr "Markeret"
-
-#: ../src/SearchFilter.vala:593 ../src/SearchFilter.vala:594
-msgid "Photos"
-msgstr "Billeder"
-
-#: ../src/SearchFilter.vala:599 ../src/SearchFilter.vala:600
-msgid "Videos"
-msgstr "Videoer"
-
-#: ../src/SearchFilter.vala:605
-msgid "RAW Photos"
-msgstr "RAW-fotos"
-
-#: ../src/SearchFilter.vala:606
-msgid "RAW photos"
-msgstr "RAW-fotos"
-
-#: ../src/SearchFilter.vala:952
-#, c-format
-msgid "Error loading UI file %s: %s"
-msgstr "Fejl under indlæsning af brugerflade-fil: %s %s"
-
-#. Type label and toggles
-#: ../src/SearchFilter.vala:969
-msgid "Type"
-msgstr "Type"
+#. / 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:781
+msgctxt "MultimonthFormat"
+msgid "%a %b %d"
+msgstr "%a %d. %b"
-#. Rating label and button
-#: ../src/SearchFilter.vala:1003 ../src/searches/SearchBoolean.vala:184
-msgid "Rating"
-msgstr "Bedømmelse"
+#. / 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:786
+msgctxt "MultimonthFormat"
+msgid "%a %b %d, %Y"
+msgstr "%a %d. %b. %Y"
-#: ../src/SlideshowPage.vala:49 ../src/SlideshowPage.vala:182
-msgid "Settings"
-msgstr "Opsætning"
+#: src/Screensaver.vala:18 src/SlideshowPage.vala:141
+msgid "Slideshow"
+msgstr "Slideshow"
-#. Set up toolbar
-#. add toolbar buttons
-#: ../src/SlideshowPage.vala:161
-msgid "Back"
-msgstr "Tilbage"
+#: src/searches/Branch.vala:68
+msgid "Saved Searches"
+msgstr "Gemte søgninger"
-#: ../src/SlideshowPage.vala:162
-msgid "Go to the previous photo"
-msgstr "Gå til det forrige billede"
+#. Ordering must correspond with SearchConditionText.Context
+#: src/searches/SavedSearchDialog.vala:162
+msgid "contains"
+msgstr "indeholder"
-#: ../src/SlideshowPage.vala:168 ../src/SlideshowPage.vala:273
-msgid "Pause"
-msgstr "Pause"
+#. Ordering must correspond with Context
+#: src/searches/SavedSearchDialog.vala:163
+#: src/searches/SavedSearchDialog.vala:494
+msgid "is exactly"
+msgstr "er nøjagtigt"
-#: ../src/SlideshowPage.vala:169 ../src/SlideshowPage.vala:274
-msgid "Pause the slideshow"
-msgstr "Sæt diasshow på pause"
+#: src/searches/SavedSearchDialog.vala:164
+msgid "starts with"
+msgstr "begynder med"
-#: ../src/SlideshowPage.vala:175
-msgid "Next"
-msgstr "Næste"
+#: src/searches/SavedSearchDialog.vala:165
+msgid "ends with"
+msgstr "slutter med"
-#: ../src/SlideshowPage.vala:176
-msgid "Go to the next photo"
-msgstr "Gå til det næste billede"
+#: src/searches/SavedSearchDialog.vala:166
+msgid "does not contain"
+msgstr "indeholder ikke"
-#: ../src/SlideshowPage.vala:183
-msgid "Change slideshow settings"
-msgstr "Ændr diasshowopsætning"
+#: src/searches/SavedSearchDialog.vala:167
+#: src/searches/SavedSearchDialog.vala:498
+msgid "is not set"
+msgstr "er ikke sat"
-#. An entire slideshow set might be missing, so check for a loop.
-#: ../src/SlideshowPage.vala:237
-msgid "All photo source files are missing."
-msgstr "Alle billedkildefiler mangler."
+#: src/searches/SavedSearchDialog.vala:168
+msgid "is set"
+msgstr "er sat"
-#: ../src/SlideshowPage.vala:269
-msgid "Play"
-msgstr "Afspil"
+#. Ordering must correspond with SearchConditionMediaType.Context
+#: src/searches/SavedSearchDialog.vala:242
+#: src/searches/SavedSearchDialog.vala:373
+#: src/searches/SavedSearchDialog.vala:438
+msgid "is"
+msgstr "er"
-#: ../src/SlideshowPage.vala:270
-msgid "Continue the slideshow"
-msgstr "Fortsæt diasshowet"
+#: src/searches/SavedSearchDialog.vala:243
+msgid "is not"
+msgstr "er ikke"
-#: ../src/Tag.vala:817
-msgid "untitled"
-msgstr "unavngivet"
+#. Ordering must correspond with SearchConditionMediaType.MediaType
+#: src/searches/SavedSearchDialog.vala:249
+msgid "any photo"
+msgstr "et hvilket som helst billede"
-#. multiple videos
-#: ../src/VideoSupport.vala:486
-msgid "Export Videos"
-msgstr "Eksporter Videoer"
+#: src/searches/SavedSearchDialog.vala:250
+msgid "a raw photo"
+msgstr "et raw-billede"
-#: ../src/camera/Branch.vala:87
-msgid "Cameras"
-msgstr "Kameraer"
+#: src/searches/SavedSearchDialog.vala:251
+msgid "a video"
+msgstr "en video"
-#: ../src/camera/ImportPage.vala:459
-msgid ""
-"Unable to unmount camera. Try unmounting the camera from the file manager."
-msgstr ""
-"Kunne ikke afmontere kameraet. Forsøg afmontering af kameraet fra "
-"filhåndteringen."
+#: src/searches/SavedSearchDialog.vala:305
+msgid "has"
+msgstr "har"
-#. hide duplicates checkbox
-#: ../src/camera/ImportPage.vala:776
-msgid "Hide photos already imported"
-msgstr "Skjul billeder der allerede er importeret"
+#: src/searches/SavedSearchDialog.vala:306
+msgid "has no"
+msgstr "har ingen"
-#: ../src/camera/ImportPage.vala:777
-msgid "Only display photos that have not been imported"
-msgstr "Vis kun billeder som endnu ikke er blevet importeret"
+#: src/searches/SavedSearchDialog.vala:311
+msgid "modifications"
+msgstr "modifikationer"
-#. Ticket #3304 - Import page shouldn't display confusing message
-#. prior to import.
-#. TODO: replace this with approved text for "talking to camera,
-#. please wait" once new strings are being accepted.
-#: ../src/camera/ImportPage.vala:845
-msgid "Starting import, please wait..."
-msgstr "Starter import, vent venligst..."
+#: src/searches/SavedSearchDialog.vala:312
+msgid "internal modifications"
+msgstr "interne modifikationer"
-#: ../src/camera/ImportPage.vala:884
-msgid "Import _Selected"
-msgstr "Importer _valgte"
+#: src/searches/SavedSearchDialog.vala:313
+msgid "external modifications"
+msgstr "eksterne modifikationer"
-#: ../src/camera/ImportPage.vala:885
-msgid "Import the selected photos into your library"
-msgstr "Importer de valgte billeder til dit bibliotek"
+#. Ordering must correspond with SearchConditionFlagged.State
+#: src/searches/SavedSearchDialog.vala:367
+msgid "flagged"
+msgstr "med flag"
-#: ../src/camera/ImportPage.vala:890
-msgid "Import _All"
-msgstr "Importer _alle"
+#: src/searches/SavedSearchDialog.vala:368
+msgid "not flagged"
+msgstr "uden flag"
-#: ../src/camera/ImportPage.vala:891
-msgid "Import all the photos into your library"
-msgstr "Importere alle billeder ind i dit bibliotek"
+#: src/searches/SavedSearchDialog.vala:431
+msgid "and higher"
+msgstr "og højere"
-#. it's mounted, offer to unmount for the user
-#: ../src/camera/ImportPage.vala:1012
-msgid ""
-"Shotwell needs to unmount the camera from the filesystem in order to access "
-"it. Continue?"
-msgstr ""
-"Shotwell har brug for at afmontere kameraet fra filsystemet for at få adgang "
-"til det. Fortsæt?"
+#: src/searches/SavedSearchDialog.vala:432
+msgid "only"
+msgstr "kun"
-#: ../src/camera/ImportPage.vala:1018
-msgid "_Unmount"
-msgstr "_Afmonter"
+#: src/searches/SavedSearchDialog.vala:433
+msgid "and lower"
+msgstr "og lavere"
-#: ../src/camera/ImportPage.vala:1023
-msgid "Please unmount the camera."
-msgstr "Afmonter venligst kameraet."
+#: src/searches/SavedSearchDialog.vala:495
+msgid "is after"
+msgstr "er efter"
-#: ../src/camera/ImportPage.vala:1028
-msgid ""
-"The camera is locked by another application. Shotwell can only access the "
-"camera when it's unlocked. Please close any other application using the "
-"camera and try again."
-msgstr ""
-"Kameraet er låst af et andet program. Shotwell kan kun tilgå kameraet når "
-"det er ulåst. Luk venligst alle andre programmer som bruger kameraet og "
-"forsøg igen."
+#: src/searches/SavedSearchDialog.vala:496
+msgid "is before"
+msgstr "er før"
-#: ../src/camera/ImportPage.vala:1038
-msgid "Please close any other application using the camera."
-msgstr "Luk venligst alle andre programmer som bruger kameraet."
+#: src/searches/SavedSearchDialog.vala:497
+msgid "is between"
+msgstr "er mellem"
-#: ../src/camera/ImportPage.vala:1043
-#, c-format
-msgid ""
-"Unable to fetch previews from the camera:\n"
-"%s"
-msgstr ""
-"Kunne ikke indhente forhåndsvisninger fra kameraet:\n"
-"%s"
+#: src/searches/SavedSearchDialog.vala:510
+msgid "and"
+msgstr "og"
-#: ../src/camera/ImportPage.vala:1060
-msgid "Unmounting..."
-msgstr "Afmonterer..."
+#: src/searches/SavedSearchDialog.vala:691
+msgid "Search"
+msgstr "Søgning"
-#: ../src/camera/ImportPage.vala:1166
-msgid "Fetching photo information"
-msgstr "Indhenter billedinformation"
+#: src/searches/SavedSearchDialog.vala:696
+msgid "Cancel"
+msgstr "Annullér"
-#: ../src/camera/ImportPage.vala:1521
-#, c-format
-msgid "Fetching preview for %s"
-msgstr "Indhenter forhåndsvisning for %s"
+#: src/searches/SavedSearchDialog.vala:697
+msgid "OK"
+msgstr "OK"
-#: ../src/camera/ImportPage.vala:1637
-#, c-format
-msgid "Unable to lock camera: %s"
-msgstr "Kan ikke låse kamera: %s"
+#: src/searches/SavedSearchDialog.vala:716
+msgid "any"
+msgstr "enhver"
-#: ../src/camera/ImportPage.vala:1722
-#, c-format
-msgid "Delete this photo from camera?"
-msgid_plural "Delete these %d photos from camera?"
-msgstr[0] "Slet dette billede fra kameraet?"
-msgstr[1] "Slet disse %d billeder fra kameraet?"
+#: src/searches/SavedSearchDialog.vala:717
+msgid "all"
+msgstr "alle"
-#: ../src/camera/ImportPage.vala:1725
-#, c-format
-msgid "Delete this video from camera?"
-msgid_plural "Delete these %d videos from camera?"
-msgstr[0] "%d Slet denne video fra kameraet?"
-msgstr[1] "Slet disse %d videoer fra kameraet?"
+#: src/searches/SavedSearchDialog.vala:718
+msgid "none"
+msgstr "ingen"
-#: ../src/camera/ImportPage.vala:1728
-#, c-format
-msgid "Delete this photo/video from camera?"
-msgid_plural "Delete these %d photos/videos from camera?"
-msgstr[0] "%d Slet dette billede/denne video fra kameraet?"
-msgstr[1] "Slet disse %d billeder/videoer fra kameraet?"
+#: src/searches/SearchBoolean.vala:157
+msgid "Any text"
+msgstr "Hvilken som helst tekst"
-#: ../src/camera/ImportPage.vala:1731
-#, c-format
-msgid "Delete these files from camera?"
-msgid_plural "Delete these %d files from camera?"
-msgstr[0] "Slette disse filer fra kameraet?"
-msgstr[1] "Slette disse %d filer fra kameraet?"
+#: src/searches/SearchBoolean.vala:160
+msgid "Title"
+msgstr "Titel"
-#: ../src/camera/ImportPage.vala:1758
-msgid "Removing photos/videos from camera"
-msgstr "Fjern billeder/videoer fra kameraet"
+#: src/searches/SearchBoolean.vala:163
+msgid "Tag"
+msgstr "Mærke"
-#: ../src/camera/ImportPage.vala:1762
-#, c-format
-msgid "Unable to delete %d photo/video from the camera due to errors."
-msgid_plural "Unable to delete %d photos/videos from the camera due to errors."
-msgstr[0] "Kan ikke slette %d billede/video fra kameraet på grund af fejl."
-msgstr[1] "Kan ikke slette %d billeder/videoer fra kameraet på grund af fejl."
+#: src/searches/SearchBoolean.vala:166
+msgid "Comment"
+msgstr "Kommentar"
-#: ../src/data_imports/DataImports.vala:22
-msgid "Data Imports"
-msgstr "Data-importer"
+#: src/searches/SearchBoolean.vala:169
+msgid "Event name"
+msgstr "Begivenhedens navn"
-#. Send an empty job to the queue to mark the end of the import
-#: ../src/data_imports/DataImportsPluginHost.vala:65
-#: ../src/data_imports/DataImportsPluginHost.vala:78
-#, c-format
-msgid "%s Database"
-msgstr "Databasen %s"
+#: src/searches/SearchBoolean.vala:172
+msgid "File name"
+msgstr "Filnavn"
-#: ../src/data_imports/DataImportsPluginHost.vala:148
-#: ../src/data_imports/DataImportsPluginHost.vala:294
-#, c-format
-msgid "Importing from %s can't continue because an error occurred:"
-msgstr "Import fra %s kan ikke fortsætte, fordi der opstod en fejl:"
+#: src/searches/SearchBoolean.vala:175
+msgid "Media type"
+msgstr "Medietype"
-#: ../src/data_imports/DataImportsPluginHost.vala:151
-msgid "To try importing from another service, select one from the above menu."
-msgstr ""
-"For at forsøge at importere fra en anden tjeneste, så vælg én fra menuen "
-"ovenfor."
+#: src/searches/SearchBoolean.vala:178
+msgid "Flag state"
+msgstr "Flagstatus"
-#: ../src/data_imports/DataImportsUI.vala:10
-msgid ""
-"You do not have any data imports plugins enabled.\n"
-"\n"
-"In order to use the Import From Application functionality, you need to have "
-"at least one data imports plugin enabled. Plugins can be enabled in the "
-"Preferences dialog."
-msgstr ""
-"Du har ingen aktiverede udvidelsesmoduler til import af data.\n"
-"\n"
-"For at anvende funktionen Importér fra program, så skal du mindst have ét "
-"aktiveret udvidelsesmodul til import af data. Udvidelsesmoduler kan "
-"aktiveres i dialogvinduet Indstillinger."
+#: src/searches/SearchBoolean.vala:181
+msgid "Photo state"
+msgstr "Billedtilstand"
-#: ../src/data_imports/DataImportsUI.vala:100
-msgid "Database file:"
-msgstr "Database-fil:"
+#: src/searches/SearchBoolean.vala:184 src/SearchFilter.vala:833
+#: src/SearchFilter.vala:1117
+msgid "Rating"
+msgstr "Bedømmelse"
-#: ../src/data_imports/DataImportsUI.vala:112
-#: ../src/library/LibraryWindow.vala:899
-msgid "_Import"
-msgstr "_Importer"
+#: src/searches/SearchBoolean.vala:187
+msgid "Date"
+msgstr "Dato"
-#: ../src/data_imports/DataImportsUI.vala:216
-msgid "Import From Application"
-msgstr "Importér fra program"
+#: src/SearchFilter.vala:817
+msgid "★+ Rating"
+msgstr "Bedømmelse ★+"
-#: ../src/data_imports/DataImportsUI.vala:217
-msgid "Import media _from:"
-msgstr "Importér medie _fra:"
+#: src/SearchFilter.vala:820
+msgid "★★+ Rating"
+msgstr "Bedømmelse ★★+"
-#: ../src/data_imports/DataImportsUI.vala:394
-#: ../src/publishing/PublishingUI.vala:493
-msgid "_Close"
-msgstr "_Luk"
+#: src/SearchFilter.vala:823
+msgid "★★★+ Rating"
+msgstr "Bedømmelse ★★★+"
-#: ../src/db/DatabaseTable.vala:37
-#, c-format
-msgid "Unable to open/create photo database %s: error code %d"
-msgstr "Ikke i stand til at åbne/oprette fotodatabase %s: fejlkode %d"
+#: src/SearchFilter.vala:826
+msgid "★★★★+ Rating"
+msgstr "Bedømmelse ★★★★+"
-#: ../src/db/DatabaseTable.vala:46
-#, c-format
-msgid ""
-"Unable to write to photo database file:\n"
-" %s"
-msgstr "Kan ikke skrive til foto databasefil:%s"
+#: src/SearchFilter.vala:830
+msgid "★★★★★+ Rating"
+msgstr "Bedømmelse ★★★★★+"
-#: ../src/db/DatabaseTable.vala:48
+#: src/SearchFilter.vala:1067
#, c-format
-msgid ""
-"Error accessing database file:\n"
-" %s\n"
-"\n"
-"Error was: \n"
-"%s"
-msgstr ""
-"Fejl med at få tilgang til databasefil:\n"
-"%s \n"
-"\n"
-"Fejl var:\n"
-"%s"
+msgid "Error loading search bar UI: %s"
+msgstr "Fejl under indlæsning af brugerflade til søgebjælke: %s"
-#: ../src/direct/DirectPhotoPage.vala:46 ../src/library/LibraryWindow.vala:352
-msgid "_File"
-msgstr "_Fil"
+#. Ticket #3260 - Add a 'close' context menu to
+#. the searchbar.
+#. Prepare the close menu for use, but don't
+#. display it yet; we'll connect it to secondary
+#. click later on.
+#: src/SearchFilter.vala:1076
+msgid "Close"
+msgstr "Luk"
-#: ../src/direct/DirectPhotoPage.vala:51
-#: ../src/direct/DirectPhotoPage.vala:417
-msgid "_Save"
-msgstr "_Gem"
-
-#: ../src/direct/DirectPhotoPage.vala:52
-msgid "Save photo"
-msgstr "Gem billede"
-
-#: ../src/direct/DirectPhotoPage.vala:57
-msgid "Save _As..."
-msgstr "Gem _som..."
-
-#: ../src/direct/DirectPhotoPage.vala:58
-msgid "Save photo with a different name"
-msgstr "Gem billede med et andet navn"
-
-#: ../src/direct/DirectPhotoPage.vala:69
-msgid "Print the photo to a printer connected to your computer"
-msgstr "Udskriv billedet til en printer forbundet med din computer"
-
-#: ../src/direct/DirectPhotoPage.vala:73 ../src/library/LibraryWindow.vala:356
-msgid "_Edit"
-msgstr "_Rediger"
-
-#: ../src/direct/DirectPhotoPage.vala:77 ../src/library/LibraryWindow.vala:364
-msgid "_Photo"
-msgstr "_Billede"
-
-#: ../src/direct/DirectPhotoPage.vala:169
-#: ../src/library/LibraryWindow.vala:380
-msgid "_Help"
-msgstr "_Hjælp"
+#. Type label and toggles
+#: src/SearchFilter.vala:1082
+msgid "Type"
+msgstr "Type"
-#: ../src/direct/DirectPhotoPage.vala:227
-#, c-format
-msgid "%s does not exist."
-msgstr "%s findes ikke."
+#: src/SearchFilter.vala:1089
+msgid "Videos"
+msgstr "Videoer"
-#: ../src/direct/DirectPhotoPage.vala:229
-#, c-format
-msgid "%s is not a file."
-msgstr "%s er ikke en fil."
+#: src/SearchFilter.vala:1092
+msgid "RAW Photos"
+msgstr "RAW-billeder"
-#: ../src/direct/DirectPhotoPage.vala:231
-#, c-format
-msgid ""
-"%s does not support the file format of\n"
-"%s."
+#: src/SearchFilter.vala:1128
+msgid "Use a saved search to filter items in the current view"
msgstr ""
-"%s understøtter ikke filformatet for\n"
-"%s."
-
-#: ../src/direct/DirectPhotoPage.vala:417
-msgid "_Save a Copy"
-msgstr "_Gem en kopi"
-
-#: ../src/direct/DirectPhotoPage.vala:420
-#, c-format
-msgid "Lose changes to %s?"
-msgstr "Mist ændringer til %s?"
-
-#: ../src/direct/DirectPhotoPage.vala:421
-msgid "Close _without Saving"
-msgstr "Luk _uden at gemme"
-
-#: ../src/direct/DirectPhotoPage.vala:454
-#, c-format
-msgid "Error while saving to %s: %s"
-msgstr "Fejl under gemning til %s: %s"
-
-#: ../src/direct/DirectPhotoPage.vala:482
-#: ../src/direct/DirectPhotoPage.vala:503
-msgid "Save As"
-msgstr "Gem som"
-
-#: ../src/editing_tools/EditingTools.vala:665
-msgid "Return to current photo dimensions"
-msgstr "Gendan aktuelle billeddimensioner"
-
-#: ../src/editing_tools/EditingTools.vala:668
-msgid "Set the crop for this photo"
-msgstr "Angiv beskæring på dette billede"
-
-#: ../src/editing_tools/EditingTools.vala:680
-msgid "Pivot the crop rectangle between portrait and landscape orientations"
-msgstr "Drej beskæringsrektanglen mellem stående og liggende"
-
-#: ../src/editing_tools/EditingTools.vala:753
-msgid "Unconstrained"
-msgstr "Ubegrænset"
-
-#: ../src/editing_tools/EditingTools.vala:754
-msgid "Square"
-msgstr "Firkant"
-
-#: ../src/editing_tools/EditingTools.vala:755
-msgid "Screen"
-msgstr "Skærm"
-
-#: ../src/editing_tools/EditingTools.vala:757
-#: ../src/editing_tools/EditingTools.vala:760
-#: ../src/editing_tools/EditingTools.vala:770
-#: ../src/editing_tools/EditingTools.vala:780
-msgid "-"
-msgstr "-"
-
-#: ../src/editing_tools/EditingTools.vala:758
-msgid "SD Video (4 : 3)"
-msgstr "SD-video (4 : 3)"
-
-#: ../src/editing_tools/EditingTools.vala:759
-msgid "HD Video (16 : 9)"
-msgstr "HD-video (16 : 9)"
-
-#: ../src/editing_tools/EditingTools.vala:766
-msgid "Letter (8.5 x 11 in.)"
-msgstr "Letter (8.5 x 11 in.)"
-
-#: ../src/editing_tools/EditingTools.vala:768
-msgid "Tabloid (11 x 17 in.)"
-msgstr "Tabloid (11 x 17 in.)"
-
-#: ../src/editing_tools/EditingTools.vala:775
-msgid "A4 (210 x 297 mm)"
-msgstr "A4 (210 x 297 mm)"
-
-#: ../src/editing_tools/EditingTools.vala:779
-msgid "A3 (297 x 420 mm)"
-msgstr "A3 (297 x 420 mm)"
-
-#: ../src/editing_tools/EditingTools.vala:1905
-msgid "Close the red-eye tool"
-msgstr "Luk værktøjet til rødøje"
+"Brug en gemt søgning til at filtrere elementerne i den aktuelle visning"
-#: ../src/editing_tools/EditingTools.vala:1908
-msgid "Remove any red-eye effects in the selected region"
-msgstr "Fjern alle rødøjeeffekter i det valgte område"
-
-#: ../src/editing_tools/EditingTools.vala:2244
-#: ../src/editing_tools/StraightenTool.vala:102
-msgid "_Reset"
-msgstr "_Nulstil"
-
-#: ../src/editing_tools/EditingTools.vala:2266
-msgid "Saturation:"
-msgstr "Mætning:"
-
-#: ../src/editing_tools/EditingTools.vala:2274
-msgid "Tint:"
-msgstr "Nuance:"
-
-#: ../src/editing_tools/EditingTools.vala:2283
-msgid "Temperature:"
-msgstr "Temperatur:"
-
-#: ../src/editing_tools/EditingTools.vala:2291
-msgid "Shadows:"
-msgstr "Skygger:"
+#: src/SlideshowPage.vala:49 src/SlideshowPage.vala:183
+msgid "Settings"
+msgstr "Opsætning"
-#: ../src/editing_tools/EditingTools.vala:2299
-msgid "Highlights:"
-msgstr "Højdepunkter:"
+#. Set up toolbar
+#. add toolbar buttons
+#: src/SlideshowPage.vala:160
+msgid "Back"
+msgstr "Tilbage"
-#: ../src/editing_tools/EditingTools.vala:2353
-msgid "Reset Colors"
-msgstr "Nulstil farver"
+#: src/SlideshowPage.vala:162
+msgid "Go to the previous photo"
+msgstr "Gå til det forrige billede"
-#: ../src/editing_tools/EditingTools.vala:2353
-msgid "Reset all color adjustments to original"
-msgstr "Nulstil alle farvejusteringer til oprindelige farver"
+#: src/SlideshowPage.vala:167 src/SlideshowPage.vala:274
+msgid "Pause"
+msgstr "Pause"
-#: ../src/editing_tools/EditingTools.vala:2705
-msgid "Temperature"
-msgstr "Temperatur"
+#: src/SlideshowPage.vala:169 src/SlideshowPage.vala:275
+msgid "Pause the slideshow"
+msgstr "Sæt slideshow på pause"
-#: ../src/editing_tools/EditingTools.vala:2718
-msgid "Tint"
-msgstr "Nuance"
+#: src/SlideshowPage.vala:174
+msgid "Next"
+msgstr "Næste"
-#: ../src/editing_tools/EditingTools.vala:2731
-msgid "Saturation"
-msgstr "Mætning"
+#: src/SlideshowPage.vala:176
+msgid "Go to the next photo"
+msgstr "Gå til det næste billede"
-#: ../src/editing_tools/EditingTools.vala:2744
-msgid "Exposure"
-msgstr "Belysning"
+#: src/SlideshowPage.vala:184
+msgid "Change slideshow settings"
+msgstr "Ændr slideshowopsætning"
-#: ../src/editing_tools/EditingTools.vala:2757
-msgid "Shadows"
-msgstr "Skygger"
+#. An entire slideshow set might be missing, so check for a loop.
+#: src/SlideshowPage.vala:238
+msgid "All photo source files are missing."
+msgstr "Alle billedkildefiler mangler."
-#: ../src/editing_tools/EditingTools.vala:2770
-msgid "Highlights"
-msgstr "Højdepunkter"
+#: src/SlideshowPage.vala:270
+msgid "Play"
+msgstr "Afspil"
-#: ../src/editing_tools/EditingTools.vala:2780
-msgid "Contrast Expansion"
-msgstr "Kontrastudvidelse"
+#: src/SlideshowPage.vala:271
+msgid "Continue the slideshow"
+msgstr "Fortsæt slideshowet"
-#: ../src/editing_tools/StraightenTool.vala:99
-msgid "Angle:"
-msgstr "Vinkel:"
+#: src/slideshow/Slideshow.vala:22
+msgid "Slideshow Transitions"
+msgstr "Slideshowovergange"
-#: ../src/events/EventDirectoryItem.vala:83
-#, c-format
-msgid "%d Photo/Video"
-msgid_plural "%d Photos/Videos"
-msgstr[0] "%d Foto/Video"
-msgstr[1] "%d Fotos/Videoer"
+#: src/slideshow/TransitionEffects.vala:98
+msgid "(None)"
+msgstr "(Ingen)"
-#: ../src/events/EventPage.vala:129
-msgid "No Event"
-msgstr "Ingen begivenhed"
+#: src/slideshow/TransitionEffects.vala:287
+msgid "None"
+msgstr "Ingen"
-#: ../src/events/EventsDirectoryPage.vala:131
-msgid "Display the comment of each event"
-msgstr "Vis kommentaren for hver hændelse"
+#: src/slideshow/TransitionEffects.vala:339
+msgid "Random"
+msgstr "Tilfældig"
-#: ../src/events/EventsDirectoryPage.vala:155
-msgid "No events"
-msgstr "Ingen begivenheder"
+#: src/tags/Branch.vala:131
+msgid "Tags"
+msgstr "Mærker"
-#: ../src/events/EventsDirectoryPage.vala:159
-msgid "No events found"
-msgstr "Ingen fundne begivenheder"
+#: src/Tag.vala:830
+msgid "untitled"
+msgstr "unavngivet"
-#: ../src/events/EventsDirectoryPage.vala:230
-msgid "Events"
-msgstr "Hændelser"
+#. multiple videos
+#: src/VideoSupport.vala:507
+msgid "Export Videos"
+msgstr "Eksportér videoer"
-#: ../src/events/EventsDirectoryPage.vala:244
-msgid "Undated"
-msgstr "Uden dato"
+#: ui/collection.ui:33 ui/event.ui:281 ui/event.ui:470 ui/media.ui:281
+#: ui/photo_context.ui:30 ui/photo.ui:268 ui/tags.ui:281
+msgid "Toggle _Flag"
+msgstr "Sæt/fjern _flag"
-#: ../src/events/EventsDirectoryPage.vala:245
-msgid "%Y"
-msgstr "%Y"
+#: 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
+msgid "_Developer"
+msgstr "_Udvikler"
-#: ../src/events/EventsDirectoryPage.vala:246
-msgid "%B"
-msgstr "%B"
+#: ui/collection.ui:106 ui/event.ui:543 ui/photo_context.ui:113 ui/photo.ui:358
+msgid "Open with E_xternal Editor"
+msgstr "Åbn med e_ksternt redigeringsprogram"
-#: ../src/folders/Branch.vala:141
-msgid "Folders"
-msgstr "Mapper"
+#: 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
+msgid "View Eve_nt for Photo"
+msgstr "Se begive_nhed for billede"
-#: ../src/library/Branch.vala:37 ../ui/shotwell.glade.h:33
-msgid "Library"
-msgstr "Bibliotek"
+#: ui/direct.ui:5 ui/events_directory.ui:5 ui/event.ui:5 ui/import_queue.ui:5
+#: ui/import.ui:5 ui/media.ui:5 ui/offline.ui:5 ui/photo.ui:5 ui/tags.ui:5
+#: ui/top.ui:5 ui/trash.ui:5
+msgid "_File"
+msgstr "_Fil"
-#: ../src/library/ImportQueuePage.vala:8
-msgid "Importing..."
-msgstr "Importerer..."
+#: ui/direct.ui:13 ui/event.ui:17 ui/media.ui:17 ui/photo.ui:17 ui/tags.ui:17
+msgid "Save _As…"
+msgstr "Gem _som …"
-#: ../src/library/ImportQueuePage.vala:66
-msgid "_Stop Import"
-msgstr "_Stop import"
+#: ui/direct.ui:59 ui/events_directory.ui:71 ui/event.ui:99
+#: ui/import_queue.ui:38 ui/import.ui:74 ui/media.ui:99 ui/offline.ui:78
+#: ui/photo.ui:95 ui/tags.ui:99 ui/top.ui:15 ui/trash.ui:87
+msgid "_View"
+msgstr "_Vis"
-#: ../src/library/ImportQueuePage.vala:67
-msgid "Stop importing photos"
-msgstr "Stop importering af billeder"
+#: ui/direct.ui:81 ui/photo.ui:156
+msgid "Fit to _Page"
+msgstr "Tilpas _side"
-#: ../src/library/ImportQueuePage.vala:123
-msgid "Preparing to import..."
-msgstr "Forbereder til at importere ..."
+#: ui/direct.ui:86 ui/photo.ui:161
+msgid "Zoom _100%"
+msgstr "Zoom _100 %"
-#: ../src/library/ImportQueuePage.vala:150
-#, c-format
-msgid "Imported %s"
-msgstr "Importerede %s"
+#: ui/direct.ui:91 ui/photo.ui:166
+msgid "Zoom _200%"
+msgstr "Zoom _200 %"
-#: ../src/library/LastImportPage.vala:8
-msgid "Last Import"
-msgstr "Sidste import"
+#: ui/direct.ui:98 ui/photo.ui:187 ui/top.ui:20
+msgid "_Photo"
+msgstr "_Billede"
-#: ../src/library/LibraryWindow.vala:301
-msgid "_Import From Folder..."
-msgstr "_Importer fra mappe..."
+#: ui/direct.ui:101 ui/photo.ui:190
+msgid "_Previous Photo"
+msgstr "_Forrige billede"
-#: ../src/library/LibraryWindow.vala:302
-msgid "Import photos from disk to library"
-msgstr "Importer billeder fra harddisken til biblioteket"
+#: ui/direct.ui:105 ui/photo.ui:194
+msgid "_Next Photo"
+msgstr "_Næste billede"
-#: ../src/library/LibraryWindow.vala:309
-msgid "Import From _Application..."
-msgstr "Importér fra progr_am..."
+#: ui/direct.ui:131 ui/photo.ui:220
+msgid "T_ools"
+msgstr "_Værktøjer"
-#: ../src/library/LibraryWindow.vala:313
-msgid "Sort _Events"
-msgstr "Sorter _hændelser"
+#: 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
+msgid "_Frequently Asked Questions"
+msgstr "O_ftest stillede spørgsmål"
-#: ../src/library/LibraryWindow.vala:323
+#: 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
+msgid "_Report a Problem…"
+msgstr "_Rapportér et problem …"
+
+#: ui/events_directory.ui:8 ui/event.ui:8 ui/import_queue.ui:14 ui/import.ui:8
+#: ui/media.ui:8 ui/offline.ui:8 ui/photo.ui:8 ui/tags.ui:8 ui/trash.ui:8
+msgid "_Import from Folder…"
+msgstr "_Importér fra mappe …"
+
+#: ui/events_directory.ui:13 ui/event.ui:13 ui/import_queue.ui:19
+#: ui/import.ui:21 ui/media.ui:13 ui/offline.ui:13 ui/photo.ui:13 ui/tags.ui:13
+#: ui/trash.ui:13
+msgid "Import From _Application…"
+msgstr "Importér fra _program …"
+
+#: ui/events_directory.ui:19 ui/event.ui:34 ui/import_queue.ui:25
+#: ui/import.ui:27 ui/media.ui:34 ui/offline.ui:19 ui/photo.ui:42 ui/tags.ui:34
+#: ui/trash.ui:24 ui/trash.ui:234 ui/trash.ui:242
msgid "Empty T_rash"
-msgstr "Tøm sk_raldespanden"
+msgstr "Tøm _papirkurven"
-#: ../src/library/LibraryWindow.vala:324
-msgid "Delete all photos in the trash"
-msgstr "Slet alle billeder i skraldespanden"
-
-#: ../src/library/LibraryWindow.vala:329
-msgid "View Eve_nt for Photo"
-msgstr "Se begive_nhed for billede"
-
-#: ../src/library/LibraryWindow.vala:334
+#: ui/events_directory.ui:47 ui/event.ui:62 ui/import.ui:55 ui/media.ui:62
+#: ui/offline.ui:47 ui/tags.ui:62 ui/trash.ui:52
msgid "_Find"
msgstr "_Find"
-#: ../src/library/LibraryWindow.vala:335
-msgid "Find photos and videos by search criteria"
-msgstr "Find fotos og videoer med søgekriterier"
-
-#: ../src/library/LibraryWindow.vala:346 ../src/searches/Branch.vala:77
-#: ../src/sidebar/Tree.vala:194
-msgid "Ne_w Saved Search..."
-msgstr "N_y gemt søgning..."
-
-#: ../src/library/LibraryWindow.vala:368
-msgid "_Photos"
-msgstr "_Billeder"
+#: ui/events_directory.ui:51 ui/event.ui:66 ui/media.ui:66 ui/offline.ui:51
+#: ui/photo.ui:70 ui/search_sidebar_context.ui:6
+#: ui/sidebar_default_context.ui:6 ui/tags.ui:66 ui/trash.ui:56
+msgid "Ne_w Saved Search…"
+msgstr "N_y gemt søgning …"
-#: ../src/library/LibraryWindow.vala:372
-msgid "Even_ts"
-msgstr "_Hændelser"
-
-#: ../src/library/LibraryWindow.vala:391
+#: ui/events_directory.ui:74 ui/event.ui:102 ui/import_queue.ui:41
+#: ui/import.ui:77 ui/media.ui:102 ui/offline.ui:81 ui/photo.ui:98
+#: ui/tags.ui:102 ui/trash.ui:90
msgid "_Basic Information"
msgstr "_Grundlæggende information"
-#: ../src/library/LibraryWindow.vala:392
-msgid "Display basic information for the selection"
-msgstr "Vis grundlæggende information for markeringen"
-
-#: ../src/library/LibraryWindow.vala:397
+#: ui/events_directory.ui:79 ui/event.ui:107 ui/import.ui:82 ui/media.ui:107
+#: ui/offline.ui:86 ui/photo.ui:103 ui/tags.ui:107 ui/trash.ui:95
msgid "E_xtended Information"
msgstr "_Udvidet information"
-#: ../src/library/LibraryWindow.vala:398
-msgid "Display extended information for the selection"
-msgstr "Vis udvidet information for markeringen"
-
-#: ../src/library/LibraryWindow.vala:403
+#: ui/events_directory.ui:84 ui/event.ui:112 ui/import.ui:87 ui/media.ui:112
+#: ui/offline.ui:91 ui/tags.ui:112 ui/trash.ui:100
msgid "_Search Bar"
msgstr "_Søgebjælke"
-#: ../src/library/LibraryWindow.vala:404
-msgid "Display the search bar"
-msgstr "Vis søgebjælken"
-
-#: ../src/library/LibraryWindow.vala:409
+#: ui/events_directory.ui:89 ui/event.ui:117 ui/import.ui:92 ui/media.ui:117
+#: ui/offline.ui:96 ui/photo.ui:108 ui/tags.ui:117 ui/trash.ui:105
msgid "S_idebar"
msgstr "S_idebjælke"
-#: ../src/library/LibraryWindow.vala:410
-msgid "Display the sidebar"
-msgstr "Vis sidebjælken"
-
-#: ../src/library/LibraryWindow.vala:668
-msgid "Import From Folder"
-msgstr "Importer fra mappe"
-
-#: ../src/library/LibraryWindow.vala:737
-msgid "Empty Trash"
-msgstr "Tøm skraldespanden"
-
-#: ../src/library/LibraryWindow.vala:737
-msgid "Emptying Trash..."
-msgstr "Tømmer skraldespanden..."
-
-#: ../src/library/LibraryWindow.vala:896
-#, c-format
-msgid ""
-"Shotwell is configured to import photos to your home directory.\n"
-"We recommend changing this in <span weight=\"bold\">Edit %s Preferences</"
-"span>.\n"
-"Do you want to continue importing photos?"
-msgstr ""
-
-#: ../src/library/LibraryWindow.vala:899 ../ui/shotwell.glade.h:19
-msgid "Library Location"
-msgstr "Bibliotekets placering"
-
-#. TODO: Specify which directory/file.
-#: ../src/library/LibraryWindow.vala:912
-msgid "Photos cannot be imported from this directory."
-msgstr "Biller kan ikke blive importeret fra denne mappe."
-
-#: ../src/library/LibraryWindow.vala:1200
-#, c-format
-msgid "%s (%d%%)"
-msgstr "%s (%d%%)"
-
-#: ../src/library/LibraryWindow.vala:1244
-#: ../src/library/LibraryWindow.vala:1255
-msgid "Updating library..."
-msgstr "Opdaterer bibliotek ..."
-
-#: ../src/library/LibraryWindow.vala:1261
-msgid "Preparing to auto-import photos..."
-msgstr "Forbereder auto-import af billeder..."
-
-#: ../src/library/LibraryWindow.vala:1266
-msgid "Auto-importing photos..."
-msgstr "Auto-importerer billeder..."
-
-#: ../src/library/LibraryWindow.vala:1274
-msgid "Writing metadata to files..."
-msgstr "Skriver metadata til filer..."
-
-#: ../src/library/OfflinePage.vala:8
-msgid "Missing Files"
-msgstr "Manglende filer"
-
-#: ../src/library/OfflinePage.vala:106
-msgid "Deleting..."
-msgstr "Sletter..."
-
-#: ../src/library/TrashPage.vala:8
-msgid "Trash"
-msgstr "Skraldespanden"
-
-#: ../src/library/TrashPage.vala:108
-msgid "Trash is empty"
-msgstr "Affaldskurv er tom"
-
-#: ../src/library/TrashPage.vala:112
-msgid "Delete"
-msgstr "Slet"
-
-#: ../src/library/TrashPage.vala:113
-msgid "Deleting Photos"
-msgstr "Sletter billeder"
-
-#: ../src/main.vala:54
-#, c-format
-msgid ""
-"Your photo library is not compatible with this version of Shotwell. It "
-"appears it was created by Shotwell %s (schema %d). This version is %s "
-"(schema %d). Please use the latest version of Shotwell."
-msgstr ""
-"Dit fotobibliotek er ikke kompatibelt med denne version af Shotwell. Det "
-"ser ud til det blev oprettet af Shotwell %s (skema %d). Dette er version %s "
-"(skema %d). Brug venligst den nyeste version af Shotwell."
-
-#: ../src/main.vala:59
-#, c-format
-msgid ""
-"Shotwell was unable to upgrade your photo library from version %s (schema "
-"%d) to %s (schema %d). For more information please check the Shotwell Wiki "
-"at %s"
-msgstr ""
-"Shotwell var ude af stand til at opgradere dit fotobibliotek fra version %s "
-"(skema %d) til %s (skema %d). For mere information, se Shotwellwiki'en: %s"
+#: ui/events_directory.ui:94 ui/event.ui:122 ui/import.ui:97 ui/media.ui:122
+#: ui/offline.ui:101 ui/photo.ui:113 ui/tags.ui:122 ui/trash.ui:110
+msgid "T_oolbar"
+msgstr "_Værktøjsbjælke"
-#: ../src/main.vala:65
-#, c-format
-msgid ""
-"Your photo library is not compatible with this version of Shotwell. It "
-"appears it was created by Shotwell %s (schema %d). This version is %s "
-"(schema %d). Please clear your library by deleting %s and re-import your "
-"photos."
-msgstr ""
-"Dit fotobibliotek er ikke kompatibelt med denne version af Shotwell. Det "
-"ser ud til det blev oprettet af Shotwell %s (skema %d). Dette er version %s "
-"(skema %d). Brug venligst den nyeste version af Shotwell. Venligst rengør "
-"dit bibliotek ved at slette %s og re-importere dine billeder."
-
-#: ../src/main.vala:71
-#, c-format
-msgid "Unknown error attempting to verify Shotwell's database: %s"
-msgstr "Ukendt fejl under forsøg på at kontrollere Shotwells database: %s"
-
-#: ../src/main.vala:104
-msgid "Loading Shotwell"
-msgstr "Indlæser Shotwell"
+#: ui/events_directory.ui:101 ui/event.ui:134 ui/media.ui:134 ui/tags.ui:134
+msgid "_Comments"
+msgstr "_Kommentarer"
-#: ../src/main.vala:294
-msgid "Path to Shotwell's private data"
-msgstr "Sti til Shotwells private data"
+#: ui/events_directory.ui:108 ui/event.ui:243 ui/import_queue.ui:48
+#: ui/import.ui:166 ui/media.ui:243 ui/offline.ui:163 ui/photo.ui:127
+#: ui/tags.ui:243 ui/trash.ui:172
+msgid "Sort _Events"
+msgstr "Sortér _begivenheder"
-#: ../src/main.vala:294
-msgid "DIRECTORY"
-msgstr "KATALOG"
+#: ui/events_directory.ui:111 ui/event.ui:231 ui/event.ui:246
+#: ui/import_queue.ui:51 ui/import.ui:169 ui/media.ui:231 ui/media.ui:246
+#: ui/offline.ui:166 ui/photo.ui:130 ui/tags.ui:231 ui/tags.ui:246
+#: ui/trash.ui:175
+msgid "_Ascending"
+msgstr "_Stigende"
-#: ../src/main.vala:298
-msgid "Do not monitor library directory at runtime for changes"
-msgstr "Undlad at overvåge bibliotekskatalog for ændringer ved kørselstid"
+#: ui/events_directory.ui:116 ui/event.ui:236 ui/import_queue.ui:56
+#: ui/media.ui:236 ui/offline.ui:171 ui/tags.ui:236 ui/trash.ui:180
+msgid "D_escending"
+msgstr "_Faldende"
-#: ../src/main.vala:302
-msgid "Don't display startup progress meter"
-msgstr "Undlad at vise statusforløb for opstart"
+#: ui/events_directory.ui:132 ui/event.ui:377 ui/media.ui:371 ui/tags.ui:371
+#: ui/top.ui:30
+msgid "Even_ts"
+msgstr "Be_givenheder"
-#: ../src/main.vala:306
-msgid "Show the application's version"
-msgstr "Vis programmets version"
+#: ui/event.ui:74 ui/media.ui:74 ui/offline.ui:58 ui/offline.ui:207
+#: ui/photo.ui:77 ui/tags.ui:74
+msgid "R_emove from Library"
+msgstr "Fj_ern fra biblioteket"
-#. init GTK (valac has already called g_threads_init())
-#: ../src/main.vala:338
-msgid "[FILE]"
-msgstr "[FIL]"
+#: ui/event.ui:129 ui/import.ui:104 ui/media.ui:129 ui/tags.ui:129
+msgid "_Titles"
+msgstr "_Titler"
-#: ../src/main.vala:342
-#, c-format
-msgid "Run '%s --help' to see a full list of available command line options.\n"
-msgstr ""
-"Kør '%s --help' for at se en fuldstændig liste af tilgængelige kommandolinie "
-"kommandoer.\n"
+#: 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/top.ui:35
+msgid "Ta_gs"
+msgstr "_Mærker"
-#: ../src/photos/BmpSupport.vala:32
-msgid "BMP"
-msgstr "BMP"
+#: ui/event.ui:206 ui/media.ui:206 ui/tags.ui:206
+msgid "Sort _Photos"
+msgstr "Sortér _billeder"
-#: ../src/photos/JfifSupport.vala:84
-msgid "JPEG"
-msgstr "JPEG"
+#: ui/event.ui:209 ui/media.ui:209 ui/tags.ui:209
+msgid "By _Title"
+msgstr "Efter _titel"
-#: ../src/photos/JfifSupport.vala:185
-#, c-format
-msgid "Low (%d%%)"
-msgstr "Lav (%d%%)"
+#: ui/event.ui:214 ui/media.ui:214 ui/tags.ui:214
+msgid "By _Filename"
+msgstr "Efter _filnavn"
-#: ../src/photos/JfifSupport.vala:188
-#, c-format
-msgid "Medium (%d%%)"
-msgstr "Mellem (%d%%)"
+#: ui/event.ui:219 ui/media.ui:219 ui/tags.ui:219
+msgid "By Exposure _Date"
+msgstr "Efter _optagelsesdato"
-#: ../src/photos/JfifSupport.vala:191
-#, c-format
-msgid "High (%d%%)"
-msgstr "Høj (%d%%)"
+#: ui/event.ui:224 ui/media.ui:224 ui/tags.ui:224
+msgid "By _Rating"
+msgstr "Efter _bedømmelse"
-#: ../src/photos/JfifSupport.vala:194
-#, c-format
-msgid "Maximum (%d%%)"
-msgstr "Maksimum (%d%%)"
+#: ui/event.ui:251 ui/import.ui:174 ui/media.ui:251 ui/photo.ui:135
+#: ui/tags.ui:251
+msgid "_Descending"
+msgstr "_Faldende"
-#: ../src/photos/PngSupport.vala:30
-msgid "PNG"
-msgstr "PNG"
+#: ui/event.ui:275 ui/media.ui:275 ui/tags.ui:275 ui/top.ui:25
+msgid "_Photos"
+msgstr "_Billeder"
-#: ../src/photos/RawSupport.vala:134
-msgid "RAW"
-msgstr "RAW"
+#: ui/import_queue.ui:8
+msgid "_Stop Import"
+msgstr "_Stop import"
-#: ../src/photos/TiffSupport.vala:86
-msgid "TIFF"
-msgstr "TIFF"
+#: ui/import.ui:13 ui/import.ui:210
+msgid "Import _Selected"
+msgstr "Importér _valgte"
-#: ../src/publishing/Publishing.vala:16
-msgid "Publishing"
-msgstr "Udgivelse"
+#: ui/import.ui:17 ui/import.ui:214
+msgid "Import _All"
+msgstr "Importér a_lle"
-#: ../src/publishing/PublishingPluginHost.vala:11
-msgid "Preparing for upload"
-msgstr "Forbereder til upload"
+#: ui/set_background_dialog.ui:15
+msgid "Set as Desktop Background"
+msgstr "Angiv som skrivebordsbaggrund"
-#: ../src/publishing/PublishingPluginHost.vala:12
-#, c-format
-msgid "Uploading %d of %d"
-msgstr "Uploader %d af %d"
+#: ui/set_background_dialog.ui:77 ui/set_background_slideshow_dialog.ui:132
+msgid "Use for Desktop"
+msgstr "Anvend til skrivebordet"
-#: ../src/publishing/PublishingPluginHost.vala:81
-#, c-format
-msgid "Publishing to %s can't continue because an error occurred:"
-msgstr "Udgivelse til %s kan ikke fortsætte, da fejl opstod:"
+#: ui/set_background_dialog.ui:92 ui/set_background_slideshow_dialog.ui:148
+msgid "Use for Lock Screen"
+msgstr "Anvend til låseskærmen"
-#: ../src/publishing/PublishingPluginHost.vala:84
-msgid "To try publishing to another service, select one from the above menu."
-msgstr ""
-"For at forsøge udgivelse til en anden tjeneste, vælges en fra ovenstående "
-"menu."
+#: ui/set_background_slideshow_dialog.ui:15
+msgid "Set as Desktop Slideshow"
+msgstr "Angiv som slideshow på skrivebord"
-#: ../src/publishing/PublishingUI.vala:105
-msgid "The selected photos/videos were successfully published."
-msgstr "De valgte billeder/videoer blev publiseret succesfuldt."
+#: ui/set_background_slideshow_dialog.ui:33
+msgid "Show each photo for"
+msgstr "Vis hvert billede i"
-#: ../src/publishing/PublishingUI.vala:107
-msgid "The selected videos were successfully published."
-msgstr "De valgte videoer blev publiseret succesfuldt."
+#: ui/set_background_slideshow_dialog.ui:45
+msgid "period of time"
+msgstr "tidsrum"
-#: ../src/publishing/PublishingUI.vala:109
-msgid "The selected photos were successfully published."
-msgstr "De valgte billeder blev udgivet."
+#: ui/set_background_slideshow_dialog.ui:94
+msgid "Generate desktop background slideshow"
+msgstr "Opret slideshow til skrivebordets baggrund"
-#: ../src/publishing/PublishingUI.vala:112
-msgid "The selected video was successfully published."
-msgstr "Den valgte video blev udgivet med succes."
+#: ui/set_background_slideshow_dialog.ui:115
+msgid "How long each photo is shown on the desktop background"
+msgstr "Det tidsrum som hvert billede vises i på skrivebordets baggrund"
-#: ../src/publishing/PublishingUI.vala:114
-msgid "The selected photo was successfully published."
-msgstr "Det valgte foto blev udgivet med succes."
+#: ui/shotwell.ui:65
+msgid "white"
+msgstr "hvid"
-#: ../src/publishing/PublishingUI.vala:122
-msgid "Fetching account information..."
-msgstr "Indhenter kontoinformation..."
+#: ui/shotwell.ui:92
+msgid "black"
+msgstr "sort"
-#: ../src/publishing/PublishingUI.vala:128
-msgid "Logging in..."
-msgstr "Logger ind..."
+#: ui/shotwell.ui:123
+msgid "Display"
+msgstr "Fremvisning"
-#: ../src/publishing/PublishingUI.vala:183
-msgid "Publish Photos"
-msgstr "Udgiv billeder"
+#: ui/shotwell.ui:160
+msgid "_Background:"
+msgstr "_Baggrund:"
-#: ../src/publishing/PublishingUI.vala:184
-msgid "Publish photos _to:"
-msgstr "Udgiv billeder _til:"
+#: ui/shotwell.ui:175
+msgid "_Import photos to:"
+msgstr "_Importér billeder til:"
-#: ../src/publishing/PublishingUI.vala:186
-msgid "Publish Videos"
-msgstr "Publiser videoer"
+#: ui/shotwell.ui:186
+msgid "_Watch library directory for new files"
+msgstr "O_vervåg biblioteksmappe for nye filer"
-#: ../src/publishing/PublishingUI.vala:187
-msgid "Publish videos _to"
-msgstr "Publiser videoer _til"
+#: ui/shotwell.ui:209
+msgid "Importing"
+msgstr "Importerer"
-#: ../src/publishing/PublishingUI.vala:189
-msgid "Publish Photos and Videos"
-msgstr "Publiser billeder og videoer"
+#: ui/shotwell.ui:226
+msgid "_Directory structure:"
+msgstr "_Mappestruktur:"
-#: ../src/publishing/PublishingUI.vala:190
-msgid "Publish photos and videos _to"
-msgstr "Publiser billeder og videoer _til"
+#: ui/shotwell.ui:240
+msgid "Example:"
+msgstr "Eksempel:"
-#. There are no enabled publishing services that accept this media type,
-#. warn the user.
-#: ../src/publishing/PublishingUI.vala:383
-msgid "Unable to publish"
-msgstr "Ikke i stand til at publicere"
+#: ui/shotwell.ui:249
+msgid "R_ename imported files to lowercase"
+msgstr "O_mdøb importerede filer til små bogstaver"
-#: ../src/publishing/PublishingUI.vala:384
-#, c-format
-msgid ""
-"Shotwell cannot publish the selected items because you do not have a "
-"compatible publishing plugin enabled. To correct this, choose <b>Edit %s "
-"Preferences</b> and enable one or more of the publishing plugins on the "
-"<b>Plugins</b> tab."
-msgstr ""
-"Shotwell kan ikke udgive de valgte elementer, da du ikke har aktiveret "
-"udvidelser som er kompatible. For at korrigere dette, så vælg <b>Redigér "
-"indstillinger for %s</b> og aktivér én eller flere af udgivelsesmodulerne i "
-"fanen <b>Udvidelsesmoduler</b>."
+#: ui/shotwell.ui:271
+msgid "Metadata"
+msgstr "Metadata"
-#: ../src/searches/Branch.vala:68
-msgid "Saved Searches"
-msgstr "Gemte søgninger"
+#: ui/shotwell.ui:284
+msgid "Write tags, titles, and other _metadata to photo files"
+msgstr "Skriv mærker, titler og anden _metadata til billedfiler"
-#. Ordering must correspond with SearchConditionText.Context
-#: ../src/searches/SavedSearchDialog.vala:169
-msgid "contains"
-msgstr "indeholder"
+#: ui/shotwell.ui:306
+msgid "RAW Developer"
+msgstr "RAW-udvikler"
-#. Ordering must correspond with Context
-#: ../src/searches/SavedSearchDialog.vala:170
-#: ../src/searches/SavedSearchDialog.vala:497
-msgid "is exactly"
-msgstr "er nøjaktig"
+#: ui/shotwell.ui:323
+msgid "De_fault:"
+msgstr "S_tandard:"
-#: ../src/searches/SavedSearchDialog.vala:171
-msgid "starts with"
-msgstr "starter med"
+#: ui/shotwell.ui:377
+msgid "_Pattern:"
+msgstr "M_ønster:"
-#: ../src/searches/SavedSearchDialog.vala:172
-msgid "ends with"
-msgstr "slutter med"
+#: ui/shotwell.ui:439
+msgid "E_xternal photo editor:"
+msgstr "E_ksternt billedbehandlingsprogram:"
-#: ../src/searches/SavedSearchDialog.vala:173
-msgid "does not contain"
-msgstr "indeholder ikke"
+#: ui/shotwell.ui:456
+msgid "External _RAW editor:"
+msgstr "Ekstern _RAW editor:"
-#: ../src/searches/SavedSearchDialog.vala:174
-#: ../src/searches/SavedSearchDialog.vala:501
-msgid "is not set"
-msgstr "er ikke sat"
+#: ui/shotwell.ui:517
+msgid "External Editors"
+msgstr "Eksterne redigeringsprogrammer"
-#. Ordering must correspond with SearchConditionMediaType.Context
-#: ../src/searches/SavedSearchDialog.vala:245
-#: ../src/searches/SavedSearchDialog.vala:376
-#: ../src/searches/SavedSearchDialog.vala:441
-msgid "is"
-msgstr "er"
+#: ui/shotwell.ui:542
+msgid "Plugins"
+msgstr "Udvidelsesmoduler"
-#: ../src/searches/SavedSearchDialog.vala:246
-msgid "is not"
-msgstr "er ikke"
+#: ui/shotwell.ui:583
+msgid "<b>Printed Image Size</b>"
+msgstr "<b>Billedstørrelse for udskrift</b>"
-#. Ordering must correspond with SearchConditionMediaType.MediaType
-#: ../src/searches/SavedSearchDialog.vala:252
-msgid "any photo"
-msgstr "et hvilket som helst foto"
+#: ui/shotwell.ui:600
+msgid "Use a _standard size:"
+msgstr "Brug en _standardstørrelse:"
-#: ../src/searches/SavedSearchDialog.vala:253
-msgid "a raw photo"
-msgstr "et raw billede"
+#: ui/shotwell.ui:643
+msgid "Use a c_ustom size:"
+msgstr "Brug en _tilpasset størrelse:"
-#: ../src/searches/SavedSearchDialog.vala:254
-msgid "a video"
-msgstr "en video"
+#: ui/shotwell.ui:731
+msgid "_Match photo aspect ratio"
+msgstr "_Afbalancér dimensionsforhold for billede"
-#: ../src/searches/SavedSearchDialog.vala:308
-msgid "has"
-msgstr "har"
+#: ui/shotwell.ui:755
+msgid "_Autosize:"
+msgstr "_Auto-størrelse:"
-#: ../src/searches/SavedSearchDialog.vala:309
-msgid "has no"
-msgstr "har ingen"
+#: ui/shotwell.ui:795
+msgid "<b>Titles</b>"
+msgstr "<b>Titler</b>"
-#: ../src/searches/SavedSearchDialog.vala:314
-msgid "modifications"
-msgstr "modifikationer"
+#: ui/shotwell.ui:812
+msgid "Print image _title"
+msgstr "Udskriv billed_titel"
-#: ../src/searches/SavedSearchDialog.vala:315
-msgid "internal modifications"
-msgstr "interne modifikationer"
+#: ui/shotwell.ui:855
+msgid "<b>Pixel Resolution</b>"
+msgstr "<b>Opløsning i billedpunkter</b>"
-#: ../src/searches/SavedSearchDialog.vala:316
-msgid "external modifications"
-msgstr "eksterne modifikationer"
+#: ui/shotwell.ui:875
+msgid "_Output photo at:"
+msgstr "_Send billede til:"
-#. Ordering must correspond with SearchConditionFlagged.State
-#: ../src/searches/SavedSearchDialog.vala:370
-msgid "flagged"
-msgstr "mærkat"
+#: ui/shotwell.ui:909
+msgid "pixels per inch"
+msgstr "billedpunkter per tomme"
-#: ../src/searches/SavedSearchDialog.vala:371
-msgid "not flagged"
-msgstr "uden mærkat"
+#: ui/shotwell.ui:949
+msgid "_Name of search:"
+msgstr "Søgningens _navn:"
-#: ../src/searches/SavedSearchDialog.vala:434
-msgid "and higher"
-msgstr "og højere"
+#: ui/shotwell.ui:1003
+msgid "_Match"
+msgstr "_Find tilsvarende"
-#: ../src/searches/SavedSearchDialog.vala:435
-msgid "only"
-msgstr "kun"
+#: ui/shotwell.ui:1030
+msgid "of the following:"
+msgstr "af følgende:"
-#: ../src/searches/SavedSearchDialog.vala:436
-msgid "and lower"
-msgstr "og lavere"
+#: ui/shotwell.ui:1111
+msgid "label"
+msgstr "etiket"
-#: ../src/searches/SavedSearchDialog.vala:498
-msgid "is after"
-msgstr "er efter"
+#: ui/shotwell.ui:1262
+msgid "_Delay:"
+msgstr "_Varighed:"
-#: ../src/searches/SavedSearchDialog.vala:499
-msgid "is before"
-msgstr "er før"
+#: ui/shotwell.ui:1276
+msgid "_Transition effect:"
+msgstr "_Overgangseffekt:"
-#: ../src/searches/SavedSearchDialog.vala:500
-msgid "is between"
-msgstr "er mellem"
+#: ui/shotwell.ui:1290
+msgid "Transition d_elay:"
+msgstr "Varighed af o_vergang:"
-#: ../src/searches/SavedSearchDialog.vala:513
-msgid "and"
-msgstr "og"
+#: ui/shotwell.ui:1300
+msgid "Show t_itle"
+msgstr "Vis t_itel"
-#: ../src/searches/SavedSearchDialog.vala:720
-msgid "any"
-msgstr "enhver"
+#: ui/shotwell.ui:1375 ui/shotwell.ui:1386
+msgid "seconds"
+msgstr "sekunder"
-#: ../src/searches/SavedSearchDialog.vala:721
-msgid "all"
-msgstr "alle"
+#: ui/sidebar_default_context.ui:11 ui/tag_sidebar_context.ui:6
+msgid "New _Tag…"
+msgstr "Nyt _mærke …"
-#: ../src/searches/SavedSearchDialog.vala:722
-msgid "none"
-msgstr "ingen"
+#: ui/trash.ui:285
+msgid "Delete all photos in the trash"
+msgstr "Slet alle billeder i papirkurven"
-#: ../src/searches/SearchBoolean.vala:157
-msgid "Any text"
-msgstr "Hvilken som helst tekst"
+#, fuzzy
+#~ msgid "A file required for publishing is unavailable. Publishing to "
+#~ msgstr ""
+#~ "En fil som kræves for at udgive mangler. Udgivelse til Flickr kan ikke "
+#~ "fortsætte."
-#: ../src/searches/SearchBoolean.vala:160
-msgid "Title"
-msgstr "Titel"
+#~ msgid "Login"
+#~ msgstr "Log ind"
-#: ../src/searches/SearchBoolean.vala:163
-msgid "Tag"
-msgstr "Mærke"
+#, fuzzy
+#~ msgid "you are logged in rajce as $name"
+#~ msgstr ""
+#~ "Du er logget ind på Facebook som %s.\n"
+#~ "\n"
-#: ../src/searches/SearchBoolean.vala:166
-msgid "Comment"
-msgstr "Kommentar"
+#, fuzzy
+#~ msgid "$mediatype will appear in"
+#~ msgstr "Video vil blive vist i:"
-#: ../src/searches/SearchBoolean.vala:169
-msgid "Event name"
-msgstr "Begivenhedens navn"
+#~ msgid "Play a slideshow"
+#~ msgstr "Afspil et diasshow"
-#: ../src/searches/SearchBoolean.vala:172
-msgid "File name"
-msgstr "Filnavn"
+#~ msgid "Save Details..."
+#~ msgstr "Gem detaljer..."
-#: ../src/searches/SearchBoolean.vala:175
-msgid "Media type"
-msgstr "Medietype"
+#~ msgid "_Modify original files"
+#~ msgstr "_Modifiser originale filer"
-#: ../src/searches/SearchBoolean.vala:178
-msgid "Flag state"
-msgstr "Mærkatstatus"
+#~ msgid "Increase the magnification of the thumbnails"
+#~ msgstr "Vis større miniaturebiller"
-#: ../src/searches/SearchBoolean.vala:181
-msgid "Photo state"
-msgstr "Billedtilstand"
+#~ msgid "Decrease the magnification of the thumbnails"
+#~ msgstr "Vis mindre miniaturebilleder"
-#: ../src/searches/SearchBoolean.vala:187
-msgid "Date"
-msgstr "Dato"
+#~ msgid "_Play Video"
+#~ msgstr "_Afspil video"
-#: ../src/sidebar/Tree.vala:198
-msgid "New _Tag..."
-msgstr "Nyt _mærket..."
+#~ msgid "Open the selected videos in the system video player"
+#~ msgstr "Åbn de valgte videoer i systemets videoafspiller"
-#: ../src/slideshow/Slideshow.vala:22
-msgid "Slideshow Transitions"
-msgstr "Overgang for diasshow"
+#~ msgid "Display the title of each photo"
+#~ msgstr "Vis titlen på hvert billede"
-#: ../src/slideshow/TransitionEffects.vala:98
-msgid "(None)"
-msgstr "(Ingen)"
+#~ msgid "Display the comment of each photo"
+#~ msgstr "Vis kommentaren for hvert billede"
-#: ../src/slideshow/TransitionEffects.vala:287
-msgid "None"
-msgstr "Ingen"
+#~ msgid "Sort photos by exposure date"
+#~ msgstr "Sorter billeder efter belysningsdato"
-#: ../src/slideshow/TransitionEffects.vala:339
-msgid "Random"
-msgstr "Tilfældig"
+#~ msgid "Sort photos by rating"
+#~ msgstr "Sorter billeder efter bedømmelse"
-#: ../src/tags/Branch.vala:127
-msgid "Tags"
-msgstr "Mærker"
+#~ msgid "Sort photos in a descending order"
+#~ msgstr "Sorter billeder i faldende orden"
-#: ../ui/set_background_dialog.glade.h:1
-#, fuzzy
-msgid "Set as Desktop Background"
-msgstr "Angiv som skrivebords_baggrund"
+#~ msgid "Previous Photo"
+#~ msgstr "Forrige billede"
-#: ../ui/set_background_dialog.glade.h:2
-#: ../ui/set_background_slideshow_dialog.glade.h:6
-msgid "Use for Desktop"
-msgstr ""
+#~ msgid "Next Photo"
+#~ msgstr "Næste billede"
-#: ../ui/set_background_dialog.glade.h:3
-#: ../ui/set_background_slideshow_dialog.glade.h:7
-msgid "Use for Lock Screen"
-msgstr ""
+#~ msgid "Increase the magnification of the photo"
+#~ msgstr "Øg forstørrelsen af billedet"
-#: ../ui/set_background_slideshow_dialog.glade.h:1
-msgid "Set as Desktop Slideshow"
-msgstr "Sæt som diasshow på skrivebord"
+#~ msgid "Decrease the magnification of the photo"
+#~ msgstr "Formindsk forstørrelsen af billedet"
-#: ../ui/set_background_slideshow_dialog.glade.h:2
-msgid "Show each photo for"
-msgstr "Vis hvert foto i"
+#~ msgid "Zoom the photo to fit on the screen"
+#~ msgstr "Zoom billedet så det passer til skærmen"
-#: ../ui/set_background_slideshow_dialog.glade.h:3
-msgid "period of time"
-msgstr "tidsrum"
+#~ msgid "Zoom the photo to 100% magnification"
+#~ msgstr "Zoom billedet til 100 %"
-#: ../ui/set_background_slideshow_dialog.glade.h:4
-msgid "Generate desktop background slideshow"
-msgstr "Fremstil diasshow til skrivebordets baggrund"
+#~ msgid "Zoom the photo to 200% magnification"
+#~ msgstr "Zoom billedet til 200 %"
-#: ../ui/set_background_slideshow_dialog.glade.h:5
-msgid "How long each photo is shown on the desktop background"
-msgstr "Det tidsrum som hvert foto vises på skrivebordets baggrund"
+#~ msgid "Set as _Desktop Slideshow..."
+#~ msgstr "Sæt som _Desktop Slideshow..."
-#: ../ui/shotwell.glade.h:1
-msgid "Search"
-msgstr "Søgning"
+#~ msgid "Re_name Event..."
+#~ msgstr "_Omdøb hændelse..."
-#: ../ui/shotwell.glade.h:2
-msgid "_Name of search:"
-msgstr "Søgningens _navn:"
+#~ msgid "_Export..."
+#~ msgstr "_Eksporterer..."
-#: ../ui/shotwell.glade.h:3
-msgid "_Match"
-msgstr "_Find tilsvarende"
+#~ msgid "Pu_blish..."
+#~ msgstr "Ud_giv..."
-#: ../ui/shotwell.glade.h:4
-msgid "of the following:"
-msgstr "af følgende:"
+#~ msgid "Edit _Title..."
+#~ msgstr "Redigér _title..."
-#: ../ui/shotwell.glade.h:5
-msgid "<b>Printed Image Size</b>"
-msgstr "<b>Billedstørrelse for udskrift</b>"
+#~ msgid "Edit _Comment..."
+#~ msgstr "Redigér _kommentar..."
-#: ../ui/shotwell.glade.h:6
-msgid "Use a _standard size:"
-msgstr "Brug en _standardstørrelse:"
+#~ msgid "Edit Event _Comment..."
+#~ msgstr "Redigér _kommentar for hændelse..."
-#: ../ui/shotwell.glade.h:7
-msgid "Use a c_ustom size:"
-msgstr "Brug en _tilpasset størrelse:"
+#~ msgid "_Adjust Date and Time..."
+#~ msgstr "_Juster dato og tid..."
-#: ../ui/shotwell.glade.h:8
-msgid "_Match photo aspect ratio"
-msgstr "_Afbalancer dimensionsforhold for billede"
+#~ msgid "Add _Tags..."
+#~ msgstr "Tilføj _mærker..."
-#: ../ui/shotwell.glade.h:9
-msgid "_Autosize:"
-msgstr "_Auto-størrelse:"
+#~ msgid "_Add Tags..."
+#~ msgstr "_Tilføj mærker..."
-#: ../ui/shotwell.glade.h:10
-msgid "<b>Titles</b>"
-msgstr "<b>Titler</b>"
+#~ msgid "Send _To..."
+#~ msgstr "Send _til..."
-#: ../ui/shotwell.glade.h:11
-msgid "Print image _title"
-msgstr "Udskriv billed_titel"
+#~ msgid "Send T_o..."
+#~ msgstr "Send t_il..."
-#: ../ui/shotwell.glade.h:12
-msgid "<b>Pixel Resolution</b>"
-msgstr "<b>Opløsning i billedpunkter</b>"
+#~ msgid "_Find..."
+#~ msgstr "_Find..."
-#: ../ui/shotwell.glade.h:13
-msgid "_Output photo at:"
-msgstr "_Send billede til:"
+#~ msgid "Modif_y Tags..."
+#~ msgstr "_Ændre mærker..."
-#: ../ui/shotwell.glade.h:14
-msgid "pixels per inch"
-msgstr "billedpunkter per tomme"
+#~ msgid "Tag Photos as \"%s\""
+#~ msgstr "Mærk billede som \"%s\""
-#: ../ui/shotwell.glade.h:16
-msgid "Shotwell Preferences"
-msgstr "Shotwell Præferancer"
+#~ msgid "Tag the selected photos as \"%s\""
+#~ msgstr "Mærk de udvalgte billeder som \"%s\""
-#: ../ui/shotwell.glade.h:17
-msgid "white"
-msgstr "hvid"
+#~ msgid "Remove Tag \"%s\" From _Photos"
+#~ msgstr "_Fjern mærke \"%s\" fra billeder"
-#: ../ui/shotwell.glade.h:18
-msgid "black"
-msgstr "sort"
+#~ msgid "Remove Tag \"%s\" From Photos"
+#~ msgstr "Fjern mærke \"%s\" fra billeder"
-#: ../ui/shotwell.glade.h:20
-msgid "_Watch library directory for new files"
-msgstr "Overvåg bibliotekskataloger for nye filer"
+#~ msgid "_Edit..."
+#~ msgstr "R_edigér..."
-#: ../ui/shotwell.glade.h:21
-msgid "Metadata"
-msgstr "Metadata"
+#~ msgid "%-I:%M %p"
+#~ msgstr "%-H:%M"
-#: ../ui/shotwell.glade.h:22
-msgid "Write tags, titles, and other _metadata to photo files"
-msgstr "Skriv mærker, titler og anden metadata til fotofiler"
+#~ msgid "%-I:%M:%S %p"
+#~ msgstr "%-H:%M:%S"
-#: ../ui/shotwell.glade.h:23
-msgid "Display"
-msgstr "Fremvisning"
+#~ msgid "RAW photos"
+#~ msgstr "RAW-fotos"
-#: ../ui/shotwell.glade.h:24
-msgid "_Import photos to:"
-msgstr "_Importer billeder til:"
+#~ msgid "Import the selected photos into your library"
+#~ msgstr "Importer de valgte billeder til dit bibliotek"
-#: ../ui/shotwell.glade.h:25
-msgid "_Background:"
-msgstr "_Baggrund:"
+#~ msgid "Import all the photos into your library"
+#~ msgstr "Importere alle billeder ind i dit bibliotek"
-#: ../ui/shotwell.glade.h:26
-msgid "Importing"
-msgstr "Importerer"
+#~ msgid "Save photo"
+#~ msgstr "Gem billede"
-#: ../ui/shotwell.glade.h:27
-msgid "_Directory structure:"
-msgstr "Katalogstruktur:"
+#~ msgid "Save _As..."
+#~ msgstr "Gem _som..."
-#: ../ui/shotwell.glade.h:28
-msgid "_Pattern:"
-msgstr "Mønster"
+#~ msgid "Save photo with a different name"
+#~ msgstr "Gem billede med et andet navn"
-#: ../ui/shotwell.glade.h:29
-msgid "Example:"
-msgstr "Eksempel:"
+#~ msgid "Print the photo to a printer connected to your computer"
+#~ msgstr "Udskriv billedet til en printer forbundet med din computer"
-#: ../ui/shotwell.glade.h:30
-msgid "R_ename imported files to lowercase"
-msgstr "Omdøb importerede filer til minuskler"
+#~ msgid "Display the comment of each event"
+#~ msgstr "Vis kommentaren for hver hændelse"
-#: ../ui/shotwell.glade.h:31
-msgid "RAW Developer"
-msgstr "RAW-udvikler"
+#~ msgid "Importing..."
+#~ msgstr "Importerer..."
-#: ../ui/shotwell.glade.h:32
-msgid "De_fault:"
-msgstr "S_tandard:"
+#~ msgid "Stop importing photos"
+#~ msgstr "Stop importering af billeder"
-#: ../ui/shotwell.glade.h:34
-msgid "E_xternal photo editor:"
-msgstr "E_kstern billedbehandlingsprogram:"
+#~ msgid "Preparing to import..."
+#~ msgstr "Forbereder til at importere ..."
-#: ../ui/shotwell.glade.h:35
-msgid "External _RAW editor:"
-msgstr "Ekstern _RAW editor:"
+#~ msgid "_Import From Folder..."
+#~ msgstr "_Importer fra mappe..."
-#: ../ui/shotwell.glade.h:36
-msgid "External Editors"
-msgstr "Eksterne Editorer"
+#~ msgid "Import photos from disk to library"
+#~ msgstr "Importer billeder fra harddisken til biblioteket"
-#: ../ui/shotwell.glade.h:37
-msgid "Plugins"
-msgstr "Udvidelsesmoduler"
+#~ msgid "Import From _Application..."
+#~ msgstr "Importér fra progr_am..."
-#: ../ui/shotwell.glade.h:38
-msgid "_Delay:"
-msgstr "Forsinkelse:"
+#~ msgid "Find photos and videos by search criteria"
+#~ msgstr "Find fotos og videoer med søgekriterier"
-#: ../ui/shotwell.glade.h:39
-msgid "_Transition effect:"
-msgstr "Overgangseffekt:"
+#~ msgid "Display basic information for the selection"
+#~ msgstr "Vis grundlæggende information for markeringen"
-#: ../ui/shotwell.glade.h:40
-msgid "Transition d_elay:"
-msgstr "Forsinkelse i overgang:"
+#~ msgid "The selected videos were successfully published."
+#~ msgstr "De valgte videoer blev publiseret succesfuldt."
-#: ../ui/shotwell.glade.h:41
-msgid "Show t_itle"
-msgstr "Vis t_itel"
+#~ msgid "The selected photos were successfully published."
+#~ msgstr "De valgte billeder blev udgivet."
-#: ../ui/shotwell.glade.h:42
-msgid "seconds"
-msgstr "sekunder"
+#~ msgid "Shotwell Preferences"
+#~ msgstr "Shotwell Præferancer"
diff --git a/po/de.gmo b/po/de.gmo
index f5c5947..736aa1b 100644
--- a/po/de.gmo
+++ b/po/de.gmo
Binary files differ
diff --git a/po/de.po b/po/de.po
index 0a1e24e..ae56e72 100644
--- a/po/de.po
+++ b/po/de.po
@@ -5,61 +5,60 @@
#
#
# Translators:
-# Adolfo Jayme Barrientos <fitoschido@ubuntu.com>, 2013
-# Christian <Christian.Kirbach@googlemail.com>, 2011
-# Christoph Brill <egore911@googlemail.com>, 2013
-# jonasbb <eberhardtjonas@aol.com>, 2011, 2012
-# Eduard Gotwig <eduardgotwig@gmail.com>, 2012
-# filmor <filmor@gmail.com>, 2011
-# Henne91 <Hendrik.Knackstedt@t-online.de>, 2011-2012
-# Hendrik Richter <hendrikr@gnome.org>, 2011
-# hpeters <hpeters@redhat.com>, 2013
-# Jan-Christoph Borchardt <hey@jancborchardt.net>, 2011
-# JavaJens <javajens@gmail.com>, 2013
-# johanneswilm <johanneswilm@gmail.com>, 2011
-# juko <juko@kofler.bz.it>, 2011
-# Konstantin Weitz <>, 2012
-# informatikus <lennart.vn@gmail.com>, 2012
-# fmms <mail@felixmoeller.de>, 2013
-# marc86 <schuetz.marc@gmx.de>, 2013
-# Martin Weißhaupt <mweisshaupt1988@googlemail.com>, 2011
-# Peter Pall <gunter@peterpall.de>, 2011
-# Rainer <rgromans@redhat.com>, 2013
-# verayin <vera@yorba.org>, 2011
-# Alexander Wilms <f.alexander.wilms@googlemail.com>, 2012
-# jonasbb <eberhardtjonas@aol.com>, 2011, 2012
-# Eduard Gotwig <eduardgotwig@gmail.com>, 2012
-# Henne91 <Hendrik.Knackstedt@t-online.de>, 2012
-# Jan-Christoph Borchardt <hey@jancborchardt.net>, 2011
-# Hendrik91 <kn.hendrik@gmail.com>, 2012
-# informatikus <lennart.vn@gmail.com>, 2012
-# lsbeeler <lucas@yorba.org>, 2011
-# Typhon <raubkatze91@web.de>, 2012
-# Thomas Zach <sabaot.f@gmail.com>, 2012
+#
+# Adolfo Jayme Barrientos <fitoschido@ubuntu.com>, 2013.
+# Christian <Christian.Kirbach@googlemail.com>, 2011.
+# Christoph Brill <egore911@googlemail.com>, 2013.
+# jonasbb <eberhardtjonas@aol.com>, 2011, 2012.
+# Eduard Gotwig <eduardgotwig@gmail.com>, 2012.
+# filmor <filmor@gmail.com>, 2011.
+# Henne91 <Hendrik.Knackstedt@t-online.de>, 2011-2012.
+# Hendrik Richter <hendrikr@gnome.org>, 2011.
+# hpeters <hpeters@redhat.com>, 2013.
+# Jan-Christoph Borchardt <hey@jancborchardt.net>, 2011.
+# JavaJens <javajens@gmail.com>, 2013.
+# johanneswilm <johanneswilm@gmail.com>, 2011.
+# juko <juko@kofler.bz.it>, 2011.
+# Konstantin Weitz <>, 2012.
+# informatikus <lennart.vn@gmail.com>, 2012.
+# fmms <mail@felixmoeller.de>, 2013.
+# marc86 <schuetz.marc@gmx.de>, 2013.
+# Martin Weißhaupt <mweisshaupt1988@googlemail.com>, 2011.
+# Peter Pall <gunter@peterpall.de>, 2011.
+# Rainer <rgromans@redhat.com>, 2013.
+# verayin <vera@yorba.org>, 2011.
+# Alexander Wilms <f.alexander.wilms@googlemail.com>, 2012.
+# Henne91 <Hendrik.Knackstedt@t-online.de>, 2012.
+# Hendrik91 <kn.hendrik@gmail.com>, 2012.
+# lsbeeler <lucas@yorba.org>, 2011.
+# Typhon <raubkatze91@web.de>, 2012.
+# Thomas Zach <sabaot.f@gmail.com>, 2012.
# Wolfgang Stöggl <c72578@yahoo.de>, 2014.
# Mario Blättermann <mario.blaettermann@gmail.com>, 2016.
# Bernd Homuth <dev@hmt.im>, 2016.
# Benedikt M. Thoma <gnome@thomba.net>, 2016.
-#
+# Paul Seyfert <pseyfert@mathphys.fsk.uni-heidelberg.de>, 2016.
msgid ""
msgstr ""
"Project-Id-Version: master\n"
-"Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?"
-"product=shotwell&keywords=I18N+L10N&component=Internationalization\n"
-"POT-Creation-Date: 2016-10-18 08:41+0000\n"
-"PO-Revision-Date: 2016-10-30 19:08+0100\n"
+"Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?product=shotwell"
+"&keywords=I18N+L10N&component=Internationalization\n"
+"POT-Creation-Date: 2016-11-20 22:54+0000\n"
+"PO-Revision-Date: 2016-11-22 12:15+0100\n"
"Last-Translator: Mario Blättermann <mario.blaettermann@gmail.com>\n"
-"Language-Team: Deutsch <gnome-de@gnome.org>\n"
+"Language-Team: German <gnome-de@gnome.org>\n"
"Language: de\n"
"MIME-Version: 1.0\n"
"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.11\n"
+"X-Generator: Lokalize 2.0\n"
#: misc/shotwell.appdata.xml.in:8 misc/shotwell.desktop.in.in:4
#: plugins/shotwell-publishing-extras/GalleryConnector.vala:115
-#: src/MediaPage.vala:435 src/photos/RawSupport.vala:300
+#: src/photos/RawSupport.vala:300 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
msgid "Shotwell"
msgstr "Shotwell"
@@ -1422,11 +1421,12 @@ msgstr ""
msgid "Visit the Shotwell home page"
msgstr "Die Shotwell-Webseite besuchen"
-#: plugins/common/Resources.vala:31 src/AppWindow.vala:679
+#: plugins/common/Resources.vala:31 src/AppWindow.vala:602
msgid "translator-credits"
msgstr ""
-"Christian Kirbach <Christian.Kirbach@gmail.com>, 2014, 2015, 2016\n"
-"Mario Blättermann <mario.blaettermann@gmail.com>"
+"Christian Kirbach <Christian.Kirbach@gmail.com>\n"
+"Mario Blättermann <mario.blaettermann@gmail.com>\n"
+"Paul Seyfert <pseyfert@mathphys.fsk.uni-heidelberg.de>"
#. Possible error message when a site presents a bad certificate.
#: plugins/common/RESTSupport.vala:202
@@ -1491,7 +1491,7 @@ msgstr ""
"Rechners."
#: plugins/common/RESTSupport.vala:509
-#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:958
+#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:959
msgid "A temporary file needed for publishing is unavailable"
msgstr ""
"Eine temporäre Datei, die für das Veröffentlichen benötigt wird, ist nicht "
@@ -1615,7 +1615,7 @@ msgstr "_Zurück gehen"
#: plugins/shotwell-publishing-extras/gallery3_authentication_pane.ui:8
#: plugins/shotwell-publishing-extras/gallery3_authentication_pane.ui:145
-#: ui/shotwell.ui:1627
+#: ui/shotwell.ui:1464
msgid "_Log in"
msgstr "_Anmelden"
@@ -1641,9 +1641,9 @@ msgstr "oder"
#: plugins/shotwell-publishing-extras/gallery3_publishing_options_pane.ui:5
#: plugins/shotwell-publishing-extras/rajce_publishing_options_pane.ui:38
-#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1018
+#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1019
#: plugins/shotwell-publishing-extras/tumblr_publishing_options_pane.ui:116
-#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:115
+#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:142
#: plugins/shotwell-publishing/facebook_publishing_options_pane.ui:197
#: plugins/shotwell-publishing/flickr_publishing_options_pane.ui:137
#: plugins/shotwell-publishing/picasa_publishing_options_pane.ui:229
@@ -1653,13 +1653,14 @@ msgstr "A_bmelden"
#: plugins/shotwell-publishing-extras/gallery3_publishing_options_pane.ui:8
#: plugins/shotwell-publishing-extras/rajce_publishing_options_pane.ui:247
-#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1017
+#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1018
#: plugins/shotwell-publishing-extras/tumblr_publishing_options_pane.ui:134
-#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:129
+#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:156
#: plugins/shotwell-publishing/facebook_publishing_options_pane.ui:212
#: plugins/shotwell-publishing/flickr_publishing_options_pane.ui:153
#: plugins/shotwell-publishing/picasa_publishing_options_pane.ui:243
#: plugins/shotwell-publishing/youtube_publishing_options_pane.ui:115
+#: src/CollectionPage.vala:76 src/PhotoPage.vala:2456
msgid "_Publish"
msgstr "_Veröffentlichen"
@@ -1687,7 +1688,7 @@ msgstr "Pixel"
#: plugins/shotwell-publishing-extras/gallery3_publishing_options_pane.ui:195
#: plugins/shotwell-publishing/FlickrPublishing.vala:1235
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1329
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1306
#: src/Dimensions.vala:17
msgid "Original size"
msgstr "Ursprüngliche Größe"
@@ -1792,56 +1793,54 @@ msgstr "Unbekannter Benutzer"
msgid " Site Not Found"
msgstr " Seite nicht gefunden"
-#: plugins/shotwell-publishing-extras/rajce_authentication_pane.ui:49
+#: plugins/shotwell-publishing-extras/rajce_authentication_pane.ui:43
#: plugins/shotwell-publishing-extras/RajcePublishing.vala:892
-#: plugins/shotwell-publishing-extras/tumblr_authentication_pane.ui:49
+#: plugins/shotwell-publishing-extras/tumblr_authentication_pane.ui:43
msgid "_Email address"
msgstr "_E-Mail-Adresse"
-#: plugins/shotwell-publishing-extras/rajce_authentication_pane.ui:59
+#: plugins/shotwell-publishing-extras/rajce_authentication_pane.ui:53
#: plugins/shotwell-publishing-extras/RajcePublishing.vala:893
-#: plugins/shotwell-publishing-extras/tumblr_authentication_pane.ui:59
-#: plugins/shotwell-publishing/piwigo_authentication_pane.ui:73
+#: plugins/shotwell-publishing-extras/tumblr_authentication_pane.ui:53
+#: plugins/shotwell-publishing/piwigo_authentication_pane.ui:119
msgid "_Password"
msgstr "_Passwort"
-#: plugins/shotwell-publishing-extras/rajce_authentication_pane.ui:103
+#: plugins/shotwell-publishing-extras/rajce_authentication_pane.ui:97
#: plugins/shotwell-publishing-extras/RajcePublishing.vala:894
msgid "_Remember"
msgstr "Dauerhaft _merken"
-#: plugins/shotwell-publishing-extras/rajce_authentication_pane.ui:125
+#: plugins/shotwell-publishing-extras/rajce_authentication_pane.ui:118
#: plugins/shotwell-publishing-extras/RajcePublishing.vala:895
-#: plugins/shotwell-publishing-extras/tumblr_authentication_pane.ui:107
-#: plugins/shotwell-publishing/piwigo_authentication_pane.ui:151
+#: plugins/shotwell-publishing-extras/tumblr_authentication_pane.ui:101
+#: plugins/shotwell-publishing/piwigo_authentication_pane.ui:154
msgid "Log in"
msgstr "Anmelden in"
#: plugins/shotwell-publishing-extras/rajce_publishing_options_pane.ui:111
-#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1014
+#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1015
#: plugins/shotwell-publishing/picasa_publishing_options_pane.ui:75
msgid "An _existing album:"
msgstr "_einem vorhandenem Album:"
#: plugins/shotwell-publishing-extras/rajce_publishing_options_pane.ui:135
-#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1015
+#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1016
#: plugins/shotwell-publishing/picasa_publishing_options_pane.ui:94
-#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:52
msgid "A _new album named:"
msgstr "einem _neuen Album:"
#: plugins/shotwell-publishing-extras/rajce_publishing_options_pane.ui:159
-#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1005
+#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1006
msgid "_Hide album"
msgstr "Album _verbergen"
#: plugins/shotwell-publishing-extras/rajce_publishing_options_pane.ui:178
-#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1016
+#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1017
msgid "Open target _album in browser"
msgstr "Ziel-_Album im Browser öffnen"
#: plugins/shotwell-publishing-extras/RajcePublishing.vala:40
-#| msgid "Copyright (C) 2013 rajce.net"
msgid "Copyright © 2013 rajce.net"
msgstr "Copyright © 2013 rajce.net"
@@ -1863,14 +1862,14 @@ msgstr "E-Mail und/oder Passwort sind ungültig. Bitte versuchen Sie es erneut"
msgid "Invalid User Email or Password"
msgstr "Ungültige Benutzer-E-Mail oder Passwort"
-#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1012
+#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1013
#, c-format
msgid "You are logged into Rajce as %s."
msgstr "Sie sind bei Rajce als %s angemeldet."
-#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1013
+#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1014
#: plugins/shotwell-publishing/PicasaPublishing.vala:670
-#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:24
+#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:20
msgid "Photos will appear in:"
msgstr "Fotos werden erscheinen in:"
@@ -1893,20 +1892,17 @@ msgstr "Copyright 2012 BJA Electronics"
#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:105
#: plugins/shotwell-publishing/FlickrPublishing.vala:1231
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1325
-#| msgid "500 x 375 pixels"
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1302
msgid "500 × 375 pixels"
msgstr "500 × 375 Pixel"
#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:106
#: plugins/shotwell-publishing/FlickrPublishing.vala:1232
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1326
-#| msgid "1024 x 768 pixels"
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1303
msgid "1024 × 768 pixels"
msgstr "1024 × 768 Pixel"
#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:107
-#| msgid "1280 x 853 pixels"
msgid "1280 × 853 pixels"
msgstr "1280 × 853 Pixel"
@@ -1931,23 +1927,23 @@ msgstr ""
"Konto ein."
#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:588
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1087
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1081
msgid "Username and/or password invalid. Please try again"
msgstr ""
"Benutzername und/oder Passwort sind ungültig. Bitte versuchen Sie es erneut"
#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:615
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1121
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1117
msgid "Invalid User Name or Password"
msgstr "Ungültiger Benutzername oder Passwort"
-#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:634
-#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:752
+#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:635
+#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:753
#, c-format
msgid "Could not load UI: %s"
msgstr "UI konnte nicht geladen werden: %s"
-#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:734
+#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:735
#, c-format
msgid ""
"You are logged into Tumblr as %s.\n"
@@ -1969,36 +1965,36 @@ msgstr "Besuchen Sie die Yandex.Fotki-Webseite"
msgid "You are not currently logged into Yandex.Fotki."
msgstr "Sie sind aktuell nicht bei Yandex.Fotki angemeldet."
-#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:24
+#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:12
+msgid "Public"
+msgstr "Öffentlich"
+
+#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:15
+#: plugins/shotwell-publishing/FacebookPublishing.vala:1144
+msgid "Friends"
+msgstr "Freunde"
+
+#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:18
+#: plugins/shotwell-publishing/YouTubePublishing.vala:498
+msgid "Private"
+msgstr "Privat"
+
+#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:44
msgid "_Albums (or write new):"
msgstr "_Alben (oder neues erstellen):"
-#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:38
+#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:59
msgid "Access _type:"
msgstr "Zugriffs_typ:"
-#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:81
+#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:103
msgid "Disable _comments"
msgstr "_Kommentare deaktivieren"
-#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:96
+#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:120
msgid "_Forbid downloading original photo"
msgstr "Herunterladen des Originalfotos _verbieten"
-#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:159
-msgid "Public"
-msgstr "Öffentlich"
-
-#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:162
-#: plugins/shotwell-publishing/FacebookPublishing.vala:1144
-msgid "Friends"
-msgstr "Freunde"
-
-#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:165
-#: plugins/shotwell-publishing/YouTubePublishing.vala:498
-msgid "Private"
-msgstr "Privat"
-
#: plugins/shotwell-publishing/facebook_publishing_options_pane.ui:39
msgid "Publish to an e_xisting album:"
msgstr "In einem e_xistierenden Album veröffentlichen:"
@@ -2019,7 +2015,7 @@ msgstr "Fotos und Videos _sichtbar für:"
#: plugins/shotwell-publishing/facebook_publishing_options_pane.ui:175
#: plugins/shotwell-publishing/flickr_publishing_options_pane.ui:102
#: plugins/shotwell-publishing/picasa_publishing_options_pane.ui:178
-#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:226
+#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:203
msgid ""
"_Remove location, camera, and other identifying information before uploading"
msgstr ""
@@ -2028,7 +2024,7 @@ msgstr ""
#: plugins/shotwell-publishing/FacebookPublishing.vala:62
#: plugins/shotwell-publishing/PicasaPublishing.vala:60
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1209
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1188
msgid "Shotwell Connect"
msgstr "Shotwell Connect"
@@ -2106,7 +2102,7 @@ msgstr "Nur mich"
#: plugins/shotwell-publishing/FacebookPublishing.vala:1145
#: plugins/shotwell-publishing/FlickrPublishing.vala:1209
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1313
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1290
msgid "Everyone"
msgstr "Alle"
@@ -2222,14 +2218,12 @@ msgid "Friends only"
msgstr "Nur Freunde"
#: plugins/shotwell-publishing/FlickrPublishing.vala:1233
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1327
-#| msgid "2048 x 1536 pixels"
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1304
msgid "2048 × 1536 pixels"
msgstr "2048 × 1536 Pixel"
#: plugins/shotwell-publishing/FlickrPublishing.vala:1234
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1328
-#| msgid "4096 x 3072 pixels"
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1305
msgid "4096 × 3072 pixels"
msgstr "4096 × 3072 Pixel"
@@ -2289,74 +2283,78 @@ msgid "Google+ (2048 × 1536 pixels)"
msgstr "Google+ (2048 × 1536 Pixel)"
#: plugins/shotwell-publishing/PicasaPublishing.vala:750
-#: src/editing_tools/EditingTools.vala:756
+#: src/editing_tools/EditingTools.vala:752
msgid "Original Size"
msgstr "Ursprungsgröße"
-#: plugins/shotwell-publishing/piwigo_authentication_pane.ui:49
+#: plugins/shotwell-publishing/piwigo_authentication_pane.ui:44
msgid "_URL of your Piwigo photo library"
msgstr "_Adresse Ihrer Piwigo-Fotobibliothek"
-#: plugins/shotwell-publishing/piwigo_authentication_pane.ui:59
+#: plugins/shotwell-publishing/piwigo_authentication_pane.ui:94
msgid "User _name"
msgstr "Benutzer_name"
-#: plugins/shotwell-publishing/piwigo_authentication_pane.ui:130
-msgid "_Remember Password"
-msgstr "Passwort _speichern"
+#: plugins/shotwell-publishing/piwigo_authentication_pane.ui:133
+msgid "Remember Password"
+msgstr "Passwort speichern"
+
+#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:36
+msgid "An _existing category"
+msgstr "Eine _existierende Kategorie"
-#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:40
-msgid "An _existing category:"
-msgstr "_Existierende Kategorie:"
+#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:110
+msgid "A _new album named"
+msgstr "Ein _neues Album namens"
-#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:121
-msgid "Photos will be _visible by:"
-msgstr "Fotos sind s_ichtbar für:"
+#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:142
+msgid "within category"
+msgstr "in der Kategorie"
-#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:149
-msgid "Photo size:"
-msgstr "Bildgröße:"
+#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:155
+msgid "Album comment"
+msgstr "Album-Kommentar"
-#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:176
-msgid "within category:"
-msgstr "in der Kategorie:"
+#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:167
+msgid "Photos will be _visible by"
+msgstr "Fotos sind s_ichtbar für"
-#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:210
-msgid "Album comment:"
-msgstr "Album-Kommentar:"
+#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:181
+msgid "Photo size"
+msgstr "Bildgröße"
-#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:242
+#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:219
msgid "_If a title is set and comment unset, use title as comment"
msgstr ""
"_Falls ein Titel und kein Kommentar gesetzt ist, den Titel als Kommentar "
"verwenden"
-#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:258
+#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:235
msgid "_Do no upload tags"
msgstr "Stichworte zu _Fotos nicht hochladen"
-#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:278
+#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:255
msgid "Logout"
msgstr "Abmelden"
-#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:291
-#: src/Resources.vala:295
+#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:268
+#: src/Resources.vala:295 ui/collection.ui:190
msgid "Publish"
msgstr "Veröffentlichen"
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:775
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:773
#, c-format
msgid "Creating album %s…"
msgstr "Album %s wird erstellt …"
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:948
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:946
msgid "An error message occurred when publishing to Piwigo. Please try again."
msgstr ""
"Ein Fehler trat beim Veröffentlichen auf Piwigo auf. Bitte versuchen Sie "
"erneut."
#. %s is the host name that we tried to connect to
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1024
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1030
#, c-format
msgid ""
"This does not look like the real <b>%s</b>. Attackers might be trying to "
@@ -2368,7 +2366,17 @@ msgstr ""
"beeinflussen (zum Beispiel private Nachrichten, Kreditkartendaten oder "
"Passwörter)."
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1085
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1048
+#, c-format
+msgid "Certificate of %s"
+msgstr "Zertifikat von %s"
+
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1051
+#: src/Resources.vala:166
+msgid "_OK"
+msgstr "_OK"
+
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1079
msgid ""
"Enter the URL of your Piwigo photo library as well as the username and "
"password associated with your Piwigo account for that library."
@@ -2376,7 +2384,7 @@ msgstr ""
"Geben Sie die Adresse Ihrer Piwigo-Fotobibliothek sowie Ihren Benutzernamen "
"und Passwort für das mit Ihrer Bibliothek verbundene Piwigo-Benutzerkonto an."
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1086
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1080
msgid ""
"Shotwell cannot contact your Piwigo photo library. Please verify the URL you "
"entered"
@@ -2384,23 +2392,23 @@ msgstr ""
"Shotwell kann sich nicht mit Ihrer Piwigo-Fotobibliothek verbinden. Bitte "
"überprüfen Sie Ihre angegebene Adresse."
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1116
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1112
msgid "Invalid URL"
msgstr "Ungültige Adresse"
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1314
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1291
msgid "Admins, Family, Friends, Contacts"
msgstr "Admins, Familie, Freunde, Kontakte"
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1315
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1292
msgid "Admins, Family, Friends"
msgstr "Admins, Familie, Freunde"
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1316
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1293
msgid "Admins, Family"
msgstr "Admins, Familie"
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1317
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1294
msgid "Admins"
msgstr "Admins"
@@ -2552,38 +2560,28 @@ msgstr "Ordner %s konnte nicht schreibbar gesetzt werden"
msgid "Could not make directory %s writable: %s"
msgstr "Ordner %s konnte nicht schreibbar gesetzt werden: %s"
-#: src/AppWindow.vala:54
+#: src/AppWindow.vala:47
msgid "Pin Toolbar"
msgstr "Werkzeugleiste fixieren"
-#: src/AppWindow.vala:55
+#: src/AppWindow.vala:48
msgid "Pin the toolbar open"
msgstr "Werkzeugleiste immer geöffnet"
-#: src/AppWindow.vala:60
+#: src/AppWindow.vala:53
msgid "Leave fullscreen"
msgstr "Vollbild verlassen"
-#: src/AppWindow.vala:499
-msgid "_Contents"
-msgstr "_Inhalt"
-
-#: src/AppWindow.vala:504
-msgid "_Frequently Asked Questions"
-msgstr "Oft gestellte _Fragen"
-
-#: src/AppWindow.vala:509
-msgid "_Report a Problem…"
-msgstr "_Ein Problem melden …"
-
-#: src/AppWindow.vala:608 src/AppWindow.vala:629 src/AppWindow.vala:646
-#: src/data_imports/DataImportsUI.vala:413 src/Dialogs.vala:20
-#: src/Dialogs.vala:28 src/Dialogs.vala:1441 src/Dialogs.vala:1464
-#: src/publishing/PublishingUI.vala:512 src/Resources.vala:157
+#: src/AppWindow.vala:531 src/AppWindow.vala:552 src/AppWindow.vala:569
+#: src/data_imports/DataImportsUI.vala:301
+#: src/data_imports/DataImportsUI.vala:419 src/Dialogs.vala:20
+#: src/Dialogs.vala:28 src/Dialogs.vala:1430 src/Dialogs.vala:1453
+#: src/publishing/PublishingUI.vala:301 src/publishing/PublishingUI.vala:525
+#: src/Resources.vala:157
msgid "_Cancel"
msgstr "_Abbrechen"
-#: src/AppWindow.vala:656
+#: src/AppWindow.vala:579
#, c-format
msgid ""
"A fatal error occurred when accessing Shotwell’s library. Shotwell cannot "
@@ -2596,21 +2594,21 @@ msgstr ""
"\n"
"%s"
-#: src/AppWindow.vala:676
+#: src/AppWindow.vala:599
msgid "Visit the Shotwell web site"
msgstr "Besuchen Sie die Shotwell-Internetseite"
-#: src/AppWindow.vala:688
+#: src/AppWindow.vala:611
#, c-format
msgid "Unable to display help: %s"
msgstr "Die Hilfe kann nicht angezeigt werden: %s"
-#: src/AppWindow.vala:696
+#: src/AppWindow.vala:619
#, c-format
msgid "Unable to navigate to bug database: %s"
msgstr "Zur Datenbank von Fehlerberichten kann nicht gewechselt werden: %s"
-#: src/AppWindow.vala:704
+#: src/AppWindow.vala:627
#, c-format
msgid "Unable to display FAQ: %s"
msgstr "Die oft gestellten Fragen können nicht angezeigt werden: %s"
@@ -2681,12 +2679,13 @@ msgid "Cameras"
msgstr "Kameras"
#: src/camera/Branch.vala:99 src/camera/ImportPage.vala:710
-#: src/camera/ImportPage.vala:726 src/MediaPage.vala:440
-#: src/photos/RawSupport.vala:303
+#: src/camera/ImportPage.vala:726 src/photos/RawSupport.vala:303
+#: 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
msgid "Camera"
msgstr "Kamera"
-#: src/camera/ImportPage.vala:311 src/Properties.vala:227
+#: src/camera/ImportPage.vala:311 src/Properties.vala:230
msgid "RAW+JPEG"
msgstr "RAW+JPEG"
@@ -2716,32 +2715,8 @@ msgstr ""
msgid "No new photos/videos found on camera"
msgstr "Keine neuen Fotos/Videos auf der Kamera gefunden"
-#: src/camera/ImportPage.vala:873 src/MediaPage.vala:451
-msgid "_Titles"
-msgstr "_Titel"
-
-#: src/camera/ImportPage.vala:874 src/MediaPage.vala:452
-msgid "Display the title of each photo"
-msgstr "Titel jedes Fotos anzeigen"
-
-#: src/camera/ImportPage.vala:885
-msgid "Import _Selected"
-msgstr "A_usgewählte importieren"
-
-#: src/camera/ImportPage.vala:886
-msgid "Import the selected photos into your library"
-msgstr "Die ausgewählten Bilder in die Bibliothek importieren"
-
-#: src/camera/ImportPage.vala:891
-msgid "Import _All"
-msgstr "_Alle importieren"
-
-#: src/camera/ImportPage.vala:892
-msgid "Import all the photos into your library"
-msgstr "Alle Fotos in die Bibliothek importieren"
-
#. it's mounted, offer to unmount for the user
-#: src/camera/ImportPage.vala:1013
+#: src/camera/ImportPage.vala:999
msgid ""
"Shotwell needs to unmount the camera from the filesystem in order to access "
"it. Continue?"
@@ -2749,15 +2724,15 @@ msgstr ""
"Shotwell muss die Kamera aus dem Dateisystem aushängen, um auf sie zugreifen "
"zu können. Möchten Sie fortsetzen?"
-#: src/camera/ImportPage.vala:1019
+#: src/camera/ImportPage.vala:1005
msgid "_Unmount"
msgstr "_Aushängen"
-#: src/camera/ImportPage.vala:1024
+#: src/camera/ImportPage.vala:1010
msgid "Please unmount the camera."
msgstr "Bitte hängen Sie die Kamera aus."
-#: src/camera/ImportPage.vala:1029
+#: src/camera/ImportPage.vala:1015
msgid ""
"The camera is locked by another application. Shotwell can only access the "
"camera when it’s unlocked. Please close any other application using the "
@@ -2767,12 +2742,12 @@ msgstr ""
"die Kamera zugreifen, wenn sie frei ist. Bitte schließen Sie die andere "
"Anwendung und versuchen Sie es nochmals."
-#: src/camera/ImportPage.vala:1039
+#: src/camera/ImportPage.vala:1025
msgid "Please close any other application using the camera."
msgstr ""
"Bitte schließen Sie alle anderen Anwendungen, die die Kamera verwenden."
-#: src/camera/ImportPage.vala:1044
+#: src/camera/ImportPage.vala:1030
#, c-format
msgid ""
"Unable to fetch previews from the camera:\n"
@@ -2781,65 +2756,65 @@ msgstr ""
"Es können keine Vorschaubilder von der Kamera abgerufen werden:\n"
"%s"
-#: src/camera/ImportPage.vala:1061
+#: src/camera/ImportPage.vala:1047
msgid "Unmounting…"
msgstr "Aushängen läuft …"
-#: src/camera/ImportPage.vala:1152
+#: src/camera/ImportPage.vala:1138
msgid "Starting import, please wait…"
msgstr "Import wird gestartet, bitte warten …"
-#: src/camera/ImportPage.vala:1169
+#: src/camera/ImportPage.vala:1155
msgid "Fetching photo information"
msgstr "Foto-Informationen werden abgerufen"
-#: src/camera/ImportPage.vala:1527
+#: src/camera/ImportPage.vala:1513
#, c-format
msgid "Fetching preview for %s"
msgstr "Vorschaubild für %s wird abgerufen"
-#: src/camera/ImportPage.vala:1643
+#: src/camera/ImportPage.vala:1629
#, c-format
msgid "Unable to lock camera: %s"
msgstr "Kamera kann nicht reserviert werden: %s"
-#: src/camera/ImportPage.vala:1728
+#: src/camera/ImportPage.vala:1714
#, c-format
msgid "Delete this photo from camera?"
msgid_plural "Delete these %d photos from camera?"
msgstr[0] "Soll dieses Foto von der Kamera gelöscht werden?"
msgstr[1] "Sollen diese %d Fotos von der Kamera gelöscht werden?"
-#: src/camera/ImportPage.vala:1731
+#: src/camera/ImportPage.vala:1717
#, c-format
msgid "Delete this video from camera?"
msgid_plural "Delete these %d videos from camera?"
msgstr[0] "Soll dieses Video von der Kamera gelöscht werden?"
msgstr[1] "Sollen diese %d Videos von der Kamera gelöscht werden?"
-#: src/camera/ImportPage.vala:1734
+#: src/camera/ImportPage.vala:1720
#, c-format
msgid "Delete this photo/video from camera?"
msgid_plural "Delete these %d photos/videos from camera?"
msgstr[0] "Soll dieses Foto/Video von der Kamera gelöscht werden?"
msgstr[1] "Sollen diese %d Fotos/Videos von der Kamera gelöscht werden?"
-#: src/camera/ImportPage.vala:1737
+#: src/camera/ImportPage.vala:1723
#, c-format
msgid "Delete these files from camera?"
msgid_plural "Delete these %d files from camera?"
msgstr[0] "Sollen diese Dateien von der Kamera gelöscht werden?"
msgstr[1] "Sollen diese %d Dateien von der Kamera gelöscht werden?"
-#: src/camera/ImportPage.vala:1745 src/Dialogs.vala:1408
+#: src/camera/ImportPage.vala:1731 src/Dialogs.vala:1397
msgid "_Keep"
msgstr "_Behalten"
-#: src/camera/ImportPage.vala:1764
+#: src/camera/ImportPage.vala:1750
msgid "Removing photos/videos from camera"
msgstr "Fotos/Videos werden von der Kamera entfernt"
-#: src/camera/ImportPage.vala:1768
+#: src/camera/ImportPage.vala:1754
#, c-format
msgid "Unable to delete %d photo/video from the camera due to errors."
msgid_plural "Unable to delete %d photos/videos from the camera due to errors."
@@ -2848,51 +2823,127 @@ msgstr[0] ""
msgstr[1] ""
"%d Fotos/Videos können wegen Fehlern nicht von der Kamera gelöscht werden."
-#: src/CollectionPage.vala:230 src/PhotoPage.vala:2635
+#: src/CollectionPage.vala:74 src/direct/DirectPhotoPage.vala:78
+#: src/PhotoPage.vala:2451 src/Resources.vala:170
+msgid "_Print"
+msgstr "_Drucken"
+
+#: src/CollectionPage.vala:77 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
+msgid "Send _To…"
+msgstr "Senden _an …"
+
+#: src/CollectionPage.vala:78 src/direct/DirectPhotoPage.vala:83
+#: src/PhotoPage.vala:2461 src/Resources.vala:220
+msgid "Set as _Desktop Background"
+msgstr "Als Hintergrund_bild festlegen"
+
+#: src/CollectionPage.vala:86 src/Resources.vala:286
+msgid "_Duplicate"
+msgstr "_Duplizieren"
+
+#: src/CollectionPage.vala:94
+msgid "Fullscreen"
+msgstr "Vollbild"
+
+#: src/CollectionPage.vala:96 ui/photo.ui:180
msgid "S_lideshow"
msgstr "_Diaschau"
-#: src/CollectionPage.vala:231 src/PhotoPage.vala:2636
-msgid "Play a slideshow"
-msgstr "Eine Diaschau anzeigen"
+#: src/CollectionPage.vala:104 src/Resources.vala:139 ui/direct.ui:111
+#: ui/photo.ui:200
+msgid "Rotate _Right"
+msgstr "Nach _rechts drehen"
+
+#: src/CollectionPage.vala:107 src/Resources.vala:144 ui/direct.ui:116
+#: ui/photo.ui:205
+msgid "Rotate _Left"
+msgstr "Nach _links drehen"
+
+#: src/CollectionPage.vala:110 src/Resources.vala:149 ui/direct.ui:121
+#: ui/photo.ui:210
+msgid "Flip Hori_zontally"
+msgstr "Hori_zontal spiegeln"
+
+#: src/CollectionPage.vala:111 src/Resources.vala:152 ui/direct.ui:125
+#: ui/photo.ui:214
+msgid "Flip Verti_cally"
+msgstr "Verti_kal spiegeln"
+
+#: src/CollectionPage.vala:113 src/Resources.vala:186 ui/collection.ui:8
+#: ui/direct_context.ui:9 ui/direct.ui:134 ui/event.ui:445
+#: ui/photo_context.ui:6 ui/photo.ui:223
+msgid "_Enhance"
+msgstr "_Verbessern"
-#: src/CollectionPage.vala:456
+#: src/CollectionPage.vala:114 src/Resources.vala:214 ui/collection.ui:13
+#: ui/direct_context.ui:14 ui/direct.ui:161 ui/event.ui:450
+#: ui/photo_context.ui:11 ui/photo.ui:250
+msgid "Re_vert to Original"
+msgstr "_Zurück zum Original"
+
+#: src/CollectionPage.vala:116 src/Resources.vala:190 ui/photo.ui:256
+msgid "_Copy Color Adjustments"
+msgstr "Farbanpassungen _kopieren"
+
+#: src/CollectionPage.vala:119 src/Resources.vala:194 ui/photo.ui:261
+msgid "_Paste Color Adjustments"
+msgstr "Farbanpassungen _einfügen"
+
+#: src/CollectionPage.vala:129
+msgid "Adjust Date and Time…"
+msgstr "Datum und Zeit anpassen …"
+
+#: src/CollectionPage.vala:137 src/Resources.vala:319
+msgid "Open With E_xternal Editor"
+msgstr "Mit e_xternem Editor öffnen"
+
+#: src/CollectionPage.vala:140 src/Resources.vala:321 ui/collection.ui:111
+#: ui/event.ui:548 ui/photo_context.ui:118 ui/photo.ui:363
+msgid "Open With RA_W Editor"
+msgstr "Mit RA_W-Editor öffnen"
+
+#: src/CollectionPage.vala:143 src/Resources.vala:167
+msgid "_Play"
+msgstr "_Wiedergabe"
+
+#: src/CollectionPage.vala:404
msgid "Export Photo/Video"
msgstr "Foto/Video exportieren"
-#: src/CollectionPage.vala:456
+#: src/CollectionPage.vala:404
msgid "Export Photos/Videos"
msgstr "Fotos/Videos exportieren"
-#: src/CollectionPage.vala:458 src/Dialogs.vala:59 src/PhotoPage.vala:3209
+#: src/CollectionPage.vala:406 src/Dialogs.vala:59 src/PhotoPage.vala:2988
msgid "Export Photo"
msgstr "Foto exportieren"
-#: src/CollectionPage.vala:458 src/Dialogs.vala:84
+#: src/CollectionPage.vala:406 src/Dialogs.vala:84
msgid "Export Photos"
msgstr "Fotos exportieren"
-#: src/CollectionPage.vala:545 src/CollectionPage.vala:561
+#: src/CollectionPage.vala:493 src/CollectionPage.vala:509
msgid "Rotating"
msgstr "Drehen läuft"
-#: src/CollectionPage.vala:545 src/CollectionPage.vala:561
+#: src/CollectionPage.vala:493 src/CollectionPage.vala:509
msgid "Undoing Rotate"
msgstr "Drehen wird zurück genommen"
-#: src/CollectionPage.vala:570
+#: src/CollectionPage.vala:518
msgid "Flipping Horizontally"
msgstr "Horizontal spiegeln"
-#: src/CollectionPage.vala:571
+#: src/CollectionPage.vala:519
msgid "Undoing Flip Horizontally"
msgstr "»Horizontal spiegeln« wird zurück genommen"
-#: src/CollectionPage.vala:580
+#: src/CollectionPage.vala:528
msgid "Flipping Vertically"
msgstr "Vertikal spiegeln"
-#: src/CollectionPage.vala:581
+#: src/CollectionPage.vala:529
msgid "Undoing Flip Vertically"
msgstr "»Vertikal spiegeln« wird zurück genommen"
@@ -3108,7 +3159,7 @@ msgstr ""
msgid "Database file:"
msgstr "Datenbank"
-#: src/data_imports/DataImportsUI.vala:112 src/library/LibraryWindow.vala:904
+#: src/data_imports/DataImportsUI.vala:112 src/library/LibraryWindow.vala:766
msgid "_Import"
msgstr "_Import"
@@ -3120,7 +3171,7 @@ msgstr "Importieren von Anwendung"
msgid "Import media _from:"
msgstr "Importieren _von:"
-#: src/data_imports/DataImportsUI.vala:408 src/publishing/PublishingUI.vala:507
+#: src/data_imports/DataImportsUI.vala:414 src/publishing/PublishingUI.vala:520
msgid "_Close"
msgstr "_Schließen"
@@ -3159,7 +3210,7 @@ msgstr ""
"Der Fehler lautete:\n"
"%s"
-#: src/db/DatabaseTable.vala:88
+#: src/db/DatabaseTable.vala:92
#, c-format
msgid "Unable to restore photo database %s"
msgstr "Die Fotodatenbank %s konnte nicht wiederhergestellt werden"
@@ -3190,9 +3241,10 @@ msgid_plural "This will remove the tag “%s” from %d photos. Continue?"
msgstr[0] "Dies wird das Stichwort »%s« von einem Foto entfernen. Fortsetzen?"
msgstr[1] "Dies wird das Stichwort »%s« von %d Fotos entfernen. Fortsetzen?"
-#: src/Dialogs.vala:20 src/Dialogs.vala:28 src/Dialogs.vala:1409
-#: src/Resources.vala:158 src/Resources.vala:361 src/Resources.vala:409
-#: src/Resources.vala:674
+#: src/Dialogs.vala:20 src/Dialogs.vala:28 src/Dialogs.vala:1398
+#: src/Resources.vala:158 src/Resources.vala:361 src/Resources.vala:414
+#: src/Resources.vala:658 ui/savedsearch.ui:15 ui/trash.ui:63 ui/trash.ui:216
+#: ui/trash.ui:258
msgid "_Delete"
msgstr "_Löschen"
@@ -3699,56 +3751,56 @@ msgstr[1] "%d Stunden"
msgid "1 day"
msgstr "1 Tag"
-#: src/Dialogs.vala:1338 src/Resources.vala:231
+#: src/Dialogs.vala:1327 src/Resources.vala:231
msgid "Rename Event"
msgstr "Ereignis umbenennen"
-#: src/Dialogs.vala:1338
+#: src/Dialogs.vala:1327
msgid "Name:"
msgstr "Name:"
#. Dialog title
-#: src/Dialogs.vala:1349
+#: src/Dialogs.vala:1338
msgctxt "Dialog Title"
msgid "Edit Title"
msgstr "Titel bearbeiten"
-#: src/Dialogs.vala:1350 src/Properties.vala:340
+#: src/Dialogs.vala:1339 src/Properties.vala:343
msgid "Title:"
msgstr "Titel:"
#. Dialog title
-#: src/Dialogs.vala:1366 src/Resources.vala:307
+#: src/Dialogs.vala:1355 src/Resources.vala:307
msgid "Edit Event Comment"
msgstr "Kommentar des Ereignisses bearbeiten"
-#: src/Dialogs.vala:1367
+#: src/Dialogs.vala:1356
msgid "Edit Photo/Video Comment"
msgstr "Foto-/Video-Kommentar bearbeiten"
-#: src/Dialogs.vala:1368 src/Properties.vala:628
+#: src/Dialogs.vala:1357 src/Properties.vala:631
msgid "Comment:"
msgstr "Kommentar:"
-#: src/Dialogs.vala:1384
+#: src/Dialogs.vala:1373
msgid "Remove and _Trash File"
msgid_plural "Remove and _Trash Files"
msgstr[0] "Datei entfernen und _löschen"
msgstr[1] "Dateien entfernen und _löschen"
-#: src/Dialogs.vala:1388
+#: src/Dialogs.vala:1377
msgid "_Remove From Library"
msgstr "Aus der Bibliothek _entfernen"
-#: src/Dialogs.vala:1431
+#: src/Dialogs.vala:1420
msgid "Revert External Edit?"
msgstr "Externe Veränderung zurücknehmen?"
-#: src/Dialogs.vala:1431
+#: src/Dialogs.vala:1420
msgid "Revert External Edits?"
msgstr "Externe Veränderungen zurücknehmen?"
-#: src/Dialogs.vala:1433
+#: src/Dialogs.vala:1422
#, c-format
msgid "This will destroy all changes made to the external file. Continue?"
msgid_plural ""
@@ -3758,87 +3810,85 @@ msgstr[0] ""
msgstr[1] ""
"Dies wird alle Veränderungen der %d externen Dateien zerstören. Fortfahren?"
-#: src/Dialogs.vala:1437
+#: src/Dialogs.vala:1426
msgid "Re_vert External Edit"
msgstr "Externe _Veränderung zurücknehmen"
-#: src/Dialogs.vala:1437
+#: src/Dialogs.vala:1426
msgid "Re_vert External Edits"
msgstr "Externe _Veränderungen zurücknehmen"
-#: src/Dialogs.vala:1458
+#: src/Dialogs.vala:1447
#, c-format
msgid "This will remove the photo from the library. Continue?"
msgid_plural "This will remove %d photos from the library. Continue?"
msgstr[0] "Dies wird das Foto aus der Bibliothek entfernen. Fortsetzen?"
msgstr[1] "Dies wird %d Fotos aus der Bibliothek entfernen. Fortsetzen?"
-#: src/Dialogs.vala:1465 src/Resources.vala:173
+#: src/Dialogs.vala:1454 src/Resources.vala:173
msgid "_Remove"
msgstr "Entfe_rnen"
-#: src/Dialogs.vala:1466
+#: src/Dialogs.vala:1455
msgid "Remove Photo From Library"
msgstr "Foto aus der Bibliothek entfernen"
-#: src/Dialogs.vala:1466
+#: src/Dialogs.vala:1455
msgid "Remove Photos From Library"
msgstr "Fotos aus der Bibliothek entfernen"
-#: src/Dialogs.vala:1559
+#: src/Dialogs.vala:1553
#, c-format
msgid "%d%%"
msgstr "%d%%"
-#: src/Dialogs.vala:1713
+#: src/Dialogs.vala:1707
msgid "AM"
msgstr "Vormittag"
-#: src/Dialogs.vala:1714
+#: src/Dialogs.vala:1708
msgid "PM"
msgstr "Nachmittag"
-#: src/Dialogs.vala:1715
+#: src/Dialogs.vala:1709
msgid "24 Hr"
msgstr "24 Stunden"
-#: src/Dialogs.vala:1730
+#: src/Dialogs.vala:1724
msgid "_Shift photos/videos by the same amount"
msgstr "Fotos/Videos um den gleichen Betrag _versetzen"
-#: src/Dialogs.vala:1735
+#: src/Dialogs.vala:1729
msgid "Set _all photos/videos to this time"
msgstr "Zeit für _alle Fotos/Videos setzen"
-#: src/Dialogs.vala:1742
+#: src/Dialogs.vala:1735
+#| msgid "_Modify original photo file"
msgid "_Modify original photo file"
-msgstr "Originale Bilddatei _verändern"
+msgid_plural "_Modify original photo files"
+msgstr[0] "Originale Bilddatei _verändern"
+msgstr[1] "Originale Bilddateien _verändern"
-#: src/Dialogs.vala:1742
-msgid "_Modify original photo files"
-msgstr "Originale Bilddateien _verändern"
-
-#: src/Dialogs.vala:1745
+#: src/Dialogs.vala:1739
+#| msgid "_Modify original file"
msgid "_Modify original file"
-msgstr "Originaldateien _bearbeiten"
-
-#: src/Dialogs.vala:1745
-msgid "_Modify original files"
-msgstr "Originaldateien _verändern"
+msgid_plural "_Modify original files"
+msgstr[0] "Originaldatei _bearbeiten"
+msgstr[1] "Originaldateien _bearbeiten"
-#: src/Dialogs.vala:1831
+#: src/Dialogs.vala:1827
msgid "Original: "
msgstr "Ursprüngliche Größe:"
-#: src/Dialogs.vala:1832
+#: src/Dialogs.vala:1828
msgid "%m/%d/%Y, %H:%M:%S"
msgstr "%d.%m.%Y, %H:%M:%S"
-#: src/Dialogs.vala:1833
+#: src/Dialogs.vala:1829
msgid "%m/%d/%Y, %I:%M:%S %p"
msgstr "%d.%m.%Y, %I:%M:%S %p"
-#: src/Dialogs.vala:1922
+#: src/Dialogs.vala:1918
#, c-format
msgid ""
"Exposure time will be shifted forward by\n"
@@ -3847,7 +3897,7 @@ msgstr ""
"Aufnahmezeit wird um \n"
"%d %s, %d %s, %d %s, und %d %s nach vorne verlegt."
-#: src/Dialogs.vala:1923
+#: src/Dialogs.vala:1919
#, c-format
msgid ""
"Exposure time will be shifted backward by\n"
@@ -3856,31 +3906,31 @@ msgstr ""
"Aufnahmezeit wird um \n"
"%d %s, %d %s, %d %s, und %d %s nach hinten verlegt."
-#: src/Dialogs.vala:1925
+#: src/Dialogs.vala:1921
msgid "day"
msgid_plural "days"
msgstr[0] "Tag"
msgstr[1] "Tage"
-#: src/Dialogs.vala:1926
+#: src/Dialogs.vala:1922
msgid "hour"
msgid_plural "hours"
msgstr[0] "Stunde"
msgstr[1] "Stunden"
-#: src/Dialogs.vala:1927
+#: src/Dialogs.vala:1923
msgid "minute"
msgid_plural "minutes"
msgstr[0] "Minute"
msgstr[1] "Minuten"
-#: src/Dialogs.vala:1928
+#: src/Dialogs.vala:1924
msgid "second"
msgid_plural "seconds"
msgstr[0] "Sekunde"
msgstr[1] "Sekunden"
-#: src/Dialogs.vala:1972
+#: src/Dialogs.vala:1968
#, c-format
msgid ""
"\n"
@@ -3899,42 +3949,42 @@ msgstr[1] ""
"\n"
"und %d andere."
-#: src/Dialogs.vala:1996 src/Dialogs.vala:2023
+#: src/Dialogs.vala:1992 src/Dialogs.vala:2019
msgid "Tags (separated by commas):"
msgstr "Stichworte (getrennt durch Kommata):"
-#: src/Dialogs.vala:2103
+#: src/Dialogs.vala:2099
msgid "Welcome!"
msgstr "Willkommen!"
-#: src/Dialogs.vala:2110
+#: src/Dialogs.vala:2106
msgid "Welcome to Shotwell!"
msgstr "Willkommen zu Shotwell!"
-#: src/Dialogs.vala:2114
+#: src/Dialogs.vala:2111
msgid "To get started, import photos in any of these ways:"
msgstr "Importieren Sie zunächst Fotos auf eine der folgenden Arten:"
-#: src/Dialogs.vala:2133
+#: src/Dialogs.vala:2131
#, c-format
msgid "Choose <span weight=\"bold\">File %s Import From Folder</span>"
msgstr ""
"Wählen Sie <span weight=\"bold\">Datei %s aus Ordner importieren</span>"
-#: src/Dialogs.vala:2134
+#: src/Dialogs.vala:2132
msgid "Drag and drop photos onto the Shotwell window"
msgstr "Verschieben Sie Fotos per Ziehen und Ablegen in das Shotwell-Fenster"
-#: src/Dialogs.vala:2135
+#: src/Dialogs.vala:2133
msgid "Connect a camera to your computer and import"
msgstr "Verbinden Sie die Kamera mit Ihrem Rechner und importieren Sie"
-#: src/Dialogs.vala:2145
+#: src/Dialogs.vala:2144
#, c-format
msgid "_Import photos from your %s folder"
msgstr "Fotos aus dem Ordner »%s« _importieren"
-#: src/Dialogs.vala:2152
+#: src/Dialogs.vala:2151
msgid "You can also import photos in any of these ways:"
msgstr "Sie können Fotos auch auf eine der folgenden Weisen importieren:"
@@ -3942,7 +3992,7 @@ msgstr "Sie können Fotos auch auf eine der folgenden Weisen importieren:"
msgid "_Don’t show this message again"
msgstr "Diese Meldung nicht noch einmal _zeigen"
-#: src/Dialogs.vala:2197
+#: src/Dialogs.vala:2199
#, c-format
msgid "Import photos from your %s library"
msgstr "Bilder aus der %s-Bibliothek importieren"
@@ -3950,41 +4000,41 @@ msgstr "Bilder aus der %s-Bibliothek importieren"
#. We're installed system-wide, so use the system help.
#. We're being run from the build directory; we'll have to handle clicks to this
#. link manually ourselves, due to a limitation of help: URIs.
-#: src/Dialogs.vala:2344 src/Dialogs.vala:2348
+#: src/Dialogs.vala:2345 src/Dialogs.vala:2349
msgid "(Help)"
msgstr "(Hilfe)"
-#: src/Dialogs.vala:2357
+#: src/Dialogs.vala:2356
#, c-format
msgid "Year%sMonth%sDay"
msgstr "Jahr%sMonat%sTag"
-#: src/Dialogs.vala:2359
+#: src/Dialogs.vala:2358
#, c-format
msgid "Year%sMonth"
msgstr "Jahr%sMonat"
-#: src/Dialogs.vala:2361
+#: src/Dialogs.vala:2360
#, c-format
msgid "Year%sMonth-Day"
msgstr "Jahr%sMonat-Tag"
-#: src/Dialogs.vala:2363
+#: src/Dialogs.vala:2362
msgid "Year-Month-Day"
msgstr "Jahr-Monat-Tag"
-#: src/Dialogs.vala:2364 src/editing_tools/EditingTools.vala:781
+#: src/Dialogs.vala:2363 src/editing_tools/EditingTools.vala:777
msgid "Custom"
msgstr "Benutzerdefiniert"
#. Invalid pattern.
-#: src/Dialogs.vala:2601
+#: src/Dialogs.vala:2600
msgid "Invalid pattern"
msgstr "Ungültiges Muster"
#. This function is used to determine whether or not files should be copied or linked when imported.
#. Returns ACCEPT for copy, REJECT for link, and CANCEL for (drum-roll) cancel.
-#: src/Dialogs.vala:2703
+#: src/Dialogs.vala:2702
msgid ""
"Shotwell can copy the photos into your library folder or it can import them "
"without copying."
@@ -3992,31 +4042,31 @@ msgstr ""
"Shotwell kann die Fotos aus dem Ordner in die Bibliothek kopieren oder sie "
"können verknüpft werden, ohne sie zu kopieren."
-#: src/Dialogs.vala:2708
+#: src/Dialogs.vala:2707
msgid "Co_py Photos"
msgstr "Fotos ko_pieren"
-#: src/Dialogs.vala:2709
+#: src/Dialogs.vala:2708
msgid "_Import in Place"
msgstr "_Import durch Verknüpfen"
-#: src/Dialogs.vala:2710
+#: src/Dialogs.vala:2709
msgid "Import to Library"
msgstr "In Bibliothek importieren"
-#: src/Dialogs.vala:2720 src/PhotoPage.vala:3085
+#: src/Dialogs.vala:2719 src/PhotoPage.vala:2864
msgid "Remove From Library"
msgstr "Aus Bibliothek entfernen"
-#: src/Dialogs.vala:2721 src/PhotoPage.vala:3085
+#: src/Dialogs.vala:2720 src/PhotoPage.vala:2864
msgid "Removing Photo From Library"
msgstr "Foto wird aus Bibliothek entfernt"
-#: src/Dialogs.vala:2721
+#: src/Dialogs.vala:2720
msgid "Removing Photos From Library"
msgstr "Fotos werden aus Bibliothek entfernt"
-#: src/Dialogs.vala:2735
+#: src/Dialogs.vala:2734
#, c-format
msgid ""
"This will remove the photo/video from your Shotwell library. Would you also "
@@ -4039,7 +4089,7 @@ msgstr[1] ""
"\n"
"Diese Aktion kann nicht rückgängig gemacht werden!"
-#: src/Dialogs.vala:2739
+#: src/Dialogs.vala:2738
#, c-format
msgid ""
"This will remove the video from your Shotwell library. Would you also like "
@@ -4062,7 +4112,7 @@ msgstr[1] ""
"\n"
"Diese Aktion kann nicht rückgängig gemacht werden!"
-#: src/Dialogs.vala:2743
+#: src/Dialogs.vala:2742
#, c-format
msgid ""
"This will remove the photo from your Shotwell library. Would you also like "
@@ -4085,7 +4135,7 @@ msgstr[1] ""
"\n"
"Diese Aktion kann nicht rückgängig gemacht werden!"
-#: src/Dialogs.vala:2775
+#: src/Dialogs.vala:2774
#, c-format
msgid ""
"The photo or video cannot be moved to your desktop trash. Delete this file?"
@@ -4099,7 +4149,7 @@ msgstr[1] ""
"löschen?"
#. Alert the user that the files were not removed.
-#: src/Dialogs.vala:2792
+#: src/Dialogs.vala:2791
#, c-format
msgid "The photo or video cannot be deleted."
msgid_plural "%d photos/videos cannot be deleted."
@@ -4114,127 +4164,17 @@ msgstr "Breite"
msgid "Height"
msgstr "Höhe"
-#: src/direct/DirectPhotoPage.vala:46 src/library/LibraryWindow.vala:335
-msgid "_File"
-msgstr "_Datei"
-
-#: src/direct/DirectPhotoPage.vala:51 src/direct/DirectPhotoPage.vala:432
-#: src/Resources.vala:175
-msgid "_Save"
-msgstr "_Speichern"
-
-#: src/direct/DirectPhotoPage.vala:52
-msgid "Save photo"
-msgstr "Foto speichern"
-
-#: src/direct/DirectPhotoPage.vala:57
-msgid "Save _As…"
-msgstr "Speichern _unter …"
-
-#: src/direct/DirectPhotoPage.vala:58
-msgid "Save photo with a different name"
-msgstr "Foto unter einem anderen Namen speichern"
-
-#: src/direct/DirectPhotoPage.vala:69
-msgid "Print the photo to a printer connected to your computer"
-msgstr "Foto auf einem Drucker ausgeben, der mit dem Rechner verbunden ist"
-
-#: src/direct/DirectPhotoPage.vala:73 src/library/LibraryWindow.vala:339
-#: src/Resources.vala:159
-msgid "_Edit"
-msgstr "_Bearbeiten"
-
-#: src/direct/DirectPhotoPage.vala:77 src/library/LibraryWindow.vala:347
-msgid "_Photo"
-msgstr "_Foto"
-
-#: src/direct/DirectPhotoPage.vala:81 src/PhotoPage.vala:2416
-msgid "T_ools"
-msgstr "_Werkzeuge"
-
-#: src/direct/DirectPhotoPage.vala:86 src/PhotoPage.vala:2421
-msgid "_Previous Photo"
-msgstr "_Voriges Foto"
-
-#: src/direct/DirectPhotoPage.vala:87 src/PhotoPage.vala:2422
-msgid "Previous Photo"
-msgstr "Voriges Foto"
-
-#: src/direct/DirectPhotoPage.vala:92 src/PhotoPage.vala:2427
-msgid "_Next Photo"
-msgstr "_Nächstes Foto"
-
-#: src/direct/DirectPhotoPage.vala:93 src/PhotoPage.vala:2428
-msgid "Next Photo"
-msgstr "Nächstes Foto"
-
-#: src/direct/DirectPhotoPage.vala:165 src/library/LibraryWindow.vala:343
-#: src/PhotoPage.vala:2412
-msgid "_View"
-msgstr "_Ansicht"
-
-#: src/direct/DirectPhotoPage.vala:169 src/library/LibraryWindow.vala:363
-#: src/Resources.vala:162
-msgid "_Help"
-msgstr "_Hilfe"
-
-#: src/direct/DirectPhotoPage.vala:174 src/MediaPage.vala:340
-#: src/PhotoPage.vala:2591 src/Resources.vala:183
-msgid "Zoom _In"
-msgstr "Ver_größern"
-
-#: src/direct/DirectPhotoPage.vala:175 src/PhotoPage.vala:2592
-msgid "Increase the magnification of the photo"
-msgstr "Die Ansicht vergrößern"
-
-#: src/direct/DirectPhotoPage.vala:180 src/MediaPage.vala:346
-#: src/PhotoPage.vala:2597 src/Resources.vala:184
-msgid "Zoom _Out"
-msgstr "Ver_kleinern"
-
-#: src/direct/DirectPhotoPage.vala:181 src/PhotoPage.vala:2598
-msgid "Decrease the magnification of the photo"
-msgstr "Die Ansicht verkleinern"
-
-#: src/direct/DirectPhotoPage.vala:186 src/PhotoPage.vala:2603
-msgid "Fit to _Page"
-msgstr "Auf S_eite einpassen"
-
-#: src/direct/DirectPhotoPage.vala:187 src/PhotoPage.vala:2604
-msgid "Zoom the photo to fit on the screen"
-msgstr "Foto auf Bildschirmgröße anpassen"
-
-#: src/direct/DirectPhotoPage.vala:193 src/PhotoPage.vala:2610
-#, no-c-format
-msgid "Zoom _100%"
-msgstr "_100 % Vergrößerung"
-
-#: src/direct/DirectPhotoPage.vala:195 src/PhotoPage.vala:2612
-#, no-c-format
-msgid "Zoom the photo to 100% magnification"
-msgstr "Bild in normaler Größe anzeigen"
-
-#: src/direct/DirectPhotoPage.vala:201 src/PhotoPage.vala:2618
-#, no-c-format
-msgid "Zoom _200%"
-msgstr "_200 % Vergrößerung"
-
-#: src/direct/DirectPhotoPage.vala:203 src/PhotoPage.vala:2620
-#, no-c-format
-msgid "Zoom the photo to 200% magnification"
-msgstr "Bild in doppelter Größe anzeigen"
-
-#: src/direct/DirectPhotoPage.vala:227
+#: src/direct/DirectPhotoPage.vala:92
#, c-format
msgid "%s does not exist."
msgstr "%s existiert nicht."
-#: src/direct/DirectPhotoPage.vala:229
+#: src/direct/DirectPhotoPage.vala:94
#, c-format
msgid "%s is not a file."
msgstr "%s ist keine Datei."
-#: src/direct/DirectPhotoPage.vala:231
+#: src/direct/DirectPhotoPage.vala:96
#, c-format
msgid ""
"%s does not support the file format of\n"
@@ -4243,30 +4183,34 @@ msgstr ""
"%s unterstützt das Dateiformat von\n"
"%s nicht."
-#: src/direct/DirectPhotoPage.vala:248
+#: src/direct/DirectPhotoPage.vala:113
#, c-format
msgid "Unable open photo %s. Sorry."
msgstr "Das Foto %s kann nicht geöffnet werden. Entschuldigung."
-#: src/direct/DirectPhotoPage.vala:432
+#: src/direct/DirectPhotoPage.vala:297 src/Resources.vala:175 ui/direct.ui:8
+msgid "_Save"
+msgstr "_Speichern"
+
+#: src/direct/DirectPhotoPage.vala:297
msgid "_Save a Copy"
msgstr "Eine Kopie _speichern"
-#: src/direct/DirectPhotoPage.vala:435
+#: src/direct/DirectPhotoPage.vala:300
#, c-format
msgid "Lose changes to %s?"
msgstr "Änderungen an %s verwerfen?"
-#: src/direct/DirectPhotoPage.vala:436
+#: src/direct/DirectPhotoPage.vala:301
msgid "Close _without Saving"
msgstr "Schließen _ohne zu speichern"
-#: src/direct/DirectPhotoPage.vala:469
+#: src/direct/DirectPhotoPage.vala:334
#, c-format
msgid "Error while saving to %s: %s"
msgstr "Fehler beim Speichern als %s: %s"
-#: src/direct/DirectPhotoPage.vala:497 src/direct/DirectPhotoPage.vala:518
+#: src/direct/DirectPhotoPage.vala:362 src/direct/DirectPhotoPage.vala:383
msgid "Save As"
msgstr "Speichern unter"
@@ -4276,201 +4220,201 @@ msgstr "Speichern unter"
msgid "Unable to monitor %s: Not a directory (%s)"
msgstr "%s kann nicht überwacht werden, es ist kein Ordner (%s)"
-#: src/editing_tools/EditingTools.vala:665
+#: src/editing_tools/EditingTools.vala:661
msgid "Return to current photo dimensions"
msgstr "Zurück zu den aktuellen Fotoabmessungen"
-#: src/editing_tools/EditingTools.vala:668
+#: src/editing_tools/EditingTools.vala:664
msgid "Set the crop for this photo"
msgstr "Foto zuschneiden"
-#: src/editing_tools/EditingTools.vala:680
+#: src/editing_tools/EditingTools.vala:676
msgid "Pivot the crop rectangle between portrait and landscape orientations"
msgstr "Ausschnittsformat zwischen Hoch- und Querformat wechseln"
-#: src/editing_tools/EditingTools.vala:753
+#: src/editing_tools/EditingTools.vala:749
msgid "Unconstrained"
msgstr "Unbeschränkt"
-#: src/editing_tools/EditingTools.vala:754
+#: src/editing_tools/EditingTools.vala:750
msgid "Square"
msgstr "Quadrat"
-#: src/editing_tools/EditingTools.vala:755
+#: src/editing_tools/EditingTools.vala:751
msgid "Screen"
msgstr "Bildschirm"
-#: src/editing_tools/EditingTools.vala:757
-#: src/editing_tools/EditingTools.vala:760
-#: src/editing_tools/EditingTools.vala:770
-#: src/editing_tools/EditingTools.vala:780
+#: src/editing_tools/EditingTools.vala:753
+#: src/editing_tools/EditingTools.vala:756
+#: src/editing_tools/EditingTools.vala:766
+#: src/editing_tools/EditingTools.vala:776
msgid "-"
msgstr "-"
-#: src/editing_tools/EditingTools.vala:758
+#: src/editing_tools/EditingTools.vala:754
msgid "SD Video (4 ∶ 3)"
msgstr "SD-Video (4 : 3)"
-#: src/editing_tools/EditingTools.vala:759
+#: src/editing_tools/EditingTools.vala:755
msgid "HD Video (16 ∶ 9)"
msgstr "HD-Video (16 : 9)"
-#: src/editing_tools/EditingTools.vala:761 src/Printing.vala:818
+#: src/editing_tools/EditingTools.vala:757 src/Printing.vala:818
msgid "Wallet (2 × 3 in.)"
msgstr "Brieftasche (2 × 3 Zoll)"
-#: src/editing_tools/EditingTools.vala:762 src/Printing.vala:821
+#: src/editing_tools/EditingTools.vala:758 src/Printing.vala:821
msgid "Notecard (3 × 5 in.)"
msgstr "Notizzettel (3 × 5 Zoll)"
-#: src/editing_tools/EditingTools.vala:763 src/Printing.vala:824
+#: src/editing_tools/EditingTools.vala:759 src/Printing.vala:824
msgid "4 × 6 in."
msgstr "4 × 6 Zoll"
-#: src/editing_tools/EditingTools.vala:764 src/Printing.vala:827
+#: src/editing_tools/EditingTools.vala:760 src/Printing.vala:827
msgid "5 × 7 in."
msgstr "5 × 7 Zoll"
-#: src/editing_tools/EditingTools.vala:765 src/Printing.vala:830
+#: src/editing_tools/EditingTools.vala:761 src/Printing.vala:830
msgid "8 × 10 in."
msgstr "8 × 10 Zoll"
-#: src/editing_tools/EditingTools.vala:766
+#: src/editing_tools/EditingTools.vala:762
msgid "Letter (8.5 × 11 in.)"
msgstr "US-Letter (8.5 × 11 Zoll)"
-#: src/editing_tools/EditingTools.vala:767 src/Printing.vala:833
+#: src/editing_tools/EditingTools.vala:763 src/Printing.vala:833
msgid "11 × 14 in."
msgstr "11 × 14 Zoll"
-#: src/editing_tools/EditingTools.vala:768
+#: src/editing_tools/EditingTools.vala:764
msgid "Tabloid (11 × 17 in.)"
msgstr "Boulevardblatt (11 × 17 Zoll)"
-#: src/editing_tools/EditingTools.vala:769 src/Printing.vala:836
+#: src/editing_tools/EditingTools.vala:765 src/Printing.vala:836
msgid "16 × 20 in."
msgstr "16 × 20 Zoll"
-#: src/editing_tools/EditingTools.vala:771 src/Printing.vala:842
+#: src/editing_tools/EditingTools.vala:767 src/Printing.vala:842
msgid "Metric Wallet (9 × 13 cm)"
msgstr "Metrische Brieftasche (9 × 13 cm)"
-#: src/editing_tools/EditingTools.vala:772 src/Printing.vala:845
+#: src/editing_tools/EditingTools.vala:768 src/Printing.vala:845
msgid "Postcard (10 × 15 cm)"
msgstr "Postkarte (10 × 15 cm)"
-#: src/editing_tools/EditingTools.vala:773 src/Printing.vala:848
+#: src/editing_tools/EditingTools.vala:769 src/Printing.vala:848
msgid "13 × 18 cm"
msgstr "13 × 18 cm"
-#: src/editing_tools/EditingTools.vala:774 src/Printing.vala:851
+#: src/editing_tools/EditingTools.vala:770 src/Printing.vala:851
msgid "18 × 24 cm"
msgstr "18 × 24 cm"
-#: src/editing_tools/EditingTools.vala:775
+#: src/editing_tools/EditingTools.vala:771
msgid "A4 (210 × 297 mm)"
msgstr "A4 (210 × 297 mm)"
-#: src/editing_tools/EditingTools.vala:776 src/Printing.vala:854
+#: src/editing_tools/EditingTools.vala:772 src/Printing.vala:854
msgid "20 × 30 cm"
msgstr "20 × 30 cm"
-#: src/editing_tools/EditingTools.vala:777 src/Printing.vala:857
+#: src/editing_tools/EditingTools.vala:773 src/Printing.vala:857
msgid "24 × 40 cm"
msgstr "24 × 40 cm"
-#: src/editing_tools/EditingTools.vala:778 src/Printing.vala:860
+#: src/editing_tools/EditingTools.vala:774 src/Printing.vala:860
msgid "30 × 40 cm"
msgstr "30 × 40 cm"
-#: src/editing_tools/EditingTools.vala:779
+#: src/editing_tools/EditingTools.vala:775
msgid "A3 (297 × 420 mm)"
msgstr "A3 (297 × 420 mm)"
-#: src/editing_tools/EditingTools.vala:1872 src/Properties.vala:395
+#: src/editing_tools/EditingTools.vala:1875 src/Properties.vala:398
msgid "Size:"
msgstr "Größe:"
-#: src/editing_tools/EditingTools.vala:1887
+#: src/editing_tools/EditingTools.vala:1890
msgid "Close the red-eye tool"
msgstr "Rote-Augen-Entferner schließen"
-#: src/editing_tools/EditingTools.vala:1890
+#: src/editing_tools/EditingTools.vala:1893
msgid "Remove any red-eye effects in the selected region"
msgstr "Rote-Augen-Effekt im ausgewählten Bereich beseitigen"
-#: src/editing_tools/EditingTools.vala:2229
+#: src/editing_tools/EditingTools.vala:2233
#: src/editing_tools/StraightenTool.vala:102
msgid "_Reset"
msgstr "_Zurücksetzen"
#. fit both on the top line, emit and move on
-#: src/editing_tools/EditingTools.vala:2243 src/Properties.vala:436
-#: src/Properties.vala:440 src/Properties.vala:447
+#: src/editing_tools/EditingTools.vala:2247 src/Properties.vala:439
+#: src/Properties.vala:443 src/Properties.vala:450
msgid "Exposure:"
msgstr "Belichtung:"
-#: src/editing_tools/EditingTools.vala:2251
+#: src/editing_tools/EditingTools.vala:2256
msgid "Contrast:"
msgstr "Kontrast:"
-#: src/editing_tools/EditingTools.vala:2259
+#: src/editing_tools/EditingTools.vala:2265
msgid "Saturation:"
msgstr "Sättigung:"
-#: src/editing_tools/EditingTools.vala:2267
+#: src/editing_tools/EditingTools.vala:2274
msgid "Tint:"
msgstr "Farbton:"
-#: src/editing_tools/EditingTools.vala:2276
+#: src/editing_tools/EditingTools.vala:2284
msgid "Temperature:"
msgstr "Temperatur:"
-#: src/editing_tools/EditingTools.vala:2284
+#: src/editing_tools/EditingTools.vala:2293
msgid "Shadows:"
msgstr "Schatten:"
-#: src/editing_tools/EditingTools.vala:2292
+#: src/editing_tools/EditingTools.vala:2302
msgid "Highlights:"
msgstr "Spitzlichter:"
-#: src/editing_tools/EditingTools.vala:2346
+#: src/editing_tools/EditingTools.vala:2358
msgid "Reset Colors"
msgstr "Farben zurücksetzen"
-#: src/editing_tools/EditingTools.vala:2346
+#: src/editing_tools/EditingTools.vala:2358
msgid "Reset all color adjustments to original"
msgstr "Alle Farbanpassungen auf Ursprungswerte zurücksetzen"
-#: src/editing_tools/EditingTools.vala:2705
+#: src/editing_tools/EditingTools.vala:2717
msgid "Temperature"
msgstr "Temperatur"
-#: src/editing_tools/EditingTools.vala:2717
+#: src/editing_tools/EditingTools.vala:2729
msgid "Tint"
msgstr "Farbton"
-#: src/editing_tools/EditingTools.vala:2729
+#: src/editing_tools/EditingTools.vala:2741
msgid "Contrast"
msgstr "Kontrast"
-#: src/editing_tools/EditingTools.vala:2743
+#: src/editing_tools/EditingTools.vala:2755
msgid "Saturation"
msgstr "Sättigung"
-#: src/editing_tools/EditingTools.vala:2756
+#: src/editing_tools/EditingTools.vala:2768
msgid "Exposure"
msgstr "Belichtung"
-#: src/editing_tools/EditingTools.vala:2769
+#: src/editing_tools/EditingTools.vala:2781
msgid "Shadows"
msgstr "Schatten"
-#: src/editing_tools/EditingTools.vala:2782
+#: src/editing_tools/EditingTools.vala:2794
msgid "Highlights"
msgstr "Spitzlichter"
-#: src/editing_tools/EditingTools.vala:2792
+#: src/editing_tools/EditingTools.vala:2804
msgid "Contrast Expansion"
msgstr "Kontrastanhebung"
@@ -4479,6 +4423,7 @@ msgid "Angle:"
msgstr "Winkel:"
#: src/editing_tools/StraightenTool.vala:100 src/Resources.vala:202
+#: ui/direct.ui:144 ui/photo.ui:233
msgid "_Straighten"
msgstr "Au_srichten"
@@ -4493,53 +4438,45 @@ msgid_plural "%d Photos/Videos"
msgstr[0] "%d Foto/Video"
msgstr[1] "%d Fotos/Videos"
-#: src/events/EventDirectoryItem.vala:85 src/Properties.vala:355
+#: src/events/EventDirectoryItem.vala:85 src/Properties.vala:358
#, c-format
msgid "%d Video"
msgid_plural "%d Videos"
msgstr[0] "%d Film"
msgstr[1] "%d Filme"
-#: src/events/EventDirectoryItem.vala:87 src/Properties.vala:353
+#: src/events/EventDirectoryItem.vala:87 src/Properties.vala:356
#, c-format
msgid "%d Photo"
msgid_plural "%d Photos"
msgstr[0] "%d Foto"
msgstr[1] "%d Fotos"
-#: src/events/EventPage.vala:129
+#: src/events/EventPage.vala:121
msgid "No Event"
msgstr "Ereignislos"
-#: src/events/EventsDirectoryPage.vala:130 src/MediaPage.vala:457
-msgid "_Comments"
-msgstr "_Kommentare"
-
-#: src/events/EventsDirectoryPage.vala:131
-msgid "Display the comment of each event"
-msgstr "Kommentare zu jedem Ereignis anzeigen"
-
-#: src/events/EventsDirectoryPage.vala:155
+#: src/events/EventsDirectoryPage.vala:143
msgid "No events"
msgstr "Keine Ereignisse"
-#: src/events/EventsDirectoryPage.vala:159
+#: src/events/EventsDirectoryPage.vala:147
msgid "No events found"
msgstr "Keine Ereignisse gefunden"
-#: src/events/EventsDirectoryPage.vala:230
+#: src/events/EventsDirectoryPage.vala:220
msgid "All Events"
msgstr "Alle Ereignisse"
-#: src/events/EventsDirectoryPage.vala:244
+#: src/events/EventsDirectoryPage.vala:234
msgid "Undated"
msgstr "Nicht datiert"
-#: src/events/EventsDirectoryPage.vala:245
+#: src/events/EventsDirectoryPage.vala:235
msgid "%Y"
msgstr "%Y"
-#: src/events/EventsDirectoryPage.vala:246
+#: src/events/EventsDirectoryPage.vala:236
msgid "%B"
msgstr "%B"
@@ -4579,21 +4516,20 @@ msgstr "_Alle ersetzen"
msgid "Export"
msgstr "Exportieren"
-#: src/folders/Branch.vala:141
+#: src/folders/Branch.vala:144
msgid "Folders"
msgstr "Ordner"
-#: src/library/Branch.vala:30 src/library/Branch.vala:130 ui/shotwell.ui:1191
+#: src/library/Branch.vala:30 src/library/Branch.vala:130 ui/shotwell.ui:412
msgid "Library"
msgstr "Bibliothek"
-#: src/library/Branch.vala:97 src/SearchFilter.vala:608
-#: src/SearchFilter.vala:609
+#: src/library/Branch.vala:97 src/SearchFilter.vala:1084
msgid "Photos"
msgstr "Fotos"
-#: src/library/FlaggedPage.vala:8 src/SearchFilter.vala:602
-#: src/SearchFilter.vala:603 src/SearchFilter.vala:1188
+#: src/library/FlaggedPage.vala:8 src/SearchFilter.vala:1103
+#: src/SearchFilter.vala:1104
msgid "Flagged"
msgstr "Markiert"
@@ -4601,19 +4537,11 @@ msgstr "Markiert"
msgid "Importing…"
msgstr "Importieren …"
-#: src/library/ImportQueuePage.vala:67
-msgid "_Stop Import"
-msgstr "Import _abbrechen"
-
-#: src/library/ImportQueuePage.vala:68
-msgid "Stop importing photos"
-msgstr "Foto-Import abbrechen"
-
-#: src/library/ImportQueuePage.vala:124
+#: src/library/ImportQueuePage.vala:122
msgid "Preparing to import…"
msgstr "Import wird vorbereitet …"
-#: src/library/ImportQueuePage.vala:151
+#: src/library/ImportQueuePage.vala:149
#, c-format
msgid "Imported %s"
msgstr "%s importiert"
@@ -4622,128 +4550,19 @@ msgstr "%s importiert"
msgid "Last Import"
msgstr "Letzter Import"
-#: src/library/LibraryWindow.vala:285
-msgid "_Import From Folder…"
-msgstr "Aus Ordner _importieren …"
-
-#: src/library/LibraryWindow.vala:286
-msgid "Import photos from disk to library"
-msgstr "Fotos von der Festplatte in die Bibliothek importieren"
-
-#: src/library/LibraryWindow.vala:293
-msgid "Import From _Application…"
-msgstr "Importieren von _Anwendung …"
-
-#: src/library/LibraryWindow.vala:297
-msgid "Sort _Events"
-msgstr "_Ereignisse sortieren"
-
-#: src/library/LibraryWindow.vala:307
-msgid "Empty T_rash"
-msgstr "Papierkorb lee_ren"
-
-#: src/library/LibraryWindow.vala:308
-msgid "Delete all photos in the trash"
-msgstr "Alle Fotos im Papierkorb löschen"
-
-#: src/library/LibraryWindow.vala:313
-msgid "View Eve_nt for Photo"
-msgstr "Ereig_nis zum Foto anzeigen"
-
-#: src/library/LibraryWindow.vala:317
-msgid "_Find"
-msgstr "_Suchen"
-
-#: src/library/LibraryWindow.vala:318
-msgid "Find photos and videos by search criteria"
-msgstr "Fotos und Videos anhand von Suchkriterien finden"
-
-#: src/library/LibraryWindow.vala:329 src/searches/Branch.vala:77
-#: src/sidebar/Tree.vala:199
-msgid "Ne_w Saved Search…"
-msgstr "Neue _gespeicherte Suche …"
-
-#: src/library/LibraryWindow.vala:351
-msgid "_Photos"
-msgstr "_Fotos"
-
-#: src/library/LibraryWindow.vala:355
-msgid "Even_ts"
-msgstr "_Ereignisse"
-
-#: src/library/LibraryWindow.vala:359 src/MediaPage.vala:469
-msgid "Ta_gs"
-msgstr "S_tichworte"
-
-#: src/library/LibraryWindow.vala:374
-msgid "_Basic Information"
-msgstr "_Grundlegende Informationen"
-
-#: src/library/LibraryWindow.vala:375
-msgid "Display basic information for the selection"
-msgstr "Grundlegende Informationen über die Auswahl anzeigen"
-
-#: src/library/LibraryWindow.vala:380
-msgid "E_xtended Information"
-msgstr "Er_weiterte Informationen"
-
-#: src/library/LibraryWindow.vala:381
-msgid "Display extended information for the selection"
-msgstr "Erweiterte Informationen über die Auswahl anzeigen"
-
-#: src/library/LibraryWindow.vala:386
-msgid "_Search Bar"
-msgstr "_Suchleiste"
-
-#: src/library/LibraryWindow.vala:387
-msgid "Display the search bar"
-msgstr "Suchleiste anzeigen"
-
-#: src/library/LibraryWindow.vala:392
-msgid "S_idebar"
-msgstr "S_eitenleiste"
-
-#: src/library/LibraryWindow.vala:393
-msgid "Display the sidebar"
-msgstr "Seitenleiste anzeigen"
-
-#: src/library/LibraryWindow.vala:398
-msgid "T_oolbar"
-msgstr "_Werkzeugleiste"
-
-#: src/library/LibraryWindow.vala:399
-msgid "Display the tool bar"
-msgstr "Die Werkzeugleiste anzeigen"
-
-#: src/library/LibraryWindow.vala:411 src/MediaPage.vala:515
-msgid "_Ascending"
-msgstr "_Aufsteigend"
-
-#: src/library/LibraryWindow.vala:412 src/MediaPage.vala:516
-msgid "Sort photos in an ascending order"
-msgstr "Fotos in aufsteigender Reihenfolge sortieren"
-
-#: src/library/LibraryWindow.vala:418 src/MediaPage.vala:521
-msgid "D_escending"
-msgstr "A_bsteigend"
-
-#: src/library/LibraryWindow.vala:419 src/MediaPage.vala:522
-msgid "Sort photos in a descending order"
-msgstr "Fotos in absteigender Reihenfolge sortieren"
-
-#: src/library/LibraryWindow.vala:657
+#: src/library/LibraryWindow.vala:501
msgid "Import From Folder"
msgstr "Aus Ordner importieren"
-#: src/library/LibraryWindow.vala:726
+#: src/library/LibraryWindow.vala:570 ui/trash.ui:288
msgid "Empty Trash"
msgstr "Papierkorb leeren"
-#: src/library/LibraryWindow.vala:726
+#: src/library/LibraryWindow.vala:570
msgid "Emptying Trash…"
msgstr "Papierkorb wird geleert …"
-#: src/library/LibraryWindow.vala:901
+#: src/library/LibraryWindow.vala:763
#, c-format
msgid ""
"Shotwell is configured to import photos to your home directory.\n"
@@ -4757,33 +4576,33 @@ msgstr ""
"bearbeiten</span> zu ändern.\n"
"Möchten Sie mit dem Importieren der Fotos fortfahren?"
-#: src/library/LibraryWindow.vala:904 ui/shotwell.ui:784
+#: src/library/LibraryWindow.vala:766 ui/shotwell.ui:142
msgid "Library Location"
msgstr "Speicherort der Bibliothek"
#. TODO: Specify which directory/file.
-#: src/library/LibraryWindow.vala:917
+#: src/library/LibraryWindow.vala:779
msgid "Photos cannot be imported from this directory."
msgstr "Aus diesem Ordner können keine Fotos importiert werden."
-#: src/library/LibraryWindow.vala:1203
+#: src/library/LibraryWindow.vala:1059
#, c-format
msgid "%s (%d%%)"
msgstr "%s (%d%%)"
-#: src/library/LibraryWindow.vala:1247 src/library/LibraryWindow.vala:1258
+#: src/library/LibraryWindow.vala:1103 src/library/LibraryWindow.vala:1114
msgid "Updating library…"
msgstr "Bibliothek wird aktualisiert …"
-#: src/library/LibraryWindow.vala:1264
+#: src/library/LibraryWindow.vala:1120
msgid "Preparing to auto-import photos…"
msgstr "Preparing to auto-import photos…"
-#: src/library/LibraryWindow.vala:1269
+#: src/library/LibraryWindow.vala:1125
msgid "Auto-importing photos…"
msgstr "Fotos werden automatisch importiert …"
-#: src/library/LibraryWindow.vala:1277
+#: src/library/LibraryWindow.vala:1133
msgid "Writing metadata to files…"
msgstr "Metadaten werden in die Dateien geschrieben …"
@@ -4791,7 +4610,7 @@ msgstr "Metadaten werden in die Dateien geschrieben …"
msgid "Missing Files"
msgstr "Fehlende Dateien"
-#: src/library/OfflinePage.vala:106
+#: src/library/OfflinePage.vala:103
msgid "Deleting…"
msgstr "Löschen läuft …"
@@ -4799,15 +4618,15 @@ msgstr "Löschen läuft …"
msgid "Trash"
msgstr "Papierkorb"
-#: src/library/TrashPage.vala:108
+#: src/library/TrashPage.vala:101
msgid "Trash is empty"
msgstr "Der Papierkorb ist leer"
-#: src/library/TrashPage.vala:112
+#: src/library/TrashPage.vala:105
msgid "Delete"
msgstr "Löschen"
-#: src/library/TrashPage.vala:113
+#: src/library/TrashPage.vala:106
msgid "Deleting Photos"
msgstr "Fotos werden gelöscht"
@@ -4897,72 +4716,7 @@ msgstr "Überwachungsaktualisierungen können nicht verarbeitet werden: %s"
msgid "Adjust the size of the thumbnails"
msgstr "Die Größe der Vorschaubilder anpassen"
-#: src/MediaPage.vala:341
-msgid "Increase the magnification of the thumbnails"
-msgstr "Vorschaubilder vergrößern"
-
-#: src/MediaPage.vala:347
-msgid "Decrease the magnification of the thumbnails"
-msgstr "Vorschaubilder verkleinern"
-
-#: src/MediaPage.vala:414
-msgid "Sort _Photos"
-msgstr "_Fotos sortieren"
-
-#: src/MediaPage.vala:423
-msgid "_Play Video"
-msgstr "Video _abspielen"
-
-#: src/MediaPage.vala:424
-msgid "Open the selected videos in the system video player"
-msgstr ""
-"Die ausgewählten Videos mit der voreingestellten Video-Wiedergabe öffnen"
-
-#: src/MediaPage.vala:428 src/PhotoPage.vala:2640
-msgid "_Developer"
-msgstr "_Entwickler"
-
-#: src/MediaPage.vala:458
-msgid "Display the comment of each photo"
-msgstr "Die Kommentare zu jedem Bild anzeigen"
-
-#: src/MediaPage.vala:470
-msgid "Display each photo’s tags"
-msgstr "Stichworte jedes Fotos anzeigen"
-
-#: src/MediaPage.vala:486
-msgid "By _Title"
-msgstr "Nach _Titel"
-
-#: src/MediaPage.vala:487
-msgid "Sort photos by title"
-msgstr "Fotos nach Titel sortieren"
-
-#: src/MediaPage.vala:492
-msgid "By Exposure _Date"
-msgstr "Nach Aufnahme_datum"
-
#: src/MediaPage.vala:493
-msgid "Sort photos by exposure date"
-msgstr "Fotos nach Aufnahmedatum sortieren"
-
-#: src/MediaPage.vala:498
-msgid "By _Rating"
-msgstr "Nach _Bewertung"
-
-#: src/MediaPage.vala:499
-msgid "Sort photos by rating"
-msgstr "Fotos nach Bewertung sortieren"
-
-#: src/MediaPage.vala:504
-msgid "By _Filename"
-msgstr "Nach _Dateiname"
-
-#: src/MediaPage.vala:505
-msgid "Sort photos by filename"
-msgstr "Fotos nach Dateinamen sortieren"
-
-#: src/MediaPage.vala:723
#, c-format
msgid ""
"Shotwell was unable to play the selected video:\n"
@@ -4971,34 +4725,34 @@ msgstr ""
"Shotwell konnte das ausgewählte Video nicht abspielen:\n"
"%s"
-#: src/Page.vala:1266
+#: src/Page.vala:1338
msgid "No photos/videos"
msgstr "Keine Fotos/Videos"
-#: src/Page.vala:1270
+#: src/Page.vala:1342
msgid "No photos/videos found which match the current filter"
msgstr "Keine Fotos oder Videos gefunden, die auf den aktuellen Filter passen"
-#: src/Page.vala:2576
+#: src/Page.vala:2648
msgid "Photos cannot be exported to this directory."
msgstr "Fotos können nicht in diesen Ordner exportiert werden."
#. previous button
-#: src/PhotoPage.vala:533
+#: src/PhotoPage.vala:535
msgid "Previous photo"
msgstr "Voriges Foto"
#. next button
-#: src/PhotoPage.vala:539
+#: src/PhotoPage.vala:541
msgid "Next photo"
msgstr "Nächstes Foto"
-#: src/PhotoPage.vala:1845
+#: src/PhotoPage.vala:1847
#, c-format
msgid "Photo source file missing: %s"
msgstr "Foto-Quelldatei fehlt: %s"
-#: src/PhotoPage.vala:3229
+#: src/PhotoPage.vala:3008
#, c-format
msgid "Unable to export %s: %s"
msgstr "%s kann nicht exportiert werden: %s"
@@ -5102,19 +4856,19 @@ msgstr ""
"\n"
"%s"
-#: src/Properties.vala:84
+#: src/Properties.vala:87
msgid "Today"
msgstr "Heute"
-#: src/Properties.vala:86
+#: src/Properties.vala:89
msgid "Yesterday"
msgstr "Gestern"
-#: src/Properties.vala:343
+#: src/Properties.vala:346
msgid "Items:"
msgstr "Einträge:"
-#: src/Properties.vala:346
+#: src/Properties.vala:349
#, c-format
msgid "%d Event"
msgid_plural "%d Events"
@@ -5122,104 +4876,104 @@ msgstr[0] "%d Ereignis"
msgstr[1] "%d Ereignisse"
#. display only one date if start and end are the same
-#: src/Properties.vala:377
+#: src/Properties.vala:380
msgid "Date:"
msgstr "Datum:"
#. display only one time if start and end are the same
-#: src/Properties.vala:381
+#: src/Properties.vala:384
msgid "Time:"
msgstr "Zeit:"
#. display time range
#. display date range
-#: src/Properties.vala:384 src/Properties.vala:389
+#: src/Properties.vala:387 src/Properties.vala:392
msgid "From:"
msgstr "Von:"
-#: src/Properties.vala:385 src/Properties.vala:390
+#: src/Properties.vala:388 src/Properties.vala:393
msgid "To:"
msgstr "Bis:"
-#: src/Properties.vala:404
+#: src/Properties.vala:407
msgid "Duration:"
msgstr "Dauer:"
-#: src/Properties.vala:404
+#: src/Properties.vala:407
#, c-format
msgid "%.1f seconds"
msgstr "%.1f Sekunden"
-#: src/Properties.vala:408
+#: src/Properties.vala:411
msgid "Developer:"
msgstr "Entwickler:"
#. nothing special to be done for now for Events
-#: src/Properties.vala:583
+#: src/Properties.vala:586
msgid "Location:"
msgstr "Ort:"
-#: src/Properties.vala:586
+#: src/Properties.vala:589
msgid "File size:"
msgstr "Dateigröße:"
-#: src/Properties.vala:590
+#: src/Properties.vala:593
msgid "Current Development:"
msgstr "Aktuelle Entwicklung:"
-#: src/Properties.vala:592
+#: src/Properties.vala:595
msgid "Original dimensions:"
msgstr "Ursprüngliche Größe:"
-#: src/Properties.vala:595
+#: src/Properties.vala:598
msgid "Camera make:"
msgstr "Kamerahersteller:"
-#: src/Properties.vala:598
+#: src/Properties.vala:601
msgid "Camera model:"
msgstr "Kameramodell:"
-#: src/Properties.vala:601
+#: src/Properties.vala:604
msgid "Flash:"
msgstr "Blitz:"
-#: src/Properties.vala:603
+#: src/Properties.vala:606
msgid "Focal length:"
msgstr "Brennweite:"
-#: src/Properties.vala:606
+#: src/Properties.vala:609
msgid "Exposure date:"
msgstr "Aufnahmedatum:"
-#: src/Properties.vala:609
+#: src/Properties.vala:612
msgid "Exposure time:"
msgstr "Belichtungszeit:"
-#: src/Properties.vala:612
+#: src/Properties.vala:615
msgid "Exposure bias:"
msgstr "Manuelle Belichtungskorrektur:"
-#: src/Properties.vala:614
+#: src/Properties.vala:617
msgid "GPS latitude:"
msgstr "GPS-Breitengrad:"
-#: src/Properties.vala:617
+#: src/Properties.vala:620
msgid "GPS longitude:"
msgstr "GPS-Längengrad:"
-#: src/Properties.vala:620
+#: src/Properties.vala:623
msgid "Artist:"
msgstr "Künstler:"
-#: src/Properties.vala:622
+#: src/Properties.vala:625
msgid "Copyright:"
msgstr "Copyright:"
-#: src/Properties.vala:624
+#: src/Properties.vala:627
msgid "Software:"
msgstr "Software:"
-#: src/Properties.vala:641
+#: src/Properties.vala:644
msgid "Extended Information"
msgstr "Erweiterte Informationen"
@@ -5245,65 +4999,58 @@ msgstr ""
"Um die Veröffentlichung bei einem anderen Dienstanbieter zu versuchen, "
"wählen Sie diesen bitte im obigen Menü aus."
-#: src/publishing/PublishingUI.vala:105
-msgid "The selected photos/videos were successfully published."
-msgstr "Die ausgewählten Fotos/Videos wurden erfolgreich veröffentlicht."
-
-#: src/publishing/PublishingUI.vala:107
-msgid "The selected videos were successfully published."
-msgstr "Die ausgewählten Videos wurden erfolgreich veröffentlicht."
-
-#: src/publishing/PublishingUI.vala:109
-msgid "The selected photos were successfully published."
-msgstr "Die ausgewählten Fotos wurden erfolgreich veröffentlicht."
-
-#: src/publishing/PublishingUI.vala:112
+#. Here, we check whether more than one item is being uploaded, and if so, display
+#. an alternate message.
+#: src/publishing/PublishingUI.vala:104 src/publishing/PublishingUI.vala:109
+#| msgid "The selected video was successfully published."
msgid "The selected video was successfully published."
-msgstr "Das ausgewählte Video wurde erfolgreich veröffentlicht."
+msgid_plural "The selected videos were successfully published."
+msgstr[0] "Das ausgewählte Video wurde erfolgreich veröffentlicht."
+msgstr[1] "Das ausgewählte Video wurde erfolgreich veröffentlicht."
-#: src/publishing/PublishingUI.vala:114
-msgid "The selected photo was successfully published."
-msgstr "Das ausgewählte Foto wurde erfolgreich veröffentlicht."
+#: src/publishing/PublishingUI.vala:115
+msgid "The selected photos/videos were successfully published."
+msgstr "Die ausgewählten Fotos/Videos wurden erfolgreich veröffentlicht."
-#: src/publishing/PublishingUI.vala:122
+#: src/publishing/PublishingUI.vala:127
msgid "Fetching account information…"
msgstr "Konto-Information wird abgerufen …"
-#: src/publishing/PublishingUI.vala:128
+#: src/publishing/PublishingUI.vala:133
msgid "Logging in…"
msgstr "Anmelden …"
-#: src/publishing/PublishingUI.vala:188
+#: src/publishing/PublishingUI.vala:193
msgid "Publish Photos"
msgstr "Fotos veröffentlichen"
-#: src/publishing/PublishingUI.vala:189
+#: src/publishing/PublishingUI.vala:194
msgid "Publish photos _to:"
msgstr "Fotos veröffentlichen _auf:"
-#: src/publishing/PublishingUI.vala:191
+#: src/publishing/PublishingUI.vala:196
msgid "Publish Videos"
msgstr "Videos veröffentlichen"
-#: src/publishing/PublishingUI.vala:192
+#: src/publishing/PublishingUI.vala:197
msgid "Publish videos _to"
msgstr "Videos veröffentlichen _auf:"
-#: src/publishing/PublishingUI.vala:194
+#: src/publishing/PublishingUI.vala:199
msgid "Publish Photos and Videos"
msgstr "Fotos und Videos veröffentlichen"
-#: src/publishing/PublishingUI.vala:195
+#: src/publishing/PublishingUI.vala:200
msgid "Publish photos and videos _to"
msgstr "Fotos und Videos veröffentlichen _auf:"
#. There are no enabled publishing services that accept this media type,
#. warn the user.
-#: src/publishing/PublishingUI.vala:397
+#: src/publishing/PublishingUI.vala:410
msgid "Unable to publish"
msgstr "Veröffentlichen ist nicht möglich"
-#: src/publishing/PublishingUI.vala:398
+#: src/publishing/PublishingUI.vala:411
#, c-format
msgid ""
"Shotwell cannot publish the selected items because you do not have a "
@@ -5321,11 +5068,7 @@ msgstr ""
msgid "Publishing"
msgstr "Veröffentlichen"
-#: src/Resources.vala:139
-msgid "Rotate _Right"
-msgstr "Nach _rechts drehen"
-
-#: src/Resources.vala:140 src/Resources.vala:145
+#: src/Resources.vala:140 src/Resources.vala:145 ui/collection.ui:149
msgid "Rotate"
msgstr "Drehen"
@@ -5333,14 +5076,10 @@ msgstr "Drehen"
msgid "Rotate Right"
msgstr "Nach rechts drehen"
-#: src/Resources.vala:142
+#: src/Resources.vala:142 ui/collection.ui:146
msgid "Rotate the photos right (press Ctrl to rotate left)"
msgstr "Fotos nach rechts drehen (Strg zum Drehen nach links drücken)"
-#: src/Resources.vala:144
-msgid "Rotate _Left"
-msgstr "Nach _links drehen"
-
#: src/Resources.vala:146
msgid "Rotate Left"
msgstr "Nach links drehen"
@@ -5349,23 +5088,17 @@ msgstr "Nach links drehen"
msgid "Rotate the photos left"
msgstr "Fotos nach links drehen"
-#: src/Resources.vala:149
-msgid "Flip Hori_zontally"
-msgstr "Hori_zontal spiegeln"
-
#: src/Resources.vala:150
msgid "Flip Horizontally"
msgstr "Horizontal spiegeln"
-#: src/Resources.vala:152
-msgid "Flip Verti_cally"
-msgstr "Verti_kal spiegeln"
-
#: src/Resources.vala:153
msgid "Flip Vertically"
msgstr "Vertikal spiegeln"
-#: src/Resources.vala:155
+#: 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
msgid "_About"
msgstr "_Info"
@@ -5373,14 +5106,30 @@ msgstr "_Info"
msgid "_Apply"
msgstr "_Anwenden"
+#: src/Resources.vala:159 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/top.ui:10 ui/trash.ui:37
+msgid "_Edit"
+msgstr "_Bearbeiten"
+
#: src/Resources.vala:160
msgid "_Forward"
msgstr "_Vor"
-#: src/Resources.vala:161
+#: src/Resources.vala:161 ui/direct.ui:62 ui/events_directory.ui:125
+#: ui/photo.ui:173
msgid "Fulls_creen"
msgstr "Bilds_chirmfüllend"
+#: 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/top.ui:40 ui/trash.ui:189 ui/trash.ui:192
+msgid "_Help"
+msgstr "_Hilfe"
+
#: src/Resources.vala:163
msgid "Leave _Fullscreen"
msgstr "_Vollbild verlassen"
@@ -5393,15 +5142,9 @@ msgstr "_Neu"
msgid "_Next"
msgstr "_Nächster"
-#: src/Resources.vala:166
-msgid "_OK"
-msgstr "_OK"
-
-#: src/Resources.vala:167
-msgid "_Play"
-msgstr "_Wiedergabe"
-
-#: src/Resources.vala:168 src/Resources.vala:317
+#: src/Resources.vala:168 src/Resources.vala:317 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 "_Einstellungen"
@@ -5409,11 +5152,9 @@ msgstr "_Einstellungen"
msgid "_Previous"
msgstr "_Vorheriger"
-#: src/Resources.vala:170
-msgid "_Print"
-msgstr "_Drucken"
-
-#: src/Resources.vala:171
+#: src/Resources.vala:171 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 "_Beenden"
@@ -5453,22 +5194,24 @@ msgstr "_Normale Größe"
msgid "Best _Fit"
msgstr "_Einpassen"
-#: src/Resources.vala:186
-msgid "_Enhance"
-msgstr "_Verbessern"
+#: src/Resources.vala:183 ui/direct.ui:69 ui/event.ui:260 ui/media.ui:260
+#: ui/photo.ui:144 ui/tags.ui:260
+msgid "Zoom _In"
+msgstr "Ver_größern"
-#: src/Resources.vala:187
+#: src/Resources.vala:184 ui/direct.ui:74 ui/event.ui:265 ui/media.ui:265
+#: ui/photo.ui:149 ui/tags.ui:265
+msgid "Zoom _Out"
+msgstr "Ver_kleinern"
+
+#: src/Resources.vala:187 ui/collection.ui:165
msgid "Enhance"
msgstr "Verbessern"
-#: src/Resources.vala:188
+#: src/Resources.vala:188 ui/collection.ui:162
msgid "Automatically improve the photo’s appearance"
msgstr "Automatisch das Aussehen des Fotos verbessern"
-#: src/Resources.vala:190
-msgid "_Copy Color Adjustments"
-msgstr "Farbanpassungen _kopieren"
-
#: src/Resources.vala:191
msgid "Copy Color Adjustments"
msgstr "Farbanpassungen kopieren"
@@ -5477,10 +5220,6 @@ msgstr "Farbanpassungen kopieren"
msgid "Copy the color adjustments applied to the photo"
msgstr "Die am Foto vorgenommenen Farbanpassungen kopieren"
-#: src/Resources.vala:194
-msgid "_Paste Color Adjustments"
-msgstr "Farbanpassungen _einfügen"
-
#: src/Resources.vala:195
msgid "Paste Color Adjustments"
msgstr "Farbanpassungen einfügen"
@@ -5489,7 +5228,7 @@ msgstr "Farbanpassungen einfügen"
msgid "Apply copied color adjustments to the selected photos"
msgstr "Die kopierten Farbanpassungen auf die gewählten Fotos anwenden"
-#: src/Resources.vala:198
+#: src/Resources.vala:198 ui/direct.ui:139 ui/photo.ui:228
msgid "_Crop"
msgstr "Zus_chneiden"
@@ -5509,7 +5248,7 @@ msgstr "Ausrichten"
msgid "Straighten the photo"
msgstr "Bild begradigen"
-#: src/Resources.vala:206
+#: src/Resources.vala:206 ui/direct.ui:149 ui/photo.ui:238
msgid "_Red-eye"
msgstr "_Rote Augen entfernen"
@@ -5521,7 +5260,7 @@ msgstr "Rote-Augen-Effekt"
msgid "Reduce or eliminate any red-eye effects in the photo"
msgstr "Den Rote-Augen-Effekt in diesem Foto vermindern oder beseitigen"
-#: src/Resources.vala:210
+#: src/Resources.vala:210 ui/direct.ui:154 ui/photo.ui:243
msgid "_Adjust"
msgstr "_Anpassen"
@@ -5533,10 +5272,6 @@ msgstr "Anpassen"
msgid "Adjust the photo’s color and tone"
msgstr "Farbe und Farbton des Fotos anpassen"
-#: src/Resources.vala:214
-msgid "Re_vert to Original"
-msgstr "_Zurück zum Original"
-
#: src/Resources.vala:215
msgid "Revert to Original"
msgstr "Zurück zum Original"
@@ -5549,10 +5284,6 @@ msgstr "Externe Veränderungen wi_derrufen"
msgid "Revert to the master photo"
msgstr "Zum Ursprungsbild zurückkehren"
-#: src/Resources.vala:220
-msgid "Set as _Desktop Background"
-msgstr "Als Hintergrund_bild festlegen"
-
#: src/Resources.vala:221
msgid "Set selected image to be the new desktop background"
msgstr "Das ausgewählte Bild als neues Hintergrundbild festlegen"
@@ -5561,7 +5292,9 @@ msgstr "Das ausgewählte Bild als neues Hintergrundbild festlegen"
msgid "Set as _Desktop Slideshow…"
msgstr "Als Hintergrund-Bil_dvorführung setzen …"
-#: src/Resources.vala:224
+#: src/Resources.vala:224 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 "_Rückgängig"
@@ -5569,7 +5302,9 @@ msgstr "_Rückgängig"
msgid "Undo"
msgstr "Rückgängig"
-#: src/Resources.vala:227
+#: src/Resources.vala:227 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 "_Wiederholen"
@@ -5577,11 +5312,12 @@ msgstr "_Wiederholen"
msgid "Redo"
msgstr "Wiederholen"
-#: src/Resources.vala:230
+#: src/Resources.vala:230 ui/events_directory.ui:139 ui/events_directory.ui:181
+#: ui/event.ui:391 ui/event.ui:584
msgid "Re_name Event…"
msgstr "Ereignis umbe_nennen …"
-#: src/Resources.vala:233
+#: src/Resources.vala:233 ui/event.ui:371 ui/event.ui:576
msgid "Make _Key Photo for Event"
msgstr "Zum _Schlüsselfoto für dieses Ereignis machen"
@@ -5589,7 +5325,7 @@ msgstr "Zum _Schlüsselfoto für dieses Ereignis machen"
msgid "Make Key Photo for Event"
msgstr "Zum Schlüsselfoto für dieses Ereignis machen"
-#: src/Resources.vala:236
+#: src/Resources.vala:236 ui/event.ui:380 ui/media.ui:374 ui/tags.ui:374
msgid "_New Event"
msgstr "_Neues Ereignis"
@@ -5605,7 +5341,7 @@ msgstr "Fotos verschieben"
msgid "Move photos to an event"
msgstr "Fotos in ein Ereignis verschieben"
-#: src/Resources.vala:242
+#: src/Resources.vala:242 ui/events_directory.ui:135 ui/events_directory.ui:177
msgid "_Merge Events"
msgstr "Ereignisse _zusammenführen"
@@ -5617,7 +5353,8 @@ msgstr "Zusammenführen"
msgid "Combine events into a single event"
msgstr "Mehrere Ereignisse zu einem Einzelereignis zusammenfassen"
-#: src/Resources.vala:246
+#: src/Resources.vala:246 ui/collection.ui:39 ui/event.ui:286 ui/event.ui:476
+#: ui/media.ui:286 ui/photo_context.ui:35 ui/photo.ui:273 ui/tags.ui:286
msgid "_Set Rating"
msgstr "_Bewerten"
@@ -5629,7 +5366,8 @@ msgstr "Bewerten"
msgid "Change the rating of your photo"
msgstr "Bewertung des Fotos ändern"
-#: src/Resources.vala:250
+#: src/Resources.vala:250 ui/collection.ui:72 ui/event.ui:326 ui/event.ui:509
+#: ui/media.ui:326 ui/photo_context.ui:75 ui/photo.ui:313 ui/tags.ui:326
msgid "_Increase"
msgstr "_Aufwerten"
@@ -5637,7 +5375,8 @@ msgstr "_Aufwerten"
msgid "Increase Rating"
msgstr "Bewertung erhöhen"
-#: src/Resources.vala:253
+#: src/Resources.vala:253 ui/collection.ui:76 ui/event.ui:331 ui/event.ui:513
+#: ui/media.ui:331 ui/photo_context.ui:80 ui/photo.ui:318 ui/tags.ui:331
msgid "_Decrease"
msgstr "A_bwerten"
@@ -5645,7 +5384,8 @@ msgstr "A_bwerten"
msgid "Decrease Rating"
msgstr "Bewertung vermindern"
-#: src/Resources.vala:256
+#: src/Resources.vala:256 ui/collection.ui:62 ui/event.ui:314 ui/event.ui:499
+#: ui/media.ui:314 ui/photo_context.ui:63 ui/photo.ui:301 ui/tags.ui:314
msgid "_Unrated"
msgstr "_Nicht bewertet"
@@ -5665,7 +5405,8 @@ msgstr "Bewertung wird entfernt"
msgid "Remove any ratings"
msgstr "Alle Bewertungen entfernen"
-#: src/Resources.vala:262
+#: src/Resources.vala:262 ui/collection.ui:66 ui/event.ui:319 ui/event.ui:503
+#: ui/media.ui:319 ui/photo_context.ui:68 ui/photo.ui:306 ui/tags.ui:319
msgid "_Rejected"
msgstr "A_bgelehnt"
@@ -5685,7 +5426,8 @@ msgstr "Wird als abgelehnt bewertet"
msgid "Set rating to rejected"
msgstr "Foto als abgelehnt bewerten"
-#: src/Resources.vala:268
+#: src/Resources.vala:268 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 "Nur A_bgelehnte"
@@ -5697,7 +5439,8 @@ msgstr "Nur Abgelehnte"
msgid "Show only rejected photos"
msgstr "Nur abgelehnte Fotos zeigen"
-#: src/Resources.vala:272
+#: src/Resources.vala:272 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 "Alle und A_bgelehnte"
@@ -5706,7 +5449,8 @@ msgctxt "Tooltip"
msgid "Show all photos, including rejected"
msgstr "Alle Fotos einschließlich abgelehnter anzeigen"
-#: src/Resources.vala:275
+#: src/Resources.vala:275 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 "_Alle Fotos"
@@ -5715,7 +5459,8 @@ msgstr "_Alle Fotos"
msgid "Show all photos"
msgstr "Alle Fotos anzeigen"
-#: src/Resources.vala:279
+#: src/Resources.vala:279 ui/event.ui:144 ui/media.ui:144 ui/photo.ui:120
+#: ui/tags.ui:144
msgid "_Ratings"
msgstr "_Bewertungen"
@@ -5723,7 +5468,8 @@ msgstr "_Bewertungen"
msgid "Display each photo’s rating"
msgstr "Bewertung jedes Fotos anzeigen"
-#: src/Resources.vala:282
+#: src/Resources.vala:282 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 "Fotos _filtern"
@@ -5735,10 +5481,6 @@ msgstr "Fotos filtern"
msgid "Limit the number of photos displayed based on a filter"
msgstr "Angezeigte Fotos anhand eines Filters einschränken"
-#: src/Resources.vala:286
-msgid "_Duplicate"
-msgstr "_Duplizieren"
-
#: src/Resources.vala:287
msgid "Duplicate"
msgstr "Duplizieren"
@@ -5759,11 +5501,12 @@ msgstr "_Drucken …"
msgid "Pu_blish…"
msgstr "Verö_ffentlichen …"
-#: src/Resources.vala:296
+#: src/Resources.vala:296 ui/collection.ui:187
msgid "Publish to various websites"
msgstr "Das ausgewählte Foto auf verschiedenen Webseiten veröffentlichen"
-#: src/Resources.vala:298
+#: src/Resources.vala:298 ui/collection.ui:98 ui/event.ui:340 ui/event.ui:535
+#: ui/media.ui:340 ui/photo_context.ui:105 ui/photo.ui:327 ui/tags.ui:340
msgid "Edit _Title…"
msgstr "_Titel bearbeiten …"
@@ -5773,7 +5516,9 @@ msgctxt "Button Label"
msgid "Edit Title"
msgstr "Titel bearbeiten"
-#: src/Resources.vala:302
+#: 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
msgid "Edit _Comment…"
msgstr "_Kommentar bearbeiten …"
@@ -5782,11 +5527,11 @@ msgstr "_Kommentar bearbeiten …"
msgid "Edit Comment"
msgstr "Kommentar bearbeiten"
-#: src/Resources.vala:306
+#: src/Resources.vala:306 ui/event.ui:588
msgid "Edit Event _Comment…"
msgstr "_Kommentar des Ereignisses bearbeiten …"
-#: src/Resources.vala:309
+#: src/Resources.vala:309 ui/direct.ui:167 ui/photo.ui:335
msgid "_Adjust Date and Time…"
msgstr "Datum und Zeit _anpassen …"
@@ -5794,11 +5539,12 @@ msgstr "Datum und Zeit _anpassen …"
msgid "Adjust Date and Time"
msgstr "Datum und Zeit anpassen"
-#: src/Resources.vala:312
+#: 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
msgid "Add _Tags…"
msgstr "Stichwor_te hinzufügen …"
-#: src/Resources.vala:313
+#: src/Resources.vala:313 ui/photo_context.ui:17
msgid "_Add Tags…"
msgstr "Stich_worte hinzufügen …"
@@ -5808,19 +5554,7 @@ msgctxt "Dialog Title"
msgid "Add Tags"
msgstr "Stichworte hinzufügen"
-#: src/Resources.vala:319
-msgid "Open With E_xternal Editor"
-msgstr "Mit e_xternem Editor öffnen"
-
-#: src/Resources.vala:321
-msgid "Open With RA_W Editor"
-msgstr "Mit RA_W-Editor öffnen"
-
-#: src/Resources.vala:323
-msgid "Send _To…"
-msgstr "Senden _an …"
-
-#: src/Resources.vala:324
+#: src/Resources.vala:324 ui/photo_context.ui:133
msgid "Send T_o…"
msgstr "Senden a_n …"
@@ -5828,11 +5562,13 @@ msgstr "Senden a_n …"
msgid "_Find…"
msgstr "_Suchen …"
-#: src/Resources.vala:327
+#: src/Resources.vala:327 ui/collection.ui:215 ui/offline.ui:239
+#: ui/trash.ui:312
msgid "Find"
msgstr "Suchen"
-#: src/Resources.vala:328
+#: src/Resources.vala:328 ui/collection.ui:212 ui/offline.ui:236
+#: ui/trash.ui:309
msgid "Find an image by typing text that appears in its name or tags"
msgstr ""
"Ein Bild durch Eingabe von Text suchen, der im Namen oder in den Stichworten "
@@ -5896,7 +5632,8 @@ msgstr "Stichwort »%s« zu »%s« umbenennen"
msgid "_Rename…"
msgstr "_Umbenennen …"
-#: src/Resources.vala:375
+#: 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
msgid "Modif_y Tags…"
msgstr "Stichworte _ändern …"
@@ -5907,51 +5644,39 @@ msgstr "Stichworte ändern"
#: src/Resources.vala:379
#, c-format
msgid "Tag Photo as “%s”"
-msgstr "Foto mit Stichwort »%s« versehen"
+msgid_plural "Tag Photos as “%s”"
+msgstr[0] "Foto mit Stichwort »%s« versehen"
+msgstr[1] "Fotos mit Stichwort »%s« versehen"
-#: src/Resources.vala:379
-#, c-format
-msgid "Tag Photos as “%s”"
-msgstr "Fotos mit Stichwort »%s« versehen"
-
-#: src/Resources.vala:383
+#: src/Resources.vala:385
#, c-format
msgid "Tag the selected photo as “%s”"
-msgstr "Ausgewähltes Foto mit Stichwort »%s« versehen"
-
-#: src/Resources.vala:384
-#, c-format
-msgid "Tag the selected photos as “%s”"
-msgstr "Ausgewählte Fotos mit Stichwort »%s« versehen"
+msgid_plural "Tag the selected photos as “%s”"
+msgstr[0] "Ausgewähltes Foto mit Stichwort »%s« versehen"
+msgstr[1] "Ausgewählte Fotos mit Stichwort »%s« versehen"
-#: src/Resources.vala:388
+#: src/Resources.vala:391
#, c-format
msgid "Remove Tag “%s” From _Photo"
-msgstr "Stichwort »%s« von _Foto entfernen"
+msgid_plural "Remove Tag “%s” From _Photos"
+msgstr[0] "Stichwort »%s« von _Foto entfernen"
+msgstr[1] "Stichwort »%s« von _Fotos entfernen"
-#: src/Resources.vala:389
-#, c-format
-msgid "Remove Tag “%s” From _Photos"
-msgstr "Stichwort »%s« von _Fotos entfernen"
-
-#: src/Resources.vala:393
+#: src/Resources.vala:397
#, c-format
msgid "Remove Tag “%s” From Photo"
-msgstr "Stichwort »%s« von Foto entfernen"
+msgid_plural "Remove Tag “%s” From Photos"
+msgstr[0] "Stichwort »%s« von Foto entfernen"
+msgstr[1] "Stichwort »%s« von Fotos entfernen"
-#: src/Resources.vala:394
-#, c-format
-msgid "Remove Tag “%s” From Photos"
-msgstr "Stichwort »%s« von Fotos entfernen"
-
-#: src/Resources.vala:398
+#: src/Resources.vala:403
#, c-format
msgid "Unable to rename tag to “%s” because the tag already exists."
msgstr ""
"Stichwort kann nicht zu »%s« umbenannt werden, weil ein entsprechendes "
"Stichwort bereits vorhanden ist."
-#: src/Resources.vala:402
+#: src/Resources.vala:407
#, c-format
msgid "Unable to rename search to “%s” because the search already exists."
msgstr ""
@@ -5959,115 +5684,120 @@ msgstr ""
"vorhanden ist."
#. Saved search button
-#: src/Resources.vala:405 src/SearchFilter.vala:1210
+#: src/Resources.vala:410 src/SearchFilter.vala:1125
msgid "Saved Search"
msgstr "Gespeicherte Suche"
-#: src/Resources.vala:407
+#: src/Resources.vala:412
msgid "Delete Search"
msgstr "Suche löschen"
-#: src/Resources.vala:410
+#: src/Resources.vala:415 ui/savedsearch.ui:11
msgid "_Edit…"
msgstr "_Bearbeiten …"
-#: src/Resources.vala:411
+#: src/Resources.vala:416 ui/savedsearch.ui:7
msgid "Re_name…"
msgstr "_Umbenennen …"
-#: src/Resources.vala:414
+#: src/Resources.vala:419
#, c-format
msgid "Rename Search “%s” to “%s”"
msgstr "Suche »%s« zu »%s« umbenennen"
-#: src/Resources.vala:418
+#: src/Resources.vala:423
#, c-format
msgid "Delete Search “%s”"
msgstr "Suche »%s« löschen"
-#: src/Resources.vala:576
+#: src/Resources.vala:560
#, c-format
msgid "Rate %s"
msgstr "%s bewerten"
-#: src/Resources.vala:577
+#: src/Resources.vala:561
#, c-format
msgid "Set rating to %s"
msgstr "Mit %s bewerten"
-#: src/Resources.vala:578
+#: src/Resources.vala:562
#, c-format
msgid "Setting rating to %s"
msgstr "Wird mit %s bewertet"
-#: src/Resources.vala:580
+#: src/Resources.vala:564
#, c-format
msgid "Display %s"
msgstr "%s anzeigen"
-#: src/Resources.vala:581
+#: src/Resources.vala:565
#, c-format
msgid "Only show photos with a rating of %s"
msgstr "Nur Fotos mit einer Bewertung von %s anzeigen"
-#: src/Resources.vala:582
+#: src/Resources.vala:566
#, c-format
msgid "%s or Better"
msgstr "%s oder besser"
-#: src/Resources.vala:583
+#: src/Resources.vala:567
#, c-format
msgid "Display %s or Better"
msgstr "%s oder besser anzeigen"
-#: src/Resources.vala:584
+#: src/Resources.vala:568
#, c-format
msgid "Only show photos with a rating of %s or better"
msgstr "Nur Fotos mit einer Bewertung von %s oder besser anzeigen"
-#: src/Resources.vala:675
+#: src/Resources.vala:659 ui/trash.ui:255
msgid "Remove the selected photos from the trash"
msgstr "Ausgewählte Fotos aus dem Papierkorb entfernen"
-#: src/Resources.vala:676
+#: src/Resources.vala:660 ui/offline.ui:221
msgid "Remove the selected photos from the library"
msgstr "Die ausgewählten Fotos aus der Bibliothek entfernen"
-#: src/Resources.vala:678
+#: src/Resources.vala:662 ui/trash.ui:68 ui/trash.ui:221 ui/trash.ui:273
msgid "_Restore"
msgstr "_Wiederherstellen"
-#: src/Resources.vala:679
+#: src/Resources.vala:663 ui/trash.ui:270
msgid "Move the selected photos back into the library"
msgstr "Die ausgewählten Bilder zurück in die Bibliothek verschieben"
-#: src/Resources.vala:681
+#: 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
+#: ui/trash.ui:227
msgid "Show in File Mana_ger"
msgstr "Mit der Dateiverwaltun_g öffnen"
-#: src/Resources.vala:682
+#: src/Resources.vala:666
msgid "Open the selected photo’s directory in the file manager"
msgstr ""
"Den Speicherordner des ausgewählten Fotos in der Dateiverwaltung öffnen"
-#: src/Resources.vala:685
+#: src/Resources.vala:669
#, c-format
msgid "Unable to open in file manager: %s"
msgstr "Speicherort konnte nicht in der Dateiverwaltung geöffnet werden: %s"
-#: src/Resources.vala:688
+#: src/Resources.vala:672 ui/offline.ui:224
msgid "R_emove From Library"
msgstr "Aus Bibliothek _entfernen"
-#: src/Resources.vala:690
+#: 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
msgid "_Move to Trash"
msgstr "In den _Papierkorb verschieben"
-#: src/Resources.vala:692
+#: src/Resources.vala:676 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 "_Alle auswählen"
-#: src/Resources.vala:693
+#: src/Resources.vala:677
msgid "Select all items"
msgstr "Alle auswählen"
@@ -6080,14 +5810,14 @@ msgstr "Alle auswählen"
#. / 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:782
+#: src/Resources.vala:766
msgid "%a %b %d, %Y"
msgstr "%a %d. %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:787
+#: src/Resources.vala:771
msgctxt "MultidayFormat"
msgid "%a %b %d"
msgstr "%a %b %d"
@@ -6095,7 +5825,7 @@ msgstr "%a %b %d"
#. / 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:792
+#: src/Resources.vala:776
msgctxt "MultidayFormat"
msgid "%d, %Y"
msgstr "%d, %Y"
@@ -6103,7 +5833,7 @@ msgstr "%d, %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:797
+#: src/Resources.vala:781
msgctxt "MultimonthFormat"
msgid "%a %b %d"
msgstr "%a %d %b"
@@ -6111,7 +5841,7 @@ msgstr "%a %d %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:802
+#: src/Resources.vala:786
msgctxt "MultimonthFormat"
msgid "%a %b %d, %Y"
msgstr "%a %d. %b, %Y"
@@ -6125,139 +5855,139 @@ msgid "Saved Searches"
msgstr "Gespeicherte Suchen"
#. Ordering must correspond with SearchConditionText.Context
-#: src/searches/SavedSearchDialog.vala:168
+#: src/searches/SavedSearchDialog.vala:162
msgid "contains"
msgstr "enthält"
#. Ordering must correspond with Context
-#: src/searches/SavedSearchDialog.vala:169
-#: src/searches/SavedSearchDialog.vala:500
+#: src/searches/SavedSearchDialog.vala:163
+#: src/searches/SavedSearchDialog.vala:494
msgid "is exactly"
msgstr "entspricht genau"
-#: src/searches/SavedSearchDialog.vala:170
+#: src/searches/SavedSearchDialog.vala:164
msgid "starts with"
msgstr "beginnt mit"
-#: src/searches/SavedSearchDialog.vala:171
+#: src/searches/SavedSearchDialog.vala:165
msgid "ends with"
msgstr "endet auf"
-#: src/searches/SavedSearchDialog.vala:172
+#: src/searches/SavedSearchDialog.vala:166
msgid "does not contain"
msgstr "enthält nicht"
-#: src/searches/SavedSearchDialog.vala:173
-#: src/searches/SavedSearchDialog.vala:504
+#: src/searches/SavedSearchDialog.vala:167
+#: src/searches/SavedSearchDialog.vala:498
msgid "is not set"
msgstr "ist nicht gesetzt"
-#: src/searches/SavedSearchDialog.vala:174
+#: src/searches/SavedSearchDialog.vala:168
msgid "is set"
msgstr "ist gesetzt"
#. Ordering must correspond with SearchConditionMediaType.Context
-#: src/searches/SavedSearchDialog.vala:248
-#: src/searches/SavedSearchDialog.vala:379
-#: src/searches/SavedSearchDialog.vala:444
+#: src/searches/SavedSearchDialog.vala:242
+#: src/searches/SavedSearchDialog.vala:373
+#: src/searches/SavedSearchDialog.vala:438
msgid "is"
msgstr "ist"
-#: src/searches/SavedSearchDialog.vala:249
+#: src/searches/SavedSearchDialog.vala:243
msgid "is not"
msgstr "ist nicht"
#. Ordering must correspond with SearchConditionMediaType.MediaType
-#: src/searches/SavedSearchDialog.vala:255
+#: src/searches/SavedSearchDialog.vala:249
msgid "any photo"
msgstr "ein beliebiges Foto"
-#: src/searches/SavedSearchDialog.vala:256
+#: src/searches/SavedSearchDialog.vala:250
msgid "a raw photo"
msgstr "ein RAW-Foto"
-#: src/searches/SavedSearchDialog.vala:257
+#: src/searches/SavedSearchDialog.vala:251
msgid "a video"
msgstr "ein Video"
-#: src/searches/SavedSearchDialog.vala:311
+#: src/searches/SavedSearchDialog.vala:305
msgid "has"
msgstr "hat"
-#: src/searches/SavedSearchDialog.vala:312
+#: src/searches/SavedSearchDialog.vala:306
msgid "has no"
msgstr "hat keine"
-#: src/searches/SavedSearchDialog.vala:317
+#: src/searches/SavedSearchDialog.vala:311
msgid "modifications"
msgstr "Bearbeitungen"
-#: src/searches/SavedSearchDialog.vala:318
+#: src/searches/SavedSearchDialog.vala:312
msgid "internal modifications"
msgstr "internen Bearbeitungen"
-#: src/searches/SavedSearchDialog.vala:319
+#: src/searches/SavedSearchDialog.vala:313
msgid "external modifications"
msgstr "externen Bearbeitungen"
#. Ordering must correspond with SearchConditionFlagged.State
-#: src/searches/SavedSearchDialog.vala:373
+#: src/searches/SavedSearchDialog.vala:367
msgid "flagged"
msgstr "markiert"
-#: src/searches/SavedSearchDialog.vala:374
+#: src/searches/SavedSearchDialog.vala:368
msgid "not flagged"
msgstr "nicht markiert"
-#: src/searches/SavedSearchDialog.vala:437
+#: src/searches/SavedSearchDialog.vala:431
msgid "and higher"
msgstr "und höher"
-#: src/searches/SavedSearchDialog.vala:438
+#: src/searches/SavedSearchDialog.vala:432
msgid "only"
msgstr "nur"
-#: src/searches/SavedSearchDialog.vala:439
+#: src/searches/SavedSearchDialog.vala:433
msgid "and lower"
msgstr "und niedriger"
-#: src/searches/SavedSearchDialog.vala:501
+#: src/searches/SavedSearchDialog.vala:495
msgid "is after"
msgstr "ist nach"
-#: src/searches/SavedSearchDialog.vala:502
+#: src/searches/SavedSearchDialog.vala:496
msgid "is before"
msgstr "ist vor"
-#: src/searches/SavedSearchDialog.vala:503
+#: src/searches/SavedSearchDialog.vala:497
msgid "is between"
msgstr "ist zwischen"
-#: src/searches/SavedSearchDialog.vala:516
+#: src/searches/SavedSearchDialog.vala:510
msgid "and"
msgstr "und"
-#: src/searches/SavedSearchDialog.vala:697
+#: src/searches/SavedSearchDialog.vala:691
msgid "Search"
msgstr "Suchen"
-#: src/searches/SavedSearchDialog.vala:702
+#: src/searches/SavedSearchDialog.vala:696
msgid "Cancel"
msgstr "Abbrechen"
-#: src/searches/SavedSearchDialog.vala:703
+#: src/searches/SavedSearchDialog.vala:697
msgid "OK"
msgstr "OK"
-#: src/searches/SavedSearchDialog.vala:721
+#: src/searches/SavedSearchDialog.vala:716
msgid "any"
msgstr "beliebig"
-#: src/searches/SavedSearchDialog.vala:722
+#: src/searches/SavedSearchDialog.vala:717
msgid "all"
msgstr "alle"
-#: src/searches/SavedSearchDialog.vala:723
+#: src/searches/SavedSearchDialog.vala:718
msgid "none"
msgstr "keine"
@@ -6297,8 +6027,8 @@ msgstr "Markierungsstatus"
msgid "Photo state"
msgstr "Status des Fotos"
-#. Rating button
-#: src/searches/SearchBoolean.vala:184 src/SearchFilter.vala:1199
+#: src/searches/SearchBoolean.vala:184 src/SearchFilter.vala:831
+#: src/SearchFilter.vala:1115
msgid "Rating"
msgstr "Bewertung"
@@ -6306,47 +6036,61 @@ msgstr "Bewertung"
msgid "Date"
msgstr "Datum"
-#: src/SearchFilter.vala:614 src/SearchFilter.vala:615
-msgid "Videos"
-msgstr "Videos"
+#: src/SearchFilter.vala:815
+#| msgid "Rating"
+msgid "★+ Rating"
+msgstr "★+ Bewertung"
-#: src/SearchFilter.vala:620
-msgid "RAW Photos"
-msgstr "RAW-Fotos"
+#: src/SearchFilter.vala:818
+#| msgid "Rating"
+msgid "★★+ Rating"
+msgstr "★★+ Bewertung"
-#: src/SearchFilter.vala:621
-msgid "RAW photos"
-msgstr "RAW-Fotos"
+#: src/SearchFilter.vala:821
+msgid "★★★+ Rating"
+msgstr "★★★+ Bewertung"
+
+#: src/SearchFilter.vala:824
+msgid "★★★★+ Rating"
+msgstr "★★★★+ Bewertung"
-#: src/SearchFilter.vala:1148
+#: src/SearchFilter.vala:828
+msgid "★★★★★+ Rating"
+msgstr "★★★★★+ Bewertung"
+
+#: src/SearchFilter.vala:1065
#, c-format
-msgid "Error loading UI file %s: %s"
-msgstr "Fehler beim Laden der UI-Datei %s:%s"
+msgid "Error loading search bar UI: %s"
+msgstr "Fehler beim Laden der UI-Datei der Suchzeile: %s"
#. Ticket #3260 - Add a 'close' context menu to
#. the searchbar.
#. Prepare the close menu for use, but don't
#. display it yet; we'll connect it to secondary
#. click later on.
-#: src/SearchFilter.vala:1159
+#: src/SearchFilter.vala:1074
msgid "Close"
msgstr "Schließen"
#. Type label and toggles
-#: src/SearchFilter.vala:1165
+#: src/SearchFilter.vala:1080
msgid "Type"
msgstr "Typ"
-#: src/SearchFilter.vala:1211
+#: src/SearchFilter.vala:1087
+msgid "Videos"
+msgstr "Videos"
+
+#: src/SearchFilter.vala:1090
+msgid "RAW Photos"
+msgstr "RAW-Fotos"
+
+#: src/SearchFilter.vala:1126
msgid "Use a saved search to filter items in the current view"
msgstr ""
"Eine gespeicherte Suche verwenden, um Objekte in der aktuellen Ansicht zu "
"filtern"
-#: src/sidebar/Tree.vala:203
-msgid "New _Tag…"
-msgstr "Neues S_tichwort …"
-
#: src/SlideshowPage.vala:49 src/SlideshowPage.vala:183
msgid "Settings"
msgstr "Einstellungen"
@@ -6419,10 +6163,225 @@ msgid "untitled"
msgstr "unbenannt"
#. multiple videos
-#: src/VideoSupport.vala:490
+#: src/VideoSupport.vala:507
msgid "Export Videos"
msgstr "Videos exportieren"
+#: ui/collection.ui:33 ui/event.ui:281 ui/event.ui:470 ui/media.ui:281
+#: ui/photo_context.ui:30 ui/photo.ui:268 ui/tags.ui:281
+msgid "Toggle _Flag"
+msgstr "Markierung _umschalten"
+
+#: 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
+msgid "_Developer"
+msgstr "_Entwickler"
+
+#: ui/collection.ui:106 ui/event.ui:543 ui/photo_context.ui:113 ui/photo.ui:358
+#| msgid "Open With E_xternal Editor"
+msgid "Open with E_xternal Editor"
+msgstr "Mit e_xternem Editor öffnen"
+
+#: 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
+msgid "View Eve_nt for Photo"
+msgstr "Ereig_nis zum Foto anzeigen"
+
+#: ui/direct.ui:5 ui/events_directory.ui:5 ui/event.ui:5 ui/import_queue.ui:5
+#: ui/import.ui:5 ui/media.ui:5 ui/offline.ui:5 ui/photo.ui:5 ui/tags.ui:5
+#: ui/top.ui:5 ui/trash.ui:5
+msgid "_File"
+msgstr "_Datei"
+
+#: ui/direct.ui:13 ui/event.ui:17 ui/media.ui:17 ui/photo.ui:17 ui/tags.ui:17
+msgid "Save _As…"
+msgstr "Speichern _unter …"
+
+#: ui/direct.ui:59 ui/events_directory.ui:71 ui/event.ui:99
+#: ui/import_queue.ui:38 ui/import.ui:74 ui/media.ui:99 ui/offline.ui:78
+#: ui/photo.ui:95 ui/tags.ui:99 ui/top.ui:15 ui/trash.ui:87
+msgid "_View"
+msgstr "_Ansicht"
+
+#: ui/direct.ui:81 ui/photo.ui:156
+msgid "Fit to _Page"
+msgstr "Auf S_eite einpassen"
+
+#: ui/direct.ui:86 ui/photo.ui:161
+msgid "Zoom _100%"
+msgstr "_100 % Vergrößerung"
+
+#: ui/direct.ui:91 ui/photo.ui:166
+msgid "Zoom _200%"
+msgstr "_200 % Vergrößerung"
+
+#: ui/direct.ui:98 ui/photo.ui:187 ui/top.ui:20
+msgid "_Photo"
+msgstr "_Foto"
+
+#: ui/direct.ui:101 ui/photo.ui:190
+msgid "_Previous Photo"
+msgstr "_Voriges Foto"
+
+#: ui/direct.ui:105 ui/photo.ui:194
+msgid "_Next Photo"
+msgstr "_Nächstes Foto"
+
+#: ui/direct.ui:131 ui/photo.ui:220
+msgid "T_ools"
+msgstr "_Werkzeuge"
+
+#: 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
+msgid "_Frequently Asked Questions"
+msgstr "Oft gestellte _Fragen"
+
+#: 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
+msgid "_Report a Problem…"
+msgstr "_Ein Problem melden …"
+
+#: ui/events_directory.ui:8 ui/event.ui:8 ui/import_queue.ui:14 ui/import.ui:8
+#: ui/media.ui:8 ui/offline.ui:8 ui/photo.ui:8 ui/tags.ui:8 ui/trash.ui:8
+#| msgid "_Import From Folder…"
+msgid "_Import from Folder…"
+msgstr "Aus Ordner _importieren …"
+
+#: ui/events_directory.ui:13 ui/event.ui:13 ui/import_queue.ui:19
+#: ui/import.ui:21 ui/media.ui:13 ui/offline.ui:13 ui/photo.ui:13 ui/tags.ui:13
+#: ui/trash.ui:13
+msgid "Import From _Application…"
+msgstr "Importieren von _Anwendung …"
+
+#: ui/events_directory.ui:19 ui/event.ui:34 ui/import_queue.ui:25
+#: ui/import.ui:27 ui/media.ui:34 ui/offline.ui:19 ui/photo.ui:42 ui/tags.ui:34
+#: ui/trash.ui:24 ui/trash.ui:234 ui/trash.ui:242
+msgid "Empty T_rash"
+msgstr "Papierkorb lee_ren"
+
+#: ui/events_directory.ui:47 ui/event.ui:62 ui/import.ui:55 ui/media.ui:62
+#: ui/offline.ui:47 ui/tags.ui:62 ui/trash.ui:52
+msgid "_Find"
+msgstr "_Suchen"
+
+#: ui/events_directory.ui:51 ui/event.ui:66 ui/media.ui:66 ui/offline.ui:51
+#: ui/photo.ui:70 ui/search_sidebar_context.ui:6
+#: ui/sidebar_default_context.ui:6 ui/tags.ui:66 ui/trash.ui:56
+msgid "Ne_w Saved Search…"
+msgstr "Neue _gespeicherte Suche …"
+
+#: ui/events_directory.ui:74 ui/event.ui:102 ui/import_queue.ui:41
+#: ui/import.ui:77 ui/media.ui:102 ui/offline.ui:81 ui/photo.ui:98
+#: ui/tags.ui:102 ui/trash.ui:90
+msgid "_Basic Information"
+msgstr "_Grundlegende Informationen"
+
+#: ui/events_directory.ui:79 ui/event.ui:107 ui/import.ui:82 ui/media.ui:107
+#: ui/offline.ui:86 ui/photo.ui:103 ui/tags.ui:107 ui/trash.ui:95
+msgid "E_xtended Information"
+msgstr "Er_weiterte Informationen"
+
+#: ui/events_directory.ui:84 ui/event.ui:112 ui/import.ui:87 ui/media.ui:112
+#: ui/offline.ui:91 ui/tags.ui:112 ui/trash.ui:100
+msgid "_Search Bar"
+msgstr "_Suchleiste"
+
+#: ui/events_directory.ui:89 ui/event.ui:117 ui/import.ui:92 ui/media.ui:117
+#: ui/offline.ui:96 ui/photo.ui:108 ui/tags.ui:117 ui/trash.ui:105
+msgid "S_idebar"
+msgstr "S_eitenleiste"
+
+#: ui/events_directory.ui:94 ui/event.ui:122 ui/import.ui:97 ui/media.ui:122
+#: ui/offline.ui:101 ui/photo.ui:113 ui/tags.ui:122 ui/trash.ui:110
+msgid "T_oolbar"
+msgstr "_Werkzeugleiste"
+
+#: ui/events_directory.ui:101 ui/event.ui:134 ui/media.ui:134 ui/tags.ui:134
+msgid "_Comments"
+msgstr "_Kommentare"
+
+#: ui/events_directory.ui:108 ui/event.ui:243 ui/import_queue.ui:48
+#: ui/import.ui:166 ui/media.ui:243 ui/offline.ui:163 ui/photo.ui:127
+#: ui/tags.ui:243 ui/trash.ui:172
+msgid "Sort _Events"
+msgstr "_Ereignisse sortieren"
+
+#: ui/events_directory.ui:111 ui/event.ui:231 ui/event.ui:246
+#: ui/import_queue.ui:51 ui/import.ui:169 ui/media.ui:231 ui/media.ui:246
+#: ui/offline.ui:166 ui/photo.ui:130 ui/tags.ui:231 ui/tags.ui:246
+#: ui/trash.ui:175
+msgid "_Ascending"
+msgstr "_Aufsteigend"
+
+#: ui/events_directory.ui:116 ui/event.ui:236 ui/import_queue.ui:56
+#: ui/media.ui:236 ui/offline.ui:171 ui/tags.ui:236 ui/trash.ui:180
+msgid "D_escending"
+msgstr "A_bsteigend"
+
+#: ui/events_directory.ui:132 ui/event.ui:377 ui/media.ui:371 ui/tags.ui:371
+#: ui/top.ui:30
+msgid "Even_ts"
+msgstr "_Ereignisse"
+
+#: ui/event.ui:74 ui/media.ui:74 ui/offline.ui:58 ui/offline.ui:207
+#: ui/photo.ui:77 ui/tags.ui:74
+#| msgid "R_emove From Library"
+msgid "R_emove from Library"
+msgstr "Aus Bibliothek _entfernen"
+
+#: ui/event.ui:129 ui/import.ui:104 ui/media.ui:129 ui/tags.ui:129
+msgid "_Titles"
+msgstr "_Titel"
+
+#: 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/top.ui:35
+msgid "Ta_gs"
+msgstr "S_tichworte"
+
+#: ui/event.ui:206 ui/media.ui:206 ui/tags.ui:206
+msgid "Sort _Photos"
+msgstr "_Fotos sortieren"
+
+#: ui/event.ui:209 ui/media.ui:209 ui/tags.ui:209
+msgid "By _Title"
+msgstr "Nach _Titel"
+
+#: ui/event.ui:214 ui/media.ui:214 ui/tags.ui:214
+msgid "By _Filename"
+msgstr "Nach _Dateiname"
+
+#: ui/event.ui:219 ui/media.ui:219 ui/tags.ui:219
+msgid "By Exposure _Date"
+msgstr "Nach Aufnahme_datum"
+
+#: ui/event.ui:224 ui/media.ui:224 ui/tags.ui:224
+msgid "By _Rating"
+msgstr "Nach _Bewertung"
+
+#: ui/event.ui:251 ui/import.ui:174 ui/media.ui:251 ui/photo.ui:135
+#: ui/tags.ui:251
+#| msgid "D_escending"
+msgid "_Descending"
+msgstr "A_bsteigend"
+
+#: ui/event.ui:275 ui/media.ui:275 ui/tags.ui:275 ui/top.ui:25
+msgid "_Photos"
+msgstr "_Fotos"
+
+#: ui/import_queue.ui:8
+msgid "_Stop Import"
+msgstr "Import _abbrechen"
+
+#: ui/import.ui:13 ui/import.ui:210
+msgid "Import _Selected"
+msgstr "A_usgewählte importieren"
+
+#: ui/import.ui:17 ui/import.ui:214
+msgid "Import _All"
+msgstr "_Alle importieren"
+
#: ui/set_background_dialog.ui:15
msgid "Set as Desktop Background"
msgstr "Als Schreibtischhintergrund verwenden"
@@ -6431,7 +6390,7 @@ msgstr "Als Schreibtischhintergrund verwenden"
msgid "Use for Desktop"
msgstr "Als Schreibtisch verwenden"
-#: ui/set_background_dialog.ui:93 ui/set_background_slideshow_dialog.ui:148
+#: ui/set_background_dialog.ui:92 ui/set_background_slideshow_dialog.ui:148
msgid "Use for Lock Screen"
msgstr "Auf dem Sperrbildschirm verwenden"
@@ -6455,161 +6414,307 @@ msgstr "Hintergrund-Bildvorführung erstellen"
msgid "How long each photo is shown on the desktop background"
msgstr "Wie lange soll jedes Foto als Hintergrundbild gezeigt werden?"
-#: ui/shotwell.ui:23
-msgid "_Name of search:"
-msgstr "_Name der Suche:"
+#: ui/shotwell.ui:65
+msgid "white"
+msgstr "weiß"
-#: ui/shotwell.ui:81
-msgid "_Match"
-msgstr "_Treffer finden"
+#: ui/shotwell.ui:92
+msgid "black"
+msgstr "schwarz"
-#: ui/shotwell.ui:108
-msgid "of the following:"
-msgstr "von den folgenden:"
+#: ui/shotwell.ui:123
+msgid "Display"
+msgstr "Anzeige"
+
+#: ui/shotwell.ui:160
+msgid "_Background:"
+msgstr "_Hintergrund:"
+
+#: ui/shotwell.ui:175
+msgid "_Import photos to:"
+msgstr "_Fotos importieren nach:"
+
+#: ui/shotwell.ui:186
+msgid "_Watch library directory for new files"
+msgstr "Bibliotheksordner auf neue Dateien _überwachen"
+
+#: ui/shotwell.ui:209
+msgid "Importing"
+msgstr "Importieren"
+
+#: ui/shotwell.ui:226
+msgid "_Directory structure:"
+msgstr "_Ordnerstruktur:"
+
+#: ui/shotwell.ui:240
+msgid "Example:"
+msgstr "Beispiel:"
+
+#: ui/shotwell.ui:249
+msgid "R_ename imported files to lowercase"
+msgstr "Namen von importierten Dateien in K_leinbuchstaben ändern"
+
+#: ui/shotwell.ui:271
+msgid "Metadata"
+msgstr "Metadaten"
-#: ui/shotwell.ui:195
+#: ui/shotwell.ui:284
+msgid "Write tags, titles, and other _metadata to photo files"
+msgstr "Stichworte, Titel und andere _Metadaten in die Fotodateien schreiben"
+
+#: ui/shotwell.ui:306
+msgid "RAW Developer"
+msgstr "RAW-Entwickler"
+
+#: ui/shotwell.ui:323
+msgid "De_fault:"
+msgstr "_Vorgabe:"
+
+#: ui/shotwell.ui:377
+msgid "_Pattern:"
+msgstr "_Muster:"
+
+#: ui/shotwell.ui:439
+msgid "E_xternal photo editor:"
+msgstr "E_xterner Foto-Editor:"
+
+#: ui/shotwell.ui:456
+msgid "External _RAW editor:"
+msgstr "Externer _RAW-Editor:"
+
+#: ui/shotwell.ui:517
+msgid "External Editors"
+msgstr "Externe Editoren"
+
+#: ui/shotwell.ui:542
+msgid "Plugins"
+msgstr "Erweiterungen"
+
+#: ui/shotwell.ui:583
msgid "<b>Printed Image Size</b>"
msgstr "<b>Auflösung für Druck</b>"
-#: ui/shotwell.ui:212
+#: ui/shotwell.ui:600
msgid "Use a _standard size:"
msgstr "_Standardgröße verwenden:"
-#: ui/shotwell.ui:255
+#: ui/shotwell.ui:643
msgid "Use a c_ustom size:"
msgstr "_Angepasste Größe verwenden:"
-#: ui/shotwell.ui:345
+#: ui/shotwell.ui:731
msgid "_Match photo aspect ratio"
msgstr "_Seitenverhältnis beibehalten"
-#: ui/shotwell.ui:369
+#: ui/shotwell.ui:755
msgid "_Autosize:"
msgstr "_Automatische Größe:"
-#: ui/shotwell.ui:409
+#: ui/shotwell.ui:795
msgid "<b>Titles</b>"
msgstr "<b>Titel</b>"
-#: ui/shotwell.ui:426
+#: ui/shotwell.ui:812
msgid "Print image _title"
msgstr "Bild_titel drucken"
-#: ui/shotwell.ui:470
+#: ui/shotwell.ui:855
msgid "<b>Pixel Resolution</b>"
msgstr "<b>Auflösung</b>"
-#: ui/shotwell.ui:490
+#: ui/shotwell.ui:875
msgid "_Output photo at:"
msgstr "_Foto ausgeben auf:"
-#: ui/shotwell.ui:525
+#: ui/shotwell.ui:909
msgid "pixels per inch"
msgstr "Pixel pro Zoll"
-#: ui/shotwell.ui:559
+#: ui/shotwell.ui:949
+msgid "_Name of search:"
+msgstr "_Name der Suche:"
+
+#: ui/shotwell.ui:1003
+msgid "_Match"
+msgstr "_Treffer finden"
+
+#: ui/shotwell.ui:1030
+msgid "of the following:"
+msgstr "von den folgenden:"
+
+#: ui/shotwell.ui:1111
msgid "label"
msgstr "Beschriftung"
-#: ui/shotwell.ui:681
-msgid "Shotwell Preferences"
-msgstr "Shotwell-Einstellungen"
+#: ui/shotwell.ui:1262
+msgid "_Delay:"
+msgstr "_Verzögerung:"
+
+#: ui/shotwell.ui:1276
+msgid "_Transition effect:"
+msgstr "_Übergangseffekt:"
-#: ui/shotwell.ui:730
-msgid "white"
-msgstr "weiß"
+#: ui/shotwell.ui:1290
+msgid "Transition d_elay:"
+msgstr "Übergangsv_erzögerung:"
-#: ui/shotwell.ui:757
-msgid "black"
-msgstr "schwarz"
+#: ui/shotwell.ui:1300
+msgid "Show t_itle"
+msgstr "T_itel anzeigen"
-#: ui/shotwell.ui:805
-msgid "_Watch library directory for new files"
-msgstr "Bibliotheksordner auf neue Dateien _überwachen"
+#: ui/shotwell.ui:1375 ui/shotwell.ui:1386
+msgid "seconds"
+msgstr "Sekunden"
-#: ui/shotwell.ui:834
-msgid "Metadata"
-msgstr "Metadaten"
+#: ui/sidebar_default_context.ui:11 ui/tag_sidebar_context.ui:6
+msgid "New _Tag…"
+msgstr "Neues S_tichwort …"
-#: ui/shotwell.ui:854
-msgid "Write tags, titles, and other _metadata to photo files"
-msgstr "Stichworte, Titel und andere _Metadaten in die Fotodateien schreiben"
+#: ui/trash.ui:285
+msgid "Delete all photos in the trash"
+msgstr "Alle Fotos im Papierkorb löschen"
-#: ui/shotwell.ui:880
-msgid "Display"
-msgstr "Anzeige"
+#~ msgid "_Modify original photo files"
+#~ msgstr "Originale Bilddateien _verändern"
-#: ui/shotwell.ui:901
-msgid "_Import photos to:"
-msgstr "_Fotos importieren nach:"
+#~ msgid "_Modify original files"
+#~ msgstr "Originaldateien _verändern"
-#: ui/shotwell.ui:924
-msgid "_Background:"
-msgstr "_Hintergrund:"
+#~ msgid "The selected videos were successfully published."
+#~ msgstr "Die ausgewählten Videos wurden erfolgreich veröffentlicht."
-#: ui/shotwell.ui:947
-msgid "Importing"
-msgstr "Importieren"
+#~ msgid "The selected photos were successfully published."
+#~ msgstr "Die ausgewählten Fotos wurden erfolgreich veröffentlicht."
-#: ui/shotwell.ui:970
-msgid "_Directory structure:"
-msgstr "_Ordnerstruktur:"
+#~ msgid "The selected photo was successfully published."
+#~ msgstr "Das ausgewählte Foto wurde erfolgreich veröffentlicht."
-#: ui/shotwell.ui:1009
-msgid "_Pattern:"
-msgstr "_Muster:"
+#~ msgid "Shotwell Preferences"
+#~ msgstr "Shotwell-Einstellungen"
-#: ui/shotwell.ui:1091
-msgid "Example:"
-msgstr "Beispiel:"
+#~ msgid "_Contents"
+#~ msgstr "_Inhalt"
-#: ui/shotwell.ui:1108
-msgid "R_ename imported files to lowercase"
-msgstr "Namen von importierten Dateien in K_leinbuchstaben ändern"
+#~ msgid "Display the title of each photo"
+#~ msgstr "Titel jedes Fotos anzeigen"
-#: ui/shotwell.ui:1137
-msgid "RAW Developer"
-msgstr "RAW-Entwickler"
+#~ msgid "Import the selected photos into your library"
+#~ msgstr "Die ausgewählten Bilder in die Bibliothek importieren"
-#: ui/shotwell.ui:1172
-msgid "De_fault:"
-msgstr "_Vorgabe:"
+#~ msgid "Import all the photos into your library"
+#~ msgstr "Alle Fotos in die Bibliothek importieren"
-#: ui/shotwell.ui:1226
-msgid "E_xternal photo editor:"
-msgstr "E_xterner Foto-Editor:"
+#~ msgid "Play a slideshow"
+#~ msgstr "Eine Diaschau anzeigen"
-#: ui/shotwell.ui:1242
-msgid "External _RAW editor:"
-msgstr "Externer _RAW-Editor:"
+#~ msgid "Save photo"
+#~ msgstr "Foto speichern"
-#: ui/shotwell.ui:1307
-msgid "External Editors"
-msgstr "Externe Editoren"
+#~ msgid "Save photo with a different name"
+#~ msgstr "Foto unter einem anderen Namen speichern"
-#: ui/shotwell.ui:1334
-msgid "Plugins"
-msgstr "Erweiterungen"
+#~ msgid "Print the photo to a printer connected to your computer"
+#~ msgstr "Foto auf einem Drucker ausgeben, der mit dem Rechner verbunden ist"
-#: ui/shotwell.ui:1400
-msgid "_Delay:"
-msgstr "_Verzögerung:"
+#~ msgid "Previous Photo"
+#~ msgstr "Voriges Foto"
-#: ui/shotwell.ui:1416
-msgid "_Transition effect:"
-msgstr "_Übergangseffekt:"
+#~ msgid "Next Photo"
+#~ msgstr "Nächstes Foto"
-#: ui/shotwell.ui:1432
-msgid "Transition d_elay:"
-msgstr "Übergangsv_erzögerung:"
+#~ msgid "Increase the magnification of the photo"
+#~ msgstr "Die Ansicht vergrößern"
-#: ui/shotwell.ui:1444
-msgid "Show t_itle"
-msgstr "T_itel anzeigen"
+#~ msgid "Decrease the magnification of the photo"
+#~ msgstr "Die Ansicht verkleinern"
-#: ui/shotwell.ui:1534 ui/shotwell.ui:1547
-msgid "seconds"
-msgstr "Sekunden"
+#~ msgid "Zoom the photo to fit on the screen"
+#~ msgstr "Foto auf Bildschirmgröße anpassen"
+
+#~ msgid "Zoom the photo to 100% magnification"
+#~ msgstr "Bild in normaler Größe anzeigen"
+
+#~ msgid "Zoom the photo to 200% magnification"
+#~ msgstr "Bild in doppelter Größe anzeigen"
+
+#~ msgid "Display the comment of each event"
+#~ msgstr "Kommentare zu jedem Ereignis anzeigen"
+
+#~ msgid "Stop importing photos"
+#~ msgstr "Foto-Import abbrechen"
+
+#~ msgid "Import photos from disk to library"
+#~ msgstr "Fotos von der Festplatte in die Bibliothek importieren"
+
+#~ msgid "Find photos and videos by search criteria"
+#~ msgstr "Fotos und Videos anhand von Suchkriterien finden"
+
+#~ msgid "Display basic information for the selection"
+#~ msgstr "Grundlegende Informationen über die Auswahl anzeigen"
+
+#~ msgid "Display extended information for the selection"
+#~ msgstr "Erweiterte Informationen über die Auswahl anzeigen"
+
+#~ msgid "Display the search bar"
+#~ msgstr "Suchleiste anzeigen"
+
+#~ msgid "Display the sidebar"
+#~ msgstr "Seitenleiste anzeigen"
+
+#~ msgid "Display the tool bar"
+#~ msgstr "Die Werkzeugleiste anzeigen"
+
+#~ msgid "Sort photos in an ascending order"
+#~ msgstr "Fotos in aufsteigender Reihenfolge sortieren"
+
+#~ msgid "Sort photos in a descending order"
+#~ msgstr "Fotos in absteigender Reihenfolge sortieren"
+
+#~ msgid "Increase the magnification of the thumbnails"
+#~ msgstr "Vorschaubilder vergrößern"
+
+#~ msgid "Decrease the magnification of the thumbnails"
+#~ msgstr "Vorschaubilder verkleinern"
+
+#~ msgid "_Play Video"
+#~ msgstr "Video _abspielen"
+
+#~ msgid "Open the selected videos in the system video player"
+#~ msgstr ""
+#~ "Die ausgewählten Videos mit der voreingestellten Video-Wiedergabe öffnen"
+
+#~ msgid "Display the comment of each photo"
+#~ msgstr "Die Kommentare zu jedem Bild anzeigen"
+
+#~ msgid "Display each photo’s tags"
+#~ msgstr "Stichworte jedes Fotos anzeigen"
+
+#~ msgid "Sort photos by title"
+#~ msgstr "Fotos nach Titel sortieren"
+
+#~ msgid "Sort photos by exposure date"
+#~ msgstr "Fotos nach Aufnahmedatum sortieren"
+
+#~ msgid "Sort photos by rating"
+#~ msgstr "Fotos nach Bewertung sortieren"
+
+#~ msgid "Sort photos by filename"
+#~ msgstr "Fotos nach Dateinamen sortieren"
+
+#~ msgid "RAW photos"
+#~ msgstr "RAW-Fotos"
+
+#~ msgid "Tag Photos as “%s”"
+#~ msgstr "Fotos mit Stichwort »%s« versehen"
+
+#~ msgid "Tag the selected photos as “%s”"
+#~ msgstr "Ausgewählte Fotos mit Stichwort »%s« versehen"
+
+#~ msgid "Remove Tag “%s” From _Photos"
+#~ msgstr "Stichwort »%s« von _Fotos entfernen"
+
+#~ msgid "Remove Tag “%s” From Photos"
+#~ msgstr "Stichwort »%s« von Fotos entfernen"
#~ msgid "Login"
#~ msgstr "Anmelden"
diff --git a/po/hr.gmo b/po/hr.gmo
index 5e9b947..e182bf6 100644
--- a/po/hr.gmo
+++ b/po/hr.gmo
Binary files differ
diff --git a/po/hr.po b/po/hr.po
index 5aa0527..7c81233 100644
--- a/po/hr.po
+++ b/po/hr.po
@@ -1,6 +1,6 @@
# po/shotwell-core/shotwell.pot
# PO message string template file for Shotwell Core Components
-# Copyright 2016 Software Freedom Conservancy Inc.
+# Copyright (C) 2009-2013 Yorba Foundation
# See COPYING for license.
#
#
@@ -14,651 +14,1217 @@ msgid ""
msgstr ""
"Project-Id-Version: shotwell-0.15\n"
"Report-Msgid-Bugs-To: shotwell@yorba.org\n"
-"POT-Creation-Date: 2013-09-20 11:55-0700\n"
-"PO-Revision-Date: 2013-09-20 19:30+0000\n"
-"Last-Translator: yorbajim <jim@yorba.org>\n"
+"POT-Creation-Date: 2014-05-15 08:54+0000\n"
+"PO-Revision-Date: 2016-11-25 23:09+0100\n"
+"Last-Translator: gogo <trebelnik2@gmail.com>\n"
"Language-Team: Croatian (http://www.transifex.com/projects/p/shotwell/"
"language/hr/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"Language: hr\n"
"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
+"X-Launchpad-Export-Date: 2016-09-15 13:28+0000\n"
+"X-Generator: Poedit 1.8.7.1\n"
+"Language: hr\n"
-#: src/Event.vala:737
-#, c-format
-msgid "Event %s"
-msgstr "Događaj %s"
+#: ../plugins/common/RESTSupport.vala:424
+#: ../plugins/shotwell-publishing-extras/TumblrPublishing.vala:968
+msgid "A temporary file needed for publishing is unavailable"
+msgstr "Privremena datoteka, potrebna za objavu, nije dostupna."
-#: src/camera/Branch.vala:87
-msgid "Cameras"
-msgstr "Kamere"
+#: ../plugins/common/RESTSupport.vala:1152
+msgid ""
+"You have already logged in and out of a Google service during this Shotwell "
+"session.\n"
+"\n"
+"To continue publishing to Google services, quit and restart Shotwell, then "
+"try publishing again."
+msgstr ""
+"Već ste se prijavili i odjavili iz Googlove usluge tijekom ove Shotwell "
+"sesije.\n"
+"Za nastavak objavljivanja u Googlove usluge, ponovno pokrenite Shotwell i "
+"pokušajte ponovno objaviti."
-#: src/camera/Branch.vala:101 src/camera/ImportPage.vala:711
-#: src/camera/ImportPage.vala:727 src/photos/RawSupport.vala:300
-#: src/MediaPage.vala:425
-msgid "Camera"
-msgstr "Kamera"
+#: ../plugins/common/Resources.vala:9 ../src/AppWindow.vala:688
+msgid "Visit the Yorba web site"
+msgstr "Posjetite web stranice Yorba-e"
-#: src/camera/ImportPage.vala:312 src/Properties.vala:227
-#, c-format
-msgid "RAW+JPEG"
+# Translator credits string for the about box -- translators, add your name
+# below if it's not already present
+#: ../plugins/common/Resources.vala:28 ../src/AppWindow.vala:691
+msgid "translator-credits"
msgstr ""
-
-#: src/camera/ImportPage.vala:459
+"Krešo Kunjas <deresh@gmail.com>\n"
+"\n"
+"Launchpad Contributions:\n"
+" Jim Nelson https://launchpad.net/~yorba-jim\n"
+" Krešo Kunjas https://launchpad.net/~deresh-gmail\n"
+" Miroslav Matejaš https://launchpad.net/~silverspace+amd64\n"
+" Vera Yin https://launchpad.net/~vera-yorba\n"
+" Vjeran Tuhtan https://launchpad.net/~vjeran-tuhtan\n"
+" antisa https://launchpad.net/~antisa\n"
+" gogo https://launchpad.net/~trebelnik-stefina"
+
+#: ../plugins/shotwell-data-imports/FSpotImporter.vala:34
+#: ../plugins/shotwell-publishing/FacebookPublishing.vala:30
+#: ../plugins/shotwell-publishing/FlickrPublishing.vala:32
+#: ../plugins/shotwell-publishing/PicasaPublishing.vala:30
+#: ../plugins/shotwell-publishing/PiwigoPublishing.vala:32
+#: ../plugins/shotwell-publishing/YouTubePublishing.vala:32
+#: ../src/Resources.vala:27
+msgid "Copyright 2009-2014 Yorba Foundation"
+msgstr "Autorko pravo 2009-2014 Yorba Foundation"
+
+#: ../plugins/shotwell-data-imports/FSpotImporter.vala:56
msgid ""
-"Unable to unmount camera. Try unmounting the camera from the file manager."
+"Welcome to the F-Spot library import service.\n"
+"\n"
+"Please select a library to import, either by selecting one of the existing "
+"libraries found by Shotwell or by selecting an alternative F-Spot database "
+"file."
msgstr ""
-"Ne mogu odmontirati kameru. Pokušajte je odmontirati preko upravitelja "
-"datoteka."
+"Dobrodošli u uslugu za uvoz fototeke iz F-Spota.\n"
+"\n"
+"Odaberite fototeku za uvoz, odabirući jednu od fototeka koju je već otkrio "
+"Shotwell ili odabirući alternativnu datoteku F-Spot baze podataka."
-#: src/camera/ImportPage.vala:776
-msgid "Hide photos already imported"
-msgstr "Sakrij fotografije koje su već uvezene."
+#: ../plugins/shotwell-data-imports/FSpotImporter.vala:58
+msgid ""
+"Welcome to the F-Spot library import service.\n"
+"\n"
+"Please select an F-Spot database file."
+msgstr ""
+"Dobrodošli u uslugu za uvoz fototeke iz F-Spota.\n"
+"\n"
+"Odaberite datoteku F-Spot baze podataka."
-#: src/camera/ImportPage.vala:777
-msgid "Only display photos that have not been imported"
-msgstr "Prikaži samo fotografije koje nisu uvezene."
+#: ../plugins/shotwell-data-imports/FSpotImporter.vala:60
+msgid "Manually select an F-Spot database file to import:"
+msgstr "Ručno odredi uvoz datoteke F-Spot baze podataka:"
-#: src/camera/ImportPage.vala:845
-msgid "Starting import, please wait..."
+#: ../plugins/shotwell-data-imports/FSpotImporter.vala:62
+msgid ""
+"Cannot open the selected F-Spot database file: the file does not exist or is "
+"not an F-Spot database"
msgstr ""
+"Nemoguće otvoriti odabranu datoteku F-Spot baze podataka: datoteka ne "
+"postoji ili nije F-Spot baza podataka"
-#: src/camera/ImportPage.vala:872 src/MediaPage.vala:436
-msgid "_Titles"
-msgstr "Nas_lovi"
+#: ../plugins/shotwell-data-imports/FSpotImporter.vala:64
+msgid ""
+"Cannot open the selected F-Spot database file: this version of the F-Spot "
+"database is not supported by Shotwell"
+msgstr ""
+"Nemoguće otvoriti odabranu datoteku F-Spot baze podataka: ovu inačicu F-Spot "
+"baze podataka Shotwell ne podržava"
-#: src/camera/ImportPage.vala:873 src/MediaPage.vala:437
-msgid "Display the title of each photo"
-msgstr "Prikaži naslov svake fotografije"
+#: ../plugins/shotwell-data-imports/FSpotImporter.vala:66
+msgid ""
+"Cannot read the selected F-Spot database file: error while reading tags table"
+msgstr ""
+"Nemoguće pročitati odabranu datoteku F-Spot baze podataka: greška pri "
+"čitanju tablice oznaka"
-#: src/camera/ImportPage.vala:884
-msgid "Import _Selected"
-msgstr "Uvezi _izabrabe"
+#: ../plugins/shotwell-data-imports/FSpotImporter.vala:68
+msgid ""
+"Cannot read the selected F-Spot database file: error while reading photos "
+"table"
+msgstr ""
+"Nemoguće pročitati odabranu datoteku F-Spot baze podataka: greška pri "
+"čitanju tablice fotografija"
-#: src/camera/ImportPage.vala:885
-msgid "Import the selected photos into your library"
-msgstr "Uvezi izabrane fotografije u biblioteku"
+#: ../plugins/shotwell-data-imports/FSpotImporter.vala:70
+#, c-format
+msgid ""
+"Shotwell has found %d photos in the F-Spot library and is currently "
+"importing them. Duplicates will be automatically detected and removed.\n"
+"\n"
+"You can close this dialog and start using Shotwell while the import is "
+"taking place in the background."
+msgstr ""
+"Shotwell je pronašao %d fotografija u F-Spot fototeci te ih trenutno uvozi. "
+"Duplikati će se automatski otkriti i ukloniti.\n"
+"\n"
+"Možete zatvoriti ovaj okvir i započeti s korištenjem Shotwell dok se uvoz "
+"obavlja u pozadini."
-#: src/camera/ImportPage.vala:890
-msgid "Import _All"
-msgstr "Uvezi _sve"
+#: ../plugins/shotwell-data-imports/FSpotImporter.vala:84
+#, c-format
+msgid "F-Spot library: %s"
+msgstr "F-Spot fototeka: %s"
-#: src/camera/ImportPage.vala:891
-msgid "Import all the photos into your library"
-msgstr "Uvezi sve fotografije u biblioteku"
+#: ../plugins/shotwell-data-imports/FSpotImporter.vala:416
+msgid "Preparing to import"
+msgstr "Pripremanje za uvoz"
-#: src/camera/ImportPage.vala:1012
-msgid ""
-"Shotwell needs to unmount the camera from the filesystem in order to access "
-"it. Continue?"
-msgstr ""
-"Shotwell treba maknuti kameru u datotečnog sistema. Želite li nastaviti?"
+#: ../plugins/shotwell-data-imports/shotwell-data-imports.vala:22
+msgid "Core Data Import Services"
+msgstr "Usluge za uvoz ključnih podataka"
-#: src/camera/ImportPage.vala:1018
-msgid "_Unmount"
-msgstr "_Odmontiraj"
+#: ../plugins/shotwell-publishing-extras/TumblrPublishing.vala:35
+msgid "Copyright 2012 BJA Electronics"
+msgstr "Autorsko pravo 2012 BJA Electronics"
-#: src/camera/ImportPage.vala:1023
-msgid "Please unmount the camera."
-msgstr "Molim domontirajte kameru"
+#: ../plugins/shotwell-publishing-extras/TumblrPublishing.vala:104
+#: ../plugins/shotwell-publishing/FlickrPublishing.vala:907
+#: ../plugins/shotwell-publishing/PiwigoPublishing.vala:1246
+msgid "500 x 375 pixels"
+msgstr "500 x 375 piksela"
-#: src/camera/ImportPage.vala:1028
-msgid ""
-"The camera is locked by another application. Shotwell can only access the "
-"camera when it's unlocked. Please close any other application using the "
-"camera and try again."
-msgstr ""
-"Drugi program koristi kameru. Shotwell može koristit kameru samo kad je niti "
-"jedan drugi program ne koristi. Probajte zatvoriti druge aplikacije koje bi "
-"mogle koristiti kameru, te nakon toga pokušajte ponovo."
+#: ../plugins/shotwell-publishing-extras/TumblrPublishing.vala:105
+#: ../plugins/shotwell-publishing/FlickrPublishing.vala:908
+#: ../plugins/shotwell-publishing/PiwigoPublishing.vala:1247
+msgid "1024 x 768 pixels"
+msgstr "1024 x 768 piksela"
-#: src/camera/ImportPage.vala:1038
-msgid "Please close any other application using the camera."
-msgstr "Zatvorite druge aplikacije koje bi mogle koristiti kameru."
+#: ../plugins/shotwell-publishing-extras/TumblrPublishing.vala:106
+msgid "1280 x 853 pixels"
+msgstr "1280 x 853 piksela"
-#: src/camera/ImportPage.vala:1043
+#: ../plugins/shotwell-publishing-extras/TumblrPublishing.vala:310
+#: ../plugins/shotwell-publishing-extras/TumblrPublishing.vala:320
#, c-format
+msgid "'%s' isn't a valid response to an OAuth authentication request"
+msgstr "'%s' nije valjani odgovor na OAuth zahtjev ovjere"
+
+#: ../plugins/shotwell-publishing-extras/TumblrPublishing.vala:558
msgid ""
-"Unable to fetch previews from the camera:\n"
-"%s"
+"TumblrPublisher: start( ): can't start; this publisher is not restartable."
msgstr ""
-"Ne mogu dohvatiti pretpregled s kamere: \n"
-" %s"
+"TumblrPublisher: start(): je nemoguće pokrenuti; ovaj izdavač se ne može "
+"ponovno pokrenuti."
-#: src/camera/ImportPage.vala:1060
-msgid "Unmounting..."
-msgstr "Odmontiravam...."
+#: ../plugins/shotwell-publishing-extras/TumblrPublishing.vala:586
+msgid "Enter the username and password associated with your Tumblr account."
+msgstr "Upišite korisničko ime i lozinku povezanu s Tumblr računom."
-#: src/camera/ImportPage.vala:1166
-msgid "Fetching photo information"
-msgstr "Dohvaćam informacije o fotografijama"
+#: ../plugins/shotwell-publishing-extras/TumblrPublishing.vala:587
+#: ../plugins/shotwell-publishing/PiwigoPublishing.vala:1000
+msgid "Username and/or password invalid. Please try again"
+msgstr "Korisničko ime/lozinka nisu ispravni. Pokušajte ponovno"
-#: src/camera/ImportPage.vala:1521
-#, c-format
-msgid "Fetching preview for %s"
-msgstr "Dohvaćam pretpregled za %s"
+#: ../plugins/shotwell-publishing-extras/TumblrPublishing.vala:617
+#: ../plugins/shotwell-publishing/PiwigoPublishing.vala:1037
+msgid "Invalid User Name or Password"
+msgstr "Neispravno korisničko ime ili lozinka"
-#: src/camera/ImportPage.vala:1637
+#: ../plugins/shotwell-publishing-extras/TumblrPublishing.vala:636
+#: ../plugins/shotwell-publishing-extras/TumblrPublishing.vala:757
#, c-format
-msgid "Unable to lock camera: %s"
-msgstr "Ne mogu zaključati kameru: %s"
+msgid "Could not load UI: %s"
+msgstr "Neuspješno učitavanje korisničkog sučelja: %s"
-#: src/camera/ImportPage.vala:1722
+#: ../plugins/shotwell-publishing-extras/TumblrPublishing.vala:739
#, c-format
-msgid "Delete this photo from camera?"
-msgid_plural "Delete these %d photos from camera?"
-msgstr[0] "Izbrisati %d fotografiju iz kamere?"
-msgstr[1] "Izbrisati %d fotografije iz kamere?"
-msgstr[2] "Izbrisati %d fotografija iz kamere?"
+msgid ""
+"You are logged into Tumblr as %s.\n"
+"\n"
+msgstr ""
+"Prijavljeni ste na Tumblr kao %s.\n"
+"\n"
-#: src/camera/ImportPage.vala:1725
-#, c-format
-msgid "Delete this video from camera?"
-msgid_plural "Delete these %d videos from camera?"
-msgstr[0] "Izbrisati %d video iz kamere?"
-msgstr[1] "Izbrisati %d videa iz kamere?"
-msgstr[2] "Izbrisati %d videa iz kamere?"
+#: ../plugins/shotwell-publishing-extras/YandexPublishing.vala:22
+msgid "Copyright 2010+ Evgeniy Polyakov <zbr@ioremap.net>"
+msgstr "Sva prava pridržana 2010+ Evgeniy Polyakov <zbr@ioremap.net>"
-#: src/camera/ImportPage.vala:1728
-#, c-format
-msgid "Delete this photo/video from camera?"
-msgid_plural "Delete these %d photos/videos from camera?"
-msgstr[0] "Izbrisati %d fotografiju/video iz kamere?"
-msgstr[1] "Izbrisati %d fotografije/videa iz kamere?"
-msgstr[2] "Izbrisati %d fotografija/videa iz kamere?"
+#: ../plugins/shotwell-publishing-extras/YandexPublishing.vala:25
+msgid "Visit the Yandex.Fotki web site"
+msgstr "Posjeti Yandex.Fotki internet stranicu"
-#: src/camera/ImportPage.vala:1731
-#, c-format
-msgid "Delete these files from camera?"
-msgid_plural "Delete these %d files from camera?"
-msgstr[0] ""
-msgstr[1] ""
-msgstr[2] ""
+#: ../plugins/shotwell-publishing-extras/YandexPublishing.vala:632
+msgid "You are not currently logged into Yandex.Fotki."
+msgstr "Trenutno niste prijavljeni u Yandex.Fotki."
-#: src/camera/ImportPage.vala:1739 src/Dialogs.vala:1328
-msgid "_Keep"
-msgstr "_Zadrži"
+#: ../plugins/shotwell-publishing-extras/shotwell-publishing-extras.vala:18
+msgid "Shotwell Extra Publishing Services"
+msgstr "Shotwell dodatne usluge objave"
-#: src/camera/ImportPage.vala:1758
-msgid "Removing photos/videos from camera"
-msgstr "Brisanje fotografija s kamere"
+#: ../plugins/shotwell-publishing-extras/tumblr_authentication_pane.glade.h:1
+#: ../plugins/shotwell-publishing/piwigo_authentication_pane.glade.h:1
+#: ../ui/shotwell.glade.h:15
+msgid "label"
+msgstr "label"
-#: src/camera/ImportPage.vala:1762
-#, c-format
-msgid "Unable to delete %d photo/video from the camera due to errors."
-msgid_plural "Unable to delete %d photos/videos from the camera due to errors."
-msgstr[0] ""
-msgstr[1] ""
-msgstr[2] ""
+#: ../plugins/shotwell-publishing-extras/tumblr_authentication_pane.glade.h:2
+msgid "_Email address"
+msgstr "_Adresa e-pošte"
-#: src/CollectionPage.vala:230 src/PhotoPage.vala:2623
-msgid "S_lideshow"
-msgstr "Prezentacija"
+#: ../plugins/shotwell-publishing-extras/tumblr_authentication_pane.glade.h:3
+#: ../plugins/shotwell-publishing/piwigo_authentication_pane.glade.h:4
+msgid "_Password"
+msgstr "_Lozinka"
-#: src/CollectionPage.vala:231 src/PhotoPage.vala:2624
-msgid "Play a slideshow"
-msgstr "Pokreni slideshow"
+#: ../plugins/shotwell-publishing-extras/tumblr_authentication_pane.glade.h:4
+#: ../plugins/shotwell-publishing/piwigo_authentication_pane.glade.h:6
+msgid "Login"
+msgstr "Prijava"
-#: src/CollectionPage.vala:456
-msgid "Export Photo/Video"
-msgstr "Izvoz fotografije/videa"
+#: ../plugins/shotwell-publishing-extras/tumblr_publishing_options_pane.glade.h:1
+msgid "Blogs:"
+msgstr "Blogovi:"
-#: src/CollectionPage.vala:456
-msgid "Export Photos/Videos"
-msgstr "Izvoz slika/videa"
+#: ../plugins/shotwell-publishing-extras/tumblr_publishing_options_pane.glade.h:2
+#: ../plugins/shotwell-publishing/flickr_publishing_options_pane.glade.h:1
+msgid "Photo _size:"
+msgstr "_Veličina fotografija:"
-#: src/CollectionPage.vala:458 src/Dialogs.vala:58 src/PhotoPage.vala:3196
-msgid "Export Photo"
-msgstr "Izvoz fotografija"
+#: ../plugins/shotwell-publishing-extras/tumblr_publishing_options_pane.glade.h:3
+#: ../plugins/shotwell-publishing-extras/yandex_publish_model.glade.h:5
+#: ../plugins/shotwell-publishing/flickr_publishing_options_pane.glade.h:3
+#: ../plugins/shotwell-publishing/youtube_publishing_options_pane.glade.h:2
+msgid "_Logout"
+msgstr "_Odjava"
-#: src/CollectionPage.vala:458 src/Dialogs.vala:87
-msgid "Export Photos"
-msgstr "Izvoz fotografija"
+#: ../plugins/shotwell-publishing-extras/tumblr_publishing_options_pane.glade.h:4
+#: ../plugins/shotwell-publishing-extras/yandex_publish_model.glade.h:6
+#: ../plugins/shotwell-publishing/facebook_publishing_options_pane.glade.h:6
+#: ../plugins/shotwell-publishing/flickr_publishing_options_pane.glade.h:4
+#: ../plugins/shotwell-publishing/picasa_publishing_options_pane.glade.h:6
+#: ../plugins/shotwell-publishing/youtube_publishing_options_pane.glade.h:3
+msgid "_Publish"
+msgstr "O_bjavi"
-#: src/CollectionPage.vala:545 src/CollectionPage.vala:561
-msgid "Rotating"
-msgstr "Rotiranje"
+#: ../plugins/shotwell-publishing-extras/yandex_publish_model.glade.h:1
+msgid "_Albums (or write new):"
+msgstr "_Albumi ( ili napravi novi):"
-#: src/CollectionPage.vala:545 src/CollectionPage.vala:561
-msgid "Undoing Rotate"
-msgstr "Prekidam rotaciju"
+#: ../plugins/shotwell-publishing-extras/yandex_publish_model.glade.h:2
+msgid "Access _type:"
+msgstr "Način pristu_pa:"
-#: src/CollectionPage.vala:570
-msgid "Flipping Horizontally"
-msgstr "Okreni horizontalno"
+#: ../plugins/shotwell-publishing-extras/yandex_publish_model.glade.h:3
+msgid "Disable _comments"
+msgstr "Onemogući komentare"
-#: src/CollectionPage.vala:571
-msgid "Undoing Flip Horizontally"
-msgstr "Prekidam preokretanje"
+#: ../plugins/shotwell-publishing-extras/yandex_publish_model.glade.h:4
+msgid "_Forbid downloading original photo"
+msgstr "Zabrani preuzimanje izvorne fotografije"
-#: src/CollectionPage.vala:580
-msgid "Flipping Vertically"
-msgstr "Okreni vertikalno"
+#: ../plugins/shotwell-publishing-extras/yandex_publish_model.glade.h:7
+msgid "Public"
+msgstr "Javno"
-#: src/CollectionPage.vala:581
-msgid "Undoing Flip Vertically"
-msgstr "Prekidam preokretanje"
+#: ../plugins/shotwell-publishing-extras/yandex_publish_model.glade.h:8
+#: ../plugins/shotwell-publishing/FacebookPublishing.vala:803
+msgid "Friends"
+msgstr "Prijatelji"
-#: src/searches/SearchBoolean.vala:157
-msgid "Any text"
+#: ../plugins/shotwell-publishing-extras/yandex_publish_model.glade.h:9
+#: ../plugins/shotwell-publishing/YouTubePublishing.vala:497
+msgid "Private"
+msgstr "Privatno"
+
+#: ../plugins/shotwell-publishing/FacebookPublishing.vala:56
+#: ../plugins/shotwell-publishing/PicasaPublishing.vala:55
+#: ../plugins/shotwell-publishing/PiwigoPublishing.vala:1127
+msgid "Shotwell Connect"
+msgstr "Shotwell Connect"
+
+#: ../plugins/shotwell-publishing/FacebookPublishing.vala:58
+msgid ""
+"You are not currently logged into Facebook.\n"
+"\n"
+"If you don't yet have a Facebook account, you can create one during the "
+"login process. During login, Shotwell Connect may ask you for permission to "
+"upload photos and publish to your feed. These permissions are required for "
+"Shotwell Connect to function."
msgstr ""
+"Trenutno niste prijavljenu u Facebook.\n"
+"\n"
+"Ukoliko nemafe Facebook korisnički račun možete ga stvoriti kroz proces "
+"prijave. Kod prijave, Shotwell Connect vas može tražiti dopuštenja za slanje "
+"fotografija i objavu u vašim Novostima. Ta dopuštenja su nužna za "
+"funkcioniranje Shotwell Connecta."
-#: src/searches/SearchBoolean.vala:160
-msgid "Title"
-msgstr "Naslov"
+#: ../plugins/shotwell-publishing/FacebookPublishing.vala:79
+msgid "Standard (720 pixels)"
+msgstr "Standardno ( 720 piksela )"
-#: src/searches/SearchBoolean.vala:163
-msgid "Tag"
-msgstr "Oznaka"
+#: ../plugins/shotwell-publishing/FacebookPublishing.vala:82
+msgid "Large (2048 pixels)"
+msgstr "Veliko ( 2048 piksela )"
-#: src/searches/SearchBoolean.vala:166
-msgid "Comment"
+#: ../plugins/shotwell-publishing/FacebookPublishing.vala:299
+#: ../plugins/shotwell-publishing/PicasaPublishing.vala:347
+msgid "Creating album..."
+msgstr "Stvaranje albuma..."
+
+#: ../plugins/shotwell-publishing/FacebookPublishing.vala:326
+msgid ""
+"A file required for publishing is unavailable. Publishing to Facebook can't "
+"continue."
msgstr ""
+"Datoteka potrebna za objavljivanje je nedostupna. Objava na Facebooku se ne "
+"može nastaviti."
-#: src/searches/SearchBoolean.vala:169
-msgid "Event name"
-msgstr "Ime događaja"
+#: ../plugins/shotwell-publishing/FacebookPublishing.vala:648
+#, c-format
+msgid ""
+"You are logged into Facebook as %s.\n"
+"\n"
+msgstr ""
+"Prijavljeni ste u Facebook kao %s.\n"
+"\n"
-#: src/searches/SearchBoolean.vala:172
-msgid "File name"
-msgstr "Ime datoteke"
+#: ../plugins/shotwell-publishing/FacebookPublishing.vala:649
+msgid "Where would you like to publish the selected photos?"
+msgstr "Želite li objaviti odabrane fotografije?"
-#: src/searches/SearchBoolean.vala:175
-msgid "Media type"
+#: ../plugins/shotwell-publishing/FacebookPublishing.vala:650
+#: ../plugins/shotwell-publishing/facebook_publishing_options_pane.glade.h:3
+msgid "Upload _size:"
+msgstr "Veličina uploada:"
+
+#: ../plugins/shotwell-publishing/FacebookPublishing.vala:802
+#: ../plugins/shotwell-publishing/FlickrPublishing.vala:889
+msgid "Just me"
+msgstr "Samo meni"
+
+#: ../plugins/shotwell-publishing/FacebookPublishing.vala:804
+#: ../plugins/shotwell-publishing/FlickrPublishing.vala:885
+#: ../plugins/shotwell-publishing/PiwigoPublishing.vala:1234
+msgid "Everyone"
+msgstr "Svima"
+
+#: ../plugins/shotwell-publishing/FlickrPublishing.vala:57
+msgid ""
+"You are not currently logged into Flickr.\n"
+"\n"
+"Click Login to log into Flickr in your Web browser. You will have to "
+"authorize Shotwell Connect to link to your Flickr account."
msgstr ""
+"Trenutno niste prijavljeni u Flickr.\n"
+"\n"
+"Kliknite na \"Prijava\" kako biste se prijavili u Flickr putem web "
+"preglednika. Morati ćete ovlastiti Shotwell Connect kako biste se povezali "
+"na vaš Flickr račun."
-#: src/searches/SearchBoolean.vala:178
-msgid "Flag state"
+#: ../plugins/shotwell-publishing/FlickrPublishing.vala:59
+msgid ""
+"You have already logged in and out of Flickr during this Shotwell session.\n"
+"To continue publishing to Flickr, quit and restart Shotwell, then try "
+"publishing again."
msgstr ""
+"Već ste se prijavili i odjavili s Flickr-a tjekom korištenja Shotwella.\n"
+" Za nastavak korištelja Flickr servisa, ponovno pokrenite Shotwell."
-#: src/searches/SearchBoolean.vala:181
-msgid "Photo state"
+#: ../plugins/shotwell-publishing/FlickrPublishing.vala:325
+msgid ""
+"A file required for publishing is unavailable. Publishing to Flickr can't "
+"continue."
msgstr ""
+"Datoteka potrebna za objavljivanje je nedostupna. Objava na Flickru se ne "
+"može nastaviti."
-#: src/searches/SearchBoolean.vala:184 src/SearchFilter.vala:1003
-msgid "Rating"
-msgstr "Ocjena"
+#: ../plugins/shotwell-publishing/FlickrPublishing.vala:836
+#, c-format
+msgid ""
+"You are logged into Flickr as %s.\n"
+"\n"
+msgstr ""
+"Prijavljeni ste u Flickr kao %s.\n"
+"\n"
-#: src/searches/SearchBoolean.vala:187
-msgid "Date"
+#: ../plugins/shotwell-publishing/FlickrPublishing.vala:838
+#, c-format
+msgid ""
+"Your free Flickr account limits how much data you can upload per month.\n"
+"This month, you have %d megabytes remaining in your upload quota."
msgstr ""
+"Vaš Flickr korisnički račun ima mjesečno ograničenje količine fotografija "
+"koje možete poslati.\n"
+" Ovaj mjesec vam je preostalo %d Mb za korištenje."
-#: src/searches/SavedSearchDialog.vala:169
-msgid "contains"
-msgstr "sadrži"
+#: ../plugins/shotwell-publishing/FlickrPublishing.vala:840
+msgid "Your Flickr Pro account entitles you to unlimited uploads."
+msgstr "Vaš Flickr Pro korisnički račun nema ograničenja."
-#: src/searches/SavedSearchDialog.vala:170
-#: src/searches/SavedSearchDialog.vala:497
-msgid "is exactly"
-msgstr "je točno"
+#: ../plugins/shotwell-publishing/FlickrPublishing.vala:845
+msgid "Photos _visible to:"
+msgstr "Fotografije _vidljive:"
-#: src/searches/SavedSearchDialog.vala:171
-msgid "starts with"
-msgstr "počinje sa"
+#: ../plugins/shotwell-publishing/FlickrPublishing.vala:847
+msgid "Videos _visible to:"
+msgstr "Video snimke _vidljive:"
-#: src/searches/SavedSearchDialog.vala:172
-msgid "ends with"
-msgstr "završava s"
+#: ../plugins/shotwell-publishing/FlickrPublishing.vala:850
+msgid "Photos and videos _visible to:"
+msgstr "Fotografije i video snimke _vidljivi:"
-#: src/searches/SavedSearchDialog.vala:173
-msgid "does not contain"
-msgstr "ne sadrži"
+#: ../plugins/shotwell-publishing/FlickrPublishing.vala:886
+msgid "Friends & family only"
+msgstr "Samo prijatelji i obitelj."
-#: src/searches/SavedSearchDialog.vala:174
-#: src/searches/SavedSearchDialog.vala:501
-msgid "is not set"
-msgstr "nije postavljeno"
+#: ../plugins/shotwell-publishing/FlickrPublishing.vala:887
+msgid "Family only"
+msgstr "Samo obitelj"
-#: src/searches/SavedSearchDialog.vala:245
-#: src/searches/SavedSearchDialog.vala:376
-#: src/searches/SavedSearchDialog.vala:441
-msgid "is"
-msgstr "."
+#: ../plugins/shotwell-publishing/FlickrPublishing.vala:888
+msgid "Friends only"
+msgstr "Samo prijatelji"
-#: src/searches/SavedSearchDialog.vala:246
-msgid "is not"
-msgstr ""
+#: ../plugins/shotwell-publishing/FlickrPublishing.vala:909
+#: ../plugins/shotwell-publishing/PiwigoPublishing.vala:1248
+msgid "2048 x 1536 pixels"
+msgstr "2048 x 1536 piksela"
-#: src/searches/SavedSearchDialog.vala:252
-msgid "any photo"
-msgstr ""
+#: ../plugins/shotwell-publishing/FlickrPublishing.vala:910
+#: ../plugins/shotwell-publishing/PiwigoPublishing.vala:1249
+msgid "4096 x 3072 pixels"
+msgstr "4096 x 3072 piksela"
-#: src/searches/SavedSearchDialog.vala:253
-msgid "a raw photo"
-msgstr ""
+#: ../plugins/shotwell-publishing/FlickrPublishing.vala:911
+#: ../plugins/shotwell-publishing/PiwigoPublishing.vala:1250
+#: ../src/Dimensions.vala:17
+msgid "Original size"
+msgstr "Originalna veličina"
-#: src/searches/SavedSearchDialog.vala:254
-msgid "a video"
+#: ../plugins/shotwell-publishing/PicasaPublishing.vala:54
+msgid ""
+"You are not currently logged into Picasa Web Albums.\n"
+"\n"
+"Click Login to log into Picasa Web Albums in your Web browser. You will have "
+"to authorize Shotwell Connect to link to your Picasa Web Albums account."
msgstr ""
+"Trenutno niste prijavljeni u Picasa web album.\n"
+"\n"
+"Kliknite Prijava kako biste se prijavili u Picasa web albume u vašem web "
+"pregledniku. Morati ćete ovjeriti Shotwell povezivanje na poveznicu u vaš "
+"račun Picasa web albuma."
-#: src/searches/SavedSearchDialog.vala:308
-msgid "has"
+#: ../plugins/shotwell-publishing/PicasaPublishing.vala:330
+msgid ""
+"A file required for publishing is unavailable. Publishing to Picasa can't "
+"continue."
msgstr ""
+"Datoteka potrebna za objavljivanje je nedostupna. Objava na Picasu se ne "
+"može nastaviti."
-#: src/searches/SavedSearchDialog.vala:309
-msgid "has no"
-msgstr ""
+#. populate any widgets whose contents are programmatically-generated.
+#: ../plugins/shotwell-publishing/PicasaPublishing.vala:615
+#, c-format
+msgid "You are logged into Picasa Web Albums as %s."
+msgstr "Prijavljeni ste u Picasa Web album kao %s."
-#: src/searches/SavedSearchDialog.vala:314
-msgid "modifications"
-msgstr ""
+#: ../plugins/shotwell-publishing/PicasaPublishing.vala:621
+msgid "Videos will appear in:"
+msgstr "Video snimke će se vidjeti u:"
-#: src/searches/SavedSearchDialog.vala:315
-msgid "internal modifications"
-msgstr ""
+#: ../plugins/shotwell-publishing/PicasaPublishing.vala:626
+#: ../plugins/shotwell-publishing/piwigo_publishing_options_pane.glade.h:1
+msgid "Photos will appear in:"
+msgstr "Fotografije će biti postavljene u:"
-#: src/searches/SavedSearchDialog.vala:316
-msgid "external modifications"
-msgstr ""
+#: ../plugins/shotwell-publishing/PicasaPublishing.vala:697
+msgid "Small (640 x 480 pixels)"
+msgstr "Mala ( 640 x 480 piksela)"
-#: src/searches/SavedSearchDialog.vala:370
-msgid "flagged"
-msgstr ""
+#: ../plugins/shotwell-publishing/PicasaPublishing.vala:698
+msgid "Medium (1024 x 768 pixels)"
+msgstr "Srednje (1024 x 768 piksela)"
-#: src/searches/SavedSearchDialog.vala:371
-msgid "not flagged"
-msgstr ""
+#: ../plugins/shotwell-publishing/PicasaPublishing.vala:699
+msgid "Recommended (1600 x 1200 pixels)"
+msgstr "Preporučeno ( 1600 x 1200 piksela )"
-#: src/searches/SavedSearchDialog.vala:434
-msgid "and higher"
-msgstr "i više"
+#: ../plugins/shotwell-publishing/PicasaPublishing.vala:700
+msgid "Google+ (2048 x 1536 pixels)"
+msgstr "Google+ (2048 x 1536 piksela)"
-#: src/searches/SavedSearchDialog.vala:435
-msgid "only"
-msgstr "samo"
+#: ../plugins/shotwell-publishing/PicasaPublishing.vala:701
+#: ../src/editing_tools/EditingTools.vala:756
+msgid "Original Size"
+msgstr "Orginalna veličina"
-#: src/searches/SavedSearchDialog.vala:436
-msgid "and lower"
-msgstr "i niže"
+#: ../plugins/shotwell-publishing/PiwigoPublishing.vala:746
+#, c-format
+msgid "Creating album %s..."
+msgstr "Stvaranje albuma %s..."
-#: src/searches/SavedSearchDialog.vala:498
-msgid "is after"
-msgstr ""
+#: ../plugins/shotwell-publishing/PiwigoPublishing.vala:917
+msgid "An error message occurred when publishing to Piwigo. Please try again."
+msgstr "Nastala je greška prilikom prijave na Piwigo. Pokušajte ponovno.."
-#: src/searches/SavedSearchDialog.vala:499
-msgid "is before"
+#: ../plugins/shotwell-publishing/PiwigoPublishing.vala:998
+msgid ""
+"Enter the URL of your Piwigo photo library as well as the username and "
+"password associated with your Piwigo account for that library."
msgstr ""
+"Upišite URL vaše Piwigo fototeke kao i korisničko ime i lozinku vašeg Piwigo "
+"računa za tu fototeku."
-#: src/searches/SavedSearchDialog.vala:500
-msgid "is between"
+#: ../plugins/shotwell-publishing/PiwigoPublishing.vala:999
+msgid ""
+"Shotwell cannot contact your Piwigo photo library. Please verify the URL you "
+"entered"
msgstr ""
+"Shotwell se ne može povezati na Piwigo fototeku. Provjerite URL koji ste "
+"upisali"
-#: src/searches/SavedSearchDialog.vala:513
-msgid "and"
-msgstr ""
+#: ../plugins/shotwell-publishing/PiwigoPublishing.vala:1032
+msgid "Invalid URL"
+msgstr "Nevažeći URL"
-#: src/searches/SavedSearchDialog.vala:720
-msgid "any"
-msgstr "bilo koje"
+#: ../plugins/shotwell-publishing/PiwigoPublishing.vala:1235
+msgid "Admins, Family, Friends, Contacts"
+msgstr "Administratori, Obitelj, Prijatelji, Kontakti"
-#: src/searches/SavedSearchDialog.vala:721
-msgid "all"
-msgstr "sve"
+#: ../plugins/shotwell-publishing/PiwigoPublishing.vala:1236
+msgid "Admins, Family, Friends"
+msgstr "Administratori, prijatelji, obitelj"
-#: src/searches/SavedSearchDialog.vala:722
-msgid "none"
-msgstr ""
+#: ../plugins/shotwell-publishing/PiwigoPublishing.vala:1237
+msgid "Admins, Family"
+msgstr "Administratori, obitelj"
-#: src/searches/Branch.vala:68
-msgid "Saved Searches"
-msgstr "Spremljene pretrage"
+#: ../plugins/shotwell-publishing/PiwigoPublishing.vala:1238
+msgid "Admins"
+msgstr "Administratori"
-#: src/searches/Branch.vala:77 src/library/LibraryWindow.vala:346
-#: src/sidebar/Tree.vala:195
-msgid "Ne_w Saved Search..."
+#: ../plugins/shotwell-publishing/YouTubePublishing.vala:57
+msgid ""
+"You are not currently logged into YouTube.\n"
+"\n"
+"You must have already signed up for a Google account and set it up for use "
+"with YouTube to continue. You can set up most accounts by using your browser "
+"to log into the YouTube site at least once."
msgstr ""
+"Trenutno niste prijavljeni u YouTube\n"
+"\n"
+"Za korištenje YouTube servisa morate imati Google korisnički račun koji je "
+"podešen za korištenje istog. Za podešavanje računa, prijavite se barem "
+"jednom na YouTube servis sa svojim Google korisničkim računom."
-#: src/main.vala:54
-#, c-format
+#: ../plugins/shotwell-publishing/YouTubePublishing.vala:362
msgid ""
-"Your photo library is not compatible with this version of Shotwell. It "
-"appears it was created by Shotwell %s (schema %d). This version is %s "
-"(schema %d). Please use the latest version of Shotwell."
+"A file required for publishing is unavailable. Publishing to Youtube can't "
+"continue."
msgstr ""
-"Vaša biblioteka fotografija nije kompatibilna s ovom inačicom Shotwell-a. "
-"Napravljena je sa Shotwell %s ( shema %d). Tekuća verzija je %s ( shema %d). "
-"Molim koristite zadnju inačicu Shotwell-a."
+"Datoteka potrebna za objavljivanje je nedostupna. Objava na Youtube se ne "
+"može nastaviti."
-#: src/main.vala:59
+#: ../plugins/shotwell-publishing/YouTubePublishing.vala:461
#, c-format
+msgid "You are logged into YouTube as %s."
+msgstr "Prijavljeni ste u YouTube kao %s."
+
+#: ../plugins/shotwell-publishing/YouTubePublishing.vala:463
+#, c-format
+msgid "Videos will appear in '%s'"
+msgstr "Video snimke će se prikazati u '%s'"
+
+#: ../plugins/shotwell-publishing/YouTubePublishing.vala:495
+msgid "Public listed"
+msgstr "Javno izlistan"
+
+#: ../plugins/shotwell-publishing/YouTubePublishing.vala:496
+msgid "Public unlisted"
+msgstr "Javno, ali bez izlista"
+
+#: ../plugins/shotwell-publishing/facebook_publishing_options_pane.glade.h:1
+msgid "Publish to an e_xisting album:"
+msgstr "Objavi u _postojeći album:"
+
+#: ../plugins/shotwell-publishing/facebook_publishing_options_pane.glade.h:2
+msgid "Create a _new album named:"
+msgstr "Stvori _novi album"
+
+#: ../plugins/shotwell-publishing/facebook_publishing_options_pane.glade.h:4
+msgid "Videos and new photo albums _visible to:"
+msgstr "Video snimke i novi albumi s fotografijama su vidljivi:"
+
+#: ../plugins/shotwell-publishing/facebook_publishing_options_pane.glade.h:5
+#: ../plugins/shotwell-publishing/flickr_publishing_options_pane.glade.h:2
+#: ../plugins/shotwell-publishing/picasa_publishing_options_pane.glade.h:5
+#: ../plugins/shotwell-publishing/piwigo_publishing_options_pane.glade.h:8
msgid ""
-"Shotwell was unable to upgrade your photo library from version %s (schema "
-"%d) to %s (schema %d). For more information please check the Shotwell Wiki "
-"at %s"
+"_Remove location, camera, and other identifying information before uploading"
msgstr ""
-"Shotwell nije uspio nadograditi vašu biblioteku fotografije sa %s ( shema "
-"%d) na %s ( shema %d). Za više informacija pogledajte Shotwell Wiki %s"
+"_Ukloni lokaciju, kameru, i ostale informacije identifikacije prije slanja"
-#: src/main.vala:65
-#, c-format
+#: ../plugins/shotwell-publishing/flickr_pin_entry_pane.glade.h:1
msgid ""
-"Your photo library is not compatible with this version of Shotwell. It "
-"appears it was created by Shotwell %s (schema %d). This version is %s "
-"(schema %d). Please clear your library by deleting %s and re-import your "
-"photos."
+"Enter the confirmation number which appears after you log into Flickr in "
+"your Web browser."
msgstr ""
-"Vaša biblioteka fotografija nije kompatibilna s ovom inačicom Shotwell-a. "
-"Napravljena je sa Shotwell %s ( shema %d). Tekuća verzija je %s ( shema %d). "
-"Očistite vašu biblioteku brišući %s , te nakon toga ponovno uvezite "
-"fotografije."
+"Unesite potvrdni broj koji se javi nakon što se prijavite u Flickr putem "
+"vašeg web preglednika."
-#: src/main.vala:71
-#, c-format
-msgid "Unknown error attempting to verify Shotwell's database: %s"
-msgstr "Nepoznata greška kod provjere Shotwell baze podataka: %s"
+#: ../plugins/shotwell-publishing/flickr_pin_entry_pane.glade.h:2
+msgid "Authorization _Number:"
+msgstr "_Broj ovlasti:"
-#: src/main.vala:104
-msgid "Loading Shotwell"
-msgstr "Učitavanje Shotwell-a"
+#: ../plugins/shotwell-publishing/flickr_pin_entry_pane.glade.h:3
+#: ../src/Dialogs.vala:131
+msgid "Con_tinue"
+msgstr "_Nastavi"
-#: src/main.vala:294
-msgid "Path to Shotwell's private data"
-msgstr ""
+#: ../plugins/shotwell-publishing/picasa_publishing_options_pane.glade.h:1
+msgid "An _existing album:"
+msgstr "_Postojeći album:"
-#: src/main.vala:294
-msgid "DIRECTORY"
-msgstr ""
+#: ../plugins/shotwell-publishing/picasa_publishing_options_pane.glade.h:2
+#: ../plugins/shotwell-publishing/piwigo_publishing_options_pane.glade.h:3
+msgid "A _new album named:"
+msgstr "_Novom albumu nazvan:"
-#: src/main.vala:298
-msgid "Do not monitor library directory at runtime for changes"
-msgstr ""
+#: ../plugins/shotwell-publishing/picasa_publishing_options_pane.glade.h:3
+msgid "L_ist album in public gallery"
+msgstr "Prikaži album u _javnoj galeriji"
-#: src/main.vala:302
-msgid "Don't display startup progress meter"
-msgstr ""
+#: ../plugins/shotwell-publishing/picasa_publishing_options_pane.glade.h:4
+msgid "Photo _size preset:"
+msgstr "Predodređene veličine fotografija:"
-#: src/main.vala:306
-msgid "Show the application's version"
+#: ../plugins/shotwell-publishing/piwigo_authentication_pane.glade.h:2
+msgid "_URL of your Piwigo photo library"
+msgstr "_URL vaše Piwigo fototeke slika"
+
+#: ../plugins/shotwell-publishing/piwigo_authentication_pane.glade.h:3
+msgid "User _name"
+msgstr "Korisničko _ime"
+
+#: ../plugins/shotwell-publishing/piwigo_authentication_pane.glade.h:5
+msgid "_Remember Password"
+msgstr "_Zapamti lozinku"
+
+#: ../plugins/shotwell-publishing/piwigo_publishing_options_pane.glade.h:2
+msgid "An _existing category:"
+msgstr "_Postojećoj kategoriji:"
+
+#: ../plugins/shotwell-publishing/piwigo_publishing_options_pane.glade.h:4
+msgid "Photos will be _visible by:"
+msgstr "Fotografije će biti vidljive:"
+
+#: ../plugins/shotwell-publishing/piwigo_publishing_options_pane.glade.h:5
+msgid "Photo size:"
+msgstr "Veličina fotografije:"
+
+#: ../plugins/shotwell-publishing/piwigo_publishing_options_pane.glade.h:6
+msgid "within category:"
+msgstr "unutar kategorije:"
+
+#: ../plugins/shotwell-publishing/piwigo_publishing_options_pane.glade.h:7
+msgid "Album comment:"
+msgstr "Komentar albuma:"
+
+#: ../plugins/shotwell-publishing/piwigo_publishing_options_pane.glade.h:9
+msgid "_If a title is set and comment unset, use title as comment"
+msgstr "_Ako je naslov postavljen a komentar nije, koristi naslov kao komentar"
+
+#: ../plugins/shotwell-publishing/piwigo_publishing_options_pane.glade.h:10
+msgid "_Do no upload tags"
+msgstr "_Ne šalji oznake"
+
+#: ../plugins/shotwell-publishing/piwigo_publishing_options_pane.glade.h:11
+msgid "Logout"
+msgstr "Odjava"
+
+#: ../plugins/shotwell-publishing/piwigo_publishing_options_pane.glade.h:12
+#: ../src/Resources.vala:270
+msgid "Publish"
+msgstr "Objavi"
+
+#: ../plugins/shotwell-publishing/shotwell-publishing.vala:26
+msgid "Core Publishing Services"
+msgstr "Core servisi za objavu"
+
+#: ../plugins/shotwell-publishing/youtube_publishing_options_pane.glade.h:1
+msgid "Video privacy _setting:"
+msgstr "Postavke _privatnosti video snimki:"
+
+#: ../plugins/shotwell-transitions/BlindsEffect.vala:20
+msgid "Blinds"
+msgstr "Zastor"
+
+#: ../plugins/shotwell-transitions/ChessEffect.vala:20
+msgid "Chess"
+msgstr "Šah"
+
+#: ../plugins/shotwell-transitions/CircleEffect.vala:20
+msgid "Circle"
+msgstr "Krug"
+
+#: ../plugins/shotwell-transitions/CirclesEffect.vala:20
+msgid "Circles"
+msgstr "Krugovi"
+
+#: ../plugins/shotwell-transitions/ClockEffect.vala:20
+msgid "Clock"
+msgstr "Sat"
+
+#: ../plugins/shotwell-transitions/CrumbleEffect.vala:20
+msgid "Crumble"
+msgstr "Raspadanje"
+
+#: ../plugins/shotwell-transitions/FadeEffect.vala:20
+msgid "Fade"
+msgstr "Izblijedi"
+
+#: ../plugins/shotwell-transitions/SlideEffect.vala:20
+msgid "Slide"
+msgstr "Prezentacija"
+
+#: ../plugins/shotwell-transitions/SquaresEffect.vala:20
+msgid "Squares"
+msgstr "Kvadrati"
+
+#: ../plugins/shotwell-transitions/StripesEffect.vala:20
+msgid "Stripes"
+msgstr "Trake"
+
+#: ../plugins/shotwell-transitions/shotwell-transitions.vala:28
+msgid "Core Slideshow Transitions"
+msgstr "Jezgra prezentacijskog prijelaza"
+
+#: ../plugins/shotwell-transitions/shotwell-transitions.vala:75
+msgid "Copyright 2010 Maxim Kartashev, Copyright 2011-2014 Yorba Foundation"
msgstr ""
+"Autorsko pravo 2010 Maxim Kartashev, autorsko pravo 2011-2014 Yorba fondacija"
-#: src/main.vala:338
-msgid "[FILE]"
-msgstr "[FILE]"
+#: ../misc/shotwell.application.in.h:1
+msgid "Publish your pictures to Picasa"
+msgstr "Objavite svoje slike na Picasi"
+
+#: ../misc/shotwell.application.in.h:2
+msgid "Publish your pictures to Facebook"
+msgstr "Objavite svoje slike na Facebooku"
-#: src/main.vala:342
+#: ../misc/shotwell.application.in.h:3
+msgid "Publish your pictures to Flickr"
+msgstr "Objavite svoje slike na Flickru"
+
+#: ../src/AppDirs.vala:48 ../src/AppDirs.vala:99
#, c-format
-msgid "Run '%s --help' to see a full list of available command line options.\n"
-msgstr "Pokrenite '%s --help' za popis svih dostupnih opcija.\n"
+msgid "Unable to create cache directory %s: %s"
+msgstr "Nemoguće čitanje direktorija predmemorije %s: %s"
-#: src/Properties.vala:84
-msgid "Today"
-msgstr "Danas"
+#: ../src/AppDirs.vala:58 ../src/AppDirs.vala:88
+#, c-format
+msgid "Unable to create data directory %s: %s"
+msgstr "Nije moguće stvoriti direktorij podataka %s: %s"
-#: src/Properties.vala:86
-msgid "Yesterday"
-msgstr "Jučer"
+#. If XDG yarfed, use ~/Pictures
+#: ../src/AppDirs.vala:152
+msgid "Pictures"
+msgstr "Fotografije"
-#: src/Properties.vala:340 src/Dialogs.vala:1273
-msgid "Title:"
-msgstr "Naslov:"
+#: ../src/AppDirs.vala:190
+#, c-format
+msgid "Unable to create temporary directory %s: %s"
+msgstr "Nije moguće stvoriti privremeni direktorij %s: %s"
-#: src/Properties.vala:343
-msgid "Items:"
-msgstr "Stavki:"
+#: ../src/AppDirs.vala:207 ../src/AppDirs.vala:223
+#, c-format
+msgid "Unable to create data subdirectory %s: %s"
+msgstr "Nije moguće stvoriti poddirektorij podataka %s: %s"
+
+#. restore pin state
+#: ../src/AppWindow.vala:52
+msgid "Pin Toolbar"
+msgstr "Prikvaći traku sa alatima"
+
+#: ../src/AppWindow.vala:53
+msgid "Pin the toolbar open"
+msgstr "Otkvaći traku s alatima"
-#: src/Properties.vala:346
+#: ../src/AppWindow.vala:57 ../src/AppWindow.vala:135
+msgid "Leave fullscreen"
+msgstr "Napusti cjelozaslonski prikaz"
+
+#: ../src/AppWindow.vala:134
+msgid "Leave _Fullscreen"
+msgstr "Napusti _cjelozaslonski prikaz"
+
+#: ../src/AppWindow.vala:496
+msgid "_Quit"
+msgstr "_Izlaz"
+
+#: ../src/AppWindow.vala:501
+msgid "_About"
+msgstr "_O programu"
+
+#: ../src/AppWindow.vala:506
+msgid "Fulls_creen"
+msgstr "Cjelozaslonski prikaz"
+
+#: ../src/AppWindow.vala:511
+msgid "_Contents"
+msgstr "_Priručnik"
+
+#: ../src/AppWindow.vala:516
+msgid "_Frequently Asked Questions"
+msgstr "_Često postavljana pitanja"
+
+#: ../src/AppWindow.vala:521
+msgid "_Report a Problem..."
+msgstr "_Prijavi problem..."
+
+#: ../src/AppWindow.vala:620 ../src/AppWindow.vala:641
+#: ../src/AppWindow.vala:658 ../src/Dialogs.vala:20 ../src/Dialogs.vala:28
+#: ../src/Dialogs.vala:1361 ../src/Dialogs.vala:1384
+#: ../src/data_imports/DataImportsUI.vala:399
+#: ../src/publishing/PublishingUI.vala:561
+msgid "_Cancel"
+msgstr "_Odustani"
+
+#: ../src/AppWindow.vala:668
#, c-format
-msgid "%d Event"
-msgid_plural "%d Events"
-msgstr[0] "%d događaj"
-msgstr[1] "%d događaja"
-msgstr[2] "%d događaja"
+msgid ""
+"A fatal error occurred when accessing Shotwell's library. Shotwell cannot "
+"continue.\n"
+"\n"
+"%s"
+msgstr ""
+"Greška kod pristupanja Shotwell fototeke. Shotwell ne može nastaviti s "
+"radom.\n"
+"\n"
+"%s"
-#: src/Properties.vala:353 src/events/EventDirectoryItem.vala:87
+#: ../src/AppWindow.vala:700
#, c-format
-msgid "%d Photo"
-msgid_plural "%d Photos"
-msgstr[0] "%d fotografija"
-msgstr[1] "%d fotografije"
-msgstr[2] "%d fotografija"
+msgid "Unable to display help: %s"
+msgstr "Ne mogu prikazati pomoć: %s"
-#: src/Properties.vala:355 src/events/EventDirectoryItem.vala:85
+#: ../src/AppWindow.vala:708
#, c-format
-msgid "%d Video"
-msgid_plural "%d Videos"
-msgstr[0] "%d video"
-msgstr[1] "%d videa"
-msgstr[2] "%d videa"
+msgid "Unable to navigate to bug database: %s"
+msgstr "Nemoguće upravljanje bazom podataka greške: %s"
-#: src/Properties.vala:377
-msgid "Date:"
-msgstr "Datum:"
+#: ../src/AppWindow.vala:716
+#, c-format
+msgid "Unable to display FAQ: %s"
+msgstr "Ne mogu prikazati često postavljana pitanja: %s"
-#: src/Properties.vala:381
-msgid "Time:"
-msgstr "Vrijeme:"
+#: ../src/BatchImport.vala:26
+msgid "Success"
+msgstr "Uspješno"
-#: src/Properties.vala:384 src/Properties.vala:389
-msgid "From:"
-msgstr "Od:"
+#: ../src/BatchImport.vala:29
+msgid "File error"
+msgstr "Greška datoteke"
-#: src/Properties.vala:385 src/Properties.vala:390
-msgid "To:"
-msgstr "Do:"
+#: ../src/BatchImport.vala:32
+msgid "Unable to decode file"
+msgstr "Ne mogu prepoznati datoteku"
-#: src/Properties.vala:395 src/editing_tools/EditingTools.vala:1850
-msgid "Size:"
-msgstr "Veličina:"
+#: ../src/BatchImport.vala:35
+msgid "Database error"
+msgstr "Greška na bazi podataka"
-#: src/Properties.vala:404
-msgid "Duration:"
-msgstr "Trajanje:"
+#: ../src/BatchImport.vala:38
+msgid "User aborted import"
+msgstr "Prekinut uvoz od strane korisnika"
+
+#: ../src/BatchImport.vala:41
+msgid "Not a file"
+msgstr "Nije datoteka"
+
+#: ../src/BatchImport.vala:44
+msgid "File already exists in database"
+msgstr "Datoteka već postoji u bazi podataka"
+
+#: ../src/BatchImport.vala:47
+msgid "Unsupported file format"
+msgstr "nepodržana vrsta datoteke"
-#: src/Properties.vala:404
+#: ../src/BatchImport.vala:50
+msgid "Not an image file"
+msgstr "Nije fotografija"
+
+#: ../src/BatchImport.vala:53
+msgid "Disk failure"
+msgstr "Greška na disku"
+
+#: ../src/BatchImport.vala:56
+msgid "Disk full"
+msgstr "Disk pun"
+
+#: ../src/BatchImport.vala:59
+msgid "Camera error"
+msgstr "Greška na kameri"
+
+#: ../src/BatchImport.vala:62
+msgid "File write error"
+msgstr "Greška kod zapisivanja"
+
+#: ../src/BatchImport.vala:65
+msgid "Corrupt image file"
+msgstr "Oštećena datoteka slika"
+
+#: ../src/BatchImport.vala:68
#, c-format
-msgid "%.1f seconds"
-msgstr "%.1f sekundi"
+msgid "Imported failed (%d)"
+msgstr "%d neuspijelih uvoza."
-#: src/Properties.vala:408
-msgid "Developer:"
-msgstr ""
+#: ../src/CollectionPage.vala:230 ../src/PhotoPage.vala:2627
+msgid "S_lideshow"
+msgstr "Prezentacija"
-#: src/Properties.vala:436 src/Properties.vala:440 src/Properties.vala:447
-#: src/editing_tools/EditingTools.vala:2218
-msgid "Exposure:"
-msgstr "Ekspozicija:"
+#: ../src/CollectionPage.vala:231 ../src/PhotoPage.vala:2628
+msgid "Play a slideshow"
+msgstr "Pokreni prezentaciju"
-#: src/Properties.vala:585
-msgid "Location:"
-msgstr "Lokacija:"
+#: ../src/CollectionPage.vala:456
+msgid "Export Photo/Video"
+msgstr "Izvoz fotografije/video snimke"
-#: src/Properties.vala:588
-msgid "File size:"
-msgstr "Veličina datoteke"
+#: ../src/CollectionPage.vala:456
+msgid "Export Photos/Videos"
+msgstr "Izvoz slika/video snimke"
-#: src/Properties.vala:592
-msgid "Current Development:"
-msgstr ""
+#: ../src/CollectionPage.vala:458 ../src/Dialogs.vala:58
+#: ../src/PhotoPage.vala:3200
+msgid "Export Photo"
+msgstr "Izvoz fotografija"
-#: src/Properties.vala:594
-msgid "Original dimensions:"
-msgstr "Orginalne dimenzije:"
+#: ../src/CollectionPage.vala:458 ../src/Dialogs.vala:87
+msgid "Export Photos"
+msgstr "Izvoz fotografija"
-#: src/Properties.vala:597
-msgid "Camera make:"
-msgstr "Proizvođač kamere:"
+#: ../src/CollectionPage.vala:545 ../src/CollectionPage.vala:561
+msgid "Rotating"
+msgstr "Zakretanje"
-#: src/Properties.vala:600
-msgid "Camera model:"
-msgstr "Model kamere:"
+#: ../src/CollectionPage.vala:545 ../src/CollectionPage.vala:561
+msgid "Undoing Rotate"
+msgstr "Prekidam zakretanje"
-#: src/Properties.vala:603
-msgid "Flash:"
-msgstr "Bljeskalica:"
+#: ../src/CollectionPage.vala:570
+msgid "Flipping Horizontally"
+msgstr "Okreni horizontalno"
-#: src/Properties.vala:605
-msgid "Focal length:"
-msgstr "Fokalna duljina:"
+#: ../src/CollectionPage.vala:571
+msgid "Undoing Flip Horizontally"
+msgstr "Prekidam preokretanje"
-#: src/Properties.vala:608
-msgid "Exposure date:"
-msgstr ""
+#: ../src/CollectionPage.vala:580
+msgid "Flipping Vertically"
+msgstr "Okreni vertikalno"
-#: src/Properties.vala:611
-msgid "Exposure time:"
-msgstr ""
+#: ../src/CollectionPage.vala:581
+msgid "Undoing Flip Vertically"
+msgstr "Prekidam preokretanje"
-#: src/Properties.vala:614
-msgid "Exposure bias:"
-msgstr "Exposure bias:"
+#: ../src/Commands.vala:733
+msgid "Reverting"
+msgstr "Vraćam promjene"
-#: src/Properties.vala:616
-msgid "GPS latitude:"
-msgstr "GPS širina:"
+#: ../src/Commands.vala:733
+msgid "Undoing Revert"
+msgstr "Prekidam vraćanje promjena"
-#: src/Properties.vala:619
-msgid "GPS longitude:"
-msgstr "GPS dužina:"
+#: ../src/Commands.vala:777
+msgid "Enhancing"
+msgstr "Poboljšanje"
-#: src/Properties.vala:622
-msgid "Artist:"
-msgstr "Umjetnik:"
+#: ../src/Commands.vala:777
+msgid "Undoing Enhance"
+msgstr "Prekidam poboljšavanje"
-#: src/Properties.vala:624
-msgid "Copyright:"
-msgstr "Prava:"
+#: ../src/Commands.vala:845
+msgid "Applying Color Transformations"
+msgstr "Primjenjivanje transformacija boje"
-#: src/Properties.vala:626
-msgid "Software:"
-msgstr "Softver:"
+#: ../src/Commands.vala:845
+msgid "Undoing Color Transformations"
+msgstr "Poništavanje transformacija boje"
-#: src/Properties.vala:630 src/Dialogs.vala:1288
-msgid "Comment:"
-msgstr ""
+#: ../src/Commands.vala:995
+msgid "Creating New Event"
+msgstr "Stvaranje novog događaja"
-#: src/Properties.vala:639
-msgid "Extended Information"
-msgstr "Dodatne informacije"
+#: ../src/Commands.vala:996
+msgid "Removing Event"
+msgstr "Uklanjanje događaja"
+
+#: ../src/Commands.vala:1005
+msgid "Moving Photos to New Event"
+msgstr "Premještanje fotografija u novi događaj"
+
+#: ../src/Commands.vala:1006
+msgid "Setting Photos to Previous Event"
+msgstr "Postavljanje fotografija u prijašnji događaj"
+
+#: ../src/Commands.vala:1063
+msgid "Merging"
+msgstr "Spajanje"
+
+#: ../src/Commands.vala:1064
+msgid "Unmerging"
+msgstr "Razdvajanje"
-#: src/Dialogs.vala:16
+#: ../src/Commands.vala:1073
+msgid "Duplicating photos"
+msgstr "Dupliciranje fotografija"
+
+#: ../src/Commands.vala:1073
+msgid "Removing duplicated photos"
+msgstr "Uklanjanje duplikata fotografija"
+
+#: ../src/Commands.vala:1096
#, c-format
-msgid "This will remove the tag \"%s\" from one photo. Continue?"
-msgid_plural "This will remove the tag \"%s\" from %d photos. Continue?"
+msgid "Unable to duplicate one photo due to a file error"
+msgid_plural "Unable to duplicate %d photos due to file errors"
+msgstr[0] "Nemoguće napraviti duplikat %d fotografije zbog greške u datoteci"
+msgstr[1] "Nemoguće napraviti duplikat %d fotografije zbog greške u datoteci"
+msgstr[2] "Nemoguće napraviti duplikat %d fotografija zbog greške u datoteci"
+
+#: ../src/Commands.vala:1183
+msgid "Restoring previous rating"
+msgstr "Vraćanje na prijašnje vrijednosti"
+
+#: ../src/Commands.vala:1193 ../src/Commands.vala:1194
+msgid "Increasing ratings"
+msgstr "Povećavanje ocijena"
+
+#: ../src/Commands.vala:1193 ../src/Commands.vala:1194
+msgid "Decreasing ratings"
+msgstr "Smanjujem ocijenu"
+
+#: ../src/Commands.vala:1244
+msgid "Setting RAW developer"
+msgstr "Postavljanje RAW razvijatelja"
+
+#: ../src/Commands.vala:1244
+msgid "Restoring previous RAW developer"
+msgstr "Obnavaljanje prijašnjeg RAW razvijatelja"
+
+#: ../src/Commands.vala:1245
+msgid "Set Developer"
+msgstr "Postavi razvijatelja"
+
+#: ../src/Commands.vala:1335
+msgid "Original photo could not be adjusted."
+msgstr "Orginalna fotografija se ne može podesiti"
+
+#: ../src/Commands.vala:1356
+msgid "Adjusting Date and Time"
+msgstr "Podešavanje vremena i datuma"
+
+#: ../src/Commands.vala:1356
+msgid "Undoing Date and Time Adjustment"
+msgstr "Prekid podešavanja datuma i vremena"
+
+#: ../src/Commands.vala:1387
+msgid "One original photo could not be adjusted."
+msgid_plural "The following original photos could not be adjusted."
+msgstr[0] "Orginalna fotografija se ne može podesiti"
+msgstr[1] "Orginalne fotografije se ne može podesiti"
+msgstr[2] "Orginalne fotografije se ne može podesiti"
+
+#: ../src/Commands.vala:1389 ../src/Commands.vala:1413
+msgid "Time Adjustment Error"
+msgstr "Greška kod podešavanja vremena"
+
+#: ../src/Commands.vala:1411
+msgid "Time adjustments could not be undone on the following photo file."
+msgid_plural ""
+"Time adjustments could not be undone on the following photo files."
msgstr[0] ""
+"Podešavanje vremena se ne može vratiti natrag na sljedećoj fotografiji."
msgstr[1] ""
+"Podešavanje vremena se ne može vratiti natrag na sljedećim fotografijama."
msgstr[2] ""
+"Podešavanje vremena se ne može vratiti natrag na sljedećim fotografijama."
-#: src/Dialogs.vala:20 src/Dialogs.vala:28 src/Dialogs.vala:1361
-#: src/Dialogs.vala:1384 src/data_imports/DataImportsUI.vala:399
-#: src/AppWindow.vala:615 src/AppWindow.vala:636 src/AppWindow.vala:653
-#: src/publishing/PublishingUI.vala:498
-msgid "_Cancel"
-msgstr "_Otkaži"
+#: ../src/Commands.vala:1625 ../src/Commands.vala:1648
+msgid "Create Tag"
+msgstr "Stvori oznaku"
+
+#: ../src/Commands.vala:1683
+#, c-format
+msgid "Move Tag \"%s\""
+msgstr "Premjesti oznaku \"%s\""
-#: src/Dialogs.vala:20 src/Dialogs.vala:28 src/Dialogs.vala:1329
-#: src/Resources.vala:330 src/Resources.vala:378 src/Resources.vala:643
+#: ../src/Commands.vala:2335
+msgid "Move Photos to Trash"
+msgstr "Premjesti fotografije u smeće"
+
+#: ../src/Commands.vala:2335
+msgid "Restore Photos from Trash"
+msgstr "Vrati fotografije iz smeća"
+
+#: ../src/Commands.vala:2336
+msgid "Move the photos to the Shotwell trash"
+msgstr "Premjesti fotografije u Shotwell smeće"
+
+#: ../src/Commands.vala:2336
+msgid "Restore the photos back to the Shotwell library"
+msgstr "Vrati fotografije natrag u Shotwell fototeku"
+
+#: ../src/Commands.vala:2355
+msgid "Moving Photos to Trash"
+msgstr "Premještanje fotografija u smeće"
+
+#: ../src/Commands.vala:2355
+msgid "Restoring Photos From Trash"
+msgstr "Vraćanje fotografija iz smeća"
+
+#: ../src/Commands.vala:2441
+msgid "Flag selected photos"
+msgstr "Označi odabrane fotografije"
+
+#: ../src/Commands.vala:2442
+msgid "Unflag selected photos"
+msgstr "Odznači odabrane fotografije"
+
+#: ../src/Commands.vala:2443
+msgid "Flagging selected photos"
+msgstr "Označavanje odabrane fotografije"
+
+#: ../src/Commands.vala:2444
+msgid "Unflagging selected photos"
+msgstr "Odznačavanje odabrane fotografije"
+
+#: ../src/Commands.vala:2451
+msgid "Flag"
+msgstr "Označi"
+
+#: ../src/Commands.vala:2451
+msgid "Unflag"
+msgstr "Odznači"
+
+#: ../src/DesktopIntegration.vala:118
+#, c-format
+msgid "Unable to launch Nautilus Send-To: %s"
+msgstr "Ne mogu pokrenuti Nautilus Pošalji: %s"
+
+#: ../src/DesktopIntegration.vala:126
+msgid "Send To"
+msgstr "Pošalji"
+
+#: ../src/DesktopIntegration.vala:171
+#, c-format
+msgid "Unable to export background to %s: %s"
+msgstr "Ne mogu izvesti pozadinu u %s: %s"
+
+#: ../src/DesktopIntegration.vala:299
+#, c-format
+msgid "Unable to prepare desktop slideshow: %s"
+msgstr "Nemoguće pripremanje prezentacije na radnoj površini: %s"
+
+#: ../src/Dialogs.vala:16
+#, c-format
+msgid "This will remove the tag \"%s\" from one photo. Continue?"
+msgid_plural "This will remove the tag \"%s\" from %d photos. Continue?"
+msgstr[0] "Ovo će ukloniti oznaku \"%s\" s %d fotografije. Nastavi?"
+msgstr[1] "Ovo će ukloniti oznaku \"%s\" s %d fotografije. Nastavi?"
+msgstr[2] "Ovo će ukloniti oznaku \"%s\" s %d fotografija. Nastavi?"
+
+#: ../src/Dialogs.vala:20 ../src/Dialogs.vala:28 ../src/Dialogs.vala:1329
+#: ../src/Resources.vala:330 ../src/Resources.vala:378
+#: ../src/Resources.vala:643
msgid "_Delete"
msgstr "Obriši"
-#: src/Dialogs.vala:25
+#: ../src/Dialogs.vala:25
#, c-format
msgid "This will remove the saved search \"%s\". Continue?"
-msgstr ""
+msgstr "Ovo će ukloniti spremljeno pretraživanje %s. Nastavi?"
-#: src/Dialogs.vala:35
-#, c-format
+#: ../src/Dialogs.vala:35
msgid ""
"Switching developers will undo all changes you have made to this photo in "
"Shotwell"
@@ -666,25 +1232,38 @@ msgid_plural ""
"Switching developers will undo all changes you have made to these photos in "
"Shotwell"
msgstr[0] ""
+"Zamjena razvijatelja će poništiti sve promjene koje ste učinili na ovoj "
+"fotografiji u Shotwellu"
msgstr[1] ""
+"Zamjena razvijatelja će poništiti sve promjene koje ste učinili na ovim "
+"fotografijama u Shotwellu"
msgstr[2] ""
+"Zamjena razvijatelja će poništiti sve promjene koje ste učinili na ovim "
+"fotografijama u Shotwellu"
-#: src/Dialogs.vala:39
+#: ../src/Dialogs.vala:39
msgid "_Switch Developer"
-msgstr ""
+msgstr "_Zamijeni razvijatelja"
-#: src/Dialogs.vala:58
+#: ../src/Dialogs.vala:58
msgid "Export Video"
-msgstr "Izvoz videa"
+msgstr "Izvoz video snimke"
-#: src/Dialogs.vala:115
+#. Ticket #3023
+#. Attempt to replace the system error with something friendlier
+#. if we can't copy an image over for editing in an external tool.
+#. Did we fail because we can't write to this directory?
+#. Yes - display an alternate error message here.
+#: ../src/Dialogs.vala:115
#, c-format
msgid ""
"Shotwell couldn't create a file for editing this photo because you do not "
"have permission to write to %s."
msgstr ""
+"Shotwell nije mogao stvoriti datoteku za uređivanje ove fotografije jer "
+"nemate dozvole za pisanje u %s."
-#: src/Dialogs.vala:124
+#: ../src/Dialogs.vala:124
msgid ""
"Unable to export the following photo due to a file error.\n"
"\n"
@@ -692,7 +1271,7 @@ msgstr ""
"Ne mogu izvesti fotografiju zbog greške na datoteci.\n"
"\n"
-#: src/Dialogs.vala:130
+#: ../src/Dialogs.vala:130
msgid ""
"\n"
"\n"
@@ -702,120 +1281,148 @@ msgstr ""
"\n"
"Želite li nastaviti s izvozom?"
-#: src/Dialogs.vala:131
-msgid "Con_tinue"
-msgstr "_Nastavi"
-
-#: src/Dialogs.vala:147
+#. "Unmodified" and "Current," though they appear in the "Format:" popup menu, really
+#. aren't formats so much as they are operating modes that determine specific formats.
+#. Hereafter we'll refer to these as "special formats."
+#: ../src/Dialogs.vala:147
msgid "Unmodified"
msgstr "Nepromjenjeno"
-#: src/Dialogs.vala:148
+#: ../src/Dialogs.vala:148
msgid "Current"
-msgstr "Tekuće"
+msgstr "Trenutni"
-#: src/Dialogs.vala:212
+#. layout controls
+#: ../src/Dialogs.vala:212
msgid "_Format:"
msgstr "_Format:"
-#: src/Dialogs.vala:215
+#: ../src/Dialogs.vala:215
msgid "_Quality:"
msgstr "_Kvaliteta:"
-#: src/Dialogs.vala:218
+#: ../src/Dialogs.vala:218
msgid "_Scaling constraint:"
msgstr "Ograničenje promjene veličine:"
-#: src/Dialogs.vala:221
+#: ../src/Dialogs.vala:221
msgid " _pixels"
-msgstr "_piksela"
+msgstr " _piksela"
-#: src/Dialogs.vala:229
+#: ../src/Dialogs.vala:229
msgid "Export metadata"
-msgstr ""
+msgstr "Izvezi metapodatke"
-#: src/Dialogs.vala:465
+#: ../src/Dialogs.vala:465
msgid "Save Details..."
-msgstr ""
+msgstr "Spremi pojedinosti..."
-#: src/Dialogs.vala:466
+#: ../src/Dialogs.vala:466
msgid "Save Details"
-msgstr ""
+msgstr "Spremi pojedinosti"
-#: src/Dialogs.vala:481
+#: ../src/Dialogs.vala:481
#, c-format
msgid "(and %d more)\n"
msgstr "Još %d.\n"
-#: src/Dialogs.vala:534
+#: ../src/Dialogs.vala:534
msgid "Import Results Report"
-msgstr ""
+msgstr "Uvezi izvještaj rezultata"
-#: src/Dialogs.vala:538
+#: ../src/Dialogs.vala:538
#, c-format
msgid "Attempted to import %d file."
msgid_plural "Attempted to import %d files."
-msgstr[0] ""
-msgstr[1] ""
-msgstr[2] ""
+msgstr[0] "Pokušaj uvoza %d datoteke."
+msgstr[1] "Pokušaj uvoza %d datoteke."
+msgstr[2] "Pokušaj uvoza %d datoteka."
-#: src/Dialogs.vala:541
+#: ../src/Dialogs.vala:541
#, c-format
msgid "Of these, %d file was successfully imported."
msgid_plural "Of these, %d files were successfully imported."
-msgstr[0] ""
-msgstr[1] ""
-msgstr[2] ""
-
-#: src/Dialogs.vala:553
+msgstr[0] "Od toga, %d datoteka je uspješno uvezena."
+msgstr[1] "Od toga, %d datoteke su uspješno uvezene."
+msgstr[2] "Od toga, %d datoteka je uspješno uvezeno."
+
+#.
+#. Duplicates
+#.
+#: ../src/Dialogs.vala:553
msgid "Duplicate Photos/Videos Not Imported:"
-msgstr ""
+msgstr "Duplikat fotografija/video snimka nije uvezen:"
-#: src/Dialogs.vala:557
+#: ../src/Dialogs.vala:557
msgid "duplicates existing media item"
-msgstr ""
+msgstr "napravi duplikat postojeće medijske stavke"
-#: src/Dialogs.vala:568
+#.
+#. Files Not Imported Due to Camera Errors
+#.
+#: ../src/Dialogs.vala:568
msgid "Photos/Videos Not Imported Due to Camera Errors:"
-msgstr ""
+msgstr "Fotografije/Video snimke nisu uvezeni zbog greške na kameri:"
-#: src/Dialogs.vala:571 src/Dialogs.vala:586 src/Dialogs.vala:601
-#: src/Dialogs.vala:617 src/Dialogs.vala:632 src/Dialogs.vala:646
+#: ../src/Dialogs.vala:571 ../src/Dialogs.vala:586 ../src/Dialogs.vala:601
+#: ../src/Dialogs.vala:617 ../src/Dialogs.vala:632 ../src/Dialogs.vala:646
msgid "error message:"
-msgstr ""
+msgstr "poruka greške:"
-#: src/Dialogs.vala:582
+#.
+#. Files Not Imported Because They Weren't Recognized as Photos or Videos
+#.
+#: ../src/Dialogs.vala:582
msgid "Files Not Imported Because They Weren't Recognized as Photos or Videos:"
msgstr ""
+"Datoteke nisu uvezene jer nisu prepoznate kao fotografije ili video snimke:"
-#: src/Dialogs.vala:597
+#.
+#. Photos/Videos Not Imported Because They Weren't in a Format Shotwell Understands
+#.
+#: ../src/Dialogs.vala:597
msgid ""
"Photos/Videos Not Imported Because They Weren't in a Format Shotwell "
"Understands:"
msgstr ""
+"Fotografije/Video snimke nisu uvezene jer nisu u formatu koji Shotwell "
+"prepoznaje:"
-#: src/Dialogs.vala:612
+#.
+#. Photos/Videos Not Imported Because Shotwell Couldn't Copy Them into its Library
+#.
+#: ../src/Dialogs.vala:612
msgid ""
"Photos/Videos Not Imported Because Shotwell Couldn't Copy Them into its "
"Library:"
msgstr ""
+"Fotografije/Video snimke nisu uvezene zato jer ih Shotwell nije mogao "
+"kopirati u fototeku:"
-#: src/Dialogs.vala:616
+#: ../src/Dialogs.vala:616
#, c-format
msgid ""
"couldn't copy %s\n"
"\tto %s"
msgstr ""
+"nemoguće kopiranje %s\n"
+"\tu %s"
-#: src/Dialogs.vala:628
+#.
+#. Photos/Videos Not Imported Because GDK Pixbuf Library Identified them as Corrupt
+#.
+#: ../src/Dialogs.vala:628
msgid "Photos/Videos Not Imported Because Files Are Corrupt:"
-msgstr ""
+msgstr "Fotografije/Video snimke nisu uvezene zato jer su oštećene:"
-#: src/Dialogs.vala:643
+#.
+#. Photos/Videos Not Imported for Other Reasons
+#.
+#: ../src/Dialogs.vala:643
msgid "Photos/Videos Not Imported for Other Reasons:"
-msgstr ""
+msgstr "Fotografije/Video snimke nisu uvezene zbog drugih razloga:"
-#: src/Dialogs.vala:663
+#: ../src/Dialogs.vala:663
#, c-format
msgid "1 duplicate photo was not imported:\n"
msgid_plural "%d duplicate photos were not imported:\n"
@@ -823,71 +1430,65 @@ msgstr[0] "%d duplikat nije uvezen:\n"
msgstr[1] "%d duplikata nisu uvezena:\n"
msgstr[2] "%d duplikata nije uvezeno:\n"
-#: src/Dialogs.vala:666
+#: ../src/Dialogs.vala:666
#, c-format
msgid "1 duplicate video was not imported:\n"
msgid_plural "%d duplicate videos were not imported:\n"
-msgstr[0] "%d duplikat nije uvezen:\n"
-msgstr[1] "%d duplikata nisu uvezena:\n"
-msgstr[2] "%d duplikata nije uvezeno:\n"
+msgstr[0] "%d duplikat video snimke nije uvezen:\n"
+msgstr[1] "%d duplikata video snimaka nisu uvezni:\n"
+msgstr[2] "%d duplikata video snimaka nisu uvezni:\n"
-#: src/Dialogs.vala:669
+#: ../src/Dialogs.vala:669
#, c-format
msgid "1 duplicate photo/video was not imported:\n"
msgid_plural "%d duplicate photos/videos were not imported:\n"
-msgstr[0] "%d duplikat nije uvezen:\n"
-msgstr[1] "%d duplikata nisu uvezena:\n"
-msgstr[2] "%d duplikata nije uvezeno:\n"
+msgstr[0] "%d duplikat fotografije/video snimke nije uvezen:\n"
+msgstr[1] "%d duplikata fotografija/video snimaka nisu uvezni:\n"
+msgstr[2] "%d duplikata fotografija/video snimaka nisu uvezni:\n"
-#: src/Dialogs.vala:683
+#: ../src/Dialogs.vala:683
#, c-format
msgid "1 photo failed to import due to a file or hardware error:\n"
msgid_plural "%d photos failed to import due to a file or hardware error:\n"
-msgstr[0] ""
-"%d fotografija nije uvezena zbog greške na datoteci ili sklopovlju:\n"
-msgstr[1] ""
-"%d fotografije nisu uvezene zbog greške na datoteci ili sklopovlju:\n"
-msgstr[2] ""
-"%d fotografija nije uvezeno zbog greške na datoteci ili sklopovlju:\n"
+msgstr[0] "%d fotografija nije uvezena zbog greške na datoteci ili hardveru:\n"
+msgstr[1] "%d fotografije nisu uvezene zbog greške na datoteci ili hardveru:\n"
+msgstr[2] "%d fotografija nije uvezeno zbog greške na datoteci ili hardveru:\n"
-#: src/Dialogs.vala:686
+#: ../src/Dialogs.vala:686
#, c-format
msgid "1 video failed to import due to a file or hardware error:\n"
msgid_plural "%d videos failed to import due to a file or hardware error:\n"
msgstr[0] ""
-"%d datoteka nije uvezena - greška na datoteci ili sklopovlju:\n"
-"\n"
+"%d video snimka nije uvezena zbog greške na datoteci ili hardveru:\n"
msgstr[1] ""
-"%d datoteke nisu uvezene - greška na datoteci ili sklopovlju:\n"
-"\n"
+"%d video snimke nisu uvezene zbog greške na datoteci ili hardveru:\n"
msgstr[2] ""
-"%d datoteke nije uvezeno - greška na datoteci ili sklopovlju:\n"
-"\n"
+"%d video snimaka nije uvezeno zbog greške na datoteci ili hardveru:\n"
-#: src/Dialogs.vala:689
+#: ../src/Dialogs.vala:689
#, c-format
msgid "1 photo/video failed to import due to a file or hardware error:\n"
msgid_plural ""
"%d photos/videos failed to import due to a file or hardware error:\n"
msgstr[0] ""
-"%d datoteka nije uvezena - greška na datoteci ili sklopovlju:\n"
-"\n"
+"%d fotografija/video snimka nije uvezena zbog greške na datoteci ili "
+"hardveru:\n"
msgstr[1] ""
-"%d datoteke nisu uvezene - greška na datoteci ili sklopovlju:\n"
-"\n"
+"%d fotografija/video snimke nisu uvezene zbog greške na datoteci ili "
+"hardveru:\n"
msgstr[2] ""
-"%d datoteke nije uvezeno - greška na datoteci ili sklopovlju:\n"
-"\n"
+"%d fotografija/video snimaka nije uvezeno zbog greške na datoteci ili "
+"hardveru:\n"
-#: src/Dialogs.vala:692
+#: ../src/Dialogs.vala:692
#, c-format
msgid "1 file failed to import due to a file or hardware error:\n"
msgid_plural "%d files failed to import due to a file or hardware error:\n"
-msgstr[0] ""
-msgstr[1] ""
-msgstr[2] ""
+msgstr[0] "%d datoteka nije uvezena zbog greške na datoteci ili hardveru:\n"
+msgstr[1] "%d datoteke nisu uvezene zbog greške na datoteci ili hardveru:\n"
+msgstr[2] "%d datoteka nisu uvezene zbog greške na datoteci ili hardveru:\n"
-#: src/Dialogs.vala:706
+#: ../src/Dialogs.vala:706
#, c-format
msgid ""
"1 photo failed to import because the photo library folder was not writable:\n"
@@ -895,10 +1496,13 @@ msgid_plural ""
"%d photos failed to import because the photo library folder was not "
"writable:\n"
msgstr[0] ""
+"%d fotografija nije uvezena zbog toga što mapa fototeke nije zapisiva:\n"
msgstr[1] ""
+"%d fotografije nisu uvezene zbog toga što mapa fototeke nije zapisiva:\n"
msgstr[2] ""
+"%d fotografija nije uvezeno zbog toga što mapa fototeke nije zapisiva:\n"
-#: src/Dialogs.vala:709
+#: ../src/Dialogs.vala:709
#, c-format
msgid ""
"1 video failed to import because the photo library folder was not writable:\n"
@@ -906,10 +1510,13 @@ msgid_plural ""
"%d videos failed to import because the photo library folder was not "
"writable:\n"
msgstr[0] ""
+"%d video snimka nije uvezena zato jer mapa fototeke nije zapisiva:\n"
msgstr[1] ""
+"%d video snimke nisu uvezene zato jer mapa fototeke nije zapisiva:\n"
msgstr[2] ""
+"%d video snimaka nije uvezeno zato jer mapa fototeke nije zapisiva:\n"
-#: src/Dialogs.vala:712
+#: ../src/Dialogs.vala:712
#, c-format
msgid ""
"1 photo/video failed to import because the photo library folder was not "
@@ -918,10 +1525,16 @@ msgid_plural ""
"%d photos/videos failed to import because the photo library folder was not "
"writable:\n"
msgstr[0] ""
+"%d fotografija/video snimka nije uvezena zato jer mapa fototeke nije "
+"zapisiva:\n"
msgstr[1] ""
+"%d fotografije/video snimke nisu uvezene zato jer mapa fototeke nije "
+"zapisiva:\n"
msgstr[2] ""
+"%d fotografija/video snimaka nije uvezeno zato jer mapa fototeke nije "
+"zapisiva:\n"
-#: src/Dialogs.vala:715
+#: ../src/Dialogs.vala:715
#, c-format
msgid ""
"1 file failed to import because the photo library folder was not writable:\n"
@@ -929,202 +1542,169 @@ msgid_plural ""
"%d files failed to import because the photo library folder was not "
"writable:\n"
msgstr[0] ""
+"%d datoteka nije uvezena zbog toga što mapa fototeke nije zapisiva:\n"
msgstr[1] ""
+"%d datoteke nisu uvezene zbog toga što mapa fototeke nije zapisiva:\n"
msgstr[2] ""
+"%d datoteka nije uvezeno zbog toga što mapa fototeke nije zapisiva:\n"
-#: src/Dialogs.vala:729
+#: ../src/Dialogs.vala:729
#, c-format
msgid "1 photo failed to import due to a camera error:\n"
msgid_plural "%d photos failed to import due to a camera error:\n"
-msgstr[0] ""
-"%d fotografija nije uvezene - greška na kameri:\n"
-"\n"
-msgstr[1] ""
-"%d fotografija nije uvezeno - greška na kameri:\n"
-"\n"
-msgstr[2] ""
-"%d fotografija nije uvezeno - greška na kameri:\n"
-"\n"
+msgstr[0] "%d fotografija nije uvezena - greška na kameri:\n"
+msgstr[1] "%d fotografije nisu uvezene - greška na kameri:\n"
+msgstr[2] "%d fotografija nije uvezeno - greška na kameri:\n"
-#: src/Dialogs.vala:732
+#: ../src/Dialogs.vala:732
#, c-format
msgid "1 video failed to import due to a camera error:\n"
msgid_plural "%d videos failed to import due to a camera error:\n"
-msgstr[0] "%d video nije uvezen zbog greške na kameri:\n"
-msgstr[1] "%d videa nisu uvezena zbog greške na kameri:\n"
-msgstr[2] "%d videa nije uvezeno zbog greške na kameri:\n"
+msgstr[0] "%d video snimka nije uvezena zbog greške na kameri:\n"
+msgstr[1] "%d video snimke nisu uvezene zbog greške na kameri:\n"
+msgstr[2] "%d video snimaka nije uvezeno zbog greške na kameri:\n"
-#: src/Dialogs.vala:735
+#: ../src/Dialogs.vala:735
#, c-format
msgid "1 photo/video failed to import due to a camera error:\n"
msgid_plural "%d photos/videos failed to import due to a camera error:\n"
-msgstr[0] "%d fotografija/video nije uvezeno zbog greške na kameri:\n"
-msgstr[1] "%d fotografije/videa nisu uvezeni zbog greške na kameri:\n"
-msgstr[2] "%d fotografija/videa nije uvezeno zbog greške na kameri:\n"
+msgstr[0] "%d fotografija/video snimka nije uvezena zbog greške na kameri:\n"
+msgstr[1] "%d fotografije/video snimke nisu uvezene zbog greške na kameri:\n"
+msgstr[2] "%d fotografija/video snimaka nije uvezeno zbog greške na kameri:\n"
-#: src/Dialogs.vala:738
+#: ../src/Dialogs.vala:738
#, c-format
msgid "1 file failed to import due to a camera error:\n"
msgid_plural "%d files failed to import due to a camera error:\n"
-msgstr[0] ""
-msgstr[1] ""
-msgstr[2] ""
+msgstr[0] "%d datoteka nije uvezena zbog greške na kameri:\n"
+msgstr[1] "%d datoteke nisu uvezene zbog greške na kameri:\n"
+msgstr[2] "%d datoteka nije uvezeno zbog greške na kameri:\n"
-#: src/Dialogs.vala:752
+#: ../src/Dialogs.vala:752
#, c-format
msgid "1 photo failed to import because it was corrupt:\n"
msgid_plural "%d photos failed to import because they were corrupt:\n"
-msgstr[0] ""
-msgstr[1] ""
-msgstr[2] ""
+msgstr[0] "%d fotografija se nije uvezla zato jer je oštećena:\n"
+msgstr[1] "%d fotografije se nisu uvezle zato jer su oštećene:\n"
+msgstr[2] "%d fotografija se nije uvezlo zato jer su oštećene:\n"
-#: src/Dialogs.vala:755
+#: ../src/Dialogs.vala:755
#, c-format
msgid "1 video failed to import because it was corrupt:\n"
msgid_plural "%d videos failed to import because they were corrupt:\n"
-msgstr[0] ""
-msgstr[1] ""
-msgstr[2] ""
+msgstr[0] "%d video snimka se nije uvezla zato jer je oštećena:\n"
+msgstr[1] "%d video snimke se nisu uvezle zato jer su oštećene:\n"
+msgstr[2] "%d video snimaka se nije uvezlo zato jer su oštećene:\n"
-#: src/Dialogs.vala:758
+#: ../src/Dialogs.vala:758
#, c-format
msgid "1 photo/video failed to import because it was corrupt:\n"
msgid_plural "%d photos/videos failed to import because they were corrupt:\n"
-msgstr[0] ""
-msgstr[1] ""
+msgstr[0] "%d fotografija/video snimka se nije uvezla zato jer je oštećena:\n"
+msgstr[1] "%d fotografije/video snimke se nisu uvezle zato jer su oštećene:\n"
msgstr[2] ""
+"%d fotografija/video snimaka se nije uvezlo zato jer su oštećene:\n"
-#: src/Dialogs.vala:761
+#: ../src/Dialogs.vala:761
#, c-format
msgid "1 file failed to import because it was corrupt:\n"
msgid_plural "%d files failed to import because it was corrupt:\n"
-msgstr[0] ""
-msgstr[1] ""
-msgstr[2] ""
+msgstr[0] "%d datoteka se nije uvezla zato jer je oštećena:\n"
+msgstr[1] "%d datoteke se nisu uvezle zato jer su oštećene:\n"
+msgstr[2] "%d datoteka se nije uvezlo zato jer su oštećene:\n"
-#: src/Dialogs.vala:778
+#. we have no notion of "unsupported" video files right now in Shotwell (all
+#. standard container formats are supported, it's just that the streams in them
+#. might or might not be interpretable), so this message does not need to be
+#. media specific
+#: ../src/Dialogs.vala:778
#, c-format
msgid "1 unsupported photo skipped:\n"
msgid_plural "%d unsupported photos skipped:\n"
msgstr[0] "%d fotografija preskočena, format nije podržan:\n"
msgstr[1] "%d fotografije preskočene, format nije podržan:\n"
-msgstr[2] "%d fotografija preskočenih, format nije podržan:\n"
+msgstr[2] "%d fotografija preskočeno, format nije podržan:\n"
-#: src/Dialogs.vala:793
+#. we have no notion of "non-video" video files right now in Shotwell, so this
+#. message doesn't need to be media specific
+#: ../src/Dialogs.vala:793
#, c-format
msgid "1 non-image file skipped.\n"
msgid_plural "%d non-image files skipped.\n"
-msgstr[0] ""
-"Preskočena %d datoteka koja nije slika.\n"
-"\n"
-msgstr[1] ""
-"Preskočene %d datoteke koje nisu slike.\n"
-"\n"
-msgstr[2] ""
-"Preskočeno %d datoteka koje nisu slike.\n"
-"\n"
+msgstr[0] "Preskočena %d datoteka koja nije slika.\n"
+msgstr[1] "Preskočene %d datoteke koje nisu slike.\n"
+msgstr[2] "Preskočeno %d datoteka koje nisu slike.\n"
-#: src/Dialogs.vala:804
+#: ../src/Dialogs.vala:804
#, c-format
msgid "1 photo skipped due to user cancel:\n"
msgid_plural "%d photos skipped due to user cancel:\n"
-msgstr[0] ""
-"Preskočena %d fotografije - korisnički prekid.\n"
-"\n"
-msgstr[1] ""
-"Preskočene %d fotografije - korisnički prekid.\n"
-"\n"
-msgstr[2] ""
-"Preskočeno %d fotografija - korisnički prekid.\n"
-"\n"
+msgstr[0] "%d preskočena fotografije uslijed korisnikovog prekida.\n"
+msgstr[1] "%d preskočene fotografije uslijed korisnikovog prekida.\n"
+msgstr[2] "%d preskočenih fotografije uslijed korisnikovog prekida.\n"
-#: src/Dialogs.vala:807
+#: ../src/Dialogs.vala:807
#, c-format
msgid "1 video skipped due to user cancel:\n"
msgid_plural "%d videos skipped due to user cancel:\n"
-msgstr[0] ""
-"Preskočen %d video - korisnički prekid.\n"
-"\n"
-msgstr[1] ""
-"Preskočena %d videa - korisnički prekid.\n"
-"\n"
-msgstr[2] ""
-"Preskočenih %d videa - korisnički prekid.\n"
-"\n"
+msgstr[0] "%d video snimka preskočena uslijed korisnikovog prekida.\n"
+msgstr[1] "%d video snimke preskočena uslijed korisnikovog prekida.\n"
+msgstr[2] "%d video snimaka preskočeno uslijed korisnikovog prekida.\n"
-#: src/Dialogs.vala:810
+#: ../src/Dialogs.vala:810
#, c-format
msgid "1 photo/video skipped due to user cancel:\n"
msgid_plural "%d photos/videos skipped due to user cancel:\n"
msgstr[0] ""
-"%d fotografija/video preskočeni - korisnički prekid:\n"
-"\n"
+"%d fotografija/video snimka preskočena uslijed korisnikovog prekida.\n"
msgstr[1] ""
-"%d fotografije/videa preskočeno - korisnički prekid:\n"
-"\n"
+"%d Fotografije/video snimke preskočena uslijed korisnikovog prekida.\n"
msgstr[2] ""
-"%d fotografije/videa preskočeno - korisnički prekid:\n"
-"\n"
+"%d fotografija/video snimaka preskočeno uslijed korisnikovog prekida.\n"
-#: src/Dialogs.vala:813
+#: ../src/Dialogs.vala:813
#, c-format
msgid "1 file skipped due to user cancel:\n"
msgid_plural "%d file skipped due to user cancel:\n"
-msgstr[0] ""
-msgstr[1] ""
-msgstr[2] ""
+msgstr[0] "%d datoteka preskočena uslijed korisnikova prekida:\n"
+msgstr[1] "%d datoteke preskočene zbog korisnikova prekida:\n"
+msgstr[2] "%d datoteka preskočeno uslijed korisnikova prekida:\n"
-#: src/Dialogs.vala:827
+#: ../src/Dialogs.vala:827
#, c-format
msgid "1 photo successfully imported.\n"
msgid_plural "%d photos successfully imported.\n"
-msgstr[0] ""
-"%d fotografija uspješno uvezena.\n"
-"\n"
-msgstr[1] ""
-"%d fotografije uspješno uvezeno.\n"
-"\n"
-msgstr[2] ""
-"%d fotografija uspješno uvezenih.\n"
-"\n"
+msgstr[0] "%d fotografija uspješno uvezena.\n"
+msgstr[1] "%d fotografije uspješno uvezeno.\n"
+msgstr[2] "%d fotografija uspješno uvezenih.\n"
-#: src/Dialogs.vala:830
+#: ../src/Dialogs.vala:830
#, c-format
msgid "1 video successfully imported.\n"
msgid_plural "%d videos successfully imported.\n"
-msgstr[0] ""
-"%d video uspješno uvezen.\n"
-"\n"
-msgstr[1] ""
-"%d videa uspješno uvezeno.\n"
-"\n"
-msgstr[2] ""
-"%d videa uspješno uvezenih.\n"
-"\n"
+msgstr[0] "%d video snimka uspješno uvezena.\n"
+msgstr[1] "%d video snimke uspješno uvezene.\n"
+msgstr[2] "%d video snimaka uspješno uvezeno\n"
-#: src/Dialogs.vala:833
+#: ../src/Dialogs.vala:833
#, c-format
msgid "1 photo/video successfully imported.\n"
msgid_plural "%d photos/videos successfully imported.\n"
-msgstr[0] ""
-"%d fotografija/video uspješno uvezeno.\n"
-"\n"
-msgstr[1] ""
-"%d fotografije/videa uspješno uvezeno.\n"
-"\n"
-msgstr[2] ""
-"%d fotografija/videa uspješno uvezenih.\n"
-"\n"
+msgstr[0] "%d fotografija/video snimka uspješno uvezena.\n"
+msgstr[1] "%d fotografije/video snimke uspješno uvezene.\n"
+msgstr[2] "%d fotografija/video snimaka uspješno uvezeno.\n"
-#: src/Dialogs.vala:849
+#. if no media items were imported at all (i.e. an empty directory attempted), need to at least
+#. report that nothing was imported
+#: ../src/Dialogs.vala:849
msgid "No photos or videos imported.\n"
msgstr "Niti jedna fotografija nije uvezena.\n"
-#: src/Dialogs.vala:856 src/Dialogs.vala:875
+#: ../src/Dialogs.vala:856 ../src/Dialogs.vala:875
msgid "Import Complete"
msgstr "Uvoz završen"
-#: src/Dialogs.vala:1103
+#: ../src/Dialogs.vala:1103
#, c-format
msgid "%d second"
msgid_plural "%d seconds"
@@ -1132,7 +1712,7 @@ msgstr[0] "%d sekunda"
msgstr[1] "%d sekunde"
msgstr[2] "%d sekundi"
-#: src/Dialogs.vala:1106
+#: ../src/Dialogs.vala:1106
#, c-format
msgid "%d minute"
msgid_plural "%d minutes"
@@ -1140,7 +1720,7 @@ msgstr[0] "%d minuta"
msgstr[1] "%d minute"
msgstr[2] "%d minuta"
-#: src/Dialogs.vala:1110
+#: ../src/Dialogs.vala:1110
#, c-format
msgid "%d hour"
msgid_plural "%d hours"
@@ -1148,140 +1728,164 @@ msgstr[0] "%d sat"
msgstr[1] "%d sata"
msgstr[2] "%d sati"
-#: src/Dialogs.vala:1113
+#: ../src/Dialogs.vala:1113
msgid "1 day"
msgstr "jedan dan"
-#: src/Dialogs.vala:1263 src/Resources.vala:205
+#: ../src/Dialogs.vala:1263 ../src/Resources.vala:205
msgid "Rename Event"
msgstr "Preimenuj događaj"
-#: src/Dialogs.vala:1263
+#: ../src/Dialogs.vala:1263
msgid "Name:"
-msgstr "Ime:"
+msgstr "Naziv:"
-#: src/Dialogs.vala:1273 src/Resources.vala:274
+#: ../src/Dialogs.vala:1273 ../src/Resources.vala:274
msgid "Edit Title"
msgstr "Uredi naslov"
-#: src/Dialogs.vala:1287 src/Resources.vala:280
+#: ../src/Dialogs.vala:1273 ../src/Properties.vala:340
+msgid "Title:"
+msgstr "Naslov:"
+
+#: ../src/Dialogs.vala:1287 ../src/Resources.vala:280
msgid "Edit Event Comment"
-msgstr ""
+msgstr "Uredi komentar događaja"
-#: src/Dialogs.vala:1287
+#: ../src/Dialogs.vala:1287
msgid "Edit Photo/Video Comment"
-msgstr ""
+msgstr "Uredi komentar fotografije/video snimke"
+
+#: ../src/Dialogs.vala:1288 ../src/Properties.vala:630
+msgid "Comment:"
+msgstr "Komentar:"
-#: src/Dialogs.vala:1304
+#: ../src/Dialogs.vala:1304
msgid "_Trash File"
msgid_plural "_Trash Files"
msgstr[0] "Premjesti u _smeće"
msgstr[1] "Premjesti u _smeće"
msgstr[2] "Premjesti u _smeće"
-#: src/Dialogs.vala:1308
+#: ../src/Dialogs.vala:1308
msgid "Only _Remove"
msgstr "Samo _ukloni"
-#: src/Dialogs.vala:1351
+#: ../src/Dialogs.vala:1328 ../src/camera/ImportPage.vala:1739
+msgid "_Keep"
+msgstr "_Zadrži"
+
+#: ../src/Dialogs.vala:1351
msgid "Revert External Edit?"
msgstr "Poništi vanjske promjene?"
-#: src/Dialogs.vala:1351
+#: ../src/Dialogs.vala:1351
msgid "Revert External Edits?"
-msgstr "Poništi vanjske izmjene?"
+msgstr "Poništi vanjske promjene?"
-#: src/Dialogs.vala:1353
+#: ../src/Dialogs.vala:1353
#, c-format
msgid "This will destroy all changes made to the external file. Continue?"
msgid_plural ""
"This will destroy all changes made to %d external files. Continue?"
-msgstr[0] ""
-msgstr[1] ""
-msgstr[2] ""
+msgstr[0] "Sve promjene na %d vanjskoj datoteci će biti izgubljene. Nastavi?"
+msgstr[1] "Sve promjene na %d vanjske datoteke će biti izgubljene. Nastavi?"
+msgstr[2] "Sve promjene na %d vanjskih datoteka će biti izgubljene. Nastavi?"
-#: src/Dialogs.vala:1357
+#: ../src/Dialogs.vala:1357
msgid "Re_vert External Edit"
-msgstr "_Poništi vanjske izmjene?"
+msgstr "_Poništi vanjske promjene?"
-#: src/Dialogs.vala:1357
+#: ../src/Dialogs.vala:1357
msgid "Re_vert External Edits"
-msgstr "_Poništi vanjske izmjene?"
+msgstr "_Poništi vanjske promjene?"
-#: src/Dialogs.vala:1378
+#: ../src/Dialogs.vala:1378
#, c-format
msgid "This will remove the photo from the library. Continue?"
msgid_plural "This will remove %d photos from the library. Continue?"
-msgstr[0] ""
-msgstr[1] ""
-msgstr[2] ""
+msgstr[0] "Ovo će ukloniti %d fotografiju iz fototeke. Nastavi?"
+msgstr[1] "Ovo će ukloniti %d fotografije iz fototeke. Nastavi?"
+msgstr[2] "Ovo će ukloniti %d fotografija iz fototeke. Nastavi?"
-#: src/Dialogs.vala:1385
+#: ../src/Dialogs.vala:1385
msgid "_Remove"
msgstr "_Ukloni"
-#: src/Dialogs.vala:1386
+#: ../src/Dialogs.vala:1386
msgid "Remove Photo From Library"
-msgstr "Brisanje fotografija iz bilblioteke"
+msgstr "Ukloni fotografiju iz fototeke"
-#: src/Dialogs.vala:1386
+#: ../src/Dialogs.vala:1386
msgid "Remove Photos From Library"
-msgstr "Ukloni slike iz biblioteke"
+msgstr "Ukloni fotografije iz fototeke"
-#: src/Dialogs.vala:1479
+#: ../src/Dialogs.vala:1479
#, c-format
msgid "%d%%"
msgstr "%d%%"
-#: src/Dialogs.vala:1626
+#: ../src/Dialogs.vala:1626
msgid "AM"
msgstr "AM"
-#: src/Dialogs.vala:1627
+#: ../src/Dialogs.vala:1627
msgid "PM"
msgstr "PM"
-#: src/Dialogs.vala:1628
+#: ../src/Dialogs.vala:1628
msgid "24 Hr"
msgstr "24 sata"
-#: src/Dialogs.vala:1643
+#: ../src/Dialogs.vala:1643
msgid "_Shift photos/videos by the same amount"
-msgstr ""
+msgstr "_Prebaci fotografije/video snimke za jednaki iznos"
-#: src/Dialogs.vala:1648
+#: ../src/Dialogs.vala:1648
msgid "Set _all photos/videos to this time"
-msgstr ""
+msgstr "Postavi _sve fotografije/video snimke na ovo vrijeme"
-#: src/Dialogs.vala:1655
+#: ../src/Dialogs.vala:1655
msgid "_Modify original photo file"
-msgstr ""
+msgstr "_Promjeni izvornu datoteku fotografije"
-#: src/Dialogs.vala:1655
+#: ../src/Dialogs.vala:1655
msgid "_Modify original photo files"
-msgstr ""
+msgstr "_Promjeni izvornu datoteku fotografija"
-#: src/Dialogs.vala:1658
+#: ../src/Dialogs.vala:1658
msgid "_Modify original file"
-msgstr "_Izmjeni orginalnih datototeka"
+msgstr "_Promijeni izvornu datototeka"
-#: src/Dialogs.vala:1658
+#: ../src/Dialogs.vala:1658
msgid "_Modify original files"
-msgstr "_Izmjeni orginalne datoteke"
+msgstr "_Promijeni izvorne datoteke"
-#: src/Dialogs.vala:1744
+#: ../src/Dialogs.vala:1744
msgid "Original: "
-msgstr "Orginal:"
-
-#: src/Dialogs.vala:1745
+msgstr "Orginal: "
+
+# The string %m/%d/%y, %H:%M:%S is a format string that describes a U.S.-style
+# 24 hour date and time (e.g. 9/22/2009, 13:15:04). You should translate
+# %m/%d/%y, %H:%M:%S so that it describes the 24 hour date and time format
+# used in your language and region. The format string you enter should conform
+# to POSIX date and time formatting conventions. See the strftime manpage for
+# a list of format specifiers and their meanings.
+#: ../src/Dialogs.vala:1745
msgid "%m/%d/%Y, %H:%M:%S"
msgstr "%d.%m.%Y., %H:%M:%S"
-#: src/Dialogs.vala:1746
+# The string %m/%d/%y, %I:%M:%S %p is a format string that describes a
+# U.S.-style 12 hour date and time (e.g. 9/22/2009, 1:15:04 PM). You should
+# translate %m/%d/%y, %H:%M:%S so that it describes the 12 hour date and time
+# format used in your language and region. The format string you enter should
+# conform to POSIX date and time formatting conventions. See the strftime
+# manpage for a list of format specifiers and their meanings.
+#: ../src/Dialogs.vala:1746
msgid "%m/%d/%Y, %I:%M:%S %p"
msgstr "%d.%m.%Y., %I:%M:%S %p"
-#: src/Dialogs.vala:1835
+#: ../src/Dialogs.vala:1835
#, c-format
msgid ""
"Exposure time will be shifted forward by\n"
@@ -1290,7 +1894,7 @@ msgstr ""
"Vrijem ekspozicije će biti pomaknuto unaprijed za\n"
"%d %s, %d %s, %d %s, i %d %s."
-#: src/Dialogs.vala:1836
+#: ../src/Dialogs.vala:1836
#, c-format
msgid ""
"Exposure time will be shifted backward by\n"
@@ -1299,35 +1903,35 @@ msgstr ""
"Vrijem ekspozicije će biti pomaknuto unatrag za\n"
"%d %s, %d %s, %d %s, i %d %s."
-#: src/Dialogs.vala:1838
+#: ../src/Dialogs.vala:1838
msgid "day"
msgid_plural "days"
msgstr[0] "dan"
msgstr[1] "dana"
msgstr[2] "dana"
-#: src/Dialogs.vala:1839
+#: ../src/Dialogs.vala:1839
msgid "hour"
msgid_plural "hours"
msgstr[0] "sat"
msgstr[1] "sata"
msgstr[2] "sati"
-#: src/Dialogs.vala:1840
+#: ../src/Dialogs.vala:1840
msgid "minute"
msgid_plural "minutes"
msgstr[0] "minuta"
msgstr[1] "minute"
msgstr[2] "minuta"
-#: src/Dialogs.vala:1841
+#: ../src/Dialogs.vala:1841
msgid "second"
msgid_plural "seconds"
msgstr[0] "sekunda"
msgstr[1] "sekunde"
msgstr[2] "sekundi"
-#: src/Dialogs.vala:1885
+#: ../src/Dialogs.vala:1885
#, c-format
msgid ""
"\n"
@@ -1340,130 +1944,136 @@ msgid_plural ""
msgstr[0] ""
"\n"
"\n"
-"i %d ostali."
+"I %d ostali."
msgstr[1] ""
"\n"
"\n"
-"i %d ostalih."
+"I %d ostala."
msgstr[2] ""
"\n"
"\n"
-"i %d ostalih."
+"I %d ostalih."
-#: src/Dialogs.vala:1907 src/Dialogs.vala:1934
+#: ../src/Dialogs.vala:1907 ../src/Dialogs.vala:1934
msgid "Tags (separated by commas):"
-msgstr "Oznake ( odvojene zarezom):"
+msgstr "Oznake (odvojene zarezom):"
-#: src/Dialogs.vala:2014
+#: ../src/Dialogs.vala:2014
msgid "Welcome!"
msgstr "Dobrodošli!"
-#: src/Dialogs.vala:2021
-#, c-format
+#: ../src/Dialogs.vala:2021
msgid "Welcome to Shotwell!"
msgstr "Dobrodošli u Shotwell!"
-#: src/Dialogs.vala:2025
-#, c-format
+#: ../src/Dialogs.vala:2025
msgid "To get started, import photos in any of these ways:"
-msgstr "Kako bi započeli,uvezite fotografije na jedan od sljedećih načina:"
+msgstr ""
+"Kako bi započeli rad s fotografijama, uvezite fotografije na jedan od "
+"sljedećih načina:"
-#: src/Dialogs.vala:2044
+#: ../src/Dialogs.vala:2044
#, c-format
msgid "Choose <span weight=\"bold\">File %s Import From Folder</span>"
msgstr ""
-"Izaberi <span weight=\"bold\"> %s datoteka uvezeno iz direktorija</span>"
+"Odaberite <span weight=\"bold\"> Datoteka %s Uvezi iz direktorija</span>"
-#: src/Dialogs.vala:2045
+#: ../src/Dialogs.vala:2045
msgid "Drag and drop photos onto the Shotwell window"
-msgstr "Odvuci fotografije u Shotwell prozor"
+msgstr "Dovucite i ispustite fotografije u Shotwell prozor"
-#: src/Dialogs.vala:2046
+#: ../src/Dialogs.vala:2046
msgid "Connect a camera to your computer and import"
-msgstr "Spoji kameru na računalo i pokreni uvoz."
+msgstr "Spojite kameru s računalom i pokrenite uvoz."
-#: src/Dialogs.vala:2056
+#: ../src/Dialogs.vala:2056
#, c-format
msgid "_Import photos from your %s folder"
msgstr "_Uvoz fotografija iz direktorija %s"
-#: src/Dialogs.vala:2063
+#: ../src/Dialogs.vala:2063
msgid "You can also import photos in any of these ways:"
-msgstr "Kako bi započeli,uvezite fotografije na jedan od sljedećih načina:"
+msgstr "Isto tako možete uvesti fotografije na jedan od sljedećih načina:"
-#: src/Dialogs.vala:2073
+#: ../src/Dialogs.vala:2073
msgid "_Don't show this message again"
msgstr "_Ne prikazuj više ovu poruku"
-#: src/Dialogs.vala:2108
+#: ../src/Dialogs.vala:2108
#, c-format
msgid "Import photos from your %s library"
-msgstr ""
+msgstr "Uvezite fotografije iz vaše %s fototeke"
-#: src/Dialogs.vala:2252 src/Dialogs.vala:2256
+#. We're installed system-wide, so use the system help.
+#. We're being run from the build directory; we'll have to handle clicks to this
+#. link manually ourselves, due to a limitation ghelp: URIs.
+#: ../src/Dialogs.vala:2252 ../src/Dialogs.vala:2256
msgid "(Help)"
msgstr "(Pomoć)"
-#: src/Dialogs.vala:2265
+#: ../src/Dialogs.vala:2265
#, c-format
msgid "Year%sMonth%sDay"
msgstr "Godina%sMjesec%sDan"
-#: src/Dialogs.vala:2267
+#: ../src/Dialogs.vala:2267
#, c-format
msgid "Year%sMonth"
msgstr "Godina%sMjesec"
-#: src/Dialogs.vala:2269
+#: ../src/Dialogs.vala:2269
#, c-format
msgid "Year%sMonth-Day"
msgstr "Godina%sMjesec-Dan"
-#: src/Dialogs.vala:2271
+#: ../src/Dialogs.vala:2271
msgid "Year-Month-Day"
msgstr "Godina-Mjesec-Dan"
-#: src/Dialogs.vala:2272 src/editing_tools/EditingTools.vala:777
+#: ../src/Dialogs.vala:2272 ../src/editing_tools/EditingTools.vala:781
msgid "Custom"
-msgstr "Posebna veličina"
+msgstr "Prilagođena"
-#: src/Dialogs.vala:2509
+#. Invalid pattern.
+#: ../src/Dialogs.vala:2509
msgid "Invalid pattern"
msgstr "Neispravan uzorak"
-#: src/Dialogs.vala:2612
+#. This function is used to determine whether or not files should be copied or linked when imported.
+#. Returns ACCEPT for copy, REJECT for link, and CANCEL for (drum-roll) cancel.
+#: ../src/Dialogs.vala:2612
msgid ""
"Shotwell can copy the photos into your library folder or it can import them "
"without copying."
msgstr ""
-"Shotwell može dodati fotografije u biblioteku kopiranjem u direktorij ili "
-"samo uvozom."
+"Shotwell može dodati fotografije u fototeku kopiranjem u mapu ili samo "
+"uvozom."
-#: src/Dialogs.vala:2617
+#: ../src/Dialogs.vala:2617
msgid "Co_py Photos"
msgstr "_Kopiraj fotografije"
-#: src/Dialogs.vala:2618
+#: ../src/Dialogs.vala:2618
msgid "_Import in Place"
msgstr "_Uvezi"
-#: src/Dialogs.vala:2619
+#: ../src/Dialogs.vala:2619
msgid "Import to Library"
-msgstr "Uvezi u biblioteku"
+msgstr "Uvezi u fototeku"
-#: src/Dialogs.vala:2629 src/PhotoPage.vala:3075
+#: ../src/Dialogs.vala:2629 ../src/PhotoPage.vala:3079
msgid "Remove From Library"
-msgstr "Makni iz biblioteke"
+msgstr "Ukloni iz fototeke"
-#: src/Dialogs.vala:2630 src/PhotoPage.vala:3075
+#: ../src/Dialogs.vala:2630 ../src/PhotoPage.vala:3079
msgid "Removing Photo From Library"
-msgstr "Micanje fotografija iz biblioteke"
+msgstr "Uklanjanje fotografije iz fototeke"
-#: src/Dialogs.vala:2630
+#: ../src/Dialogs.vala:2630
msgid "Removing Photos From Library"
-msgstr "Micanje slika iz biblioteke"
+msgstr "Uklanjanje fotografija iz fototeke"
-#: src/Dialogs.vala:2644
+#: ../src/Dialogs.vala:2644
#, c-format
msgid ""
"This will remove the photo/video from your Shotwell library. Would you also "
@@ -1476,10 +2086,22 @@ msgid_plural ""
"\n"
"This action cannot be undone."
msgstr[0] ""
+"Ovo će ukloniti %d fotografiju/video snimke iz vaše Shotwell fototeke. "
+"Želite li također premjestiti datoteku u smeće?\n"
+"\n"
+"Ova se radnja ne može poništiti."
msgstr[1] ""
+"Ovo će ukloniti %d fotografije/video snimke iz vaše Shotwell fototeke. "
+"Želite li također premjestiti datoteke u smeće?\n"
+"\n"
+"Ova se radnja ne može poništiti."
msgstr[2] ""
+"Ovo će ukloniti %d fotografija/video snimaka iz vaše Shotwell fototeke. "
+"Želite li također premjestiti datoteke u smeće?\n"
+"\n"
+"Ova se radnja ne može poništiti."
-#: src/Dialogs.vala:2648
+#: ../src/Dialogs.vala:2648
#, c-format
msgid ""
"This will remove the video from your Shotwell library. Would you also like "
@@ -1492,10 +2114,22 @@ msgid_plural ""
"\n"
"This action cannot be undone."
msgstr[0] ""
+"Ovo će ukloniti %d video snimku iz vaše Shotwell fototeke. Želite li također "
+"premjestiti datoteku u smeće?\n"
+"\n"
+"Ova se radnja ne može poništiti."
msgstr[1] ""
+"Ovo će ukloniti %d video snimke iz vaše Shotwell fototeke. Želite li također "
+"premjestiti datoteke u smeće?\n"
+"\n"
+"Ova se radnja ne može poništiti."
msgstr[2] ""
+"Ovo će ukloniti %d video snimaka iz vaše Shotwell fototeke. Želite li "
+"također premjestiti datoteke u smeće?\n"
+"\n"
+"Ova se radnja ne može poništiti."
-#: src/Dialogs.vala:2652
+#: ../src/Dialogs.vala:2652
#, c-format
msgid ""
"This will remove the photo from your Shotwell library. Would you also like "
@@ -1508,625 +2142,424 @@ msgid_plural ""
"\n"
"This action cannot be undone."
msgstr[0] ""
+"Uklanjanje %d fotografije iz Shotwell fototeke. Želite li fotografiju "
+"premjestiti u smeće?\n"
+"\n"
+"Ova radnja se ne može vratiti natrag."
msgstr[1] ""
+"Uklanjanje %d fotografije iz Shotwell fototeke. Želite li fotografije "
+"premjestiti u smeće?\n"
+"\n"
+"Ova radnja se ne može vratiti natrag."
msgstr[2] ""
+"Uklanjanje %d fotografija iz Shotwell fototeke. Želite li fotografije "
+"premjestiti u smeće?\n"
+"\n"
+"Ova radnja se ne može vratiti natrag."
-#: src/Dialogs.vala:2684
+#: ../src/Dialogs.vala:2684
#, c-format
msgid ""
"The photo or video cannot be moved to your desktop trash. Delete this file?"
msgid_plural ""
"%d photos/videos cannot be moved to your desktop trash. Delete these files?"
msgstr[0] ""
+"%d fotografija ili video snimka se ne može premjestiti u smeće. Obriši ovu "
+"datoteku?"
msgstr[1] ""
+"%d fotografije/video snimke se ne mogu premjestiti u smeće. Obriši ove "
+"datoteke?"
msgstr[2] ""
+"%d fotografija/video snimaka se ne može premjestiti u smeće. Obriši ove "
+"datoteke?"
-#: src/Dialogs.vala:2701
+#. Alert the user that the files were not removed.
+#: ../src/Dialogs.vala:2701
#, c-format
msgid "The photo or video cannot be deleted."
msgid_plural "%d photos/videos cannot be deleted."
-msgstr[0] ""
-msgstr[1] ""
-msgstr[2] ""
-
-#: src/folders/Branch.vala:141
-msgid "Folders"
-msgstr ""
-
-#: src/tags/Branch.vala:127
-msgid "Tags"
-msgstr "Oznake"
-
-#: src/BatchImport.vala:26
-msgid "Success"
-msgstr "Uspješno"
+msgstr[0] "%d fotografija ili video snimka se ne može obrisati."
+msgstr[1] "%d fotografije ili video snimke se ne mogu obrisati."
+msgstr[2] "%d fotografija ili video snimaka se ne može obrisati."
-#: src/BatchImport.vala:29
-msgid "File error"
-msgstr "Greška datoteke"
-
-#: src/BatchImport.vala:32
-msgid "Unable to decode file"
-msgstr "Ne mogu prepoznati datoteku"
-
-#: src/BatchImport.vala:35
-msgid "Database error"
-msgstr "Greška na bazi podataka"
-
-#: src/BatchImport.vala:38
-msgid "User aborted import"
-msgstr "Prekinut uvoz od strane korisnika"
-
-#: src/BatchImport.vala:41
-msgid "Not a file"
-msgstr "Nije datoteka"
-
-#: src/BatchImport.vala:44
-msgid "File already exists in database"
-msgstr "Datoteka već postoji u bazi podataka"
-
-#: src/BatchImport.vala:47
-msgid "Unsupported file format"
-msgstr "nepodržana vrsta datoteke"
-
-#: src/BatchImport.vala:50
-msgid "Not an image file"
-msgstr "Nije fotografija"
-
-#: src/BatchImport.vala:53
-msgid "Disk failure"
-msgstr "Greška na disku"
-
-#: src/BatchImport.vala:56
-msgid "Disk full"
-msgstr "Disk pun"
-
-#: src/BatchImport.vala:59
-msgid "Camera error"
-msgstr "Greška na kameri"
+#: ../src/Dimensions.vala:20
+msgid "Width or height"
+msgstr "Širina ili visina"
-#: src/BatchImport.vala:62
-msgid "File write error"
-msgstr "Greška kod zapisivanja"
+#: ../src/Dimensions.vala:23
+msgid "Width"
+msgstr "Širina"
-#: src/BatchImport.vala:65
-msgid "Corrupt image file"
-msgstr ""
+#: ../src/Dimensions.vala:26
+msgid "Height"
+msgstr "Visina"
-#: src/BatchImport.vala:68
+#. verify this is a directory
+#: ../src/DirectoryMonitor.vala:889
#, c-format
-msgid "Imported failed (%d)"
-msgstr "%d neuspijelih uvoza."
+msgid "Unable to monitor %s: Not a directory (%s)"
+msgstr "Ne mogo pratiti %s: Nije direktorij (%s)"
-#: src/Photo.vala:3656
-msgid "modified"
-msgstr "promjenjeno"
+#. if no name, pretty up the start time
+#: ../src/Event.vala:753
+#, c-format
+msgid "Event %s"
+msgstr "Događaj %s"
-#: src/PhotoPage.vala:532
-msgid "Previous photo"
-msgstr "Prethodna fotografija"
+#: ../src/Exporter.vala:232
+#, c-format
+msgid "Unable to generate a temporary file for %s: %s"
+msgstr "Ne mogu napraviti privremenu datoteku za %s: %s"
-#: src/PhotoPage.vala:537
-msgid "Next photo"
-msgstr "Sljedeća fotografija"
+#: ../src/Exporter.vala:299
+msgid "Exporting"
+msgstr "Izvoz"
-#: src/PhotoPage.vala:1844
+#: ../src/Exporter.vala:317
#, c-format
-msgid "Photo source file missing: %s"
-msgstr "Nedostaje izvorišna datoteka: %s"
+msgid "File %s already exists. Replace?"
+msgstr "Datoteka %s već postoji. Zamjeniti?"
-#: src/PhotoPage.vala:2404 src/library/LibraryWindow.vala:360
-#: src/direct/DirectPhotoPage.vala:165
-msgid "_View"
-msgstr "_Prikaz"
+#: ../src/Exporter.vala:319
+msgid "_Skip"
+msgstr "_Preskoći"
-#: src/PhotoPage.vala:2408 src/direct/DirectPhotoPage.vala:81
-msgid "T_ools"
-msgstr ""
+#: ../src/Exporter.vala:319
+msgid "_Replace"
+msgstr "_Zamjeni"
-#: src/PhotoPage.vala:2413 src/direct/DirectPhotoPage.vala:86
-msgid "_Previous Photo"
-msgstr "_Prethodna fotografija"
+#: ../src/Exporter.vala:319
+msgid "Replace _All"
+msgstr "Zamjeni _sve"
-#: src/PhotoPage.vala:2414 src/direct/DirectPhotoPage.vala:87
-msgid "Previous Photo"
-msgstr "Prethodna fotografija"
+#: ../src/Exporter.vala:319
+msgid "Export"
+msgstr "Izvoz"
-#: src/PhotoPage.vala:2419 src/direct/DirectPhotoPage.vala:92
-msgid "_Next Photo"
-msgstr "_Sljedeća fotografija"
+#: ../src/MediaMonitor.vala:400
+#, c-format
+msgid "Unable to process monitoring updates: %s"
+msgstr "Nemoguće obraditi dopune nadzora: %s"
-#: src/PhotoPage.vala:2420 src/direct/DirectPhotoPage.vala:93
-msgid "Next Photo"
-msgstr "Sljedeća fotografija"
+#: ../src/MediaPage.vala:143
+msgid "Adjust the size of the thumbnails"
+msgstr "Podesi veličinu sličica"
-#: src/PhotoPage.vala:2583 src/direct/DirectPhotoPage.vala:174
-#: src/MediaPage.vala:325
+#: ../src/MediaPage.vala:325 ../src/PhotoPage.vala:2583
+#: ../src/direct/DirectPhotoPage.vala:174
msgid "Zoom _In"
-msgstr "Povečaj"
+msgstr "_Povećaj"
-#: src/PhotoPage.vala:2584 src/direct/DirectPhotoPage.vala:175
-msgid "Increase the magnification of the photo"
-msgstr "Povećanje faktora veličine fotografije"
+#: ../src/MediaPage.vala:326
+msgid "Increase the magnification of the thumbnails"
+msgstr "Povećaj veličinu sličica"
-#: src/PhotoPage.vala:2589 src/direct/DirectPhotoPage.vala:180
-#: src/MediaPage.vala:331
+#: ../src/MediaPage.vala:331 ../src/PhotoPage.vala:2589
+#: ../src/direct/DirectPhotoPage.vala:180
msgid "Zoom _Out"
msgstr "Smanji"
-#: src/PhotoPage.vala:2590 src/direct/DirectPhotoPage.vala:181
-msgid "Decrease the magnification of the photo"
-msgstr "Smanji faktor povećanja fotografije"
-
-#: src/PhotoPage.vala:2595 src/direct/DirectPhotoPage.vala:186
-msgid "Fit to _Page"
-msgstr "Prilagodi _stranici"
-
-#: src/PhotoPage.vala:2596 src/direct/DirectPhotoPage.vala:187
-msgid "Zoom the photo to fit on the screen"
-msgstr "Zumiraj fotograiju da popuni ekran"
-
-#: src/PhotoPage.vala:2601 src/direct/DirectPhotoPage.vala:192
-msgid "Zoom _100%"
-msgstr "Povečaj _100%"
+#: ../src/MediaPage.vala:332
+msgid "Decrease the magnification of the thumbnails"
+msgstr "Smanji veličinu sličica"
-#: src/PhotoPage.vala:2602 src/direct/DirectPhotoPage.vala:193
-msgid "Zoom the photo to 100% magnification"
-msgstr "Povećavanje fotografije na 100%"
+#: ../src/MediaPage.vala:399
+msgid "Sort _Photos"
+msgstr "Razvrstaj _fotografije"
-#: src/PhotoPage.vala:2607 src/direct/DirectPhotoPage.vala:198
-msgid "Zoom _200%"
-msgstr "Povečaj _200%"
+#: ../src/MediaPage.vala:408
+msgid "_Play Video"
+msgstr "_Reproduciraj video snimku"
-#: src/PhotoPage.vala:2608 src/direct/DirectPhotoPage.vala:199
-msgid "Zoom the photo to 200% magnification"
-msgstr "Povećavanje fotografije na 200%"
+#: ../src/MediaPage.vala:409
+msgid "Open the selected videos in the system video player"
+msgstr "Otvori odabrane video snimke u video reproduktoru sustava"
-#: src/PhotoPage.vala:2628 src/MediaPage.vala:413
+#: ../src/MediaPage.vala:413 ../src/PhotoPage.vala:2632
msgid "_Developer"
-msgstr ""
-
-#: src/PhotoPage.vala:3216
-#, c-format
-msgid "Unable to export %s: %s"
-msgstr "Ne mogu izvesti %s: %s"
-
-#: src/data_imports/DataImportsPluginHost.vala:65
-#: src/data_imports/DataImportsPluginHost.vala:78
-#, c-format
-msgid "%s Database"
-msgstr "Baza podataka %s"
-
-#: src/data_imports/DataImportsPluginHost.vala:148
-#: src/data_imports/DataImportsPluginHost.vala:294
-#, c-format
-msgid "Importing from %s can't continue because an error occurred:"
-msgstr ""
-
-#: src/data_imports/DataImportsPluginHost.vala:151
-msgid "To try importing from another service, select one from the above menu."
-msgstr ""
-
-#: src/data_imports/DataImports.vala:22
-msgid "Data Imports"
-msgstr ""
-
-#: src/data_imports/DataImportsUI.vala:10
-msgid ""
-"You do not have any data imports plugins enabled.\n"
-"\n"
-"In order to use the Import From Application functionality, you need to have "
-"at least one data imports plugin enabled. Plugins can be enabled in the "
-"Preferences dialog."
-msgstr ""
-
-#: src/data_imports/DataImportsUI.vala:100
-msgid "Database file:"
-msgstr ""
-
-#: src/data_imports/DataImportsUI.vala:112 src/library/LibraryWindow.vala:899
-msgid "_Import"
-msgstr "_Uvezi"
-
-#: src/data_imports/DataImportsUI.vala:216
-msgid "Import From Application"
-msgstr ""
-
-#: src/data_imports/DataImportsUI.vala:217
-msgid "Import media _from:"
-msgstr ""
-
-#: src/data_imports/DataImportsUI.vala:394
-#: src/publishing/PublishingUI.vala:493
-msgid "_Close"
-msgstr "_Zatvori"
-
-#: src/SlideshowPage.vala:49 src/SlideshowPage.vala:182
-msgid "Settings"
-msgstr "Postavke"
-
-#: src/SlideshowPage.vala:141 src/Screensaver.vala:18
-msgid "Slideshow"
-msgstr "Slideshow"
-
-#: src/SlideshowPage.vala:161
-msgid "Back"
-msgstr "Natrag"
+msgstr "_Razvijatelj"
-#: src/SlideshowPage.vala:162
-msgid "Go to the previous photo"
-msgstr "Na prethodnu fotografiju"
-
-#: src/SlideshowPage.vala:168 src/SlideshowPage.vala:273
-msgid "Pause"
-msgstr "Pauza"
-
-#: src/SlideshowPage.vala:169 src/SlideshowPage.vala:274
-msgid "Pause the slideshow"
-msgstr "Pauziraj prikaz"
-
-#: src/SlideshowPage.vala:175
-msgid "Next"
-msgstr "Naprijed"
-
-#: src/SlideshowPage.vala:176
-msgid "Go to the next photo"
-msgstr "Na sljedeću fotografiju"
-
-#: src/SlideshowPage.vala:183
-msgid "Change slideshow settings"
-msgstr "Promjeni postavke prezentacije"
+#: ../src/MediaPage.vala:420 ../src/photos/RawSupport.vala:297
+msgid "Shotwell"
+msgstr "Shotwell"
-#: src/SlideshowPage.vala:237
-msgid "All photo source files are missing."
-msgstr "Nedostaju sve fotografije."
+#: ../src/MediaPage.vala:425 ../src/camera/Branch.vala:101
+#: ../src/camera/ImportPage.vala:711 ../src/camera/ImportPage.vala:727
+#: ../src/photos/RawSupport.vala:300
+msgid "Camera"
+msgstr "Kamera"
-#: src/SlideshowPage.vala:269
-msgid "Play"
-msgstr "Pokreni"
+#: ../src/MediaPage.vala:436 ../src/camera/ImportPage.vala:872
+msgid "_Titles"
+msgstr "Nas_lovi"
-#: src/SlideshowPage.vala:270
-msgid "Continue the slideshow"
-msgstr "Nastavi prezentaciju"
+#: ../src/MediaPage.vala:437 ../src/camera/ImportPage.vala:873
+msgid "Display the title of each photo"
+msgstr "Prikaži naslov svake fotografije"
-#: src/Commands.vala:733
-msgid "Reverting"
-msgstr "Vraćam izmjene"
+#: ../src/MediaPage.vala:442 ../src/events/EventsDirectoryPage.vala:130
+msgid "_Comments"
+msgstr "_Komentari"
-#: src/Commands.vala:733
-msgid "Undoing Revert"
-msgstr "Prekidam vraćanje izmjena"
+#: ../src/MediaPage.vala:443
+msgid "Display the comment of each photo"
+msgstr "Prikaži komentar svake fotografije"
-#: src/Commands.vala:777
-msgid "Enhancing"
-msgstr "Poboljšanje"
+#: ../src/MediaPage.vala:454 ../src/library/LibraryWindow.vala:376
+msgid "Ta_gs"
+msgstr "O_znake"
-#: src/Commands.vala:777
-msgid "Undoing Enhance"
-msgstr "Prekidam poboljšavanje"
+#: ../src/MediaPage.vala:455
+msgid "Display each photo's tags"
+msgstr "Prikaži oznake svake fotografije"
-#: src/Commands.vala:845
-msgid "Applying Color Transformations"
-msgstr ""
+#: ../src/MediaPage.vala:471
+msgid "By _Title"
+msgstr "Po _Naslovu"
-#: src/Commands.vala:845
-msgid "Undoing Color Transformations"
-msgstr ""
+#: ../src/MediaPage.vala:472
+msgid "Sort photos by title"
+msgstr "Razvrstaj fotografije po naslovu"
-#: src/Commands.vala:995
-msgid "Creating New Event"
-msgstr "Izrada novog događaja"
+#: ../src/MediaPage.vala:477
+msgid "By Exposure _Date"
+msgstr "Po datumu _ekspozicije"
-#: src/Commands.vala:996
-msgid "Removing Event"
-msgstr "Micanje događaja"
+#: ../src/MediaPage.vala:478
+msgid "Sort photos by exposure date"
+msgstr "Razvrstaj fotografije po datumu prikaza"
-#: src/Commands.vala:1005
-msgid "Moving Photos to New Event"
-msgstr "Premještanje fotografija u novi događaj"
+#: ../src/MediaPage.vala:483
+msgid "By _Rating"
+msgstr "Po _ocjeni"
-#: src/Commands.vala:1006
-msgid "Setting Photos to Previous Event"
-msgstr "Postavljanje fotografija u prethodni događaj"
+#: ../src/MediaPage.vala:484
+msgid "Sort photos by rating"
+msgstr "Razvrstaj fotografije po ocjeni"
-#: src/Commands.vala:1063
-msgid "Merging"
-msgstr "Spajanje"
+#: ../src/MediaPage.vala:494 ../src/library/LibraryWindow.vala:422
+msgid "_Ascending"
+msgstr "_Rastući"
-#: src/Commands.vala:1064
-msgid "Unmerging"
-msgstr "Razdvajanje"
+#: ../src/MediaPage.vala:495 ../src/library/LibraryWindow.vala:423
+msgid "Sort photos in an ascending order"
+msgstr "Razvrstaj fotografije u rastući niz"
-#: src/Commands.vala:1073
-msgid "Duplicating photos"
-msgstr "Dupliciranje fotografija"
+#: ../src/MediaPage.vala:500 ../src/library/LibraryWindow.vala:429
+msgid "D_escending"
+msgstr "_Padajuci"
-#: src/Commands.vala:1073
-msgid "Removing duplicated photos"
-msgstr "Micanje duplikata fotografija"
+#: ../src/MediaPage.vala:501 ../src/library/LibraryWindow.vala:430
+msgid "Sort photos in a descending order"
+msgstr "Razvrstaj fotografije u padajući niz"
-#: src/Commands.vala:1096
+#: ../src/MediaPage.vala:702
#, c-format
-msgid "Unable to duplicate one photo due to a file error"
-msgid_plural "Unable to duplicate %d photos due to file errors"
-msgstr[0] "Ne mogu napraviti kopiju %d fotografije zbog greške na datoteci"
-msgstr[1] "Ne mogu napraviti kopiju %d fotografije zbog greške na datotekama"
-msgstr[2] "Ne mogu napraviti kopiju %d fotografija zbog greške na datotekama"
-
-#: src/Commands.vala:1183
-msgid "Restoring previous rating"
-msgstr "Vraćam na prethodne vrijednosti"
-
-#: src/Commands.vala:1193 src/Commands.vala:1194
-msgid "Increasing ratings"
-msgstr "Povećavanje ocijena"
-
-#: src/Commands.vala:1193 src/Commands.vala:1194
-msgid "Decreasing ratings"
-msgstr "Smanjujem ocijenu"
-
-#: src/Commands.vala:1244
-msgid "Setting RAW developer"
-msgstr ""
-
-#: src/Commands.vala:1244
-msgid "Restoring previous RAW developer"
-msgstr ""
-
-#: src/Commands.vala:1245
-msgid "Set Developer"
+msgid ""
+"Shotwell was unable to play the selected video:\n"
+"%s"
msgstr ""
+"Shotwell nije uspio prikazati video snimku:\n"
+" %s"
-#: src/Commands.vala:1335
-msgid "Original photo could not be adjusted."
-msgstr "Orginalna fotografija se ne može podesiti"
-
-#: src/Commands.vala:1356
-msgid "Adjusting Date and Time"
-msgstr "Podešavanje vremena i datuma"
+#: ../src/Page.vala:1268
+msgid "No photos/videos"
+msgstr "Nema fotografija/video snimaka"
-#: src/Commands.vala:1356
-msgid "Undoing Date and Time Adjustment"
-msgstr "Prekid podešavanja datuma i vremena"
+#: ../src/Page.vala:1272
+msgid "No photos/videos found"
+msgstr "Nisu pronađene fotografije/video snimke"
-#: src/Commands.vala:1387
-msgid "One original photo could not be adjusted."
-msgid_plural "The following original photos could not be adjusted."
-msgstr[0] "Orginalna fotografija se ne može podesiti"
-msgstr[1] "Orginalne fotografije se ne može podesiti"
-msgstr[2] "Orginalne fotografije se ne može podesiti"
+#: ../src/Page.vala:2569
+msgid "Photos cannot be exported to this directory."
+msgstr "Fotografije ne mogu biti izvezene u zadani direktorij."
-#: src/Commands.vala:1389 src/Commands.vala:1413
-msgid "Time Adjustment Error"
-msgstr "Greška kod podešavanja vremena"
+#: ../src/Photo.vala:3656
+msgid "modified"
+msgstr "promjenjeno"
-#: src/Commands.vala:1411
-msgid "Time adjustments could not be undone on the following photo file."
-msgid_plural ""
-"Time adjustments could not be undone on the following photo files."
-msgstr[0] "Na fotografiji se ne može podesiti vrijeme."
-msgstr[1] "Na fotografijama se ne može podesiti vrijeme"
-msgstr[2] "Na fotografijama se ne može podesiti vrijeme."
+#. previous button
+#: ../src/PhotoPage.vala:532
+msgid "Previous photo"
+msgstr "Prijašnja fotografija"
-#: src/Commands.vala:1625 src/Commands.vala:1648
-msgid "Create Tag"
-msgstr ""
+#. next button
+#: ../src/PhotoPage.vala:537
+msgid "Next photo"
+msgstr "Sljedeća fotografija"
-#: src/Commands.vala:1683
+#: ../src/PhotoPage.vala:1844
#, c-format
-msgid "Move Tag \"%s\""
-msgstr ""
-
-#: src/Commands.vala:2335
-msgid "Move Photos to Trash"
-msgstr "Premjesti fotografije u Smeće"
-
-#: src/Commands.vala:2335
-msgid "Restore Photos from Trash"
-msgstr "Vrati fotografije iz Smeća"
-
-#: src/Commands.vala:2336
-msgid "Move the photos to the Shotwell trash"
-msgstr "Premjesti fotografije u Shotwell Smeće"
-
-#: src/Commands.vala:2336
-msgid "Restore the photos back to the Shotwell library"
-msgstr "Vrati fotografije natrag u Shotwell biblioteku"
-
-#: src/Commands.vala:2355
-msgid "Moving Photos to Trash"
-msgstr "Premještanje fotografija u Smeće"
-
-#: src/Commands.vala:2355
-msgid "Restoring Photos From Trash"
-msgstr "Vraćanje fotografija iz Smeća"
-
-#: src/Commands.vala:2441
-msgid "Flag selected photos"
-msgstr "Oznaći izabrane fotografije"
-
-#: src/Commands.vala:2442
-msgid "Unflag selected photos"
-msgstr "Odznaći izabrane fotografije"
-
-#: src/Commands.vala:2443
-msgid "Flagging selected photos"
-msgstr ""
-
-#: src/Commands.vala:2444
-msgid "Unflagging selected photos"
-msgstr ""
-
-#: src/Commands.vala:2451
-msgid "Flag"
-msgstr "Oznaći"
+msgid "Photo source file missing: %s"
+msgstr "Nedostaje izvorišna datoteka: %s"
-#: src/Commands.vala:2451
-msgid "Unflag"
-msgstr "Odznaći"
+#: ../src/PhotoPage.vala:2404 ../src/direct/DirectPhotoPage.vala:165
+#: ../src/library/LibraryWindow.vala:360
+msgid "_View"
+msgstr "_Prikaz"
-#: src/photos/RawSupport.vala:134
-msgid "RAW"
-msgstr "RAW"
+#: ../src/PhotoPage.vala:2408 ../src/direct/DirectPhotoPage.vala:81
+msgid "T_ools"
+msgstr "A_lati"
-#: src/photos/RawSupport.vala:297 src/MediaPage.vala:420
-msgid "Shotwell"
-msgstr "Shotwell"
+#: ../src/PhotoPage.vala:2413 ../src/direct/DirectPhotoPage.vala:86
+msgid "_Previous Photo"
+msgstr "_Prijašnja fotografija"
-#: src/photos/BmpSupport.vala:32
-msgid "BMP"
-msgstr "BMP"
+#: ../src/PhotoPage.vala:2414 ../src/direct/DirectPhotoPage.vala:87
+msgid "Previous Photo"
+msgstr "Prijašnja fotografija"
-#: src/photos/JfifSupport.vala:84
-msgid "JPEG"
-msgstr "JPEG"
+#: ../src/PhotoPage.vala:2419 ../src/direct/DirectPhotoPage.vala:92
+msgid "_Next Photo"
+msgstr "_Sljedeća fotografija"
-#: src/photos/JfifSupport.vala:182
-#, c-format
-msgid "Low (%d%%)"
-msgstr "Nisko (%d%%)"
+#: ../src/PhotoPage.vala:2420 ../src/direct/DirectPhotoPage.vala:93
+msgid "Next Photo"
+msgstr "Sljedeća fotografija"
-#: src/photos/JfifSupport.vala:185
-#, c-format
-msgid "Medium (%d%%)"
-msgstr "Srednje (%d%%)"
+#: ../src/PhotoPage.vala:2584 ../src/direct/DirectPhotoPage.vala:175
+msgid "Increase the magnification of the photo"
+msgstr "Povećanje faktora veličine fotografije"
-#: src/photos/JfifSupport.vala:188
-#, c-format
-msgid "High (%d%%)"
-msgstr "Visoko (%d%%)"
+#: ../src/PhotoPage.vala:2590 ../src/direct/DirectPhotoPage.vala:181
+msgid "Decrease the magnification of the photo"
+msgstr "Smanji faktor povećanja fotografije"
-#: src/photos/JfifSupport.vala:191
-#, c-format
-msgid "Maximum (%d%%)"
-msgstr "Maksimalno (%d%%)"
+#: ../src/PhotoPage.vala:2595 ../src/direct/DirectPhotoPage.vala:186
+msgid "Fit to _Page"
+msgstr "Prilagodi _stranici"
-#: src/photos/PngSupport.vala:30
-msgid "PNG"
-msgstr "PNG"
+#: ../src/PhotoPage.vala:2596 ../src/direct/DirectPhotoPage.vala:187
+msgid "Zoom the photo to fit on the screen"
+msgstr "Zumiraj fotograiju da popuni ekran"
-#: src/photos/TiffSupport.vala:86
-msgid "TIFF"
-msgstr "TIFF"
+#: ../src/PhotoPage.vala:2602 ../src/direct/DirectPhotoPage.vala:193
+#, no-c-format
+msgid "Zoom _100%"
+msgstr "Povećaj _100%"
-#: src/Page.vala:1268
-msgid "No photos/videos"
-msgstr "Nema fotografija/videa"
+#: ../src/PhotoPage.vala:2604 ../src/direct/DirectPhotoPage.vala:195
+#, no-c-format
+msgid "Zoom the photo to 100% magnification"
+msgstr "Povećavanje fotografije na 100%"
-#: src/Page.vala:1272
-msgid "No photos/videos found"
-msgstr "Nisu pronađeni fotografije/videi."
+#: ../src/PhotoPage.vala:2610 ../src/direct/DirectPhotoPage.vala:201
+#, no-c-format
+msgid "Zoom _200%"
+msgstr "Povećaj _200%"
-#: src/Page.vala:2569
-msgid "Photos cannot be exported to this directory."
-msgstr "Fotografije ne mogu biti izvezene u zadani direktorij."
+#: ../src/PhotoPage.vala:2612 ../src/direct/DirectPhotoPage.vala:203
+#, no-c-format
+msgid "Zoom the photo to 200% magnification"
+msgstr "Povećavanje fotografije na 200%"
-#: src/MediaMonitor.vala:400
+#: ../src/PhotoPage.vala:3220
#, c-format
-msgid "Unable to process monitoring updates: %s"
-msgstr ""
+msgid "Unable to export %s: %s"
+msgstr "Ne mogu izvesti %s: %s"
-#: src/Printing.vala:255
+#: ../src/Printing.vala:255
msgid "Fill the entire page"
msgstr "Ispuni cijelu stranicu"
-#: src/Printing.vala:256
+#: ../src/Printing.vala:256
msgid "2 images per page"
msgstr "2 slike po stranici"
-#: src/Printing.vala:257
+#: ../src/Printing.vala:257
msgid "4 images per page"
msgstr "4 slike po stranici"
-#: src/Printing.vala:258
+#: ../src/Printing.vala:258
msgid "6 images per page"
msgstr "6 slika po stranici"
-#: src/Printing.vala:259
+#: ../src/Printing.vala:259
msgid "8 images per page"
msgstr "8 slika po stranici"
-#: src/Printing.vala:260
+#: ../src/Printing.vala:260
msgid "16 images per page"
msgstr "16 slika po stranici"
-#: src/Printing.vala:261
+#: ../src/Printing.vala:261
msgid "32 images per page"
msgstr "32 slike po stranici"
-#: src/Printing.vala:348
+#: ../src/Printing.vala:348
msgid "in."
msgstr "in."
-#: src/Printing.vala:349
+#: ../src/Printing.vala:349
msgid "cm"
msgstr "cm"
-#: src/Printing.vala:817 src/editing_tools/EditingTools.vala:757
+#: ../src/Printing.vala:817 ../src/editing_tools/EditingTools.vala:761
msgid "Wallet (2 x 3 in.)"
msgstr "Novčanik (2 x 3 in.)"
-#: src/Printing.vala:820 src/editing_tools/EditingTools.vala:758
+#: ../src/Printing.vala:820 ../src/editing_tools/EditingTools.vala:762
msgid "Notecard (3 x 5 in.)"
msgstr "Zabilješka (3 x 5 in.)"
-#: src/Printing.vala:823 src/editing_tools/EditingTools.vala:759
+#: ../src/Printing.vala:823 ../src/editing_tools/EditingTools.vala:763
msgid "4 x 6 in."
msgstr "4 x 6 in."
-#: src/Printing.vala:826 src/editing_tools/EditingTools.vala:760
+#: ../src/Printing.vala:826 ../src/editing_tools/EditingTools.vala:764
msgid "5 x 7 in."
msgstr "5 x 7 in."
-#: src/Printing.vala:829 src/editing_tools/EditingTools.vala:761
+#: ../src/Printing.vala:829 ../src/editing_tools/EditingTools.vala:765
msgid "8 x 10 in."
msgstr "8 x 10 in."
-#: src/Printing.vala:832 src/editing_tools/EditingTools.vala:763
+#: ../src/Printing.vala:832 ../src/editing_tools/EditingTools.vala:767
msgid "11 x 14 in."
msgstr "11 x 14 in."
-#: src/Printing.vala:835 src/editing_tools/EditingTools.vala:765
+#: ../src/Printing.vala:835 ../src/editing_tools/EditingTools.vala:769
msgid "16 x 20 in."
msgstr "16 x 20 in."
-#: src/Printing.vala:841 src/editing_tools/EditingTools.vala:767
+#: ../src/Printing.vala:841 ../src/editing_tools/EditingTools.vala:771
msgid "Metric Wallet (9 x 13 cm)"
msgstr "Metrički novčanik (9 x 13 cm)"
-#: src/Printing.vala:844 src/editing_tools/EditingTools.vala:768
+#: ../src/Printing.vala:844 ../src/editing_tools/EditingTools.vala:772
msgid "Postcard (10 x 15 cm)"
msgstr "Razglednica (10 x 15 cm)"
-#: src/Printing.vala:847 src/editing_tools/EditingTools.vala:769
+#: ../src/Printing.vala:847 ../src/editing_tools/EditingTools.vala:773
msgid "13 x 18 cm"
msgstr "13 x 18 cm"
-#: src/Printing.vala:850 src/editing_tools/EditingTools.vala:770
+#: ../src/Printing.vala:850 ../src/editing_tools/EditingTools.vala:774
msgid "18 x 24 cm"
msgstr "18 x 24 cm"
-#: src/Printing.vala:853 src/editing_tools/EditingTools.vala:772
+#: ../src/Printing.vala:853 ../src/editing_tools/EditingTools.vala:776
msgid "20 x 30 cm"
msgstr "20 x 30 cm"
-#: src/Printing.vala:856 src/editing_tools/EditingTools.vala:773
+#: ../src/Printing.vala:856 ../src/editing_tools/EditingTools.vala:777
msgid "24 x 40 cm"
msgstr "24 x 40 cm"
-#: src/Printing.vala:859 src/editing_tools/EditingTools.vala:774
+#: ../src/Printing.vala:859 ../src/editing_tools/EditingTools.vala:778
msgid "30 x 40 cm"
msgstr "30 x 40 cm"
-#: src/Printing.vala:875
+#: ../src/Printing.vala:875
msgid "Image Settings"
msgstr "Postavke slike"
-#: src/Printing.vala:888
+#: ../src/Printing.vala:888
msgid "Printing..."
msgstr "Ispisivanje..."
-#: src/Printing.vala:908 src/Printing.vala:1111
+#: ../src/Printing.vala:908 ../src/Printing.vala:1111
#, c-format
msgid ""
"Unable to print photo:\n"
@@ -2137,1519 +2570,1825 @@ msgstr ""
"\n"
"%s"
-#: src/db/DatabaseTable.vala:37
-#, c-format
-msgid "Unable to open/create photo database %s: error code %d"
-msgstr "Ne mogu napraviti/otvoriti bazu fotografija %s: greška broj %d"
+#: ../src/Properties.vala:84
+msgid "Today"
+msgstr "Danas"
-#: src/db/DatabaseTable.vala:46
-#, c-format
-msgid ""
-"Unable to write to photo database file:\n"
-" %s"
-msgstr ""
+#: ../src/Properties.vala:86
+msgid "Yesterday"
+msgstr "Jučer"
-#: src/db/DatabaseTable.vala:48
-#, c-format
-msgid ""
-"Error accessing database file:\n"
-" %s\n"
-"\n"
-"Error was: \n"
-"%s"
-msgstr ""
+#: ../src/Properties.vala:227 ../src/camera/ImportPage.vala:312
+msgid "RAW+JPEG"
+msgstr "RAW+JPEG"
-#: src/VideoSupport.vala:464
-msgid "Export Videos"
-msgstr "Izvoz videa"
+#: ../src/Properties.vala:343
+msgid "Items:"
+msgstr "Stavki:"
-#: src/DesktopIntegration.vala:118
+#: ../src/Properties.vala:346
#, c-format
-msgid "Unable to launch Nautilus Send-To: %s"
-msgstr "Ne mogu pokrenuti Nautilus Pošalji: %s"
-
-#: src/DesktopIntegration.vala:126
-msgid "Send To"
-msgstr "Pošalji"
+msgid "%d Event"
+msgid_plural "%d Events"
+msgstr[0] "%d događaj"
+msgstr[1] "%d događaja"
+msgstr[2] "%d događaja"
-#: src/DesktopIntegration.vala:171
+#: ../src/Properties.vala:353 ../src/events/EventDirectoryItem.vala:87
#, c-format
-msgid "Unable to export background to %s: %s"
-msgstr "Ne mogu izvesti pozadinu u %s: %s"
+msgid "%d Photo"
+msgid_plural "%d Photos"
+msgstr[0] "%d fotografija"
+msgstr[1] "%d fotografije"
+msgstr[2] "%d fotografija"
-#: src/DesktopIntegration.vala:299
+#: ../src/Properties.vala:355 ../src/events/EventDirectoryItem.vala:85
#, c-format
-msgid "Unable to prepare desktop slideshow: %s"
-msgstr "Ne mogu pripremiti prezentaciju na radnoj površini: %s"
-
-#: src/library/FlaggedPage.vala:8 src/SearchFilter.vala:587
-#: src/SearchFilter.vala:588 src/SearchFilter.vala:990
-msgid "Flagged"
-msgstr "Označeno"
-
-#: src/library/TrashPage.vala:8
-msgid "Trash"
-msgstr "Smeće"
-
-#: src/library/TrashPage.vala:108
-msgid "Trash is empty"
-msgstr "Smeće je prazno"
-
-#: src/library/TrashPage.vala:112
-msgid "Delete"
-msgstr "Obriši"
-
-#: src/library/TrashPage.vala:113
-msgid "Deleting Photos"
-msgstr "Brisanje fotografija"
-
-#: src/library/OfflinePage.vala:8
-msgid "Missing Files"
-msgstr "Datoteke koje nedostaju"
-
-#: src/library/OfflinePage.vala:106
-msgid "Deleting..."
-msgstr "Brisanje..."
-
-#: src/library/LastImportPage.vala:8
-msgid "Last Import"
-msgstr "Zadnji uvoz"
-
-#: src/library/LibraryWindow.vala:301
-msgid "_Import From Folder..."
-msgstr "Uvezi iz direktorija..."
-
-#: src/library/LibraryWindow.vala:302
-msgid "Import photos from disk to library"
-msgstr "Uvoz fotografija iz datotečnog sustava u biblioteku"
-
-#: src/library/LibraryWindow.vala:309
-msgid "Import From _Application..."
-msgstr ""
-
-#: src/library/LibraryWindow.vala:313
-msgid "Sort _Events"
-msgstr "Sortiraj _događaje"
-
-#: src/library/LibraryWindow.vala:323
-msgid "Empty T_rash"
-msgstr "Isprazni _Smeće"
-
-#: src/library/LibraryWindow.vala:324
-msgid "Delete all photos in the trash"
-msgstr "Izbriši sve fotografije iz Smeća"
-
-#: src/library/LibraryWindow.vala:329
-msgid "View Eve_nt for Photo"
-msgstr "Prikaži _event za fotografiju"
-
-#: src/library/LibraryWindow.vala:334
-msgid "_Find"
-msgstr "_Traži"
-
-#: src/library/LibraryWindow.vala:335
-msgid "Find photos and videos by search criteria"
-msgstr "Traži fotografije i video prema kriterijima pretrage"
-
-#: src/library/LibraryWindow.vala:352 src/direct/DirectPhotoPage.vala:46
-msgid "_File"
-msgstr "_Datoteka"
-
-#: src/library/LibraryWindow.vala:356 src/direct/DirectPhotoPage.vala:73
-msgid "_Edit"
-msgstr "_Uredi"
-
-#: src/library/LibraryWindow.vala:364 src/direct/DirectPhotoPage.vala:77
-msgid "_Photo"
-msgstr "_Fotografija"
-
-#: src/library/LibraryWindow.vala:368
-msgid "_Photos"
-msgstr "_Fotografije"
-
-#: src/library/LibraryWindow.vala:372
-msgid "Even_ts"
-msgstr "Događaji"
-
-#: src/library/LibraryWindow.vala:376 src/MediaPage.vala:454
-msgid "Ta_gs"
-msgstr "O_znake"
-
-#: src/library/LibraryWindow.vala:380 src/direct/DirectPhotoPage.vala:169
-msgid "_Help"
-msgstr "_Pomoć"
-
-#: src/library/LibraryWindow.vala:391
-msgid "_Basic Information"
-msgstr "_Osnovne informacije"
-
-#: src/library/LibraryWindow.vala:392
-msgid "Display basic information for the selection"
-msgstr "Prikaži osnovne informacije za izbor"
-
-#: src/library/LibraryWindow.vala:397
-msgid "E_xtended Information"
-msgstr "_Proširene informacije"
-
-#: src/library/LibraryWindow.vala:398
-msgid "Display extended information for the selection"
-msgstr "Prikaži proširene informacije za izbor"
-
-#: src/library/LibraryWindow.vala:403
-msgid "_Search Bar"
-msgstr "T_raka za pretraživanje"
-
-#: src/library/LibraryWindow.vala:404
-msgid "Display the search bar"
-msgstr "Prikaži traku za pretraživanje"
-
-#: src/library/LibraryWindow.vala:409
-msgid "S_idebar"
-msgstr ""
-
-#: src/library/LibraryWindow.vala:410
-msgid "Display the sidebar"
-msgstr ""
-
-#: src/library/LibraryWindow.vala:422 src/MediaPage.vala:494
-msgid "_Ascending"
-msgstr "_Rastući"
-
-#: src/library/LibraryWindow.vala:423 src/MediaPage.vala:495
-msgid "Sort photos in an ascending order"
-msgstr "Posloži fotografije u rastući niz"
-
-#: src/library/LibraryWindow.vala:429 src/MediaPage.vala:500
-msgid "D_escending"
-msgstr "_Padajuci"
-
-#: src/library/LibraryWindow.vala:430 src/MediaPage.vala:501
-msgid "Sort photos in a descending order"
-msgstr "Posloži fotografije u padajući niz"
+msgid "%d Video"
+msgid_plural "%d Videos"
+msgstr[0] "%d video snimka"
+msgstr[1] "%d video snimke"
+msgstr[2] "%d video snimaka"
-#: src/library/LibraryWindow.vala:668
-msgid "Import From Folder"
-msgstr "Uvoz iz direktorija"
+#. display only one date if start and end are the same
+#: ../src/Properties.vala:377
+msgid "Date:"
+msgstr "Datum:"
-#: src/library/LibraryWindow.vala:737
-msgid "Empty Trash"
-msgstr "Isprazni Smeće"
+#. display only one time if start and end are the same
+#: ../src/Properties.vala:381
+msgid "Time:"
+msgstr "Vrijeme:"
-#: src/library/LibraryWindow.vala:737
-msgid "Emptying Trash..."
-msgstr "Pražnjenje Smeća"
+#. display time range
+#. display date range
+#: ../src/Properties.vala:384 ../src/Properties.vala:389
+msgid "From:"
+msgstr "Od:"
-#: src/library/LibraryWindow.vala:896
-msgid "Shotwell is configured to import photos to your home directory.\n"
-msgstr "Shotwell je podešen da uvozi fotografije u vašu osobnu mapu.\n"
+#: ../src/Properties.vala:385 ../src/Properties.vala:390
+msgid "To:"
+msgstr "Do:"
-#: src/library/LibraryWindow.vala:899
-msgid "Library Location"
-msgstr "Lokacija biblioteke"
+#: ../src/Properties.vala:395 ../src/editing_tools/EditingTools.vala:1861
+msgid "Size:"
+msgstr "Veličina:"
-#: src/library/LibraryWindow.vala:912
-msgid "Photos cannot be imported from this directory."
-msgstr "Fotografije se ne mogu importirati iz tog direktorija."
+#: ../src/Properties.vala:404
+msgid "Duration:"
+msgstr "Trajanje:"
-#: src/library/LibraryWindow.vala:1200
+#: ../src/Properties.vala:404
#, c-format
-msgid "%s (%d%%)"
-msgstr "%s (%d%%)"
-
-#: src/library/LibraryWindow.vala:1244 src/library/LibraryWindow.vala:1255
-msgid "Updating library..."
-msgstr "Obnavljam biblioteku..."
-
-#: src/library/LibraryWindow.vala:1261
-msgid "Preparing to auto-import photos..."
-msgstr "Priprema za automatski uvoz fotografija..."
-
-#: src/library/LibraryWindow.vala:1266
-msgid "Auto-importing photos..."
-msgstr "Automatski uvoz fotografija..."
-
-#: src/library/LibraryWindow.vala:1274
-msgid "Writing metadata to files..."
-msgstr "Zapisujem meta podatke u datoteke..."
-
-#: src/library/Branch.vala:37
-msgid "Library"
-msgstr "Bilbioteka"
+msgid "%.1f seconds"
+msgstr "%.1f sekundi"
-#: src/library/ImportQueuePage.vala:8
-msgid "Importing..."
-msgstr "Uvozim..."
+#: ../src/Properties.vala:408
+msgid "Developer:"
+msgstr "Razvijatelj:"
-#: src/library/ImportQueuePage.vala:66
-msgid "_Stop Import"
-msgstr "_Prekini uvoz"
+#. fit both on the top line, emit and move on
+#: ../src/Properties.vala:436 ../src/Properties.vala:440
+#: ../src/Properties.vala:447 ../src/editing_tools/EditingTools.vala:2229
+msgid "Exposure:"
+msgstr "Ekspozicija:"
-#: src/library/ImportQueuePage.vala:67
-msgid "Stop importing photos"
-msgstr "Prekini uvoz fotografija"
+#. nothing special to be done for now for Events
+#: ../src/Properties.vala:585
+msgid "Location:"
+msgstr "Lokacija:"
-#: src/library/ImportQueuePage.vala:123
-msgid "Preparing to import..."
-msgstr "Priprema za uvoz..."
+#: ../src/Properties.vala:588
+msgid "File size:"
+msgstr "Veličina datoteke"
-#: src/library/ImportQueuePage.vala:150
-#, c-format
-msgid "Imported %s"
-msgstr "Uvezeno %s"
+#: ../src/Properties.vala:592
+msgid "Current Development:"
+msgstr "Trenutni razvoj:"
-#: src/direct/DirectPhotoPage.vala:51 src/direct/DirectPhotoPage.vala:413
-msgid "_Save"
-msgstr "_Spremi"
+#: ../src/Properties.vala:594
+msgid "Original dimensions:"
+msgstr "Orginalne dimenzije:"
-#: src/direct/DirectPhotoPage.vala:52
-msgid "Save photo"
-msgstr "Spremi fotografiju"
+#: ../src/Properties.vala:597
+msgid "Camera make:"
+msgstr "Proizvođač kamere:"
-#: src/direct/DirectPhotoPage.vala:57
-msgid "Save _As..."
-msgstr "Spremi _kao..."
+#: ../src/Properties.vala:600
+msgid "Camera model:"
+msgstr "Model kamere:"
-#: src/direct/DirectPhotoPage.vala:58
-msgid "Save photo with a different name"
-msgstr "Spremi fotografiju pod drugim imenom"
+#: ../src/Properties.vala:603
+msgid "Flash:"
+msgstr "Bljeskalica:"
-#: src/direct/DirectPhotoPage.vala:69
-msgid "Print the photo to a printer connected to your computer"
-msgstr "Ispisivanje fotografije na pisač koji je prikljućen na računalo"
+#: ../src/Properties.vala:605
+msgid "Focal length:"
+msgstr "Žarišna duljina:"
-#: src/direct/DirectPhotoPage.vala:223
-#, c-format
-msgid "%s does not exist."
-msgstr "%s ne postoji."
+#: ../src/Properties.vala:608
+msgid "Exposure date:"
+msgstr "Datum ekspozicije:"
-#: src/direct/DirectPhotoPage.vala:225
-#, c-format
-msgid "%s is not a file."
-msgstr "%s nije datoteka."
+#: ../src/Properties.vala:611
+msgid "Exposure time:"
+msgstr "Vrijeme ekspozicije:"
-#: src/direct/DirectPhotoPage.vala:227
-#, c-format
-msgid ""
-"%s does not support the file format of\n"
-"%s."
-msgstr ""
-"%s ne podržava vrstu datoteke\n"
-"%s."
+#: ../src/Properties.vala:614
+msgid "Exposure bias:"
+msgstr "Kompenzacija ekspozicije:"
-#: src/direct/DirectPhotoPage.vala:413
-msgid "_Save a Copy"
-msgstr "_Spremi kopiju"
+#: ../src/Properties.vala:616
+msgid "GPS latitude:"
+msgstr "GPS širina:"
-#: src/direct/DirectPhotoPage.vala:416
-#, c-format
-msgid "Lose changes to %s?"
-msgstr "Poništavanje promjena na %s?"
+#: ../src/Properties.vala:619
+msgid "GPS longitude:"
+msgstr "GPS dužina:"
-#: src/direct/DirectPhotoPage.vala:417
-msgid "Close _without Saving"
-msgstr "Zatvori _bez spremanja"
+#: ../src/Properties.vala:622
+msgid "Artist:"
+msgstr "Umjetnik:"
-#: src/direct/DirectPhotoPage.vala:450
-#, c-format
-msgid "Error while saving to %s: %s"
-msgstr "greška kod spremanja %s: %s"
+#: ../src/Properties.vala:624
+msgid "Copyright:"
+msgstr "Prava:"
-#: src/direct/DirectPhotoPage.vala:478 src/direct/DirectPhotoPage.vala:499
-msgid "Save As"
-msgstr "Spremi kao"
+#: ../src/Properties.vala:626
+msgid "Software:"
+msgstr "Softver:"
-#: src/DirectoryMonitor.vala:889
-#, c-format
-msgid "Unable to monitor %s: Not a directory (%s)"
-msgstr "Ne mogo pratiti %s: Nije direktorij (%s)"
+#: ../src/Properties.vala:639
+msgid "Extended Information"
+msgstr "Dodatne informacije"
-#: src/Resources.vala:17
+# GNOME Application Class ("Generic Name")
+#: ../src/Resources.vala:17
msgid "Photo Manager"
msgstr "Upravitelj fotografija"
-#: src/Resources.vala:18
+# GNOME Application Class for Direct Edit Mode
+#: ../src/Resources.vala:18
msgid "Photo Viewer"
msgstr "Preglednik fotografija"
-#: src/Resources.vala:27 plugins/shotwell-publishing/YouTubePublishing.vala:32
-#: plugins/shotwell-publishing/FlickrPublishing.vala:34
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:32
-#: plugins/shotwell-publishing/PicasaPublishing.vala:32
-#: plugins/shotwell-publishing/FacebookPublishing.vala:32
-#: plugins/shotwell-data-imports/FSpotImporter.vala:34
-msgid "Copyright 2009-2013 Yorba Foundation"
-msgstr ""
-
-#: src/Resources.vala:144
+#: ../src/Resources.vala:144
msgid "Rotate _Right"
-msgstr "Rotiraj _desno"
+msgstr "Zakreni _desno"
-#: src/Resources.vala:145 src/Resources.vala:150
+#: ../src/Resources.vala:145 ../src/Resources.vala:150
msgid "Rotate"
-msgstr "Rotiraj"
+msgstr "Zakreni"
-#: src/Resources.vala:146
+#: ../src/Resources.vala:146
msgid "Rotate Right"
-msgstr "Rotiraj desno"
+msgstr "Zakreni desno"
-#: src/Resources.vala:147
+#: ../src/Resources.vala:147
msgid "Rotate the photos right (press Ctrl to rotate left)"
-msgstr "Rotiraj fotografije udesno ( pritisni Ctril za rotaciju ulijevo)"
+msgstr "Zakreni fotografije udesno ( pritisni Ctrl za zakretanje ulijevo)"
-#: src/Resources.vala:149
+#: ../src/Resources.vala:149
msgid "Rotate _Left"
-msgstr "Rotiraj _lijevo"
+msgstr "Zakreni _lijevo"
-#: src/Resources.vala:151
+#: ../src/Resources.vala:151
msgid "Rotate Left"
-msgstr "Rotiraj lijevo"
+msgstr "Zakreni lijevo"
-#: src/Resources.vala:152
+#: ../src/Resources.vala:152
msgid "Rotate the photos left"
-msgstr "Rotiraj fotografije ulijevo"
+msgstr "Zakreni fotografije ulijevo"
-#: src/Resources.vala:154
+#: ../src/Resources.vala:154
msgid "Flip Hori_zontally"
msgstr "Okreni _vodoravno"
-#: src/Resources.vala:155
+#: ../src/Resources.vala:155
msgid "Flip Horizontally"
msgstr "Okreni okomito"
-#: src/Resources.vala:157
+#: ../src/Resources.vala:157
msgid "Flip Verti_cally"
msgstr "Okreni _okomito"
-#: src/Resources.vala:158
+#: ../src/Resources.vala:158
msgid "Flip Vertically"
msgstr "Okreni okomito"
-#: src/Resources.vala:160
+#: ../src/Resources.vala:160
msgid "_Enhance"
msgstr "_Poboljšaj"
-#: src/Resources.vala:161
+#: ../src/Resources.vala:161
msgid "Enhance"
msgstr "Poboljšaj"
-#: src/Resources.vala:162
+#: ../src/Resources.vala:162
msgid "Automatically improve the photo's appearance"
msgstr "Automatski poboljšaj izgled fotografije"
-#: src/Resources.vala:164
+#: ../src/Resources.vala:164
msgid "_Copy Color Adjustments"
-msgstr ""
+msgstr "_Kopiraj prilagodbe boje"
-#: src/Resources.vala:165
+#: ../src/Resources.vala:165
msgid "Copy Color Adjustments"
-msgstr ""
+msgstr "Kopiraj prilagodbe boje"
-#: src/Resources.vala:166
+#: ../src/Resources.vala:166
msgid "Copy the color adjustments applied to the photo"
-msgstr ""
+msgstr "Kopiraj prilagodbe boje primjenjene na fotografiju"
-#: src/Resources.vala:168
+#: ../src/Resources.vala:168
msgid "_Paste Color Adjustments"
-msgstr ""
+msgstr "_Zalijepi prilagodbe boje"
-#: src/Resources.vala:169
+#: ../src/Resources.vala:169
msgid "Paste Color Adjustments"
-msgstr ""
+msgstr "Zalijepi prilagodbe boje"
-#: src/Resources.vala:170
+#: ../src/Resources.vala:170
msgid "Apply copied color adjustments to the selected photos"
-msgstr ""
+msgstr "Kopiraj prilagodbe boje primijenjene na odabranoj fotografiji"
-#: src/Resources.vala:172
+#: ../src/Resources.vala:172
msgid "_Crop"
msgstr "Odreži"
-#: src/Resources.vala:173
+#: ../src/Resources.vala:173
msgid "Crop"
msgstr "Odreži"
-#: src/Resources.vala:174
+#: ../src/Resources.vala:174
msgid "Crop the photo's size"
-msgstr "Odreži fotografiju na izabranu veličinu."
+msgstr "Obreži fotografiju na odabranu veličinu."
-#: src/Resources.vala:176 src/editing_tools/StraightenTool.vala:100
+#: ../src/Resources.vala:176 ../src/editing_tools/StraightenTool.vala:100
msgid "_Straighten"
msgstr "_Ispravi"
-#: src/Resources.vala:177
+#: ../src/Resources.vala:177
msgid "Straighten"
msgstr "Ispravi"
-#: src/Resources.vala:178
+#: ../src/Resources.vala:178
msgid "Straighten the photo"
-msgstr ""
+msgstr "Izravnaj fotografiju"
-#: src/Resources.vala:180
+#: ../src/Resources.vala:180
msgid "_Red-eye"
msgstr "_Crvene oči"
-#: src/Resources.vala:181
+#: ../src/Resources.vala:181
msgid "Red-eye"
msgstr "Crvene oči"
-#: src/Resources.vala:182
+#: ../src/Resources.vala:182
msgid "Reduce or eliminate any red-eye effects in the photo"
msgstr "Uklanjanje ili reduciranje efekta crvenih očiju na fotografiji"
-#: src/Resources.vala:184
+#: ../src/Resources.vala:184
msgid "_Adjust"
msgstr "Podesi"
-#: src/Resources.vala:185
+#: ../src/Resources.vala:185
msgid "Adjust"
msgstr "Podešavanje"
-#: src/Resources.vala:186
+#: ../src/Resources.vala:186
msgid "Adjust the photo's color and tone"
msgstr "Podešavanje boje i tonaliteta na fotografiji"
-#: src/Resources.vala:188
+#: ../src/Resources.vala:188
msgid "Re_vert to Original"
-msgstr "_Vrati na orginal"
+msgstr "_Vrati na izvorno"
-#: src/Resources.vala:189
+#: ../src/Resources.vala:189
msgid "Revert to Original"
-msgstr "Vrati na orginal"
+msgstr "Vrati na izvorno"
-#: src/Resources.vala:191
+#: ../src/Resources.vala:191
msgid "Revert External E_dits"
msgstr "Poništi _vanjska uređivanja fotografije"
-#: src/Resources.vala:192
+#: ../src/Resources.vala:192
msgid "Revert to the master photo"
-msgstr "Vrati na orginalnu fotografiju"
+msgstr "Vrati na izvornu fotografiju"
-#: src/Resources.vala:194
+#: ../src/Resources.vala:194
msgid "Set as _Desktop Background"
msgstr "Podesi kao pozadinu _radne površine"
-#: src/Resources.vala:195
+#: ../src/Resources.vala:195
msgid "Set selected image to be the new desktop background"
-msgstr "Postavi izabranu sliku kao pozadinu radne površine"
+msgstr "Postavi odabranu sliku kao pozadinu radne površine"
-#: src/Resources.vala:196
+#: ../src/Resources.vala:196
msgid "Set as _Desktop Slideshow..."
msgstr "Postavi kao prezentaciju na _radnu površinu"
-#: src/Resources.vala:198
+#: ../src/Resources.vala:198
msgid "_Undo"
msgstr "_Vrati"
-#: src/Resources.vala:199
+#: ../src/Resources.vala:199
msgid "Undo"
msgstr "Vrati"
-#: src/Resources.vala:201
+#: ../src/Resources.vala:201
msgid "_Redo"
msgstr "Vrati _natrag"
-#: src/Resources.vala:202
+#: ../src/Resources.vala:202
msgid "Redo"
msgstr "Vrati natrag"
-#: src/Resources.vala:204
+#: ../src/Resources.vala:204
msgid "Re_name Event..."
msgstr "P_reimenuj događaj..."
-#: src/Resources.vala:207
+#: ../src/Resources.vala:207
msgid "Make _Key Photo for Event"
-msgstr "Izradi _glavnu fotografiju za događaj"
+msgstr "Napravi _glavnu fotografiju za događaj"
-#: src/Resources.vala:208
+#: ../src/Resources.vala:208
msgid "Make Key Photo for Event"
-msgstr "Izradi glavnu fotografiju za događaj"
+msgstr "Napravi glavnu fotografiju za događaj"
-#: src/Resources.vala:210
+#: ../src/Resources.vala:210
msgid "_New Event"
msgstr "_Novi događaj"
-#: src/Resources.vala:211
+#: ../src/Resources.vala:211
msgid "New Event"
msgstr "Novi događaj"
-#: src/Resources.vala:213
+#: ../src/Resources.vala:213
msgid "Move Photos"
msgstr "Premjesti fotografije"
-#: src/Resources.vala:214
+#: ../src/Resources.vala:214
msgid "Move photos to an event"
msgstr "Premjesti fotografije u događaj"
-#: src/Resources.vala:216
+#: ../src/Resources.vala:216
msgid "_Merge Events"
msgstr "_Spoji događaje"
-#: src/Resources.vala:217
+#: ../src/Resources.vala:217
msgid "Merge"
msgstr "Spoji"
-#: src/Resources.vala:218
+#: ../src/Resources.vala:218
msgid "Combine events into a single event"
-msgstr ""
+msgstr "Kombiniraj više događaja u jedan događaj"
-#: src/Resources.vala:220
+#: ../src/Resources.vala:220
msgid "_Set Rating"
-msgstr "_Postavi ocijene"
+msgstr "_Postavi ocjene"
-#: src/Resources.vala:221
+#: ../src/Resources.vala:221
msgid "Set Rating"
msgstr "Postavi ocijenu"
-#: src/Resources.vala:222
+#: ../src/Resources.vala:222
msgid "Change the rating of your photo"
msgstr "Promjeni ocjenu fotografije"
-#: src/Resources.vala:224
+#: ../src/Resources.vala:224
msgid "_Increase"
msgstr "_Povećaj"
-#: src/Resources.vala:225
+#: ../src/Resources.vala:225
msgid "Increase Rating"
msgstr "Povećaj ocjenu"
-#: src/Resources.vala:227
+#: ../src/Resources.vala:227
msgid "_Decrease"
msgstr "_Smanji"
-#: src/Resources.vala:228
+#: ../src/Resources.vala:228
msgid "Decrease Rating"
msgstr "Smanji ocjenu"
-#: src/Resources.vala:230
+#: ../src/Resources.vala:230
msgid "_Unrated"
msgstr "_Neocijenjeno"
-#: src/Resources.vala:231
+#: ../src/Resources.vala:231
msgid "Unrated"
-msgstr ""
+msgstr "Neocjenjeno"
-#: src/Resources.vala:232
+#: ../src/Resources.vala:232
msgid "Rate Unrated"
msgstr "Ocijeni neocjenjeno"
-#: src/Resources.vala:233
+#: ../src/Resources.vala:233
msgid "Setting as unrated"
msgstr "Postavljanje neocjenjeno"
-#: src/Resources.vala:234
+#: ../src/Resources.vala:234
msgid "Remove any ratings"
-msgstr "Izbriši ocijene"
+msgstr "Ukloni sve ocjene"
-#: src/Resources.vala:236
+#: ../src/Resources.vala:236
msgid "_Rejected"
msgstr "_Odbačene"
-#: src/Resources.vala:237
+#: ../src/Resources.vala:237
msgid "Rejected"
-msgstr ""
+msgstr "Odbijeno"
-#: src/Resources.vala:238
+#: ../src/Resources.vala:238
msgid "Rate Rejected"
-msgstr "Ocjeno odbijena"
+msgstr "Ocjeni odbijeno"
-#: src/Resources.vala:239
+#: ../src/Resources.vala:239
msgid "Setting as rejected"
msgstr "Postavljeno kao odbijeno"
-#: src/Resources.vala:240
+#: ../src/Resources.vala:240
msgid "Set rating to rejected"
msgstr "Postavi ocjenu kao odbijeno"
-#: src/Resources.vala:242
+#: ../src/Resources.vala:242
msgid "Rejected _Only"
msgstr "Samo _odbijene"
-#: src/Resources.vala:243
+#: ../src/Resources.vala:243
msgid "Rejected Only"
msgstr "Samo odbijene"
-#: src/Resources.vala:244
+#: ../src/Resources.vala:244
msgid "Show only rejected photos"
-msgstr "Pokaži samo odbačene fotografije"
+msgstr "Prikaži samo odbijene fotografije"
-#: src/Resources.vala:246
+#: ../src/Resources.vala:246
msgid "All + _Rejected"
-msgstr "Sve i _odbijene"
+msgstr "Sve + _odbijene"
-#: src/Resources.vala:247 src/Resources.vala:248
+#: ../src/Resources.vala:247 ../src/Resources.vala:248
msgid "Show all photos, including rejected"
msgstr "Prikaži sve fotografije, zajedno s odbijenima"
-#: src/Resources.vala:250
+#: ../src/Resources.vala:250
msgid "_All Photos"
-msgstr "_Sve Fotografije"
+msgstr "_Sve fotografije"
-#: src/Resources.vala:251 src/Resources.vala:252
+#: ../src/Resources.vala:251 ../src/Resources.vala:252
msgid "Show all photos"
msgstr "Prikaži sve fotografije"
-#: src/Resources.vala:254
+#: ../src/Resources.vala:254
msgid "_Ratings"
-msgstr "_Ocijene"
+msgstr "_Ocjene"
-#: src/Resources.vala:255
+#: ../src/Resources.vala:255
msgid "Display each photo's rating"
-msgstr "Prikaži ocijene svake fotografije"
+msgstr "Prikaži ocjene svake fotografije"
-#: src/Resources.vala:257
+#: ../src/Resources.vala:257
msgid "_Filter Photos"
msgstr "_Filtriraj fotografije"
-#: src/Resources.vala:258
+#: ../src/Resources.vala:258
msgid "Filter Photos"
msgstr "Filtriraj fotografije"
-#: src/Resources.vala:259
+#: ../src/Resources.vala:259
msgid "Limit the number of photos displayed based on a filter"
msgstr "Ogranići broj fotografija bazirano na filter"
-#: src/Resources.vala:261
+#: ../src/Resources.vala:261
msgid "_Duplicate"
msgstr "_Duplikat"
-#: src/Resources.vala:262
+#: ../src/Resources.vala:262
msgid "Duplicate"
msgstr "Duplikat"
-#: src/Resources.vala:263
+#: ../src/Resources.vala:263
msgid "Make a duplicate of the photo"
-msgstr "Izardi duplikat fotografije"
+msgstr "Napravi duplikat fotografije"
-#: src/Resources.vala:265
+#: ../src/Resources.vala:265
msgid "_Export..."
msgstr "_Izvoz..."
-#: src/Resources.vala:267
+#: ../src/Resources.vala:267
msgid "_Print..."
msgstr "Is_pis..."
-#: src/Resources.vala:269
+#: ../src/Resources.vala:269
msgid "Pu_blish..."
msgstr "O_bjavi..."
-#: src/Resources.vala:270
-msgid "Publish"
-msgstr "Objavi"
-
-#: src/Resources.vala:271
+#: ../src/Resources.vala:271
msgid "Publish to various websites"
msgstr "Objavi na internet stranice"
-#: src/Resources.vala:273
+#: ../src/Resources.vala:273
msgid "Edit _Title..."
-msgstr ""
+msgstr "Uredi _naslov..."
-#: src/Resources.vala:276
+#: ../src/Resources.vala:276
msgid "Edit _Comment..."
-msgstr ""
+msgstr "Uredi _komentar..."
-#: src/Resources.vala:277
+#: ../src/Resources.vala:277
msgid "Edit Comment"
-msgstr ""
+msgstr "Uredi komentar"
-#: src/Resources.vala:279
+#: ../src/Resources.vala:279
msgid "Edit Event _Comment..."
-msgstr ""
+msgstr "Uredi događaj _komentara..."
-#: src/Resources.vala:282
+#: ../src/Resources.vala:282
msgid "_Adjust Date and Time..."
msgstr "Podesi _datum i vrijeme"
-#: src/Resources.vala:283
+#: ../src/Resources.vala:283
msgid "Adjust Date and Time"
msgstr "Podesi datum i vrijeme"
-#: src/Resources.vala:285
+#: ../src/Resources.vala:285
msgid "Add _Tags..."
msgstr "Dodaj _oznake"
-#: src/Resources.vala:286
+#: ../src/Resources.vala:286
msgid "_Add Tags..."
-msgstr ""
+msgstr "_Dodaj oznake..."
-#: src/Resources.vala:287 src/Resources.vala:318
+#: ../src/Resources.vala:287 ../src/Resources.vala:318
msgid "Add Tags"
msgstr "Dodaj oznake"
-#: src/Resources.vala:289
+#: ../src/Resources.vala:289
msgid "_Preferences"
-msgstr "_Postavke"
+msgstr "_Osobitosti"
-#: src/Resources.vala:291
+#: ../src/Resources.vala:291
msgid "Open With E_xternal Editor"
-msgstr ""
+msgstr "Otvori s v_anjskim uređivačem"
-#: src/Resources.vala:293
+#: ../src/Resources.vala:293
msgid "Open With RA_W Editor"
msgstr "Otvori sa _RAW uređivačem"
-#: src/Resources.vala:295
+#: ../src/Resources.vala:295
msgid "Send _To..."
msgstr "Pošalji _na..."
-#: src/Resources.vala:296
+#: ../src/Resources.vala:296
msgid "Send T_o..."
-msgstr ""
+msgstr "Pošalj_i u..."
-#: src/Resources.vala:298
+#: ../src/Resources.vala:298
msgid "_Find..."
-msgstr "_Traži..."
+msgstr "_Pretraži..."
-#: src/Resources.vala:299
+#: ../src/Resources.vala:299
msgid "Find"
-msgstr "Traži"
+msgstr "Pretraži"
-#: src/Resources.vala:300
+#: ../src/Resources.vala:300
msgid "Find an image by typing text that appears in its name or tags"
-msgstr "Potraži sliku pomoću teksta u njezinom imenu ili oznakama."
+msgstr "Potraži sliku pomoću teksta u njezinom nazivu ili oznakama."
-#: src/Resources.vala:302
+#: ../src/Resources.vala:302
msgid "_Flag"
-msgstr "_Oznaći"
+msgstr "_Označi"
-#: src/Resources.vala:304
+#: ../src/Resources.vala:304
msgid "Un_flag"
-msgstr "_Odznaći"
+msgstr "_Odznači"
-#: src/Resources.vala:307
+#: ../src/Resources.vala:307
#, c-format
msgid "Unable to launch editor: %s"
msgstr "Ne mogu pokrenuti uređivač: %s"
-#: src/Resources.vala:312
+#: ../src/Resources.vala:312
#, c-format
msgid "Add Tag \"%s\""
msgstr "Dodaj oznaku \"%s\""
-#: src/Resources.vala:314
+#: ../src/Resources.vala:314
#, c-format
msgid "Add Tags \"%s\" and \"%s\""
msgstr "Dodaj oznake \"%s\" i \"%s\""
-#: src/Resources.vala:322
+#: ../src/Resources.vala:322
#, c-format
msgid "_Delete Tag \"%s\""
msgstr "O_briši oznaku \"%s\""
-#: src/Resources.vala:326
+#: ../src/Resources.vala:326
#, c-format
msgid "Delete Tag \"%s\""
msgstr "Obriši oznaku \"%s\""
-#: src/Resources.vala:329
+#: ../src/Resources.vala:329
msgid "Delete Tag"
msgstr "Obriši oznaku"
-#: src/Resources.vala:332
+#: ../src/Resources.vala:332
msgid "_New"
msgstr "_Novo"
-#: src/Resources.vala:335
+#: ../src/Resources.vala:335
#, c-format
msgid "Re_name Tag \"%s\"..."
msgstr "_Preimenuj oznaku \"%s\""
-#: src/Resources.vala:339
+#: ../src/Resources.vala:339
#, c-format
msgid "Rename Tag \"%s\" to \"%s\""
msgstr "Preimenuj oznaku \"%s\" u \"%s\""
-#: src/Resources.vala:342
+#: ../src/Resources.vala:342
msgid "_Rename..."
msgstr "_Preimenuj..."
-#: src/Resources.vala:344
+#: ../src/Resources.vala:344
msgid "Modif_y Tags..."
-msgstr "Izmjen_i oznake..."
+msgstr "Promijen_i oznake..."
-#: src/Resources.vala:345
+#: ../src/Resources.vala:345
msgid "Modify Tags"
-msgstr "Izmjeni oznake"
+msgstr "Promijeni oznake"
-#: src/Resources.vala:348
+#: ../src/Resources.vala:348
#, c-format
msgid "Tag Photo as \"%s\""
msgstr "Označi fotografija kao \"%s\""
-#: src/Resources.vala:348
+#: ../src/Resources.vala:348
#, c-format
msgid "Tag Photos as \"%s\""
-msgstr ""
+msgstr "Označi fotografije kao \"%s\""
-#: src/Resources.vala:352
+#: ../src/Resources.vala:352
#, c-format
msgid "Tag the selected photo as \"%s\""
-msgstr "Označi izabranih fotografija kao \"%s\""
+msgstr "Označi odabrane fotografije kao \"%s\""
-#: src/Resources.vala:353
+#: ../src/Resources.vala:353
#, c-format
msgid "Tag the selected photos as \"%s\""
-msgstr "Oznaći izabrane forografije sa \"%s\""
+msgstr "Označi odabrane forografije s \"%s\""
-#: src/Resources.vala:357
+#: ../src/Resources.vala:357
#, c-format
msgid "Remove Tag \"%s\" From _Photo"
-msgstr "Makni oznaku \"%s\" s _fotografija"
+msgstr "Ukloni oznaku \"%s\" s _fotografije"
-#: src/Resources.vala:358
+#: ../src/Resources.vala:358
#, c-format
msgid "Remove Tag \"%s\" From _Photos"
-msgstr "Makni oznaku \"%s\" s _fotografija"
+msgstr "Ukloni oznaku \"%s\" s _fotografija"
-#: src/Resources.vala:362
+#: ../src/Resources.vala:362
#, c-format
msgid "Remove Tag \"%s\" From Photo"
-msgstr "Makni oznaku \"%s\" s fotografija"
+msgstr "Ukloni oznaku \"%s\" s fotografije"
-#: src/Resources.vala:363
+#: ../src/Resources.vala:363
#, c-format
msgid "Remove Tag \"%s\" From Photos"
-msgstr "Makni oznaku \"%s\" s fotografija"
+msgstr "Ukloni oznaku \"%s\" s fotografija"
-#: src/Resources.vala:367
+#: ../src/Resources.vala:367
#, c-format
msgid "Unable to rename tag to \"%s\" because the tag already exists."
-msgstr "Ne mogu preimenovati oznaku \"%s\" jer ta oznaka već postoji."
+msgstr "Nemoguće preimenovati oznaku \"%s\" jer ta oznaka već postoji."
-#: src/Resources.vala:371
+#: ../src/Resources.vala:371
#, c-format
msgid "Unable to rename search to \"%s\" because the search already exists."
-msgstr ""
+msgstr "Nemoguće preimenovati pretragu u \"%s\" jer ta pretraga već postoji."
-#: src/Resources.vala:374
+#: ../src/Resources.vala:374
msgid "Saved Search"
-msgstr ""
+msgstr "Spremljena pretraga"
-#: src/Resources.vala:376
+#: ../src/Resources.vala:376
msgid "Delete Search"
-msgstr ""
+msgstr "Obriši pretragu"
-#: src/Resources.vala:379
+#: ../src/Resources.vala:379
msgid "_Edit..."
msgstr "_Uredi"
-#: src/Resources.vala:380
+#: ../src/Resources.vala:380
msgid "Re_name..."
msgstr "Pre_imenuj"
-#: src/Resources.vala:383
+#: ../src/Resources.vala:383
#, c-format
msgid "Rename Search \"%s\" to \"%s\""
-msgstr ""
+msgstr "Preimenuj pretragu \"%s\" u \"%s\""
-#: src/Resources.vala:387
+#: ../src/Resources.vala:387
#, c-format
msgid "Delete Search \"%s\""
-msgstr ""
+msgstr "Obriši pretragu \"%s\""
-#: src/Resources.vala:545
+#: ../src/Resources.vala:545
#, c-format
msgid "Rate %s"
msgstr "Ocijeni %s"
-#: src/Resources.vala:546
+#: ../src/Resources.vala:546
#, c-format
msgid "Set rating to %s"
msgstr "Postavi ocjenu na %s"
-#: src/Resources.vala:547
+#: ../src/Resources.vala:547
#, c-format
msgid "Setting rating to %s"
msgstr "Postavljanje ocjene na %s"
-#: src/Resources.vala:549
+#: ../src/Resources.vala:549
#, c-format
msgid "Display %s"
msgstr "Prikaži %s"
-#: src/Resources.vala:550
+#: ../src/Resources.vala:550
#, c-format
msgid "Only show photos with a rating of %s"
msgstr "Prikaz fotografija sa ocijenom %s"
-#: src/Resources.vala:551
+#: ../src/Resources.vala:551
#, c-format
msgid "%s or Better"
msgstr "%s ili bolje"
-#: src/Resources.vala:552
+#: ../src/Resources.vala:552
#, c-format
msgid "Display %s or Better"
msgstr "Prikaži %s ili bolje"
-#: src/Resources.vala:553
+#: ../src/Resources.vala:553
#, c-format
msgid "Only show photos with a rating of %s or better"
msgstr "Prikaži samo fotografije koje imaju bolju ocijenu od %s"
-#: src/Resources.vala:644
+#: ../src/Resources.vala:644
msgid "Remove the selected photos from the trash"
-msgstr "Makni izabrane fotografije iz Smeća"
+msgstr "Ukloni odabrane fotografije iz smeća"
-#: src/Resources.vala:645
+#: ../src/Resources.vala:645
msgid "Remove the selected photos from the library"
-msgstr "Makni izabrane fotografije iz biblioteke"
+msgstr "Ukloni odabrane fotografije iz fototeke"
-#: src/Resources.vala:647
+#: ../src/Resources.vala:647
msgid "_Restore"
msgstr "_Vrati natrag"
-#: src/Resources.vala:648
+#: ../src/Resources.vala:648
msgid "Move the selected photos back into the library"
-msgstr "Vrati izabrane fotografije natrag u biblioteku"
+msgstr "Vrati odabrane fotografije natrag u fototeku"
-#: src/Resources.vala:650
+#: ../src/Resources.vala:650
msgid "Show in File Mana_ger"
msgstr "Otvori upraviteljem datotekama"
-#: src/Resources.vala:651
+#: ../src/Resources.vala:651
msgid "Open the selected photo's directory in the file manager"
-msgstr "Otvori izabrane fotografije u upravitelju datoteka"
+msgstr "Otvori odabrane fotografije u upravitelju datoteka"
-#: src/Resources.vala:654
+#: ../src/Resources.vala:654
#, c-format
msgid "Unable to open in file manager: %s"
msgstr "Ne mogu otvoriti u upravitelju datoteka: %s"
-#: src/Resources.vala:657
+#: ../src/Resources.vala:657
msgid "R_emove From Library"
-msgstr "_Ukloni iz biblioteke"
+msgstr "_Ukloni iz fototeke"
-#: src/Resources.vala:659
+#: ../src/Resources.vala:659
msgid "_Move to Trash"
-msgstr "Premjesti u Smeće"
+msgstr "_Premjesti u smeće"
-#: src/Resources.vala:661
+#: ../src/Resources.vala:661
msgid "Select _All"
-msgstr "Iz_aberi sve"
+msgstr "Odaberi _sve"
-#: src/Resources.vala:662
+#: ../src/Resources.vala:662
msgid "Select all items"
-msgstr "Izaberi sve stavke"
+msgstr "Odaberi sve stavke"
-#: src/Resources.vala:740
+#. ...precache the timestamp string...
+#. / Locale-specific time format for 12-hour time, i.e. 8:31 PM
+#. / Precede modifier with a dash ("-") to pad with spaces, otherwise will pad with zeroes
+#. / See http://developer.gnome.org/glib/2.32/glib-GDateTime.html#g-date-time-format
+#: ../src/Resources.vala:743
msgid "%-I:%M %p"
-msgstr ""
+msgstr "%-I:%M %p"
-#: src/Resources.vala:741
+#. / Locale-specific time format for 12-hour time with seconds, i.e. 8:31:42 PM
+#. / Precede modifier with a dash ("-") to pad with spaces, otherwise will pad with zeroes
+#. / See http://developer.gnome.org/glib/2.32/glib-GDateTime.html#g-date-time-format
+#: ../src/Resources.vala:748
msgid "%-I:%M:%S %p"
-msgstr ""
+msgstr "%-I:%M:%S %p"
-#: src/Resources.vala:742
+#. / 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:752
msgid "%a %b %d, %Y"
msgstr "%A, %d %b , %Y"
-#: src/Resources.vala:743 src/Resources.vala:745
+#. / 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
+#. / 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:757 ../src/Resources.vala:767
msgid "%a %b %d"
msgstr "%a %b %d"
-#: src/Resources.vala:744
+#. / 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:762
msgid "%d, %Y"
msgstr "%d, %Y"
-#: src/editing_tools/StraightenTool.vala:99
-msgid "Angle:"
+#: ../src/Screensaver.vala:18 ../src/SlideshowPage.vala:141
+msgid "Slideshow"
+msgstr "Prezentacija"
+
+#. Flagged label and toggle
+#: ../src/SearchFilter.vala:587 ../src/SearchFilter.vala:588
+#: ../src/SearchFilter.vala:990 ../src/library/FlaggedPage.vala:8
+msgid "Flagged"
+msgstr "Označeno"
+
+#: ../src/SearchFilter.vala:593 ../src/SearchFilter.vala:594
+msgid "Photos"
+msgstr "Fotografije"
+
+#: ../src/SearchFilter.vala:599 ../src/SearchFilter.vala:600
+msgid "Videos"
+msgstr "Video snimke"
+
+#: ../src/SearchFilter.vala:605
+msgid "RAW Photos"
+msgstr "RAW fotografija"
+
+#: ../src/SearchFilter.vala:606
+msgid "RAW photos"
+msgstr "RAW fotografije"
+
+#: ../src/SearchFilter.vala:952
+#, c-format
+msgid "Error loading UI file %s: %s"
+msgstr "Greška kod čitanja UI datoteke %s: %s"
+
+#. Type label and toggles
+#: ../src/SearchFilter.vala:969
+msgid "Type"
+msgstr "Vrsta"
+
+#. Rating label and button
+#: ../src/SearchFilter.vala:1003 ../src/searches/SearchBoolean.vala:184
+msgid "Rating"
+msgstr "Ocjena"
+
+#: ../src/SlideshowPage.vala:49 ../src/SlideshowPage.vala:182
+msgid "Settings"
+msgstr "Postavke"
+
+#. Set up toolbar
+#. add toolbar buttons
+#: ../src/SlideshowPage.vala:161
+msgid "Back"
+msgstr "Natrag"
+
+#: ../src/SlideshowPage.vala:162
+msgid "Go to the previous photo"
+msgstr "Na prijašnju fotografiju"
+
+#: ../src/SlideshowPage.vala:168 ../src/SlideshowPage.vala:273
+msgid "Pause"
+msgstr "Pauza"
+
+#: ../src/SlideshowPage.vala:169 ../src/SlideshowPage.vala:274
+msgid "Pause the slideshow"
+msgstr "Pauziraj prezentaciju"
+
+#: ../src/SlideshowPage.vala:175
+msgid "Next"
+msgstr "Naprijed"
+
+#: ../src/SlideshowPage.vala:176
+msgid "Go to the next photo"
+msgstr "Na sljedeću fotografiju"
+
+#: ../src/SlideshowPage.vala:183
+msgid "Change slideshow settings"
+msgstr "Promjeni postavke prezentacije"
+
+#. An entire slideshow set might be missing, so check for a loop.
+#: ../src/SlideshowPage.vala:237
+msgid "All photo source files are missing."
+msgstr "Nedostaju sve fotografije."
+
+#: ../src/SlideshowPage.vala:269
+msgid "Play"
+msgstr "Pokreni"
+
+#: ../src/SlideshowPage.vala:270
+msgid "Continue the slideshow"
+msgstr "Nastavi prezentaciju"
+
+#: ../src/Tag.vala:817
+msgid "untitled"
+msgstr "neimenovano"
+
+#. multiple videos
+#: ../src/VideoSupport.vala:486
+msgid "Export Videos"
+msgstr "Izvoz video snimke"
+
+#: ../src/camera/Branch.vala:87
+msgid "Cameras"
+msgstr "Kamere"
+
+#: ../src/camera/ImportPage.vala:459
+msgid ""
+"Unable to unmount camera. Try unmounting the camera from the file manager."
msgstr ""
+"Ne mogu odmontirati kameru. Pokušajte je odmontirati preko upravitelja "
+"datoteka."
-#: src/editing_tools/StraightenTool.vala:102
-#: src/editing_tools/EditingTools.vala:2204
-msgid "_Reset"
-msgstr "_Poništi"
+#. hide duplicates checkbox
+#: ../src/camera/ImportPage.vala:776
+msgid "Hide photos already imported"
+msgstr "Sakrij fotografije koje su već uvezene."
+
+#: ../src/camera/ImportPage.vala:777
+msgid "Only display photos that have not been imported"
+msgstr "Prikaži samo fotografije koje nisu uvezene."
+
+#. Ticket #3304 - Import page shouldn't display confusing message
+#. prior to import.
+#. TODO: replace this with approved text for "talking to camera,
+#. please wait" once new strings are being accepted.
+#: ../src/camera/ImportPage.vala:845
+msgid "Starting import, please wait..."
+msgstr "Uvoženje, pričekajte..."
+
+#: ../src/camera/ImportPage.vala:884
+msgid "Import _Selected"
+msgstr "Uvezi _odabrane"
+
+#: ../src/camera/ImportPage.vala:885
+msgid "Import the selected photos into your library"
+msgstr "Uvezi odabrane fotografije u fototeku"
-#: src/editing_tools/EditingTools.vala:661
+#: ../src/camera/ImportPage.vala:890
+msgid "Import _All"
+msgstr "Uvezi _sve"
+
+#: ../src/camera/ImportPage.vala:891
+msgid "Import all the photos into your library"
+msgstr "Uvezi sve fotografije u fototeku"
+
+#. it's mounted, offer to unmount for the user
+#: ../src/camera/ImportPage.vala:1012
+msgid ""
+"Shotwell needs to unmount the camera from the filesystem in order to access "
+"it. Continue?"
+msgstr ""
+"Shotwell treba maknuti kameru u datotečnog sistema. Želite li nastaviti?"
+
+#: ../src/camera/ImportPage.vala:1018
+msgid "_Unmount"
+msgstr "_Odmontiraj"
+
+#: ../src/camera/ImportPage.vala:1023
+msgid "Please unmount the camera."
+msgstr "Molim domontirajte kameru"
+
+#: ../src/camera/ImportPage.vala:1028
+msgid ""
+"The camera is locked by another application. Shotwell can only access the "
+"camera when it's unlocked. Please close any other application using the "
+"camera and try again."
+msgstr ""
+"Druga aplikacija koristi kameru. Shotwell može koristiti kameru samo kad je "
+"ni jedna druga aplikacija ne koristi. Zatvorite druge aplikacije koje bi "
+"mogle koristiti kameru, te nakon toga pokušajte ponovno."
+
+#: ../src/camera/ImportPage.vala:1038
+msgid "Please close any other application using the camera."
+msgstr "Zatvorite druge aplikacije koje bi mogle koristiti kameru."
+
+#: ../src/camera/ImportPage.vala:1043
+#, c-format
+msgid ""
+"Unable to fetch previews from the camera:\n"
+"%s"
+msgstr ""
+"Ne mogu preuzeti pretpregled s kamere: \n"
+" %s"
+
+#: ../src/camera/ImportPage.vala:1060
+msgid "Unmounting..."
+msgstr "Odmontiravam...."
+
+#: ../src/camera/ImportPage.vala:1166
+msgid "Fetching photo information"
+msgstr "Preuzimam informacije o fotografijama"
+
+#: ../src/camera/ImportPage.vala:1521
+#, c-format
+msgid "Fetching preview for %s"
+msgstr "Preuzimam pretpregled za %s"
+
+#: ../src/camera/ImportPage.vala:1637
+#, c-format
+msgid "Unable to lock camera: %s"
+msgstr "Ne mogu zaključati kameru: %s"
+
+#: ../src/camera/ImportPage.vala:1722
+#, c-format
+msgid "Delete this photo from camera?"
+msgid_plural "Delete these %d photos from camera?"
+msgstr[0] "Obriši ovu %d fotografiju iz kamere?"
+msgstr[1] "Obriši ove %d fotografije iz kamere?"
+msgstr[2] "Obriši ovih %d fotografija iz kamere?"
+
+#: ../src/camera/ImportPage.vala:1725
+#, c-format
+msgid "Delete this video from camera?"
+msgid_plural "Delete these %d videos from camera?"
+msgstr[0] "Obriši ovu %d video snimku iz kamere?"
+msgstr[1] "Obriši ove %d video snimke iz kamere?"
+msgstr[2] "Obriši ovih %d video snimaka iz kamere?"
+
+#: ../src/camera/ImportPage.vala:1728
+#, c-format
+msgid "Delete this photo/video from camera?"
+msgid_plural "Delete these %d photos/videos from camera?"
+msgstr[0] "Obriši ovu %d fotografiju/video snimu iz kamere?"
+msgstr[1] "Obriši ove %d fotografije/video snimke iz kamere?"
+msgstr[2] "Obriši ovih %d fotografija/video snimaka iz kamere?"
+
+#: ../src/camera/ImportPage.vala:1731
+#, c-format
+msgid "Delete these files from camera?"
+msgid_plural "Delete these %d files from camera?"
+msgstr[0] "Obriši ovu %d datoteku iz kamere?"
+msgstr[1] "Obriši ove %d datoteke iz kamere?"
+msgstr[2] "Obriši ovih %d datoteka iz kamere?"
+
+#: ../src/camera/ImportPage.vala:1758
+msgid "Removing photos/videos from camera"
+msgstr "Uklanjanje fotografija/video snimaka s kamere"
+
+#: ../src/camera/ImportPage.vala:1762
+#, c-format
+msgid "Unable to delete %d photo/video from the camera due to errors."
+msgid_plural "Unable to delete %d photos/videos from the camera due to errors."
+msgstr[0] ""
+"Nemoguće obrisati %d fotografiju/video snimku s kamere zbog grešaka."
+msgstr[1] ""
+"Nemoguće obrisati %d fotografije/video snimke s kamere zbog grešaka."
+msgstr[2] ""
+"Nemoguće obrisati %d fotografija/video snimaka s kamere zbog grešaka."
+
+#: ../src/data_imports/DataImports.vala:22
+msgid "Data Imports"
+msgstr "Uvoz podataka"
+
+#. Send an empty job to the queue to mark the end of the import
+#: ../src/data_imports/DataImportsPluginHost.vala:65
+#: ../src/data_imports/DataImportsPluginHost.vala:78
+#, c-format
+msgid "%s Database"
+msgstr "Baza podataka %s"
+
+#: ../src/data_imports/DataImportsPluginHost.vala:148
+#: ../src/data_imports/DataImportsPluginHost.vala:294
+#, c-format
+msgid "Importing from %s can't continue because an error occurred:"
+msgstr "Uvoz iz %s se ne može nastaviti zbog greške:"
+
+#: ../src/data_imports/DataImportsPluginHost.vala:151
+msgid "To try importing from another service, select one from the above menu."
+msgstr ""
+"Kako bi pokušali uvesti iz neke druge usluge, odaberite jednu iz gornjeg "
+"izbornika."
+
+#: ../src/data_imports/DataImportsUI.vala:10
+msgid ""
+"You do not have any data imports plugins enabled.\n"
+"\n"
+"In order to use the Import From Application functionality, you need to have "
+"at least one data imports plugin enabled. Plugins can be enabled in the "
+"Preferences dialog."
+msgstr ""
+"Nemate omogućen nijedan priključak za uvoz podataka.\n"
+"\n"
+"Kako bi mogli koristiti uvoz iz aplikacija, morate imati omogućen barem "
+"jedan takav priključak. Oni se mogu omogućiti u dijalogu \"Osobitosti\"."
+
+#: ../src/data_imports/DataImportsUI.vala:100
+msgid "Database file:"
+msgstr "Datoteka baze podataka:"
+
+#: ../src/data_imports/DataImportsUI.vala:112
+#: ../src/library/LibraryWindow.vala:899
+msgid "_Import"
+msgstr "_Uvezi"
+
+#: ../src/data_imports/DataImportsUI.vala:216
+msgid "Import From Application"
+msgstr "Uvezi iz aplikacije"
+
+#: ../src/data_imports/DataImportsUI.vala:217
+msgid "Import media _from:"
+msgstr "Uvezi medije _iz:"
+
+#: ../src/data_imports/DataImportsUI.vala:394
+#: ../src/publishing/PublishingUI.vala:556
+msgid "_Close"
+msgstr "_Zatvori"
+
+#: ../src/db/DatabaseTable.vala:37
+#, c-format
+msgid "Unable to open/create photo database %s: error code %d"
+msgstr "Nemoguće otvoriti/stvoriti bazu podataka fotografije %s: kôd greške %d"
+
+#: ../src/db/DatabaseTable.vala:46
+#, c-format
+msgid ""
+"Unable to write to photo database file:\n"
+" %s"
+msgstr ""
+"Nemoguće pisati u datoteku baze podataka slike:\n"
+" %s"
+
+#: ../src/db/DatabaseTable.vala:48
+#, c-format
+msgid ""
+"Error accessing database file:\n"
+" %s\n"
+"\n"
+"Error was: \n"
+"%s"
+msgstr ""
+"Greška u pristupanju datoteke baze podataka:\n"
+" %s\n"
+"\n"
+"Greška je: \n"
+"%s"
+
+#: ../src/direct/DirectPhotoPage.vala:46 ../src/library/LibraryWindow.vala:352
+msgid "_File"
+msgstr "_Datoteka"
+
+#: ../src/direct/DirectPhotoPage.vala:51 ../src/direct/DirectPhotoPage.vala:417
+msgid "_Save"
+msgstr "_Spremi"
+
+#: ../src/direct/DirectPhotoPage.vala:52
+msgid "Save photo"
+msgstr "Spremi fotografiju"
+
+#: ../src/direct/DirectPhotoPage.vala:57
+msgid "Save _As..."
+msgstr "Spremi _kao..."
+
+#: ../src/direct/DirectPhotoPage.vala:58
+msgid "Save photo with a different name"
+msgstr "Spremi fotografiju pod drugim nazivom"
+
+#: ../src/direct/DirectPhotoPage.vala:69
+msgid "Print the photo to a printer connected to your computer"
+msgstr "Ispisivanje fotografije na pisač koji je prikljućen na računalo"
+
+#: ../src/direct/DirectPhotoPage.vala:73 ../src/library/LibraryWindow.vala:356
+msgid "_Edit"
+msgstr "_Uredi"
+
+#: ../src/direct/DirectPhotoPage.vala:77 ../src/library/LibraryWindow.vala:364
+msgid "_Photo"
+msgstr "_Fotografija"
+
+#: ../src/direct/DirectPhotoPage.vala:169 ../src/library/LibraryWindow.vala:380
+msgid "_Help"
+msgstr "_Pomoć"
+
+#: ../src/direct/DirectPhotoPage.vala:227
+#, c-format
+msgid "%s does not exist."
+msgstr "%s ne postoji."
+
+#: ../src/direct/DirectPhotoPage.vala:229
+#, c-format
+msgid "%s is not a file."
+msgstr "%s nije datoteka."
+
+#: ../src/direct/DirectPhotoPage.vala:231
+#, c-format
+msgid ""
+"%s does not support the file format of\n"
+"%s."
+msgstr ""
+"%s ne podržava vrstu datoteke\n"
+"%s."
+
+#: ../src/direct/DirectPhotoPage.vala:417
+msgid "_Save a Copy"
+msgstr "_Spremi kopiju"
+
+#: ../src/direct/DirectPhotoPage.vala:420
+#, c-format
+msgid "Lose changes to %s?"
+msgstr "Poništavanje promjena na %s?"
+
+#: ../src/direct/DirectPhotoPage.vala:421
+msgid "Close _without Saving"
+msgstr "Zatvori _bez spremanja"
+
+#: ../src/direct/DirectPhotoPage.vala:454
+#, c-format
+msgid "Error while saving to %s: %s"
+msgstr "greška kod spremanja %s: %s"
+
+#: ../src/direct/DirectPhotoPage.vala:482
+#: ../src/direct/DirectPhotoPage.vala:503
+msgid "Save As"
+msgstr "Spremi kao"
+
+#: ../src/editing_tools/EditingTools.vala:665
msgid "Return to current photo dimensions"
msgstr "Vrati na trenutne dimenzije"
-#: src/editing_tools/EditingTools.vala:664
+#: ../src/editing_tools/EditingTools.vala:668
msgid "Set the crop for this photo"
msgstr "Postavi okvir za rezanje fotografije"
-#: src/editing_tools/EditingTools.vala:676
+#: ../src/editing_tools/EditingTools.vala:680
msgid "Pivot the crop rectangle between portrait and landscape orientations"
msgstr ""
-"Zaokreni pravokutnik za rezanje fotografije izmedju vodoravnog i "
-"horizontalnog."
+"Zakreni pravokutnik za rezanje fotografije između vodoravnog i horizontalnog."
-#: src/editing_tools/EditingTools.vala:749
+#: ../src/editing_tools/EditingTools.vala:753
msgid "Unconstrained"
msgstr "Bez ograničenja"
-#: src/editing_tools/EditingTools.vala:750
+#: ../src/editing_tools/EditingTools.vala:754
msgid "Square"
msgstr "Kvadrat"
-#: src/editing_tools/EditingTools.vala:751
+#: ../src/editing_tools/EditingTools.vala:755
msgid "Screen"
msgstr "Ekran"
-#: src/editing_tools/EditingTools.vala:752
-#: plugins/shotwell-publishing/PicasaPublishing.vala:750
-msgid "Original Size"
-msgstr "Orginalna veličina"
-
-#: src/editing_tools/EditingTools.vala:753
-#: src/editing_tools/EditingTools.vala:756
-#: src/editing_tools/EditingTools.vala:766
-#: src/editing_tools/EditingTools.vala:776
+#: ../src/editing_tools/EditingTools.vala:757
+#: ../src/editing_tools/EditingTools.vala:760
+#: ../src/editing_tools/EditingTools.vala:770
+#: ../src/editing_tools/EditingTools.vala:780
msgid "-"
msgstr "."
-#: src/editing_tools/EditingTools.vala:754
+#: ../src/editing_tools/EditingTools.vala:758
msgid "SD Video (4 : 3)"
msgstr "SD Video (4 : 3)"
-#: src/editing_tools/EditingTools.vala:755
+#: ../src/editing_tools/EditingTools.vala:759
msgid "HD Video (16 : 9)"
msgstr "HD Video (16 : 9)"
-#: src/editing_tools/EditingTools.vala:762
+#: ../src/editing_tools/EditingTools.vala:766
msgid "Letter (8.5 x 11 in.)"
-msgstr ""
+msgstr "Pismo (8.5 x 11 in.)"
-#: src/editing_tools/EditingTools.vala:764
+#: ../src/editing_tools/EditingTools.vala:768
msgid "Tabloid (11 x 17 in.)"
-msgstr ""
+msgstr "Tabloid (11 x 17 in.)"
-#: src/editing_tools/EditingTools.vala:771
+#: ../src/editing_tools/EditingTools.vala:775
msgid "A4 (210 x 297 mm)"
-msgstr ""
+msgstr "A4 (210 x 297 mm)"
-#: src/editing_tools/EditingTools.vala:775
+#: ../src/editing_tools/EditingTools.vala:779
msgid "A3 (297 x 420 mm)"
-msgstr ""
+msgstr "A3 (297 x 420 mm)"
-#: src/editing_tools/EditingTools.vala:1865
+#: ../src/editing_tools/EditingTools.vala:1876
msgid "Close the red-eye tool"
msgstr "Zatvori alat za uklanjanje crvenih očiju"
-#: src/editing_tools/EditingTools.vala:1868
+#: ../src/editing_tools/EditingTools.vala:1879
msgid "Remove any red-eye effects in the selected region"
-msgstr "Ukloni crvene oči iz izabranog područja"
+msgstr "Ukloni efekt crvenih očiju iz odabranog područja"
-#: src/editing_tools/EditingTools.vala:2226
+#: ../src/editing_tools/EditingTools.vala:2215
+#: ../src/editing_tools/StraightenTool.vala:102
+msgid "_Reset"
+msgstr "_Poništi"
+
+#: ../src/editing_tools/EditingTools.vala:2237
msgid "Saturation:"
msgstr "Zasičenje:"
-#: src/editing_tools/EditingTools.vala:2234
+#: ../src/editing_tools/EditingTools.vala:2245
msgid "Tint:"
msgstr "Sjenčanje:"
-#: src/editing_tools/EditingTools.vala:2243
+#: ../src/editing_tools/EditingTools.vala:2254
msgid "Temperature:"
msgstr "Temperatura:"
-#: src/editing_tools/EditingTools.vala:2251
+#: ../src/editing_tools/EditingTools.vala:2262
msgid "Shadows:"
msgstr "Sjene:"
-#: src/editing_tools/EditingTools.vala:2259
+#: ../src/editing_tools/EditingTools.vala:2270
msgid "Highlights:"
-msgstr ""
+msgstr "Osvjetljenje:"
-#: src/editing_tools/EditingTools.vala:2313
+#: ../src/editing_tools/EditingTools.vala:2324
msgid "Reset Colors"
msgstr "Vrati boje"
-#: src/editing_tools/EditingTools.vala:2313
+#: ../src/editing_tools/EditingTools.vala:2324
msgid "Reset all color adjustments to original"
msgstr "Postavi boje na orginalne"
-#: src/editing_tools/EditingTools.vala:2665
+#: ../src/editing_tools/EditingTools.vala:2676
msgid "Temperature"
msgstr "Temperatura"
-#: src/editing_tools/EditingTools.vala:2678
+#: ../src/editing_tools/EditingTools.vala:2689
msgid "Tint"
msgstr "Sjenčanje"
-#: src/editing_tools/EditingTools.vala:2691
+#: ../src/editing_tools/EditingTools.vala:2702
msgid "Saturation"
msgstr "Zasićenje"
-#: src/editing_tools/EditingTools.vala:2704
+#: ../src/editing_tools/EditingTools.vala:2715
msgid "Exposure"
msgstr "Ekspozicija"
-#: src/editing_tools/EditingTools.vala:2717
+#: ../src/editing_tools/EditingTools.vala:2728
msgid "Shadows"
msgstr "Sjene"
-#: src/editing_tools/EditingTools.vala:2730
+#: ../src/editing_tools/EditingTools.vala:2741
msgid "Highlights"
-msgstr ""
+msgstr "Osvjetljenje"
-#: src/editing_tools/EditingTools.vala:2740
+#: ../src/editing_tools/EditingTools.vala:2751
msgid "Contrast Expansion"
msgstr "Proširenje kontrasta"
-#: src/AppWindow.vala:49
-msgid "Pin Toolbar"
-msgstr "Prikvaći traku sa alatima"
+#: ../src/editing_tools/StraightenTool.vala:99
+msgid "Angle:"
+msgstr "Kut:"
-#: src/AppWindow.vala:50
-msgid "Pin the toolbar open"
-msgstr "Otkvaći traku s alatima"
+#: ../src/events/EventDirectoryItem.vala:83
+#, c-format
+msgid "%d Photo/Video"
+msgid_plural "%d Photos/Videos"
+msgstr[0] "%d fotografija/video snimka"
+msgstr[1] "%d fotografije/video snimke"
+msgstr[2] "%d fotografija/video snimaka"
-#: src/AppWindow.vala:53 src/AppWindow.vala:131
-msgid "Leave fullscreen"
-msgstr "Napusti prikaz preko cijelog ekrana"
+#: ../src/events/EventPage.vala:129
+msgid "No Event"
+msgstr "Nema događaja"
-#: src/AppWindow.vala:130
-msgid "Leave _Fullscreen"
-msgstr "Napusti _prikaz preko cijelog ekrana"
+#: ../src/events/EventsDirectoryPage.vala:131
+msgid "Display the comment of each event"
+msgstr "Prikaži komentar svakog događaja"
-#: src/AppWindow.vala:491
-msgid "_Quit"
-msgstr "_Izlaz"
+#: ../src/events/EventsDirectoryPage.vala:155
+msgid "No events"
+msgstr "Nema događaja"
-#: src/AppWindow.vala:496
-msgid "_About"
-msgstr "_O programu"
+#: ../src/events/EventsDirectoryPage.vala:159
+msgid "No events found"
+msgstr "Nije pronađen niti jedan događaj."
-#: src/AppWindow.vala:501
-msgid "Fulls_creen"
-msgstr "Preko _cijelog ekrana"
+#: ../src/events/EventsDirectoryPage.vala:230
+msgid "Events"
+msgstr "Događaji"
-#: src/AppWindow.vala:506
-msgid "_Contents"
-msgstr "_Sadržaj"
+#: ../src/events/EventsDirectoryPage.vala:244
+msgid "Undated"
+msgstr "Nema datuma"
-#: src/AppWindow.vala:511
-msgid "_Frequently Asked Questions"
-msgstr "_Često postavljana pitanja"
+#: ../src/events/EventsDirectoryPage.vala:245
+msgid "%Y"
+msgstr "%Y"
-#: src/AppWindow.vala:516
-msgid "_Report a Problem..."
-msgstr ""
+#: ../src/events/EventsDirectoryPage.vala:246
+msgid "%B"
+msgstr "%B"
-#: src/AppWindow.vala:663
-#, c-format
-msgid ""
-"A fatal error occurred when accessing Shotwell's library. Shotwell cannot "
-"continue.\n"
-"\n"
-"%s"
-msgstr ""
-"Greška kod pristupanju programskim bibliotekama Shotwell-a. Shotwell ne može "
-"nastaviti s radom.\n"
-"\n"
-"%s"
+#: ../src/folders/Branch.vala:141
+msgid "Folders"
+msgstr "Mape"
-#: src/AppWindow.vala:683 plugins/common/Resources.vala:9
-msgid "Visit the Yorba web site"
-msgstr "Posjetite web stranice Yorba-e"
+#: ../src/library/Branch.vala:37 ../ui/shotwell.glade.h:33
+msgid "Library"
+msgstr "Fototeka"
-#: src/AppWindow.vala:686 plugins/common/Resources.vala:28
-msgid "translator-credits"
-msgstr "Krešo Kunjas <deresh@gmail.com>"
+#: ../src/library/ImportQueuePage.vala:8
+msgid "Importing..."
+msgstr "Uvozim..."
-#: src/AppWindow.vala:695
-#, c-format
-msgid "Unable to display help: %s"
-msgstr "Ne mogu prikazati pomoć: %s"
+#: ../src/library/ImportQueuePage.vala:66
+msgid "_Stop Import"
+msgstr "_Prekini uvoz"
-#: src/AppWindow.vala:703
-#, c-format
-msgid "Unable to navigate to bug database: %s"
-msgstr ""
+#: ../src/library/ImportQueuePage.vala:67
+msgid "Stop importing photos"
+msgstr "Prekini uvoz fotografija"
+
+#: ../src/library/ImportQueuePage.vala:123
+msgid "Preparing to import..."
+msgstr "Priprema za uvoz..."
-#: src/AppWindow.vala:711
+#: ../src/library/ImportQueuePage.vala:150
#, c-format
-msgid "Unable to display FAQ: %s"
-msgstr "Ne mogu prikazati često postavljana pitanja: %s"
+msgid "Imported %s"
+msgstr "Uvezeno %s"
-#: src/Tag.vala:817
-msgid "untitled"
-msgstr "neimenovano"
+#: ../src/library/LastImportPage.vala:8
+msgid "Last Import"
+msgstr "Zadnji uvoz"
-#: src/Dimensions.vala:17
-#: plugins/shotwell-publishing/FlickrPublishing.vala:1233
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1250
-msgid "Original size"
-msgstr "Originalna veličina"
+#: ../src/library/LibraryWindow.vala:301
+msgid "_Import From Folder..."
+msgstr "Uvezi iz direktorija..."
-#: src/Dimensions.vala:20
-msgid "Width or height"
-msgstr "Širina ili visina"
+#: ../src/library/LibraryWindow.vala:302
+msgid "Import photos from disk to library"
+msgstr "Uvoz fotografija iz datotečnog sustava u fototeku"
-#: src/Dimensions.vala:23
-msgid "Width"
-msgstr "Širina"
+#: ../src/library/LibraryWindow.vala:309
+msgid "Import From _Application..."
+msgstr "Uvezi iz _aplikacije..."
-#: src/Dimensions.vala:26
-msgid "Height"
-msgstr "Visina"
+#: ../src/library/LibraryWindow.vala:313
+msgid "Sort _Events"
+msgstr "Razvrstaj _događaje"
-#: src/MediaPage.vala:143
-msgid "Adjust the size of the thumbnails"
-msgstr "Podesi veličinu sličica"
+#: ../src/library/LibraryWindow.vala:323
+msgid "Empty T_rash"
+msgstr "Isprazni _smeće"
-#: src/MediaPage.vala:326
-msgid "Increase the magnification of the thumbnails"
-msgstr "Povečaj veličinu sličica"
+#: ../src/library/LibraryWindow.vala:324
+msgid "Delete all photos in the trash"
+msgstr "Obriši sve fotografije iz smeća"
-#: src/MediaPage.vala:332
-msgid "Decrease the magnification of the thumbnails"
-msgstr "Smanji veličinu sličica"
+#: ../src/library/LibraryWindow.vala:329
+msgid "View Eve_nt for Photo"
+msgstr "Prikaži dog_ađaj fotografije"
-#: src/MediaPage.vala:399
-msgid "Sort _Photos"
-msgstr "Poredaj _fotografije"
+#: ../src/library/LibraryWindow.vala:334
+msgid "_Find"
+msgstr "_Pretraži"
-#: src/MediaPage.vala:408
-msgid "_Play Video"
-msgstr "Pokreni video"
+#: ../src/library/LibraryWindow.vala:335
+msgid "Find photos and videos by search criteria"
+msgstr "Pretraži fotografije i video snimke prema kriterijima pretrage"
-#: src/MediaPage.vala:409
-msgid "Open the selected videos in the system video player"
-msgstr "Otvori izabrane videe u sistemskom video pregledniku"
+#: ../src/library/LibraryWindow.vala:346 ../src/searches/Branch.vala:77
+#: ../src/sidebar/Tree.vala:195
+msgid "Ne_w Saved Search..."
+msgstr "No_va spremljena pretraga..."
-#: src/MediaPage.vala:442 src/events/EventsDirectoryPage.vala:130
-msgid "_Comments"
-msgstr ""
+#: ../src/library/LibraryWindow.vala:368
+msgid "_Photos"
+msgstr "_Fotografije"
-#: src/MediaPage.vala:443
-msgid "Display the comment of each photo"
-msgstr ""
+#: ../src/library/LibraryWindow.vala:372
+msgid "Even_ts"
+msgstr "Događaji"
-#: src/MediaPage.vala:455
-msgid "Display each photo's tags"
-msgstr "Prikaži oznake svake fotografije"
+#: ../src/library/LibraryWindow.vala:391
+msgid "_Basic Information"
+msgstr "_Osnovne informacije"
-#: src/MediaPage.vala:471
-msgid "By _Title"
-msgstr "Po _Naslovu"
+#: ../src/library/LibraryWindow.vala:392
+msgid "Display basic information for the selection"
+msgstr "Prikaži osnovne informacije odabira"
-#: src/MediaPage.vala:472
-msgid "Sort photos by title"
-msgstr "Posloži fotografije po naslovu"
+#: ../src/library/LibraryWindow.vala:397
+msgid "E_xtended Information"
+msgstr "_Proširene informacije"
-#: src/MediaPage.vala:477
-msgid "By Exposure _Date"
-msgstr "Po datumu prikaza (exposure)"
+#: ../src/library/LibraryWindow.vala:398
+msgid "Display extended information for the selection"
+msgstr "Prikaži proširene informacije odabira"
-#: src/MediaPage.vala:478
-msgid "Sort photos by exposure date"
-msgstr "Posloži fotografije po datumu prikaza"
+#: ../src/library/LibraryWindow.vala:403
+msgid "_Search Bar"
+msgstr "T_raka za pretraživanje"
-#: src/MediaPage.vala:483
-msgid "By _Rating"
-msgstr "Po _ocjeni"
+#: ../src/library/LibraryWindow.vala:404
+msgid "Display the search bar"
+msgstr "Prikaži traku za pretraživanje"
-#: src/MediaPage.vala:484
-msgid "Sort photos by rating"
-msgstr "Posloži fotografije po ocjeni"
+#: ../src/library/LibraryWindow.vala:409
+msgid "S_idebar"
+msgstr "B_očna traka"
-#: src/MediaPage.vala:702
+#: ../src/library/LibraryWindow.vala:410
+msgid "Display the sidebar"
+msgstr "Prikaži bočnu traku"
+
+#: ../src/library/LibraryWindow.vala:668
+msgid "Import From Folder"
+msgstr "Uvoz iz direktorija"
+
+#: ../src/library/LibraryWindow.vala:737
+msgid "Empty Trash"
+msgstr "Isprazni smeće"
+
+#: ../src/library/LibraryWindow.vala:737
+msgid "Emptying Trash..."
+msgstr "Pražnjenje smeća..."
+
+#: ../src/library/LibraryWindow.vala:896
#, c-format
msgid ""
-"Shotwell was unable to play the selected video:\n"
-"%s"
+"Shotwell is configured to import photos to your home directory.\n"
+"We recommend changing this in <span weight=\"bold\">Edit %s Preferences</"
+"span>.\n"
+"Do you want to continue importing photos?"
msgstr ""
-"Shotwell nije uspio prikazati video:\n"
-" %s"
+"Shotwell je podešen za uvoz fotografija u vašu osobnu mapu.\n"
+"Preporučujemo promjenu ovoga u <span weight=\"bold\">Uredi %s Osobitosti</"
+"span>.\n"
+"Želite li nastaviti s uvozom fotografija?"
+
+#: ../src/library/LibraryWindow.vala:899 ../ui/shotwell.glade.h:19
+msgid "Library Location"
+msgstr "Lokacija fototeke"
+
+#. TODO: Specify which directory/file.
+#: ../src/library/LibraryWindow.vala:912
+msgid "Photos cannot be imported from this directory."
+msgstr "Fotografije se ne mogu importirati iz tog direktorija."
-#: src/events/EventDirectoryItem.vala:83
+#: ../src/library/LibraryWindow.vala:1200
#, c-format
-msgid "%d Photo/Video"
-msgid_plural "%d Photos/Videos"
-msgstr[0] "%d fotografija/video"
-msgstr[1] "%d fotografije/videa"
-msgstr[2] "%d fotografija/videa"
+msgid "%s (%d%%)"
+msgstr "%s (%d%%)"
-#: src/events/EventsDirectoryPage.vala:131
-msgid "Display the comment of each event"
-msgstr ""
+#: ../src/library/LibraryWindow.vala:1244
+#: ../src/library/LibraryWindow.vala:1255
+msgid "Updating library..."
+msgstr "Nadopunjavanje fototeke..."
-#: src/events/EventsDirectoryPage.vala:155
-msgid "No events"
-msgstr "Nema događaja"
+#: ../src/library/LibraryWindow.vala:1261
+msgid "Preparing to auto-import photos..."
+msgstr "Priprema za automatski uvoz fotografija..."
-#: src/events/EventsDirectoryPage.vala:159
-msgid "No events found"
-msgstr "Nije pronađen niti jedan događaj."
+#: ../src/library/LibraryWindow.vala:1266
+msgid "Auto-importing photos..."
+msgstr "Automatski uvoz fotografija..."
-#: src/events/EventsDirectoryPage.vala:230
-msgid "Events"
-msgstr "Događaji"
+#: ../src/library/LibraryWindow.vala:1274
+msgid "Writing metadata to files..."
+msgstr "Zapisujem meta podatke u datoteke..."
-#: src/events/EventsDirectoryPage.vala:244
-msgid "Undated"
-msgstr "Nema datuma"
+#: ../src/library/OfflinePage.vala:8
+msgid "Missing Files"
+msgstr "Datoteke koje nedostaju"
-#: src/events/EventsDirectoryPage.vala:245
-msgid "%Y"
-msgstr "%Y"
+#: ../src/library/OfflinePage.vala:106
+msgid "Deleting..."
+msgstr "Brisanje..."
-#: src/events/EventsDirectoryPage.vala:246
-msgid "%B"
-msgstr "%B"
+#: ../src/library/TrashPage.vala:8
+msgid "Trash"
+msgstr "Smeće"
-#: src/events/EventPage.vala:129
-msgid "No Event"
-msgstr "Nema događaja"
+#: ../src/library/TrashPage.vala:108
+msgid "Trash is empty"
+msgstr "Smeće je prazno"
+
+#: ../src/library/TrashPage.vala:112
+msgid "Delete"
+msgstr "Obriši"
-#: src/AppDirs.vala:48 src/AppDirs.vala:99
+#: ../src/library/TrashPage.vala:113
+msgid "Deleting Photos"
+msgstr "Brisanje fotografija"
+
+#: ../src/main.vala:54
#, c-format
-msgid "Unable to create cache directory %s: %s"
+msgid ""
+"Your photo library is not compatible with this version of Shotwell. It "
+"appears it was created by Shotwell %s (schema %d). This version is %s "
+"(schema %d). Please use the latest version of Shotwell."
msgstr ""
+"Vaša fototeke fotografija nije kompatibilna s ovom inačicom Shotwella. "
+"Stvorena je sa Shotwell %s ( shema %d). Ta inačica je %s ( shema %d). "
+"Koristite najnoviju inačicu Shotwella."
-#: src/AppDirs.vala:58 src/AppDirs.vala:88
+#: ../src/main.vala:59
#, c-format
-msgid "Unable to create data directory %s: %s"
-msgstr "Nije moguće napraviti data direktorij %s: %s"
-
-#: src/AppDirs.vala:152
-msgid "Pictures"
-msgstr "Fotografije"
+msgid ""
+"Shotwell was unable to upgrade your photo library from version %s (schema "
+"%d) to %s (schema %d). For more information please check the Shotwell Wiki "
+"at %s"
+msgstr ""
+"Shotwell nije uspio nadograditi vašu fototeku fotografija s inačice %s "
+"( shema %d) na %s ( shema %d). Za više informacija pogledajte Shotwell Wiki "
+"%s"
-#: src/AppDirs.vala:190
+#: ../src/main.vala:65
#, c-format
-msgid "Unable to create temporary directory %s: %s"
-msgstr "Nije moguće napraviti privremeni direktorij %s: %s"
+msgid ""
+"Your photo library is not compatible with this version of Shotwell. It "
+"appears it was created by Shotwell %s (schema %d). This version is %s "
+"(schema %d). Please clear your library by deleting %s and re-import your "
+"photos."
+msgstr ""
+"Vaša fototeke fotografija nije kompatibilna s ovom inačicom Shotwella. "
+"Stvorena je sa Shotwell %s ( shema %d). Ta inačica je %s ( shema %d). "
+"Očistite vašu fototeku brisanjem %s , te zatim ponovno uvezite fotografije."
-#: src/AppDirs.vala:207 src/AppDirs.vala:223
+#: ../src/main.vala:71
#, c-format
-msgid "Unable to create data subdirectory %s: %s"
-msgstr "Nije moguće napraviti data poddirektorij %s: %s"
+msgid "Unknown error attempting to verify Shotwell's database: %s"
+msgstr "Nepoznata greška kod provjere Shotwell baze podataka: %s"
-#: src/slideshow/TransitionEffects.vala:98
-msgid "(None)"
-msgstr "(nema)"
+#: ../src/main.vala:104
+msgid "Loading Shotwell"
+msgstr "Učitavanje Shotwell-a"
-#: src/slideshow/TransitionEffects.vala:287
-msgid "None"
-msgstr "Nema"
+#: ../src/main.vala:294
+msgid "Path to Shotwell's private data"
+msgstr "Putanja do Shotwellovih privatnih podataka"
-#: src/slideshow/TransitionEffects.vala:339
-msgid "Random"
-msgstr ""
+#: ../src/main.vala:294
+msgid "DIRECTORY"
+msgstr "DIREKTORIJ"
-#: src/slideshow/Slideshow.vala:22
-msgid "Slideshow Transitions"
-msgstr "Prijelazi kod prikaza prezentacije"
+#: ../src/main.vala:298
+msgid "Do not monitor library directory at runtime for changes"
+msgstr "Ne nadziri mapu fototeke u vremenu izvršavanja promjena"
+
+#: ../src/main.vala:302
+msgid "Don't display startup progress meter"
+msgstr "Ne prikazuj pokretanje prikaza napretka"
+
+#: ../src/main.vala:306
+msgid "Show the application's version"
+msgstr "Prikaži inačicu aplikacije"
+
+#. init GTK (valac has already called g_threads_init())
+#: ../src/main.vala:338
+msgid "[FILE]"
+msgstr "[FILE]"
-#: src/Exporter.vala:232
+#: ../src/main.vala:342
#, c-format
-msgid "Unable to generate a temporary file for %s: %s"
-msgstr "Ne mogu napraviti privremenu datoteku za %s: %s"
+msgid "Run '%s --help' to see a full list of available command line options.\n"
+msgstr "Pokrenite '%s --help' za popis svih dostupnih opcija.\n"
-#: src/Exporter.vala:299
-msgid "Exporting"
-msgstr "Izvoz"
+#: ../src/photos/BmpSupport.vala:32
+msgid "BMP"
+msgstr "BMP"
+
+#: ../src/photos/JfifSupport.vala:84
+msgid "JPEG"
+msgstr "JPEG"
-#: src/Exporter.vala:317
+#: ../src/photos/JfifSupport.vala:182
#, c-format
-msgid "File %s already exists. Replace?"
-msgstr "Datoteka %s već postoji. Zamjeniti?"
+msgid "Low (%d%%)"
+msgstr "Nisko (%d%%)"
-#: src/Exporter.vala:319
-msgid "_Skip"
-msgstr "_Preskoći"
+#: ../src/photos/JfifSupport.vala:185
+#, c-format
+msgid "Medium (%d%%)"
+msgstr "Srednje (%d%%)"
-#: src/Exporter.vala:319
-msgid "_Replace"
-msgstr "_Zamjeni"
+#: ../src/photos/JfifSupport.vala:188
+#, c-format
+msgid "High (%d%%)"
+msgstr "Visoko (%d%%)"
-#: src/Exporter.vala:319
-msgid "Replace _All"
-msgstr "Zamjeni _sve"
+#: ../src/photos/JfifSupport.vala:191
+#, c-format
+msgid "Maximum (%d%%)"
+msgstr "Maksimalno (%d%%)"
-#: src/Exporter.vala:319
-msgid "Export"
-msgstr "Izvoz"
+#: ../src/photos/PngSupport.vala:30
+msgid "PNG"
+msgstr "PNG"
-#: src/SearchFilter.vala:593 src/SearchFilter.vala:594
-msgid "Photos"
-msgstr "Fotografije"
+#: ../src/photos/RawSupport.vala:134
+msgid "RAW"
+msgstr "RAW"
-#: src/SearchFilter.vala:599 src/SearchFilter.vala:600
-msgid "Videos"
-msgstr "Video"
+#: ../src/photos/TiffSupport.vala:86
+msgid "TIFF"
+msgstr "TIFF"
-#: src/SearchFilter.vala:605
-msgid "RAW Photos"
-msgstr "RAW fotografija"
+#: ../src/publishing/Publishing.vala:16
+msgid "Publishing"
+msgstr "Objavljivanje"
-#: src/SearchFilter.vala:606
-msgid "RAW photos"
-msgstr "RAW fotografije"
+#: ../src/publishing/PublishingPluginHost.vala:11
+msgid "Preparing for upload"
+msgstr "Priprema za slanje"
-#: src/SearchFilter.vala:952
+#: ../src/publishing/PublishingPluginHost.vala:12
#, c-format
-msgid "Error loading UI file %s: %s"
-msgstr "Greška kod čitanja UI datoteke %s: %s"
+msgid "Uploading %d of %d"
+msgstr "Šaljem %d od %d"
-#: src/SearchFilter.vala:969
-msgid "Type"
-msgstr "Tip"
+#: ../src/publishing/PublishingPluginHost.vala:82
+#, c-format
+msgid "Publishing to %s can't continue because an error occurred:"
+msgstr "Objavljivanje na %s nije moguće zbog greške:"
-#: src/publishing/Publishing.vala:16
-msgid "Publishing"
-msgstr "Objavljivanje"
+#: ../src/publishing/PublishingPluginHost.vala:85
+msgid "To try publishing to another service, select one from the above menu."
+msgstr "Za objavu na nekoj drugoj usluzi, odaberite ju iz gornjeg izbornika."
-#: src/publishing/PublishingUI.vala:105
+#: ../src/publishing/PublishingUI.vala:105
msgid "The selected photos/videos were successfully published."
-msgstr "Izabrane fotografije/videi su uspješno objavljeni."
+msgstr "Odabrane fotografije/video snimke su uspješno objavljene."
-#: src/publishing/PublishingUI.vala:107
+#: ../src/publishing/PublishingUI.vala:107
msgid "The selected videos were successfully published."
-msgstr "Izabrani videi su uspješno objavljeni."
+msgstr "Odabrane video snimke su uspješno objavljene."
-#: src/publishing/PublishingUI.vala:109
+#: ../src/publishing/PublishingUI.vala:109
msgid "The selected photos were successfully published."
-msgstr "Izabrane fotografije su uspješno objavljene."
+msgstr "Odabrane fotografije su uspješno objavljene."
-#: src/publishing/PublishingUI.vala:112
+#: ../src/publishing/PublishingUI.vala:112
msgid "The selected video was successfully published."
-msgstr "Izabrani video je uspješno objavljen."
+msgstr "Odabrana video snimka je uspješno objavljena."
-#: src/publishing/PublishingUI.vala:114
+#: ../src/publishing/PublishingUI.vala:114
msgid "The selected photo was successfully published."
-msgstr "Izabrana fotografija je uspješno objavljena."
+msgstr "IOdabrana fotografija je uspješno objavljena."
-#: src/publishing/PublishingUI.vala:122
+#: ../src/publishing/PublishingUI.vala:122
msgid "Fetching account information..."
-msgstr "Dohvaćam podatke o korisničkom računu..."
+msgstr "Preuzimam podatke o korisničkom računu..."
-#: src/publishing/PublishingUI.vala:128
+#: ../src/publishing/PublishingUI.vala:128
msgid "Logging in..."
msgstr "Prijava..."
-#: src/publishing/PublishingUI.vala:183
+#: ../src/publishing/PublishingUI.vala:191
msgid "Publish Photos"
msgstr "Objavi fotografije"
-#: src/publishing/PublishingUI.vala:184
+#: ../src/publishing/PublishingUI.vala:192
msgid "Publish photos _to:"
msgstr "Objavi fotografije _na:"
-#: src/publishing/PublishingUI.vala:186
+#: ../src/publishing/PublishingUI.vala:194
msgid "Publish Videos"
-msgstr "Objavi videe"
+msgstr "Objavi video snimke"
-#: src/publishing/PublishingUI.vala:187
+#: ../src/publishing/PublishingUI.vala:195
msgid "Publish videos _to"
-msgstr "Objavi video _na"
+msgstr "Objavi video snimke _na"
-#: src/publishing/PublishingUI.vala:189
+#: ../src/publishing/PublishingUI.vala:197
msgid "Publish Photos and Videos"
-msgstr "Objavi fotografije i video"
+msgstr "Objavi fotografije i video snimke"
-#: src/publishing/PublishingUI.vala:190
+#: ../src/publishing/PublishingUI.vala:198
msgid "Publish photos and videos _to"
-msgstr "Objavi fotografije i video _na"
+msgstr "Objavi fotografije i video snimke _na"
-#: src/publishing/PublishingUI.vala:383
+#: ../src/publishing/PublishingUI.vala:275
+msgid "Add more accounts..."
+msgstr "Dodaj više računa..."
+
+#. There are no enabled publishing services that accept this media type,
+#. warn the user.
+#: ../src/publishing/PublishingUI.vala:435
msgid "Unable to publish"
msgstr "Nije moguće objaviti"
-#: src/publishing/PublishingUI.vala:384
+#: ../src/publishing/PublishingUI.vala:436
#, c-format
msgid ""
"Shotwell cannot publish the selected items because you do not have a "
@@ -3657,908 +4396,376 @@ msgid ""
"Preferences</b> and enable one or more of the publishing plugins on the "
"<b>Plugins</b> tab."
msgstr ""
+"Shotwell ne može objaviti odabrane stavke jer nemate omogućen odgovarajući "
+"priključak. Kako bi ispravili ovo, odaberite <b>Uredi %s osobitosti</b> i "
+"omogućite jedan ili više priključaka za objavljivanje u kartici "
+"<b>Priključci</b>."
-#: src/publishing/PublishingPluginHost.vala:11
-msgid "Preparing for upload"
-msgstr "Priprema za slanje"
-
-#: src/publishing/PublishingPluginHost.vala:12
-#, c-format
-msgid "Uploading %d of %d"
-msgstr "Šaljem %d od %d"
-
-#: src/publishing/PublishingPluginHost.vala:81
-#, c-format
-msgid "Publishing to %s can't continue because an error occurred:"
-msgstr ""
-
-#: src/publishing/PublishingPluginHost.vala:84
-msgid "To try publishing to another service, select one from the above menu."
-msgstr "Za objavu na nekom drugom servisu izaberite ga iz menija."
-
-#: src/sidebar/Tree.vala:199
-msgid "New _Tag..."
-msgstr ""
-
-#: plugins/common/RESTSupport.vala:424
-#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:971
-msgid "A temporary file needed for publishing is unavailable"
-msgstr "Privremena datoteka, potrebna za objavu, nije dostupna."
-
-#: plugins/common/RESTSupport.vala:1138
-msgid ""
-"You have already logged in and out of a Google service during this Shotwell "
-"session.\n"
-"\n"
-"To continue publishing to Google services, quit and restart Shotwell, then "
-"try publishing again."
-msgstr ""
-
-#: plugins/shotwell-publishing/YouTubePublishing.vala:57
-msgid ""
-"You are not currently logged into YouTube.\n"
-"\n"
-"You must have already signed up for a Google account and set it up for use "
-"with YouTube to continue. You can set up most accounts by using your browser "
-"to log into the YouTube site at least once."
-msgstr ""
-"Trenutno niste prijavljeni u YouTube\n"
-"\n"
-"Za korištenje YouTube servisa morate imati Google korisnički račun koji je "
-"podešen za korištenje istog. Za podešavanje računa, prijavite se barem "
-"jednom na YouTube servis sa svojim Google korisničkim računom."
-
-#: plugins/shotwell-publishing/YouTubePublishing.vala:362
-msgid ""
-"A file required for publishing is unavailable. Publishing to Youtube can't "
-"continue."
-msgstr ""
-
-#: plugins/shotwell-publishing/YouTubePublishing.vala:461
-#, c-format
-msgid "You are logged into YouTube as %s."
-msgstr "Prijavljeni ste u YouTube kao %s."
-
-#: plugins/shotwell-publishing/YouTubePublishing.vala:463
-#, c-format
-msgid "Videos will appear in '%s'"
-msgstr "Videi će se prikazati u '%s'"
-
-#: plugins/shotwell-publishing/YouTubePublishing.vala:495
-msgid "Public listed"
-msgstr "Javno izlistan"
-
-#: plugins/shotwell-publishing/YouTubePublishing.vala:496
-msgid "Public unlisted"
-msgstr "Javno, ali bez izlista"
-
-#: plugins/shotwell-publishing/YouTubePublishing.vala:497
-msgid "Private"
-msgstr "Privatno"
-
-#: plugins/shotwell-publishing/shotwell-publishing.vala:26
-msgid "Core Publishing Services"
-msgstr "Core servisi za objavu"
-
-#: plugins/shotwell-publishing/FlickrPublishing.vala:61
-msgid ""
-"You are not currently logged into Flickr.\n"
-"\n"
-"Click Login to log into Flickr in your Web browser. You will have to "
-"authorize Shotwell Connect to link to your Flickr account."
-msgstr ""
-
-#: plugins/shotwell-publishing/FlickrPublishing.vala:63
-msgid ""
-"You have already logged in and out of Flickr during this Shotwell session.\n"
-"To continue publishing to Flickr, quit and restart Shotwell, then try "
-"publishing again."
-msgstr ""
-"Već ste se prijavili i odjavili s Flickr-a tjekom korištenja Shotwella.\n"
-" Za nastavak korištelja Flickr servisa, ponovno pokrenite Shotwell."
-
-#: plugins/shotwell-publishing/FlickrPublishing.vala:375
-msgid "Preparing for login..."
-msgstr ""
-
-#: plugins/shotwell-publishing/FlickrPublishing.vala:444
-#: plugins/shotwell-publishing/FlickrPublishing.vala:595
-msgid ""
-"A file required for publishing is unavailable. Publishing to Flickr can't "
-"continue."
-msgstr ""
-
-#: plugins/shotwell-publishing/FlickrPublishing.vala:457
-msgid "Verifying authorization..."
-msgstr ""
-
-#: plugins/shotwell-publishing/FlickrPublishing.vala:1153
-#, c-format
-msgid ""
-"You are logged into Flickr as %s.\n"
-"\n"
-msgstr ""
-"Prijavljeni ste u Flickr kao %s.\n"
-"\n"
-
-#: plugins/shotwell-publishing/FlickrPublishing.vala:1155
-#, c-format
-msgid ""
-"Your free Flickr account limits how much data you can upload per month.\n"
-"This month, you have %d megabytes remaining in your upload quota."
-msgstr ""
-"Vaš Flickr korisnički račun ima mjesečno ograničenje količine fotografija "
-"koje možete poslati.\n"
-" Ovaj mjesec vam je preostalo %d Mb za korištenje."
-
-#: plugins/shotwell-publishing/FlickrPublishing.vala:1157
-msgid "Your Flickr Pro account entitles you to unlimited uploads."
-msgstr "Vaš Flickr Pro korisnički račun nema ograničenja."
-
-#: plugins/shotwell-publishing/FlickrPublishing.vala:1162
-msgid "Photos _visible to:"
-msgstr "Fotografije _vidljive:"
-
-#: plugins/shotwell-publishing/FlickrPublishing.vala:1164
-msgid "Videos _visible to:"
-msgstr "Video zapisi _vidljivi:"
-
-#: plugins/shotwell-publishing/FlickrPublishing.vala:1167
-msgid "Photos and videos _visible to:"
-msgstr "Fotografije i video zapisi _vidljivi:"
-
-#: plugins/shotwell-publishing/FlickrPublishing.vala:1207
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1234
-#: plugins/shotwell-publishing/FacebookPublishing.vala:1182
-msgid "Everyone"
-msgstr "Svima"
-
-#: plugins/shotwell-publishing/FlickrPublishing.vala:1208
-msgid "Friends & family only"
-msgstr "Samo prijatelji i obitelj."
-
-#: plugins/shotwell-publishing/FlickrPublishing.vala:1209
-msgid "Family only"
-msgstr ""
-
-#: plugins/shotwell-publishing/FlickrPublishing.vala:1210
-msgid "Friends only"
-msgstr ""
-
-#: plugins/shotwell-publishing/FlickrPublishing.vala:1211
-#: plugins/shotwell-publishing/FacebookPublishing.vala:1180
-msgid "Just me"
-msgstr "Samo meni"
-
-#: plugins/shotwell-publishing/FlickrPublishing.vala:1229
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1246
-#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:107
-msgid "500 x 375 pixels"
-msgstr "500 x 375 piksela"
-
-#: plugins/shotwell-publishing/FlickrPublishing.vala:1230
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1247
-#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:108
-msgid "1024 x 768 pixels"
-msgstr "1024 x 768 piksela"
-
-#: plugins/shotwell-publishing/FlickrPublishing.vala:1231
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1248
-msgid "2048 x 1536 pixels"
-msgstr "2048 x 1536 piksela"
-
-#: plugins/shotwell-publishing/FlickrPublishing.vala:1232
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1249
-msgid "4096 x 3072 pixels"
-msgstr "4096 x 3072 piksela"
-
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:746
-#, c-format
-msgid "Creating album %s..."
-msgstr ""
-
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:917
-msgid "An error message occurred when publishing to Piwigo. Please try again."
-msgstr ""
-
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:998
-msgid ""
-"Enter the URL of your Piwigo photo library as well as the username and "
-"password associated with your Piwigo account for that library."
-msgstr ""
-
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:999
-msgid ""
-"Shotwell cannot contact your Piwigo photo library. Please verify the URL you "
-"entered"
-msgstr ""
-
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1000
-#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:590
-msgid "Username and/or password invalid. Please try again"
-msgstr ""
-
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1032
-#, c-format
-msgid "Invalid URL"
-msgstr ""
-
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1037
-#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:620
-#, c-format
-msgid "Invalid User Name or Password"
-msgstr ""
-
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1127
-#: plugins/shotwell-publishing/PicasaPublishing.vala:59
-#: plugins/shotwell-publishing/FacebookPublishing.vala:61
-msgid "Shotwell Connect"
-msgstr "Shotwell Connect"
-
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1235
-msgid "Admins, Family, Friends, Contacts"
-msgstr ""
-
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1236
-msgid "Admins, Family, Friends"
-msgstr ""
-
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1237
-msgid "Admins, Family"
-msgstr ""
+#: ../src/searches/Branch.vala:68
+msgid "Saved Searches"
+msgstr "Spremljene pretrage"
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1238
-msgid "Admins"
-msgstr ""
+#. Ordering must correspond with SearchConditionText.Context
+#: ../src/searches/SavedSearchDialog.vala:169
+msgid "contains"
+msgstr "sadrži"
-#: plugins/shotwell-publishing/PicasaPublishing.vala:58
-msgid ""
-"You are not currently logged into Picasa Web Albums.\n"
-"\n"
-"Click Login to log into Picasa Web Albums in your Web browser. You will have "
-"to authorize Shotwell Connect to link to your Picasa Web Albums account."
-msgstr ""
+#. Ordering must correspond with Context
+#: ../src/searches/SavedSearchDialog.vala:170
+#: ../src/searches/SavedSearchDialog.vala:497
+msgid "is exactly"
+msgstr "je točno"
-#: plugins/shotwell-publishing/PicasaPublishing.vala:361
-msgid ""
-"A file required for publishing is unavailable. Publishing to Picasa can't "
-"continue."
-msgstr ""
+#: ../src/searches/SavedSearchDialog.vala:171
+msgid "starts with"
+msgstr "počinje sa"
-#: plugins/shotwell-publishing/PicasaPublishing.vala:379
-#: plugins/shotwell-publishing/FacebookPublishing.vala:347
-msgid "Creating album..."
-msgstr "Kreiranje albuma..."
+#: ../src/searches/SavedSearchDialog.vala:172
+msgid "ends with"
+msgstr "završava s"
-#: plugins/shotwell-publishing/PicasaPublishing.vala:659
-#, c-format
-msgid "You are logged into Picasa Web Albums as %s."
-msgstr "Prijavljeni ste u Picasa Web album kao %s."
+#: ../src/searches/SavedSearchDialog.vala:173
+msgid "does not contain"
+msgstr "ne sadrži"
-#: plugins/shotwell-publishing/PicasaPublishing.vala:665
-msgid "Videos will appear in:"
-msgstr "Videi će se vidjeti u:"
+#: ../src/searches/SavedSearchDialog.vala:174
+#: ../src/searches/SavedSearchDialog.vala:501
+msgid "is not set"
+msgstr "nije postavljeno"
-#: plugins/shotwell-publishing/PicasaPublishing.vala:670
-msgid "Photos will appear in:"
-msgstr "Fotografije će biti postavljene u:"
+#. Ordering must correspond with SearchConditionMediaType.Context
+#: ../src/searches/SavedSearchDialog.vala:245
+#: ../src/searches/SavedSearchDialog.vala:376
+#: ../src/searches/SavedSearchDialog.vala:441
+msgid "is"
+msgstr "."
-#: plugins/shotwell-publishing/PicasaPublishing.vala:746
-msgid "Small (640 x 480 pixels)"
-msgstr "Mala ( 640 x 480 piksela)"
+#: ../src/searches/SavedSearchDialog.vala:246
+msgid "is not"
+msgstr "nije"
-#: plugins/shotwell-publishing/PicasaPublishing.vala:747
-msgid "Medium (1024 x 768 pixels)"
-msgstr "Srednje (1024 x 768 piksela)"
+#. Ordering must correspond with SearchConditionMediaType.MediaType
+#: ../src/searches/SavedSearchDialog.vala:252
+msgid "any photo"
+msgstr "bilo koja fotografija"
-#: plugins/shotwell-publishing/PicasaPublishing.vala:748
-msgid "Recommended (1600 x 1200 pixels)"
-msgstr "Preporučeno ( 1600 x 1200 piksela )"
+#: ../src/searches/SavedSearchDialog.vala:253
+msgid "a raw photo"
+msgstr "raw fotografija"
-#: plugins/shotwell-publishing/PicasaPublishing.vala:749
-msgid "Google+ (2048 x 1536 pixels)"
-msgstr ""
+#: ../src/searches/SavedSearchDialog.vala:254
+msgid "a video"
+msgstr "video snimka"
-#: plugins/shotwell-publishing/FacebookPublishing.vala:63
-msgid ""
-"You are not currently logged into Facebook.\n"
-"\n"
-"If you don't yet have a Facebook account, you can create one during the "
-"login process. During login, Shotwell Connect may ask you for permission to "
-"upload photos and publish to your feed. These permissions are required for "
-"Shotwell Connect to function."
-msgstr ""
-"Trenutno niste prijavljenu u Facebook.\n"
-"\n"
-"Ukoliko nemafe Facebook korisnički račun možete ga kreirati kroz proces "
-"prijave. Kod prijave, Shotwell Connect vas može tražiti dopuštenja za slanje "
-"fotografija i objavu u vašim Novostima. Ta dopuštenja su nužna za "
-"funkcioniranje Shotwell Connect-a."
+#: ../src/searches/SavedSearchDialog.vala:308
+msgid "has"
+msgstr "ima"
-#: plugins/shotwell-publishing/FacebookPublishing.vala:65
-msgid ""
-"You have already logged in and out of Facebook during this Shotwell "
-"session.\n"
-"To continue publishing to Facebook, quit and restart Shotwell, then try "
-"publishing again."
-msgstr ""
-"Već ste se prijavili i odjavili sa Facebook-a u tjekom korištenja Shotwell-"
-"a.\n"
-" Za nastavak objave na Facebook, ponovno pokrenite Shotwell."
+#: ../src/searches/SavedSearchDialog.vala:309
+msgid "has no"
+msgstr "nema"
-#: plugins/shotwell-publishing/FacebookPublishing.vala:86
-msgid "Standard (720 pixels)"
-msgstr "Standardno ( 720 piksela )"
+#: ../src/searches/SavedSearchDialog.vala:314
+msgid "modifications"
+msgstr "promjene"
-#: plugins/shotwell-publishing/FacebookPublishing.vala:89
-msgid "Large (2048 pixels)"
-msgstr "Veliko ( 2048 piksela )"
+#: ../src/searches/SavedSearchDialog.vala:315
+msgid "internal modifications"
+msgstr "unutrašnje promjene"
-#: plugins/shotwell-publishing/FacebookPublishing.vala:254
-msgid "Testing connection to Facebook..."
-msgstr "Provjera spajanja na Facebook..."
+#: ../src/searches/SavedSearchDialog.vala:316
+msgid "external modifications"
+msgstr "vanjske promjene"
-#: plugins/shotwell-publishing/FacebookPublishing.vala:374
-msgid ""
-"A file required for publishing is unavailable. Publishing to Facebook can't "
-"continue."
-msgstr ""
+#. Ordering must correspond with SearchConditionFlagged.State
+#: ../src/searches/SavedSearchDialog.vala:370
+msgid "flagged"
+msgstr "sa zastavicom"
-#: plugins/shotwell-publishing/FacebookPublishing.vala:1019
-#, c-format
-msgid ""
-"You are logged into Facebook as %s.\n"
-"\n"
-msgstr ""
-"Prijavljeni ste u Facebook kao %s.\n"
-"\n"
+#: ../src/searches/SavedSearchDialog.vala:371
+msgid "not flagged"
+msgstr "bez zastavice"
-#: plugins/shotwell-publishing/FacebookPublishing.vala:1020
-msgid "Where would you like to publish the selected photos?"
-msgstr "Želite li objaviti izabrane fotografije?"
+#: ../src/searches/SavedSearchDialog.vala:434
+msgid "and higher"
+msgstr "i više"
-#: plugins/shotwell-publishing/FacebookPublishing.vala:1021
-msgid "Upload _size:"
-msgstr "Veličina uploada:"
+#: ../src/searches/SavedSearchDialog.vala:435
+msgid "only"
+msgstr "samo"
-#: plugins/shotwell-publishing/FacebookPublishing.vala:1181
-msgid "Friends"
-msgstr ""
+#: ../src/searches/SavedSearchDialog.vala:436
+msgid "and lower"
+msgstr "i niže"
-#: plugins/shotwell-transitions/CrumbleEffect.vala:20
-msgid "Crumble"
-msgstr "Raspadanje"
+#: ../src/searches/SavedSearchDialog.vala:498
+msgid "is after"
+msgstr "je nakon"
-#: plugins/shotwell-transitions/ChessEffect.vala:20
-msgid "Chess"
-msgstr ""
+#: ../src/searches/SavedSearchDialog.vala:499
+msgid "is before"
+msgstr "je prije"
-#: plugins/shotwell-transitions/CirclesEffect.vala:20
-msgid "Circles"
-msgstr ""
+#: ../src/searches/SavedSearchDialog.vala:500
+msgid "is between"
+msgstr "je između"
-#: plugins/shotwell-transitions/BlindsEffect.vala:20
-msgid "Blinds"
-msgstr ""
+#: ../src/searches/SavedSearchDialog.vala:513
+msgid "and"
+msgstr "i"
-#: plugins/shotwell-transitions/StripesEffect.vala:20
-msgid "Stripes"
-msgstr ""
+#: ../src/searches/SavedSearchDialog.vala:720
+msgid "any"
+msgstr "bilo koje"
-#: plugins/shotwell-transitions/ClockEffect.vala:20
-msgid "Clock"
-msgstr ""
+#: ../src/searches/SavedSearchDialog.vala:721
+msgid "all"
+msgstr "sve"
-#: plugins/shotwell-transitions/CircleEffect.vala:20
-msgid "Circle"
-msgstr ""
+#: ../src/searches/SavedSearchDialog.vala:722
+msgid "none"
+msgstr "nijedan"
-#: plugins/shotwell-transitions/shotwell-transitions.vala:28
-msgid "Core Slideshow Transitions"
-msgstr "Core prezentacijski prijelazi"
+#: ../src/searches/SearchBoolean.vala:157
+msgid "Any text"
+msgstr "Bilo koji tekst"
-#: plugins/shotwell-transitions/shotwell-transitions.vala:75
-msgid "Copyright 2010 Maxim Kartashev, Copyright 2011-2013 Yorba Foundation"
-msgstr ""
+#: ../src/searches/SearchBoolean.vala:160
+msgid "Title"
+msgstr "Naslov"
-#: plugins/shotwell-transitions/SlideEffect.vala:20
-msgid "Slide"
-msgstr "Prezentacija"
+#: ../src/searches/SearchBoolean.vala:163
+msgid "Tag"
+msgstr "Oznaka"
-#: plugins/shotwell-transitions/FadeEffect.vala:20
-msgid "Fade"
-msgstr "Izbljeđivanje"
+#: ../src/searches/SearchBoolean.vala:166
+msgid "Comment"
+msgstr "Komentar"
-#: plugins/shotwell-transitions/SquaresEffect.vala:20
-msgid "Squares"
-msgstr ""
+#: ../src/searches/SearchBoolean.vala:169
+msgid "Event name"
+msgstr "Naziv događaja"
-#: plugins/shotwell-data-imports/shotwell-data-imports.vala:22
-msgid "Core Data Import Services"
-msgstr ""
+#: ../src/searches/SearchBoolean.vala:172
+msgid "File name"
+msgstr "Ime datoteke"
-#: plugins/shotwell-data-imports/FSpotImporter.vala:56
-msgid ""
-"Welcome to the F-Spot library import service.\n"
-"\n"
-"Please select a library to import, either by selecting one of the existing "
-"libraries found by Shotwell or by selecting an alternative F-Spot database "
-"file."
-msgstr ""
+#: ../src/searches/SearchBoolean.vala:175
+msgid "Media type"
+msgstr "Vrsta medija"
-#: plugins/shotwell-data-imports/FSpotImporter.vala:58
-msgid ""
-"Welcome to the F-Spot library import service.\n"
-"\n"
-"Please select an F-Spot database file."
-msgstr ""
+#: ../src/searches/SearchBoolean.vala:178
+msgid "Flag state"
+msgstr "Stanje zastavice"
-#: plugins/shotwell-data-imports/FSpotImporter.vala:60
-msgid "Manually select an F-Spot database file to import:"
-msgstr ""
+#: ../src/searches/SearchBoolean.vala:181
+msgid "Photo state"
+msgstr "Stanje fotografije"
-#: plugins/shotwell-data-imports/FSpotImporter.vala:62
-msgid ""
-"Cannot open the selected F-Spot database file: the file does not exist or is "
-"not an F-Spot database"
-msgstr ""
+#: ../src/searches/SearchBoolean.vala:187
+msgid "Date"
+msgstr "Datum"
-#: plugins/shotwell-data-imports/FSpotImporter.vala:64
-msgid ""
-"Cannot open the selected F-Spot database file: this version of the F-Spot "
-"database is not supported by Shotwell"
-msgstr ""
+#: ../src/sidebar/Tree.vala:199
+msgid "New _Tag..."
+msgstr "Nova _oznaka..."
-#: plugins/shotwell-data-imports/FSpotImporter.vala:66
-msgid ""
-"Cannot read the selected F-Spot database file: error while reading tags table"
-msgstr ""
+#: ../src/slideshow/Slideshow.vala:22
+msgid "Slideshow Transitions"
+msgstr "Prijelazi prezentacije"
-#: plugins/shotwell-data-imports/FSpotImporter.vala:68
-msgid ""
-"Cannot read the selected F-Spot database file: error while reading photos "
-"table"
-msgstr ""
+#: ../src/slideshow/TransitionEffects.vala:98
+msgid "(None)"
+msgstr "(nema)"
-#: plugins/shotwell-data-imports/FSpotImporter.vala:70
-#, c-format
-msgid ""
-"Shotwell has found %d photos in the F-Spot library and is currently "
-"importing them. Duplicates will be automatically detected and removed.\n"
-"\n"
-"You can close this dialog and start using Shotwell while the import is "
-"taking place in the background."
-msgstr ""
+#: ../src/slideshow/TransitionEffects.vala:287
+msgid "None"
+msgstr "Nema"
-#: plugins/shotwell-data-imports/FSpotImporter.vala:84
-#, c-format
-msgid "F-Spot library: %s"
-msgstr ""
+#: ../src/slideshow/TransitionEffects.vala:339
+msgid "Random"
+msgstr "Naizmjenično"
-#: plugins/shotwell-data-imports/FSpotImporter.vala:416
-msgid "Preparing to import"
-msgstr ""
+#: ../src/tags/Branch.vala:127
+msgid "Tags"
+msgstr "Oznake"
-#: ui/set_background_dialog.glade:14
+#: ../ui/set_background_dialog.glade.h:1
msgid "Set as Desktop Slideshow"
msgstr "Postavi kao prezentaciju na radnu površinu"
-#: ui/set_background_dialog.glade:55
+#: ../ui/set_background_dialog.glade.h:2
msgid "Generate desktop background slideshow"
-msgstr "Izradi prezentaciju za pozadinu radne površine."
+msgstr "Generiraj prezentaciju za pozadinu radne površine"
-#: ui/set_background_dialog.glade:82
+#: ../ui/set_background_dialog.glade.h:3
msgid "Show each photo for"
msgstr "Prikaži svaku fotografiju na"
-#: ui/set_background_dialog.glade:94
+#: ../ui/set_background_dialog.glade.h:4
msgid "period of time"
msgstr "vremenski period"
-#: ui/set_background_dialog.glade:116
+#: ../ui/set_background_dialog.glade.h:5
msgid "How long each photo is shown on the desktop background"
msgstr "Koliko je pojedinačna fotografija prikazana na radnoj površini"
-#: ui/shotwell.glade:7
+#: ../ui/shotwell.glade.h:1
msgid "Search"
msgstr "Pretraga"
-#: ui/shotwell.glade:47
+#: ../ui/shotwell.glade.h:2
msgid "_Name of search:"
-msgstr ""
+msgstr "_Ime pretrage:"
-#: ui/shotwell.glade:108
+#: ../ui/shotwell.glade.h:3
msgid "_Match"
-msgstr ""
+msgstr "_Podudara se"
-#: ui/shotwell.glade:137
+#: ../ui/shotwell.glade.h:4
msgid "of the following:"
msgstr "od sljedećih:"
-#: ui/shotwell.glade:218
+#: ../ui/shotwell.glade.h:5
msgid "<b>Printed Image Size</b>"
-msgstr ""
+msgstr "<b>Veličina ispisa slike</b>"
-#: ui/shotwell.glade:235
+#: ../ui/shotwell.glade.h:6
msgid "Use a _standard size:"
msgstr "Koristi _standardnu veličinu:"
-#: ui/shotwell.glade:278
+#: ../ui/shotwell.glade.h:7
msgid "Use a c_ustom size:"
msgstr "Koristi korisnički definiranu veličinu:"
-#: ui/shotwell.glade:368
+#: ../ui/shotwell.glade.h:8
msgid "_Match photo aspect ratio"
msgstr "_Uskladi omjer fotografije"
-#: ui/shotwell.glade:392
+#: ../ui/shotwell.glade.h:9
msgid "_Autosize:"
msgstr "_Automatska veličina:"
-#: ui/shotwell.glade:432
+#: ../ui/shotwell.glade.h:10
msgid "<b>Titles</b>"
-msgstr ""
+msgstr "<b>Naslovi</b>"
-#: ui/shotwell.glade:449
+#: ../ui/shotwell.glade.h:11
msgid "Print image _title"
msgstr "Ispiši naslov slike"
-#: ui/shotwell.glade:493
+#: ../ui/shotwell.glade.h:12
msgid "<b>Pixel Resolution</b>"
-msgstr ""
+msgstr "<b>Razlučivost u pikselima</b>"
-#: ui/shotwell.glade:513
+#: ../ui/shotwell.glade.h:13
msgid "_Output photo at:"
msgstr "_Izlaz slike na:"
-#: ui/shotwell.glade:548
+#: ../ui/shotwell.glade.h:14
msgid "pixels per inch"
msgstr "piksela po inču"
-#: ui/shotwell.glade:581 ui/shotwell.glade:623
-#: plugins/shotwell-publishing/piwigo_authentication_pane.glade:27
-#: plugins/shotwell-publishing-extras/tumblr_authentication_pane.glade:27
-msgid "label"
-msgstr "label"
-
-#: ui/shotwell.glade:719
+#: ../ui/shotwell.glade.h:16
msgid "Shotwell Preferences"
-msgstr "Shotwell postavke"
+msgstr "Shotwell osobitosti"
-#: ui/shotwell.glade:796
+#: ../ui/shotwell.glade.h:17
msgid "white"
msgstr "bijela"
-#: ui/shotwell.glade:823
+#: ../ui/shotwell.glade.h:18
msgid "black"
msgstr "crna"
-#: ui/shotwell.glade:871
+#: ../ui/shotwell.glade.h:20
msgid "_Watch library directory for new files"
-msgstr "_Prati nove otografije u direktoriju biblioteke "
+msgstr "_Nadziri mapu fototeke za novim datotekama"
-#: ui/shotwell.glade:900
+#: ../ui/shotwell.glade.h:21
msgid "Metadata"
msgstr "Meta podaci"
-#: ui/shotwell.glade:920
+#: ../ui/shotwell.glade.h:22
msgid "Write tags, titles, and other _metadata to photo files"
msgstr "Zapiši oznake, naslove i ostale _metapodatke u fotografije"
-#: ui/shotwell.glade:946
+#: ../ui/shotwell.glade.h:23
msgid "Display"
msgstr "Prikaz"
-#: ui/shotwell.glade:967
+#: ../ui/shotwell.glade.h:24
msgid "_Import photos to:"
msgstr "_Uvoz fotografija u:"
-#: ui/shotwell.glade:990
+#: ../ui/shotwell.glade.h:25
msgid "_Background:"
msgstr "Pozadina:"
-#: ui/shotwell.glade:1013
+#: ../ui/shotwell.glade.h:26
msgid "Importing"
msgstr "Uvoz"
-#: ui/shotwell.glade:1036
+#: ../ui/shotwell.glade.h:27
msgid "_Directory structure:"
msgstr "_Struktura direktorija:"
-#: ui/shotwell.glade:1075
+#: ../ui/shotwell.glade.h:28
msgid "_Pattern:"
msgstr "_Uzorak:"
-#: ui/shotwell.glade:1157
+#: ../ui/shotwell.glade.h:29
msgid "Example:"
msgstr "Primjer:"
-#: ui/shotwell.glade:1174
+#: ../ui/shotwell.glade.h:30
msgid "R_ename imported files to lowercase"
msgstr "P_reimenuj uvezene datoteke u mala slova"
-#: ui/shotwell.glade:1203
+#: ../ui/shotwell.glade.h:31
msgid "RAW Developer"
-msgstr ""
+msgstr "RAW razvijatelj"
-#: ui/shotwell.glade:1238
+#: ../ui/shotwell.glade.h:32
msgid "De_fault:"
-msgstr ""
+msgstr "_Uobičajeno:"
-#: ui/shotwell.glade:1292
+#: ../ui/shotwell.glade.h:34
msgid "E_xternal photo editor:"
msgstr "Vanjs_ki uređivač fotografija:"
-#: ui/shotwell.glade:1308
+#: ../ui/shotwell.glade.h:35
msgid "External _RAW editor:"
msgstr "Vanjski uređivač _RAW datoteka:"
-#: ui/shotwell.glade:1373
+#: ../ui/shotwell.glade.h:36
msgid "External Editors"
msgstr "Vanjski uređivači"
-#: ui/shotwell.glade:1400
+#: ../ui/shotwell.glade.h:37
msgid "Plugins"
msgstr "Priključci"
-#: ui/shotwell.glade:1469
+#: ../ui/shotwell.glade.h:38
msgid "_Delay:"
msgstr "_Odgoda:"
-#: ui/shotwell.glade:1485
+#: ../ui/shotwell.glade.h:39
msgid "_Transition effect:"
msgstr "Efekt _prijelaza:"
-#: ui/shotwell.glade:1501
+#: ../ui/shotwell.glade.h:40
msgid "Transition d_elay:"
msgstr "O_dgoda prijelaza:"
-#: ui/shotwell.glade:1513
+#: ../ui/shotwell.glade.h:41
msgid "Show t_itle"
-msgstr ""
+msgstr "Prikaži n_aslov"
-#: ui/shotwell.glade:1603 ui/shotwell.glade:1616
+#: ../ui/shotwell.glade.h:42
msgid "seconds"
msgstr "sekundi"
-#: ui/shotwell.glade:1696
+#: ../ui/shotwell.glade.h:43
msgid "_Login"
msgstr "_Prijava"
-
-#: plugins/shotwell-publishing/facebook_publishing_options_pane.glade:21
-msgid ""
-" (text depends on fb username and is modified in the app - \n"
-"anything put into this field won't display)"
-msgstr ""
-
-#: plugins/shotwell-publishing/facebook_publishing_options_pane.glade:39
-msgid "Publish to an e_xisting album:"
-msgstr "Objavi u _postojeći album:"
-
-#: plugins/shotwell-publishing/facebook_publishing_options_pane.glade:57
-msgid "Create a _new album named:"
-msgstr "Kreiraj _novi album"
-
-#: plugins/shotwell-publishing/facebook_publishing_options_pane.glade:139
-msgid "Videos and new photo albums _visible to:"
-msgstr "Video i novi albumi s fotografijama su vidljivi:"
-
-#: plugins/shotwell-publishing/facebook_publishing_options_pane.glade:175
-#: plugins/shotwell-publishing/flickr_publishing_options_pane.glade:102
-#: plugins/shotwell-publishing/picasa_publishing_options_pane.glade:178
-#: plugins/shotwell-publishing/piwigo_publishing_options_pane.glade:226
-msgid ""
-"_Remove location, camera, and other identifying information before uploading"
-msgstr ""
-
-#: plugins/shotwell-publishing/facebook_publishing_options_pane.glade:197
-#: plugins/shotwell-publishing/flickr_publishing_options_pane.glade:137
-#: plugins/shotwell-publishing/picasa_publishing_options_pane.glade:229
-#: plugins/shotwell-publishing/youtube_publishing_options_pane.glade:99
-#: plugins/shotwell-publishing-extras/tumblr_publishing_options_pane.glade:116
-#: plugins/shotwell-publishing-extras/yandex_publish_model.glade:115
-msgid "_Logout"
-msgstr "_Odjava"
-
-#: plugins/shotwell-publishing/facebook_publishing_options_pane.glade:212
-#: plugins/shotwell-publishing/flickr_publishing_options_pane.glade:153
-#: plugins/shotwell-publishing/picasa_publishing_options_pane.glade:243
-#: plugins/shotwell-publishing/youtube_publishing_options_pane.glade:115
-#: plugins/shotwell-publishing-extras/tumblr_publishing_options_pane.glade:134
-#: plugins/shotwell-publishing-extras/yandex_publish_model.glade:129
-msgid "_Publish"
-msgstr "O_bjavi"
-
-#: plugins/shotwell-publishing/flickr_pin_entry_pane.glade:16
-msgid ""
-"Enter the confirmation number which appears after you log into Flickr in "
-"your Web browser."
-msgstr ""
-
-#: plugins/shotwell-publishing/flickr_pin_entry_pane.glade:37
-msgid "Authorization _Number:"
-msgstr ""
-
-#: plugins/shotwell-publishing/flickr_publishing_options_pane.glade:19
-msgid ""
-"You are logged into Flickr as (name).\n"
-"\n"
-"(this label's string is populated and set inside the code, \n"
-"so changes made here will not display)"
-msgstr ""
-
-#: plugins/shotwell-publishing/flickr_publishing_options_pane.glade:44
-msgid "_visibility label (populated in the code)"
-msgstr ""
-
-#: plugins/shotwell-publishing/flickr_publishing_options_pane.glade:61
-#: plugins/shotwell-publishing-extras/tumblr_publishing_options_pane.glade:60
-msgid "Photo _size:"
-msgstr "_Veličina fotografija:"
-
-#: plugins/shotwell-publishing/picasa_publishing_options_pane.glade:18
-msgid ""
-"'you are logged in as $name'\n"
-"(populated in the application code)"
-msgstr ""
-
-#: plugins/shotwell-publishing/picasa_publishing_options_pane.glade:75
-msgid "An _existing album:"
-msgstr "_Postojeći album:"
-
-#: plugins/shotwell-publishing/picasa_publishing_options_pane.glade:94
-#: plugins/shotwell-publishing/piwigo_publishing_options_pane.glade:52
-msgid "A _new album named:"
-msgstr "_Novom albumu imena:"
-
-#: plugins/shotwell-publishing/picasa_publishing_options_pane.glade:113
-msgid "L_ist album in public gallery"
-msgstr "Prikaži album u _javnoj galeriji"
-
-#: plugins/shotwell-publishing/picasa_publishing_options_pane.glade:134
-msgid ""
-"$mediatype will appear in\n"
-"(populated in code)"
-msgstr ""
-
-#: plugins/shotwell-publishing/picasa_publishing_options_pane.glade:150
-msgid "Photo _size preset:"
-msgstr "Predodređene veličine fotografija:"
-
-#: plugins/shotwell-publishing/piwigo_authentication_pane.glade:49
-msgid "_URL of your Piwigo photo library"
-msgstr "_URL vaše Piwigo slikovne biblioteke"
-
-#: plugins/shotwell-publishing/piwigo_authentication_pane.glade:59
-msgid "User _name"
-msgstr "Korisničko _ime"
-
-#: plugins/shotwell-publishing/piwigo_authentication_pane.glade:73
-#: plugins/shotwell-publishing-extras/tumblr_authentication_pane.glade:59
-msgid "_Password"
-msgstr "_Lozinka"
-
-#: plugins/shotwell-publishing/piwigo_authentication_pane.glade:130
-msgid "_Remember Password"
-msgstr "_Zapamti lozinku"
-
-#: plugins/shotwell-publishing/piwigo_authentication_pane.glade:151
-#: plugins/shotwell-publishing-extras/tumblr_authentication_pane.glade:107
-msgid "Login"
-msgstr "Prijava"
-
-#: plugins/shotwell-publishing/piwigo_publishing_options_pane.glade:40
-msgid "An _existing category:"
-msgstr "_Postojećoj kategoriji:"
-
-#: plugins/shotwell-publishing/piwigo_publishing_options_pane.glade:121
-msgid "Photos will be _visible by:"
-msgstr "Fotografije će biti vidljive:"
-
-#: plugins/shotwell-publishing/piwigo_publishing_options_pane.glade:149
-msgid "Photo size:"
-msgstr ""
-
-#: plugins/shotwell-publishing/piwigo_publishing_options_pane.glade:176
-msgid "within category:"
-msgstr ""
-
-#: plugins/shotwell-publishing/piwigo_publishing_options_pane.glade:210
-msgid "Album comment:"
-msgstr ""
-
-#: plugins/shotwell-publishing/piwigo_publishing_options_pane.glade:242
-msgid "_If a title is set and comment unset, use title as comment"
-msgstr ""
-
-#: plugins/shotwell-publishing/piwigo_publishing_options_pane.glade:258
-msgid "_Do no upload tags"
-msgstr ""
-
-#: plugins/shotwell-publishing/piwigo_publishing_options_pane.glade:278
-msgid "Logout"
-msgstr "Odjava"
-
-#: plugins/shotwell-publishing/youtube_publishing_options_pane.glade:55
-msgid "Video privacy _setting:"
-msgstr "Postavke _privatnosti za video:"
-
-#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:38
-msgid "Copyright 2012 BJA Electronics"
-msgstr ""
-
-#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:109
-msgid "1280 x 853 pixels"
-msgstr ""
-
-#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:313
-#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:323
-#, c-format
-msgid "'%s' isn't a valid response to an OAuth authentication request"
-msgstr ""
-
-#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:561
-msgid ""
-"TumblrPublisher: start( ): can't start; this publisher is not restartable."
-msgstr ""
-
-#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:589
-msgid "Enter the username and password associated with your Tumblr account."
-msgstr ""
-
-#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:639
-#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:760
-#, c-format
-msgid "Could not load UI: %s"
-msgstr ""
-
-#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:742
-#, c-format
-msgid ""
-"You are logged into Tumblr as %s.\n"
-"\n"
-msgstr ""
-
-#: plugins/shotwell-publishing-extras/YandexPublishing.vala:24
-msgid "Copyright 2010+ Evgeniy Polyakov <zbr@ioremap.net>"
-msgstr "Sva prava pridržana 2010+ Evgeniy Polyakov <zbr@ioremap.net>"
-
-#: plugins/shotwell-publishing-extras/YandexPublishing.vala:27
-msgid "Visit the Yandex.Fotki web site"
-msgstr "Posjeti Yandex.Fotki internet stranicu"
-
-#: plugins/shotwell-publishing-extras/YandexPublishing.vala:635
-msgid "You are not currently logged into Yandex.Fotki."
-msgstr "Trenutno niste prijavljeni u Yandex.Fotki."
-
-#: plugins/shotwell-publishing-extras/tumblr_authentication_pane.glade:49
-msgid "_Email address"
-msgstr ""
-
-#: plugins/shotwell-publishing-extras/tumblr_publishing_options_pane.glade:19
-msgid ""
-"You are logged into Tumblr as (name).\n"
-"\n"
-"(this label's string is populated and set inside the code, \n"
-"so changes made here will not display)"
-msgstr ""
-
-#: plugins/shotwell-publishing-extras/tumblr_publishing_options_pane.glade:43
-msgid "Blogs:"
-msgstr ""
-
-#: plugins/shotwell-publishing-extras/yandex_publish_model.glade:24
-msgid "_Albums (or write new):"
-msgstr "_Albumi ( ili napravi novi):"
-
-#: plugins/shotwell-publishing-extras/yandex_publish_model.glade:38
-msgid "Access _type:"
-msgstr "Način pristu_pa:"
-
-#: plugins/shotwell-publishing-extras/yandex_publish_model.glade:81
-msgid "Disable _comments"
-msgstr "Onemogući komentare"
-
-#: plugins/shotwell-publishing-extras/yandex_publish_model.glade:96
-msgid "_Forbid downloading original photo"
-msgstr "Zabrani skidanje orginalne fotografije"
diff --git a/po/hu.gmo b/po/hu.gmo
index 73bc071..7c65a94 100644
--- a/po/hu.gmo
+++ b/po/hu.gmo
Binary files differ
diff --git a/po/hu.po b/po/hu.po
index 5cd5aa5..da07e37 100644
--- a/po/hu.po
+++ b/po/hu.po
@@ -12,20 +12,22 @@ msgstr ""
"Project-Id-Version: shotwell master\n"
"Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?"
"product=shotwell&keywords=I18N+L10N&component=Internationalization\n"
-"POT-Creation-Date: 2016-10-09 18:03+0000\n"
-"PO-Revision-Date: 2016-10-10 17:09+0200\n"
-"Last-Translator: Meskó Balázs <meskobalazs@gmail.com>\n"
+"POT-Creation-Date: 2016-11-20 22:19+0000\n"
+"PO-Revision-Date: 2016-11-23 00:14+0100\n"
+"Last-Translator: Gabor Kelemen <kelemeng at ubuntu dot com>\n"
"Language-Team: Hungarian <openscope at googlegroups dot com>\n"
"Language: hu\n"
"MIME-Version: 1.0\n"
"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: Lokalize 1.5\n"
#: misc/shotwell.appdata.xml.in:8 misc/shotwell.desktop.in.in:4
#: plugins/shotwell-publishing-extras/GalleryConnector.vala:115
-#: src/MediaPage.vala:435 src/photos/RawSupport.vala:300
+#: src/photos/RawSupport.vala:300 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
msgid "Shotwell"
msgstr "Shotwell"
@@ -1354,7 +1356,7 @@ msgstr ""
msgid "Visit the Shotwell home page"
msgstr "A Shotwell weboldalának meglátogatása"
-#: plugins/common/Resources.vala:31 src/AppWindow.vala:679
+#: plugins/common/Resources.vala:31 src/AppWindow.vala:602
msgid "translator-credits"
msgstr ""
"Peter Bojtos <ptr at ulx dot hu>\n"
@@ -1434,7 +1436,7 @@ msgstr ""
"dátumot a számítógépe naptárában."
#: plugins/common/RESTSupport.vala:509
-#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:958
+#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:959
msgid "A temporary file needed for publishing is unavailable"
msgstr "A közzétételhez szükséges ideiglenes fájl nem érhető el"
@@ -1554,7 +1556,7 @@ msgstr "_Vissza"
#: plugins/shotwell-publishing-extras/gallery3_authentication_pane.ui:8
#: plugins/shotwell-publishing-extras/gallery3_authentication_pane.ui:145
-#: ui/shotwell.ui:1627
+#: ui/shotwell.ui:1464
msgid "_Log in"
msgstr "Bejele_ntkezés"
@@ -1580,9 +1582,9 @@ msgstr "vagy"
#: plugins/shotwell-publishing-extras/gallery3_publishing_options_pane.ui:5
#: plugins/shotwell-publishing-extras/rajce_publishing_options_pane.ui:38
-#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1018
+#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1019
#: plugins/shotwell-publishing-extras/tumblr_publishing_options_pane.ui:116
-#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:115
+#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:142
#: plugins/shotwell-publishing/facebook_publishing_options_pane.ui:197
#: plugins/shotwell-publishing/flickr_publishing_options_pane.ui:137
#: plugins/shotwell-publishing/picasa_publishing_options_pane.ui:229
@@ -1592,13 +1594,14 @@ msgstr "_Kijelentkezés"
#: plugins/shotwell-publishing-extras/gallery3_publishing_options_pane.ui:8
#: plugins/shotwell-publishing-extras/rajce_publishing_options_pane.ui:247
-#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1017
+#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1018
#: plugins/shotwell-publishing-extras/tumblr_publishing_options_pane.ui:134
-#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:129
+#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:156
#: plugins/shotwell-publishing/facebook_publishing_options_pane.ui:212
#: plugins/shotwell-publishing/flickr_publishing_options_pane.ui:153
#: plugins/shotwell-publishing/picasa_publishing_options_pane.ui:243
#: plugins/shotwell-publishing/youtube_publishing_options_pane.ui:115
+#: src/CollectionPage.vala:76 src/PhotoPage.vala:2456
msgid "_Publish"
msgstr "Közzé_tétel"
@@ -1626,7 +1629,7 @@ msgstr "képpont"
#: plugins/shotwell-publishing-extras/gallery3_publishing_options_pane.ui:195
#: plugins/shotwell-publishing/FlickrPublishing.vala:1235
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1329
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1306
#: src/Dimensions.vala:17
msgid "Original size"
msgstr "Eredeti méret"
@@ -1728,51 +1731,50 @@ msgstr "Ismeretlen felhasználó"
msgid " Site Not Found"
msgstr " Az oldal nem található"
-#: plugins/shotwell-publishing-extras/rajce_authentication_pane.ui:49
+#: plugins/shotwell-publishing-extras/rajce_authentication_pane.ui:43
#: plugins/shotwell-publishing-extras/RajcePublishing.vala:892
-#: plugins/shotwell-publishing-extras/tumblr_authentication_pane.ui:49
+#: plugins/shotwell-publishing-extras/tumblr_authentication_pane.ui:43
msgid "_Email address"
msgstr "_E-mail cím"
-#: plugins/shotwell-publishing-extras/rajce_authentication_pane.ui:59
+#: plugins/shotwell-publishing-extras/rajce_authentication_pane.ui:53
#: plugins/shotwell-publishing-extras/RajcePublishing.vala:893
-#: plugins/shotwell-publishing-extras/tumblr_authentication_pane.ui:59
-#: plugins/shotwell-publishing/piwigo_authentication_pane.ui:73
+#: plugins/shotwell-publishing-extras/tumblr_authentication_pane.ui:53
+#: plugins/shotwell-publishing/piwigo_authentication_pane.ui:119
msgid "_Password"
msgstr "_Jelszó"
-#: plugins/shotwell-publishing-extras/rajce_authentication_pane.ui:103
+#: plugins/shotwell-publishing-extras/rajce_authentication_pane.ui:97
#: plugins/shotwell-publishing-extras/RajcePublishing.vala:894
msgid "_Remember"
msgstr "_Megjegyzés"
-#: plugins/shotwell-publishing-extras/rajce_authentication_pane.ui:125
+#: plugins/shotwell-publishing-extras/rajce_authentication_pane.ui:118
#: plugins/shotwell-publishing-extras/RajcePublishing.vala:895
-#: plugins/shotwell-publishing-extras/tumblr_authentication_pane.ui:107
-#: plugins/shotwell-publishing/piwigo_authentication_pane.ui:151
+#: plugins/shotwell-publishing-extras/tumblr_authentication_pane.ui:101
+#: plugins/shotwell-publishing/piwigo_authentication_pane.ui:154
msgid "Log in"
msgstr "Bejelentkezés"
#: plugins/shotwell-publishing-extras/rajce_publishing_options_pane.ui:111
-#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1014
+#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1015
#: plugins/shotwell-publishing/picasa_publishing_options_pane.ui:75
msgid "An _existing album:"
msgstr "_Egy létező album:"
#: plugins/shotwell-publishing-extras/rajce_publishing_options_pane.ui:135
-#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1015
+#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1016
#: plugins/shotwell-publishing/picasa_publishing_options_pane.ui:94
-#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:52
msgid "A _new album named:"
msgstr "Új _album, a neve:"
#: plugins/shotwell-publishing-extras/rajce_publishing_options_pane.ui:159
-#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1005
+#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1006
msgid "_Hide album"
msgstr "_Album elrejtése"
#: plugins/shotwell-publishing-extras/rajce_publishing_options_pane.ui:178
-#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1016
+#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1017
msgid "Open target _album in browser"
msgstr "_Cél album megnyitása böngészőben"
@@ -1796,14 +1798,14 @@ msgstr "Érvénytelen e-mail cím és/vagy jelszó, próbálja újra."
msgid "Invalid User Email or Password"
msgstr "Érvénytelen felhasználói e-mail cím vagy jelszó"
-#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1012
+#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1013
#, c-format
msgid "You are logged into Rajce as %s."
msgstr "Bejelentkezett a Rajce-ra %s néven."
-#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1013
+#: plugins/shotwell-publishing-extras/RajcePublishing.vala:1014
#: plugins/shotwell-publishing/PicasaPublishing.vala:670
-#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:24
+#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:20
msgid "Photos will appear in:"
msgstr "A fényképek itt fognak megjelenni:"
@@ -1826,13 +1828,13 @@ msgstr "Copyright 2012 BJA Electronics"
#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:105
#: plugins/shotwell-publishing/FlickrPublishing.vala:1231
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1325
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1302
msgid "500 × 375 pixels"
msgstr "500 × 375 képpont"
#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:106
#: plugins/shotwell-publishing/FlickrPublishing.vala:1232
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1326
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1303
msgid "1024 × 768 pixels"
msgstr "1024 × 768 képpont"
@@ -1858,22 +1860,22 @@ msgid "Enter the username and password associated with your Tumblr account."
msgstr "Adja meg a Tumblr fiókjához tartozó felhasználónevet és jelszót."
#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:588
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1087
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1081
msgid "Username and/or password invalid. Please try again"
msgstr "A felhasználónév és/vagy jelszó érvénytelen. Próbálja újra"
#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:615
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1121
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1117
msgid "Invalid User Name or Password"
msgstr "Érvénytelen felhasználónév vagy jelszó"
-#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:634
-#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:752
+#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:635
+#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:753
#, c-format
msgid "Could not load UI: %s"
msgstr "A felület nem tölthető be: %s"
-#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:734
+#: plugins/shotwell-publishing-extras/TumblrPublishing.vala:735
#, c-format
msgid ""
"You are logged into Tumblr as %s.\n"
@@ -1894,36 +1896,36 @@ msgstr "A Yandex.Fotki weboldal felkeresése"
msgid "You are not currently logged into Yandex.Fotki."
msgstr "Jelenleg nincs bejelentkezve a Yandex.Fotki oldalra."
-#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:24
+#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:12
+msgid "Public"
+msgstr "Nyilvános"
+
+#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:15
+#: plugins/shotwell-publishing/FacebookPublishing.vala:1144
+msgid "Friends"
+msgstr "Barátok"
+
+#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:18
+#: plugins/shotwell-publishing/YouTubePublishing.vala:498
+msgid "Private"
+msgstr "Magánjellegű"
+
+#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:44
msgid "_Albums (or write new):"
msgstr "_Albumok (vagy új írása):"
-#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:38
+#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:59
msgid "Access _type:"
msgstr "Hozzáférés típusa:"
-#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:81
+#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:103
msgid "Disable _comments"
msgstr "H_ozzászólások letiltása"
-#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:96
+#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:120
msgid "_Forbid downloading original photo"
msgstr "_Eredeti kép letöltésének megtiltása"
-#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:159
-msgid "Public"
-msgstr "Nyilvános"
-
-#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:162
-#: plugins/shotwell-publishing/FacebookPublishing.vala:1144
-msgid "Friends"
-msgstr "Barátok"
-
-#: plugins/shotwell-publishing-extras/yandex_publish_model.ui:165
-#: plugins/shotwell-publishing/YouTubePublishing.vala:498
-msgid "Private"
-msgstr "Magánjellegű"
-
#: plugins/shotwell-publishing/facebook_publishing_options_pane.ui:39
msgid "Publish to an e_xisting album:"
msgstr "Közzététel _meglévő albumban:"
@@ -1944,7 +1946,7 @@ msgstr "A _videókat és új fényképalbumokat láthatja:"
#: plugins/shotwell-publishing/facebook_publishing_options_pane.ui:175
#: plugins/shotwell-publishing/flickr_publishing_options_pane.ui:102
#: plugins/shotwell-publishing/picasa_publishing_options_pane.ui:178
-#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:226
+#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:203
msgid ""
"_Remove location, camera, and other identifying information before uploading"
msgstr ""
@@ -1953,7 +1955,7 @@ msgstr ""
#: plugins/shotwell-publishing/FacebookPublishing.vala:62
#: plugins/shotwell-publishing/PicasaPublishing.vala:60
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1209
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1188
msgid "Shotwell Connect"
msgstr "Shotwell kapcsolat"
@@ -2029,7 +2031,7 @@ msgstr "Csak én"
#: plugins/shotwell-publishing/FacebookPublishing.vala:1145
#: plugins/shotwell-publishing/FlickrPublishing.vala:1209
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1313
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1290
msgid "Everyone"
msgstr "Mindenki"
@@ -2143,12 +2145,12 @@ msgid "Friends only"
msgstr "Csak barátok"
#: plugins/shotwell-publishing/FlickrPublishing.vala:1233
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1327
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1304
msgid "2048 × 1536 pixels"
msgstr "2048 × 1536 képpont"
#: plugins/shotwell-publishing/FlickrPublishing.vala:1234
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1328
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1305
msgid "4096 × 3072 pixels"
msgstr "4096 × 3072 képpont"
@@ -2208,72 +2210,83 @@ msgid "Google+ (2048 × 1536 pixels)"
msgstr "Google+ (2048 × 1536 képpont)"
#: plugins/shotwell-publishing/PicasaPublishing.vala:750
-#: src/editing_tools/EditingTools.vala:756
+#: src/editing_tools/EditingTools.vala:755
msgid "Original Size"
msgstr "Eredeti méret"
-#: plugins/shotwell-publishing/piwigo_authentication_pane.ui:49
+#: plugins/shotwell-publishing/piwigo_authentication_pane.ui:44
msgid "_URL of your Piwigo photo library"
msgstr "Piwigo fényképgyűjtemény URL-címe"
-#: plugins/shotwell-publishing/piwigo_authentication_pane.ui:59
+#: plugins/shotwell-publishing/piwigo_authentication_pane.ui:94
msgid "User _name"
msgstr "_Felhasználónév"
-#: plugins/shotwell-publishing/piwigo_authentication_pane.ui:130
-msgid "_Remember Password"
-msgstr "_Jelszó megjegyzése"
+#: plugins/shotwell-publishing/piwigo_authentication_pane.ui:133
+#| msgid "_Remember Password"
+msgid "Remember Password"
+msgstr "Jelszó megjegyzése"
-#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:40
-msgid "An _existing category:"
+#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:36
+#| msgid "An _existing category:"
+msgid "An _existing category"
msgstr "Egy létező _kategória:"
-#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:121
-msgid "Photos will be _visible by:"
-msgstr "Fényképek lát_hatók lesznek:"
-
-#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:149
-msgid "Photo size:"
-msgstr "Fénykép mérete:"
+#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:110
+#| msgid "A _new album named:"
+msgid "A _new album named"
+msgstr "Új _album, a neve:"
-#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:176
-msgid "within category:"
+#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:142
+#| msgid "within category:"
+msgid "within category"
msgstr "kategóriában:"
-#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:210
-msgid "Album comment:"
-msgstr "Albummegjegyzés:"
+#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:155
+#| msgid "Album comment:"
+msgid "Album comment"
+msgstr "Albummegjegyzés"
+
+#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:167
+#| msgid "Photos will be _visible by:"
+msgid "Photos will be _visible by"
+msgstr "Fényképek lát_hatók lesznek"
+
+#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:181
+#| msgid "Photo size:"
+msgid "Photo size"
+msgstr "Fénykép mérete"
-#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:242
+#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:219
msgid "_If a title is set and comment unset, use title as comment"
msgstr ""
"Ha be van állítva _cím, de megjegyzés nincs, akkor a cím használata "
"megjegyzésként"
-#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:258
+#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:235
msgid "_Do no upload tags"
msgstr "_Címkék ne legyenek feltöltve"
-#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:278
+#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:255
msgid "Logout"
msgstr "Kijelentkezés"
-#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:291
-#: src/Resources.vala:295
+#: plugins/shotwell-publishing/piwigo_publishing_options_pane.ui:268
+#: src/Resources.vala:295 ui/collection.ui:190
msgid "Publish"
msgstr "Közzététel"
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:775
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:773
#, c-format
msgid "Creating album %s…"
msgstr "%s album létrehozása…"
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:948
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:946
msgid "An error message occurred when publishing to Piwigo. Please try again."
msgstr "Hibaüzenet érkezett a Piwigon való közzététel során. Próbálja újra."
#. %s is the host name that we tried to connect to
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1024
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1030
#, c-format
msgid ""
"This does not look like the real <b>%s</b>. Attackers might be trying to "
@@ -2285,7 +2298,17 @@ msgstr ""
"információkat (például privát üzeneteket, bankkártya-adatokat vagy "
"jelszavakat)."
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1085
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1048
+#, c-format
+msgid "Certificate of %s"
+msgstr "%s tanúsítványa"
+
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1051
+#: src/Resources.vala:166
+msgid "_OK"
+msgstr "_OK"
+
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1079
msgid ""
"Enter the URL of your Piwigo photo library as well as the username and "
"password associated with your Piwigo account for that library."
@@ -2293,7 +2316,7 @@ msgstr ""
"Adja meg a Piwigo fényképgyűjteményének URL-címét, valamint az ahhoz tartozó "
"Piwigo fiókjának felhasználónevét és jelszavát."
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1086
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1080
msgid ""
"Shotwell cannot contact your Piwigo photo library. Please verify the URL you "
"entered"
@@ -2301,23 +2324,23 @@ msgstr ""
"A Shotwell nem éri el a Piwigo fényképgyűjteményét. Ellenőrizze a megadott "
"URL-címet."
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1116
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1112
msgid "Invalid URL"
msgstr "Érvénytelen URL"
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1314
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1291
msgid "Admins, Family, Friends, Contacts"
msgstr "Adminok, család, barátok, partnerek"
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1315
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1292
msgid "Admins, Family, Friends"
msgstr "Adminok, család, barátok"
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1316
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1293
msgid "Admins, Family"
msgstr "Adminok, család"
-#: plugins/shotwell-publishing/PiwigoPublishing.vala:1317
+#: plugins/shotwell-publishing/PiwigoPublishing.vala:1294
msgid "Admins"
msgstr "Adminok"
@@ -2468,38 +2491,28 @@ msgstr "Nem sikerült a(z) %s könyvtárat írhatóvá tenni"
msgid "Could not make directory %s writable: %s"
msgstr "Nem sikerült a(z) %s könyvtárat írhatóvá tenni: %s"
-#: src/AppWindow.vala:54
+#: src/AppWindow.vala:47
msgid "Pin Toolbar"
msgstr "Eszköztár rögzítése"
-#: src/AppWindow.vala:55
+#: src/AppWindow.vala:48
msgid "Pin the toolbar open"
msgstr "Eszköztár rögzítése nyitva"
-#: src/AppWindow.vala:60
+#: src/AppWindow.vala:53
msgid "Leave fullscreen"
msgstr "Teljes képernyő elhagyása"
-#: src/AppWindow.vala:499
-msgid "_Contents"
-msgstr "_Tartalom"
-
-#: src/AppWindow.vala:504
-msgid "_Frequently Asked Questions"
-msgstr "_Gyakran ismételt kérdések"
-
-#: src/AppWindow.vala:509
-msgid "_Report a Problem…"
-msgstr "_Hiba jelentése…"
-
-#: src/AppWindow.vala:608 src/AppWindow.vala:629 src/AppWindow.vala:646
-#: src/data_imports/DataImportsUI.vala:413 src/Dialogs.vala:20
-#: src/Dialogs.vala:28 src/Dialogs.vala:1441 src/Dialogs.vala:1464
-#: src/publishing/PublishingUI.vala:512 src/Resources.vala:157
+#: src/AppWindow.vala:531 src/AppWindow.vala:552 src/AppWindow.vala:569
+#: src/data_imports/DataImportsUI.vala:301
+#: src/data_imports/DataImportsUI.vala:419 src/Dialogs.vala:20
+#: src/Dialogs.vala:28 src/Dialogs.vala:1430 src/Dialogs.vala:1453
+#: src/publishing/PublishingUI.vala:301 src/publishing/PublishingUI.vala:525
+#: src/Resources.vala:157
msgid "_Cancel"
msgstr "Mé_gse"
-#: src/AppWindow.vala:656
+#: src/AppWindow.vala:579
#, c-format
msgid ""
"A fatal error occurred when accessing Shotwell’s library. Shotwell cannot "
@@ -2512,21 +2525,21 @@ msgstr ""
"\n"
"%s"
-#: src/AppWindow.vala:676
+#: src/AppWindow.vala:599
msgid "Visit the Shotwell web site"
msgstr "A Shotwell weboldalának meglátogatása"
-#: src/AppWindow.vala:688
+#: src/AppWindow.vala:611
#, c-format
msgid "Unable to display help: %s"
msgstr "Nem lehet megjeleníteni a súgót: %s"
-#: src/AppWindow.vala:696
+#: src/AppWindow.vala:619
#, c-format
msgid "Unable to navigate to bug database: %s"
msgstr "Nem nyitható meg a hibaadatbázis: %s"
-#: src/AppWindow.vala:704
+#: src/AppWindow.vala:627
#, c-format
msgid "Unable to display FAQ: %s"
msgstr "Nem jeleníthető meg a GyIK: %s"
@@ -2597,12 +2610,13 @@ msgid "Cameras"
msgstr "Fényképezőgépek"
#: src/camera/Branch.vala:99 src/camera/ImportPage.vala:710
-#: src/camera/ImportPage.vala:726 src/MediaPage.vala:440
-#: src/photos/RawSupport.vala:303
+#: src/camera/ImportPage.vala:726 src/photos/RawSupport.vala:303
+#: 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
msgid "Camera"
msgstr "Fényképezőgép"
-#: src/camera/ImportPage.vala:311 src/Properties.vala:227
+#: src/camera/ImportPage.vala:311 src/Properties.vala:230
msgid "RAW+JPEG"
msgstr "RAW+JPEG"
@@ -2632,32 +2646,8 @@ msgstr ""
msgid "No new photos/videos found on camera"
msgstr "Nem találhatók új fényképek vagy videók a fényképezőgépen"
-#: src/camera/ImportPage.vala:873 src/MediaPage.vala:451
-msgid "_Titles"
-msgstr "_Címek"
-
-#: src/camera/ImportPage.vala:874 src/MediaPage.vala:452
-msgid "Display the title of each photo"
-msgstr "Fényképek címeinek megjelenítése"
-
-#: src/camera/ImportPage.vala:885
-msgid "Import _Selected"
-msgstr "_Kijelöltek importálása"
-
-#: src/camera/ImportPage.vala:886
-msgid "Import the selected photos into your library"
-msgstr "Kijelölt fényképek importálása a gyűjteményébe"
-
-#: src/camera/ImportPage.vala:891
-msgid "Import _All"
-msgstr "Összes im_portálása"
-
-#: src/camera/ImportPage.vala:892
-msgid "Import all the photos into your library"
-msgstr "Minden fénykép importálása a gyűjteményébe"
-
#. it's mounted, offer to unmount for the user
-#: src/camera/ImportPage.vala:1013
+#: src/camera/ImportPage.vala:999
msgid ""
"Shotwell needs to unmount the camera from the filesystem in order to access "
"it. Continue?"
@@ -2665,15 +2655,15 @@ msgstr ""
"A Shotwellnek le kell választania a fényképezőgépet a fájlrendszerről az "
"eléréséhez. Folytatja?"
-#: src/camera/ImportPage.vala:1019
+#: src/camera/ImportPage.vala:1005
msgid "_Unmount"
msgstr "_Leválasztás"
-#: src/camera/ImportPage.vala:1024
+#: src/camera/ImportPage.vala:1010
msgid "Please unmount the camera."
msgstr "Válassza le a fényképezőgépet."
-#: src/camera/ImportPage.vala:1029
+#: src/camera/ImportPage.vala:1015
msgid ""
"The camera is locked by another application. Shotwell can only access the "
"camera when it’s unlocked. Please close any other application using the "
@@ -2683,11 +2673,11 @@ msgstr ""
"használni. Zárja be a fényképezőgépet használó összes alkalmazást, majd "
"próbálja újra."
-#: src/camera/ImportPage.vala:1039
+#: src/camera/ImportPage.vala:1025
msgid "Please close any other application using the camera."
msgstr "Zárja be a fényképezőgépet használó összes alkalmazást."
-#: src/camera/ImportPage.vala:1044
+#: src/camera/ImportPage.vala:1030
#, c-format
msgid ""
"Unable to fetch previews from the camera:\n"
@@ -2696,65 +2686,65 @@ msgstr ""
"Nem tölthetők le az előnézetek a fényképezőgépről:\n"
"%s"
-#: src/camera/ImportPage.vala:1061
+#: src/camera/ImportPage.vala:1047
msgid "Unmounting…"
msgstr "Leválasztás…"
-#: src/camera/ImportPage.vala:1152
+#: src/camera/ImportPage.vala:1138
msgid "Starting import, please wait…"
msgstr "Importálás kezdése, kis türelmet…"
-#: src/camera/ImportPage.vala:1169
+#: src/camera/ImportPage.vala:1155
msgid "Fetching photo information"
msgstr "Fénykép-információk lekérése"
-#: src/camera/ImportPage.vala:1527
+#: src/camera/ImportPage.vala:1513
#, c-format
msgid "Fetching preview for %s"
msgstr "%s előnézetének lekérése"
-#: src/camera/ImportPage.vala:1643
+#: src/camera/ImportPage.vala:1629
#, c-format
msgid "Unable to lock camera: %s"
msgstr "A fényképezőgép nem zárolható: %s"
-#: src/camera/ImportPage.vala:1728
+#: src/camera/ImportPage.vala:1714
#, c-format
msgid "Delete this photo from camera?"
msgid_plural "Delete these %d photos from camera?"
msgstr[0] "Törli a fényképet a fényképezőgépről?"
msgstr[1] "Töröl %d fényképet a fényképezőgépről?"
-#: src/camera/ImportPage.vala:1731
+#: src/camera/ImportPage.vala:1717
#, c-format
msgid "Delete this video from camera?"
msgid_plural "Delete these %d videos from camera?"
msgstr[0] "Törli a videót a fényképezőgépről?"
msgstr[1] "Töröl %d videót a fényképezőgépről?"
-#: src/camera/ImportPage.vala:1734
+#: src/camera/ImportPage.vala:1720
#, c-format
msgid "Delete this photo/video from camera?"
msgid_plural "Delete these %d photos/videos from camera?"
msgstr[0] "Törli a fényképet vagy videót a fényképezőgépről?"
msgstr[1] "Töröl %d fényképet vagy videót a fényképezőgépről?"
-#: src/camera/ImportPage.vala:1737
+#: src/camera/ImportPage.vala:1723
#, c-format
msgid "Delete these files from camera?"
msgid_plural "Delete these %d files from camera?"
msgstr[0] "Törli ezt a fájlt a fényképezőgépről?"
msgstr[1] "Törli ezt a(z) %d fájlt a fényképezőgépről?"
-#: src/camera/ImportPage.vala:1745 src/Dialogs.vala:1408
+#: src/camera/ImportPage.vala:1731 src/Dialogs.vala:1397
msgid "_Keep"
msgstr "_Megtartás"
-#: src/camera/ImportPage.vala:1764
+#: src/camera/ImportPage.vala:1750
msgid "Removing photos/videos from camera"
msgstr "Fényképek vagy videók eltávolítása a fényképezőgépről"
-#: src/camera/ImportPage.vala:1768
+#: src/camera/ImportPage.vala:1754
#, c-format
msgid "Unable to delete %d photo/video from the camera due to errors."
msgid_plural "Unable to delete %d photos/videos from the camera due to errors."
@@ -2763,51 +2753,129 @@ msgstr[0] ""
msgstr[1] ""
"Hiba történt, %d fénykép vagy videó nem törölhető a fényképezőgépről."
-#: src/CollectionPage.vala:230 src/PhotoPage.vala:2635
+#: src/CollectionPage.vala:74 src/direct/DirectPhotoPage.vala:78
+#: src/PhotoPage.vala:2451 src/Resources.vala:170
+msgid "_Print"
+msgstr "_Nyomtatás"
+
+#: src/CollectionPage.vala:77 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
+msgid "Send _To…"
+msgstr "Kül_dés…"
+
+#: src/CollectionPage.vala:78 src/direct/DirectPhotoPage.vala:83
+#: src/PhotoPage.vala:2461 src/Resources.vala:220
+msgid "Set as _Desktop Background"
+msgstr "Beállítás _asztalháttérként"
+
+#: src/CollectionPage.vala:86 src/Resources.vala:286
+msgid "_Duplicate"
+msgstr "_Kettőzés"
+
+#: src/CollectionPage.vala:94
+#| msgid "Fulls_creen"
+msgid "Fullscreen"
+msgstr "Teljes képernyő"
+
+#: src/CollectionPage.vala:96 ui/photo.ui:180
msgid "S_lideshow"
msgstr "_Diavetítés"
-#: src/CollectionPage.vala:231 src/PhotoPage.vala:2636
-msgid "Play a slideshow"
-msgstr "Diavetítés indítása"
+#: src/CollectionPage.vala:104 src/Resources.vala:139 ui/direct.ui:111
+#: ui/photo.ui:200
+msgid "Rotate _Right"
+msgstr "Forgatás j_obbra"
+
+#: src/CollectionPage.vala:107 src/Resources.vala:144 ui/direct.ui:116
+#: ui/photo.ui:205
+msgid "Rotate _Left"
+msgstr "Forgatás _balra"
-#: src/CollectionPage.vala:456
+#: src/CollectionPage.vala:110 src/Resources.vala:149 ui/direct.ui:121
+#: ui/photo.ui:210
+msgid "Flip Hori_zontally"
+msgstr "_Vízszintes tükrözés"
+
+#: src/CollectionPage.vala:111 src/Resources.vala:152 ui/direct.ui:125
+#: ui/photo.ui:214
+msgid "Flip Verti_cally"
+msgstr "_Függőleges tükrözés"
+
+#: src/CollectionPage.vala:113 src/Resources.vala:186 ui/collection.ui:8
+#: ui/direct_context.ui:9 ui/direct.ui:134 ui/event.ui:445
+#: ui/photo_context.ui:6 ui/photo.ui:223
+msgid "_Enhance"
+msgstr "_Feljavítás"
+
+#: src/CollectionPage.vala:114 src/Resources.vala:214 ui/collection.ui:13
+#: ui/direct_context.ui:14 ui/direct.ui:161 ui/event.ui:450
+#: ui/photo_context.ui:11 ui/photo.ui:250
+msgid "Re_vert to Original"
+msgstr "_Vissza az eredetihez"
+
+#: src/CollectionPage.vala:116 src/Resources.vala:190 ui/photo.ui:256
+msgid "_Copy Color Adjustments"
+msgstr "_Színbeállítások másolása"
+
+#: src/CollectionPage.vala:119 src/Resources.vala:194 ui/photo.ui:261
+msgid "_Paste Color Adjustments"
+msgstr "_Színbeállítások beillesztése"
+
+#: src/CollectionPage.vala:129
+#| msgid "_Adjust Date and Time…"
+msgid "Adjust Date and Time…"
+msgstr "Dátum és idő módosítása…"
+
+#: src/CollectionPage.vala:137 src/Resources.vala:319
+msgid "Open With E_xternal Editor"
+msgstr "Megnyitás külső _szerkesztővel"
+
+#: src/CollectionPage.vala:140 src/Resources.vala:321 ui/collection.ui:111
+#: ui/event.ui:548 ui/photo_context.ui:118 ui/photo.ui:363
+msgid "Open With RA_W Editor"
+msgstr "Megnyitás RA_W szerkesztővel"
+
+#: src/CollectionPage.vala:143 src/Resources.vala:167
+msgid "_Play"
+msgstr "_Lejátszás"
+
+#: src/CollectionPage.vala:404
msgid "Export Photo/Video"
msgstr "Fényképek vagy videók exportálása"
-#: src/CollectionPage.vala:456
+#: src/CollectionPage.vala:404
msgid "Export Photos/Videos"
msgstr "Fényképek vagy videók exportálása"
-#: src/CollectionPage.vala:458 src/Dialogs.vala:59 src/PhotoPage.vala:3209
+#: src/CollectionPage.vala:406 src/Dialogs.vala:59 src/PhotoPage.vala:2988
msgid "Export Photo"
msgstr "Fényképek exportálása"
-#: src/CollectionPage.vala:458 src/Dialogs.vala:84
+#: src/CollectionPage.vala:406 src/Dialogs.vala:84
msgid "Export Photos"
msgstr "Fényképek exportálása"
-#: src/CollectionPage.vala:545 src/CollectionPage.vala:561
+#: src/CollectionPage.vala:493 src/CollectionPage.vala:509
msgid "Rotating"
msgstr "Forgatás"
-#: src/CollectionPage.vala:545 src/CollectionPage.vala:561
+#: src/CollectionPage.vala:493 src/CollectionPage.vala:509
msgid "Undoing Rotate"
msgstr "Forgatás visszavonása"
-#: src/CollectionPage.vala:570
+#: src/CollectionPage.vala:518
msgid "Flipping Horizontally"
msgstr "Tükrözés vízszintesen"
-#: src/CollectionPage.vala:571
+#: src/CollectionPage.vala:519
msgid "Undoing Flip Horizontally"
msgstr "Vízszintes tükrözés visszavonása"
-#: src/CollectionPage.vala:580
+#: src/CollectionPage.vala:528
msgid "Flipping Vertically"
msgstr "Tükrözés függőlegesen"
-#: src/CollectionPage.vala:581
+#: src/CollectionPage.vala:529
msgid "Undoing Flip Vertically"
msgstr "Függőleges tükrözés visszavonása"
@@ -3020,7 +3088,7 @@ msgstr ""
msgid "Database file:"
msgstr "Adatbázisfájl:"
-#: src/data_imports/DataImportsUI.vala:112 src/library/LibraryWindow.vala:904
+#: src/data_imports/DataImportsUI.vala:112 src/library/LibraryWindow.vala:766
msgid "_Import"
msgstr "_Importálás"
@@ -3032,7 +3100,7 @@ msgstr "Importálás alkalmazásból"
msgid "Import media _from:"
msgstr "Mé_dia importálása innen:"
-#: src/data_imports/DataImportsUI.vala:408 src/publishing/PublishingUI.vala:507
+#: src/data_imports/DataImportsUI.vala:414 src/publishing/PublishingUI.vala:520
msgid "_Close"
msgstr "_Bezárás"
@@ -3069,7 +3137,7 @@ msgstr ""
"A hibaüzenet: \n"
"%s"
-#: src/db/DatabaseTable.vala:88
+#: src/db/DatabaseTable.vala:92
#, c-format
msgid "Unable to restore photo database %s"
msgstr "A(z) %s fényképadatbázis nem állítható helyre"
@@ -3100,9 +3168,10 @@ msgid_plural "This will remove the tag “%s” from %d photos. Continue?"
msgstr[0] "Ez eltávolítja a(z) „%s” címkét egy fényképről. Folytatja?"
msgstr[1] "Ez eltávolítja a(z) „%s” címkét %d fényképről. Folytatja?"
-#: src/Dialogs.vala:20 src/Dialogs.vala:28 src/Dialogs.vala:1409
-#: src/Resources.vala:158 src/Resources.vala:361 src/Resources.vala:409
-#: src/Resources.vala:674
+#: src/Dialogs.vala:20 src/Dialogs.vala:28 src/Dialogs.vala:1398
+#: src/Resources.vala:158 src/Resources.vala:361 src/Resources.vala:414
+#: src/Resources.vala:658 ui/savedsearch.ui:15 ui/trash.ui:63 ui/trash.ui:216
+#: ui/trash.ui:258
msgid "_Delete"
msgstr "_Törlés"
@@ -3580,56 +3649,56 @@ msgstr[1] "%d óra"
msgid "1 day"
msgstr "1 nap"
-#: src/Dialogs.vala:1338 src/Resources.vala:231
+#: src/Dialogs.vala:1327 src/Resources.vala:231
msgid "Rename Event"
msgstr "Esemény átnevezése"
-#: src/Dialogs.vala:1338
+#: src/Dialogs.vala:1327
msgid "Name:"
msgstr "Név:"
#. Dialog title
-#: src/Dialogs.vala:1349
+#: src/Dialogs.vala:1338
msgctxt "Dialog Title"
msgid "Edit Title"
msgstr "Cím szerkesztése"
-#: src/Dialogs.vala:1350 src/Properties.vala:340
+#: src/Dialogs.vala:1339 src/Properties.vala:343
msgid "Title:"
msgstr "Cím:"
#. Dialog title
-#: src/Dialogs.vala:1366 src/Resources.vala:307
+#: src/Dialogs.vala:1355 src/Resources.vala:307
msgid "Edit Event Comment"
msgstr "Eseménymegjegyzés szerkesztése"
-#: src/Dialogs.vala:1367
+#: src/Dialogs.vala:1356
msgid "Edit Photo/Video Comment"
msgstr "Fénykép vagy videó megjegyzésének szerkesztése"
-#: src/Dialogs.vala:1368 src/Properties.vala:628
+#: src/Dialogs.vala:1357 src/Properties.vala:631
msgid "Comment:"
msgstr "Megjegyzés:"
-#: src/Dialogs.vala:1384
+#: src/Dialogs.vala:1373
msgid "Remove and _Trash File"
msgid_plural "Remove and _Trash Files"
msgstr[0] "_Fájl eltávolítása és a Kukába helyezése"
msgstr[1] "_Fájlok eltávolítása és a Kukába helyezésük"
-#: src/Dialogs.vala:1388
+#: src/Dialogs.vala:1377
msgid "_Remove From Library"
msgstr "_Eltávolítás a gyűjteményből"
-#: src/Dialogs.vala:1431
+#: src/Dialogs.vala:1420
msgid "Revert External Edit?"
msgstr "Visszavonja a külső szerkesztést?"
-#: src/Dialogs.vala:1431
+#: src/Dialogs.vala:1420
msgid "Revert External Edits?"
msgstr "Visszavonja a külső szerkesztéseket?"
-#: src/Dialogs.vala:1433
+#: src/Dialogs.vala:1422
#, c-format
msgid "This will destroy all changes made to the external file. Continue?"
msgid_plural ""
@@ -3637,87 +3706,85 @@ msgid_plural ""
msgstr[0] "Ezzel a külső fájlon végzett minden változtatás elvész. Folytatja?"
msgstr[1] "Ezzel %d külső fájlon végzett minden változtatás elvész. Folytatja?"
-#: src/Dialogs.vala:1437
+#: src/Dialogs.vala:1426
msgid "Re_vert External Edit"
msgstr "Külső szerkesztés _visszavonása"
-#: src/Dialogs.vala:1437
+#: src/Dialogs.vala:1426
msgid "Re_vert External Edits"
msgstr "Külső szerkesztések _visszavonása"
-#: src/Dialogs.vala:1458
+#: src/Dialogs.vala:1447
#, c-format
msgid "This will remove the photo from the library. Continue?"
msgid_plural "This will remove %d photos from the library. Continue?"
msgstr[0] "Ezzel eltávolítja a fényképet a gyűjteményből. Folytatja?"
msgstr[1] "Ezzel eltávolít %d fényképet a gyűjteményből. Folytatja?"
-#: src/Dialogs.vala:1465 src/Resources.vala:173
+#: src/Dialogs.vala:1454 src/Resources.vala:173
msgid "_Remove"
msgstr "_Eltávolítás"
-#: src/Dialogs.vala:1466
+#: src/Dialogs.vala:1455
msgid "Remove Photo From Library"
msgstr "Fénykép eltávolítása a gyűjteményből"
-#: src/Dialogs.vala:1466
+#: src/Dialogs.vala:1455
msgid "Remove Photos From Library"
msgstr "Fényképek eltávolítása a gyűjteményből"
-#: src/Dialogs.vala:1559
+#: src/Dialogs.vala:1553
#, c-format
msgid "%d%%"
msgstr "%d%%"
-#: src/Dialogs.vala:1713
+#: src/Dialogs.vala:1707
msgid "AM"
msgstr "DE"
-#: src/Dialogs.vala:1714
+#: src/Dialogs.vala:1708
msgid "PM"
msgstr "DU"
-#: src/Dialogs.vala:1715
+#: src/Dialogs.vala:1709
msgid "24 Hr"
msgstr "24 óra"
-#: src/Dialogs.vala:1730
+#: src/Dialogs.vala:1724
msgid "_Shift photos/videos by the same amount"
msgstr "Fényképek vagy videók _eltolása azonos mennyiséggel"
-#: src/Dialogs.vala:1735
+#: src/Dialogs.vala:1729
msgid "Set _all photos/videos to this time"
msgstr "Min_den fénykép vagy videó beállítása erre az időre"
-#: src/Dialogs.vala:1742
+#: src/Dialogs.vala:1735
+#| msgid "_Modify original photo file"
msgid "_Modify original photo file"
-msgstr "Eredeti fényképfájl _módosítása"
-
-#: src/Dialogs.vala:1742
-msgid "_Modify original photo files"
-msgstr "Eredeti fényképfájlok _módosítása"
+msgid_plural "_Modify original photo files"
+msgstr[0] "Eredeti fényképfájl _módosítása"
+msgstr[1] "Eredeti fényképfájlok _módosítása"
-#: src/Dialogs.vala:1745
+#: src/Dialogs.vala:1739
+#| msgid "_Modify original file"
msgid "_Modify original file"
-msgstr "Eredeti fájl _módosítása"
+msgid_plural "_Modify original files"
+msgstr[0] "Eredeti fájl _módosítása"
+msgstr[1] "Eredeti fájlok _módosítása"
-#: src/Dialogs.vala:1745
-msgid "_Modify original files"
-msgstr "Eredeti fájlok _módosítása"
-
-#: src/Dialogs.vala:1831
+#: src/Dialogs.vala:1827
msgid "Original: "
msgstr "Eredeti: "
-#: src/Dialogs.vala:1832
+#: src/Dialogs.vala:1828
msgid "%m/%d/%Y, %H:%M:%S"
msgstr "%Y. %m. %d., %k.%M.%S"
-#: src/Dialogs.vala:1833
+#: src/Dialogs.vala:1829
msgid "%m/%d/%Y, %I:%M:%S %p"
msgstr "%Y. %m. %d., %l.%M.%S %p"
-#: src/Dialogs.vala:1922
+#: src/Dialogs.vala:1918
#, c-format
msgid ""
"Exposure time will be shifted forward by\n"
@@ -3726,7 +3793,7 @@ msgstr ""
"A képek készítése előre lesz tolva ennyivel:\n"
"%d %s, %d %s, %d %s, és %d %s."
-#: src/Dialogs.vala:1923
+#: src/Dialogs.vala:1919
#, c-format
msgid ""
"Exposure time will be shifted backward by\n"
@@ -3735,31 +3802,31 @@ msgstr ""
"A képek készítése vissza lesz tolva ennyivel:\n"
"%d %s, %d %s, %d %s, és %d %s."
-#: src/Dialogs.vala:1925
+#: src/Dialogs.vala:1921
msgid "day"
msgid_plural "days"
msgstr[0] "nap"
msgstr[1] "nap"
-#: src/Dialogs.vala:1926
+#: src/Dialogs.vala:1922
msgid "hour"
msgid_plural "hours"
msgstr[0] "óra"
msgstr[1] "óra"
-#: src/Dialogs.vala:1927
+#: src/Dialogs.vala:1923
msgid "minute"
msgid_plural "minutes"
msgstr[0] "perc"
msgstr[1] "perc"
-#: src/Dialogs.vala:1928
+#: src/Dialogs.vala:1924
msgid "second"
msgid_plural "seconds"
msgstr[0] "másodperc"
msgstr[1] "másodperc"
-#: src/Dialogs.vala:1972
+#: src/Dialogs.vala:1968
#, c-format
msgid ""
"\n"
@@ -3778,45 +3845,45 @@ msgstr[1] ""
"\n"
"És %d egyéb."
-#: src/Dialogs.vala:1996 src/Dialogs.vala:2023
+#: src/Dialogs.vala:1992 src/Dialogs.vala:2019
msgid "Tags (separated by commas):"
msgstr "Címkék (vesszővel elválasztva):"
-#: src/Dialogs.vala:2103
+#: src/Dialogs.vala:2099
msgid "Welcome!"
msgstr "Üdvözöljük!"
-#: src/Dialogs.vala:2110
+#: src/Dialogs.vala:2106
msgid "Welcome to Shotwell!"
msgstr "Üdvözöljük a Shotwellben!"
-#: src/Dialogs.vala:2114
+#: src/Dialogs.vala:2111
msgid "To get started, import photos in any of these ways:"
msgstr "Az alábbi módokon importálhatja fényképeit:"
-#: src/Dialogs.vala:2133
+#: src/Dialogs.vala:2131
#, c-format
msgid "Choose <span weight=\"bold\">File %s Import From Folder</span>"
msgstr ""
"Válassza a <span weight=\"bold\">Fájl %s Importálás mappából</span> "
"menüpontot"
-#: src/Dialogs.vala:2134
+#: src/Dialogs.vala:2132
msgid "Drag and drop photos onto the Shotwell window"
msgstr "Húzza fényképeit a Shotwell ablakába"
-#: src/Dialogs.vala:2135
+#: src/Dialogs.vala:2133
msgid "Connect a camera to your computer and import"
msgstr ""
"Csatlakoztasson egy fényképezőgépet a számítógéphez, és importálja a "
"fényképeit"
-#: src/Dialogs.vala:2145
+#: src/Dialogs.vala:2144
#, c-format
msgid "_Import photos from your %s folder"
msgstr "Fényképek i_mportálása a(z) %s mappájából"
-#: src/Dialogs.vala:2152
+#: src/Dialogs.vala:2151
msgid "You can also import photos in any of these ways:"
msgstr "Fényképeket a következő módokon is importálhat:"
@@ -3824,7 +3891,7 @@ msgstr "Fényképeket a következő módokon is importálhat:"
msgid "_Don’t show this message again"
msgstr "_Ne jelenjen meg ez az üzenet többé"
-#: src/Dialogs.vala:2197
+#: src/Dialogs.vala:2199
#, c-format
msgid "Import photos from your %s library"
msgstr "Fényképek importálása a(z) %s gyűjteményéből"
@@ -3832,41 +3899,41 @@ msgstr "Fényképek importálása a(z) %s gyűjteményéből"
#. We're installed system-wide, so use the system help.
#. We're being run from the build directory; we'll have to handle clicks to this
#. link manually ourselves, due to a limitation of help: URIs.
-#: src/Dialogs.vala:2344 src/Dialogs.vala:2348
+#: src/Dialogs.vala:2345 src/Dialogs.vala:2349
msgid "(Help)"
msgstr "(Súgó)"
-#: src/Dialogs.vala:2357
+#: src/Dialogs.vala:2356
#, c-format
msgid "Year%sMonth%sDay"
msgstr "Év%sHónap%sNap"
-#: src/Dialogs.vala:2359
+#: src/Dialogs.vala:2358
#, c-format
msgid "Year%sMonth"
msgstr "Év%sHónap"
-#: src/Dialogs.vala:2361
+#: src/Dialogs.vala:2360
#, c-format
msgid "Year%sMonth-Day"
msgstr "Év%sHónap-Nap"
-#: src/Dialogs.vala:2363
+#: src/Dialogs.vala:2362
msgid "Year-Month-Day"
msgstr "Év-Hónap-Nap"
-#: src/Dialogs.vala:2364 src/editing_tools/EditingTools.vala:781
+#: src/Dialogs.vala:2363 src/editing_tools/EditingTools.vala:780
msgid "Custom"
msgstr "Egyéni"
#. Invalid pattern.
-#: src/Dialogs.vala:2601
+#: src/Dialogs.vala:2600
msgid "Invalid pattern"
msgstr "Érvénytelen minta"
#. This function is used to determine whether or not files should be copied or linked when imported.
#. Returns ACCEPT for copy, REJECT for link, and CANCEL for (drum-roll) cancel.
-#: src/Dialogs.vala:2703
+#: src/Dialogs.vala:2702
msgid ""
"Shotwell can copy the photos into your library folder or it can import them "
"without copying."
@@ -3874,31 +3941,31 @@ msgstr ""
"A Shotwell átmásolhatja a fényképeket a gyűjtemény könyvtárába, vagy "
"importálhatja azokat másolás nélkül is."
-#: src/Dialogs.vala:2708
+#: src/Dialogs.vala:2707
msgid "Co_py Photos"
msgstr "Fény_képek másolása"
-#: src/Dialogs.vala:2709
+#: src/Dialogs.vala:2708
msgid "_Import in Place"
msgstr "_Importálás"
-#: src/Dialogs.vala:2710
+#: src/Dialogs.vala:2709
msgid "Import to Library"
msgstr "Importálás a gyűjteménybe"
-#: src/Dialogs.vala:2720 src/PhotoPage.vala:3085
+#: src/Dialogs.vala:2719 src/PhotoPage.vala:2864
msgid "Remove From Library"
msgstr "Eltávolítás a gyűjteményből"
-#: src/Dialogs.vala:2721 src/PhotoPage.vala:3085
+#: src/Dialogs.vala:2720 src/PhotoPage.vala:2864
msgid "Removing Photo From Library"
msgstr "Fényképek eltávolítás a gyűjteményből"
-#: src/Dialogs.vala:2721
+#: src/Dialogs.vala:2720
msgid "Removing Photos From Library"
msgstr "Fényképek eltávolítása a gyűjteményből"
-#: src/Dialogs.vala:2735
+#: src/Dialogs.vala:2734
#, c-format
msgid ""
"This will remove the photo/video from your Shotwell library. Would you also "
@@ -3921,7 +3988,7 @@ msgstr[1] ""
"\n"
"Ez a művelet nem vonható vissza."
-#: src/Dialogs.vala:2739
+#: src/Dialogs.vala:2738
#, c-format
msgid ""
"This will remove the video from your Shotwell library. Would you also like "
@@ -3944,7 +4011,7 @@ msgstr[1] ""
"\n"
"Ez a művelet nem vonható vissza."
-#: src/Dialogs.vala:2743
+#: src/Dialogs.vala:2742
#, c-format
msgid ""
"This will remove the photo from your Shotwell library. Would you also like "
@@ -3967,7 +4034,7 @@ msgstr[1] ""
"\n"
"Ez a művelet nem vonható vissza."
-#: src/Dialogs.vala:2775
+#: src/Dialogs.vala:2774
#, c-format
msgid ""
"The photo or video cannot be moved to your desktop trash. Delete this file?"
@@ -3977,7 +4044,7 @@ msgstr[0] "A fénykép vagy videó nem helyezhető át a Kukába. Törli a fájl
msgstr[1] "%d fénykép vagy videó nem helyezhető át a Kukába. Törli a fájlokat?"
#. Alert the user that the files were not removed.
-#: src/Dialogs.vala:2792
+#: src/Dialogs.vala:2791
#, c-format
msgid "The photo or video cannot be deleted."
msgid_plural "%d photos/videos cannot be deleted."
@@ -3992,127 +4059,17 @@ msgstr "Szélesség"
msgid "Height"
msgstr "Magasság"
-#: src/direct/DirectPhotoPage.vala:46 src/library/LibraryWindow.vala:335
-msgid "_File"
-msgstr "_Fájl"
-
-#: src/direct/DirectPhotoPage.vala:51 src/direct/DirectPhotoPage.vala:432
-#: src/Resources.vala:175
-msgid "_Save"
-msgstr "M_entés"
-
-#: src/direct/DirectPhotoPage.vala:52
-msgid "Save photo"
-msgstr "Fénykép mentése"
-
-#: src/direct/DirectPhotoPage.vala:57
-msgid "Save _As…"
-msgstr "Men_tés másként…"
-
-#: src/direct/DirectPhotoPage.vala:58
-msgid "Save photo with a different name"
-msgstr "Fénykép mentése más névvel"
-
-#: src/direct/DirectPhotoPage.vala:69
-msgid "Print the photo to a printer connected to your computer"
-msgstr "Fénykép nyomtatása a számítógéphez csatlakozó nyomtatón"
-
-#: src/direct/DirectPhotoPage.vala:73 src/library/LibraryWindow.vala:339
-#: src/Resources.vala:159
-msgid "_Edit"
-msgstr "S_zerkesztés"
-
-#: src/direct/DirectPhotoPage.vala:77 src/library/LibraryWindow.vala:347
-msgid "_Photo"
-msgstr "_Fénykép"
-
-#: src/direct/DirectPhotoPage.vala:81 src/PhotoPage.vala:2416
-msgid "T_ools"
-msgstr "_Eszközök"
-
-#: src/direct/DirectPhotoPage.vala:86 src/PhotoPage.vala:2421
-msgid "_Previous Photo"
-msgstr "_Előző fénykép"
-
-#: src/direct/DirectPhotoPage.vala:87 src/PhotoPage.vala:2422
-msgid "Previous Photo"
-msgstr "Előző fénykép"
-
-#: src/direct/DirectPhotoPage.vala:92 src/PhotoPage.vala:2427
-msgid "_Next Photo"
-msgstr "_Következő fénykép"
-
-#: src/direct/DirectPhotoPage.vala:93 src/PhotoPage.vala:2428
-msgid "Next Photo"
-msgstr "Következő fénykép"
-
-#: src/direct/DirectPhotoPage.vala:165 src/library/LibraryWindow.vala:343
-#: src/PhotoPage.vala:2412
-msgid "_View"
-msgstr "_Nézet"
-
-#: src/direct/DirectPhotoPage.vala:169 src/library/LibraryWindow.vala:363
-#: src/Resources.vala:162
-msgid "_Help"
-msgstr "_Súgó"
-
-#: src/direct/DirectPhotoPage.vala:174 src/MediaPage.vala:340
-#: src/PhotoPage.vala:2591 src/Resources.vala:183
-msgid "Zoom _In"
-msgstr "_Nagyítás"
-
-#: src/direct/DirectPhotoPage.vala:175 src/PhotoPage.vala:2592
-msgid "Increase the magnification of the photo"
-msgstr "Fénykép nagyításának növelése"
-
-#: src/direct/DirectPhotoPage.vala:180 src/MediaPage.vala:346
-#: src/PhotoPage.vala:2597 src/Resources.vala:184
-msgid "Zoom _Out"
-msgstr "_Kicsinyítés"
-
-#: src/direct/DirectPhotoPage.vala:181 src/PhotoPage.vala:2598
-msgid "Decrease the magnification of the photo"
-msgstr "Fénykép nagyításának csökkentése"
-
-#: src/direct/DirectPhotoPage.vala:186 src/PhotoPage.vala:2603
-msgid "Fit to _Page"
-msgstr "_Teljes oldal"
-
-#: src/direct/DirectPhotoPage.vala:187 src/PhotoPage.vala:2604
-msgid "Zoom the photo to fit on the screen"
-msgstr "Képernyő kitöltése a fényképpel"
-
-#: src/direct/DirectPhotoPage.vala:193 src/PhotoPage.vala:2610
-#, no-c-format
-msgid "Zoom _100%"
-msgstr "_100% nagyítás"
-
-#: src/direct/DirectPhotoPage.vala:195 src/PhotoPage.vala:2612
-#, no-c-format
-msgid "Zoom the photo to 100% magnification"
-msgstr "Fénykép 100%-os nagyítása"
-
-#: src/direct/DirectPhotoPage.vala:201 src/PhotoPage.vala:2618
-#, no-c-format
-msgid "Zoom _200%"
-msgstr "_200% nagyítás"
-
-#: src/direct/DirectPhotoPage.vala:203 src/PhotoPage.vala:2620
-#, no-c-format
-msgid "Zoom the photo to 200% magnification"
-msgstr "Fénykép 200%-os nagyítása"
-
-#: src/direct/DirectPhotoPage.vala:227
+#: src/direct/DirectPhotoPage.vala:92
#, c-format
msgid "%s does not exist."
msgstr "%s nem létezik."
-#: src/direct/DirectPhotoPage.vala:229
+#: src/direct/DirectPhotoPage.vala:94
#, c-format
msgid "%s is not a file."
msgstr "%s nem fájl."
-#: src/direct/DirectPhotoPage.vala:231
+#: src/direct/DirectPhotoPage.vala:96
#, c-format
msgid ""
"%s does not support the file format of\n"
@@ -4121,30 +4078,34 @@ msgstr ""
"%s nem támogatja a következő fájlformátumát:\n"
"%s."
-#: src/direct/DirectPhotoPage.vala:248
+#: src/direct/DirectPhotoPage.vala:113
#, c-format
msgid "Unable open photo %s. Sorry."
msgstr "Elnézést, a(z) %s fénykép nem nyitható meg."
-#: src/direct/DirectPhotoPage.vala:432
+#: src/direct/DirectPhotoPage.vala:297 src/Resources.vala:175 ui/direct.ui:8
+msgid "_Save"
+msgstr "M_entés"
+
+#: src/direct/DirectPhotoPage.vala:297
msgid "_Save a Copy"
msgstr "_Másolat mentése"
-#: src/direct/DirectPhotoPage.vala:435
+#: src/direct/DirectPhotoPage.vala:300
#, c-format
msgid "Lose changes to %s?"
msgstr "Eldobja a(z) %s változtatásait?"
-#: src/direct/DirectPhotoPage.vala:436
+#: src/direct/DirectPhotoPage.vala:301
msgid "Close _without Saving"
msgstr "Bezárás mentés _nélkül"
-#: src/direct/DirectPhotoPage.vala:469
+#: src/direct/DirectPhotoPage.vala:334
#, c-format
msgid "Error while saving to %s: %s"
msgstr "Hiba a(z) %s helyre mentéskor: %s"
-#: src/direct/DirectPhotoPage.vala:497 src/direct/DirectPhotoPage.vala:518
+#: src/direct/DirectPhotoPage.vala:362 src/direct/DirectPhotoPage.vala:383
msgid "Save As"
msgstr "Mentés másként"
@@ -4154,201 +4115,201 @@ msgstr "Mentés másként"
msgid "Unable to monitor %s: Not a directory (%s)"
msgstr "%s nem figyelhető: nem könyvtár (%s)"
-#: src/editing_tools/EditingTools.vala:665
+#: src/editing_tools/EditingTools.vala:664
msgid "Return to current photo dimensions"
msgstr "Aktuális fényképméretek visszaállítása"
-#: src/editing_tools/EditingTools.vala:668
+#: src/editing_tools/EditingTools.vala:667
msgid "Set the crop for this photo"
msgstr "Képkivágás beállítása a képhez"
-#: src/editing_tools/EditingTools.vala:680
+#: src/editing_tools/EditingTools.vala:679
msgid "Pivot the crop rectangle between portrait and landscape orientations"
msgstr "A kivágási téglalap forgatása az álló és fekvő tájolások között"
-#: src/editing_tools/EditingTools.vala:753
+#: src/editing_tools/EditingTools.vala:752
msgid "Unconstrained"
msgstr "Korlátlan"
-#: src/editing_tools/EditingTools.vala:754
+#: src/editing_tools/EditingTools.vala:753
msgid "Square"
msgstr "Négyzet"
-#: src/editing_tools/EditingTools.vala:755
+#: src/editing_tools/EditingTools.vala:754
msgid "Screen"
msgstr "Képernyő"
-#: src/editing_tools/EditingTools.vala:757
-#: src/editing_tools/EditingTools.vala:760
-#: src/editing_tools/EditingTools.vala:770
-#: src/editing_tools/EditingTools.vala:780
+#: src/editing_tools/EditingTools.vala:756
+#: src/editing_tools/EditingTools.vala:759
+#: src/editing_tools/EditingTools.vala:769
+#: src/editing_tools/EditingTools.vala:779
msgid "-"
msgstr "-"
-#: src/editing_tools/EditingTools.vala:758
+#: src/editing_tools/EditingTools.vala:757
msgid "SD Video (4 ∶ 3)"
msgstr "SD videó (4 ∶ 3)"
-#: src/editing_tools/EditingTools.vala:759
+#: src/editing_tools/EditingTools.vala:758
msgid "HD Video (16 ∶ 9)"
msgstr "HD videó (16 ∶ 9)"
-#: src/editing_tools/EditingTools.vala:761 src/Printing.vala:818
+#: src/editing_tools/EditingTools.vala:760 src/Printing.vala:818
msgid "Wallet (2 × 3 in.)"
msgstr "Tárca (2 × 3 hüvelyk)"
-#: src/editing_tools/EditingTools.vala:762 src/Printing.vala:821
+#: src/editing_tools/EditingTools.vala:761 src/Printing.vala:821
msgid "Notecard (3 × 5 in.)"
msgstr "Jegyzettömb (3 × 5 hüvelyk)"
-#: src/editing_tools/EditingTools.vala:763 src/Printing.vala:824
+#: src/editing_tools/EditingTools.vala:762 src/Printing.vala:824
msgid "4 × 6 in."
msgstr "4 × 6 hüvelyk"
-#: src/editing_tools/EditingTools.vala:764 src/Printing.vala:827
+#: src/editing_tools/EditingTools.vala:763 src/Printing.vala:827
msgid "5 × 7 in."
msgstr "5 × 7 hüvelyk"
-#: src/editing_tools/EditingTools.vala:765 src/Printing.vala:830
+#: src/editing_tools/EditingTools.vala:764 src/Printing.vala:830
msgid "8 × 10 in."
msgstr "8 × 10 hüvelyk"
-#: src/editing_tools/EditingTools.vala:766
+#: src/editing_tools/EditingTools.vala:765
msgid "Letter (8.5 × 11 in.)"
msgstr "Letter (8.5 × 11 hüvelyk)"
-#: src/editing_tools/EditingTools.vala:767 src/Printing.vala:833
+#: src/editing_tools/EditingTools.vala:766 src/Printing.vala:833
msgid "11 × 14 in."
msgstr "11 × 14 hüvelyk"
-#: src/editing_tools/EditingTools.vala:768
+#: src/editing_tools/EditingTools.vala:767
msgid "Tabloid (11 × 17 in.)"
msgstr "Tabloid (11 × 17 hüvelyk)"
-#: src/editing_tools/EditingTools.vala:769 src/Printing.vala:836
+#: src/editing_tools/EditingTools.vala:768 src/Printing.vala:836
msgid "16 × 20 in."
msgstr "16 × 20 hüvelyk"
-#: src/editing_tools/EditingTools.vala:771 src/Printing.vala:842
+#: src/editing_tools/EditingTools.vala:770 src/Printing.vala:842
msgid "Metric Wallet (9 × 13 cm)"
msgstr "Metrikus tárca (9 × 13 cm)"
-#: src/editing_tools/EditingTools.vala:772 src/Printing.vala:845
+#: src/editing_tools/EditingTools.vala:771 src/Printing.vala:845
msgid "Postcard (10 × 15 cm)"
msgstr "Képeslap (10 × 15 cm)"
-#: src/editing_tools/EditingTools.vala:773 src/Printing.vala:848
+#: src/editing_tools/EditingTools.vala:772 src/Printing.vala:848
msgid "13 × 18 cm"
msgstr "13 × 18 cm"
-#: src/editing_tools/EditingTools.vala:774 src/Printing.vala:851
+#: src/editing_tools/EditingTools.vala:773 src/Printing.vala:851
msgid "18 × 24 cm"
msgstr "18 × 24 cm"
-#: src/editing_tools/EditingTools.vala:775
+#: src/editing_tools/EditingTools.vala:774
msgid "A4 (210 × 297 mm)"
msgstr "A4 (210 × 297 mm)"
-#: src/editing_tools/EditingTools.vala:776 src/Printing.vala:854
+#: src/editing_tools/EditingTools.vala:775 src/Printing.vala:854
msgid "20 × 30 cm"
msgstr "20 × 30 cm"
-#: src/editing_tools/EditingTools.vala:777 src/Printing.vala:857
+#: src/editing_tools/EditingTools.vala:776 src/Printing.vala:857
msgid "24 × 40 cm"
msgstr "24 × 40 cm"
-#: src/editing_tools/EditingTools.vala:778 src/Printing.vala:860
+#: src/editing_tools/EditingTools.vala:777 src/Printing.vala:860
msgid "30 × 40 cm"
msgstr "30 × 40 cm"
-#: src/editing_tools/EditingTools.vala:779
+#: src/editing_tools/EditingTools.vala:778
msgid "A3 (297 × 420 mm)"
msgstr "A3 (297 × 420 mm)"
-#: src/editing_tools/EditingTools.vala:1872 src/Properties.vala:395
+#: src/editing_tools/EditingTools.vala:1878 src/Properties.vala:398
msgid "Size:"
msgstr "Méret:"
-#: src/editing_tools/EditingTools.vala:1887
+#: src/editing_tools/EditingTools.vala:1893
msgid "Close the red-eye tool"
msgstr "Vörösszem-effektus eszköz bezárása"
-#: src/editing_tools/EditingTools.vala:1890
+#: src/editing_tools/EditingTools.vala:1896
msgid "Remove any red-eye effects in the selected region"
msgstr "Minden vörösszem-effektus eltávolítása a kijelölt területről"
-#: src/editing_tools/EditingTools.vala:2229
+#: src/editing_tools/EditingTools.vala:2236
#: src/editing_tools/StraightenTool.vala:102
msgid "_Reset"
msgstr "_Visszaállítás"
#. fit both on the top line, emit and move on
-#: src/editing_tools/EditingTools.vala:2243 src/Properties.vala:436
-#: src/Properties.vala:440 src/Properties.vala:447
+#: src/editing_tools/EditingTools.vala:2250 src/Properties.vala:439
+#: src/Properties.vala:443 src/Properties.vala:450
msgid "Exposure:"
msgstr "Expozíció:"
-#: src/editing_tools/EditingTools.vala:2251
+#: src/editing_tools/EditingTools.vala:2259
msgid "Contrast:"
msgstr "Kontraszt:"
-#: src/editing_tools/EditingTools.vala:2259
+#: src/editing_tools/EditingTools.vala:2268
msgid "Saturation:"
msgstr "Telítettség:"
-#: src/editing_tools/EditingTools.vala:2267
+#: src/editing_tools/EditingTools.vala:2277
msgid "Tint:"
msgstr "Árnyalat:"
-#: src/editing_tools/EditingTools.vala:2276
+#: src/editing_tools/EditingTools.vala:2287
msgid "Temperature:"
msgstr "Hőmérséklet:"
-#: src/editing_tools/EditingTools.vala:2284
+#: src/editing_tools/EditingTools.vala:2296
msgid "Shadows:"
msgstr "Árnyékok:"
-#: src/editing_tools/EditingTools.vala:2292
+#: src/editing_tools/EditingTools.vala:2305
msgid "Highlights:"
msgstr "Kiemelések:"
-#: src/editing_tools/EditingTools.vala:2346
+#: src/editing_tools/EditingTools.vala:2361
msgid "Reset Colors"
msgstr "Színek visszaállítása"
-#: src/editing_tools/EditingTools.vala:2346
+#: src/editing_tools/EditingTools.vala:2361
msgid "Reset all color adjustments to original"
msgstr "Minden színmódosítás elvetése"
-#: src/editing_tools/EditingTools.vala:2705
+#: src/editing_tools/EditingTools.vala:2720
msgid "Temperature"
msgstr "Hőmérséklet"
-#: src/editing_tools/EditingTools.vala:2717
+#: src/editing_tools/EditingTools.vala:2732
msgid "Tint"
msgstr "Árnyalat"
-#: src/editing_tools/EditingTools.vala:2729
+#: src/editing_tools/EditingTools.vala:2744
msgid "Contrast"
msgstr "Kontraszt"
-#: src/editing_tools/EditingTools.vala:2743
+#: src/editing_tools/EditingTools.vala:2758
msgid "Saturation"
msgstr "Telítettség"
-#: src/editing_tools/EditingTools.vala:2756
+#: src/editing_tools/EditingTools.vala:2771
msgid "Exposure"
msgstr "Expozíció"
-#: src/editing_tools/EditingTools.vala:2769
+#: src/editing_tools/EditingTools.vala:2784
msgid "Shadows"
msgstr "Árnyékok"
-#: src/editing_tools/EditingTools.vala:2782
+#: src/editing_tools/EditingTools.vala:2797
msgid "Highlights"
msgstr "Kiemelések"
-#: src/editing_tools/EditingTools.vala:2792
+#: src/editing_tools/EditingTools.vala:2807
msgid "Contrast Expansion"
msgstr "Kontraszt növelése"
@@ -4357,6 +4318,7 @@ msgid "Angle:"
msgstr "Szög:"
#: src/editing_tools/StraightenTool.vala:100 src/Resources.vala:202
+#: ui/direct.ui:144 ui/photo.ui:233
msgid "_Straighten"
msgstr "Ki_egyenesítés"
@@ -4371,53 +4333,45 @@ msgid_plural "%d Photos/Videos"
msgstr[0] "%d fénykép vagy videó"
msgstr[1] "%d fénykép vagy videó"
-#: src/events/EventDirectoryItem.vala:85 src/Properties.vala:355
+#: src/events/EventDirectoryItem.vala:85 src/Properties.vala:358
#, c-format
msgid "%d Video"
msgid_plural "%d Videos"
msgstr[0] "%d videó"
msgstr[1] "%d videó"
-#: src/events/EventDirectoryItem.vala:87 src/Properties.vala:353
+#: src/events/EventDirectoryItem.vala:87 src/Properties.vala:356
#, c-format
msgid "%d Photo"
msgid_plural "%d Photos"
msgstr[0] "%d fénykép"
msgstr[1] "%d fénykép"
-#: src/events/EventPage.vala:129
+#: src/events/EventPage.vala:121
msgid "No Event"
msgstr "Nincs esemény"
-#: src/events/EventsDirectoryPage.vala:130 src/MediaPage.vala:457
-msgid "_Comments"
-msgstr "_Megjegyzések"
-
-#: src/events/EventsDirectoryPage.vala:131
-msgid "Display the comment of each event"
-msgstr "Az egyes események megjegyzéseinek megjelenítése"
-
-#: src/events/EventsDirectoryPage.vala:155
+#: src/events/EventsDirectoryPage.vala:143
msgid "No events"
msgstr "Nincsenek események"
-#: src/events/EventsDirectoryPage.vala:159
+#: src/events/EventsDirectoryPage.vala:147
msgid "No events found"
msgstr "Nem találhatók események"
-#: src/events/EventsDirectoryPage.vala:230
+#: src/events/EventsDirectoryPage.vala:220
msgid "All Events"
msgstr "Minden esemény"
-#: src/events/EventsDirectoryPage.vala:244
+#: src/events/EventsDirectoryPage.vala:234
msgid "Undated"
msgstr "Keltezetlen"
-#: src/events/EventsDirectoryPage.vala:245
+#: src/events/EventsDirectoryPage.vala:235
msgid "%Y"
msgstr "%Y"
-#: src/events/EventsDirectoryPage.vala:246
+#: src/events/EventsDirectoryPage.vala:236
msgid "%B"
msgstr "%B"
@@ -4457,21 +4411,20 @@ msgstr "Öss_zes cseréje"
msgid "Export"
msgstr "Exportálás"
-#: src/folders/Branch.vala:141
+#: src/folders/Branch.vala:144
msgid "Folders"
msgstr "Mappák"
-#: src/library/Branch.vala:30 src/library/Branch.vala:130 ui/shotwell.ui:1191
+#: src/library/Branch.vala:30 src/library/Branch.vala:130 ui/shotwell.ui:412
msgid "Library"
msgstr "Gyűjtemény"
-#: src/library/Branch.vala:97 src/SearchFilter.vala:608
-#: src/SearchFilter.vala:609
+#: src/library/Branch.vala:97 src/SearchFilter.vala:1084
msgid "Photos"
msgstr "Fényképek"
-#: src/library/FlaggedPage.vala:8 src/SearchFilter.vala:602
-#: src/SearchFilter.vala:603 src/SearchFilter.vala:1188
+#: src/library/FlaggedPage.vala:8 src/SearchFilter.vala:1103
+#: src/SearchFilter.vala:1104
msgid "Flagged"
msgstr "Megjelölve"
@@ -4479,19 +4432,11 @@ msgstr "Megjelölve"
msgid "Importing…"
msgstr "Importálás…"
-#: src/library/ImportQueuePage.vala:67
-msgid "_Stop Import"
-msgstr "Importálás l_eállítása"
-
-#: src/library/ImportQueuePage.vala:68
-msgid "Stop importing photos"
-msgstr "Fényképek importálásának leállítása"
-
-#: src/library/ImportQueuePage.vala:124
+#: src/library/ImportQueuePage.vala:122
msgid "Preparing to import…"
msgstr "Importálás előkészítése…"
-#: src/library/ImportQueuePage.vala:151
+#: src/library/ImportQueuePage.vala:149
#, c-format
msgid "Imported %s"
msgstr "%s importálva"
@@ -4500,128 +4445,19 @@ msgstr "%s importálva"
msgid "Last Import"
msgstr "Utolsó importálás"
-#: src/library/LibraryWindow.vala:285
-msgid "_Import From Folder…"
-msgstr "_Importálás mappából…"
-
-#: src/library/LibraryWindow.vala:286
-msgid "Import photos from disk to library"
-msgstr "Fényképek importálása a gyűjteménybe lemezről"
-
-#: src/library/LibraryWindow.vala:293
-msgid "Import From _Application…"
-msgstr "Importálás _alkalmazásból…"
-
-#: src/library/LibraryWindow.vala:297
-msgid "Sort _Events"
-msgstr "_Események rendezése"
-
-#: src/library/LibraryWindow.vala:307
-msgid "Empty T_rash"
-msgstr "_Kuka ürítése"
-
-#: src/library/LibraryWindow.vala:308
-msgid "Delete all photos in the trash"
-msgstr "Minden fénykép törlése a Kukában"
-
-#: src/library/LibraryWindow.vala:313
-msgid "View Eve_nt for Photo"
-msgstr "Fénykép _eseményének megjelenítése"
-
-#: src/library/LibraryWindow.vala:317
-msgid "_Find"
-msgstr "_Keresés"
-
-#: src/library/LibraryWindow.vala:318
-msgid "Find photos and videos by search criteria"
-msgstr "Fényképek és videók keresése keresőkifejezésekkel"
-
-#: src/library/LibraryWindow.vala:329 src/searches/Branch.vala:77
-#: src/sidebar/Tree.vala:199
-msgid "Ne_w Saved Search…"
-msgstr "Új _mentett keresés…"
-
-#: src/library/LibraryWindow.vala:351
-msgid "_Photos"
-msgstr "Fény_képek"
-
-#: src/library/LibraryWindow.vala:355
-msgid "Even_ts"
-msgstr "_Események"
-
-#: src/library/LibraryWindow.vala:359 src/MediaPage.vala:469
-msgid "Ta_gs"
-msgstr "Cí_mkék"
-
-#: src/library/LibraryWindow.vala:374
-msgid "_Basic Information"
-msgstr "_Alapvető információk"
-
-#: src/library/LibraryWindow.vala:375
-msgid "Display basic information for the selection"
-msgstr "Kijelöltek alapvető információinak megjelenítése"
-
-#: src/library/LibraryWindow.vala:380
-msgid "E_xtended Information"
-msgstr "_További információk"
-
-#: src/library/LibraryWindow.vala:381
-msgid "Display extended information for the selection"
-msgstr "Kijelöltek további információinak megjelenítése"
-
-#: src/library/LibraryWindow.vala:386
-msgid "_Search Bar"
-msgstr "Keresősá_v"
-
-#: src/library/LibraryWindow.vala:387
-msgid "Display the search bar"
-msgstr "A keresősáv megjelenítése"
-
-#: src/library/LibraryWindow.vala:392
-msgid "S_idebar"
-msgstr "_Oldalsáv"
-
-#: src/library/LibraryWindow.vala:393
-msgid "Display the sidebar"
-msgstr "Az oldalsáv megjelenítése"
-
-#: src/library/LibraryWindow.vala:398
-msgid "T_oolbar"
-msgstr "Esz_köztár"
-
-#: src/library/LibraryWindow.vala:399
-msgid "Display the tool bar"
-msgstr "Az eszköztár megjelenítése"
-
-#: src/library/LibraryWindow.vala:411 src/MediaPage.vala:515
-msgid "_Ascending"
-msgstr "_Növekvő"
-
-#: src/library/LibraryWindow.vala:412 src/MediaPage.vala:516
-msgid "Sort photos in an ascending order"
-msgstr "Fényképek növekvő sorrendbe rendezése"
-
-#: src/library/LibraryWindow.vala:418 src/MediaPage.vala:521
-msgid "D_escending"
-msgstr "_Csökkenő"
-
-#: src/library/LibraryWindow.vala:419 src/MediaPage.vala:522
-msgid "Sort photos in a descending order"
-msgstr "Fényképek csökkenő sorrendbe rendezése"
-
-#: src/library/LibraryWindow.vala:657
+#: src/library/LibraryWindow.vala:501
msgid "Import From Folder"
msgstr "Importálás mappából"
-#: src/library/LibraryWindow.vala:726
+#: src/library/LibraryWindow.vala:570 ui/trash.ui:288
msgid "Empty Trash"
msgstr "Kuka ürítése"
-#: src/library/LibraryWindow.vala:726
+#: src/library/LibraryWindow.vala:570
msgid "Emptying Trash…"
msgstr "Kuka ürítése…"
-#: src/library/LibraryWindow.vala:901
+#: src/library/LibraryWindow.vala:763
#, c-format
msgid ""
"Shotwell is configured to import photos to your home directory.\n"
@@ -4634,33 +4470,33 @@ msgstr ""
"szerkesztése</span> alatt.\n"
"Szeretné folytatni a fényképek importálását?"
-#: src/library/LibraryWindow.vala:904 ui/shotwell.ui:784
+#: src/library/LibraryWindow.vala:766 ui/shotwell.ui:142
msgid "Library Location"
msgstr "Gyűjtemény helye"
#. TODO: Specify which directory/file.
-#: src/library/LibraryWindow.vala:917
+#: src/library/LibraryWindow.vala:779
msgid "Photos cannot be imported from this directory."
msgstr "Ebből a könyvtárból nem importálhatók fényképek."
-#: src/library/LibraryWindow.vala:1203
+#: src/library/LibraryWindow.vala:1059
#, c-format
msgid "%s (%d%%)"
msgstr "%s (%d%%)"
-#: src/library/LibraryWindow.vala:1247 src/library/LibraryWindow.vala:1258
+#: src/library/LibraryWindow.vala:1103 src/library/LibraryWindow.vala:1114
msgid "Updating library…"
msgstr "Gyűjtemény frissítése…"
-#: src/library/LibraryWindow.vala:1264
+#: src/library/LibraryWindow.vala:1120
msgid "Preparing to auto-import photos…"
msgstr "Felkészülés fényképek automatikus importáláshoz…"
-#: src/library/LibraryWindow.vala:1269
+#: src/library/LibraryWindow.vala:1125
msgid "Auto-importing photos…"
msgstr "Fényképek automatikus importálása…"
-#: src/library/LibraryWindow.vala:1277
+#: src/library/LibraryWindow.vala:1133
msgid "Writing metadata to files…"
msgstr "Metaadatok írása a fájlokba…"
@@ -4668,7 +4504,7 @@ msgstr "Metaadatok írása a fájlokba…"
msgid "Missing Files"
msgstr "Hiányzó fájlok"
-#: src/library/OfflinePage.vala:106
+#: src/library/OfflinePage.vala:103
msgid "Deleting…"
msgstr "Törlés…"
@@ -4676,15 +4512,15 @@ msgstr "Törlés…"
msgid "Trash"
msgstr "Kuka"
-#: src/library/TrashPage.vala:108
+#: src/library/TrashPage.vala:101
msgid "Trash is empty"
msgstr "A Kuka üres"
-#: src/library/TrashPage.vala:112
+#: src/library/TrashPage.vala:105
msgid "Delete"
msgstr "Törlés"
-#: src/library/TrashPage.vala:113
+#: src/library/TrashPage.vala:106
msgid "Deleting Photos"
msgstr "Fényképek törlése"
@@ -4773,71 +4609,7 @@ msgstr "A megfigyelés frissítései nem dolgozhatók fel: %s"
msgid "Adjust the size of the thumbnails"
msgstr "A bélyegképek méretének beállítása"
-#: src/MediaPage.vala:341
-msgid "Increase the magnification of the thumbnails"
-msgstr "Bélyegképek nagyítása"
-
-#: src/MediaPage.vala:347
-msgid "Decrease the magnification of the thumbnails"
-msgstr "Bélyegképek kicsinyítése"
-
-#: src/MediaPage.vala:414
-msgid "Sort _Photos"
-msgstr "Fényképek _rendezése"
-
-#: src/MediaPage.vala:423
-msgid "_Play Video"
-msgstr "_Videó lejátszása"
-
-#: src/MediaPage.vala:424
-msgid "Open the selected videos in the system video player"
-msgstr "Kijelölt videók megnyitása a rendszer videolejátszójában"
-
-#: src/MediaPage.vala:428 src/PhotoPage.vala:2640
-msgid "_Developer"
-msgstr "_Előhívó"
-
-#: src/MediaPage.vala:458
-msgid "Display the comment of each photo"
-msgstr "Az egyes képek megjegyzéseinek megjelenítése"
-
-#: src/MediaPage.vala:470
-msgid "Display each photo’s tags"
-msgstr "Fényképek címkéinek megjelenítése"
-
-#: src/MediaPage.vala:486
-msgid "By _Title"
-msgstr "_Cím szerint"
-
-#: src/MediaPage.vala:487
-msgid "Sort photos by title"
-msgstr "Fényképek rendezése cím szerint"
-
-#: src/MediaPage.vala:492
-msgid "By Exposure _Date"
-msgstr "_Készítés dátuma"
-
#: src/MediaPage.vala:493
-msgid "Sort photos by exposure date"
-msgstr "Fényképek rendezése készítésük dátuma szerint"
-
-#: src/MediaPage.vala:498
-msgid "By _Rating"
-msgstr "É_rtékelés szerint"
-
-#: src/MediaPage.vala:499
-msgid "Sort photos by rating"
-msgstr "Fényképek rendezése értékelés szerint"
-
-#: src/MediaPage.vala:504
-msgid "By _Filename"
-msgstr "Fájl_név szerint"
-
-#: src/MediaPage.vala:505
-msgid "Sort photos by filename"
-msgstr "Fényképek rendezése fájlnév szerint"
-
-#: src/MediaPage.vala:723
#, c-format
msgid ""
"Shotwell was unable to play the selected video:\n"
@@ -4846,34 +4618,34 @@ msgstr ""
"A Shotwell nem tudta lejátszani a kijelölt videót:\n"
"%s"
-#: src/Page.vala:1266
+#: src/Page.vala:1338
msgid "No photos/videos"
msgstr "Nincsenek fényképek vagy videók"
-#: src/Page.vala:1270
+#: src/Page.vala:1342
msgid "No photos/videos found which match the current filter"
msgstr "Nem található fénykép vagy videó, amely megfelel a jelenlegi szűrőnek"
-#: src/Page.vala:2576
+#: src/Page.vala:2648
msgid "Photos cannot be exported to this directory."
msgstr "Nem exportálhatók fényképek ebbe a könyvtárba."
#. previous button
-#: src/PhotoPage.vala:533
+#: src/PhotoPage.vala:535
msgid "Previous photo"
msgstr "Előző fénykép"
#. next button
-#: src/PhotoPage.vala:539
+#: src/PhotoPage.vala:541
msgid "Next photo"
msgstr "Következő fénykép"
-#: src/PhotoPage.vala:1845
+#: src/PhotoPage.vala:1847
#, c-format
msgid "Photo source file missing: %s"
msgstr "A fénykép forrásfájlja hiányzik: %s"
-#: src/PhotoPage.vala:3229
+#: src/PhotoPage.vala:3008
#, c-format
msgid "Unable to export %s: %s"
msgstr "%s exportálása sikertelen: %s"
@@ -4977,19 +4749,19 @@ msgstr ""
"\n"
"%s"
-#: src/Properties.vala:84
+#: src/Properties.vala:87
msgid "Today"
msgstr "Ma"
-#: src/Properties.vala:86
+#: src/Properties.vala:89
msgid "Yesterday"
msgstr "Tegnap"
-#: src/Properties.vala:343
+#: src/Properties.vala:346
msgid "Items:"
msgstr "Elemek:"
-#: src/Properties.vala:346
+#: src/Properties.vala:349
#, c-format
msgid "%d Event"
msgid_plural "%d Events"
@@ -4997,104 +4769,104 @@ msgstr[0] "%d esemény"
msgstr[1] "%d esemény"
#. display only one date if start and end are the same
-#: src/Properties.vala:377
+#: src/Properties.vala:380
msgid "Date:"
msgstr "Dátum:"
#. display only one time if start and end are the same
-#: src/Properties.vala:381
+#: src/Properties.vala:384
msgid "Time:"
msgstr "Idő:"
#. display time range
#. display date range
-#: src/Properties.vala:384 src/Properties.vala:389
+#: src/Properties.vala:387 src/Properties.vala:392
msgid "From:"
msgstr "Ettől:"
-#: src/Properties.vala:385 src/Properties.vala:390
+#: src/Properties.vala:388 src/Properties.vala:393
msgid "To:"
msgstr "Eddig:"
-#: src/Properties.vala:404
+#: src/Properties.vala:407
msgid "Duration:"
msgstr "Hossz:"
-#: src/Properties.vala:404
+#: src/Properties.vala:407
#, c-format
msgid "%.1f seconds"
msgstr "%.1f másodperc"
-#: src/Properties.vala:408
+#: src/Properties.vala:411
msgid "Developer:"
msgstr "Előhívó:"
#. nothing special to be done for now for Events
-#: src/Properties.vala:583
+#: src/Properties.vala:586
msgid "Location:"
msgstr "Hely:"
-#: src/Properties.vala:586
+#: src/Properties.vala:589
msgid "File size:"
msgstr "Fájl mérete:"
-#: src/Properties.vala:590
+#: src/Properties.vala:593
msgid "Current Development:"
msgstr "Jelenlegi előhívás:"
-#: src/Properties.vala:592
+#: src/Properties.vala:595
msgid "Original dimensions:"
msgstr "Eredeti méretek:"
-#: src/Properties.vala:595
+#: src/Properties.vala:598
msgid "Camera make:"
msgstr "Fényképezőgép gyártója:"
-#: src/Properties.vala:598
+#: src/Properties.vala:601
msgid "Camera model:"
msgstr "Fényképezőgép típusa:"
-#: src/Properties.vala:601
+#: src/Properties.vala:604
msgid "Flash:"
msgstr "Vaku:"
-#: src/Properties.vala:603
+#: src/Properties.vala:606
msgid "Focal length:"
msgstr "Fókusztávolság:"
-#: src/Properties.vala:606
+#: src/Properties.vala:609
msgid "Exposure date:"
msgstr "Exponálás dátuma:"
-#: src/Properties.vala:609
+#: src/Properties.vala:612
msgid "Exposure time:"
msgstr "Exponálási idő:"
-#: src/Properties.vala:612
+#: src/Properties.vala:615
msgid "Exposure bias:"
msgstr "Expozícióeltolás:"
-#: src/Properties.vala:614
+#: src/Properties.vala:617
msgid "GPS latitude:"
msgstr "GPS szélesség:"
-#: src/Properties.vala:617
+#: src/Properties.vala:620
msgid "GPS longitude:"
msgstr "GPS hosszúság:"
-#: src/Properties.vala:620
+#: src/Properties.vala:623
msgid "Artist:"
msgstr "Készítő:"
-#: src/Properties.vala:622
+#: src/Properties.vala:625
msgid "Copyright:"
msgstr "Copyright:"
-#: src/Properties.vala:624
+#: src/Properties.vala:627
msgid "Software:"
msgstr "Szoftver:"
-#: src/Properties.vala:641
+#: src/Properties.vala:644
msgid "Extended Information"
msgstr "Bővebb információk"
@@ -5117,65 +4889,58 @@ msgid "To try publishing to another service, select one from the above menu."
msgstr ""
"Próbálja másik szolgáltatáson közzétenni, válasszon egyet a fenti menüből."
-#: src/publishing/PublishingUI.vala:105
-msgid "The selected photos/videos were successfully published."
-msgstr "A kijelölt fényképek vagy videók sikeresen közzétéve."
-
-#: src/publishing/PublishingUI.vala:107
-msgid "The selected videos were successfully published."
-msgstr "A kijelölt videók sikeresen közzétéve."
-
-#: src/publishing/PublishingUI.vala:109
-msgid "The selected photos were successfully published."
-msgstr "A kijelölt fényképek sikeresen közzétéve."
-
-#: src/publishing/PublishingUI.vala:112
+#. Here, we check whether more than one item is being uploaded, and if so, display
+#. an alternate message.
+#: src/publishing/PublishingUI.vala:104 src/publishing/PublishingUI.vala:109
+#| msgid "The selected video was successfully published."
msgid "The selected video was successfully published."
-msgstr "A kijelölt videó sikeresen közzétéve."
+msgid_plural "The selected videos were successfully published."
+msgstr[0] "A kijelölt videó sikeresen közzétéve."
+msgstr[1] "A kijelölt videók sikeresen közzétéve."
-#: src/publishing/PublishingUI.vala:114
-msgid "The selected photo was successfully published."
-msgstr "A kijelölt fénykép sikeresen közzétéve."
+#: src/publishing/PublishingUI.vala:115
+msgid "The selected photos/videos were successfully published."
+msgstr "A kijelölt fényképek vagy videók sikeresen közzétéve."
-#: src/publishing/PublishingUI.vala:122
+#: src/publishing/PublishingUI.vala:127
msgid "Fetching account information…"
msgstr "Fiókinformációk letöltése…"
-#: src/publishing/PublishingUI.vala:128
+#: src/publishing/PublishingUI.vala:133
msgid "Logging in…"
msgstr "Bejelentkezés…"
-#: src/publishing/PublishingUI.vala:188
+#: src/publishing/PublishingUI.vala:193
msgid "Publish Photos"
msgstr "Fényképek közzététele"
-#: src/publishing/PublishingUI.vala:189
+#: src/publishing/PublishingUI.vala:194
msgid "Publish photos _to:"
msgstr "_Fényképek közzététele ide:"
-#: src/publishing/PublishingUI.vala:191
+#: src/publishing/PublishingUI.vala:196
msgid "Publish Videos"
msgstr "Videók közzététele"
-#: src/publishing/PublishingUI.vala:192
+#: src/publishing/PublishingUI.vala:197
msgid "Publish videos _to"
msgstr "_Videók közzététele ide:"
-#: src/publishing/PublishingUI.vala:194
+#: src/publishing/PublishingUI.vala:199
msgid "Publish Photos and Videos"
msgstr "Fényképek és videók közzététele"
-#: src/publishing/PublishingUI.vala:195
+#: src/publishing/PublishingUI.vala:200
msgid "Publish photos and videos _to"
msgstr "Fényképek és vi_deók közzététele ide:"
#. There are no enabled publishing services that accept this media type,
#. warn the user.
-#: src/publishing/PublishingUI.vala:397
+#: src/publishing/PublishingUI.vala:410
msgid "Unable to publish"
msgstr "Nem sikerült közzétenni"
-#: src/publishing/PublishingUI.vala:398
+#: src/publishing/PublishingUI.vala:411
#, c-format
msgid ""
"Shotwell cannot publish the selected items because you do not have a "
@@ -5192,11 +4957,7 @@ msgstr ""
msgid "Publishing"
msgstr "Közzététel"
-#: src/Resources.vala:139
-msgid "Rotate _Right"
-msgstr "Forgatás j_obbra"
-
-#: src/Resources.vala:140 src/Resources.vala:145
+#: src/Resources.vala:140 src/Resources.vala:145 ui/collection.ui:149
msgid "Rotate"
msgstr "Forgatás"
@@ -5204,14 +4965,10 @@ msgstr "Forgatás"
msgid "Rotate Right"
msgstr "Forgatás jobbra"
-#: src/Resources.vala:142
+#: src/Resources.vala:142 ui/collection.ui:146
msgid "Rotate the photos right (press Ctrl to rotate left)"
msgstr "Fényképek forgatása jobbra (Ctrl = balra forgatás)"
-#: src/Resources.vala:144
-msgid "Rotate _Left"
-msgstr "Forgatás _balra"
-
#: src/Resources.vala:146
msgid "Rotate Left"
msgstr "Forgatás balra"
@@ -5220,23 +4977,17 @@ msgstr "Forgatás balra"
msgid "Rotate the photos left"
msgstr "Fényképek forgatása balra"
-#: src/Resources.vala:149
-msgid "Flip Hori_zontally"
-msgstr "_Vízszintes tükrözés"
-
#: src/Resources.vala:150
msgid "Flip Horizontally"
msgstr "Tükrözés vízszintesen"
-#: src/Resources.vala:152
-msgid "Flip Verti_cally"
-msgstr "_Függőleges tükrözés"
-
#: src/Resources.vala:153
msgid "Flip Vertically"
msgstr "Tükrözés függőlegesen"
-#: src/Resources.vala:155
+#: 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
msgid "_About"
msgstr "_Névjegy"
@@ -5244,14 +4995,30 @@ msgstr "_Névjegy"
msgid "_Apply"
msgstr "_Alkalmaz"
+#: src/Resources.vala:159 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/top.ui:10 ui/trash.ui:37
+msgid "_Edit"
+msgstr "S_zerkesztés"
+
#: src/Resources.vala:160
msgid "_Forward"
msgstr "_Előre"
-#: src/Resources.vala:161
+#: src/Resources.vala:161 ui/direct.ui:62 ui/events_directory.ui:125
+#: ui/photo.ui:173
msgid "Fulls_creen"
msgstr "Teljes ké_pernyő"
+#: 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/top.ui:40 ui/trash.ui:189 ui/trash.ui:192
+msgid "_Help"
+msgstr "_Súgó"
+
#: src/Resources.vala:163
msgid "Leave _Fullscreen"
msgstr "Teljes képernyő _elhagyása"
@@ -5264,15 +5031,9 @@ msgstr "Ú_j"
msgid "_Next"
msgstr "Kö_vetkező"
-#: src/Resources.vala:166
-msgid "_OK"
-msgstr "_OK"
-
-#: src/Resources.vala:167
-msgid "_Play"
-msgstr "_Lejátszás"
-
-#: src/Resources.vala:168 src/Resources.vala:317
+#: src/Resources.vala:168 src/Resources.vala:317 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 "_Beállítások"
@@ -5280,11 +5041,9 @@ msgstr "_Beállítások"
msgid "_Previous"
msgstr "_Előző"
-#: src/Resources.vala:170
-msgid "_Print"
-msgstr "_Nyomtatás"
-
-#: src/Resources.vala:171
+#: src/Resources.vala:171 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 "_Kilépés"
@@ -5324,22 +5083,24 @@ msgstr "_Normál méret"
msgid "Best _Fit"
msgstr "Legjobb _illeszkedés"
-#: src/Resources.vala:186
-msgid "_Enhance"
-msgstr "_Feljavítás"
+#: src/Resources.vala:183 ui/direct.ui:69 ui/event.ui:260 ui/media.ui:260
+#: ui/photo.ui:144 ui/tags.ui:260
+msgid "Zoom _In"
+msgstr "_Nagyítás"
+
+#: src/Resources.vala:184 ui/direct.ui:74 ui/event.ui:265 ui/media.ui:265
+#: ui/photo.ui:149 ui/tags.ui:265
+msgid "Zoom _Out"
+msgstr "_Kicsinyítés"
-#: src/Resources.vala:187
+#: src/Resources.vala:187 ui/collection.ui:165
msgid "Enhance"
msgstr "Feljavítás"
-#: src/Resources.vala:188
+#: src/Resources.vala:188 ui/collection.ui:162
msgid "Automatically improve the photo’s appearance"
msgstr "Fényképek megjelenésének automatikus javítása"
-#: src/Resources.vala:190
-msgid "_Copy Color Adjustments"
-msgstr "_Színbeállítások másolása"
-
#: src/Resources.vala:191
msgid "Copy Color Adjustments"
msgstr "Színbeállítások másolása"
@@ -5348,10 +5109,6 @@ msgstr "Színbeállítások másolása"
msgid "Copy the color adjustments applied to the photo"
msgstr "A képen alkalmazott színbeállítások másolása"
-#: src/Resources.vala:194
-msgid "_Paste Color Adjustments"
-msgstr "_Színbeállítások beillesztése"
-
#: src/Resources.vala:195
msgid "Paste Color Adjustments"
msgstr "Színbeállítások beillesztése"
@@ -5360,7 +5117,7 @@ msgstr "Színbeállítások beillesztése"
msgid "Apply copied color adjustments to the selected photos"
msgstr "A másolt színbeállítások alkalmazása a kijelölt fényképekre"
-#: src/Resources.vala:198
+#: src/Resources.vala:198 ui/direct.ui:139 ui/photo.ui:228
msgid "_Crop"
msgstr "_Levágás"
@@ -5380,7 +5137,7 @@ msgstr "Kiegyenesítés"
msgid "Straighten the photo"
msgstr "A fénykép kiegyenesítése"
-#: src/Resources.vala:206
+#: src/Resources.vala:206 ui/direct.ui:149 ui/photo.ui:238
msgid "_Red-eye"
msgstr "Vö_rösszem-hatás"
@@ -5392,7 +5149,7 @@ msgstr "Vörösszem-hatás"
msgid "Reduce or eliminate any red-eye effects in the photo"
msgstr "Vörösszem-hatás csökkentése vagy eltávolítása a fényképről"
-#: src/Resources.vala:210
+#: src/Resources.vala:210 ui/direct.ui:154 ui/photo.ui:243
msgid "_Adjust"
msgstr "Mó_dosítás"
@@ -5404,10 +5161,6 @@ msgstr "Módosítás"
msgid "Adjust the photo’s color and tone"
msgstr "Fénykép színének és tónusának módosítása"
-#: src/Resources.vala:214
-msgid "Re_vert to Original"
-msgstr "_Vissza az eredetihez"
-
#: src/Resources.vala:215
msgid "Revert to Original"
msgstr "Vissza az eredetihez"
@@ -5420,10 +5173,6 @@ msgstr "_Külső szerkesztések visszavonása"
msgid "Revert to the master photo"
msgstr "Visszatérés az eredeti fényképhez"
-#: src/Resources.vala:220
-msgid "Set as _Desktop Background"
-msgstr "Beállítás _asztalháttérként"
-
#: src/Resources.vala:221
msgid "Set selected image to be the new desktop background"
msgstr "Kiválasztott fénykép beállítása asztalháttérként"
@@ -5432,7 +5181,9 @@ msgstr "Kiválasztott fénykép beállítása asztalháttérként"
msgid "Set as _Desktop Slideshow…"
msgstr "Beállítás asztali _diavetítésként…"
-#: src/Resources.vala:224
+#: src/Resources.vala:224 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 "_Visszavonás:"
@@ -5440,7 +5191,9 @@ msgstr "_Visszavonás:"
msgid "Undo"
msgstr "Visszavonás"
-#: src/Resources.vala:227
+#: src/Resources.vala:227 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 "Új_ra:"
@@ -5448,11 +5201,12 @@ msgstr "Új_ra:"
msgid "Redo"
msgstr "Újra"
-#: src/Resources.vala:230
+#: src/Resources.vala:230 ui/events_directory.ui:139 ui/events_directory.ui:181
+#: ui/event.ui:391 ui/event.ui:584
msgid "Re_name Event…"
msgstr "Esemé_ny átnevezése…"
-#: src/Resources.vala:233
+#: src/Resources.vala:233 ui/event.ui:371 ui/event.ui:576
msgid "Make _Key Photo for Event"
msgstr "_Esemény kulcsképévé tétel"
@@ -5460,7 +5214,7 @@ msgstr "_Esemény kulcsképévé tétel"
msgid "Make Key Photo for Event"
msgstr "Esemény kulcsképévé tétel"
-#: src/Resources.vala:236
+#: src/Resources.vala:236 ui/event.ui:380 ui/media.ui:374 ui/tags.ui:374
msgid "_New Event"
msgstr "Új esemé_ny"
@@ -5476,7 +5230,7 @@ msgstr "Fényképek áthelyezése"
msgid "Move photos to an event"
msgstr "Fényképek áthelyezése eseménybe"
-#: src/Resources.vala:242
+#: src/Resources.vala:242 ui/events_directory.ui:135 ui/events_directory.ui:177
msgid "_Merge Events"
msgstr "_Események egyesítése"
@@ -5488,7 +5242,8 @@ msgstr "Egyesítés"
msgid "Combine events into a single event"
msgstr "Események egyesítése egyetlen eseménnyé"
-#: src/Resources.vala:246
+#: src/Resources.vala:246 ui/collection.ui:39 ui/event.ui:286 ui/event.ui:476
+#: ui/media.ui:286 ui/photo_context.ui:35 ui/photo.ui:273 ui/tags.ui:286
msgid "_Set Rating"
msgstr "É_rtékelés megadása"
@@ -5500,7 +5255,8 @@ msgstr "Értékelés megadása"
msgid "Change the rating of your photo"
msgstr "Fénykép értékelésének módosítása"
-#: src/Resources.vala:250
+#: src/Resources.vala:250 ui/collection.ui:72 ui/event.ui:326 ui/event.ui:509
+#: ui/media.ui:326 ui/photo_context.ui:75 ui/photo.ui:313 ui/tags.ui:326
msgid "_Increase"
msgstr "_Növelés"
@@ -5508,7 +5264,8 @@ msgstr "_Növelés"
msgid "Increase Rating"
msgstr "Értékelés növelése"
-#: src/Resources.vala:253
+#: src/Resources.vala:253 ui/collection.ui:76 ui/event.ui:331 ui/event.ui:513
+#: ui/media.ui:331 ui/photo_context.ui:80 ui/photo.ui:318 ui/tags.ui:331
msgid "_Decrease"
msgstr "_Csökkentés"
@@ -5516,7 +5273,8 @@ msgstr "_Csökkentés"
msgid "Decrease Rating"
msgstr "Értékelés csökkentése"
-#: src/Resources.vala:256
+#: src/Resources.vala:256 ui/collection.ui:62 ui/event.ui:314 ui/event.ui:499
+#: ui/media.ui:314 ui/photo_context.ui:63 ui/photo.ui:301 ui/tags.ui:314
msgid "_Unrated"
msgstr "É_rtékeletlen"
@@ -5536,7 +5294,8 @@ msgstr "Beállítás értékeletlenre"
msgid "Remove any ratings"
msgstr "Minden értékelés eltávolítása"
-#: src/Resources.vala:262
+#: src/Resources.vala:262 ui/collection.ui:66 ui/event.ui:319 ui/event.ui:503
+#: ui/media.ui:319 ui/photo_context.ui:68 ui/photo.ui:306 ui/tags.ui:319
msgid "_Rejected"
msgstr "_Visszautasított"
@@ -5556,7 +5315,8 @@ msgstr "Beállítás visszautasítottra"
msgid "Set rating to rejected"
msgstr "Értékelés beállítása visszautasítottra"
-#: src/Resources.vala:268
+#: src/Resources.vala:268 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 "_Csak visszautasított"
@@ -5568,7 +5328,8 @@ msgstr "Csak visszautasított"
msgid "Show only rejected photos"
msgstr "Csak a visszautasított fényképek megjelenítése"
-#: src/Resources.vala:272
+#: src/Resources.vala:272 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 "Összes + _visszautasított"
@@ -5577,7 +5338,8 @@ msgctxt "Tooltip"
msgid "Show all photos, including rejected"
msgstr "Összes fénykép megjelenítése, a visszautasítottak is"
-#: src/Resources.vala:275
+#: src/Resources.vala:275 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 "Öss_zes fénykép"
@@ -5586,7 +5348,8 @@ msgstr "Öss_zes fénykép"
msgid "Show all photos"
msgstr "Összes fénykép megjelenítése"
-#: src/Resources.vala:279
+#: src/Resources.vala:279 ui/event.ui:144 ui/media.ui:144 ui/photo.ui:120
+#: ui/tags.ui:144
msgid "_Ratings"
msgstr "É_rtékelések"
@@ -5594,7 +5357,8 @@ msgstr "É_rtékelések"
msgid "Display each photo’s rating"
msgstr "A fényképek értékelésének megjelenítése"
-#: src/Resources.vala:282
+#: src/Resources.vala:282 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 "_Fényképek szűrése"
@@ -5606,10 +5370,6 @@ msgstr "Fényképek szűrése"
msgid "Limit the number of photos displayed based on a filter"
msgstr "A megjelenített fényképek számának korlátozása szűrővel"
-#: src/Resources.vala:286
-msgid "_Duplicate"
-msgstr "_Kettőzés"
-
#: src/Resources.vala:287
msgid "Duplicate"
msgstr "Kettőzés"
@@ -5630,11 +5390,12 @@ msgstr "_Nyomtatás…"
msgid "Pu_blish…"
msgstr "Kö_zzététel…"
-#: src/Resources.vala:296
+#: src/Resources.vala:296 ui/collection.ui:187
msgid "Publish to various websites"
msgstr "Közzététel különböző weboldalakon"
-#: src/Resources.vala:298
+#: src/Resources.vala:298 ui/collection.ui:98 ui/event.ui:340 ui/event.ui:535
+#: ui/media.ui:340 ui/photo_context.ui:105 ui/photo.ui:327 ui/tags.ui:340
msgid "Edit _Title…"
msgstr "_Cím szerkesztése…"
@@ -5644,7 +5405,9 @@ msgctxt "Button Label"
msgid "Edit Title"
msgstr "Cím szerkesztése"
-#: src/Resources.vala:302
+#: 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
msgid "Edit _Comment…"
msgstr "Megjegyzés s_zerkesztése…"
@@ -5653,11 +5416,11 @@ msgstr "Megjegyzés s_zerkesztése…"
msgid "Edit Comment"
msgstr "A megjegyzés szerkesztése"
-#: src/Resources.vala:306
+#: src/Resources.vala:306 ui/event.ui:588
msgid "Edit Event _Comment…"
msgstr "_Eseménymegjegyzés szerkesztése…"
-#: src/Resources.vala:309
+#: src/Resources.vala:309 ui/direct.ui:167 ui/photo.ui:335
msgid "_Adjust Date and Time…"
msgstr "_Dátum és idő módosítása…"
@@ -5665,11 +5428,12 @@ msgstr "_Dátum és idő módosítása…"
msgid "Adjust Date and Time"
msgstr "Dátum és idő módosítása"
-#: src/Resources.vala:312
+#: 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
msgid "Add _Tags…"
msgstr "_Címkék hozzáadása…"
-#: src/Resources.vala:313
+#: src/Resources.vala:313 ui/photo_context.ui:17
msgid "_Add Tags…"
msgstr "Címkék _hozzáadása…"
@@ -5679,19 +5443,7 @@ msgctxt "Dialog Title"
msgid "Add Tags"
msgstr "Címkék hozzáadása"
-#: src/Resources.vala:319
-msgid "Open With E_xternal Editor"
-msgstr "Megnyitás külső _szerkesztővel"
-
-#: src/Resources.vala:321
-msgid "Open With RA_W Editor"
-msgstr "Megnyitás RA_W szerkesztővel"
-
-#: src/Resources.vala:323
-msgid "Send _To…"
-msgstr "Kül_dés…"
-
-#: src/Resources.vala:324
+#: src/Resources.vala:324 ui/photo_context.ui:133
msgid "Send T_o…"
msgstr "_Küldés…"
@@ -5699,11 +5451,13 @@ msgstr "_Küldés…"
msgid "_Find…"
msgstr "_Keresés…"
-#: src/Resources.vala:327
+#: src/Resources.vala:327 ui/collection.ui:215 ui/offline.ui:239
+#: ui/trash.ui:312
msgid "Find"
msgstr "Keresés"
-#: src/Resources.vala:328
+#: src/Resources.vala:328 ui/collection.ui:212 ui/offline.ui:236
+#: ui/trash.ui:309
msgid "Find an image by typing text that appears in its name or tags"
msgstr "Kép keresése a névben vagy a címkékben megjelenő szöveg beírásával"
@@ -5765,7 +5519,8 @@ msgstr "„%s” címke átnevezése erre: „%s”"
msgid "_Rename…"
msgstr "Át_nevezés…"
-#: src/Resources.vala:375
+#: 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
msgid "Modif_y Tags…"
msgstr "Cí_mkék módosítása…"
@@ -5775,163 +5530,160 @@ msgstr "Címkék módosítása"
#: src/Resources.vala:379
#, c-format
+#| msgid "Tag Photo as “%s”"
msgid "Tag Photo as “%s”"
-msgstr "Fénykép címkézése ezzel: „%s”"
-
-#: src/Resources.vala:379
-#, c-format
-msgid "Tag Photos as “%s”"
-msgstr "Fényképek címkézése ezzel: „%s”"
+msgid_plural "Tag Photos as “%s”"
+msgstr[0] "Fénykép címkézése ezzel: „%s”"
+msgstr[1] "Fényképek címkézése ezzel: „%s”"
-#: src/Resources.vala:383
+#: src/Resources.vala:385
#, c-format
+#| msgid "Tag the selected photo as “%s”"
msgid "Tag the selected photo as “%s”"
-msgstr "Kiválasztott fénykép címkézése ezzel: „%s”"
+msgid_plural "Tag the selected photos as “%s”"
+msgstr[0] "Kiválasztott fénykép címkézése ezzel: „%s”"
+msgstr[1] "Kiválasztott fényképek címkézése ezzel: „%s”"
-#: src/Resources.vala:384
-#, c-format
-msgid "Tag the selected photos as “%s”"
-msgstr "Kiválasztott fényképek címkézése ezzel: „%s”"
-
-#: src/Resources.vala:388
+#: src/Resources.vala:391
#, c-format
+#| msgid "Remove Tag “%s” From _Photo"
msgid "Remove Tag “%s” From _Photo"
-msgstr "„%s” címke _eltávolítása a fényképről"
-
-#: src/Resources.vala:389
-#, c-format
-msgid "Remove Tag “%s” From _Photos"
-msgstr "„%s” címke _eltávolítása a fényképekről"
+msgid_plural "Remove Tag “%s” From _Photos"
+msgstr[0] "„%s” címke _eltávolítása a fényképről"
+msgstr[1] "„%s” címke _eltávolítása a fényképekről"
-#: src/Resources.vala:393
+#: src/Resources.vala:397
#, c-format
+#| msgid "Remove Tag “%s” From Photo"
msgid "Remove Tag “%s” From Photo"
-msgstr "„%s” címke eltávolítása a fényképről"
-
-#: src/Resources.vala:394
-#, c-format
-msgid "Remove Tag “%s” From Photos"
-msgstr "„%s” címke eltávolítása a fényképekről"
+msgid_plural "Remove Tag “%s” From Photos"
+msgstr[0] "„%s” címke eltávolítása a fényképről"
+msgstr[1] "„%s” címke eltávolítása a fényképekről"
-#: src/Resources.vala:398
+#: src/Resources.vala:403
#, c-format
msgid "Unable to rename tag to “%s” because the tag already exists."
msgstr "A címke nem nevezhető át erre: „%s”, mert a címke már létezik."
-#: src/Resources.vala:402
+#: src/Resources.vala:407
#, c-format
msgid "Unable to rename search to “%s” because the search already exists."
msgstr "Nem lehet átnevezni a keresést erre: „%s”, mert a keresés már létezik."
#. Saved search button
-#: src/Resources.vala:405 src/SearchFilter.vala:1210
+#: src/Resources.vala:410 src/SearchFilter.vala:1125
msgid "Saved Search"
msgstr "Mentett keresés"
-#: src/Resources.vala:407
+#: src/Resources.vala:412
msgid "Delete Search"
msgstr "Keresés törlése"
-#: src/Resources.vala:410
+#: src/Resources.vala:415 ui/savedsearch.ui:11
msgid "_Edit…"
msgstr "S_zerkesztés…"
-#: src/Resources.vala:411
+#: src/Resources.vala:416 ui/savedsearch.ui:7
msgid "Re_name…"
msgstr "Át_nevezés…"
-#: src/Resources.vala:414
+#: src/Resources.vala:419
#, c-format
msgid "Rename Search “%s” to “%s”"
msgstr "„%s” keresés átnevezése erre: „%s”"
-#: src/Resources.vala:418
+#: src/Resources.vala:423
#, c-format
msgid "Delete Search “%s”"
msgstr "„%s” keresés törlése"
-#: src/Resources.vala:576
+#: src/Resources.vala:560
#, c-format
msgid "Rate %s"
msgstr "%s értékelés"
-#: src/Resources.vala:577
+#: src/Resources.vala:561
#, c-format
msgid "Set rating to %s"
msgstr "Értékelés beállítása erre: %s"
-#: src/Resources.vala:578
+#: src/Resources.vala:562
#, c-format
msgid "Setting rating to %s"
msgstr "Értékelés beállítása erre: %s"
-#: src/Resources.vala:580
+#: src/Resources.vala:564
#, c-format
msgid "Display %s"
msgstr "%s megjelenítése"
-#: src/Resources.vala:581
+#: src/Resources.vala:565
#, c-format
msgid "Only show photos with a rating of %s"
msgstr "Csak azon fényképek megjelenítése, amelyek értékelése %s"
-#: src/Resources.vala:582
+#: src/Resources.vala:566
#, c-format
msgid "%s or Better"
msgstr "%s vagy jobb"
-#: src/Resources.vala:583
+#: src/Resources.vala:567
#, c-format
msgid "Display %s or Better"
msgstr "%s vagy jobb megjelenítése"
-#: src/Resources.vala:584
+#: src/Resources.vala:568
#, c-format
msgid "Only show photos with a rating of %s or better"
msgstr "Csak azon fényképek mutatása, amelyek értékelése %s vagy jobb"
-#: src/Resources.vala:675
+#: src/Resources.vala:659 ui/trash.ui:255
msgid "Remove the selected photos from the trash"
msgstr "Kijelölt fényképek eltávolítása a Kukából"
-#: src/Resources.vala:676
+#: src/Resources.vala:660 ui/offline.ui:221
msgid "Remove the selected photos from the library"
msgstr "Kijelölt fényképek eltávolítása a gyűjteményből"
-#: src/Resources.vala:678
+#: src/Resources.vala:662 ui/trash.ui:68 ui/trash.ui:221 ui/trash.ui:273
msgid "_Restore"
msgstr "_Visszaállítás"
-#: src/Resources.vala:679
+#: src/Resources.vala:663 ui/trash.ui:270
msgid "Move the selected photos back into the library"
msgstr "Kijelölt fényképek visszaállítása a gyűjteménybe"
-#: src/Resources.vala:681
+#: 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
+#: ui/trash.ui:227
msgid "Show in File Mana_ger"
msgstr "_Megjelenítés a fájlkezelőben"
-#: src/Resources.vala:682
+#: src/Resources.vala:666
msgid "Open the selected photo’s directory in the file manager"
msgstr "Kijelölt fénykép könyvtárának megnyitása a fájlkezelőben"
-#: src/Resources.vala:685
+#: src/Resources.vala:669
#, c-format
msgid "Unable to open in file manager: %s"
msgstr "Nem nyitható meg a fájlkezelőben: %s"
-#: src/Resources.vala:688
+#: src/Resources.vala:672 ui/offline.ui:224
msgid "R_emove From Library"
msgstr "_Eltávolítás a gyűjteményből"
-#: src/Resources.vala:690
+#: 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
msgid "_Move to Trash"
msgstr "Á_thelyezés a Kukába"
-#: src/Resources.vala:692
+#: src/Resources.vala:676 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 "Összes _kijelölése"
-#: src/Resources.vala:693
+#: src/Resources.vala:677
msgid "Select all items"
msgstr "Minden elem kijelölése"
@@ -5944,14 +5696,14 @@ msgstr "Minden elem kijelölése"
#. / 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:782
+#: src/Resources.vala:766
msgid "%a %b %d, %Y"
msgstr "%Y. %b. %d., %a"
#. / 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:787
+#: src/Resources.vala:771
msgctxt "MultidayFormat"
msgid "%a %b %d"
msgstr "%a. %b. %d"
@@ -5959,7 +5711,7 @@ msgstr "%a. %b. %d"
#. / 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:792
+#: src/Resources.vala:776
msgctxt "MultidayFormat"
msgid "%d, %Y"
msgstr "%Y. %d."
@@ -5967,7 +5719,7 @@ msgstr "%Y. %d."
#. / 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:797
+#: src/Resources.vala:781
msgctxt "MultimonthFormat"
msgid "%a %b %d"
msgstr "%a. %b. %d"
@@ -5975,7 +5727,7 @@ msgstr "%a. %b. %d"
#. / 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:802
+#: src/Resources.vala:786
msgctxt "MultimonthFormat"
msgid "%a %b %d, %Y"
msgstr "%Y. %b. %d., %a"
@@ -5989,139 +5741,139 @@ msgid "Saved Searches"
msgstr "Mentett keresések"
#. Ordering must correspond with SearchConditionText.Context
-#: src/searches/SavedSearchDialog.vala:168
+#: src/searches/SavedSearchDialog.vala:162
msgid "contains"
msgstr "tartalmazza"
#. Ordering must correspond with Context
-#: src/searches/SavedSearchDialog.vala:169
-#: src/searches/SavedSearchDialog.vala:500
+#: src/searches/SavedSearchDialog.vala:163
+#: src/searches/SavedSearchDialog.vala:494
msgid "is exactly"
msgstr "pontosan ez"
-#: src/searches/SavedSearchDialog.vala:170
+#: src/searches/SavedSearchDialog.vala:164
msgid "starts with"
msgstr "ezzel kezdődik"
-#: src/searches/SavedSearchDialog.vala:171
+#: src/searches/SavedSearchDialog.vala:165
msgid "ends with"
msgstr "ezzel végződik"
-#: src/searches/SavedSearchDialog.vala:172
+#: src/searches/SavedSearchDialog.vala:166
msgid "does not contain"
msgstr "nem tartalmazza"
-#: src/searches/SavedSearchDialog.vala:173
-#: src/searches/SavedSearchDialog.vala:504
+#: src/searches/SavedSearchDialog.vala:167
+#: src/searches/SavedSearchDialog.vala:498
msgid "is not set"
msgstr "nincs beállítva"
-#: src/searches/SavedSearchDialog.vala:174
+#: src/searches/SavedSearchDialog.vala:168
msgid "is set"
msgstr "beállítva"
#. Ordering must correspond with SearchConditionMediaType.Context
-#: src/searches/SavedSearchDialog.vala:248
-#: src/searches/SavedSearchDialog.vala:379
-#: src/searches/SavedSearchDialog.vala:444
+#: src/searches/SavedSearchDialog.vala:242
+#: src/searches/SavedSearchDialog.vala:373
+#: src/searches/SavedSearchDialog.vala:438
msgid "is"
msgstr "="
-#: src/searches/SavedSearchDialog.vala:249
+#: src/searches/SavedSearchDialog.vala:243
msgid "is not"
msgstr "nem"
#. Ordering must correspond with SearchConditionMediaType.MediaType
-#: src/searches/SavedSearchDialog.vala:255
+#: src/searches/SavedSearchDialog.vala:249
msgid "any photo"
msgstr "bármely fénykép"
-#: src/searches/SavedSearchDialog.vala:256
+#: src/searches/SavedSearchDialog.vala:250
msgid "a raw photo"
msgstr "nyers fénykép"
-#: src/searches/SavedSearchDialog.vala:257
+#: src/searches/SavedSearchDialog.vala:251
msgid "a video"
msgstr "videó"
-#: src/searches/SavedSearchDialog.vala:311
+#: src/searches/SavedSearchDialog.vala:305
msgid "has"
msgstr "van"
-#: src/searches/SavedSearchDialog.vala:312
+#: src/searches/SavedSearchDialog.vala:306
msgid "has no"
msgstr "nincs"
-#: src/searches/SavedSearchDialog.vala:317
+#: src/searches/SavedSearchDialog.vala:311
msgid "modifications"
msgstr "változtatások"
-#: src/searches/SavedSearchDialog.vala:318
+#: src/searches/SavedSearchDialog.vala:312
msgid "internal modifications"
msgstr "belső változtatások"
-#: src/searches/SavedSearchDialog.vala:319
+#: src/searches/SavedSearchDialog.vala:313
msgid "external modifications"
msgstr "külső változtatások"
#. Ordering must correspond with SearchConditionFlagged.State
-#: src/searches/SavedSearchDialog.vala:373
+#: src/searches/SavedSearchDialog.vala:367
msgid "flagged"
msgstr "megjelölt"
-#: src/searches/SavedSearchDialog.vala:374
+#: src/searches/SavedSearchDialog.vala:368
msgid "not flagged"
msgstr "jelöletlen"
-#: src/searches/SavedSearchDialog.vala:437
+#: src/searches/SavedSearchDialog.vala:431
msgid "and higher"
msgstr "és nagyobb"
-#: src/searches/SavedSearchDialog.vala:438
+#: src/searches/SavedSearchDialog.vala:432
msgid "only"
msgstr "csak"
-#: src/searches/SavedSearchDialog.vala:439
+#: src/searches/SavedSearchDialog.vala:433
msgid "and lower"
msgstr "és kisebb"
-#: src/searches/SavedSearchDialog.vala:501
+#: src/searches/SavedSearchDialog.vala:495
msgid "is after"
msgstr "után volt"
-#: src/searches/SavedSearchDialog.vala:502
+#: src/searches/SavedSearchDialog.vala:496
msgid "is before"
msgstr "előtte volt"
-#: src/searches/SavedSearchDialog.vala:503
+#: src/searches/SavedSearchDialog.vala:497
msgid "is between"
msgstr "ezek közt"
-#: src/searches/SavedSearchDialog.vala:516
+#: src/searches/SavedSearchDialog.vala:510
msgid "and"
msgstr "és"
-#: src/searches/SavedSearchDialog.vala:697
+#: src/searches/SavedSearchDialog.vala:691
msgid "Search"
msgstr "Keresés"
-#: src/searches/SavedSearchDialog.vala:702
+#: src/searches/SavedSearchDialog.vala:696
msgid "Cancel"
msgstr "Mégse"
-#: src/searches/SavedSearchDialog.vala:703
+#: src/searches/SavedSearchDialog.vala:697
msgid "OK"
msgstr "OK"
-#: src/searches/SavedSearchDialog.vala:721
+#: src/searches/SavedSearchDialog.vala:716
msgid "any"
msgstr "bármely"
-#: src/searches/SavedSearchDialog.vala:722
+#: src/searches/SavedSearchDialog.vala:717
msgid "all"
msgstr "összes"
-#: src/searches/SavedSearchDialog.vala:723
+#: src/searches/SavedSearchDialog.vala:718
msgid "none"
msgstr "nincs"
@@ -6161,8 +5913,8 @@ msgstr "Jelölő állapota"
msgid "Photo state"
msgstr "Fénykép állapota"
-#. Rating button
-#: src/searches/SearchBoolean.vala:184 src/SearchFilter.vala:1199
+#: src/searches/SearchBoolean.vala:184 src/SearchFilter.vala:831
+#: src/SearchFilter.vala:1115
msgid "Rating"
msgstr "Értékelés"
@@ -6170,45 +5922,60 @@ msgstr "Értékelés"
msgid "Date"
msgstr "Dátum"
-#: src/SearchFilter.vala:614 src/SearchFilter.vala:615
-msgid "Videos"
-msgstr "Videók"
+#: src/SearchFilter.vala:815
+#| msgid "Rating"
+msgid "★+ Rating"
+msgstr "★+ Értékelés"
-#: src/SearchFilter.vala:620
-msgid "RAW Photos"
-msgstr "RAW fényképek"
+#: src/SearchFilter.vala:818
+#| msgid "Rating"
+msgid "★★+ Rating"
+msgstr "★★+ Értékelés"
-#: src/SearchFilter.vala:621
-msgid "RAW photos"
-msgstr "RAW fényképek"
+#: src/SearchFilter.vala:821
+msgid "★★★+ Rating"
+msgstr "★★★+ Értékelés"
+
+#: src/SearchFilter.vala:824
+msgid "★★★★+ Rating"
+msgstr "★★★★+ Értékelés"
+
+#: src/SearchFilter.vala:828
+msgid "★★★★★+ Rating"
+msgstr "★★★★★+ Értékelés"
-#: src/SearchFilter.vala:1148
+#: src/SearchFilter.vala:1065
#, c-format
-msgid "Error loading UI file %s: %s"
-msgstr "Hiba a(z) %s felületfájl betöltésekor: %s"
+#| msgid "Error loading UI file %s: %s"
+msgid "Error loading search bar UI: %s"
+msgstr "Hiba a keresősáv felületének betöltésekor: %s"
#. Ticket #3260 - Add a 'close' context menu to
#. the searchbar.
#. Prepare the close menu for use, but don't
#. display it yet; we'll connect it to secondary
#. click later on.
-#: src/SearchFilter.vala:1159
+#: src/SearchFilter.vala:1074
msgid "Close"
msgstr "Bezárás"
#. Type label and toggles
-#: src/SearchFilter.vala:1165
+#: src/SearchFilter.vala:1080
msgid "Type"
msgstr "Típus"
-#: src/SearchFilter.vala:1211
+#: src/SearchFilter.vala:1087
+msgid "Videos"
+msgstr "Videók"
+
+#: src/SearchFilter.vala:1090
+msgid "RAW Photos"
+msgstr "RAW fényképek"
+
+#: src/SearchFilter.vala:1126
msgid "Use a saved search to filter items in the current view"
msgstr "Mentett keresés használata a jelenlegi nézetben történő szűréshez"
-#: src/sidebar/Tree.vala:203
-msgid "New _Tag…"
-msgstr "Új _címke…"
-
#: src/SlideshowPage.vala:49 src/SlideshowPage.vala:183
msgid "Settings"
msgstr "Beállítások"
@@ -6281,10 +6048,225 @@ msgid "untitled"
msgstr "névtelen"
#. multiple videos
-#: src/VideoSupport.vala:490
+#: src/VideoSupport.vala:507
msgid "Export Videos"
msgstr "Videók exportálása"
+#: ui/collection.ui:33 ui/event.ui:281 ui/event.ui:470 ui/media.ui:281
+#: ui/photo_context.ui:30 ui/photo.ui:268 ui/tags.ui:281
+msgid "Toggle _Flag"
+msgstr "_Jelző átváltása"
+
+#: 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
+msgid "_Developer"
+msgstr "_Előhívó"
+
+#: ui/collection.ui:106 ui/event.ui:543 ui/photo_context.ui:113 ui/photo.ui:358
+#| msgid "Open With E_xternal Editor"
+msgid "Open with E_xternal Editor"
+msgstr "Megnyitás külső _szerkesztővel"
+
+#: 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
+msgid "View Eve_nt for Photo"
+msgstr "Fénykép _eseményének megjelenítése"
+
+#: ui/direct.ui:5 ui/events_directory.ui:5 ui/event.ui:5 ui/import_queue.ui:5
+#: ui/import.ui:5 ui/media.ui:5 ui/offline.ui:5 ui/photo.ui:5 ui/tags.ui:5
+#: ui/top.ui:5 ui/trash.ui:5
+msgid "_File"
+msgstr "_Fájl"
+
+#: ui/direct.ui:13 ui/event.ui:17 ui/media.ui:17 ui/photo.ui:17 ui/tags.ui:17
+msgid "Save _As…"
+msgstr "Men_tés másként…"
+
+#: ui/direct.ui:59 ui/events_directory.ui:71 ui/event.ui:99
+#: ui/import_queue.ui:38 ui/import.ui:74 ui/media.ui:99 ui/offline.ui:78
+#: ui/photo.ui:95 ui/tags.ui:99 ui/top.ui:15 ui/trash.ui:87
+msgid "_View"
+msgstr "_Nézet"
+
+#: ui/direct.ui:81 ui/photo.ui:156
+msgid "Fit to _Page"
+msgstr "_Teljes oldal"
+
+#: ui/direct.ui:86 ui/photo.ui:161
+msgid "Zoom _100%"
+msgstr "_100% nagyítás"
+
+#: ui/direct.ui:91 ui/photo.ui:166
+msgid "Zoom _200%"
+msgstr "_200% nagyítás"
+
+#: ui/direct.ui:98 ui/photo.ui:187 ui/top.ui:20
+msgid "_Photo"
+msgstr "_Fénykép"
+
+#: ui/direct.ui:101 ui/photo.ui:190
+msgid "_Previous Photo"
+msgstr "_Előző fénykép"
+
+#: ui/direct.ui:105 ui/photo.ui:194
+msgid "_Next Photo"
+msgstr "_Következő fénykép"
+
+#: ui/direct.ui:131 ui/photo.ui:220
+msgid "T_ools"
+msgstr "_Eszközök"
+
+#: 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
+msgid "_Frequently Asked Questions"
+msgstr "_Gyakran ismételt kérdések"
+
+#: 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
+msgid "_Report a Problem…"
+msgstr "_Hiba jelentése…"
+
+#: ui/events_directory.ui:8 ui/event.ui:8 ui/import_queue.ui:14 ui/import.ui:8
+#: ui/media.ui:8 ui/offline.ui:8 ui/photo.ui:8 ui/tags.ui:8 ui/trash.ui:8
+#| msgid "_Import From Folder…"
+msgid "_Import from Folder…"
+msgstr "_Importálás mappából…"
+
+#: ui/events_directory.ui:13 ui/event.ui:13 ui/import_queue.ui:19
+#: ui/import.ui:21 ui/media.ui:13 ui/offline.ui:13 ui/photo.ui:13 ui/tags.ui:13
+#: ui/trash.ui:13
+msgid "Import From _Application…"
+msgstr "Importálás _alkalmazásból…"
+
+#: ui/events_directory.ui:19 ui/event.ui:34 ui/import_queue.ui:25
+#: ui/import.ui:27 ui/media.ui:34 ui/offline.ui:19 ui/photo.ui:42 ui/tags.ui:34
+#: ui/trash.ui:24 ui/trash.ui:234 ui/trash.ui:242
+msgid "Empty T_rash"
+msgstr "_Kuka ürítése"
+
+#: ui/events_directory.ui:47 ui/event.ui:62 ui/import.ui:55 ui/media.ui:62
+#: ui/offline.ui:47 ui/tags.ui:62 ui/trash.ui:52
+msgid "_Find"
+msgstr "_Keresés"
+
+#: ui/events_directory.ui:51 ui/event.ui:66 ui/media.ui:66 ui/offline.ui:51
+#: ui/photo.ui:70 ui/search_sidebar_context.ui:6
+#: ui/sidebar_default_context.ui:6 ui/tags.ui:66 ui/trash.ui:56
+msgid "Ne_w Saved Search…"
+msgstr "Új _mentett keresés…"
+
+#: ui/events_directory.ui:74 ui/event.ui:102 ui/import_queue.ui:41
+#: ui/import.ui:77 ui/media.ui:102 ui/offline.ui:81 ui/photo.ui:98
+#: ui/tags.ui:102 ui/trash.ui:90
+msgid "_Basic Information"
+msgstr "_Alapvető információk"
+
+#: ui/events_directory.ui:79 ui/event.ui:107 ui/import.ui:82 ui/media.ui:107
+#: ui/offline.ui:86 ui/photo.ui:103 ui/tags.ui:107 ui/trash.ui:95
+msgid "E_xtended Information"
+msgstr "_További információk"
+
+#: ui/events_directory.ui:84 ui/event.ui:112 ui/import.ui:87 ui/media.ui:112
+#: ui/offline.ui:91 ui/tags.ui:112 ui/trash.ui:100
+msgid "_Search Bar"
+msgstr "Keresősá_v"
+
+#: ui/events_directory.ui:89 ui/event.ui:117 ui/import.ui:92 ui/media.ui:117
+#: ui/offline.ui:96 ui/photo.ui:108 ui/tags.ui:117 ui/trash.ui:105
+msgid "S_idebar"
+msgstr "_Oldalsáv"
+
+#: ui/events_directory.ui:94 ui/event.ui:122 ui/import.ui:97 ui/media.ui:122
+#: ui/offline.ui:101 ui/photo.ui:113 ui/tags.ui:122 ui/trash.ui:110
+msgid "T_oolbar"
+msgstr "Esz_köztár"
+
+#: ui/events_directory.ui:101 ui/event.ui:134 ui/media.ui:134 ui/tags.ui:134
+msgid "_Comments"
+msgstr "_Megjegyzések"
+
+#: ui/events_directory.ui:108 ui/event.ui:243 ui/import_queue.ui:48
+#: ui/import.ui:166 ui/media.ui:243 ui/offline.ui:163 ui/photo.ui:127
+#: ui/tags.ui:243 ui/trash.ui:172
+msgid "Sort _Events"
+msgstr "_Események rendezése"
+
+#: ui/events_directory.ui:111 ui/event.ui:231 ui/event.ui:246
+#: ui/import_queue.ui:51 ui/import.ui:169 ui/media.ui:231 ui/media.ui:246
+#: ui/offline.ui:166 ui/photo.ui:130 ui/tags.ui:231 ui/tags.ui:246
+#: ui/trash.ui:175
+msgid "_Ascending"
+msgstr "_Növekvő"
+
+#: ui/events_directory.ui:116 ui/event.ui:236 ui/import_queue.ui:56
+#: ui/media.ui:236 ui/offline.ui:171 ui/tags.ui:236 ui/trash.ui:180
+msgid "D_escending"
+msgstr "_Csökkenő"
+
+#: ui/events_directory.ui:132 ui/event.ui:377 ui/media.ui:371 ui/tags.ui:371
+#: ui/top.ui:30
+msgid "Even_ts"
+msgstr "_Események"
+
+#: ui/event.ui:74 ui/media.ui:74 ui/offline.ui:58 ui/offline.ui:207
+#: ui/photo.ui:77 ui/tags.ui:74
+#| msgid "R_emove From Library"
+msgid "R_emove from Library"
+msgstr "_Eltávolítás a gyűjteményből"
+
+#: ui/event.ui:129 ui/import.ui:104 ui/media.ui:129 ui/tags.ui:129
+msgid "_Titles"
+msgstr "_Címek"
+
+#: 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/top.ui:35
+msgid "Ta_gs"
+msgstr "Cí_mkék"
+
+#: ui/event.ui:206 ui/media.ui:206 ui/tags.ui:206
+msgid "Sort _Photos"
+msgstr "Fényképek _rendezése"
+
+#: ui/event.ui:209 ui/media.ui:209 ui/tags.ui:209
+msgid "By _Title"
+msgstr "_Cím szerint"
+
+#: ui/event.ui:214 ui/media.ui:214 ui/tags.ui:214
+msgid "By _Filename"
+msgstr "Fájl_név szerint"
+
+#: ui/event.ui:219 ui/media.ui:219 ui/tags.ui:219
+msgid "By Exposure _Date"
+msgstr "_Készítés dátuma"
+
+#: ui/event.ui:224 ui/media.ui:224 ui/tags.ui:224
+msgid "By _Rating"
+msgstr "É_rtékelés szerint"
+
+#: ui/event.ui:251 ui/import.ui:174 ui/media.ui:251 ui/photo.ui:135
+#: ui/tags.ui:251
+#| msgid "D_escending"
+msgid "_Descending"
+msgstr "_Csökkenő"
+
+#: ui/event.ui:275 ui/media.ui:275 ui/tags.ui:275 ui/top.ui:25
+msgid "_Photos"
+msgstr "Fény_képek"
+
+#: ui/import_queue.ui:8
+msgid "_Stop Import"
+msgstr "Importálás l_eállítása"
+
+#: ui/import.ui:13 ui/import.ui:210
+msgid "Import _Selected"
+msgstr "_Kijelöltek importálása"
+
+#: ui/import.ui:17 ui/import.ui:214
+msgid "Import _All"
+msgstr "Összes im_portálása"
+
#: ui/set_background_dialog.ui:15
msgid "Set as Desktop Background"
msgstr "Beállítás asztalháttérként"
@@ -6293,7 +6275,7 @@ msgstr "Beállítás asztalháttérként"
msgid "Use for Desktop"
msgstr "Használat az asztalhoz"
-#: ui/set_background_dialog.ui:93 ui/set_background_slideshow_dialog.ui:148
+#: ui/set_background_dialog.ui:92 ui/set_background_slideshow_dialog.ui:148
msgid "Use for Lock Screen"
msgstr "Használat a zárolási képernyőhöz"
@@ -6317,161 +6299,306 @@ msgstr "Asztalháttér-diavetítés készítése"
msgid "How long each photo is shown on the desktop background"
msgstr "Az egyes fényképek meddig jelenjenek meg asztalháttérként"
-#: ui/shotwell.ui:23
-msgid "_Name of search:"
-msgstr "Keresés _neve:"
+#: ui/shotwell.ui:65
+msgid "white"
+msgstr "fehér"
-#: ui/shotwell.ui:81
-msgid "_Match"
-msgstr "Illes_zkedjen"
+#: ui/shotwell.ui:92
+msgid "black"
+msgstr "fekete"
-#: ui/shotwell.ui:108
-msgid "of the following:"
-msgstr "a következőkkel:"
+#: ui/shotwell.ui:123
+msgid "Display"
+msgstr "Megjelenítés"
+
+#: ui/shotwell.ui:160
+msgid "_Background:"
+msgstr "_Háttér:"
+
+#: ui/shotwell.ui:175
+msgid "_Import photos to:"
+msgstr "Fényképek i_mportálása ide:"
+
+#: ui/shotwell.ui:186
+msgid "_Watch library directory for new files"
+msgstr "Új _fájlok figyelése a gyűjteménykönyvtárban"
+
+#: ui/shotwell.ui:209
+msgid "Importing"
+msgstr "Importálás"
+
+#: ui/shotwell.ui:226
+msgid "_Directory structure:"
+msgstr "_Könyvtárszerkezet:"
+
+#: ui/shotwell.ui:240
+msgid "Example:"
+msgstr "Példa:"
+
+#: ui/shotwell.ui:249
+msgid "R_ename imported files to lowercase"
+msgstr "_Importált fájlok átnevezése kisbetűssé"
+
+#: ui/shotwell.ui:271
+msgid "Metadata"
+msgstr "Metaadatok"
-#: ui/shotwell.ui:195
+#: ui/shotwell.ui:284
+msgid "Write tags, titles, and other _metadata to photo files"
+msgstr "_Címkék, címek és más metaadatok fényképfájlokba írása"
+
+#: ui/shotwell.ui:306
+msgid "RAW Developer"
+msgstr "RAW előhívó"
+
+#: ui/shotwell.ui:323
+msgid "De_fault:"
+msgstr "_Alapértelmezett:"
+
+#: ui/shotwell.ui:377
+msgid "_Pattern:"
+msgstr "_Minta:"
+
+#: ui/shotwell.ui:439
+msgid "E_xternal photo editor:"
+msgstr "Külső _fényképszerkesztő:"
+
+#: ui/shotwell.ui:456
+msgid "External _RAW editor:"
+msgstr "Külső _RAW szerkesztő:"
+
+#: ui/shotwell.ui:517
+msgid "External Editors"
+msgstr "Külső szerkesztők"
+
+#: ui/shotwell.ui:542
+msgid "Plugins"
+msgstr "Bővítmények"
+
+#: ui/shotwell.ui:583
msgid "<b>Printed Image Size</b>"
msgstr "<b>Nyomtatott képméret</b>"
-#: ui/shotwell.ui:212
+#: ui/shotwell.ui:600
msgid "Use a _standard size:"
msgstr "_Szabványos méret használata:"
-#: ui/shotwell.ui:255
+#: ui/shotwell.ui:643
msgid "Use a c_ustom size:"
msgstr "_Egyéni méret használata:"
-#: ui/shotwell.ui:345
+#: ui/shotwell.ui:731
msgid "_Match photo aspect ratio"
msgstr "Fénykép _méretarányának megtartása"
-#: ui/shotwell.ui:369
+#: ui/shotwell.ui:755
msgid "_Autosize:"
msgstr "_Automatikus méret:"
-#: ui/shotwell.ui:409
+#: ui/shotwell.ui:795
msgid "<b>Titles</b>"
msgstr "<b>Címek</b>"
-#: ui/shotwell.ui:426
+#: ui/shotwell.ui:812
msgid "Print image _title"
msgstr "Kép _címének nyomtatása"
-#: ui/shotwell.ui:470
+#: ui/shotwell.ui:855
msgid "<b>Pixel Resolution</b>"
msgstr "<b>Felbontás képpontban</b>"
-#: ui/shotwell.ui:490
+#: ui/shotwell.ui:875
msgid "_Output photo at:"
msgstr "_Kimenő fénykép:"
-#: ui/shotwell.ui:525
+#: ui/shotwell.ui:909
msgid "pixels per inch"
msgstr "képpont hüvelykenként"
-#: ui/shotwell.ui:559
+#: ui/shotwell.ui:949
+msgid "_Name of search:"
+msgstr "Keresés _neve:"
+
+#: ui/shotwell.ui:1003
+msgid "_Match"
+msgstr "Illes_zkedjen"
+
+#: ui/shotwell.ui:1030
+msgid "of the following:"
+msgstr "a következőkkel:"
+
+#: ui/shotwell.ui:1111
msgid "label"
msgstr "címke"
-#: ui/shotwell.ui:681
-msgid "Shotwell Preferences"
-msgstr "Shotwell beállítások"
+#: ui/shotwell.ui:1262
+msgid "_Delay:"
+msgstr "_Késleltetés:"
-#: ui/shotwell.ui:730
-msgid "white"
-msgstr "fehér"
+#: ui/shotwell.ui:1276
+msgid "_Transition effect:"
+msgstr "Átmenet _effektus:"
-#: ui/shotwell.ui:757
-msgid "black"
-msgstr "fekete"
+#: ui/shotwell.ui:1290
+msgid "Transition d_elay:"
+msgstr "Átmenet _késleltetése:"
-#: ui/shotwell.ui:805
-msgid "_Watch library directory for new files"
-msgstr "Új _fájlok figyelése a gyűjteménykönyvtárban"
+#: ui/shotwell.ui:1300
+msgid "Show t_itle"
+msgstr "_Cím megjelenítése"
-#: ui/shotwell.ui:834
-msgid "Metadata"
-msgstr "Metaadatok"
+#: ui/shotwell.ui:1375 ui/shotwell.ui:1386
+msgid "seconds"
+msgstr "másodperc"
-#: ui/shotwell.ui:854
-msgid "Write tags, titles, and other _metadata to photo files"
-msgstr "_Címkék, címek és más metaadatok fényképfájlokba írása"
+#: ui/sidebar_default_context.ui:11 ui/tag_sidebar_context.ui:6
+msgid "New _Tag…"
+msgstr "Új _címke…"
-#: ui/shotwell.ui:880
-msgid "Display"
-msgstr "Megjelenítés"
+#: ui/trash.ui:285
+msgid "Delete all photos in the trash"
+msgstr "Minden fénykép törlése a Kukában"
-#: ui/shotwell.ui:901
-msgid "_Import photos to:"
-msgstr "Fényképek i_mportálása ide:"
+#~ msgid "_Contents"
+#~ msgstr "_Tartalom"
-#: ui/shotwell.ui:924
-msgid "_Background:"
-msgstr "_Háttér:"
+#~ msgid "Display the title of each photo"
+#~ msgstr "Fényképek címeinek megjelenítése"
-#: ui/shotwell.ui:947
-msgid "Importing"
-msgstr "Importálás"
+#~ msgid "Import the selected photos into your library"
+#~ msgstr "Kijelölt fényképek importálása a gyűjteményébe"
-#: ui/shotwell.ui:970
-msgid "_Directory structure:"
-msgstr "_Könyvtárszerkezet:"
+#~ msgid "Import all the photos into your library"
+#~ msgstr "Minden fénykép importálása a gyűjteményébe"
-#: ui/shotwell.ui:1009
-msgid "_Pattern:"
-msgstr "_Minta:"
+#~ msgid "Play a slideshow"
+#~ msgstr "Diavetítés indítása"
-#: ui/shotwell.ui:1091
-msgid "Example:"
-msgstr "Példa:"
+#~ msgid "_Modify original photo files"
+#~ msgstr "Eredeti fényképfájlok _módosítása"
-#: ui/shotwell.ui:1108
-msgid "R_ename imported files to lowercase"
-msgstr "_Importált fájlok átnevezése kisbetűssé"
+#~ msgid "_Modify original files"
+#~ msgstr "Eredeti fájlok _módosítása"
-#: ui/shotwell.ui:1137
-msgid "RAW Developer"
-msgstr "RAW előhívó"
+#~ msgid "Save photo"
+#~ msgstr "Fénykép mentése"
-#: ui/shotwell.ui:1172
-msgid "De_fault:"
-msgstr "_Alapértelmezett:"
+#~ msgid "Save photo with a different name"
+#~ msgstr "Fénykép mentése más névvel"
-#: ui/shotwell.ui:1226
-msgid "E_xternal photo editor:"
-msgstr "Külső _fényképszerkesztő:"
+#~ msgid "Print the photo to a printer connected to your computer"
+#~ msgstr "Fénykép nyomtatása a számítógéphez csatlakozó nyomtatón"
-#: ui/shotwell.ui:1242
-msgid "External _RAW editor:"
-msgstr "Külső _RAW szerkesztő:"
+#~ msgid "Previous Photo"
+#~ msgstr "Előző fénykép"
-#: ui/shotwell.ui:1307
-msgid "External Editors"
-msgstr "Külső szerkesztők"
+#~ msgid "Next Photo"
+#~ msgstr "Következő fénykép"
-#: ui/shotwell.ui:1334
-msgid "Plugins"
-msgstr "Bővítmények"
+#~ msgid "Increase the magnification of the photo"
+#~ msgstr "Fénykép nagyításának növelése"
-#: ui/shotwell.ui:1400
-msgid "_Delay:"
-msgstr "_Késleltetés:"
+#~ msgid "Decrease the magnification of the photo"
+#~ msgstr "Fénykép nagyításának csökkentése"
-#: ui/shotwell.ui:1416
-msgid "_Transition effect:"
-msgstr "Átmenet _effektus:"
+#~ msgid "Zoom the photo to fit on the screen"
+#~ msgstr "Képernyő kitöltése a fényképpel"
-#: ui/shotwell.ui:1432
-msgid "Transition d_elay:"
-msgstr "Átmenet _késleltetése:"
+#~ msgid "Zoom the photo to 100% magnification"
+#~ msgstr "Fénykép 100%-os nagyítása"
-#: ui/shotwell.ui:1444
-msgid "Show t_itle"
-msgstr "_Cím megjelenítése"
+#~ msgid "Zoom the photo to 200% magnification"
+#~ msgstr "Fénykép 200%-os nagyítása"
-#: ui/shotwell.ui:1534 ui/shotwell.ui:1547
-msgid "seconds"
-msgstr "másodperc"
+#~ msgid "Display the comment of each event"
+#~ msgstr "Az egyes események megjegyzéseinek megjelenítése"
+
+#~ msgid "Stop importing photos"
+#~ msgstr "Fényképek importálásának leállítása"
+
+#~ msgid "Import photos from disk to library"
+#~ msgstr "Fényképek importálása a gyűjteménybe lemezről"
+
+#~ msgid "Find photos and videos by search criteria"
+#~ msgstr "Fényképek és videók keresése keresőkifejezésekkel"
+
+#~ msgid "Display basic information for the selection"
+#~ msgstr "Kijelöltek alapvető információinak megjelenítése"
+
+#~ msgid "Display extended information for the selection"
+#~ msgstr "Kijelöltek további információinak megjelenítése"
+
+#~ msgid "Display the search bar"
+#~ msgstr "A keresősáv megjelenítése"
+
+#~ msgid "Display the sidebar"
+#~ msgstr "Az oldalsáv megjelenítése"
+
+#~ msgid "Display the tool bar"
+#~ msgstr "Az eszköztár megjelenítése"
+
+#~ msgid "Sort photos in an ascending order"
+#~ msgstr "Fényképek növekvő sorrendbe rendezése"
+
+#~ msgid "Sort photos in a descending order"
+#~ msgstr "Fényképek csökkenő sorrendbe rendezése"
+
+#~ msgid "Increase the magnification of the thumbnails"
+#~ msgstr "Bélyegképek nagyítása"
+
+#~ msgid "Decrease the magnification of the thumbnails"
+#~ msgstr "Bélyegképek kicsinyítése"
+
+#~ msgid "_Play Video"
+#~ msgstr "_Videó lejátszása"
+
+#~ msgid "Open the selected videos in the system video player"
+#~ msgstr "Kijelölt videók megnyitása a rendszer videolejátszójában"
+
+#~ msgid "Display the comment of each photo"
+#~ msgstr "Az egyes képek megjegyzéseinek megjelenítése"
+
+#~ msgid "Display each photo’s tags"
+#~ msgstr "Fényképek címkéinek megjelenítése"
+
+#~ msgid "Sort photos by title"
+#~ msgstr "Fényképek rendezése cím szerint"
+
+#~ msgid "Sort photos by exposure date"
+#~ msgstr "Fényképek rendezése készítésük dátuma szerint"
+
+#~ msgid "Sort photos by rating"
+#~ msgstr "Fényképek rendezése értékelés szerint"
+
+#~ msgid "Sort photos by filename"
+#~ msgstr "Fényképek rendezése fájlnév szerint"
+
+#~ msgid "The selected videos were successfully published."
+#~ msgstr "A kijelölt videók sikeresen közzétéve."
+
+#~ msgid "The selected photos were successfully published."
+#~ msgstr "A kijelölt fényképek sikeresen közzétéve."
+
+#~ msgid "The selected photo was successfully published."
+#~ msgstr "A kijelölt fénykép sikeresen közzétéve."
+
+#~ msgid "Tag Photos as “%s”"
+#~ msgstr "Fényképek címkézése ezzel: „%s”"
+
+#~ msgid "Tag the selected photos as “%s”"
+#~ msgstr "Kiválasztott fényképek címkézése ezzel: „%s”"
+
+#~ msgid "Remove Tag “%s” From _Photos"
+#~ msgstr "„%s” címke _eltávolítása a fényképekről"
+
+#~ msgid "Remove Tag “%s” From Photos"
+#~ msgstr "„%s” címke eltávolítása a fényképekről"
+
+#~ msgid "RAW photos"
+#~ msgstr "RAW fényképek"
+
+#~ msgid "Shotwell Preferences"
+#~ msgstr "Shotwell beállítások"
#~ msgid "Login"
#~ msgstr "Bejelentkezés"
diff --git a/po/pl.gmo b/po/pl.gmo
index 2dedc1f..3022fea 100644
--- a/po/pl.gmo
+++ b/po/pl.gmo
Binary files differ
diff --git a/po/pl.po b/po/pl.po
index 08cab0a..4097910 100644
--- a/po/pl.po
+++ b/po/pl.po
@@ -11,8 +11,8 @@ msgstr ""
"Project-Id-Version: shotwell\n"
"Report-Msgid-Bugs-To: http://bugzilla.gnome.org/enter_bug.cgi?"
"product=shotwell&keywords=I18N+L10N&component=Internationalization\n"
-"POT-Creation-Date: 2016-11-19 01:52+0000\n"
-"PO-Revision-Date: 2016-11-20 18:30+0100\n"
+"POT-Creation-Date: 2016-11-26 08:07+0000\n"
+"PO-Revision-Date: 2016-11-27 17:25+0100\n"
"Last-Translator: Piotr Drąg <piotrdrag@gmail.com>\n"
"Language-Team: Polish <community-poland@mozilla.org>\n"
"Language: pl\n"
@@ -1388,7 +1388,7 @@ msgstr ""
msgid "Visit the Shotwell home page"
msgstr "Witryna programu Shotwell"
-#: plugins/common/Resources.vala:31 src/AppWindow.vala:597
+#: plugins/common/Resources.vala:31 src/AppWindow.vala:603
msgid "translator-credits"
msgstr ""
"verayin <vera@yorba.org>, 2011\n"
@@ -1573,7 +1573,7 @@ msgstr "_Wstecz"
#: plugins/shotwell-publishing-extras/gallery3_authentication_pane.ui:8
#: plugins/shotwell-publishing-extras/gallery3_authentication_pane.ui:145
-#: ui/shotwell.ui:1630
+#: ui/shotwell.ui:1464
msgid "_Log in"
msgstr "Za_loguj"
@@ -2238,7 +2238,7 @@ msgid "Google+ (2048 × 1536 pixels)"
msgstr "Google+ (2048×1536 pikseli)"
#: plugins/shotwell-publishing/PicasaPublishing.vala:750
-#: src/editing_tools/EditingTools.vala:755
+#: src/editing_tools/EditingTools.vala:752
msgid "Original Size"
msgstr "Oryginalny rozmiar"
@@ -2514,19 +2514,19 @@ msgstr "Nie można ustawić katalogu %s jako zapisywalnego"
msgid "Could not make directory %s writable: %s"
msgstr "Nie można ustawić katalogu %s jako zapisywalnego: %s"
-#: src/AppWindow.vala:45
+#: src/AppWindow.vala:47
msgid "Pin Toolbar"
msgstr "Przypnij pasek narzędziowy"
-#: src/AppWindow.vala:46
+#: src/AppWindow.vala:48
msgid "Pin the toolbar open"
msgstr "Przypina pasek narzędziowy"
-#: src/AppWindow.vala:51
+#: src/AppWindow.vala:53
msgid "Leave fullscreen"
msgstr "Opuszcza pełny ekran"
-#: src/AppWindow.vala:526 src/AppWindow.vala:547 src/AppWindow.vala:564
+#: src/AppWindow.vala:532 src/AppWindow.vala:553 src/AppWindow.vala:570
#: src/data_imports/DataImportsUI.vala:301
#: src/data_imports/DataImportsUI.vala:419 src/Dialogs.vala:20
#: src/Dialogs.vala:28 src/Dialogs.vala:1430 src/Dialogs.vala:1453
@@ -2535,7 +2535,7 @@ msgstr "Opuszcza pełny ekran"
msgid "_Cancel"
msgstr "_Anuluj"
-#: src/AppWindow.vala:574
+#: src/AppWindow.vala:580
#, c-format
msgid ""
"A fatal error occurred when accessing Shotwell’s library. Shotwell cannot "
@@ -2548,21 +2548,21 @@ msgstr ""
"\n"
"%s"
-#: src/AppWindow.vala:594
+#: src/AppWindow.vala:600
msgid "Visit the Shotwell web site"
msgstr "Witryna programu Shotwell"
-#: src/AppWindow.vala:606
+#: src/AppWindow.vala:612
#, c-format
msgid "Unable to display help: %s"
msgstr "Nie można wyświetlić pomocy: %s"
-#: src/AppWindow.vala:614
+#: src/AppWindow.vala:620
#, c-format
msgid "Unable to navigate to bug database: %s"
msgstr "Nie można przejść do bazy danych błędów: %s"
-#: src/AppWindow.vala:622
+#: src/AppWindow.vala:628
#, c-format
msgid "Unable to display FAQ: %s"
msgstr "Nie można wyświetlić dokumentu FAQ: %s"
@@ -2639,7 +2639,7 @@ msgstr "Aparaty"
msgid "Camera"
msgstr "Aparat"
-#: src/camera/ImportPage.vala:311 src/Properties.vala:227
+#: src/camera/ImportPage.vala:311 src/Properties.vala:230
msgid "RAW+JPEG"
msgstr "RAW+JPEG"
@@ -2786,7 +2786,7 @@ msgid "_Print"
msgstr "Wy_drukuj"
#: src/CollectionPage.vala:77 src/Resources.vala:323 ui/collection.ui:126
-#: ui/direct_context.ui:26 ui/direct.ui:23 ui/event.ui:563 ui/photo.ui:28
+#: ui/direct_context.ui:25 ui/direct.ui:23 ui/event.ui:563 ui/photo.ui:28
msgid "Send _To…"
msgstr "Wyślij _do…"
@@ -2828,13 +2828,13 @@ msgid "Flip Verti_cally"
msgstr "Odwróć pi_onowo"
#: src/CollectionPage.vala:113 src/Resources.vala:186 ui/collection.ui:8
-#: ui/direct_context.ui:10 ui/direct.ui:134 ui/event.ui:445
+#: ui/direct_context.ui:9 ui/direct.ui:134 ui/event.ui:445
#: ui/photo_context.ui:6 ui/photo.ui:223
msgid "_Enhance"
msgstr "_Uwydatnij"
#: src/CollectionPage.vala:114 src/Resources.vala:214 ui/collection.ui:13
-#: ui/direct_context.ui:15 ui/direct.ui:161 ui/event.ui:450
+#: ui/direct_context.ui:14 ui/direct.ui:161 ui/event.ui:450
#: ui/photo_context.ui:11 ui/photo.ui:250
msgid "Re_vert to Original"
msgstr "Przy_wróć oryginalne"
@@ -2864,43 +2864,43 @@ msgstr "Otwórz za pomocą edytora plików _RAW"
msgid "_Play"
msgstr "Od_twórz"
-#: src/CollectionPage.vala:399
+#: src/CollectionPage.vala:404
msgid "Export Photo/Video"
msgstr "Eksport zdjęcia/nagrania wideo"
-#: src/CollectionPage.vala:399
+#: src/CollectionPage.vala:404
msgid "Export Photos/Videos"
msgstr "Eksport zdjęć/nagrań wideo"
-#: src/CollectionPage.vala:401 src/Dialogs.vala:59 src/PhotoPage.vala:2988
+#: src/CollectionPage.vala:406 src/Dialogs.vala:59 src/PhotoPage.vala:2988
msgid "Export Photo"
msgstr "Eksport zdjęcia"
-#: src/CollectionPage.vala:401 src/Dialogs.vala:84
+#: src/CollectionPage.vala:406 src/Dialogs.vala:84
msgid "Export Photos"
msgstr "Eksport zdjęć"
-#: src/CollectionPage.vala:488 src/CollectionPage.vala:504
+#: src/CollectionPage.vala:493 src/CollectionPage.vala:509
msgid "Rotating"
msgstr "Obracanie"
-#: src/CollectionPage.vala:488 src/CollectionPage.vala:504
+#: src/CollectionPage.vala:493 src/CollectionPage.vala:509
msgid "Undoing Rotate"
msgstr "Cofanie obrotu"
-#: src/CollectionPage.vala:513
+#: src/CollectionPage.vala:518
msgid "Flipping Horizontally"
msgstr "Odwracanie poziome"
-#: src/CollectionPage.vala:514
+#: src/CollectionPage.vala:519
msgid "Undoing Flip Horizontally"
msgstr "Cofanie odwrócenia poziomego"
-#: src/CollectionPage.vala:523
+#: src/CollectionPage.vala:528
msgid "Flipping Vertically"
msgstr "Odwracanie pionowe"
-#: src/CollectionPage.vala:524
+#: src/CollectionPage.vala:529
msgid "Undoing Flip Vertically"
msgstr "Cofanie odwrócenia pionowego"
@@ -3118,7 +3118,7 @@ msgstr ""
msgid "Database file:"
msgstr "Plik bazy danych:"
-#: src/data_imports/DataImportsUI.vala:112 src/library/LibraryWindow.vala:766
+#: src/data_imports/DataImportsUI.vala:112 src/library/LibraryWindow.vala:769
msgid "_Import"
msgstr "Zai_mportuj"
@@ -3201,7 +3201,7 @@ msgstr[2] "Etykieta „%s” zostanie usunięta z %d zdjęć. Kontynuować?"
#: src/Dialogs.vala:20 src/Dialogs.vala:28 src/Dialogs.vala:1398
#: src/Resources.vala:158 src/Resources.vala:361 src/Resources.vala:414
-#: src/Resources.vala:658 ui/savedsearch.ui:16 ui/trash.ui:63 ui/trash.ui:216
+#: src/Resources.vala:658 ui/savedsearch.ui:15 ui/trash.ui:63 ui/trash.ui:216
#: ui/trash.ui:258
msgid "_Delete"
msgstr "_Usuń"
@@ -3787,7 +3787,7 @@ msgctxt "Dialog Title"
msgid "Edit Title"
msgstr "Modyfikacja tytułu"
-#: src/Dialogs.vala:1339 src/Properties.vala:340
+#: src/Dialogs.vala:1339 src/Properties.vala:343
msgid "Title:"
msgstr "Tytuł:"
@@ -3800,7 +3800,7 @@ msgstr "Modyfikuj komentarz wydarzenia"
msgid "Edit Photo/Video Comment"
msgstr "Modyfikuj komentarz zdjęcia/nagrania wideo"
-#: src/Dialogs.vala:1357 src/Properties.vala:628
+#: src/Dialogs.vala:1357 src/Properties.vala:631
msgid "Comment:"
msgstr "Komentarz:"
@@ -4059,7 +4059,7 @@ msgstr "Rok%smiesiąc-dzień"
msgid "Year-Month-Day"
msgstr "Rok-miesiąc-dzień"
-#: src/Dialogs.vala:2363 src/editing_tools/EditingTools.vala:780
+#: src/Dialogs.vala:2363 src/editing_tools/EditingTools.vala:777
msgid "Custom"
msgstr "Własny"
@@ -4272,201 +4272,201 @@ msgstr "Zapisz jako"
msgid "Unable to monitor %s: Not a directory (%s)"
msgstr "Nie można monitorować %s: nie jest katalogiem (%s)"
-#: src/editing_tools/EditingTools.vala:664
+#: src/editing_tools/EditingTools.vala:661
msgid "Return to current photo dimensions"
msgstr "Powraca do bieżących wymiarów zdjęcia"
-#: src/editing_tools/EditingTools.vala:667
+#: src/editing_tools/EditingTools.vala:664
msgid "Set the crop for this photo"
msgstr "Ustawia przycięcie tego zdjęcia"
-#: src/editing_tools/EditingTools.vala:679
+#: src/editing_tools/EditingTools.vala:676
msgid "Pivot the crop rectangle between portrait and landscape orientations"
msgstr "Obraca prostokąt przycięcia między orientacją poziomą a pionową"
-#: src/editing_tools/EditingTools.vala:752
+#: src/editing_tools/EditingTools.vala:749
msgid "Unconstrained"
msgstr "Niewymuszony"
-#: src/editing_tools/EditingTools.vala:753
+#: src/editing_tools/EditingTools.vala:750
msgid "Square"
msgstr "Kwadratowy"
-#: src/editing_tools/EditingTools.vala:754
+#: src/editing_tools/EditingTools.vala:751
msgid "Screen"
msgstr "Ekran"
+#: src/editing_tools/EditingTools.vala:753
#: src/editing_tools/EditingTools.vala:756
-#: src/editing_tools/EditingTools.vala:759
-#: src/editing_tools/EditingTools.vala:769
-#: src/editing_tools/EditingTools.vala:779
+#: src/editing_tools/EditingTools.vala:766
+#: src/editing_tools/EditingTools.vala:776
msgid "-"
msgstr "-"
-#: src/editing_tools/EditingTools.vala:757
+#: src/editing_tools/EditingTools.vala:754
msgid "SD Video (4 ∶ 3)"
msgstr "Plik wideo SD (4∶3)"
-#: src/editing_tools/EditingTools.vala:758
+#: src/editing_tools/EditingTools.vala:755
msgid "HD Video (16 ∶ 9)"
msgstr "Plik wideo HD (16∶9)"
-#: src/editing_tools/EditingTools.vala:760 src/Printing.vala:818
+#: src/editing_tools/EditingTools.vala:757 src/Printing.vala:818
msgid "Wallet (2 × 3 in.)"
msgstr "Portfel (2×3 cale)"
-#: src/editing_tools/EditingTools.vala:761 src/Printing.vala:821
+#: src/editing_tools/EditingTools.vala:758 src/Printing.vala:821
msgid "Notecard (3 × 5 in.)"
msgstr "Notatka (3×5 cali)"
-#: src/editing_tools/EditingTools.vala:762 src/Printing.vala:824
+#: src/editing_tools/EditingTools.vala:759 src/Printing.vala:824
msgid "4 × 6 in."
msgstr "4×6 cali"
-#: src/editing_tools/EditingTools.vala:763 src/Printing.vala:827
+#: src/editing_tools/EditingTools.vala:760 src/Printing.vala:827
msgid "5 × 7 in."
msgstr "5×7 cali"
-#: src/editing_tools/EditingTools.vala:764 src/Printing.vala:830
+#: src/editing_tools/EditingTools.vala:761 src/Printing.vala:830
msgid "8 × 10 in."
msgstr "8×10 cali"
-#: src/editing_tools/EditingTools.vala:765
+#: src/editing_tools/EditingTools.vala:762
msgid "Letter (8.5 × 11 in.)"
msgstr "Letter (8,5×11 cali)"
-#: src/editing_tools/EditingTools.vala:766 src/Printing.vala:833
+#: src/editing_tools/EditingTools.vala:763 src/Printing.vala:833
msgid "11 × 14 in."
msgstr "11×14 cali"
-#: src/editing_tools/EditingTools.vala:767
+#: src/editing_tools/EditingTools.vala:764
msgid "Tabloid (11 × 17 in.)"
msgstr "Tabloid (11×17 cali)"
-#: src/editing_tools/EditingTools.vala:768 src/Printing.vala:836
+#: src/editing_tools/EditingTools.vala:765 src/Printing.vala:836
msgid "16 × 20 in."
msgstr "16×20 cali"
-#: src/editing_tools/EditingTools.vala:770 src/Printing.vala:842
+#: src/editing_tools/EditingTools.vala:767 src/Printing.vala:842
msgid "Metric Wallet (9 × 13 cm)"
msgstr "Portfel metryczny (9×13 cm)"
-#: src/editing_tools/EditingTools.vala:771 src/Printing.vala:845
+#: src/editing_tools/EditingTools.vala:768 src/Printing.vala:845
msgid "Postcard (10 × 15 cm)"
msgstr "Kartka pocztowa (10×15 cm)"
-#: src/editing_tools/EditingTools.vala:772 src/Printing.vala:848
+#: src/editing_tools/EditingTools.vala:769 src/Printing.vala:848
msgid "13 × 18 cm"
msgstr "13×18 cm"
-#: src/editing_tools/EditingTools.vala:773 src/Printing.vala:851
+#: src/editing_tools/EditingTools.vala:770 src/Printing.vala:851
msgid "18 × 24 cm"
msgstr "18×24 cm"
-#: src/editing_tools/EditingTools.vala:774
+#: src/editing_tools/EditingTools.vala:771
msgid "A4 (210 × 297 mm)"
msgstr "A4 (210×297 mm)"
-#: src/editing_tools/EditingTools.vala:775 src/Printing.vala:854
+#: src/editing_tools/EditingTools.vala:772 src/Printing.vala:854
msgid "20 × 30 cm"
msgstr "20×30 cm"
-#: src/editing_tools/EditingTools.vala:776 src/Printing.vala:857
+#: src/editing_tools/EditingTools.vala:773 src/Printing.vala:857
msgid "24 × 40 cm"
msgstr "24×40 cm"
-#: src/editing_tools/EditingTools.vala:777 src/Printing.vala:860
+#: src/editing_tools/EditingTools.vala:774 src/Printing.vala:860
msgid "30 × 40 cm"
msgstr "30×40 cm"
-#: src/editing_tools/EditingTools.vala:778
+#: src/editing_tools/EditingTools.vala:775
msgid "A3 (297 × 420 mm)"
msgstr "A3 (297×420 mm)"
-#: src/editing_tools/EditingTools.vala:1878 src/Properties.vala:395
+#: src/editing_tools/EditingTools.vala:1875 src/Properties.vala:398
msgid "Size:"
msgstr "Rozmiar:"
-#: src/editing_tools/EditingTools.vala:1893
+#: src/editing_tools/EditingTools.vala:1890
msgid "Close the red-eye tool"
msgstr "Zamyka narzędzie usuwania czerwonych oczu"
-#: src/editing_tools/EditingTools.vala:1896
+#: src/editing_tools/EditingTools.vala:1893
msgid "Remove any red-eye effects in the selected region"
msgstr "Usuwa wszystkie efekty czerwonych oczu na wybranym obszarze"
-#: src/editing_tools/EditingTools.vala:2236
+#: src/editing_tools/EditingTools.vala:2233
#: src/editing_tools/StraightenTool.vala:102
msgid "_Reset"
msgstr "P_rzywróć"
#. fit both on the top line, emit and move on
-#: src/editing_tools/EditingTools.vala:2250 src/Properties.vala:436
-#: src/Properties.vala:440 src/Properties.vala:447
+#: src/editing_tools/EditingTools.vala:2247 src/Properties.vala:439
+#: src/Properties.vala:443 src/Properties.vala:450
msgid "Exposure:"
msgstr "Ekspozycja:"
-#: src/editing_tools/EditingTools.vala:2259
+#: src/editing_tools/EditingTools.vala:2256
msgid "Contrast:"
msgstr "Kontrast:"
-#: src/editing_tools/EditingTools.vala:2268
+#: src/editing_tools/EditingTools.vala:2265
msgid "Saturation:"
msgstr "Nasycenie:"
-#: src/editing_tools/EditingTools.vala:2277
+#: src/editing_tools/EditingTools.vala:2274
msgid "Tint:"
msgstr "Odcień:"
-#: src/editing_tools/EditingTools.vala:2287
+#: src/editing_tools/EditingTools.vala:2284
msgid "Temperature:"
msgstr "Temperatura:"
-#: src/editing_tools/EditingTools.vala:2296
+#: src/editing_tools/EditingTools.vala:2293
msgid "Shadows:"
msgstr "Cienie:"
-#: src/editing_tools/EditingTools.vala:2305
+#: src/editing_tools/EditingTools.vala:2302
msgid "Highlights:"
msgstr "Wyróżnienia:"
-#: src/editing_tools/EditingTools.vala:2361
+#: src/editing_tools/EditingTools.vala:2358
msgid "Reset Colors"
msgstr "Przywróć kolory"
-#: src/editing_tools/EditingTools.vala:2361
+#: src/editing_tools/EditingTools.vala:2358
msgid "Reset all color adjustments to original"
msgstr "Przywraca wszystkie dostosowania kolorów do oryginalnych"
-#: src/editing_tools/EditingTools.vala:2720
+#: src/editing_tools/EditingTools.vala:2717
msgid "Temperature"
msgstr "Temperatura"
-#: src/editing_tools/EditingTools.vala:2732
+#: src/editing_tools/EditingTools.vala:2729
msgid "Tint"
msgstr "Odcień"
-#: src/editing_tools/EditingTools.vala:2744
+#: src/editing_tools/EditingTools.vala:2741
msgid "Contrast"
msgstr "Kontrast"
-#: src/editing_tools/EditingTools.vala:2758
+#: src/editing_tools/EditingTools.vala:2755
msgid "Saturation"
msgstr "Nasycenie"
-#: src/editing_tools/EditingTools.vala:2771
+#: src/editing_tools/EditingTools.vala:2768
msgid "Exposure"
msgstr "Ekspozycja"
-#: src/editing_tools/EditingTools.vala:2784
+#: src/editing_tools/EditingTools.vala:2781
msgid "Shadows"
msgstr "Cienie"
-#: src/editing_tools/EditingTools.vala:2797
+#: src/editing_tools/EditingTools.vala:2794
msgid "Highlights"
msgstr "Wyróżnienia"
-#: src/editing_tools/EditingTools.vala:2807
+#: src/editing_tools/EditingTools.vala:2804
msgid "Contrast Expansion"
msgstr "Rozszerzenie kontrastu"
@@ -4491,7 +4491,7 @@ msgstr[0] "%d zdjęcie/nagranie wideo"
msgstr[1] "%d zdjęcia/nagrania wideo"
msgstr[2] "%d zdjęć/nagrań wideo"
-#: src/events/EventDirectoryItem.vala:85 src/Properties.vala:355
+#: src/events/EventDirectoryItem.vala:85 src/Properties.vala:358
#, c-format
msgid "%d Video"
msgid_plural "%d Videos"
@@ -4499,7 +4499,7 @@ msgstr[0] "%d nagranie wideo"
msgstr[1] "%d nagrania wideo"
msgstr[2] "%d nagrań wideo"
-#: src/events/EventDirectoryItem.vala:87 src/Properties.vala:353
+#: src/events/EventDirectoryItem.vala:87 src/Properties.vala:356
#, c-format
msgid "%d Photo"
msgid_plural "%d Photos"
@@ -4575,16 +4575,16 @@ msgstr "Eksport"
msgid "Folders"
msgstr "Katalogi"
-#: src/library/Branch.vala:30 src/library/Branch.vala:130 ui/shotwell.ui:1194
+#: src/library/Branch.vala:30 src/library/Branch.vala:130 ui/shotwell.ui:412
msgid "Library"
msgstr "Kolekcja"
-#: src/library/Branch.vala:97 src/SearchFilter.vala:1084
+#: src/library/Branch.vala:97 src/SearchFilter.vala:1086
msgid "Photos"
msgstr "Zdjęcia"
-#: src/library/FlaggedPage.vala:8 src/SearchFilter.vala:1103
-#: src/SearchFilter.vala:1104
+#: src/library/FlaggedPage.vala:8 src/SearchFilter.vala:1105
+#: src/SearchFilter.vala:1106
msgid "Flagged"
msgstr "Oznaczone flagą"
@@ -4617,7 +4617,7 @@ msgstr "Opróżnij kosz"
msgid "Emptying Trash…"
msgstr "Opróżnianie kosza…"
-#: src/library/LibraryWindow.vala:763
+#: src/library/LibraryWindow.vala:766
#, c-format
msgid ""
"Shotwell is configured to import photos to your home directory.\n"
@@ -4631,33 +4631,33 @@ msgstr ""
"Preferencje</span>.\n"
"Kontynuować importowanie zdjęć?"
-#: src/library/LibraryWindow.vala:766 ui/shotwell.ui:784
+#: src/library/LibraryWindow.vala:769 ui/shotwell.ui:142
msgid "Library Location"
msgstr "Położenie kolekcji"
#. TODO: Specify which directory/file.
-#: src/library/LibraryWindow.vala:779
+#: src/library/LibraryWindow.vala:782
msgid "Photos cannot be imported from this directory."
msgstr "Nie można importować zdjęć z tego katalogu."
-#: src/library/LibraryWindow.vala:1059
+#: src/library/LibraryWindow.vala:1062
#, c-format
msgid "%s (%d%%)"
msgstr "%s (%d%%)"
-#: src/library/LibraryWindow.vala:1103 src/library/LibraryWindow.vala:1114
+#: src/library/LibraryWindow.vala:1106 src/library/LibraryWindow.vala:1117
msgid "Updating library…"
msgstr "Aktualizowanie kolekcji…"
-#: src/library/LibraryWindow.vala:1120
+#: src/library/LibraryWindow.vala:1123
msgid "Preparing to auto-import photos…"
msgstr "Przygotowywanie do automatycznego zaimportowania zdjęć…"
-#: src/library/LibraryWindow.vala:1125
+#: src/library/LibraryWindow.vala:1128
msgid "Auto-importing photos…"
msgstr "Automatyczne importowanie zdjęć…"
-#: src/library/LibraryWindow.vala:1133
+#: src/library/LibraryWindow.vala:1136
msgid "Writing metadata to files…"
msgstr "Zapisywanie metadanych do plików…"
@@ -4911,19 +4911,19 @@ msgstr ""
"\n"
"%s"
-#: src/Properties.vala:84
+#: src/Properties.vala:87
msgid "Today"
msgstr "Dzisiaj"
-#: src/Properties.vala:86
+#: src/Properties.vala:89
msgid "Yesterday"
msgstr "Wczoraj"
-#: src/Properties.vala:343
+#: src/Properties.vala:346
msgid "Items:"
msgstr "Elementy:"
-#: src/Properties.vala:346
+#: src/Properties.vala:349
#, c-format
msgid "%d Event"
msgid_plural "%d Events"
@@ -4932,104 +4932,104 @@ msgstr[1] "%d wydarzenia"
msgstr[2] "%d wydarzeń"
#. display only one date if start and end are the same
-#: src/Properties.vala:377
+#: src/Properties.vala:380
msgid "Date:"
msgstr "Data:"
#. display only one time if start and end are the same
-#: src/Properties.vala:381
+#: src/Properties.vala:384
msgid "Time:"
msgstr "Czas:"
#. display time range
#. display date range
-#: src/Properties.vala:384 src/Properties.vala:389
+#: src/Properties.vala:387 src/Properties.vala:392
msgid "From:"
msgstr "Od:"
-#: src/Properties.vala:385 src/Properties.vala:390
+#: src/Properties.vala:388 src/Properties.vala:393
msgid "To:"
msgstr "Do:"
-#: src/Properties.vala:404
+#: src/Properties.vala:407
msgid "Duration:"
msgstr "Czas trwania:"
-#: src/Properties.vala:404
+#: src/Properties.vala:407
#, c-format
msgid "%.1f seconds"
msgstr "%.1f s"
-#: src/Properties.vala:408
+#: src/Properties.vala:411
msgid "Developer:"
msgstr "Wywoływacz:"
#. nothing special to be done for now for Events
-#: src/Properties.vala:583
+#: src/Properties.vala:586
msgid "Location:"
msgstr "Położenie:"
-#: src/Properties.vala:586
+#: src/Properties.vala:589
msgid "File size:"
msgstr "Rozmiar pliku:"
-#: src/Properties.vala:590
+#: src/Properties.vala:593
msgid "Current Development:"
msgstr "Bieżący wywoływacz:"
-#: src/Properties.vala:592
+#: src/Properties.vala:595
msgid "Original dimensions:"
msgstr "Oryginalne wymiary:"
-#: src/Properties.vala:595
+#: src/Properties.vala:598
msgid "Camera make:"
msgstr "Producent aparatu:"
-#: src/Properties.vala:598
+#: src/Properties.vala:601
msgid "Camera model:"
msgstr "Model aparatu:"
-#: src/Properties.vala:601
+#: src/Properties.vala:604
msgid "Flash:"
msgstr "Lampa błyskowa:"
-#: src/Properties.vala:603
+#: src/Properties.vala:606
msgid "Focal length:"
msgstr "Odległość ogniskowa:"
-#: src/Properties.vala:606
+#: src/Properties.vala:609
msgid "Exposure date:"
msgstr "Data ekspozycji:"
-#: src/Properties.vala:609
+#: src/Properties.vala:612
msgid "Exposure time:"
msgstr "Czas ekspozycji:"
-#: src/Properties.vala:612
+#: src/Properties.vala:615
msgid "Exposure bias:"
msgstr "Wpływ na ekspozycję:"
-#: src/Properties.vala:614
+#: src/Properties.vala:617
msgid "GPS latitude:"
msgstr "Szerokość geograficzna GPS:"
-#: src/Properties.vala:617
+#: src/Properties.vala:620
msgid "GPS longitude:"
msgstr "Długość geograficzna GPS:"
-#: src/Properties.vala:620
+#: src/Properties.vala:623
msgid "Artist:"
msgstr "Artysta:"
-#: src/Properties.vala:622
+#: src/Properties.vala:625
msgid "Copyright:"
msgstr "Prawa autorskie:"
-#: src/Properties.vala:624
+#: src/Properties.vala:627
msgid "Software:"
msgstr "Oprogramowanie:"
-#: src/Properties.vala:641
+#: src/Properties.vala:644
msgid "Extended Information"
msgstr "Rozszerzone informacje"
@@ -5055,13 +5055,20 @@ msgstr ""
#. Here, we check whether more than one item is being uploaded, and if so, display
#. an alternate message.
-#: src/publishing/PublishingUI.vala:104 src/publishing/PublishingUI.vala:109
+#: src/publishing/PublishingUI.vala:104
msgid "The selected video was successfully published."
msgid_plural "The selected videos were successfully published."
msgstr[0] "Wybrane nagranie wideo zostało pomyślnie opublikowane."
msgstr[1] "Wybrane nagrania wideo zostały pomyślnie opublikowane."
msgstr[2] "Wybrane nagrania wideo zostały pomyślnie opublikowane."
+#: src/publishing/PublishingUI.vala:109
+msgid "The selected photo was successfully published."
+msgid_plural "The selected photos were successfully published."
+msgstr[0] "Wybrane zdjęcie zostało pomyślnie opublikowane."
+msgstr[1] "Wybrane zdjęcia zostały pomyślnie opublikowane."
+msgstr[2] "Wybrane zdjęcia zostały pomyślnie opublikowane."
+
#: src/publishing/PublishingUI.vala:115
msgid "The selected photos/videos were successfully published."
msgstr "Wybrane zdjęcia/nagrania wideo zostały pomyślnie opublikowane."
@@ -5740,7 +5747,7 @@ msgstr ""
"już istnieje."
#. Saved search button
-#: src/Resources.vala:410 src/SearchFilter.vala:1125
+#: src/Resources.vala:410 src/SearchFilter.vala:1127
msgid "Saved Search"
msgstr "Zapisane wyszukiwanie"
@@ -5748,11 +5755,11 @@ msgstr "Zapisane wyszukiwanie"
msgid "Delete Search"
msgstr "Usunięcie wyszukiwania"
-#: src/Resources.vala:415 ui/savedsearch.ui:12
+#: src/Resources.vala:415 ui/savedsearch.ui:11
msgid "_Edit…"
msgstr "_Modyfikuj…"
-#: src/Resources.vala:416 ui/savedsearch.ui:8
+#: src/Resources.vala:416 ui/savedsearch.ui:7
msgid "Re_name…"
msgstr "Zmień _nazwę…"
@@ -5822,7 +5829,7 @@ msgstr "P_rzywróć"
msgid "Move the selected photos back into the library"
msgstr "Przenosi wybrane zdjęcia z powrotem do kolekcji"
-#: src/Resources.vala:665 ui/collection.ui:121 ui/direct_context.ui:21
+#: 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
#: ui/trash.ui:227
@@ -6082,8 +6089,8 @@ msgstr "Stan flagi"
msgid "Photo state"
msgstr "Stan zdjęcia"
-#: src/searches/SearchBoolean.vala:184 src/SearchFilter.vala:831
-#: src/SearchFilter.vala:1115
+#: src/searches/SearchBoolean.vala:184 src/SearchFilter.vala:833
+#: src/SearchFilter.vala:1117
msgid "Rating"
msgstr "Ocena"
@@ -6091,27 +6098,27 @@ msgstr "Ocena"
msgid "Date"
msgstr "Data"
-#: src/SearchFilter.vala:815
+#: src/SearchFilter.vala:817
msgid "★+ Rating"
msgstr "Ocena ★+"
-#: src/SearchFilter.vala:818
+#: src/SearchFilter.vala:820
msgid "★★+ Rating"
msgstr "Ocena ★★+"
-#: src/SearchFilter.vala:821
+#: src/SearchFilter.vala:823
msgid "★★★+ Rating"
msgstr "Ocena ★★★+"
-#: src/SearchFilter.vala:824
+#: src/SearchFilter.vala:826
msgid "★★★★+ Rating"
msgstr "Ocena ★★★★+"
-#: src/SearchFilter.vala:828
+#: src/SearchFilter.vala:830
msgid "★★★★★+ Rating"
msgstr "Ocena ★★★★★+"
-#: src/SearchFilter.vala:1065
+#: src/SearchFilter.vala:1067
#, c-format
msgid "Error loading search bar UI: %s"
msgstr "Błąd podczas wczytywania interfejsu użytkownika paska wyszukiwania: %s"
@@ -6121,24 +6128,24 @@ msgstr "Błąd podczas wczytywania interfejsu użytkownika paska wyszukiwania: %
#. Prepare the close menu for use, but don't
#. display it yet; we'll connect it to secondary
#. click later on.
-#: src/SearchFilter.vala:1074
+#: src/SearchFilter.vala:1076
msgid "Close"
msgstr "Zamknij"
#. Type label and toggles
-#: src/SearchFilter.vala:1080
+#: src/SearchFilter.vala:1082
msgid "Type"
msgstr "Typ"
-#: src/SearchFilter.vala:1087
+#: src/SearchFilter.vala:1089
msgid "Videos"
msgstr "Nagrania wideo"
-#: src/SearchFilter.vala:1090
+#: src/SearchFilter.vala:1092
msgid "RAW Photos"
msgstr "Zdjęcia RAW"
-#: src/SearchFilter.vala:1126
+#: src/SearchFilter.vala:1128
msgid "Use a saved search to filter items in the current view"
msgstr ""
"Używa zapisanego wyszukiwania do filtrowania elementów w bieżącym widoku"
@@ -6238,10 +6245,6 @@ msgstr "_Otwórz za pomocą zewnętrznego edytora"
msgid "View Eve_nt for Photo"
msgstr "Wyświetl wydarze_nie dla zdjęcia"
-#: ui/direct_context.ui:7
-msgid "DirectContextMenu"
-msgstr "DirectContextMenu"
-
#: ui/direct.ui:5 ui/events_directory.ui:5 ui/event.ui:5 ui/import_queue.ui:5
#: ui/import.ui:5 ui/media.ui:5 ui/offline.ui:5 ui/photo.ui:5 ui/tags.ui:5
#: ui/top.ui:5 ui/trash.ui:5
@@ -6434,10 +6437,6 @@ msgstr "_Zaimportuj wybrane"
msgid "Import _All"
msgstr "Z_aimportuj wszystkie"
-#: ui/savedsearch.ui:5
-msgid "SearchContextMenu"
-msgstr "SearchContextMenu"
-
#: ui/set_background_dialog.ui:15
msgid "Set as Desktop Background"
msgstr "Ustaw jako tło pulpitu"
@@ -6470,159 +6469,155 @@ msgstr "Utwórz pokaz slajdów tła pulpitu"
msgid "How long each photo is shown on the desktop background"
msgstr "Jak długo każde zdjęcie jest wyświetlane jako tło pulpitu"
-#: ui/shotwell.ui:23
-msgid "_Name of search:"
-msgstr "_Nazwa wyszukiwania:"
-
-#: ui/shotwell.ui:81
-msgid "_Match"
-msgstr "_Dopasowanie"
-
-#: ui/shotwell.ui:108
-msgid "of the following:"
-msgstr "następujących:"
-
-#: ui/shotwell.ui:195
-msgid "<b>Printed Image Size</b>"
-msgstr "<b>Rozmiar wydrukowanego obrazu</b>"
-
-#: ui/shotwell.ui:212
-msgid "Use a _standard size:"
-msgstr "Użycie _standardowego rozmiaru:"
-
-#: ui/shotwell.ui:255
-msgid "Use a c_ustom size:"
-msgstr "_Użycie własnego rozmiaru:"
-
-#: ui/shotwell.ui:345
-msgid "_Match photo aspect ratio"
-msgstr "Utrzy_mywanie proporcji zdjęcia"
-
-#: ui/shotwell.ui:369
-msgid "_Autosize:"
-msgstr "Rozmiar _automatyczny:"
-
-#: ui/shotwell.ui:409
-msgid "<b>Titles</b>"
-msgstr "<b>Tytuły</b>"
-
-#: ui/shotwell.ui:426
-msgid "Print image _title"
-msgstr "Drukowanie _tytułów obrazów"
-
-#: ui/shotwell.ui:470
-msgid "<b>Pixel Resolution</b>"
-msgstr "<b>Rozdzielczość w pikselach</b>"
-
-#: ui/shotwell.ui:490
-msgid "_Output photo at:"
-msgstr "_Wyjście zdjęcia na:"
-
-#: ui/shotwell.ui:525
-msgid "pixels per inch"
-msgstr "piksele na cal"
-
-#: ui/shotwell.ui:559
-msgid "label"
-msgstr "etykieta"
-
-#: ui/shotwell.ui:681
-msgid "Shotwell Preferences"
-msgstr "Preferencje programu Shotwell"
-
-#: ui/shotwell.ui:730
+#: ui/shotwell.ui:65
msgid "white"
msgstr "biały"
-#: ui/shotwell.ui:757
+#: ui/shotwell.ui:92
msgid "black"
msgstr "czarny"
-#: ui/shotwell.ui:805
-msgid "_Watch library directory for new files"
-msgstr "_Obserwacja katalogu kolekcji pod kątem nowych plików"
-
-#: ui/shotwell.ui:834
-msgid "Metadata"
-msgstr "Metadane"
-
-#: ui/shotwell.ui:854
-msgid "Write tags, titles, and other _metadata to photo files"
-msgstr "Zapisywanie etykiet, tytułów i innych _metadanych do plików zdjęć"
-
-#: ui/shotwell.ui:880
+#: ui/shotwell.ui:123
msgid "Display"
msgstr "Ekran"
-#: ui/shotwell.ui:901
+#: ui/shotwell.ui:160
+msgid "_Background:"
+msgstr "_Tło:"
+
+#: ui/shotwell.ui:175
msgid "_Import photos to:"
msgstr "_Importowanie zdjęć do:"
-#: ui/shotwell.ui:924
-msgid "_Background:"
-msgstr "_Tło:"
+#: ui/shotwell.ui:186
+msgid "_Watch library directory for new files"
+msgstr "_Obserwacja katalogu kolekcji pod kątem nowych plików"
-#: ui/shotwell.ui:947
+#: ui/shotwell.ui:209
msgid "Importing"
msgstr "Importowanie"
-#: ui/shotwell.ui:970
+#: ui/shotwell.ui:226
msgid "_Directory structure:"
msgstr "Struktura _katalogów:"
-#: ui/shotwell.ui:1012
-msgid "_Pattern:"
-msgstr "_Wzór:"
-
-#: ui/shotwell.ui:1094
+#: ui/shotwell.ui:240
msgid "Example:"
msgstr "Przykład:"
-#: ui/shotwell.ui:1111
+#: ui/shotwell.ui:249
msgid "R_ename imported files to lowercase"
msgstr "_Zmienianie nazw importowanych plików na małe litery"
-#: ui/shotwell.ui:1140
+#: ui/shotwell.ui:271
+msgid "Metadata"
+msgstr "Metadane"
+
+#: ui/shotwell.ui:284
+msgid "Write tags, titles, and other _metadata to photo files"
+msgstr "Zapisywanie etykiet, tytułów i innych _metadanych do plików zdjęć"
+
+#: ui/shotwell.ui:306
msgid "RAW Developer"
msgstr "Wywoływacz RAW"
-#: ui/shotwell.ui:1175
+#: ui/shotwell.ui:323
msgid "De_fault:"
msgstr "_Domyślnie:"
-#: ui/shotwell.ui:1229
+#: ui/shotwell.ui:377
+msgid "_Pattern:"
+msgstr "_Wzór:"
+
+#: ui/shotwell.ui:439
msgid "E_xternal photo editor:"
msgstr "_Zewnętrzny edytor zdjęć:"
-#: ui/shotwell.ui:1245
+#: ui/shotwell.ui:456
msgid "External _RAW editor:"
msgstr "Zewnętrzny edytor plików _RAW:"
-#: ui/shotwell.ui:1310
+#: ui/shotwell.ui:517
msgid "External Editors"
msgstr "Zewnętrzne edytory"
-#: ui/shotwell.ui:1337
+#: ui/shotwell.ui:542
msgid "Plugins"
msgstr "Wtyczki"
-#: ui/shotwell.ui:1403
+#: ui/shotwell.ui:583
+msgid "<b>Printed Image Size</b>"
+msgstr "<b>Rozmiar wydrukowanego obrazu</b>"
+
+#: ui/shotwell.ui:600
+msgid "Use a _standard size:"
+msgstr "Użycie _standardowego rozmiaru:"
+
+#: ui/shotwell.ui:643
+msgid "Use a c_ustom size:"
+msgstr "_Użycie własnego rozmiaru:"
+
+#: ui/shotwell.ui:731
+msgid "_Match photo aspect ratio"
+msgstr "Utrzy_mywanie proporcji zdjęcia"
+
+#: ui/shotwell.ui:755
+msgid "_Autosize:"
+msgstr "Rozmiar _automatyczny:"
+
+#: ui/shotwell.ui:795
+msgid "<b>Titles</b>"
+msgstr "<b>Tytuły</b>"
+
+#: ui/shotwell.ui:812
+msgid "Print image _title"
+msgstr "Drukowanie _tytułów obrazów"
+
+#: ui/shotwell.ui:855
+msgid "<b>Pixel Resolution</b>"
+msgstr "<b>Rozdzielczość w pikselach</b>"
+
+#: ui/shotwell.ui:875
+msgid "_Output photo at:"
+msgstr "_Wyjście zdjęcia na:"
+
+#: ui/shotwell.ui:909
+msgid "pixels per inch"
+msgstr "piksele na cal"
+
+#: ui/shotwell.ui:949
+msgid "_Name of search:"
+msgstr "_Nazwa wyszukiwania:"
+
+#: ui/shotwell.ui:1003
+msgid "_Match"
+msgstr "_Dopasowanie"
+
+#: ui/shotwell.ui:1030
+msgid "of the following:"
+msgstr "następujących:"
+
+#: ui/shotwell.ui:1111
+msgid "label"
+msgstr "etykieta"
+
+#: ui/shotwell.ui:1262
msgid "_Delay:"
msgstr "_Opóźnienie:"
-#: ui/shotwell.ui:1419
+#: ui/shotwell.ui:1276
msgid "_Transition effect:"
msgstr "_Efekt przejścia:"
-#: ui/shotwell.ui:1435
+#: ui/shotwell.ui:1290
msgid "Transition d_elay:"
msgstr "Opóźnienie prz_ejścia:"
-#: ui/shotwell.ui:1447
+#: ui/shotwell.ui:1300
msgid "Show t_itle"
msgstr "Wyświetlanie tyt_ułu"
-#: ui/shotwell.ui:1537 ui/shotwell.ui:1550
+#: ui/shotwell.ui:1375 ui/shotwell.ui:1386
msgid "seconds"
msgstr "s"
diff --git a/po/shotwell.pot b/po/shotwell.pot
index 0ec2957..f004876 100644
--- a/po/shotwell.pot
+++ b/po/shotwell.pot
@@ -6,10 +6,10 @@
#, fuzzy
msgid ""
msgstr ""
-"Project-Id-Version: shotwell 0.25.1\n"
+"Project-Id-Version: shotwell 0.25.2\n"
"Report-Msgid-Bugs-To: https://bugzilla.gnome.org/enter_bug.cgi?"
"product=Shotwell&component=Internationalization\n"
-"POT-Creation-Date: 2016-11-21 20:46+0100\n"
+"POT-Creation-Date: 2016-12-12 18:23+0100\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"
@@ -21,9 +21,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:300 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:300 ui/collection.ui:85 ui/event.ui:348
+#: ui/event.ui:492 ui/media.ui:341 ui/photo_context.ui:91 ui/photo.ui:331
+#: ui/tags.ui:341
msgid "Shotwell"
msgstr ""
@@ -1217,7 +1217,7 @@ msgstr ""
msgid "Visit the Shotwell home page"
msgstr ""
-#: plugins/common/Resources.vala:31 src/AppWindow.vala:602
+#: plugins/common/Resources.vala:31 src/AppWindow.vala:603
msgid "translator-credits"
msgstr ""
@@ -1951,7 +1951,7 @@ msgid "Google+ (2048 × 1536 pixels)"
msgstr ""
#: plugins/shotwell-publishing/PicasaPublishing.vala:750
-#: src/editing_tools/EditingTools.vala:752
+#: src/editing_tools/EditingTools.vala:757
msgid "Original Size"
msgstr ""
@@ -2218,16 +2218,16 @@ msgstr ""
msgid "Leave fullscreen"
msgstr ""
-#: src/AppWindow.vala:531 src/AppWindow.vala:552 src/AppWindow.vala:569
+#: src/AppWindow.vala:532 src/AppWindow.vala:553 src/AppWindow.vala:570
#: src/data_imports/DataImportsUI.vala:301
#: src/data_imports/DataImportsUI.vala:419 src/Dialogs.vala:20
-#: src/Dialogs.vala:28 src/Dialogs.vala:1430 src/Dialogs.vala:1453
+#: 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
msgid "_Cancel"
msgstr ""
-#: src/AppWindow.vala:579
+#: src/AppWindow.vala:580
#, c-format
msgid ""
"A fatal error occurred when accessing Shotwell’s library. Shotwell cannot "
@@ -2236,21 +2236,21 @@ msgid ""
"%s"
msgstr ""
-#: src/AppWindow.vala:599
+#: src/AppWindow.vala:600
msgid "Visit the Shotwell web site"
msgstr ""
-#: src/AppWindow.vala:611
+#: src/AppWindow.vala:612
#, c-format
msgid "Unable to display help: %s"
msgstr ""
-#: src/AppWindow.vala:619
+#: src/AppWindow.vala:620
#, c-format
msgid "Unable to navigate to bug database: %s"
msgstr ""
-#: src/AppWindow.vala:627
+#: src/AppWindow.vala:628
#, c-format
msgid "Unable to display FAQ: %s"
msgstr ""
@@ -2322,8 +2322,8 @@ msgstr ""
#: src/camera/Branch.vala:99 src/camera/ImportPage.vala:710
#: src/camera/ImportPage.vala:726 src/photos/RawSupport.vala:303
-#: 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:353 ui/event.ui:497 ui/media.ui:346
+#: ui/photo_context.ui:96 ui/photo.ui:336 ui/tags.ui:346
msgid "Camera"
msgstr ""
@@ -2436,7 +2436,7 @@ msgid_plural "Delete these %d files from camera?"
msgstr[0] ""
msgstr[1] ""
-#: src/camera/ImportPage.vala:1731 src/Dialogs.vala:1397
+#: src/camera/ImportPage.vala:1731 src/Dialogs.vala:1387
msgid "_Keep"
msgstr ""
@@ -2457,7 +2457,7 @@ msgid "_Print"
msgstr ""
#: src/CollectionPage.vala:77 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
+#: ui/direct_context.ui:25 ui/direct.ui:23 ui/event.ui:533 ui/photo.ui:28
msgid "Send _To…"
msgstr ""
@@ -2474,47 +2474,47 @@ msgstr ""
msgid "Fullscreen"
msgstr ""
-#: src/CollectionPage.vala:96 ui/photo.ui:180
+#: src/CollectionPage.vala:96 ui/photo.ui:167
msgid "S_lideshow"
msgstr ""
-#: src/CollectionPage.vala:104 src/Resources.vala:139 ui/direct.ui:111
-#: ui/photo.ui:200
+#: src/CollectionPage.vala:104 src/Resources.vala:139 ui/direct.ui:104
+#: ui/photo.ui:187
msgid "Rotate _Right"
msgstr ""
-#: src/CollectionPage.vala:107 src/Resources.vala:144 ui/direct.ui:116
-#: ui/photo.ui:205
+#: src/CollectionPage.vala:107 src/Resources.vala:144 ui/direct.ui:109
+#: ui/photo.ui:192
msgid "Rotate _Left"
msgstr ""
-#: src/CollectionPage.vala:110 src/Resources.vala:149 ui/direct.ui:121
-#: ui/photo.ui:210
+#: src/CollectionPage.vala:110 src/Resources.vala:149 ui/direct.ui:114
+#: ui/photo.ui:197
msgid "Flip Hori_zontally"
msgstr ""
-#: src/CollectionPage.vala:111 src/Resources.vala:152 ui/direct.ui:125
-#: ui/photo.ui:214
+#: src/CollectionPage.vala:111 src/Resources.vala:152 ui/direct.ui:118
+#: ui/photo.ui:201
msgid "Flip Verti_cally"
msgstr ""
#: src/CollectionPage.vala:113 src/Resources.vala:186 ui/collection.ui:8
-#: ui/direct_context.ui:9 ui/direct.ui:134 ui/event.ui:445
-#: ui/photo_context.ui:6 ui/photo.ui:223
+#: ui/direct_context.ui:9 ui/direct.ui:127 ui/event.ui:415
+#: ui/photo_context.ui:6 ui/photo.ui:210
msgid "_Enhance"
msgstr ""
#: src/CollectionPage.vala:114 src/Resources.vala:214 ui/collection.ui:13
-#: ui/direct_context.ui:14 ui/direct.ui:161 ui/event.ui:450
-#: ui/photo_context.ui:11 ui/photo.ui:250
+#: ui/direct_context.ui:14 ui/direct.ui:154 ui/event.ui:420
+#: ui/photo_context.ui:11 ui/photo.ui:237
msgid "Re_vert to Original"
msgstr ""
-#: src/CollectionPage.vala:116 src/Resources.vala:190 ui/photo.ui:256
+#: src/CollectionPage.vala:116 src/Resources.vala:190 ui/photo.ui:243
msgid "_Copy Color Adjustments"
msgstr ""
-#: src/CollectionPage.vala:119 src/Resources.vala:194 ui/photo.ui:261
+#: src/CollectionPage.vala:119 src/Resources.vala:194 ui/photo.ui:248
msgid "_Paste Color Adjustments"
msgstr ""
@@ -2527,7 +2527,7 @@ msgid "Open With E_xternal Editor"
msgstr ""
#: src/CollectionPage.vala:140 src/Resources.vala:321 ui/collection.ui:111
-#: ui/event.ui:548 ui/photo_context.ui:118 ui/photo.ui:363
+#: ui/event.ui:518 ui/photo_context.ui:118 ui/photo.ui:350
msgid "Open With RA_W Editor"
msgstr ""
@@ -2535,43 +2535,43 @@ msgstr ""
msgid "_Play"
msgstr ""
-#: src/CollectionPage.vala:404
+#: src/CollectionPage.vala:402
msgid "Export Photo/Video"
msgstr ""
-#: src/CollectionPage.vala:404
+#: src/CollectionPage.vala:402
msgid "Export Photos/Videos"
msgstr ""
-#: src/CollectionPage.vala:406 src/Dialogs.vala:59 src/PhotoPage.vala:2988
+#: src/CollectionPage.vala:404 src/Dialogs.vala:59 src/PhotoPage.vala:2977
msgid "Export Photo"
msgstr ""
-#: src/CollectionPage.vala:406 src/Dialogs.vala:84
+#: src/CollectionPage.vala:404 src/Dialogs.vala:84
msgid "Export Photos"
msgstr ""
-#: src/CollectionPage.vala:493 src/CollectionPage.vala:509
+#: src/CollectionPage.vala:491 src/CollectionPage.vala:507
msgid "Rotating"
msgstr ""
-#: src/CollectionPage.vala:493 src/CollectionPage.vala:509
+#: src/CollectionPage.vala:491 src/CollectionPage.vala:507
msgid "Undoing Rotate"
msgstr ""
-#: src/CollectionPage.vala:518
+#: src/CollectionPage.vala:516
msgid "Flipping Horizontally"
msgstr ""
-#: src/CollectionPage.vala:519
+#: src/CollectionPage.vala:517
msgid "Undoing Flip Horizontally"
msgstr ""
-#: src/CollectionPage.vala:528
+#: src/CollectionPage.vala:526
msgid "Flipping Vertically"
msgstr ""
-#: src/CollectionPage.vala:529
+#: src/CollectionPage.vala:527
msgid "Undoing Flip Vertically"
msgstr ""
@@ -2778,7 +2778,7 @@ msgstr ""
msgid "Database file:"
msgstr ""
-#: src/data_imports/DataImportsUI.vala:112 src/library/LibraryWindow.vala:766
+#: src/data_imports/DataImportsUI.vala:112 src/library/LibraryWindow.vala:769
msgid "_Import"
msgstr ""
@@ -2851,10 +2851,10 @@ msgid_plural "This will remove the tag “%s” from %d photos. Continue?"
msgstr[0] ""
msgstr[1] ""
-#: src/Dialogs.vala:20 src/Dialogs.vala:28 src/Dialogs.vala:1398
+#: 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/trash.ui:63 ui/trash.ui:216
-#: ui/trash.ui:258
+#: src/Resources.vala:658 ui/savedsearch.ui:15 ui/trash.ui:56 ui/trash.ui:179
+#: ui/trash.ui:221
msgid "_Delete"
msgstr ""
@@ -3264,81 +3264,81 @@ msgstr ""
msgid "Import Complete"
msgstr ""
-#: src/Dialogs.vala:1174
+#: src/Dialogs.vala:1160
#, c-format
msgid "%d second"
msgid_plural "%d seconds"
msgstr[0] ""
msgstr[1] ""
-#: src/Dialogs.vala:1177
+#: src/Dialogs.vala:1163
#, c-format
msgid "%d minute"
msgid_plural "%d minutes"
msgstr[0] ""
msgstr[1] ""
-#: src/Dialogs.vala:1181
+#: src/Dialogs.vala:1167
#, c-format
msgid "%d hour"
msgid_plural "%d hours"
msgstr[0] ""
msgstr[1] ""
-#: src/Dialogs.vala:1184
+#: src/Dialogs.vala:1170
msgid "1 day"
msgstr ""
-#: src/Dialogs.vala:1327 src/Resources.vala:231
+#: src/Dialogs.vala:1317 src/Resources.vala:231
msgid "Rename Event"
msgstr ""
-#: src/Dialogs.vala:1327
+#: src/Dialogs.vala:1317
msgid "Name:"
msgstr ""
#. Dialog title
-#: src/Dialogs.vala:1338
+#: src/Dialogs.vala:1328
msgctxt "Dialog Title"
msgid "Edit Title"
msgstr ""
-#: src/Dialogs.vala:1339 src/Properties.vala:343
+#: src/Dialogs.vala:1329 src/Properties.vala:343
msgid "Title:"
msgstr ""
#. Dialog title
-#: src/Dialogs.vala:1355 src/Resources.vala:307
+#: src/Dialogs.vala:1345 src/Resources.vala:307
msgid "Edit Event Comment"
msgstr ""
-#: src/Dialogs.vala:1356
+#: src/Dialogs.vala:1346
msgid "Edit Photo/Video Comment"
msgstr ""
-#: src/Dialogs.vala:1357 src/Properties.vala:631
+#: src/Dialogs.vala:1347 src/Properties.vala:631
msgid "Comment:"
msgstr ""
-#: src/Dialogs.vala:1373
+#: src/Dialogs.vala:1363
msgid "Remove and _Trash File"
msgid_plural "Remove and _Trash Files"
msgstr[0] ""
msgstr[1] ""
-#: src/Dialogs.vala:1377
+#: src/Dialogs.vala:1367
msgid "_Remove From Library"
msgstr ""
-#: src/Dialogs.vala:1420
+#: src/Dialogs.vala:1410
msgid "Revert External Edit?"
msgstr ""
-#: src/Dialogs.vala:1420
+#: src/Dialogs.vala:1410
msgid "Revert External Edits?"
msgstr ""
-#: src/Dialogs.vala:1422
+#: src/Dialogs.vala:1412
#, c-format
msgid "This will destroy all changes made to the external file. Continue?"
msgid_plural ""
@@ -3346,121 +3346,121 @@ msgid_plural ""
msgstr[0] ""
msgstr[1] ""
-#: src/Dialogs.vala:1426
+#: src/Dialogs.vala:1416
msgid "Re_vert External Edit"
msgstr ""
-#: src/Dialogs.vala:1426
+#: src/Dialogs.vala:1416
msgid "Re_vert External Edits"
msgstr ""
-#: src/Dialogs.vala:1447
+#: src/Dialogs.vala:1437
#, c-format
msgid "This will remove the photo from the library. Continue?"
msgid_plural "This will remove %d photos from the library. Continue?"
msgstr[0] ""
msgstr[1] ""
-#: src/Dialogs.vala:1454 src/Resources.vala:173
+#: src/Dialogs.vala:1444 src/Resources.vala:173
msgid "_Remove"
msgstr ""
-#: src/Dialogs.vala:1455
+#: src/Dialogs.vala:1445
msgid "Remove Photo From Library"
msgstr ""
-#: src/Dialogs.vala:1455
+#: src/Dialogs.vala:1445
msgid "Remove Photos From Library"
msgstr ""
-#: src/Dialogs.vala:1553
+#: src/Dialogs.vala:1543
#, c-format
msgid "%d%%"
msgstr ""
-#: src/Dialogs.vala:1707
+#: src/Dialogs.vala:1697
msgid "AM"
msgstr ""
-#: src/Dialogs.vala:1708
+#: src/Dialogs.vala:1698
msgid "PM"
msgstr ""
-#: src/Dialogs.vala:1709
+#: src/Dialogs.vala:1699
msgid "24 Hr"
msgstr ""
-#: src/Dialogs.vala:1724
+#: src/Dialogs.vala:1714
msgid "_Shift photos/videos by the same amount"
msgstr ""
-#: src/Dialogs.vala:1729
+#: src/Dialogs.vala:1719
msgid "Set _all photos/videos to this time"
msgstr ""
-#: src/Dialogs.vala:1735
+#: src/Dialogs.vala:1725
msgid "_Modify original photo file"
msgid_plural "_Modify original photo files"
msgstr[0] ""
msgstr[1] ""
-#: src/Dialogs.vala:1739
+#: src/Dialogs.vala:1729
msgid "_Modify original file"
msgid_plural "_Modify original files"
msgstr[0] ""
msgstr[1] ""
-#: src/Dialogs.vala:1827
+#: src/Dialogs.vala:1817
msgid "Original: "
msgstr ""
-#: src/Dialogs.vala:1828
+#: src/Dialogs.vala:1818
msgid "%m/%d/%Y, %H:%M:%S"
msgstr ""
-#: src/Dialogs.vala:1829
+#: src/Dialogs.vala:1819
msgid "%m/%d/%Y, %I:%M:%S %p"
msgstr ""
-#: src/Dialogs.vala:1918
+#: src/Dialogs.vala:1908
#, c-format
msgid ""
"Exposure time will be shifted forward by\n"
"%d %s, %d %s, %d %s, and %d %s."
msgstr ""
-#: src/Dialogs.vala:1919
+#: src/Dialogs.vala:1909
#, c-format
msgid ""
"Exposure time will be shifted backward by\n"
"%d %s, %d %s, %d %s, and %d %s."
msgstr ""
-#: src/Dialogs.vala:1921
+#: src/Dialogs.vala:1911
msgid "day"
msgid_plural "days"
msgstr[0] ""
msgstr[1] ""
-#: src/Dialogs.vala:1922
+#: src/Dialogs.vala:1912
msgid "hour"
msgid_plural "hours"
msgstr[0] ""
msgstr[1] ""
-#: src/Dialogs.vala:1923
+#: src/Dialogs.vala:1913
msgid "minute"
msgid_plural "minutes"
msgstr[0] ""
msgstr[1] ""
-#: src/Dialogs.vala:1924
+#: src/Dialogs.vala:1914
msgid "second"
msgid_plural "seconds"
msgstr[0] ""
msgstr[1] ""
-#: src/Dialogs.vala:1968
+#: src/Dialogs.vala:1958
#, c-format
msgid ""
"\n"
@@ -3473,49 +3473,49 @@ msgid_plural ""
msgstr[0] ""
msgstr[1] ""
-#: src/Dialogs.vala:1992 src/Dialogs.vala:2019
+#: src/Dialogs.vala:1982 src/Dialogs.vala:2009
msgid "Tags (separated by commas):"
msgstr ""
-#: src/Dialogs.vala:2099
+#: src/Dialogs.vala:2089
msgid "Welcome!"
msgstr ""
-#: src/Dialogs.vala:2106
+#: src/Dialogs.vala:2096
msgid "Welcome to Shotwell!"
msgstr ""
-#: src/Dialogs.vala:2111
+#: src/Dialogs.vala:2101
msgid "To get started, import photos in any of these ways:"
msgstr ""
-#: src/Dialogs.vala:2131
+#: src/Dialogs.vala:2121
#, c-format
msgid "Choose <span weight=\"bold\">File %s Import From Folder</span>"
msgstr ""
-#: src/Dialogs.vala:2132
+#: src/Dialogs.vala:2122
msgid "Drag and drop photos onto the Shotwell window"
msgstr ""
-#: src/Dialogs.vala:2133
+#: src/Dialogs.vala:2123
msgid "Connect a camera to your computer and import"
msgstr ""
-#: src/Dialogs.vala:2144
+#: src/Dialogs.vala:2134
#, c-format
msgid "_Import photos from your %s folder"
msgstr ""
-#: src/Dialogs.vala:2151
+#: src/Dialogs.vala:2141
msgid "You can also import photos in any of these ways:"
msgstr ""
-#: src/Dialogs.vala:2162
+#: src/Dialogs.vala:2152
msgid "_Don’t show this message again"
msgstr ""
-#: src/Dialogs.vala:2199
+#: src/Dialogs.vala:2189
#, c-format
msgid "Import photos from your %s library"
msgstr ""
@@ -3523,71 +3523,71 @@ msgstr ""
#. We're installed system-wide, so use the system help.
#. We're being run from the build directory; we'll have to handle clicks to this
#. link manually ourselves, due to a limitation of help: URIs.
-#: src/Dialogs.vala:2345 src/Dialogs.vala:2349
+#: src/Dialogs.vala:2335 src/Dialogs.vala:2339
msgid "(Help)"
msgstr ""
-#: src/Dialogs.vala:2356
+#: src/Dialogs.vala:2346
#, c-format
msgid "Year%sMonth%sDay"
msgstr ""
-#: src/Dialogs.vala:2358
+#: src/Dialogs.vala:2348
#, c-format
msgid "Year%sMonth"
msgstr ""
-#: src/Dialogs.vala:2360
+#: src/Dialogs.vala:2350
#, c-format
msgid "Year%sMonth-Day"
msgstr ""
-#: src/Dialogs.vala:2362
+#: src/Dialogs.vala:2352
msgid "Year-Month-Day"
msgstr ""
-#: src/Dialogs.vala:2363 src/editing_tools/EditingTools.vala:777
+#: src/Dialogs.vala:2353 src/editing_tools/EditingTools.vala:782
msgid "Custom"
msgstr ""
#. Invalid pattern.
-#: src/Dialogs.vala:2600
+#: src/Dialogs.vala:2590
msgid "Invalid pattern"
msgstr ""
#. This function is used to determine whether or not files should be copied or linked when imported.
#. Returns ACCEPT for copy, REJECT for link, and CANCEL for (drum-roll) cancel.
-#: src/Dialogs.vala:2702
+#: src/Dialogs.vala:2692
msgid ""
"Shotwell can copy the photos into your library folder or it can import them "
"without copying."
msgstr ""
-#: src/Dialogs.vala:2707
+#: src/Dialogs.vala:2697
msgid "Co_py Photos"
msgstr ""
-#: src/Dialogs.vala:2708
+#: src/Dialogs.vala:2698
msgid "_Import in Place"
msgstr ""
-#: src/Dialogs.vala:2709
+#: src/Dialogs.vala:2699
msgid "Import to Library"
msgstr ""
-#: src/Dialogs.vala:2719 src/PhotoPage.vala:2864
+#: src/Dialogs.vala:2709 src/PhotoPage.vala:2853
msgid "Remove From Library"
msgstr ""
-#: src/Dialogs.vala:2720 src/PhotoPage.vala:2864
+#: src/Dialogs.vala:2710 src/PhotoPage.vala:2853
msgid "Removing Photo From Library"
msgstr ""
-#: src/Dialogs.vala:2720
+#: src/Dialogs.vala:2710
msgid "Removing Photos From Library"
msgstr ""
-#: src/Dialogs.vala:2734
+#: src/Dialogs.vala:2724
#, c-format
msgid ""
"This will remove the photo/video from your Shotwell library. Would you also "
@@ -3602,7 +3602,7 @@ msgid_plural ""
msgstr[0] ""
msgstr[1] ""
-#: src/Dialogs.vala:2738
+#: src/Dialogs.vala:2728
#, c-format
msgid ""
"This will remove the video from your Shotwell library. Would you also like "
@@ -3617,7 +3617,7 @@ msgid_plural ""
msgstr[0] ""
msgstr[1] ""
-#: src/Dialogs.vala:2742
+#: src/Dialogs.vala:2732
#, c-format
msgid ""
"This will remove the photo from your Shotwell library. Would you also like "
@@ -3632,7 +3632,7 @@ msgid_plural ""
msgstr[0] ""
msgstr[1] ""
-#: src/Dialogs.vala:2774
+#: src/Dialogs.vala:2764
#, c-format
msgid ""
"The photo or video cannot be moved to your desktop trash. Delete this file?"
@@ -3642,7 +3642,7 @@ msgstr[0] ""
msgstr[1] ""
#. Alert the user that the files were not removed.
-#: src/Dialogs.vala:2791
+#: src/Dialogs.vala:2781
#, c-format
msgid "The photo or video cannot be deleted."
msgid_plural "%d photos/videos cannot be deleted."
@@ -3711,201 +3711,201 @@ msgstr ""
msgid "Unable to monitor %s: Not a directory (%s)"
msgstr ""
-#: src/editing_tools/EditingTools.vala:661
+#: src/editing_tools/EditingTools.vala:666
msgid "Return to current photo dimensions"
msgstr ""
-#: src/editing_tools/EditingTools.vala:664
+#: src/editing_tools/EditingTools.vala:669
msgid "Set the crop for this photo"
msgstr ""
-#: src/editing_tools/EditingTools.vala:676
+#: src/editing_tools/EditingTools.vala:681
msgid "Pivot the crop rectangle between portrait and landscape orientations"
msgstr ""
-#: src/editing_tools/EditingTools.vala:749
+#: src/editing_tools/EditingTools.vala:754
msgid "Unconstrained"
msgstr ""
-#: src/editing_tools/EditingTools.vala:750
+#: src/editing_tools/EditingTools.vala:755
msgid "Square"
msgstr ""
-#: src/editing_tools/EditingTools.vala:751
+#: src/editing_tools/EditingTools.vala:756
msgid "Screen"
msgstr ""
-#: src/editing_tools/EditingTools.vala:753
-#: src/editing_tools/EditingTools.vala:756
-#: src/editing_tools/EditingTools.vala:766
-#: src/editing_tools/EditingTools.vala:776
+#: src/editing_tools/EditingTools.vala:758
+#: src/editing_tools/EditingTools.vala:761
+#: src/editing_tools/EditingTools.vala:771
+#: src/editing_tools/EditingTools.vala:781
msgid "-"
msgstr ""
-#: src/editing_tools/EditingTools.vala:754
+#: src/editing_tools/EditingTools.vala:759
msgid "SD Video (4 ∶ 3)"
msgstr ""
-#: src/editing_tools/EditingTools.vala:755
+#: src/editing_tools/EditingTools.vala:760
msgid "HD Video (16 ∶ 9)"
msgstr ""
-#: src/editing_tools/EditingTools.vala:757 src/Printing.vala:818
+#: src/editing_tools/EditingTools.vala:762 src/Printing.vala:818
msgid "Wallet (2 × 3 in.)"
msgstr ""
-#: src/editing_tools/EditingTools.vala:758 src/Printing.vala:821
+#: src/editing_tools/EditingTools.vala:763 src/Printing.vala:821
msgid "Notecard (3 × 5 in.)"
msgstr ""
-#: src/editing_tools/EditingTools.vala:759 src/Printing.vala:824
+#: src/editing_tools/EditingTools.vala:764 src/Printing.vala:824
msgid "4 × 6 in."
msgstr ""
-#: src/editing_tools/EditingTools.vala:760 src/Printing.vala:827
+#: src/editing_tools/EditingTools.vala:765 src/Printing.vala:827
msgid "5 × 7 in."
msgstr ""
-#: src/editing_tools/EditingTools.vala:761 src/Printing.vala:830
+#: src/editing_tools/EditingTools.vala:766 src/Printing.vala:830
msgid "8 × 10 in."
msgstr ""
-#: src/editing_tools/EditingTools.vala:762
+#: src/editing_tools/EditingTools.vala:767
msgid "Letter (8.5 × 11 in.)"
msgstr ""
-#: src/editing_tools/EditingTools.vala:763 src/Printing.vala:833
+#: src/editing_tools/EditingTools.vala:768 src/Printing.vala:833
msgid "11 × 14 in."
msgstr ""
-#: src/editing_tools/EditingTools.vala:764
+#: src/editing_tools/EditingTools.vala:769
msgid "Tabloid (11 × 17 in.)"
msgstr ""
-#: src/editing_tools/EditingTools.vala:765 src/Printing.vala:836
+#: src/editing_tools/EditingTools.vala:770 src/Printing.vala:836
msgid "16 × 20 in."
msgstr ""
-#: src/editing_tools/EditingTools.vala:767 src/Printing.vala:842
+#: src/editing_tools/EditingTools.vala:772 src/Printing.vala:842
msgid "Metric Wallet (9 × 13 cm)"
msgstr ""
-#: src/editing_tools/EditingTools.vala:768 src/Printing.vala:845
+#: src/editing_tools/EditingTools.vala:773 src/Printing.vala:845
msgid "Postcard (10 × 15 cm)"
msgstr ""
-#: src/editing_tools/EditingTools.vala:769 src/Printing.vala:848
+#: src/editing_tools/EditingTools.vala:774 src/Printing.vala:848
msgid "13 × 18 cm"
msgstr ""
-#: src/editing_tools/EditingTools.vala:770 src/Printing.vala:851
+#: src/editing_tools/EditingTools.vala:775 src/Printing.vala:851
msgid "18 × 24 cm"
msgstr ""
-#: src/editing_tools/EditingTools.vala:771
+#: src/editing_tools/EditingTools.vala:776
msgid "A4 (210 × 297 mm)"
msgstr ""
-#: src/editing_tools/EditingTools.vala:772 src/Printing.vala:854
+#: src/editing_tools/EditingTools.vala:777 src/Printing.vala:854
msgid "20 × 30 cm"
msgstr ""
-#: src/editing_tools/EditingTools.vala:773 src/Printing.vala:857
+#: src/editing_tools/EditingTools.vala:778 src/Printing.vala:857
msgid "24 × 40 cm"
msgstr ""
-#: src/editing_tools/EditingTools.vala:774 src/Printing.vala:860
+#: src/editing_tools/EditingTools.vala:779 src/Printing.vala:860
msgid "30 × 40 cm"
msgstr ""
-#: src/editing_tools/EditingTools.vala:775
+#: src/editing_tools/EditingTools.vala:780
msgid "A3 (297 × 420 mm)"
msgstr ""
-#: src/editing_tools/EditingTools.vala:1875 src/Properties.vala:398
+#: src/editing_tools/EditingTools.vala:1880 src/Properties.vala:398
msgid "Size:"
msgstr ""
-#: src/editing_tools/EditingTools.vala:1890
+#: src/editing_tools/EditingTools.vala:1895
msgid "Close the red-eye tool"
msgstr ""
-#: src/editing_tools/EditingTools.vala:1893
+#: src/editing_tools/EditingTools.vala:1898
msgid "Remove any red-eye effects in the selected region"
msgstr ""
-#: src/editing_tools/EditingTools.vala:2233
+#: src/editing_tools/EditingTools.vala:2238
#: src/editing_tools/StraightenTool.vala:102
msgid "_Reset"
msgstr ""
#. fit both on the top line, emit and move on
-#: src/editing_tools/EditingTools.vala:2247 src/Properties.vala:439
+#: src/editing_tools/EditingTools.vala:2252 src/Properties.vala:439
#: src/Properties.vala:443 src/Properties.vala:450
msgid "Exposure:"
msgstr ""
-#: src/editing_tools/EditingTools.vala:2256
+#: src/editing_tools/EditingTools.vala:2261
msgid "Contrast:"
msgstr ""
-#: src/editing_tools/EditingTools.vala:2265
+#: src/editing_tools/EditingTools.vala:2270
msgid "Saturation:"
msgstr ""
-#: src/editing_tools/EditingTools.vala:2274
+#: src/editing_tools/EditingTools.vala:2279
msgid "Tint:"
msgstr ""
-#: src/editing_tools/EditingTools.vala:2284
+#: src/editing_tools/EditingTools.vala:2289
msgid "Temperature:"
msgstr ""
-#: src/editing_tools/EditingTools.vala:2293
+#: src/editing_tools/EditingTools.vala:2298
msgid "Shadows:"
msgstr ""
-#: src/editing_tools/EditingTools.vala:2302
+#: src/editing_tools/EditingTools.vala:2307
msgid "Highlights:"
msgstr ""
-#: src/editing_tools/EditingTools.vala:2358
+#: src/editing_tools/EditingTools.vala:2363
msgid "Reset Colors"
msgstr ""
-#: src/editing_tools/EditingTools.vala:2358
+#: src/editing_tools/EditingTools.vala:2363
msgid "Reset all color adjustments to original"
msgstr ""
-#: src/editing_tools/EditingTools.vala:2717
+#: src/editing_tools/EditingTools.vala:2722
msgid "Temperature"
msgstr ""
-#: src/editing_tools/EditingTools.vala:2729
+#: src/editing_tools/EditingTools.vala:2734
msgid "Tint"
msgstr ""
-#: src/editing_tools/EditingTools.vala:2741
+#: src/editing_tools/EditingTools.vala:2746
msgid "Contrast"
msgstr ""
-#: src/editing_tools/EditingTools.vala:2755
+#: src/editing_tools/EditingTools.vala:2760
msgid "Saturation"
msgstr ""
-#: src/editing_tools/EditingTools.vala:2768
+#: src/editing_tools/EditingTools.vala:2773
msgid "Exposure"
msgstr ""
-#: src/editing_tools/EditingTools.vala:2781
+#: src/editing_tools/EditingTools.vala:2786
msgid "Shadows"
msgstr ""
-#: src/editing_tools/EditingTools.vala:2794
+#: src/editing_tools/EditingTools.vala:2799
msgid "Highlights"
msgstr ""
-#: src/editing_tools/EditingTools.vala:2804
+#: src/editing_tools/EditingTools.vala:2809
msgid "Contrast Expansion"
msgstr ""
@@ -3914,7 +3914,7 @@ msgid "Angle:"
msgstr ""
#: src/editing_tools/StraightenTool.vala:100 src/Resources.vala:202
-#: ui/direct.ui:144 ui/photo.ui:233
+#: ui/direct.ui:137 ui/photo.ui:220
msgid "_Straighten"
msgstr ""
@@ -4045,7 +4045,7 @@ msgstr ""
msgid "Import From Folder"
msgstr ""
-#: src/library/LibraryWindow.vala:570 ui/trash.ui:288
+#: src/library/LibraryWindow.vala:570 ui/trash.ui:251
msgid "Empty Trash"
msgstr ""
@@ -4053,7 +4053,7 @@ msgstr ""
msgid "Emptying Trash…"
msgstr ""
-#: src/library/LibraryWindow.vala:763
+#: src/library/LibraryWindow.vala:766
#, c-format
msgid ""
"Shotwell is configured to import photos to your home directory.\n"
@@ -4062,33 +4062,33 @@ msgid ""
"Do you want to continue importing photos?"
msgstr ""
-#: src/library/LibraryWindow.vala:766 ui/shotwell.ui:142
+#: src/library/LibraryWindow.vala:769 ui/shotwell.ui:142
msgid "Library Location"
msgstr ""
#. TODO: Specify which directory/file.
-#: src/library/LibraryWindow.vala:779
+#: src/library/LibraryWindow.vala:782
msgid "Photos cannot be imported from this directory."
msgstr ""
-#: src/library/LibraryWindow.vala:1059
+#: src/library/LibraryWindow.vala:1062
#, c-format
msgid "%s (%d%%)"
msgstr ""
-#: src/library/LibraryWindow.vala:1103 src/library/LibraryWindow.vala:1114
+#: src/library/LibraryWindow.vala:1106 src/library/LibraryWindow.vala:1117
msgid "Updating library…"
msgstr ""
-#: src/library/LibraryWindow.vala:1120
+#: src/library/LibraryWindow.vala:1123
msgid "Preparing to auto-import photos…"
msgstr ""
-#: src/library/LibraryWindow.vala:1125
+#: src/library/LibraryWindow.vala:1128
msgid "Auto-importing photos…"
msgstr ""
-#: src/library/LibraryWindow.vala:1133
+#: src/library/LibraryWindow.vala:1136
msgid "Writing metadata to files…"
msgstr ""
@@ -4196,15 +4196,15 @@ msgid ""
"%s"
msgstr ""
-#: src/Page.vala:1338
+#: src/Page.vala:1300
msgid "No photos/videos"
msgstr ""
-#: src/Page.vala:1342
+#: src/Page.vala:1304
msgid "No photos/videos found which match the current filter"
msgstr ""
-#: src/Page.vala:2648
+#: src/Page.vala:2610
msgid "Photos cannot be exported to this directory."
msgstr ""
@@ -4223,7 +4223,7 @@ msgstr ""
msgid "Photo source file missing: %s"
msgstr ""
-#: src/PhotoPage.vala:3008
+#: src/PhotoPage.vala:2997
#, c-format
msgid "Unable to export %s: %s"
msgstr ""
@@ -4465,12 +4465,18 @@ msgstr ""
#. Here, we check whether more than one item is being uploaded, and if so, display
#. an alternate message.
-#: src/publishing/PublishingUI.vala:104 src/publishing/PublishingUI.vala:109
+#: src/publishing/PublishingUI.vala:104
msgid "The selected video was successfully published."
msgid_plural "The selected videos were successfully published."
msgstr[0] ""
msgstr[1] ""
+#: src/publishing/PublishingUI.vala:109
+msgid "The selected photo was successfully published."
+msgid_plural "The selected photos were successfully published."
+msgstr[0] ""
+msgstr[1] ""
+
#: src/publishing/PublishingUI.vala:115
msgid "The selected photos/videos were successfully published."
msgstr ""
@@ -4554,9 +4560,7 @@ msgstr ""
msgid "Flip Vertically"
msgstr ""
-#: 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:155 ui/appmenu.ui:27 ui/appmenu.ui:55
msgid "_About"
msgstr ""
@@ -4564,9 +4568,9 @@ msgstr ""
msgid "_Apply"
msgstr ""
-#: src/Resources.vala:159 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/top.ui:10 ui/trash.ui:37
+#: src/Resources.vala:159 ui/direct.ui:37 ui/events_directory.ui:25
+#: ui/event.ui:47 ui/import.ui:33 ui/media.ui:40 ui/offline.ui:25
+#: ui/photo.ui:48 ui/tags.ui:40 ui/top.ui:10 ui/trash.ui:30
msgid "_Edit"
msgstr ""
@@ -4574,17 +4578,13 @@ msgstr ""
msgid "_Forward"
msgstr ""
-#: src/Resources.vala:161 ui/direct.ui:62 ui/events_directory.ui:125
-#: ui/photo.ui:173
+#: src/Resources.vala:161 ui/direct.ui:55 ui/events_directory.ui:112
+#: ui/photo.ui:160
msgid "Fulls_creen"
msgstr ""
-#: 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/top.ui:40 ui/trash.ui:189 ui/trash.ui:192
+#: src/Resources.vala:162 ui/appmenu.ui:14 ui/appmenu.ui:42
+#: ui/import_queue.ui:58 ui/import_queue.ui:61 ui/top.ui:40
msgid "_Help"
msgstr ""
@@ -4600,9 +4600,7 @@ msgstr ""
msgid "_Next"
msgstr ""
-#: src/Resources.vala:168 src/Resources.vala:317 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
+#: src/Resources.vala:168 src/Resources.vala:317 ui/appmenu.ui:8
msgid "_Preferences"
msgstr ""
@@ -4610,9 +4608,7 @@ msgstr ""
msgid "_Previous"
msgstr ""
-#: src/Resources.vala:171 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
+#: src/Resources.vala:171 ui/appmenu.ui:33 ui/appmenu.ui:61 ui/event.ui:40
msgid "_Quit"
msgstr ""
@@ -4652,13 +4648,13 @@ msgstr ""
msgid "Best _Fit"
msgstr ""
-#: src/Resources.vala:183 ui/direct.ui:69 ui/event.ui:260 ui/media.ui:260
-#: ui/photo.ui:144 ui/tags.ui:260
+#: src/Resources.vala:183 ui/direct.ui:62 ui/event.ui:254 ui/media.ui:247
+#: ui/photo.ui:131 ui/tags.ui:247
msgid "Zoom _In"
msgstr ""
-#: src/Resources.vala:184 ui/direct.ui:74 ui/event.ui:265 ui/media.ui:265
-#: ui/photo.ui:149 ui/tags.ui:265
+#: src/Resources.vala:184 ui/direct.ui:67 ui/event.ui:259 ui/media.ui:252
+#: ui/photo.ui:136 ui/tags.ui:252
msgid "Zoom _Out"
msgstr ""
@@ -4686,7 +4682,7 @@ msgstr ""
msgid "Apply copied color adjustments to the selected photos"
msgstr ""
-#: src/Resources.vala:198 ui/direct.ui:139 ui/photo.ui:228
+#: src/Resources.vala:198 ui/direct.ui:132 ui/photo.ui:215
msgid "_Crop"
msgstr ""
@@ -4706,7 +4702,7 @@ msgstr ""
msgid "Straighten the photo"
msgstr ""
-#: src/Resources.vala:206 ui/direct.ui:149 ui/photo.ui:238
+#: src/Resources.vala:206 ui/direct.ui:142 ui/photo.ui:225
msgid "_Red-eye"
msgstr ""
@@ -4718,7 +4714,7 @@ msgstr ""
msgid "Reduce or eliminate any red-eye effects in the photo"
msgstr ""
-#: src/Resources.vala:210 ui/direct.ui:154 ui/photo.ui:243
+#: src/Resources.vala:210 ui/direct.ui:147 ui/photo.ui:230
msgid "_Adjust"
msgstr ""
@@ -4750,9 +4746,9 @@ msgstr ""
msgid "Set as _Desktop Slideshow…"
msgstr ""
-#: src/Resources.vala:224 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
+#: src/Resources.vala:224 ui/direct.ui:40 ui/events_directory.ui:28
+#: ui/event.ui:50 ui/import.ui:36 ui/media.ui:43 ui/offline.ui:28
+#: ui/photo.ui:51 ui/tags.ui:43 ui/trash.ui:33
msgid "_Undo"
msgstr ""
@@ -4760,9 +4756,9 @@ msgstr ""
msgid "Undo"
msgstr ""
-#: src/Resources.vala:227 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
+#: src/Resources.vala:227 ui/direct.ui:45 ui/events_directory.ui:33
+#: ui/event.ui:55 ui/import.ui:41 ui/media.ui:48 ui/offline.ui:33
+#: ui/photo.ui:56 ui/tags.ui:48 ui/trash.ui:38
msgid "_Redo"
msgstr ""
@@ -4770,12 +4766,12 @@ msgstr ""
msgid "Redo"
msgstr ""
-#: 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:230 ui/events_directory.ui:126 ui/events_directory.ui:144
+#: ui/event.ui:385 ui/event.ui:554
msgid "Re_name Event…"
msgstr ""
-#: src/Resources.vala:233 ui/event.ui:371 ui/event.ui:576
+#: src/Resources.vala:233 ui/event.ui:365 ui/event.ui:546
msgid "Make _Key Photo for Event"
msgstr ""
@@ -4783,7 +4779,7 @@ msgstr ""
msgid "Make Key Photo for Event"
msgstr ""
-#: src/Resources.vala:236 ui/event.ui:380 ui/media.ui:374 ui/tags.ui:374
+#: src/Resources.vala:236 ui/event.ui:374 ui/media.ui:361 ui/tags.ui:361
msgid "_New Event"
msgstr ""
@@ -4799,7 +4795,7 @@ msgstr ""
msgid "Move photos to an event"
msgstr ""
-#: src/Resources.vala:242 ui/events_directory.ui:135 ui/events_directory.ui:177
+#: src/Resources.vala:242 ui/events_directory.ui:122 ui/events_directory.ui:140
msgid "_Merge Events"
msgstr ""
@@ -4811,8 +4807,8 @@ msgstr ""
msgid "Combine events into a single event"
msgstr ""
-#: src/Resources.vala:246 ui/collection.ui:39 ui/event.ui:286 ui/event.ui:476
-#: ui/media.ui:286 ui/photo_context.ui:35 ui/photo.ui:273 ui/tags.ui:286
+#: src/Resources.vala:246 ui/collection.ui:39 ui/event.ui:280 ui/event.ui:446
+#: ui/media.ui:273 ui/photo_context.ui:35 ui/photo.ui:260 ui/tags.ui:273
msgid "_Set Rating"
msgstr ""
@@ -4824,8 +4820,8 @@ msgstr ""
msgid "Change the rating of your photo"
msgstr ""
-#: src/Resources.vala:250 ui/collection.ui:72 ui/event.ui:326 ui/event.ui:509
-#: ui/media.ui:326 ui/photo_context.ui:75 ui/photo.ui:313 ui/tags.ui:326
+#: src/Resources.vala:250 ui/collection.ui:72 ui/event.ui:320 ui/event.ui:479
+#: ui/media.ui:313 ui/photo_context.ui:75 ui/photo.ui:300 ui/tags.ui:313
msgid "_Increase"
msgstr ""
@@ -4833,8 +4829,8 @@ msgstr ""
msgid "Increase Rating"
msgstr ""
-#: src/Resources.vala:253 ui/collection.ui:76 ui/event.ui:331 ui/event.ui:513
-#: ui/media.ui:331 ui/photo_context.ui:80 ui/photo.ui:318 ui/tags.ui:331
+#: src/Resources.vala:253 ui/collection.ui:76 ui/event.ui:325 ui/event.ui:483
+#: ui/media.ui:318 ui/photo_context.ui:80 ui/photo.ui:305 ui/tags.ui:318
msgid "_Decrease"
msgstr ""
@@ -4842,8 +4838,8 @@ msgstr ""
msgid "Decrease Rating"
msgstr ""
-#: src/Resources.vala:256 ui/collection.ui:62 ui/event.ui:314 ui/event.ui:499
-#: ui/media.ui:314 ui/photo_context.ui:63 ui/photo.ui:301 ui/tags.ui:314
+#: src/Resources.vala:256 ui/collection.ui:62 ui/event.ui:308 ui/event.ui:469
+#: ui/media.ui:301 ui/photo_context.ui:63 ui/photo.ui:288 ui/tags.ui:301
msgid "_Unrated"
msgstr ""
@@ -4863,8 +4859,8 @@ msgstr ""
msgid "Remove any ratings"
msgstr ""
-#: src/Resources.vala:262 ui/collection.ui:66 ui/event.ui:319 ui/event.ui:503
-#: ui/media.ui:319 ui/photo_context.ui:68 ui/photo.ui:306 ui/tags.ui:319
+#: src/Resources.vala:262 ui/collection.ui:66 ui/event.ui:313 ui/event.ui:473
+#: ui/media.ui:306 ui/photo_context.ui:68 ui/photo.ui:293 ui/tags.ui:306
msgid "_Rejected"
msgstr ""
@@ -4884,8 +4880,8 @@ msgstr ""
msgid "Set rating to rejected"
msgstr ""
-#: src/Resources.vala:268 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
+#: src/Resources.vala:268 ui/event.ui:190 ui/import.ui:143 ui/media.ui:183
+#: ui/offline.ui:140 ui/search_bar.ui:6 ui/tags.ui:183 ui/trash.ui:149
msgid "Rejected _Only"
msgstr ""
@@ -4897,8 +4893,8 @@ msgstr ""
msgid "Show only rejected photos"
msgstr ""
-#: src/Resources.vala:272 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
+#: src/Resources.vala:272 ui/event.ui:184 ui/import.ui:137 ui/media.ui:177
+#: ui/offline.ui:134 ui/search_bar.ui:12 ui/tags.ui:177 ui/trash.ui:143
msgid "All + _Rejected"
msgstr ""
@@ -4907,8 +4903,8 @@ msgctxt "Tooltip"
msgid "Show all photos, including rejected"
msgstr ""
-#: src/Resources.vala:275 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
+#: src/Resources.vala:275 ui/event.ui:178 ui/import.ui:131 ui/media.ui:171
+#: ui/offline.ui:128 ui/search_bar.ui:18 ui/tags.ui:171 ui/trash.ui:137
msgid "_All Photos"
msgstr ""
@@ -4917,8 +4913,8 @@ msgstr ""
msgid "Show all photos"
msgstr ""
-#: src/Resources.vala:279 ui/event.ui:144 ui/media.ui:144 ui/photo.ui:120
-#: ui/tags.ui:144
+#: src/Resources.vala:279 ui/event.ui:138 ui/media.ui:131 ui/photo.ui:107
+#: ui/tags.ui:131
msgid "_Ratings"
msgstr ""
@@ -4926,8 +4922,8 @@ msgstr ""
msgid "Display each photo’s rating"
msgstr ""
-#: src/Resources.vala:282 ui/event.ui:151 ui/import.ui:111 ui/media.ui:151
-#: ui/offline.ui:108 ui/tags.ui:151 ui/trash.ui:117
+#: src/Resources.vala:282 ui/event.ui:145 ui/import.ui:98 ui/media.ui:138
+#: ui/offline.ui:95 ui/tags.ui:138 ui/trash.ui:104
msgid "_Filter Photos"
msgstr ""
@@ -4963,8 +4959,8 @@ msgstr ""
msgid "Publish to various websites"
msgstr ""
-#: src/Resources.vala:298 ui/collection.ui:98 ui/event.ui:340 ui/event.ui:535
-#: ui/media.ui:340 ui/photo_context.ui:105 ui/photo.ui:327 ui/tags.ui:340
+#: src/Resources.vala:298 ui/collection.ui:98 ui/event.ui:334 ui/event.ui:505
+#: ui/media.ui:327 ui/photo_context.ui:105 ui/photo.ui:314 ui/tags.ui:327
msgid "Edit _Title…"
msgstr ""
@@ -4974,9 +4970,9 @@ msgctxt "Button Label"
msgid "Edit Title"
msgstr ""
-#: 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:302 ui/collection.ui:102 ui/events_directory.ui:131
+#: ui/events_directory.ui:149 ui/event.ui:338 ui/event.ui:390 ui/event.ui:509
+#: ui/media.ui:331 ui/photo_context.ui:109 ui/photo.ui:318 ui/tags.ui:331
msgid "Edit _Comment…"
msgstr ""
@@ -4985,11 +4981,11 @@ msgstr ""
msgid "Edit Comment"
msgstr ""
-#: src/Resources.vala:306 ui/event.ui:588
+#: src/Resources.vala:306 ui/event.ui:558
msgid "Edit Event _Comment…"
msgstr ""
-#: src/Resources.vala:309 ui/direct.ui:167 ui/photo.ui:335
+#: src/Resources.vala:309 ui/direct.ui:160 ui/photo.ui:322
msgid "_Adjust Date and Time…"
msgstr ""
@@ -4997,8 +4993,8 @@ msgstr ""
msgid "Adjust Date and Time"
msgstr ""
-#: 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:312 ui/collection.ui:19 ui/event.ui:399 ui/event.ui:426
+#: ui/media.ui:375 ui/photo.ui:359 ui/tags.ui:375
msgid "Add _Tags…"
msgstr ""
@@ -5020,13 +5016,13 @@ msgstr ""
msgid "_Find…"
msgstr ""
-#: src/Resources.vala:327 ui/collection.ui:215 ui/offline.ui:239
-#: ui/trash.ui:312
+#: src/Resources.vala:327 ui/collection.ui:215 ui/offline.ui:202
+#: ui/trash.ui:275
msgid "Find"
msgstr ""
-#: src/Resources.vala:328 ui/collection.ui:212 ui/offline.ui:236
-#: ui/trash.ui:309
+#: src/Resources.vala:328 ui/collection.ui:212 ui/offline.ui:199
+#: ui/trash.ui:272
msgid "Find an image by typing text that appears in its name or tags"
msgstr ""
@@ -5088,8 +5084,8 @@ msgstr ""
msgid "_Rename…"
msgstr ""
-#: 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:375 ui/collection.ui:24 ui/event.ui:404 ui/event.ui:431
+#: ui/media.ui:380 ui/photo_context.ui:22 ui/photo.ui:364 ui/tags.ui:380
msgid "Modif_y Tags…"
msgstr ""
@@ -5202,26 +5198,26 @@ msgstr ""
msgid "Only show photos with a rating of %s or better"
msgstr ""
-#: src/Resources.vala:659 ui/trash.ui:255
+#: src/Resources.vala:659 ui/trash.ui:218
msgid "Remove the selected photos from the trash"
msgstr ""
-#: src/Resources.vala:660 ui/offline.ui:221
+#: src/Resources.vala:660 ui/offline.ui:184
msgid "Remove the selected photos from the library"
msgstr ""
-#: src/Resources.vala:662 ui/trash.ui:68 ui/trash.ui:221 ui/trash.ui:273
+#: src/Resources.vala:662 ui/trash.ui:61 ui/trash.ui:184 ui/trash.ui:236
msgid "_Restore"
msgstr ""
-#: src/Resources.vala:663 ui/trash.ui:270
+#: src/Resources.vala:663 ui/trash.ui:233
msgid "Move the selected photos back into the library"
msgstr ""
#: 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/direct.ui:30 ui/event.ui:27 ui/event.ui:528 ui/media.ui:27
#: ui/photo_context.ui:128 ui/photo.ui:35 ui/tags.ui:27 ui/trash.ui:19
-#: ui/trash.ui:227
+#: ui/trash.ui:190
msgid "Show in File Mana_ger"
msgstr ""
@@ -5234,17 +5230,17 @@ msgstr ""
msgid "Unable to open in file manager: %s"
msgstr ""
-#: src/Resources.vala:672 ui/offline.ui:224
+#: src/Resources.vala:672 ui/offline.ui:187
msgid "R_emove From Library"
msgstr ""
-#: 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:674 ui/collection.ui:132 ui/event.ui:79 ui/event.ui:539
+#: ui/media.ui:72 ui/photo_context.ui:139 ui/photo.ui:75 ui/tags.ui:72
msgid "_Move to Trash"
msgstr ""
-#: src/Resources.vala:676 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
+#: src/Resources.vala:676 ui/events_directory.ui:51 ui/event.ui:86
+#: ui/import.ui:54 ui/media.ui:79 ui/offline.ui:58 ui/tags.ui:79 ui/trash.ui:67
msgid "Select _All"
msgstr ""
@@ -5261,14 +5257,14 @@ msgstr ""
#. / 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:766
+#: src/Resources.vala:739
msgid "%a %b %d, %Y"
msgstr ""
#. / 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:771
+#: src/Resources.vala:744
msgctxt "MultidayFormat"
msgid "%a %b %d"
msgstr ""
@@ -5276,7 +5272,7 @@ msgstr ""
#. / 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:776
+#: src/Resources.vala:749
msgctxt "MultidayFormat"
msgid "%d, %Y"
msgstr ""
@@ -5284,7 +5280,7 @@ msgstr ""
#. / 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:781
+#: src/Resources.vala:754
msgctxt "MultimonthFormat"
msgid "%a %b %d"
msgstr ""
@@ -5292,7 +5288,7 @@ msgstr ""
#. / 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:786
+#: src/Resources.vala:759
msgctxt "MultimonthFormat"
msgid "%a %b %d, %Y"
msgstr ""
@@ -5614,22 +5610,30 @@ msgstr ""
msgid "Export Videos"
msgstr ""
-#: ui/collection.ui:33 ui/event.ui:281 ui/event.ui:470 ui/media.ui:281
-#: ui/photo_context.ui:30 ui/photo.ui:268 ui/tags.ui:281
+#: ui/appmenu.ui:19 ui/appmenu.ui:47 ui/import_queue.ui:66
+msgid "_Frequently Asked Questions"
+msgstr ""
+
+#: ui/appmenu.ui:23 ui/appmenu.ui:51 ui/import_queue.ui:70
+msgid "_Report a Problem…"
+msgstr ""
+
+#: ui/collection.ui:33 ui/event.ui:275 ui/event.ui:440 ui/media.ui:268
+#: ui/photo_context.ui:30 ui/photo.ui:255 ui/tags.ui:268
msgid "Toggle _Flag"
msgstr ""
-#: 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:345 ui/event.ui:489 ui/media.ui:338
+#: ui/photo_context.ui:88 ui/photo.ui:328 ui/tags.ui:338
msgid "_Developer"
msgstr ""
-#: ui/collection.ui:106 ui/event.ui:543 ui/photo_context.ui:113 ui/photo.ui:358
+#: ui/collection.ui:106 ui/event.ui:513 ui/photo_context.ui:113 ui/photo.ui:345
msgid "Open with E_xternal Editor"
msgstr ""
-#: 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:117 ui/event.ui:379 ui/event.ui:524 ui/media.ui:366
+#: ui/photo_context.ui:124 ui/tags.ui:366
msgid "View Eve_nt for Photo"
msgstr ""
@@ -5643,52 +5647,40 @@ msgstr ""
msgid "Save _As…"
msgstr ""
-#: ui/direct.ui:59 ui/events_directory.ui:71 ui/event.ui:99
-#: ui/import_queue.ui:38 ui/import.ui:74 ui/media.ui:99 ui/offline.ui:78
-#: ui/photo.ui:95 ui/tags.ui:99 ui/top.ui:15 ui/trash.ui:87
+#: ui/direct.ui:52 ui/events_directory.ui:58 ui/event.ui:93
+#: ui/import_queue.ui:31 ui/import.ui:61 ui/media.ui:86 ui/offline.ui:65
+#: ui/photo.ui:82 ui/tags.ui:86 ui/top.ui:15 ui/trash.ui:74
msgid "_View"
msgstr ""
-#: ui/direct.ui:81 ui/photo.ui:156
+#: ui/direct.ui:74 ui/photo.ui:143
msgid "Fit to _Page"
msgstr ""
-#: ui/direct.ui:86 ui/photo.ui:161
+#: ui/direct.ui:79 ui/photo.ui:148
msgid "Zoom _100%"
msgstr ""
-#: ui/direct.ui:91 ui/photo.ui:166
+#: ui/direct.ui:84 ui/photo.ui:153
msgid "Zoom _200%"
msgstr ""
-#: ui/direct.ui:98 ui/photo.ui:187 ui/top.ui:20
+#: ui/direct.ui:91 ui/photo.ui:174 ui/top.ui:20
msgid "_Photo"
msgstr ""
-#: ui/direct.ui:101 ui/photo.ui:190
+#: ui/direct.ui:94 ui/photo.ui:177
msgid "_Previous Photo"
msgstr ""
-#: ui/direct.ui:105 ui/photo.ui:194
+#: ui/direct.ui:98 ui/photo.ui:181
msgid "_Next Photo"
msgstr ""
-#: ui/direct.ui:131 ui/photo.ui:220
+#: ui/direct.ui:124 ui/photo.ui:207
msgid "T_ools"
msgstr ""
-#: 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
-msgid "_Frequently Asked Questions"
-msgstr ""
-
-#: 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
-msgid "_Report a Problem…"
-msgstr ""
-
#: ui/events_directory.ui:8 ui/event.ui:8 ui/import_queue.ui:14 ui/import.ui:8
#: ui/media.ui:8 ui/offline.ui:8 ui/photo.ui:8 ui/tags.ui:8 ui/trash.ui:8
msgid "_Import from Folder…"
@@ -5702,114 +5694,114 @@ msgstr ""
#: ui/events_directory.ui:19 ui/event.ui:34 ui/import_queue.ui:25
#: ui/import.ui:27 ui/media.ui:34 ui/offline.ui:19 ui/photo.ui:42 ui/tags.ui:34
-#: ui/trash.ui:24 ui/trash.ui:234 ui/trash.ui:242
+#: ui/trash.ui:24 ui/trash.ui:197 ui/trash.ui:205
msgid "Empty T_rash"
msgstr ""
-#: ui/events_directory.ui:47 ui/event.ui:62 ui/import.ui:55 ui/media.ui:62
-#: ui/offline.ui:47 ui/tags.ui:62 ui/trash.ui:52
+#: ui/events_directory.ui:40 ui/event.ui:62 ui/import.ui:48 ui/media.ui:55
+#: ui/offline.ui:40 ui/tags.ui:55 ui/trash.ui:45
msgid "_Find"
msgstr ""
-#: ui/events_directory.ui:51 ui/event.ui:66 ui/media.ui:66 ui/offline.ui:51
-#: ui/photo.ui:70 ui/search_sidebar_context.ui:6
-#: ui/sidebar_default_context.ui:6 ui/tags.ui:66 ui/trash.ui:56
+#: ui/events_directory.ui:44 ui/event.ui:66 ui/media.ui:59 ui/offline.ui:44
+#: ui/photo.ui:63 ui/search_sidebar_context.ui:6
+#: ui/sidebar_default_context.ui:6 ui/tags.ui:59 ui/trash.ui:49
msgid "Ne_w Saved Search…"
msgstr ""
-#: ui/events_directory.ui:74 ui/event.ui:102 ui/import_queue.ui:41
-#: ui/import.ui:77 ui/media.ui:102 ui/offline.ui:81 ui/photo.ui:98
-#: ui/tags.ui:102 ui/trash.ui:90
+#: ui/events_directory.ui:61 ui/event.ui:96 ui/import_queue.ui:34
+#: ui/import.ui:64 ui/media.ui:89 ui/offline.ui:68 ui/photo.ui:85 ui/tags.ui:89
+#: ui/trash.ui:77
msgid "_Basic Information"
msgstr ""
-#: ui/events_directory.ui:79 ui/event.ui:107 ui/import.ui:82 ui/media.ui:107
-#: ui/offline.ui:86 ui/photo.ui:103 ui/tags.ui:107 ui/trash.ui:95
+#: ui/events_directory.ui:66 ui/event.ui:101 ui/import.ui:69 ui/media.ui:94
+#: ui/offline.ui:73 ui/photo.ui:90 ui/tags.ui:94 ui/trash.ui:82
msgid "E_xtended Information"
msgstr ""
-#: ui/events_directory.ui:84 ui/event.ui:112 ui/import.ui:87 ui/media.ui:112
-#: ui/offline.ui:91 ui/tags.ui:112 ui/trash.ui:100
+#: ui/events_directory.ui:71 ui/event.ui:106 ui/import.ui:74 ui/media.ui:99
+#: ui/offline.ui:78 ui/tags.ui:99 ui/trash.ui:87
msgid "_Search Bar"
msgstr ""
-#: ui/events_directory.ui:89 ui/event.ui:117 ui/import.ui:92 ui/media.ui:117
-#: ui/offline.ui:96 ui/photo.ui:108 ui/tags.ui:117 ui/trash.ui:105
+#: ui/events_directory.ui:76 ui/event.ui:111 ui/import.ui:79 ui/media.ui:104
+#: ui/offline.ui:83 ui/photo.ui:95 ui/tags.ui:104 ui/trash.ui:92
msgid "S_idebar"
msgstr ""
-#: ui/events_directory.ui:94 ui/event.ui:122 ui/import.ui:97 ui/media.ui:122
-#: ui/offline.ui:101 ui/photo.ui:113 ui/tags.ui:122 ui/trash.ui:110
+#: ui/events_directory.ui:81 ui/event.ui:116 ui/import.ui:84 ui/media.ui:109
+#: ui/offline.ui:88 ui/photo.ui:100 ui/tags.ui:109 ui/trash.ui:97
msgid "T_oolbar"
msgstr ""
-#: ui/events_directory.ui:101 ui/event.ui:134 ui/media.ui:134 ui/tags.ui:134
+#: ui/events_directory.ui:88 ui/event.ui:128 ui/media.ui:121 ui/tags.ui:121
msgid "_Comments"
msgstr ""
-#: ui/events_directory.ui:108 ui/event.ui:243 ui/import_queue.ui:48
-#: ui/import.ui:166 ui/media.ui:243 ui/offline.ui:163 ui/photo.ui:127
-#: ui/tags.ui:243 ui/trash.ui:172
+#: ui/events_directory.ui:95 ui/event.ui:237 ui/import_queue.ui:41
+#: ui/import.ui:153 ui/media.ui:230 ui/offline.ui:150 ui/photo.ui:114
+#: ui/tags.ui:230 ui/trash.ui:159
msgid "Sort _Events"
msgstr ""
-#: ui/events_directory.ui:111 ui/event.ui:231 ui/event.ui:246
-#: ui/import_queue.ui:51 ui/import.ui:169 ui/media.ui:231 ui/media.ui:246
-#: ui/offline.ui:166 ui/photo.ui:130 ui/tags.ui:231 ui/tags.ui:246
-#: ui/trash.ui:175
+#: ui/events_directory.ui:98 ui/event.ui:225 ui/event.ui:240
+#: ui/import_queue.ui:44 ui/import.ui:156 ui/media.ui:218 ui/media.ui:233
+#: ui/offline.ui:153 ui/photo.ui:117 ui/tags.ui:218 ui/tags.ui:233
+#: ui/trash.ui:162
msgid "_Ascending"
msgstr ""
-#: ui/events_directory.ui:116 ui/event.ui:236 ui/import_queue.ui:56
-#: ui/media.ui:236 ui/offline.ui:171 ui/tags.ui:236 ui/trash.ui:180
+#: ui/events_directory.ui:103 ui/event.ui:230 ui/import_queue.ui:49
+#: ui/media.ui:223 ui/offline.ui:158 ui/tags.ui:223 ui/trash.ui:167
msgid "D_escending"
msgstr ""
-#: ui/events_directory.ui:132 ui/event.ui:377 ui/media.ui:371 ui/tags.ui:371
+#: ui/events_directory.ui:119 ui/event.ui:371 ui/media.ui:358 ui/tags.ui:358
#: ui/top.ui:30
msgid "Even_ts"
msgstr ""
-#: ui/event.ui:74 ui/media.ui:74 ui/offline.ui:58 ui/offline.ui:207
-#: ui/photo.ui:77 ui/tags.ui:74
+#: ui/event.ui:74 ui/media.ui:67 ui/offline.ui:51 ui/offline.ui:170
+#: ui/photo.ui:70 ui/tags.ui:67
msgid "R_emove from Library"
msgstr ""
-#: ui/event.ui:129 ui/import.ui:104 ui/media.ui:129 ui/tags.ui:129
+#: ui/event.ui:123 ui/import.ui:91 ui/media.ui:116 ui/tags.ui:116
msgid "_Titles"
msgstr ""
-#: 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/top.ui:35
+#: ui/event.ui:133 ui/event.ui:396 ui/media.ui:126 ui/media.ui:372
+#: ui/photo.ui:356 ui/tags.ui:126 ui/tags.ui:372 ui/top.ui:35
msgid "Ta_gs"
msgstr ""
-#: ui/event.ui:206 ui/media.ui:206 ui/tags.ui:206
+#: ui/event.ui:200 ui/media.ui:193 ui/tags.ui:193
msgid "Sort _Photos"
msgstr ""
-#: ui/event.ui:209 ui/media.ui:209 ui/tags.ui:209
+#: ui/event.ui:203 ui/media.ui:196 ui/tags.ui:196
msgid "By _Title"
msgstr ""
-#: ui/event.ui:214 ui/media.ui:214 ui/tags.ui:214
+#: ui/event.ui:208 ui/media.ui:201 ui/tags.ui:201
msgid "By _Filename"
msgstr ""
-#: ui/event.ui:219 ui/media.ui:219 ui/tags.ui:219
+#: ui/event.ui:213 ui/media.ui:206 ui/tags.ui:206
msgid "By Exposure _Date"
msgstr ""
-#: ui/event.ui:224 ui/media.ui:224 ui/tags.ui:224
+#: ui/event.ui:218 ui/media.ui:211 ui/tags.ui:211
msgid "By _Rating"
msgstr ""
-#: ui/event.ui:251 ui/import.ui:174 ui/media.ui:251 ui/photo.ui:135
-#: ui/tags.ui:251
+#: ui/event.ui:245 ui/import.ui:161 ui/media.ui:238 ui/photo.ui:122
+#: ui/tags.ui:238
msgid "_Descending"
msgstr ""
-#: ui/event.ui:275 ui/media.ui:275 ui/tags.ui:275 ui/top.ui:25
+#: ui/event.ui:269 ui/media.ui:262 ui/tags.ui:262 ui/top.ui:25
msgid "_Photos"
msgstr ""
@@ -5817,43 +5809,43 @@ msgstr ""
msgid "_Stop Import"
msgstr ""
-#: ui/import.ui:13 ui/import.ui:210
+#: ui/import.ui:13 ui/import.ui:173
msgid "Import _Selected"
msgstr ""
-#: ui/import.ui:17 ui/import.ui:214
+#: ui/import.ui:17 ui/import.ui:177
msgid "Import _All"
msgstr ""
-#: ui/set_background_dialog.ui:15
+#: ui/set_background_dialog.ui:9
msgid "Set as Desktop Background"
msgstr ""
-#: ui/set_background_dialog.ui:77 ui/set_background_slideshow_dialog.ui:132
+#: ui/set_background_dialog.ui:69 ui/set_background_slideshow_dialog.ui:134
msgid "Use for Desktop"
msgstr ""
-#: ui/set_background_dialog.ui:92 ui/set_background_slideshow_dialog.ui:148
+#: ui/set_background_dialog.ui:86 ui/set_background_slideshow_dialog.ui:151
msgid "Use for Lock Screen"
msgstr ""
-#: ui/set_background_slideshow_dialog.ui:15
+#: ui/set_background_slideshow_dialog.ui:16
msgid "Set as Desktop Slideshow"
msgstr ""
-#: ui/set_background_slideshow_dialog.ui:33
-msgid "Show each photo for"
+#: ui/set_background_slideshow_dialog.ui:56
+msgid "Generate desktop background slideshow"
msgstr ""
-#: ui/set_background_slideshow_dialog.ui:45
-msgid "period of time"
+#: ui/set_background_slideshow_dialog.ui:82
+msgid "Show each photo for"
msgstr ""
#: ui/set_background_slideshow_dialog.ui:94
-msgid "Generate desktop background slideshow"
+msgid "period of time"
msgstr ""
-#: ui/set_background_slideshow_dialog.ui:115
+#: ui/set_background_slideshow_dialog.ui:116
msgid "How long each photo is shown on the desktop background"
msgstr ""
@@ -6013,6 +6005,6 @@ msgstr ""
msgid "New _Tag…"
msgstr ""
-#: ui/trash.ui:285
+#: ui/trash.ui:248
msgid "Delete all photos in the trash"
msgstr ""
diff --git a/shotwell.am b/shotwell.am
index 1422009..bb2c53b 100644
--- a/shotwell.am
+++ b/shotwell.am
@@ -17,24 +17,23 @@ shotwell_VALAFLAGS = $(COMMON_VALAFLAGS) \
--pkg libgphoto2 --pkg posix --pkg libraw --pkg gexiv2 \
--pkg libexif --pkg gudev-1.0 --pkg gstreamer-1.0 \
--pkg gstreamer-pbutils-1.0 --pkg misc \
+ --gresources $(abs_top_srcdir)/org.gnome.Shotwell.gresource.xml \
$(UNITY_VALAFLAGS) \
$(COMMON_VALAFLAGS_POST)
-dist_noinst_DATA += src/org.gnome.Shotwell.gresource.xml
+dist_noinst_DATA += org.gnome.Shotwell.gresource.xml
nodist_shotwell_SOURCES = \
- src/resource.c
-MOSTLYCLEANFILES += src/resource.c
+ resource.c
+MOSTLYCLEANFILES += resource.c
-shotwell_resource_deps = $(shell $(GLIB_COMPILE_RESOURCES) \
- --sourcedir=$(abs_top_srcdir)/icons \
- --sourcedir=$(abs_top_srcdir)/ui \
- --generate-dependencies $(abs_top_srcdir)/src/org.gnome.Shotwell.gresource.xml)
+shotwell_resource_deps := $(shell $(GLIB_COMPILE_RESOURCES) \
+ --sourcedir=$(abs_top_srcdir) \
+ --generate-dependencies $(abs_top_srcdir)/org.gnome.Shotwell.gresource.xml)
-src/resource.c: src/org.gnome.Shotwell.gresource.xml $(shotwell_resource_deps)
+resource.c: org.gnome.Shotwell.gresource.xml $(shotwell_resource_deps)
$(AM_V_GEN)$(GLIB_COMPILE_RESOURCES) --target=$@ \
- --sourcedir=$(abs_top_srcdir)/icons \
- --sourcedir=$(abs_top_srcdir)/ui \
+ --sourcedir=$(abs_top_srcdir) \
--generate $<
shotwell_SOURCES = \
diff --git a/src/.unitize/_CameraInternals.c b/src/.unitize/_CameraInternals.c
index e727840..4b84aa5 100644
--- a/src/.unitize/_CameraInternals.c
+++ b/src/.unitize/_CameraInternals.c
@@ -1,4 +1,4 @@
-/* _CameraInternals.c generated by valac 0.34.2, the Vala compiler
+/* _CameraInternals.c generated by valac 0.32.1, the Vala compiler
* generated from _CameraInternals.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/.unitize/_ConfigInternals.c b/src/.unitize/_ConfigInternals.c
index 2d5e5f7..d7eb0e4 100644
--- a/src/.unitize/_ConfigInternals.c
+++ b/src/.unitize/_ConfigInternals.c
@@ -1,4 +1,4 @@
-/* _ConfigInternals.c generated by valac 0.34.2, the Vala compiler
+/* _ConfigInternals.c generated by valac 0.32.1, the Vala compiler
* generated from _ConfigInternals.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/.unitize/_CoreInternals.c b/src/.unitize/_CoreInternals.c
index 9ad8313..f95207a 100644
--- a/src/.unitize/_CoreInternals.c
+++ b/src/.unitize/_CoreInternals.c
@@ -1,4 +1,4 @@
-/* _CoreInternals.c generated by valac 0.34.2, the Vala compiler
+/* _CoreInternals.c generated by valac 0.32.1, the Vala compiler
* generated from _CoreInternals.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/.unitize/_DataImportsInternals.c b/src/.unitize/_DataImportsInternals.c
index 3eb333f..2d2fc94 100644
--- a/src/.unitize/_DataImportsInternals.c
+++ b/src/.unitize/_DataImportsInternals.c
@@ -1,4 +1,4 @@
-/* _DataImportsInternals.c generated by valac 0.34.2, the Vala compiler
+/* _DataImportsInternals.c generated by valac 0.32.1, the Vala compiler
* generated from _DataImportsInternals.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/.unitize/_DbInternals.c b/src/.unitize/_DbInternals.c
index 0290569..47e29a8 100644
--- a/src/.unitize/_DbInternals.c
+++ b/src/.unitize/_DbInternals.c
@@ -1,4 +1,4 @@
-/* _DbInternals.c generated by valac 0.34.2, the Vala compiler
+/* _DbInternals.c generated by valac 0.32.1, the Vala compiler
* generated from _DbInternals.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/.unitize/_DirectInternals.c b/src/.unitize/_DirectInternals.c
index 208cbb6..2095fcb 100644
--- a/src/.unitize/_DirectInternals.c
+++ b/src/.unitize/_DirectInternals.c
@@ -1,4 +1,4 @@
-/* _DirectInternals.c generated by valac 0.34.2, the Vala compiler
+/* _DirectInternals.c generated by valac 0.32.1, the Vala compiler
* generated from _DirectInternals.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/.unitize/_Direct_unitize_entry.c b/src/.unitize/_Direct_unitize_entry.c
index 308750f..148e461 100644
--- a/src/.unitize/_Direct_unitize_entry.c
+++ b/src/.unitize/_Direct_unitize_entry.c
@@ -1,4 +1,4 @@
-/* _Direct_unitize_entry.c generated by valac 0.34.2, the Vala compiler
+/* _Direct_unitize_entry.c generated by valac 0.32.1, the Vala compiler
* generated from _Direct_unitize_entry.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/.unitize/_EditingToolsInternals.c b/src/.unitize/_EditingToolsInternals.c
index 523ca8a..5f351af 100644
--- a/src/.unitize/_EditingToolsInternals.c
+++ b/src/.unitize/_EditingToolsInternals.c
@@ -1,4 +1,4 @@
-/* _EditingToolsInternals.c generated by valac 0.34.2, the Vala compiler
+/* _EditingToolsInternals.c generated by valac 0.32.1, the Vala compiler
* generated from _EditingToolsInternals.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/.unitize/_EventsInternals.c b/src/.unitize/_EventsInternals.c
index 587b091..33088f7 100644
--- a/src/.unitize/_EventsInternals.c
+++ b/src/.unitize/_EventsInternals.c
@@ -1,4 +1,4 @@
-/* _EventsInternals.c generated by valac 0.34.2, the Vala compiler
+/* _EventsInternals.c generated by valac 0.32.1, the Vala compiler
* generated from _EventsInternals.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/.unitize/_FoldersInternals.c b/src/.unitize/_FoldersInternals.c
index 342563f..1a3988e 100644
--- a/src/.unitize/_FoldersInternals.c
+++ b/src/.unitize/_FoldersInternals.c
@@ -1,4 +1,4 @@
-/* _FoldersInternals.c generated by valac 0.34.2, the Vala compiler
+/* _FoldersInternals.c generated by valac 0.32.1, the Vala compiler
* generated from _FoldersInternals.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/.unitize/_LibraryInternals.c b/src/.unitize/_LibraryInternals.c
index 58d4f47..6d70073 100644
--- a/src/.unitize/_LibraryInternals.c
+++ b/src/.unitize/_LibraryInternals.c
@@ -1,4 +1,4 @@
-/* _LibraryInternals.c generated by valac 0.34.2, the Vala compiler
+/* _LibraryInternals.c generated by valac 0.32.1, the Vala compiler
* generated from _LibraryInternals.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/.unitize/_Library_unitize_entry.c b/src/.unitize/_Library_unitize_entry.c
index 910f94f..8e7246c 100644
--- a/src/.unitize/_Library_unitize_entry.c
+++ b/src/.unitize/_Library_unitize_entry.c
@@ -1,4 +1,4 @@
-/* _Library_unitize_entry.c generated by valac 0.34.2, the Vala compiler
+/* _Library_unitize_entry.c generated by valac 0.32.1, the Vala compiler
* generated from _Library_unitize_entry.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/.unitize/_PhotosInternals.c b/src/.unitize/_PhotosInternals.c
index 7166991..3710e7b 100644
--- a/src/.unitize/_PhotosInternals.c
+++ b/src/.unitize/_PhotosInternals.c
@@ -1,4 +1,4 @@
-/* _PhotosInternals.c generated by valac 0.34.2, the Vala compiler
+/* _PhotosInternals.c generated by valac 0.32.1, the Vala compiler
* generated from _PhotosInternals.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/.unitize/_PluginsInternals.c b/src/.unitize/_PluginsInternals.c
index cd6a451..9a9ee42 100644
--- a/src/.unitize/_PluginsInternals.c
+++ b/src/.unitize/_PluginsInternals.c
@@ -1,4 +1,4 @@
-/* _PluginsInternals.c generated by valac 0.34.2, the Vala compiler
+/* _PluginsInternals.c generated by valac 0.32.1, the Vala compiler
* generated from _PluginsInternals.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/.unitize/_PublishingInternals.c b/src/.unitize/_PublishingInternals.c
index 639a43e..b1d0861 100644
--- a/src/.unitize/_PublishingInternals.c
+++ b/src/.unitize/_PublishingInternals.c
@@ -1,4 +1,4 @@
-/* _PublishingInternals.c generated by valac 0.34.2, the Vala compiler
+/* _PublishingInternals.c generated by valac 0.32.1, the Vala compiler
* generated from _PublishingInternals.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/.unitize/_SearchesInternals.c b/src/.unitize/_SearchesInternals.c
index c4258c1..7b0f7e8 100644
--- a/src/.unitize/_SearchesInternals.c
+++ b/src/.unitize/_SearchesInternals.c
@@ -1,4 +1,4 @@
-/* _SearchesInternals.c generated by valac 0.34.2, the Vala compiler
+/* _SearchesInternals.c generated by valac 0.32.1, the Vala compiler
* generated from _SearchesInternals.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/.unitize/_SidebarInternals.c b/src/.unitize/_SidebarInternals.c
index fb620c2..f312282 100644
--- a/src/.unitize/_SidebarInternals.c
+++ b/src/.unitize/_SidebarInternals.c
@@ -1,4 +1,4 @@
-/* _SidebarInternals.c generated by valac 0.34.2, the Vala compiler
+/* _SidebarInternals.c generated by valac 0.32.1, the Vala compiler
* generated from _SidebarInternals.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/.unitize/_SlideshowInternals.c b/src/.unitize/_SlideshowInternals.c
index 2f62724..31b8124 100644
--- a/src/.unitize/_SlideshowInternals.c
+++ b/src/.unitize/_SlideshowInternals.c
@@ -1,4 +1,4 @@
-/* _SlideshowInternals.c generated by valac 0.34.2, the Vala compiler
+/* _SlideshowInternals.c generated by valac 0.32.1, the Vala compiler
* generated from _SlideshowInternals.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/.unitize/_TagsInternals.c b/src/.unitize/_TagsInternals.c
index 52fd320..599fb26 100644
--- a/src/.unitize/_TagsInternals.c
+++ b/src/.unitize/_TagsInternals.c
@@ -1,4 +1,4 @@
-/* _TagsInternals.c generated by valac 0.34.2, the Vala compiler
+/* _TagsInternals.c generated by valac 0.32.1, the Vala compiler
* generated from _TagsInternals.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/.unitize/_ThreadsInternals.c b/src/.unitize/_ThreadsInternals.c
index 55c6aa8..69712a7 100644
--- a/src/.unitize/_ThreadsInternals.c
+++ b/src/.unitize/_ThreadsInternals.c
@@ -1,4 +1,4 @@
-/* _ThreadsInternals.c generated by valac 0.34.2, the Vala compiler
+/* _ThreadsInternals.c generated by valac 0.32.1, the Vala compiler
* generated from _ThreadsInternals.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/.unitize/_UnitInternals.c b/src/.unitize/_UnitInternals.c
index 2d1e534..102107b 100644
--- a/src/.unitize/_UnitInternals.c
+++ b/src/.unitize/_UnitInternals.c
@@ -1,4 +1,4 @@
-/* _UnitInternals.c generated by valac 0.34.2, the Vala compiler
+/* _UnitInternals.c generated by valac 0.32.1, the Vala compiler
* generated from _UnitInternals.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/.unitize/_UtilInternals.c b/src/.unitize/_UtilInternals.c
index 288bc95..ddfb022 100644
--- a/src/.unitize/_UtilInternals.c
+++ b/src/.unitize/_UtilInternals.c
@@ -1,4 +1,4 @@
-/* _UtilInternals.c generated by valac 0.34.2, the Vala compiler
+/* _UtilInternals.c generated by valac 0.32.1, the Vala compiler
* generated from _UtilInternals.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/AppDirs.c b/src/AppDirs.c
index 5e4ec30..c120815 100644
--- a/src/AppDirs.c
+++ b/src/AppDirs.c
@@ -1,4 +1,4 @@
-/* AppDirs.c generated by valac 0.34.2, the Vala compiler
+/* AppDirs.c generated by valac 0.32.1, the Vala compiler
* generated from AppDirs.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -394,11 +394,11 @@ void app_dirs_try_migrate_data (void) {
#line 44 "/home/jens/Source/shotwell/src/AppDirs.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 397 "AppDirs.c"
- goto __catch442_g_error;
+ goto __catch440_g_error;
}
}
- goto __finally442;
- __catch442_g_error:
+ goto __finally440;
+ __catch440_g_error:
{
GError* err = NULL;
#line 43 "/home/jens/Source/shotwell/src/AppDirs.vala"
@@ -409,7 +409,7 @@ void app_dirs_try_migrate_data (void) {
_g_error_free0 (err);
#line 411 "AppDirs.c"
}
- __finally442:
+ __finally440:
#line 43 "/home/jens/Source/shotwell/src/AppDirs.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 43 "/home/jens/Source/shotwell/src/AppDirs.vala"
@@ -437,11 +437,11 @@ void app_dirs_try_migrate_data (void) {
#line 49 "/home/jens/Source/shotwell/src/AppDirs.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 440 "AppDirs.c"
- goto __catch443_g_error;
+ goto __catch441_g_error;
}
}
- goto __finally443;
- __catch443_g_error:
+ goto __finally441;
+ __catch441_g_error:
{
GError* err = NULL;
#line 48 "/home/jens/Source/shotwell/src/AppDirs.vala"
@@ -452,7 +452,7 @@ void app_dirs_try_migrate_data (void) {
_g_error_free0 (err);
#line 454 "AppDirs.c"
}
- __finally443:
+ __finally441:
#line 48 "/home/jens/Source/shotwell/src/AppDirs.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 48 "/home/jens/Source/shotwell/src/AppDirs.vala"
@@ -539,11 +539,11 @@ void app_dirs_try_migrate_data (void) {
#line 62 "/home/jens/Source/shotwell/src/AppDirs.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 542 "AppDirs.c"
- goto __catch444_g_error;
+ goto __catch442_g_error;
}
}
- goto __finally444;
- __catch444_g_error:
+ goto __finally442;
+ __catch442_g_error:
{
GError* err = NULL;
const gchar* _tmp35_ = NULL;
@@ -584,7 +584,7 @@ void app_dirs_try_migrate_data (void) {
_g_error_free0 (err);
#line 586 "AppDirs.c"
}
- __finally444:
+ __finally442:
#line 61 "/home/jens/Source/shotwell/src/AppDirs.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 61 "/home/jens/Source/shotwell/src/AppDirs.vala"
@@ -666,11 +666,11 @@ void app_dirs_try_migrate_data (void) {
#line 72 "/home/jens/Source/shotwell/src/AppDirs.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 669 "AppDirs.c"
- goto __catch445_g_error;
+ goto __catch443_g_error;
}
}
- goto __finally445;
- __catch445_g_error:
+ goto __finally443;
+ __catch443_g_error:
{
GError* err = NULL;
const gchar* _tmp61_ = NULL;
@@ -719,7 +719,7 @@ void app_dirs_try_migrate_data (void) {
_g_error_free0 (err);
#line 721 "AppDirs.c"
}
- __finally445:
+ __finally443:
#line 71 "/home/jens/Source/shotwell/src/AppDirs.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 71 "/home/jens/Source/shotwell/src/AppDirs.vala"
@@ -895,12 +895,12 @@ void app_dirs_verify_data_dir (void) {
#line 102 "/home/jens/Source/shotwell/src/AppDirs.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 898 "AppDirs.c"
- goto __catch446_g_error;
+ goto __catch444_g_error;
}
}
}
- goto __finally446;
- __catch446_g_error:
+ goto __finally444;
+ __catch444_g_error:
{
GError* err = NULL;
const gchar* _tmp4_ = NULL;
@@ -941,7 +941,7 @@ void app_dirs_verify_data_dir (void) {
_g_error_free0 (err);
#line 943 "AppDirs.c"
}
- __finally446:
+ __finally444:
#line 100 "/home/jens/Source/shotwell/src/AppDirs.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 100 "/home/jens/Source/shotwell/src/AppDirs.vala"
@@ -987,12 +987,12 @@ void app_dirs_verify_cache_dir (void) {
#line 113 "/home/jens/Source/shotwell/src/AppDirs.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 990 "AppDirs.c"
- goto __catch447_g_error;
+ goto __catch445_g_error;
}
}
}
- goto __finally447;
- __catch447_g_error:
+ goto __finally445;
+ __catch445_g_error:
{
GError* err = NULL;
const gchar* _tmp4_ = NULL;
@@ -1033,7 +1033,7 @@ void app_dirs_verify_cache_dir (void) {
_g_error_free0 (err);
#line 1035 "AppDirs.c"
}
- __finally447:
+ __finally445:
#line 111 "/home/jens/Source/shotwell/src/AppDirs.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 111 "/home/jens/Source/shotwell/src/AppDirs.vala"
@@ -1591,12 +1591,12 @@ GFile* app_dirs_get_temp_dir (void) {
#line 204 "/home/jens/Source/shotwell/src/AppDirs.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1594 "AppDirs.c"
- goto __catch448_g_error;
+ goto __catch446_g_error;
}
}
}
- goto __finally448;
- __catch448_g_error:
+ goto __finally446;
+ __catch446_g_error:
{
GError* err = NULL;
const gchar* _tmp9_ = NULL;
@@ -1637,7 +1637,7 @@ GFile* app_dirs_get_temp_dir (void) {
_g_error_free0 (err);
#line 1639 "AppDirs.c"
}
- __finally448:
+ __finally446:
#line 202 "/home/jens/Source/shotwell/src/AppDirs.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 202 "/home/jens/Source/shotwell/src/AppDirs.vala"
@@ -1725,12 +1725,12 @@ GFile* app_dirs_get_data_subdir (const gchar* name, const gchar* subname) {
#line 221 "/home/jens/Source/shotwell/src/AppDirs.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1728 "AppDirs.c"
- goto __catch449_g_error;
+ goto __catch447_g_error;
}
}
}
- goto __finally449;
- __catch449_g_error:
+ goto __finally447;
+ __catch447_g_error:
{
GError* err = NULL;
const gchar* _tmp12_ = NULL;
@@ -1771,7 +1771,7 @@ GFile* app_dirs_get_data_subdir (const gchar* name, const gchar* subname) {
_g_error_free0 (err);
#line 1773 "AppDirs.c"
}
- __finally449:
+ __finally447:
#line 219 "/home/jens/Source/shotwell/src/AppDirs.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 219 "/home/jens/Source/shotwell/src/AppDirs.vala"
@@ -1825,7 +1825,7 @@ void app_dirs_ensure_writable (GFile* dir) {
#line 233 "/home/jens/Source/shotwell/src/AppDirs.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1828 "AppDirs.c"
- goto __catch450_g_error;
+ goto __catch448_g_error;
}
#line 234 "/home/jens/Source/shotwell/src/AppDirs.vala"
_tmp4_ = info;
@@ -1846,7 +1846,7 @@ void app_dirs_ensure_writable (GFile* dir) {
#line 235 "/home/jens/Source/shotwell/src/AppDirs.vala"
_g_object_unref0 (info);
#line 1849 "AppDirs.c"
- goto __catch450_g_error;
+ goto __catch448_g_error;
}
#line 235 "/home/jens/Source/shotwell/src/AppDirs.vala"
if (!_tmp6_) {
@@ -1881,8 +1881,8 @@ void app_dirs_ensure_writable (GFile* dir) {
_g_object_unref0 (info);
#line 1883 "AppDirs.c"
}
- goto __finally450;
- __catch450_g_error:
+ goto __finally448;
+ __catch448_g_error:
{
GError* err = NULL;
const gchar* _tmp16_ = NULL;
@@ -1923,7 +1923,7 @@ void app_dirs_ensure_writable (GFile* dir) {
_g_error_free0 (err);
#line 1925 "AppDirs.c"
}
- __finally450:
+ __finally448:
#line 232 "/home/jens/Source/shotwell/src/AppDirs.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 232 "/home/jens/Source/shotwell/src/AppDirs.vala"
@@ -2008,12 +2008,12 @@ GFile* app_dirs_get_cache_subdir (const gchar* name, const gchar* subname) {
#line 252 "/home/jens/Source/shotwell/src/AppDirs.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 2011 "AppDirs.c"
- goto __catch451_g_error;
+ goto __catch449_g_error;
}
}
}
- goto __finally451;
- __catch451_g_error:
+ goto __finally449;
+ __catch449_g_error:
{
GError* err = NULL;
const gchar* _tmp13_ = NULL;
@@ -2054,7 +2054,7 @@ GFile* app_dirs_get_cache_subdir (const gchar* name, const gchar* subname) {
_g_error_free0 (err);
#line 2056 "AppDirs.c"
}
- __finally451:
+ __finally449:
#line 250 "/home/jens/Source/shotwell/src/AppDirs.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 250 "/home/jens/Source/shotwell/src/AppDirs.vala"
diff --git a/src/AppWindow.c b/src/AppWindow.c
index a22d177..e49d245 100644
--- a/src/AppWindow.c
+++ b/src/AppWindow.c
@@ -1,4 +1,4 @@
-/* AppWindow.c generated by valac 0.34.2, the Vala compiler
+/* AppWindow.c generated by valac 0.32.1, the Vala compiler
* generated from AppWindow.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -235,6 +235,7 @@ typedef struct _DataViewClass DataViewClass;
typedef struct _CheckerboardPage CheckerboardPage;
typedef struct _CheckerboardPageClass CheckerboardPageClass;
+#define _g_variant_unref0(var) ((var == NULL) ? NULL : (var = (g_variant_unref (var), NULL)))
#define TYPE_COMMAND_DESCRIPTION (command_description_get_type ())
#define COMMAND_DESCRIPTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_COMMAND_DESCRIPTION, CommandDescription))
@@ -438,6 +439,8 @@ void value_take_command_manager (GValue* value, gpointer v_object);
gpointer value_get_command_manager (const GValue* value);
GType command_manager_get_type (void) G_GNUC_CONST;
#define APP_WINDOW_DND_ICON_SCALE 128
+void app_window_on_about (AppWindow* self);
+static void _app_window_on_about_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self);
void app_window_on_quit (AppWindow* self);
static void _app_window_on_quit_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self);
void app_window_on_fullscreen (AppWindow* self);
@@ -496,7 +499,6 @@ void app_window_panic (const gchar* msg);
void application_panic (Application* self);
gchar* app_window_get_app_role (AppWindow* self);
static gchar* app_window_real_get_app_role (AppWindow* self);
-void app_window_on_about (AppWindow* self);
#define RESOURCES_APP_VERSION _VERSION
#define RESOURCES_COPYRIGHT _ ("Copyright 2016 Software Freedom Conservancy Inc.")
#define RESOURCES_HOME_URL "https://wiki.gnome.org/Apps/Shotwell"
@@ -575,9 +577,12 @@ GType checkerboard_page_get_type (void) G_GNUC_CONST;
static void app_window_real_update_common_actions (AppWindow* self, Page* page, gint selected_count, gint count);
void app_window_decorate_undo_action (AppWindow* self);
void app_window_decorate_redo_action (AppWindow* self);
+void app_window_update_menu_item_label (AppWindow* self, const gchar* id, const gchar* new_label);
+GMenuModel* page_get_menubar (Page* self);
CommandManager* app_window_get_command_manager (void);
GType command_description_get_type (void) G_GNUC_CONST;
static void app_window_decorate_command_manager_action (AppWindow* self, const gchar* name, const gchar* prefix, const gchar* default_explanation, CommandDescription* desc);
+gchar* command_description_get_name (CommandDescription* self);
#define RESOURCES_UNDO_MENU _ ("_Undo")
CommandDescription* command_manager_get_undo_description (CommandManager* self);
#define RESOURCES_REDO_MENU _ ("_Redo")
@@ -590,27 +595,27 @@ static gboolean app_window_real_configure_event (GtkWidget* base, GdkEventConfig
static void app_window_finalize (GObject* obj);
static const GActionEntry FULLSCREEN_WINDOW_entries[1] = {{"LeaveFullscreen", _fullscreen_window_on_close_gsimple_action_activate_callback}};
-static const GActionEntry APP_WINDOW_common_actions[10] = {{"CommonQuit", _app_window_on_quit_gsimple_action_activate_callback}, {"CommonFullscreen", _app_window_on_fullscreen_gsimple_action_activate_callback}, {"CommonHelpContents", _app_window_on_help_contents_gsimple_action_activate_callback}, {"CommonHelpFAQ", _app_window_on_help_faq_gsimple_action_activate_callback}, {"CommonHelpReportProblem", _app_window_on_help_report_problem_gsimple_action_activate_callback}, {"CommonUndo", _app_window_on_undo_gsimple_action_activate_callback}, {"CommonRedo", _app_window_on_redo_gsimple_action_activate_callback}, {"CommonJumpToFile", _app_window_on_jump_to_file_gsimple_action_activate_callback}, {"CommonSelectAll", _app_window_on_select_all_gsimple_action_activate_callback}, {"CommonSelectNone", _app_window_on_select_none_gsimple_action_activate_callback}};
+static const GActionEntry APP_WINDOW_common_actions[11] = {{"CommonAbout", _app_window_on_about_gsimple_action_activate_callback}, {"CommonQuit", _app_window_on_quit_gsimple_action_activate_callback}, {"CommonFullscreen", _app_window_on_fullscreen_gsimple_action_activate_callback}, {"CommonHelpContents", _app_window_on_help_contents_gsimple_action_activate_callback}, {"CommonHelpFAQ", _app_window_on_help_faq_gsimple_action_activate_callback}, {"CommonHelpReportProblem", _app_window_on_help_report_problem_gsimple_action_activate_callback}, {"CommonUndo", _app_window_on_undo_gsimple_action_activate_callback}, {"CommonRedo", _app_window_on_redo_gsimple_action_activate_callback}, {"CommonJumpToFile", _app_window_on_jump_to_file_gsimple_action_activate_callback}, {"CommonSelectAll", _app_window_on_select_all_gsimple_action_activate_callback}, {"CommonSelectNone", _app_window_on_select_none_gsimple_action_activate_callback}};
extern const gchar* RESOURCES_AUTHORS[6];
static void _fullscreen_window_on_close_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 22 "/home/jens/Source/shotwell/src/AppWindow.vala"
fullscreen_window_on_close ((FullscreenWindow*) self);
-#line 572 "AppWindow.c"
+#line 577 "AppWindow.c"
}
static void _fullscreen_window_update_toolbar_dismissal_gtk_tool_button_clicked (GtkToolButton* _sender, gpointer self) {
#line 50 "/home/jens/Source/shotwell/src/AppWindow.vala"
fullscreen_window_update_toolbar_dismissal ((FullscreenWindow*) self);
-#line 579 "AppWindow.c"
+#line 584 "AppWindow.c"
}
static void _fullscreen_window_hide_toolbar_slideshow_page_hide_toolbar (SlideshowPage* _sender, gpointer self) {
#line 65 "/home/jens/Source/shotwell/src/AppWindow.vala"
fullscreen_window_hide_toolbar ((FullscreenWindow*) self);
-#line 586 "AppWindow.c"
+#line 591 "AppWindow.c"
}
@@ -621,7 +626,7 @@ FullscreenWindow* fullscreen_window_construct (GType object_type, Page* page) {
AppWindow* _tmp2_ = NULL;
#line 32 "/home/jens/Source/shotwell/src/AppWindow.vala"
static const gchar* accels[] = {"F11"};
-#line 597 "AppWindow.c"
+#line 602 "AppWindow.c"
AppWindow* _tmp3_ = NULL;
AppWindow* _tmp4_ = NULL;
GdkScreen* _tmp5_ = NULL;
@@ -794,13 +799,13 @@ FullscreenWindow* fullscreen_window_construct (GType object_type, Page* page) {
_tmp33_ = page;
#line 63 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp33_, TYPE_SLIDESHOW_PAGE)) {
-#line 770 "AppWindow.c"
+#line 775 "AppWindow.c"
Page* _tmp34_ = NULL;
#line 65 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp34_ = page;
#line 65 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp34_, TYPE_SLIDESHOW_PAGE, SlideshowPage), "hide-toolbar", (GCallback) _fullscreen_window_hide_toolbar_slideshow_page_hide_toolbar, self, 0);
-#line 776 "AppWindow.c"
+#line 781 "AppWindow.c"
} else {
GtkToolbar* _tmp35_ = NULL;
GtkToggleToolButton* _tmp36_ = NULL;
@@ -810,7 +815,7 @@ FullscreenWindow* fullscreen_window_construct (GType object_type, Page* page) {
_tmp36_ = self->priv->pin_button;
#line 68 "/home/jens/Source/shotwell/src/AppWindow.vala"
gtk_toolbar_insert (_tmp35_, G_TYPE_CHECK_INSTANCE_CAST (_tmp36_, gtk_tool_item_get_type (), GtkToolItem), -1);
-#line 786 "AppWindow.c"
+#line 791 "AppWindow.c"
}
#line 71 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp37_ = page;
@@ -868,14 +873,14 @@ FullscreenWindow* fullscreen_window_construct (GType object_type, Page* page) {
gtk_application_window_set_show_menubar (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_application_window_get_type (), GtkApplicationWindow), FALSE);
#line 26 "/home/jens/Source/shotwell/src/AppWindow.vala"
return self;
-#line 844 "AppWindow.c"
+#line 849 "AppWindow.c"
}
FullscreenWindow* fullscreen_window_new (Page* page) {
#line 26 "/home/jens/Source/shotwell/src/AppWindow.vala"
return fullscreen_window_construct (TYPE_FULLSCREEN_WINDOW, page);
-#line 851 "AppWindow.c"
+#line 856 "AppWindow.c"
}
@@ -884,7 +889,7 @@ void fullscreen_window_disable_toolbar_dismissal (FullscreenWindow* self) {
g_return_if_fail (IS_FULLSCREEN_WINDOW (self));
#line 103 "/home/jens/Source/shotwell/src/AppWindow.vala"
self->priv->is_toolbar_dismissal_enabled = FALSE;
-#line 860 "AppWindow.c"
+#line 865 "AppWindow.c"
}
@@ -899,7 +904,7 @@ void fullscreen_window_update_toolbar_dismissal (FullscreenWindow* self) {
_tmp1_ = gtk_toggle_tool_button_get_active (_tmp0_);
#line 107 "/home/jens/Source/shotwell/src/AppWindow.vala"
self->priv->is_toolbar_dismissal_enabled = !_tmp1_;
-#line 875 "AppWindow.c"
+#line 880 "AppWindow.c"
}
@@ -936,7 +941,7 @@ static void fullscreen_window_get_monitor_geometry (FullscreenWindow* self, GdkR
*result = monitor;
#line 116 "/home/jens/Source/shotwell/src/AppWindow.vala"
return;
-#line 912 "AppWindow.c"
+#line 917 "AppWindow.c"
}
@@ -961,7 +966,7 @@ static gboolean fullscreen_window_real_configure_event (GtkWidget* base, GdkEven
_tmp2_ = self->priv->switched_to;
#line 122 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (!_tmp2_) {
-#line 937 "AppWindow.c"
+#line 942 "AppWindow.c"
Page* _tmp3_ = NULL;
Page* _tmp4_ = NULL;
#line 123 "/home/jens/Source/shotwell/src/AppWindow.vala"
@@ -974,13 +979,13 @@ static gboolean fullscreen_window_real_configure_event (GtkWidget* base, GdkEven
_g_object_unref0 (_tmp4_);
#line 124 "/home/jens/Source/shotwell/src/AppWindow.vala"
self->priv->switched_to = TRUE;
-#line 950 "AppWindow.c"
+#line 955 "AppWindow.c"
}
#line 127 "/home/jens/Source/shotwell/src/AppWindow.vala"
result = _result_;
#line 127 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 956 "AppWindow.c"
+#line 961 "AppWindow.c"
}
@@ -1014,11 +1019,11 @@ static gboolean fullscreen_window_real_key_press_event (GtkWidget* base, GdkEven
result = TRUE;
#line 135 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 990 "AppWindow.c"
+#line 995 "AppWindow.c"
}
#line 139 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (GTK_WIDGET_CLASS (fullscreen_window_parent_class)->key_press_event != NULL) {
-#line 994 "AppWindow.c"
+#line 999 "AppWindow.c"
GdkEventKey* _tmp4_ = NULL;
gboolean _tmp5_ = FALSE;
#line 139 "/home/jens/Source/shotwell/src/AppWindow.vala"
@@ -1027,11 +1032,11 @@ static gboolean fullscreen_window_real_key_press_event (GtkWidget* base, GdkEven
_tmp5_ = GTK_WIDGET_CLASS (fullscreen_window_parent_class)->key_press_event (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow), gtk_widget_get_type (), GtkWidget), _tmp4_);
#line 139 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp3_ = _tmp5_;
-#line 1003 "AppWindow.c"
+#line 1008 "AppWindow.c"
} else {
#line 139 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp3_ = FALSE;
-#line 1007 "AppWindow.c"
+#line 1012 "AppWindow.c"
}
#line 139 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp3_) {
@@ -1039,7 +1044,7 @@ static gboolean fullscreen_window_real_key_press_event (GtkWidget* base, GdkEven
result = TRUE;
#line 140 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 1015 "AppWindow.c"
+#line 1020 "AppWindow.c"
}
#line 143 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp6_ = app_window_get_instance ();
@@ -1057,7 +1062,7 @@ static gboolean fullscreen_window_real_key_press_event (GtkWidget* base, GdkEven
result = _tmp10_;
#line 143 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 1033 "AppWindow.c"
+#line 1038 "AppWindow.c"
}
@@ -1089,7 +1094,7 @@ static void fullscreen_window_on_close (FullscreenWindow* self) {
app_window_end_fullscreen (_tmp4_);
#line 150 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp4_);
-#line 1065 "AppWindow.c"
+#line 1070 "AppWindow.c"
}
@@ -1098,7 +1103,7 @@ void fullscreen_window_close (FullscreenWindow* self) {
g_return_if_fail (IS_FULLSCREEN_WINDOW (self));
#line 154 "/home/jens/Source/shotwell/src/AppWindow.vala"
fullscreen_window_on_close (self);
-#line 1074 "AppWindow.c"
+#line 1079 "AppWindow.c"
}
@@ -1119,7 +1124,7 @@ static void fullscreen_window_real_destroy (GtkWidget* base) {
_tmp1_ = page;
#line 161 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp1_ != NULL) {
-#line 1095 "AppWindow.c"
+#line 1100 "AppWindow.c"
Page* _tmp2_ = NULL;
Page* _tmp3_ = NULL;
#line 162 "/home/jens/Source/shotwell/src/AppWindow.vala"
@@ -1130,13 +1135,13 @@ static void fullscreen_window_real_destroy (GtkWidget* base) {
_tmp3_ = page;
#line 163 "/home/jens/Source/shotwell/src/AppWindow.vala"
page_switching_from (_tmp3_);
-#line 1106 "AppWindow.c"
+#line 1111 "AppWindow.c"
}
#line 166 "/home/jens/Source/shotwell/src/AppWindow.vala"
GTK_WIDGET_CLASS (fullscreen_window_parent_class)->destroy (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow), gtk_widget_get_type (), GtkWidget));
#line 157 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (page);
-#line 1112 "AppWindow.c"
+#line 1117 "AppWindow.c"
}
@@ -1163,7 +1168,7 @@ static gboolean fullscreen_window_real_delete_event (GtkWidget* base, GdkEventAn
result = TRUE;
#line 173 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 1139 "AppWindow.c"
+#line 1144 "AppWindow.c"
}
@@ -1172,7 +1177,7 @@ static gboolean _fullscreen_window_on_check_toolbar_invocation_gsource_func (gpo
result = fullscreen_window_on_check_toolbar_invocation ((FullscreenWindow*) self);
#line 182 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 1148 "AppWindow.c"
+#line 1153 "AppWindow.c"
}
@@ -1189,24 +1194,24 @@ static gboolean fullscreen_window_real_motion_notify_event (GtkWidget* base, Gdk
_tmp0_ = self->priv->is_toolbar_shown;
#line 177 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (!_tmp0_) {
-#line 1165 "AppWindow.c"
+#line 1170 "AppWindow.c"
gboolean _tmp1_ = FALSE;
gboolean _tmp2_ = FALSE;
#line 181 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = self->priv->waiting_for_invoke;
#line 181 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (!_tmp2_) {
-#line 1172 "AppWindow.c"
+#line 1177 "AppWindow.c"
gboolean _tmp3_ = FALSE;
#line 181 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp3_ = fullscreen_window_is_pointer_in_toolbar (self);
#line 181 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = _tmp3_;
-#line 1178 "AppWindow.c"
+#line 1183 "AppWindow.c"
} else {
#line 181 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = FALSE;
-#line 1182 "AppWindow.c"
+#line 1187 "AppWindow.c"
}
#line 181 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp1_) {
@@ -1214,12 +1219,12 @@ static gboolean fullscreen_window_real_motion_notify_event (GtkWidget* base, Gdk
g_timeout_add_full (G_PRIORITY_DEFAULT, (guint) FULLSCREEN_WINDOW_TOOLBAR_INVOCATION_MSEC, _fullscreen_window_on_check_toolbar_invocation_gsource_func, g_object_ref (self), g_object_unref);
#line 183 "/home/jens/Source/shotwell/src/AppWindow.vala"
self->priv->waiting_for_invoke = TRUE;
-#line 1190 "AppWindow.c"
+#line 1195 "AppWindow.c"
}
}
#line 187 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (GTK_WIDGET_CLASS (fullscreen_window_parent_class)->motion_notify_event != NULL) {
-#line 1195 "AppWindow.c"
+#line 1200 "AppWindow.c"
GdkEventMotion* _tmp5_ = NULL;
gboolean _tmp6_ = FALSE;
#line 187 "/home/jens/Source/shotwell/src/AppWindow.vala"
@@ -1228,24 +1233,24 @@ static gboolean fullscreen_window_real_motion_notify_event (GtkWidget* base, Gdk
_tmp6_ = GTK_WIDGET_CLASS (fullscreen_window_parent_class)->motion_notify_event (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow), gtk_widget_get_type (), GtkWidget), _tmp5_);
#line 187 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp4_ = _tmp6_;
-#line 1204 "AppWindow.c"
+#line 1209 "AppWindow.c"
} else {
#line 187 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp4_ = FALSE;
-#line 1208 "AppWindow.c"
+#line 1213 "AppWindow.c"
}
#line 187 "/home/jens/Source/shotwell/src/AppWindow.vala"
result = _tmp4_;
#line 187 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 1214 "AppWindow.c"
+#line 1219 "AppWindow.c"
}
static gpointer _g_object_ref0 (gpointer self) {
#line 191 "/home/jens/Source/shotwell/src/AppWindow.vala"
return self ? g_object_ref (self) : NULL;
-#line 1221 "AppWindow.c"
+#line 1226 "AppWindow.c"
}
@@ -1288,7 +1293,7 @@ static gboolean fullscreen_window_is_pointer_in_toolbar (FullscreenWindow* self)
_g_object_unref0 (devmgr);
#line 195 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 1264 "AppWindow.c"
+#line 1269 "AppWindow.c"
}
#line 199 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp4_ = devmgr;
@@ -1316,7 +1321,7 @@ static gboolean fullscreen_window_is_pointer_in_toolbar (FullscreenWindow* self)
_g_object_unref0 (devmgr);
#line 204 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 1292 "AppWindow.c"
+#line 1297 "AppWindow.c"
}
@@ -1336,7 +1341,7 @@ static gboolean fullscreen_window_on_check_toolbar_invocation (FullscreenWindow*
result = FALSE;
#line 211 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 1312 "AppWindow.c"
+#line 1317 "AppWindow.c"
}
#line 213 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = fullscreen_window_is_pointer_in_toolbar (self);
@@ -1346,7 +1351,7 @@ static gboolean fullscreen_window_on_check_toolbar_invocation (FullscreenWindow*
result = FALSE;
#line 214 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 1322 "AppWindow.c"
+#line 1327 "AppWindow.c"
}
#line 216 "/home/jens/Source/shotwell/src/AppWindow.vala"
fullscreen_window_invoke_toolbar (self);
@@ -1354,7 +1359,7 @@ static gboolean fullscreen_window_on_check_toolbar_invocation (FullscreenWindow*
result = FALSE;
#line 218 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 1330 "AppWindow.c"
+#line 1335 "AppWindow.c"
}
@@ -1363,7 +1368,7 @@ static gboolean _fullscreen_window_on_check_toolbar_dismissal_gsource_func (gpoi
result = fullscreen_window_on_check_toolbar_dismissal ((FullscreenWindow*) self);
#line 226 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 1339 "AppWindow.c"
+#line 1344 "AppWindow.c"
}
@@ -1379,7 +1384,7 @@ static void fullscreen_window_invoke_toolbar (FullscreenWindow* self) {
self->priv->is_toolbar_shown = TRUE;
#line 226 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_timeout_add_full (G_PRIORITY_DEFAULT, (guint) FULLSCREEN_WINDOW_TOOLBAR_CHECK_DISMISSAL_MSEC, _fullscreen_window_on_check_toolbar_dismissal_gsource_func, g_object_ref (self), g_object_unref);
-#line 1355 "AppWindow.c"
+#line 1360 "AppWindow.c"
}
@@ -1405,7 +1410,7 @@ static gboolean fullscreen_window_on_check_toolbar_dismissal (FullscreenWindow*
result = FALSE;
#line 231 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 1381 "AppWindow.c"
+#line 1386 "AppWindow.c"
}
#line 234 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = self->priv->is_toolbar_dismissal_enabled;
@@ -1415,7 +1420,7 @@ static gboolean fullscreen_window_on_check_toolbar_dismissal (FullscreenWindow*
result = TRUE;
#line 235 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 1391 "AppWindow.c"
+#line 1396 "AppWindow.c"
}
#line 238 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = fullscreen_window_is_pointer_in_toolbar (self);
@@ -1427,13 +1432,13 @@ static gboolean fullscreen_window_on_check_toolbar_dismissal (FullscreenWindow*
result = TRUE;
#line 241 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 1403 "AppWindow.c"
+#line 1408 "AppWindow.c"
}
#line 245 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp3_ = self->priv->left_toolbar_time;
#line 245 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp3_ == ((time_t) 0)) {
-#line 1409 "AppWindow.c"
+#line 1414 "AppWindow.c"
time_t _tmp4_ = 0;
#line 246 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp4_ = time (NULL);
@@ -1443,7 +1448,7 @@ static gboolean fullscreen_window_on_check_toolbar_dismissal (FullscreenWindow*
result = TRUE;
#line 248 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 1419 "AppWindow.c"
+#line 1424 "AppWindow.c"
}
#line 252 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp5_ = time (NULL);
@@ -1465,7 +1470,7 @@ static gboolean fullscreen_window_on_check_toolbar_dismissal (FullscreenWindow*
result = TRUE;
#line 256 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 1441 "AppWindow.c"
+#line 1446 "AppWindow.c"
}
#line 258 "/home/jens/Source/shotwell/src/AppWindow.vala"
fullscreen_window_hide_toolbar (self);
@@ -1473,7 +1478,7 @@ static gboolean fullscreen_window_on_check_toolbar_dismissal (FullscreenWindow*
result = FALSE;
#line 260 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 1449 "AppWindow.c"
+#line 1454 "AppWindow.c"
}
@@ -1487,7 +1492,7 @@ static void fullscreen_window_hide_toolbar (FullscreenWindow* self) {
gtk_widget_hide (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget));
#line 265 "/home/jens/Source/shotwell/src/AppWindow.vala"
self->priv->is_toolbar_shown = FALSE;
-#line 1463 "AppWindow.c"
+#line 1468 "AppWindow.c"
}
@@ -1508,7 +1513,7 @@ static void fullscreen_window_class_init (FullscreenWindowClass * klass) {
((GtkWidgetClass *) klass)->motion_notify_event = fullscreen_window_real_motion_notify_event;
#line 7 "/home/jens/Source/shotwell/src/AppWindow.vala"
G_OBJECT_CLASS (klass)->finalize = fullscreen_window_finalize;
-#line 1484 "AppWindow.c"
+#line 1489 "AppWindow.c"
}
@@ -1546,7 +1551,7 @@ static void fullscreen_window_instance_init (FullscreenWindow * self) {
self->priv->left_toolbar_time = (time_t) 0;
#line 19 "/home/jens/Source/shotwell/src/AppWindow.vala"
self->priv->switched_to = FALSE;
-#line 1522 "AppWindow.c"
+#line 1527 "AppWindow.c"
}
@@ -1564,7 +1569,7 @@ static void fullscreen_window_finalize (GObject* obj) {
_g_object_unref0 (self->priv->pin_button);
#line 7 "/home/jens/Source/shotwell/src/AppWindow.vala"
G_OBJECT_CLASS (fullscreen_window_parent_class)->finalize (obj);
-#line 1540 "AppWindow.c"
+#line 1545 "AppWindow.c"
}
@@ -1585,7 +1590,7 @@ static void page_window_real_switched_pages (PageWindow* self, Page* old_page, P
g_return_if_fail ((old_page == NULL) || IS_PAGE (old_page));
#line 280 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail ((new_page == NULL) || IS_PAGE (new_page));
-#line 1561 "AppWindow.c"
+#line 1566 "AppWindow.c"
}
@@ -1594,7 +1599,7 @@ void page_window_switched_pages (PageWindow* self, Page* old_page, Page* new_pag
g_return_if_fail (IS_PAGE_WINDOW (self));
#line 280 "/home/jens/Source/shotwell/src/AppWindow.vala"
PAGE_WINDOW_GET_CLASS (self)->switched_pages (self, old_page, new_page);
-#line 1570 "AppWindow.c"
+#line 1575 "AppWindow.c"
}
@@ -1624,7 +1629,7 @@ PageWindow* page_window_construct (GType object_type) {
gtk_application_window_set_show_menubar (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_application_window_get_type (), GtkApplicationWindow), TRUE);
#line 283 "/home/jens/Source/shotwell/src/AppWindow.vala"
return self;
-#line 1600 "AppWindow.c"
+#line 1605 "AppWindow.c"
}
@@ -1642,7 +1647,7 @@ Page* page_window_get_current_page (PageWindow* self) {
result = _tmp1_;
#line 293 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 1618 "AppWindow.c"
+#line 1623 "AppWindow.c"
}
@@ -1661,13 +1666,13 @@ static void page_window_real_set_current_page (PageWindow* self, Page* page) {
_tmp0_ = self->priv->current_page;
#line 297 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp0_ != NULL) {
-#line 1637 "AppWindow.c"
+#line 1642 "AppWindow.c"
Page* _tmp1_ = NULL;
#line 298 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = self->priv->current_page;
#line 298 "/home/jens/Source/shotwell/src/AppWindow.vala"
page_clear_container (_tmp1_);
-#line 1643 "AppWindow.c"
+#line 1648 "AppWindow.c"
}
#line 300 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = self->priv->current_page;
@@ -1693,7 +1698,7 @@ static void page_window_real_set_current_page (PageWindow* self, Page* page) {
page_window_switched_pages (self, old_page, _tmp7_);
#line 296 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (old_page);
-#line 1669 "AppWindow.c"
+#line 1674 "AppWindow.c"
}
@@ -1702,7 +1707,7 @@ void page_window_set_current_page (PageWindow* self, Page* page) {
g_return_if_fail (IS_PAGE_WINDOW (self));
#line 296 "/home/jens/Source/shotwell/src/AppWindow.vala"
PAGE_WINDOW_GET_CLASS (self)->set_current_page (self, page);
-#line 1678 "AppWindow.c"
+#line 1683 "AppWindow.c"
}
@@ -1715,13 +1720,13 @@ static void page_window_real_clear_current_page (PageWindow* self) {
_tmp0_ = self->priv->current_page;
#line 308 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp0_ != NULL) {
-#line 1691 "AppWindow.c"
+#line 1696 "AppWindow.c"
Page* _tmp1_ = NULL;
#line 309 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = self->priv->current_page;
#line 309 "/home/jens/Source/shotwell/src/AppWindow.vala"
page_clear_container (_tmp1_);
-#line 1697 "AppWindow.c"
+#line 1702 "AppWindow.c"
}
#line 311 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = self->priv->current_page;
@@ -1737,7 +1742,7 @@ static void page_window_real_clear_current_page (PageWindow* self) {
page_window_switched_pages (self, old_page, NULL);
#line 307 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (old_page);
-#line 1713 "AppWindow.c"
+#line 1718 "AppWindow.c"
}
@@ -1746,7 +1751,7 @@ void page_window_clear_current_page (PageWindow* self) {
g_return_if_fail (IS_PAGE_WINDOW (self));
#line 307 "/home/jens/Source/shotwell/src/AppWindow.vala"
PAGE_WINDOW_GET_CLASS (self)->clear_current_page (self);
-#line 1722 "AppWindow.c"
+#line 1727 "AppWindow.c"
}
@@ -1766,7 +1771,7 @@ static gboolean page_window_real_key_press_event (GtkWidget* base, GdkEventKey*
_tmp1_ = gtk_window_get_focus (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow));
#line 318 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, gtk_entry_get_type ())) {
-#line 1742 "AppWindow.c"
+#line 1747 "AppWindow.c"
GtkWidget* _tmp2_ = NULL;
GdkEventKey* _tmp3_ = NULL;
gboolean _tmp4_ = FALSE;
@@ -1778,11 +1783,11 @@ static gboolean page_window_real_key_press_event (GtkWidget* base, GdkEventKey*
g_signal_emit_by_name (_tmp2_, "key-press-event", _tmp3_, &_tmp4_);
#line 318 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = _tmp4_;
-#line 1754 "AppWindow.c"
+#line 1759 "AppWindow.c"
} else {
#line 318 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = FALSE;
-#line 1758 "AppWindow.c"
+#line 1763 "AppWindow.c"
}
#line 318 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp0_) {
@@ -1790,13 +1795,13 @@ static gboolean page_window_real_key_press_event (GtkWidget* base, GdkEventKey*
result = TRUE;
#line 319 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 1766 "AppWindow.c"
+#line 1771 "AppWindow.c"
}
#line 321 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp6_ = self->priv->current_page;
#line 321 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp6_ != NULL) {
-#line 1772 "AppWindow.c"
+#line 1777 "AppWindow.c"
Page* _tmp7_ = NULL;
GdkEventKey* _tmp8_ = NULL;
gboolean _tmp9_ = FALSE;
@@ -1808,11 +1813,11 @@ static gboolean page_window_real_key_press_event (GtkWidget* base, GdkEventKey*
_tmp9_ = page_notify_app_key_pressed (_tmp7_, _tmp8_);
#line 321 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp5_ = _tmp9_;
-#line 1784 "AppWindow.c"
+#line 1789 "AppWindow.c"
} else {
#line 321 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp5_ = FALSE;
-#line 1788 "AppWindow.c"
+#line 1793 "AppWindow.c"
}
#line 321 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp5_) {
@@ -1820,11 +1825,11 @@ static gboolean page_window_real_key_press_event (GtkWidget* base, GdkEventKey*
result = TRUE;
#line 322 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 1796 "AppWindow.c"
+#line 1801 "AppWindow.c"
}
#line 324 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (GTK_WIDGET_CLASS (page_window_parent_class)->key_press_event != NULL) {
-#line 1800 "AppWindow.c"
+#line 1805 "AppWindow.c"
GdkEventKey* _tmp11_ = NULL;
gboolean _tmp12_ = FALSE;
#line 324 "/home/jens/Source/shotwell/src/AppWindow.vala"
@@ -1833,17 +1838,17 @@ static gboolean page_window_real_key_press_event (GtkWidget* base, GdkEventKey*
_tmp12_ = GTK_WIDGET_CLASS (page_window_parent_class)->key_press_event (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_application_window_get_type (), GtkApplicationWindow), gtk_widget_get_type (), GtkWidget), _tmp11_);
#line 324 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp10_ = _tmp12_;
-#line 1809 "AppWindow.c"
+#line 1814 "AppWindow.c"
} else {
#line 324 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp10_ = FALSE;
-#line 1813 "AppWindow.c"
+#line 1818 "AppWindow.c"
}
#line 324 "/home/jens/Source/shotwell/src/AppWindow.vala"
result = _tmp10_;
#line 324 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 1819 "AppWindow.c"
+#line 1824 "AppWindow.c"
}
@@ -1863,7 +1868,7 @@ static gboolean page_window_real_key_release_event (GtkWidget* base, GdkEventKey
_tmp1_ = gtk_window_get_focus (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow));
#line 328 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, gtk_entry_get_type ())) {
-#line 1839 "AppWindow.c"
+#line 1844 "AppWindow.c"
GtkWidget* _tmp2_ = NULL;
GdkEventKey* _tmp3_ = NULL;
gboolean _tmp4_ = FALSE;
@@ -1875,11 +1880,11 @@ static gboolean page_window_real_key_release_event (GtkWidget* base, GdkEventKey
g_signal_emit_by_name (_tmp2_, "key-release-event", _tmp3_, &_tmp4_);
#line 328 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = _tmp4_;
-#line 1851 "AppWindow.c"
+#line 1856 "AppWindow.c"
} else {
#line 328 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = FALSE;
-#line 1855 "AppWindow.c"
+#line 1860 "AppWindow.c"
}
#line 328 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp0_) {
@@ -1887,13 +1892,13 @@ static gboolean page_window_real_key_release_event (GtkWidget* base, GdkEventKey
result = TRUE;
#line 329 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 1863 "AppWindow.c"
+#line 1868 "AppWindow.c"
}
#line 331 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp6_ = self->priv->current_page;
#line 331 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp6_ != NULL) {
-#line 1869 "AppWindow.c"
+#line 1874 "AppWindow.c"
Page* _tmp7_ = NULL;
GdkEventKey* _tmp8_ = NULL;
gboolean _tmp9_ = FALSE;
@@ -1905,11 +1910,11 @@ static gboolean page_window_real_key_release_event (GtkWidget* base, GdkEventKey
_tmp9_ = page_notify_app_key_released (_tmp7_, _tmp8_);
#line 331 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp5_ = _tmp9_;
-#line 1881 "AppWindow.c"
+#line 1886 "AppWindow.c"
} else {
#line 331 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp5_ = FALSE;
-#line 1885 "AppWindow.c"
+#line 1890 "AppWindow.c"
}
#line 331 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp5_) {
@@ -1917,11 +1922,11 @@ static gboolean page_window_real_key_release_event (GtkWidget* base, GdkEventKey
result = TRUE;
#line 332 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 1893 "AppWindow.c"
+#line 1898 "AppWindow.c"
}
#line 334 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (GTK_WIDGET_CLASS (page_window_parent_class)->key_release_event != NULL) {
-#line 1897 "AppWindow.c"
+#line 1902 "AppWindow.c"
GdkEventKey* _tmp11_ = NULL;
gboolean _tmp12_ = FALSE;
#line 334 "/home/jens/Source/shotwell/src/AppWindow.vala"
@@ -1930,17 +1935,17 @@ static gboolean page_window_real_key_release_event (GtkWidget* base, GdkEventKey
_tmp12_ = GTK_WIDGET_CLASS (page_window_parent_class)->key_release_event (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_application_window_get_type (), GtkApplicationWindow), gtk_widget_get_type (), GtkWidget), _tmp11_);
#line 334 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp10_ = _tmp12_;
-#line 1906 "AppWindow.c"
+#line 1911 "AppWindow.c"
} else {
#line 334 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp10_ = FALSE;
-#line 1910 "AppWindow.c"
+#line 1915 "AppWindow.c"
}
#line 334 "/home/jens/Source/shotwell/src/AppWindow.vala"
result = _tmp10_;
#line 334 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 1916 "AppWindow.c"
+#line 1921 "AppWindow.c"
}
@@ -1958,7 +1963,7 @@ static gboolean page_window_real_focus_in_event (GtkWidget* base, GdkEventFocus*
_tmp1_ = self->priv->current_page;
#line 338 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp1_ != NULL) {
-#line 1934 "AppWindow.c"
+#line 1939 "AppWindow.c"
Page* _tmp2_ = NULL;
GdkEventFocus* _tmp3_ = NULL;
gboolean _tmp4_ = FALSE;
@@ -1970,11 +1975,11 @@ static gboolean page_window_real_focus_in_event (GtkWidget* base, GdkEventFocus*
_tmp4_ = page_notify_app_focus_in (_tmp2_, _tmp3_);
#line 338 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = _tmp4_;
-#line 1946 "AppWindow.c"
+#line 1951 "AppWindow.c"
} else {
#line 338 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = FALSE;
-#line 1950 "AppWindow.c"
+#line 1955 "AppWindow.c"
}
#line 338 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp0_) {
@@ -1982,11 +1987,11 @@ static gboolean page_window_real_focus_in_event (GtkWidget* base, GdkEventFocus*
result = TRUE;
#line 339 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 1958 "AppWindow.c"
+#line 1963 "AppWindow.c"
}
#line 341 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (GTK_WIDGET_CLASS (page_window_parent_class)->focus_in_event != NULL) {
-#line 1962 "AppWindow.c"
+#line 1967 "AppWindow.c"
GdkEventFocus* _tmp6_ = NULL;
gboolean _tmp7_ = FALSE;
#line 341 "/home/jens/Source/shotwell/src/AppWindow.vala"
@@ -1995,17 +2000,17 @@ static gboolean page_window_real_focus_in_event (GtkWidget* base, GdkEventFocus*
_tmp7_ = GTK_WIDGET_CLASS (page_window_parent_class)->focus_in_event (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_application_window_get_type (), GtkApplicationWindow), gtk_widget_get_type (), GtkWidget), _tmp6_);
#line 341 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp5_ = _tmp7_;
-#line 1971 "AppWindow.c"
+#line 1976 "AppWindow.c"
} else {
#line 341 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp5_ = FALSE;
-#line 1975 "AppWindow.c"
+#line 1980 "AppWindow.c"
}
#line 341 "/home/jens/Source/shotwell/src/AppWindow.vala"
result = _tmp5_;
#line 341 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 1981 "AppWindow.c"
+#line 1986 "AppWindow.c"
}
@@ -2023,7 +2028,7 @@ static gboolean page_window_real_focus_out_event (GtkWidget* base, GdkEventFocus
_tmp1_ = self->priv->current_page;
#line 345 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp1_ != NULL) {
-#line 1999 "AppWindow.c"
+#line 2004 "AppWindow.c"
Page* _tmp2_ = NULL;
GdkEventFocus* _tmp3_ = NULL;
gboolean _tmp4_ = FALSE;
@@ -2035,11 +2040,11 @@ static gboolean page_window_real_focus_out_event (GtkWidget* base, GdkEventFocus
_tmp4_ = page_notify_app_focus_out (_tmp2_, _tmp3_);
#line 345 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = _tmp4_;
-#line 2011 "AppWindow.c"
+#line 2016 "AppWindow.c"
} else {
#line 345 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = FALSE;
-#line 2015 "AppWindow.c"
+#line 2020 "AppWindow.c"
}
#line 345 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp0_) {
@@ -2047,11 +2052,11 @@ static gboolean page_window_real_focus_out_event (GtkWidget* base, GdkEventFocus
result = TRUE;
#line 346 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 2023 "AppWindow.c"
+#line 2028 "AppWindow.c"
}
#line 348 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (GTK_WIDGET_CLASS (page_window_parent_class)->focus_out_event != NULL) {
-#line 2027 "AppWindow.c"
+#line 2032 "AppWindow.c"
GdkEventFocus* _tmp6_ = NULL;
gboolean _tmp7_ = FALSE;
#line 348 "/home/jens/Source/shotwell/src/AppWindow.vala"
@@ -2060,17 +2065,17 @@ static gboolean page_window_real_focus_out_event (GtkWidget* base, GdkEventFocus
_tmp7_ = GTK_WIDGET_CLASS (page_window_parent_class)->focus_out_event (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_application_window_get_type (), GtkApplicationWindow), gtk_widget_get_type (), GtkWidget), _tmp6_);
#line 348 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp5_ = _tmp7_;
-#line 2036 "AppWindow.c"
+#line 2041 "AppWindow.c"
} else {
#line 348 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp5_ = FALSE;
-#line 2040 "AppWindow.c"
+#line 2045 "AppWindow.c"
}
#line 348 "/home/jens/Source/shotwell/src/AppWindow.vala"
result = _tmp5_;
#line 348 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 2046 "AppWindow.c"
+#line 2051 "AppWindow.c"
}
@@ -2087,7 +2092,7 @@ static gboolean page_window_real_configure_event (GtkWidget* base, GdkEventConfi
_tmp0_ = self->priv->current_page;
#line 352 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp0_ != NULL) {
-#line 2063 "AppWindow.c"
+#line 2068 "AppWindow.c"
Page* _tmp1_ = NULL;
GdkEventConfigure* _tmp2_ = NULL;
gboolean _tmp3_ = FALSE;
@@ -2103,12 +2108,12 @@ static gboolean page_window_real_configure_event (GtkWidget* base, GdkEventConfi
result = TRUE;
#line 354 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 2079 "AppWindow.c"
+#line 2084 "AppWindow.c"
}
}
#line 357 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (GTK_WIDGET_CLASS (page_window_parent_class)->configure_event != NULL) {
-#line 2084 "AppWindow.c"
+#line 2089 "AppWindow.c"
GdkEventConfigure* _tmp5_ = NULL;
gboolean _tmp6_ = FALSE;
#line 357 "/home/jens/Source/shotwell/src/AppWindow.vala"
@@ -2117,17 +2122,17 @@ static gboolean page_window_real_configure_event (GtkWidget* base, GdkEventConfi
_tmp6_ = GTK_WIDGET_CLASS (page_window_parent_class)->configure_event (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_application_window_get_type (), GtkApplicationWindow), gtk_widget_get_type (), GtkWidget), _tmp5_);
#line 357 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp4_ = _tmp6_;
-#line 2093 "AppWindow.c"
+#line 2098 "AppWindow.c"
} else {
#line 357 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp4_ = FALSE;
-#line 2097 "AppWindow.c"
+#line 2102 "AppWindow.c"
}
#line 357 "/home/jens/Source/shotwell/src/AppWindow.vala"
result = _tmp4_;
#line 357 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 2103 "AppWindow.c"
+#line 2108 "AppWindow.c"
}
@@ -2152,7 +2157,7 @@ void page_window_set_busy_cursor (PageWindow* self) {
if (_tmp0_ > 0) {
#line 362 "/home/jens/Source/shotwell/src/AppWindow.vala"
return;
-#line 2128 "AppWindow.c"
+#line 2133 "AppWindow.c"
}
#line 364 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = gtk_widget_get_window (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
@@ -2180,7 +2185,7 @@ void page_window_set_busy_cursor (PageWindow* self) {
_g_object_unref0 (cursor);
#line 360 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (display);
-#line 2156 "AppWindow.c"
+#line 2161 "AppWindow.c"
}
@@ -2205,7 +2210,7 @@ void page_window_set_normal_cursor (PageWindow* self) {
self->priv->busy_counter = 0;
#line 373 "/home/jens/Source/shotwell/src/AppWindow.vala"
return;
-#line 2181 "AppWindow.c"
+#line 2186 "AppWindow.c"
} else {
gint _tmp1_ = 0;
gint _tmp2_ = 0;
@@ -2219,7 +2224,7 @@ void page_window_set_normal_cursor (PageWindow* self) {
if (_tmp2_ > 0) {
#line 375 "/home/jens/Source/shotwell/src/AppWindow.vala"
return;
-#line 2195 "AppWindow.c"
+#line 2200 "AppWindow.c"
}
}
#line 378 "/home/jens/Source/shotwell/src/AppWindow.vala"
@@ -2248,7 +2253,7 @@ void page_window_set_normal_cursor (PageWindow* self) {
_g_object_unref0 (cursor);
#line 370 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (display);
-#line 2224 "AppWindow.c"
+#line 2229 "AppWindow.c"
}
@@ -2275,7 +2280,7 @@ static void page_window_class_init (PageWindowClass * klass) {
((GtkWidgetClass *) klass)->configure_event = page_window_real_configure_event;
#line 276 "/home/jens/Source/shotwell/src/AppWindow.vala"
G_OBJECT_CLASS (klass)->finalize = page_window_finalize;
-#line 2251 "AppWindow.c"
+#line 2256 "AppWindow.c"
}
@@ -2286,7 +2291,7 @@ static void page_window_instance_init (PageWindow * self) {
self->priv->current_page = NULL;
#line 278 "/home/jens/Source/shotwell/src/AppWindow.vala"
self->priv->busy_counter = 0;
-#line 2262 "AppWindow.c"
+#line 2267 "AppWindow.c"
}
@@ -2298,7 +2303,7 @@ static void page_window_finalize (GObject* obj) {
_g_object_unref0 (self->priv->current_page);
#line 276 "/home/jens/Source/shotwell/src/AppWindow.vala"
G_OBJECT_CLASS (page_window_parent_class)->finalize (obj);
-#line 2274 "AppWindow.c"
+#line 2279 "AppWindow.c"
}
@@ -2314,80 +2319,87 @@ GType page_window_get_type (void) {
}
+static void _app_window_on_about_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
+#line 449 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ app_window_on_about ((AppWindow*) self);
+#line 2298 "AppWindow.c"
+}
+
+
static void _app_window_on_quit_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 449 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_on_quit ((AppWindow*) self);
-#line 2293 "AppWindow.c"
+#line 2305 "AppWindow.c"
}
static void _app_window_on_fullscreen_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 449 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_on_fullscreen ((AppWindow*) self);
-#line 2300 "AppWindow.c"
+#line 2312 "AppWindow.c"
}
static void _app_window_on_help_contents_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 449 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_on_help_contents ((AppWindow*) self);
-#line 2307 "AppWindow.c"
+#line 2319 "AppWindow.c"
}
static void _app_window_on_help_faq_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 449 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_on_help_faq ((AppWindow*) self);
-#line 2314 "AppWindow.c"
+#line 2326 "AppWindow.c"
}
static void _app_window_on_help_report_problem_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 449 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_on_help_report_problem ((AppWindow*) self);
-#line 2321 "AppWindow.c"
+#line 2333 "AppWindow.c"
}
static void _app_window_on_undo_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 449 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_on_undo ((AppWindow*) self);
-#line 2328 "AppWindow.c"
+#line 2340 "AppWindow.c"
}
static void _app_window_on_redo_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 449 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_on_redo ((AppWindow*) self);
-#line 2335 "AppWindow.c"
+#line 2347 "AppWindow.c"
}
static void _app_window_on_jump_to_file_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 449 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_on_jump_to_file ((AppWindow*) self);
-#line 2342 "AppWindow.c"
+#line 2354 "AppWindow.c"
}
static void _app_window_on_select_all_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 449 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_on_select_all ((AppWindow*) self);
-#line 2349 "AppWindow.c"
+#line 2361 "AppWindow.c"
}
static void _app_window_on_select_none_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 449 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_on_select_none ((AppWindow*) self);
-#line 2356 "AppWindow.c"
+#line 2368 "AppWindow.c"
}
static void _app_window_on_command_manager_altered_command_manager_altered (CommandManager* _sender, gboolean can_undo, gboolean can_redo, gpointer self) {
#line 430 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_on_command_manager_altered ((AppWindow*) self);
-#line 2363 "AppWindow.c"
+#line 2375 "AppWindow.c"
}
@@ -2424,7 +2436,7 @@ AppWindow* app_window_construct (GType object_type) {
gtk_window_set_default_icon_name ("shotwell");
#line 416 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (self, TYPE_LIBRARY_WINDOW)) {
-#line 2400 "AppWindow.c"
+#line 2412 "AppWindow.c"
ConfigFacade* _tmp2_ = NULL;
ConfigFacade* _tmp3_ = NULL;
gboolean _tmp4_ = FALSE;
@@ -2441,7 +2453,7 @@ AppWindow* app_window_construct (GType object_type) {
self->dimensions = _tmp5_;
#line 417 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp3_);
-#line 2417 "AppWindow.c"
+#line 2429 "AppWindow.c"
} else {
ConfigFacade* _tmp6_ = NULL;
ConfigFacade* _tmp7_ = NULL;
@@ -2461,7 +2473,7 @@ AppWindow* app_window_construct (GType object_type) {
self->dimensions = _tmp9_;
#line 420 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp7_);
-#line 2437 "AppWindow.c"
+#line 2449 "AppWindow.c"
}
#line 423 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp10_ = self->dimensions;
@@ -2479,7 +2491,7 @@ AppWindow* app_window_construct (GType object_type) {
if (_tmp14_) {
#line 426 "/home/jens/Source/shotwell/src/AppWindow.vala"
gtk_window_maximize (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow));
-#line 2455 "AppWindow.c"
+#line 2467 "AppWindow.c"
}
#line 428 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp15_ = app_window_command_manager;
@@ -2501,21 +2513,21 @@ AppWindow* app_window_construct (GType object_type) {
_tmp18_ = gtk_css_provider_new ();
#line 440 "/home/jens/Source/shotwell/src/AppWindow.vala"
provider = _tmp18_;
-#line 2477 "AppWindow.c"
+#line 2489 "AppWindow.c"
{
GdkScreen* _tmp19_ = NULL;
#line 442 "/home/jens/Source/shotwell/src/AppWindow.vala"
gtk_css_provider_load_from_data (provider, RESOURCES_CUSTOM_CSS, (gssize) -1, &_inner_error_);
#line 442 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 2484 "AppWindow.c"
+#line 2496 "AppWindow.c"
goto __catch223_g_error;
}
#line 443 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp19_ = gdk_screen_get_default ();
#line 443 "/home/jens/Source/shotwell/src/AppWindow.vala"
gtk_style_context_add_provider_for_screen (_tmp19_, G_TYPE_CHECK_INSTANCE_CAST (provider, GTK_TYPE_STYLE_PROVIDER, GtkStyleProvider), (guint) GTK_STYLE_PROVIDER_PRIORITY_APPLICATION);
-#line 2491 "AppWindow.c"
+#line 2503 "AppWindow.c"
}
goto __finally223;
__catch223_g_error:
@@ -2535,7 +2547,7 @@ AppWindow* app_window_construct (GType object_type) {
g_debug ("AppWindow.vala:445: Unable to load custom CSS: %s", _tmp21_);
#line 441 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_error_free0 (err);
-#line 2511 "AppWindow.c"
+#line 2523 "AppWindow.c"
}
__finally223:
#line 441 "/home/jens/Source/shotwell/src/AppWindow.vala"
@@ -2548,44 +2560,44 @@ AppWindow* app_window_construct (GType object_type) {
g_clear_error (&_inner_error_);
#line 441 "/home/jens/Source/shotwell/src/AppWindow.vala"
return NULL;
-#line 2524 "AppWindow.c"
+#line 2536 "AppWindow.c"
}
#line 407 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (provider);
#line 407 "/home/jens/Source/shotwell/src/AppWindow.vala"
return self;
-#line 2530 "AppWindow.c"
+#line 2542 "AppWindow.c"
}
static void app_window_real_on_fullscreen (AppWindow* self) {
-#line 462 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 463 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_critical ("Type `%s' does not implement abstract method `app_window_on_fullscreen'", g_type_name (G_TYPE_FROM_INSTANCE (self)));
-#line 462 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 463 "/home/jens/Source/shotwell/src/AppWindow.vala"
return;
-#line 2539 "AppWindow.c"
+#line 2551 "AppWindow.c"
}
void app_window_on_fullscreen (AppWindow* self) {
-#line 462 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 463 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (IS_APP_WINDOW (self));
-#line 462 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 463 "/home/jens/Source/shotwell/src/AppWindow.vala"
APP_WINDOW_GET_CLASS (self)->on_fullscreen (self);
-#line 2548 "AppWindow.c"
+#line 2560 "AppWindow.c"
}
gboolean app_window_has_instance (void) {
gboolean result = FALSE;
AppWindow* _tmp0_ = NULL;
-#line 465 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 466 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = app_window_instance;
-#line 465 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 466 "/home/jens/Source/shotwell/src/AppWindow.vala"
result = _tmp0_ != NULL;
-#line 465 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 466 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 2561 "AppWindow.c"
+#line 2573 "AppWindow.c"
}
@@ -2593,15 +2605,15 @@ AppWindow* app_window_get_instance (void) {
AppWindow* result = NULL;
AppWindow* _tmp0_ = NULL;
AppWindow* _tmp1_ = NULL;
-#line 469 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 470 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = app_window_instance;
-#line 469 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 470 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = _g_object_ref0 (_tmp0_);
-#line 469 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 470 "/home/jens/Source/shotwell/src/AppWindow.vala"
result = _tmp1_;
-#line 469 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 470 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 2577 "AppWindow.c"
+#line 2589 "AppWindow.c"
}
@@ -2609,15 +2621,15 @@ FullscreenWindow* app_window_get_fullscreen (void) {
FullscreenWindow* result = NULL;
FullscreenWindow* _tmp0_ = NULL;
FullscreenWindow* _tmp1_ = NULL;
-#line 473 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 474 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = app_window_fullscreen_window;
-#line 473 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 474 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = _g_object_ref0 (_tmp0_);
-#line 473 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 474 "/home/jens/Source/shotwell/src/AppWindow.vala"
result = _tmp1_;
-#line 473 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 474 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 2593 "AppWindow.c"
+#line 2605 "AppWindow.c"
}
@@ -2627,13 +2639,13 @@ GtkBuilder* app_window_create_builder (const gchar* glade_filename, void* user)
GtkBuilder* _tmp0_ = NULL;
void* _tmp12_ = NULL;
GError * _inner_error_ = NULL;
-#line 476 "/home/jens/Source/shotwell/src/AppWindow.vala"
- g_return_val_if_fail (glade_filename != NULL, NULL);
#line 477 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ g_return_val_if_fail (glade_filename != NULL, NULL);
+#line 478 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = gtk_builder_new ();
-#line 477 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 478 "/home/jens/Source/shotwell/src/AppWindow.vala"
builder = _tmp0_;
-#line 2609 "AppWindow.c"
+#line 2621 "AppWindow.c"
{
GFile* _tmp1_ = NULL;
GFile* _tmp2_ = NULL;
@@ -2644,37 +2656,37 @@ GtkBuilder* app_window_create_builder (const gchar* glade_filename, void* user)
GFile* _tmp7_ = NULL;
gchar* _tmp8_ = NULL;
gchar* _tmp9_ = NULL;
-#line 479 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 480 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = app_dirs_get_resources_dir ();
-#line 479 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 480 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = _tmp1_;
-#line 479 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 480 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp3_ = g_file_get_child (_tmp2_, "ui");
-#line 479 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 480 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp4_ = _tmp3_;
-#line 479 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 480 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp5_ = glade_filename;
-#line 479 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 480 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp6_ = g_file_get_child (_tmp4_, _tmp5_);
-#line 479 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 480 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp7_ = _tmp6_;
-#line 479 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 480 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp8_ = g_file_get_path (_tmp7_);
-#line 479 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 480 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp9_ = _tmp8_;
-#line 479 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 480 "/home/jens/Source/shotwell/src/AppWindow.vala"
gtk_builder_add_from_file (builder, _tmp9_, &_inner_error_);
-#line 479 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 480 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_free0 (_tmp9_);
-#line 479 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 480 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp7_);
-#line 479 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 480 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp4_);
-#line 479 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 480 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp2_);
-#line 479 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 480 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 2650 "AppWindow.c"
+#line 2662 "AppWindow.c"
goto __catch224_g_error;
}
}
@@ -2684,59 +2696,59 @@ GtkBuilder* app_window_create_builder (const gchar* glade_filename, void* user)
GError* _error_ = NULL;
GError* _tmp10_ = NULL;
const gchar* _tmp11_ = NULL;
-#line 478 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 479 "/home/jens/Source/shotwell/src/AppWindow.vala"
_error_ = _inner_error_;
-#line 478 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 479 "/home/jens/Source/shotwell/src/AppWindow.vala"
_inner_error_ = NULL;
-#line 482 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 483 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp10_ = _error_;
-#line 482 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 483 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp11_ = _tmp10_->message;
-#line 482 "/home/jens/Source/shotwell/src/AppWindow.vala"
- g_warning ("AppWindow.vala:482: Unable to create Gtk.Builder: %s\n", _tmp11_);
-#line 478 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 483 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ g_warning ("AppWindow.vala:483: Unable to create Gtk.Builder: %s\n", _tmp11_);
+#line 479 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_error_free0 (_error_);
-#line 2672 "AppWindow.c"
+#line 2684 "AppWindow.c"
}
__finally224:
-#line 478 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 479 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 478 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 479 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (builder);
-#line 478 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 479 "/home/jens/Source/shotwell/src/AppWindow.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 478 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 479 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_clear_error (&_inner_error_);
-#line 478 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 479 "/home/jens/Source/shotwell/src/AppWindow.vala"
return NULL;
-#line 2685 "AppWindow.c"
+#line 2697 "AppWindow.c"
}
-#line 485 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 486 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp12_ = user;
-#line 485 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 486 "/home/jens/Source/shotwell/src/AppWindow.vala"
gtk_builder_connect_signals (builder, _tmp12_);
-#line 487 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 488 "/home/jens/Source/shotwell/src/AppWindow.vala"
result = builder;
-#line 487 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 488 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 2695 "AppWindow.c"
+#line 2707 "AppWindow.c"
}
void app_window_error_message (const gchar* message, GtkWindow* parent) {
const gchar* _tmp0_ = NULL;
GtkWindow* _tmp1_ = NULL;
-#line 490 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 491 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (message != NULL);
-#line 490 "/home/jens/Source/shotwell/src/AppWindow.vala"
- g_return_if_fail ((parent == NULL) || GTK_IS_WINDOW (parent));
#line 491 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ g_return_if_fail ((parent == NULL) || GTK_IS_WINDOW (parent));
+#line 492 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = message;
-#line 491 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 492 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = parent;
-#line 491 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 492 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_error_message_with_title (RESOURCES_APP_TITLE, _tmp0_, _tmp1_, TRUE);
-#line 2712 "AppWindow.c"
+#line 2724 "AppWindow.c"
}
@@ -2756,83 +2768,83 @@ void app_window_error_message_with_title (const gchar* title, const gchar* messa
gboolean _tmp14_ = FALSE;
gchar* _tmp15_ = NULL;
gchar* _tmp16_ = NULL;
-#line 494 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 495 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (title != NULL);
-#line 494 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 495 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (message != NULL);
-#line 494 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 495 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail ((parent == NULL) || GTK_IS_WINDOW (parent));
-#line 498 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 499 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = parent;
-#line 498 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 499 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp1_ != NULL) {
-#line 2742 "AppWindow.c"
+#line 2754 "AppWindow.c"
GtkWindow* _tmp2_ = NULL;
GtkWindow* _tmp3_ = NULL;
-#line 498 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 499 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = parent;
-#line 498 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 499 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp3_ = _g_object_ref0 (_tmp2_);
-#line 498 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 499 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp0_);
-#line 498 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 499 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = _tmp3_;
-#line 2753 "AppWindow.c"
+#line 2765 "AppWindow.c"
} else {
AppWindow* _tmp4_ = NULL;
-#line 498 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 499 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp4_ = app_window_get_instance ();
-#line 498 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 499 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp0_);
-#line 498 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 499 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_window_get_type (), GtkWindow);
-#line 2762 "AppWindow.c"
+#line 2774 "AppWindow.c"
}
-#line 498 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 499 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp5_ = title;
-#line 498 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 499 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp6_ = message;
-#line 498 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 499 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp7_ = should_escape;
-#line 498 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 499 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp8_ = build_alert_body_text (_tmp5_, _tmp6_, _tmp7_);
-#line 498 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 499 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp9_ = _tmp8_;
-#line 498 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 499 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp10_ = (GtkMessageDialog*) gtk_message_dialog_new_with_markup (_tmp0_, GTK_DIALOG_MODAL, GTK_MESSAGE_ERROR, GTK_BUTTONS_OK, "%s", _tmp9_);
-#line 498 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 499 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_object_ref_sink (_tmp10_);
-#line 498 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 499 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp11_ = _tmp10_;
-#line 498 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 499 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_free0 (_tmp9_);
-#line 498 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 499 "/home/jens/Source/shotwell/src/AppWindow.vala"
dialog = _tmp11_;
-#line 502 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 503 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp12_ = title;
-#line 502 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 503 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp13_ = message;
-#line 502 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 503 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp14_ = should_escape;
-#line 502 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 503 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp15_ = build_alert_body_text (_tmp12_, _tmp13_, _tmp14_);
-#line 502 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 503 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp16_ = _tmp15_;
-#line 502 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 503 "/home/jens/Source/shotwell/src/AppWindow.vala"
gtk_message_dialog_set_markup (dialog, _tmp16_);
-#line 502 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 503 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_free0 (_tmp16_);
-#line 504 "/home/jens/Source/shotwell/src/AppWindow.vala"
- g_object_set (dialog, "use-markup", TRUE, NULL);
#line 505 "/home/jens/Source/shotwell/src/AppWindow.vala"
- gtk_dialog_run (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_dialog_get_type (), GtkDialog));
+ g_object_set (dialog, "use-markup", TRUE, NULL);
#line 506 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ gtk_dialog_run (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_dialog_get_type (), GtkDialog));
+#line 507 "/home/jens/Source/shotwell/src/AppWindow.vala"
gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_widget_get_type (), GtkWidget));
-#line 494 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 495 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (dialog);
-#line 494 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 495 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp0_);
-#line 2808 "AppWindow.c"
+#line 2820 "AppWindow.c"
}
@@ -2855,93 +2867,93 @@ gboolean app_window_negate_affirm_question (const gchar* message, const gchar* n
const gchar* _tmp16_ = NULL;
gboolean response = FALSE;
gint _tmp17_ = 0;
-#line 509 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 510 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_val_if_fail (message != NULL, FALSE);
-#line 509 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 510 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_val_if_fail (negative != NULL, FALSE);
-#line 509 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 510 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_val_if_fail (affirmative != NULL, FALSE);
-#line 509 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 510 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_val_if_fail ((parent == NULL) || GTK_IS_WINDOW (parent), FALSE);
-#line 511 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 512 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = parent;
-#line 511 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 512 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp1_ != NULL) {
-#line 2843 "AppWindow.c"
+#line 2855 "AppWindow.c"
GtkWindow* _tmp2_ = NULL;
GtkWindow* _tmp3_ = NULL;
-#line 511 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 512 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = parent;
-#line 511 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 512 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp3_ = _g_object_ref0 (_tmp2_);
-#line 511 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 512 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp0_);
-#line 511 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 512 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = _tmp3_;
-#line 2854 "AppWindow.c"
+#line 2866 "AppWindow.c"
} else {
AppWindow* _tmp4_ = NULL;
-#line 511 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 512 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp4_ = app_window_get_instance ();
-#line 511 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 512 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp0_);
-#line 511 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 512 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_window_get_type (), GtkWindow);
-#line 2863 "AppWindow.c"
+#line 2875 "AppWindow.c"
}
-#line 511 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 512 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp5_ = title;
-#line 511 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 512 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp6_ = message;
-#line 511 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 512 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp7_ = build_alert_body_text (_tmp5_, _tmp6_, TRUE);
-#line 511 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 512 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp8_ = _tmp7_;
-#line 511 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 512 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp9_ = (GtkMessageDialog*) gtk_message_dialog_new (_tmp0_, GTK_DIALOG_MODAL, GTK_MESSAGE_QUESTION, GTK_BUTTONS_NONE, "%s", _tmp8_);
-#line 511 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 512 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_object_ref_sink (_tmp9_);
-#line 511 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 512 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp10_ = _tmp9_;
-#line 511 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 512 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_free0 (_tmp8_);
-#line 511 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 512 "/home/jens/Source/shotwell/src/AppWindow.vala"
dialog = _tmp10_;
-#line 514 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 515 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp11_ = title;
-#line 514 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 515 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp12_ = message;
-#line 514 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 515 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp13_ = build_alert_body_text (_tmp11_, _tmp12_, TRUE);
-#line 514 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 515 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp14_ = _tmp13_;
-#line 514 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 515 "/home/jens/Source/shotwell/src/AppWindow.vala"
gtk_message_dialog_set_markup (dialog, _tmp14_);
-#line 514 "/home/jens/Source/shotwell/src/AppWindow.vala"
- _g_free0 (_tmp14_);
#line 515 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _g_free0 (_tmp14_);
+#line 516 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp15_ = negative;
-#line 515 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 516 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp16_ = affirmative;
-#line 515 "/home/jens/Source/shotwell/src/AppWindow.vala"
- gtk_dialog_add_buttons (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_dialog_get_type (), GtkDialog), _tmp15_, GTK_RESPONSE_NO, _tmp16_, GTK_RESPONSE_YES, NULL);
#line 516 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ gtk_dialog_add_buttons (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_dialog_get_type (), GtkDialog), _tmp15_, GTK_RESPONSE_NO, _tmp16_, GTK_RESPONSE_YES, NULL);
+#line 517 "/home/jens/Source/shotwell/src/AppWindow.vala"
gtk_window_set_urgency_hint (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_window_get_type (), GtkWindow), TRUE);
-#line 518 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 519 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp17_ = gtk_dialog_run (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_dialog_get_type (), GtkDialog));
-#line 518 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 519 "/home/jens/Source/shotwell/src/AppWindow.vala"
response = _tmp17_ == ((gint) GTK_RESPONSE_YES);
-#line 520 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 521 "/home/jens/Source/shotwell/src/AppWindow.vala"
gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_widget_get_type (), GtkWidget));
-#line 522 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 523 "/home/jens/Source/shotwell/src/AppWindow.vala"
result = response;
-#line 522 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 523 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (dialog);
-#line 522 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 523 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp0_);
-#line 522 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 523 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 2917 "AppWindow.c"
+#line 2929 "AppWindow.c"
}
@@ -2965,95 +2977,95 @@ GtkResponseType app_window_negate_affirm_cancel_question (const gchar* message,
gchar* _tmp17_ = NULL;
gint response = 0;
gint _tmp18_ = 0;
-#line 525 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 526 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_val_if_fail (message != NULL, 0);
-#line 525 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 526 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_val_if_fail (negative != NULL, 0);
-#line 525 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 526 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_val_if_fail (affirmative != NULL, 0);
-#line 525 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 526 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_val_if_fail ((parent == NULL) || GTK_IS_WINDOW (parent), 0);
-#line 527 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 528 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = parent;
-#line 527 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 528 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp1_ != NULL) {
-#line 2953 "AppWindow.c"
+#line 2965 "AppWindow.c"
GtkWindow* _tmp2_ = NULL;
GtkWindow* _tmp3_ = NULL;
-#line 527 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 528 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = parent;
-#line 527 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 528 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp3_ = _g_object_ref0 (_tmp2_);
-#line 527 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 528 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp0_);
-#line 527 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 528 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = _tmp3_;
-#line 2964 "AppWindow.c"
+#line 2976 "AppWindow.c"
} else {
AppWindow* _tmp4_ = NULL;
-#line 527 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 528 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp4_ = app_window_get_instance ();
-#line 527 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 528 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp0_);
-#line 527 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 528 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_window_get_type (), GtkWindow);
-#line 2973 "AppWindow.c"
+#line 2985 "AppWindow.c"
}
-#line 527 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 528 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp5_ = title;
-#line 527 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 528 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp6_ = message;
-#line 527 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 528 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp7_ = build_alert_body_text (_tmp5_, _tmp6_, TRUE);
-#line 527 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 528 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp8_ = _tmp7_;
-#line 527 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 528 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp9_ = (GtkMessageDialog*) gtk_message_dialog_new_with_markup (_tmp0_, GTK_DIALOG_MODAL, GTK_MESSAGE_QUESTION, GTK_BUTTONS_NONE, "%s", _tmp8_);
-#line 527 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 528 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_object_ref_sink (_tmp9_);
-#line 527 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 528 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp10_ = _tmp9_;
-#line 527 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 528 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_free0 (_tmp8_);
-#line 527 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 528 "/home/jens/Source/shotwell/src/AppWindow.vala"
dialog = _tmp10_;
-#line 530 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 531 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp11_ = negative;
-#line 530 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 531 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp12_ = affirmative;
-#line 530 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 531 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp13_ = _ ("_Cancel");
-#line 530 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 531 "/home/jens/Source/shotwell/src/AppWindow.vala"
gtk_dialog_add_buttons (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_dialog_get_type (), GtkDialog), _tmp11_, GTK_RESPONSE_NO, _tmp12_, GTK_RESPONSE_YES, _tmp13_, GTK_RESPONSE_CANCEL, NULL);
-#line 534 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 535 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp14_ = title;
-#line 534 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 535 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp15_ = message;
-#line 534 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 535 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp16_ = build_alert_body_text (_tmp14_, _tmp15_, TRUE);
-#line 534 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 535 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp17_ = _tmp16_;
-#line 534 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 535 "/home/jens/Source/shotwell/src/AppWindow.vala"
gtk_message_dialog_set_markup (dialog, _tmp17_);
-#line 534 "/home/jens/Source/shotwell/src/AppWindow.vala"
- _g_free0 (_tmp17_);
#line 535 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _g_free0 (_tmp17_);
+#line 536 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_object_set (dialog, "use-markup", TRUE, NULL);
-#line 537 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 538 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp18_ = gtk_dialog_run (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_dialog_get_type (), GtkDialog));
-#line 537 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 538 "/home/jens/Source/shotwell/src/AppWindow.vala"
response = _tmp18_;
-#line 539 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 540 "/home/jens/Source/shotwell/src/AppWindow.vala"
gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_widget_get_type (), GtkWidget));
-#line 541 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 542 "/home/jens/Source/shotwell/src/AppWindow.vala"
result = (GtkResponseType) response;
-#line 541 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 542 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (dialog);
-#line 541 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 542 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp0_);
-#line 541 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 542 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 3029 "AppWindow.c"
+#line 3041 "AppWindow.c"
}
@@ -3077,103 +3089,103 @@ GtkResponseType app_window_affirm_cancel_question (const gchar* message, const g
GtkMessageDialog* _tmp17_ = NULL;
gint _tmp18_ = 0;
GtkMessageDialog* _tmp19_ = NULL;
-#line 544 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 545 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_val_if_fail (message != NULL, 0);
-#line 544 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 545 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_val_if_fail (affirmative != NULL, 0);
-#line 544 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 545 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_val_if_fail ((parent == NULL) || GTK_IS_WINDOW (parent), 0);
-#line 546 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 547 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = parent;
-#line 546 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 547 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp1_ != NULL) {
-#line 3063 "AppWindow.c"
+#line 3075 "AppWindow.c"
GtkWindow* _tmp2_ = NULL;
GtkWindow* _tmp3_ = NULL;
-#line 546 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 547 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = parent;
-#line 546 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 547 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp3_ = _g_object_ref0 (_tmp2_);
-#line 546 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 547 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp0_);
-#line 546 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 547 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = _tmp3_;
-#line 3074 "AppWindow.c"
+#line 3086 "AppWindow.c"
} else {
AppWindow* _tmp4_ = NULL;
-#line 546 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 547 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp4_ = app_window_get_instance ();
-#line 546 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 547 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp0_);
-#line 546 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 547 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_window_get_type (), GtkWindow);
-#line 3083 "AppWindow.c"
+#line 3095 "AppWindow.c"
}
-#line 546 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 547 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp5_ = message;
-#line 546 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 547 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp6_ = (GtkMessageDialog*) gtk_message_dialog_new_with_markup (_tmp0_, GTK_DIALOG_MODAL, GTK_MESSAGE_QUESTION, GTK_BUTTONS_NONE, "%s", _tmp5_);
-#line 546 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 547 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_object_ref_sink (_tmp6_);
-#line 546 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 547 "/home/jens/Source/shotwell/src/AppWindow.vala"
dialog = _tmp6_;
-#line 549 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 550 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp7_ = dialog;
-#line 549 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 550 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp8_ = message;
-#line 549 "/home/jens/Source/shotwell/src/AppWindow.vala"
- gtk_message_dialog_set_markup (_tmp7_, _tmp8_);
#line 550 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ gtk_message_dialog_set_markup (_tmp7_, _tmp8_);
+#line 551 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp9_ = dialog;
-#line 550 "/home/jens/Source/shotwell/src/AppWindow.vala"
- g_object_set (_tmp9_, "use-markup", TRUE, NULL);
#line 551 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ g_object_set (_tmp9_, "use-markup", TRUE, NULL);
+#line 552 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp11_ = title;
-#line 551 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 552 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp11_ != NULL) {
-#line 3107 "AppWindow.c"
+#line 3119 "AppWindow.c"
const gchar* _tmp12_ = NULL;
-#line 551 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 552 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp12_ = title;
-#line 551 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 552 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp10_ = _tmp12_;
-#line 3113 "AppWindow.c"
+#line 3125 "AppWindow.c"
} else {
-#line 551 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 552 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp10_ = RESOURCES_APP_TITLE;
-#line 3117 "AppWindow.c"
+#line 3129 "AppWindow.c"
}
-#line 551 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 552 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp13_ = dialog;
-#line 551 "/home/jens/Source/shotwell/src/AppWindow.vala"
- gtk_window_set_title (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, gtk_window_get_type (), GtkWindow), _tmp10_);
#line 552 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ gtk_window_set_title (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, gtk_window_get_type (), GtkWindow), _tmp10_);
+#line 553 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp14_ = dialog;
-#line 552 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 553 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp15_ = affirmative;
-#line 552 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 553 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp16_ = _ ("_Cancel");
-#line 552 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 553 "/home/jens/Source/shotwell/src/AppWindow.vala"
gtk_dialog_add_buttons (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, gtk_dialog_get_type (), GtkDialog), _tmp15_, GTK_RESPONSE_YES, _tmp16_, GTK_RESPONSE_CANCEL, NULL);
-#line 555 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 556 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp17_ = dialog;
-#line 555 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 556 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp18_ = gtk_dialog_run (G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, gtk_dialog_get_type (), GtkDialog));
-#line 555 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 556 "/home/jens/Source/shotwell/src/AppWindow.vala"
response = _tmp18_;
-#line 557 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 558 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp19_ = dialog;
-#line 557 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 558 "/home/jens/Source/shotwell/src/AppWindow.vala"
gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, gtk_widget_get_type (), GtkWidget));
-#line 559 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 560 "/home/jens/Source/shotwell/src/AppWindow.vala"
result = (GtkResponseType) response;
-#line 559 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 560 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (dialog);
-#line 559 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 560 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp0_);
-#line 559 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 560 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 3149 "AppWindow.c"
+#line 3161 "AppWindow.c"
}
@@ -3196,101 +3208,101 @@ GtkResponseType app_window_negate_affirm_all_cancel_question (const gchar* messa
GtkMessageDialog* _tmp16_ = NULL;
gint _tmp17_ = 0;
GtkMessageDialog* _tmp18_ = NULL;
-#line 562 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 563 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_val_if_fail (message != NULL, 0);
-#line 562 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 563 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_val_if_fail (negative != NULL, 0);
-#line 562 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 563 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_val_if_fail (affirmative != NULL, 0);
-#line 562 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 563 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_val_if_fail (affirmative_all != NULL, 0);
-#line 562 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 563 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_val_if_fail ((parent == NULL) || GTK_IS_WINDOW (parent), 0);
-#line 565 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 566 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = parent;
-#line 565 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 566 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp1_ != NULL) {
-#line 3186 "AppWindow.c"
+#line 3198 "AppWindow.c"
GtkWindow* _tmp2_ = NULL;
GtkWindow* _tmp3_ = NULL;
-#line 565 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 566 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = parent;
-#line 565 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 566 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp3_ = _g_object_ref0 (_tmp2_);
-#line 565 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 566 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp0_);
-#line 565 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 566 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = _tmp3_;
-#line 3197 "AppWindow.c"
+#line 3209 "AppWindow.c"
} else {
AppWindow* _tmp4_ = NULL;
-#line 565 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 566 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp4_ = app_window_get_instance ();
-#line 565 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 566 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp0_);
-#line 565 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 566 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_window_get_type (), GtkWindow);
-#line 3206 "AppWindow.c"
+#line 3218 "AppWindow.c"
}
-#line 565 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 566 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp5_ = message;
-#line 565 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 566 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp6_ = (GtkMessageDialog*) gtk_message_dialog_new (_tmp0_, GTK_DIALOG_MODAL, GTK_MESSAGE_QUESTION, GTK_BUTTONS_NONE, "%s", _tmp5_);
-#line 565 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 566 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_object_ref_sink (_tmp6_);
-#line 565 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 566 "/home/jens/Source/shotwell/src/AppWindow.vala"
dialog = _tmp6_;
-#line 567 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 568 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp8_ = title;
-#line 567 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 568 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp8_ != NULL) {
-#line 3220 "AppWindow.c"
+#line 3232 "AppWindow.c"
const gchar* _tmp9_ = NULL;
-#line 567 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 568 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp9_ = title;
-#line 567 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 568 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp7_ = _tmp9_;
-#line 3226 "AppWindow.c"
+#line 3238 "AppWindow.c"
} else {
-#line 567 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 568 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp7_ = RESOURCES_APP_TITLE;
-#line 3230 "AppWindow.c"
+#line 3242 "AppWindow.c"
}
-#line 567 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 568 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp10_ = dialog;
-#line 567 "/home/jens/Source/shotwell/src/AppWindow.vala"
- gtk_window_set_title (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, gtk_window_get_type (), GtkWindow), _tmp7_);
#line 568 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ gtk_window_set_title (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, gtk_window_get_type (), GtkWindow), _tmp7_);
+#line 569 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp11_ = dialog;
-#line 568 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 569 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp12_ = negative;
-#line 568 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 569 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp13_ = affirmative;
-#line 568 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 569 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp14_ = affirmative_all;
-#line 568 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 569 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp15_ = _ ("_Cancel");
-#line 568 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 569 "/home/jens/Source/shotwell/src/AppWindow.vala"
gtk_dialog_add_buttons (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, gtk_dialog_get_type (), GtkDialog), _tmp12_, GTK_RESPONSE_NO, _tmp13_, GTK_RESPONSE_YES, _tmp14_, GTK_RESPONSE_APPLY, _tmp15_, GTK_RESPONSE_CANCEL, NULL);
-#line 571 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 572 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp16_ = dialog;
-#line 571 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 572 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp17_ = gtk_dialog_run (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, gtk_dialog_get_type (), GtkDialog));
-#line 571 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 572 "/home/jens/Source/shotwell/src/AppWindow.vala"
response = _tmp17_;
-#line 573 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 574 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp18_ = dialog;
-#line 573 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 574 "/home/jens/Source/shotwell/src/AppWindow.vala"
gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, gtk_widget_get_type (), GtkWidget));
-#line 575 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 576 "/home/jens/Source/shotwell/src/AppWindow.vala"
result = (GtkResponseType) response;
-#line 575 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 576 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (dialog);
-#line 575 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 576 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp0_);
-#line 575 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 576 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 3266 "AppWindow.c"
+#line 3278 "AppWindow.c"
}
@@ -3300,24 +3312,24 @@ void app_window_database_error (GError* err) {
const gchar* _tmp2_ = NULL;
gchar* _tmp3_ = NULL;
gchar* _tmp4_ = NULL;
-#line 579 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 580 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = _ ("A fatal error occurred when accessing Shotwell’s library. Shotwell can" \
"not continue.\n" \
"\n" \
"%s");
-#line 579 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 580 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = err;
-#line 579 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 580 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = _tmp1_->message;
-#line 579 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 580 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp3_ = g_strdup_printf (_tmp0_, _tmp2_);
-#line 579 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 580 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp4_ = _tmp3_;
-#line 579 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 580 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_panic (_tmp4_);
-#line 579 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 580 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_free0 (_tmp4_);
-#line 3290 "AppWindow.c"
+#line 3302 "AppWindow.c"
}
@@ -3326,43 +3338,43 @@ void app_window_panic (const gchar* msg) {
const gchar* _tmp1_ = NULL;
Application* _tmp2_ = NULL;
Application* _tmp3_ = NULL;
-#line 583 "/home/jens/Source/shotwell/src/AppWindow.vala"
- g_return_if_fail (msg != NULL);
#line 584 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ g_return_if_fail (msg != NULL);
+#line 585 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = msg;
-#line 584 "/home/jens/Source/shotwell/src/AppWindow.vala"
- g_critical ("AppWindow.vala:584: %s", _tmp0_);
#line 585 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ g_critical ("AppWindow.vala:585: %s", _tmp0_);
+#line 586 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = msg;
-#line 585 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 586 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_error_message (_tmp1_, NULL);
-#line 587 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 588 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = application_get_instance ();
-#line 587 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 588 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp3_ = _tmp2_;
-#line 587 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 588 "/home/jens/Source/shotwell/src/AppWindow.vala"
application_panic (_tmp3_);
-#line 587 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 588 "/home/jens/Source/shotwell/src/AppWindow.vala"
_application_unref0 (_tmp3_);
-#line 3317 "AppWindow.c"
+#line 3329 "AppWindow.c"
}
static gchar* app_window_real_get_app_role (AppWindow* self) {
-#line 590 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 591 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_critical ("Type `%s' does not implement abstract method `app_window_get_app_role'", g_type_name (G_TYPE_FROM_INSTANCE (self)));
-#line 590 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 591 "/home/jens/Source/shotwell/src/AppWindow.vala"
return NULL;
-#line 3326 "AppWindow.c"
+#line 3338 "AppWindow.c"
}
gchar* app_window_get_app_role (AppWindow* self) {
-#line 590 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 591 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_val_if_fail (IS_APP_WINDOW (self), NULL);
-#line 590 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 591 "/home/jens/Source/shotwell/src/AppWindow.vala"
return APP_WINDOW_GET_CLASS (self)->get_app_role (self);
-#line 3335 "AppWindow.c"
+#line 3347 "AppWindow.c"
}
@@ -3373,44 +3385,44 @@ void app_window_on_about (AppWindow* self) {
GdkPixbuf* _tmp3_ = NULL;
GdkPixbuf* _tmp4_ = NULL;
const gchar* _tmp5_ = NULL;
-#line 592 "/home/jens/Source/shotwell/src/AppWindow.vala"
- g_return_if_fail (IS_APP_WINDOW (self));
#line 593 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ g_return_if_fail (IS_APP_WINDOW (self));
+#line 594 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = app_window_get_app_role (self);
-#line 593 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 594 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = _tmp0_;
-#line 593 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 594 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = _ ("Visit the Shotwell web site");
-#line 593 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 594 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp3_ = resources_get_icon (RESOURCES_ICON_ABOUT_LOGO, -1);
-#line 593 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 594 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp4_ = _tmp3_;
-#line 593 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 594 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp5_ = _ ("translator-credits");
-#line 593 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 594 "/home/jens/Source/shotwell/src/AppWindow.vala"
gtk_show_about_dialog (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), "version", RESOURCES_APP_VERSION, "comments", _tmp1_, "copyright", RESOURCES_COPYRIGHT, "website", RESOURCES_HOME_URL, "license", RESOURCES_LICENSE, "website-label", _tmp2_, "authors", RESOURCES_AUTHORS, "logo", _tmp4_, "translator-credits", _tmp5_, NULL, NULL);
-#line 593 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 594 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp4_);
-#line 593 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 594 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_free0 (_tmp1_);
-#line 3366 "AppWindow.c"
+#line 3378 "AppWindow.c"
}
static void app_window_on_help_contents (AppWindow* self) {
GError * _inner_error_ = NULL;
-#line 607 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 608 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (IS_APP_WINDOW (self));
-#line 3374 "AppWindow.c"
+#line 3386 "AppWindow.c"
{
GdkScreen* _tmp0_ = NULL;
-#line 609 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 610 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = gtk_window_get_screen (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow));
-#line 609 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 610 "/home/jens/Source/shotwell/src/AppWindow.vala"
resources_launch_help (_tmp0_, NULL, &_inner_error_);
-#line 609 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 610 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 3383 "AppWindow.c"
+#line 3395 "AppWindow.c"
goto __catch225_g_error;
}
}
@@ -3423,53 +3435,53 @@ static void app_window_on_help_contents (AppWindow* self) {
const gchar* _tmp3_ = NULL;
gchar* _tmp4_ = NULL;
gchar* _tmp5_ = NULL;
-#line 608 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 609 "/home/jens/Source/shotwell/src/AppWindow.vala"
err = _inner_error_;
-#line 608 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 609 "/home/jens/Source/shotwell/src/AppWindow.vala"
_inner_error_ = NULL;
-#line 611 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 612 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = _ ("Unable to display help: %s");
-#line 611 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 612 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = err;
-#line 611 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 612 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp3_ = _tmp2_->message;
-#line 611 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 612 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp4_ = g_strdup_printf (_tmp1_, _tmp3_);
-#line 611 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 612 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp5_ = _tmp4_;
-#line 611 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 612 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_error_message (_tmp5_, NULL);
-#line 611 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 612 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_free0 (_tmp5_);
-#line 608 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 609 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_error_free0 (err);
-#line 3416 "AppWindow.c"
+#line 3428 "AppWindow.c"
}
__finally225:
-#line 608 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 609 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 608 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 609 "/home/jens/Source/shotwell/src/AppWindow.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 608 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 609 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_clear_error (&_inner_error_);
-#line 608 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 609 "/home/jens/Source/shotwell/src/AppWindow.vala"
return;
-#line 3427 "AppWindow.c"
+#line 3439 "AppWindow.c"
}
}
static void app_window_on_help_report_problem (AppWindow* self) {
GError * _inner_error_ = NULL;
-#line 615 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 616 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (IS_APP_WINDOW (self));
-#line 3436 "AppWindow.c"
+#line 3448 "AppWindow.c"
{
-#line 617 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 618 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_show_uri (self, RESOURCES_BUG_DB_URL, &_inner_error_);
-#line 617 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 618 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 3442 "AppWindow.c"
+#line 3454 "AppWindow.c"
goto __catch226_g_error;
}
}
@@ -3482,53 +3494,53 @@ static void app_window_on_help_report_problem (AppWindow* self) {
const gchar* _tmp2_ = NULL;
gchar* _tmp3_ = NULL;
gchar* _tmp4_ = NULL;
-#line 616 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 617 "/home/jens/Source/shotwell/src/AppWindow.vala"
err = _inner_error_;
-#line 616 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 617 "/home/jens/Source/shotwell/src/AppWindow.vala"
_inner_error_ = NULL;
-#line 619 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 620 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = _ ("Unable to navigate to bug database: %s");
-#line 619 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 620 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = err;
-#line 619 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 620 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = _tmp1_->message;
-#line 619 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 620 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp3_ = g_strdup_printf (_tmp0_, _tmp2_);
-#line 619 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 620 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp4_ = _tmp3_;
-#line 619 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 620 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_error_message (_tmp4_, NULL);
-#line 619 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 620 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_free0 (_tmp4_);
-#line 616 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 617 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_error_free0 (err);
-#line 3475 "AppWindow.c"
+#line 3487 "AppWindow.c"
}
__finally226:
-#line 616 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 617 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 616 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 617 "/home/jens/Source/shotwell/src/AppWindow.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 616 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 617 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_clear_error (&_inner_error_);
-#line 616 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 617 "/home/jens/Source/shotwell/src/AppWindow.vala"
return;
-#line 3486 "AppWindow.c"
+#line 3498 "AppWindow.c"
}
}
static void app_window_on_help_faq (AppWindow* self) {
GError * _inner_error_ = NULL;
-#line 623 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 624 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (IS_APP_WINDOW (self));
-#line 3495 "AppWindow.c"
+#line 3507 "AppWindow.c"
{
-#line 625 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 626 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_show_uri (self, RESOURCES_FAQ_URL, &_inner_error_);
-#line 625 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 626 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 3501 "AppWindow.c"
+#line 3513 "AppWindow.c"
goto __catch227_g_error;
}
}
@@ -3541,38 +3553,38 @@ static void app_window_on_help_faq (AppWindow* self) {
const gchar* _tmp2_ = NULL;
gchar* _tmp3_ = NULL;
gchar* _tmp4_ = NULL;
-#line 624 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 625 "/home/jens/Source/shotwell/src/AppWindow.vala"
err = _inner_error_;
-#line 624 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 625 "/home/jens/Source/shotwell/src/AppWindow.vala"
_inner_error_ = NULL;
-#line 627 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 628 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = _ ("Unable to display FAQ: %s");
-#line 627 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 628 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = err;
-#line 627 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 628 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = _tmp1_->message;
-#line 627 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 628 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp3_ = g_strdup_printf (_tmp0_, _tmp2_);
-#line 627 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 628 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp4_ = _tmp3_;
-#line 627 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 628 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_error_message (_tmp4_, NULL);
-#line 627 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 628 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_free0 (_tmp4_);
-#line 624 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 625 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_error_free0 (err);
-#line 3534 "AppWindow.c"
+#line 3546 "AppWindow.c"
}
__finally227:
-#line 624 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 625 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 624 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 625 "/home/jens/Source/shotwell/src/AppWindow.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 624 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 625 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_clear_error (&_inner_error_);
-#line 624 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 625 "/home/jens/Source/shotwell/src/AppWindow.vala"
return;
-#line 3545 "AppWindow.c"
+#line 3557 "AppWindow.c"
}
}
@@ -3580,24 +3592,24 @@ static void app_window_on_help_faq (AppWindow* self) {
static void app_window_real_on_quit (AppWindow* self) {
Application* _tmp0_ = NULL;
Application* _tmp1_ = NULL;
-#line 632 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 633 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = application_get_instance ();
-#line 632 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 633 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = _tmp0_;
-#line 632 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 633 "/home/jens/Source/shotwell/src/AppWindow.vala"
application_exit (_tmp1_);
-#line 632 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 633 "/home/jens/Source/shotwell/src/AppWindow.vala"
_application_unref0 (_tmp1_);
-#line 3561 "AppWindow.c"
+#line 3573 "AppWindow.c"
}
void app_window_on_quit (AppWindow* self) {
-#line 631 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 632 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (IS_APP_WINDOW (self));
-#line 631 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 632 "/home/jens/Source/shotwell/src/AppWindow.vala"
APP_WINDOW_GET_CLASS (self)->on_quit (self);
-#line 3570 "AppWindow.c"
+#line 3582 "AppWindow.c"
}
@@ -3620,71 +3632,71 @@ void app_window_on_jump_to_file (AppWindow* self) {
MediaSource* _tmp14_ = NULL;
MediaSource* _tmp15_ = NULL;
GError * _inner_error_ = NULL;
-#line 635 "/home/jens/Source/shotwell/src/AppWindow.vala"
- g_return_if_fail (IS_APP_WINDOW (self));
#line 636 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ g_return_if_fail (IS_APP_WINDOW (self));
+#line 637 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = page_window_get_current_page (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow));
-#line 636 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 637 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = _tmp0_;
-#line 636 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 637 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = page_get_view (_tmp1_);
-#line 636 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 637 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp3_ = _tmp2_;
-#line 636 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 637 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp4_ = view_collection_get_selected_count (_tmp3_);
-#line 636 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 637 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp5_ = _tmp4_ != 1;
-#line 636 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 637 "/home/jens/Source/shotwell/src/AppWindow.vala"
_data_collection_unref0 (_tmp3_);
-#line 636 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 637 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp1_);
-#line 636 "/home/jens/Source/shotwell/src/AppWindow.vala"
- if (_tmp5_) {
#line 637 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ if (_tmp5_) {
+#line 638 "/home/jens/Source/shotwell/src/AppWindow.vala"
return;
-#line 3615 "AppWindow.c"
+#line 3627 "AppWindow.c"
}
-#line 639 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 640 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp6_ = page_window_get_current_page (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow));
-#line 639 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 640 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp7_ = _tmp6_;
-#line 639 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 640 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp8_ = page_get_view (_tmp7_);
-#line 639 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 640 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp9_ = _tmp8_;
-#line 639 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 640 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp10_ = view_collection_get_selected_at (_tmp9_, 0);
-#line 639 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 640 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp11_ = _tmp10_;
-#line 639 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 640 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp12_ = data_view_get_source (_tmp11_);
-#line 639 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 640 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp13_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp12_, TYPE_MEDIA_SOURCE) ? ((MediaSource*) _tmp12_) : NULL;
-#line 639 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 640 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp13_ == NULL) {
-#line 639 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 640 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp12_);
-#line 3637 "AppWindow.c"
+#line 3649 "AppWindow.c"
}
-#line 639 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 640 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp14_ = _tmp13_;
-#line 639 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 640 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp11_);
-#line 639 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 640 "/home/jens/Source/shotwell/src/AppWindow.vala"
_data_collection_unref0 (_tmp9_);
-#line 639 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 640 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp7_);
-#line 639 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 640 "/home/jens/Source/shotwell/src/AppWindow.vala"
media = _tmp14_;
-#line 641 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 642 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp15_ = media;
-#line 641 "/home/jens/Source/shotwell/src/AppWindow.vala"
- if (_tmp15_ == NULL) {
#line 642 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ if (_tmp15_ == NULL) {
+#line 643 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (media);
-#line 642 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 643 "/home/jens/Source/shotwell/src/AppWindow.vala"
return;
-#line 3657 "AppWindow.c"
+#line 3669 "AppWindow.c"
}
{
AppWindow* _tmp16_ = NULL;
@@ -3692,25 +3704,25 @@ void app_window_on_jump_to_file (AppWindow* self) {
MediaSource* _tmp18_ = NULL;
GFile* _tmp19_ = NULL;
GFile* _tmp20_ = NULL;
-#line 645 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 646 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp16_ = app_window_get_instance ();
-#line 645 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 646 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp17_ = _tmp16_;
-#line 645 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 646 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp18_ = media;
-#line 645 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 646 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp19_ = media_source_get_master_file (_tmp18_);
-#line 645 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 646 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp20_ = _tmp19_;
-#line 645 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 646 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_show_file_uri (_tmp17_, _tmp20_, &_inner_error_);
-#line 645 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 646 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp20_);
-#line 645 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 646 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp17_);
-#line 645 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 646 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 3683 "AppWindow.c"
+#line 3695 "AppWindow.c"
goto __catch228_g_error;
}
}
@@ -3721,63 +3733,63 @@ void app_window_on_jump_to_file (AppWindow* self) {
GError* _tmp21_ = NULL;
gchar* _tmp22_ = NULL;
gchar* _tmp23_ = NULL;
-#line 644 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 645 "/home/jens/Source/shotwell/src/AppWindow.vala"
err = _inner_error_;
-#line 644 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 645 "/home/jens/Source/shotwell/src/AppWindow.vala"
_inner_error_ = NULL;
-#line 647 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 648 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp21_ = err;
-#line 647 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 648 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp22_ = resources_jump_to_file_failed (_tmp21_);
-#line 647 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 648 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp23_ = _tmp22_;
-#line 647 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 648 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_error_message (_tmp23_, NULL);
-#line 647 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 648 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_free0 (_tmp23_);
-#line 644 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 645 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_error_free0 (err);
-#line 3710 "AppWindow.c"
+#line 3722 "AppWindow.c"
}
__finally228:
-#line 644 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 645 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 644 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 645 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (media);
-#line 644 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 645 "/home/jens/Source/shotwell/src/AppWindow.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 644 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 645 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_clear_error (&_inner_error_);
-#line 644 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 645 "/home/jens/Source/shotwell/src/AppWindow.vala"
return;
-#line 3723 "AppWindow.c"
+#line 3735 "AppWindow.c"
}
-#line 635 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 636 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (media);
-#line 3727 "AppWindow.c"
+#line 3739 "AppWindow.c"
}
static void app_window_real_destroy (GtkWidget* base) {
AppWindow * self;
-#line 651 "/home/jens/Source/shotwell/src/AppWindow.vala"
- self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_APP_WINDOW, AppWindow);
#line 652 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_APP_WINDOW, AppWindow);
+#line 653 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_on_quit (self);
-#line 3737 "AppWindow.c"
+#line 3749 "AppWindow.c"
}
static gchar* string_replace (const gchar* self, const gchar* old, const gchar* replacement) {
gchar* result = NULL;
GError * _inner_error_ = NULL;
-#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (old != NULL, NULL);
-#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (replacement != NULL, NULL);
-#line 3750 "AppWindow.c"
+#line 3762 "AppWindow.c"
{
GRegex* regex = NULL;
const gchar* _tmp0_ = NULL;
@@ -3790,100 +3802,100 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar*
const gchar* _tmp7_ = NULL;
gchar* _tmp8_ = NULL;
gchar* _tmp9_ = NULL;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = old;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = g_regex_escape_string (_tmp0_, -1);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = _tmp1_;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = g_regex_new (_tmp2_, 0, 0, &_inner_error_);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = _tmp3_;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_free0 (_tmp2_);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
regex = _tmp4_;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_inner_error_->domain == G_REGEX_ERROR) {
-#line 3781 "AppWindow.c"
+#line 3793 "AppWindow.c"
goto __catch229_g_regex_error;
}
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_clear_error (&_inner_error_);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return NULL;
-#line 3790 "AppWindow.c"
+#line 3802 "AppWindow.c"
}
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6_ = regex;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp7_ = replacement;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp8_ = g_regex_replace_literal (_tmp6_, self, (gssize) -1, 0, _tmp7_, 0, &_inner_error_);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = _tmp8_;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_regex_unref0 (regex);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_inner_error_->domain == G_REGEX_ERROR) {
-#line 3806 "AppWindow.c"
+#line 3818 "AppWindow.c"
goto __catch229_g_regex_error;
}
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_regex_unref0 (regex);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_clear_error (&_inner_error_);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return NULL;
-#line 3817 "AppWindow.c"
+#line 3829 "AppWindow.c"
}
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp9_ = _tmp5_;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = NULL;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp9_;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_free0 (_tmp5_);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_regex_unref0 (regex);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
-#line 3831 "AppWindow.c"
+#line 3843 "AppWindow.c"
}
goto __finally229;
__catch229_g_regex_error:
{
GError* e = NULL;
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
e = _inner_error_;
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_inner_error_ = NULL;
-#line 1385 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1385 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_assert_not_reached ();
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_error_free0 (e);
-#line 3845 "AppWindow.c"
+#line 3857 "AppWindow.c"
}
__finally229:
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
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 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_clear_error (&_inner_error_);
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return NULL;
-#line 3856 "AppWindow.c"
+#line 3868 "AppWindow.c"
}
}
@@ -3894,53 +3906,53 @@ void app_window_show_file_uri (AppWindow* self, GFile* file, GError** error) {
gchar* _tmp1_ = NULL;
gboolean _tmp2_ = FALSE;
GError * _inner_error_ = NULL;
-#line 655 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 656 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (IS_APP_WINDOW (self));
-#line 655 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 656 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (G_IS_FILE (file));
-#line 660 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 661 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = get_nautilus_install_location ();
-#line 660 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 661 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = _tmp0_;
-#line 660 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 661 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = _tmp1_ != NULL;
-#line 660 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 661 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_free0 (_tmp1_);
-#line 660 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 661 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp2_) {
-#line 3881 "AppWindow.c"
+#line 3893 "AppWindow.c"
GFile* _tmp3_ = NULL;
gchar* _tmp4_ = NULL;
gchar* _tmp5_ = NULL;
gchar* _tmp6_ = NULL;
const gchar* _tmp7_ = NULL;
-#line 661 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 662 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp3_ = file;
-#line 661 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 662 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp4_ = g_file_get_uri (_tmp3_);
-#line 661 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 662 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp5_ = _tmp4_;
-#line 661 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 662 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp6_ = string_replace (_tmp5_, "'", "\\\'");
-#line 661 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 662 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_free0 (tmp);
-#line 661 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 662 "/home/jens/Source/shotwell/src/AppWindow.vala"
tmp = _tmp6_;
-#line 661 "/home/jens/Source/shotwell/src/AppWindow.vala"
- _g_free0 (_tmp5_);
#line 662 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _g_free0 (_tmp5_);
+#line 663 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp7_ = tmp;
-#line 662 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 663 "/home/jens/Source/shotwell/src/AppWindow.vala"
show_file_in_nautilus (_tmp7_, &_inner_error_);
-#line 662 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 663 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 662 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 663 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_propagate_error (error, _inner_error_);
-#line 662 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 663 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_free0 (tmp);
-#line 662 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 663 "/home/jens/Source/shotwell/src/AppWindow.vala"
return;
-#line 3913 "AppWindow.c"
+#line 3925 "AppWindow.c"
}
} else {
GFile* _tmp8_ = NULL;
@@ -3950,44 +3962,44 @@ void app_window_show_file_uri (AppWindow* self, GFile* file, GError** error) {
gchar* _tmp12_ = NULL;
gchar* _tmp13_ = NULL;
const gchar* _tmp14_ = NULL;
-#line 664 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 665 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp8_ = file;
-#line 664 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 665 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp9_ = g_file_get_parent (_tmp8_);
-#line 664 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 665 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp10_ = _tmp9_;
-#line 664 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 665 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp11_ = g_file_get_uri (_tmp10_);
-#line 664 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 665 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp12_ = _tmp11_;
-#line 664 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 665 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp13_ = string_replace (_tmp12_, "'", "\\\'");
-#line 664 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 665 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_free0 (tmp);
-#line 664 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 665 "/home/jens/Source/shotwell/src/AppWindow.vala"
tmp = _tmp13_;
-#line 664 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 665 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_free0 (_tmp12_);
-#line 664 "/home/jens/Source/shotwell/src/AppWindow.vala"
- _g_object_unref0 (_tmp10_);
#line 665 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _g_object_unref0 (_tmp10_);
+#line 666 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp14_ = tmp;
-#line 665 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 666 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_show_uri (self, _tmp14_, &_inner_error_);
-#line 665 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 666 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 665 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 666 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_propagate_error (error, _inner_error_);
-#line 665 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 666 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_free0 (tmp);
-#line 665 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 666 "/home/jens/Source/shotwell/src/AppWindow.vala"
return;
-#line 3955 "AppWindow.c"
+#line 3967 "AppWindow.c"
}
}
-#line 655 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 656 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_free0 (tmp);
-#line 3960 "AppWindow.c"
+#line 3972 "AppWindow.c"
}
@@ -3996,42 +4008,42 @@ void app_window_show_uri (AppWindow* self, const gchar* url, GError** error) {
GdkScreen* _tmp1_ = NULL;
const gchar* _tmp2_ = NULL;
GError * _inner_error_ = NULL;
-#line 669 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 670 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (IS_APP_WINDOW (self));
-#line 669 "/home/jens/Source/shotwell/src/AppWindow.vala"
- g_return_if_fail (url != NULL);
#line 670 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ g_return_if_fail (url != NULL);
+#line 671 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = gtk_widget_get_window (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
-#line 670 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 671 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = gdk_window_get_screen (_tmp0_);
-#line 670 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 671 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = url;
-#line 670 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 671 "/home/jens/Source/shotwell/src/AppWindow.vala"
sys_show_uri (_tmp1_, _tmp2_, &_inner_error_);
-#line 670 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 671 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 670 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 671 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_propagate_error (error, _inner_error_);
-#line 670 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 671 "/home/jens/Source/shotwell/src/AppWindow.vala"
return;
-#line 3987 "AppWindow.c"
+#line 3999 "AppWindow.c"
}
}
static void app_window_real_add_actions (AppWindow* self) {
-#line 674 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 675 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_action_map_add_action_entries (G_TYPE_CHECK_INSTANCE_CAST (self, g_action_map_get_type (), GActionMap), APP_WINDOW_common_actions, G_N_ELEMENTS (APP_WINDOW_common_actions), self);
-#line 3995 "AppWindow.c"
+#line 4007 "AppWindow.c"
}
void app_window_add_actions (AppWindow* self) {
-#line 673 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 674 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (IS_APP_WINDOW (self));
-#line 673 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 674 "/home/jens/Source/shotwell/src/AppWindow.vala"
APP_WINDOW_GET_CLASS (self)->add_actions (self);
-#line 4004 "AppWindow.c"
+#line 4016 "AppWindow.c"
}
@@ -4048,81 +4060,81 @@ void app_window_go_fullscreen (AppWindow* self, Page* page) {
FullscreenWindow* _tmp12_ = NULL;
FullscreenWindow* _tmp13_ = NULL;
FullscreenWindow* _tmp14_ = NULL;
-#line 677 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 678 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (IS_APP_WINDOW (self));
-#line 677 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 678 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (IS_PAGE (page));
-#line 679 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 680 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = app_window_fullscreen_window;
-#line 679 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 680 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp0_ != NULL) {
-#line 4029 "AppWindow.c"
+#line 4041 "AppWindow.c"
FullscreenWindow* _tmp1_ = NULL;
-#line 680 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 681 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = app_window_fullscreen_window;
-#line 680 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 681 "/home/jens/Source/shotwell/src/AppWindow.vala"
gtk_window_present (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_window_get_type (), GtkWindow));
-#line 682 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 683 "/home/jens/Source/shotwell/src/AppWindow.vala"
return;
-#line 4037 "AppWindow.c"
+#line 4049 "AppWindow.c"
}
-#line 685 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 686 "/home/jens/Source/shotwell/src/AppWindow.vala"
gtk_window_get_position (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), &_tmp2_, &_tmp3_);
-#line 685 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 686 "/home/jens/Source/shotwell/src/AppWindow.vala"
self->pos_x = _tmp2_;
-#line 685 "/home/jens/Source/shotwell/src/AppWindow.vala"
- self->pos_y = _tmp3_;
#line 686 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ self->pos_y = _tmp3_;
+#line 687 "/home/jens/Source/shotwell/src/AppWindow.vala"
gtk_widget_hide (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
-#line 688 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 689 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp4_ = page;
-#line 688 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 689 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp5_ = fullscreen_window_new (_tmp4_);
-#line 688 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 689 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_object_ref_sink (_tmp5_);
-#line 688 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 689 "/home/jens/Source/shotwell/src/AppWindow.vala"
fsw = _tmp5_;
-#line 690 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 691 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp6_ = page_window_get_current_page (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow));
-#line 690 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 691 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp7_ = _tmp6_;
-#line 690 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 691 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp8_ = _tmp7_ != NULL;
-#line 690 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 691 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp7_);
-#line 690 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 691 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp8_) {
-#line 4065 "AppWindow.c"
+#line 4077 "AppWindow.c"
Page* _tmp9_ = NULL;
Page* _tmp10_ = NULL;
FullscreenWindow* _tmp11_ = NULL;
-#line 691 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 692 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp9_ = page_window_get_current_page (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow));
-#line 691 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 692 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp10_ = _tmp9_;
-#line 691 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 692 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp11_ = fsw;
-#line 691 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 692 "/home/jens/Source/shotwell/src/AppWindow.vala"
page_switching_to_fullscreen (_tmp10_, _tmp11_);
-#line 691 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 692 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp10_);
-#line 4079 "AppWindow.c"
+#line 4091 "AppWindow.c"
}
-#line 693 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 694 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp12_ = fsw;
-#line 693 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 694 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp13_ = _g_object_ref0 (_tmp12_);
-#line 693 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 694 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (app_window_fullscreen_window);
-#line 693 "/home/jens/Source/shotwell/src/AppWindow.vala"
- app_window_fullscreen_window = _tmp13_;
#line 694 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ app_window_fullscreen_window = _tmp13_;
+#line 695 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp14_ = app_window_fullscreen_window;
-#line 694 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 695 "/home/jens/Source/shotwell/src/AppWindow.vala"
gtk_window_present (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, gtk_window_get_type (), GtkWindow));
-#line 677 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 678 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (fsw);
-#line 4095 "AppWindow.c"
+#line 4107 "AppWindow.c"
}
@@ -4135,65 +4147,65 @@ void app_window_end_fullscreen (AppWindow* self) {
gboolean _tmp5_ = FALSE;
FullscreenWindow* _tmp9_ = NULL;
FullscreenWindow* _tmp10_ = NULL;
-#line 697 "/home/jens/Source/shotwell/src/AppWindow.vala"
- g_return_if_fail (IS_APP_WINDOW (self));
#line 698 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ g_return_if_fail (IS_APP_WINDOW (self));
+#line 699 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = app_window_fullscreen_window;
-#line 698 "/home/jens/Source/shotwell/src/AppWindow.vala"
- if (_tmp0_ == NULL) {
#line 699 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ if (_tmp0_ == NULL) {
+#line 700 "/home/jens/Source/shotwell/src/AppWindow.vala"
return;
-#line 4116 "AppWindow.c"
+#line 4128 "AppWindow.c"
}
-#line 701 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 702 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = self->pos_x;
-#line 701 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 702 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = self->pos_y;
-#line 701 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 702 "/home/jens/Source/shotwell/src/AppWindow.vala"
gtk_window_move (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), _tmp1_, _tmp2_);
-#line 703 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 704 "/home/jens/Source/shotwell/src/AppWindow.vala"
gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
-#line 705 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 706 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp3_ = page_window_get_current_page (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow));
-#line 705 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 706 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp4_ = _tmp3_;
-#line 705 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 706 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp5_ = _tmp4_ != NULL;
-#line 705 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 706 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp4_);
-#line 705 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 706 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp5_) {
-#line 4136 "AppWindow.c"
+#line 4148 "AppWindow.c"
Page* _tmp6_ = NULL;
Page* _tmp7_ = NULL;
FullscreenWindow* _tmp8_ = NULL;
-#line 706 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 707 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp6_ = page_window_get_current_page (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow));
-#line 706 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 707 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp7_ = _tmp6_;
-#line 706 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 707 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp8_ = app_window_fullscreen_window;
-#line 706 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 707 "/home/jens/Source/shotwell/src/AppWindow.vala"
page_returning_from_fullscreen (_tmp7_, _tmp8_);
-#line 706 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 707 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp7_);
-#line 4150 "AppWindow.c"
+#line 4162 "AppWindow.c"
}
-#line 708 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 709 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp9_ = app_window_fullscreen_window;
-#line 708 "/home/jens/Source/shotwell/src/AppWindow.vala"
- gtk_widget_hide (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_widget_get_type (), GtkWidget));
#line 709 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ gtk_widget_hide (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_widget_get_type (), GtkWidget));
+#line 710 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp10_ = app_window_fullscreen_window;
-#line 709 "/home/jens/Source/shotwell/src/AppWindow.vala"
- gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, gtk_widget_get_type (), GtkWidget));
#line 710 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, gtk_widget_get_type (), GtkWidget));
+#line 711 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (app_window_fullscreen_window);
-#line 710 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 711 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_fullscreen_window = NULL;
-#line 712 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 713 "/home/jens/Source/shotwell/src/AppWindow.vala"
gtk_window_present (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow));
-#line 4166 "AppWindow.c"
+#line 4178 "AppWindow.c"
}
@@ -4202,21 +4214,21 @@ GAction* app_window_get_common_action (AppWindow* self, const gchar* name) {
const gchar* _tmp0_ = NULL;
GAction* _tmp1_ = NULL;
GAction* _tmp2_ = NULL;
-#line 715 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 716 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_val_if_fail (IS_APP_WINDOW (self), NULL);
-#line 715 "/home/jens/Source/shotwell/src/AppWindow.vala"
- g_return_val_if_fail (name != NULL, NULL);
#line 716 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ g_return_val_if_fail (name != NULL, NULL);
+#line 717 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = name;
-#line 716 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 717 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = g_action_map_lookup_action (G_TYPE_CHECK_INSTANCE_CAST (self, g_action_map_get_type (), GActionMap), _tmp0_);
-#line 716 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 717 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = _g_object_ref0 (_tmp1_);
-#line 716 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 717 "/home/jens/Source/shotwell/src/AppWindow.vala"
result = _tmp2_;
-#line 716 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 717 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 4189 "AppWindow.c"
+#line 4201 "AppWindow.c"
}
@@ -4226,42 +4238,42 @@ void app_window_set_common_action_sensitive (AppWindow* self, const gchar* name,
GAction* _tmp1_ = NULL;
GSimpleAction* _tmp2_ = NULL;
GSimpleAction* _tmp3_ = NULL;
-#line 719 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 720 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (IS_APP_WINDOW (self));
-#line 719 "/home/jens/Source/shotwell/src/AppWindow.vala"
- g_return_if_fail (name != NULL);
#line 720 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ g_return_if_fail (name != NULL);
+#line 721 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = name;
-#line 720 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 721 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = app_window_get_common_action (self, _tmp0_);
-#line 720 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 721 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, g_simple_action_get_type ()) ? ((GSimpleAction*) _tmp1_) : NULL;
-#line 720 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 721 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp2_ == NULL) {
-#line 720 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 721 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp1_);
-#line 4213 "AppWindow.c"
+#line 4225 "AppWindow.c"
}
-#line 720 "/home/jens/Source/shotwell/src/AppWindow.vala"
- action = _tmp2_;
#line 721 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ action = _tmp2_;
+#line 722 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp3_ = action;
-#line 721 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 722 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp3_ != NULL) {
-#line 4221 "AppWindow.c"
+#line 4233 "AppWindow.c"
GSimpleAction* _tmp4_ = NULL;
gboolean _tmp5_ = FALSE;
-#line 722 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 723 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp4_ = action;
-#line 722 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 723 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp5_ = sensitive;
-#line 722 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 723 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_simple_action_set_enabled (_tmp4_, _tmp5_);
-#line 4230 "AppWindow.c"
+#line 4242 "AppWindow.c"
}
-#line 719 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 720 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (action);
-#line 4234 "AppWindow.c"
+#line 4246 "AppWindow.c"
}
@@ -4271,45 +4283,45 @@ void app_window_set_common_action_important (AppWindow* self, const gchar* name,
GAction* _tmp1_ = NULL;
GSimpleAction* _tmp2_ = NULL;
GSimpleAction* _tmp3_ = NULL;
-#line 725 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 726 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (IS_APP_WINDOW (self));
-#line 725 "/home/jens/Source/shotwell/src/AppWindow.vala"
- g_return_if_fail (name != NULL);
#line 726 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ g_return_if_fail (name != NULL);
+#line 727 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = name;
-#line 726 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 727 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = app_window_get_common_action (self, _tmp0_);
-#line 726 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 727 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, g_simple_action_get_type ()) ? ((GSimpleAction*) _tmp1_) : NULL;
-#line 726 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 727 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp2_ == NULL) {
-#line 726 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 727 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp1_);
-#line 4258 "AppWindow.c"
+#line 4270 "AppWindow.c"
}
-#line 726 "/home/jens/Source/shotwell/src/AppWindow.vala"
- action = _tmp2_;
#line 727 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ action = _tmp2_;
+#line 728 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp3_ = action;
-#line 727 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 728 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp3_ != NULL) {
-#line 4266 "AppWindow.c"
+#line 4278 "AppWindow.c"
GSimpleAction* _tmp4_ = NULL;
gboolean _tmp5_ = FALSE;
gboolean _tmp6_ = FALSE;
-#line 728 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 729 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp4_ = action;
-#line 728 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 729 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp5_ = gtk_widget_get_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
-#line 728 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 729 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp6_ = _tmp5_;
-#line 728 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 729 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_simple_action_set_enabled (_tmp4_, _tmp6_);
-#line 4278 "AppWindow.c"
+#line 4290 "AppWindow.c"
}
-#line 725 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 726 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (action);
-#line 4282 "AppWindow.c"
+#line 4294 "AppWindow.c"
}
@@ -4319,66 +4331,66 @@ void app_window_set_common_action_visible (AppWindow* self, const gchar* name, g
GAction* _tmp1_ = NULL;
GSimpleAction* _tmp2_ = NULL;
GSimpleAction* _tmp3_ = NULL;
-#line 731 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 732 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (IS_APP_WINDOW (self));
-#line 731 "/home/jens/Source/shotwell/src/AppWindow.vala"
- g_return_if_fail (name != NULL);
#line 732 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ g_return_if_fail (name != NULL);
+#line 733 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = name;
-#line 732 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 733 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = app_window_get_common_action (self, _tmp0_);
-#line 732 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 733 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, g_simple_action_get_type ()) ? ((GSimpleAction*) _tmp1_) : NULL;
-#line 732 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 733 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp2_ == NULL) {
-#line 732 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 733 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp1_);
-#line 4306 "AppWindow.c"
+#line 4318 "AppWindow.c"
}
-#line 732 "/home/jens/Source/shotwell/src/AppWindow.vala"
- action = _tmp2_;
#line 733 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ action = _tmp2_;
+#line 734 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp3_ = action;
-#line 733 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 734 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp3_ != NULL) {
-#line 4314 "AppWindow.c"
+#line 4326 "AppWindow.c"
GSimpleAction* _tmp4_ = NULL;
gboolean _tmp5_ = FALSE;
gboolean _tmp6_ = FALSE;
-#line 734 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 735 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp4_ = action;
-#line 734 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 735 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp5_ = gtk_widget_get_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
-#line 734 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 735 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp6_ = _tmp5_;
-#line 734 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 735 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_simple_action_set_enabled (_tmp4_, _tmp6_);
-#line 4326 "AppWindow.c"
+#line 4338 "AppWindow.c"
}
-#line 731 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 732 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (action);
-#line 4330 "AppWindow.c"
+#line 4342 "AppWindow.c"
}
static void _app_window_on_update_common_actions_data_collection_contents_altered (DataCollection* _sender, GeeIterable* added, GeeIterable* removed, gpointer self) {
-#line 741 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 742 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_on_update_common_actions ((AppWindow*) self);
-#line 4337 "AppWindow.c"
+#line 4349 "AppWindow.c"
}
static void _app_window_on_update_common_actions_view_collection_selection_group_altered (ViewCollection* _sender, gpointer self) {
-#line 742 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 743 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_on_update_common_actions ((AppWindow*) self);
-#line 4344 "AppWindow.c"
+#line 4356 "AppWindow.c"
}
static void _app_window_on_update_common_actions_view_collection_items_state_changed (ViewCollection* _sender, GeeIterable* changed, gpointer self) {
-#line 743 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 744 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_on_update_common_actions ((AppWindow*) self);
-#line 4351 "AppWindow.c"
+#line 4363 "AppWindow.c"
}
@@ -4390,23 +4402,23 @@ static void app_window_real_switched_pages (PageWindow* base, Page* old_page, Pa
Page* _tmp15_ = NULL;
Page* _tmp34_ = NULL;
Page* _tmp35_ = NULL;
-#line 737 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 738 "/home/jens/Source/shotwell/src/AppWindow.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_APP_WINDOW, AppWindow);
-#line 737 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 738 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail ((old_page == NULL) || IS_PAGE (old_page));
-#line 737 "/home/jens/Source/shotwell/src/AppWindow.vala"
- g_return_if_fail ((new_page == NULL) || IS_PAGE (new_page));
#line 738 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ g_return_if_fail ((new_page == NULL) || IS_PAGE (new_page));
+#line 739 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = old_page;
-#line 738 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 739 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = new_page;
-#line 738 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 739 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_update_common_action_availability (self, _tmp0_, _tmp1_);
-#line 740 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 741 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = old_page;
-#line 740 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 741 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp2_ != NULL) {
-#line 4379 "AppWindow.c"
+#line 4391 "AppWindow.c"
Page* _tmp3_ = NULL;
ViewCollection* _tmp4_ = NULL;
ViewCollection* _tmp5_ = NULL;
@@ -4419,49 +4431,49 @@ static void app_window_real_switched_pages (PageWindow* base, Page* old_page, Pa
ViewCollection* _tmp12_ = NULL;
ViewCollection* _tmp13_ = NULL;
guint _tmp14_ = 0U;
-#line 741 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 742 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp3_ = old_page;
-#line 741 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 742 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp4_ = page_get_view (_tmp3_);
-#line 741 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 742 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp5_ = _tmp4_;
-#line 741 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 742 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_signal_parse_name ("contents-altered", TYPE_DATA_COLLECTION, &_tmp6_, NULL, FALSE);
-#line 741 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 742 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, TYPE_DATA_COLLECTION, DataCollection), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp6_, 0, NULL, (GCallback) _app_window_on_update_common_actions_data_collection_contents_altered, self);
-#line 741 "/home/jens/Source/shotwell/src/AppWindow.vala"
- _data_collection_unref0 (_tmp5_);
#line 742 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _data_collection_unref0 (_tmp5_);
+#line 743 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp7_ = old_page;
-#line 742 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 743 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp8_ = page_get_view (_tmp7_);
-#line 742 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 743 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp9_ = _tmp8_;
-#line 742 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 743 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_signal_parse_name ("selection-group-altered", TYPE_VIEW_COLLECTION, &_tmp10_, NULL, FALSE);
-#line 742 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 743 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_signal_handlers_disconnect_matched (_tmp9_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp10_, 0, NULL, (GCallback) _app_window_on_update_common_actions_view_collection_selection_group_altered, self);
-#line 742 "/home/jens/Source/shotwell/src/AppWindow.vala"
- _data_collection_unref0 (_tmp9_);
#line 743 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _data_collection_unref0 (_tmp9_);
+#line 744 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp11_ = old_page;
-#line 743 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 744 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp12_ = page_get_view (_tmp11_);
-#line 743 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 744 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp13_ = _tmp12_;
-#line 743 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 744 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_signal_parse_name ("items-state-changed", TYPE_VIEW_COLLECTION, &_tmp14_, NULL, FALSE);
-#line 743 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 744 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_signal_handlers_disconnect_matched (_tmp13_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp14_, 0, NULL, (GCallback) _app_window_on_update_common_actions_view_collection_items_state_changed, self);
-#line 743 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 744 "/home/jens/Source/shotwell/src/AppWindow.vala"
_data_collection_unref0 (_tmp13_);
-#line 4428 "AppWindow.c"
+#line 4440 "AppWindow.c"
}
-#line 746 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 747 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp15_ = new_page;
-#line 746 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 747 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp15_ != NULL) {
-#line 4434 "AppWindow.c"
+#line 4446 "AppWindow.c"
Page* _tmp16_ = NULL;
ViewCollection* _tmp17_ = NULL;
ViewCollection* _tmp18_ = NULL;
@@ -4480,135 +4492,135 @@ static void app_window_real_switched_pages (PageWindow* base, Page* old_page, Pa
ViewCollection* _tmp31_ = NULL;
ViewCollection* _tmp32_ = NULL;
gint _tmp33_ = 0;
-#line 747 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 748 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp16_ = new_page;
-#line 747 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 748 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp17_ = page_get_view (_tmp16_);
-#line 747 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 748 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp18_ = _tmp17_;
-#line 747 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 748 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, TYPE_DATA_COLLECTION, DataCollection), "contents-altered", (GCallback) _app_window_on_update_common_actions_data_collection_contents_altered, self, 0);
-#line 747 "/home/jens/Source/shotwell/src/AppWindow.vala"
- _data_collection_unref0 (_tmp18_);
#line 748 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _data_collection_unref0 (_tmp18_);
+#line 749 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp19_ = new_page;
-#line 748 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 749 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp20_ = page_get_view (_tmp19_);
-#line 748 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 749 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp21_ = _tmp20_;
-#line 748 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 749 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_signal_connect_object (_tmp21_, "selection-group-altered", (GCallback) _app_window_on_update_common_actions_view_collection_selection_group_altered, self, 0);
-#line 748 "/home/jens/Source/shotwell/src/AppWindow.vala"
- _data_collection_unref0 (_tmp21_);
#line 749 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _data_collection_unref0 (_tmp21_);
+#line 750 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp22_ = new_page;
-#line 749 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 750 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp23_ = page_get_view (_tmp22_);
-#line 749 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 750 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp24_ = _tmp23_;
-#line 749 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 750 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_signal_connect_object (_tmp24_, "items-state-changed", (GCallback) _app_window_on_update_common_actions_view_collection_items_state_changed, self, 0);
-#line 749 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 750 "/home/jens/Source/shotwell/src/AppWindow.vala"
_data_collection_unref0 (_tmp24_);
-#line 751 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 752 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp25_ = new_page;
-#line 751 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 752 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp26_ = new_page;
-#line 751 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 752 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp27_ = page_get_view (_tmp26_);
-#line 751 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 752 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp28_ = _tmp27_;
-#line 751 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 752 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp29_ = view_collection_get_selected_count (_tmp28_);
-#line 751 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 752 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp30_ = new_page;
-#line 751 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 752 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp31_ = page_get_view (_tmp30_);
-#line 751 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 752 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp32_ = _tmp31_;
-#line 751 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 752 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp33_ = data_collection_get_count (G_TYPE_CHECK_INSTANCE_CAST (_tmp32_, TYPE_DATA_COLLECTION, DataCollection));
-#line 751 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 752 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_update_common_actions (self, _tmp25_, _tmp29_, _tmp33_);
-#line 751 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 752 "/home/jens/Source/shotwell/src/AppWindow.vala"
_data_collection_unref0 (_tmp32_);
-#line 751 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 752 "/home/jens/Source/shotwell/src/AppWindow.vala"
_data_collection_unref0 (_tmp28_);
-#line 4507 "AppWindow.c"
+#line 4519 "AppWindow.c"
}
-#line 755 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 756 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp34_ = old_page;
-#line 755 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 756 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp35_ = new_page;
-#line 755 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 756 "/home/jens/Source/shotwell/src/AppWindow.vala"
PAGE_WINDOW_CLASS (app_window_parent_class)->switched_pages (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow), _tmp34_, _tmp35_);
-#line 4515 "AppWindow.c"
+#line 4527 "AppWindow.c"
}
static void app_window_real_update_common_action_availability (AppWindow* self, Page* old_page, Page* new_page) {
gboolean is_checkerboard = FALSE;
Page* _tmp0_ = NULL;
-#line 761 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 762 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail ((old_page == NULL) || IS_PAGE (old_page));
-#line 761 "/home/jens/Source/shotwell/src/AppWindow.vala"
- g_return_if_fail ((new_page == NULL) || IS_PAGE (new_page));
#line 762 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ g_return_if_fail ((new_page == NULL) || IS_PAGE (new_page));
+#line 763 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = new_page;
-#line 762 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 763 "/home/jens/Source/shotwell/src/AppWindow.vala"
is_checkerboard = G_TYPE_CHECK_INSTANCE_TYPE (_tmp0_, TYPE_CHECKERBOARD_PAGE);
-#line 764 "/home/jens/Source/shotwell/src/AppWindow.vala"
- app_window_set_common_action_sensitive (self, "CommonSelectAll", is_checkerboard);
#line 765 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ app_window_set_common_action_sensitive (self, "CommonSelectAll", is_checkerboard);
+#line 766 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_set_common_action_sensitive (self, "CommonSelectNone", is_checkerboard);
-#line 4534 "AppWindow.c"
+#line 4546 "AppWindow.c"
}
void app_window_update_common_action_availability (AppWindow* self, Page* old_page, Page* new_page) {
-#line 761 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 762 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (IS_APP_WINDOW (self));
-#line 761 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 762 "/home/jens/Source/shotwell/src/AppWindow.vala"
APP_WINDOW_GET_CLASS (self)->update_common_action_availability (self, old_page, new_page);
-#line 4543 "AppWindow.c"
+#line 4555 "AppWindow.c"
}
static void app_window_real_update_common_actions (AppWindow* self, Page* page, gint selected_count, gint count) {
Page* _tmp0_ = NULL;
gint _tmp2_ = 0;
-#line 771 "/home/jens/Source/shotwell/src/AppWindow.vala"
- g_return_if_fail (IS_PAGE (page));
#line 772 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ g_return_if_fail (IS_PAGE (page));
+#line 773 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = page;
-#line 772 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 773 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp0_, TYPE_CHECKERBOARD_PAGE)) {
-#line 4556 "AppWindow.c"
+#line 4568 "AppWindow.c"
gint _tmp1_ = 0;
-#line 773 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 774 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = count;
-#line 773 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 774 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_set_common_action_sensitive (self, "CommonSelectAll", _tmp1_ > 0);
-#line 4562 "AppWindow.c"
+#line 4574 "AppWindow.c"
}
-#line 774 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 775 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = selected_count;
-#line 774 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 775 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_set_common_action_sensitive (self, "CommonJumpToFile", _tmp2_ == 1);
-#line 776 "/home/jens/Source/shotwell/src/AppWindow.vala"
- app_window_decorate_undo_action (self);
#line 777 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ app_window_decorate_undo_action (self);
+#line 778 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_decorate_redo_action (self);
-#line 4572 "AppWindow.c"
+#line 4584 "AppWindow.c"
}
void app_window_update_common_actions (AppWindow* self, Page* page, gint selected_count, gint count) {
-#line 771 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 772 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (IS_APP_WINDOW (self));
-#line 771 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 772 "/home/jens/Source/shotwell/src/AppWindow.vala"
APP_WINDOW_GET_CLASS (self)->update_common_actions (self, page, selected_count, count);
-#line 4581 "AppWindow.c"
+#line 4593 "AppWindow.c"
}
@@ -4616,17 +4628,17 @@ static void app_window_on_update_common_actions (AppWindow* self) {
Page* page = NULL;
Page* _tmp0_ = NULL;
Page* _tmp1_ = NULL;
-#line 780 "/home/jens/Source/shotwell/src/AppWindow.vala"
- g_return_if_fail (IS_APP_WINDOW (self));
#line 781 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ g_return_if_fail (IS_APP_WINDOW (self));
+#line 782 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = page_window_get_current_page (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow));
-#line 781 "/home/jens/Source/shotwell/src/AppWindow.vala"
- page = _tmp0_;
#line 782 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ page = _tmp0_;
+#line 783 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = page;
-#line 782 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 783 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp1_ != NULL) {
-#line 4599 "AppWindow.c"
+#line 4611 "AppWindow.c"
Page* _tmp2_ = NULL;
Page* _tmp3_ = NULL;
ViewCollection* _tmp4_ = NULL;
@@ -4636,42 +4648,481 @@ static void app_window_on_update_common_actions (AppWindow* self) {
ViewCollection* _tmp8_ = NULL;
ViewCollection* _tmp9_ = NULL;
gint _tmp10_ = 0;
-#line 783 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 784 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = page;
-#line 783 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 784 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp3_ = page;
-#line 783 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 784 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp4_ = page_get_view (_tmp3_);
-#line 783 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 784 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp5_ = _tmp4_;
-#line 783 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 784 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp6_ = view_collection_get_selected_count (_tmp5_);
-#line 783 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 784 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp7_ = page;
-#line 783 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 784 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp8_ = page_get_view (_tmp7_);
-#line 783 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 784 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp9_ = _tmp8_;
-#line 783 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 784 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp10_ = data_collection_get_count (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, TYPE_DATA_COLLECTION, DataCollection));
-#line 783 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 784 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_update_common_actions (self, _tmp2_, _tmp6_, _tmp10_);
-#line 783 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 784 "/home/jens/Source/shotwell/src/AppWindow.vala"
_data_collection_unref0 (_tmp9_);
-#line 783 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 784 "/home/jens/Source/shotwell/src/AppWindow.vala"
_data_collection_unref0 (_tmp5_);
-#line 4633 "AppWindow.c"
+#line 4645 "AppWindow.c"
}
-#line 780 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 781 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (page);
-#line 4637 "AppWindow.c"
+#line 4649 "AppWindow.c"
}
-static gpointer _command_manager_ref0 (gpointer self) {
+void app_window_update_menu_item_label (AppWindow* self, const gchar* id, const gchar* new_label) {
+ GMenu* bar = NULL;
+ Page* _tmp0_ = NULL;
+ Page* _tmp1_ = NULL;
+ GMenuModel* _tmp2_ = NULL;
+ GMenu* _tmp3_ = NULL;
+ GMenu* _tmp4_ = NULL;
+ GMenu* _tmp5_ = NULL;
+ gint items = 0;
+ GMenu* _tmp6_ = NULL;
+ gint _tmp7_ = 0;
+#line 787 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ g_return_if_fail (IS_APP_WINDOW (self));
+#line 787 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ g_return_if_fail (id != NULL);
+#line 787 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ g_return_if_fail (new_label != NULL);
+#line 789 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp0_ = page_window_get_current_page (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow));
+#line 789 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp1_ = _tmp0_;
+#line 789 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp2_ = page_get_menubar (_tmp1_);
+#line 789 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp3_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp2_, g_menu_get_type ()) ? ((GMenu*) _tmp2_) : NULL;
+#line 789 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ if (_tmp3_ == NULL) {
+#line 789 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _g_object_unref0 (_tmp2_);
+#line 4682 "AppWindow.c"
+ }
+#line 789 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp4_ = _tmp3_;
+#line 789 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _g_object_unref0 (_tmp1_);
+#line 789 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ bar = _tmp4_;
+#line 791 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp5_ = bar;
+#line 791 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ if (_tmp5_ == NULL) {
+#line 792 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _g_object_unref0 (bar);
+#line 792 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ return;
+#line 4698 "AppWindow.c"
+ }
+#line 795 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp6_ = bar;
+#line 795 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp7_ = g_menu_model_get_n_items (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, g_menu_model_get_type (), GMenuModel));
+#line 795 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ items = _tmp7_;
+#line 4706 "AppWindow.c"
+ {
+ gint i = 0;
+#line 796 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ i = 0;
+#line 4711 "AppWindow.c"
+ {
+ gboolean _tmp8_ = FALSE;
+#line 796 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp8_ = TRUE;
+#line 796 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ while (TRUE) {
+#line 4718 "AppWindow.c"
+ gint _tmp10_ = 0;
+ gint _tmp11_ = 0;
+ GMenuModel* model = NULL;
+ GMenu* _tmp12_ = NULL;
+ gint _tmp13_ = 0;
+ GMenuModel* _tmp14_ = NULL;
+ GMenu* _tmp15_ = NULL;
+ gint model_items = 0;
+ GMenuModel* _tmp16_ = NULL;
+ gint _tmp17_ = 0;
+#line 796 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ if (!_tmp8_) {
+#line 4731 "AppWindow.c"
+ gint _tmp9_ = 0;
+#line 796 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp9_ = i;
+#line 796 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ i = _tmp9_ + 1;
+#line 4737 "AppWindow.c"
+ }
+#line 796 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp8_ = FALSE;
+#line 796 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp10_ = i;
+#line 796 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp11_ = items;
+#line 796 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ if (!(_tmp10_ < _tmp11_)) {
+#line 796 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ break;
+#line 4749 "AppWindow.c"
+ }
+#line 797 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp12_ = bar;
+#line 797 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp13_ = i;
+#line 797 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp14_ = g_menu_model_get_item_link (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, g_menu_model_get_type (), GMenuModel), _tmp13_, G_MENU_LINK_SUBMENU);
+#line 797 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ model = _tmp14_;
+#line 798 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp15_ = bar;
+#line 798 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ if (_tmp15_ == NULL) {
+#line 799 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _g_object_unref0 (model);
+#line 799 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ continue;
+#line 4767 "AppWindow.c"
+ }
+#line 802 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp16_ = model;
+#line 802 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp17_ = g_menu_model_get_n_items (_tmp16_);
+#line 802 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ model_items = _tmp17_;
+#line 4775 "AppWindow.c"
+ {
+ gint j = 0;
+#line 803 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ j = 0;
+#line 4780 "AppWindow.c"
+ {
+ gboolean _tmp18_ = FALSE;
+#line 803 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp18_ = TRUE;
+#line 803 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ while (TRUE) {
+#line 4787 "AppWindow.c"
+ gint _tmp20_ = 0;
+ gint _tmp21_ = 0;
+ GMenuModel* subsection = NULL;
+ GMenuModel* _tmp22_ = NULL;
+ gint _tmp23_ = 0;
+ GMenuModel* _tmp24_ = NULL;
+ GMenuModel* _tmp25_ = NULL;
+ gint sub_items = 0;
+ GMenuModel* _tmp26_ = NULL;
+ gint _tmp27_ = 0;
+#line 803 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ if (!_tmp18_) {
+#line 4800 "AppWindow.c"
+ gint _tmp19_ = 0;
+#line 803 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp19_ = j;
+#line 803 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ j = _tmp19_ + 1;
+#line 4806 "AppWindow.c"
+ }
+#line 803 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp18_ = FALSE;
+#line 803 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp20_ = j;
+#line 803 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp21_ = model_items;
+#line 803 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ if (!(_tmp20_ < _tmp21_)) {
+#line 803 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ break;
+#line 4818 "AppWindow.c"
+ }
+#line 804 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp22_ = model;
+#line 804 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp23_ = j;
+#line 804 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp24_ = g_menu_model_get_item_link (_tmp22_, _tmp23_, G_MENU_LINK_SECTION);
+#line 804 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ subsection = _tmp24_;
+#line 806 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp25_ = subsection;
+#line 806 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ if (_tmp25_ == NULL) {
+#line 807 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _g_object_unref0 (subsection);
+#line 807 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ continue;
+#line 4836 "AppWindow.c"
+ }
+#line 810 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp26_ = subsection;
+#line 810 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp27_ = g_menu_model_get_n_items (_tmp26_);
+#line 810 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ sub_items = _tmp27_;
+#line 4844 "AppWindow.c"
+ {
+ gint k = 0;
+#line 811 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ k = 0;
+#line 4849 "AppWindow.c"
+ {
+ gboolean _tmp28_ = FALSE;
+#line 811 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp28_ = TRUE;
+#line 811 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ while (TRUE) {
+#line 4856 "AppWindow.c"
+ gint _tmp30_ = 0;
+ gint _tmp31_ = 0;
+ GMenuAttributeIter* it = NULL;
+ GMenuModel* _tmp32_ = NULL;
+ gint _tmp33_ = 0;
+ GMenuAttributeIter* _tmp34_ = NULL;
+#line 811 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ if (!_tmp28_) {
+#line 4865 "AppWindow.c"
+ gint _tmp29_ = 0;
+#line 811 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp29_ = k;
+#line 811 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ k = _tmp29_ + 1;
+#line 4871 "AppWindow.c"
+ }
+#line 811 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp28_ = FALSE;
+#line 811 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp30_ = k;
+#line 811 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp31_ = sub_items;
+#line 811 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ if (!(_tmp30_ < _tmp31_)) {
+#line 811 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ break;
+#line 4883 "AppWindow.c"
+ }
+#line 812 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp32_ = subsection;
+#line 812 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp33_ = k;
+#line 812 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp34_ = g_menu_model_iterate_item_attributes (_tmp32_, _tmp33_);
+#line 812 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ it = _tmp34_;
+#line 813 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ while (TRUE) {
+#line 4895 "AppWindow.c"
+ GMenuAttributeIter* _tmp35_ = NULL;
+ gboolean _tmp36_ = FALSE;
+ gboolean _tmp37_ = FALSE;
+ gboolean _tmp38_ = FALSE;
+ GMenuAttributeIter* _tmp39_ = NULL;
+ const gchar* _tmp40_ = NULL;
+#line 813 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp35_ = it;
+#line 813 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp36_ = g_menu_attribute_iter_next (_tmp35_);
+#line 813 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ if (!_tmp36_) {
+#line 813 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ break;
+#line 4910 "AppWindow.c"
+ }
+#line 814 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp39_ = it;
+#line 814 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp40_ = g_menu_attribute_iter_get_name (_tmp39_);
+#line 814 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ if (g_strcmp0 (_tmp40_, "id") == 0) {
+#line 4918 "AppWindow.c"
+ GMenuAttributeIter* _tmp41_ = NULL;
+ GVariant* _tmp42_ = NULL;
+ GVariant* _tmp43_ = NULL;
+ const gchar* _tmp44_ = NULL;
+ const gchar* _tmp45_ = NULL;
+#line 814 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp41_ = it;
+#line 814 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp42_ = g_menu_attribute_iter_get_value (_tmp41_);
+#line 814 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp43_ = _tmp42_;
+#line 814 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp44_ = g_variant_get_string (_tmp43_, NULL);
+#line 814 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp45_ = id;
+#line 814 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp38_ = g_strcmp0 (_tmp44_, _tmp45_) == 0;
+#line 814 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _g_variant_unref0 (_tmp43_);
+#line 4938 "AppWindow.c"
+ } else {
+#line 814 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp38_ = FALSE;
+#line 4942 "AppWindow.c"
+ }
+#line 814 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ if (_tmp38_) {
+#line 814 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp37_ = TRUE;
+#line 4948 "AppWindow.c"
+ } else {
+ gboolean _tmp46_ = FALSE;
+ GMenuAttributeIter* _tmp47_ = NULL;
+ const gchar* _tmp48_ = NULL;
+#line 815 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp47_ = it;
+#line 815 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp48_ = g_menu_attribute_iter_get_name (_tmp47_);
+#line 815 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ if (g_strcmp0 (_tmp48_, "action") == 0) {
+#line 4959 "AppWindow.c"
+ GMenuAttributeIter* _tmp49_ = NULL;
+ GVariant* _tmp50_ = NULL;
+ GVariant* _tmp51_ = NULL;
+ const gchar* _tmp52_ = NULL;
+ const gchar* _tmp53_ = NULL;
+ gchar* _tmp54_ = NULL;
+ gchar* _tmp55_ = NULL;
+ gboolean _tmp56_ = FALSE;
+#line 815 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp49_ = it;
+#line 815 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp50_ = g_menu_attribute_iter_get_value (_tmp49_);
+#line 815 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp51_ = _tmp50_;
+#line 815 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp52_ = g_variant_get_string (_tmp51_, NULL);
+#line 815 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp53_ = id;
+#line 815 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp54_ = g_strconcat (".", _tmp53_, NULL);
+#line 815 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp55_ = _tmp54_;
+#line 815 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp56_ = g_str_has_suffix (_tmp52_, _tmp55_);
+#line 815 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp46_ = _tmp56_;
+#line 815 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _g_free0 (_tmp55_);
+#line 815 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _g_variant_unref0 (_tmp51_);
+#line 4990 "AppWindow.c"
+ } else {
+#line 815 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp46_ = FALSE;
+#line 4994 "AppWindow.c"
+ }
+#line 815 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp37_ = _tmp46_;
+#line 4998 "AppWindow.c"
+ }
+#line 814 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ if (_tmp37_) {
+#line 5002 "AppWindow.c"
+ GMenu* md = NULL;
+ GMenuModel* _tmp57_ = NULL;
+ GMenu* _tmp58_ = NULL;
+ GMenuItem* m = NULL;
+ GMenuModel* _tmp59_ = NULL;
+ gint _tmp60_ = 0;
+ GMenuItem* _tmp61_ = NULL;
+ GMenuItem* _tmp62_ = NULL;
+ const gchar* _tmp63_ = NULL;
+ GMenu* _tmp64_ = NULL;
+ gint _tmp65_ = 0;
+ GMenu* _tmp66_ = NULL;
+ gint _tmp67_ = 0;
+ GMenuItem* _tmp68_ = NULL;
+#line 816 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp57_ = subsection;
+#line 816 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp58_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp57_, g_menu_get_type ()) ? ((GMenu*) _tmp57_) : NULL);
+#line 816 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ md = _tmp58_;
+#line 817 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp59_ = subsection;
+#line 817 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp60_ = k;
+#line 817 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp61_ = g_menu_item_new_from_model (_tmp59_, _tmp60_);
+#line 817 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ m = _tmp61_;
+#line 818 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp62_ = m;
+#line 818 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp63_ = new_label;
+#line 818 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ g_menu_item_set_label (_tmp62_, _tmp63_);
+#line 819 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp64_ = md;
+#line 819 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp65_ = k;
+#line 819 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ g_menu_remove (_tmp64_, _tmp65_);
+#line 820 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp66_ = md;
+#line 820 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp67_ = k;
+#line 820 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp68_ = m;
+#line 820 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ g_menu_insert_item (_tmp66_, _tmp67_, _tmp68_);
+#line 822 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _g_object_unref0 (m);
+#line 822 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _g_object_unref0 (md);
+#line 822 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _g_object_unref0 (it);
+#line 822 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _g_object_unref0 (subsection);
+#line 822 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _g_object_unref0 (model);
+#line 822 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _g_object_unref0 (bar);
+#line 822 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ return;
+#line 5065 "AppWindow.c"
+ }
+ }
+#line 811 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _g_object_unref0 (it);
+#line 5070 "AppWindow.c"
+ }
+ }
+ }
+#line 803 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _g_object_unref0 (subsection);
+#line 5076 "AppWindow.c"
+ }
+ }
+ }
+#line 796 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _g_object_unref0 (model);
+#line 5082 "AppWindow.c"
+ }
+ }
+ }
#line 787 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _g_object_unref0 (bar);
+#line 5088 "AppWindow.c"
+}
+
+
+static gpointer _command_manager_ref0 (gpointer self) {
+#line 833 "/home/jens/Source/shotwell/src/AppWindow.vala"
return self ? command_manager_ref (self) : NULL;
-#line 4644 "AppWindow.c"
+#line 5095 "AppWindow.c"
}
@@ -4679,41 +5130,150 @@ CommandManager* app_window_get_command_manager (void) {
CommandManager* result = NULL;
CommandManager* _tmp0_ = NULL;
CommandManager* _tmp1_ = NULL;
-#line 787 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 833 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = app_window_command_manager;
-#line 787 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 833 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = _command_manager_ref0 (_tmp0_);
-#line 787 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 833 "/home/jens/Source/shotwell/src/AppWindow.vala"
result = _tmp1_;
-#line 787 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 833 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 4660 "AppWindow.c"
+#line 5111 "AppWindow.c"
}
static void app_window_on_command_manager_altered (AppWindow* self) {
-#line 790 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 836 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (IS_APP_WINDOW (self));
-#line 791 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 837 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_decorate_undo_action (self);
-#line 792 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 838 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_decorate_redo_action (self);
-#line 4671 "AppWindow.c"
+#line 5122 "AppWindow.c"
}
static void app_window_decorate_command_manager_action (AppWindow* self, const gchar* name, const gchar* prefix, const gchar* default_explanation, CommandDescription* desc) {
-#line 795 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ GSimpleAction* action = NULL;
+ const gchar* _tmp0_ = NULL;
+ GAction* _tmp1_ = NULL;
+ GSimpleAction* _tmp2_ = NULL;
+ GSimpleAction* _tmp3_ = NULL;
+ gchar* label = NULL;
+ const gchar* _tmp4_ = NULL;
+ gchar* _tmp5_ = NULL;
+ CommandDescription* _tmp6_ = NULL;
+ const gchar* _tmp18_ = NULL;
+ const gchar* _tmp19_ = NULL;
+#line 841 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (IS_APP_WINDOW (self));
-#line 795 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 841 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (name != NULL);
-#line 795 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 841 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (prefix != NULL);
-#line 795 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 841 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (default_explanation != NULL);
-#line 795 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 841 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail ((desc == NULL) || IS_COMMAND_DESCRIPTION (desc));
-#line 4686 "AppWindow.c"
+#line 843 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp0_ = name;
+#line 843 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp1_ = app_window_get_common_action (self, _tmp0_);
+#line 843 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp2_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, g_simple_action_get_type ()) ? ((GSimpleAction*) _tmp1_) : NULL;
+#line 843 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ if (_tmp2_ == NULL) {
+#line 843 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _g_object_unref0 (_tmp1_);
+#line 5158 "AppWindow.c"
+ }
+#line 843 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ action = _tmp2_;
+#line 844 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp3_ = action;
+#line 844 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ if (_tmp3_ == NULL) {
+#line 845 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _g_object_unref0 (action);
+#line 845 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ return;
+#line 5170 "AppWindow.c"
+ }
+#line 848 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp4_ = prefix;
+#line 848 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp5_ = g_strdup (_tmp4_);
+#line 848 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ label = _tmp5_;
+#line 850 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp6_ = desc;
+#line 850 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ if (_tmp6_ != NULL) {
+#line 5182 "AppWindow.c"
+ const gchar* _tmp7_ = NULL;
+ CommandDescription* _tmp8_ = NULL;
+ gchar* _tmp9_ = NULL;
+ gchar* _tmp10_ = NULL;
+ gchar* _tmp11_ = NULL;
+ gchar* _tmp12_ = NULL;
+ gchar* _tmp13_ = NULL;
+ GSimpleAction* _tmp14_ = NULL;
+#line 851 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp7_ = label;
+#line 851 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp8_ = desc;
+#line 851 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp9_ = command_description_get_name (_tmp8_);
+#line 851 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp10_ = _tmp9_;
+#line 851 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp11_ = g_strconcat (" ", _tmp10_, NULL);
+#line 851 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp12_ = _tmp11_;
+#line 851 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp13_ = g_strconcat (_tmp7_, _tmp12_, NULL);
+#line 851 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _g_free0 (label);
+#line 851 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ label = _tmp13_;
+#line 851 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _g_free0 (_tmp12_);
+#line 851 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _g_free0 (_tmp10_);
+#line 852 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp14_ = action;
+#line 852 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ g_simple_action_set_enabled (_tmp14_, TRUE);
+#line 5217 "AppWindow.c"
+ } else {
+ const gchar* _tmp15_ = NULL;
+ gchar* _tmp16_ = NULL;
+ GSimpleAction* _tmp17_ = NULL;
+#line 854 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp15_ = prefix;
+#line 854 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp16_ = g_strdup (_tmp15_);
+#line 854 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _g_free0 (label);
+#line 854 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ label = _tmp16_;
+#line 855 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp17_ = action;
+#line 855 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ g_simple_action_set_enabled (_tmp17_, FALSE);
+#line 5234 "AppWindow.c"
+ }
+#line 857 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp18_ = name;
+#line 857 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _tmp19_ = label;
+#line 857 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ app_window_update_menu_item_label (self, _tmp18_, _tmp19_);
+#line 841 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _g_free0 (label);
+#line 841 "/home/jens/Source/shotwell/src/AppWindow.vala"
+ _g_object_unref0 (action);
+#line 5246 "AppWindow.c"
}
@@ -4722,23 +5282,23 @@ void app_window_decorate_undo_action (AppWindow* self) {
CommandManager* _tmp1_ = NULL;
CommandDescription* _tmp2_ = NULL;
CommandDescription* _tmp3_ = NULL;
-#line 814 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 860 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (IS_APP_WINDOW (self));
-#line 815 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 861 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = app_window_get_command_manager ();
-#line 815 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 861 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = _tmp0_;
-#line 815 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 861 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = command_manager_get_undo_description (_tmp1_);
-#line 815 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 861 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp3_ = _tmp2_;
-#line 815 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 861 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_decorate_command_manager_action (self, "CommonUndo", RESOURCES_UNDO_MENU, "", _tmp3_);
-#line 815 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 861 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp3_);
-#line 815 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 861 "/home/jens/Source/shotwell/src/AppWindow.vala"
_command_manager_unref0 (_tmp1_);
-#line 4711 "AppWindow.c"
+#line 5271 "AppWindow.c"
}
@@ -4747,47 +5307,47 @@ void app_window_decorate_redo_action (AppWindow* self) {
CommandManager* _tmp1_ = NULL;
CommandDescription* _tmp2_ = NULL;
CommandDescription* _tmp3_ = NULL;
-#line 819 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 865 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (IS_APP_WINDOW (self));
-#line 820 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 866 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = app_window_get_command_manager ();
-#line 820 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 866 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = _tmp0_;
-#line 820 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 866 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = command_manager_get_redo_description (_tmp1_);
-#line 820 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 866 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp3_ = _tmp2_;
-#line 820 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 866 "/home/jens/Source/shotwell/src/AppWindow.vala"
app_window_decorate_command_manager_action (self, "CommonRedo", RESOURCES_REDO_MENU, "", _tmp3_);
-#line 820 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 866 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp3_);
-#line 820 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 866 "/home/jens/Source/shotwell/src/AppWindow.vala"
_command_manager_unref0 (_tmp1_);
-#line 4736 "AppWindow.c"
+#line 5296 "AppWindow.c"
}
static void app_window_on_undo (AppWindow* self) {
CommandManager* _tmp0_ = NULL;
-#line 824 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 870 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (IS_APP_WINDOW (self));
-#line 825 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 871 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = app_window_command_manager;
-#line 825 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 871 "/home/jens/Source/shotwell/src/AppWindow.vala"
command_manager_undo (_tmp0_);
-#line 4748 "AppWindow.c"
+#line 5308 "AppWindow.c"
}
static void app_window_on_redo (AppWindow* self) {
CommandManager* _tmp0_ = NULL;
-#line 828 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 874 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (IS_APP_WINDOW (self));
-#line 829 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 875 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = app_window_command_manager;
-#line 829 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 875 "/home/jens/Source/shotwell/src/AppWindow.vala"
command_manager_redo (_tmp0_);
-#line 4760 "AppWindow.c"
+#line 5320 "AppWindow.c"
}
@@ -4796,43 +5356,43 @@ static void app_window_on_select_all (AppWindow* self) {
Page* _tmp0_ = NULL;
CheckerboardPage* _tmp1_ = NULL;
Page* _tmp2_ = NULL;
-#line 832 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 878 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (IS_APP_WINDOW (self));
-#line 833 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 879 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = page_window_get_current_page (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow));
-#line 833 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 879 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp0_, TYPE_CHECKERBOARD_PAGE) ? ((CheckerboardPage*) _tmp0_) : NULL;
-#line 833 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 879 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp1_ == NULL) {
-#line 833 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 879 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp0_);
-#line 4779 "AppWindow.c"
+#line 5339 "AppWindow.c"
}
-#line 833 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 879 "/home/jens/Source/shotwell/src/AppWindow.vala"
page = G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_PAGE, Page);
-#line 834 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 880 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = page;
-#line 834 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 880 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp2_ != NULL) {
-#line 4787 "AppWindow.c"
+#line 5347 "AppWindow.c"
Page* _tmp3_ = NULL;
ViewCollection* _tmp4_ = NULL;
ViewCollection* _tmp5_ = NULL;
-#line 835 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 881 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp3_ = page;
-#line 835 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 881 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp4_ = page_get_view (_tmp3_);
-#line 835 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 881 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp5_ = _tmp4_;
-#line 835 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 881 "/home/jens/Source/shotwell/src/AppWindow.vala"
view_collection_select_all (_tmp5_);
-#line 835 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 881 "/home/jens/Source/shotwell/src/AppWindow.vala"
_data_collection_unref0 (_tmp5_);
-#line 4801 "AppWindow.c"
+#line 5361 "AppWindow.c"
}
-#line 832 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 878 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (page);
-#line 4805 "AppWindow.c"
+#line 5365 "AppWindow.c"
}
@@ -4841,43 +5401,43 @@ static void app_window_on_select_none (AppWindow* self) {
Page* _tmp0_ = NULL;
CheckerboardPage* _tmp1_ = NULL;
Page* _tmp2_ = NULL;
-#line 838 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 884 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_if_fail (IS_APP_WINDOW (self));
-#line 839 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 885 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = page_window_get_current_page (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow));
-#line 839 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 885 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp0_, TYPE_CHECKERBOARD_PAGE) ? ((CheckerboardPage*) _tmp0_) : NULL;
-#line 839 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 885 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp1_ == NULL) {
-#line 839 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 885 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (_tmp0_);
-#line 4824 "AppWindow.c"
+#line 5384 "AppWindow.c"
}
-#line 839 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 885 "/home/jens/Source/shotwell/src/AppWindow.vala"
page = G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_PAGE, Page);
-#line 840 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 886 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = page;
-#line 840 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 886 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (_tmp2_ != NULL) {
-#line 4832 "AppWindow.c"
+#line 5392 "AppWindow.c"
Page* _tmp3_ = NULL;
ViewCollection* _tmp4_ = NULL;
ViewCollection* _tmp5_ = NULL;
-#line 841 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 887 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp3_ = page;
-#line 841 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 887 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp4_ = page_get_view (_tmp3_);
-#line 841 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 887 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp5_ = _tmp4_;
-#line 841 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 887 "/home/jens/Source/shotwell/src/AppWindow.vala"
view_collection_unselect_all (_tmp5_);
-#line 841 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 887 "/home/jens/Source/shotwell/src/AppWindow.vala"
_data_collection_unref0 (_tmp5_);
-#line 4846 "AppWindow.c"
+#line 5406 "AppWindow.c"
}
-#line 838 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 884 "/home/jens/Source/shotwell/src/AppWindow.vala"
_g_object_unref0 (page);
-#line 4850 "AppWindow.c"
+#line 5410 "AppWindow.c"
}
@@ -4889,40 +5449,40 @@ static gboolean app_window_real_configure_event (GtkWidget* base, GdkEventConfig
gboolean _tmp2_ = FALSE;
GdkEventConfigure* _tmp5_ = NULL;
gboolean _tmp6_ = FALSE;
-#line 844 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 890 "/home/jens/Source/shotwell/src/AppWindow.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_APP_WINDOW, AppWindow);
-#line 844 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 890 "/home/jens/Source/shotwell/src/AppWindow.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 845 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 891 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp0_ = gtk_widget_get_window (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
-#line 845 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 891 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp1_ = gdk_window_get_state (_tmp0_);
-#line 845 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 891 "/home/jens/Source/shotwell/src/AppWindow.vala"
self->maximized = _tmp1_ == GDK_WINDOW_STATE_MAXIMIZED;
-#line 847 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 893 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp2_ = self->maximized;
-#line 847 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 893 "/home/jens/Source/shotwell/src/AppWindow.vala"
if (!_tmp2_) {
-#line 4876 "AppWindow.c"
+#line 5436 "AppWindow.c"
gint _tmp3_ = 0;
gint _tmp4_ = 0;
-#line 848 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 894 "/home/jens/Source/shotwell/src/AppWindow.vala"
gtk_window_get_size (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), &_tmp3_, &_tmp4_);
-#line 848 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 894 "/home/jens/Source/shotwell/src/AppWindow.vala"
self->dimensions.width = _tmp3_;
-#line 848 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 894 "/home/jens/Source/shotwell/src/AppWindow.vala"
self->dimensions.height = _tmp4_;
-#line 4885 "AppWindow.c"
+#line 5445 "AppWindow.c"
}
-#line 850 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 896 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp5_ = event;
-#line 850 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 896 "/home/jens/Source/shotwell/src/AppWindow.vala"
_tmp6_ = GTK_WIDGET_CLASS (app_window_parent_class)->configure_event (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow), gtk_widget_get_type (), GtkWidget), _tmp5_);
-#line 850 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 896 "/home/jens/Source/shotwell/src/AppWindow.vala"
result = _tmp6_;
-#line 850 "/home/jens/Source/shotwell/src/AppWindow.vala"
+#line 896 "/home/jens/Source/shotwell/src/AppWindow.vala"
return result;
-#line 4895 "AppWindow.c"
+#line 5455 "AppWindow.c"
}
@@ -4949,7 +5509,7 @@ static void app_window_class_init (AppWindowClass * klass) {
((GtkWidgetClass *) klass)->configure_event = app_window_real_configure_event;
#line 392 "/home/jens/Source/shotwell/src/AppWindow.vala"
G_OBJECT_CLASS (klass)->finalize = app_window_finalize;
-#line 4922 "AppWindow.c"
+#line 5482 "AppWindow.c"
}
@@ -4960,7 +5520,7 @@ static void app_window_instance_init (AppWindow * self) {
self->pos_x = 0;
#line 405 "/home/jens/Source/shotwell/src/AppWindow.vala"
self->pos_y = 0;
-#line 4933 "AppWindow.c"
+#line 5493 "AppWindow.c"
}
@@ -4970,7 +5530,7 @@ static void app_window_finalize (GObject* obj) {
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_APP_WINDOW, AppWindow);
#line 392 "/home/jens/Source/shotwell/src/AppWindow.vala"
G_OBJECT_CLASS (app_window_parent_class)->finalize (obj);
-#line 4943 "AppWindow.c"
+#line 5503 "AppWindow.c"
}
diff --git a/src/AppWindow.vala b/src/AppWindow.vala
index 41751e8..99f054d 100644
--- a/src/AppWindow.vala
+++ b/src/AppWindow.vala
@@ -447,6 +447,7 @@ public abstract class AppWindow : PageWindow {
}
private const GLib.ActionEntry[] common_actions = {
+ { "CommonAbout", on_about },
{ "CommonQuit", on_quit },
{ "CommonFullscreen", on_fullscreen },
{ "CommonHelpContents", on_help_contents },
@@ -782,6 +783,51 @@ public abstract class AppWindow : PageWindow {
if (page != null)
update_common_actions(page, page.get_view().get_selected_count(), page.get_view().get_count());
}
+
+ public void update_menu_item_label (string id,
+ string new_label) {
+ var bar = this.get_current_page().get_menubar() as GLib.Menu;
+
+ if (bar == null) {
+ return;
+ }
+
+ var items = bar.get_n_items ();
+ for (var i = 0; i< items; i++) {
+ var model = bar.get_item_link (i, GLib.Menu.LINK_SUBMENU);
+ if (bar == null) {
+ continue;
+ }
+
+ var model_items = model.get_n_items ();
+ for (var j = 0; j < model_items; j++) {
+ var subsection = model.get_item_link (j, GLib.Menu.LINK_SECTION);
+
+ if (subsection == null)
+ continue;
+
+ // Recurse into submenus
+ var sub_items = subsection.get_n_items ();
+ for (var k = 0; k < sub_items; k++) {
+ var it = subsection.iterate_item_attributes (k);
+ while (it.next ()) {
+ if ((it.get_name() == "id" && it.get_value ().get_string () == id) ||
+ (it.get_name() == "action" && it.get_value().get_string().has_suffix("." + id))) {
+ var md = subsection as GLib.Menu;
+ var m = new GLib.MenuItem.from_model (subsection, k);
+ m.set_label (new_label);
+ md.remove (k);
+ md.insert_item (k, m);
+
+ return;
+ }
+ }
+ }
+ }
+ }
+ }
+
+
public static CommandManager get_command_manager() {
return command_manager;
@@ -794,21 +840,21 @@ public abstract class AppWindow : PageWindow {
private void decorate_command_manager_action(string name, string prefix,
string default_explanation, CommandDescription? desc) {
-#if 0
- Gtk.Action? action = get_common_action(name);
- if (action == null)
+ var action = get_common_action(name) as GLib.SimpleAction;
+ if (action == null) {
return;
-
+ }
+
+ string label = prefix;
+
if (desc != null) {
- action.label = "%s %s".printf(prefix, desc.get_name());
- action.tooltip = desc.get_explanation();
- action.sensitive = true;
+ label += " " + desc.get_name();
+ action.set_enabled(true);
} else {
- action.label = prefix;
- action.tooltip = default_explanation;
- action.sensitive = false;
+ label = prefix;
+ action.set_enabled(false);
}
-#endif
+ this.update_menu_item_label(name, label);
}
public void decorate_undo_action() {
diff --git a/src/Application.c b/src/Application.c
index 7f33933..8d958cc 100644
--- a/src/Application.c
+++ b/src/Application.c
@@ -1,4 +1,4 @@
-/* Application.c generated by valac 0.34.2, the Vala compiler
+/* Application.c generated by valac 0.32.1, the Vala compiler
* generated from Application.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -127,6 +127,7 @@ gboolean application_get_is_remote (void);
gboolean application_get_is_direct (void);
void application_set_accels_for_action (const gchar* action, gchar** accel, int accel_length1);
void application_set_menubar (GMenuModel* model);
+void application_set_appmenu (GMenuModel* model);
GType page_window_get_type (void) G_GNUC_CONST;
GType app_window_get_type (void) G_GNUC_CONST;
GType library_window_get_type (void) G_GNUC_CONST;
@@ -156,7 +157,7 @@ void application_set_raw_thumbs_fix_required (Application* self, gboolean should
_tmp0_ = should_fixup;
#line 25 "/home/jens/Source/shotwell/src/Application.vala"
self->priv->fixup_raw_thumbs = _tmp0_;
-#line 160 "Application.c"
+#line 161 "Application.c"
}
@@ -171,14 +172,14 @@ gboolean application_get_raw_thumbs_fix_required (Application* self) {
result = _tmp0_;
#line 29 "/home/jens/Source/shotwell/src/Application.vala"
return result;
-#line 175 "Application.c"
+#line 176 "Application.c"
}
static gpointer _g_object_ref0 (gpointer self) {
#line 33 "/home/jens/Source/shotwell/src/Application.vala"
return self ? g_object_ref (self) : NULL;
-#line 182 "Application.c"
+#line 183 "Application.c"
}
@@ -196,7 +197,7 @@ GtkApplication* application_get_system_app (Application* self) {
result = _tmp1_;
#line 33 "/home/jens/Source/shotwell/src/Application.vala"
return result;
-#line 200 "Application.c"
+#line 201 "Application.c"
}
@@ -205,21 +206,21 @@ static gint _application_on_command_line_g_application_command_line (GApplicatio
result = application_on_command_line (command_line);
#line 65 "/home/jens/Source/shotwell/src/Application.vala"
return result;
-#line 209 "Application.c"
+#line 210 "Application.c"
}
static void _application_on_activated_g_application_activate (GApplication* _sender, gpointer self) {
#line 68 "/home/jens/Source/shotwell/src/Application.vala"
application_on_activated ();
-#line 216 "Application.c"
+#line 217 "Application.c"
}
static void _application_on_activated_g_application_startup (GApplication* _sender, gpointer self) {
#line 69 "/home/jens/Source/shotwell/src/Application.vala"
application_on_activated ();
-#line 223 "Application.c"
+#line 224 "Application.c"
}
@@ -237,7 +238,7 @@ static Application* application_construct (GType object_type, gboolean is_direct
_tmp0_ = is_direct;
#line 40 "/home/jens/Source/shotwell/src/Application.vala"
if (_tmp0_) {
-#line 241 "Application.c"
+#line 242 "Application.c"
GtkApplication* _tmp1_ = NULL;
#line 45 "/home/jens/Source/shotwell/src/Application.vala"
_tmp1_ = gtk_application_new ("org.yorba.shotwell-direct", G_APPLICATION_HANDLES_OPEN | G_APPLICATION_NON_UNIQUE);
@@ -245,7 +246,7 @@ static Application* application_construct (GType object_type, gboolean is_direct
_g_object_unref0 (self->priv->system_app);
#line 45 "/home/jens/Source/shotwell/src/Application.vala"
self->priv->system_app = _tmp1_;
-#line 249 "Application.c"
+#line 250 "Application.c"
} else {
GtkApplication* _tmp2_ = NULL;
#line 51 "/home/jens/Source/shotwell/src/Application.vala"
@@ -254,7 +255,7 @@ static Application* application_construct (GType object_type, gboolean is_direct
_g_object_unref0 (self->priv->system_app);
#line 51 "/home/jens/Source/shotwell/src/Application.vala"
self->priv->system_app = _tmp2_;
-#line 258 "Application.c"
+#line 259 "Application.c"
}
{
GtkApplication* _tmp3_ = NULL;
@@ -264,12 +265,12 @@ static Application* application_construct (GType object_type, gboolean is_direct
g_application_register (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, g_application_get_type (), GApplication), NULL, &_inner_error_);
#line 57 "/home/jens/Source/shotwell/src/Application.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 268 "Application.c"
- goto __catch557_g_error;
+#line 269 "Application.c"
+ goto __catch555_g_error;
}
}
- goto __finally557;
- __catch557_g_error:
+ goto __finally555;
+ __catch555_g_error:
{
GError* e = NULL;
#line 56 "/home/jens/Source/shotwell/src/Application.vala"
@@ -280,9 +281,9 @@ static Application* application_construct (GType object_type, gboolean is_direct
application_panic (self);
#line 56 "/home/jens/Source/shotwell/src/Application.vala"
_g_error_free0 (e);
-#line 284 "Application.c"
+#line 285 "Application.c"
}
- __finally557:
+ __finally555:
#line 56 "/home/jens/Source/shotwell/src/Application.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 56 "/home/jens/Source/shotwell/src/Application.vala"
@@ -291,7 +292,7 @@ static Application* application_construct (GType object_type, gboolean is_direct
g_clear_error (&_inner_error_);
#line 56 "/home/jens/Source/shotwell/src/Application.vala"
return NULL;
-#line 295 "Application.c"
+#line 296 "Application.c"
}
#line 62 "/home/jens/Source/shotwell/src/Application.vala"
_tmp4_ = is_direct;
@@ -301,13 +302,13 @@ static Application* application_construct (GType object_type, gboolean is_direct
_tmp5_ = self->priv->direct;
#line 64 "/home/jens/Source/shotwell/src/Application.vala"
if (!_tmp5_) {
-#line 305 "Application.c"
+#line 306 "Application.c"
GtkApplication* _tmp6_ = NULL;
#line 65 "/home/jens/Source/shotwell/src/Application.vala"
_tmp6_ = self->priv->system_app;
#line 65 "/home/jens/Source/shotwell/src/Application.vala"
g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, g_application_get_type (), GApplication), "command-line", (GCallback) _application_on_command_line_g_application_command_line, NULL);
-#line 311 "Application.c"
+#line 312 "Application.c"
}
#line 68 "/home/jens/Source/shotwell/src/Application.vala"
_tmp7_ = self->priv->system_app;
@@ -319,14 +320,14 @@ static Application* application_construct (GType object_type, gboolean is_direct
g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, g_application_get_type (), GApplication), "startup", (GCallback) _application_on_activated_g_application_startup, NULL);
#line 39 "/home/jens/Source/shotwell/src/Application.vala"
return self;
-#line 323 "Application.c"
+#line 324 "Application.c"
}
static Application* application_new (gboolean is_direct) {
#line 39 "/home/jens/Source/shotwell/src/Application.vala"
return application_construct (TYPE_APPLICATION, is_direct);
-#line 330 "Application.c"
+#line 331 "Application.c"
}
@@ -355,7 +356,7 @@ void application_send_to_primary_instance (gchar** argv, int argv_length1) {
g_application_run (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, g_application_get_type (), GApplication), _tmp3__length1, _tmp3_);
#line 78 "/home/jens/Source/shotwell/src/Application.vala"
_application_unref0 (_tmp1_);
-#line 359 "Application.c"
+#line 360 "Application.c"
}
@@ -378,7 +379,7 @@ void application_present_primary_instance (void) {
g_application_activate (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, g_application_get_type (), GApplication));
#line 87 "/home/jens/Source/shotwell/src/Application.vala"
_application_unref0 (_tmp1_);
-#line 382 "Application.c"
+#line 383 "Application.c"
}
@@ -405,7 +406,7 @@ gboolean application_get_is_remote (void) {
result = _tmp4_;
#line 91 "/home/jens/Source/shotwell/src/Application.vala"
return result;
-#line 409 "Application.c"
+#line 410 "Application.c"
}
@@ -429,7 +430,7 @@ gboolean application_get_is_direct (void) {
result = _tmp3_;
#line 95 "/home/jens/Source/shotwell/src/Application.vala"
return result;
-#line 433 "Application.c"
+#line 434 "Application.c"
}
@@ -458,7 +459,7 @@ void application_set_accels_for_action (const gchar* action, gchar** accel, int
gtk_application_set_accels_for_action (_tmp2_, _tmp3_, _tmp4_);
#line 99 "/home/jens/Source/shotwell/src/Application.vala"
_application_unref0 (_tmp1_);
-#line 462 "Application.c"
+#line 463 "Application.c"
}
@@ -481,7 +482,30 @@ void application_set_menubar (GMenuModel* model) {
gtk_application_set_menubar (_tmp2_, _tmp3_);
#line 103 "/home/jens/Source/shotwell/src/Application.vala"
_application_unref0 (_tmp1_);
-#line 485 "Application.c"
+#line 486 "Application.c"
+}
+
+
+void application_set_appmenu (GMenuModel* model) {
+ Application* _tmp0_ = NULL;
+ Application* _tmp1_ = NULL;
+ GtkApplication* _tmp2_ = NULL;
+ GMenuModel* _tmp3_ = NULL;
+#line 106 "/home/jens/Source/shotwell/src/Application.vala"
+ g_return_if_fail ((model == NULL) || G_IS_MENU_MODEL (model));
+#line 107 "/home/jens/Source/shotwell/src/Application.vala"
+ _tmp0_ = application_get_instance ();
+#line 107 "/home/jens/Source/shotwell/src/Application.vala"
+ _tmp1_ = _tmp0_;
+#line 107 "/home/jens/Source/shotwell/src/Application.vala"
+ _tmp2_ = _tmp1_->priv->system_app;
+#line 107 "/home/jens/Source/shotwell/src/Application.vala"
+ _tmp3_ = model;
+#line 107 "/home/jens/Source/shotwell/src/Application.vala"
+ gtk_application_set_app_menu (_tmp2_, _tmp3_);
+#line 107 "/home/jens/Source/shotwell/src/Application.vala"
+ _application_unref0 (_tmp1_);
+#line 509 "Application.c"
}
@@ -501,58 +525,58 @@ void application_on_activated (void) {
LibraryWindow* _tmp3_ = NULL;
gboolean _tmp4_ = FALSE;
LibraryWindow* _tmp5_ = NULL;
-#line 115 "/home/jens/Source/shotwell/src/Application.vala"
+#line 119 "/home/jens/Source/shotwell/src/Application.vala"
_tmp0_ = application_get_instance ();
-#line 115 "/home/jens/Source/shotwell/src/Application.vala"
+#line 119 "/home/jens/Source/shotwell/src/Application.vala"
_tmp1_ = _tmp0_;
-#line 115 "/home/jens/Source/shotwell/src/Application.vala"
+#line 119 "/home/jens/Source/shotwell/src/Application.vala"
_application_unref0 (_tmp1_);
-#line 117 "/home/jens/Source/shotwell/src/Application.vala"
+#line 121 "/home/jens/Source/shotwell/src/Application.vala"
_tmp2_ = app_window_get_instance ();
-#line 117 "/home/jens/Source/shotwell/src/Application.vala"
+#line 121 "/home/jens/Source/shotwell/src/Application.vala"
_tmp3_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp2_, TYPE_LIBRARY_WINDOW) ? ((LibraryWindow*) _tmp2_) : NULL;
-#line 117 "/home/jens/Source/shotwell/src/Application.vala"
+#line 121 "/home/jens/Source/shotwell/src/Application.vala"
if (_tmp3_ == NULL) {
-#line 117 "/home/jens/Source/shotwell/src/Application.vala"
+#line 121 "/home/jens/Source/shotwell/src/Application.vala"
_g_object_unref0 (_tmp2_);
-#line 519 "Application.c"
+#line 543 "Application.c"
}
-#line 117 "/home/jens/Source/shotwell/src/Application.vala"
+#line 121 "/home/jens/Source/shotwell/src/Application.vala"
lw = _tmp3_;
-#line 118 "/home/jens/Source/shotwell/src/Application.vala"
+#line 122 "/home/jens/Source/shotwell/src/Application.vala"
_tmp5_ = lw;
-#line 118 "/home/jens/Source/shotwell/src/Application.vala"
+#line 122 "/home/jens/Source/shotwell/src/Application.vala"
if (_tmp5_ != NULL) {
-#line 527 "Application.c"
+#line 551 "Application.c"
gboolean _tmp6_ = FALSE;
-#line 118 "/home/jens/Source/shotwell/src/Application.vala"
+#line 122 "/home/jens/Source/shotwell/src/Application.vala"
_tmp6_ = application_get_is_direct ();
-#line 118 "/home/jens/Source/shotwell/src/Application.vala"
+#line 122 "/home/jens/Source/shotwell/src/Application.vala"
_tmp4_ = !_tmp6_;
-#line 533 "Application.c"
+#line 557 "Application.c"
} else {
-#line 118 "/home/jens/Source/shotwell/src/Application.vala"
+#line 122 "/home/jens/Source/shotwell/src/Application.vala"
_tmp4_ = FALSE;
-#line 537 "Application.c"
+#line 561 "Application.c"
}
-#line 118 "/home/jens/Source/shotwell/src/Application.vala"
+#line 122 "/home/jens/Source/shotwell/src/Application.vala"
if (_tmp4_) {
-#line 541 "Application.c"
+#line 565 "Application.c"
LibraryWindow* _tmp7_ = NULL;
LibraryWindow* _tmp8_ = NULL;
-#line 119 "/home/jens/Source/shotwell/src/Application.vala"
+#line 123 "/home/jens/Source/shotwell/src/Application.vala"
_tmp7_ = library_window_get_app ();
-#line 119 "/home/jens/Source/shotwell/src/Application.vala"
+#line 123 "/home/jens/Source/shotwell/src/Application.vala"
_tmp8_ = _tmp7_;
-#line 119 "/home/jens/Source/shotwell/src/Application.vala"
+#line 123 "/home/jens/Source/shotwell/src/Application.vala"
gtk_window_present (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, gtk_window_get_type (), GtkWindow));
-#line 119 "/home/jens/Source/shotwell/src/Application.vala"
+#line 123 "/home/jens/Source/shotwell/src/Application.vala"
_g_object_unref0 (_tmp8_);
-#line 552 "Application.c"
+#line 576 "Application.c"
}
-#line 114 "/home/jens/Source/shotwell/src/Application.vala"
+#line 118 "/home/jens/Source/shotwell/src/Application.vala"
_g_object_unref0 (lw);
-#line 556 "Application.c"
+#line 580 "Application.c"
}
@@ -574,101 +598,101 @@ gint application_on_command_line (GApplicationCommandLine* acl) {
gint _argv_size_ = 0;
gchar** _tmp3_ = NULL;
gint _tmp3__length1 = 0;
-#line 131 "/home/jens/Source/shotwell/src/Application.vala"
+#line 135 "/home/jens/Source/shotwell/src/Application.vala"
g_return_val_if_fail (G_IS_APPLICATION_COMMAND_LINE (acl), 0);
-#line 132 "/home/jens/Source/shotwell/src/Application.vala"
+#line 136 "/home/jens/Source/shotwell/src/Application.vala"
_tmp0_ = acl;
-#line 132 "/home/jens/Source/shotwell/src/Application.vala"
+#line 136 "/home/jens/Source/shotwell/src/Application.vala"
_tmp2_ = g_application_command_line_get_arguments (_tmp0_, &_tmp1_);
-#line 132 "/home/jens/Source/shotwell/src/Application.vala"
+#line 136 "/home/jens/Source/shotwell/src/Application.vala"
argv = _tmp2_;
-#line 132 "/home/jens/Source/shotwell/src/Application.vala"
+#line 136 "/home/jens/Source/shotwell/src/Application.vala"
argv_length1 = _tmp1_;
-#line 132 "/home/jens/Source/shotwell/src/Application.vala"
+#line 136 "/home/jens/Source/shotwell/src/Application.vala"
_argv_size_ = argv_length1;
-#line 134 "/home/jens/Source/shotwell/src/Application.vala"
+#line 138 "/home/jens/Source/shotwell/src/Application.vala"
_tmp3_ = argv;
-#line 134 "/home/jens/Source/shotwell/src/Application.vala"
+#line 138 "/home/jens/Source/shotwell/src/Application.vala"
_tmp3__length1 = argv_length1;
-#line 134 "/home/jens/Source/shotwell/src/Application.vala"
+#line 138 "/home/jens/Source/shotwell/src/Application.vala"
if (_tmp3_ != NULL) {
-#line 596 "Application.c"
+#line 620 "Application.c"
gchar** _tmp4_ = NULL;
gint _tmp4__length1 = 0;
-#line 135 "/home/jens/Source/shotwell/src/Application.vala"
+#line 139 "/home/jens/Source/shotwell/src/Application.vala"
_tmp4_ = argv;
-#line 135 "/home/jens/Source/shotwell/src/Application.vala"
+#line 139 "/home/jens/Source/shotwell/src/Application.vala"
_tmp4__length1 = argv_length1;
-#line 603 "Application.c"
+#line 627 "Application.c"
{
gchar** s_collection = NULL;
gint s_collection_length1 = 0;
gint _s_collection_size_ = 0;
gint s_it = 0;
-#line 135 "/home/jens/Source/shotwell/src/Application.vala"
+#line 139 "/home/jens/Source/shotwell/src/Application.vala"
s_collection = _tmp4_;
-#line 135 "/home/jens/Source/shotwell/src/Application.vala"
+#line 139 "/home/jens/Source/shotwell/src/Application.vala"
s_collection_length1 = _tmp4__length1;
-#line 135 "/home/jens/Source/shotwell/src/Application.vala"
+#line 139 "/home/jens/Source/shotwell/src/Application.vala"
for (s_it = 0; s_it < _tmp4__length1; s_it = s_it + 1) {
-#line 615 "Application.c"
+#line 639 "Application.c"
gchar* _tmp5_ = NULL;
gchar* s = NULL;
-#line 135 "/home/jens/Source/shotwell/src/Application.vala"
+#line 139 "/home/jens/Source/shotwell/src/Application.vala"
_tmp5_ = g_strdup (s_collection[s_it]);
-#line 135 "/home/jens/Source/shotwell/src/Application.vala"
+#line 139 "/home/jens/Source/shotwell/src/Application.vala"
s = _tmp5_;
-#line 622 "Application.c"
+#line 646 "Application.c"
{
LibraryWindow* lw = NULL;
AppWindow* _tmp6_ = NULL;
LibraryWindow* _tmp7_ = NULL;
LibraryWindow* _tmp8_ = NULL;
-#line 136 "/home/jens/Source/shotwell/src/Application.vala"
+#line 140 "/home/jens/Source/shotwell/src/Application.vala"
_tmp6_ = app_window_get_instance ();
-#line 136 "/home/jens/Source/shotwell/src/Application.vala"
+#line 140 "/home/jens/Source/shotwell/src/Application.vala"
_tmp7_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp6_, TYPE_LIBRARY_WINDOW) ? ((LibraryWindow*) _tmp6_) : NULL;
-#line 136 "/home/jens/Source/shotwell/src/Application.vala"
+#line 140 "/home/jens/Source/shotwell/src/Application.vala"
if (_tmp7_ == NULL) {
-#line 136 "/home/jens/Source/shotwell/src/Application.vala"
+#line 140 "/home/jens/Source/shotwell/src/Application.vala"
_g_object_unref0 (_tmp6_);
-#line 636 "Application.c"
+#line 660 "Application.c"
}
-#line 136 "/home/jens/Source/shotwell/src/Application.vala"
+#line 140 "/home/jens/Source/shotwell/src/Application.vala"
lw = _tmp7_;
-#line 137 "/home/jens/Source/shotwell/src/Application.vala"
+#line 141 "/home/jens/Source/shotwell/src/Application.vala"
_tmp8_ = lw;
-#line 137 "/home/jens/Source/shotwell/src/Application.vala"
+#line 141 "/home/jens/Source/shotwell/src/Application.vala"
if (_tmp8_ != NULL) {
-#line 644 "Application.c"
+#line 668 "Application.c"
LibraryWindow* _tmp9_ = NULL;
const gchar* _tmp10_ = NULL;
-#line 138 "/home/jens/Source/shotwell/src/Application.vala"
+#line 142 "/home/jens/Source/shotwell/src/Application.vala"
_tmp9_ = lw;
-#line 138 "/home/jens/Source/shotwell/src/Application.vala"
+#line 142 "/home/jens/Source/shotwell/src/Application.vala"
_tmp10_ = s;
-#line 138 "/home/jens/Source/shotwell/src/Application.vala"
+#line 142 "/home/jens/Source/shotwell/src/Application.vala"
library_window_mounted_camera_shell_notification (_tmp9_, _tmp10_, FALSE);
-#line 653 "Application.c"
+#line 677 "Application.c"
}
-#line 135 "/home/jens/Source/shotwell/src/Application.vala"
+#line 139 "/home/jens/Source/shotwell/src/Application.vala"
_g_object_unref0 (lw);
-#line 135 "/home/jens/Source/shotwell/src/Application.vala"
+#line 139 "/home/jens/Source/shotwell/src/Application.vala"
_g_free0 (s);
-#line 659 "Application.c"
+#line 683 "Application.c"
}
}
}
}
-#line 142 "/home/jens/Source/shotwell/src/Application.vala"
+#line 146 "/home/jens/Source/shotwell/src/Application.vala"
application_on_activated ();
-#line 143 "/home/jens/Source/shotwell/src/Application.vala"
+#line 147 "/home/jens/Source/shotwell/src/Application.vala"
result = 0;
-#line 143 "/home/jens/Source/shotwell/src/Application.vala"
+#line 147 "/home/jens/Source/shotwell/src/Application.vala"
argv = (_vala_array_free (argv, argv_length1, (GDestroyNotify) g_free), NULL);
-#line 143 "/home/jens/Source/shotwell/src/Application.vala"
+#line 147 "/home/jens/Source/shotwell/src/Application.vala"
return result;
-#line 672 "Application.c"
+#line 696 "Application.c"
}
@@ -685,22 +709,22 @@ gint application_on_command_line (GApplicationCommandLine* acl) {
*/
void application_init (gboolean is_direct) {
Application* _tmp0_ = NULL;
-#line 158 "/home/jens/Source/shotwell/src/Application.vala"
+#line 162 "/home/jens/Source/shotwell/src/Application.vala"
_tmp0_ = application_instance;
-#line 158 "/home/jens/Source/shotwell/src/Application.vala"
+#line 162 "/home/jens/Source/shotwell/src/Application.vala"
if (_tmp0_ == NULL) {
-#line 693 "Application.c"
+#line 717 "Application.c"
gboolean _tmp1_ = FALSE;
Application* _tmp2_ = NULL;
-#line 159 "/home/jens/Source/shotwell/src/Application.vala"
+#line 163 "/home/jens/Source/shotwell/src/Application.vala"
_tmp1_ = is_direct;
-#line 159 "/home/jens/Source/shotwell/src/Application.vala"
+#line 163 "/home/jens/Source/shotwell/src/Application.vala"
_tmp2_ = application_new (_tmp1_);
-#line 159 "/home/jens/Source/shotwell/src/Application.vala"
+#line 163 "/home/jens/Source/shotwell/src/Application.vala"
_application_unref0 (application_instance);
-#line 159 "/home/jens/Source/shotwell/src/Application.vala"
+#line 163 "/home/jens/Source/shotwell/src/Application.vala"
application_instance = _tmp2_;
-#line 704 "Application.c"
+#line 728 "Application.c"
}
}
@@ -708,22 +732,22 @@ void application_init (gboolean is_direct) {
void application_terminate (void) {
Application* _tmp0_ = NULL;
Application* _tmp1_ = NULL;
-#line 163 "/home/jens/Source/shotwell/src/Application.vala"
+#line 167 "/home/jens/Source/shotwell/src/Application.vala"
_tmp0_ = application_get_instance ();
-#line 163 "/home/jens/Source/shotwell/src/Application.vala"
+#line 167 "/home/jens/Source/shotwell/src/Application.vala"
_tmp1_ = _tmp0_;
-#line 163 "/home/jens/Source/shotwell/src/Application.vala"
+#line 167 "/home/jens/Source/shotwell/src/Application.vala"
application_exit (_tmp1_);
-#line 163 "/home/jens/Source/shotwell/src/Application.vala"
+#line 167 "/home/jens/Source/shotwell/src/Application.vala"
_application_unref0 (_tmp1_);
-#line 720 "Application.c"
+#line 744 "Application.c"
}
static gpointer _application_ref0 (gpointer self) {
-#line 169 "/home/jens/Source/shotwell/src/Application.vala"
+#line 173 "/home/jens/Source/shotwell/src/Application.vala"
return self ? application_ref (self) : NULL;
-#line 727 "Application.c"
+#line 751 "Application.c"
}
@@ -732,19 +756,19 @@ Application* application_get_instance (void) {
Application* _tmp0_ = NULL;
Application* _tmp1_ = NULL;
Application* _tmp2_ = NULL;
-#line 167 "/home/jens/Source/shotwell/src/Application.vala"
+#line 171 "/home/jens/Source/shotwell/src/Application.vala"
_tmp0_ = application_instance;
-#line 167 "/home/jens/Source/shotwell/src/Application.vala"
+#line 171 "/home/jens/Source/shotwell/src/Application.vala"
_vala_assert (_tmp0_ != NULL, "instance != null");
-#line 169 "/home/jens/Source/shotwell/src/Application.vala"
+#line 173 "/home/jens/Source/shotwell/src/Application.vala"
_tmp1_ = application_instance;
-#line 169 "/home/jens/Source/shotwell/src/Application.vala"
+#line 173 "/home/jens/Source/shotwell/src/Application.vala"
_tmp2_ = _application_ref0 (_tmp1_);
-#line 169 "/home/jens/Source/shotwell/src/Application.vala"
+#line 173 "/home/jens/Source/shotwell/src/Application.vala"
result = _tmp2_;
-#line 169 "/home/jens/Source/shotwell/src/Application.vala"
+#line 173 "/home/jens/Source/shotwell/src/Application.vala"
return result;
-#line 748 "Application.c"
+#line 772 "Application.c"
}
@@ -764,78 +788,78 @@ void application_start (Application* self, gchar** argv, int argv_length1) {
guint _tmp13_ = 0U;
GtkApplication* _tmp14_ = NULL;
guint _tmp15_ = 0U;
-#line 172 "/home/jens/Source/shotwell/src/Application.vala"
+#line 176 "/home/jens/Source/shotwell/src/Application.vala"
g_return_if_fail (IS_APPLICATION (self));
-#line 173 "/home/jens/Source/shotwell/src/Application.vala"
+#line 177 "/home/jens/Source/shotwell/src/Application.vala"
_tmp0_ = self->priv->running;
-#line 173 "/home/jens/Source/shotwell/src/Application.vala"
+#line 177 "/home/jens/Source/shotwell/src/Application.vala"
if (_tmp0_) {
-#line 174 "/home/jens/Source/shotwell/src/Application.vala"
+#line 178 "/home/jens/Source/shotwell/src/Application.vala"
return;
-#line 776 "Application.c"
+#line 800 "Application.c"
}
-#line 176 "/home/jens/Source/shotwell/src/Application.vala"
+#line 180 "/home/jens/Source/shotwell/src/Application.vala"
self->priv->running = TRUE;
-#line 178 "/home/jens/Source/shotwell/src/Application.vala"
+#line 182 "/home/jens/Source/shotwell/src/Application.vala"
g_signal_emit_by_name (self, "starting");
-#line 180 "/home/jens/Source/shotwell/src/Application.vala"
+#line 184 "/home/jens/Source/shotwell/src/Application.vala"
_tmp1_ = app_window_get_instance ();
-#line 180 "/home/jens/Source/shotwell/src/Application.vala"
+#line 184 "/home/jens/Source/shotwell/src/Application.vala"
_tmp2_ = _tmp1_;
-#line 180 "/home/jens/Source/shotwell/src/Application.vala"
+#line 184 "/home/jens/Source/shotwell/src/Application.vala"
_vala_assert (_tmp2_ != NULL, "AppWindow.get_instance() != null");
-#line 180 "/home/jens/Source/shotwell/src/Application.vala"
+#line 184 "/home/jens/Source/shotwell/src/Application.vala"
_g_object_unref0 (_tmp2_);
-#line 181 "/home/jens/Source/shotwell/src/Application.vala"
+#line 185 "/home/jens/Source/shotwell/src/Application.vala"
_tmp3_ = self->priv->system_app;
-#line 181 "/home/jens/Source/shotwell/src/Application.vala"
+#line 185 "/home/jens/Source/shotwell/src/Application.vala"
_tmp4_ = app_window_get_instance ();
-#line 181 "/home/jens/Source/shotwell/src/Application.vala"
+#line 185 "/home/jens/Source/shotwell/src/Application.vala"
_tmp5_ = _tmp4_;
-#line 181 "/home/jens/Source/shotwell/src/Application.vala"
+#line 185 "/home/jens/Source/shotwell/src/Application.vala"
gtk_application_add_window (_tmp3_, G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_window_get_type (), GtkWindow));
-#line 181 "/home/jens/Source/shotwell/src/Application.vala"
+#line 185 "/home/jens/Source/shotwell/src/Application.vala"
_g_object_unref0 (_tmp5_);
-#line 182 "/home/jens/Source/shotwell/src/Application.vala"
+#line 186 "/home/jens/Source/shotwell/src/Application.vala"
_tmp6_ = self->priv->system_app;
-#line 182 "/home/jens/Source/shotwell/src/Application.vala"
+#line 186 "/home/jens/Source/shotwell/src/Application.vala"
_tmp7_ = argv;
-#line 182 "/home/jens/Source/shotwell/src/Application.vala"
+#line 186 "/home/jens/Source/shotwell/src/Application.vala"
_tmp7__length1 = argv_length1;
-#line 182 "/home/jens/Source/shotwell/src/Application.vala"
+#line 186 "/home/jens/Source/shotwell/src/Application.vala"
_tmp8_ = g_application_run (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, g_application_get_type (), GApplication), _tmp7__length1, _tmp7_);
-#line 182 "/home/jens/Source/shotwell/src/Application.vala"
+#line 186 "/home/jens/Source/shotwell/src/Application.vala"
self->priv->system_app_run_retval = _tmp8_;
-#line 184 "/home/jens/Source/shotwell/src/Application.vala"
+#line 188 "/home/jens/Source/shotwell/src/Application.vala"
_tmp9_ = self->priv->direct;
-#line 184 "/home/jens/Source/shotwell/src/Application.vala"
+#line 188 "/home/jens/Source/shotwell/src/Application.vala"
if (!_tmp9_) {
-#line 814 "Application.c"
+#line 838 "Application.c"
GtkApplication* _tmp10_ = NULL;
guint _tmp11_ = 0U;
-#line 185 "/home/jens/Source/shotwell/src/Application.vala"
+#line 189 "/home/jens/Source/shotwell/src/Application.vala"
_tmp10_ = self->priv->system_app;
-#line 185 "/home/jens/Source/shotwell/src/Application.vala"
+#line 189 "/home/jens/Source/shotwell/src/Application.vala"
g_signal_parse_name ("command-line", g_application_get_type (), &_tmp11_, NULL, FALSE);
-#line 185 "/home/jens/Source/shotwell/src/Application.vala"
+#line 189 "/home/jens/Source/shotwell/src/Application.vala"
g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, g_application_get_type (), GApplication), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp11_, 0, NULL, (GCallback) _application_on_command_line_g_application_command_line, NULL);
-#line 823 "Application.c"
+#line 847 "Application.c"
}
-#line 188 "/home/jens/Source/shotwell/src/Application.vala"
+#line 192 "/home/jens/Source/shotwell/src/Application.vala"
_tmp12_ = self->priv->system_app;
-#line 188 "/home/jens/Source/shotwell/src/Application.vala"
+#line 192 "/home/jens/Source/shotwell/src/Application.vala"
g_signal_parse_name ("activate", g_application_get_type (), &_tmp13_, NULL, FALSE);
-#line 188 "/home/jens/Source/shotwell/src/Application.vala"
+#line 192 "/home/jens/Source/shotwell/src/Application.vala"
g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, g_application_get_type (), GApplication), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp13_, 0, NULL, (GCallback) _application_on_activated_g_application_activate, NULL);
-#line 189 "/home/jens/Source/shotwell/src/Application.vala"
+#line 193 "/home/jens/Source/shotwell/src/Application.vala"
_tmp14_ = self->priv->system_app;
-#line 189 "/home/jens/Source/shotwell/src/Application.vala"
+#line 193 "/home/jens/Source/shotwell/src/Application.vala"
g_signal_parse_name ("startup", g_application_get_type (), &_tmp15_, NULL, FALSE);
-#line 189 "/home/jens/Source/shotwell/src/Application.vala"
+#line 193 "/home/jens/Source/shotwell/src/Application.vala"
g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, g_application_get_type (), GApplication), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp15_, 0, NULL, (GCallback) _application_on_activated_g_application_startup, NULL);
-#line 191 "/home/jens/Source/shotwell/src/Application.vala"
+#line 195 "/home/jens/Source/shotwell/src/Application.vala"
self->priv->running = FALSE;
-#line 839 "Application.c"
+#line 863 "Application.c"
}
@@ -843,58 +867,58 @@ void application_exit (Application* self) {
gboolean _tmp0_ = FALSE;
gboolean _tmp1_ = FALSE;
GtkApplication* _tmp3_ = NULL;
-#line 194 "/home/jens/Source/shotwell/src/Application.vala"
+#line 198 "/home/jens/Source/shotwell/src/Application.vala"
g_return_if_fail (IS_APPLICATION (self));
-#line 197 "/home/jens/Source/shotwell/src/Application.vala"
+#line 201 "/home/jens/Source/shotwell/src/Application.vala"
_tmp1_ = self->priv->exiting_fired;
-#line 197 "/home/jens/Source/shotwell/src/Application.vala"
+#line 201 "/home/jens/Source/shotwell/src/Application.vala"
if (_tmp1_) {
-#line 197 "/home/jens/Source/shotwell/src/Application.vala"
+#line 201 "/home/jens/Source/shotwell/src/Application.vala"
_tmp0_ = TRUE;
-#line 855 "Application.c"
+#line 879 "Application.c"
} else {
gboolean _tmp2_ = FALSE;
-#line 197 "/home/jens/Source/shotwell/src/Application.vala"
+#line 201 "/home/jens/Source/shotwell/src/Application.vala"
_tmp2_ = self->priv->running;
-#line 197 "/home/jens/Source/shotwell/src/Application.vala"
+#line 201 "/home/jens/Source/shotwell/src/Application.vala"
_tmp0_ = !_tmp2_;
-#line 862 "Application.c"
+#line 886 "Application.c"
}
-#line 197 "/home/jens/Source/shotwell/src/Application.vala"
+#line 201 "/home/jens/Source/shotwell/src/Application.vala"
if (_tmp0_) {
-#line 198 "/home/jens/Source/shotwell/src/Application.vala"
+#line 202 "/home/jens/Source/shotwell/src/Application.vala"
return;
-#line 868 "Application.c"
+#line 892 "Application.c"
}
-#line 200 "/home/jens/Source/shotwell/src/Application.vala"
+#line 204 "/home/jens/Source/shotwell/src/Application.vala"
self->priv->exiting_fired = TRUE;
-#line 202 "/home/jens/Source/shotwell/src/Application.vala"
+#line 206 "/home/jens/Source/shotwell/src/Application.vala"
g_signal_emit_by_name (self, "exiting", FALSE);
-#line 204 "/home/jens/Source/shotwell/src/Application.vala"
+#line 208 "/home/jens/Source/shotwell/src/Application.vala"
_tmp3_ = self->priv->system_app;
-#line 204 "/home/jens/Source/shotwell/src/Application.vala"
+#line 208 "/home/jens/Source/shotwell/src/Application.vala"
g_application_release (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, g_application_get_type (), GApplication));
-#line 878 "Application.c"
+#line 902 "Application.c"
}
void application_panic (Application* self) {
gboolean _tmp0_ = FALSE;
-#line 209 "/home/jens/Source/shotwell/src/Application.vala"
+#line 213 "/home/jens/Source/shotwell/src/Application.vala"
g_return_if_fail (IS_APPLICATION (self));
-#line 210 "/home/jens/Source/shotwell/src/Application.vala"
+#line 214 "/home/jens/Source/shotwell/src/Application.vala"
_tmp0_ = self->priv->exiting_fired;
-#line 210 "/home/jens/Source/shotwell/src/Application.vala"
+#line 214 "/home/jens/Source/shotwell/src/Application.vala"
if (!_tmp0_) {
-#line 211 "/home/jens/Source/shotwell/src/Application.vala"
+#line 215 "/home/jens/Source/shotwell/src/Application.vala"
self->priv->exiting_fired = TRUE;
-#line 212 "/home/jens/Source/shotwell/src/Application.vala"
+#line 216 "/home/jens/Source/shotwell/src/Application.vala"
g_signal_emit_by_name (self, "exiting", TRUE);
-#line 894 "Application.c"
+#line 918 "Application.c"
}
-#line 214 "/home/jens/Source/shotwell/src/Application.vala"
+#line 218 "/home/jens/Source/shotwell/src/Application.vala"
exit (1);
-#line 898 "Application.c"
+#line 922 "Application.c"
}
@@ -914,29 +938,29 @@ guint application_inhibit (Application* self, GtkApplicationInhibitFlags what, c
const gchar* _tmp4_ = NULL;
guint _tmp5_ = 0U;
guint _tmp6_ = 0U;
-#line 224 "/home/jens/Source/shotwell/src/Application.vala"
+#line 228 "/home/jens/Source/shotwell/src/Application.vala"
g_return_val_if_fail (IS_APPLICATION (self), 0U);
-#line 225 "/home/jens/Source/shotwell/src/Application.vala"
+#line 229 "/home/jens/Source/shotwell/src/Application.vala"
_tmp0_ = self->priv->system_app;
-#line 225 "/home/jens/Source/shotwell/src/Application.vala"
+#line 229 "/home/jens/Source/shotwell/src/Application.vala"
_tmp1_ = app_window_get_instance ();
-#line 225 "/home/jens/Source/shotwell/src/Application.vala"
+#line 229 "/home/jens/Source/shotwell/src/Application.vala"
_tmp2_ = _tmp1_;
-#line 225 "/home/jens/Source/shotwell/src/Application.vala"
+#line 229 "/home/jens/Source/shotwell/src/Application.vala"
_tmp3_ = what;
-#line 225 "/home/jens/Source/shotwell/src/Application.vala"
+#line 229 "/home/jens/Source/shotwell/src/Application.vala"
_tmp4_ = reason;
-#line 225 "/home/jens/Source/shotwell/src/Application.vala"
+#line 229 "/home/jens/Source/shotwell/src/Application.vala"
_tmp5_ = gtk_application_inhibit (_tmp0_, G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_window_get_type (), GtkWindow), _tmp3_, _tmp4_);
-#line 225 "/home/jens/Source/shotwell/src/Application.vala"
+#line 229 "/home/jens/Source/shotwell/src/Application.vala"
_tmp6_ = _tmp5_;
-#line 225 "/home/jens/Source/shotwell/src/Application.vala"
+#line 229 "/home/jens/Source/shotwell/src/Application.vala"
_g_object_unref0 (_tmp2_);
-#line 225 "/home/jens/Source/shotwell/src/Application.vala"
+#line 229 "/home/jens/Source/shotwell/src/Application.vala"
result = _tmp6_;
-#line 225 "/home/jens/Source/shotwell/src/Application.vala"
+#line 229 "/home/jens/Source/shotwell/src/Application.vala"
return result;
-#line 940 "Application.c"
+#line 964 "Application.c"
}
@@ -947,30 +971,30 @@ guint application_inhibit (Application* self, GtkApplicationInhibitFlags what, c
void application_uninhibit (Application* self, guint cookie) {
GtkApplication* _tmp0_ = NULL;
guint _tmp1_ = 0U;
-#line 232 "/home/jens/Source/shotwell/src/Application.vala"
+#line 236 "/home/jens/Source/shotwell/src/Application.vala"
g_return_if_fail (IS_APPLICATION (self));
-#line 233 "/home/jens/Source/shotwell/src/Application.vala"
+#line 237 "/home/jens/Source/shotwell/src/Application.vala"
_tmp0_ = self->priv->system_app;
-#line 233 "/home/jens/Source/shotwell/src/Application.vala"
+#line 237 "/home/jens/Source/shotwell/src/Application.vala"
_tmp1_ = cookie;
-#line 233 "/home/jens/Source/shotwell/src/Application.vala"
+#line 237 "/home/jens/Source/shotwell/src/Application.vala"
gtk_application_uninhibit (_tmp0_, _tmp1_);
-#line 959 "Application.c"
+#line 983 "Application.c"
}
gint application_get_run_return_value (Application* self) {
gint result = 0;
gint _tmp0_ = 0;
-#line 236 "/home/jens/Source/shotwell/src/Application.vala"
+#line 240 "/home/jens/Source/shotwell/src/Application.vala"
g_return_val_if_fail (IS_APPLICATION (self), 0);
-#line 237 "/home/jens/Source/shotwell/src/Application.vala"
+#line 241 "/home/jens/Source/shotwell/src/Application.vala"
_tmp0_ = self->priv->system_app_run_retval;
-#line 237 "/home/jens/Source/shotwell/src/Application.vala"
+#line 241 "/home/jens/Source/shotwell/src/Application.vala"
result = _tmp0_;
-#line 237 "/home/jens/Source/shotwell/src/Application.vala"
+#line 241 "/home/jens/Source/shotwell/src/Application.vala"
return result;
-#line 974 "Application.c"
+#line 998 "Application.c"
}
@@ -989,7 +1013,7 @@ static void application_real_init_done (Application* self) {
static void value_application_init (GValue* value) {
#line 7 "/home/jens/Source/shotwell/src/Application.vala"
value->data[0].v_pointer = NULL;
-#line 993 "Application.c"
+#line 1017 "Application.c"
}
@@ -998,7 +1022,7 @@ static void value_application_free_value (GValue* value) {
if (value->data[0].v_pointer) {
#line 7 "/home/jens/Source/shotwell/src/Application.vala"
application_unref (value->data[0].v_pointer);
-#line 1002 "Application.c"
+#line 1026 "Application.c"
}
}
@@ -1008,11 +1032,11 @@ static void value_application_copy_value (const GValue* src_value, GValue* dest_
if (src_value->data[0].v_pointer) {
#line 7 "/home/jens/Source/shotwell/src/Application.vala"
dest_value->data[0].v_pointer = application_ref (src_value->data[0].v_pointer);
-#line 1012 "Application.c"
+#line 1036 "Application.c"
} else {
#line 7 "/home/jens/Source/shotwell/src/Application.vala"
dest_value->data[0].v_pointer = NULL;
-#line 1016 "Application.c"
+#line 1040 "Application.c"
}
}
@@ -1020,37 +1044,37 @@ static void value_application_copy_value (const GValue* src_value, GValue* dest_
static gpointer value_application_peek_pointer (const GValue* value) {
#line 7 "/home/jens/Source/shotwell/src/Application.vala"
return value->data[0].v_pointer;
-#line 1024 "Application.c"
+#line 1048 "Application.c"
}
static gchar* value_application_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
#line 7 "/home/jens/Source/shotwell/src/Application.vala"
if (collect_values[0].v_pointer) {
-#line 1031 "Application.c"
+#line 1055 "Application.c"
Application* object;
object = collect_values[0].v_pointer;
#line 7 "/home/jens/Source/shotwell/src/Application.vala"
if (object->parent_instance.g_class == NULL) {
#line 7 "/home/jens/Source/shotwell/src/Application.vala"
return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 1038 "Application.c"
+#line 1062 "Application.c"
} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
#line 7 "/home/jens/Source/shotwell/src/Application.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 1042 "Application.c"
+#line 1066 "Application.c"
}
#line 7 "/home/jens/Source/shotwell/src/Application.vala"
value->data[0].v_pointer = application_ref (object);
-#line 1046 "Application.c"
+#line 1070 "Application.c"
} else {
#line 7 "/home/jens/Source/shotwell/src/Application.vala"
value->data[0].v_pointer = NULL;
-#line 1050 "Application.c"
+#line 1074 "Application.c"
}
#line 7 "/home/jens/Source/shotwell/src/Application.vala"
return NULL;
-#line 1054 "Application.c"
+#line 1078 "Application.c"
}
@@ -1061,25 +1085,25 @@ static gchar* value_application_lcopy_value (const GValue* value, guint n_collec
if (!object_p) {
#line 7 "/home/jens/Source/shotwell/src/Application.vala"
return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
-#line 1065 "Application.c"
+#line 1089 "Application.c"
}
#line 7 "/home/jens/Source/shotwell/src/Application.vala"
if (!value->data[0].v_pointer) {
#line 7 "/home/jens/Source/shotwell/src/Application.vala"
*object_p = NULL;
-#line 1071 "Application.c"
+#line 1095 "Application.c"
} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
#line 7 "/home/jens/Source/shotwell/src/Application.vala"
*object_p = value->data[0].v_pointer;
-#line 1075 "Application.c"
+#line 1099 "Application.c"
} else {
#line 7 "/home/jens/Source/shotwell/src/Application.vala"
*object_p = application_ref (value->data[0].v_pointer);
-#line 1079 "Application.c"
+#line 1103 "Application.c"
}
#line 7 "/home/jens/Source/shotwell/src/Application.vala"
return NULL;
-#line 1083 "Application.c"
+#line 1107 "Application.c"
}
@@ -1093,7 +1117,7 @@ GParamSpec* param_spec_application (const gchar* name, const gchar* nick, const
G_PARAM_SPEC (spec)->value_type = object_type;
#line 7 "/home/jens/Source/shotwell/src/Application.vala"
return G_PARAM_SPEC (spec);
-#line 1097 "Application.c"
+#line 1121 "Application.c"
}
@@ -1102,7 +1126,7 @@ gpointer value_get_application (const GValue* value) {
g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_APPLICATION), NULL);
#line 7 "/home/jens/Source/shotwell/src/Application.vala"
return value->data[0].v_pointer;
-#line 1106 "Application.c"
+#line 1130 "Application.c"
}
@@ -1122,17 +1146,17 @@ void value_set_application (GValue* value, gpointer v_object) {
value->data[0].v_pointer = v_object;
#line 7 "/home/jens/Source/shotwell/src/Application.vala"
application_ref (value->data[0].v_pointer);
-#line 1126 "Application.c"
+#line 1150 "Application.c"
} else {
#line 7 "/home/jens/Source/shotwell/src/Application.vala"
value->data[0].v_pointer = NULL;
-#line 1130 "Application.c"
+#line 1154 "Application.c"
}
#line 7 "/home/jens/Source/shotwell/src/Application.vala"
if (old) {
#line 7 "/home/jens/Source/shotwell/src/Application.vala"
application_unref (old);
-#line 1136 "Application.c"
+#line 1160 "Application.c"
}
}
@@ -1151,17 +1175,17 @@ void value_take_application (GValue* value, gpointer v_object) {
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 7 "/home/jens/Source/shotwell/src/Application.vala"
value->data[0].v_pointer = v_object;
-#line 1155 "Application.c"
+#line 1179 "Application.c"
} else {
#line 7 "/home/jens/Source/shotwell/src/Application.vala"
value->data[0].v_pointer = NULL;
-#line 1159 "Application.c"
+#line 1183 "Application.c"
}
#line 7 "/home/jens/Source/shotwell/src/Application.vala"
if (old) {
#line 7 "/home/jens/Source/shotwell/src/Application.vala"
application_unref (old);
-#line 1165 "Application.c"
+#line 1189 "Application.c"
}
}
@@ -1185,7 +1209,7 @@ static void application_class_init (ApplicationClass * klass) {
g_signal_new ("exiting", TYPE_APPLICATION, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (ApplicationClass, exiting), NULL, NULL, g_cclosure_marshal_VOID__BOOLEAN, G_TYPE_NONE, 1, G_TYPE_BOOLEAN);
#line 7 "/home/jens/Source/shotwell/src/Application.vala"
g_signal_new ("init_done", TYPE_APPLICATION, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (ApplicationClass, init_done), NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
-#line 1189 "Application.c"
+#line 1213 "Application.c"
}
@@ -1204,7 +1228,7 @@ static void application_instance_init (Application * self) {
self->priv->exiting_fired = FALSE;
#line 7 "/home/jens/Source/shotwell/src/Application.vala"
self->ref_count = 1;
-#line 1208 "Application.c"
+#line 1232 "Application.c"
}
@@ -1216,7 +1240,7 @@ static void application_finalize (Application* obj) {
g_signal_handlers_destroy (self);
#line 9 "/home/jens/Source/shotwell/src/Application.vala"
_g_object_unref0 (self->priv->system_app);
-#line 1220 "Application.c"
+#line 1244 "Application.c"
}
@@ -1241,7 +1265,7 @@ gpointer application_ref (gpointer instance) {
g_atomic_int_inc (&self->ref_count);
#line 7 "/home/jens/Source/shotwell/src/Application.vala"
return instance;
-#line 1245 "Application.c"
+#line 1269 "Application.c"
}
@@ -1254,7 +1278,7 @@ void application_unref (gpointer instance) {
APPLICATION_GET_CLASS (self)->finalize (self);
#line 7 "/home/jens/Source/shotwell/src/Application.vala"
g_type_free_instance ((GTypeInstance *) self);
-#line 1258 "Application.c"
+#line 1282 "Application.c"
}
}
diff --git a/src/Application.vala b/src/Application.vala
index 4a24fd4..6e6ba85 100644
--- a/src/Application.vala
+++ b/src/Application.vala
@@ -103,6 +103,10 @@ public class Application {
get_instance().system_app.set_menubar (model);
}
+ public static void set_appmenu (GLib.MenuModel? model) {
+ get_instance().system_app.set_app_menu (model);
+ }
+
/**
* @brief Signal handler for GApplication's 'command-line' signal.
*
diff --git a/src/BatchImport.c b/src/BatchImport.c
index f8b107c..bc67168 100644
--- a/src/BatchImport.c
+++ b/src/BatchImport.c
@@ -1,4 +1,4 @@
-/* BatchImport.c generated by valac 0.34.2, the Vala compiler
+/* BatchImport.c generated by valac 0.32.1, the Vala compiler
* generated from BatchImport.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -5472,7 +5472,7 @@ BatchImport* batch_import_construct (GType object_type, GeeIterable* jobs, const
#line 5473 "BatchImport.c"
GeeHashSet* _tmp21_ = NULL;
#line 491 "/home/jens/Source/shotwell/src/BatchImport.vala"
- _tmp21_ = gee_hash_set_new (g_file_get_type (), (GBoxedCopyFunc) g_object_ref, g_object_unref, _file_hash_gee_hash_data_func, NULL, NULL, _file_equal_gee_equal_data_func, NULL, NULL);
+ _tmp21_ = gee_hash_set_new (G_TYPE_FILE, (GBoxedCopyFunc) g_object_ref, g_object_unref, _file_hash_gee_hash_data_func, NULL, NULL, _file_equal_gee_equal_data_func, NULL, NULL);
#line 491 "/home/jens/Source/shotwell/src/BatchImport.vala"
_g_object_unref0 (self->priv->skipset);
#line 491 "/home/jens/Source/shotwell/src/BatchImport.vala"
@@ -10413,7 +10413,7 @@ static void batch_import_class_init (BatchImportClass * klass) {
#line 402 "/home/jens/Source/shotwell/src/BatchImport.vala"
g_signal_new ("progress", TYPE_BATCH_IMPORT, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_user_marshal_VOID__UINT64_UINT64, G_TYPE_NONE, 2, G_TYPE_UINT64, G_TYPE_UINT64);
#line 402 "/home/jens/Source/shotwell/src/BatchImport.vala"
- g_signal_new ("imported", TYPE_BATCH_IMPORT, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_user_marshal_VOID__OBJECT_OBJECT_INT, G_TYPE_NONE, 3, TYPE_MEDIA_SOURCE, gdk_pixbuf_get_type (), G_TYPE_INT);
+ g_signal_new ("imported", TYPE_BATCH_IMPORT, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_user_marshal_VOID__OBJECT_OBJECT_INT, G_TYPE_NONE, 3, TYPE_MEDIA_SOURCE, GDK_TYPE_PIXBUF, G_TYPE_INT);
#line 402 "/home/jens/Source/shotwell/src/BatchImport.vala"
g_signal_new ("fatal_error", TYPE_BATCH_IMPORT, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_user_marshal_VOID__ENUM_STRING, G_TYPE_NONE, 2, TYPE_IMPORT_RESULT, G_TYPE_STRING);
#line 402 "/home/jens/Source/shotwell/src/BatchImport.vala"
@@ -10460,7 +10460,7 @@ static void batch_import_instance_init (BatchImport * self) {
#line 428 "/home/jens/Source/shotwell/src/BatchImport.vala"
self->priv->last_preparing_ms = (gulong) 0;
#line 431 "/home/jens/Source/shotwell/src/BatchImport.vala"
- _tmp0_ = gee_hash_map_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, g_file_get_type (), (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
+ _tmp0_ = gee_hash_map_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, G_TYPE_FILE, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
#line 431 "/home/jens/Source/shotwell/src/BatchImport.vala"
self->priv->imported_full_md5_table = _tmp0_;
#line 433 "/home/jens/Source/shotwell/src/BatchImport.vala"
diff --git a/src/Box.c b/src/Box.c
index 20eb63b..0ebb6da 100644
--- a/src/Box.c
+++ b/src/Box.c
@@ -1,4 +1,4 @@
-/* Box.c generated by valac 0.34.2, the Vala compiler
+/* Box.c generated by valac 0.32.1, the Vala compiler
* generated from Box.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/CheckerboardLayout.c b/src/CheckerboardLayout.c
index 17f79b6..7c3ab70 100644
--- a/src/CheckerboardLayout.c
+++ b/src/CheckerboardLayout.c
@@ -1,4 +1,4 @@
-/* CheckerboardLayout.c generated by valac 0.34.2, the Vala compiler
+/* CheckerboardLayout.c generated by valac 0.32.1, the Vala compiler
* generated from CheckerboardLayout.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -1384,11 +1384,11 @@ void checkerboard_item_text_unref (gpointer instance) {
static gchar* string_replace (const gchar* self, const gchar* old, const gchar* replacement) {
gchar* result = NULL;
GError * _inner_error_ = NULL;
-#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (old != NULL, NULL);
-#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (replacement != NULL, NULL);
#line 1394 "CheckerboardLayout.c"
{
@@ -1403,73 +1403,73 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar*
const gchar* _tmp7_ = NULL;
gchar* _tmp8_ = NULL;
gchar* _tmp9_ = NULL;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = old;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = g_regex_escape_string (_tmp0_, -1);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = _tmp1_;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = g_regex_new (_tmp2_, 0, 0, &_inner_error_);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = _tmp3_;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_free0 (_tmp2_);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
regex = _tmp4_;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_inner_error_->domain == G_REGEX_ERROR) {
#line 1425 "CheckerboardLayout.c"
goto __catch239_g_regex_error;
}
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_clear_error (&_inner_error_);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return NULL;
#line 1434 "CheckerboardLayout.c"
}
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6_ = regex;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp7_ = replacement;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp8_ = g_regex_replace_literal (_tmp6_, self, (gssize) -1, 0, _tmp7_, 0, &_inner_error_);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = _tmp8_;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_regex_unref0 (regex);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_inner_error_->domain == G_REGEX_ERROR) {
#line 1450 "CheckerboardLayout.c"
goto __catch239_g_regex_error;
}
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_regex_unref0 (regex);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_clear_error (&_inner_error_);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return NULL;
#line 1461 "CheckerboardLayout.c"
}
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp9_ = _tmp5_;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = NULL;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp9_;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_free0 (_tmp5_);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_regex_unref0 (regex);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 1475 "CheckerboardLayout.c"
}
@@ -1477,24 +1477,24 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar*
__catch239_g_regex_error:
{
GError* e = NULL;
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
e = _inner_error_;
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_inner_error_ = NULL;
-#line 1385 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1385 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_assert_not_reached ();
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_error_free0 (e);
#line 1489 "CheckerboardLayout.c"
}
__finally239:
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
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 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_clear_error (&_inner_error_);
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return NULL;
#line 1500 "CheckerboardLayout.c"
}
@@ -7296,15 +7296,15 @@ static gchar string_get (const gchar* self, glong index) {
gchar result = '\0';
glong _tmp0_ = 0L;
gchar _tmp1_ = '\0';
-#line 1086 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1086 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, '\0');
-#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = index;
-#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = ((gchar*) self)[_tmp0_];
-#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp1_;
-#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 7310 "CheckerboardLayout.c"
}
@@ -7317,37 +7317,37 @@ static glong string_strnlen (gchar* str, glong maxlen) {
glong _tmp1_ = 0L;
gchar* _tmp2_ = NULL;
gchar* _tmp3_ = NULL;
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = str;
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = maxlen;
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = memchr (_tmp0_, 0, (gsize) _tmp1_);
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
end = _tmp2_;
-#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = end;
-#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp3_ == NULL) {
#line 7333 "CheckerboardLayout.c"
glong _tmp4_ = 0L;
-#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = maxlen;
-#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp4_;
-#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 7341 "CheckerboardLayout.c"
} else {
gchar* _tmp5_ = NULL;
gchar* _tmp6_ = NULL;
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = end;
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6_ = str;
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = (glong) (_tmp5_ - _tmp6_);
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 7353 "CheckerboardLayout.c"
}
@@ -7367,112 +7367,112 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) {
glong _tmp20_ = 0L;
glong _tmp21_ = 0L;
gchar* _tmp22_ = NULL;
-#line 1306 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1306 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = offset;
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp1_ >= ((glong) 0)) {
#line 7377 "CheckerboardLayout.c"
glong _tmp2_ = 0L;
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = len;
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = _tmp2_ >= ((glong) 0);
#line 7383 "CheckerboardLayout.c"
} else {
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = FALSE;
#line 7387 "CheckerboardLayout.c"
}
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp0_) {
#line 7391 "CheckerboardLayout.c"
glong _tmp3_ = 0L;
glong _tmp4_ = 0L;
glong _tmp5_ = 0L;
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = offset;
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = len;
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = string_strnlen ((gchar*) self, _tmp3_ + _tmp4_);
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
string_length = _tmp5_;
#line 7403 "CheckerboardLayout.c"
} else {
gint _tmp6_ = 0;
gint _tmp7_ = 0;
-#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6_ = strlen (self);
-#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp7_ = _tmp6_;
-#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
string_length = (glong) _tmp7_;
#line 7413 "CheckerboardLayout.c"
}
-#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp8_ = offset;
-#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp8_ < ((glong) 0)) {
#line 7419 "CheckerboardLayout.c"
glong _tmp9_ = 0L;
glong _tmp10_ = 0L;
glong _tmp11_ = 0L;
-#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp9_ = string_length;
-#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp10_ = offset;
-#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
offset = _tmp9_ + _tmp10_;
-#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp11_ = offset;
-#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp11_ >= ((glong) 0), NULL);
#line 7433 "CheckerboardLayout.c"
} else {
glong _tmp12_ = 0L;
glong _tmp13_ = 0L;
-#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp12_ = offset;
-#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp13_ = string_length;
-#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp12_ <= _tmp13_, NULL);
#line 7443 "CheckerboardLayout.c"
}
-#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp14_ = len;
-#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp14_ < ((glong) 0)) {
#line 7449 "CheckerboardLayout.c"
glong _tmp15_ = 0L;
glong _tmp16_ = 0L;
-#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp15_ = string_length;
-#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp16_ = offset;
-#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
len = _tmp15_ - _tmp16_;
#line 7458 "CheckerboardLayout.c"
}
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp17_ = offset;
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp18_ = len;
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp19_ = string_length;
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail ((_tmp17_ + _tmp18_) <= _tmp19_, NULL);
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp20_ = offset;
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp21_ = len;
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp22_ = g_strndup (((gchar*) self) + _tmp20_, (gsize) _tmp21_);
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp22_;
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 7478 "CheckerboardLayout.c"
}
diff --git a/src/CollectionPage.c b/src/CollectionPage.c
index 07170e5..c778508 100644
--- a/src/CollectionPage.c
+++ b/src/CollectionPage.c
@@ -1,4 +1,4 @@
-/* CollectionPage.c generated by valac 0.34.2, the Vala compiler
+/* CollectionPage.c generated by valac 0.32.1, the Vala compiler
* generated from CollectionPage.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -614,16 +614,6 @@ typedef struct _AdjustDateTimeDialogClass AdjustDateTimeDialogClass;
typedef struct _AdjustDateTimePhotosCommand AdjustDateTimePhotosCommand;
typedef struct _AdjustDateTimePhotosCommandClass AdjustDateTimePhotosCommandClass;
-#define TYPE_SET_BACKGROUND_DIALOG (set_background_dialog_get_type ())
-#define SET_BACKGROUND_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_SET_BACKGROUND_DIALOG, SetBackgroundDialog))
-#define SET_BACKGROUND_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_SET_BACKGROUND_DIALOG, SetBackgroundDialogClass))
-#define IS_SET_BACKGROUND_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_SET_BACKGROUND_DIALOG))
-#define IS_SET_BACKGROUND_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_SET_BACKGROUND_DIALOG))
-#define SET_BACKGROUND_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_SET_BACKGROUND_DIALOG, SetBackgroundDialogClass))
-
-typedef struct _SetBackgroundDialog SetBackgroundDialog;
-typedef struct _SetBackgroundDialogClass SetBackgroundDialogClass;
-
#define TYPE_SET_BACKGROUND_PHOTO_DIALOG (set_background_photo_dialog_get_type ())
#define SET_BACKGROUND_PHOTO_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_SET_BACKGROUND_PHOTO_DIALOG, SetBackgroundPhotoDialog))
#define SET_BACKGROUND_PHOTO_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_SET_BACKGROUND_PHOTO_DIALOG, SetBackgroundPhotoDialogClass))
@@ -633,7 +623,6 @@ typedef struct _SetBackgroundDialogClass SetBackgroundDialogClass;
typedef struct _SetBackgroundPhotoDialog SetBackgroundPhotoDialog;
typedef struct _SetBackgroundPhotoDialogClass SetBackgroundPhotoDialogClass;
-#define _set_background_dialog_unref0(var) ((var == NULL) ? NULL : (var = (set_background_dialog_unref (var), NULL)))
#define TYPE_SET_BACKGROUND_SLIDESHOW_DIALOG (set_background_slideshow_dialog_get_type ())
#define SET_BACKGROUND_SLIDESHOW_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_SET_BACKGROUND_SLIDESHOW_DIALOG, SetBackgroundSlideshowDialog))
@@ -1218,6 +1207,9 @@ gchar* configuration_facade_get_external_raw_app (ConfigurationFacade* self);
static gboolean collection_page_can_revert_selected (CollectionPage* self);
gboolean photo_has_color_adjustments (Photo* self);
gboolean pixel_transformation_bundle_has_copied_color_adjustments (void);
+#define RESOURCES_SET_BACKGROUND_MENU _ ("Set as _Desktop Background")
+#define RESOURCES_SET_BACKGROUND_SLIDESHOW_MENU _ ("Set as _Desktop Slideshow…")
+void page_update_menu_item_label (Page* self, const gchar* id, const gchar* new_label);
gboolean data_view_is_selected (DataView* self);
gboolean alteration_has_subject (Alteration* self, const gchar* subject);
GType library_photo_get_type (void) G_GNUC_CONST;
@@ -1349,13 +1341,6 @@ void photo_open_with_raw_external_editor (Photo* self, GError** error);
void app_window_error_message (const gchar* message, GtkWindow* parent);
gchar* resources_launch_editor_failed (GError* err);
void media_source_collection_filter_media (GeeCollection* media, GeeCollection* photos, GeeCollection* videos);
-gpointer set_background_dialog_ref (gpointer instance);
-void set_background_dialog_unref (gpointer instance);
-GParamSpec* param_spec_set_background_dialog (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
-void value_set_set_background_dialog (GValue* value, gpointer v_object);
-void value_take_set_background_dialog (GValue* value, gpointer v_object);
-gpointer value_get_set_background_dialog (const GValue* value);
-GType set_background_dialog_get_type (void) G_GNUC_CONST;
GType set_background_photo_dialog_get_type (void) G_GNUC_CONST;
SetBackgroundPhotoDialog* set_background_photo_dialog_new (void);
SetBackgroundPhotoDialog* set_background_photo_dialog_construct (GType object_type);
@@ -1398,7 +1383,7 @@ static const GActionEntry COLLECTION_PAGE_entries[16] = {{"Print", _collection_p
static gpointer _g_object_ref0 (gpointer self) {
#line 11 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return self ? g_object_ref (self) : NULL;
-#line 1402 "CollectionPage.c"
+#line 1387 "CollectionPage.c"
}
@@ -1420,14 +1405,14 @@ CollectionViewManager* collection_view_manager_construct (GType object_type, Col
self->priv->page = _tmp1_;
#line 10 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return self;
-#line 1424 "CollectionPage.c"
+#line 1409 "CollectionPage.c"
}
CollectionViewManager* collection_view_manager_new (CollectionPage* page) {
#line 10 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return collection_view_manager_construct (TYPE_COLLECTION_VIEW_MANAGER, page);
-#line 1431 "CollectionPage.c"
+#line 1416 "CollectionPage.c"
}
@@ -1451,7 +1436,7 @@ static DataView* collection_view_manager_real_create_view (ViewManager* base, Da
result = _tmp2_;
#line 15 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 1455 "CollectionPage.c"
+#line 1440 "CollectionPage.c"
}
@@ -1464,14 +1449,14 @@ static void collection_view_manager_class_init (CollectionViewManagerClass * kla
g_type_class_add_private (klass, sizeof (CollectionViewManagerPrivate));
#line 7 "/home/jens/Source/shotwell/src/CollectionPage.vala"
((ViewManagerClass *) klass)->create_view = collection_view_manager_real_create_view;
-#line 1468 "CollectionPage.c"
+#line 1453 "CollectionPage.c"
}
static void collection_view_manager_instance_init (CollectionViewManager * self) {
#line 7 "/home/jens/Source/shotwell/src/CollectionPage.vala"
self->priv = COLLECTION_VIEW_MANAGER_GET_PRIVATE (self);
-#line 1475 "CollectionPage.c"
+#line 1460 "CollectionPage.c"
}
@@ -1483,7 +1468,7 @@ static void collection_view_manager_finalize (ViewManager* obj) {
_g_object_unref0 (self->priv->page);
#line 7 "/home/jens/Source/shotwell/src/CollectionPage.vala"
VIEW_MANAGER_CLASS (collection_view_manager_parent_class)->finalize (obj);
-#line 1487 "CollectionPage.c"
+#line 1472 "CollectionPage.c"
}
@@ -1502,126 +1487,126 @@ GType collection_view_manager_get_type (void) {
static void _collection_page_on_print_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 154 "/home/jens/Source/shotwell/src/CollectionPage.vala"
collection_page_on_print ((CollectionPage*) self);
-#line 1506 "CollectionPage.c"
+#line 1491 "CollectionPage.c"
}
static void _collection_page_on_publish_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 154 "/home/jens/Source/shotwell/src/CollectionPage.vala"
collection_page_on_publish ((CollectionPage*) self);
-#line 1513 "CollectionPage.c"
+#line 1498 "CollectionPage.c"
}
static void _collection_page_on_rotate_clockwise_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 154 "/home/jens/Source/shotwell/src/CollectionPage.vala"
collection_page_on_rotate_clockwise ((CollectionPage*) self);
-#line 1520 "CollectionPage.c"
+#line 1505 "CollectionPage.c"
}
static void _collection_page_on_rotate_counterclockwise_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 154 "/home/jens/Source/shotwell/src/CollectionPage.vala"
collection_page_on_rotate_counterclockwise ((CollectionPage*) self);
-#line 1527 "CollectionPage.c"
+#line 1512 "CollectionPage.c"
}
static void _collection_page_on_flip_horizontally_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 154 "/home/jens/Source/shotwell/src/CollectionPage.vala"
collection_page_on_flip_horizontally ((CollectionPage*) self);
-#line 1534 "CollectionPage.c"
+#line 1519 "CollectionPage.c"
}
static void _collection_page_on_flip_vertically_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 154 "/home/jens/Source/shotwell/src/CollectionPage.vala"
collection_page_on_flip_vertically ((CollectionPage*) self);
-#line 1541 "CollectionPage.c"
+#line 1526 "CollectionPage.c"
}
static void _collection_page_on_enhance_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 154 "/home/jens/Source/shotwell/src/CollectionPage.vala"
collection_page_on_enhance ((CollectionPage*) self);
-#line 1548 "CollectionPage.c"
+#line 1533 "CollectionPage.c"
}
static void _collection_page_on_copy_adjustments_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 154 "/home/jens/Source/shotwell/src/CollectionPage.vala"
collection_page_on_copy_adjustments ((CollectionPage*) self);
-#line 1555 "CollectionPage.c"
+#line 1540 "CollectionPage.c"
}
static void _collection_page_on_paste_adjustments_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 154 "/home/jens/Source/shotwell/src/CollectionPage.vala"
collection_page_on_paste_adjustments ((CollectionPage*) self);
-#line 1562 "CollectionPage.c"
+#line 1547 "CollectionPage.c"
}
static void _collection_page_on_revert_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 154 "/home/jens/Source/shotwell/src/CollectionPage.vala"
collection_page_on_revert ((CollectionPage*) self);
-#line 1569 "CollectionPage.c"
+#line 1554 "CollectionPage.c"
}
static void _collection_page_on_set_background_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 154 "/home/jens/Source/shotwell/src/CollectionPage.vala"
collection_page_on_set_background ((CollectionPage*) self);
-#line 1576 "CollectionPage.c"
+#line 1561 "CollectionPage.c"
}
static void _collection_page_on_duplicate_photo_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 154 "/home/jens/Source/shotwell/src/CollectionPage.vala"
collection_page_on_duplicate_photo ((CollectionPage*) self);
-#line 1583 "CollectionPage.c"
+#line 1568 "CollectionPage.c"
}
static void _collection_page_on_adjust_date_time_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 154 "/home/jens/Source/shotwell/src/CollectionPage.vala"
collection_page_on_adjust_date_time ((CollectionPage*) self);
-#line 1590 "CollectionPage.c"
+#line 1575 "CollectionPage.c"
}
static void _collection_page_on_external_edit_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 154 "/home/jens/Source/shotwell/src/CollectionPage.vala"
collection_page_on_external_edit ((CollectionPage*) self);
-#line 1597 "CollectionPage.c"
+#line 1582 "CollectionPage.c"
}
static void _collection_page_on_external_edit_raw_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 154 "/home/jens/Source/shotwell/src/CollectionPage.vala"
collection_page_on_external_edit_raw ((CollectionPage*) self);
-#line 1604 "CollectionPage.c"
+#line 1589 "CollectionPage.c"
}
static void _collection_page_on_slideshow_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 154 "/home/jens/Source/shotwell/src/CollectionPage.vala"
collection_page_on_slideshow ((CollectionPage*) self);
-#line 1611 "CollectionPage.c"
+#line 1596 "CollectionPage.c"
}
static void _collection_page_on_photos_altered_data_collection_items_altered (DataCollection* _sender, GeeMap* items, gpointer self) {
#line 35 "/home/jens/Source/shotwell/src/CollectionPage.vala"
collection_page_on_photos_altered ((CollectionPage*) self, items);
-#line 1618 "CollectionPage.c"
+#line 1603 "CollectionPage.c"
}
static void _collection_page_on_external_app_changed_configuration_facade_external_app_changed (ConfigurationFacade* _sender, gpointer self) {
#line 43 "/home/jens/Source/shotwell/src/CollectionPage.vala"
collection_page_on_external_app_changed ((CollectionPage*) self);
-#line 1625 "CollectionPage.c"
+#line 1610 "CollectionPage.c"
}
@@ -1662,7 +1647,7 @@ CollectionPage* collection_page_construct (GType object_type, const gchar* page_
_g_object_unref0 (_tmp4_);
#line 32 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return self;
-#line 1666 "CollectionPage.c"
+#line 1651 "CollectionPage.c"
}
@@ -1678,7 +1663,7 @@ static GtkToolbar* collection_page_real_get_toolbar (Page* base) {
_tmp0_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)->toolbar;
#line 47 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp0_ == NULL) {
-#line 1682 "CollectionPage.c"
+#line 1667 "CollectionPage.c"
GtkToolbar* _tmp1_ = NULL;
GtkToolbar* _tmp2_ = NULL;
GtkSeparatorToolItem* separator = NULL;
@@ -1779,7 +1764,7 @@ static GtkToolbar* collection_page_real_get_toolbar (Page* base) {
_g_object_unref0 (drawn_separator);
#line 47 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (separator);
-#line 1783 "CollectionPage.c"
+#line 1768 "CollectionPage.c"
}
#line 68 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp20_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)->toolbar;
@@ -1789,7 +1774,7 @@ static GtkToolbar* collection_page_real_get_toolbar (Page* base) {
result = _tmp21_;
#line 68 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 1793 "CollectionPage.c"
+#line 1778 "CollectionPage.c"
}
@@ -1822,12 +1807,12 @@ static InjectionGroup* collection_page_create_file_menu_injectables (void) {
#line 78 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = _ ("Set as _Desktop Background");
#line 78 "/home/jens/Source/shotwell/src/CollectionPage.vala"
- injection_group_add_menu_item (group, _tmp4_, "SetBackground", NULL);
+ injection_group_add_menu_item (group, _tmp4_, "SetBackground", "<Primary>b");
#line 80 "/home/jens/Source/shotwell/src/CollectionPage.vala"
result = group;
#line 80 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 1831 "CollectionPage.c"
+#line 1816 "CollectionPage.c"
}
@@ -1848,7 +1833,7 @@ static InjectionGroup* collection_page_create_edit_menu_injectables (void) {
result = group;
#line 88 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 1852 "CollectionPage.c"
+#line 1837 "CollectionPage.c"
}
@@ -1876,7 +1861,7 @@ static InjectionGroup* collection_page_create_view_menu_fullscreen_injectables (
result = group;
#line 98 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 1880 "CollectionPage.c"
+#line 1865 "CollectionPage.c"
}
@@ -1936,7 +1921,7 @@ static InjectionGroup* collection_page_create_photos_menu_edits_injectables (voi
result = group;
#line 123 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 1940 "CollectionPage.c"
+#line 1925 "CollectionPage.c"
}
@@ -1957,7 +1942,7 @@ static InjectionGroup* collection_page_create_photos_menu_date_injectables (void
result = group;
#line 131 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 1961 "CollectionPage.c"
+#line 1946 "CollectionPage.c"
}
@@ -1988,7 +1973,7 @@ static InjectionGroup* collection_page_create_photos_menu_externals_injectables
result = group;
#line 145 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 1992 "CollectionPage.c"
+#line 1977 "CollectionPage.c"
}
@@ -2008,7 +1993,7 @@ static void collection_page_real_init_collect_ui_filenames (Page* base, GeeList*
_tmp1_ = ui_filenames;
#line 151 "/home/jens/Source/shotwell/src/CollectionPage.vala"
gee_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, GEE_TYPE_COLLECTION, GeeCollection), "collection.ui");
-#line 2012 "CollectionPage.c"
+#line 1997 "CollectionPage.c"
}
@@ -2028,7 +2013,7 @@ static void collection_page_real_add_actions (Page* base) {
g_action_map_add_action_entries (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, g_action_map_get_type (), GActionMap), COLLECTION_PAGE_entries, G_N_ELEMENTS (COLLECTION_PAGE_entries), self);
#line 176 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp1_);
-#line 2032 "CollectionPage.c"
+#line 2017 "CollectionPage.c"
}
@@ -2039,13 +2024,13 @@ static void _vala_array_add76 (InjectionGroup*** array, int* length, int* size,
*size = (*size) ? (2 * (*size)) : 4;
#line 182 "/home/jens/Source/shotwell/src/CollectionPage.vala"
*array = g_renew (InjectionGroup*, *array, (*size) + 1);
-#line 2043 "CollectionPage.c"
+#line 2028 "CollectionPage.c"
}
#line 182 "/home/jens/Source/shotwell/src/CollectionPage.vala"
(*array)[(*length)++] = value;
#line 182 "/home/jens/Source/shotwell/src/CollectionPage.vala"
(*array)[*length] = NULL;
-#line 2049 "CollectionPage.c"
+#line 2034 "CollectionPage.c"
}
@@ -2056,13 +2041,13 @@ static void _vala_array_add77 (InjectionGroup*** array, int* length, int* size,
*size = (*size) ? (2 * (*size)) : 4;
#line 183 "/home/jens/Source/shotwell/src/CollectionPage.vala"
*array = g_renew (InjectionGroup*, *array, (*size) + 1);
-#line 2060 "CollectionPage.c"
+#line 2045 "CollectionPage.c"
}
#line 183 "/home/jens/Source/shotwell/src/CollectionPage.vala"
(*array)[(*length)++] = value;
#line 183 "/home/jens/Source/shotwell/src/CollectionPage.vala"
(*array)[*length] = NULL;
-#line 2066 "CollectionPage.c"
+#line 2051 "CollectionPage.c"
}
@@ -2073,13 +2058,13 @@ static void _vala_array_add78 (InjectionGroup*** array, int* length, int* size,
*size = (*size) ? (2 * (*size)) : 4;
#line 184 "/home/jens/Source/shotwell/src/CollectionPage.vala"
*array = g_renew (InjectionGroup*, *array, (*size) + 1);
-#line 2077 "CollectionPage.c"
+#line 2062 "CollectionPage.c"
}
#line 184 "/home/jens/Source/shotwell/src/CollectionPage.vala"
(*array)[(*length)++] = value;
#line 184 "/home/jens/Source/shotwell/src/CollectionPage.vala"
(*array)[*length] = NULL;
-#line 2083 "CollectionPage.c"
+#line 2068 "CollectionPage.c"
}
@@ -2090,13 +2075,13 @@ static void _vala_array_add79 (InjectionGroup*** array, int* length, int* size,
*size = (*size) ? (2 * (*size)) : 4;
#line 185 "/home/jens/Source/shotwell/src/CollectionPage.vala"
*array = g_renew (InjectionGroup*, *array, (*size) + 1);
-#line 2094 "CollectionPage.c"
+#line 2079 "CollectionPage.c"
}
#line 185 "/home/jens/Source/shotwell/src/CollectionPage.vala"
(*array)[(*length)++] = value;
#line 185 "/home/jens/Source/shotwell/src/CollectionPage.vala"
(*array)[*length] = NULL;
-#line 2100 "CollectionPage.c"
+#line 2085 "CollectionPage.c"
}
@@ -2107,13 +2092,13 @@ static void _vala_array_add80 (InjectionGroup*** array, int* length, int* size,
*size = (*size) ? (2 * (*size)) : 4;
#line 186 "/home/jens/Source/shotwell/src/CollectionPage.vala"
*array = g_renew (InjectionGroup*, *array, (*size) + 1);
-#line 2111 "CollectionPage.c"
+#line 2096 "CollectionPage.c"
}
#line 186 "/home/jens/Source/shotwell/src/CollectionPage.vala"
(*array)[(*length)++] = value;
#line 186 "/home/jens/Source/shotwell/src/CollectionPage.vala"
(*array)[*length] = NULL;
-#line 2117 "CollectionPage.c"
+#line 2102 "CollectionPage.c"
}
@@ -2124,13 +2109,13 @@ static void _vala_array_add81 (InjectionGroup*** array, int* length, int* size,
*size = (*size) ? (2 * (*size)) : 4;
#line 187 "/home/jens/Source/shotwell/src/CollectionPage.vala"
*array = g_renew (InjectionGroup*, *array, (*size) + 1);
-#line 2128 "CollectionPage.c"
+#line 2113 "CollectionPage.c"
}
#line 187 "/home/jens/Source/shotwell/src/CollectionPage.vala"
(*array)[(*length)++] = value;
#line 187 "/home/jens/Source/shotwell/src/CollectionPage.vala"
(*array)[*length] = NULL;
-#line 2134 "CollectionPage.c"
+#line 2119 "CollectionPage.c"
}
@@ -2228,13 +2213,13 @@ static InjectionGroup** collection_page_real_init_collect_injection_groups (Page
if (result_length1) {
#line 189 "/home/jens/Source/shotwell/src/CollectionPage.vala"
*result_length1 = _tmp14__length1;
-#line 2232 "CollectionPage.c"
+#line 2217 "CollectionPage.c"
}
#line 189 "/home/jens/Source/shotwell/src/CollectionPage.vala"
result = _tmp14_;
#line 189 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 2238 "CollectionPage.c"
+#line 2223 "CollectionPage.c"
}
@@ -2268,7 +2253,7 @@ static gboolean collection_page_selection_has_video (CollectionPage* self) {
result = _tmp5_;
#line 193 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 2272 "CollectionPage.c"
+#line 2257 "CollectionPage.c"
}
@@ -2302,7 +2287,7 @@ static gboolean collection_page_page_has_photo (CollectionPage* self) {
result = _tmp5_;
#line 197 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 2306 "CollectionPage.c"
+#line 2291 "CollectionPage.c"
}
@@ -2336,7 +2321,7 @@ static gboolean collection_page_selection_has_photo (CollectionPage* self) {
result = _tmp5_;
#line 201 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 2340 "CollectionPage.c"
+#line 2325 "CollectionPage.c"
}
@@ -2366,7 +2351,7 @@ static void collection_page_real_init_actions (Page* base, gint selected_count,
page_set_action_important (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Enhance", TRUE);
#line 214 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_important (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Publish", TRUE);
-#line 2370 "CollectionPage.c"
+#line 2355 "CollectionPage.c"
}
@@ -2448,7 +2433,7 @@ static void collection_page_real_update_actions (Page* base, gint selected_count
if (_tmp4_) {
#line 220 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 2452 "CollectionPage.c"
+#line 2437 "CollectionPage.c"
}
#line 223 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = selected_count;
@@ -2470,7 +2455,7 @@ static void collection_page_real_update_actions (Page* base, gint selected_count
_tmp9_ = has_selected;
#line 229 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp9_) {
-#line 2474 "CollectionPage.c"
+#line 2459 "CollectionPage.c"
ViewCollection* _tmp10_ = NULL;
ViewCollection* _tmp11_ = NULL;
DataView* _tmp12_ = NULL;
@@ -2502,7 +2487,7 @@ static void collection_page_real_update_actions (Page* base, gint selected_count
if (_tmp16_) {
#line 231 "/home/jens/Source/shotwell/src/CollectionPage.vala"
primary_is_video = TRUE;
-#line 2506 "CollectionPage.c"
+#line 2491 "CollectionPage.c"
}
}
#line 233 "/home/jens/Source/shotwell/src/CollectionPage.vala"
@@ -2517,17 +2502,17 @@ static void collection_page_real_update_actions (Page* base, gint selected_count
_tmp20_ = has_selected;
#line 238 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp20_) {
-#line 2521 "CollectionPage.c"
+#line 2506 "CollectionPage.c"
gboolean _tmp21_ = FALSE;
#line 238 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp21_ = selection_has_videos;
#line 238 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp19_ = !_tmp21_;
-#line 2527 "CollectionPage.c"
+#line 2512 "CollectionPage.c"
} else {
#line 238 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp19_ = FALSE;
-#line 2531 "CollectionPage.c"
+#line 2516 "CollectionPage.c"
}
#line 238 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Duplicate", _tmp19_);
@@ -2539,7 +2524,7 @@ static void collection_page_real_update_actions (Page* base, gint selected_count
_tmp24_ = one_selected;
#line 241 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp24_) {
-#line 2543 "CollectionPage.c"
+#line 2528 "CollectionPage.c"
ConfigFacade* _tmp25_ = NULL;
ConfigFacade* _tmp26_ = NULL;
gchar* _tmp27_ = NULL;
@@ -2561,11 +2546,11 @@ static void collection_page_real_update_actions (Page* base, gint selected_count
_g_free0 (_tmp28_);
#line 241 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp26_);
-#line 2565 "CollectionPage.c"
+#line 2550 "CollectionPage.c"
} else {
#line 241 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp23_ = FALSE;
-#line 2569 "CollectionPage.c"
+#line 2554 "CollectionPage.c"
}
#line 240 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "ExternalEdit", _tmp23_);
@@ -2573,21 +2558,21 @@ static void collection_page_real_update_actions (Page* base, gint selected_count
_tmp33_ = one_selected;
#line 243 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp33_) {
-#line 2577 "CollectionPage.c"
+#line 2562 "CollectionPage.c"
gboolean _tmp34_ = FALSE;
#line 243 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp34_ = primary_is_video;
#line 243 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp32_ = !_tmp34_;
-#line 2583 "CollectionPage.c"
+#line 2568 "CollectionPage.c"
} else {
#line 243 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp32_ = FALSE;
-#line 2587 "CollectionPage.c"
+#line 2572 "CollectionPage.c"
}
#line 243 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp32_) {
-#line 2591 "CollectionPage.c"
+#line 2576 "CollectionPage.c"
ViewCollection* _tmp35_ = NULL;
ViewCollection* _tmp36_ = NULL;
DataView* _tmp37_ = NULL;
@@ -2617,15 +2602,15 @@ static void collection_page_real_update_actions (Page* base, gint selected_count
_g_object_unref0 (_tmp38_);
#line 244 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp36_);
-#line 2621 "CollectionPage.c"
+#line 2606 "CollectionPage.c"
} else {
#line 243 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp31_ = FALSE;
-#line 2625 "CollectionPage.c"
+#line 2610 "CollectionPage.c"
}
#line 243 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp31_) {
-#line 2629 "CollectionPage.c"
+#line 2614 "CollectionPage.c"
ConfigFacade* _tmp42_ = NULL;
ConfigFacade* _tmp43_ = NULL;
gchar* _tmp44_ = NULL;
@@ -2647,11 +2632,11 @@ static void collection_page_real_update_actions (Page* base, gint selected_count
_g_free0 (_tmp45_);
#line 246 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp43_);
-#line 2651 "CollectionPage.c"
+#line 2636 "CollectionPage.c"
} else {
#line 243 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp30_ = FALSE;
-#line 2655 "CollectionPage.c"
+#line 2640 "CollectionPage.c"
}
#line 242 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_visible (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "ExternalEditRAW", _tmp30_);
@@ -2659,17 +2644,17 @@ static void collection_page_real_update_actions (Page* base, gint selected_count
_tmp48_ = selection_has_videos;
#line 247 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!_tmp48_) {
-#line 2663 "CollectionPage.c"
+#line 2648 "CollectionPage.c"
gboolean _tmp49_ = FALSE;
#line 247 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp49_ = collection_page_can_revert_selected (self);
#line 247 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp47_ = _tmp49_;
-#line 2669 "CollectionPage.c"
+#line 2654 "CollectionPage.c"
} else {
#line 247 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp47_ = FALSE;
-#line 2673 "CollectionPage.c"
+#line 2658 "CollectionPage.c"
}
#line 247 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Revert", _tmp47_);
@@ -2677,17 +2662,17 @@ static void collection_page_real_update_actions (Page* base, gint selected_count
_tmp51_ = selection_has_videos;
#line 248 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!_tmp51_) {
-#line 2681 "CollectionPage.c"
+#line 2666 "CollectionPage.c"
gboolean _tmp52_ = FALSE;
#line 248 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp52_ = has_selected;
#line 248 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp50_ = _tmp52_;
-#line 2687 "CollectionPage.c"
+#line 2672 "CollectionPage.c"
} else {
#line 248 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp50_ = FALSE;
-#line 2691 "CollectionPage.c"
+#line 2676 "CollectionPage.c"
}
#line 248 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Enhance", _tmp50_);
@@ -2695,21 +2680,21 @@ static void collection_page_real_update_actions (Page* base, gint selected_count
_tmp55_ = selection_has_videos;
#line 249 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!_tmp55_) {
-#line 2699 "CollectionPage.c"
+#line 2684 "CollectionPage.c"
gboolean _tmp56_ = FALSE;
#line 249 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp56_ = one_selected;
#line 249 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp54_ = _tmp56_;
-#line 2705 "CollectionPage.c"
+#line 2690 "CollectionPage.c"
} else {
#line 249 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp54_ = FALSE;
-#line 2709 "CollectionPage.c"
+#line 2694 "CollectionPage.c"
}
#line 249 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp54_) {
-#line 2713 "CollectionPage.c"
+#line 2698 "CollectionPage.c"
ViewCollection* _tmp57_ = NULL;
ViewCollection* _tmp58_ = NULL;
DataView* _tmp59_ = NULL;
@@ -2739,11 +2724,11 @@ static void collection_page_real_update_actions (Page* base, gint selected_count
_g_object_unref0 (_tmp60_);
#line 250 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp58_);
-#line 2743 "CollectionPage.c"
+#line 2728 "CollectionPage.c"
} else {
#line 249 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp53_ = FALSE;
-#line 2747 "CollectionPage.c"
+#line 2732 "CollectionPage.c"
}
#line 249 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "CopyColorAdjustments", _tmp53_);
@@ -2751,31 +2736,31 @@ static void collection_page_real_update_actions (Page* base, gint selected_count
_tmp66_ = selection_has_videos;
#line 251 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!_tmp66_) {
-#line 2755 "CollectionPage.c"
+#line 2740 "CollectionPage.c"
gboolean _tmp67_ = FALSE;
#line 251 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp67_ = has_selected;
#line 251 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp65_ = _tmp67_;
-#line 2761 "CollectionPage.c"
+#line 2746 "CollectionPage.c"
} else {
#line 251 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp65_ = FALSE;
-#line 2765 "CollectionPage.c"
+#line 2750 "CollectionPage.c"
}
#line 251 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp65_) {
-#line 2769 "CollectionPage.c"
+#line 2754 "CollectionPage.c"
gboolean _tmp68_ = FALSE;
#line 252 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp68_ = pixel_transformation_bundle_has_copied_color_adjustments ();
#line 252 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp64_ = _tmp68_;
-#line 2775 "CollectionPage.c"
+#line 2760 "CollectionPage.c"
} else {
#line 251 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp64_ = FALSE;
-#line 2779 "CollectionPage.c"
+#line 2764 "CollectionPage.c"
}
#line 251 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "PasteColorAdjustments", _tmp64_);
@@ -2783,17 +2768,17 @@ static void collection_page_real_update_actions (Page* base, gint selected_count
_tmp70_ = selection_has_videos;
#line 253 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!_tmp70_) {
-#line 2787 "CollectionPage.c"
+#line 2772 "CollectionPage.c"
gboolean _tmp71_ = FALSE;
#line 253 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp71_ = has_selected;
#line 253 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp69_ = _tmp71_;
-#line 2793 "CollectionPage.c"
+#line 2778 "CollectionPage.c"
} else {
#line 253 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp69_ = FALSE;
-#line 2797 "CollectionPage.c"
+#line 2782 "CollectionPage.c"
}
#line 253 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RotateClockwise", _tmp69_);
@@ -2801,17 +2786,17 @@ static void collection_page_real_update_actions (Page* base, gint selected_count
_tmp73_ = selection_has_videos;
#line 254 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!_tmp73_) {
-#line 2805 "CollectionPage.c"
+#line 2790 "CollectionPage.c"
gboolean _tmp74_ = FALSE;
#line 254 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp74_ = has_selected;
#line 254 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp72_ = _tmp74_;
-#line 2811 "CollectionPage.c"
+#line 2796 "CollectionPage.c"
} else {
#line 254 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp72_ = FALSE;
-#line 2815 "CollectionPage.c"
+#line 2800 "CollectionPage.c"
}
#line 254 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RotateCounterclockwise", _tmp72_);
@@ -2819,17 +2804,17 @@ static void collection_page_real_update_actions (Page* base, gint selected_count
_tmp76_ = selection_has_videos;
#line 255 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!_tmp76_) {
-#line 2823 "CollectionPage.c"
+#line 2808 "CollectionPage.c"
gboolean _tmp77_ = FALSE;
#line 255 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp77_ = has_selected;
#line 255 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp75_ = _tmp77_;
-#line 2829 "CollectionPage.c"
+#line 2814 "CollectionPage.c"
} else {
#line 255 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp75_ = FALSE;
-#line 2833 "CollectionPage.c"
+#line 2818 "CollectionPage.c"
}
#line 255 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "FlipHorizontally", _tmp75_);
@@ -2837,17 +2822,17 @@ static void collection_page_real_update_actions (Page* base, gint selected_count
_tmp79_ = selection_has_videos;
#line 256 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!_tmp79_) {
-#line 2841 "CollectionPage.c"
+#line 2826 "CollectionPage.c"
gboolean _tmp80_ = FALSE;
#line 256 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp80_ = has_selected;
#line 256 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp78_ = _tmp80_;
-#line 2847 "CollectionPage.c"
+#line 2832 "CollectionPage.c"
} else {
#line 256 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp78_ = FALSE;
-#line 2851 "CollectionPage.c"
+#line 2836 "CollectionPage.c"
}
#line 256 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "FlipVertically", _tmp78_);
@@ -2871,17 +2856,17 @@ static void collection_page_real_update_actions (Page* base, gint selected_count
_tmp86_ = page_has_photos;
#line 265 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp86_) {
-#line 2875 "CollectionPage.c"
+#line 2860 "CollectionPage.c"
gboolean _tmp87_ = FALSE;
#line 265 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp87_ = primary_is_video;
#line 265 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp85_ = !_tmp87_;
-#line 2881 "CollectionPage.c"
+#line 2866 "CollectionPage.c"
} else {
#line 265 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp85_ = FALSE;
-#line 2885 "CollectionPage.c"
+#line 2870 "CollectionPage.c"
}
#line 265 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Slideshow", _tmp85_);
@@ -2889,17 +2874,17 @@ static void collection_page_real_update_actions (Page* base, gint selected_count
_tmp89_ = selection_has_videos;
#line 266 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!_tmp89_) {
-#line 2893 "CollectionPage.c"
+#line 2878 "CollectionPage.c"
gboolean _tmp90_ = FALSE;
#line 266 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp90_ = has_selected;
#line 266 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp88_ = _tmp90_;
-#line 2899 "CollectionPage.c"
+#line 2884 "CollectionPage.c"
} else {
#line 266 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp88_ = FALSE;
-#line 2903 "CollectionPage.c"
+#line 2888 "CollectionPage.c"
}
#line 266 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Print", _tmp88_);
@@ -2911,17 +2896,17 @@ static void collection_page_real_update_actions (Page* base, gint selected_count
_tmp93_ = selection_has_videos;
#line 269 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!_tmp93_) {
-#line 2915 "CollectionPage.c"
+#line 2900 "CollectionPage.c"
gboolean _tmp94_ = FALSE;
#line 269 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp94_ = has_selected;
#line 269 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp92_ = _tmp94_;
-#line 2921 "CollectionPage.c"
+#line 2906 "CollectionPage.c"
} else {
#line 269 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp92_ = FALSE;
-#line 2925 "CollectionPage.c"
+#line 2910 "CollectionPage.c"
}
#line 269 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "SetBackground", _tmp92_);
@@ -2929,19 +2914,47 @@ static void collection_page_real_update_actions (Page* base, gint selected_count
_tmp95_ = has_selected;
#line 270 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp95_) {
+#line 2918 "CollectionPage.c"
+ const gchar* _tmp96_ = NULL;
+ gboolean _tmp97_ = FALSE;
+ gchar* label = NULL;
+ gchar* _tmp98_ = NULL;
+ const gchar* _tmp99_ = NULL;
#line 271 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_debug ("CollectionPage.vala:271: Setting action label for SetBackground...");
-#line 2935 "CollectionPage.c"
+#line 272 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+ _tmp97_ = one_selected;
+#line 272 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+ if (_tmp97_) {
+#line 273 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+ _tmp96_ = RESOURCES_SET_BACKGROUND_MENU;
+#line 2932 "CollectionPage.c"
+ } else {
+#line 274 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+ _tmp96_ = RESOURCES_SET_BACKGROUND_SLIDESHOW_MENU;
+#line 2936 "CollectionPage.c"
+ }
+#line 272 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+ _tmp98_ = g_strdup (_tmp96_);
+#line 272 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+ label = _tmp98_;
+#line 275 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+ _tmp99_ = label;
+#line 275 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+ page_update_menu_item_label (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "SetBackground", _tmp99_);
+#line 270 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+ _g_free0 (label);
+#line 2948 "CollectionPage.c"
}
}
static void collection_page_on_photos_altered (CollectionPage* self, GeeMap* altered) {
-#line 281 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 279 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (self));
-#line 281 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 279 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (GEE_IS_MAP (altered));
-#line 2945 "CollectionPage.c"
+#line 2958 "CollectionPage.c"
{
GeeIterator* _object_it = NULL;
GeeMap* _tmp0_ = NULL;
@@ -2950,25 +2963,25 @@ static void collection_page_on_photos_altered (CollectionPage* self, GeeMap* alt
GeeSet* _tmp3_ = NULL;
GeeIterator* _tmp4_ = NULL;
GeeIterator* _tmp5_ = NULL;
-#line 284 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 282 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = altered;
-#line 284 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 282 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = gee_map_get_keys (_tmp0_);
-#line 284 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 282 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = _tmp1_;
-#line 284 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 282 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_;
-#line 284 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 282 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_ITERABLE, GeeIterable));
-#line 284 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 282 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = _tmp4_;
-#line 284 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 282 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp3_);
-#line 284 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 282 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_object_it = _tmp5_;
-#line 284 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 282 "/home/jens/Source/shotwell/src/CollectionPage.vala"
while (TRUE) {
-#line 2972 "CollectionPage.c"
+#line 2985 "CollectionPage.c"
GeeIterator* _tmp6_ = NULL;
gboolean _tmp7_ = FALSE;
DataObject* object = NULL;
@@ -2988,120 +3001,120 @@ static void collection_page_on_photos_altered (CollectionPage* self, GeeMap* alt
gboolean _tmp24_ = FALSE;
LibraryPhoto* _tmp25_ = NULL;
gboolean _tmp26_ = FALSE;
-#line 284 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 282 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = _object_it;
-#line 284 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 282 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = gee_iterator_next (_tmp6_);
-#line 284 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 282 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!_tmp7_) {
-#line 284 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 282 "/home/jens/Source/shotwell/src/CollectionPage.vala"
break;
-#line 3000 "CollectionPage.c"
+#line 3013 "CollectionPage.c"
}
-#line 284 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 282 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = _object_it;
-#line 284 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 282 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = gee_iterator_get (_tmp8_);
-#line 284 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 282 "/home/jens/Source/shotwell/src/CollectionPage.vala"
object = (DataObject*) _tmp9_;
-#line 285 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 283 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = object;
-#line 285 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 283 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, TYPE_DATA_VIEW, DataView));
-#line 285 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 283 "/home/jens/Source/shotwell/src/CollectionPage.vala"
view = _tmp11_;
-#line 287 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 285 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp13_ = view;
-#line 287 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 285 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp14_ = data_view_is_selected (_tmp13_);
-#line 287 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 285 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!_tmp14_) {
-#line 287 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 285 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = TRUE;
-#line 3022 "CollectionPage.c"
+#line 3035 "CollectionPage.c"
} else {
GeeMap* _tmp15_ = NULL;
DataView* _tmp16_ = NULL;
gpointer _tmp17_ = NULL;
Alteration* _tmp18_ = NULL;
gboolean _tmp19_ = FALSE;
-#line 287 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 285 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp15_ = altered;
-#line 287 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 285 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp16_ = view;
-#line 287 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 285 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp17_ = gee_map_get (_tmp15_, G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, TYPE_DATA_OBJECT, DataObject));
-#line 287 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 285 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp18_ = (Alteration*) _tmp17_;
-#line 287 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 285 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp19_ = alteration_has_subject (_tmp18_, "image");
-#line 287 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 285 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = !_tmp19_;
-#line 287 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 285 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_alteration_unref0 (_tmp18_);
-#line 3043 "CollectionPage.c"
+#line 3056 "CollectionPage.c"
}
-#line 287 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 285 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp12_) {
-#line 288 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 286 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (view);
-#line 288 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 286 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (object);
-#line 288 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 286 "/home/jens/Source/shotwell/src/CollectionPage.vala"
continue;
-#line 3053 "CollectionPage.c"
+#line 3066 "CollectionPage.c"
}
-#line 290 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 288 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp20_ = view;
-#line 290 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 288 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp21_ = data_view_get_source (_tmp20_);
-#line 290 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 288 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp22_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp21_, TYPE_LIBRARY_PHOTO) ? ((LibraryPhoto*) _tmp21_) : NULL;
-#line 290 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 288 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp22_ == NULL) {
-#line 290 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 288 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp21_);
-#line 3065 "CollectionPage.c"
+#line 3078 "CollectionPage.c"
}
-#line 290 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 288 "/home/jens/Source/shotwell/src/CollectionPage.vala"
photo = _tmp22_;
-#line 291 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 289 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp23_ = photo;
-#line 291 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 289 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp23_ == NULL) {
-#line 292 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 290 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 292 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 290 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (view);
-#line 292 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 290 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (object);
-#line 292 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 290 "/home/jens/Source/shotwell/src/CollectionPage.vala"
continue;
-#line 3081 "CollectionPage.c"
+#line 3094 "CollectionPage.c"
}
-#line 296 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 294 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp24_ = collection_page_can_revert_selected (self);
-#line 296 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 294 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Revert", _tmp24_);
-#line 297 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 295 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp25_ = photo;
-#line 297 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 295 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp26_ = photo_has_color_adjustments (G_TYPE_CHECK_INSTANCE_CAST (_tmp25_, TYPE_PHOTO, Photo));
-#line 297 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 295 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "CopyColorAdjustments", _tmp26_);
-#line 299 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 297 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 299 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 297 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (view);
-#line 299 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 297 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (object);
-#line 299 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 297 "/home/jens/Source/shotwell/src/CollectionPage.vala"
break;
-#line 3101 "CollectionPage.c"
+#line 3114 "CollectionPage.c"
}
-#line 284 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 282 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_object_it);
-#line 3105 "CollectionPage.c"
+#line 3118 "CollectionPage.c"
}
}
@@ -3111,48 +3124,48 @@ static void collection_page_on_print (CollectionPage* self) {
ViewCollection* _tmp1_ = NULL;
gint _tmp2_ = 0;
gboolean _tmp3_ = FALSE;
-#line 303 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 301 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (self));
-#line 304 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 302 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 304 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 302 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 304 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 302 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = view_collection_get_selected_count (_tmp1_);
-#line 304 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 302 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_ > 0;
-#line 304 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 302 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 304 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 302 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp3_) {
-#line 3129 "CollectionPage.c"
+#line 3142 "CollectionPage.c"
PrintManager* _tmp4_ = NULL;
PrintManager* _tmp5_ = NULL;
ViewCollection* _tmp6_ = NULL;
ViewCollection* _tmp7_ = NULL;
GeeList* _tmp8_ = NULL;
GeeCollection* _tmp9_ = NULL;
-#line 305 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 303 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = print_manager_get_instance ();
-#line 305 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 303 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = _tmp4_;
-#line 305 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 303 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 305 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 303 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = _tmp6_;
-#line 305 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 303 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = view_collection_get_selected_sources_of_type (_tmp7_, TYPE_PHOTO);
-#line 305 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 303 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, GEE_TYPE_COLLECTION, GeeCollection);
-#line 305 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 303 "/home/jens/Source/shotwell/src/CollectionPage.vala"
print_manager_spool_photo (_tmp5_, _tmp9_);
-#line 305 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 303 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp9_);
-#line 305 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 303 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp7_);
-#line 305 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 303 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_print_manager_unref0 (_tmp5_);
-#line 3156 "CollectionPage.c"
+#line 3169 "CollectionPage.c"
}
}
@@ -3165,52 +3178,52 @@ static void collection_page_on_external_app_changed (CollectionPage* self) {
gint _tmp3_ = 0;
gboolean _tmp4_ = FALSE;
gint _tmp5_ = 0;
-#line 310 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 308 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (self));
-#line 311 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 309 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 311 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 309 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 311 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 309 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = view_collection_get_selected_count (_tmp1_);
-#line 311 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 309 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_;
-#line 311 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 309 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 311 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 309 "/home/jens/Source/shotwell/src/CollectionPage.vala"
selected_count = _tmp3_;
-#line 313 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 311 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = selected_count;
-#line 313 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 311 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp5_ == 1) {
-#line 3187 "CollectionPage.c"
+#line 3200 "CollectionPage.c"
ConfigFacade* _tmp6_ = NULL;
ConfigFacade* _tmp7_ = NULL;
gchar* _tmp8_ = NULL;
gchar* _tmp9_ = NULL;
-#line 313 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 311 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = config_facade_get_instance ();
-#line 313 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 311 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = _tmp6_;
-#line 313 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 311 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = configuration_facade_get_external_photo_app (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
-#line 313 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 311 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = _tmp8_;
-#line 313 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 311 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = g_strcmp0 (_tmp9_, "") != 0;
-#line 313 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 311 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_free0 (_tmp9_);
-#line 313 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 311 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp7_);
-#line 3206 "CollectionPage.c"
+#line 3219 "CollectionPage.c"
} else {
-#line 313 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 311 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = FALSE;
-#line 3210 "CollectionPage.c"
+#line 3223 "CollectionPage.c"
}
-#line 313 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 311 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "ExternalEdit", _tmp4_);
-#line 3214 "CollectionPage.c"
+#line 3227 "CollectionPage.c"
}
@@ -3232,162 +3245,162 @@ static void collection_page_real_on_item_activated (CheckerboardPage* base, Chec
gchar* _tmp11_ = NULL;
gchar* _tmp12_ = NULL;
CheckerboardPageActivator _tmp13_ = 0;
-#line 322 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 320 "/home/jens/Source/shotwell/src/CollectionPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_COLLECTION_PAGE, CollectionPage);
-#line 322 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 320 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_CHECKERBOARD_ITEM (item));
-#line 322 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 320 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (modifiers != NULL);
-#line 324 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 322 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = item;
-#line 324 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 322 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_THUMBNAIL, Thumbnail));
-#line 324 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 322 "/home/jens/Source/shotwell/src/CollectionPage.vala"
thumbnail = _tmp1_;
-#line 329 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 327 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = thumbnail;
-#line 329 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 327 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = thumbnail_get_media_source (_tmp2_);
-#line 329 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 327 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = _tmp3_;
-#line 329 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 327 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp4_, TYPE_VIDEO);
-#line 329 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 327 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp4_);
-#line 329 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 327 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp5_) {
-#line 330 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 328 "/home/jens/Source/shotwell/src/CollectionPage.vala"
media_page_on_play_video (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_MEDIA_PAGE, MediaPage));
-#line 331 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 329 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (thumbnail);
-#line 331 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 329 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 3266 "CollectionPage.c"
+#line 3279 "CollectionPage.c"
}
-#line 334 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 332 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = thumbnail;
-#line 334 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 332 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = thumbnail_get_media_source (_tmp6_);
-#line 334 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 332 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp7_, TYPE_LIBRARY_PHOTO) ? ((LibraryPhoto*) _tmp7_) : NULL;
-#line 334 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 332 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp8_ == NULL) {
-#line 334 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 332 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp7_);
-#line 3278 "CollectionPage.c"
+#line 3291 "CollectionPage.c"
}
-#line 334 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 332 "/home/jens/Source/shotwell/src/CollectionPage.vala"
photo = _tmp8_;
-#line 335 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 333 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = photo;
-#line 335 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 333 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp9_ == NULL) {
-#line 336 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 334 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 336 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 334 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (thumbnail);
-#line 336 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 334 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 3292 "CollectionPage.c"
+#line 3305 "CollectionPage.c"
}
-#line 339 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 337 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = photo;
-#line 339 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 337 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = data_object_to_string (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, TYPE_DATA_OBJECT, DataObject));
-#line 339 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 337 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = _tmp11_;
-#line 339 "/home/jens/Source/shotwell/src/CollectionPage.vala"
- g_debug ("CollectionPage.vala:339: activating %s", _tmp12_);
-#line 339 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 337 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+ g_debug ("CollectionPage.vala:337: activating %s", _tmp12_);
+#line 337 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_free0 (_tmp12_);
-#line 341 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 339 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp13_ = activator;
-#line 341 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 339 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp13_ == CHECKERBOARD_PAGE_ACTIVATOR_MOUSE) {
-#line 3308 "CollectionPage.c"
+#line 3321 "CollectionPage.c"
CheckerboardPageKeyboardModifiers _tmp14_ = {0};
gboolean _tmp15_ = FALSE;
-#line 342 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 340 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp14_ = *modifiers;
-#line 342 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 340 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp15_ = _tmp14_.super_pressed;
-#line 342 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 340 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp15_) {
-#line 343 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 341 "/home/jens/Source/shotwell/src/CollectionPage.vala"
collection_page_on_external_edit (self);
-#line 3319 "CollectionPage.c"
+#line 3332 "CollectionPage.c"
} else {
LibraryWindow* _tmp16_ = NULL;
LibraryWindow* _tmp17_ = NULL;
LibraryPhoto* _tmp18_ = NULL;
-#line 345 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 343 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp16_ = library_window_get_app ();
-#line 345 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 343 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp17_ = _tmp16_;
-#line 345 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 343 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp18_ = photo;
-#line 345 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 343 "/home/jens/Source/shotwell/src/CollectionPage.vala"
library_window_switch_to_photo_page (_tmp17_, self, G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, TYPE_PHOTO, Photo));
-#line 345 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 343 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp17_);
-#line 3334 "CollectionPage.c"
+#line 3347 "CollectionPage.c"
}
} else {
CheckerboardPageActivator _tmp19_ = 0;
-#line 346 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 344 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp19_ = activator;
-#line 346 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 344 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp19_ == CHECKERBOARD_PAGE_ACTIVATOR_KEYBOARD) {
-#line 3342 "CollectionPage.c"
+#line 3355 "CollectionPage.c"
gboolean _tmp20_ = FALSE;
CheckerboardPageKeyboardModifiers _tmp21_ = {0};
gboolean _tmp22_ = FALSE;
-#line 347 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 345 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp21_ = *modifiers;
-#line 347 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 345 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp22_ = _tmp21_.shift_pressed;
-#line 347 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 345 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!_tmp22_) {
-#line 3352 "CollectionPage.c"
+#line 3365 "CollectionPage.c"
CheckerboardPageKeyboardModifiers _tmp23_ = {0};
gboolean _tmp24_ = FALSE;
-#line 347 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 345 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp23_ = *modifiers;
-#line 347 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 345 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp24_ = _tmp23_.ctrl_pressed;
-#line 347 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 345 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp20_ = !_tmp24_;
-#line 3361 "CollectionPage.c"
+#line 3374 "CollectionPage.c"
} else {
-#line 347 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 345 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp20_ = FALSE;
-#line 3365 "CollectionPage.c"
+#line 3378 "CollectionPage.c"
}
-#line 347 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 345 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp20_) {
-#line 3369 "CollectionPage.c"
+#line 3382 "CollectionPage.c"
LibraryWindow* _tmp25_ = NULL;
LibraryWindow* _tmp26_ = NULL;
LibraryPhoto* _tmp27_ = NULL;
-#line 348 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 346 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp25_ = library_window_get_app ();
-#line 348 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 346 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp26_ = _tmp25_;
-#line 348 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 346 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp27_ = photo;
-#line 348 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 346 "/home/jens/Source/shotwell/src/CollectionPage.vala"
library_window_switch_to_photo_page (_tmp26_, self, G_TYPE_CHECK_INSTANCE_CAST (_tmp27_, TYPE_PHOTO, Photo));
-#line 348 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 346 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp26_);
-#line 3383 "CollectionPage.c"
+#line 3396 "CollectionPage.c"
}
}
}
-#line 322 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 320 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 322 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 320 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (thumbnail);
-#line 3391 "CollectionPage.c"
+#line 3404 "CollectionPage.c"
}
@@ -3400,133 +3413,133 @@ static gboolean collection_page_real_on_app_key_pressed (Page* base, GdkEventKey
const gchar* _tmp2_ = NULL;
const gchar* _tmp3_ = NULL;
GQuark _tmp5_ = 0U;
-#line 354 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
static GQuark _tmp4_label0 = 0;
-#line 354 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
static GQuark _tmp4_label1 = 0;
-#line 354 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
static GQuark _tmp4_label2 = 0;
-#line 354 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
static GQuark _tmp4_label3 = 0;
-#line 354 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
static GQuark _tmp4_label4 = 0;
-#line 354 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
static GQuark _tmp4_label5 = 0;
-#line 354 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
static GQuark _tmp4_label6 = 0;
-#line 354 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
static GQuark _tmp4_label7 = 0;
-#line 354 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
static GQuark _tmp4_label8 = 0;
-#line 354 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
static GQuark _tmp4_label9 = 0;
-#line 3424 "CollectionPage.c"
+#line 3437 "CollectionPage.c"
gboolean _tmp8_ = FALSE;
gboolean _tmp9_ = FALSE;
-#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 350 "/home/jens/Source/shotwell/src/CollectionPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_COLLECTION_PAGE, CollectionPage);
-#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 350 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 353 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 351 "/home/jens/Source/shotwell/src/CollectionPage.vala"
handled = TRUE;
-#line 354 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = event;
-#line 354 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_->keyval;
-#line 354 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = gdk_keyval_name (_tmp1_);
-#line 354 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_;
-#line 354 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = (NULL == _tmp3_) ? 0 : g_quark_from_string (_tmp3_);
-#line 354 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if ((((((((_tmp5_ == ((0 != _tmp4_label0) ? _tmp4_label0 : (_tmp4_label0 = g_quark_from_static_string ("Page_Up")))) || (_tmp5_ == ((0 != _tmp4_label1) ? _tmp4_label1 : (_tmp4_label1 = g_quark_from_static_string ("KP_Page_Up"))))) || (_tmp5_ == ((0 != _tmp4_label2) ? _tmp4_label2 : (_tmp4_label2 = g_quark_from_static_string ("Page_Down"))))) || (_tmp5_ == ((0 != _tmp4_label3) ? _tmp4_label3 : (_tmp4_label3 = g_quark_from_static_string ("KP_Page_Down"))))) || (_tmp5_ == ((0 != _tmp4_label4) ? _tmp4_label4 : (_tmp4_label4 = g_quark_from_static_string ("Home"))))) || (_tmp5_ == ((0 != _tmp4_label5) ? _tmp4_label5 : (_tmp4_label5 = g_quark_from_static_string ("KP_Home"))))) || (_tmp5_ == ((0 != _tmp4_label6) ? _tmp4_label6 : (_tmp4_label6 = g_quark_from_static_string ("End"))))) || (_tmp5_ == ((0 != _tmp4_label7) ? _tmp4_label7 : (_tmp4_label7 = g_quark_from_static_string ("KP_End"))))) {
-#line 354 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
switch (0) {
-#line 3447 "CollectionPage.c"
+#line 3460 "CollectionPage.c"
default:
{
GdkEventKey* _tmp6_ = NULL;
gboolean _tmp7_ = FALSE;
-#line 363 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 361 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = event;
-#line 363 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 361 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_signal_emit_by_name (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), "key-press-event", _tmp6_, &_tmp7_);
-#line 364 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 362 "/home/jens/Source/shotwell/src/CollectionPage.vala"
break;
-#line 3458 "CollectionPage.c"
+#line 3471 "CollectionPage.c"
}
}
} else if (_tmp5_ == ((0 != _tmp4_label8) ? _tmp4_label8 : (_tmp4_label8 = g_quark_from_static_string ("bracketright")))) {
-#line 354 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
switch (0) {
-#line 3464 "CollectionPage.c"
+#line 3477 "CollectionPage.c"
default:
{
-#line 367 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 365 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_activate_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RotateClockwise");
-#line 368 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 366 "/home/jens/Source/shotwell/src/CollectionPage.vala"
break;
-#line 3471 "CollectionPage.c"
+#line 3484 "CollectionPage.c"
}
}
} else if (_tmp5_ == ((0 != _tmp4_label9) ? _tmp4_label9 : (_tmp4_label9 = g_quark_from_static_string ("bracketleft")))) {
-#line 354 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
switch (0) {
-#line 3477 "CollectionPage.c"
+#line 3490 "CollectionPage.c"
default:
{
-#line 371 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 369 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_activate_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RotateCounterclockwise");
-#line 372 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 370 "/home/jens/Source/shotwell/src/CollectionPage.vala"
break;
-#line 3484 "CollectionPage.c"
+#line 3497 "CollectionPage.c"
}
}
} else {
-#line 354 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 352 "/home/jens/Source/shotwell/src/CollectionPage.vala"
switch (0) {
-#line 3490 "CollectionPage.c"
+#line 3503 "CollectionPage.c"
default:
{
-#line 375 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 373 "/home/jens/Source/shotwell/src/CollectionPage.vala"
handled = FALSE;
-#line 376 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 374 "/home/jens/Source/shotwell/src/CollectionPage.vala"
break;
-#line 3497 "CollectionPage.c"
+#line 3510 "CollectionPage.c"
}
}
}
-#line 379 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 377 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = handled;
-#line 379 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 377 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp9_) {
-#line 379 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 377 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = TRUE;
-#line 3507 "CollectionPage.c"
+#line 3520 "CollectionPage.c"
} else {
GdkEventKey* _tmp10_ = NULL;
gboolean _tmp11_ = FALSE;
-#line 379 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 377 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = event;
-#line 379 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 377 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = PAGE_CLASS (collection_page_parent_class)->on_app_key_pressed (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_MEDIA_PAGE, MediaPage), TYPE_PAGE, Page), _tmp10_);
-#line 379 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 377 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = _tmp11_;
-#line 3517 "CollectionPage.c"
+#line 3530 "CollectionPage.c"
}
-#line 379 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 377 "/home/jens/Source/shotwell/src/CollectionPage.vala"
result = _tmp8_;
-#line 379 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 377 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 3523 "CollectionPage.c"
+#line 3536 "CollectionPage.c"
}
static void _collection_page_on_export_completed_exporter_completion_callback (Exporter* exporter, gboolean is_cancelled, gpointer self) {
-#line 398 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 396 "/home/jens/Source/shotwell/src/CollectionPage.vala"
collection_page_on_export_completed ((CollectionPage*) self);
-#line 3530 "CollectionPage.c"
+#line 3543 "CollectionPage.c"
}
@@ -3582,233 +3595,233 @@ static void collection_page_real_on_export (MediaPage* base) {
ExporterUI* _tmp90_ = NULL;
ExporterUI* _tmp91_ = NULL;
GError * _inner_error_ = NULL;
-#line 382 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 380 "/home/jens/Source/shotwell/src/CollectionPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_COLLECTION_PAGE, CollectionPage);
-#line 383 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 381 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = self->priv->exporter;
-#line 383 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 381 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp0_ != NULL) {
-#line 384 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 382 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 3594 "CollectionPage.c"
+#line 3607 "CollectionPage.c"
}
-#line 386 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 384 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 386 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 384 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = _tmp1_;
-#line 386 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 384 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = view_collection_get_selected_sources (_tmp2_);
-#line 386 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 384 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_COLLECTION, GeeCollection);
-#line 386 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 384 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp2_);
-#line 386 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 384 "/home/jens/Source/shotwell/src/CollectionPage.vala"
export_list = _tmp4_;
-#line 388 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 386 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = export_list;
-#line 388 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 386 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = gee_collection_get_size (_tmp5_);
-#line 388 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 386 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = _tmp6_;
-#line 388 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 386 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp7_ == 0) {
-#line 389 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 387 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (export_list);
-#line 389 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 387 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 3620 "CollectionPage.c"
+#line 3633 "CollectionPage.c"
}
-#line 391 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 389 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = collection_page_selection_has_photo (self);
-#line 391 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 389 "/home/jens/Source/shotwell/src/CollectionPage.vala"
has_some_photos = _tmp8_;
-#line 392 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 390 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = collection_page_selection_has_video (self);
-#line 392 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 390 "/home/jens/Source/shotwell/src/CollectionPage.vala"
has_some_videos = _tmp9_;
-#line 393 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 391 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = has_some_photos;
-#line 393 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 391 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp11_) {
-#line 393 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 391 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = TRUE;
-#line 3636 "CollectionPage.c"
+#line 3649 "CollectionPage.c"
} else {
gboolean _tmp12_ = FALSE;
-#line 393 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 391 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = has_some_videos;
-#line 393 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 391 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = _tmp12_;
-#line 3643 "CollectionPage.c"
+#line 3656 "CollectionPage.c"
}
-#line 393 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 391 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_vala_assert (_tmp10_, "has_some_photos || has_some_videos");
-#line 397 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 395 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp13_ = has_some_photos;
-#line 397 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 395 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!_tmp13_) {
-#line 3651 "CollectionPage.c"
+#line 3664 "CollectionPage.c"
GeeCollection* _tmp14_ = NULL;
ExporterUI* _tmp15_ = NULL;
-#line 398 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 396 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp14_ = export_list;
-#line 398 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 396 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp15_ = video_export_many (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, GEE_TYPE_COLLECTION, GeeCollection), _collection_page_on_export_completed_exporter_completion_callback, self, FALSE);
-#line 398 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 396 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_exporter_ui_unref0 (self->priv->exporter);
-#line 398 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 396 "/home/jens/Source/shotwell/src/CollectionPage.vala"
self->priv->exporter = _tmp15_;
-#line 399 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 397 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (export_list);
-#line 399 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 397 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 3666 "CollectionPage.c"
+#line 3679 "CollectionPage.c"
}
-#line 402 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 400 "/home/jens/Source/shotwell/src/CollectionPage.vala"
title = NULL;
-#line 403 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 401 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp16_ = has_some_videos;
-#line 403 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 401 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp16_) {
-#line 3674 "CollectionPage.c"
+#line 3687 "CollectionPage.c"
const gchar* _tmp17_ = NULL;
GeeCollection* _tmp18_ = NULL;
gint _tmp19_ = 0;
gint _tmp20_ = 0;
gchar* _tmp23_ = NULL;
-#line 404 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 402 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp18_ = export_list;
-#line 404 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 402 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp19_ = gee_collection_get_size (_tmp18_);
-#line 404 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 402 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp20_ = _tmp19_;
-#line 404 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 402 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp20_ == 1) {
-#line 3688 "CollectionPage.c"
+#line 3701 "CollectionPage.c"
const gchar* _tmp21_ = NULL;
-#line 404 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 402 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp21_ = _ ("Export Photo/Video");
-#line 404 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 402 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp17_ = _tmp21_;
-#line 3694 "CollectionPage.c"
+#line 3707 "CollectionPage.c"
} else {
const gchar* _tmp22_ = NULL;
-#line 404 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 402 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp22_ = _ ("Export Photos/Videos");
-#line 404 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 402 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp17_ = _tmp22_;
-#line 3701 "CollectionPage.c"
+#line 3714 "CollectionPage.c"
}
-#line 404 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 402 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp23_ = g_strdup (_tmp17_);
-#line 404 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 402 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_free0 (title);
-#line 404 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 402 "/home/jens/Source/shotwell/src/CollectionPage.vala"
title = _tmp23_;
-#line 3709 "CollectionPage.c"
+#line 3722 "CollectionPage.c"
} else {
const gchar* _tmp24_ = NULL;
GeeCollection* _tmp25_ = NULL;
gint _tmp26_ = 0;
gint _tmp27_ = 0;
gchar* _tmp30_ = NULL;
-#line 406 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 404 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp25_ = export_list;
-#line 406 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 404 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp26_ = gee_collection_get_size (_tmp25_);
-#line 406 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 404 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp27_ = _tmp26_;
-#line 406 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 404 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp27_ == 1) {
-#line 3724 "CollectionPage.c"
+#line 3737 "CollectionPage.c"
const gchar* _tmp28_ = NULL;
-#line 406 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 404 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp28_ = _ ("Export Photo");
-#line 406 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 404 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp24_ = _tmp28_;
-#line 3730 "CollectionPage.c"
+#line 3743 "CollectionPage.c"
} else {
const gchar* _tmp29_ = NULL;
-#line 406 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 404 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp29_ = _ ("Export Photos");
-#line 406 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 404 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp24_ = _tmp29_;
-#line 3737 "CollectionPage.c"
+#line 3750 "CollectionPage.c"
}
-#line 406 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 404 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp30_ = g_strdup (_tmp24_);
-#line 406 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 404 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_free0 (title);
-#line 406 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 404 "/home/jens/Source/shotwell/src/CollectionPage.vala"
title = _tmp30_;
-#line 3745 "CollectionPage.c"
+#line 3758 "CollectionPage.c"
}
-#line 407 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 405 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp31_ = title;
-#line 407 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 405 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp32_ = export_dialog_new (_tmp31_);
-#line 407 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 405 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_object_ref_sink (_tmp32_);
-#line 407 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 405 "/home/jens/Source/shotwell/src/CollectionPage.vala"
export_dialog = _tmp32_;
-#line 417 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 415 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp34_ = has_some_videos;
-#line 417 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 415 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp34_) {
-#line 3759 "CollectionPage.c"
+#line 3772 "CollectionPage.c"
ExportFormatParameters _tmp35_ = {0};
-#line 417 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 415 "/home/jens/Source/shotwell/src/CollectionPage.vala"
export_format_parameters_current (&_tmp35_);
-#line 417 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 415 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp33_ = _tmp35_;
-#line 3765 "CollectionPage.c"
+#line 3778 "CollectionPage.c"
} else {
ExportFormatParameters _tmp36_ = {0};
-#line 418 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 416 "/home/jens/Source/shotwell/src/CollectionPage.vala"
export_format_parameters_last (&_tmp36_);
-#line 418 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 416 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp33_ = _tmp36_;
-#line 3772 "CollectionPage.c"
+#line 3785 "CollectionPage.c"
}
-#line 417 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 415 "/home/jens/Source/shotwell/src/CollectionPage.vala"
export_params = _tmp33_;
-#line 422 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 420 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp37_ = export_dialog;
-#line 422 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 420 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp40_ = export_dialog_execute (_tmp37_, &_tmp38_, &_tmp39_, &export_params);
-#line 422 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 420 "/home/jens/Source/shotwell/src/CollectionPage.vala"
scale = _tmp38_;
-#line 422 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 420 "/home/jens/Source/shotwell/src/CollectionPage.vala"
constraint = _tmp39_;
-#line 422 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 420 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!_tmp40_) {
-#line 423 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 421 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (export_dialog);
-#line 423 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 421 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_free0 (title);
-#line 423 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 421 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (export_list);
-#line 423 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 421 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 3794 "CollectionPage.c"
+#line 3807 "CollectionPage.c"
}
-#line 425 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 423 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp41_ = constraint;
-#line 425 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 423 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp42_ = scale;
-#line 425 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 423 "/home/jens/Source/shotwell/src/CollectionPage.vala"
scaling_for_constraint (_tmp41_, _tmp42_, FALSE, &_tmp43_);
-#line 425 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 423 "/home/jens/Source/shotwell/src/CollectionPage.vala"
scaling = _tmp43_;
-#line 428 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 426 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp44_ = export_list;
-#line 428 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 426 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp45_ = gee_collection_get_size (_tmp44_);
-#line 428 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 426 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp46_ = _tmp45_;
-#line 428 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 426 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp46_ == 1) {
-#line 3812 "CollectionPage.c"
+#line 3825 "CollectionPage.c"
LibraryPhoto* photo = NULL;
GFile* save_as = NULL;
LibraryPhoto* _tmp55_ = NULL;
@@ -3818,22 +3831,22 @@ static void collection_page_real_on_export (MediaPage* base) {
GFile* _tmp59_ = NULL;
GFile* _tmp60_ = NULL;
GFile* _tmp61_ = NULL;
-#line 429 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 427 "/home/jens/Source/shotwell/src/CollectionPage.vala"
photo = NULL;
-#line 3824 "CollectionPage.c"
+#line 3837 "CollectionPage.c"
{
GeeIterator* _p_it = NULL;
GeeCollection* _tmp47_ = NULL;
GeeIterator* _tmp48_ = NULL;
-#line 430 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 428 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp47_ = export_list;
-#line 430 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 428 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp48_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (_tmp47_, GEE_TYPE_COLLECTION, GeeCollection), GEE_TYPE_ITERABLE, GeeIterable));
-#line 430 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 428 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_p_it = _tmp48_;
-#line 430 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 428 "/home/jens/Source/shotwell/src/CollectionPage.vala"
while (TRUE) {
-#line 3837 "CollectionPage.c"
+#line 3850 "CollectionPage.c"
GeeIterator* _tmp49_ = NULL;
gboolean _tmp50_ = FALSE;
LibraryPhoto* p = NULL;
@@ -3841,73 +3854,73 @@ static void collection_page_real_on_export (MediaPage* base) {
gpointer _tmp52_ = NULL;
LibraryPhoto* _tmp53_ = NULL;
LibraryPhoto* _tmp54_ = NULL;
-#line 430 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 428 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp49_ = _p_it;
-#line 430 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 428 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp50_ = gee_iterator_next (_tmp49_);
-#line 430 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 428 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!_tmp50_) {
-#line 430 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 428 "/home/jens/Source/shotwell/src/CollectionPage.vala"
break;
-#line 3853 "CollectionPage.c"
+#line 3866 "CollectionPage.c"
}
-#line 430 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 428 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp51_ = _p_it;
-#line 430 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 428 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp52_ = gee_iterator_get (_tmp51_);
-#line 430 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 428 "/home/jens/Source/shotwell/src/CollectionPage.vala"
p = (LibraryPhoto*) _tmp52_;
-#line 431 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 429 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp53_ = p;
-#line 431 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 429 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp54_ = _g_object_ref0 (_tmp53_);
-#line 431 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 429 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 431 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 429 "/home/jens/Source/shotwell/src/CollectionPage.vala"
photo = _tmp54_;
-#line 432 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 430 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (p);
-#line 432 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 430 "/home/jens/Source/shotwell/src/CollectionPage.vala"
break;
-#line 3873 "CollectionPage.c"
+#line 3886 "CollectionPage.c"
}
-#line 430 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 428 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_p_it);
-#line 3877 "CollectionPage.c"
+#line 3890 "CollectionPage.c"
}
-#line 435 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 433 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp55_ = photo;
-#line 435 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 433 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp56_ = export_params;
-#line 435 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 433 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp57_ = photo_get_export_basename_for_parameters (G_TYPE_CHECK_INSTANCE_CAST (_tmp55_, TYPE_PHOTO, Photo), &_tmp56_);
-#line 435 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 433 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp58_ = _tmp57_;
-#line 435 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 433 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp59_ = export_ui_choose_file (_tmp58_);
-#line 435 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 433 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp60_ = _tmp59_;
-#line 435 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 433 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_free0 (_tmp58_);
-#line 435 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 433 "/home/jens/Source/shotwell/src/CollectionPage.vala"
save_as = _tmp60_;
-#line 437 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 435 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp61_ = save_as;
-#line 437 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 435 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp61_ == NULL) {
-#line 438 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 436 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (save_as);
-#line 438 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 436 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 438 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 436 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (export_dialog);
-#line 438 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 436 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_free0 (title);
-#line 438 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 436 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (export_list);
-#line 438 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 436 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 3911 "CollectionPage.c"
+#line 3924 "CollectionPage.c"
}
{
AppWindow* _tmp62_ = NULL;
@@ -3926,54 +3939,54 @@ static void collection_page_real_on_export (MediaPage* base) {
gboolean _tmp75_ = FALSE;
AppWindow* _tmp76_ = NULL;
AppWindow* _tmp77_ = NULL;
-#line 441 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 439 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp62_ = app_window_get_instance ();
-#line 441 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 439 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp63_ = _tmp62_;
-#line 441 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 439 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_window_set_busy_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp63_, TYPE_PAGE_WINDOW, PageWindow));
-#line 441 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 439 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp63_);
-#line 442 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp64_ = photo;
-#line 442 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp65_ = save_as;
-#line 442 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp66_ = scaling;
-#line 442 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp67_ = export_params;
-#line 442 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp68_ = _tmp67_.quality;
-#line 442 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp69_ = photo;
-#line 442 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp70_ = export_params;
-#line 442 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp71_ = photo_get_export_format_for_parameters (G_TYPE_CHECK_INSTANCE_CAST (_tmp69_, TYPE_PHOTO, Photo), &_tmp70_);
-#line 442 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp72_ = export_params;
-#line 442 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp73_ = _tmp72_.mode;
-#line 442 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp74_ = export_params;
-#line 442 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp75_ = _tmp74_.export_metadata;
-#line 442 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
photo_export (G_TYPE_CHECK_INSTANCE_CAST (_tmp64_, TYPE_PHOTO, Photo), _tmp65_, &_tmp66_, _tmp68_, _tmp71_, _tmp73_ == EXPORT_FORMAT_MODE_UNMODIFIED, _tmp75_, &_inner_error_);
-#line 442 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 3966 "CollectionPage.c"
+#line 3979 "CollectionPage.c"
goto __catch230_g_error;
}
-#line 445 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 443 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp76_ = app_window_get_instance ();
-#line 445 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 443 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp77_ = _tmp76_;
-#line 445 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 443 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_window_set_normal_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp77_, TYPE_PAGE_WINDOW, PageWindow));
-#line 445 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 443 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp77_);
-#line 3977 "CollectionPage.c"
+#line 3990 "CollectionPage.c"
}
goto __finally230;
__catch230_g_error:
@@ -3982,135 +3995,135 @@ static void collection_page_real_on_export (MediaPage* base) {
AppWindow* _tmp78_ = NULL;
AppWindow* _tmp79_ = NULL;
GFile* _tmp80_ = NULL;
-#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 438 "/home/jens/Source/shotwell/src/CollectionPage.vala"
err = _inner_error_;
-#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 438 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_inner_error_ = NULL;
-#line 447 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 445 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp78_ = app_window_get_instance ();
-#line 447 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 445 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp79_ = _tmp78_;
-#line 447 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 445 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_window_set_normal_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp79_, TYPE_PAGE_WINDOW, PageWindow));
-#line 447 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 445 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp79_);
-#line 448 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 446 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp80_ = save_as;
-#line 448 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 446 "/home/jens/Source/shotwell/src/CollectionPage.vala"
export_error_dialog (_tmp80_, FALSE);
-#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 438 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_error_free0 (err);
-#line 4004 "CollectionPage.c"
+#line 4017 "CollectionPage.c"
}
__finally230:
-#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 438 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 438 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (save_as);
-#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 438 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 438 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (export_dialog);
-#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 438 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_free0 (title);
-#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 438 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (export_list);
-#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 438 "/home/jens/Source/shotwell/src/CollectionPage.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 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 438 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_clear_error (&_inner_error_);
-#line 440 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 438 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 4025 "CollectionPage.c"
+#line 4038 "CollectionPage.c"
}
-#line 451 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 449 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (save_as);
-#line 451 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 449 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 451 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 449 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (export_dialog);
-#line 451 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 449 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_free0 (title);
-#line 451 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 449 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (export_list);
-#line 451 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 449 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 4039 "CollectionPage.c"
+#line 4052 "CollectionPage.c"
}
-#line 455 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 453 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp81_ = title;
-#line 455 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 453 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp82_ = export_ui_choose_dir (_tmp81_);
-#line 455 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 453 "/home/jens/Source/shotwell/src/CollectionPage.vala"
export_dir = _tmp82_;
-#line 456 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 454 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp83_ = export_dir;
-#line 456 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 454 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp83_ == NULL) {
-#line 457 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 455 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (export_dir);
-#line 457 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 455 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (export_dialog);
-#line 457 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 455 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_free0 (title);
-#line 457 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 455 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (export_list);
-#line 457 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 455 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 4061 "CollectionPage.c"
+#line 4074 "CollectionPage.c"
}
-#line 459 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 457 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp84_ = export_list;
-#line 459 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 457 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp85_ = export_dir;
-#line 459 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 457 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp86_ = scaling;
-#line 459 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 457 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp87_ = export_params;
-#line 459 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 457 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp88_ = exporter_new (_tmp84_, _tmp85_, &_tmp86_, &_tmp87_, FALSE);
-#line 459 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 457 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp89_ = _tmp88_;
-#line 459 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 457 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp90_ = exporter_ui_new (_tmp89_);
-#line 459 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 457 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_exporter_ui_unref0 (self->priv->exporter);
-#line 459 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 457 "/home/jens/Source/shotwell/src/CollectionPage.vala"
self->priv->exporter = _tmp90_;
-#line 459 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 457 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp89_);
-#line 460 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 458 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp91_ = self->priv->exporter;
-#line 460 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 458 "/home/jens/Source/shotwell/src/CollectionPage.vala"
exporter_ui_export (_tmp91_, _collection_page_on_export_completed_exporter_completion_callback, self);
-#line 382 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 380 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (export_dir);
-#line 382 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 380 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (export_dialog);
-#line 382 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 380 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_free0 (title);
-#line 382 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 380 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (export_list);
-#line 4095 "CollectionPage.c"
+#line 4108 "CollectionPage.c"
}
static void collection_page_on_export_completed (CollectionPage* self) {
-#line 463 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 461 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (self));
-#line 464 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 462 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_exporter_ui_unref0 (self->priv->exporter);
-#line 464 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 462 "/home/jens/Source/shotwell/src/CollectionPage.vala"
self->priv->exporter = NULL;
-#line 4106 "CollectionPage.c"
+#line 4119 "CollectionPage.c"
}
static gboolean collection_page_can_revert_selected (CollectionPage* self) {
gboolean result = FALSE;
-#line 467 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 465 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_val_if_fail (IS_COLLECTION_PAGE (self), FALSE);
-#line 4114 "CollectionPage.c"
+#line 4127 "CollectionPage.c"
{
GeeList* _source_list = NULL;
ViewCollection* _tmp0_ = NULL;
@@ -4122,31 +4135,31 @@ static gboolean collection_page_can_revert_selected (CollectionPage* self) {
gint _tmp5_ = 0;
gint _tmp6_ = 0;
gint _source_index = 0;
-#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = view_collection_get_selected_sources (_tmp1_);
-#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_;
-#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_source_list = _tmp3_;
-#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = _source_list;
-#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = _tmp5_;
-#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_source_size = _tmp6_;
-#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_source_index = -1;
-#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
while (TRUE) {
-#line 4150 "CollectionPage.c"
+#line 4163 "CollectionPage.c"
gint _tmp7_ = 0;
gint _tmp8_ = 0;
gint _tmp9_ = 0;
@@ -4159,107 +4172,107 @@ static gboolean collection_page_can_revert_selected (CollectionPage* self) {
LibraryPhoto* _tmp14_ = NULL;
gboolean _tmp15_ = FALSE;
LibraryPhoto* _tmp16_ = NULL;
-#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = _source_index;
-#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_source_index = _tmp7_ + 1;
-#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = _source_index;
-#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = _source_size;
-#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!(_tmp8_ < _tmp9_)) {
-#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
break;
-#line 4175 "CollectionPage.c"
+#line 4188 "CollectionPage.c"
}
-#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = _source_list;
-#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = _source_index;
-#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = gee_list_get (_tmp10_, _tmp11_);
-#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
source = (DataSource*) _tmp12_;
-#line 469 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 467 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp13_ = source;
-#line 469 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 467 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp14_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp13_, TYPE_LIBRARY_PHOTO) ? ((LibraryPhoto*) _tmp13_) : NULL);
-#line 469 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 467 "/home/jens/Source/shotwell/src/CollectionPage.vala"
photo = _tmp14_;
-#line 470 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp16_ = photo;
-#line 470 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp16_ != NULL) {
-#line 4195 "CollectionPage.c"
+#line 4208 "CollectionPage.c"
gboolean _tmp17_ = FALSE;
LibraryPhoto* _tmp18_ = NULL;
gboolean _tmp19_ = FALSE;
-#line 470 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp18_ = photo;
-#line 470 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp19_ = photo_has_transformations (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, TYPE_PHOTO, Photo));
-#line 470 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp19_) {
-#line 470 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp17_ = TRUE;
-#line 4207 "CollectionPage.c"
+#line 4220 "CollectionPage.c"
} else {
LibraryPhoto* _tmp20_ = NULL;
gboolean _tmp21_ = FALSE;
-#line 470 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp20_ = photo;
-#line 470 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp21_ = photo_has_editable (G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, TYPE_PHOTO, Photo));
-#line 470 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp17_ = _tmp21_;
-#line 4217 "CollectionPage.c"
+#line 4230 "CollectionPage.c"
}
-#line 470 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp15_ = _tmp17_;
-#line 4221 "CollectionPage.c"
+#line 4234 "CollectionPage.c"
} else {
-#line 470 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp15_ = FALSE;
-#line 4225 "CollectionPage.c"
+#line 4238 "CollectionPage.c"
}
-#line 470 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp15_) {
-#line 471 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 469 "/home/jens/Source/shotwell/src/CollectionPage.vala"
result = TRUE;
-#line 471 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 469 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 471 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 469 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (source);
-#line 471 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 469 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_source_list);
-#line 471 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 469 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 4239 "CollectionPage.c"
+#line 4252 "CollectionPage.c"
}
-#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (source);
-#line 4245 "CollectionPage.c"
+#line 4258 "CollectionPage.c"
}
-#line 468 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 466 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_source_list);
-#line 4249 "CollectionPage.c"
+#line 4262 "CollectionPage.c"
}
-#line 474 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 472 "/home/jens/Source/shotwell/src/CollectionPage.vala"
result = FALSE;
-#line 474 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 472 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 4255 "CollectionPage.c"
+#line 4268 "CollectionPage.c"
}
static gboolean collection_page_can_revert_editable_selected (CollectionPage* self) {
gboolean result = FALSE;
-#line 477 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 475 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_val_if_fail (IS_COLLECTION_PAGE (self), FALSE);
-#line 4263 "CollectionPage.c"
+#line 4276 "CollectionPage.c"
{
GeeList* _source_list = NULL;
ViewCollection* _tmp0_ = NULL;
@@ -4271,31 +4284,31 @@ static gboolean collection_page_can_revert_editable_selected (CollectionPage* se
gint _tmp5_ = 0;
gint _tmp6_ = 0;
gint _source_index = 0;
-#line 478 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 478 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 478 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = view_collection_get_selected_sources (_tmp1_);
-#line 478 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_;
-#line 478 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 478 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_source_list = _tmp3_;
-#line 478 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = _source_list;
-#line 478 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 478 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = _tmp5_;
-#line 478 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_source_size = _tmp6_;
-#line 478 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_source_index = -1;
-#line 478 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
while (TRUE) {
-#line 4299 "CollectionPage.c"
+#line 4312 "CollectionPage.c"
gint _tmp7_ = 0;
gint _tmp8_ = 0;
gint _tmp9_ = 0;
@@ -4308,82 +4321,82 @@ static gboolean collection_page_can_revert_editable_selected (CollectionPage* se
LibraryPhoto* _tmp14_ = NULL;
gboolean _tmp15_ = FALSE;
LibraryPhoto* _tmp16_ = NULL;
-#line 478 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = _source_index;
-#line 478 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_source_index = _tmp7_ + 1;
-#line 478 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = _source_index;
-#line 478 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = _source_size;
-#line 478 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!(_tmp8_ < _tmp9_)) {
-#line 478 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
break;
-#line 4324 "CollectionPage.c"
+#line 4337 "CollectionPage.c"
}
-#line 478 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = _source_list;
-#line 478 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = _source_index;
-#line 478 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = gee_list_get (_tmp10_, _tmp11_);
-#line 478 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
source = (DataSource*) _tmp12_;
-#line 479 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 477 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp13_ = source;
-#line 479 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 477 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp14_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp13_, TYPE_LIBRARY_PHOTO) ? ((LibraryPhoto*) _tmp13_) : NULL);
-#line 479 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 477 "/home/jens/Source/shotwell/src/CollectionPage.vala"
photo = _tmp14_;
-#line 480 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 478 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp16_ = photo;
-#line 480 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 478 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp16_ != NULL) {
-#line 4344 "CollectionPage.c"
+#line 4357 "CollectionPage.c"
LibraryPhoto* _tmp17_ = NULL;
gboolean _tmp18_ = FALSE;
-#line 480 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 478 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp17_ = photo;
-#line 480 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 478 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp18_ = photo_has_editable (G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, TYPE_PHOTO, Photo));
-#line 480 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 478 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp15_ = _tmp18_;
-#line 4353 "CollectionPage.c"
+#line 4366 "CollectionPage.c"
} else {
-#line 480 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 478 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp15_ = FALSE;
-#line 4357 "CollectionPage.c"
+#line 4370 "CollectionPage.c"
}
-#line 480 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 478 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp15_) {
-#line 481 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 479 "/home/jens/Source/shotwell/src/CollectionPage.vala"
result = TRUE;
-#line 481 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 479 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 481 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 479 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (source);
-#line 481 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 479 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_source_list);
-#line 481 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 479 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 4371 "CollectionPage.c"
+#line 4384 "CollectionPage.c"
}
-#line 478 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 478 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (source);
-#line 4377 "CollectionPage.c"
+#line 4390 "CollectionPage.c"
}
-#line 478 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 476 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_source_list);
-#line 4381 "CollectionPage.c"
+#line 4394 "CollectionPage.c"
}
-#line 484 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 482 "/home/jens/Source/shotwell/src/CollectionPage.vala"
result = FALSE;
-#line 484 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 482 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 4387 "CollectionPage.c"
+#line 4400 "CollectionPage.c"
}
@@ -4404,59 +4417,59 @@ static void collection_page_on_rotate_clockwise (CollectionPage* self) {
CommandManager* _tmp12_ = NULL;
CommandManager* _tmp13_ = NULL;
RotateMultipleCommand* _tmp14_ = NULL;
-#line 487 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 485 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (self));
-#line 488 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 486 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 488 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 486 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 488 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 486 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = view_collection_get_selected_count (_tmp1_);
-#line 488 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 486 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_ == 0;
-#line 488 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 486 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 488 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 486 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp3_) {
-#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 487 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 4424 "CollectionPage.c"
+#line 4437 "CollectionPage.c"
}
-#line 491 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 491 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = _tmp4_;
-#line 491 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = view_collection_get_selected (_tmp5_);
-#line 491 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = _tmp6_;
-#line 491 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = _ ("Rotating");
-#line 491 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = _ ("Undoing Rotate");
-#line 491 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = rotate_multiple_command_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, GEE_TYPE_ITERABLE, GeeIterable), ROTATION_CLOCKWISE, RESOURCES_ROTATE_CW_FULL_LABEL, RESOURCES_ROTATE_CW_TOOLTIP, _tmp8_, _tmp9_);
-#line 491 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = _tmp10_;
-#line 491 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp7_);
-#line 491 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp5_);
-#line 491 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 489 "/home/jens/Source/shotwell/src/CollectionPage.vala"
command = _tmp11_;
-#line 494 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 492 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 494 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 492 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp13_ = _tmp12_;
-#line 494 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 492 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp14_ = command;
-#line 494 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 492 "/home/jens/Source/shotwell/src/CollectionPage.vala"
command_manager_execute (_tmp13_, G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, TYPE_COMMAND, Command));
-#line 494 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 492 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_command_manager_unref0 (_tmp13_);
-#line 487 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 485 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (command);
-#line 4460 "CollectionPage.c"
+#line 4473 "CollectionPage.c"
}
@@ -4465,40 +4478,40 @@ static void collection_page_on_publish (CollectionPage* self) {
ViewCollection* _tmp1_ = NULL;
gint _tmp2_ = 0;
gboolean _tmp3_ = FALSE;
-#line 497 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 495 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (self));
-#line 498 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 496 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 498 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 496 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 498 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 496 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = view_collection_get_selected_count (_tmp1_);
-#line 498 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 496 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_ > 0;
-#line 498 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 496 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 498 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 496 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp3_) {
-#line 4483 "CollectionPage.c"
+#line 4496 "CollectionPage.c"
ViewCollection* _tmp4_ = NULL;
ViewCollection* _tmp5_ = NULL;
GeeList* _tmp6_ = NULL;
GeeCollection* _tmp7_ = NULL;
-#line 499 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 497 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 499 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 497 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = _tmp4_;
-#line 499 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 497 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = view_collection_get_selected_sources (_tmp5_);
-#line 499 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 497 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, GEE_TYPE_COLLECTION, GeeCollection);
-#line 499 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 497 "/home/jens/Source/shotwell/src/CollectionPage.vala"
publishing_ui_publishing_dialog_go (_tmp7_);
-#line 499 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 497 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp7_);
-#line 499 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 497 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp5_);
-#line 4502 "CollectionPage.c"
+#line 4515 "CollectionPage.c"
}
}
@@ -4520,59 +4533,59 @@ static void collection_page_on_rotate_counterclockwise (CollectionPage* self) {
CommandManager* _tmp12_ = NULL;
CommandManager* _tmp13_ = NULL;
RotateMultipleCommand* _tmp14_ = NULL;
-#line 503 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 501 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (self));
-#line 504 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 502 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 504 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 502 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 504 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 502 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = view_collection_get_selected_count (_tmp1_);
-#line 504 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 502 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_ == 0;
-#line 504 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 502 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 504 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 502 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp3_) {
-#line 505 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 503 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 4540 "CollectionPage.c"
+#line 4553 "CollectionPage.c"
}
-#line 507 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 505 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 507 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 505 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = _tmp4_;
-#line 507 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 505 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = view_collection_get_selected (_tmp5_);
-#line 507 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 505 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = _tmp6_;
-#line 507 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 505 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = _ ("Rotating");
-#line 507 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 505 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = _ ("Undoing Rotate");
-#line 507 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 505 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = rotate_multiple_command_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, GEE_TYPE_ITERABLE, GeeIterable), ROTATION_COUNTERCLOCKWISE, RESOURCES_ROTATE_CCW_FULL_LABEL, RESOURCES_ROTATE_CCW_TOOLTIP, _tmp8_, _tmp9_);
-#line 507 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 505 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = _tmp10_;
-#line 507 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 505 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp7_);
-#line 507 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 505 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp5_);
-#line 507 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 505 "/home/jens/Source/shotwell/src/CollectionPage.vala"
command = _tmp11_;
-#line 510 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 508 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 510 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 508 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp13_ = _tmp12_;
-#line 510 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 508 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp14_ = command;
-#line 510 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 508 "/home/jens/Source/shotwell/src/CollectionPage.vala"
command_manager_execute (_tmp13_, G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, TYPE_COMMAND, Command));
-#line 510 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 508 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_command_manager_unref0 (_tmp13_);
-#line 503 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 501 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (command);
-#line 4576 "CollectionPage.c"
+#line 4589 "CollectionPage.c"
}
@@ -4593,59 +4606,59 @@ static void collection_page_on_flip_horizontally (CollectionPage* self) {
CommandManager* _tmp12_ = NULL;
CommandManager* _tmp13_ = NULL;
RotateMultipleCommand* _tmp14_ = NULL;
-#line 513 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 511 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (self));
-#line 514 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 512 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 514 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 512 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 514 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 512 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = view_collection_get_selected_count (_tmp1_);
-#line 514 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 512 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_ == 0;
-#line 514 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 512 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 514 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 512 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp3_) {
-#line 515 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 513 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 4613 "CollectionPage.c"
+#line 4626 "CollectionPage.c"
}
-#line 517 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 515 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 517 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 515 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = _tmp4_;
-#line 517 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 515 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = view_collection_get_selected (_tmp5_);
-#line 517 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 515 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = _tmp6_;
-#line 517 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 515 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = _ ("Flipping Horizontally");
-#line 517 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 515 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = _ ("Undoing Flip Horizontally");
-#line 517 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 515 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = rotate_multiple_command_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, GEE_TYPE_ITERABLE, GeeIterable), ROTATION_MIRROR, RESOURCES_HFLIP_LABEL, "", _tmp8_, _tmp9_);
-#line 517 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 515 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = _tmp10_;
-#line 517 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 515 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp7_);
-#line 517 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 515 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp5_);
-#line 517 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 515 "/home/jens/Source/shotwell/src/CollectionPage.vala"
command = _tmp11_;
-#line 520 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 518 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 520 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 518 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp13_ = _tmp12_;
-#line 520 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 518 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp14_ = command;
-#line 520 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 518 "/home/jens/Source/shotwell/src/CollectionPage.vala"
command_manager_execute (_tmp13_, G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, TYPE_COMMAND, Command));
-#line 520 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 518 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_command_manager_unref0 (_tmp13_);
-#line 513 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 511 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (command);
-#line 4649 "CollectionPage.c"
+#line 4662 "CollectionPage.c"
}
@@ -4666,59 +4679,59 @@ static void collection_page_on_flip_vertically (CollectionPage* self) {
CommandManager* _tmp12_ = NULL;
CommandManager* _tmp13_ = NULL;
RotateMultipleCommand* _tmp14_ = NULL;
-#line 523 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 521 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (self));
-#line 524 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 522 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 524 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 522 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 524 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 522 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = view_collection_get_selected_count (_tmp1_);
-#line 524 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 522 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_ == 0;
-#line 524 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 522 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 524 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 522 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp3_) {
-#line 525 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 523 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 4686 "CollectionPage.c"
+#line 4699 "CollectionPage.c"
}
-#line 527 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 525 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 527 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 525 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = _tmp4_;
-#line 527 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 525 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = view_collection_get_selected (_tmp5_);
-#line 527 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 525 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = _tmp6_;
-#line 527 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 525 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = _ ("Flipping Vertically");
-#line 527 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 525 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = _ ("Undoing Flip Vertically");
-#line 527 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 525 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = rotate_multiple_command_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, GEE_TYPE_ITERABLE, GeeIterable), ROTATION_UPSIDE_DOWN, RESOURCES_VFLIP_LABEL, "", _tmp8_, _tmp9_);
-#line 527 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 525 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = _tmp10_;
-#line 527 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 525 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp7_);
-#line 527 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 525 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp5_);
-#line 527 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 525 "/home/jens/Source/shotwell/src/CollectionPage.vala"
command = _tmp11_;
-#line 530 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 528 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 530 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 528 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp13_ = _tmp12_;
-#line 530 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 528 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp14_ = command;
-#line 530 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 528 "/home/jens/Source/shotwell/src/CollectionPage.vala"
command_manager_execute (_tmp13_, G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, TYPE_COMMAND, Command));
-#line 530 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 528 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_command_manager_unref0 (_tmp13_);
-#line 523 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 521 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (command);
-#line 4722 "CollectionPage.c"
+#line 4735 "CollectionPage.c"
}
@@ -4738,29 +4751,29 @@ static void collection_page_on_revert (CollectionPage* self) {
CommandManager* _tmp33_ = NULL;
CommandManager* _tmp34_ = NULL;
RevertMultipleCommand* _tmp35_ = NULL;
-#line 533 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 531 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (self));
-#line 534 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 532 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 534 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 532 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 534 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 532 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = view_collection_get_selected_count (_tmp1_);
-#line 534 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 532 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_ == 0;
-#line 534 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 532 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 534 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 532 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp3_) {
-#line 535 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 533 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 4758 "CollectionPage.c"
+#line 4771 "CollectionPage.c"
}
-#line 537 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 535 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = collection_page_can_revert_editable_selected (self);
-#line 537 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 535 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp4_) {
-#line 4764 "CollectionPage.c"
+#line 4777 "CollectionPage.c"
AppWindow* _tmp5_ = NULL;
AppWindow* _tmp6_ = NULL;
ViewCollection* _tmp7_ = NULL;
@@ -4769,33 +4782,33 @@ static void collection_page_on_revert (CollectionPage* self) {
GeeCollection* _tmp10_ = NULL;
gboolean _tmp11_ = FALSE;
gboolean _tmp12_ = FALSE;
-#line 538 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 536 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = app_window_get_instance ();
-#line 538 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 536 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = _tmp5_;
-#line 538 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 536 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 538 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 536 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = _tmp7_;
-#line 538 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 536 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = view_collection_get_selected_sources (_tmp8_);
-#line 538 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 536 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, GEE_TYPE_COLLECTION, GeeCollection);
-#line 538 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 536 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = revert_editable_dialog (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, gtk_window_get_type (), GtkWindow), _tmp10_);
-#line 538 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 536 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = !_tmp11_;
-#line 538 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 536 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp10_);
-#line 538 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 536 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp8_);
-#line 538 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 536 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp6_);
-#line 538 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 536 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp12_) {
-#line 540 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 538 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 4799 "CollectionPage.c"
+#line 4812 "CollectionPage.c"
}
{
GeeList* _object_list = NULL;
@@ -4808,31 +4821,31 @@ static void collection_page_on_revert (CollectionPage* self) {
gint _tmp18_ = 0;
gint _tmp19_ = 0;
gint _object_index = 0;
-#line 543 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp13_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 543 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp14_ = _tmp13_;
-#line 543 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp15_ = view_collection_get_selected_sources (_tmp14_);
-#line 543 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp16_ = _tmp15_;
-#line 543 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp14_);
-#line 543 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_object_list = _tmp16_;
-#line 543 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp17_ = _object_list;
-#line 543 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp18_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 543 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp19_ = _tmp18_;
-#line 543 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_object_size = _tmp19_;
-#line 543 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_object_index = -1;
-#line 543 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
while (TRUE) {
-#line 4836 "CollectionPage.c"
+#line 4849 "CollectionPage.c"
gint _tmp20_ = 0;
gint _tmp21_ = 0;
gint _tmp22_ = 0;
@@ -4841,72 +4854,72 @@ static void collection_page_on_revert (CollectionPage* self) {
gint _tmp24_ = 0;
gpointer _tmp25_ = NULL;
DataObject* _tmp26_ = NULL;
-#line 543 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp20_ = _object_index;
-#line 543 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_object_index = _tmp20_ + 1;
-#line 543 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp21_ = _object_index;
-#line 543 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp22_ = _object_size;
-#line 543 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!(_tmp21_ < _tmp22_)) {
-#line 543 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
break;
-#line 4857 "CollectionPage.c"
+#line 4870 "CollectionPage.c"
}
-#line 543 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp23_ = _object_list;
-#line 543 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp24_ = _object_index;
-#line 543 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp25_ = gee_list_get (_tmp23_, _tmp24_);
-#line 543 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
object = G_TYPE_CHECK_INSTANCE_CAST ((DataSource*) _tmp25_, TYPE_DATA_OBJECT, DataObject);
-#line 544 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 542 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp26_ = object;
-#line 544 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 542 "/home/jens/Source/shotwell/src/CollectionPage.vala"
photo_revert_to_master (G_TYPE_CHECK_INSTANCE_CAST (_tmp26_, TYPE_PHOTO, Photo), TRUE);
-#line 543 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (object);
-#line 4873 "CollectionPage.c"
+#line 4886 "CollectionPage.c"
}
-#line 543 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 541 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_object_list);
-#line 4877 "CollectionPage.c"
+#line 4890 "CollectionPage.c"
}
}
-#line 547 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 545 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp27_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 547 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 545 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp28_ = _tmp27_;
-#line 547 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 545 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp29_ = view_collection_get_selected (_tmp28_);
-#line 547 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 545 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp30_ = _tmp29_;
-#line 547 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 545 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp31_ = revert_multiple_command_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp30_, GEE_TYPE_ITERABLE, GeeIterable));
-#line 547 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 545 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp32_ = _tmp31_;
-#line 547 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 545 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp30_);
-#line 547 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 545 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp28_);
-#line 547 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 545 "/home/jens/Source/shotwell/src/CollectionPage.vala"
command = _tmp32_;
-#line 548 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 546 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp33_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 548 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 546 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp34_ = _tmp33_;
-#line 548 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 546 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp35_ = command;
-#line 548 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 546 "/home/jens/Source/shotwell/src/CollectionPage.vala"
command_manager_execute (_tmp34_, G_TYPE_CHECK_INSTANCE_CAST (_tmp35_, TYPE_COMMAND, Command));
-#line 548 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 546 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_command_manager_unref0 (_tmp34_);
-#line 533 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 531 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (command);
-#line 4910 "CollectionPage.c"
+#line 4923 "CollectionPage.c"
}
@@ -4925,57 +4938,57 @@ void collection_page_on_copy_adjustments (CollectionPage* self) {
Photo* _tmp10_ = NULL;
PixelTransformationBundle* _tmp11_ = NULL;
PixelTransformationBundle* _tmp12_ = NULL;
-#line 551 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 549 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (self));
-#line 552 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 550 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 552 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 550 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 552 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 550 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = view_collection_get_selected_count (_tmp1_);
-#line 552 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 550 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_ != 1;
-#line 552 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 550 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 552 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 550 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp3_) {
-#line 553 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 551 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 4945 "CollectionPage.c"
+#line 4958 "CollectionPage.c"
}
-#line 554 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 552 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 554 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 552 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = _tmp4_;
-#line 554 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 552 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = view_collection_get_selected_at (_tmp5_, 0);
-#line 554 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 552 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = _tmp6_;
-#line 554 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 552 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = data_view_get_source (_tmp7_);
-#line 554 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 552 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, TYPE_PHOTO, Photo);
-#line 554 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 552 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp7_);
-#line 554 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 552 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp5_);
-#line 554 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 552 "/home/jens/Source/shotwell/src/CollectionPage.vala"
photo = _tmp9_;
-#line 555 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 553 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = photo;
-#line 555 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 553 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = photo_get_color_adjustments (_tmp10_);
-#line 555 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 553 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = _tmp11_;
-#line 555 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 553 "/home/jens/Source/shotwell/src/CollectionPage.vala"
pixel_transformation_bundle_set_copied_color_adjustments (_tmp12_);
-#line 555 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 553 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_pixel_transformation_bundle_unref0 (_tmp12_);
-#line 556 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 554 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "PasteColorAdjustments", TRUE);
-#line 551 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 549 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 4979 "CollectionPage.c"
+#line 4992 "CollectionPage.c"
}
@@ -4998,78 +5011,78 @@ void collection_page_on_paste_adjustments (CollectionPage* self) {
CommandManager* _tmp14_ = NULL;
CommandManager* _tmp15_ = NULL;
AdjustColorsMultipleCommand* _tmp16_ = NULL;
-#line 559 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 557 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (self));
-#line 560 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 558 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = pixel_transformation_bundle_get_copied_color_adjustments ();
-#line 560 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 558 "/home/jens/Source/shotwell/src/CollectionPage.vala"
copied_adjustments = _tmp0_;
-#line 561 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 559 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 561 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 559 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_;
-#line 561 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 559 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = view_collection_get_selected_count (_tmp3_);
-#line 561 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 559 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = _tmp4_ == 0;
-#line 561 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 559 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp3_);
-#line 561 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 559 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp5_) {
-#line 561 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 559 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = TRUE;
-#line 5022 "CollectionPage.c"
+#line 5035 "CollectionPage.c"
} else {
PixelTransformationBundle* _tmp6_ = NULL;
-#line 561 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 559 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = copied_adjustments;
-#line 561 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 559 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp6_ == NULL;
-#line 5029 "CollectionPage.c"
+#line 5042 "CollectionPage.c"
}
-#line 561 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 559 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp1_) {
-#line 562 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 560 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_pixel_transformation_bundle_unref0 (copied_adjustments);
-#line 562 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 560 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 5037 "CollectionPage.c"
+#line 5050 "CollectionPage.c"
}
-#line 564 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 562 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 564 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 562 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = _tmp7_;
-#line 564 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 562 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = view_collection_get_selected (_tmp8_);
-#line 564 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 562 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = _tmp9_;
-#line 564 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 562 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = copied_adjustments;
-#line 564 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 562 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = adjust_colors_multiple_command_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, GEE_TYPE_ITERABLE, GeeIterable), _tmp11_, RESOURCES_PASTE_ADJUSTMENTS_LABEL, RESOURCES_PASTE_ADJUSTMENTS_TOOLTIP);
-#line 564 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 562 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp13_ = _tmp12_;
-#line 564 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 562 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp10_);
-#line 564 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 562 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp8_);
-#line 564 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 562 "/home/jens/Source/shotwell/src/CollectionPage.vala"
command = _tmp13_;
-#line 566 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 564 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp14_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 566 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 564 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp15_ = _tmp14_;
-#line 566 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 564 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp16_ = command;
-#line 566 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 564 "/home/jens/Source/shotwell/src/CollectionPage.vala"
command_manager_execute (_tmp15_, G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, TYPE_COMMAND, Command));
-#line 566 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 564 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_command_manager_unref0 (_tmp15_);
-#line 559 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 557 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (command);
-#line 559 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 557 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_pixel_transformation_bundle_unref0 (copied_adjustments);
-#line 5073 "CollectionPage.c"
+#line 5086 "CollectionPage.c"
}
@@ -5088,55 +5101,55 @@ static void collection_page_on_enhance (CollectionPage* self) {
CommandManager* _tmp10_ = NULL;
CommandManager* _tmp11_ = NULL;
EnhanceMultipleCommand* _tmp12_ = NULL;
-#line 569 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 567 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (self));
-#line 570 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 568 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 570 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 568 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 570 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 568 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = view_collection_get_selected_count (_tmp1_);
-#line 570 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 568 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_ == 0;
-#line 570 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 568 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 570 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 568 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp3_) {
-#line 571 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 569 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 5108 "CollectionPage.c"
+#line 5121 "CollectionPage.c"
}
-#line 573 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 571 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 573 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 571 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = _tmp4_;
-#line 573 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 571 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = view_collection_get_selected (_tmp5_);
-#line 573 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 571 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = _tmp6_;
-#line 573 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 571 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = enhance_multiple_command_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, GEE_TYPE_ITERABLE, GeeIterable));
-#line 573 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 571 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = _tmp8_;
-#line 573 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 571 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp7_);
-#line 573 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 571 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp5_);
-#line 573 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 571 "/home/jens/Source/shotwell/src/CollectionPage.vala"
command = _tmp9_;
-#line 574 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 572 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 574 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 572 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = _tmp10_;
-#line 574 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 572 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = command;
-#line 574 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 572 "/home/jens/Source/shotwell/src/CollectionPage.vala"
command_manager_execute (_tmp11_, G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, TYPE_COMMAND, Command));
-#line 574 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 572 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_command_manager_unref0 (_tmp11_);
-#line 569 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 567 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (command);
-#line 5140 "CollectionPage.c"
+#line 5153 "CollectionPage.c"
}
@@ -5155,55 +5168,55 @@ static void collection_page_on_duplicate_photo (CollectionPage* self) {
CommandManager* _tmp10_ = NULL;
CommandManager* _tmp11_ = NULL;
DuplicateMultiplePhotosCommand* _tmp12_ = NULL;
-#line 577 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 575 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (self));
-#line 578 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 576 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 578 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 576 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 578 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 576 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = view_collection_get_selected_count (_tmp1_);
-#line 578 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 576 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_ == 0;
-#line 578 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 576 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 578 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 576 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp3_) {
-#line 579 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 577 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 5175 "CollectionPage.c"
+#line 5188 "CollectionPage.c"
}
-#line 581 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 579 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 581 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 579 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = _tmp4_;
-#line 581 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 579 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = view_collection_get_selected (_tmp5_);
-#line 581 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 579 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = _tmp6_;
-#line 581 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 579 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = duplicate_multiple_photos_command_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, GEE_TYPE_ITERABLE, GeeIterable));
-#line 581 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 579 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = _tmp8_;
-#line 581 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 579 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp7_);
-#line 581 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 579 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp5_);
-#line 581 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 579 "/home/jens/Source/shotwell/src/CollectionPage.vala"
command = _tmp9_;
-#line 583 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 581 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 583 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 581 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = _tmp10_;
-#line 583 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 581 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = command;
-#line 583 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 581 "/home/jens/Source/shotwell/src/CollectionPage.vala"
command_manager_execute (_tmp11_, G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, TYPE_COMMAND, Command));
-#line 583 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 581 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_command_manager_unref0 (_tmp11_);
-#line 577 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 575 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (command);
-#line 5207 "CollectionPage.c"
+#line 5220 "CollectionPage.c"
}
@@ -5238,29 +5251,29 @@ static void collection_page_on_adjust_date_time (CollectionPage* self) {
gboolean _tmp37_ = FALSE;
gboolean _tmp38_ = FALSE;
gboolean _tmp39_ = FALSE;
-#line 586 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 584 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (self));
-#line 587 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 585 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 587 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 585 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 587 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 585 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = view_collection_get_selected_count (_tmp1_);
-#line 587 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 585 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_ == 0;
-#line 587 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 585 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 587 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 585 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp3_) {
-#line 588 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 586 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 5258 "CollectionPage.c"
+#line 5271 "CollectionPage.c"
}
-#line 590 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 588 "/home/jens/Source/shotwell/src/CollectionPage.vala"
selected_has_videos = FALSE;
-#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 589 "/home/jens/Source/shotwell/src/CollectionPage.vala"
only_videos_selected = TRUE;
-#line 5264 "CollectionPage.c"
+#line 5277 "CollectionPage.c"
{
GeeList* _dv_list = NULL;
ViewCollection* _tmp4_ = NULL;
@@ -5272,31 +5285,31 @@ static void collection_page_on_adjust_date_time (CollectionPage* self) {
gint _tmp9_ = 0;
gint _tmp10_ = 0;
gint _dv_index = 0;
-#line 593 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 593 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = _tmp4_;
-#line 593 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = view_collection_get_selected (_tmp5_);
-#line 593 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = _tmp6_;
-#line 593 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp5_);
-#line 593 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_dv_list = _tmp7_;
-#line 593 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = _dv_list;
-#line 593 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 593 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = _tmp9_;
-#line 593 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_dv_size = _tmp10_;
-#line 593 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_dv_index = -1;
-#line 593 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
while (TRUE) {
-#line 5300 "CollectionPage.c"
+#line 5313 "CollectionPage.c"
gint _tmp11_ = 0;
gint _tmp12_ = 0;
gint _tmp13_ = 0;
@@ -5308,109 +5321,109 @@ static void collection_page_on_adjust_date_time (CollectionPage* self) {
DataSource* _tmp18_ = NULL;
DataSource* _tmp19_ = NULL;
gboolean _tmp20_ = FALSE;
-#line 593 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = _dv_index;
-#line 593 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_dv_index = _tmp11_ + 1;
-#line 593 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = _dv_index;
-#line 593 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp13_ = _dv_size;
-#line 593 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (!(_tmp12_ < _tmp13_)) {
-#line 593 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
break;
-#line 5324 "CollectionPage.c"
+#line 5337 "CollectionPage.c"
}
-#line 593 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp14_ = _dv_list;
-#line 593 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp15_ = _dv_index;
-#line 593 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp16_ = gee_list_get (_tmp14_, _tmp15_);
-#line 593 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
dv = (DataView*) _tmp16_;
-#line 594 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 592 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp17_ = dv;
-#line 594 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 592 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp18_ = data_view_get_source (_tmp17_);
-#line 594 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 592 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp19_ = _tmp18_;
-#line 594 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 592 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp20_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp19_, TYPE_VIDEO);
-#line 594 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 592 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp19_);
-#line 594 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 592 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp20_) {
-#line 595 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 593 "/home/jens/Source/shotwell/src/CollectionPage.vala"
selected_has_videos = TRUE;
-#line 5348 "CollectionPage.c"
+#line 5361 "CollectionPage.c"
} else {
-#line 597 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 595 "/home/jens/Source/shotwell/src/CollectionPage.vala"
only_videos_selected = FALSE;
-#line 5352 "CollectionPage.c"
+#line 5365 "CollectionPage.c"
}
-#line 593 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (dv);
-#line 5356 "CollectionPage.c"
+#line 5369 "CollectionPage.c"
}
-#line 593 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 591 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_dv_list);
-#line 5360 "CollectionPage.c"
+#line 5373 "CollectionPage.c"
}
-#line 600 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp21_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 600 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp22_ = _tmp21_;
-#line 600 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp23_ = view_collection_get_selected_at (_tmp22_, 0);
-#line 600 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp24_ = _tmp23_;
-#line 600 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp25_ = data_view_get_source (_tmp24_);
-#line 600 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp26_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp25_, TYPE_DATEABLE, Dateable);
-#line 600 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp24_);
-#line 600 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp22_);
-#line 600 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 598 "/home/jens/Source/shotwell/src/CollectionPage.vala"
photo_source = _tmp26_;
-#line 602 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 600 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp27_ = photo_source;
-#line 602 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 600 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp28_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 602 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 600 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp29_ = _tmp28_;
-#line 602 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 600 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp30_ = view_collection_get_selected_count (_tmp29_);
-#line 602 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 600 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp31_ = selected_has_videos;
-#line 602 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 600 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp32_ = only_videos_selected;
-#line 602 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 600 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp33_ = adjust_date_time_dialog_new (_tmp27_, _tmp30_, TRUE, _tmp31_, _tmp32_);
-#line 602 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 600 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_object_ref_sink (_tmp33_);
-#line 602 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 600 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp34_ = _tmp33_;
-#line 602 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 600 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp29_);
-#line 602 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 600 "/home/jens/Source/shotwell/src/CollectionPage.vala"
dialog = _tmp34_;
-#line 607 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 605 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp35_ = dialog;
-#line 607 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 605 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp39_ = adjust_date_time_dialog_execute (_tmp35_, &_tmp36_, &_tmp37_, &_tmp38_);
-#line 607 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 605 "/home/jens/Source/shotwell/src/CollectionPage.vala"
time_shift = _tmp36_;
-#line 607 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 605 "/home/jens/Source/shotwell/src/CollectionPage.vala"
keep_relativity = _tmp37_;
-#line 607 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 605 "/home/jens/Source/shotwell/src/CollectionPage.vala"
modify_originals = _tmp38_;
-#line 607 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 605 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp39_) {
-#line 5414 "CollectionPage.c"
+#line 5427 "CollectionPage.c"
AdjustDateTimePhotosCommand* command = NULL;
ViewCollection* _tmp40_ = NULL;
ViewCollection* _tmp41_ = NULL;
@@ -5424,49 +5437,49 @@ static void collection_page_on_adjust_date_time (CollectionPage* self) {
CommandManager* _tmp49_ = NULL;
CommandManager* _tmp50_ = NULL;
AdjustDateTimePhotosCommand* _tmp51_ = NULL;
-#line 608 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 606 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp40_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 608 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 606 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp41_ = _tmp40_;
-#line 608 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 606 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp42_ = view_collection_get_selected (_tmp41_);
-#line 608 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 606 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp43_ = _tmp42_;
-#line 608 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 606 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp44_ = time_shift;
-#line 608 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 606 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp45_ = keep_relativity;
-#line 608 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 606 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp46_ = modify_originals;
-#line 608 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 606 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp47_ = adjust_date_time_photos_command_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp43_, GEE_TYPE_ITERABLE, GeeIterable), _tmp44_, _tmp45_, _tmp46_);
-#line 608 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 606 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp48_ = _tmp47_;
-#line 608 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 606 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp43_);
-#line 608 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 606 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp41_);
-#line 608 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 606 "/home/jens/Source/shotwell/src/CollectionPage.vala"
command = _tmp48_;
-#line 610 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 608 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp49_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 610 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 608 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp50_ = _tmp49_;
-#line 610 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 608 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp51_ = command;
-#line 610 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 608 "/home/jens/Source/shotwell/src/CollectionPage.vala"
command_manager_execute (_tmp50_, G_TYPE_CHECK_INSTANCE_CAST (_tmp51_, TYPE_COMMAND, Command));
-#line 610 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 608 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_command_manager_unref0 (_tmp50_);
-#line 607 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 605 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (command);
-#line 5464 "CollectionPage.c"
+#line 5477 "CollectionPage.c"
}
-#line 586 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 584 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (dialog);
-#line 586 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 584 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo_source);
-#line 5470 "CollectionPage.c"
+#line 5483 "CollectionPage.c"
}
@@ -5483,75 +5496,75 @@ static void collection_page_on_external_edit (CollectionPage* self) {
DataSource* _tmp8_ = NULL;
Photo* _tmp9_ = NULL;
GError * _inner_error_ = NULL;
-#line 614 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 612 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (self));
-#line 615 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 613 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 615 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 613 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 615 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 613 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = view_collection_get_selected_count (_tmp1_);
-#line 615 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 613 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_ != 1;
-#line 615 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 613 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 615 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 613 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp3_) {
-#line 616 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 614 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 5503 "CollectionPage.c"
+#line 5516 "CollectionPage.c"
}
-#line 618 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 616 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 618 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 616 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = _tmp4_;
-#line 618 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 616 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = view_collection_get_selected_at (_tmp5_, 0);
-#line 618 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 616 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = _tmp6_;
-#line 618 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 616 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = data_view_get_source (_tmp7_);
-#line 618 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 616 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, TYPE_PHOTO, Photo);
-#line 618 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 616 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp7_);
-#line 618 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 616 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp5_);
-#line 618 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 616 "/home/jens/Source/shotwell/src/CollectionPage.vala"
photo = _tmp9_;
-#line 5523 "CollectionPage.c"
+#line 5536 "CollectionPage.c"
{
AppWindow* _tmp10_ = NULL;
AppWindow* _tmp11_ = NULL;
Photo* _tmp12_ = NULL;
AppWindow* _tmp13_ = NULL;
AppWindow* _tmp14_ = NULL;
-#line 620 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 618 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = app_window_get_instance ();
-#line 620 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 618 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = _tmp10_;
-#line 620 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 618 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_window_set_busy_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, TYPE_PAGE_WINDOW, PageWindow));
-#line 620 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 618 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp11_);
-#line 621 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 619 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = photo;
-#line 621 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 619 "/home/jens/Source/shotwell/src/CollectionPage.vala"
photo_open_with_external_editor (_tmp12_, &_inner_error_);
-#line 621 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 619 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 5544 "CollectionPage.c"
+#line 5557 "CollectionPage.c"
goto __catch231_g_error;
}
-#line 622 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 620 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp13_ = app_window_get_instance ();
-#line 622 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 620 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp14_ = _tmp13_;
-#line 622 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 620 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_window_set_normal_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, TYPE_PAGE_WINDOW, PageWindow));
-#line 622 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 620 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp14_);
-#line 5555 "CollectionPage.c"
+#line 5568 "CollectionPage.c"
}
goto __finally231;
__catch231_g_error:
@@ -5561,44 +5574,44 @@ static void collection_page_on_external_edit (CollectionPage* self) {
AppWindow* _tmp16_ = NULL;
GError* _tmp17_ = NULL;
Photo* _tmp18_ = NULL;
-#line 619 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 617 "/home/jens/Source/shotwell/src/CollectionPage.vala"
err = _inner_error_;
-#line 619 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 617 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_inner_error_ = NULL;
-#line 624 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 622 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp15_ = app_window_get_instance ();
-#line 624 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 622 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp16_ = _tmp15_;
-#line 624 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 622 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_window_set_normal_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, TYPE_PAGE_WINDOW, PageWindow));
-#line 624 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 622 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp16_);
-#line 625 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 623 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp17_ = err;
-#line 625 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 623 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp18_ = photo;
-#line 625 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 623 "/home/jens/Source/shotwell/src/CollectionPage.vala"
open_external_editor_error_dialog (_tmp17_, _tmp18_);
-#line 619 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 617 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_error_free0 (err);
-#line 5585 "CollectionPage.c"
+#line 5598 "CollectionPage.c"
}
__finally231:
-#line 619 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 617 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 619 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 617 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 619 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 617 "/home/jens/Source/shotwell/src/CollectionPage.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 619 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 617 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_clear_error (&_inner_error_);
-#line 619 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 617 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 5598 "CollectionPage.c"
+#line 5611 "CollectionPage.c"
}
-#line 614 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 612 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 5602 "CollectionPage.c"
+#line 5615 "CollectionPage.c"
}
@@ -5617,53 +5630,53 @@ static void collection_page_on_external_edit_raw (CollectionPage* self) {
Photo* _tmp10_ = NULL;
PhotoFileFormat _tmp11_ = 0;
GError * _inner_error_ = NULL;
-#line 629 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 627 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (self));
-#line 630 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 628 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 630 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 628 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 630 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 628 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = view_collection_get_selected_count (_tmp1_);
-#line 630 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 628 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_ != 1;
-#line 630 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 628 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 630 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 628 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp3_) {
-#line 631 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 629 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 5637 "CollectionPage.c"
+#line 5650 "CollectionPage.c"
}
-#line 633 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 631 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 633 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 631 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = _tmp4_;
-#line 633 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 631 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = view_collection_get_selected_at (_tmp5_, 0);
-#line 633 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 631 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = _tmp6_;
-#line 633 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 631 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = data_view_get_source (_tmp7_);
-#line 633 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 631 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, TYPE_PHOTO, Photo);
-#line 633 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 631 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp7_);
-#line 633 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 631 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp5_);
-#line 633 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 631 "/home/jens/Source/shotwell/src/CollectionPage.vala"
photo = _tmp9_;
-#line 634 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 632 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = photo;
-#line 634 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 632 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = photo_get_master_file_format (_tmp10_);
-#line 634 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 632 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp11_ != PHOTO_FILE_FORMAT_RAW) {
-#line 635 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 633 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 635 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 633 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 5667 "CollectionPage.c"
+#line 5680 "CollectionPage.c"
}
{
AppWindow* _tmp12_ = NULL;
@@ -5671,32 +5684,32 @@ static void collection_page_on_external_edit_raw (CollectionPage* self) {
Photo* _tmp14_ = NULL;
AppWindow* _tmp15_ = NULL;
AppWindow* _tmp16_ = NULL;
-#line 638 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 636 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = app_window_get_instance ();
-#line 638 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 636 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp13_ = _tmp12_;
-#line 638 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 636 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_window_set_busy_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, TYPE_PAGE_WINDOW, PageWindow));
-#line 638 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 636 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp13_);
-#line 639 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 637 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp14_ = photo;
-#line 639 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 637 "/home/jens/Source/shotwell/src/CollectionPage.vala"
photo_open_with_raw_external_editor (_tmp14_, &_inner_error_);
-#line 639 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 637 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 5689 "CollectionPage.c"
+#line 5702 "CollectionPage.c"
goto __catch232_g_error;
}
-#line 640 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 638 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp15_ = app_window_get_instance ();
-#line 640 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 638 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp16_ = _tmp15_;
-#line 640 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 638 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_window_set_normal_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, TYPE_PAGE_WINDOW, PageWindow));
-#line 640 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 638 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp16_);
-#line 5700 "CollectionPage.c"
+#line 5713 "CollectionPage.c"
}
goto __finally232;
__catch232_g_error:
@@ -5707,48 +5720,48 @@ static void collection_page_on_external_edit_raw (CollectionPage* self) {
GError* _tmp19_ = NULL;
gchar* _tmp20_ = NULL;
gchar* _tmp21_ = NULL;
-#line 637 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 635 "/home/jens/Source/shotwell/src/CollectionPage.vala"
err = _inner_error_;
-#line 637 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 635 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_inner_error_ = NULL;
-#line 642 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 640 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp17_ = app_window_get_instance ();
-#line 642 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 640 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp18_ = _tmp17_;
-#line 642 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 640 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_window_set_normal_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, TYPE_PAGE_WINDOW, PageWindow));
-#line 642 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 640 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp18_);
-#line 643 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 641 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp19_ = err;
-#line 643 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 641 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp20_ = resources_launch_editor_failed (_tmp19_);
-#line 643 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 641 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp21_ = _tmp20_;
-#line 643 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 641 "/home/jens/Source/shotwell/src/CollectionPage.vala"
app_window_error_message (_tmp21_, NULL);
-#line 643 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 641 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_free0 (_tmp21_);
-#line 637 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 635 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_error_free0 (err);
-#line 5735 "CollectionPage.c"
+#line 5748 "CollectionPage.c"
}
__finally232:
-#line 637 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 635 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 637 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 635 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 637 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 635 "/home/jens/Source/shotwell/src/CollectionPage.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 637 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 635 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_clear_error (&_inner_error_);
-#line 637 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 635 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 5748 "CollectionPage.c"
+#line 5761 "CollectionPage.c"
}
-#line 629 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 627 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 5752 "CollectionPage.c"
+#line 5765 "CollectionPage.c"
}
@@ -5765,58 +5778,60 @@ void collection_page_on_set_background (CollectionPage* self) {
GeeArrayList* _tmp6_ = NULL;
gint _tmp7_ = 0;
gint _tmp8_ = 0;
-#line 647 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 645 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (self));
-#line 648 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 646 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = gee_array_list_new (TYPE_LIBRARY_PHOTO, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL);
-#line 648 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 646 "/home/jens/Source/shotwell/src/CollectionPage.vala"
photos = _tmp0_;
-#line 649 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 647 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 649 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 647 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = _tmp1_;
-#line 649 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 647 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = view_collection_get_selected_sources (_tmp2_);
-#line 649 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 647 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_COLLECTION, GeeCollection);
-#line 649 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 647 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = photos;
-#line 649 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 647 "/home/jens/Source/shotwell/src/CollectionPage.vala"
media_source_collection_filter_media (_tmp4_, G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, GEE_TYPE_COLLECTION, GeeCollection), NULL);
-#line 649 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 647 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp4_);
-#line 649 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 647 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp2_);
-#line 653 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 651 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = photos;
-#line 653 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 651 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = gee_abstract_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 653 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 651 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = _tmp7_;
-#line 653 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 651 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp8_ == 1) {
-#line 5799 "CollectionPage.c"
+#line 5812 "CollectionPage.c"
SetBackgroundPhotoDialog* dialog = NULL;
SetBackgroundPhotoDialog* _tmp9_ = NULL;
SetBackgroundPhotoDialog* _tmp10_ = NULL;
gboolean _tmp11_ = FALSE;
gboolean _tmp12_ = FALSE;
gboolean _tmp13_ = FALSE;
-#line 654 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 652 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = set_background_photo_dialog_new ();
-#line 654 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 652 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+ g_object_ref_sink (_tmp9_);
+#line 652 "/home/jens/Source/shotwell/src/CollectionPage.vala"
dialog = _tmp9_;
-#line 655 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 653 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = dialog;
-#line 655 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 653 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp13_ = set_background_photo_dialog_execute (_tmp10_, &_tmp11_, &_tmp12_);
-#line 655 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 653 "/home/jens/Source/shotwell/src/CollectionPage.vala"
desktop = _tmp11_;
-#line 655 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 653 "/home/jens/Source/shotwell/src/CollectionPage.vala"
screensaver = _tmp12_;
-#line 655 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 653 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp13_) {
-#line 5820 "CollectionPage.c"
+#line 5835 "CollectionPage.c"
AppWindow* _tmp14_ = NULL;
AppWindow* _tmp15_ = NULL;
GeeArrayList* _tmp16_ = NULL;
@@ -5826,54 +5841,54 @@ void collection_page_on_set_background (CollectionPage* self) {
gboolean _tmp20_ = FALSE;
AppWindow* _tmp21_ = NULL;
AppWindow* _tmp22_ = NULL;
-#line 656 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 654 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp14_ = app_window_get_instance ();
-#line 656 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 654 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp15_ = _tmp14_;
-#line 656 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 654 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_window_set_busy_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, TYPE_PAGE_WINDOW, PageWindow));
-#line 656 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 654 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp15_);
-#line 657 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 655 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp16_ = photos;
-#line 657 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 655 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp17_ = gee_abstract_list_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, GEE_TYPE_ABSTRACT_LIST, GeeAbstractList), 0);
-#line 657 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 655 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp18_ = (LibraryPhoto*) _tmp17_;
-#line 657 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 655 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp19_ = desktop;
-#line 657 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 655 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp20_ = screensaver;
-#line 657 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 655 "/home/jens/Source/shotwell/src/CollectionPage.vala"
desktop_integration_set_background (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, TYPE_PHOTO, Photo), _tmp19_, _tmp20_);
-#line 657 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 655 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp18_);
-#line 658 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 656 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp21_ = app_window_get_instance ();
-#line 658 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 656 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp22_ = _tmp21_;
-#line 658 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 656 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_window_set_normal_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, TYPE_PAGE_WINDOW, PageWindow));
-#line 658 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 656 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp22_);
-#line 5860 "CollectionPage.c"
+#line 5875 "CollectionPage.c"
}
-#line 653 "/home/jens/Source/shotwell/src/CollectionPage.vala"
- _set_background_dialog_unref0 (dialog);
-#line 5864 "CollectionPage.c"
+#line 651 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+ _g_object_unref0 (dialog);
+#line 5879 "CollectionPage.c"
} else {
GeeArrayList* _tmp23_ = NULL;
gint _tmp24_ = 0;
gint _tmp25_ = 0;
-#line 660 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 658 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp23_ = photos;
-#line 660 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 658 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp24_ = gee_abstract_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 660 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 658 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp25_ = _tmp24_;
-#line 660 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 658 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp25_ > 1) {
-#line 5877 "CollectionPage.c"
+#line 5892 "CollectionPage.c"
SetBackgroundSlideshowDialog* dialog = NULL;
SetBackgroundSlideshowDialog* _tmp26_ = NULL;
gint delay = 0;
@@ -5882,23 +5897,25 @@ void collection_page_on_set_background (CollectionPage* self) {
gboolean _tmp29_ = FALSE;
gboolean _tmp30_ = FALSE;
gboolean _tmp31_ = FALSE;
-#line 661 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 659 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp26_ = set_background_slideshow_dialog_new ();
-#line 661 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 659 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+ g_object_ref_sink (_tmp26_);
+#line 659 "/home/jens/Source/shotwell/src/CollectionPage.vala"
dialog = _tmp26_;
-#line 663 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 661 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp27_ = dialog;
-#line 663 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 661 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp31_ = set_background_slideshow_dialog_execute (_tmp27_, &_tmp28_, &_tmp29_, &_tmp30_);
-#line 663 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 661 "/home/jens/Source/shotwell/src/CollectionPage.vala"
delay = _tmp28_;
-#line 663 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 661 "/home/jens/Source/shotwell/src/CollectionPage.vala"
desktop = _tmp29_;
-#line 663 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 661 "/home/jens/Source/shotwell/src/CollectionPage.vala"
screensaver = _tmp30_;
-#line 663 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 661 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp31_) {
-#line 5902 "CollectionPage.c"
+#line 5919 "CollectionPage.c"
AppWindow* _tmp32_ = NULL;
AppWindow* _tmp33_ = NULL;
GeeArrayList* _tmp34_ = NULL;
@@ -5907,42 +5924,42 @@ void collection_page_on_set_background (CollectionPage* self) {
gboolean _tmp37_ = FALSE;
AppWindow* _tmp38_ = NULL;
AppWindow* _tmp39_ = NULL;
-#line 664 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 662 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp32_ = app_window_get_instance ();
-#line 664 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 662 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp33_ = _tmp32_;
-#line 664 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 662 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_window_set_busy_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp33_, TYPE_PAGE_WINDOW, PageWindow));
-#line 664 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 662 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp33_);
-#line 665 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 663 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp34_ = photos;
-#line 665 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 663 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp35_ = delay;
-#line 665 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 663 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp36_ = desktop;
-#line 665 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 663 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp37_ = screensaver;
-#line 665 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 663 "/home/jens/Source/shotwell/src/CollectionPage.vala"
desktop_integration_set_background_slideshow (G_TYPE_CHECK_INSTANCE_CAST (_tmp34_, GEE_TYPE_COLLECTION, GeeCollection), (gdouble) _tmp35_, COLLECTION_PAGE_DESKTOP_SLIDESHOW_TRANSITION_SEC, _tmp36_, _tmp37_);
-#line 667 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 665 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp38_ = app_window_get_instance ();
-#line 667 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 665 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp39_ = _tmp38_;
-#line 667 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 665 "/home/jens/Source/shotwell/src/CollectionPage.vala"
page_window_set_normal_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp39_, TYPE_PAGE_WINDOW, PageWindow));
-#line 667 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 665 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp39_);
-#line 5937 "CollectionPage.c"
+#line 5954 "CollectionPage.c"
}
-#line 660 "/home/jens/Source/shotwell/src/CollectionPage.vala"
- _set_background_dialog_unref0 (dialog);
-#line 5941 "CollectionPage.c"
+#line 658 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+ _g_object_unref0 (dialog);
+#line 5958 "CollectionPage.c"
}
}
-#line 647 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 645 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photos);
-#line 5946 "CollectionPage.c"
+#line 5963 "CollectionPage.c"
}
@@ -5982,205 +5999,205 @@ static void collection_page_on_slideshow (CollectionPage* self) {
LibraryPhoto* _tmp38_ = NULL;
SlideshowPage* _tmp39_ = NULL;
SlideshowPage* _tmp40_ = NULL;
-#line 672 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 670 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (self));
-#line 673 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 671 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 673 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 671 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _tmp0_;
-#line 673 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 671 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = data_collection_get_count (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_DATA_COLLECTION, DataCollection));
-#line 673 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 671 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = _tmp2_ == 0;
-#line 673 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 671 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 673 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 671 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp3_) {
-#line 674 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 672 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 6002 "CollectionPage.c"
+#line 6019 "CollectionPage.c"
}
-#line 677 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 675 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 677 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 675 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = _tmp5_;
-#line 677 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 675 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = view_collection_get_selected_count (_tmp6_);
-#line 677 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 675 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = _tmp7_ > 0;
-#line 677 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 675 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp6_);
-#line 677 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 675 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp8_) {
-#line 6016 "CollectionPage.c"
+#line 6033 "CollectionPage.c"
ViewCollection* _tmp9_ = NULL;
ViewCollection* _tmp10_ = NULL;
GeeList* _tmp11_ = NULL;
-#line 678 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 676 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp9_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 678 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 676 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp10_ = _tmp9_;
-#line 678 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 676 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp11_ = view_collection_get_selected_sources_of_type (_tmp10_, TYPE_LIBRARY_PHOTO);
-#line 678 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 676 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp4_);
-#line 678 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 676 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = _tmp11_;
-#line 678 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 676 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp10_);
-#line 6032 "CollectionPage.c"
+#line 6049 "CollectionPage.c"
} else {
ViewCollection* _tmp12_ = NULL;
ViewCollection* _tmp13_ = NULL;
GeeList* _tmp14_ = NULL;
-#line 679 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 677 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp12_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 679 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 677 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp13_ = _tmp12_;
-#line 679 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 677 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp14_ = view_collection_get_sources_of_type (_tmp13_, TYPE_LIBRARY_PHOTO);
-#line 679 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 677 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp4_);
-#line 679 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 677 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = _tmp14_;
-#line 679 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 677 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp13_);
-#line 6049 "CollectionPage.c"
+#line 6066 "CollectionPage.c"
}
-#line 677 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 675 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp15_ = _g_object_ref0 (_tmp4_);
-#line 677 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 675 "/home/jens/Source/shotwell/src/CollectionPage.vala"
sources = _tmp15_;
-#line 680 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 678 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp17_ = sources;
-#line 680 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 678 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp17_ == NULL) {
-#line 680 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 678 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp16_ = TRUE;
-#line 6061 "CollectionPage.c"
+#line 6078 "CollectionPage.c"
} else {
GeeList* _tmp18_ = NULL;
gint _tmp19_ = 0;
gint _tmp20_ = 0;
-#line 680 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 678 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp18_ = sources;
-#line 680 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 678 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp19_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 680 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 678 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp20_ = _tmp19_;
-#line 680 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 678 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp16_ = _tmp20_ == 0;
-#line 6074 "CollectionPage.c"
+#line 6091 "CollectionPage.c"
}
-#line 680 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 678 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp16_) {
-#line 681 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 679 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (sources);
-#line 681 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 679 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp4_);
-#line 681 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 679 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 6084 "CollectionPage.c"
+#line 6101 "CollectionPage.c"
}
-#line 683 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 681 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp21_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 683 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 681 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp22_ = _tmp21_;
-#line 683 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 681 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp23_ = sources;
-#line 683 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 681 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp24_ = gee_list_get (_tmp23_, 0);
-#line 683 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 681 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp25_ = (DataSource*) _tmp24_;
-#line 683 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 681 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp26_ = view_collection_get_view_for_source (_tmp22_, _tmp25_);
-#line 683 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 681 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp27_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp26_, TYPE_THUMBNAIL, Thumbnail);
-#line 683 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 681 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp25_);
-#line 683 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 681 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp22_);
-#line 683 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 681 "/home/jens/Source/shotwell/src/CollectionPage.vala"
thumbnail = _tmp27_;
-#line 684 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 682 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp28_ = thumbnail;
-#line 684 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 682 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp28_ == NULL) {
-#line 685 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 683 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (thumbnail);
-#line 685 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 683 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (sources);
-#line 685 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 683 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp4_);
-#line 685 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 683 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 6118 "CollectionPage.c"
+#line 6135 "CollectionPage.c"
}
-#line 687 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 685 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp29_ = thumbnail;
-#line 687 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 685 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp30_ = thumbnail_get_media_source (_tmp29_);
-#line 687 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 685 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp31_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp30_, TYPE_LIBRARY_PHOTO) ? ((LibraryPhoto*) _tmp30_) : NULL;
-#line 687 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 685 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp31_ == NULL) {
-#line 687 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 685 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp30_);
-#line 6130 "CollectionPage.c"
+#line 6147 "CollectionPage.c"
}
-#line 687 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 685 "/home/jens/Source/shotwell/src/CollectionPage.vala"
photo = _tmp31_;
-#line 688 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 686 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp32_ = photo;
-#line 688 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 686 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp32_ == NULL) {
-#line 689 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 687 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 689 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 687 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (thumbnail);
-#line 689 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 687 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (sources);
-#line 689 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 687 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp4_);
-#line 689 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 687 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return;
-#line 6148 "CollectionPage.c"
+#line 6165 "CollectionPage.c"
}
-#line 691 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 689 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp33_ = app_window_get_instance ();
-#line 691 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 689 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp34_ = _tmp33_;
-#line 691 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 689 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp35_ = library_photo_global;
-#line 691 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 689 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp36_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 691 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 689 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp37_ = _tmp36_;
-#line 691 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 689 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp38_ = photo;
-#line 691 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 689 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp39_ = slideshow_page_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp35_, TYPE_SOURCE_COLLECTION, SourceCollection), _tmp37_, G_TYPE_CHECK_INSTANCE_CAST (_tmp38_, TYPE_PHOTO, Photo));
-#line 691 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 689 "/home/jens/Source/shotwell/src/CollectionPage.vala"
g_object_ref_sink (_tmp39_);
-#line 691 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 689 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp40_ = _tmp39_;
-#line 691 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 689 "/home/jens/Source/shotwell/src/CollectionPage.vala"
app_window_go_fullscreen (_tmp34_, G_TYPE_CHECK_INSTANCE_CAST (_tmp40_, TYPE_PAGE, Page));
-#line 691 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 689 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp40_);
-#line 691 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 689 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_data_collection_unref0 (_tmp37_);
-#line 691 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 689 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp34_);
-#line 672 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 670 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (photo);
-#line 672 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 670 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (thumbnail);
-#line 672 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 670 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (sources);
-#line 672 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 670 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (_tmp4_);
-#line 6184 "CollectionPage.c"
+#line 6201 "CollectionPage.c"
}
@@ -6194,49 +6211,49 @@ static gboolean collection_page_real_on_ctrl_pressed (Page* base, GdkEventKey* e
GtkToolButton* _tmp3_ = NULL;
GdkEventKey* _tmp7_ = NULL;
gboolean _tmp8_ = FALSE;
-#line 695 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 693 "/home/jens/Source/shotwell/src/CollectionPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_COLLECTION_PAGE, CollectionPage);
-#line 696 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 694 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)->builder;
-#line 696 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 694 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = gtk_builder_get_object (_tmp0_, "ToolRotate");
-#line 696 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 694 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, gtk_tool_button_get_type ()) ? ((GtkToolButton*) _tmp1_) : NULL);
-#line 696 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 694 "/home/jens/Source/shotwell/src/CollectionPage.vala"
rotate_button = _tmp2_;
-#line 697 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 695 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = rotate_button;
-#line 697 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 695 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp3_ != NULL) {
-#line 6212 "CollectionPage.c"
+#line 6229 "CollectionPage.c"
GtkToolButton* _tmp4_ = NULL;
GtkToolButton* _tmp5_ = NULL;
GtkToolButton* _tmp6_ = NULL;
-#line 698 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 696 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = rotate_button;
-#line 698 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 696 "/home/jens/Source/shotwell/src/CollectionPage.vala"
gtk_actionable_set_action_name (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, GTK_TYPE_ACTIONABLE, GtkActionable), "win.RotateCounterclockwise");
-#line 699 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 697 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = rotate_button;
-#line 699 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 697 "/home/jens/Source/shotwell/src/CollectionPage.vala"
gtk_tool_button_set_icon_name (_tmp5_, "object-rotate-left");
-#line 700 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 698 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = rotate_button;
-#line 700 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 698 "/home/jens/Source/shotwell/src/CollectionPage.vala"
gtk_tool_item_set_tooltip_text (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, gtk_tool_item_get_type (), GtkToolItem), RESOURCES_ROTATE_CCW_TOOLTIP);
-#line 6228 "CollectionPage.c"
+#line 6245 "CollectionPage.c"
}
-#line 703 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 701 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = event;
-#line 703 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 701 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = PAGE_CLASS (collection_page_parent_class)->on_ctrl_pressed (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_MEDIA_PAGE, MediaPage), TYPE_PAGE, Page), _tmp7_);
-#line 703 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 701 "/home/jens/Source/shotwell/src/CollectionPage.vala"
result = _tmp8_;
-#line 703 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 701 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (rotate_button);
-#line 703 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 701 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 6240 "CollectionPage.c"
+#line 6257 "CollectionPage.c"
}
@@ -6250,56 +6267,56 @@ static gboolean collection_page_real_on_ctrl_released (Page* base, GdkEventKey*
GtkToolButton* _tmp3_ = NULL;
GdkEventKey* _tmp7_ = NULL;
gboolean _tmp8_ = FALSE;
-#line 706 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 704 "/home/jens/Source/shotwell/src/CollectionPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_COLLECTION_PAGE, CollectionPage);
-#line 707 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 705 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)->builder;
-#line 707 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 705 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = gtk_builder_get_object (_tmp0_, "ToolRotate");
-#line 707 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 705 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp2_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, gtk_tool_button_get_type ()) ? ((GtkToolButton*) _tmp1_) : NULL);
-#line 707 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 705 "/home/jens/Source/shotwell/src/CollectionPage.vala"
rotate_button = _tmp2_;
-#line 708 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 706 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp3_ = rotate_button;
-#line 708 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 706 "/home/jens/Source/shotwell/src/CollectionPage.vala"
if (_tmp3_ != NULL) {
-#line 6268 "CollectionPage.c"
+#line 6285 "CollectionPage.c"
GtkToolButton* _tmp4_ = NULL;
GtkToolButton* _tmp5_ = NULL;
GtkToolButton* _tmp6_ = NULL;
-#line 709 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 707 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp4_ = rotate_button;
-#line 709 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 707 "/home/jens/Source/shotwell/src/CollectionPage.vala"
gtk_actionable_set_action_name (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, GTK_TYPE_ACTIONABLE, GtkActionable), "win.RotateClockwise");
-#line 710 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 708 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp5_ = rotate_button;
-#line 710 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 708 "/home/jens/Source/shotwell/src/CollectionPage.vala"
gtk_tool_button_set_icon_name (_tmp5_, "object-rotate-right");
-#line 711 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 709 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp6_ = rotate_button;
-#line 711 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 709 "/home/jens/Source/shotwell/src/CollectionPage.vala"
gtk_tool_item_set_tooltip_text (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, gtk_tool_item_get_type (), GtkToolItem), RESOURCES_ROTATE_CW_TOOLTIP);
-#line 6284 "CollectionPage.c"
+#line 6301 "CollectionPage.c"
}
-#line 714 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 712 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp7_ = event;
-#line 714 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 712 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp8_ = PAGE_CLASS (collection_page_parent_class)->on_ctrl_released (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_MEDIA_PAGE, MediaPage), TYPE_PAGE, Page), _tmp7_);
-#line 714 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 712 "/home/jens/Source/shotwell/src/CollectionPage.vala"
result = _tmp8_;
-#line 714 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 712 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_g_object_unref0 (rotate_button);
-#line 714 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 712 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 6296 "CollectionPage.c"
+#line 6313 "CollectionPage.c"
}
static gpointer _view_filter_ref0 (gpointer self) {
-#line 718 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 716 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return self ? view_filter_ref (self) : NULL;
-#line 6303 "CollectionPage.c"
+#line 6320 "CollectionPage.c"
}
@@ -6308,17 +6325,17 @@ static SearchViewFilter* collection_page_real_get_search_view_filter (Checkerboa
SearchViewFilter* result = NULL;
CollectionPageCollectionSearchViewFilter* _tmp0_ = NULL;
SearchViewFilter* _tmp1_ = NULL;
-#line 717 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 715 "/home/jens/Source/shotwell/src/CollectionPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_COLLECTION_PAGE, CollectionPage);
-#line 718 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 716 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp0_ = self->priv->search_filter;
-#line 718 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 716 "/home/jens/Source/shotwell/src/CollectionPage.vala"
_tmp1_ = _view_filter_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_SEARCH_VIEW_FILTER, SearchViewFilter));
-#line 718 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 716 "/home/jens/Source/shotwell/src/CollectionPage.vala"
result = _tmp1_;
-#line 718 "/home/jens/Source/shotwell/src/CollectionPage.vala"
+#line 716 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 6322 "CollectionPage.c"
+#line 6339 "CollectionPage.c"
}
@@ -6331,7 +6348,7 @@ static guint collection_page_collection_search_view_filter_real_get_criteria (Se
result = (guint) ((((SEARCH_FILTER_CRITERIA_TEXT | SEARCH_FILTER_CRITERIA_FLAG) | SEARCH_FILTER_CRITERIA_MEDIA) | SEARCH_FILTER_CRITERIA_RATING) | SEARCH_FILTER_CRITERIA_SAVEDSEARCH);
#line 24 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return result;
-#line 6335 "CollectionPage.c"
+#line 6352 "CollectionPage.c"
}
@@ -6341,14 +6358,14 @@ CollectionPageCollectionSearchViewFilter* collection_page_collection_search_view
self = (CollectionPageCollectionSearchViewFilter*) default_search_view_filter_construct (object_type);
#line 22 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return self;
-#line 6345 "CollectionPage.c"
+#line 6362 "CollectionPage.c"
}
CollectionPageCollectionSearchViewFilter* collection_page_collection_search_view_filter_new (void) {
#line 22 "/home/jens/Source/shotwell/src/CollectionPage.vala"
return collection_page_collection_search_view_filter_construct (COLLECTION_PAGE_TYPE_COLLECTION_SEARCH_VIEW_FILTER);
-#line 6352 "CollectionPage.c"
+#line 6369 "CollectionPage.c"
}
@@ -6357,7 +6374,7 @@ static void collection_page_collection_search_view_filter_class_init (Collection
collection_page_collection_search_view_filter_parent_class = g_type_class_peek_parent (klass);
#line 22 "/home/jens/Source/shotwell/src/CollectionPage.vala"
((SearchViewFilterClass *) klass)->get_criteria = collection_page_collection_search_view_filter_real_get_criteria;
-#line 6361 "CollectionPage.c"
+#line 6378 "CollectionPage.c"
}
@@ -6408,7 +6425,7 @@ static void collection_page_class_init (CollectionPageClass * klass) {
((CheckerboardPageClass *) klass)->get_search_view_filter = collection_page_real_get_search_view_filter;
#line 19 "/home/jens/Source/shotwell/src/CollectionPage.vala"
G_OBJECT_CLASS (klass)->finalize = collection_page_finalize;
-#line 6412 "CollectionPage.c"
+#line 6429 "CollectionPage.c"
}
@@ -6422,7 +6439,7 @@ static void collection_page_instance_init (CollectionPage * self) {
_tmp0_ = collection_page_collection_search_view_filter_new ();
#line 30 "/home/jens/Source/shotwell/src/CollectionPage.vala"
self->priv->search_filter = _tmp0_;
-#line 6426 "CollectionPage.c"
+#line 6443 "CollectionPage.c"
}
@@ -6436,7 +6453,7 @@ static void collection_page_finalize (GObject* obj) {
_view_filter_unref0 (self->priv->search_filter);
#line 19 "/home/jens/Source/shotwell/src/CollectionPage.vala"
G_OBJECT_CLASS (collection_page_parent_class)->finalize (obj);
-#line 6440 "CollectionPage.c"
+#line 6457 "CollectionPage.c"
}
diff --git a/src/CollectionPage.vala b/src/CollectionPage.vala
index ba9e1ac..c43c0c8 100644
--- a/src/CollectionPage.vala
+++ b/src/CollectionPage.vala
@@ -75,7 +75,7 @@ public abstract class CollectionPage : MediaPage {
group.add_separator();
group.add_menu_item(_("_Publish"), "Publish", "<Primary><Shift>p");
group.add_menu_item(_("Send _To…"), "SendTo");
- group.add_menu_item(_("Set as _Desktop Background"), "SetBackground");
+ group.add_menu_item(_("Set as _Desktop Background"), "SetBackground", "<Primary>b");
return group;
}
@@ -269,12 +269,10 @@ public abstract class CollectionPage : MediaPage {
set_action_sensitive("SetBackground", (!selection_has_videos) && has_selected );
if (has_selected) {
debug ("Setting action label for SetBackground...");
-/* Gtk.Action? set_background = get_action("SetBackground");
- if (set_background != null) {
- set_background.label = one_selected
+ var label = one_selected
? Resources.SET_BACKGROUND_MENU
: Resources.SET_BACKGROUND_SLIDESHOW_MENU;
- } */
+ this.update_menu_item_label ("SetBackground", label);
}
}
diff --git a/src/ColorTransformation.c b/src/ColorTransformation.c
index 2fec21a..20e9f70 100644
--- a/src/ColorTransformation.c
+++ b/src/ColorTransformation.c
@@ -1,4 +1,4 @@
-/* ColorTransformation.c generated by valac 0.34.2, the Vala compiler
+/* ColorTransformation.c generated by valac 0.32.1, the Vala compiler
* generated from ColorTransformation.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -12067,19 +12067,19 @@ static gchar* string_chug (const gchar* self) {
gchar* _result_ = NULL;
gchar* _tmp0_ = NULL;
const gchar* _tmp1_ = NULL;
-#line 1199 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1199 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1200 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1200 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = g_strdup (self);
-#line 1200 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1200 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_result_ = _tmp0_;
-#line 1201 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1201 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = _result_;
-#line 1201 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1201 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_strchug (_tmp1_);
-#line 1202 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1202 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _result_;
-#line 1202 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1202 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 12080 "ColorTransformation.c"
}
@@ -12090,19 +12090,19 @@ static gchar* string_chomp (const gchar* self) {
gchar* _result_ = NULL;
gchar* _tmp0_ = NULL;
const gchar* _tmp1_ = NULL;
-#line 1191 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1191 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1192 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1192 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = g_strdup (self);
-#line 1192 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1192 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_result_ = _tmp0_;
-#line 1193 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1193 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = _result_;
-#line 1193 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1193 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_strchomp (_tmp1_);
-#line 1194 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1194 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _result_;
-#line 1194 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1194 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 12103 "ColorTransformation.c"
}
diff --git a/src/CommandManager.c b/src/CommandManager.c
index cd4c8a2..60cb438 100644
--- a/src/CommandManager.c
+++ b/src/CommandManager.c
@@ -1,4 +1,4 @@
-/* CommandManager.c generated by valac 0.34.2, the Vala compiler
+/* CommandManager.c generated by valac 0.32.1, the Vala compiler
* generated from CommandManager.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/Commands.c b/src/Commands.c
index c0a4447..7211f77 100644
--- a/src/Commands.c
+++ b/src/Commands.c
@@ -1,4 +1,4 @@
-/* Commands.c generated by valac 0.34.2, the Vala compiler
+/* Commands.c generated by valac 0.32.1, the Vala compiler
* generated from Commands.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -5446,7 +5446,7 @@ static void multiple_data_source_at_once_command_real_execute (Command* base) {
#line 448 "/home/jens/Source/shotwell/src/Commands.vala"
if (_inner_error_->domain == DATABASE_ERROR) {
#line 5449 "Commands.c"
- goto __catch454_database_error;
+ goto __catch452_database_error;
}
{
AppWindow* _tmp7_ = NULL;
@@ -5470,8 +5470,8 @@ static void multiple_data_source_at_once_command_real_execute (Command* base) {
#line 5471 "Commands.c"
}
}
- goto __finally454;
- __catch454_database_error:
+ goto __finally452;
+ __catch452_database_error:
{
GError* err = NULL;
GError* _tmp9_ = NULL;
@@ -5487,7 +5487,7 @@ static void multiple_data_source_at_once_command_real_execute (Command* base) {
_g_error_free0 (err);
#line 5489 "Commands.c"
}
- __finally454:
+ __finally452:
{
AppWindow* _tmp10_ = NULL;
AppWindow* _tmp11_ = NULL;
@@ -5583,7 +5583,7 @@ static void multiple_data_source_at_once_command_real_undo (Command* base) {
#line 468 "/home/jens/Source/shotwell/src/Commands.vala"
if (_inner_error_->domain == DATABASE_ERROR) {
#line 5586 "Commands.c"
- goto __catch455_database_error;
+ goto __catch453_database_error;
}
{
AppWindow* _tmp7_ = NULL;
@@ -5607,8 +5607,8 @@ static void multiple_data_source_at_once_command_real_undo (Command* base) {
#line 5608 "Commands.c"
}
}
- goto __finally455;
- __catch455_database_error:
+ goto __finally453;
+ __catch453_database_error:
{
GError* err = NULL;
GError* _tmp9_ = NULL;
@@ -5624,7 +5624,7 @@ static void multiple_data_source_at_once_command_real_undo (Command* base) {
_g_error_free0 (err);
#line 5626 "Commands.c"
}
- __finally455:
+ __finally453:
{
AppWindow* _tmp10_ = NULL;
AppWindow* _tmp11_ = NULL;
@@ -10094,7 +10094,7 @@ static void duplicate_multiple_photos_command_real_execute_on_source (MultipleDa
#line 1118 "/home/jens/Source/shotwell/src/Commands.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 10097 "Commands.c"
- goto __catch456_g_error;
+ goto __catch454_g_error;
}
#line 1119 "/home/jens/Source/shotwell/src/Commands.vala"
_tmp3_ = self->priv->dupes;
@@ -10104,8 +10104,8 @@ static void duplicate_multiple_photos_command_real_execute_on_source (MultipleDa
_g_object_unref0 (dupe);
#line 10106 "Commands.c"
}
- goto __finally456;
- __catch456_g_error:
+ goto __finally454;
+ __catch454_g_error:
{
GError* err = NULL;
GFile* _tmp4_ = NULL;
@@ -10145,7 +10145,7 @@ static void duplicate_multiple_photos_command_real_execute_on_source (MultipleDa
_g_error_free0 (err);
#line 10147 "Commands.c"
}
- __finally456:
+ __finally454:
#line 1117 "/home/jens/Source/shotwell/src/Commands.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1117 "/home/jens/Source/shotwell/src/Commands.vala"
@@ -11543,11 +11543,11 @@ static void adjust_date_time_photo_command_set_time (AdjustDateTimePhotoCommand*
#line 1345 "/home/jens/Source/shotwell/src/Commands.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 11546 "Commands.c"
- goto __catch457_g_error;
+ goto __catch455_g_error;
}
}
- goto __finally457;
- __catch457_g_error:
+ goto __finally455;
+ __catch455_g_error:
{
GError* err = NULL;
const gchar* _tmp5_ = NULL;
@@ -11563,7 +11563,7 @@ static void adjust_date_time_photo_command_set_time (AdjustDateTimePhotoCommand*
_g_error_free0 (err);
#line 11565 "Commands.c"
}
- __finally457:
+ __finally455:
#line 1344 "/home/jens/Source/shotwell/src/Commands.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1344 "/home/jens/Source/shotwell/src/Commands.vala"
@@ -12149,11 +12149,11 @@ static void adjust_date_time_photos_command_set_time (AdjustDateTimePhotosComman
#line 1435 "/home/jens/Source/shotwell/src/Commands.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 12152 "Commands.c"
- goto __catch458_g_error;
+ goto __catch456_g_error;
}
}
- goto __finally458;
- __catch458_g_error:
+ goto __finally456;
+ __catch456_g_error:
{
GError* err = NULL;
GeeArrayList* _tmp5_ = NULL;
@@ -12172,7 +12172,7 @@ static void adjust_date_time_photos_command_set_time (AdjustDateTimePhotosComman
_g_error_free0 (err);
#line 12174 "Commands.c"
}
- __finally458:
+ __finally456:
#line 1434 "/home/jens/Source/shotwell/src/Commands.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1434 "/home/jens/Source/shotwell/src/Commands.vala"
@@ -14570,11 +14570,11 @@ static void reparent_tag_command_on_items_destroyed (ReparentTagCommand* self, G
static gchar* string_replace (const gchar* self, const gchar* old, const gchar* replacement) {
gchar* result = NULL;
GError * _inner_error_ = NULL;
-#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (old != NULL, NULL);
-#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (replacement != NULL, NULL);
#line 14580 "Commands.c"
{
@@ -14589,98 +14589,98 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar*
const gchar* _tmp7_ = NULL;
gchar* _tmp8_ = NULL;
gchar* _tmp9_ = NULL;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = old;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = g_regex_escape_string (_tmp0_, -1);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = _tmp1_;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = g_regex_new (_tmp2_, 0, 0, &_inner_error_);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = _tmp3_;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_free0 (_tmp2_);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
regex = _tmp4_;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_inner_error_->domain == G_REGEX_ERROR) {
#line 14611 "Commands.c"
- goto __catch459_g_regex_error;
+ goto __catch457_g_regex_error;
}
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_clear_error (&_inner_error_);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return NULL;
#line 14620 "Commands.c"
}
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6_ = regex;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp7_ = replacement;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp8_ = g_regex_replace_literal (_tmp6_, self, (gssize) -1, 0, _tmp7_, 0, &_inner_error_);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = _tmp8_;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_regex_unref0 (regex);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_inner_error_->domain == G_REGEX_ERROR) {
#line 14636 "Commands.c"
- goto __catch459_g_regex_error;
+ goto __catch457_g_regex_error;
}
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_regex_unref0 (regex);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_clear_error (&_inner_error_);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return NULL;
#line 14647 "Commands.c"
}
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp9_ = _tmp5_;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = NULL;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp9_;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_free0 (_tmp5_);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_regex_unref0 (regex);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 14661 "Commands.c"
}
- goto __finally459;
- __catch459_g_regex_error:
+ goto __finally457;
+ __catch457_g_regex_error:
{
GError* e = NULL;
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
e = _inner_error_;
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_inner_error_ = NULL;
-#line 1385 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1385 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_assert_not_reached ();
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_error_free0 (e);
#line 14675 "Commands.c"
}
- __finally459:
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+ __finally457:
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
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 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_clear_error (&_inner_error_);
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return NULL;
#line 14686 "Commands.c"
}
@@ -15981,37 +15981,37 @@ static glong string_strnlen (gchar* str, glong maxlen) {
glong _tmp1_ = 0L;
gchar* _tmp2_ = NULL;
gchar* _tmp3_ = NULL;
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = str;
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = maxlen;
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = memchr (_tmp0_, 0, (gsize) _tmp1_);
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
end = _tmp2_;
-#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = end;
-#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp3_ == NULL) {
#line 15997 "Commands.c"
glong _tmp4_ = 0L;
-#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = maxlen;
-#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp4_;
-#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 16005 "Commands.c"
} else {
gchar* _tmp5_ = NULL;
gchar* _tmp6_ = NULL;
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = end;
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6_ = str;
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = (glong) (_tmp5_ - _tmp6_);
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 16017 "Commands.c"
}
@@ -16031,112 +16031,112 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) {
glong _tmp20_ = 0L;
glong _tmp21_ = 0L;
gchar* _tmp22_ = NULL;
-#line 1306 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1306 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = offset;
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp1_ >= ((glong) 0)) {
#line 16041 "Commands.c"
glong _tmp2_ = 0L;
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = len;
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = _tmp2_ >= ((glong) 0);
#line 16047 "Commands.c"
} else {
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = FALSE;
#line 16051 "Commands.c"
}
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp0_) {
#line 16055 "Commands.c"
glong _tmp3_ = 0L;
glong _tmp4_ = 0L;
glong _tmp5_ = 0L;
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = offset;
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = len;
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = string_strnlen ((gchar*) self, _tmp3_ + _tmp4_);
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
string_length = _tmp5_;
#line 16067 "Commands.c"
} else {
gint _tmp6_ = 0;
gint _tmp7_ = 0;
-#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6_ = strlen (self);
-#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp7_ = _tmp6_;
-#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
string_length = (glong) _tmp7_;
#line 16077 "Commands.c"
}
-#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp8_ = offset;
-#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp8_ < ((glong) 0)) {
#line 16083 "Commands.c"
glong _tmp9_ = 0L;
glong _tmp10_ = 0L;
glong _tmp11_ = 0L;
-#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp9_ = string_length;
-#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp10_ = offset;
-#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
offset = _tmp9_ + _tmp10_;
-#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp11_ = offset;
-#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp11_ >= ((glong) 0), NULL);
#line 16097 "Commands.c"
} else {
glong _tmp12_ = 0L;
glong _tmp13_ = 0L;
-#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp12_ = offset;
-#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp13_ = string_length;
-#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp12_ <= _tmp13_, NULL);
#line 16107 "Commands.c"
}
-#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp14_ = len;
-#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp14_ < ((glong) 0)) {
#line 16113 "Commands.c"
glong _tmp15_ = 0L;
glong _tmp16_ = 0L;
-#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp15_ = string_length;
-#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp16_ = offset;
-#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
len = _tmp15_ - _tmp16_;
#line 16122 "Commands.c"
}
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp17_ = offset;
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp18_ = len;
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp19_ = string_length;
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail ((_tmp17_ + _tmp18_) <= _tmp19_, NULL);
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp20_ = offset;
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp21_ = len;
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp22_ = g_strndup (((gchar*) self) + _tmp20_, (gsize) _tmp21_);
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp22_;
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 16142 "Commands.c"
}
diff --git a/src/CustomComponents.c b/src/CustomComponents.c
index 843ff3f..053e2fa 100644
--- a/src/CustomComponents.c
+++ b/src/CustomComponents.c
@@ -1,4 +1,4 @@
-/* CustomComponents.c generated by valac 0.34.2, the Vala compiler
+/* CustomComponents.c generated by valac 0.32.1, the Vala compiler
* generated from CustomComponents.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/Debug.c b/src/Debug.c
index 5ce4ad8..7711599 100644
--- a/src/Debug.c
+++ b/src/Debug.c
@@ -1,4 +1,4 @@
-/* Debug.c generated by valac 0.34.2, the Vala compiler
+/* Debug.c generated by valac 0.32.1, the Vala compiler
* generated from Debug.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -198,7 +198,7 @@ void debug_init (const gchar* app_version_prefix) {
#line 42 "/home/jens/Source/shotwell/src/Debug.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 201 "Debug.c"
- goto __catch431_g_error;
+ goto __catch429_g_error;
}
#line 42 "/home/jens/Source/shotwell/src/Debug.vala"
if (!_tmp13_) {
@@ -225,8 +225,8 @@ void debug_init (const gchar* app_version_prefix) {
}
}
}
- goto __finally431;
- __catch431_g_error:
+ goto __finally429;
+ __catch429_g_error:
{
GError* err = NULL;
GError* _tmp20_ = NULL;
@@ -250,7 +250,7 @@ void debug_init (const gchar* app_version_prefix) {
_g_error_free0 (err);
#line 252 "Debug.c"
}
- __finally431:
+ __finally429:
#line 40 "/home/jens/Source/shotwell/src/Debug.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 40 "/home/jens/Source/shotwell/src/Debug.vala"
@@ -526,13 +526,13 @@ gboolean debug_is_enabled (GLogLevelFlags flag) {
static void g_time_local (time_t time, struct tm* result) {
struct tm _result_ = {0};
struct tm _tmp0_ = {0};
-#line 2750 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2701 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
localtime_r (&time, &_tmp0_);
-#line 2750 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2701 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_result_ = _tmp0_;
-#line 2751 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2702 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
*result = _result_;
-#line 2751 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2702 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return;
#line 538 "Debug.c"
}
@@ -547,23 +547,23 @@ static gchar* g_time_to_string (struct tm *self) {
gint _tmp4_ = 0;
gint _tmp5_ = 0;
gchar* _tmp6_ = NULL;
-#line 2755 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2706 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = (*self).tm_year;
-#line 2755 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2706 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = (*self).tm_mon;
-#line 2755 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2706 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = (*self).tm_mday;
-#line 2755 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2706 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = (*self).tm_hour;
-#line 2755 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2706 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = (*self).tm_min;
-#line 2755 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2706 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = (*self).tm_sec;
-#line 2755 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2706 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6_ = g_strdup_printf ("%04d-%02d-%02d %02d:%02d:%02d", _tmp0_ + 1900, _tmp1_ + 1, _tmp2_, _tmp3_, _tmp4_, _tmp5_);
-#line 2755 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2706 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp6_;
-#line 2755 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2706 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 569 "Debug.c"
}
diff --git a/src/DesktopIntegration.c b/src/DesktopIntegration.c
index b82e24c..63d3682 100644
--- a/src/DesktopIntegration.c
+++ b/src/DesktopIntegration.c
@@ -1,4 +1,4 @@
-/* DesktopIntegration.c generated by valac 0.34.2, the Vala compiler
+/* DesktopIntegration.c generated by valac 0.32.1, the Vala compiler
* generated from DesktopIntegration.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -484,17 +484,17 @@ static gboolean string_contains (const gchar* self, const gchar* needle) {
gboolean result = FALSE;
const gchar* _tmp0_ = NULL;
gchar* _tmp1_ = NULL;
-#line 1376 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1376 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, FALSE);
-#line 1376 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1376 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (needle != NULL, FALSE);
-#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = needle;
-#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = strstr ((gchar*) self, (gchar*) _tmp0_);
-#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp1_ != NULL;
-#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 500 "DesktopIntegration.c"
}
@@ -1173,7 +1173,7 @@ void desktop_integration_files_send_to (GFile** files, int files_length1) {
#line 110 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1176 "DesktopIntegration.c"
- goto __catch564_g_error;
+ goto __catch562_g_error;
}
#line 118 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
_tmp21_ = app_window_get_instance ();
@@ -1185,8 +1185,8 @@ void desktop_integration_files_send_to (GFile** files, int files_length1) {
_g_object_unref0 (_tmp22_);
#line 1187 "DesktopIntegration.c"
}
- goto __finally564;
- __catch564_g_error:
+ goto __finally562;
+ __catch562_g_error:
{
GError* err = NULL;
AppWindow* _tmp23_ = NULL;
@@ -1226,7 +1226,7 @@ void desktop_integration_files_send_to (GFile** files, int files_length1) {
_g_error_free0 (err);
#line 1228 "DesktopIntegration.c"
}
- __finally564:
+ __finally562:
#line 106 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 106 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
@@ -1568,11 +1568,11 @@ void desktop_integration_set_background (Photo* photo, gboolean desktop, gboolea
#line 172 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1571 "DesktopIntegration.c"
- goto __catch565_g_error;
+ goto __catch563_g_error;
}
}
- goto __finally565;
- __catch565_g_error:
+ goto __finally563;
+ __catch563_g_error:
{
GError* err = NULL;
const gchar* _tmp27_ = NULL;
@@ -1617,7 +1617,7 @@ void desktop_integration_set_background (Photo* photo, gboolean desktop, gboolea
return;
#line 1619 "DesktopIntegration.c"
}
- __finally565:
+ __finally563:
#line 171 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 171 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
@@ -1802,7 +1802,7 @@ void desktop_integration_background_slideshow_xml_builder_open (DesktopIntegrati
#line 1803 "DesktopIntegration.c"
}
#line 211 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
- _tmp3_ = g_data_output_stream_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, g_output_stream_get_type (), GOutputStream));
+ _tmp3_ = g_data_output_stream_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, G_TYPE_OUTPUT_STREAM, GOutputStream));
#line 211 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
_g_object_unref0 (self->priv->outs);
#line 211 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
@@ -2200,7 +2200,7 @@ GFile* desktop_integration_background_slideshow_xml_builder_close (DesktopIntegr
#line 254 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
_tmp7_ = self->priv->outs;
#line 254 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
- g_output_stream_close (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, g_output_stream_get_type (), GOutputStream), NULL, &_inner_error_);
+ g_output_stream_close (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, G_TYPE_OUTPUT_STREAM, GOutputStream), NULL, &_inner_error_);
#line 254 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 254 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
@@ -2588,11 +2588,11 @@ void desktop_integration_set_background_slideshow (GeeCollection* photos, gdoubl
#line 278 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 2591 "DesktopIntegration.c"
- goto __catch566_g_error;
+ goto __catch564_g_error;
}
}
- goto __finally566;
- __catch566_g_error:
+ goto __finally564;
+ __catch564_g_error:
{
GError* err = NULL;
GError* _tmp8_ = NULL;
@@ -2612,7 +2612,7 @@ void desktop_integration_set_background_slideshow (GeeCollection* photos, gdoubl
_g_error_free0 (err);
#line 2613 "DesktopIntegration.c"
}
- __finally566:
+ __finally564:
#line 277 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 277 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
@@ -2747,7 +2747,7 @@ void desktop_integration_on_desktop_slideshow_exported (Exporter* exporter, gboo
#line 304 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 2749 "DesktopIntegration.c"
- goto __catch567_g_error;
+ goto __catch565_g_error;
}
#line 306 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
_tmp10_ = exporter;
@@ -2789,7 +2789,7 @@ void desktop_integration_on_desktop_slideshow_exported (Exporter* exporter, gboo
#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"
- goto __catch567_g_error;
+ goto __catch565_g_error;
}
#line 306 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
_g_object_unref0 (file);
@@ -2809,7 +2809,7 @@ void desktop_integration_on_desktop_slideshow_exported (Exporter* exporter, gboo
#line 309 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 2811 "DesktopIntegration.c"
- goto __catch567_g_error;
+ goto __catch565_g_error;
}
#line 309 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
_tmp19_ = _tmp16_;
@@ -2823,8 +2823,8 @@ void desktop_integration_on_desktop_slideshow_exported (Exporter* exporter, gboo
_g_object_unref0 (_tmp16_);
#line 2824 "DesktopIntegration.c"
}
- goto __finally567;
- __catch567_g_error:
+ goto __finally565;
+ __catch565_g_error:
{
GError* err = NULL;
const gchar* _tmp20_ = NULL;
@@ -2860,7 +2860,7 @@ void desktop_integration_on_desktop_slideshow_exported (Exporter* exporter, gboo
return;
#line 2861 "DesktopIntegration.c"
}
- __finally567:
+ __finally565:
#line 303 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 303 "/home/jens/Source/shotwell/src/DesktopIntegration.vala"
diff --git a/src/Dialogs.c b/src/Dialogs.c
index 36504c7..3db0786 100644
--- a/src/Dialogs.c
+++ b/src/Dialogs.c
@@ -1,4 +1,4 @@
-/* Dialogs.c generated by valac 0.34.2, the Vala compiler
+/* Dialogs.c generated by valac 0.32.1, the Vala compiler
* generated from Dialogs.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -17,9 +17,9 @@
#include <gtk/gtk.h>
#include <gio/gio.h>
#include <gee.h>
-#include <gdk/gdk.h>
#include <float.h>
#include <math.h>
+#include <gdk/gdk.h>
#include <time.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
#include <gobject/gvaluecollector.h>
@@ -294,18 +294,6 @@ typedef struct _EntryMultiCompletion EntryMultiCompletion;
typedef struct _EntryMultiCompletionClass EntryMultiCompletionClass;
typedef struct _EntryMultiCompletionPrivate EntryMultiCompletionPrivate;
-#define TYPE_SET_BACKGROUND_DIALOG (set_background_dialog_get_type ())
-#define SET_BACKGROUND_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_SET_BACKGROUND_DIALOG, SetBackgroundDialog))
-#define SET_BACKGROUND_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_SET_BACKGROUND_DIALOG, SetBackgroundDialogClass))
-#define IS_SET_BACKGROUND_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_SET_BACKGROUND_DIALOG))
-#define IS_SET_BACKGROUND_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_SET_BACKGROUND_DIALOG))
-#define SET_BACKGROUND_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_SET_BACKGROUND_DIALOG, SetBackgroundDialogClass))
-
-typedef struct _SetBackgroundDialog SetBackgroundDialog;
-typedef struct _SetBackgroundDialogClass SetBackgroundDialogClass;
-typedef struct _SetBackgroundDialogPrivate SetBackgroundDialogPrivate;
-typedef struct _ParamSpecSetBackgroundDialog ParamSpecSetBackgroundDialog;
-
#define TYPE_SET_BACKGROUND_PHOTO_DIALOG (set_background_photo_dialog_get_type ())
#define SET_BACKGROUND_PHOTO_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_SET_BACKGROUND_PHOTO_DIALOG, SetBackgroundPhotoDialog))
#define SET_BACKGROUND_PHOTO_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_SET_BACKGROUND_PHOTO_DIALOG, SetBackgroundPhotoDialogClass))
@@ -821,48 +809,34 @@ struct _EntryMultiCompletionPrivate {
gchar* delimiter;
};
-struct _SetBackgroundDialog {
- GTypeInstance parent_instance;
- volatile int ref_count;
- SetBackgroundDialogPrivate * priv;
- GtkDialog* dialog;
- GtkCheckButton* desktop_background_button;
- GtkCheckButton* screensaver_button;
- GtkButton* ok_button;
- gboolean desktop;
- gboolean screensaver;
-};
-
-struct _SetBackgroundDialogClass {
- GTypeClass parent_class;
- void (*finalize) (SetBackgroundDialog *self);
-};
-
-struct _ParamSpecSetBackgroundDialog {
- GParamSpec parent_instance;
-};
-
struct _SetBackgroundPhotoDialog {
- SetBackgroundDialog parent_instance;
+ GtkDialog parent_instance;
SetBackgroundPhotoDialogPrivate * priv;
};
struct _SetBackgroundPhotoDialogClass {
- SetBackgroundDialogClass parent_class;
+ GtkDialogClass parent_class;
+};
+
+struct _SetBackgroundPhotoDialogPrivate {
+ GtkCheckButton* desktop_background_checkbox;
+ GtkCheckButton* screensaver_checkbox;
};
struct _SetBackgroundSlideshowDialog {
- SetBackgroundDialog parent_instance;
+ GtkDialog parent_instance;
SetBackgroundSlideshowDialogPrivate * priv;
};
struct _SetBackgroundSlideshowDialogClass {
- SetBackgroundDialogClass parent_class;
+ GtkDialogClass parent_class;
};
struct _SetBackgroundSlideshowDialogPrivate {
- GtkLabel* delay_value_label;
+ GtkCheckButton* desktop_background_checkbox;
+ GtkCheckButton* screensaver_checkbox;
GtkScale* delay_scale;
+ GtkLabel* delay_value_label;
gint delay_value;
};
@@ -1124,7 +1098,6 @@ static gpointer import_ui_question_params_parent_class = NULL;
static gpointer text_entry_dialog_mediator_parent_class = NULL;
static gpointer multi_text_entry_dialog_mediator_parent_class = NULL;
static gpointer entry_multi_completion_parent_class = NULL;
-static gpointer set_background_dialog_parent_class = NULL;
static gpointer set_background_photo_dialog_parent_class = NULL;
static gpointer set_background_slideshow_dialog_parent_class = NULL;
static gpointer text_entry_dialog_parent_class = NULL;
@@ -1358,28 +1331,17 @@ static gboolean _entry_multi_completion_match_func_gtk_entry_completion_match_fu
static gchar* entry_multi_completion_get_last_part (const gchar* s, const gchar* delimiter);
static gboolean entry_multi_completion_real_match_selected (GtkEntryCompletion* base, GtkTreeModel* model, GtkTreeIter* iter);
static void entry_multi_completion_finalize (GObject* obj);
-gpointer set_background_dialog_ref (gpointer instance);
-void set_background_dialog_unref (gpointer instance);
-GParamSpec* param_spec_set_background_dialog (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
-void value_set_set_background_dialog (GValue* value, gpointer v_object);
-void value_take_set_background_dialog (GValue* value, gpointer v_object);
-gpointer value_get_set_background_dialog (const GValue* value);
-GType set_background_dialog_get_type (void) G_GNUC_CONST;
-enum {
- SET_BACKGROUND_DIALOG_DUMMY_PROPERTY
-};
-SetBackgroundDialog* set_background_dialog_construct (GType object_type, GtkBuilder* builder);
-void set_background_dialog_on_checkbox_clicked (SetBackgroundDialog* self);
-static void _set_background_dialog_on_checkbox_clicked_gtk_toggle_button_toggled (GtkToggleButton* _sender, gpointer self);
-gboolean set_background_dialog_execute_base (SetBackgroundDialog* self);
-static void set_background_dialog_finalize (SetBackgroundDialog* obj);
GType set_background_photo_dialog_get_type (void) G_GNUC_CONST;
+#define SET_BACKGROUND_PHOTO_DIALOG_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_SET_BACKGROUND_PHOTO_DIALOG, SetBackgroundPhotoDialogPrivate))
enum {
SET_BACKGROUND_PHOTO_DIALOG_DUMMY_PROPERTY
};
SetBackgroundPhotoDialog* set_background_photo_dialog_new (void);
SetBackgroundPhotoDialog* set_background_photo_dialog_construct (GType object_type);
+static void set_background_photo_dialog_on_checkbox_clicked (SetBackgroundPhotoDialog* self);
+static void _set_background_photo_dialog_on_checkbox_clicked_gtk_toggle_button_toggled (GtkToggleButton* _sender, gpointer self);
gboolean set_background_photo_dialog_execute (SetBackgroundPhotoDialog* self, gboolean* desktop_background, gboolean* screensaver);
+static void set_background_photo_dialog_finalize (GObject* obj);
GType set_background_slideshow_dialog_get_type (void) G_GNUC_CONST;
#define SET_BACKGROUND_SLIDESHOW_DIALOG_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_SET_BACKGROUND_SLIDESHOW_DIALOG, SetBackgroundSlideshowDialogPrivate))
enum {
@@ -1387,10 +1349,13 @@ enum {
};
SetBackgroundSlideshowDialog* set_background_slideshow_dialog_new (void);
SetBackgroundSlideshowDialog* set_background_slideshow_dialog_construct (GType object_type);
+static void set_background_slideshow_dialog_real_constructed (GObject* base);
static void set_background_slideshow_dialog_on_delay_scale_value_changed (SetBackgroundSlideshowDialog* self);
+static void set_background_slideshow_dialog_on_checkbox_clicked (SetBackgroundSlideshowDialog* self);
+static void _set_background_slideshow_dialog_on_checkbox_clicked_gtk_toggle_button_toggled (GtkToggleButton* _sender, gpointer self);
static void _set_background_slideshow_dialog_on_delay_scale_value_changed_gtk_range_value_changed (GtkRange* _sender, gpointer self);
gboolean set_background_slideshow_dialog_execute (SetBackgroundSlideshowDialog* self, gint* delay_value, gboolean* desktop_background, gboolean* screensaver);
-static void set_background_slideshow_dialog_finalize (SetBackgroundDialog* obj);
+static void set_background_slideshow_dialog_finalize (GObject* obj);
#define TEXT_ENTRY_DIALOG_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), TYPE_TEXT_ENTRY_DIALOG, TextEntryDialogPrivate))
enum {
TEXT_ENTRY_DIALOG_DUMMY_PROPERTY
@@ -1750,7 +1715,7 @@ gboolean dialogs_confirm_delete_tag (Tag* tag) {
result = TRUE;
#line 14 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 1754 "Dialogs.c"
+#line 1719 "Dialogs.c"
}
#line 15 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp3_ = count;
@@ -1786,7 +1751,7 @@ gboolean dialogs_confirm_delete_tag (Tag* tag) {
_g_free0 (msg);
#line 20 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 1790 "Dialogs.c"
+#line 1755 "Dialogs.c"
}
@@ -1832,7 +1797,7 @@ gboolean dialogs_confirm_delete_saved_search (SavedSearch* search) {
_g_free0 (msg);
#line 28 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 1836 "Dialogs.c"
+#line 1801 "Dialogs.c"
}
@@ -1886,7 +1851,7 @@ gboolean dialogs_confirm_warn_developer_changed (gint number) {
_g_object_unref0 (dialog);
#line 46 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 1888 "Dialogs.c"
+#line 1853 "Dialogs.c"
}
@@ -1922,7 +1887,7 @@ GFile* export_ui_choose_file (const gchar* current_file_basename) {
_tmp0_ = export_ui_current_export_dir;
#line 55 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp0_ == NULL) {
-#line 1924 "Dialogs.c"
+#line 1889 "Dialogs.c"
const gchar* _tmp1_ = NULL;
GFile* _tmp2_ = NULL;
#line 56 "/home/jens/Source/shotwell/src/Dialogs.vala"
@@ -1933,7 +1898,7 @@ GFile* export_ui_choose_file (const gchar* current_file_basename) {
_g_object_unref0 (export_ui_current_export_dir);
#line 56 "/home/jens/Source/shotwell/src/Dialogs.vala"
export_ui_current_export_dir = _tmp2_;
-#line 1935 "Dialogs.c"
+#line 1900 "Dialogs.c"
}
#line 58 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp4_ = current_file_basename;
@@ -1941,20 +1906,20 @@ GFile* export_ui_choose_file (const gchar* current_file_basename) {
_tmp5_ = video_reader_is_supported_video_filename (_tmp4_);
#line 58 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp5_) {
-#line 1943 "Dialogs.c"
+#line 1908 "Dialogs.c"
const gchar* _tmp6_ = NULL;
#line 59 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp6_ = _ ("Export Video");
#line 59 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp3_ = _tmp6_;
-#line 1949 "Dialogs.c"
+#line 1914 "Dialogs.c"
} else {
const gchar* _tmp7_ = NULL;
#line 59 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp7_ = _ ("Export Photo");
#line 59 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp3_ = _tmp7_;
-#line 1956 "Dialogs.c"
+#line 1921 "Dialogs.c"
}
#line 58 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp8_ = g_strdup (_tmp3_);
@@ -2010,7 +1975,7 @@ GFile* export_ui_choose_file (const gchar* current_file_basename) {
_tmp23_ = gtk_dialog_run (G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, gtk_dialog_get_type (), GtkDialog));
#line 70 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp23_ == ((gint) GTK_RESPONSE_ACCEPT)) {
-#line 2012 "Dialogs.c"
+#line 1977 "Dialogs.c"
GtkFileChooserDialog* _tmp24_ = NULL;
gchar* _tmp25_ = NULL;
gchar* _tmp26_ = NULL;
@@ -2039,7 +2004,7 @@ GFile* export_ui_choose_file (const gchar* current_file_basename) {
_g_object_unref0 (export_ui_current_export_dir);
#line 72 "/home/jens/Source/shotwell/src/Dialogs.vala"
export_ui_current_export_dir = _tmp29_;
-#line 2041 "Dialogs.c"
+#line 2006 "Dialogs.c"
}
#line 74 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp30_ = chooser;
@@ -2053,14 +2018,14 @@ GFile* export_ui_choose_file (const gchar* current_file_basename) {
_g_free0 (file_chooser_title);
#line 76 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 2055 "Dialogs.c"
+#line 2020 "Dialogs.c"
}
static gpointer _g_object_ref0 (gpointer self) {
#line 95 "/home/jens/Source/shotwell/src/Dialogs.vala"
return self ? g_object_ref (self) : NULL;
-#line 2062 "Dialogs.c"
+#line 2027 "Dialogs.c"
}
@@ -2087,7 +2052,7 @@ GFile* export_ui_choose_dir (const gchar* user_title) {
_tmp0_ = export_ui_current_export_dir;
#line 80 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp0_ == NULL) {
-#line 2089 "Dialogs.c"
+#line 2054 "Dialogs.c"
const gchar* _tmp1_ = NULL;
GFile* _tmp2_ = NULL;
#line 81 "/home/jens/Source/shotwell/src/Dialogs.vala"
@@ -2098,19 +2063,19 @@ GFile* export_ui_choose_dir (const gchar* user_title) {
_g_object_unref0 (export_ui_current_export_dir);
#line 81 "/home/jens/Source/shotwell/src/Dialogs.vala"
export_ui_current_export_dir = _tmp2_;
-#line 2100 "Dialogs.c"
+#line 2065 "Dialogs.c"
}
#line 83 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp3_ = user_title;
#line 83 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp3_ == NULL) {
-#line 2106 "Dialogs.c"
+#line 2071 "Dialogs.c"
const gchar* _tmp4_ = NULL;
#line 84 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp4_ = _ ("Export Photos");
#line 84 "/home/jens/Source/shotwell/src/Dialogs.vala"
user_title = _tmp4_;
-#line 2112 "Dialogs.c"
+#line 2077 "Dialogs.c"
}
#line 86 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp5_ = user_title;
@@ -2152,7 +2117,7 @@ GFile* export_ui_choose_dir (const gchar* user_title) {
_tmp16_ = gtk_dialog_run (G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, gtk_dialog_get_type (), GtkDialog));
#line 93 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp16_ == ((gint) GTK_RESPONSE_ACCEPT)) {
-#line 2154 "Dialogs.c"
+#line 2119 "Dialogs.c"
GtkFileChooserDialog* _tmp17_ = NULL;
gchar* _tmp18_ = NULL;
gchar* _tmp19_ = NULL;
@@ -2181,7 +2146,7 @@ GFile* export_ui_choose_dir (const gchar* user_title) {
_g_object_unref0 (export_ui_current_export_dir);
#line 95 "/home/jens/Source/shotwell/src/Dialogs.vala"
export_ui_current_export_dir = _tmp22_;
-#line 2183 "Dialogs.c"
+#line 2148 "Dialogs.c"
}
#line 98 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp23_ = chooser;
@@ -2193,7 +2158,7 @@ GFile* export_ui_choose_dir (const gchar* user_title) {
_g_object_unref0 (chooser);
#line 100 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 2195 "Dialogs.c"
+#line 2160 "Dialogs.c"
}
@@ -2208,18 +2173,18 @@ void open_external_editor_error_dialog (GError* err, Photo* photo) {
if (g_error_matches (_tmp1_, G_IO_ERROR, G_IO_ERROR_PERMISSION_DENIED)) {
#line 109 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = TRUE;
-#line 2210 "Dialogs.c"
+#line 2175 "Dialogs.c"
} else {
GError* _tmp2_ = NULL;
#line 109 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp2_ = err;
#line 109 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = g_error_matches (_tmp2_, G_FILE_ERROR, G_FILE_ERROR_PERM);
-#line 2217 "Dialogs.c"
+#line 2182 "Dialogs.c"
}
#line 109 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp0_) {
-#line 2221 "Dialogs.c"
+#line 2186 "Dialogs.c"
const gchar* _tmp3_ = NULL;
Photo* _tmp4_ = NULL;
GFile* _tmp5_ = NULL;
@@ -2261,7 +2226,7 @@ void open_external_editor_error_dialog (GError* err, Photo* photo) {
_g_object_unref0 (_tmp8_);
#line 111 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_tmp6_);
-#line 2262 "Dialogs.c"
+#line 2227 "Dialogs.c"
} else {
GError* _tmp13_ = NULL;
gchar* _tmp14_ = NULL;
@@ -2276,7 +2241,7 @@ void open_external_editor_error_dialog (GError* err, Photo* photo) {
app_window_error_message (_tmp15_, NULL);
#line 116 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (_tmp15_);
-#line 2277 "Dialogs.c"
+#line 2242 "Dialogs.c"
}
}
@@ -2316,7 +2281,7 @@ GtkResponseType export_error_dialog (GFile* dest, gboolean photos_remaining) {
_tmp6_ = photos_remaining;
#line 126 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp6_) {
-#line 2317 "Dialogs.c"
+#line 2282 "Dialogs.c"
const gchar* _tmp7_ = NULL;
const gchar* _tmp8_ = NULL;
gchar* _tmp9_ = NULL;
@@ -2341,14 +2306,14 @@ GtkResponseType export_error_dialog (GFile* dest, gboolean photos_remaining) {
_tmp12_ = app_window_affirm_cancel_question (_tmp10_, _tmp11_, NULL, NULL);
#line 128 "/home/jens/Source/shotwell/src/Dialogs.vala"
response = _tmp12_;
-#line 2342 "Dialogs.c"
+#line 2307 "Dialogs.c"
} else {
const gchar* _tmp13_ = NULL;
#line 130 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp13_ = message;
#line 130 "/home/jens/Source/shotwell/src/Dialogs.vala"
app_window_error_message (_tmp13_, NULL);
-#line 2349 "Dialogs.c"
+#line 2314 "Dialogs.c"
}
#line 133 "/home/jens/Source/shotwell/src/Dialogs.vala"
result = response;
@@ -2356,42 +2321,42 @@ GtkResponseType export_error_dialog (GFile* dest, gboolean photos_remaining) {
_g_free0 (message);
#line 133 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 2357 "Dialogs.c"
+#line 2322 "Dialogs.c"
}
static void _export_dialog_on_constraint_changed_gtk_combo_box_changed (GtkComboBox* _sender, gpointer self) {
#line 214 "/home/jens/Source/shotwell/src/Dialogs.vala"
export_dialog_on_constraint_changed ((ExportDialog*) self);
-#line 2364 "Dialogs.c"
+#line 2329 "Dialogs.c"
}
static void _export_dialog_on_format_changed_gtk_combo_box_changed (GtkComboBox* _sender, gpointer self) {
#line 215 "/home/jens/Source/shotwell/src/Dialogs.vala"
export_dialog_on_format_changed ((ExportDialog*) self);
-#line 2371 "Dialogs.c"
+#line 2336 "Dialogs.c"
}
static void _export_dialog_on_pixels_changed_gtk_editable_changed (GtkEditable* _sender, gpointer self) {
#line 216 "/home/jens/Source/shotwell/src/Dialogs.vala"
export_dialog_on_pixels_changed ((ExportDialog*) self);
-#line 2378 "Dialogs.c"
+#line 2343 "Dialogs.c"
}
static void _export_dialog_on_pixels_insert_text_gtk_editable_insert_text (GtkEditable* _sender, const gchar* new_text, gint new_text_length, gint* position, gpointer self) {
#line 217 "/home/jens/Source/shotwell/src/Dialogs.vala"
export_dialog_on_pixels_insert_text ((ExportDialog*) self, new_text, new_text_length, position);
-#line 2385 "Dialogs.c"
+#line 2350 "Dialogs.c"
}
static void _export_dialog_on_activate_gtk_entry_activate (GtkEntry* _sender, gpointer self) {
#line 218 "/home/jens/Source/shotwell/src/Dialogs.vala"
export_dialog_on_activate ((ExportDialog*) self);
-#line 2392 "Dialogs.c"
+#line 2357 "Dialogs.c"
}
@@ -2475,11 +2440,11 @@ ExportDialog* export_dialog_construct (GType object_type, const gchar* title) {
if (_tmp2_) {
#line 170 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = 1;
-#line 2476 "Dialogs.c"
+#line 2441 "Dialogs.c"
} else {
#line 170 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = 0;
-#line 2480 "Dialogs.c"
+#line 2445 "Dialogs.c"
}
#line 170 "/home/jens/Source/shotwell/src/Dialogs.vala"
self = (ExportDialog*) g_object_new (object_type, "use-header-bar", _tmp1_, NULL);
@@ -2539,7 +2504,7 @@ ExportDialog* export_dialog_construct (GType object_type, const gchar* title) {
self->priv->quality_combo = _tmp17_;
#line 185 "/home/jens/Source/shotwell/src/Dialogs.vala"
ctr = 0;
-#line 2540 "Dialogs.c"
+#line 2505 "Dialogs.c"
{
JpegQuality* quality_collection = NULL;
gint quality_collection_length1 = 0;
@@ -2551,11 +2516,11 @@ ExportDialog* export_dialog_construct (GType object_type, const gchar* title) {
quality_collection_length1 = G_N_ELEMENTS (EXPORT_DIALOG_QUALITY_ARRAY);
#line 186 "/home/jens/Source/shotwell/src/Dialogs.vala"
for (quality_it = 0; quality_it < G_N_ELEMENTS (EXPORT_DIALOG_QUALITY_ARRAY); quality_it = quality_it + 1) {
-#line 2552 "Dialogs.c"
+#line 2517 "Dialogs.c"
JpegQuality quality = 0;
#line 186 "/home/jens/Source/shotwell/src/Dialogs.vala"
quality = quality_collection[quality_it];
-#line 2556 "Dialogs.c"
+#line 2521 "Dialogs.c"
{
GtkComboBoxText* _tmp18_ = NULL;
JpegQuality _tmp19_ = 0;
@@ -2585,7 +2550,7 @@ ExportDialog* export_dialog_construct (GType object_type, const gchar* title) {
_tmp24_ = _tmp23_.quality;
#line 188 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp22_ == _tmp24_) {
-#line 2586 "Dialogs.c"
+#line 2551 "Dialogs.c"
GtkComboBoxText* _tmp25_ = NULL;
gint _tmp26_ = 0;
#line 189 "/home/jens/Source/shotwell/src/Dialogs.vala"
@@ -2594,13 +2559,13 @@ ExportDialog* export_dialog_construct (GType object_type, const gchar* title) {
_tmp26_ = ctr;
#line 189 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp25_, gtk_combo_box_get_type (), GtkComboBox), _tmp26_);
-#line 2595 "Dialogs.c"
+#line 2560 "Dialogs.c"
}
#line 190 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp27_ = ctr;
#line 190 "/home/jens/Source/shotwell/src/Dialogs.vala"
ctr = _tmp27_ + 1;
-#line 2601 "Dialogs.c"
+#line 2566 "Dialogs.c"
}
}
}
@@ -2614,7 +2579,7 @@ ExportDialog* export_dialog_construct (GType object_type, const gchar* title) {
self->priv->constraint_combo = _tmp28_;
#line 194 "/home/jens/Source/shotwell/src/Dialogs.vala"
ctr = 0;
-#line 2615 "Dialogs.c"
+#line 2580 "Dialogs.c"
{
ScaleConstraint* constraint_collection = NULL;
gint constraint_collection_length1 = 0;
@@ -2626,11 +2591,11 @@ ExportDialog* export_dialog_construct (GType object_type, const gchar* title) {
constraint_collection_length1 = G_N_ELEMENTS (EXPORT_DIALOG_CONSTRAINT_ARRAY);
#line 195 "/home/jens/Source/shotwell/src/Dialogs.vala"
for (constraint_it = 0; constraint_it < G_N_ELEMENTS (EXPORT_DIALOG_CONSTRAINT_ARRAY); constraint_it = constraint_it + 1) {
-#line 2627 "Dialogs.c"
+#line 2592 "Dialogs.c"
ScaleConstraint constraint = 0;
#line 195 "/home/jens/Source/shotwell/src/Dialogs.vala"
constraint = constraint_collection[constraint_it];
-#line 2631 "Dialogs.c"
+#line 2596 "Dialogs.c"
{
GtkComboBoxText* _tmp29_ = NULL;
ScaleConstraint _tmp30_ = 0;
@@ -2657,7 +2622,7 @@ ExportDialog* export_dialog_construct (GType object_type, const gchar* title) {
_tmp34_ = export_dialog_current_constraint;
#line 197 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp33_ == _tmp34_) {
-#line 2658 "Dialogs.c"
+#line 2623 "Dialogs.c"
GtkComboBoxText* _tmp35_ = NULL;
gint _tmp36_ = 0;
#line 198 "/home/jens/Source/shotwell/src/Dialogs.vala"
@@ -2666,13 +2631,13 @@ ExportDialog* export_dialog_construct (GType object_type, const gchar* title) {
_tmp36_ = ctr;
#line 198 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp35_, gtk_combo_box_get_type (), GtkComboBox), _tmp36_);
-#line 2667 "Dialogs.c"
+#line 2632 "Dialogs.c"
}
#line 199 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp37_ = ctr;
#line 199 "/home/jens/Source/shotwell/src/Dialogs.vala"
ctr = _tmp37_ + 1;
-#line 2673 "Dialogs.c"
+#line 2638 "Dialogs.c"
}
}
}
@@ -2690,7 +2655,7 @@ ExportDialog* export_dialog_construct (GType object_type, const gchar* title) {
export_dialog_format_add_option (self, EXPORT_DIALOG_CURRENT_FORMAT_LABEL);
#line 205 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp40_ = photo_file_format_get_writeable (&_tmp39_);
-#line 2691 "Dialogs.c"
+#line 2656 "Dialogs.c"
{
PhotoFileFormat* format_collection = NULL;
gint format_collection_length1 = 0;
@@ -2702,11 +2667,11 @@ ExportDialog* export_dialog_construct (GType object_type, const gchar* title) {
format_collection_length1 = _tmp39_;
#line 205 "/home/jens/Source/shotwell/src/Dialogs.vala"
for (format_it = 0; format_it < _tmp39_; format_it = format_it + 1) {
-#line 2703 "Dialogs.c"
+#line 2668 "Dialogs.c"
PhotoFileFormat format = 0;
#line 205 "/home/jens/Source/shotwell/src/Dialogs.vala"
format = format_collection[format_it];
-#line 2707 "Dialogs.c"
+#line 2672 "Dialogs.c"
{
PhotoFileFormat _tmp41_ = 0;
PhotoFileFormatProperties* _tmp42_ = NULL;
@@ -2729,12 +2694,12 @@ ExportDialog* export_dialog_construct (GType object_type, const gchar* title) {
_g_free0 (_tmp45_);
#line 206 "/home/jens/Source/shotwell/src/Dialogs.vala"
_photo_file_format_properties_unref0 (_tmp43_);
-#line 2730 "Dialogs.c"
+#line 2695 "Dialogs.c"
}
}
#line 205 "/home/jens/Source/shotwell/src/Dialogs.vala"
format_collection = (g_free (format_collection), NULL);
-#line 2735 "Dialogs.c"
+#line 2700 "Dialogs.c"
}
#line 209 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp46_ = (GtkEntry*) gtk_entry_new ();
@@ -2892,7 +2857,7 @@ ExportDialog* export_dialog_construct (GType object_type, const gchar* title) {
_tmp85_ = export_dialog_current_constraint;
#line 254 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp85_ == SCALE_CONSTRAINT_ORIGINAL) {
-#line 2893 "Dialogs.c"
+#line 2858 "Dialogs.c"
GtkEntry* _tmp86_ = NULL;
GtkComboBoxText* _tmp87_ = NULL;
#line 255 "/home/jens/Source/shotwell/src/Dialogs.vala"
@@ -2903,7 +2868,7 @@ ExportDialog* export_dialog_construct (GType object_type, const gchar* title) {
_tmp87_ = self->priv->quality_combo;
#line 256 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp87_, gtk_widget_get_type (), GtkWidget), FALSE);
-#line 2904 "Dialogs.c"
+#line 2869 "Dialogs.c"
}
#line 259 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp88_ = self->priv->ok_button;
@@ -2913,14 +2878,14 @@ ExportDialog* export_dialog_construct (GType object_type, const gchar* title) {
_g_object_unref0 (config);
#line 167 "/home/jens/Source/shotwell/src/Dialogs.vala"
return self;
-#line 2914 "Dialogs.c"
+#line 2879 "Dialogs.c"
}
ExportDialog* export_dialog_new (const gchar* title) {
#line 167 "/home/jens/Source/shotwell/src/Dialogs.vala"
return export_dialog_construct (TYPE_EXPORT_DIALOG, title);
-#line 2921 "Dialogs.c"
+#line 2886 "Dialogs.c"
}
@@ -2945,7 +2910,7 @@ static void export_dialog_format_add_option (ExportDialog* self, const gchar* fo
_tmp3_ = format_name;
#line 264 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_combo_box_text_append_text (_tmp2_, _tmp3_);
-#line 2946 "Dialogs.c"
+#line 2911 "Dialogs.c"
}
@@ -2958,7 +2923,7 @@ static void export_dialog_format_set_active_text (ExportDialog* self, const gcha
g_return_if_fail (text != NULL);
#line 268 "/home/jens/Source/shotwell/src/Dialogs.vala"
selection_ticker = 0;
-#line 2959 "Dialogs.c"
+#line 2924 "Dialogs.c"
{
GeeArrayList* _current_text_list = NULL;
GeeArrayList* _tmp0_ = NULL;
@@ -2986,7 +2951,7 @@ static void export_dialog_format_set_active_text (ExportDialog* self, const gcha
_current_text_index = -1;
#line 270 "/home/jens/Source/shotwell/src/Dialogs.vala"
while (TRUE) {
-#line 2987 "Dialogs.c"
+#line 2952 "Dialogs.c"
gint _tmp5_ = 0;
gint _tmp6_ = 0;
gint _tmp7_ = 0;
@@ -3009,7 +2974,7 @@ static void export_dialog_format_set_active_text (ExportDialog* self, const gcha
if (!(_tmp6_ < _tmp7_)) {
#line 270 "/home/jens/Source/shotwell/src/Dialogs.vala"
break;
-#line 3010 "Dialogs.c"
+#line 2975 "Dialogs.c"
}
#line 270 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp8_ = _current_text_list;
@@ -3025,7 +2990,7 @@ static void export_dialog_format_set_active_text (ExportDialog* self, const gcha
_tmp12_ = text;
#line 271 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (g_strcmp0 (_tmp11_, _tmp12_) == 0) {
-#line 3026 "Dialogs.c"
+#line 2991 "Dialogs.c"
GtkComboBoxText* _tmp13_ = NULL;
gint _tmp14_ = 0;
#line 272 "/home/jens/Source/shotwell/src/Dialogs.vala"
@@ -3040,7 +3005,7 @@ static void export_dialog_format_set_active_text (ExportDialog* self, const gcha
_g_object_unref0 (_current_text_list);
#line 273 "/home/jens/Source/shotwell/src/Dialogs.vala"
return;
-#line 3041 "Dialogs.c"
+#line 3006 "Dialogs.c"
}
#line 275 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp15_ = selection_ticker;
@@ -3048,17 +3013,17 @@ static void export_dialog_format_set_active_text (ExportDialog* self, const gcha
selection_ticker = _tmp15_ + 1;
#line 270 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (current_text);
-#line 3049 "Dialogs.c"
+#line 3014 "Dialogs.c"
}
#line 270 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_current_text_list);
-#line 3053 "Dialogs.c"
+#line 3018 "Dialogs.c"
}
#line 278 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp16_ = text;
#line 278 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_error ("Dialogs.vala:278: format_set_active_text: text '%s' isn't in combo box", _tmp16_);
-#line 3059 "Dialogs.c"
+#line 3024 "Dialogs.c"
}
@@ -3090,7 +3055,7 @@ static PhotoFileFormat export_dialog_get_specified_format (ExportDialog* self) {
if (_tmp2_ < EXPORT_DIALOG_NUM_SPECIAL_FORMATS) {
#line 284 "/home/jens/Source/shotwell/src/Dialogs.vala"
index = EXPORT_DIALOG_NUM_SPECIAL_FORMATS;
-#line 3091 "Dialogs.c"
+#line 3056 "Dialogs.c"
}
#line 286 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp3_ = index;
@@ -3114,7 +3079,7 @@ static PhotoFileFormat export_dialog_get_specified_format (ExportDialog* self) {
writeable_formats = (g_free (writeable_formats), NULL);
#line 288 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 3115 "Dialogs.c"
+#line 3080 "Dialogs.c"
}
@@ -3134,7 +3099,7 @@ static gchar* export_dialog_get_label_for_parameters (ExportDialog* self, Export
switch (_tmp1_) {
#line 292 "/home/jens/Source/shotwell/src/Dialogs.vala"
case EXPORT_FORMAT_MODE_UNMODIFIED:
-#line 3135 "Dialogs.c"
+#line 3100 "Dialogs.c"
{
gchar* _tmp2_ = NULL;
#line 294 "/home/jens/Source/shotwell/src/Dialogs.vala"
@@ -3143,11 +3108,11 @@ static gchar* export_dialog_get_label_for_parameters (ExportDialog* self, Export
result = _tmp2_;
#line 294 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 3144 "Dialogs.c"
+#line 3109 "Dialogs.c"
}
#line 292 "/home/jens/Source/shotwell/src/Dialogs.vala"
case EXPORT_FORMAT_MODE_CURRENT:
-#line 3148 "Dialogs.c"
+#line 3113 "Dialogs.c"
{
gchar* _tmp3_ = NULL;
#line 297 "/home/jens/Source/shotwell/src/Dialogs.vala"
@@ -3156,11 +3121,11 @@ static gchar* export_dialog_get_label_for_parameters (ExportDialog* self, Export
result = _tmp3_;
#line 297 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 3157 "Dialogs.c"
+#line 3122 "Dialogs.c"
}
#line 292 "/home/jens/Source/shotwell/src/Dialogs.vala"
case EXPORT_FORMAT_MODE_SPECIFIED:
-#line 3161 "Dialogs.c"
+#line 3126 "Dialogs.c"
{
ExportFormatParameters _tmp4_ = {0};
PhotoFileFormat _tmp5_ = 0;
@@ -3186,14 +3151,14 @@ static gchar* export_dialog_get_label_for_parameters (ExportDialog* self, Export
result = _tmp9_;
#line 300 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 3187 "Dialogs.c"
+#line 3152 "Dialogs.c"
}
default:
{
#line 303 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_error ("Dialogs.vala:303: get_label_for_parameters: unrecognized export format" \
" mode");
-#line 3193 "Dialogs.c"
+#line 3158 "Dialogs.c"
}
}
}
@@ -3225,7 +3190,7 @@ gboolean export_dialog_execute (ExportDialog* self, gint* scale, ScaleConstraint
_tmp1_ = _tmp0_.mode;
#line 316 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp1_ != EXPORT_FORMAT_MODE_LAST) {
-#line 3225 "Dialogs.c"
+#line 3190 "Dialogs.c"
ScaleConstraint _tmp2_ = 0;
GtkComboBoxText* _tmp3_ = NULL;
#line 317 "/home/jens/Source/shotwell/src/Dialogs.vala"
@@ -3238,7 +3203,7 @@ gboolean export_dialog_execute (ExportDialog* self, gint* scale, ScaleConstraint
_tmp3_ = self->priv->constraint_combo;
#line 318 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_combo_box_get_type (), GtkComboBox), 0);
-#line 3238 "Dialogs.c"
+#line 3203 "Dialogs.c"
}
#line 321 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp4_ = *parameters;
@@ -3246,13 +3211,13 @@ gboolean export_dialog_execute (ExportDialog* self, gint* scale, ScaleConstraint
_tmp5_ = _tmp4_.mode;
#line 321 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp5_ == EXPORT_FORMAT_MODE_LAST) {
-#line 3246 "Dialogs.c"
+#line 3211 "Dialogs.c"
ExportFormatParameters _tmp6_ = {0};
#line 322 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp6_ = export_dialog_current_parameters;
#line 322 "/home/jens/Source/shotwell/src/Dialogs.vala"
*parameters = _tmp6_;
-#line 3252 "Dialogs.c"
+#line 3217 "Dialogs.c"
} else {
gboolean _tmp7_ = FALSE;
ExportFormatParameters _tmp8_ = {0};
@@ -3263,7 +3228,7 @@ gboolean export_dialog_execute (ExportDialog* self, gint* scale, ScaleConstraint
_tmp9_ = _tmp8_.mode;
#line 323 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp9_ == EXPORT_FORMAT_MODE_SPECIFIED) {
-#line 3263 "Dialogs.c"
+#line 3228 "Dialogs.c"
ExportFormatParameters _tmp10_ = {0};
PhotoFileFormat _tmp11_ = 0;
gboolean _tmp12_ = FALSE;
@@ -3275,21 +3240,21 @@ gboolean export_dialog_execute (ExportDialog* self, gint* scale, ScaleConstraint
_tmp12_ = photo_file_format_can_write (_tmp11_);
#line 323 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp7_ = !_tmp12_;
-#line 3275 "Dialogs.c"
+#line 3240 "Dialogs.c"
} else {
#line 323 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp7_ = FALSE;
-#line 3279 "Dialogs.c"
+#line 3244 "Dialogs.c"
}
#line 323 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp7_) {
-#line 3283 "Dialogs.c"
+#line 3248 "Dialogs.c"
PhotoFileFormat _tmp13_ = 0;
#line 324 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp13_ = photo_file_format_get_system_default_format ();
#line 324 "/home/jens/Source/shotwell/src/Dialogs.vala"
(*parameters).specified_format = _tmp13_;
-#line 3289 "Dialogs.c"
+#line 3254 "Dialogs.c"
}
}
#line 326 "/home/jens/Source/shotwell/src/Dialogs.vala"
@@ -3312,7 +3277,7 @@ gboolean export_dialog_execute (ExportDialog* self, gint* scale, ScaleConstraint
_tmp18_ = ok;
#line 330 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp18_) {
-#line 3312 "Dialogs.c"
+#line 3277 "Dialogs.c"
gint index = 0;
GtkComboBoxText* _tmp19_ = NULL;
gint _tmp20_ = 0;
@@ -3383,13 +3348,13 @@ gboolean export_dialog_execute (ExportDialog* self, gint* scale, ScaleConstraint
_tmp28_ = _vala_constraint;
#line 337 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp28_ != SCALE_CONSTRAINT_ORIGINAL) {
-#line 3383 "Dialogs.c"
+#line 3348 "Dialogs.c"
gint _tmp29_ = 0;
#line 338 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp29_ = _vala_scale;
#line 338 "/home/jens/Source/shotwell/src/Dialogs.vala"
_vala_assert (_tmp29_ > 0, "scale > 0");
-#line 3389 "Dialogs.c"
+#line 3354 "Dialogs.c"
}
#line 339 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp30_ = _vala_scale;
@@ -3403,7 +3368,7 @@ gboolean export_dialog_execute (ExportDialog* self, gint* scale, ScaleConstraint
_tmp34_ = _tmp33_;
#line 341 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp34_) {
-#line 3403 "Dialogs.c"
+#line 3368 "Dialogs.c"
GtkSwitch* _tmp35_ = NULL;
gboolean _tmp36_ = FALSE;
gboolean _tmp37_ = FALSE;
@@ -3415,11 +3380,11 @@ gboolean export_dialog_execute (ExportDialog* self, gint* scale, ScaleConstraint
_tmp37_ = _tmp36_;
#line 341 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp31_ = _tmp37_;
-#line 3415 "Dialogs.c"
+#line 3380 "Dialogs.c"
} else {
#line 341 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp31_ = FALSE;
-#line 3419 "Dialogs.c"
+#line 3384 "Dialogs.c"
}
#line 341 "/home/jens/Source/shotwell/src/Dialogs.vala"
(*parameters).export_metadata = _tmp31_;
@@ -3435,7 +3400,7 @@ gboolean export_dialog_execute (ExportDialog* self, gint* scale, ScaleConstraint
_g_free0 (_tmp40_);
#line 343 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp41_) {
-#line 3435 "Dialogs.c"
+#line 3400 "Dialogs.c"
ExportFormatMode _tmp42_ = 0;
#line 344 "/home/jens/Source/shotwell/src/Dialogs.vala"
export_dialog_current_parameters.mode = EXPORT_FORMAT_MODE_UNMODIFIED;
@@ -3443,7 +3408,7 @@ gboolean export_dialog_execute (ExportDialog* self, gint* scale, ScaleConstraint
_tmp42_ = export_dialog_current_parameters.mode;
#line 344 "/home/jens/Source/shotwell/src/Dialogs.vala"
(*parameters).mode = _tmp42_;
-#line 3443 "Dialogs.c"
+#line 3408 "Dialogs.c"
} else {
GtkComboBoxText* _tmp43_ = NULL;
gchar* _tmp44_ = NULL;
@@ -3461,7 +3426,7 @@ gboolean export_dialog_execute (ExportDialog* self, gint* scale, ScaleConstraint
_g_free0 (_tmp45_);
#line 345 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp46_) {
-#line 3461 "Dialogs.c"
+#line 3426 "Dialogs.c"
ExportFormatMode _tmp47_ = 0;
#line 346 "/home/jens/Source/shotwell/src/Dialogs.vala"
export_dialog_current_parameters.mode = EXPORT_FORMAT_MODE_CURRENT;
@@ -3469,7 +3434,7 @@ gboolean export_dialog_execute (ExportDialog* self, gint* scale, ScaleConstraint
_tmp47_ = export_dialog_current_parameters.mode;
#line 346 "/home/jens/Source/shotwell/src/Dialogs.vala"
(*parameters).mode = _tmp47_;
-#line 3469 "Dialogs.c"
+#line 3434 "Dialogs.c"
} else {
ExportFormatMode _tmp48_ = 0;
PhotoFileFormat _tmp49_ = 0;
@@ -3496,7 +3461,7 @@ gboolean export_dialog_execute (ExportDialog* self, gint* scale, ScaleConstraint
_tmp52_ = _tmp51_.specified_format;
#line 350 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp52_ == PHOTO_FILE_FORMAT_JFIF) {
-#line 3496 "Dialogs.c"
+#line 3461 "Dialogs.c"
GtkComboBoxText* _tmp53_ = NULL;
gint _tmp54_ = 0;
JpegQuality _tmp55_ = 0;
@@ -3513,7 +3478,7 @@ gboolean export_dialog_execute (ExportDialog* self, gint* scale, ScaleConstraint
_tmp56_ = export_dialog_current_parameters.quality;
#line 351 "/home/jens/Source/shotwell/src/Dialogs.vala"
(*parameters).quality = _tmp56_;
-#line 3513 "Dialogs.c"
+#line 3478 "Dialogs.c"
}
}
}
@@ -3567,13 +3532,13 @@ gboolean export_dialog_execute (ExportDialog* self, gint* scale, ScaleConstraint
configuration_facade_set_export_scale (G_TYPE_CHECK_INSTANCE_CAST (_tmp72_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp73_);
#line 330 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (config);
-#line 3567 "Dialogs.c"
+#line 3532 "Dialogs.c"
} else {
#line 363 "/home/jens/Source/shotwell/src/Dialogs.vala"
_vala_scale = 0;
#line 364 "/home/jens/Source/shotwell/src/Dialogs.vala"
_vala_constraint = SCALE_CONSTRAINT_ORIGINAL;
-#line 3573 "Dialogs.c"
+#line 3538 "Dialogs.c"
}
#line 367 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
@@ -3583,17 +3548,17 @@ gboolean export_dialog_execute (ExportDialog* self, gint* scale, ScaleConstraint
if (scale) {
#line 369 "/home/jens/Source/shotwell/src/Dialogs.vala"
*scale = _vala_scale;
-#line 3583 "Dialogs.c"
+#line 3548 "Dialogs.c"
}
#line 369 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (constraint) {
#line 369 "/home/jens/Source/shotwell/src/Dialogs.vala"
*constraint = _vala_constraint;
-#line 3589 "Dialogs.c"
+#line 3554 "Dialogs.c"
}
#line 369 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 3593 "Dialogs.c"
+#line 3558 "Dialogs.c"
}
@@ -3639,7 +3604,7 @@ static void export_dialog_add_label (ExportDialog* self, const gchar* text, gint
_tmp5_ = widget;
#line 378 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp5_ != NULL) {
-#line 3639 "Dialogs.c"
+#line 3604 "Dialogs.c"
GtkLabel* _tmp6_ = NULL;
GtkWidget* _tmp7_ = NULL;
#line 379 "/home/jens/Source/shotwell/src/Dialogs.vala"
@@ -3648,7 +3613,7 @@ static void export_dialog_add_label (ExportDialog* self, const gchar* text, gint
_tmp7_ = widget;
#line 379 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_label_set_mnemonic_widget (_tmp6_, _tmp7_);
-#line 3648 "Dialogs.c"
+#line 3613 "Dialogs.c"
}
#line 381 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp8_ = self->priv->table;
@@ -3662,7 +3627,7 @@ static void export_dialog_add_label (ExportDialog* self, const gchar* text, gint
gtk_grid_attach (_tmp8_, G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_widget_get_type (), GtkWidget), _tmp10_, _tmp11_, 1, 1);
#line 372 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (new_label);
-#line 3662 "Dialogs.c"
+#line 3627 "Dialogs.c"
}
@@ -3705,7 +3670,7 @@ static void export_dialog_add_control (ExportDialog* self, GtkWidget* widget, gi
_tmp7_ = y;
#line 390 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_grid_attach (_tmp4_, _tmp5_, _tmp6_, _tmp7_, 1, 1);
-#line 3705 "Dialogs.c"
+#line 3670 "Dialogs.c"
}
@@ -3773,17 +3738,17 @@ static void export_dialog_on_constraint_changed (ExportDialog* self) {
_tmp14_ = original;
#line 398 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (!_tmp14_) {
-#line 3773 "Dialogs.c"
+#line 3738 "Dialogs.c"
gboolean _tmp15_ = FALSE;
#line 398 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp15_ = jpeg;
#line 398 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp13_ = _tmp15_;
-#line 3779 "Dialogs.c"
+#line 3744 "Dialogs.c"
} else {
#line 398 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp13_ = FALSE;
-#line 3783 "Dialogs.c"
+#line 3748 "Dialogs.c"
}
#line 398 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp16_ = self->priv->quality_combo;
@@ -3793,17 +3758,17 @@ static void export_dialog_on_constraint_changed (ExportDialog* self) {
_tmp17_ = original;
#line 399 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp17_) {
-#line 3793 "Dialogs.c"
+#line 3758 "Dialogs.c"
GtkWidget* _tmp18_ = NULL;
#line 400 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp18_ = self->priv->ok_button;
#line 400 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_widget_set_sensitive (_tmp18_, TRUE);
-#line 3799 "Dialogs.c"
+#line 3764 "Dialogs.c"
} else {
#line 402 "/home/jens/Source/shotwell/src/Dialogs.vala"
export_dialog_on_pixels_changed (self);
-#line 3803 "Dialogs.c"
+#line 3768 "Dialogs.c"
}
}
@@ -3839,7 +3804,7 @@ static void export_dialog_on_format_changed (ExportDialog* self) {
_g_free0 (_tmp5_);
#line 408 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp6_) {
-#line 3839 "Dialogs.c"
+#line 3804 "Dialogs.c"
GtkComboBoxText* _tmp7_ = NULL;
GtkComboBoxText* _tmp8_ = NULL;
GtkComboBoxText* _tmp9_ = NULL;
@@ -3870,7 +3835,7 @@ static void export_dialog_on_format_changed (ExportDialog* self) {
_tmp12_ = self->priv->export_metadata;
#line 418 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, gtk_widget_get_type (), GtkWidget), FALSE);
-#line 3870 "Dialogs.c"
+#line 3835 "Dialogs.c"
} else {
GtkComboBoxText* _tmp13_ = NULL;
gchar* _tmp14_ = NULL;
@@ -3888,7 +3853,7 @@ static void export_dialog_on_format_changed (ExportDialog* self) {
_g_free0 (_tmp15_);
#line 419 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp16_) {
-#line 3888 "Dialogs.c"
+#line 3853 "Dialogs.c"
GtkComboBoxText* _tmp17_ = NULL;
GtkComboBoxText* _tmp18_ = NULL;
GtkEntry* _tmp19_ = NULL;
@@ -3912,7 +3877,7 @@ static void export_dialog_on_format_changed (ExportDialog* self) {
_tmp21_ = self->priv->export_metadata;
#line 429 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp21_, gtk_widget_get_type (), GtkWidget), TRUE);
-#line 3912 "Dialogs.c"
+#line 3877 "Dialogs.c"
} else {
GtkComboBoxText* _tmp22_ = NULL;
gboolean jpeg = FALSE;
@@ -3933,17 +3898,17 @@ static void export_dialog_on_format_changed (ExportDialog* self) {
_tmp25_ = original;
#line 436 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (!_tmp25_) {
-#line 3933 "Dialogs.c"
+#line 3898 "Dialogs.c"
gboolean _tmp26_ = FALSE;
#line 436 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp26_ = jpeg;
#line 436 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp24_ = _tmp26_;
-#line 3939 "Dialogs.c"
+#line 3904 "Dialogs.c"
} else {
#line 436 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp24_ = FALSE;
-#line 3943 "Dialogs.c"
+#line 3908 "Dialogs.c"
}
#line 436 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp27_ = self->priv->quality_combo;
@@ -3953,7 +3918,7 @@ static void export_dialog_on_format_changed (ExportDialog* self) {
_tmp28_ = self->priv->export_metadata;
#line 437 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp28_, gtk_widget_get_type (), GtkWidget), TRUE);
-#line 3953 "Dialogs.c"
+#line 3918 "Dialogs.c"
}
}
}
@@ -3964,7 +3929,7 @@ static void export_dialog_on_activate (ExportDialog* self) {
g_return_if_fail (IS_EXPORT_DIALOG (self));
#line 442 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_dialog_response (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), (gint) GTK_RESPONSE_OK);
-#line 3964 "Dialogs.c"
+#line 3929 "Dialogs.c"
}
@@ -3981,7 +3946,7 @@ static void export_dialog_on_pixels_changed (ExportDialog* self) {
_tmp2_ = gtk_entry_get_text_length (_tmp1_);
#line 446 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (((gint) _tmp2_) > 0) {
-#line 3981 "Dialogs.c"
+#line 3946 "Dialogs.c"
GtkEntry* _tmp3_ = NULL;
const gchar* _tmp4_ = NULL;
gint _tmp5_ = 0;
@@ -3993,17 +3958,17 @@ static void export_dialog_on_pixels_changed (ExportDialog* self) {
_tmp5_ = atoi (_tmp4_);
#line 446 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = _tmp5_ > 0;
-#line 3993 "Dialogs.c"
+#line 3958 "Dialogs.c"
} else {
#line 446 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = FALSE;
-#line 3997 "Dialogs.c"
+#line 3962 "Dialogs.c"
}
#line 446 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp6_ = self->priv->ok_button;
#line 446 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_widget_set_sensitive (_tmp6_, _tmp0_);
-#line 4003 "Dialogs.c"
+#line 3968 "Dialogs.c"
}
@@ -4011,17 +3976,17 @@ static gchar string_get (const gchar* self, glong index) {
gchar result = '\0';
glong _tmp0_ = 0L;
gchar _tmp1_ = '\0';
-#line 1086 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1086 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, '\0');
-#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = index;
-#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = ((gchar*) self)[_tmp0_];
-#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp1_;
-#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
-#line 4021 "Dialogs.c"
+#line 3986 "Dialogs.c"
}
@@ -4044,7 +4009,7 @@ static void export_dialog_on_pixels_insert_text (ExportDialog* self, const gchar
if (_tmp0_) {
#line 452 "/home/jens/Source/shotwell/src/Dialogs.vala"
return;
-#line 4044 "Dialogs.c"
+#line 4009 "Dialogs.c"
}
#line 454 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->in_insert = TRUE;
@@ -4052,7 +4017,7 @@ static void export_dialog_on_pixels_insert_text (ExportDialog* self, const gchar
_tmp1_ = length;
#line 456 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp1_ == -1) {
-#line 4052 "Dialogs.c"
+#line 4017 "Dialogs.c"
const gchar* _tmp2_ = NULL;
gint _tmp3_ = 0;
gint _tmp4_ = 0;
@@ -4064,25 +4029,25 @@ static void export_dialog_on_pixels_insert_text (ExportDialog* self, const gchar
_tmp4_ = _tmp3_;
#line 457 "/home/jens/Source/shotwell/src/Dialogs.vala"
length = (gint) _tmp4_;
-#line 4064 "Dialogs.c"
+#line 4029 "Dialogs.c"
}
#line 460 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp5_ = g_strdup ("");
#line 460 "/home/jens/Source/shotwell/src/Dialogs.vala"
new_text = _tmp5_;
-#line 4070 "Dialogs.c"
+#line 4035 "Dialogs.c"
{
gint ctr = 0;
#line 461 "/home/jens/Source/shotwell/src/Dialogs.vala"
ctr = 0;
-#line 4075 "Dialogs.c"
+#line 4040 "Dialogs.c"
{
gboolean _tmp6_ = FALSE;
#line 461 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp6_ = TRUE;
#line 461 "/home/jens/Source/shotwell/src/Dialogs.vala"
while (TRUE) {
-#line 4082 "Dialogs.c"
+#line 4047 "Dialogs.c"
gint _tmp8_ = 0;
gint _tmp9_ = 0;
const gchar* _tmp10_ = NULL;
@@ -4091,13 +4056,13 @@ static void export_dialog_on_pixels_insert_text (ExportDialog* self, const gchar
gboolean _tmp13_ = FALSE;
#line 461 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (!_tmp6_) {
-#line 4091 "Dialogs.c"
+#line 4056 "Dialogs.c"
gint _tmp7_ = 0;
#line 461 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp7_ = ctr;
#line 461 "/home/jens/Source/shotwell/src/Dialogs.vala"
ctr = _tmp7_ + 1;
-#line 4097 "Dialogs.c"
+#line 4062 "Dialogs.c"
}
#line 461 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp6_ = FALSE;
@@ -4109,7 +4074,7 @@ static void export_dialog_on_pixels_insert_text (ExportDialog* self, const gchar
if (!(_tmp8_ < _tmp9_)) {
#line 461 "/home/jens/Source/shotwell/src/Dialogs.vala"
break;
-#line 4109 "Dialogs.c"
+#line 4074 "Dialogs.c"
}
#line 462 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp10_ = text;
@@ -4121,7 +4086,7 @@ static void export_dialog_on_pixels_insert_text (ExportDialog* self, const gchar
_tmp13_ = g_ascii_isdigit (_tmp12_);
#line 462 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp13_) {
-#line 4121 "Dialogs.c"
+#line 4086 "Dialogs.c"
const gchar* _tmp14_ = NULL;
const gchar* _tmp15_ = NULL;
gint _tmp16_ = 0;
@@ -4149,7 +4114,7 @@ static void export_dialog_on_pixels_insert_text (ExportDialog* self, const gchar
new_text = _tmp20_;
#line 463 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (_tmp19_);
-#line 4149 "Dialogs.c"
+#line 4114 "Dialogs.c"
}
}
}
@@ -4162,7 +4127,7 @@ static void export_dialog_on_pixels_insert_text (ExportDialog* self, const gchar
_tmp23_ = _tmp22_;
#line 467 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp23_ > 0) {
-#line 4162 "Dialogs.c"
+#line 4127 "Dialogs.c"
GtkEntry* _tmp24_ = NULL;
const gchar* _tmp25_ = NULL;
const gchar* _tmp26_ = NULL;
@@ -4180,7 +4145,7 @@ static void export_dialog_on_pixels_insert_text (ExportDialog* self, const gchar
_tmp28_ = _tmp27_;
#line 468 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_editable_insert_text (G_TYPE_CHECK_INSTANCE_CAST (_tmp24_, GTK_TYPE_EDITABLE, GtkEditable), _tmp25_, (gint) _tmp28_, position);
-#line 4180 "Dialogs.c"
+#line 4145 "Dialogs.c"
}
#line 470 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp29_ = self->priv->pixels_entry;
@@ -4190,7 +4155,7 @@ static void export_dialog_on_pixels_insert_text (ExportDialog* self, const gchar
self->priv->in_insert = FALSE;
#line 449 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (new_text);
-#line 4190 "Dialogs.c"
+#line 4155 "Dialogs.c"
}
@@ -4208,7 +4173,7 @@ static void export_dialog_class_init (ExportDialogClass * klass) {
export_dialog_current_parameters = _tmp0_;
#line 155 "/home/jens/Source/shotwell/src/Dialogs.vala"
export_dialog_current_scale = EXPORT_DIALOG_DEFAULT_SCALE;
-#line 4208 "Dialogs.c"
+#line 4173 "Dialogs.c"
}
@@ -4229,7 +4194,7 @@ static void export_dialog_instance_init (ExportDialog * self) {
self->priv->format_options = _tmp1_;
#line 165 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->in_insert = FALSE;
-#line 4229 "Dialogs.c"
+#line 4194 "Dialogs.c"
}
@@ -4255,7 +4220,7 @@ static void export_dialog_finalize (GObject* obj) {
_g_object_unref0 (self->priv->ok_button);
#line 137 "/home/jens/Source/shotwell/src/Dialogs.vala"
G_OBJECT_CLASS (export_dialog_parent_class)->finalize (obj);
-#line 4255 "Dialogs.c"
+#line 4220 "Dialogs.c"
}
@@ -4297,25 +4262,25 @@ gchar* import_ui_generate_import_failure_list (GeeList* failed, gboolean show_de
result = NULL;
#line 484 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 4297 "Dialogs.c"
+#line 4262 "Dialogs.c"
}
#line 486 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp3_ = g_strdup ("");
#line 486 "/home/jens/Source/shotwell/src/Dialogs.vala"
list = _tmp3_;
-#line 4303 "Dialogs.c"
+#line 4268 "Dialogs.c"
{
gint ctr = 0;
#line 487 "/home/jens/Source/shotwell/src/Dialogs.vala"
ctr = 0;
-#line 4308 "Dialogs.c"
+#line 4273 "Dialogs.c"
{
gboolean _tmp4_ = FALSE;
#line 487 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp4_ = TRUE;
#line 487 "/home/jens/Source/shotwell/src/Dialogs.vala"
while (TRUE) {
-#line 4315 "Dialogs.c"
+#line 4280 "Dialogs.c"
gboolean _tmp6_ = FALSE;
gint _tmp7_ = 0;
const gchar* _tmp12_ = NULL;
@@ -4326,13 +4291,13 @@ gchar* import_ui_generate_import_failure_list (GeeList* failed, gboolean show_de
gchar* _tmp27_ = NULL;
#line 487 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (!_tmp4_) {
-#line 4326 "Dialogs.c"
+#line 4291 "Dialogs.c"
gint _tmp5_ = 0;
#line 487 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp5_ = ctr;
#line 487 "/home/jens/Source/shotwell/src/Dialogs.vala"
ctr = _tmp5_ + 1;
-#line 4332 "Dialogs.c"
+#line 4297 "Dialogs.c"
}
#line 487 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp4_ = FALSE;
@@ -4340,7 +4305,7 @@ gchar* import_ui_generate_import_failure_list (GeeList* failed, gboolean show_de
_tmp7_ = ctr;
#line 487 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp7_ < IMPORT_UI_REPORT_FAILURE_COUNT) {
-#line 4340 "Dialogs.c"
+#line 4305 "Dialogs.c"
gint _tmp8_ = 0;
GeeList* _tmp9_ = NULL;
gint _tmp10_ = 0;
@@ -4355,23 +4320,23 @@ gchar* import_ui_generate_import_failure_list (GeeList* failed, gboolean show_de
_tmp11_ = _tmp10_;
#line 487 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp6_ = _tmp8_ < _tmp11_;
-#line 4355 "Dialogs.c"
+#line 4320 "Dialogs.c"
} else {
#line 487 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp6_ = FALSE;
-#line 4359 "Dialogs.c"
+#line 4324 "Dialogs.c"
}
#line 487 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (!_tmp6_) {
#line 487 "/home/jens/Source/shotwell/src/Dialogs.vala"
break;
-#line 4365 "Dialogs.c"
+#line 4330 "Dialogs.c"
}
#line 488 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp13_ = show_dest_id;
#line 488 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp13_) {
-#line 4371 "Dialogs.c"
+#line 4336 "Dialogs.c"
GeeList* _tmp14_ = NULL;
gint _tmp15_ = 0;
gpointer _tmp16_ = NULL;
@@ -4391,7 +4356,7 @@ gchar* import_ui_generate_import_failure_list (GeeList* failed, gboolean show_de
_tmp12_ = _tmp18_;
#line 488 "/home/jens/Source/shotwell/src/Dialogs.vala"
_batch_import_result_unref0 (_tmp17_);
-#line 4391 "Dialogs.c"
+#line 4356 "Dialogs.c"
} else {
GeeList* _tmp19_ = NULL;
gint _tmp20_ = 0;
@@ -4412,7 +4377,7 @@ gchar* import_ui_generate_import_failure_list (GeeList* failed, gboolean show_de
_tmp12_ = _tmp23_;
#line 489 "/home/jens/Source/shotwell/src/Dialogs.vala"
_batch_import_result_unref0 (_tmp22_);
-#line 4412 "Dialogs.c"
+#line 4377 "Dialogs.c"
}
#line 488 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp24_ = list;
@@ -4428,7 +4393,7 @@ gchar* import_ui_generate_import_failure_list (GeeList* failed, gboolean show_de
list = _tmp27_;
#line 488 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (_tmp26_);
-#line 4428 "Dialogs.c"
+#line 4393 "Dialogs.c"
}
}
}
@@ -4444,7 +4409,7 @@ gchar* import_ui_generate_import_failure_list (GeeList* failed, gboolean show_de
_tmp31_ = remaining;
#line 493 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp31_ > 0) {
-#line 4444 "Dialogs.c"
+#line 4409 "Dialogs.c"
const gchar* _tmp32_ = NULL;
const gchar* _tmp33_ = NULL;
gint _tmp34_ = 0;
@@ -4469,13 +4434,13 @@ gchar* import_ui_generate_import_failure_list (GeeList* failed, gboolean show_de
list = _tmp37_;
#line 494 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (_tmp36_);
-#line 4469 "Dialogs.c"
+#line 4434 "Dialogs.c"
}
#line 496 "/home/jens/Source/shotwell/src/Dialogs.vala"
result = list;
#line 496 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 4475 "Dialogs.c"
+#line 4440 "Dialogs.c"
}
@@ -4521,21 +4486,21 @@ ImportUIQuestionParams* import_ui_question_params_construct (GType object_type,
self->no_button = _tmp5_;
#line 504 "/home/jens/Source/shotwell/src/Dialogs.vala"
return self;
-#line 4521 "Dialogs.c"
+#line 4486 "Dialogs.c"
}
ImportUIQuestionParams* import_ui_question_params_new (const gchar* question, const gchar* yes_button, const gchar* no_button) {
#line 504 "/home/jens/Source/shotwell/src/Dialogs.vala"
return import_ui_question_params_construct (IMPORT_UI_TYPE_QUESTION_PARAMS, question, yes_button, no_button);
-#line 4528 "Dialogs.c"
+#line 4493 "Dialogs.c"
}
static void import_ui_value_question_params_init (GValue* value) {
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
value->data[0].v_pointer = NULL;
-#line 4535 "Dialogs.c"
+#line 4500 "Dialogs.c"
}
@@ -4544,7 +4509,7 @@ static void import_ui_value_question_params_free_value (GValue* value) {
if (value->data[0].v_pointer) {
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
import_ui_question_params_unref (value->data[0].v_pointer);
-#line 4544 "Dialogs.c"
+#line 4509 "Dialogs.c"
}
}
@@ -4554,11 +4519,11 @@ static void import_ui_value_question_params_copy_value (const GValue* src_value,
if (src_value->data[0].v_pointer) {
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
dest_value->data[0].v_pointer = import_ui_question_params_ref (src_value->data[0].v_pointer);
-#line 4554 "Dialogs.c"
+#line 4519 "Dialogs.c"
} else {
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
dest_value->data[0].v_pointer = NULL;
-#line 4558 "Dialogs.c"
+#line 4523 "Dialogs.c"
}
}
@@ -4566,37 +4531,37 @@ static void import_ui_value_question_params_copy_value (const GValue* src_value,
static gpointer import_ui_value_question_params_peek_pointer (const GValue* value) {
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
return value->data[0].v_pointer;
-#line 4566 "Dialogs.c"
+#line 4531 "Dialogs.c"
}
static gchar* import_ui_value_question_params_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (collect_values[0].v_pointer) {
-#line 4573 "Dialogs.c"
+#line 4538 "Dialogs.c"
ImportUIQuestionParams* object;
object = collect_values[0].v_pointer;
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (object->parent_instance.g_class == NULL) {
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 4580 "Dialogs.c"
+#line 4545 "Dialogs.c"
} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
#line 499 "/home/jens/Source/shotwell/src/Dialogs.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 4584 "Dialogs.c"
+#line 4549 "Dialogs.c"
}
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
value->data[0].v_pointer = import_ui_question_params_ref (object);
-#line 4588 "Dialogs.c"
+#line 4553 "Dialogs.c"
} else {
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
value->data[0].v_pointer = NULL;
-#line 4592 "Dialogs.c"
+#line 4557 "Dialogs.c"
}
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
return NULL;
-#line 4596 "Dialogs.c"
+#line 4561 "Dialogs.c"
}
@@ -4607,25 +4572,25 @@ static gchar* import_ui_value_question_params_lcopy_value (const GValue* value,
if (!object_p) {
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
-#line 4607 "Dialogs.c"
+#line 4572 "Dialogs.c"
}
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (!value->data[0].v_pointer) {
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
*object_p = NULL;
-#line 4613 "Dialogs.c"
+#line 4578 "Dialogs.c"
} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
*object_p = value->data[0].v_pointer;
-#line 4617 "Dialogs.c"
+#line 4582 "Dialogs.c"
} else {
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
*object_p = import_ui_question_params_ref (value->data[0].v_pointer);
-#line 4621 "Dialogs.c"
+#line 4586 "Dialogs.c"
}
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
return NULL;
-#line 4625 "Dialogs.c"
+#line 4590 "Dialogs.c"
}
@@ -4639,7 +4604,7 @@ GParamSpec* import_ui_param_spec_question_params (const gchar* name, const gchar
G_PARAM_SPEC (spec)->value_type = object_type;
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
return G_PARAM_SPEC (spec);
-#line 4639 "Dialogs.c"
+#line 4604 "Dialogs.c"
}
@@ -4648,7 +4613,7 @@ gpointer import_ui_value_get_question_params (const GValue* value) {
g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, IMPORT_UI_TYPE_QUESTION_PARAMS), NULL);
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
return value->data[0].v_pointer;
-#line 4648 "Dialogs.c"
+#line 4613 "Dialogs.c"
}
@@ -4668,17 +4633,17 @@ void import_ui_value_set_question_params (GValue* value, gpointer v_object) {
value->data[0].v_pointer = v_object;
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
import_ui_question_params_ref (value->data[0].v_pointer);
-#line 4668 "Dialogs.c"
+#line 4633 "Dialogs.c"
} else {
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
value->data[0].v_pointer = NULL;
-#line 4672 "Dialogs.c"
+#line 4637 "Dialogs.c"
}
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (old) {
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
import_ui_question_params_unref (old);
-#line 4678 "Dialogs.c"
+#line 4643 "Dialogs.c"
}
}
@@ -4697,17 +4662,17 @@ void import_ui_value_take_question_params (GValue* value, gpointer v_object) {
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
value->data[0].v_pointer = v_object;
-#line 4697 "Dialogs.c"
+#line 4662 "Dialogs.c"
} else {
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
value->data[0].v_pointer = NULL;
-#line 4701 "Dialogs.c"
+#line 4666 "Dialogs.c"
}
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (old) {
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
import_ui_question_params_unref (old);
-#line 4707 "Dialogs.c"
+#line 4672 "Dialogs.c"
}
}
@@ -4717,14 +4682,14 @@ static void import_ui_question_params_class_init (ImportUIQuestionParamsClass *
import_ui_question_params_parent_class = g_type_class_peek_parent (klass);
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
((ImportUIQuestionParamsClass *) klass)->finalize = import_ui_question_params_finalize;
-#line 4717 "Dialogs.c"
+#line 4682 "Dialogs.c"
}
static void import_ui_question_params_instance_init (ImportUIQuestionParams * self) {
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->ref_count = 1;
-#line 4724 "Dialogs.c"
+#line 4689 "Dialogs.c"
}
@@ -4740,7 +4705,7 @@ static void import_ui_question_params_finalize (ImportUIQuestionParams* obj) {
_g_free0 (self->yes_button);
#line 502 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (self->no_button);
-#line 4740 "Dialogs.c"
+#line 4705 "Dialogs.c"
}
@@ -4765,7 +4730,7 @@ gpointer import_ui_question_params_ref (gpointer instance) {
g_atomic_int_inc (&self->ref_count);
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
return instance;
-#line 4765 "Dialogs.c"
+#line 4730 "Dialogs.c"
}
@@ -4778,7 +4743,7 @@ void import_ui_question_params_unref (gpointer instance) {
IMPORT_UI_QUESTION_PARAMS_GET_CLASS (self)->finalize (self);
#line 499 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_type_free_instance ((GTypeInstance *) self);
-#line 4778 "Dialogs.c"
+#line 4743 "Dialogs.c"
}
}
@@ -4787,7 +4752,7 @@ gboolean import_ui_import_has_photos (GeeCollection* import_collection) {
gboolean result = FALSE;
#line 511 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_val_if_fail (GEE_IS_COLLECTION (import_collection), FALSE);
-#line 4787 "Dialogs.c"
+#line 4752 "Dialogs.c"
{
GeeIterator* _current_result_it = NULL;
GeeCollection* _tmp0_ = NULL;
@@ -4800,7 +4765,7 @@ gboolean import_ui_import_has_photos (GeeCollection* import_collection) {
_current_result_it = _tmp1_;
#line 512 "/home/jens/Source/shotwell/src/Dialogs.vala"
while (TRUE) {
-#line 4800 "Dialogs.c"
+#line 4765 "Dialogs.c"
GeeIterator* _tmp2_ = NULL;
gboolean _tmp3_ = FALSE;
BatchImportResult* current_result = NULL;
@@ -4817,7 +4782,7 @@ gboolean import_ui_import_has_photos (GeeCollection* import_collection) {
if (!_tmp3_) {
#line 512 "/home/jens/Source/shotwell/src/Dialogs.vala"
break;
-#line 4817 "Dialogs.c"
+#line 4782 "Dialogs.c"
}
#line 512 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp4_ = _current_result_it;
@@ -4831,7 +4796,7 @@ gboolean import_ui_import_has_photos (GeeCollection* import_collection) {
_tmp8_ = _tmp7_->file;
#line 513 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp8_ != NULL) {
-#line 4831 "Dialogs.c"
+#line 4796 "Dialogs.c"
BatchImportResult* _tmp9_ = NULL;
GFile* _tmp10_ = NULL;
PhotoFileFormat _tmp11_ = 0;
@@ -4843,11 +4808,11 @@ gboolean import_ui_import_has_photos (GeeCollection* import_collection) {
_tmp11_ = photo_file_format_get_by_file_extension (_tmp10_);
#line 514 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp6_ = _tmp11_ != PHOTO_FILE_FORMAT_UNKNOWN;
-#line 4843 "Dialogs.c"
+#line 4808 "Dialogs.c"
} else {
#line 513 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp6_ = FALSE;
-#line 4847 "Dialogs.c"
+#line 4812 "Dialogs.c"
}
#line 513 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp6_) {
@@ -4859,21 +4824,21 @@ gboolean import_ui_import_has_photos (GeeCollection* import_collection) {
_g_object_unref0 (_current_result_it);
#line 515 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 4859 "Dialogs.c"
+#line 4824 "Dialogs.c"
}
#line 512 "/home/jens/Source/shotwell/src/Dialogs.vala"
_batch_import_result_unref0 (current_result);
-#line 4863 "Dialogs.c"
+#line 4828 "Dialogs.c"
}
#line 512 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_current_result_it);
-#line 4867 "Dialogs.c"
+#line 4832 "Dialogs.c"
}
#line 518 "/home/jens/Source/shotwell/src/Dialogs.vala"
result = FALSE;
#line 518 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 4873 "Dialogs.c"
+#line 4838 "Dialogs.c"
}
@@ -4881,7 +4846,7 @@ gboolean import_ui_import_has_videos (GeeCollection* import_collection) {
gboolean result = FALSE;
#line 521 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_val_if_fail (GEE_IS_COLLECTION (import_collection), FALSE);
-#line 4881 "Dialogs.c"
+#line 4846 "Dialogs.c"
{
GeeIterator* _current_result_it = NULL;
GeeCollection* _tmp0_ = NULL;
@@ -4894,7 +4859,7 @@ gboolean import_ui_import_has_videos (GeeCollection* import_collection) {
_current_result_it = _tmp1_;
#line 522 "/home/jens/Source/shotwell/src/Dialogs.vala"
while (TRUE) {
-#line 4894 "Dialogs.c"
+#line 4859 "Dialogs.c"
GeeIterator* _tmp2_ = NULL;
gboolean _tmp3_ = FALSE;
BatchImportResult* current_result = NULL;
@@ -4911,7 +4876,7 @@ gboolean import_ui_import_has_videos (GeeCollection* import_collection) {
if (!_tmp3_) {
#line 522 "/home/jens/Source/shotwell/src/Dialogs.vala"
break;
-#line 4911 "Dialogs.c"
+#line 4876 "Dialogs.c"
}
#line 522 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp4_ = _current_result_it;
@@ -4925,7 +4890,7 @@ gboolean import_ui_import_has_videos (GeeCollection* import_collection) {
_tmp8_ = _tmp7_->file;
#line 523 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp8_ != NULL) {
-#line 4925 "Dialogs.c"
+#line 4890 "Dialogs.c"
BatchImportResult* _tmp9_ = NULL;
GFile* _tmp10_ = NULL;
gboolean _tmp11_ = FALSE;
@@ -4937,11 +4902,11 @@ gboolean import_ui_import_has_videos (GeeCollection* import_collection) {
_tmp11_ = video_reader_is_supported_video_file (_tmp10_);
#line 523 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp6_ = _tmp11_;
-#line 4937 "Dialogs.c"
+#line 4902 "Dialogs.c"
} else {
#line 523 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp6_ = FALSE;
-#line 4941 "Dialogs.c"
+#line 4906 "Dialogs.c"
}
#line 523 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp6_) {
@@ -4953,21 +4918,21 @@ gboolean import_ui_import_has_videos (GeeCollection* import_collection) {
_g_object_unref0 (_current_result_it);
#line 524 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 4953 "Dialogs.c"
+#line 4918 "Dialogs.c"
}
#line 522 "/home/jens/Source/shotwell/src/Dialogs.vala"
_batch_import_result_unref0 (current_result);
-#line 4957 "Dialogs.c"
+#line 4922 "Dialogs.c"
}
#line 522 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_current_result_it);
-#line 4961 "Dialogs.c"
+#line 4926 "Dialogs.c"
}
#line 526 "/home/jens/Source/shotwell/src/Dialogs.vala"
result = FALSE;
#line 526 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 4967 "Dialogs.c"
+#line 4932 "Dialogs.c"
}
@@ -5007,21 +4972,21 @@ gchar* import_ui_get_media_specific_string (GeeCollection* import_collection, co
_tmp5_ = has_photos;
#line 534 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp5_) {
-#line 5007 "Dialogs.c"
+#line 4972 "Dialogs.c"
gboolean _tmp6_ = FALSE;
#line 534 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp6_ = has_videos;
#line 534 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp4_ = _tmp6_;
-#line 5013 "Dialogs.c"
+#line 4978 "Dialogs.c"
} else {
#line 534 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp4_ = FALSE;
-#line 5017 "Dialogs.c"
+#line 4982 "Dialogs.c"
}
#line 534 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp4_) {
-#line 5021 "Dialogs.c"
+#line 4986 "Dialogs.c"
const gchar* _tmp7_ = NULL;
gchar* _tmp8_ = NULL;
#line 535 "/home/jens/Source/shotwell/src/Dialogs.vala"
@@ -5032,14 +4997,14 @@ gchar* import_ui_get_media_specific_string (GeeCollection* import_collection, co
result = _tmp8_;
#line 535 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 5032 "Dialogs.c"
+#line 4997 "Dialogs.c"
} else {
gboolean _tmp9_ = FALSE;
#line 536 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp9_ = has_photos;
#line 536 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp9_) {
-#line 5039 "Dialogs.c"
+#line 5004 "Dialogs.c"
const gchar* _tmp10_ = NULL;
gchar* _tmp11_ = NULL;
#line 537 "/home/jens/Source/shotwell/src/Dialogs.vala"
@@ -5050,14 +5015,14 @@ gchar* import_ui_get_media_specific_string (GeeCollection* import_collection, co
result = _tmp11_;
#line 537 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 5050 "Dialogs.c"
+#line 5015 "Dialogs.c"
} else {
gboolean _tmp12_ = FALSE;
#line 538 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp12_ = has_videos;
#line 538 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp12_) {
-#line 5057 "Dialogs.c"
+#line 5022 "Dialogs.c"
const gchar* _tmp13_ = NULL;
gchar* _tmp14_ = NULL;
#line 539 "/home/jens/Source/shotwell/src/Dialogs.vala"
@@ -5068,7 +5033,7 @@ gchar* import_ui_get_media_specific_string (GeeCollection* import_collection, co
result = _tmp14_;
#line 539 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 5068 "Dialogs.c"
+#line 5033 "Dialogs.c"
} else {
const gchar* _tmp15_ = NULL;
gchar* _tmp16_ = NULL;
@@ -5080,7 +5045,7 @@ gchar* import_ui_get_media_specific_string (GeeCollection* import_collection, co
result = _tmp16_;
#line 541 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 5080 "Dialogs.c"
+#line 5045 "Dialogs.c"
}
}
}
@@ -5313,7 +5278,7 @@ gchar* import_ui_create_result_report_from_manifest (ImportManifest* manifest) {
_tmp50_ = _tmp49_;
#line 565 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp50_ > 0) {
-#line 5313 "Dialogs.c"
+#line 5278 "Dialogs.c"
GString* _tmp51_ = NULL;
const gchar* _tmp52_ = NULL;
gchar* _tmp53_ = NULL;
@@ -5330,7 +5295,7 @@ gchar* import_ui_create_result_report_from_manifest (ImportManifest* manifest) {
g_string_append (_tmp51_, _tmp54_);
#line 566 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (_tmp54_);
-#line 5330 "Dialogs.c"
+#line 5295 "Dialogs.c"
{
GeeList* _result_list = NULL;
ImportManifest* _tmp55_ = NULL;
@@ -5361,7 +5326,7 @@ gchar* import_ui_create_result_report_from_manifest (ImportManifest* manifest) {
_result_index = -1;
#line 568 "/home/jens/Source/shotwell/src/Dialogs.vala"
while (TRUE) {
-#line 5361 "Dialogs.c"
+#line 5326 "Dialogs.c"
gint _tmp61_ = 0;
gint _tmp62_ = 0;
gint _tmp63_ = 0;
@@ -5401,7 +5366,7 @@ gchar* import_ui_create_result_report_from_manifest (ImportManifest* manifest) {
if (!(_tmp62_ < _tmp63_)) {
#line 568 "/home/jens/Source/shotwell/src/Dialogs.vala"
break;
-#line 5401 "Dialogs.c"
+#line 5366 "Dialogs.c"
}
#line 568 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp64_ = _result_list;
@@ -5471,11 +5436,11 @@ gchar* import_ui_create_result_report_from_manifest (ImportManifest* manifest) {
g_string_append (_tmp85_, _tmp86_);
#line 568 "/home/jens/Source/shotwell/src/Dialogs.vala"
_batch_import_result_unref0 (_result_);
-#line 5471 "Dialogs.c"
+#line 5436 "Dialogs.c"
}
#line 568 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_result_list);
-#line 5475 "Dialogs.c"
+#line 5440 "Dialogs.c"
}
}
#line 580 "/home/jens/Source/shotwell/src/Dialogs.vala"
@@ -5488,7 +5453,7 @@ gchar* import_ui_create_result_report_from_manifest (ImportManifest* manifest) {
_tmp90_ = _tmp89_;
#line 580 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp90_ > 0) {
-#line 5488 "Dialogs.c"
+#line 5453 "Dialogs.c"
GString* _tmp91_ = NULL;
const gchar* _tmp92_ = NULL;
gchar* _tmp93_ = NULL;
@@ -5505,7 +5470,7 @@ gchar* import_ui_create_result_report_from_manifest (ImportManifest* manifest) {
g_string_append (_tmp91_, _tmp94_);
#line 581 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (_tmp94_);
-#line 5505 "Dialogs.c"
+#line 5470 "Dialogs.c"
{
GeeList* _result_list = NULL;
ImportManifest* _tmp95_ = NULL;
@@ -5536,7 +5501,7 @@ gchar* import_ui_create_result_report_from_manifest (ImportManifest* manifest) {
_result_index = -1;
#line 583 "/home/jens/Source/shotwell/src/Dialogs.vala"
while (TRUE) {
-#line 5536 "Dialogs.c"
+#line 5501 "Dialogs.c"
gint _tmp101_ = 0;
gint _tmp102_ = 0;
gint _tmp103_ = 0;
@@ -5572,7 +5537,7 @@ gchar* import_ui_create_result_report_from_manifest (ImportManifest* manifest) {
if (!(_tmp102_ < _tmp103_)) {
#line 583 "/home/jens/Source/shotwell/src/Dialogs.vala"
break;
-#line 5572 "Dialogs.c"
+#line 5537 "Dialogs.c"
}
#line 583 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp104_ = _result_list;
@@ -5630,11 +5595,11 @@ gchar* import_ui_create_result_report_from_manifest (ImportManifest* manifest) {
g_string_append (_tmp121_, _tmp122_);
#line 583 "/home/jens/Source/shotwell/src/Dialogs.vala"
_batch_import_result_unref0 (_result_);
-#line 5630 "Dialogs.c"
+#line 5595 "Dialogs.c"
}
#line 583 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_result_list);
-#line 5634 "Dialogs.c"
+#line 5599 "Dialogs.c"
}
}
#line 594 "/home/jens/Source/shotwell/src/Dialogs.vala"
@@ -5647,7 +5612,7 @@ gchar* import_ui_create_result_report_from_manifest (ImportManifest* manifest) {
_tmp126_ = _tmp125_;
#line 594 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp126_ > 0) {
-#line 5647 "Dialogs.c"
+#line 5612 "Dialogs.c"
GString* _tmp127_ = NULL;
const gchar* _tmp128_ = NULL;
gchar* _tmp129_ = NULL;
@@ -5665,7 +5630,7 @@ gchar* import_ui_create_result_report_from_manifest (ImportManifest* manifest) {
g_string_append (_tmp127_, _tmp130_);
#line 595 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (_tmp130_);
-#line 5664 "Dialogs.c"
+#line 5629 "Dialogs.c"
{
GeeList* _result_list = NULL;
ImportManifest* _tmp131_ = NULL;
@@ -5696,7 +5661,7 @@ gchar* import_ui_create_result_report_from_manifest (ImportManifest* manifest) {
_result_index = -1;
#line 598 "/home/jens/Source/shotwell/src/Dialogs.vala"
while (TRUE) {
-#line 5695 "Dialogs.c"
+#line 5660 "Dialogs.c"
gint _tmp137_ = 0;
gint _tmp138_ = 0;
gint _tmp139_ = 0;
@@ -5732,7 +5697,7 @@ gchar* import_ui_create_result_report_from_manifest (ImportManifest* manifest) {
if (!(_tmp138_ < _tmp139_)) {
#line 598 "/home/jens/Source/shotwell/src/Dialogs.vala"
break;
-#line 5731 "Dialogs.c"
+#line 5696 "Dialogs.c"
}
#line 598 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp140_ = _result_list;
@@ -5790,11 +5755,11 @@ gchar* import_ui_create_result_report_from_manifest (ImportManifest* manifest) {
g_string_append (_tmp157_, _tmp158_);
#line 598 "/home/jens/Source/shotwell/src/Dialogs.vala"
_batch_import_result_unref0 (_result_);
-#line 5789 "Dialogs.c"
+#line 5754 "Dialogs.c"
}
#line 598 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_result_list);
-#line 5793 "Dialogs.c"
+#line 5758 "Dialogs.c"
}
}
#line 609 "/home/jens/Source/shotwell/src/Dialogs.vala"
@@ -5807,7 +5772,7 @@ gchar* import_ui_create_result_report_from_manifest (ImportManifest* manifest) {
_tmp162_ = _tmp161_;
#line 609 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp162_ > 0) {
-#line 5806 "Dialogs.c"
+#line 5771 "Dialogs.c"
GString* _tmp163_ = NULL;
const gchar* _tmp164_ = NULL;
gchar* _tmp165_ = NULL;
@@ -5825,7 +5790,7 @@ gchar* import_ui_create_result_report_from_manifest (ImportManifest* manifest) {
g_string_append (_tmp163_, _tmp166_);
#line 610 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (_tmp166_);
-#line 5823 "Dialogs.c"
+#line 5788 "Dialogs.c"
{
GeeList* _result_list = NULL;
ImportManifest* _tmp167_ = NULL;
@@ -5856,7 +5821,7 @@ gchar* import_ui_create_result_report_from_manifest (ImportManifest* manifest) {
_result_index = -1;
#line 613 "/home/jens/Source/shotwell/src/Dialogs.vala"
while (TRUE) {
-#line 5854 "Dialogs.c"
+#line 5819 "Dialogs.c"
gint _tmp173_ = 0;
gint _tmp174_ = 0;
gint _tmp175_ = 0;
@@ -5892,7 +5857,7 @@ gchar* import_ui_create_result_report_from_manifest (ImportManifest* manifest) {
if (!(_tmp174_ < _tmp175_)) {
#line 613 "/home/jens/Source/shotwell/src/Dialogs.vala"
break;
-#line 5890 "Dialogs.c"
+#line 5855 "Dialogs.c"
}
#line 613 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp176_ = _result_list;
@@ -5950,11 +5915,11 @@ gchar* import_ui_create_result_report_from_manifest (ImportManifest* manifest) {
g_string_append (_tmp193_, _tmp194_);
#line 613 "/home/jens/Source/shotwell/src/Dialogs.vala"
_batch_import_result_unref0 (_result_);
-#line 5948 "Dialogs.c"
+#line 5913 "Dialogs.c"
}
#line 613 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_result_list);
-#line 5952 "Dialogs.c"
+#line 5917 "Dialogs.c"
}
}
#line 624 "/home/jens/Source/shotwell/src/Dialogs.vala"
@@ -5967,7 +5932,7 @@ gchar* import_ui_create_result_report_from_manifest (ImportManifest* manifest) {
_tmp198_ = _tmp197_;
#line 624 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp198_ > 0) {
-#line 5965 "Dialogs.c"
+#line 5930 "Dialogs.c"
GString* _tmp199_ = NULL;
const gchar* _tmp200_ = NULL;
gchar* _tmp201_ = NULL;
@@ -5985,7 +5950,7 @@ gchar* import_ui_create_result_report_from_manifest (ImportManifest* manifest) {
g_string_append (_tmp199_, _tmp202_);
#line 625 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (_tmp202_);
-#line 5982 "Dialogs.c"
+#line 5947 "Dialogs.c"
{
GeeList* _result_list = NULL;
ImportManifest* _tmp203_ = NULL;
@@ -6016,7 +5981,7 @@ gchar* import_ui_create_result_report_from_manifest (ImportManifest* manifest) {
_result_index = -1;
#line 628 "/home/jens/Source/shotwell/src/Dialogs.vala"
while (TRUE) {
-#line 6013 "Dialogs.c"
+#line 5978 "Dialogs.c"
gint _tmp209_ = 0;
gint _tmp210_ = 0;
gint _tmp211_ = 0;
@@ -6057,7 +6022,7 @@ gchar* import_ui_create_result_report_from_manifest (ImportManifest* manifest) {
if (!(_tmp210_ < _tmp211_)) {
#line 628 "/home/jens/Source/shotwell/src/Dialogs.vala"
break;
-#line 6054 "Dialogs.c"
+#line 6019 "Dialogs.c"
}
#line 628 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp212_ = _result_list;
@@ -6127,11 +6092,11 @@ gchar* import_ui_create_result_report_from_manifest (ImportManifest* manifest) {
g_string_append (_tmp234_, _tmp235_);
#line 628 "/home/jens/Source/shotwell/src/Dialogs.vala"
_batch_import_result_unref0 (_result_);
-#line 6124 "Dialogs.c"
+#line 6089 "Dialogs.c"
}
#line 628 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_result_list);
-#line 6128 "Dialogs.c"
+#line 6093 "Dialogs.c"
}
}
#line 640 "/home/jens/Source/shotwell/src/Dialogs.vala"
@@ -6144,7 +6109,7 @@ gchar* import_ui_create_result_report_from_manifest (ImportManifest* manifest) {
_tmp239_ = _tmp238_;
#line 640 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp239_ > 0) {
-#line 6141 "Dialogs.c"
+#line 6106 "Dialogs.c"
GString* _tmp240_ = NULL;
const gchar* _tmp241_ = NULL;
gchar* _tmp242_ = NULL;
@@ -6161,7 +6126,7 @@ gchar* import_ui_create_result_report_from_manifest (ImportManifest* manifest) {
g_string_append (_tmp240_, _tmp243_);
#line 641 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (_tmp243_);
-#line 6158 "Dialogs.c"
+#line 6123 "Dialogs.c"
{
GeeList* _result_list = NULL;
ImportManifest* _tmp244_ = NULL;
@@ -6192,7 +6157,7 @@ gchar* import_ui_create_result_report_from_manifest (ImportManifest* manifest) {
_result_index = -1;
#line 644 "/home/jens/Source/shotwell/src/Dialogs.vala"
while (TRUE) {
-#line 6189 "Dialogs.c"
+#line 6154 "Dialogs.c"
gint _tmp250_ = 0;
gint _tmp251_ = 0;
gint _tmp252_ = 0;
@@ -6228,7 +6193,7 @@ gchar* import_ui_create_result_report_from_manifest (ImportManifest* manifest) {
if (!(_tmp251_ < _tmp252_)) {
#line 644 "/home/jens/Source/shotwell/src/Dialogs.vala"
break;
-#line 6225 "Dialogs.c"
+#line 6190 "Dialogs.c"
}
#line 644 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp253_ = _result_list;
@@ -6286,11 +6251,11 @@ gchar* import_ui_create_result_report_from_manifest (ImportManifest* manifest) {
g_string_append (_tmp270_, _tmp271_);
#line 644 "/home/jens/Source/shotwell/src/Dialogs.vala"
_batch_import_result_unref0 (_result_);
-#line 6283 "Dialogs.c"
+#line 6248 "Dialogs.c"
}
#line 644 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_result_list);
-#line 6287 "Dialogs.c"
+#line 6252 "Dialogs.c"
}
}
#line 655 "/home/jens/Source/shotwell/src/Dialogs.vala"
@@ -6303,7 +6268,7 @@ gchar* import_ui_create_result_report_from_manifest (ImportManifest* manifest) {
_tmp275_ = _tmp274_;
#line 655 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp275_ > 0) {
-#line 6300 "Dialogs.c"
+#line 6265 "Dialogs.c"
GString* _tmp276_ = NULL;
const gchar* _tmp277_ = NULL;
gchar* _tmp278_ = NULL;
@@ -6320,7 +6285,7 @@ gchar* import_ui_create_result_report_from_manifest (ImportManifest* manifest) {
g_string_append (_tmp276_, _tmp279_);
#line 656 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (_tmp279_);
-#line 6317 "Dialogs.c"
+#line 6282 "Dialogs.c"
{
GeeList* _result_list = NULL;
ImportManifest* _tmp280_ = NULL;
@@ -6351,7 +6316,7 @@ gchar* import_ui_create_result_report_from_manifest (ImportManifest* manifest) {
_result_index = -1;
#line 658 "/home/jens/Source/shotwell/src/Dialogs.vala"
while (TRUE) {
-#line 6348 "Dialogs.c"
+#line 6313 "Dialogs.c"
gint _tmp286_ = 0;
gint _tmp287_ = 0;
gint _tmp288_ = 0;
@@ -6387,7 +6352,7 @@ gchar* import_ui_create_result_report_from_manifest (ImportManifest* manifest) {
if (!(_tmp287_ < _tmp288_)) {
#line 658 "/home/jens/Source/shotwell/src/Dialogs.vala"
break;
-#line 6384 "Dialogs.c"
+#line 6349 "Dialogs.c"
}
#line 658 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp289_ = _result_list;
@@ -6445,11 +6410,11 @@ gchar* import_ui_create_result_report_from_manifest (ImportManifest* manifest) {
g_string_append (_tmp306_, _tmp307_);
#line 658 "/home/jens/Source/shotwell/src/Dialogs.vala"
_batch_import_result_unref0 (_result_);
-#line 6442 "Dialogs.c"
+#line 6407 "Dialogs.c"
}
#line 658 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_result_list);
-#line 6446 "Dialogs.c"
+#line 6411 "Dialogs.c"
}
}
#line 666 "/home/jens/Source/shotwell/src/Dialogs.vala"
@@ -6470,7 +6435,7 @@ gchar* import_ui_create_result_report_from_manifest (ImportManifest* manifest) {
_g_string_free0 (builder);
#line 666 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 6467 "Dialogs.c"
+#line 6432 "Dialogs.c"
}
@@ -6579,7 +6544,7 @@ gboolean import_ui_report_manifest (ImportManifest* manifest, gboolean show_dest
_tmp4_ = _tmp3_;
#line 675 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp4_ > 0) {
-#line 6576 "Dialogs.c"
+#line 6541 "Dialogs.c"
gchar* photos_message = NULL;
ImportManifest* _tmp5_ = NULL;
GeeList* _tmp6_ = NULL;
@@ -6748,7 +6713,7 @@ gboolean import_ui_report_manifest (ImportManifest* manifest, gboolean show_dest
_g_free0 (videos_message);
#line 675 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (photos_message);
-#line 6745 "Dialogs.c"
+#line 6710 "Dialogs.c"
}
#line 692 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp52_ = manifest;
@@ -6760,7 +6725,7 @@ gboolean import_ui_report_manifest (ImportManifest* manifest, gboolean show_dest
_tmp55_ = _tmp54_;
#line 692 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp55_ > 0) {
-#line 6757 "Dialogs.c"
+#line 6722 "Dialogs.c"
const gchar* _tmp56_ = NULL;
gint _tmp57_ = 0;
gint _tmp58_ = 0;
@@ -6833,7 +6798,7 @@ gboolean import_ui_report_manifest (ImportManifest* manifest, gboolean show_dest
_tmp58_ = _tmp57_;
#line 693 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp58_ > 0) {
-#line 6830 "Dialogs.c"
+#line 6795 "Dialogs.c"
const gchar* _tmp59_ = NULL;
gchar* _tmp60_ = NULL;
#line 694 "/home/jens/Source/shotwell/src/Dialogs.vala"
@@ -6844,7 +6809,7 @@ gboolean import_ui_report_manifest (ImportManifest* manifest, gboolean show_dest
_g_free0 (message);
#line 694 "/home/jens/Source/shotwell/src/Dialogs.vala"
message = _tmp60_;
-#line 6841 "Dialogs.c"
+#line 6806 "Dialogs.c"
}
#line 696 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp61_ = manifest;
@@ -6988,7 +6953,7 @@ gboolean import_ui_report_manifest (ImportManifest* manifest, gboolean show_dest
_g_free0 (videos_message);
#line 692 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (photos_message);
-#line 6985 "Dialogs.c"
+#line 6950 "Dialogs.c"
}
#line 715 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp118_ = manifest;
@@ -7000,7 +6965,7 @@ gboolean import_ui_report_manifest (ImportManifest* manifest, gboolean show_dest
_tmp121_ = _tmp120_;
#line 715 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp121_ > 0) {
-#line 6997 "Dialogs.c"
+#line 6962 "Dialogs.c"
const gchar* _tmp122_ = NULL;
gint _tmp123_ = 0;
gint _tmp124_ = 0;
@@ -7073,7 +7038,7 @@ gboolean import_ui_report_manifest (ImportManifest* manifest, gboolean show_dest
_tmp124_ = _tmp123_;
#line 716 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp124_ > 0) {
-#line 7070 "Dialogs.c"
+#line 7035 "Dialogs.c"
const gchar* _tmp125_ = NULL;
gchar* _tmp126_ = NULL;
#line 717 "/home/jens/Source/shotwell/src/Dialogs.vala"
@@ -7084,7 +7049,7 @@ gboolean import_ui_report_manifest (ImportManifest* manifest, gboolean show_dest
_g_free0 (message);
#line 717 "/home/jens/Source/shotwell/src/Dialogs.vala"
message = _tmp126_;
-#line 7081 "Dialogs.c"
+#line 7046 "Dialogs.c"
}
#line 719 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp127_ = manifest;
@@ -7236,7 +7201,7 @@ gboolean import_ui_report_manifest (ImportManifest* manifest, gboolean show_dest
_g_free0 (videos_message);
#line 715 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (photos_message);
-#line 7225 "Dialogs.c"
+#line 7190 "Dialogs.c"
}
#line 738 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp184_ = manifest;
@@ -7248,7 +7213,7 @@ gboolean import_ui_report_manifest (ImportManifest* manifest, gboolean show_dest
_tmp187_ = _tmp186_;
#line 738 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp187_ > 0) {
-#line 7237 "Dialogs.c"
+#line 7202 "Dialogs.c"
const gchar* _tmp188_ = NULL;
gint _tmp189_ = 0;
gint _tmp190_ = 0;
@@ -7321,7 +7286,7 @@ gboolean import_ui_report_manifest (ImportManifest* manifest, gboolean show_dest
_tmp190_ = _tmp189_;
#line 739 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp190_ > 0) {
-#line 7310 "Dialogs.c"
+#line 7275 "Dialogs.c"
const gchar* _tmp191_ = NULL;
gchar* _tmp192_ = NULL;
#line 740 "/home/jens/Source/shotwell/src/Dialogs.vala"
@@ -7332,7 +7297,7 @@ gboolean import_ui_report_manifest (ImportManifest* manifest, gboolean show_dest
_g_free0 (message);
#line 740 "/home/jens/Source/shotwell/src/Dialogs.vala"
message = _tmp192_;
-#line 7321 "Dialogs.c"
+#line 7286 "Dialogs.c"
}
#line 742 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp193_ = manifest;
@@ -7476,7 +7441,7 @@ gboolean import_ui_report_manifest (ImportManifest* manifest, gboolean show_dest
_g_free0 (videos_message);
#line 738 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (photos_message);
-#line 7465 "Dialogs.c"
+#line 7430 "Dialogs.c"
}
#line 761 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp250_ = manifest;
@@ -7488,7 +7453,7 @@ gboolean import_ui_report_manifest (ImportManifest* manifest, gboolean show_dest
_tmp253_ = _tmp252_;
#line 761 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp253_ > 0) {
-#line 7477 "Dialogs.c"
+#line 7442 "Dialogs.c"
const gchar* _tmp254_ = NULL;
gint _tmp255_ = 0;
gint _tmp256_ = 0;
@@ -7561,7 +7526,7 @@ gboolean import_ui_report_manifest (ImportManifest* manifest, gboolean show_dest
_tmp256_ = _tmp255_;
#line 762 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp256_ > 0) {
-#line 7550 "Dialogs.c"
+#line 7515 "Dialogs.c"
const gchar* _tmp257_ = NULL;
gchar* _tmp258_ = NULL;
#line 763 "/home/jens/Source/shotwell/src/Dialogs.vala"
@@ -7572,7 +7537,7 @@ gboolean import_ui_report_manifest (ImportManifest* manifest, gboolean show_dest
_g_free0 (message);
#line 763 "/home/jens/Source/shotwell/src/Dialogs.vala"
message = _tmp258_;
-#line 7561 "Dialogs.c"
+#line 7526 "Dialogs.c"
}
#line 765 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp259_ = manifest;
@@ -7716,7 +7681,7 @@ gboolean import_ui_report_manifest (ImportManifest* manifest, gboolean show_dest
_g_free0 (videos_message);
#line 761 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (photos_message);
-#line 7705 "Dialogs.c"
+#line 7670 "Dialogs.c"
}
#line 784 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp316_ = manifest;
@@ -7728,7 +7693,7 @@ gboolean import_ui_report_manifest (ImportManifest* manifest, gboolean show_dest
_tmp319_ = _tmp318_;
#line 784 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp319_ > 0) {
-#line 7717 "Dialogs.c"
+#line 7682 "Dialogs.c"
const gchar* _tmp320_ = NULL;
gint _tmp321_ = 0;
gint _tmp322_ = 0;
@@ -7761,7 +7726,7 @@ gboolean import_ui_report_manifest (ImportManifest* manifest, gboolean show_dest
_tmp322_ = _tmp321_;
#line 785 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp322_ > 0) {
-#line 7750 "Dialogs.c"
+#line 7715 "Dialogs.c"
const gchar* _tmp323_ = NULL;
gchar* _tmp324_ = NULL;
#line 786 "/home/jens/Source/shotwell/src/Dialogs.vala"
@@ -7772,7 +7737,7 @@ gboolean import_ui_report_manifest (ImportManifest* manifest, gboolean show_dest
_g_free0 (message);
#line 786 "/home/jens/Source/shotwell/src/Dialogs.vala"
message = _tmp324_;
-#line 7761 "Dialogs.c"
+#line 7726 "Dialogs.c"
}
#line 791 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp325_ = manifest;
@@ -7828,7 +7793,7 @@ gboolean import_ui_report_manifest (ImportManifest* manifest, gboolean show_dest
_g_free0 (_tmp343_);
#line 784 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (skipped_photos_message);
-#line 7817 "Dialogs.c"
+#line 7782 "Dialogs.c"
}
#line 800 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp345_ = manifest;
@@ -7840,7 +7805,7 @@ gboolean import_ui_report_manifest (ImportManifest* manifest, gboolean show_dest
_tmp348_ = _tmp347_;
#line 800 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp348_ > 0) {
-#line 7829 "Dialogs.c"
+#line 7794 "Dialogs.c"
const gchar* _tmp349_ = NULL;
gint _tmp350_ = 0;
gint _tmp351_ = 0;
@@ -7866,7 +7831,7 @@ gboolean import_ui_report_manifest (ImportManifest* manifest, gboolean show_dest
_tmp351_ = _tmp350_;
#line 801 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp351_ > 0) {
-#line 7855 "Dialogs.c"
+#line 7820 "Dialogs.c"
const gchar* _tmp352_ = NULL;
gchar* _tmp353_ = NULL;
#line 802 "/home/jens/Source/shotwell/src/Dialogs.vala"
@@ -7877,7 +7842,7 @@ gboolean import_ui_report_manifest (ImportManifest* manifest, gboolean show_dest
_g_free0 (message);
#line 802 "/home/jens/Source/shotwell/src/Dialogs.vala"
message = _tmp353_;
-#line 7866 "Dialogs.c"
+#line 7831 "Dialogs.c"
}
#line 806 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp354_ = manifest;
@@ -7913,7 +7878,7 @@ gboolean import_ui_report_manifest (ImportManifest* manifest, gboolean show_dest
message = _tmp366_;
#line 800 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (skipped_files_message);
-#line 7902 "Dialogs.c"
+#line 7867 "Dialogs.c"
}
#line 813 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp367_ = manifest;
@@ -7925,7 +7890,7 @@ gboolean import_ui_report_manifest (ImportManifest* manifest, gboolean show_dest
_tmp370_ = _tmp369_;
#line 813 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp370_ > 0) {
-#line 7914 "Dialogs.c"
+#line 7879 "Dialogs.c"
const gchar* _tmp371_ = NULL;
gint _tmp372_ = 0;
gint _tmp373_ = 0;
@@ -7998,7 +7963,7 @@ gboolean import_ui_report_manifest (ImportManifest* manifest, gboolean show_dest
_tmp373_ = _tmp372_;
#line 814 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp373_ > 0) {
-#line 7987 "Dialogs.c"
+#line 7952 "Dialogs.c"
const gchar* _tmp374_ = NULL;
gchar* _tmp375_ = NULL;
#line 815 "/home/jens/Source/shotwell/src/Dialogs.vala"
@@ -8009,7 +7974,7 @@ gboolean import_ui_report_manifest (ImportManifest* manifest, gboolean show_dest
_g_free0 (message);
#line 815 "/home/jens/Source/shotwell/src/Dialogs.vala"
message = _tmp375_;
-#line 7998 "Dialogs.c"
+#line 7963 "Dialogs.c"
}
#line 817 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp376_ = manifest;
@@ -8153,7 +8118,7 @@ gboolean import_ui_report_manifest (ImportManifest* manifest, gboolean show_dest
_g_free0 (videos_message);
#line 813 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (photos_message);
-#line 8142 "Dialogs.c"
+#line 8107 "Dialogs.c"
}
#line 836 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp433_ = manifest;
@@ -8165,7 +8130,7 @@ gboolean import_ui_report_manifest (ImportManifest* manifest, gboolean show_dest
_tmp436_ = _tmp435_;
#line 836 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp436_ > 0) {
-#line 8154 "Dialogs.c"
+#line 8119 "Dialogs.c"
const gchar* _tmp437_ = NULL;
gint _tmp438_ = 0;
gint _tmp439_ = 0;
@@ -8219,7 +8184,7 @@ gboolean import_ui_report_manifest (ImportManifest* manifest, gboolean show_dest
_tmp439_ = _tmp438_;
#line 837 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp439_ > 0) {
-#line 8208 "Dialogs.c"
+#line 8173 "Dialogs.c"
const gchar* _tmp440_ = NULL;
gchar* _tmp441_ = NULL;
#line 838 "/home/jens/Source/shotwell/src/Dialogs.vala"
@@ -8230,7 +8195,7 @@ gboolean import_ui_report_manifest (ImportManifest* manifest, gboolean show_dest
_g_free0 (message);
#line 838 "/home/jens/Source/shotwell/src/Dialogs.vala"
message = _tmp441_;
-#line 8219 "Dialogs.c"
+#line 8184 "Dialogs.c"
}
#line 840 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp442_ = manifest;
@@ -8328,7 +8293,7 @@ gboolean import_ui_report_manifest (ImportManifest* manifest, gboolean show_dest
_g_free0 (videos_message);
#line 836 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (photos_message);
-#line 8317 "Dialogs.c"
+#line 8282 "Dialogs.c"
}
#line 854 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp481_ = manifest;
@@ -8420,7 +8385,7 @@ gboolean import_ui_report_manifest (ImportManifest* manifest, gboolean show_dest
_tmp522_ = total;
#line 861 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp522_ == 0) {
-#line 8409 "Dialogs.c"
+#line 8374 "Dialogs.c"
const gchar* _tmp523_ = NULL;
const gchar* _tmp524_ = NULL;
gchar* _tmp525_ = NULL;
@@ -8434,7 +8399,7 @@ gboolean import_ui_report_manifest (ImportManifest* manifest, gboolean show_dest
_g_free0 (message);
#line 862 "/home/jens/Source/shotwell/src/Dialogs.vala"
message = _tmp525_;
-#line 8423 "Dialogs.c"
+#line 8388 "Dialogs.c"
}
#line 864 "/home/jens/Source/shotwell/src/Dialogs.vala"
dialog = NULL;
@@ -8444,7 +8409,7 @@ gboolean import_ui_report_manifest (ImportManifest* manifest, gboolean show_dest
_tmp526_ = question;
#line 866 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp526_ == NULL) {
-#line 8433 "Dialogs.c"
+#line 8398 "Dialogs.c"
AppWindow* _tmp527_ = NULL;
AppWindow* _tmp528_ = NULL;
const gchar* _tmp529_ = NULL;
@@ -8564,7 +8529,7 @@ gboolean import_ui_report_manifest (ImportManifest* manifest, gboolean show_dest
_tmp556_ = dialog_response;
#line 880 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp556_ == IMPORT_UI_SAVE_RESULTS_RESPONSE_ID) {
-#line 8553 "Dialogs.c"
+#line 8518 "Dialogs.c"
GtkWindow* _tmp557_ = NULL;
ImportManifest* _tmp558_ = NULL;
gchar* _tmp559_ = NULL;
@@ -8581,7 +8546,7 @@ gboolean import_ui_report_manifest (ImportManifest* manifest, gboolean show_dest
import_ui_save_import_results (_tmp557_, _tmp560_);
#line 881 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (_tmp560_);
-#line 8570 "Dialogs.c"
+#line 8535 "Dialogs.c"
}
#line 866 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (dialog_parent);
@@ -8589,7 +8554,7 @@ gboolean import_ui_report_manifest (ImportManifest* manifest, gboolean show_dest
_g_object_unref0 (ok_button);
#line 866 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (save_results_button);
-#line 8578 "Dialogs.c"
+#line 8543 "Dialogs.c"
} else {
const gchar* _tmp561_ = NULL;
ImportUIQuestionParams* _tmp562_ = NULL;
@@ -8733,7 +8698,7 @@ gboolean import_ui_report_manifest (ImportManifest* manifest, gboolean show_dest
dialog_response = _tmp596_;
#line 897 "/home/jens/Source/shotwell/src/Dialogs.vala"
while (TRUE) {
-#line 8722 "Dialogs.c"
+#line 8687 "Dialogs.c"
gint _tmp597_ = 0;
GtkMessageDialog* _tmp598_ = NULL;
ImportManifest* _tmp599_ = NULL;
@@ -8747,7 +8712,7 @@ gboolean import_ui_report_manifest (ImportManifest* manifest, gboolean show_dest
if (!(_tmp597_ == IMPORT_UI_SAVE_RESULTS_RESPONSE_ID)) {
#line 897 "/home/jens/Source/shotwell/src/Dialogs.vala"
break;
-#line 8736 "Dialogs.c"
+#line 8701 "Dialogs.c"
}
#line 898 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp598_ = dialog;
@@ -8767,7 +8732,7 @@ gboolean import_ui_report_manifest (ImportManifest* manifest, gboolean show_dest
_tmp603_ = gtk_dialog_run (G_TYPE_CHECK_INSTANCE_CAST (_tmp602_, gtk_dialog_get_type (), GtkDialog));
#line 899 "/home/jens/Source/shotwell/src/Dialogs.vala"
dialog_response = _tmp603_;
-#line 8756 "Dialogs.c"
+#line 8721 "Dialogs.c"
}
#line 902 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp604_ = dialog;
@@ -8781,7 +8746,7 @@ gboolean import_ui_report_manifest (ImportManifest* manifest, gboolean show_dest
_g_object_unref0 (no_button);
#line 866 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (save_results_button);
-#line 8770 "Dialogs.c"
+#line 8735 "Dialogs.c"
}
#line 906 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp606_ = dialog_response;
@@ -8793,7 +8758,7 @@ gboolean import_ui_report_manifest (ImportManifest* manifest, gboolean show_dest
_g_free0 (message);
#line 906 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 8782 "Dialogs.c"
+#line 8747 "Dialogs.c"
}
@@ -8809,41 +8774,41 @@ static guint8* string_get_data (const gchar* self, int* result_length1) {
gint _tmp3__length1 = 0;
guint8* _tmp4_ = NULL;
gint _tmp4__length1 = 0;
-#line 1398 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1398 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1399 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1399 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
res = (guint8*) self;
-#line 1399 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1399 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
res_length1 = -1;
-#line 1399 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1399 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_res_size_ = res_length1;
-#line 1400 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1400 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = strlen (self);
-#line 1400 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1400 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = _tmp0_;
-#line 1400 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1400 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
res_length1 = (gint) _tmp1_;
-#line 1400 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1400 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = res_length1;
-#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = res;
-#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3__length1 = res_length1;
-#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = _tmp3_;
-#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4__length1 = _tmp3__length1;
-#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (result_length1) {
-#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
*result_length1 = _tmp4__length1;
-#line 8826 "Dialogs.c"
+#line 8791 "Dialogs.c"
}
-#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp4_;
-#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
-#line 8832 "Dialogs.c"
+#line 8797 "Dialogs.c"
}
@@ -8921,21 +8886,21 @@ void import_ui_save_import_results (GtkWindow* chooser_dialog_parent, const gcha
_tmp14_ = dialog_result;
#line 923 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp14_ == ((gint) GTK_RESPONSE_ACCEPT)) {
-#line 8910 "Dialogs.c"
+#line 8875 "Dialogs.c"
GFile* _tmp15_ = NULL;
#line 923 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp15_ = chosen_file;
#line 923 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp13_ = _tmp15_ != NULL;
-#line 8916 "Dialogs.c"
+#line 8881 "Dialogs.c"
} else {
#line 923 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp13_ = FALSE;
-#line 8920 "Dialogs.c"
+#line 8885 "Dialogs.c"
}
#line 923 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp13_) {
-#line 8924 "Dialogs.c"
+#line 8889 "Dialogs.c"
{
GFileOutputStream* outstream = NULL;
GFile* _tmp16_ = NULL;
@@ -8955,7 +8920,7 @@ void import_ui_save_import_results (GtkWindow* chooser_dialog_parent, const gcha
outstream = _tmp17_;
#line 925 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 8944 "Dialogs.c"
+#line 8909 "Dialogs.c"
goto __catch421_g_error;
}
#line 926 "/home/jens/Source/shotwell/src/Dialogs.vala"
@@ -8969,28 +8934,28 @@ void import_ui_save_import_results (GtkWindow* chooser_dialog_parent, const gcha
#line 926 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp21__length1 = _tmp20__length1;
#line 926 "/home/jens/Source/shotwell/src/Dialogs.vala"
- g_output_stream_write (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, g_output_stream_get_type (), GOutputStream), _tmp21_, (gsize) _tmp21__length1, NULL, &_inner_error_);
+ g_output_stream_write (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, G_TYPE_OUTPUT_STREAM, GOutputStream), _tmp21_, (gsize) _tmp21__length1, NULL, &_inner_error_);
#line 926 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 926 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (outstream);
-#line 8963 "Dialogs.c"
+#line 8928 "Dialogs.c"
goto __catch421_g_error;
}
#line 927 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp22_ = outstream;
#line 927 "/home/jens/Source/shotwell/src/Dialogs.vala"
- g_output_stream_close (G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, g_output_stream_get_type (), GOutputStream), NULL, &_inner_error_);
+ g_output_stream_close (G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, G_TYPE_OUTPUT_STREAM, GOutputStream), NULL, &_inner_error_);
#line 927 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 927 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (outstream);
-#line 8974 "Dialogs.c"
+#line 8939 "Dialogs.c"
goto __catch421_g_error;
}
#line 924 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (outstream);
-#line 8979 "Dialogs.c"
+#line 8944 "Dialogs.c"
}
goto __finally421;
__catch421_g_error:
@@ -9021,7 +8986,7 @@ void import_ui_save_import_results (GtkWindow* chooser_dialog_parent, const gcha
_g_free0 (_tmp25_);
#line 924 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_error_free0 (err);
-#line 9010 "Dialogs.c"
+#line 8975 "Dialogs.c"
}
__finally421:
#line 924 "/home/jens/Source/shotwell/src/Dialogs.vala"
@@ -9036,14 +9001,14 @@ void import_ui_save_import_results (GtkWindow* chooser_dialog_parent, const gcha
g_clear_error (&_inner_error_);
#line 924 "/home/jens/Source/shotwell/src/Dialogs.vala"
return;
-#line 9025 "Dialogs.c"
+#line 8990 "Dialogs.c"
}
}
#line 909 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (chosen_file);
#line 909 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (chooser_dialog);
-#line 9032 "Dialogs.c"
+#line 8997 "Dialogs.c"
}
@@ -9052,7 +9017,7 @@ static gboolean _text_entry_dialog_mediator_on_modify_validate_text_entry_dialog
result = text_entry_dialog_mediator_on_modify_validate ((TextEntryDialogMediator*) self, text);
#line 946 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 9041 "Dialogs.c"
+#line 9006 "Dialogs.c"
}
@@ -9121,7 +9086,7 @@ TextEntryDialogMediator* text_entry_dialog_mediator_construct (GType object_type
_g_object_unref0 (builder);
#line 940 "/home/jens/Source/shotwell/src/Dialogs.vala"
return self;
-#line 9110 "Dialogs.c"
+#line 9075 "Dialogs.c"
}
@@ -9133,7 +9098,7 @@ static gboolean text_entry_dialog_mediator_real_on_modify_validate (TextEntryDia
result = TRUE;
#line 950 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 9122 "Dialogs.c"
+#line 9087 "Dialogs.c"
}
@@ -9142,7 +9107,7 @@ gboolean text_entry_dialog_mediator_on_modify_validate (TextEntryDialogMediator*
g_return_val_if_fail (IS_TEXT_ENTRY_DIALOG_MEDIATOR (self), FALSE);
#line 949 "/home/jens/Source/shotwell/src/Dialogs.vala"
return TEXT_ENTRY_DIALOG_MEDIATOR_GET_CLASS (self)->on_modify_validate (self, text);
-#line 9131 "Dialogs.c"
+#line 9096 "Dialogs.c"
}
@@ -9160,14 +9125,14 @@ gchar* _text_entry_dialog_mediator_execute (TextEntryDialogMediator* self) {
result = _tmp1_;
#line 954 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 9149 "Dialogs.c"
+#line 9114 "Dialogs.c"
}
static void value_text_entry_dialog_mediator_init (GValue* value) {
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
value->data[0].v_pointer = NULL;
-#line 9156 "Dialogs.c"
+#line 9121 "Dialogs.c"
}
@@ -9176,7 +9141,7 @@ static void value_text_entry_dialog_mediator_free_value (GValue* value) {
if (value->data[0].v_pointer) {
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
text_entry_dialog_mediator_unref (value->data[0].v_pointer);
-#line 9165 "Dialogs.c"
+#line 9130 "Dialogs.c"
}
}
@@ -9186,11 +9151,11 @@ static void value_text_entry_dialog_mediator_copy_value (const GValue* src_value
if (src_value->data[0].v_pointer) {
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
dest_value->data[0].v_pointer = text_entry_dialog_mediator_ref (src_value->data[0].v_pointer);
-#line 9175 "Dialogs.c"
+#line 9140 "Dialogs.c"
} else {
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
dest_value->data[0].v_pointer = NULL;
-#line 9179 "Dialogs.c"
+#line 9144 "Dialogs.c"
}
}
@@ -9198,37 +9163,37 @@ static void value_text_entry_dialog_mediator_copy_value (const GValue* src_value
static gpointer value_text_entry_dialog_mediator_peek_pointer (const GValue* value) {
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
return value->data[0].v_pointer;
-#line 9187 "Dialogs.c"
+#line 9152 "Dialogs.c"
}
static gchar* value_text_entry_dialog_mediator_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (collect_values[0].v_pointer) {
-#line 9194 "Dialogs.c"
+#line 9159 "Dialogs.c"
TextEntryDialogMediator* object;
object = collect_values[0].v_pointer;
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (object->parent_instance.g_class == NULL) {
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 9201 "Dialogs.c"
+#line 9166 "Dialogs.c"
} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
#line 937 "/home/jens/Source/shotwell/src/Dialogs.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 9205 "Dialogs.c"
+#line 9170 "Dialogs.c"
}
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
value->data[0].v_pointer = text_entry_dialog_mediator_ref (object);
-#line 9209 "Dialogs.c"
+#line 9174 "Dialogs.c"
} else {
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
value->data[0].v_pointer = NULL;
-#line 9213 "Dialogs.c"
+#line 9178 "Dialogs.c"
}
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
return NULL;
-#line 9217 "Dialogs.c"
+#line 9182 "Dialogs.c"
}
@@ -9239,25 +9204,25 @@ static gchar* value_text_entry_dialog_mediator_lcopy_value (const GValue* value,
if (!object_p) {
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
-#line 9228 "Dialogs.c"
+#line 9193 "Dialogs.c"
}
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (!value->data[0].v_pointer) {
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
*object_p = NULL;
-#line 9234 "Dialogs.c"
+#line 9199 "Dialogs.c"
} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
*object_p = value->data[0].v_pointer;
-#line 9238 "Dialogs.c"
+#line 9203 "Dialogs.c"
} else {
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
*object_p = text_entry_dialog_mediator_ref (value->data[0].v_pointer);
-#line 9242 "Dialogs.c"
+#line 9207 "Dialogs.c"
}
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
return NULL;
-#line 9246 "Dialogs.c"
+#line 9211 "Dialogs.c"
}
@@ -9271,7 +9236,7 @@ GParamSpec* param_spec_text_entry_dialog_mediator (const gchar* name, const gcha
G_PARAM_SPEC (spec)->value_type = object_type;
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
return G_PARAM_SPEC (spec);
-#line 9260 "Dialogs.c"
+#line 9225 "Dialogs.c"
}
@@ -9280,7 +9245,7 @@ gpointer value_get_text_entry_dialog_mediator (const GValue* value) {
g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_TEXT_ENTRY_DIALOG_MEDIATOR), NULL);
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
return value->data[0].v_pointer;
-#line 9269 "Dialogs.c"
+#line 9234 "Dialogs.c"
}
@@ -9300,17 +9265,17 @@ void value_set_text_entry_dialog_mediator (GValue* value, gpointer v_object) {
value->data[0].v_pointer = v_object;
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
text_entry_dialog_mediator_ref (value->data[0].v_pointer);
-#line 9289 "Dialogs.c"
+#line 9254 "Dialogs.c"
} else {
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
value->data[0].v_pointer = NULL;
-#line 9293 "Dialogs.c"
+#line 9258 "Dialogs.c"
}
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (old) {
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
text_entry_dialog_mediator_unref (old);
-#line 9299 "Dialogs.c"
+#line 9264 "Dialogs.c"
}
}
@@ -9329,17 +9294,17 @@ void value_take_text_entry_dialog_mediator (GValue* value, gpointer v_object) {
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
value->data[0].v_pointer = v_object;
-#line 9318 "Dialogs.c"
+#line 9283 "Dialogs.c"
} else {
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
value->data[0].v_pointer = NULL;
-#line 9322 "Dialogs.c"
+#line 9287 "Dialogs.c"
}
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (old) {
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
text_entry_dialog_mediator_unref (old);
-#line 9328 "Dialogs.c"
+#line 9293 "Dialogs.c"
}
}
@@ -9353,7 +9318,7 @@ static void text_entry_dialog_mediator_class_init (TextEntryDialogMediatorClass
g_type_class_add_private (klass, sizeof (TextEntryDialogMediatorPrivate));
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
((TextEntryDialogMediatorClass *) klass)->on_modify_validate = text_entry_dialog_mediator_real_on_modify_validate;
-#line 9342 "Dialogs.c"
+#line 9307 "Dialogs.c"
}
@@ -9362,7 +9327,7 @@ static void text_entry_dialog_mediator_instance_init (TextEntryDialogMediator *
self->priv = TEXT_ENTRY_DIALOG_MEDIATOR_GET_PRIVATE (self);
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->ref_count = 1;
-#line 9351 "Dialogs.c"
+#line 9316 "Dialogs.c"
}
@@ -9374,7 +9339,7 @@ static void text_entry_dialog_mediator_finalize (TextEntryDialogMediator* obj) {
g_signal_handlers_destroy (self);
#line 938 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->dialog);
-#line 9363 "Dialogs.c"
+#line 9328 "Dialogs.c"
}
@@ -9399,7 +9364,7 @@ gpointer text_entry_dialog_mediator_ref (gpointer instance) {
g_atomic_int_inc (&self->ref_count);
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
return instance;
-#line 9388 "Dialogs.c"
+#line 9353 "Dialogs.c"
}
@@ -9412,7 +9377,7 @@ void text_entry_dialog_mediator_unref (gpointer instance) {
TEXT_ENTRY_DIALOG_MEDIATOR_GET_CLASS (self)->finalize (self);
#line 937 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_type_free_instance ((GTypeInstance *) self);
-#line 9401 "Dialogs.c"
+#line 9366 "Dialogs.c"
}
}
@@ -9422,7 +9387,7 @@ static gboolean _multi_text_entry_dialog_mediator_on_modify_validate_multi_text_
result = multi_text_entry_dialog_mediator_on_modify_validate ((MultiTextEntryDialogMediator*) self, text);
#line 966 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 9411 "Dialogs.c"
+#line 9376 "Dialogs.c"
}
@@ -9483,7 +9448,7 @@ MultiTextEntryDialogMediator* multi_text_entry_dialog_mediator_construct (GType
_g_object_unref0 (builder);
#line 961 "/home/jens/Source/shotwell/src/Dialogs.vala"
return self;
-#line 9472 "Dialogs.c"
+#line 9437 "Dialogs.c"
}
@@ -9495,7 +9460,7 @@ static gboolean multi_text_entry_dialog_mediator_real_on_modify_validate (MultiT
result = TRUE;
#line 970 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 9484 "Dialogs.c"
+#line 9449 "Dialogs.c"
}
@@ -9504,7 +9469,7 @@ gboolean multi_text_entry_dialog_mediator_on_modify_validate (MultiTextEntryDial
g_return_val_if_fail (IS_MULTI_TEXT_ENTRY_DIALOG_MEDIATOR (self), FALSE);
#line 969 "/home/jens/Source/shotwell/src/Dialogs.vala"
return MULTI_TEXT_ENTRY_DIALOG_MEDIATOR_GET_CLASS (self)->on_modify_validate (self, text);
-#line 9493 "Dialogs.c"
+#line 9458 "Dialogs.c"
}
@@ -9522,14 +9487,14 @@ gchar* _multi_text_entry_dialog_mediator_execute (MultiTextEntryDialogMediator*
result = _tmp1_;
#line 974 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 9511 "Dialogs.c"
+#line 9476 "Dialogs.c"
}
static void value_multi_text_entry_dialog_mediator_init (GValue* value) {
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
value->data[0].v_pointer = NULL;
-#line 9518 "Dialogs.c"
+#line 9483 "Dialogs.c"
}
@@ -9538,7 +9503,7 @@ static void value_multi_text_entry_dialog_mediator_free_value (GValue* value) {
if (value->data[0].v_pointer) {
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
multi_text_entry_dialog_mediator_unref (value->data[0].v_pointer);
-#line 9527 "Dialogs.c"
+#line 9492 "Dialogs.c"
}
}
@@ -9548,11 +9513,11 @@ static void value_multi_text_entry_dialog_mediator_copy_value (const GValue* src
if (src_value->data[0].v_pointer) {
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
dest_value->data[0].v_pointer = multi_text_entry_dialog_mediator_ref (src_value->data[0].v_pointer);
-#line 9537 "Dialogs.c"
+#line 9502 "Dialogs.c"
} else {
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
dest_value->data[0].v_pointer = NULL;
-#line 9541 "Dialogs.c"
+#line 9506 "Dialogs.c"
}
}
@@ -9560,37 +9525,37 @@ static void value_multi_text_entry_dialog_mediator_copy_value (const GValue* src
static gpointer value_multi_text_entry_dialog_mediator_peek_pointer (const GValue* value) {
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
return value->data[0].v_pointer;
-#line 9549 "Dialogs.c"
+#line 9514 "Dialogs.c"
}
static gchar* value_multi_text_entry_dialog_mediator_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (collect_values[0].v_pointer) {
-#line 9556 "Dialogs.c"
+#line 9521 "Dialogs.c"
MultiTextEntryDialogMediator* object;
object = collect_values[0].v_pointer;
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (object->parent_instance.g_class == NULL) {
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 9563 "Dialogs.c"
+#line 9528 "Dialogs.c"
} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
#line 958 "/home/jens/Source/shotwell/src/Dialogs.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 9567 "Dialogs.c"
+#line 9532 "Dialogs.c"
}
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
value->data[0].v_pointer = multi_text_entry_dialog_mediator_ref (object);
-#line 9571 "Dialogs.c"
+#line 9536 "Dialogs.c"
} else {
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
value->data[0].v_pointer = NULL;
-#line 9575 "Dialogs.c"
+#line 9540 "Dialogs.c"
}
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
return NULL;
-#line 9579 "Dialogs.c"
+#line 9544 "Dialogs.c"
}
@@ -9601,25 +9566,25 @@ static gchar* value_multi_text_entry_dialog_mediator_lcopy_value (const GValue*
if (!object_p) {
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
-#line 9590 "Dialogs.c"
+#line 9555 "Dialogs.c"
}
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (!value->data[0].v_pointer) {
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
*object_p = NULL;
-#line 9596 "Dialogs.c"
+#line 9561 "Dialogs.c"
} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
*object_p = value->data[0].v_pointer;
-#line 9600 "Dialogs.c"
+#line 9565 "Dialogs.c"
} else {
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
*object_p = multi_text_entry_dialog_mediator_ref (value->data[0].v_pointer);
-#line 9604 "Dialogs.c"
+#line 9569 "Dialogs.c"
}
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
return NULL;
-#line 9608 "Dialogs.c"
+#line 9573 "Dialogs.c"
}
@@ -9633,7 +9598,7 @@ GParamSpec* param_spec_multi_text_entry_dialog_mediator (const gchar* name, cons
G_PARAM_SPEC (spec)->value_type = object_type;
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
return G_PARAM_SPEC (spec);
-#line 9622 "Dialogs.c"
+#line 9587 "Dialogs.c"
}
@@ -9642,7 +9607,7 @@ gpointer value_get_multi_text_entry_dialog_mediator (const GValue* value) {
g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_MULTI_TEXT_ENTRY_DIALOG_MEDIATOR), NULL);
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
return value->data[0].v_pointer;
-#line 9631 "Dialogs.c"
+#line 9596 "Dialogs.c"
}
@@ -9662,17 +9627,17 @@ void value_set_multi_text_entry_dialog_mediator (GValue* value, gpointer v_objec
value->data[0].v_pointer = v_object;
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
multi_text_entry_dialog_mediator_ref (value->data[0].v_pointer);
-#line 9651 "Dialogs.c"
+#line 9616 "Dialogs.c"
} else {
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
value->data[0].v_pointer = NULL;
-#line 9655 "Dialogs.c"
+#line 9620 "Dialogs.c"
}
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (old) {
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
multi_text_entry_dialog_mediator_unref (old);
-#line 9661 "Dialogs.c"
+#line 9626 "Dialogs.c"
}
}
@@ -9691,17 +9656,17 @@ void value_take_multi_text_entry_dialog_mediator (GValue* value, gpointer v_obje
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
value->data[0].v_pointer = v_object;
-#line 9680 "Dialogs.c"
+#line 9645 "Dialogs.c"
} else {
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
value->data[0].v_pointer = NULL;
-#line 9684 "Dialogs.c"
+#line 9649 "Dialogs.c"
}
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (old) {
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
multi_text_entry_dialog_mediator_unref (old);
-#line 9690 "Dialogs.c"
+#line 9655 "Dialogs.c"
}
}
@@ -9715,7 +9680,7 @@ static void multi_text_entry_dialog_mediator_class_init (MultiTextEntryDialogMed
g_type_class_add_private (klass, sizeof (MultiTextEntryDialogMediatorPrivate));
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
((MultiTextEntryDialogMediatorClass *) klass)->on_modify_validate = multi_text_entry_dialog_mediator_real_on_modify_validate;
-#line 9704 "Dialogs.c"
+#line 9669 "Dialogs.c"
}
@@ -9724,7 +9689,7 @@ static void multi_text_entry_dialog_mediator_instance_init (MultiTextEntryDialog
self->priv = MULTI_TEXT_ENTRY_DIALOG_MEDIATOR_GET_PRIVATE (self);
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->ref_count = 1;
-#line 9713 "Dialogs.c"
+#line 9678 "Dialogs.c"
}
@@ -9736,7 +9701,7 @@ static void multi_text_entry_dialog_mediator_finalize (MultiTextEntryDialogMedia
g_signal_handlers_destroy (self);
#line 959 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->dialog);
-#line 9725 "Dialogs.c"
+#line 9690 "Dialogs.c"
}
@@ -9761,7 +9726,7 @@ gpointer multi_text_entry_dialog_mediator_ref (gpointer instance) {
g_atomic_int_inc (&self->ref_count);
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
return instance;
-#line 9750 "Dialogs.c"
+#line 9715 "Dialogs.c"
}
@@ -9774,7 +9739,7 @@ void multi_text_entry_dialog_mediator_unref (gpointer instance) {
MULTI_TEXT_ENTRY_DIALOG_MEDIATOR_GET_CLASS (self)->finalize (self);
#line 958 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_type_free_instance ((GTypeInstance *) self);
-#line 9763 "Dialogs.c"
+#line 9728 "Dialogs.c"
}
}
@@ -9792,7 +9757,7 @@ gchar* build_alert_body_text (const gchar* primary_text, const gchar* secondary_
_tmp0_ = should_escape;
#line 983 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp0_) {
-#line 9781 "Dialogs.c"
+#line 9746 "Dialogs.c"
const gchar* _tmp1_ = NULL;
gchar* _tmp2_ = NULL;
gchar* _tmp3_ = NULL;
@@ -9825,7 +9790,7 @@ gchar* build_alert_body_text (const gchar* primary_text, const gchar* secondary_
result = _tmp8_;
#line 984 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 9814 "Dialogs.c"
+#line 9779 "Dialogs.c"
}
#line 988 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp9_ = primary_text;
@@ -9845,7 +9810,7 @@ gchar* build_alert_body_text (const gchar* primary_text, const gchar* secondary_
result = _tmp14_;
#line 988 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 9834 "Dialogs.c"
+#line 9799 "Dialogs.c"
}
@@ -9854,7 +9819,7 @@ static gboolean _entry_multi_completion_match_func_gtk_entry_completion_match_fu
result = entry_multi_completion_match_func ((EntryMultiCompletion*) self, completion, key, iter);
#line 1003 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 9843 "Dialogs.c"
+#line 9808 "Dialogs.c"
}
@@ -9877,7 +9842,7 @@ EntryMultiCompletion* entry_multi_completion_construct (GType object_type, GeeCo
if (_tmp1_ == NULL) {
#line 998 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = TRUE;
-#line 9866 "Dialogs.c"
+#line 9831 "Dialogs.c"
} else {
const gchar* _tmp2_ = NULL;
gint _tmp3_ = 0;
@@ -9890,7 +9855,7 @@ EntryMultiCompletion* entry_multi_completion_construct (GType object_type, GeeCo
_tmp4_ = _tmp3_;
#line 998 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = _tmp4_ == 1;
-#line 9879 "Dialogs.c"
+#line 9844 "Dialogs.c"
}
#line 998 "/home/jens/Source/shotwell/src/Dialogs.vala"
_vala_assert (_tmp0_, "delimiter == null || delimiter.length == 1");
@@ -9918,14 +9883,14 @@ EntryMultiCompletion* entry_multi_completion_construct (GType object_type, GeeCo
gtk_entry_completion_set_match_func (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_entry_completion_get_type (), GtkEntryCompletion), _entry_multi_completion_match_func_gtk_entry_completion_match_func, g_object_ref (self), g_object_unref);
#line 997 "/home/jens/Source/shotwell/src/Dialogs.vala"
return self;
-#line 9907 "Dialogs.c"
+#line 9872 "Dialogs.c"
}
EntryMultiCompletion* entry_multi_completion_new (GeeCollection* completion_list, const gchar* delimiter) {
#line 997 "/home/jens/Source/shotwell/src/Dialogs.vala"
return entry_multi_completion_construct (TYPE_ENTRY_MULTI_COMPLETION, completion_list, delimiter);
-#line 9914 "Dialogs.c"
+#line 9879 "Dialogs.c"
}
@@ -9951,7 +9916,7 @@ static GtkListStore* entry_multi_completion_create_completion_store (GeeCollecti
completion_iter = _tmp2_;
#line 1010 "/home/jens/Source/shotwell/src/Dialogs.vala"
while (TRUE) {
-#line 9940 "Dialogs.c"
+#line 9905 "Dialogs.c"
GeeIterator* _tmp3_ = NULL;
gboolean _tmp4_ = FALSE;
GtkListStore* _tmp5_ = NULL;
@@ -9969,7 +9934,7 @@ static GtkListStore* entry_multi_completion_create_completion_store (GeeCollecti
if (!_tmp4_) {
#line 1010 "/home/jens/Source/shotwell/src/Dialogs.vala"
break;
-#line 9958 "Dialogs.c"
+#line 9923 "Dialogs.c"
}
#line 1011 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp5_ = completion_store;
@@ -9991,7 +9956,7 @@ static GtkListStore* entry_multi_completion_create_completion_store (GeeCollecti
gtk_list_store_set (_tmp7_, &_tmp8_, 0, _tmp11_, -1, -1);
#line 1012 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (_tmp11_);
-#line 9980 "Dialogs.c"
+#line 9945 "Dialogs.c"
}
#line 1015 "/home/jens/Source/shotwell/src/Dialogs.vala"
result = completion_store;
@@ -9999,7 +9964,7 @@ static GtkListStore* entry_multi_completion_create_completion_store (GeeCollecti
_g_object_unref0 (completion_iter);
#line 1015 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 9988 "Dialogs.c"
+#line 9953 "Dialogs.c"
}
@@ -10008,21 +9973,21 @@ static gchar* string_strip (const gchar* self) {
gchar* _result_ = NULL;
gchar* _tmp0_ = NULL;
const gchar* _tmp1_ = NULL;
-#line 1207 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1207 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1208 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1208 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = g_strdup (self);
-#line 1208 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1208 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_result_ = _tmp0_;
-#line 1209 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1209 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = _result_;
-#line 1209 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1209 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_strstrip (_tmp1_);
-#line 1210 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1210 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _result_;
-#line 1210 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1210 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
-#line 10011 "Dialogs.c"
+#line 9976 "Dialogs.c"
}
@@ -10030,19 +9995,19 @@ static gboolean string_contains (const gchar* self, const gchar* needle) {
gboolean result = FALSE;
const gchar* _tmp0_ = NULL;
gchar* _tmp1_ = NULL;
-#line 1376 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1376 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, FALSE);
-#line 1376 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1376 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (needle != NULL, FALSE);
-#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = needle;
-#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = strstr ((gchar*) self, (gchar*) _tmp0_);
-#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp1_ != NULL;
-#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
-#line 10031 "Dialogs.c"
+#line 9996 "Dialogs.c"
}
@@ -10053,35 +10018,35 @@ static gint string_last_index_of_char (const gchar* self, gunichar c, gint start
gunichar _tmp1_ = 0U;
gchar* _tmp2_ = NULL;
gchar* _tmp3_ = NULL;
-#line 1017 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1017 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, 0);
-#line 1018 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1018 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = start_index;
-#line 1018 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1018 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = c;
-#line 1018 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1018 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = g_utf8_strrchr (((gchar*) self) + _tmp0_, (gssize) -1, _tmp1_);
-#line 1018 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1018 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_result_ = _tmp2_;
-#line 1020 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1020 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = _result_;
-#line 1020 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1020 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp3_ != NULL) {
-#line 10056 "Dialogs.c"
+#line 10021 "Dialogs.c"
gchar* _tmp4_ = NULL;
-#line 1021 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1021 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = _result_;
-#line 1021 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1021 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = (gint) (_tmp4_ - ((gchar*) self));
-#line 1021 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1021 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
-#line 10064 "Dialogs.c"
+#line 10029 "Dialogs.c"
} else {
-#line 1023 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1023 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = -1;
-#line 1023 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1023 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
-#line 10070 "Dialogs.c"
+#line 10035 "Dialogs.c"
}
}
@@ -10149,7 +10114,7 @@ static gboolean entry_multi_completion_match_func (EntryMultiCompletion* self, G
_tmp11_ = self->priv->delimiter;
#line 1030 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp11_ == NULL) {
-#line 10138 "Dialogs.c"
+#line 10103 "Dialogs.c"
const gchar* _tmp12_ = NULL;
const gchar* _tmp13_ = NULL;
gchar* _tmp14_ = NULL;
@@ -10180,7 +10145,7 @@ static gboolean entry_multi_completion_match_func (EntryMultiCompletion* self, G
_g_object_unref0 (model);
#line 1031 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 10169 "Dialogs.c"
+#line 10134 "Dialogs.c"
} else {
const gchar* _tmp18_ = NULL;
const gchar* _tmp19_ = NULL;
@@ -10209,7 +10174,7 @@ static gboolean entry_multi_completion_match_func (EntryMultiCompletion* self, G
_tmp20_ = string_contains (_tmp18_, _tmp19_);
#line 1033 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp20_) {
-#line 10198 "Dialogs.c"
+#line 10163 "Dialogs.c"
gint offset = 0;
const gchar* _tmp21_ = NULL;
const gchar* _tmp22_ = NULL;
@@ -10258,7 +10223,7 @@ static gboolean entry_multi_completion_match_func (EntryMultiCompletion* self, G
_g_object_unref0 (model);
#line 1038 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 10247 "Dialogs.c"
+#line 10212 "Dialogs.c"
}
}
#line 1041 "/home/jens/Source/shotwell/src/Dialogs.vala"
@@ -10297,7 +10262,7 @@ static gboolean entry_multi_completion_match_func (EntryMultiCompletion* self, G
_g_object_unref0 (model);
#line 1044 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 10286 "Dialogs.c"
+#line 10251 "Dialogs.c"
}
#line 1046 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp40_ = possible_match;
@@ -10325,7 +10290,7 @@ static gboolean entry_multi_completion_match_func (EntryMultiCompletion* self, G
_g_object_unref0 (model);
#line 1046 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 10314 "Dialogs.c"
+#line 10279 "Dialogs.c"
}
#line 1018 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (normed_key);
@@ -10333,7 +10298,7 @@ static gboolean entry_multi_completion_match_func (EntryMultiCompletion* self, G
_g_free0 (possible_match);
#line 1018 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (model);
-#line 10322 "Dialogs.c"
+#line 10287 "Dialogs.c"
}
@@ -10344,39 +10309,39 @@ static glong string_strnlen (gchar* str, glong maxlen) {
glong _tmp1_ = 0L;
gchar* _tmp2_ = NULL;
gchar* _tmp3_ = NULL;
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = str;
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = maxlen;
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = memchr (_tmp0_, 0, (gsize) _tmp1_);
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
end = _tmp2_;
-#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = end;
-#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp3_ == NULL) {
-#line 10345 "Dialogs.c"
+#line 10310 "Dialogs.c"
glong _tmp4_ = 0L;
-#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = maxlen;
-#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp4_;
-#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
-#line 10353 "Dialogs.c"
+#line 10318 "Dialogs.c"
} else {
gchar* _tmp5_ = NULL;
gchar* _tmp6_ = NULL;
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = end;
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6_ = str;
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = (glong) (_tmp5_ - _tmp6_);
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
-#line 10365 "Dialogs.c"
+#line 10330 "Dialogs.c"
}
}
@@ -10394,114 +10359,114 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) {
glong _tmp20_ = 0L;
glong _tmp21_ = 0L;
gchar* _tmp22_ = NULL;
-#line 1306 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1306 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = offset;
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp1_ >= ((glong) 0)) {
-#line 10389 "Dialogs.c"
+#line 10354 "Dialogs.c"
glong _tmp2_ = 0L;
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = len;
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = _tmp2_ >= ((glong) 0);
-#line 10395 "Dialogs.c"
+#line 10360 "Dialogs.c"
} else {
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = FALSE;
-#line 10399 "Dialogs.c"
+#line 10364 "Dialogs.c"
}
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp0_) {
-#line 10403 "Dialogs.c"
+#line 10368 "Dialogs.c"
glong _tmp3_ = 0L;
glong _tmp4_ = 0L;
glong _tmp5_ = 0L;
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = offset;
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = len;
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = string_strnlen ((gchar*) self, _tmp3_ + _tmp4_);
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
string_length = _tmp5_;
-#line 10415 "Dialogs.c"
+#line 10380 "Dialogs.c"
} else {
gint _tmp6_ = 0;
gint _tmp7_ = 0;
-#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6_ = strlen (self);
-#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp7_ = _tmp6_;
-#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
string_length = (glong) _tmp7_;
-#line 10425 "Dialogs.c"
+#line 10390 "Dialogs.c"
}
-#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp8_ = offset;
-#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp8_ < ((glong) 0)) {
-#line 10431 "Dialogs.c"
+#line 10396 "Dialogs.c"
glong _tmp9_ = 0L;
glong _tmp10_ = 0L;
glong _tmp11_ = 0L;
-#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp9_ = string_length;
-#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp10_ = offset;
-#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
offset = _tmp9_ + _tmp10_;
-#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp11_ = offset;
-#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp11_ >= ((glong) 0), NULL);
-#line 10445 "Dialogs.c"
+#line 10410 "Dialogs.c"
} else {
glong _tmp12_ = 0L;
glong _tmp13_ = 0L;
-#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp12_ = offset;
-#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp13_ = string_length;
-#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp12_ <= _tmp13_, NULL);
-#line 10455 "Dialogs.c"
+#line 10420 "Dialogs.c"
}
-#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp14_ = len;
-#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp14_ < ((glong) 0)) {
-#line 10461 "Dialogs.c"
+#line 10426 "Dialogs.c"
glong _tmp15_ = 0L;
glong _tmp16_ = 0L;
-#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp15_ = string_length;
-#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp16_ = offset;
-#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
len = _tmp15_ - _tmp16_;
-#line 10470 "Dialogs.c"
+#line 10435 "Dialogs.c"
}
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp17_ = offset;
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp18_ = len;
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp19_ = string_length;
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail ((_tmp17_ + _tmp18_) <= _tmp19_, NULL);
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp20_ = offset;
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp21_ = len;
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp22_ = g_strndup (((gchar*) self) + _tmp20_, (gsize) _tmp21_);
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp22_;
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
-#line 10490 "Dialogs.c"
+#line 10455 "Dialogs.c"
}
@@ -10571,7 +10536,7 @@ static gboolean entry_multi_completion_real_match_selected (GtkEntryCompletion*
_tmp9_ = _tmp8_;
#line 1057 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp9_ > 0) {
-#line 10560 "Dialogs.c"
+#line 10525 "Dialogs.c"
const gchar* _tmp10_ = NULL;
const gchar* _tmp11_ = NULL;
gboolean _tmp12_ = FALSE;
@@ -10583,7 +10548,7 @@ static gboolean entry_multi_completion_real_match_selected (GtkEntryCompletion*
_tmp12_ = string_contains (_tmp10_, _tmp11_);
#line 1058 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp12_) {
-#line 10572 "Dialogs.c"
+#line 10537 "Dialogs.c"
const gchar* _tmp13_ = NULL;
const gchar* _tmp14_ = NULL;
const gchar* _tmp15_ = NULL;
@@ -10600,11 +10565,11 @@ static gboolean entry_multi_completion_real_match_selected (GtkEntryCompletion*
if (g_strcmp0 (_tmp14_, " ") != 0) {
#line 1059 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp13_ = " ";
-#line 10589 "Dialogs.c"
+#line 10554 "Dialogs.c"
} else {
#line 1059 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp13_ = "";
-#line 10593 "Dialogs.c"
+#line 10558 "Dialogs.c"
}
#line 1059 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp15_ = old_text;
@@ -10628,7 +10593,7 @@ static gboolean entry_multi_completion_real_match_selected (GtkEntryCompletion*
old_text = _tmp22_;
#line 1059 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (_tmp21_);
-#line 10617 "Dialogs.c"
+#line 10582 "Dialogs.c"
} else {
gchar* _tmp23_ = NULL;
#line 1061 "/home/jens/Source/shotwell/src/Dialogs.vala"
@@ -10637,7 +10602,7 @@ static gboolean entry_multi_completion_real_match_selected (GtkEntryCompletion*
_g_free0 (old_text);
#line 1061 "/home/jens/Source/shotwell/src/Dialogs.vala"
old_text = _tmp23_;
-#line 10626 "Dialogs.c"
+#line 10591 "Dialogs.c"
}
}
#line 1064 "/home/jens/Source/shotwell/src/Dialogs.vala"
@@ -10646,11 +10611,11 @@ static gboolean entry_multi_completion_real_match_selected (GtkEntryCompletion*
if (g_strcmp0 (_tmp25_, " ") != 0) {
#line 1064 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp24_ = " ";
-#line 10635 "Dialogs.c"
+#line 10600 "Dialogs.c"
} else {
#line 1064 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp24_ = "";
-#line 10639 "Dialogs.c"
+#line 10604 "Dialogs.c"
}
#line 1064 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp26_ = old_text;
@@ -10700,7 +10665,7 @@ static gboolean entry_multi_completion_real_match_selected (GtkEntryCompletion*
_g_free0 (match);
#line 1068 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 10689 "Dialogs.c"
+#line 10654 "Dialogs.c"
}
@@ -10738,7 +10703,7 @@ static gchar* entry_multi_completion_get_last_part (const gchar* s, const gchar*
_tmp5__length1 = split_length1;
#line 1075 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp5_ != NULL) {
-#line 10727 "Dialogs.c"
+#line 10692 "Dialogs.c"
gchar** _tmp6_ = NULL;
gint _tmp6__length1 = 0;
const gchar* _tmp7_ = NULL;
@@ -10750,15 +10715,15 @@ static gchar* entry_multi_completion_get_last_part (const gchar* s, const gchar*
_tmp7_ = _tmp6_[0];
#line 1075 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp4_ = _tmp7_ != NULL;
-#line 10739 "Dialogs.c"
+#line 10704 "Dialogs.c"
} else {
#line 1075 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp4_ = FALSE;
-#line 10743 "Dialogs.c"
+#line 10708 "Dialogs.c"
}
#line 1075 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp4_) {
-#line 10747 "Dialogs.c"
+#line 10712 "Dialogs.c"
gchar** _tmp8_ = NULL;
gint _tmp8__length1 = 0;
gchar** _tmp9_ = NULL;
@@ -10783,7 +10748,7 @@ static gchar* entry_multi_completion_get_last_part (const gchar* s, const gchar*
split = (_vala_array_free (split, split_length1, (GDestroyNotify) g_free), NULL);
#line 1076 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 10772 "Dialogs.c"
+#line 10737 "Dialogs.c"
} else {
gchar* _tmp12_ = NULL;
#line 1078 "/home/jens/Source/shotwell/src/Dialogs.vala"
@@ -10794,11 +10759,11 @@ static gchar* entry_multi_completion_get_last_part (const gchar* s, const gchar*
split = (_vala_array_free (split, split_length1, (GDestroyNotify) g_free), NULL);
#line 1078 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 10783 "Dialogs.c"
+#line 10748 "Dialogs.c"
}
#line 1072 "/home/jens/Source/shotwell/src/Dialogs.vala"
split = (_vala_array_free (split, split_length1, (GDestroyNotify) g_free), NULL);
-#line 10787 "Dialogs.c"
+#line 10752 "Dialogs.c"
}
@@ -10811,14 +10776,14 @@ static void entry_multi_completion_class_init (EntryMultiCompletionClass * klass
((GtkEntryCompletionClass *) klass)->match_selected = entry_multi_completion_real_match_selected;
#line 994 "/home/jens/Source/shotwell/src/Dialogs.vala"
G_OBJECT_CLASS (klass)->finalize = entry_multi_completion_finalize;
-#line 10800 "Dialogs.c"
+#line 10765 "Dialogs.c"
}
static void entry_multi_completion_instance_init (EntryMultiCompletion * self) {
#line 994 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv = ENTRY_MULTI_COMPLETION_GET_PRIVATE (self);
-#line 10807 "Dialogs.c"
+#line 10772 "Dialogs.c"
}
@@ -10830,7 +10795,7 @@ static void entry_multi_completion_finalize (GObject* obj) {
_g_free0 (self->priv->delimiter);
#line 994 "/home/jens/Source/shotwell/src/Dialogs.vala"
G_OBJECT_CLASS (entry_multi_completion_parent_class)->finalize (obj);
-#line 10819 "Dialogs.c"
+#line 10784 "Dialogs.c"
}
@@ -10846,515 +10811,95 @@ GType entry_multi_completion_get_type (void) {
}
-static void _set_background_dialog_on_checkbox_clicked_gtk_toggle_button_toggled (GtkToggleButton* _sender, gpointer self) {
-#line 1102 "/home/jens/Source/shotwell/src/Dialogs.vala"
- set_background_dialog_on_checkbox_clicked ((SetBackgroundDialog*) self);
-#line 10838 "Dialogs.c"
-}
-
-
-SetBackgroundDialog* set_background_dialog_construct (GType object_type, GtkBuilder* builder) {
- SetBackgroundDialog* self = NULL;
- GtkBuilder* _tmp0_ = NULL;
- GObject* _tmp1_ = NULL;
- GtkDialog* _tmp2_ = NULL;
- GtkDialog* _tmp3_ = NULL;
- GtkDialog* _tmp4_ = NULL;
- AppWindow* _tmp5_ = NULL;
- AppWindow* _tmp6_ = NULL;
- GdkWindow* _tmp7_ = NULL;
- GtkDialog* _tmp8_ = NULL;
- AppWindow* _tmp9_ = NULL;
- AppWindow* _tmp10_ = NULL;
- GtkDialog* _tmp11_ = NULL;
- GtkBuilder* _tmp12_ = NULL;
- GObject* _tmp13_ = NULL;
- GtkCheckButton* _tmp14_ = NULL;
- GtkCheckButton* _tmp15_ = NULL;
- gboolean _tmp16_ = FALSE;
- GtkCheckButton* _tmp17_ = NULL;
- GtkBuilder* _tmp18_ = NULL;
- GObject* _tmp19_ = NULL;
- GtkCheckButton* _tmp20_ = NULL;
- GtkCheckButton* _tmp21_ = NULL;
- gboolean _tmp22_ = FALSE;
- GtkCheckButton* _tmp23_ = NULL;
- GtkBuilder* _tmp24_ = NULL;
- GObject* _tmp25_ = NULL;
- GtkButton* _tmp26_ = NULL;
+SetBackgroundPhotoDialog* set_background_photo_dialog_construct (GType object_type) {
+ SetBackgroundPhotoDialog * self = NULL;
+ gboolean use_header = FALSE;
+ GtkSettings* _tmp0_ = NULL;
+ gint _tmp1_ = 0;
+ gboolean _tmp2_ = FALSE;
+ AppWindow* _tmp3_ = NULL;
+ AppWindow* _tmp4_ = NULL;
#line 1092 "/home/jens/Source/shotwell/src/Dialogs.vala"
- g_return_val_if_fail (GTK_IS_BUILDER (builder), NULL);
+ _tmp0_ = gtk_settings_get_default ();
#line 1092 "/home/jens/Source/shotwell/src/Dialogs.vala"
- self = (SetBackgroundDialog*) g_type_create_instance (object_type);
-#line 1094 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _tmp0_ = builder;
+ g_object_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, G_TYPE_OBJECT, GObject), "gtk-dialogs-use-header", &use_header, NULL);
+#line 1093 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ _tmp2_ = use_header;
+#line 1093 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ if (_tmp2_) {
+#line 1093 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ _tmp1_ = 1;
+#line 10818 "Dialogs.c"
+ } else {
+#line 1093 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ _tmp1_ = 0;
+#line 10822 "Dialogs.c"
+ }
+#line 1093 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ self = (SetBackgroundPhotoDialog*) g_object_new (object_type, "use-header-bar", _tmp1_, NULL);
#line 1094 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _tmp1_ = gtk_builder_get_object (_tmp0_, "dialog1");
+ _tmp3_ = app_window_get_instance ();
#line 1094 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _tmp2_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, gtk_dialog_get_type ()) ? ((GtkDialog*) _tmp1_) : NULL);
+ _tmp4_ = _tmp3_;
#line 1094 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _g_object_unref0 (self->dialog);
+ gtk_window_set_transient_for (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_window_get_type (), GtkWindow));
#line 1094 "/home/jens/Source/shotwell/src/Dialogs.vala"
- self->dialog = _tmp2_;
-#line 1095 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _tmp3_ = self->dialog;
-#line 1095 "/home/jens/Source/shotwell/src/Dialogs.vala"
- gtk_window_set_type_hint (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_window_get_type (), GtkWindow), GDK_WINDOW_TYPE_HINT_DIALOG);
-#line 1096 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _tmp4_ = self->dialog;
-#line 1096 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _tmp5_ = app_window_get_instance ();
-#line 1096 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _tmp6_ = _tmp5_;
-#line 1096 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _tmp7_ = gtk_widget_get_parent_window (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, gtk_widget_get_type (), GtkWidget));
-#line 1096 "/home/jens/Source/shotwell/src/Dialogs.vala"
- gtk_widget_set_parent_window (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_widget_get_type (), GtkWidget), _tmp7_);
-#line 1096 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _g_object_unref0 (_tmp6_);
-#line 1097 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _tmp8_ = self->dialog;
-#line 1097 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _tmp9_ = app_window_get_instance ();
-#line 1097 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _tmp10_ = _tmp9_;
-#line 1097 "/home/jens/Source/shotwell/src/Dialogs.vala"
- gtk_window_set_transient_for (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, gtk_window_get_type (), GtkWindow), G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, gtk_window_get_type (), GtkWindow));
-#line 1097 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _g_object_unref0 (_tmp10_);
-#line 1098 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _tmp11_ = self->dialog;
+ _g_object_unref0 (_tmp4_);
+#line 1090 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ return self;
+#line 10836 "Dialogs.c"
+}
+
+
+SetBackgroundPhotoDialog* set_background_photo_dialog_new (void) {
+#line 1090 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ return set_background_photo_dialog_construct (TYPE_SET_BACKGROUND_PHOTO_DIALOG);
+#line 10843 "Dialogs.c"
+}
+
+
+static void set_background_photo_dialog_on_checkbox_clicked (SetBackgroundPhotoDialog* self) {
+ gboolean _tmp0_ = FALSE;
+ GtkCheckButton* _tmp1_ = NULL;
+ gboolean _tmp2_ = FALSE;
+ gboolean _tmp3_ = FALSE;
#line 1098 "/home/jens/Source/shotwell/src/Dialogs.vala"
- gtk_dialog_set_default_response (_tmp11_, (gint) GTK_RESPONSE_OK);
+ g_return_if_fail (IS_SET_BACKGROUND_PHOTO_DIALOG (self));
#line 1100 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _tmp12_ = builder;
+ _tmp1_ = self->priv->desktop_background_checkbox;
#line 1100 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _tmp13_ = gtk_builder_get_object (_tmp12_, "desktop_background_checkbox");
+ _tmp2_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_toggle_button_get_type (), GtkToggleButton));
#line 1100 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _tmp14_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp13_, gtk_check_button_get_type ()) ? ((GtkCheckButton*) _tmp13_) : NULL);
+ _tmp3_ = _tmp2_;
#line 1100 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _g_object_unref0 (self->desktop_background_button);
+ if (_tmp3_) {
#line 1100 "/home/jens/Source/shotwell/src/Dialogs.vala"
- self->desktop_background_button = _tmp14_;
+ _tmp0_ = TRUE;
+#line 10864 "Dialogs.c"
+ } else {
+ GtkCheckButton* _tmp4_ = NULL;
+ gboolean _tmp5_ = FALSE;
+ gboolean _tmp6_ = FALSE;
#line 1101 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _tmp15_ = self->desktop_background_button;
+ _tmp4_ = self->priv->screensaver_checkbox;
#line 1101 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _tmp16_ = self->desktop;
+ _tmp5_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_toggle_button_get_type (), GtkToggleButton));
#line 1101 "/home/jens/Source/shotwell/src/Dialogs.vala"
- gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, gtk_toggle_button_get_type (), GtkToggleButton), _tmp16_);
-#line 1102 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _tmp17_ = self->desktop_background_button;
-#line 1102 "/home/jens/Source/shotwell/src/Dialogs.vala"
- g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, gtk_toggle_button_get_type (), GtkToggleButton), "toggled", (GCallback) _set_background_dialog_on_checkbox_clicked_gtk_toggle_button_toggled, self);
-#line 1103 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _tmp18_ = builder;
-#line 1103 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _tmp19_ = gtk_builder_get_object (_tmp18_, "screensaver_checkbox");
-#line 1103 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _tmp20_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp19_, gtk_check_button_get_type ()) ? ((GtkCheckButton*) _tmp19_) : NULL);
-#line 1103 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _g_object_unref0 (self->screensaver_button);
-#line 1103 "/home/jens/Source/shotwell/src/Dialogs.vala"
- self->screensaver_button = _tmp20_;
-#line 1104 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _tmp21_ = self->screensaver_button;
-#line 1104 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _tmp22_ = self->screensaver;
-#line 1104 "/home/jens/Source/shotwell/src/Dialogs.vala"
- gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp21_, gtk_toggle_button_get_type (), GtkToggleButton), _tmp22_);
-#line 1105 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _tmp23_ = self->screensaver_button;
-#line 1105 "/home/jens/Source/shotwell/src/Dialogs.vala"
- g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, gtk_toggle_button_get_type (), GtkToggleButton), "toggled", (GCallback) _set_background_dialog_on_checkbox_clicked_gtk_toggle_button_toggled, self);
-#line 1107 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _tmp24_ = builder;
-#line 1107 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _tmp25_ = gtk_builder_get_object (_tmp24_, "ok_button");
-#line 1107 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _tmp26_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp25_, gtk_button_get_type ()) ? ((GtkButton*) _tmp25_) : NULL);
-#line 1107 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _g_object_unref0 (self->ok_button);
-#line 1107 "/home/jens/Source/shotwell/src/Dialogs.vala"
- self->ok_button = _tmp26_;
-#line 1092 "/home/jens/Source/shotwell/src/Dialogs.vala"
- return self;
-#line 10967 "Dialogs.c"
-}
-
-
-void set_background_dialog_on_checkbox_clicked (SetBackgroundDialog* self) {
- GtkCheckButton* _tmp0_ = NULL;
- gboolean _tmp1_ = FALSE;
- gboolean _tmp2_ = FALSE;
- GtkCheckButton* _tmp3_ = NULL;
- gboolean _tmp4_ = FALSE;
- gboolean _tmp5_ = FALSE;
- gboolean _tmp6_ = FALSE;
- gboolean _tmp7_ = FALSE;
-#line 1110 "/home/jens/Source/shotwell/src/Dialogs.vala"
- g_return_if_fail (IS_SET_BACKGROUND_DIALOG (self));
-#line 1111 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _tmp0_ = self->desktop_background_button;
-#line 1111 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _tmp1_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_toggle_button_get_type (), GtkToggleButton));
-#line 1111 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _tmp2_ = _tmp1_;
-#line 1111 "/home/jens/Source/shotwell/src/Dialogs.vala"
- self->desktop = _tmp2_;
-#line 1112 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _tmp3_ = self->screensaver_button;
-#line 1112 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _tmp4_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_toggle_button_get_type (), GtkToggleButton));
-#line 1112 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _tmp5_ = _tmp4_;
-#line 1112 "/home/jens/Source/shotwell/src/Dialogs.vala"
- self->screensaver = _tmp5_;
-#line 1114 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _tmp7_ = self->desktop;
-#line 1114 "/home/jens/Source/shotwell/src/Dialogs.vala"
- if (!_tmp7_) {
-#line 11002 "Dialogs.c"
- gboolean _tmp8_ = FALSE;
-#line 1114 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _tmp8_ = self->screensaver;
-#line 1114 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _tmp6_ = !_tmp8_;
-#line 11008 "Dialogs.c"
- } else {
-#line 1114 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _tmp6_ = FALSE;
-#line 11012 "Dialogs.c"
- }
-#line 1114 "/home/jens/Source/shotwell/src/Dialogs.vala"
- if (_tmp6_) {
-#line 11016 "Dialogs.c"
- GtkButton* _tmp9_ = NULL;
-#line 1115 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _tmp9_ = self->ok_button;
-#line 1115 "/home/jens/Source/shotwell/src/Dialogs.vala"
- gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_widget_get_type (), GtkWidget), FALSE);
-#line 11022 "Dialogs.c"
- } else {
- GtkButton* _tmp10_ = NULL;
-#line 1117 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _tmp10_ = self->ok_button;
-#line 1117 "/home/jens/Source/shotwell/src/Dialogs.vala"
- gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, gtk_widget_get_type (), GtkWidget), TRUE);
-#line 11029 "Dialogs.c"
- }
-}
-
-
-gboolean set_background_dialog_execute_base (SetBackgroundDialog* self) {
- gboolean result = FALSE;
- GtkDialog* _tmp0_ = NULL;
- gboolean _result_ = FALSE;
- GtkDialog* _tmp1_ = NULL;
- gint _tmp2_ = 0;
- GtkDialog* _tmp3_ = NULL;
-#line 1121 "/home/jens/Source/shotwell/src/Dialogs.vala"
- g_return_val_if_fail (IS_SET_BACKGROUND_DIALOG (self), FALSE);
-#line 1122 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _tmp0_ = self->dialog;
-#line 1122 "/home/jens/Source/shotwell/src/Dialogs.vala"
- gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget));
-#line 1123 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _tmp1_ = self->dialog;
-#line 1123 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _tmp2_ = gtk_dialog_run (_tmp1_);
-#line 1123 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _result_ = _tmp2_ == ((gint) GTK_RESPONSE_OK);
-#line 1124 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _tmp3_ = self->dialog;
-#line 1124 "/home/jens/Source/shotwell/src/Dialogs.vala"
- gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_widget_get_type (), GtkWidget));
-#line 1126 "/home/jens/Source/shotwell/src/Dialogs.vala"
- result = _result_;
-#line 1126 "/home/jens/Source/shotwell/src/Dialogs.vala"
- return result;
-#line 11061 "Dialogs.c"
-}
-
-
-static void value_set_background_dialog_init (GValue* value) {
-#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala"
- value->data[0].v_pointer = NULL;
-#line 11068 "Dialogs.c"
-}
-
-
-static void value_set_background_dialog_free_value (GValue* value) {
-#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala"
- if (value->data[0].v_pointer) {
-#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala"
- set_background_dialog_unref (value->data[0].v_pointer);
-#line 11077 "Dialogs.c"
- }
-}
-
-
-static void value_set_background_dialog_copy_value (const GValue* src_value, GValue* dest_value) {
-#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala"
- if (src_value->data[0].v_pointer) {
-#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala"
- dest_value->data[0].v_pointer = set_background_dialog_ref (src_value->data[0].v_pointer);
-#line 11087 "Dialogs.c"
- } else {
-#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala"
- dest_value->data[0].v_pointer = NULL;
-#line 11091 "Dialogs.c"
- }
-}
-
-
-static gpointer value_set_background_dialog_peek_pointer (const GValue* value) {
-#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala"
- return value->data[0].v_pointer;
-#line 11099 "Dialogs.c"
-}
-
-
-static gchar* value_set_background_dialog_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
-#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala"
- if (collect_values[0].v_pointer) {
-#line 11106 "Dialogs.c"
- SetBackgroundDialog* object;
- object = collect_values[0].v_pointer;
-#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala"
- if (object->parent_instance.g_class == NULL) {
-#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala"
- return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 11113 "Dialogs.c"
- } else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
-#line 1083 "/home/jens/Source/shotwell/src/Dialogs.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 11117 "Dialogs.c"
- }
-#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala"
- value->data[0].v_pointer = set_background_dialog_ref (object);
-#line 11121 "Dialogs.c"
- } else {
-#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala"
- value->data[0].v_pointer = NULL;
-#line 11125 "Dialogs.c"
- }
-#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala"
- return NULL;
-#line 11129 "Dialogs.c"
-}
-
-
-static gchar* value_set_background_dialog_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
- SetBackgroundDialog** object_p;
- object_p = collect_values[0].v_pointer;
-#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala"
- if (!object_p) {
-#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala"
- return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
-#line 11140 "Dialogs.c"
- }
-#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala"
- if (!value->data[0].v_pointer) {
-#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala"
- *object_p = NULL;
-#line 11146 "Dialogs.c"
- } else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
-#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala"
- *object_p = value->data[0].v_pointer;
-#line 11150 "Dialogs.c"
- } else {
-#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala"
- *object_p = set_background_dialog_ref (value->data[0].v_pointer);
-#line 11154 "Dialogs.c"
- }
-#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala"
- return NULL;
-#line 11158 "Dialogs.c"
-}
-
-
-GParamSpec* param_spec_set_background_dialog (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) {
- ParamSpecSetBackgroundDialog* spec;
-#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala"
- g_return_val_if_fail (g_type_is_a (object_type, TYPE_SET_BACKGROUND_DIALOG), NULL);
-#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala"
- spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags);
-#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala"
- G_PARAM_SPEC (spec)->value_type = object_type;
-#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala"
- return G_PARAM_SPEC (spec);
-#line 11172 "Dialogs.c"
-}
-
-
-gpointer value_get_set_background_dialog (const GValue* value) {
-#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala"
- g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_SET_BACKGROUND_DIALOG), NULL);
-#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala"
- return value->data[0].v_pointer;
-#line 11181 "Dialogs.c"
-}
-
-
-void value_set_set_background_dialog (GValue* value, gpointer v_object) {
- SetBackgroundDialog* old;
-#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala"
- g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_SET_BACKGROUND_DIALOG));
-#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala"
- old = value->data[0].v_pointer;
-#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala"
- if (v_object) {
-#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala"
- g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TYPE_SET_BACKGROUND_DIALOG));
-#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala"
- g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
-#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala"
- value->data[0].v_pointer = v_object;
-#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala"
- set_background_dialog_ref (value->data[0].v_pointer);
-#line 11201 "Dialogs.c"
- } else {
-#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala"
- value->data[0].v_pointer = NULL;
-#line 11205 "Dialogs.c"
- }
-#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala"
- if (old) {
-#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala"
- set_background_dialog_unref (old);
-#line 11211 "Dialogs.c"
- }
-}
-
-
-void value_take_set_background_dialog (GValue* value, gpointer v_object) {
- SetBackgroundDialog* old;
-#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala"
- g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_SET_BACKGROUND_DIALOG));
-#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala"
- old = value->data[0].v_pointer;
-#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala"
- if (v_object) {
-#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala"
- g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TYPE_SET_BACKGROUND_DIALOG));
-#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala"
- g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
-#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala"
- value->data[0].v_pointer = v_object;
-#line 11230 "Dialogs.c"
- } else {
-#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala"
- value->data[0].v_pointer = NULL;
-#line 11234 "Dialogs.c"
- }
-#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala"
- if (old) {
-#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala"
- set_background_dialog_unref (old);
-#line 11240 "Dialogs.c"
+ _tmp6_ = _tmp5_;
+#line 1101 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ _tmp0_ = _tmp6_;
+#line 10877 "Dialogs.c"
}
+#line 1099 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ gtk_dialog_set_response_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), (gint) GTK_RESPONSE_OK, _tmp0_);
+#line 10881 "Dialogs.c"
}
-static void set_background_dialog_class_init (SetBackgroundDialogClass * klass) {
-#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala"
- set_background_dialog_parent_class = g_type_class_peek_parent (klass);
-#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala"
- ((SetBackgroundDialogClass *) klass)->finalize = set_background_dialog_finalize;
-#line 11250 "Dialogs.c"
-}
-
-
-static void set_background_dialog_instance_init (SetBackgroundDialog * self) {
-#line 1089 "/home/jens/Source/shotwell/src/Dialogs.vala"
- self->desktop = TRUE;
-#line 1090 "/home/jens/Source/shotwell/src/Dialogs.vala"
- self->screensaver = FALSE;
-#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala"
- self->ref_count = 1;
-#line 11261 "Dialogs.c"
-}
-
-
-static void set_background_dialog_finalize (SetBackgroundDialog* obj) {
- SetBackgroundDialog * self;
-#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala"
- self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_SET_BACKGROUND_DIALOG, SetBackgroundDialog);
-#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala"
- g_signal_handlers_destroy (self);
+static void _set_background_photo_dialog_on_checkbox_clicked_gtk_toggle_button_toggled (GtkToggleButton* _sender, gpointer self) {
#line 1084 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _g_object_unref0 (self->dialog);
-#line 1085 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _g_object_unref0 (self->desktop_background_button);
-#line 1086 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _g_object_unref0 (self->screensaver_button);
-#line 1087 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _g_object_unref0 (self->ok_button);
-#line 11279 "Dialogs.c"
-}
-
-
-GType set_background_dialog_get_type (void) {
- static volatile gsize set_background_dialog_type_id__volatile = 0;
- if (g_once_init_enter (&set_background_dialog_type_id__volatile)) {
- static const GTypeValueTable g_define_type_value_table = { value_set_background_dialog_init, value_set_background_dialog_free_value, value_set_background_dialog_copy_value, value_set_background_dialog_peek_pointer, "p", value_set_background_dialog_collect_value, "p", value_set_background_dialog_lcopy_value };
- static const GTypeInfo g_define_type_info = { sizeof (SetBackgroundDialogClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) set_background_dialog_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (SetBackgroundDialog), 0, (GInstanceInitFunc) set_background_dialog_instance_init, &g_define_type_value_table };
- static const GTypeFundamentalInfo g_define_type_fundamental_info = { (G_TYPE_FLAG_CLASSED | G_TYPE_FLAG_INSTANTIATABLE | G_TYPE_FLAG_DERIVABLE | G_TYPE_FLAG_DEEP_DERIVABLE) };
- GType set_background_dialog_type_id;
- set_background_dialog_type_id = g_type_register_fundamental (g_type_fundamental_next (), "SetBackgroundDialog", &g_define_type_info, &g_define_type_fundamental_info, G_TYPE_FLAG_ABSTRACT);
- g_once_init_leave (&set_background_dialog_type_id__volatile, set_background_dialog_type_id);
- }
- return set_background_dialog_type_id__volatile;
-}
-
-
-gpointer set_background_dialog_ref (gpointer instance) {
- SetBackgroundDialog* self;
- self = instance;
-#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala"
- g_atomic_int_inc (&self->ref_count);
-#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala"
- return instance;
-#line 11304 "Dialogs.c"
-}
-
-
-void set_background_dialog_unref (gpointer instance) {
- SetBackgroundDialog* self;
- self = instance;
-#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala"
- if (g_atomic_int_dec_and_test (&self->ref_count)) {
-#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala"
- SET_BACKGROUND_DIALOG_GET_CLASS (self)->finalize (self);
-#line 1083 "/home/jens/Source/shotwell/src/Dialogs.vala"
- g_type_free_instance ((GTypeInstance *) self);
-#line 11317 "Dialogs.c"
- }
-}
-
-
-SetBackgroundPhotoDialog* set_background_photo_dialog_construct (GType object_type) {
- SetBackgroundPhotoDialog* self = NULL;
- GtkBuilder* builder = NULL;
- GtkBuilder* _tmp0_ = NULL;
-#line 1133 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _tmp0_ = app_window_create_builder ("set_background_dialog.ui", self);
-#line 1133 "/home/jens/Source/shotwell/src/Dialogs.vala"
- builder = _tmp0_;
-#line 1134 "/home/jens/Source/shotwell/src/Dialogs.vala"
- self = (SetBackgroundPhotoDialog*) set_background_dialog_construct (object_type, builder);
-#line 1132 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _g_object_unref0 (builder);
-#line 1132 "/home/jens/Source/shotwell/src/Dialogs.vala"
- return self;
-#line 11336 "Dialogs.c"
-}
-
-
-SetBackgroundPhotoDialog* set_background_photo_dialog_new (void) {
-#line 1132 "/home/jens/Source/shotwell/src/Dialogs.vala"
- return set_background_photo_dialog_construct (TYPE_SET_BACKGROUND_PHOTO_DIALOG);
-#line 11343 "Dialogs.c"
+ set_background_photo_dialog_on_checkbox_clicked ((SetBackgroundPhotoDialog*) self);
+#line 10888 "Dialogs.c"
}
@@ -11363,51 +10908,103 @@ gboolean set_background_photo_dialog_execute (SetBackgroundPhotoDialog* self, gb
gboolean _vala_screensaver = FALSE;
gboolean result = FALSE;
gboolean _result_ = FALSE;
- gboolean _tmp0_ = FALSE;
- gboolean _tmp1_ = FALSE;
+ gint _tmp0_ = 0;
+ GtkCheckButton* _tmp1_ = NULL;
gboolean _tmp2_ = FALSE;
-#line 1137 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ gboolean _tmp3_ = FALSE;
+ GtkCheckButton* _tmp4_ = NULL;
+ gboolean _tmp5_ = FALSE;
+ gboolean _tmp6_ = FALSE;
+#line 1104 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_val_if_fail (IS_SET_BACKGROUND_PHOTO_DIALOG (self), FALSE);
-#line 1138 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _tmp0_ = set_background_dialog_execute_base (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SET_BACKGROUND_DIALOG, SetBackgroundDialog));
-#line 1138 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _result_ = _tmp0_;
-#line 1140 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _tmp1_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SET_BACKGROUND_DIALOG, SetBackgroundDialog)->desktop;
-#line 1140 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _vala_desktop_background = _tmp1_;
-#line 1141 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _tmp2_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SET_BACKGROUND_DIALOG, SetBackgroundDialog)->screensaver;
-#line 1141 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _vala_screensaver = _tmp2_;
-#line 1143 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1105 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
+#line 1106 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ _tmp0_ = gtk_dialog_run (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog));
+#line 1106 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ _result_ = _tmp0_ == ((gint) GTK_RESPONSE_OK);
+#line 1107 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ gtk_widget_hide (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
+#line 1109 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ _tmp1_ = self->priv->desktop_background_checkbox;
+#line 1109 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ _tmp2_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_toggle_button_get_type (), GtkToggleButton));
+#line 1109 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ _tmp3_ = _tmp2_;
+#line 1109 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ _vala_desktop_background = _tmp3_;
+#line 1110 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ _tmp4_ = self->priv->screensaver_checkbox;
+#line 1110 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ _tmp5_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_toggle_button_get_type (), GtkToggleButton));
+#line 1110 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ _tmp6_ = _tmp5_;
+#line 1110 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ _vala_screensaver = _tmp6_;
+#line 1112 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
+#line 1113 "/home/jens/Source/shotwell/src/Dialogs.vala"
result = _result_;
-#line 1143 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1113 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (desktop_background) {
-#line 1143 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1113 "/home/jens/Source/shotwell/src/Dialogs.vala"
*desktop_background = _vala_desktop_background;
-#line 11375 "Dialogs.c"
+#line 10938 "Dialogs.c"
}
-#line 1143 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1113 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (screensaver) {
-#line 1143 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1113 "/home/jens/Source/shotwell/src/Dialogs.vala"
*screensaver = _vala_screensaver;
-#line 11381 "Dialogs.c"
+#line 10944 "Dialogs.c"
}
-#line 1143 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1113 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 11385 "Dialogs.c"
+#line 10948 "Dialogs.c"
}
static void set_background_photo_dialog_class_init (SetBackgroundPhotoDialogClass * klass) {
-#line 1130 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ gint SetBackgroundPhotoDialog_private_offset;
+#line 1084 "/home/jens/Source/shotwell/src/Dialogs.vala"
set_background_photo_dialog_parent_class = g_type_class_peek_parent (klass);
-#line 11392 "Dialogs.c"
+#line 1084 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ g_type_class_add_private (klass, sizeof (SetBackgroundPhotoDialogPrivate));
+#line 1084 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ G_OBJECT_CLASS (klass)->finalize = set_background_photo_dialog_finalize;
+#line 1084 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ SetBackgroundPhotoDialog_private_offset = g_type_class_get_instance_private_offset (klass);
+#line 1084 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ gtk_widget_class_set_template_from_resource (GTK_WIDGET_CLASS (klass), "/org/gnome/Shotwell/ui/set_background_dialog.ui");
+#line 1084 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "desktop_background_checkbox", FALSE, SetBackgroundPhotoDialog_private_offset + G_STRUCT_OFFSET (SetBackgroundPhotoDialogPrivate, desktop_background_checkbox));
+#line 1084 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "screensaver_checkbox", FALSE, SetBackgroundPhotoDialog_private_offset + G_STRUCT_OFFSET (SetBackgroundPhotoDialogPrivate, screensaver_checkbox));
+#line 1084 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "on_checkbox_clicked", G_CALLBACK(_set_background_photo_dialog_on_checkbox_clicked_gtk_toggle_button_toggled));
+#line 10970 "Dialogs.c"
}
static void set_background_photo_dialog_instance_init (SetBackgroundPhotoDialog * self) {
+#line 1084 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ self->priv = SET_BACKGROUND_PHOTO_DIALOG_GET_PRIVATE (self);
+#line 1084 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ gtk_widget_init_template (GTK_WIDGET (self));
+#line 10979 "Dialogs.c"
+}
+
+
+static void set_background_photo_dialog_finalize (GObject* obj) {
+ SetBackgroundPhotoDialog * self;
+#line 1084 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_SET_BACKGROUND_PHOTO_DIALOG, SetBackgroundPhotoDialog);
+#line 1086 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ _g_object_unref0 (self->priv->desktop_background_checkbox);
+#line 1088 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ _g_object_unref0 (self->priv->screensaver_checkbox);
+#line 1084 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ G_OBJECT_CLASS (set_background_photo_dialog_parent_class)->finalize (obj);
+#line 10993 "Dialogs.c"
}
@@ -11416,78 +11013,112 @@ GType set_background_photo_dialog_get_type (void) {
if (g_once_init_enter (&set_background_photo_dialog_type_id__volatile)) {
static const GTypeInfo g_define_type_info = { sizeof (SetBackgroundPhotoDialogClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) set_background_photo_dialog_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (SetBackgroundPhotoDialog), 0, (GInstanceInitFunc) set_background_photo_dialog_instance_init, NULL };
GType set_background_photo_dialog_type_id;
- set_background_photo_dialog_type_id = g_type_register_static (TYPE_SET_BACKGROUND_DIALOG, "SetBackgroundPhotoDialog", &g_define_type_info, 0);
+ set_background_photo_dialog_type_id = g_type_register_static (gtk_dialog_get_type (), "SetBackgroundPhotoDialog", &g_define_type_info, 0);
g_once_init_leave (&set_background_photo_dialog_type_id__volatile, set_background_photo_dialog_type_id);
}
return set_background_photo_dialog_type_id__volatile;
}
-static void _set_background_slideshow_dialog_on_delay_scale_value_changed_gtk_range_value_changed (GtkRange* _sender, gpointer self) {
-#line 1159 "/home/jens/Source/shotwell/src/Dialogs.vala"
- set_background_slideshow_dialog_on_delay_scale_value_changed ((SetBackgroundSlideshowDialog*) self);
-#line 11415 "Dialogs.c"
-}
-
-
SetBackgroundSlideshowDialog* set_background_slideshow_dialog_construct (GType object_type) {
- SetBackgroundSlideshowDialog* self = NULL;
- GtkBuilder* builder = NULL;
- GtkBuilder* _tmp0_ = NULL;
- GObject* _tmp1_ = NULL;
- GtkLabel* _tmp2_ = NULL;
- GObject* _tmp3_ = NULL;
- GtkScale* _tmp4_ = NULL;
- GtkScale* _tmp5_ = NULL;
- GtkScale* _tmp6_ = NULL;
- GtkAdjustment* _tmp7_ = NULL;
- GtkAdjustment* _tmp8_ = NULL;
-#line 1153 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _tmp0_ = app_window_create_builder ("set_background_slideshow_dialog.ui", self);
-#line 1153 "/home/jens/Source/shotwell/src/Dialogs.vala"
- builder = _tmp0_;
-#line 1154 "/home/jens/Source/shotwell/src/Dialogs.vala"
- self = (SetBackgroundSlideshowDialog*) set_background_dialog_construct (object_type, builder);
-#line 1156 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _tmp1_ = gtk_builder_get_object (builder, "delay_value_label");
-#line 1156 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _tmp2_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, gtk_label_get_type ()) ? ((GtkLabel*) _tmp1_) : NULL);
-#line 1156 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _g_object_unref0 (self->priv->delay_value_label);
-#line 1156 "/home/jens/Source/shotwell/src/Dialogs.vala"
- self->priv->delay_value_label = _tmp2_;
-#line 1158 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _tmp3_ = gtk_builder_get_object (builder, "delay_scale");
-#line 1158 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _tmp4_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp3_, gtk_scale_get_type ()) ? ((GtkScale*) _tmp3_) : NULL);
-#line 1158 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _g_object_unref0 (self->priv->delay_scale);
-#line 1158 "/home/jens/Source/shotwell/src/Dialogs.vala"
- self->priv->delay_scale = _tmp4_;
-#line 1159 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _tmp5_ = self->priv->delay_scale;
-#line 1159 "/home/jens/Source/shotwell/src/Dialogs.vala"
- g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_range_get_type (), GtkRange), "value-changed", (GCallback) _set_background_slideshow_dialog_on_delay_scale_value_changed_gtk_range_value_changed, self);
-#line 1160 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _tmp6_ = self->priv->delay_scale;
-#line 1160 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _tmp7_ = gtk_range_get_adjustment (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, gtk_range_get_type (), GtkRange));
-#line 1160 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _tmp8_ = _tmp7_;
-#line 1160 "/home/jens/Source/shotwell/src/Dialogs.vala"
- gtk_adjustment_set_value (_tmp8_, (gdouble) 50);
-#line 1152 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _g_object_unref0 (builder);
-#line 1152 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ SetBackgroundSlideshowDialog * self = NULL;
+ gboolean use_header = FALSE;
+ GtkSettings* _tmp0_ = NULL;
+ gint _tmp1_ = 0;
+ gboolean _tmp2_ = FALSE;
+ AppWindow* _tmp3_ = NULL;
+ AppWindow* _tmp4_ = NULL;
+#line 1132 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ _tmp0_ = gtk_settings_get_default ();
+#line 1132 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ g_object_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, G_TYPE_OBJECT, GObject), "gtk-dialogs-use-header", &use_header, NULL);
+#line 1133 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ _tmp2_ = use_header;
+#line 1133 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ if (_tmp2_) {
+#line 1133 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ _tmp1_ = 1;
+#line 11027 "Dialogs.c"
+ } else {
+#line 1133 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ _tmp1_ = 0;
+#line 11031 "Dialogs.c"
+ }
+#line 1133 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ self = (SetBackgroundSlideshowDialog*) g_object_new (object_type, "use-header-bar", _tmp1_, NULL);
+#line 1134 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ _tmp3_ = app_window_get_instance ();
+#line 1134 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ _tmp4_ = _tmp3_;
+#line 1134 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ gtk_window_set_transient_for (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_window_get_type (), GtkWindow));
+#line 1134 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ _g_object_unref0 (_tmp4_);
+#line 1130 "/home/jens/Source/shotwell/src/Dialogs.vala"
return self;
-#line 11469 "Dialogs.c"
+#line 11045 "Dialogs.c"
}
SetBackgroundSlideshowDialog* set_background_slideshow_dialog_new (void) {
-#line 1152 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1130 "/home/jens/Source/shotwell/src/Dialogs.vala"
return set_background_slideshow_dialog_construct (TYPE_SET_BACKGROUND_SLIDESHOW_DIALOG);
-#line 11476 "Dialogs.c"
+#line 11052 "Dialogs.c"
+}
+
+
+static void set_background_slideshow_dialog_real_constructed (GObject* base) {
+ SetBackgroundSlideshowDialog * self;
+#line 1137 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_SET_BACKGROUND_SLIDESHOW_DIALOG, SetBackgroundSlideshowDialog);
+#line 1138 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ set_background_slideshow_dialog_on_delay_scale_value_changed (self);
+#line 11062 "Dialogs.c"
+}
+
+
+static void set_background_slideshow_dialog_on_checkbox_clicked (SetBackgroundSlideshowDialog* self) {
+ gboolean _tmp0_ = FALSE;
+ GtkCheckButton* _tmp1_ = NULL;
+ gboolean _tmp2_ = FALSE;
+ gboolean _tmp3_ = FALSE;
+#line 1142 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ g_return_if_fail (IS_SET_BACKGROUND_SLIDESHOW_DIALOG (self));
+#line 1144 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ _tmp1_ = self->priv->desktop_background_checkbox;
+#line 1144 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ _tmp2_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_toggle_button_get_type (), GtkToggleButton));
+#line 1144 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ _tmp3_ = _tmp2_;
+#line 1144 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ if (_tmp3_) {
+#line 1144 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ _tmp0_ = TRUE;
+#line 11083 "Dialogs.c"
+ } else {
+ GtkCheckButton* _tmp4_ = NULL;
+ gboolean _tmp5_ = FALSE;
+ gboolean _tmp6_ = FALSE;
+#line 1145 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ _tmp4_ = self->priv->screensaver_checkbox;
+#line 1145 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ _tmp5_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_toggle_button_get_type (), GtkToggleButton));
+#line 1145 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ _tmp6_ = _tmp5_;
+#line 1145 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ _tmp0_ = _tmp6_;
+#line 11096 "Dialogs.c"
+ }
+#line 1143 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ gtk_dialog_set_response_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), (gint) GTK_RESPONSE_OK, _tmp0_);
+#line 11100 "Dialogs.c"
+}
+
+
+static void _set_background_slideshow_dialog_on_checkbox_clicked_gtk_toggle_button_toggled (GtkToggleButton* _sender, gpointer self) {
+#line 1118 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ set_background_slideshow_dialog_on_checkbox_clicked ((SetBackgroundSlideshowDialog*) self);
+#line 11107 "Dialogs.c"
}
@@ -11505,57 +11136,57 @@ static void set_background_slideshow_dialog_on_delay_scale_value_changed (SetBac
gint _tmp8_ = 0;
GtkLabel* _tmp29_ = NULL;
const gchar* _tmp30_ = NULL;
-#line 1163 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1149 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_if_fail (IS_SET_BACKGROUND_SLIDESHOW_DIALOG (self));
-#line 1164 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1150 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = self->priv->delay_scale;
-#line 1164 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1150 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = gtk_range_get_adjustment (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_range_get_type (), GtkRange));
-#line 1164 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1150 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp2_ = _tmp1_;
-#line 1164 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1150 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp3_ = gtk_adjustment_get_value (_tmp2_);
-#line 1164 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1150 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp4_ = _tmp3_;
-#line 1164 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1150 "/home/jens/Source/shotwell/src/Dialogs.vala"
value = _tmp4_;
-#line 1169 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1155 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp5_ = value;
-#line 1169 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1155 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp6_ = pow (_tmp5_, (gdouble) 5);
-#line 1169 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1155 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp7_ = pow ((gdouble) 90, (gdouble) 5);
-#line 1169 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1155 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->delay_value = (gint) (((((_tmp6_ / _tmp7_) * 60) * 60) * 24) + 5);
-#line 1173 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1159 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp8_ = self->priv->delay_value;
-#line 1173 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1159 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp8_ < 60) {
-#line 11520 "Dialogs.c"
+#line 11151 "Dialogs.c"
gint _tmp9_ = 0;
const gchar* _tmp10_ = NULL;
gint _tmp11_ = 0;
gchar* _tmp12_ = NULL;
-#line 1174 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1160 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp9_ = self->priv->delay_value;
-#line 1174 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1160 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp10_ = ngettext ("%d second", "%d seconds", (gulong) _tmp9_);
-#line 1174 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1160 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp11_ = self->priv->delay_value;
-#line 1174 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1160 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp12_ = g_strdup_printf (_tmp10_, _tmp11_);
-#line 1174 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1160 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (text);
-#line 1174 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1160 "/home/jens/Source/shotwell/src/Dialogs.vala"
text = _tmp12_;
-#line 11537 "Dialogs.c"
+#line 11168 "Dialogs.c"
} else {
gint _tmp13_ = 0;
-#line 1175 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1161 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp13_ = self->priv->delay_value;
-#line 1175 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1161 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp13_ < (60 * 60)) {
-#line 11544 "Dialogs.c"
+#line 11175 "Dialogs.c"
gint minutes = 0;
gint _tmp14_ = 0;
gint _tmp15_ = 0;
@@ -11563,34 +11194,34 @@ static void set_background_slideshow_dialog_on_delay_scale_value_changed (SetBac
gint _tmp17_ = 0;
gchar* _tmp18_ = NULL;
gint _tmp19_ = 0;
-#line 1176 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1162 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp14_ = self->priv->delay_value;
-#line 1176 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1162 "/home/jens/Source/shotwell/src/Dialogs.vala"
minutes = _tmp14_ / 60;
-#line 1177 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1163 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp15_ = minutes;
-#line 1177 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1163 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp16_ = ngettext ("%d minute", "%d minutes", (gulong) _tmp15_);
-#line 1177 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1163 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp17_ = minutes;
-#line 1177 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1163 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp18_ = g_strdup_printf (_tmp16_, _tmp17_);
-#line 1177 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1163 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (text);
-#line 1177 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1163 "/home/jens/Source/shotwell/src/Dialogs.vala"
text = _tmp18_;
-#line 1178 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1164 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp19_ = minutes;
-#line 1178 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1164 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->delay_value = _tmp19_ * 60;
-#line 11572 "Dialogs.c"
+#line 11203 "Dialogs.c"
} else {
gint _tmp20_ = 0;
-#line 1179 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1165 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp20_ = self->priv->delay_value;
-#line 1179 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1165 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp20_ < ((60 * 60) * 24)) {
-#line 11579 "Dialogs.c"
+#line 11210 "Dialogs.c"
gint hours = 0;
gint _tmp21_ = 0;
gint _tmp22_ = 0;
@@ -11598,53 +11229,60 @@ static void set_background_slideshow_dialog_on_delay_scale_value_changed (SetBac
gint _tmp24_ = 0;
gchar* _tmp25_ = NULL;
gint _tmp26_ = 0;
-#line 1180 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1166 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp21_ = self->priv->delay_value;
-#line 1180 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1166 "/home/jens/Source/shotwell/src/Dialogs.vala"
hours = _tmp21_ / (60 * 60);
-#line 1181 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1167 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp22_ = hours;
-#line 1181 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1167 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp23_ = ngettext ("%d hour", "%d hours", (gulong) _tmp22_);
-#line 1181 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1167 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp24_ = hours;
-#line 1181 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1167 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp25_ = g_strdup_printf (_tmp23_, _tmp24_);
-#line 1181 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1167 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (text);
-#line 1181 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1167 "/home/jens/Source/shotwell/src/Dialogs.vala"
text = _tmp25_;
-#line 1182 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1168 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp26_ = hours;
-#line 1182 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1168 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->delay_value = _tmp26_ * (60 * 60);
-#line 11607 "Dialogs.c"
+#line 11238 "Dialogs.c"
} else {
const gchar* _tmp27_ = NULL;
gchar* _tmp28_ = NULL;
-#line 1184 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1170 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp27_ = _ ("1 day");
-#line 1184 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1170 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp28_ = g_strdup (_tmp27_);
-#line 1184 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1170 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (text);
-#line 1184 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1170 "/home/jens/Source/shotwell/src/Dialogs.vala"
text = _tmp28_;
-#line 1185 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1171 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->delay_value = (60 * 60) * 24;
-#line 11621 "Dialogs.c"
+#line 11252 "Dialogs.c"
}
}
}
-#line 1188 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1174 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp29_ = self->priv->delay_value_label;
-#line 1188 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1174 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp30_ = text;
-#line 1188 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1174 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_label_set_label (_tmp29_, _tmp30_);
-#line 1163 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1149 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (text);
-#line 11633 "Dialogs.c"
+#line 11264 "Dialogs.c"
+}
+
+
+static void _set_background_slideshow_dialog_on_delay_scale_value_changed_gtk_range_value_changed (GtkRange* _sender, gpointer self) {
+#line 1118 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ set_background_slideshow_dialog_on_delay_scale_value_changed ((SetBackgroundSlideshowDialog*) self);
+#line 11271 "Dialogs.c"
}
@@ -11654,85 +11292,128 @@ gboolean set_background_slideshow_dialog_execute (SetBackgroundSlideshowDialog*
gboolean _vala_screensaver = FALSE;
gboolean result = FALSE;
gboolean _result_ = FALSE;
- gboolean _tmp0_ = FALSE;
+ gint _tmp0_ = 0;
gint _tmp1_ = 0;
- gboolean _tmp2_ = FALSE;
+ GtkCheckButton* _tmp2_ = NULL;
gboolean _tmp3_ = FALSE;
-#line 1191 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ gboolean _tmp4_ = FALSE;
+ GtkCheckButton* _tmp5_ = NULL;
+ gboolean _tmp6_ = FALSE;
+ gboolean _tmp7_ = FALSE;
+#line 1177 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_val_if_fail (IS_SET_BACKGROUND_SLIDESHOW_DIALOG (self), FALSE);
-#line 1192 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _tmp0_ = set_background_dialog_execute_base (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SET_BACKGROUND_DIALOG, SetBackgroundDialog));
-#line 1192 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _result_ = _tmp0_;
-#line 1194 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1178 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
+#line 1179 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ _tmp0_ = gtk_dialog_run (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog));
+#line 1179 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ _result_ = _tmp0_ == ((gint) GTK_RESPONSE_OK);
+#line 1180 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ gtk_widget_hide (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
+#line 1182 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = self->priv->delay_value;
-#line 1194 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1182 "/home/jens/Source/shotwell/src/Dialogs.vala"
_vala_delay_value = _tmp1_;
-#line 1195 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _tmp2_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SET_BACKGROUND_DIALOG, SetBackgroundDialog)->desktop;
-#line 1195 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _vala_desktop_background = _tmp2_;
-#line 1196 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _tmp3_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SET_BACKGROUND_DIALOG, SetBackgroundDialog)->screensaver;
-#line 1196 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _vala_screensaver = _tmp3_;
-#line 1198 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1183 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ _tmp2_ = self->priv->desktop_background_checkbox;
+#line 1183 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ _tmp3_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_toggle_button_get_type (), GtkToggleButton));
+#line 1183 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ _tmp4_ = _tmp3_;
+#line 1183 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ _vala_desktop_background = _tmp4_;
+#line 1184 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ _tmp5_ = self->priv->screensaver_checkbox;
+#line 1184 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ _tmp6_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_toggle_button_get_type (), GtkToggleButton));
+#line 1184 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ _tmp7_ = _tmp6_;
+#line 1184 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ _vala_screensaver = _tmp7_;
+#line 1186 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
+#line 1187 "/home/jens/Source/shotwell/src/Dialogs.vala"
result = _result_;
-#line 1198 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1187 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (delay_value) {
-#line 1198 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1187 "/home/jens/Source/shotwell/src/Dialogs.vala"
*delay_value = _vala_delay_value;
-#line 11671 "Dialogs.c"
+#line 11327 "Dialogs.c"
}
-#line 1198 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1187 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (desktop_background) {
-#line 1198 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1187 "/home/jens/Source/shotwell/src/Dialogs.vala"
*desktop_background = _vala_desktop_background;
-#line 11677 "Dialogs.c"
+#line 11333 "Dialogs.c"
}
-#line 1198 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1187 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (screensaver) {
-#line 1198 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1187 "/home/jens/Source/shotwell/src/Dialogs.vala"
*screensaver = _vala_screensaver;
-#line 11683 "Dialogs.c"
+#line 11339 "Dialogs.c"
}
-#line 1198 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1187 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 11687 "Dialogs.c"
+#line 11343 "Dialogs.c"
}
static void set_background_slideshow_dialog_class_init (SetBackgroundSlideshowDialogClass * klass) {
-#line 1147 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ gint SetBackgroundSlideshowDialog_private_offset;
+#line 1118 "/home/jens/Source/shotwell/src/Dialogs.vala"
set_background_slideshow_dialog_parent_class = g_type_class_peek_parent (klass);
-#line 1147 "/home/jens/Source/shotwell/src/Dialogs.vala"
- ((SetBackgroundDialogClass *) klass)->finalize = set_background_slideshow_dialog_finalize;
-#line 1147 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1118 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_type_class_add_private (klass, sizeof (SetBackgroundSlideshowDialogPrivate));
-#line 11698 "Dialogs.c"
+#line 1118 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ ((GObjectClass *) klass)->constructed = set_background_slideshow_dialog_real_constructed;
+#line 1118 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ G_OBJECT_CLASS (klass)->finalize = set_background_slideshow_dialog_finalize;
+#line 1118 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ SetBackgroundSlideshowDialog_private_offset = g_type_class_get_instance_private_offset (klass);
+#line 1118 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ gtk_widget_class_set_template_from_resource (GTK_WIDGET_CLASS (klass), "/org/gnome/Shotwell/ui/set_background_slideshow_dialog.ui");
+#line 1118 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "desktop_background_checkbox", FALSE, SetBackgroundSlideshowDialog_private_offset + G_STRUCT_OFFSET (SetBackgroundSlideshowDialogPrivate, desktop_background_checkbox));
+#line 1118 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "screensaver_checkbox", FALSE, SetBackgroundSlideshowDialog_private_offset + G_STRUCT_OFFSET (SetBackgroundSlideshowDialogPrivate, screensaver_checkbox));
+#line 1118 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "delay_scale", FALSE, SetBackgroundSlideshowDialog_private_offset + G_STRUCT_OFFSET (SetBackgroundSlideshowDialogPrivate, delay_scale));
+#line 1118 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ gtk_widget_class_bind_template_child_full (GTK_WIDGET_CLASS (klass), "delay_value_label", FALSE, SetBackgroundSlideshowDialog_private_offset + G_STRUCT_OFFSET (SetBackgroundSlideshowDialogPrivate, delay_value_label));
+#line 1118 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "on_checkbox_clicked", G_CALLBACK(_set_background_slideshow_dialog_on_checkbox_clicked_gtk_toggle_button_toggled));
+#line 1118 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (klass), "on_delay_scale_value_changed", G_CALLBACK(_set_background_slideshow_dialog_on_delay_scale_value_changed_gtk_range_value_changed));
+#line 11373 "Dialogs.c"
}
static void set_background_slideshow_dialog_instance_init (SetBackgroundSlideshowDialog * self) {
-#line 1147 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1118 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv = SET_BACKGROUND_SLIDESHOW_DIALOG_GET_PRIVATE (self);
-#line 1150 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1128 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->delay_value = 0;
-#line 11707 "Dialogs.c"
+#line 1118 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ gtk_widget_init_template (GTK_WIDGET (self));
+#line 11384 "Dialogs.c"
}
-static void set_background_slideshow_dialog_finalize (SetBackgroundDialog* obj) {
+static void set_background_slideshow_dialog_finalize (GObject* obj) {
SetBackgroundSlideshowDialog * self;
-#line 1147 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1118 "/home/jens/Source/shotwell/src/Dialogs.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_SET_BACKGROUND_SLIDESHOW_DIALOG, SetBackgroundSlideshowDialog);
-#line 1148 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _g_object_unref0 (self->priv->delay_value_label);
-#line 1149 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1120 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ _g_object_unref0 (self->priv->desktop_background_checkbox);
+#line 1122 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ _g_object_unref0 (self->priv->screensaver_checkbox);
+#line 1124 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->delay_scale);
-#line 1147 "/home/jens/Source/shotwell/src/Dialogs.vala"
- SET_BACKGROUND_DIALOG_CLASS (set_background_slideshow_dialog_parent_class)->finalize (obj);
-#line 11721 "Dialogs.c"
+#line 1126 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ _g_object_unref0 (self->priv->delay_value_label);
+#line 1118 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ G_OBJECT_CLASS (set_background_slideshow_dialog_parent_class)->finalize (obj);
+#line 11402 "Dialogs.c"
}
@@ -11741,7 +11422,7 @@ GType set_background_slideshow_dialog_get_type (void) {
if (g_once_init_enter (&set_background_slideshow_dialog_type_id__volatile)) {
static const GTypeInfo g_define_type_info = { sizeof (SetBackgroundSlideshowDialogClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) set_background_slideshow_dialog_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (SetBackgroundSlideshowDialog), 0, (GInstanceInitFunc) set_background_slideshow_dialog_instance_init, NULL };
GType set_background_slideshow_dialog_type_id;
- set_background_slideshow_dialog_type_id = g_type_register_static (TYPE_SET_BACKGROUND_DIALOG, "SetBackgroundSlideshowDialog", &g_define_type_info, 0);
+ set_background_slideshow_dialog_type_id = g_type_register_static (gtk_dialog_get_type (), "SetBackgroundSlideshowDialog", &g_define_type_info, 0);
g_once_init_leave (&set_background_slideshow_dialog_type_id__volatile, set_background_slideshow_dialog_type_id);
}
return set_background_slideshow_dialog_type_id__volatile;
@@ -11754,60 +11435,60 @@ TextEntryDialog* text_entry_dialog_construct (GType object_type) {
GtkSettings* _tmp0_ = NULL;
gint _tmp1_ = 0;
gboolean _tmp2_ = FALSE;
-#line 1213 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1203 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = gtk_settings_get_default ();
-#line 1213 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1203 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_object_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, G_TYPE_OBJECT, GObject), "gtk-dialogs-use-header", &use_header, NULL);
-#line 1214 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1204 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp2_ = use_header;
-#line 1214 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1204 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp2_) {
-#line 1214 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1204 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = 1;
-#line 11753 "Dialogs.c"
+#line 11434 "Dialogs.c"
} else {
-#line 1214 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1204 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = 0;
-#line 11757 "Dialogs.c"
+#line 11438 "Dialogs.c"
}
-#line 1214 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1204 "/home/jens/Source/shotwell/src/Dialogs.vala"
self = (TextEntryDialog*) g_object_new (object_type, "use-header-bar", _tmp1_, NULL);
-#line 1211 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1201 "/home/jens/Source/shotwell/src/Dialogs.vala"
return self;
-#line 11763 "Dialogs.c"
+#line 11444 "Dialogs.c"
}
TextEntryDialog* text_entry_dialog_new (void) {
-#line 1211 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1201 "/home/jens/Source/shotwell/src/Dialogs.vala"
return text_entry_dialog_construct (TYPE_TEXT_ENTRY_DIALOG);
-#line 11770 "Dialogs.c"
+#line 11451 "Dialogs.c"
}
void text_entry_dialog_set_builder (TextEntryDialog* self, GtkBuilder* builder) {
GtkBuilder* _tmp0_ = NULL;
GtkBuilder* _tmp1_ = NULL;
-#line 1217 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1207 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_if_fail (IS_TEXT_ENTRY_DIALOG (self));
-#line 1217 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1207 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_if_fail (GTK_IS_BUILDER (builder));
-#line 1218 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1208 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = builder;
-#line 1218 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1208 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = _g_object_ref0 (_tmp0_);
-#line 1218 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1208 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->builder);
-#line 1218 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1208 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->builder = _tmp1_;
-#line 11789 "Dialogs.c"
+#line 11470 "Dialogs.c"
}
static void _text_entry_dialog_on_entry_changed_gtk_editable_changed (GtkEditable* _sender, gpointer self) {
-#line 1235 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1225 "/home/jens/Source/shotwell/src/Dialogs.vala"
text_entry_dialog_on_entry_changed ((TextEntryDialog*) self);
-#line 11796 "Dialogs.c"
+#line 11477 "Dialogs.c"
}
@@ -11839,150 +11520,150 @@ void text_entry_dialog_setup (TextEntryDialog* self, TextEntryDialogOnModifyVali
GtkWidget* _tmp23_ = NULL;
GtkButton* _tmp24_ = NULL;
GeeCollection* _tmp25_ = NULL;
-#line 1221 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1211 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_if_fail (IS_TEXT_ENTRY_DIALOG (self));
-#line 1221 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1211 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_if_fail (title != NULL);
-#line 1221 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1211 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_if_fail (label != NULL);
-#line 1221 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1211 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_if_fail ((completion_list == NULL) || GEE_IS_COLLECTION (completion_list));
-#line 1223 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1213 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = title;
-#line 1223 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1213 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_window_set_title (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), _tmp0_);
-#line 1224 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1214 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_window_set_resizable (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), TRUE);
-#line 1225 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1215 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = app_window_get_instance ();
-#line 1225 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1215 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp2_ = _tmp1_;
-#line 1225 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1215 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp3_ = gtk_widget_get_parent_window (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_widget_get_type (), GtkWidget));
-#line 1225 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1215 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_widget_set_parent_window (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), _tmp3_);
-#line 1225 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1215 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_tmp2_);
-#line 1226 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1216 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp4_ = app_window_get_instance ();
-#line 1226 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1216 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp5_ = _tmp4_;
-#line 1226 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1216 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_window_set_transient_for (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_window_get_type (), GtkWindow));
-#line 1226 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1216 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_tmp5_);
-#line 1227 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1217 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp6_ = modify_validate;
-#line 1227 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1217 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp6__target = modify_validate_target;
-#line 1227 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1217 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->on_modify_validate = _tmp6_;
-#line 1227 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1217 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->on_modify_validate_target = _tmp6__target;
-#line 1229 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1219 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp7_ = self->priv->builder;
-#line 1229 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1219 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp8_ = gtk_builder_get_object (_tmp7_, "label");
-#line 1229 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1219 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp9_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp8_, gtk_label_get_type ()) ? ((GtkLabel*) _tmp8_) : NULL);
-#line 1229 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1219 "/home/jens/Source/shotwell/src/Dialogs.vala"
name_label = _tmp9_;
-#line 1230 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1220 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp10_ = name_label;
-#line 1230 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1220 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp11_ = label;
-#line 1230 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1220 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_label_set_text (_tmp10_, _tmp11_);
-#line 1232 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1222 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp12_ = self->priv->builder;
-#line 1232 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1222 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp13_ = gtk_builder_get_object (_tmp12_, "entry");
-#line 1232 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1222 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp14_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp13_, gtk_entry_get_type ()) ? ((GtkEntry*) _tmp13_) : NULL);
-#line 1232 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1222 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->entry);
-#line 1232 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1222 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->entry = _tmp14_;
-#line 1233 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1223 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp16_ = initial_text;
-#line 1233 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1223 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp16_ != NULL) {
-#line 11896 "Dialogs.c"
+#line 11577 "Dialogs.c"
const gchar* _tmp17_ = NULL;
-#line 1233 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1223 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp17_ = initial_text;
-#line 1233 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1223 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp15_ = _tmp17_;
-#line 11902 "Dialogs.c"
+#line 11583 "Dialogs.c"
} else {
-#line 1233 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1223 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp15_ = "";
-#line 11906 "Dialogs.c"
+#line 11587 "Dialogs.c"
}
-#line 1233 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1223 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp18_ = self->priv->entry;
-#line 1233 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1223 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_entry_set_text (_tmp18_, _tmp15_);
-#line 1234 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1224 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp19_ = self->priv->entry;
-#line 1234 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1224 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_widget_grab_focus (G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, gtk_widget_get_type (), GtkWidget));
-#line 1235 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1225 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp20_ = self->priv->entry;
-#line 1235 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1225 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, GTK_TYPE_EDITABLE, GtkEditable), "changed", (GCallback) _text_entry_dialog_on_entry_changed_gtk_editable_changed, self, 0);
-#line 1237 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1227 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp21_ = gtk_dialog_add_button (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), RESOURCES_CANCEL_LABEL, (gint) GTK_RESPONSE_CANCEL);
-#line 1237 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1227 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp22_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp21_, gtk_button_get_type (), GtkButton));
-#line 1237 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1227 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->button1);
-#line 1237 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1227 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->button1 = _tmp22_;
-#line 1238 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1228 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp23_ = gtk_dialog_add_button (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), RESOURCES_SAVE_LABEL, (gint) GTK_RESPONSE_OK);
-#line 1238 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1228 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp24_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, gtk_button_get_type (), GtkButton));
-#line 1238 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1228 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->button2);
-#line 1238 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1228 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->button2 = _tmp24_;
-#line 1239 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1229 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_dialog_set_default_response (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), (gint) GTK_RESPONSE_OK);
-#line 1241 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1231 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp25_ = completion_list;
-#line 1241 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1231 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp25_ != NULL) {
-#line 11942 "Dialogs.c"
+#line 11623 "Dialogs.c"
EntryMultiCompletion* completion = NULL;
GeeCollection* _tmp26_ = NULL;
const gchar* _tmp27_ = NULL;
EntryMultiCompletion* _tmp28_ = NULL;
GtkEntry* _tmp29_ = NULL;
EntryMultiCompletion* _tmp30_ = NULL;
-#line 1242 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1232 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp26_ = completion_list;
-#line 1242 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1232 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp27_ = completion_delimiter;
-#line 1242 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1232 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp28_ = entry_multi_completion_new (_tmp26_, _tmp27_);
-#line 1242 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1232 "/home/jens/Source/shotwell/src/Dialogs.vala"
completion = _tmp28_;
-#line 1244 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1234 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp29_ = self->priv->entry;
-#line 1244 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1234 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp30_ = completion;
-#line 1244 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1234 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_entry_set_completion (_tmp29_, G_TYPE_CHECK_INSTANCE_CAST (_tmp30_, gtk_entry_completion_get_type (), GtkEntryCompletion));
-#line 1241 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1231 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (completion);
-#line 11965 "Dialogs.c"
+#line 11646 "Dialogs.c"
}
-#line 1247 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1237 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_dialog_set_default_response (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), (gint) GTK_RESPONSE_OK);
-#line 1221 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1211 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (name_label);
-#line 11971 "Dialogs.c"
+#line 11652 "Dialogs.c"
}
@@ -11997,57 +11678,57 @@ gchar* text_entry_dialog_execute (TextEntryDialog* self) {
gint _tmp4_ = 0;
GtkEntry* _tmp8_ = NULL;
guint _tmp9_ = 0U;
-#line 1250 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1240 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_val_if_fail (IS_TEXT_ENTRY_DIALOG (self), NULL);
-#line 1251 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1241 "/home/jens/Source/shotwell/src/Dialogs.vala"
text = NULL;
-#line 1254 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1244 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = self->priv->on_modify_validate;
-#line 1254 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1244 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0__target = self->priv->on_modify_validate_target;
-#line 1254 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1244 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = self->priv->entry;
-#line 1254 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1244 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp2_ = gtk_entry_get_text (_tmp1_);
-#line 1254 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1244 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp3_ = _tmp0_ (_tmp2_, _tmp0__target);
-#line 1254 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1244 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_dialog_set_response_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), (gint) GTK_RESPONSE_OK, _tmp3_);
-#line 1256 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1246 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
-#line 1258 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1248 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp4_ = gtk_dialog_run (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog));
-#line 1258 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1248 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp4_ == ((gint) GTK_RESPONSE_OK)) {
-#line 12008 "Dialogs.c"
+#line 11689 "Dialogs.c"
GtkEntry* _tmp5_ = NULL;
const gchar* _tmp6_ = NULL;
gchar* _tmp7_ = NULL;
-#line 1259 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1249 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp5_ = self->priv->entry;
-#line 1259 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1249 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp6_ = gtk_entry_get_text (_tmp5_);
-#line 1259 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1249 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp7_ = g_strdup (_tmp6_);
-#line 1259 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1249 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (text);
-#line 1259 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1249 "/home/jens/Source/shotwell/src/Dialogs.vala"
text = _tmp7_;
-#line 12022 "Dialogs.c"
+#line 11703 "Dialogs.c"
}
-#line 1261 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1251 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp8_ = self->priv->entry;
-#line 1261 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1251 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_signal_parse_name ("changed", GTK_TYPE_EDITABLE, &_tmp9_, NULL, FALSE);
-#line 1261 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1251 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, GTK_TYPE_EDITABLE, GtkEditable), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp9_, 0, NULL, (GCallback) _text_entry_dialog_on_entry_changed_gtk_editable_changed, self);
-#line 1262 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1252 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
-#line 1264 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1254 "/home/jens/Source/shotwell/src/Dialogs.vala"
result = text;
-#line 1264 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1254 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 12036 "Dialogs.c"
+#line 11717 "Dialogs.c"
}
@@ -12057,57 +11738,57 @@ void text_entry_dialog_on_entry_changed (TextEntryDialog* self) {
GtkEntry* _tmp1_ = NULL;
const gchar* _tmp2_ = NULL;
gboolean _tmp3_ = FALSE;
-#line 1267 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1257 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_if_fail (IS_TEXT_ENTRY_DIALOG (self));
-#line 1268 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1258 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = self->priv->on_modify_validate;
-#line 1268 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1258 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0__target = self->priv->on_modify_validate_target;
-#line 1268 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1258 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = self->priv->entry;
-#line 1268 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1258 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp2_ = gtk_entry_get_text (_tmp1_);
-#line 1268 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1258 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp3_ = _tmp0_ (_tmp2_, _tmp0__target);
-#line 1268 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1258 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_dialog_set_response_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), (gint) GTK_RESPONSE_OK, _tmp3_);
-#line 12060 "Dialogs.c"
+#line 11741 "Dialogs.c"
}
static void text_entry_dialog_class_init (TextEntryDialogClass * klass) {
-#line 1202 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1192 "/home/jens/Source/shotwell/src/Dialogs.vala"
text_entry_dialog_parent_class = g_type_class_peek_parent (klass);
-#line 1202 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1192 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_type_class_add_private (klass, sizeof (TextEntryDialogPrivate));
-#line 1202 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1192 "/home/jens/Source/shotwell/src/Dialogs.vala"
G_OBJECT_CLASS (klass)->finalize = text_entry_dialog_finalize;
-#line 12071 "Dialogs.c"
+#line 11752 "Dialogs.c"
}
static void text_entry_dialog_instance_init (TextEntryDialog * self) {
-#line 1202 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1192 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv = TEXT_ENTRY_DIALOG_GET_PRIVATE (self);
-#line 12078 "Dialogs.c"
+#line 11759 "Dialogs.c"
}
static void text_entry_dialog_finalize (GObject* obj) {
TextEntryDialog * self;
-#line 1202 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1192 "/home/jens/Source/shotwell/src/Dialogs.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_TEXT_ENTRY_DIALOG, TextEntryDialog);
-#line 1206 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1196 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->entry);
-#line 1207 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1197 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->builder);
-#line 1208 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1198 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->button1);
-#line 1209 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1199 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->button2);
-#line 1202 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1192 "/home/jens/Source/shotwell/src/Dialogs.vala"
G_OBJECT_CLASS (text_entry_dialog_parent_class)->finalize (obj);
-#line 12096 "Dialogs.c"
+#line 11777 "Dialogs.c"
}
@@ -12129,53 +11810,53 @@ MultiTextEntryDialog* multi_text_entry_dialog_construct (GType object_type) {
GtkSettings* _tmp0_ = NULL;
gint _tmp1_ = 0;
gboolean _tmp2_ = FALSE;
-#line 1283 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1273 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = gtk_settings_get_default ();
-#line 1283 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1273 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_object_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, G_TYPE_OBJECT, GObject), "gtk-dialogs-use-header", &use_header, NULL);
-#line 1284 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1274 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp2_ = use_header;
-#line 1284 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1274 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp2_) {
-#line 1284 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1274 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = 1;
-#line 12128 "Dialogs.c"
+#line 11809 "Dialogs.c"
} else {
-#line 1284 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1274 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = 0;
-#line 12132 "Dialogs.c"
+#line 11813 "Dialogs.c"
}
-#line 1284 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1274 "/home/jens/Source/shotwell/src/Dialogs.vala"
self = (MultiTextEntryDialog*) g_object_new (object_type, "use-header-bar", _tmp1_, NULL);
-#line 1281 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1271 "/home/jens/Source/shotwell/src/Dialogs.vala"
return self;
-#line 12138 "Dialogs.c"
+#line 11819 "Dialogs.c"
}
MultiTextEntryDialog* multi_text_entry_dialog_new (void) {
-#line 1281 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1271 "/home/jens/Source/shotwell/src/Dialogs.vala"
return multi_text_entry_dialog_construct (TYPE_MULTI_TEXT_ENTRY_DIALOG);
-#line 12145 "Dialogs.c"
+#line 11826 "Dialogs.c"
}
void multi_text_entry_dialog_set_builder (MultiTextEntryDialog* self, GtkBuilder* builder) {
GtkBuilder* _tmp0_ = NULL;
GtkBuilder* _tmp1_ = NULL;
-#line 1287 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1277 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_if_fail (IS_MULTI_TEXT_ENTRY_DIALOG (self));
-#line 1287 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1277 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_if_fail (GTK_IS_BUILDER (builder));
-#line 1288 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1278 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = builder;
-#line 1288 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1278 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = _g_object_ref0 (_tmp0_);
-#line 1288 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1278 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->builder);
-#line 1288 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1278 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->builder = _tmp1_;
-#line 12164 "Dialogs.c"
+#line 11845 "Dialogs.c"
}
@@ -12205,117 +11886,117 @@ void multi_text_entry_dialog_setup (MultiTextEntryDialog* self, MultiTextEntryDi
GtkButton* _tmp22_ = NULL;
GtkWidget* _tmp23_ = NULL;
GtkButton* _tmp24_ = NULL;
-#line 1291 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1281 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_if_fail (IS_MULTI_TEXT_ENTRY_DIALOG (self));
-#line 1291 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1281 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_if_fail (title != NULL);
-#line 1291 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1281 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_if_fail (label != NULL);
-#line 1292 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1282 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = title;
-#line 1292 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1282 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_window_set_title (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), _tmp0_);
-#line 1293 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1283 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_window_set_resizable (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), TRUE);
-#line 1294 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1284 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_window_set_default_size (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), 500, 300);
-#line 1295 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1285 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = app_window_get_instance ();
-#line 1295 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1285 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp2_ = _tmp1_;
-#line 1295 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1285 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp3_ = gtk_widget_get_parent_window (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_widget_get_type (), GtkWidget));
-#line 1295 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1285 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_widget_set_parent_window (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), _tmp3_);
-#line 1295 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1285 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_tmp2_);
-#line 1296 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1286 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp4_ = app_window_get_instance ();
-#line 1296 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1286 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp5_ = _tmp4_;
-#line 1296 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1286 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_window_set_transient_for (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_window_get_type (), GtkWindow));
-#line 1296 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1286 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_tmp5_);
-#line 1297 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1287 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp6_ = modify_validate;
-#line 1297 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1287 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp6__target = modify_validate_target;
-#line 1297 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1287 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->on_modify_validate = _tmp6_;
-#line 1297 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1287 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->on_modify_validate_target = _tmp6__target;
-#line 1299 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1289 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp7_ = self->priv->builder;
-#line 1299 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1289 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp8_ = gtk_builder_get_object (_tmp7_, "textview1");
-#line 1299 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1289 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp9_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp8_, gtk_text_view_get_type ()) ? ((GtkTextView*) _tmp8_) : NULL);
-#line 1299 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1289 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->entry);
-#line 1299 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1289 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->entry = _tmp9_;
-#line 1300 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1290 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp10_ = self->priv->entry;
-#line 1300 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1290 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_text_view_set_wrap_mode (_tmp10_, GTK_WRAP_WORD);
-#line 1301 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1291 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp11_ = self->priv->entry;
-#line 1301 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1291 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp12_ = gtk_text_buffer_new (NULL);
-#line 1301 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1291 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp13_ = _tmp12_;
-#line 1301 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1291 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_text_view_set_buffer (_tmp11_, _tmp13_);
-#line 1301 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1291 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_tmp13_);
-#line 1302 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1292 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp15_ = initial_text;
-#line 1302 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1292 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp15_ != NULL) {
-#line 12262 "Dialogs.c"
+#line 11943 "Dialogs.c"
const gchar* _tmp16_ = NULL;
-#line 1302 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1292 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp16_ = initial_text;
-#line 1302 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1292 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp14_ = _tmp16_;
-#line 12268 "Dialogs.c"
+#line 11949 "Dialogs.c"
} else {
-#line 1302 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1292 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp14_ = "";
-#line 12272 "Dialogs.c"
+#line 11953 "Dialogs.c"
}
-#line 1302 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1292 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp17_ = self->priv->entry;
-#line 1302 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1292 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp18_ = gtk_text_view_get_buffer (_tmp17_);
-#line 1302 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1292 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp19_ = _tmp18_;
-#line 1302 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1292 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_object_set (_tmp19_, "text", _tmp14_, NULL);
-#line 1304 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1294 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp20_ = self->priv->entry;
-#line 1304 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1294 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_widget_grab_focus (G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, gtk_widget_get_type (), GtkWidget));
-#line 1306 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1296 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp21_ = gtk_dialog_add_button (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), RESOURCES_CANCEL_LABEL, (gint) GTK_RESPONSE_CANCEL);
-#line 1306 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1296 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp22_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp21_, gtk_button_get_type (), GtkButton));
-#line 1306 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1296 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->button1);
-#line 1306 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1296 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->button1 = _tmp22_;
-#line 1307 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1297 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp23_ = gtk_dialog_add_button (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), RESOURCES_SAVE_LABEL, (gint) GTK_RESPONSE_OK);
-#line 1307 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1297 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp24_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, gtk_button_get_type (), GtkButton));
-#line 1307 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1297 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->button2);
-#line 1307 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1297 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->button2 = _tmp24_;
-#line 1308 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1298 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_dialog_set_default_response (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), (gint) GTK_RESPONSE_OK);
-#line 12304 "Dialogs.c"
+#line 11985 "Dialogs.c"
}
@@ -12323,81 +12004,81 @@ gchar* multi_text_entry_dialog_execute (MultiTextEntryDialog* self) {
gchar* result = NULL;
gchar* text = NULL;
gint _tmp0_ = 0;
-#line 1311 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1301 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_val_if_fail (IS_MULTI_TEXT_ENTRY_DIALOG (self), NULL);
-#line 1312 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1302 "/home/jens/Source/shotwell/src/Dialogs.vala"
text = NULL;
-#line 1314 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1304 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
-#line 1316 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1306 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = gtk_dialog_run (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog));
-#line 1316 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1306 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp0_ == ((gint) GTK_RESPONSE_OK)) {
-#line 12322 "Dialogs.c"
+#line 12003 "Dialogs.c"
GtkTextView* _tmp1_ = NULL;
GtkTextBuffer* _tmp2_ = NULL;
GtkTextBuffer* _tmp3_ = NULL;
gchar* _tmp4_ = NULL;
gchar* _tmp5_ = NULL;
-#line 1317 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1307 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = self->priv->entry;
-#line 1317 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1307 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp2_ = gtk_text_view_get_buffer (_tmp1_);
-#line 1317 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1307 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp3_ = _tmp2_;
-#line 1317 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1307 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_object_get (_tmp3_, "text", &_tmp4_, NULL);
-#line 1317 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1307 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp5_ = _tmp4_;
-#line 1317 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1307 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (text);
-#line 1317 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1307 "/home/jens/Source/shotwell/src/Dialogs.vala"
text = _tmp5_;
-#line 12342 "Dialogs.c"
+#line 12023 "Dialogs.c"
}
-#line 1319 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1309 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
-#line 1321 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1311 "/home/jens/Source/shotwell/src/Dialogs.vala"
result = text;
-#line 1321 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1311 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 12350 "Dialogs.c"
+#line 12031 "Dialogs.c"
}
static void multi_text_entry_dialog_class_init (MultiTextEntryDialogClass * klass) {
-#line 1272 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1262 "/home/jens/Source/shotwell/src/Dialogs.vala"
multi_text_entry_dialog_parent_class = g_type_class_peek_parent (klass);
-#line 1272 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1262 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_type_class_add_private (klass, sizeof (MultiTextEntryDialogPrivate));
-#line 1272 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1262 "/home/jens/Source/shotwell/src/Dialogs.vala"
G_OBJECT_CLASS (klass)->finalize = multi_text_entry_dialog_finalize;
-#line 12361 "Dialogs.c"
+#line 12042 "Dialogs.c"
}
static void multi_text_entry_dialog_instance_init (MultiTextEntryDialog * self) {
-#line 1272 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1262 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv = MULTI_TEXT_ENTRY_DIALOG_GET_PRIVATE (self);
-#line 12368 "Dialogs.c"
+#line 12049 "Dialogs.c"
}
static void multi_text_entry_dialog_finalize (GObject* obj) {
MultiTextEntryDialog * self;
-#line 1272 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1262 "/home/jens/Source/shotwell/src/Dialogs.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_MULTI_TEXT_ENTRY_DIALOG, MultiTextEntryDialog);
-#line 1276 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1266 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->entry);
-#line 1277 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1267 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->builder);
-#line 1278 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1268 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->button1);
-#line 1279 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1269 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->button2);
-#line 1272 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1262 "/home/jens/Source/shotwell/src/Dialogs.vala"
G_OBJECT_CLASS (multi_text_entry_dialog_parent_class)->finalize (obj);
-#line 12386 "Dialogs.c"
+#line 12067 "Dialogs.c"
}
@@ -12418,24 +12099,24 @@ EventRenameDialog* event_rename_dialog_construct (GType object_type, const gchar
const gchar* _tmp0_ = NULL;
const gchar* _tmp1_ = NULL;
const gchar* _tmp2_ = NULL;
-#line 1327 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1317 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = _ ("Rename Event");
-#line 1327 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1317 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = _ ("Name:");
-#line 1327 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1317 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp2_ = event_name;
-#line 1327 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1317 "/home/jens/Source/shotwell/src/Dialogs.vala"
self = (EventRenameDialog*) text_entry_dialog_mediator_construct (object_type, _tmp0_, _tmp1_, _tmp2_, NULL, NULL);
-#line 1326 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1316 "/home/jens/Source/shotwell/src/Dialogs.vala"
return self;
-#line 12417 "Dialogs.c"
+#line 12098 "Dialogs.c"
}
EventRenameDialog* event_rename_dialog_new (const gchar* event_name) {
-#line 1326 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1316 "/home/jens/Source/shotwell/src/Dialogs.vala"
return event_rename_dialog_construct (TYPE_EVENT_RENAME_DIALOG, event_name);
-#line 12424 "Dialogs.c"
+#line 12105 "Dialogs.c"
}
@@ -12445,39 +12126,39 @@ static gchar* event_rename_dialog_real_execute (EventRenameDialog* self) {
gchar* _tmp1_ = NULL;
gchar* _tmp2_ = NULL;
gchar* _tmp3_ = NULL;
-#line 1331 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1321 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = _text_entry_dialog_mediator_execute (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_TEXT_ENTRY_DIALOG_MEDIATOR, TextEntryDialogMediator));
-#line 1331 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1321 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = _tmp0_;
-#line 1331 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1321 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp2_ = event_prep_event_name (_tmp1_);
-#line 1331 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1321 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp3_ = _tmp2_;
-#line 1331 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1321 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (_tmp1_);
-#line 1331 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1321 "/home/jens/Source/shotwell/src/Dialogs.vala"
result = _tmp3_;
-#line 1331 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1321 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 12448 "Dialogs.c"
+#line 12129 "Dialogs.c"
}
gchar* event_rename_dialog_execute (EventRenameDialog* self) {
-#line 1330 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1320 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_val_if_fail (IS_EVENT_RENAME_DIALOG (self), NULL);
-#line 1330 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1320 "/home/jens/Source/shotwell/src/Dialogs.vala"
return EVENT_RENAME_DIALOG_GET_CLASS (self)->execute (self);
-#line 12457 "Dialogs.c"
+#line 12138 "Dialogs.c"
}
static void event_rename_dialog_class_init (EventRenameDialogClass * klass) {
-#line 1325 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1315 "/home/jens/Source/shotwell/src/Dialogs.vala"
event_rename_dialog_parent_class = g_type_class_peek_parent (klass);
-#line 1325 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1315 "/home/jens/Source/shotwell/src/Dialogs.vala"
((EventRenameDialogClass *) klass)->execute = event_rename_dialog_real_execute;
-#line 12466 "Dialogs.c"
+#line 12147 "Dialogs.c"
}
@@ -12502,24 +12183,24 @@ EditTitleDialog* edit_title_dialog_construct (GType object_type, const gchar* ph
const gchar* _tmp0_ = NULL;
const gchar* _tmp1_ = NULL;
const gchar* _tmp2_ = NULL;
-#line 1338 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1328 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = C_ ("Dialog Title", "Edit Title");
-#line 1338 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1328 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = _ ("Title:");
-#line 1338 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1328 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp2_ = photo_title;
-#line 1338 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1328 "/home/jens/Source/shotwell/src/Dialogs.vala"
self = (EditTitleDialog*) text_entry_dialog_mediator_construct (object_type, _tmp0_, _tmp1_, _tmp2_, NULL, NULL);
-#line 1336 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1326 "/home/jens/Source/shotwell/src/Dialogs.vala"
return self;
-#line 12501 "Dialogs.c"
+#line 12182 "Dialogs.c"
}
EditTitleDialog* edit_title_dialog_new (const gchar* photo_title) {
-#line 1336 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1326 "/home/jens/Source/shotwell/src/Dialogs.vala"
return edit_title_dialog_construct (TYPE_EDIT_TITLE_DIALOG, photo_title);
-#line 12508 "Dialogs.c"
+#line 12189 "Dialogs.c"
}
@@ -12529,56 +12210,56 @@ static gchar* edit_title_dialog_real_execute (EditTitleDialog* self) {
gchar* _tmp1_ = NULL;
gchar* _tmp2_ = NULL;
gchar* _tmp3_ = NULL;
-#line 1343 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1333 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = _text_entry_dialog_mediator_execute (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_TEXT_ENTRY_DIALOG_MEDIATOR, TextEntryDialogMediator));
-#line 1343 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1333 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = _tmp0_;
-#line 1343 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1333 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp2_ = media_source_prep_title (_tmp1_);
-#line 1343 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1333 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp3_ = _tmp2_;
-#line 1343 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1333 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (_tmp1_);
-#line 1343 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1333 "/home/jens/Source/shotwell/src/Dialogs.vala"
result = _tmp3_;
-#line 1343 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1333 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 12532 "Dialogs.c"
+#line 12213 "Dialogs.c"
}
gchar* edit_title_dialog_execute (EditTitleDialog* self) {
-#line 1342 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1332 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_val_if_fail (IS_EDIT_TITLE_DIALOG (self), NULL);
-#line 1342 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1332 "/home/jens/Source/shotwell/src/Dialogs.vala"
return EDIT_TITLE_DIALOG_GET_CLASS (self)->execute (self);
-#line 12541 "Dialogs.c"
+#line 12222 "Dialogs.c"
}
static gboolean edit_title_dialog_real_on_modify_validate (TextEntryDialogMediator* base, const gchar* text) {
EditTitleDialog * self;
gboolean result = FALSE;
-#line 1346 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1336 "/home/jens/Source/shotwell/src/Dialogs.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_EDIT_TITLE_DIALOG, EditTitleDialog);
-#line 1346 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1336 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_val_if_fail (text != NULL, FALSE);
-#line 1347 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1337 "/home/jens/Source/shotwell/src/Dialogs.vala"
result = TRUE;
-#line 1347 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1337 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 12556 "Dialogs.c"
+#line 12237 "Dialogs.c"
}
static void edit_title_dialog_class_init (EditTitleDialogClass * klass) {
-#line 1335 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1325 "/home/jens/Source/shotwell/src/Dialogs.vala"
edit_title_dialog_parent_class = g_type_class_peek_parent (klass);
-#line 1335 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1325 "/home/jens/Source/shotwell/src/Dialogs.vala"
((EditTitleDialogClass *) klass)->execute = edit_title_dialog_real_execute;
-#line 1335 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1325 "/home/jens/Source/shotwell/src/Dialogs.vala"
((TextEntryDialogMediatorClass *) klass)->on_modify_validate = edit_title_dialog_real_on_modify_validate;
-#line 12567 "Dialogs.c"
+#line 12248 "Dialogs.c"
}
@@ -12606,47 +12287,47 @@ EditCommentDialog* edit_comment_dialog_construct (GType object_type, const gchar
gchar* _tmp4_ = NULL;
const gchar* _tmp5_ = NULL;
const gchar* _tmp6_ = NULL;
-#line 1353 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1343 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = is_event;
-#line 1353 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1343 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp1_) {
-#line 12599 "Dialogs.c"
+#line 12280 "Dialogs.c"
const gchar* _tmp2_ = NULL;
-#line 1355 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1345 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp2_ = _ ("Edit Event Comment");
-#line 1355 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1345 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = _tmp2_;
-#line 12605 "Dialogs.c"
+#line 12286 "Dialogs.c"
} else {
const gchar* _tmp3_ = NULL;
-#line 1356 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1346 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp3_ = _ ("Edit Photo/Video Comment");
-#line 1356 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1346 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = _tmp3_;
-#line 12612 "Dialogs.c"
+#line 12293 "Dialogs.c"
}
-#line 1353 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1343 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp4_ = g_strdup (_tmp0_);
-#line 1353 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1343 "/home/jens/Source/shotwell/src/Dialogs.vala"
title_tmp = _tmp4_;
-#line 1357 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1347 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp5_ = _ ("Comment:");
-#line 1357 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1347 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp6_ = comment;
-#line 1357 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1347 "/home/jens/Source/shotwell/src/Dialogs.vala"
self = (EditCommentDialog*) multi_text_entry_dialog_mediator_construct (object_type, title_tmp, _tmp5_, _tmp6_);
-#line 1352 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1342 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (title_tmp);
-#line 1352 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1342 "/home/jens/Source/shotwell/src/Dialogs.vala"
return self;
-#line 12628 "Dialogs.c"
+#line 12309 "Dialogs.c"
}
EditCommentDialog* edit_comment_dialog_new (const gchar* comment, gboolean is_event) {
-#line 1352 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1342 "/home/jens/Source/shotwell/src/Dialogs.vala"
return edit_comment_dialog_construct (TYPE_EDIT_COMMENT_DIALOG, comment, is_event);
-#line 12635 "Dialogs.c"
+#line 12316 "Dialogs.c"
}
@@ -12656,56 +12337,56 @@ static gchar* edit_comment_dialog_real_execute (EditCommentDialog* self) {
gchar* _tmp1_ = NULL;
gchar* _tmp2_ = NULL;
gchar* _tmp3_ = NULL;
-#line 1361 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1351 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = _multi_text_entry_dialog_mediator_execute (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_MULTI_TEXT_ENTRY_DIALOG_MEDIATOR, MultiTextEntryDialogMediator));
-#line 1361 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1351 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = _tmp0_;
-#line 1361 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1351 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp2_ = media_source_prep_comment (_tmp1_);
-#line 1361 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1351 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp3_ = _tmp2_;
-#line 1361 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1351 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (_tmp1_);
-#line 1361 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1351 "/home/jens/Source/shotwell/src/Dialogs.vala"
result = _tmp3_;
-#line 1361 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1351 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 12659 "Dialogs.c"
+#line 12340 "Dialogs.c"
}
gchar* edit_comment_dialog_execute (EditCommentDialog* self) {
-#line 1360 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1350 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_val_if_fail (IS_EDIT_COMMENT_DIALOG (self), NULL);
-#line 1360 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1350 "/home/jens/Source/shotwell/src/Dialogs.vala"
return EDIT_COMMENT_DIALOG_GET_CLASS (self)->execute (self);
-#line 12668 "Dialogs.c"
+#line 12349 "Dialogs.c"
}
static gboolean edit_comment_dialog_real_on_modify_validate (MultiTextEntryDialogMediator* base, const gchar* text) {
EditCommentDialog * self;
gboolean result = FALSE;
-#line 1364 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1354 "/home/jens/Source/shotwell/src/Dialogs.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_EDIT_COMMENT_DIALOG, EditCommentDialog);
-#line 1364 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1354 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_val_if_fail (text != NULL, FALSE);
-#line 1365 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1355 "/home/jens/Source/shotwell/src/Dialogs.vala"
result = TRUE;
-#line 1365 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1355 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 12683 "Dialogs.c"
+#line 12364 "Dialogs.c"
}
static void edit_comment_dialog_class_init (EditCommentDialogClass * klass) {
-#line 1351 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1341 "/home/jens/Source/shotwell/src/Dialogs.vala"
edit_comment_dialog_parent_class = g_type_class_peek_parent (klass);
-#line 1351 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1341 "/home/jens/Source/shotwell/src/Dialogs.vala"
((EditCommentDialogClass *) klass)->execute = edit_comment_dialog_real_execute;
-#line 1351 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1341 "/home/jens/Source/shotwell/src/Dialogs.vala"
((MultiTextEntryDialogMediatorClass *) klass)->on_modify_validate = edit_comment_dialog_real_on_modify_validate;
-#line 12694 "Dialogs.c"
+#line 12375 "Dialogs.c"
}
@@ -12742,63 +12423,63 @@ GtkResponseType remove_from_library_dialog (GtkWindow* owner, const gchar* title
gchar* _tmp10_ = NULL;
GtkResponseType _result_ = 0;
gint _tmp11_ = 0;
-#line 1371 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1361 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_val_if_fail (GTK_IS_WINDOW (owner), 0);
-#line 1371 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1361 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_val_if_fail (title != NULL, 0);
-#line 1371 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1361 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_val_if_fail (user_message != NULL, 0);
-#line 1373 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1363 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = count;
-#line 1373 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1363 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = ngettext ("Remove and _Trash File", "Remove and _Trash Files", (gulong) _tmp0_);
-#line 1373 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1363 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp2_ = g_strdup (_tmp1_);
-#line 1373 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1363 "/home/jens/Source/shotwell/src/Dialogs.vala"
trash_action = _tmp2_;
-#line 1375 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1365 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp3_ = owner;
-#line 1375 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1365 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp4_ = user_message;
-#line 1375 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1365 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp5_ = (GtkMessageDialog*) gtk_message_dialog_new (_tmp3_, GTK_DIALOG_MODAL, GTK_MESSAGE_WARNING, GTK_BUTTONS_CANCEL, "%s", _tmp4_);
-#line 1375 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1365 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_object_ref_sink (_tmp5_);
-#line 1375 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1365 "/home/jens/Source/shotwell/src/Dialogs.vala"
dialog = _tmp5_;
-#line 1377 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1367 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp6_ = _ ("_Remove From Library");
-#line 1377 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1367 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_dialog_add_button (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_dialog_get_type (), GtkDialog), _tmp6_, (gint) GTK_RESPONSE_NO);
-#line 1378 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1368 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_dialog_add_button (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_dialog_get_type (), GtkDialog), trash_action, (gint) GTK_RESPONSE_YES);
-#line 1383 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1373 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp7_ = title;
-#line 1383 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1373 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp8_ = user_message;
-#line 1383 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1373 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp9_ = build_alert_body_text (_tmp7_, _tmp8_, TRUE);
-#line 1383 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1373 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp10_ = _tmp9_;
-#line 1383 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1373 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_message_dialog_set_markup (dialog, _tmp10_);
-#line 1383 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1373 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (_tmp10_);
-#line 1385 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1375 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp11_ = gtk_dialog_run (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_dialog_get_type (), GtkDialog));
-#line 1385 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1375 "/home/jens/Source/shotwell/src/Dialogs.vala"
_result_ = (GtkResponseType) _tmp11_;
-#line 1387 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1377 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_widget_get_type (), GtkWidget));
-#line 1389 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1379 "/home/jens/Source/shotwell/src/Dialogs.vala"
result = _result_;
-#line 1389 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1379 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (dialog);
-#line 1389 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1379 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (trash_action);
-#line 1389 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1379 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 12787 "Dialogs.c"
+#line 12468 "Dialogs.c"
}
@@ -12816,57 +12497,57 @@ GtkResponseType remove_from_filesystem_dialog (GtkWindow* owner, const gchar* ti
gchar* _tmp8_ = NULL;
GtkResponseType _result_ = 0;
gint _tmp9_ = 0;
-#line 1393 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1383 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_val_if_fail (GTK_IS_WINDOW (owner), 0);
-#line 1393 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1383 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_val_if_fail (title != NULL, 0);
-#line 1393 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1383 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_val_if_fail (user_message != NULL, 0);
-#line 1395 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1385 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = owner;
-#line 1395 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1385 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = user_message;
-#line 1395 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1385 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp2_ = (GtkMessageDialog*) gtk_message_dialog_new (_tmp0_, GTK_DIALOG_MODAL, GTK_MESSAGE_QUESTION, GTK_BUTTONS_NONE, "%s", _tmp1_);
-#line 1395 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1385 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_object_ref_sink (_tmp2_);
-#line 1395 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1385 "/home/jens/Source/shotwell/src/Dialogs.vala"
dialog = _tmp2_;
-#line 1397 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1387 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp3_ = _ ("_Keep");
-#line 1397 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1387 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_dialog_add_button (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_dialog_get_type (), GtkDialog), _tmp3_, (gint) GTK_RESPONSE_NO);
-#line 1398 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1388 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp4_ = _ ("_Delete");
-#line 1398 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1388 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_dialog_add_button (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_dialog_get_type (), GtkDialog), _tmp4_, (gint) GTK_RESPONSE_YES);
-#line 1399 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1389 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_dialog_set_default_response (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_dialog_get_type (), GtkDialog), (gint) GTK_RESPONSE_NO);
-#line 1401 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1391 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp5_ = title;
-#line 1401 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1391 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp6_ = user_message;
-#line 1401 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1391 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp7_ = build_alert_body_text (_tmp5_, _tmp6_, TRUE);
-#line 1401 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1391 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp8_ = _tmp7_;
-#line 1401 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1391 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_message_dialog_set_markup (dialog, _tmp8_);
-#line 1401 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1391 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (_tmp8_);
-#line 1403 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1393 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp9_ = gtk_dialog_run (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_dialog_get_type (), GtkDialog));
-#line 1403 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1393 "/home/jens/Source/shotwell/src/Dialogs.vala"
_result_ = (GtkResponseType) _tmp9_;
-#line 1405 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1395 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_widget_get_type (), GtkWidget));
-#line 1407 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1397 "/home/jens/Source/shotwell/src/Dialogs.vala"
result = _result_;
-#line 1407 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1397 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (dialog);
-#line 1407 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1397 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 12855 "Dialogs.c"
+#line 12536 "Dialogs.c"
}
@@ -12905,26 +12586,26 @@ gboolean revert_editable_dialog (GtkWindow* owner, GeeCollection* photos) {
gint _tmp37_ = 0;
GtkMessageDialog* _tmp38_ = NULL;
GtkResponseType _tmp39_ = 0;
-#line 1410 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1400 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_val_if_fail (GTK_IS_WINDOW (owner), FALSE);
-#line 1410 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1400 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_val_if_fail (GEE_IS_COLLECTION (photos), FALSE);
-#line 1411 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1401 "/home/jens/Source/shotwell/src/Dialogs.vala"
count = 0;
-#line 12900 "Dialogs.c"
+#line 12581 "Dialogs.c"
{
GeeIterator* _photo_it = NULL;
GeeCollection* _tmp0_ = NULL;
GeeIterator* _tmp1_ = NULL;
-#line 1412 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1402 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = photos;
-#line 1412 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1402 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_ITERABLE, GeeIterable));
-#line 1412 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1402 "/home/jens/Source/shotwell/src/Dialogs.vala"
_photo_it = _tmp1_;
-#line 1412 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1402 "/home/jens/Source/shotwell/src/Dialogs.vala"
while (TRUE) {
-#line 12913 "Dialogs.c"
+#line 12594 "Dialogs.c"
GeeIterator* _tmp2_ = NULL;
gboolean _tmp3_ = FALSE;
Photo* photo = NULL;
@@ -12932,171 +12613,171 @@ gboolean revert_editable_dialog (GtkWindow* owner, GeeCollection* photos) {
gpointer _tmp5_ = NULL;
Photo* _tmp6_ = NULL;
gboolean _tmp7_ = FALSE;
-#line 1412 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1402 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp2_ = _photo_it;
-#line 1412 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1402 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp3_ = gee_iterator_next (_tmp2_);
-#line 1412 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1402 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (!_tmp3_) {
-#line 1412 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1402 "/home/jens/Source/shotwell/src/Dialogs.vala"
break;
-#line 12929 "Dialogs.c"
+#line 12610 "Dialogs.c"
}
-#line 1412 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1402 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp4_ = _photo_it;
-#line 1412 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1402 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp5_ = gee_iterator_get (_tmp4_);
-#line 1412 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1402 "/home/jens/Source/shotwell/src/Dialogs.vala"
photo = (Photo*) _tmp5_;
-#line 1413 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1403 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp6_ = photo;
-#line 1413 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1403 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp7_ = photo_has_editable (_tmp6_);
-#line 1413 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1403 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp7_) {
-#line 12943 "Dialogs.c"
+#line 12624 "Dialogs.c"
gint _tmp8_ = 0;
-#line 1414 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1404 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp8_ = count;
-#line 1414 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1404 "/home/jens/Source/shotwell/src/Dialogs.vala"
count = _tmp8_ + 1;
-#line 12949 "Dialogs.c"
+#line 12630 "Dialogs.c"
}
-#line 1412 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1402 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (photo);
-#line 12953 "Dialogs.c"
+#line 12634 "Dialogs.c"
}
-#line 1412 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1402 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_photo_it);
-#line 12957 "Dialogs.c"
+#line 12638 "Dialogs.c"
}
-#line 1417 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1407 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp9_ = count;
-#line 1417 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1407 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp9_ == 0) {
-#line 1418 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1408 "/home/jens/Source/shotwell/src/Dialogs.vala"
result = FALSE;
-#line 1418 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1408 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 12967 "Dialogs.c"
+#line 12648 "Dialogs.c"
}
-#line 1420 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1410 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp11_ = count;
-#line 1420 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1410 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp11_ == 1) {
-#line 12973 "Dialogs.c"
+#line 12654 "Dialogs.c"
const gchar* _tmp12_ = NULL;
-#line 1420 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1410 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp12_ = _ ("Revert External Edit?");
-#line 1420 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1410 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp10_ = _tmp12_;
-#line 12979 "Dialogs.c"
+#line 12660 "Dialogs.c"
} else {
const gchar* _tmp13_ = NULL;
-#line 1420 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1410 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp13_ = _ ("Revert External Edits?");
-#line 1420 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1410 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp10_ = _tmp13_;
-#line 12986 "Dialogs.c"
+#line 12667 "Dialogs.c"
}
-#line 1420 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1410 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp14_ = g_strdup (_tmp10_);
-#line 1420 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1410 "/home/jens/Source/shotwell/src/Dialogs.vala"
headline = _tmp14_;
-#line 1421 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1411 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp15_ = count;
-#line 1421 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1411 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp16_ = ngettext ("This will destroy all changes made to the external file. Continue?", "This will destroy all changes made to %d external files. Continue?", (gulong) _tmp15_);
-#line 1421 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1411 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp17_ = count;
-#line 1421 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1411 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp18_ = g_strdup_printf (_tmp16_, _tmp17_);
-#line 1421 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1411 "/home/jens/Source/shotwell/src/Dialogs.vala"
msg = _tmp18_;
-#line 1426 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1416 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp20_ = count;
-#line 1426 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1416 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp20_ == 1) {
-#line 13006 "Dialogs.c"
+#line 12687 "Dialogs.c"
const gchar* _tmp21_ = NULL;
-#line 1426 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1416 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp21_ = _ ("Re_vert External Edit");
-#line 1426 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1416 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp19_ = _tmp21_;
-#line 13012 "Dialogs.c"
+#line 12693 "Dialogs.c"
} else {
const gchar* _tmp22_ = NULL;
-#line 1426 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1416 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp22_ = _ ("Re_vert External Edits");
-#line 1426 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1416 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp19_ = _tmp22_;
-#line 13019 "Dialogs.c"
+#line 12700 "Dialogs.c"
}
-#line 1426 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1416 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp23_ = g_strdup (_tmp19_);
-#line 1426 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1416 "/home/jens/Source/shotwell/src/Dialogs.vala"
action = _tmp23_;
-#line 1428 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1418 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp24_ = owner;
-#line 1428 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1418 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp25_ = msg;
-#line 1428 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1418 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp26_ = (GtkMessageDialog*) gtk_message_dialog_new (_tmp24_, GTK_DIALOG_MODAL, GTK_MESSAGE_WARNING, GTK_BUTTONS_NONE, "%s", _tmp25_);
-#line 1428 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1418 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_object_ref_sink (_tmp26_);
-#line 1428 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1418 "/home/jens/Source/shotwell/src/Dialogs.vala"
dialog = _tmp26_;
-#line 1430 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1420 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp27_ = dialog;
-#line 1430 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1420 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp28_ = _ ("_Cancel");
-#line 1430 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1420 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_dialog_add_button (G_TYPE_CHECK_INSTANCE_CAST (_tmp27_, gtk_dialog_get_type (), GtkDialog), _tmp28_, (gint) GTK_RESPONSE_CANCEL);
-#line 1431 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1421 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp29_ = dialog;
-#line 1431 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1421 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp30_ = action;
-#line 1431 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1421 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_dialog_add_button (G_TYPE_CHECK_INSTANCE_CAST (_tmp29_, gtk_dialog_get_type (), GtkDialog), _tmp30_, (gint) GTK_RESPONSE_YES);
-#line 1433 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1423 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp31_ = dialog;
-#line 1433 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1423 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp32_ = headline;
-#line 1433 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1423 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp33_ = msg;
-#line 1433 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1423 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp34_ = build_alert_body_text (_tmp32_, _tmp33_, TRUE);
-#line 1433 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1423 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp35_ = _tmp34_;
-#line 1433 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1423 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_message_dialog_set_markup (_tmp31_, _tmp35_);
-#line 1433 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1423 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (_tmp35_);
-#line 1435 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1425 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp36_ = dialog;
-#line 1435 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1425 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp37_ = gtk_dialog_run (G_TYPE_CHECK_INSTANCE_CAST (_tmp36_, gtk_dialog_get_type (), GtkDialog));
-#line 1435 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1425 "/home/jens/Source/shotwell/src/Dialogs.vala"
_result_ = (GtkResponseType) _tmp37_;
-#line 1437 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1427 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp38_ = dialog;
-#line 1437 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1427 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (_tmp38_, gtk_widget_get_type (), GtkWidget));
-#line 1439 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1429 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp39_ = _result_;
-#line 1439 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1429 "/home/jens/Source/shotwell/src/Dialogs.vala"
result = _tmp39_ == GTK_RESPONSE_YES;
-#line 1439 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1429 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (dialog);
-#line 1439 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1429 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (action);
-#line 1439 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1429 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (msg);
-#line 1439 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1429 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (headline);
-#line 1439 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1429 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 13085 "Dialogs.c"
+#line 12766 "Dialogs.c"
}
@@ -13124,110 +12805,110 @@ gboolean remove_offline_dialog (GtkWindow* owner, gint count) {
gint _tmp18_ = 0;
GtkMessageDialog* _tmp19_ = NULL;
GtkResponseType _tmp20_ = 0;
-#line 1442 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1432 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_val_if_fail (GTK_IS_WINDOW (owner), FALSE);
-#line 1443 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1433 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = count;
-#line 1443 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1433 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp0_ == 0) {
-#line 1444 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1434 "/home/jens/Source/shotwell/src/Dialogs.vala"
result = FALSE;
-#line 1444 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1434 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 13123 "Dialogs.c"
+#line 12804 "Dialogs.c"
}
-#line 1446 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1436 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = count;
-#line 1446 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1436 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp2_ = ngettext ("This will remove the photo from the library. Continue?", "This will remove %d photos from the library. Continue?", (gulong) _tmp1_);
-#line 1446 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1436 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp3_ = count;
-#line 1446 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1436 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp4_ = g_strdup_printf (_tmp2_, _tmp3_);
-#line 1446 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1436 "/home/jens/Source/shotwell/src/Dialogs.vala"
msg = _tmp4_;
-#line 1451 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1441 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp5_ = owner;
-#line 1451 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1441 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp6_ = msg;
-#line 1451 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1441 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp7_ = (GtkMessageDialog*) gtk_message_dialog_new (_tmp5_, GTK_DIALOG_MODAL, GTK_MESSAGE_WARNING, GTK_BUTTONS_NONE, "%s", _tmp6_);
-#line 1451 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1441 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_object_ref_sink (_tmp7_);
-#line 1451 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1441 "/home/jens/Source/shotwell/src/Dialogs.vala"
dialog = _tmp7_;
-#line 1453 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1443 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp8_ = dialog;
-#line 1453 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1443 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp9_ = _ ("_Cancel");
-#line 1453 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1443 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_dialog_add_button (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, gtk_dialog_get_type (), GtkDialog), _tmp9_, (gint) GTK_RESPONSE_CANCEL);
-#line 1454 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1444 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp10_ = dialog;
-#line 1454 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1444 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp11_ = _ ("_Remove");
-#line 1454 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1444 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_dialog_add_button (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, gtk_dialog_get_type (), GtkDialog), _tmp11_, (gint) GTK_RESPONSE_OK);
-#line 1455 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1445 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp13_ = count;
-#line 1455 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1445 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp13_ == 1) {
-#line 13161 "Dialogs.c"
+#line 12842 "Dialogs.c"
const gchar* _tmp14_ = NULL;
-#line 1455 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1445 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp14_ = _ ("Remove Photo From Library");
-#line 1455 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1445 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp12_ = _tmp14_;
-#line 13167 "Dialogs.c"
+#line 12848 "Dialogs.c"
} else {
const gchar* _tmp15_ = NULL;
-#line 1455 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1445 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp15_ = _ ("Remove Photos From Library");
-#line 1455 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1445 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp12_ = _tmp15_;
-#line 13174 "Dialogs.c"
+#line 12855 "Dialogs.c"
}
-#line 1455 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1445 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp16_ = dialog;
-#line 1455 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1445 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_window_set_title (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, gtk_window_get_type (), GtkWindow), _tmp12_);
-#line 1457 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1447 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp17_ = dialog;
-#line 1457 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1447 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp18_ = gtk_dialog_run (G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, gtk_dialog_get_type (), GtkDialog));
-#line 1457 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1447 "/home/jens/Source/shotwell/src/Dialogs.vala"
_result_ = (GtkResponseType) _tmp18_;
-#line 1459 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1449 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp19_ = dialog;
-#line 1459 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1449 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, gtk_widget_get_type (), GtkWidget));
-#line 1461 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1451 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp20_ = _result_;
-#line 1461 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1451 "/home/jens/Source/shotwell/src/Dialogs.vala"
result = _tmp20_ == GTK_RESPONSE_OK;
-#line 1461 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1451 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (dialog);
-#line 1461 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1451 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (msg);
-#line 1461 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1451 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 13200 "Dialogs.c"
+#line 12881 "Dialogs.c"
}
static void _progress_dialog_on_cancel_gtk_button_clicked (GtkButton* _sender, gpointer self) {
-#line 1494 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1484 "/home/jens/Source/shotwell/src/Dialogs.vala"
progress_dialog_on_cancel ((ProgressDialog*) self);
-#line 13207 "Dialogs.c"
+#line 12888 "Dialogs.c"
}
static gboolean _progress_dialog_on_window_closed_gtk_widget_delete_event (GtkWidget* _sender, GdkEventAny* event, gpointer self) {
gboolean result;
result = progress_dialog_on_window_closed ((ProgressDialog*) self);
-#line 1495 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1485 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 13216 "Dialogs.c"
+#line 12897 "Dialogs.c"
}
@@ -13258,207 +12939,207 @@ ProgressDialog* progress_dialog_construct (GType object_type, GtkWindow* owner,
GtkBox* _tmp23_ = NULL;
GtkBox* _tmp24_ = NULL;
gulong _tmp25_ = 0UL;
-#line 1476 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1466 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_val_if_fail ((owner == NULL) || GTK_IS_WINDOW (owner), NULL);
-#line 1476 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1466 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_val_if_fail (text != NULL, NULL);
-#line 1476 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1466 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_val_if_fail ((cancellable == NULL) || G_IS_CANCELLABLE (cancellable), NULL);
-#line 1476 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1466 "/home/jens/Source/shotwell/src/Dialogs.vala"
self = (ProgressDialog*) g_object_new (object_type, NULL);
-#line 1477 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1467 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = cancellable;
-#line 1477 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1467 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = _g_object_ref0 (_tmp0_);
-#line 1477 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1467 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->cancellable);
-#line 1477 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1467 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->cancellable = _tmp1_;
-#line 1479 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1469 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp2_ = text;
-#line 1479 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1469 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_window_set_title (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), _tmp2_);
-#line 1480 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1470 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_window_set_resizable (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), FALSE);
-#line 1481 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1471 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp3_ = owner;
-#line 1481 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1471 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp3_ != NULL) {
-#line 13273 "Dialogs.c"
+#line 12954 "Dialogs.c"
GtkWindow* _tmp4_ = NULL;
-#line 1482 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1472 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp4_ = owner;
-#line 1482 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1472 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_window_set_transient_for (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), _tmp4_);
-#line 13279 "Dialogs.c"
+#line 12960 "Dialogs.c"
}
-#line 1483 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1473 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_window_set_modal (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), TRUE);
-#line 1484 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1474 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_window_set_type_hint (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), GDK_WINDOW_TYPE_HINT_DIALOG);
-#line 1486 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1476 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp5_ = self->priv->progress_bar;
-#line 1486 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1476 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_widget_set_size_request (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_widget_get_type (), GtkWidget), 300, -1);
-#line 1487 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1477 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp6_ = self->priv->progress_bar;
-#line 1487 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1477 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_progress_bar_set_show_text (_tmp6_, TRUE);
-#line 1489 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1479 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp7_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
-#line 1489 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1479 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_object_ref_sink (_tmp7_);
-#line 1489 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1479 "/home/jens/Source/shotwell/src/Dialogs.vala"
vbox_bar = _tmp7_;
-#line 1490 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1480 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp8_ = vbox_bar;
-#line 1490 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1480 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp9_ = self->priv->progress_bar;
-#line 1490 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1480 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_box_pack_start (_tmp8_, G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_widget_get_type (), GtkWidget), TRUE, FALSE, (guint) 0);
-#line 1492 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1482 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp10_ = cancellable;
-#line 1492 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1482 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp10_ != NULL) {
-#line 13309 "Dialogs.c"
+#line 12990 "Dialogs.c"
GtkButton* _tmp11_ = NULL;
GtkButton* _tmp12_ = NULL;
-#line 1493 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1483 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp11_ = (GtkButton*) gtk_button_new_with_mnemonic (RESOURCES_CANCEL_LABEL);
-#line 1493 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1483 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_object_ref_sink (_tmp11_);
-#line 1493 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1483 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->cancel_button);
-#line 1493 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1483 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->cancel_button = _tmp11_;
-#line 1494 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1484 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp12_ = self->priv->cancel_button;
-#line 1494 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1484 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_signal_connect_object (_tmp12_, "clicked", (GCallback) _progress_dialog_on_cancel_gtk_button_clicked, self, 0);
-#line 1495 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1485 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), "delete-event", (GCallback) _progress_dialog_on_window_closed_gtk_widget_delete_event, self, 0);
-#line 13326 "Dialogs.c"
+#line 13007 "Dialogs.c"
}
-#line 1498 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1488 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp13_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 8);
-#line 1498 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1488 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_object_ref_sink (_tmp13_);
-#line 1498 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1488 "/home/jens/Source/shotwell/src/Dialogs.vala"
hbox = _tmp13_;
-#line 1499 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1489 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp14_ = hbox;
-#line 1499 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1489 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp15_ = vbox_bar;
-#line 1499 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1489 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_box_pack_start (_tmp14_, G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, gtk_widget_get_type (), GtkWidget), TRUE, FALSE, (guint) 0);
-#line 1500 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1490 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp16_ = self->priv->cancel_button;
-#line 1500 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1490 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp16_ != NULL) {
-#line 13344 "Dialogs.c"
+#line 13025 "Dialogs.c"
GtkBox* _tmp17_ = NULL;
GtkButton* _tmp18_ = NULL;
-#line 1501 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1491 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp17_ = hbox;
-#line 1501 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1491 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp18_ = self->priv->cancel_button;
-#line 1501 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1491 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_box_pack_end (_tmp17_, G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
-#line 13353 "Dialogs.c"
+#line 13034 "Dialogs.c"
}
-#line 1503 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1493 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp19_ = (GtkLabel*) gtk_label_new ("");
-#line 1503 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1493 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_object_ref_sink (_tmp19_);
-#line 1503 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1493 "/home/jens/Source/shotwell/src/Dialogs.vala"
primary_text_label = _tmp19_;
-#line 1504 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1494 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp20_ = text;
-#line 1504 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1494 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp21_ = g_strdup_printf ("<span weight=\"bold\">%s</span>", _tmp20_);
-#line 1504 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1494 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp22_ = _tmp21_;
-#line 1504 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1494 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_label_set_markup (primary_text_label, _tmp22_);
-#line 1504 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1494 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (_tmp22_);
-#line 1505 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1495 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_label_set_xalign (primary_text_label, 0.0f);
-#line 1506 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1496 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_label_set_yalign (primary_text_label, 0.5f);
-#line 1508 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1498 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp23_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 12);
-#line 1508 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1498 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_object_ref_sink (_tmp23_);
-#line 1508 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1498 "/home/jens/Source/shotwell/src/Dialogs.vala"
vbox = _tmp23_;
-#line 1509 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1499 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_box_pack_start (vbox, G_TYPE_CHECK_INSTANCE_CAST (primary_text_label, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
-#line 1510 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1500 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp24_ = hbox;
-#line 1510 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1500 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_box_pack_start (vbox, G_TYPE_CHECK_INSTANCE_CAST (_tmp24_, gtk_widget_get_type (), GtkWidget), TRUE, FALSE, (guint) 0);
-#line 1511 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1501 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_widget_set_halign (G_TYPE_CHECK_INSTANCE_CAST (vbox, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_CENTER);
-#line 1512 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1502 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_widget_set_valign (G_TYPE_CHECK_INSTANCE_CAST (vbox, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_CENTER);
-#line 1513 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1503 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_widget_set_hexpand (G_TYPE_CHECK_INSTANCE_CAST (vbox, gtk_widget_get_type (), GtkWidget), TRUE);
-#line 1514 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1504 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_widget_set_vexpand (G_TYPE_CHECK_INSTANCE_CAST (vbox, gtk_widget_get_type (), GtkWidget), TRUE);
-#line 1515 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1505 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_widget_set_margin_start (G_TYPE_CHECK_INSTANCE_CAST (vbox, gtk_widget_get_type (), GtkWidget), 12);
-#line 1516 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1506 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_widget_set_margin_end (G_TYPE_CHECK_INSTANCE_CAST (vbox, gtk_widget_get_type (), GtkWidget), 12);
-#line 1517 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1507 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_widget_set_margin_top (G_TYPE_CHECK_INSTANCE_CAST (vbox, gtk_widget_get_type (), GtkWidget), 12);
-#line 1518 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1508 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_widget_set_margin_bottom (G_TYPE_CHECK_INSTANCE_CAST (vbox, gtk_widget_get_type (), GtkWidget), 12);
-#line 1520 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1510 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (vbox, gtk_widget_get_type (), GtkWidget));
-#line 1522 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1512 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp25_ = now_ms ();
-#line 1522 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1512 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->time_started = _tmp25_;
-#line 1476 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1466 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (vbox);
-#line 1476 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1466 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (primary_text_label);
-#line 1476 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1466 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (hbox);
-#line 1476 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1466 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (vbox_bar);
-#line 1476 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1466 "/home/jens/Source/shotwell/src/Dialogs.vala"
return self;
-#line 13419 "Dialogs.c"
+#line 13100 "Dialogs.c"
}
ProgressDialog* progress_dialog_new (GtkWindow* owner, const gchar* text, GCancellable* cancellable) {
-#line 1476 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1466 "/home/jens/Source/shotwell/src/Dialogs.vala"
return progress_dialog_construct (TYPE_PROGRESS_DIALOG, owner, text, cancellable);
-#line 13426 "Dialogs.c"
+#line 13107 "Dialogs.c"
}
static void progress_dialog_real_realize (GtkWidget* base) {
ProgressDialog * self;
GCancellable* _tmp0_ = NULL;
-#line 1525 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1515 "/home/jens/Source/shotwell/src/Dialogs.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_PROGRESS_DIALOG, ProgressDialog);
-#line 1526 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1516 "/home/jens/Source/shotwell/src/Dialogs.vala"
GTK_WIDGET_CLASS (progress_dialog_parent_class)->realize (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), gtk_widget_get_type (), GtkWidget));
-#line 1529 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1519 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = self->priv->cancellable;
-#line 1529 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1519 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp0_ == NULL) {
-#line 13441 "Dialogs.c"
+#line 13122 "Dialogs.c"
GdkWindow* _tmp1_ = NULL;
-#line 1530 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1520 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = gtk_widget_get_window (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
-#line 1530 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1520 "/home/jens/Source/shotwell/src/Dialogs.vala"
gdk_window_set_functions (_tmp1_, GDK_FUNC_MOVE);
-#line 13447 "Dialogs.c"
+#line 13128 "Dialogs.c"
}
}
@@ -13466,44 +13147,44 @@ static void progress_dialog_real_realize (GtkWidget* base) {
void progress_dialog_update_display_every (ProgressDialog* self, gint update_every) {
gint _tmp0_ = 0;
gint _tmp1_ = 0;
-#line 1533 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1523 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_if_fail (IS_PROGRESS_DIALOG (self));
-#line 1534 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1524 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = update_every;
-#line 1534 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1524 "/home/jens/Source/shotwell/src/Dialogs.vala"
_vala_assert (_tmp0_ >= 1, "update_every >= 1");
-#line 1536 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1526 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = update_every;
-#line 1536 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1526 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->update_every = _tmp1_;
-#line 13465 "Dialogs.c"
+#line 13146 "Dialogs.c"
}
void progress_dialog_set_minimum_on_screen_time_msec (ProgressDialog* self, gint minimum_on_screen_time_msec) {
gint _tmp0_ = 0;
-#line 1539 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1529 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_if_fail (IS_PROGRESS_DIALOG (self));
-#line 1540 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1530 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = minimum_on_screen_time_msec;
-#line 1540 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1530 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->minimum_on_screen_time_msec = _tmp0_;
-#line 13477 "Dialogs.c"
+#line 13158 "Dialogs.c"
}
void progress_dialog_set_fraction (ProgressDialog* self, gint current, gint total) {
gint _tmp0_ = 0;
gint _tmp1_ = 0;
-#line 1543 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1533 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_if_fail (IS_PROGRESS_DIALOG (self));
-#line 1544 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1534 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = current;
-#line 1544 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1534 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = total;
-#line 1544 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1534 "/home/jens/Source/shotwell/src/Dialogs.vala"
progress_dialog_set_percentage (self, ((gdouble) _tmp0_) / ((gdouble) _tmp1_));
-#line 13492 "Dialogs.c"
+#line 13173 "Dialogs.c"
}
@@ -13518,58 +13199,58 @@ void progress_dialog_set_percentage (ProgressDialog* self, gdouble pct) {
gdouble _tmp7_ = 0.0;
gchar* _tmp8_ = NULL;
gchar* _tmp9_ = NULL;
-#line 1547 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1537 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_if_fail (IS_PROGRESS_DIALOG (self));
-#line 1548 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1538 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = pct;
-#line 1548 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1538 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = CLAMP (_tmp0_, 0.0, 1.0);
-#line 1548 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1538 "/home/jens/Source/shotwell/src/Dialogs.vala"
pct = _tmp1_;
-#line 1550 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1540 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp2_ = pct;
-#line 1550 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1540 "/home/jens/Source/shotwell/src/Dialogs.vala"
progress_dialog_maybe_show_all (self, _tmp2_);
-#line 1552 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1542 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp3_ = self->priv->progress_bar;
-#line 1552 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1542 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp4_ = pct;
-#line 1552 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1542 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_progress_bar_set_fraction (_tmp3_, _tmp4_);
-#line 1553 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1543 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp5_ = self->priv->progress_bar;
-#line 1553 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1543 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp6_ = _ ("%d%%");
-#line 1553 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1543 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp7_ = pct;
-#line 1553 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1543 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp8_ = g_strdup_printf (_tmp6_, (gint) (_tmp7_ * 100.0));
-#line 1553 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1543 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp9_ = _tmp8_;
-#line 1553 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1543 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_progress_bar_set_text (_tmp5_, _tmp9_);
-#line 1553 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1543 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (_tmp9_);
-#line 13539 "Dialogs.c"
+#line 13220 "Dialogs.c"
}
void progress_dialog_set_status (ProgressDialog* self, const gchar* text) {
GtkProgressBar* _tmp0_ = NULL;
const gchar* _tmp1_ = NULL;
-#line 1561 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1551 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_if_fail (IS_PROGRESS_DIALOG (self));
-#line 1561 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1551 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_if_fail (text != NULL);
-#line 1562 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1552 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = self->priv->progress_bar;
-#line 1562 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1552 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = text;
-#line 1562 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1552 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_progress_bar_set_text (_tmp0_, _tmp1_);
-#line 1568 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1558 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
-#line 13558 "Dialogs.c"
+#line 13239 "Dialogs.c"
}
@@ -13581,131 +13262,131 @@ gboolean progress_dialog_monitor (ProgressDialog* self, guint64 count, guint64 t
GCancellable* _tmp9_ = NULL;
gboolean keep_going = FALSE;
gboolean _tmp12_ = FALSE;
-#line 1572 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1562 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_val_if_fail (IS_PROGRESS_DIALOG (self), FALSE);
-#line 1573 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1563 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = self->priv->last_count;
-#line 1573 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1563 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp1_ == G_MAXUINT64) {
-#line 1573 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1563 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = TRUE;
-#line 13578 "Dialogs.c"
+#line 13259 "Dialogs.c"
} else {
guint64 _tmp2_ = 0ULL;
guint64 _tmp3_ = 0ULL;
gint _tmp4_ = 0;
-#line 1573 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1563 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp2_ = count;
-#line 1573 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1563 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp3_ = self->priv->last_count;
-#line 1573 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1563 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp4_ = self->priv->update_every;
-#line 1573 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1563 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = (_tmp2_ - _tmp3_) >= ((guint64) _tmp4_);
-#line 13591 "Dialogs.c"
+#line 13272 "Dialogs.c"
}
-#line 1573 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1563 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp0_) {
-#line 13595 "Dialogs.c"
+#line 13276 "Dialogs.c"
guint64 _tmp5_ = 0ULL;
guint64 _tmp6_ = 0ULL;
guint64 _tmp7_ = 0ULL;
-#line 1574 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1564 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp5_ = count;
-#line 1574 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1564 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp6_ = total;
-#line 1574 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1564 "/home/jens/Source/shotwell/src/Dialogs.vala"
progress_dialog_set_percentage (self, ((gdouble) _tmp5_) / ((gdouble) _tmp6_));
-#line 1575 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1565 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp7_ = count;
-#line 1575 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1565 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->last_count = _tmp7_;
-#line 13609 "Dialogs.c"
+#line 13290 "Dialogs.c"
}
-#line 1578 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1568 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp9_ = self->priv->cancellable;
-#line 1578 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1568 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp9_ != NULL) {
-#line 13615 "Dialogs.c"
+#line 13296 "Dialogs.c"
GCancellable* _tmp10_ = NULL;
gboolean _tmp11_ = FALSE;
-#line 1578 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1568 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp10_ = self->priv->cancellable;
-#line 1578 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1568 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp11_ = g_cancellable_is_cancelled (_tmp10_);
-#line 1578 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1568 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp8_ = !_tmp11_;
-#line 13624 "Dialogs.c"
+#line 13305 "Dialogs.c"
} else {
-#line 1578 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1568 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp8_ = TRUE;
-#line 13628 "Dialogs.c"
+#line 13309 "Dialogs.c"
}
-#line 1578 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1568 "/home/jens/Source/shotwell/src/Dialogs.vala"
keep_going = _tmp8_;
-#line 1586 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1576 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp12_ = do_event_loop;
-#line 1586 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1576 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp12_) {
-#line 1587 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1577 "/home/jens/Source/shotwell/src/Dialogs.vala"
spin_event_loop ();
-#line 13638 "Dialogs.c"
+#line 13319 "Dialogs.c"
}
-#line 1589 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1579 "/home/jens/Source/shotwell/src/Dialogs.vala"
result = keep_going;
-#line 1589 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1579 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 13644 "Dialogs.c"
+#line 13325 "Dialogs.c"
}
void progress_dialog_close (ProgressDialog* self) {
-#line 1592 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1582 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_if_fail (IS_PROGRESS_DIALOG (self));
-#line 1597 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1587 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_widget_hide (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
-#line 1598 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1588 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
-#line 13655 "Dialogs.c"
+#line 13336 "Dialogs.c"
}
static gboolean progress_dialog_on_window_closed (ProgressDialog* self) {
gboolean result = FALSE;
-#line 1601 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1591 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_val_if_fail (IS_PROGRESS_DIALOG (self), FALSE);
-#line 1602 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1592 "/home/jens/Source/shotwell/src/Dialogs.vala"
progress_dialog_on_cancel (self);
-#line 1603 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1593 "/home/jens/Source/shotwell/src/Dialogs.vala"
result = FALSE;
-#line 1603 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1593 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 13669 "Dialogs.c"
+#line 13350 "Dialogs.c"
}
static void progress_dialog_on_cancel (ProgressDialog* self) {
GCancellable* _tmp0_ = NULL;
GtkButton* _tmp2_ = NULL;
-#line 1607 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1597 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_if_fail (IS_PROGRESS_DIALOG (self));
-#line 1608 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1598 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = self->priv->cancellable;
-#line 1608 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1598 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp0_ != NULL) {
-#line 13682 "Dialogs.c"
+#line 13363 "Dialogs.c"
GCancellable* _tmp1_ = NULL;
-#line 1609 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1599 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = self->priv->cancellable;
-#line 1609 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1599 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_cancellable_cancel (_tmp1_);
-#line 13688 "Dialogs.c"
+#line 13369 "Dialogs.c"
}
-#line 1611 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1601 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp2_ = self->priv->cancel_button;
-#line 1611 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1601 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_widget_get_type (), GtkWidget), FALSE);
-#line 13694 "Dialogs.c"
+#line 13375 "Dialogs.c"
}
@@ -13713,35 +13394,35 @@ static void progress_dialog_maybe_show_all (ProgressDialog* self, gdouble pct) {
gboolean _tmp0_ = FALSE;
gboolean _tmp1_ = FALSE;
gboolean _tmp2_ = FALSE;
-#line 1614 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1604 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_if_fail (IS_PROGRESS_DIALOG (self));
-#line 1617 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1607 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = gtk_widget_get_visible (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
-#line 1617 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1607 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp2_ = _tmp1_;
-#line 1617 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1607 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (!_tmp2_) {
-#line 13710 "Dialogs.c"
+#line 13391 "Dialogs.c"
gulong _tmp3_ = 0UL;
gulong _tmp4_ = 0UL;
gint _tmp5_ = 0;
-#line 1617 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1607 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp3_ = now_ms ();
-#line 1617 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1607 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp4_ = self->priv->time_started;
-#line 1617 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1607 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp5_ = self->priv->minimum_on_screen_time_msec;
-#line 1617 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1607 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = (_tmp3_ - _tmp4_) > ((gulong) _tmp5_);
-#line 13722 "Dialogs.c"
+#line 13403 "Dialogs.c"
} else {
-#line 1617 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1607 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = FALSE;
-#line 13726 "Dialogs.c"
+#line 13407 "Dialogs.c"
}
-#line 1617 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1607 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp0_) {
-#line 13730 "Dialogs.c"
+#line 13411 "Dialogs.c"
gdouble pps = 0.0;
gdouble _tmp6_ = 0.0;
gint _tmp7_ = 0;
@@ -13749,80 +13430,80 @@ static void progress_dialog_maybe_show_all (ProgressDialog* self, gdouble pct) {
gdouble _tmp8_ = 0.0;
gdouble _tmp9_ = 0.0;
gint _tmp10_ = 0;
-#line 1619 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1609 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp6_ = pct;
-#line 1619 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1609 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp7_ = self->priv->minimum_on_screen_time_msec;
-#line 1619 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1609 "/home/jens/Source/shotwell/src/Dialogs.vala"
pps = (_tmp6_ * 100.0) / _tmp7_;
-#line 1621 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1611 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp8_ = pps;
-#line 1621 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1611 "/home/jens/Source/shotwell/src/Dialogs.vala"
ttc = 100.0 / _tmp8_;
-#line 1624 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1614 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp9_ = ttc;
-#line 1624 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1614 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp10_ = self->priv->minimum_on_screen_time_msec;
-#line 1624 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1614 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp9_ > ((gdouble) _tmp10_)) {
-#line 1629 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1619 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
-#line 1630 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1620 "/home/jens/Source/shotwell/src/Dialogs.vala"
spin_event_loop ();
-#line 13758 "Dialogs.c"
+#line 13439 "Dialogs.c"
}
}
}
static void progress_dialog_class_init (ProgressDialogClass * klass) {
-#line 1464 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1454 "/home/jens/Source/shotwell/src/Dialogs.vala"
progress_dialog_parent_class = g_type_class_peek_parent (klass);
-#line 1464 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1454 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_type_class_add_private (klass, sizeof (ProgressDialogPrivate));
-#line 1464 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1454 "/home/jens/Source/shotwell/src/Dialogs.vala"
((GtkWidgetClass *) klass)->realize = progress_dialog_real_realize;
-#line 1464 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1454 "/home/jens/Source/shotwell/src/Dialogs.vala"
G_OBJECT_CLASS (klass)->finalize = progress_dialog_finalize;
-#line 13773 "Dialogs.c"
+#line 13454 "Dialogs.c"
}
static void progress_dialog_instance_init (ProgressDialog * self) {
GtkProgressBar* _tmp0_ = NULL;
-#line 1464 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1454 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv = PROGRESS_DIALOG_GET_PRIVATE (self);
-#line 1465 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1455 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = (GtkProgressBar*) gtk_progress_bar_new ();
-#line 1465 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1455 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_object_ref_sink (_tmp0_);
-#line 1465 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1455 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->progress_bar = _tmp0_;
-#line 1466 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1456 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->cancel_button = NULL;
-#line 1468 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1458 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->last_count = G_MAXUINT64;
-#line 1469 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1459 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->update_every = 1;
-#line 1470 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1460 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->minimum_on_screen_time_msec = 500;
-#line 13795 "Dialogs.c"
+#line 13476 "Dialogs.c"
}
static void progress_dialog_finalize (GObject* obj) {
ProgressDialog * self;
-#line 1464 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1454 "/home/jens/Source/shotwell/src/Dialogs.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_PROGRESS_DIALOG, ProgressDialog);
-#line 1465 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1455 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->progress_bar);
-#line 1466 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1456 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->cancel_button);
-#line 1467 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1457 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->cancellable);
-#line 1464 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1454 "/home/jens/Source/shotwell/src/Dialogs.vala"
G_OBJECT_CLASS (progress_dialog_parent_class)->finalize (obj);
-#line 13811 "Dialogs.c"
+#line 13492 "Dialogs.c"
}
@@ -13851,68 +13532,68 @@ static GType adjust_date_time_dialog_time_system_get_type (void) {
static void _adjust_date_time_dialog_on_time_changed_gtk_calendar_day_selected (GtkCalendar* _sender, gpointer self) {
-#line 1682 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1672 "/home/jens/Source/shotwell/src/Dialogs.vala"
adjust_date_time_dialog_on_time_changed ((AdjustDateTimeDialog*) self);
-#line 13842 "Dialogs.c"
+#line 13523 "Dialogs.c"
}
static void _adjust_date_time_dialog_on_time_changed_gtk_calendar_month_changed (GtkCalendar* _sender, gpointer self) {
-#line 1683 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1673 "/home/jens/Source/shotwell/src/Dialogs.vala"
adjust_date_time_dialog_on_time_changed ((AdjustDateTimeDialog*) self);
-#line 13849 "Dialogs.c"
+#line 13530 "Dialogs.c"
}
static void _adjust_date_time_dialog_on_time_changed_gtk_calendar_next_year (GtkCalendar* _sender, gpointer self) {
-#line 1684 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1674 "/home/jens/Source/shotwell/src/Dialogs.vala"
adjust_date_time_dialog_on_time_changed ((AdjustDateTimeDialog*) self);
-#line 13856 "Dialogs.c"
+#line 13537 "Dialogs.c"
}
static void _adjust_date_time_dialog_on_time_changed_gtk_calendar_prev_year (GtkCalendar* _sender, gpointer self) {
-#line 1685 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1675 "/home/jens/Source/shotwell/src/Dialogs.vala"
adjust_date_time_dialog_on_time_changed ((AdjustDateTimeDialog*) self);
-#line 13863 "Dialogs.c"
+#line 13544 "Dialogs.c"
}
static gboolean _adjust_date_time_dialog_on_spin_button_output_gtk_spin_button_output (GtkSpinButton* _sender, gpointer self) {
gboolean result;
result = adjust_date_time_dialog_on_spin_button_output ((AdjustDateTimeDialog*) self, _sender);
-#line 1692 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1682 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 13872 "Dialogs.c"
+#line 13553 "Dialogs.c"
}
static void _adjust_date_time_dialog_on_time_system_changed_gtk_combo_box_changed (GtkComboBox* _sender, gpointer self) {
-#line 1710 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1700 "/home/jens/Source/shotwell/src/Dialogs.vala"
adjust_date_time_dialog_on_time_system_changed ((AdjustDateTimeDialog*) self);
-#line 13879 "Dialogs.c"
+#line 13560 "Dialogs.c"
}
static void _adjust_date_time_dialog_on_time_changed_gtk_toggle_button_toggled (GtkToggleButton* _sender, gpointer self) {
-#line 1732 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1722 "/home/jens/Source/shotwell/src/Dialogs.vala"
adjust_date_time_dialog_on_time_changed ((AdjustDateTimeDialog*) self);
-#line 13886 "Dialogs.c"
+#line 13567 "Dialogs.c"
}
static void g_time_local (time_t time, struct tm* result) {
struct tm _result_ = {0};
struct tm _tmp0_ = {0};
-#line 2750 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2701 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
localtime_r (&time, &_tmp0_);
-#line 2750 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2701 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_result_ = _tmp0_;
-#line 2751 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2702 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
*result = _result_;
-#line 2751 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2702 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return;
-#line 13901 "Dialogs.c"
+#line 13582 "Dialogs.c"
}
@@ -14048,367 +13729,367 @@ AdjustDateTimeDialog* adjust_date_time_dialog_construct (GType object_type, Date
ConfigFacade* _tmp158_ = NULL;
gboolean _tmp159_ = FALSE;
GError * _inner_error_ = NULL;
-#line 1665 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1655 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_val_if_fail (IS_DATEABLE (source), NULL);
-#line 1667 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1657 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = source;
-#line 1667 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1657 "/home/jens/Source/shotwell/src/Dialogs.vala"
_vala_assert (_tmp0_ != NULL, "source != null");
-#line 1670 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1660 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = gtk_settings_get_default ();
-#line 1670 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1660 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_object_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, G_TYPE_OBJECT, GObject), "gtk-dialogs-use-header", &use_header, NULL);
-#line 1671 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1661 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp3_ = use_header;
-#line 1671 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1661 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp3_) {
-#line 1671 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1661 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp2_ = 1;
-#line 14053 "Dialogs.c"
+#line 13734 "Dialogs.c"
} else {
-#line 1671 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1661 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp2_ = 0;
-#line 14057 "Dialogs.c"
+#line 13738 "Dialogs.c"
}
-#line 1671 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1661 "/home/jens/Source/shotwell/src/Dialogs.vala"
self = (AdjustDateTimeDialog*) g_object_new (object_type, "use-header-bar", _tmp2_, NULL);
-#line 1673 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1663 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_window_set_modal (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), TRUE);
-#line 1674 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1664 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_window_set_resizable (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), FALSE);
-#line 1675 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1665 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp4_ = app_window_get_instance ();
-#line 1675 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1665 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp5_ = _tmp4_;
-#line 1675 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1665 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_window_set_transient_for (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_window_get_type (), GtkWindow));
-#line 1675 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1665 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_tmp5_);
-#line 1677 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1667 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_dialog_add_buttons (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), RESOURCES_CANCEL_LABEL, GTK_RESPONSE_CANCEL, RESOURCES_OK_LABEL, GTK_RESPONSE_OK, NULL);
-#line 1679 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1669 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_window_set_title (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), RESOURCES_ADJUST_DATE_TIME_LABEL);
-#line 1681 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1671 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp6_ = (GtkCalendar*) gtk_calendar_new ();
-#line 1681 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1671 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_object_ref_sink (_tmp6_);
-#line 1681 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1671 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->calendar);
-#line 1681 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1671 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->calendar = _tmp6_;
-#line 1682 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1672 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp7_ = self->priv->calendar;
-#line 1682 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1672 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_signal_connect_object (_tmp7_, "day-selected", (GCallback) _adjust_date_time_dialog_on_time_changed_gtk_calendar_day_selected, self, 0);
-#line 1683 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1673 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp8_ = self->priv->calendar;
-#line 1683 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1673 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_signal_connect_object (_tmp8_, "month-changed", (GCallback) _adjust_date_time_dialog_on_time_changed_gtk_calendar_month_changed, self, 0);
-#line 1684 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1674 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp9_ = self->priv->calendar;
-#line 1684 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1674 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_signal_connect_object (_tmp9_, "next-year", (GCallback) _adjust_date_time_dialog_on_time_changed_gtk_calendar_next_year, self, 0);
-#line 1685 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1675 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp10_ = self->priv->calendar;
-#line 1685 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1675 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_signal_connect_object (_tmp10_, "prev-year", (GCallback) _adjust_date_time_dialog_on_time_changed_gtk_calendar_prev_year, self, 0);
-#line 1687 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1677 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp11_ = config_facade_get_instance ();
-#line 1687 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1677 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp12_ = _tmp11_;
-#line 1687 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1677 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp13_ = configuration_facade_get_use_24_hour_time (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
-#line 1687 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1677 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp14_ = _tmp13_;
-#line 1687 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1677 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_tmp12_);
-#line 1687 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1677 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp14_) {
-#line 14113 "Dialogs.c"
+#line 13794 "Dialogs.c"
GtkSpinButton* _tmp15_ = NULL;
-#line 1688 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1678 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp15_ = (GtkSpinButton*) gtk_spin_button_new_with_range ((gdouble) 0, (gdouble) 23, (gdouble) 1);
-#line 1688 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1678 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_object_ref_sink (_tmp15_);
-#line 1688 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1678 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->hour);
-#line 1688 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1678 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->hour = _tmp15_;
-#line 14123 "Dialogs.c"
+#line 13804 "Dialogs.c"
} else {
GtkSpinButton* _tmp16_ = NULL;
-#line 1690 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1680 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp16_ = (GtkSpinButton*) gtk_spin_button_new_with_range ((gdouble) 1, (gdouble) 12, (gdouble) 1);
-#line 1690 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1680 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_object_ref_sink (_tmp16_);
-#line 1690 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1680 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->hour);
-#line 1690 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1680 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->hour = _tmp16_;
-#line 14134 "Dialogs.c"
+#line 13815 "Dialogs.c"
}
-#line 1692 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1682 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp17_ = self->priv->hour;
-#line 1692 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1682 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_signal_connect_object (_tmp17_, "output", (GCallback) _adjust_date_time_dialog_on_spin_button_output_gtk_spin_button_output, self, 0);
-#line 1693 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1683 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp18_ = self->priv->hour;
-#line 1693 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1683 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_entry_set_width_chars (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, gtk_entry_get_type (), GtkEntry), 2);
-#line 1694 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1684 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp19_ = self->priv->hour;
-#line 1694 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1684 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_entry_set_max_width_chars (G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, gtk_entry_get_type (), GtkEntry), 2);
-#line 1696 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1686 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp20_ = (GtkSpinButton*) gtk_spin_button_new_with_range ((gdouble) 0, (gdouble) 59, (gdouble) 1);
-#line 1696 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1686 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_object_ref_sink (_tmp20_);
-#line 1696 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1686 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->minute);
-#line 1696 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1686 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->minute = _tmp20_;
-#line 1697 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1687 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp21_ = self->priv->minute;
-#line 1697 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1687 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_entry_set_width_chars (G_TYPE_CHECK_INSTANCE_CAST (_tmp21_, gtk_entry_get_type (), GtkEntry), 2);
-#line 1698 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1688 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp22_ = self->priv->minute;
-#line 1698 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1688 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_entry_set_max_width_chars (G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, gtk_entry_get_type (), GtkEntry), 2);
-#line 1699 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1689 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp23_ = self->priv->minute;
-#line 1699 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1689 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_signal_connect_object (_tmp23_, "output", (GCallback) _adjust_date_time_dialog_on_spin_button_output_gtk_spin_button_output, self, 0);
-#line 1701 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1691 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp24_ = (GtkSpinButton*) gtk_spin_button_new_with_range ((gdouble) 0, (gdouble) 59, (gdouble) 1);
-#line 1701 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1691 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_object_ref_sink (_tmp24_);
-#line 1701 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1691 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->second);
-#line 1701 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1691 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->second = _tmp24_;
-#line 1702 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1692 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp25_ = self->priv->second;
-#line 1702 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1692 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_entry_set_width_chars (G_TYPE_CHECK_INSTANCE_CAST (_tmp25_, gtk_entry_get_type (), GtkEntry), 2);
-#line 1703 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1693 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp26_ = self->priv->second;
-#line 1703 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1693 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_entry_set_max_width_chars (G_TYPE_CHECK_INSTANCE_CAST (_tmp26_, gtk_entry_get_type (), GtkEntry), 2);
-#line 1704 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1694 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp27_ = self->priv->second;
-#line 1704 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1694 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_signal_connect_object (_tmp27_, "output", (GCallback) _adjust_date_time_dialog_on_spin_button_output_gtk_spin_button_output, self, 0);
-#line 1706 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1696 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp28_ = (GtkComboBoxText*) gtk_combo_box_text_new ();
-#line 1706 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1696 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_object_ref_sink (_tmp28_);
-#line 1706 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1696 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->system);
-#line 1706 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1696 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->system = _tmp28_;
-#line 1707 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1697 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp29_ = self->priv->system;
-#line 1707 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1697 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp30_ = _ ("AM");
-#line 1707 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1697 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_combo_box_text_append_text (_tmp29_, _tmp30_);
-#line 1708 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1698 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp31_ = self->priv->system;
-#line 1708 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1698 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp32_ = _ ("PM");
-#line 1708 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1698 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_combo_box_text_append_text (_tmp31_, _tmp32_);
-#line 1709 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1699 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp33_ = self->priv->system;
-#line 1709 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1699 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp34_ = _ ("24 Hr");
-#line 1709 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1699 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_combo_box_text_append_text (_tmp33_, _tmp34_);
-#line 1710 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1700 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp35_ = self->priv->system;
-#line 1710 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1700 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp35_, gtk_combo_box_get_type (), GtkComboBox), "changed", (GCallback) _adjust_date_time_dialog_on_time_system_changed_gtk_combo_box_changed, self, 0);
-#line 1712 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1702 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp36_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 3);
-#line 1712 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1702 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_object_ref_sink (_tmp36_);
-#line 1712 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1702 "/home/jens/Source/shotwell/src/Dialogs.vala"
clock = _tmp36_;
-#line 1714 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1704 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp37_ = clock;
-#line 1714 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1704 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp38_ = self->priv->hour;
-#line 1714 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1704 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_box_pack_start (_tmp37_, G_TYPE_CHECK_INSTANCE_CAST (_tmp38_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
-#line 1715 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1705 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp39_ = clock;
-#line 1715 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1705 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp40_ = (GtkLabel*) gtk_label_new (":");
-#line 1715 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1705 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_object_ref_sink (_tmp40_);
-#line 1715 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1705 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp41_ = _tmp40_;
-#line 1715 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1705 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_box_pack_start (_tmp39_, G_TYPE_CHECK_INSTANCE_CAST (_tmp41_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
-#line 1715 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1705 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_tmp41_);
-#line 1716 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1706 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp42_ = clock;
-#line 1716 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1706 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp43_ = self->priv->minute;
-#line 1716 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1706 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_box_pack_start (_tmp42_, G_TYPE_CHECK_INSTANCE_CAST (_tmp43_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
-#line 1717 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1707 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp44_ = clock;
-#line 1717 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1707 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp45_ = (GtkLabel*) gtk_label_new (":");
-#line 1717 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1707 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_object_ref_sink (_tmp45_);
-#line 1717 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1707 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp46_ = _tmp45_;
-#line 1717 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1707 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_box_pack_start (_tmp44_, G_TYPE_CHECK_INSTANCE_CAST (_tmp46_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
-#line 1717 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1707 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_tmp46_);
-#line 1718 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1708 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp47_ = clock;
-#line 1718 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1708 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp48_ = self->priv->second;
-#line 1718 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1708 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_box_pack_start (_tmp47_, G_TYPE_CHECK_INSTANCE_CAST (_tmp48_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
-#line 1719 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1709 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp49_ = clock;
-#line 1719 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1709 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp50_ = self->priv->system;
-#line 1719 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1709 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_box_pack_start (_tmp49_, G_TYPE_CHECK_INSTANCE_CAST (_tmp50_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
-#line 1721 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1711 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_dialog_set_default_response (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), (gint) GTK_RESPONSE_OK);
-#line 1723 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1713 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp51_ = _ ("_Shift photos/videos by the same amount");
-#line 1723 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1713 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp52_ = (GtkRadioButton*) gtk_radio_button_new_with_mnemonic (NULL, _tmp51_);
-#line 1723 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1713 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_object_ref_sink (_tmp52_);
-#line 1723 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1713 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->relativity_radio_button);
-#line 1723 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1713 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->relativity_radio_button = _tmp52_;
-#line 1725 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1715 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp53_ = self->priv->relativity_radio_button;
-#line 1725 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1715 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp54_ = config_facade_get_instance ();
-#line 1725 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1715 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp55_ = _tmp54_;
-#line 1725 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1715 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp56_ = configuration_facade_get_keep_relativity (G_TYPE_CHECK_INSTANCE_CAST (_tmp55_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
-#line 1725 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1715 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp53_, gtk_toggle_button_get_type (), GtkToggleButton), _tmp56_);
-#line 1725 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1715 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_tmp55_);
-#line 1726 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1716 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp58_ = display_options;
-#line 1726 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1716 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp58_) {
-#line 14300 "Dialogs.c"
+#line 13981 "Dialogs.c"
gint _tmp59_ = 0;
-#line 1726 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1716 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp59_ = photo_count;
-#line 1726 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1716 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp57_ = _tmp59_ > 1;
-#line 14306 "Dialogs.c"
+#line 13987 "Dialogs.c"
} else {
-#line 1726 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1716 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp57_ = FALSE;
-#line 14310 "Dialogs.c"
+#line 13991 "Dialogs.c"
}
-#line 1726 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1716 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp60_ = self->priv->relativity_radio_button;
-#line 1726 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1716 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp60_, gtk_widget_get_type (), GtkWidget), _tmp57_);
-#line 1728 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1718 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp61_ = self->priv->relativity_radio_button;
-#line 1728 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1718 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp62_ = gtk_radio_button_get_group (_tmp61_);
-#line 1728 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1718 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp63_ = _ ("Set _all photos/videos to this time");
-#line 1728 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1718 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp64_ = (GtkRadioButton*) gtk_radio_button_new_with_mnemonic (_tmp62_, _tmp63_);
-#line 1728 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1718 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_object_ref_sink (_tmp64_);
-#line 1728 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1718 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->batch_radio_button);
-#line 1728 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1718 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->batch_radio_button = _tmp64_;
-#line 1730 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1720 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp65_ = self->priv->batch_radio_button;
-#line 1730 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1720 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp66_ = config_facade_get_instance ();
-#line 1730 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1720 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp67_ = _tmp66_;
-#line 1730 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1720 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp68_ = configuration_facade_get_keep_relativity (G_TYPE_CHECK_INSTANCE_CAST (_tmp67_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
-#line 1730 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1720 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp65_, gtk_toggle_button_get_type (), GtkToggleButton), !_tmp68_);
-#line 1730 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1720 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_tmp67_);
-#line 1731 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1721 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp70_ = display_options;
-#line 1731 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1721 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp70_) {
-#line 14346 "Dialogs.c"
+#line 14027 "Dialogs.c"
gint _tmp71_ = 0;
-#line 1731 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1721 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp71_ = photo_count;
-#line 1731 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1721 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp69_ = _tmp71_ > 1;
-#line 14352 "Dialogs.c"
+#line 14033 "Dialogs.c"
} else {
-#line 1731 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1721 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp69_ = FALSE;
-#line 14356 "Dialogs.c"
+#line 14037 "Dialogs.c"
}
-#line 1731 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1721 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp72_ = self->priv->batch_radio_button;
-#line 1731 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1721 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp72_, gtk_widget_get_type (), GtkWidget), _tmp69_);
-#line 1732 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1722 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp73_ = self->priv->batch_radio_button;
-#line 1732 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1722 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp73_, gtk_toggle_button_get_type (), GtkToggleButton), "toggled", (GCallback) _adjust_date_time_dialog_on_time_changed_gtk_toggle_button_toggled, self, 0);
-#line 1734 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1724 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp74_ = contains_video;
-#line 1734 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1724 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp74_) {
-#line 14370 "Dialogs.c"
+#line 14051 "Dialogs.c"
gchar* text = NULL;
gint _tmp75_ = 0;
const gchar* _tmp76_ = NULL;
gchar* _tmp77_ = NULL;
const gchar* _tmp78_ = NULL;
GtkCheckButton* _tmp79_ = NULL;
-#line 1735 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1725 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp75_ = photo_count;
-#line 1735 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1725 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp76_ = ngettext ("_Modify original photo file", "_Modify original photo files", (gulong) _tmp75_);
-#line 1735 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1725 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp77_ = g_strdup (_tmp76_);
-#line 1735 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1725 "/home/jens/Source/shotwell/src/Dialogs.vala"
text = _tmp77_;
-#line 1737 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1727 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp78_ = text;
-#line 1737 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1727 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp79_ = (GtkCheckButton*) gtk_check_button_new_with_mnemonic (_tmp78_);
-#line 1737 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1727 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_object_ref_sink (_tmp79_);
-#line 1737 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1727 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->modify_originals_check_button);
-#line 1737 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1727 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->modify_originals_check_button = _tmp79_;
-#line 1734 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1724 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (text);
-#line 14397 "Dialogs.c"
+#line 14078 "Dialogs.c"
} else {
gchar* text = NULL;
gint _tmp80_ = 0;
@@ -14416,181 +14097,181 @@ AdjustDateTimeDialog* adjust_date_time_dialog_construct (GType object_type, Date
gchar* _tmp82_ = NULL;
const gchar* _tmp83_ = NULL;
GtkCheckButton* _tmp84_ = NULL;
-#line 1739 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1729 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp80_ = photo_count;
-#line 1739 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1729 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp81_ = ngettext ("_Modify original file", "_Modify original files", (gulong) _tmp80_);
-#line 1739 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1729 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp82_ = g_strdup (_tmp81_);
-#line 1739 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1729 "/home/jens/Source/shotwell/src/Dialogs.vala"
text = _tmp82_;
-#line 1740 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1730 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp83_ = text;
-#line 1740 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1730 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp84_ = (GtkCheckButton*) gtk_check_button_new_with_mnemonic (_tmp83_);
-#line 1740 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1730 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_object_ref_sink (_tmp84_);
-#line 1740 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1730 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->modify_originals_check_button);
-#line 1740 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1730 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->modify_originals_check_button = _tmp84_;
-#line 1734 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1724 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (text);
-#line 14425 "Dialogs.c"
+#line 14106 "Dialogs.c"
}
-#line 1743 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1733 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp86_ = config_facade_get_instance ();
-#line 1743 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1733 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp87_ = _tmp86_;
-#line 1743 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1733 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp88_ = configuration_facade_get_commit_metadata_to_masters (G_TYPE_CHECK_INSTANCE_CAST (_tmp87_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
-#line 1743 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1733 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp89_ = _tmp88_;
-#line 1743 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1733 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_tmp87_);
-#line 1743 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1733 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp89_) {
-#line 14439 "Dialogs.c"
+#line 14120 "Dialogs.c"
gboolean _tmp90_ = FALSE;
-#line 1744 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1734 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp90_ = display_options;
-#line 1744 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1734 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp85_ = _tmp90_;
-#line 14445 "Dialogs.c"
+#line 14126 "Dialogs.c"
} else {
-#line 1743 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1733 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp85_ = FALSE;
-#line 14449 "Dialogs.c"
+#line 14130 "Dialogs.c"
}
-#line 1743 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1733 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp91_ = self->priv->modify_originals_check_button;
-#line 1743 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1733 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp91_, gtk_toggle_button_get_type (), GtkToggleButton), _tmp85_);
-#line 1745 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1735 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp93_ = only_video;
-#line 1745 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1735 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (!_tmp93_) {
-#line 14459 "Dialogs.c"
+#line 14140 "Dialogs.c"
gboolean _tmp94_ = FALSE;
ConfigFacade* _tmp95_ = NULL;
ConfigFacade* _tmp96_ = NULL;
gboolean _tmp97_ = FALSE;
gboolean _tmp98_ = FALSE;
-#line 1746 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1736 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp95_ = config_facade_get_instance ();
-#line 1746 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1736 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp96_ = _tmp95_;
-#line 1746 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1736 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp97_ = configuration_facade_get_commit_metadata_to_masters (G_TYPE_CHECK_INSTANCE_CAST (_tmp96_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
-#line 1746 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1736 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp98_ = !_tmp97_;
-#line 1746 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1736 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_tmp96_);
-#line 1746 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1736 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp98_) {
-#line 14477 "Dialogs.c"
+#line 14158 "Dialogs.c"
gboolean _tmp99_ = FALSE;
-#line 1746 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1736 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp99_ = display_options;
-#line 1746 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1736 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp94_ = _tmp99_;
-#line 14483 "Dialogs.c"
+#line 14164 "Dialogs.c"
} else {
-#line 1746 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1736 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp94_ = FALSE;
-#line 14487 "Dialogs.c"
+#line 14168 "Dialogs.c"
}
-#line 1746 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1736 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp92_ = _tmp94_;
-#line 14491 "Dialogs.c"
+#line 14172 "Dialogs.c"
} else {
-#line 1745 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1735 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp92_ = FALSE;
-#line 14495 "Dialogs.c"
+#line 14176 "Dialogs.c"
}
-#line 1745 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1735 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp100_ = self->priv->modify_originals_check_button;
-#line 1745 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1735 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp100_, gtk_widget_get_type (), GtkWidget), _tmp92_);
-#line 1748 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1738 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp101_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 5);
-#line 1748 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1738 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_object_ref_sink (_tmp101_);
-#line 1748 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1738 "/home/jens/Source/shotwell/src/Dialogs.vala"
time_content = _tmp101_;
-#line 1750 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1740 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp102_ = time_content;
-#line 1750 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1740 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp103_ = self->priv->calendar;
-#line 1750 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1740 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_box_pack_start (_tmp102_, G_TYPE_CHECK_INSTANCE_CAST (_tmp103_, gtk_widget_get_type (), GtkWidget), TRUE, FALSE, (guint) 0);
-#line 1751 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1741 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp104_ = time_content;
-#line 1751 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1741 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp105_ = clock;
-#line 1751 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1741 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_box_pack_start (_tmp104_, G_TYPE_CHECK_INSTANCE_CAST (_tmp105_, gtk_widget_get_type (), GtkWidget), TRUE, FALSE, (guint) 0);
-#line 1753 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1743 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp106_ = display_options;
-#line 1753 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1743 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp106_) {
-#line 14523 "Dialogs.c"
+#line 14204 "Dialogs.c"
GtkBox* _tmp107_ = NULL;
GtkRadioButton* _tmp108_ = NULL;
GtkBox* _tmp109_ = NULL;
GtkRadioButton* _tmp110_ = NULL;
GtkBox* _tmp111_ = NULL;
GtkCheckButton* _tmp112_ = NULL;
-#line 1754 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1744 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp107_ = time_content;
-#line 1754 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1744 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp108_ = self->priv->relativity_radio_button;
-#line 1754 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1744 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_box_pack_start (_tmp107_, G_TYPE_CHECK_INSTANCE_CAST (_tmp108_, gtk_widget_get_type (), GtkWidget), TRUE, FALSE, (guint) 0);
-#line 1755 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1745 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp109_ = time_content;
-#line 1755 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1745 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp110_ = self->priv->batch_radio_button;
-#line 1755 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1745 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_box_pack_start (_tmp109_, G_TYPE_CHECK_INSTANCE_CAST (_tmp110_, gtk_widget_get_type (), GtkWidget), TRUE, FALSE, (guint) 0);
-#line 1756 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1746 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp111_ = time_content;
-#line 1756 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1746 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp112_ = self->priv->modify_originals_check_button;
-#line 1756 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1746 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_box_pack_start (_tmp111_, G_TYPE_CHECK_INSTANCE_CAST (_tmp112_, gtk_widget_get_type (), GtkWidget), TRUE, FALSE, (guint) 0);
-#line 14548 "Dialogs.c"
+#line 14229 "Dialogs.c"
}
-#line 1759 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1749 "/home/jens/Source/shotwell/src/Dialogs.vala"
preview = NULL;
-#line 14552 "Dialogs.c"
+#line 14233 "Dialogs.c"
{
GdkPixbuf* _tmp113_ = NULL;
Dateable* _tmp114_ = NULL;
GdkPixbuf* _tmp115_ = NULL;
GdkPixbuf* _tmp116_ = NULL;
-#line 1763 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1753 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp114_ = source;
-#line 1763 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1753 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp115_ = thumbnail_source_get_thumbnail (G_TYPE_CHECK_INSTANCE_CAST (_tmp114_, TYPE_THUMBNAIL_SOURCE, ThumbnailSource), ADJUST_DATE_TIME_DIALOG_CALENDAR_THUMBNAIL_SCALE, &_inner_error_);
-#line 1763 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1753 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp113_ = _tmp115_;
-#line 1763 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1753 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 14566 "Dialogs.c"
+#line 14247 "Dialogs.c"
goto __catch422_g_error;
}
-#line 1763 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1753 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp116_ = _tmp113_;
-#line 1763 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1753 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp113_ = NULL;
-#line 1763 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1753 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (preview);
-#line 1763 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1753 "/home/jens/Source/shotwell/src/Dialogs.vala"
preview = _tmp116_;
-#line 1760 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1750 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_tmp113_);
-#line 14579 "Dialogs.c"
+#line 14260 "Dialogs.c"
}
goto __finally422;
__catch422_g_error:
@@ -14599,235 +14280,235 @@ AdjustDateTimeDialog* adjust_date_time_dialog_construct (GType object_type, Date
Dateable* _tmp117_ = NULL;
gchar* _tmp118_ = NULL;
gchar* _tmp119_ = NULL;
-#line 1760 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1750 "/home/jens/Source/shotwell/src/Dialogs.vala"
err = _inner_error_;
-#line 1760 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1750 "/home/jens/Source/shotwell/src/Dialogs.vala"
_inner_error_ = NULL;
-#line 1765 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1755 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp117_ = source;
-#line 1765 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1755 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp118_ = data_object_to_string (G_TYPE_CHECK_INSTANCE_CAST (_tmp117_, TYPE_DATA_OBJECT, DataObject));
-#line 1765 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1755 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp119_ = _tmp118_;
-#line 1765 "/home/jens/Source/shotwell/src/Dialogs.vala"
- g_warning ("Dialogs.vala:1765: Unable to fetch preview for %s", _tmp119_);
-#line 1765 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1755 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ g_warning ("Dialogs.vala:1755: Unable to fetch preview for %s", _tmp119_);
+#line 1755 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (_tmp119_);
-#line 1760 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1750 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_error_free0 (err);
-#line 14604 "Dialogs.c"
+#line 14285 "Dialogs.c"
}
__finally422:
-#line 1760 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1750 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1760 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1750 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (preview);
-#line 1760 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1750 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (time_content);
-#line 1760 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1750 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (clock);
-#line 1760 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1750 "/home/jens/Source/shotwell/src/Dialogs.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 1760 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1750 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_clear_error (&_inner_error_);
-#line 1760 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1750 "/home/jens/Source/shotwell/src/Dialogs.vala"
return NULL;
-#line 14621 "Dialogs.c"
+#line 14302 "Dialogs.c"
}
-#line 1768 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1758 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp120_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
-#line 1768 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1758 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_object_ref_sink (_tmp120_);
-#line 1768 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1758 "/home/jens/Source/shotwell/src/Dialogs.vala"
image_content = _tmp120_;
-#line 1769 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1759 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp121_ = image_content;
-#line 1769 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1759 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_widget_set_valign (G_TYPE_CHECK_INSTANCE_CAST (_tmp121_, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_START);
-#line 1770 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1760 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp122_ = image_content;
-#line 1770 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1760 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_box_set_homogeneous (_tmp122_, TRUE);
-#line 1771 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1761 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp124_ = preview;
-#line 1771 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1761 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp124_ != NULL) {
-#line 14641 "Dialogs.c"
+#line 14322 "Dialogs.c"
GdkPixbuf* _tmp125_ = NULL;
GtkImage* _tmp126_ = NULL;
-#line 1771 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1761 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp125_ = preview;
-#line 1771 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1761 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp126_ = (GtkImage*) gtk_image_new_from_pixbuf (_tmp125_);
-#line 1771 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1761 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_object_ref_sink (_tmp126_);
-#line 1771 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1761 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_tmp123_);
-#line 1771 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1761 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp123_ = _tmp126_;
-#line 14654 "Dialogs.c"
+#line 14335 "Dialogs.c"
} else {
GtkImage* _tmp127_ = NULL;
-#line 1771 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1761 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp127_ = (GtkImage*) gtk_image_new ();
-#line 1771 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1761 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_object_ref_sink (_tmp127_);
-#line 1771 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1761 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_tmp123_);
-#line 1771 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1761 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp123_ = _tmp127_;
-#line 14665 "Dialogs.c"
+#line 14346 "Dialogs.c"
}
-#line 1771 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1761 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp128_ = _g_object_ref0 (_tmp123_);
-#line 1771 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1761 "/home/jens/Source/shotwell/src/Dialogs.vala"
image = _tmp128_;
-#line 1772 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1762 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp129_ = (GtkLabel*) gtk_label_new (NULL);
-#line 1772 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1762 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_object_ref_sink (_tmp129_);
-#line 1772 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1762 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->original_time_label);
-#line 1772 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1762 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->original_time_label = _tmp129_;
-#line 1773 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1763 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp130_ = image_content;
-#line 1773 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1763 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp131_ = image;
-#line 1773 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1763 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_box_pack_start (_tmp130_, G_TYPE_CHECK_INSTANCE_CAST (_tmp131_, gtk_widget_get_type (), GtkWidget), TRUE, FALSE, (guint) 0);
-#line 1774 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1764 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp132_ = image_content;
-#line 1774 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1764 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp133_ = self->priv->original_time_label;
-#line 1774 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1764 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_box_pack_start (_tmp132_, G_TYPE_CHECK_INSTANCE_CAST (_tmp133_, gtk_widget_get_type (), GtkWidget), TRUE, FALSE, (guint) 0);
-#line 1776 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1766 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp134_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 10);
-#line 1776 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1766 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_object_ref_sink (_tmp134_);
-#line 1776 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1766 "/home/jens/Source/shotwell/src/Dialogs.vala"
hbox = _tmp134_;
-#line 1777 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1767 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp135_ = hbox;
-#line 1777 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1767 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_container_set_border_width (G_TYPE_CHECK_INSTANCE_CAST (_tmp135_, gtk_container_get_type (), GtkContainer), (guint) 3);
-#line 1778 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1768 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp136_ = hbox;
-#line 1778 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1768 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp137_ = image_content;
-#line 1778 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1768 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_box_pack_start (_tmp136_, G_TYPE_CHECK_INSTANCE_CAST (_tmp137_, gtk_widget_get_type (), GtkWidget), TRUE, FALSE, (guint) 0);
-#line 1779 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1769 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp138_ = hbox;
-#line 1779 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1769 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp139_ = time_content;
-#line 1779 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1769 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_box_pack_start (_tmp138_, G_TYPE_CHECK_INSTANCE_CAST (_tmp139_, gtk_widget_get_type (), GtkWidget), TRUE, FALSE, (guint) 0);
-#line 1780 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1770 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp140_ = hbox;
-#line 1780 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1770 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_widget_set_halign (G_TYPE_CHECK_INSTANCE_CAST (_tmp140_, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_CENTER);
-#line 1781 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1771 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp141_ = hbox;
-#line 1781 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1771 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_widget_set_valign (G_TYPE_CHECK_INSTANCE_CAST (_tmp141_, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_CENTER);
-#line 1782 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1772 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp142_ = hbox;
-#line 1782 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1772 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_widget_set_hexpand (G_TYPE_CHECK_INSTANCE_CAST (_tmp142_, gtk_widget_get_type (), GtkWidget), FALSE);
-#line 1783 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1773 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp143_ = hbox;
-#line 1783 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1773 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_widget_set_vexpand (G_TYPE_CHECK_INSTANCE_CAST (_tmp143_, gtk_widget_get_type (), GtkWidget), FALSE);
-#line 1785 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1775 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp144_ = (GtkBox*) gtk_dialog_get_content_area (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog));
-#line 1785 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1775 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp145_ = hbox;
-#line 1785 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1775 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_box_pack_start (G_TYPE_CHECK_INSTANCE_CAST (_tmp144_, gtk_box_get_type (), GtkBox), G_TYPE_CHECK_INSTANCE_CAST (_tmp145_, gtk_widget_get_type (), GtkWidget), TRUE, FALSE, (guint) 0);
-#line 1787 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1777 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp146_ = (GtkLabel*) gtk_label_new ("");
-#line 1787 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1777 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_object_ref_sink (_tmp146_);
-#line 1787 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1777 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->notification);
-#line 1787 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1777 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->notification = _tmp146_;
-#line 1788 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1778 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp147_ = self->priv->notification;
-#line 1788 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1778 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_label_set_line_wrap (_tmp147_, TRUE);
-#line 1789 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1779 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp148_ = self->priv->notification;
-#line 1789 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1779 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_label_set_justify (_tmp148_, GTK_JUSTIFY_CENTER);
-#line 1791 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1781 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp149_ = (GtkBox*) gtk_dialog_get_content_area (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog));
-#line 1791 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1781 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp150_ = self->priv->notification;
-#line 1791 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1781 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_box_pack_start (G_TYPE_CHECK_INSTANCE_CAST (_tmp149_, gtk_box_get_type (), GtkBox), G_TYPE_CHECK_INSTANCE_CAST (_tmp150_, gtk_widget_get_type (), GtkWidget), TRUE, TRUE, (guint) 0);
-#line 1793 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1783 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp151_ = source;
-#line 1793 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1783 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp152_ = dateable_get_exposure_time (_tmp151_);
-#line 1793 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1783 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->original_time = _tmp152_;
-#line 1795 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1785 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp153_ = self->priv->original_time;
-#line 1795 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1785 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp153_ == ((time_t) 0)) {
-#line 14767 "Dialogs.c"
+#line 14448 "Dialogs.c"
time_t _tmp154_ = 0;
-#line 1796 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1786 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp154_ = time (NULL);
-#line 1796 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1786 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->original_time = _tmp154_;
-#line 1797 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1787 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->no_original_time = TRUE;
-#line 14775 "Dialogs.c"
+#line 14456 "Dialogs.c"
}
-#line 1800 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1790 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp155_ = self->priv->original_time;
-#line 1800 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1790 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_time_local (_tmp155_, &_tmp156_);
-#line 1800 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1790 "/home/jens/Source/shotwell/src/Dialogs.vala"
adjust_date_time_dialog_set_time (self, &_tmp156_);
-#line 1801 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1791 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp157_ = config_facade_get_instance ();
-#line 1801 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1791 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp158_ = _tmp157_;
-#line 1801 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1791 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp159_ = configuration_facade_get_use_24_hour_time (G_TYPE_CHECK_INSTANCE_CAST (_tmp158_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
-#line 1801 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1791 "/home/jens/Source/shotwell/src/Dialogs.vala"
adjust_date_time_dialog_set_original_time_label (self, _tmp159_);
-#line 1801 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1791 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_tmp158_);
-#line 1665 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1655 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (hbox);
-#line 1665 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1655 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (image);
-#line 1665 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1655 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_tmp123_);
-#line 1665 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1655 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (image_content);
-#line 1665 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1655 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (preview);
-#line 1665 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1655 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (time_content);
-#line 1665 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1655 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (clock);
-#line 1665 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1655 "/home/jens/Source/shotwell/src/Dialogs.vala"
return self;
-#line 14809 "Dialogs.c"
+#line 14490 "Dialogs.c"
}
AdjustDateTimeDialog* adjust_date_time_dialog_new (Dateable* source, gint photo_count, gboolean display_options, gboolean contains_video, gboolean only_video) {
-#line 1665 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1655 "/home/jens/Source/shotwell/src/Dialogs.vala"
return adjust_date_time_dialog_construct (TYPE_ADJUST_DATE_TIME_DIALOG, source, photo_count, display_options, contains_video, only_video);
-#line 14816 "Dialogs.c"
+#line 14497 "Dialogs.c"
}
@@ -14852,60 +14533,60 @@ static void adjust_date_time_dialog_set_time (AdjustDateTimeDialog* self, struct
gint _tmp31_ = 0;
GtkComboBoxText* _tmp32_ = NULL;
gint _tmp33_ = 0;
-#line 1804 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1794 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_if_fail (IS_ADJUST_DATE_TIME_DIALOG (self));
-#line 1804 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1794 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_if_fail (time != NULL);
-#line 1805 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1795 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = self->priv->calendar;
-#line 1805 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1795 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = *time;
-#line 1805 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1795 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp2_ = _tmp1_.tm_mon;
-#line 1805 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1795 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp3_ = *time;
-#line 1805 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1795 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp4_ = _tmp3_.tm_year;
-#line 1805 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1795 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_calendar_select_month (_tmp0_, (guint) _tmp2_, (guint) (_tmp4_ + ADJUST_DATE_TIME_DIALOG_YEAR_OFFSET));
-#line 1806 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1796 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp5_ = self->priv->calendar;
-#line 1806 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1796 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp6_ = *time;
-#line 1806 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1796 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp7_ = _tmp6_.tm_mday;
-#line 1806 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1796 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_calendar_select_day (_tmp5_, (guint) _tmp7_);
-#line 1808 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1798 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp8_ = config_facade_get_instance ();
-#line 1808 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1798 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp9_ = _tmp8_;
-#line 1808 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1798 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp10_ = configuration_facade_get_use_24_hour_time (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
-#line 1808 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1798 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp11_ = _tmp10_;
-#line 1808 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1798 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_tmp9_);
-#line 1808 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1798 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp11_) {
-#line 14877 "Dialogs.c"
+#line 14558 "Dialogs.c"
GtkComboBoxText* _tmp12_ = NULL;
GtkSpinButton* _tmp13_ = NULL;
struct tm _tmp14_ = {0};
gint _tmp15_ = 0;
-#line 1809 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1799 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp12_ = self->priv->system;
-#line 1809 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1799 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, gtk_combo_box_get_type (), GtkComboBox), (gint) ADJUST_DATE_TIME_DIALOG_TIME_SYSTEM_24HR);
-#line 1810 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1800 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp13_ = self->priv->hour;
-#line 1810 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1800 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp14_ = *time;
-#line 1810 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1800 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp15_ = _tmp14_.tm_hour;
-#line 1810 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1800 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_spin_button_set_value (_tmp13_, (gdouble) _tmp15_);
-#line 14894 "Dialogs.c"
+#line 14575 "Dialogs.c"
} else {
gint AMPM_hour = 0;
struct tm _tmp16_ = {0};
@@ -14917,74 +14598,74 @@ static void adjust_date_time_dialog_set_time (AdjustDateTimeDialog* self, struct
struct tm _tmp23_ = {0};
gint _tmp24_ = 0;
GtkComboBoxText* _tmp25_ = NULL;
-#line 1812 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1802 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp16_ = *time;
-#line 1812 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1802 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp17_ = _tmp16_.tm_hour;
-#line 1812 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1802 "/home/jens/Source/shotwell/src/Dialogs.vala"
AMPM_hour = _tmp17_ % 12;
-#line 1813 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1803 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp19_ = AMPM_hour;
-#line 1813 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1803 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp19_ == 0) {
-#line 1813 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1803 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp18_ = 12;
-#line 14918 "Dialogs.c"
+#line 14599 "Dialogs.c"
} else {
gint _tmp20_ = 0;
-#line 1813 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1803 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp20_ = AMPM_hour;
-#line 1813 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1803 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp18_ = _tmp20_;
-#line 14925 "Dialogs.c"
+#line 14606 "Dialogs.c"
}
-#line 1813 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1803 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp21_ = self->priv->hour;
-#line 1813 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1803 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_spin_button_set_value (_tmp21_, (gdouble) _tmp18_);
-#line 1814 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1804 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp23_ = *time;
-#line 1814 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1804 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp24_ = _tmp23_.tm_hour;
-#line 1814 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1804 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp24_ >= 12) {
-#line 1814 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1804 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp22_ = ADJUST_DATE_TIME_DIALOG_TIME_SYSTEM_PM;
-#line 14939 "Dialogs.c"
+#line 14620 "Dialogs.c"
} else {
-#line 1814 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1804 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp22_ = ADJUST_DATE_TIME_DIALOG_TIME_SYSTEM_AM;
-#line 14943 "Dialogs.c"
+#line 14624 "Dialogs.c"
}
-#line 1814 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1804 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp25_ = self->priv->system;
-#line 1814 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1804 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp25_, gtk_combo_box_get_type (), GtkComboBox), (gint) _tmp22_);
-#line 14949 "Dialogs.c"
+#line 14630 "Dialogs.c"
}
-#line 1817 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1807 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp26_ = self->priv->minute;
-#line 1817 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1807 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp27_ = *time;
-#line 1817 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1807 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp28_ = _tmp27_.tm_min;
-#line 1817 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1807 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_spin_button_set_value (_tmp26_, (gdouble) _tmp28_);
-#line 1818 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1808 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp29_ = self->priv->second;
-#line 1818 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1808 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp30_ = *time;
-#line 1818 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1808 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp31_ = _tmp30_.tm_sec;
-#line 1818 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1808 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_spin_button_set_value (_tmp29_, (gdouble) _tmp31_);
-#line 1820 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1810 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp32_ = self->priv->system;
-#line 1820 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1810 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp33_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp32_, gtk_combo_box_get_type (), GtkComboBox));
-#line 1820 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1810 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->previous_time_system = (AdjustDateTimeDialogTimeSystem) _tmp33_;
-#line 14973 "Dialogs.c"
+#line 14654 "Dialogs.c"
}
@@ -15000,37 +14681,37 @@ static gchar* g_time_format (struct tm *self, const gchar* format) {
gchar* _tmp3_ = NULL;
gint _tmp3__length1 = 0;
gchar* _tmp4_ = NULL;
-#line 2758 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2709 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (format != NULL, NULL);
-#line 2759 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2710 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = g_new0 (gchar, 64);
-#line 2759 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2710 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
buffer = _tmp0_;
-#line 2759 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2710 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
buffer_length1 = 64;
-#line 2759 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2710 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_buffer_size_ = buffer_length1;
-#line 2760 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2711 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = buffer;
-#line 2760 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2711 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1__length1 = buffer_length1;
-#line 2760 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2711 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = format;
-#line 2760 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2711 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
strftime (_tmp1_, _tmp1__length1, _tmp2_, &(*self));
-#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = buffer;
-#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3__length1 = buffer_length1;
-#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = g_strdup ((const gchar*) _tmp3_);
-#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp4_;
-#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
buffer = (g_free (buffer), NULL);
-#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
-#line 15019 "Dialogs.c"
+#line 14700 "Dialogs.c"
}
@@ -15046,58 +14727,58 @@ static void adjust_date_time_dialog_set_original_time_label (AdjustDateTimeDialo
gchar* _tmp10_ = NULL;
gchar* _tmp11_ = NULL;
gchar* _tmp12_ = NULL;
-#line 1823 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1813 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_if_fail (IS_ADJUST_DATE_TIME_DIALOG (self));
-#line 1824 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1814 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = self->priv->no_original_time;
-#line 1824 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1814 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp0_) {
-#line 1825 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1815 "/home/jens/Source/shotwell/src/Dialogs.vala"
return;
-#line 15043 "Dialogs.c"
+#line 14724 "Dialogs.c"
}
-#line 1828 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1818 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp2_ = use_24_hr_format;
-#line 1828 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1818 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp2_) {
-#line 15049 "Dialogs.c"
+#line 14730 "Dialogs.c"
const gchar* _tmp3_ = NULL;
-#line 1828 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1818 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp3_ = _ ("%m/%d/%Y, %H:%M:%S");
-#line 1828 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1818 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = _tmp3_;
-#line 15055 "Dialogs.c"
+#line 14736 "Dialogs.c"
} else {
const gchar* _tmp4_ = NULL;
-#line 1829 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1819 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp4_ = _ ("%m/%d/%Y, %I:%M:%S %p");
-#line 1829 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1819 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = _tmp4_;
-#line 15062 "Dialogs.c"
+#line 14743 "Dialogs.c"
}
-#line 1827 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1817 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp5_ = self->priv->original_time_label;
-#line 1827 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1817 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp6_ = _ ("Original: ");
-#line 1827 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1817 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp7_ = self->priv->original_time;
-#line 1827 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1817 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_time_local (_tmp7_, &_tmp8_);
-#line 1827 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1817 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp9_ = g_time_format (&_tmp8_, _tmp1_);
-#line 1827 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1817 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp10_ = _tmp9_;
-#line 1827 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1817 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp11_ = g_strconcat (_tmp6_, _tmp10_, NULL);
-#line 1827 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1817 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp12_ = _tmp11_;
-#line 1827 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1817 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_label_set_text (_tmp5_, _tmp12_);
-#line 1827 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1817 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (_tmp12_);
-#line 1827 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1817 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (_tmp10_);
-#line 15086 "Dialogs.c"
+#line 14767 "Dialogs.c"
}
@@ -15126,105 +14807,105 @@ static time_t adjust_date_time_dialog_get_time (AdjustDateTimeDialog* self) {
guint _tmp18_ = 0U;
guint _tmp19_ = 0U;
time_t _tmp20_ = 0;
-#line 1832 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1822 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_val_if_fail (IS_ADJUST_DATE_TIME_DIALOG (self), 0);
-#line 1833 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1823 "/home/jens/Source/shotwell/src/Dialogs.vala"
memset (&time, 0, sizeof (struct tm));
-#line 1835 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1825 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = self->priv->second;
-#line 1835 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1825 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = gtk_spin_button_get_value (_tmp0_);
-#line 1835 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1825 "/home/jens/Source/shotwell/src/Dialogs.vala"
time.tm_sec = (gint) _tmp1_;
-#line 1836 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1826 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp2_ = self->priv->minute;
-#line 1836 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1826 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp3_ = gtk_spin_button_get_value (_tmp2_);
-#line 1836 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1826 "/home/jens/Source/shotwell/src/Dialogs.vala"
time.tm_min = (gint) _tmp3_;
-#line 1839 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1829 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp4_ = self->priv->hour;
-#line 1839 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1829 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp5_ = gtk_spin_button_get_value (_tmp4_);
-#line 1839 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1829 "/home/jens/Source/shotwell/src/Dialogs.vala"
hour = (gint) _tmp5_;
-#line 1840 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1830 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp8_ = hour;
-#line 1840 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1830 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp8_ == 12) {
-#line 15141 "Dialogs.c"
+#line 14822 "Dialogs.c"
GtkComboBoxText* _tmp9_ = NULL;
gint _tmp10_ = 0;
-#line 1840 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1830 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp9_ = self->priv->system;
-#line 1840 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1830 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp10_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_combo_box_get_type (), GtkComboBox));
-#line 1840 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1830 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp7_ = _tmp10_ != ((gint) ADJUST_DATE_TIME_DIALOG_TIME_SYSTEM_24HR);
-#line 15150 "Dialogs.c"
+#line 14831 "Dialogs.c"
} else {
-#line 1840 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1830 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp7_ = FALSE;
-#line 15154 "Dialogs.c"
+#line 14835 "Dialogs.c"
}
-#line 1840 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1830 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp7_) {
-#line 1840 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1830 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp6_ = 0;
-#line 15160 "Dialogs.c"
+#line 14841 "Dialogs.c"
} else {
gint _tmp11_ = 0;
-#line 1840 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1830 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp11_ = hour;
-#line 1840 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1830 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp6_ = _tmp11_;
-#line 15167 "Dialogs.c"
+#line 14848 "Dialogs.c"
}
-#line 1840 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1830 "/home/jens/Source/shotwell/src/Dialogs.vala"
time.tm_hour = _tmp6_;
-#line 1841 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1831 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp13_ = self->priv->system;
-#line 1841 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1831 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp14_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, gtk_combo_box_get_type (), GtkComboBox));
-#line 1841 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1831 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp14_ == ((gint) ADJUST_DATE_TIME_DIALOG_TIME_SYSTEM_PM)) {
-#line 1841 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1831 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp12_ = 12;
-#line 15179 "Dialogs.c"
+#line 14860 "Dialogs.c"
} else {
-#line 1841 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1831 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp12_ = 0;
-#line 15183 "Dialogs.c"
+#line 14864 "Dialogs.c"
}
-#line 1841 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1831 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp15_ = time.tm_hour;
-#line 1841 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1831 "/home/jens/Source/shotwell/src/Dialogs.vala"
time.tm_hour = _tmp15_ + _tmp12_;
-#line 1844 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1834 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp16_ = self->priv->calendar;
-#line 1844 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1834 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_calendar_get_date (_tmp16_, &_tmp17_, &_tmp18_, &_tmp19_);
-#line 1844 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1834 "/home/jens/Source/shotwell/src/Dialogs.vala"
year = _tmp17_;
-#line 1844 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1834 "/home/jens/Source/shotwell/src/Dialogs.vala"
month = _tmp18_;
-#line 1844 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1834 "/home/jens/Source/shotwell/src/Dialogs.vala"
day = _tmp19_;
-#line 1845 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1835 "/home/jens/Source/shotwell/src/Dialogs.vala"
time.tm_year = ((gint) year) - ADJUST_DATE_TIME_DIALOG_YEAR_OFFSET;
-#line 1846 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1836 "/home/jens/Source/shotwell/src/Dialogs.vala"
time.tm_mon = (gint) month;
-#line 1847 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1837 "/home/jens/Source/shotwell/src/Dialogs.vala"
time.tm_mday = (gint) day;
-#line 1849 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1839 "/home/jens/Source/shotwell/src/Dialogs.vala"
time.tm_isdst = -1;
-#line 1851 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1841 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp20_ = mktime (&time);
-#line 1851 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1841 "/home/jens/Source/shotwell/src/Dialogs.vala"
result = _tmp20_;
-#line 1851 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1841 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 15213 "Dialogs.c"
+#line 14894 "Dialogs.c"
}
@@ -15235,17 +14916,17 @@ gboolean adjust_date_time_dialog_execute (AdjustDateTimeDialog* self, gint64* ti
gboolean result = FALSE;
gboolean response = FALSE;
gint _tmp0_ = 0;
-#line 1854 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1844 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_val_if_fail (IS_ADJUST_DATE_TIME_DIALOG (self), FALSE);
-#line 1856 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1846 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
-#line 1858 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1848 "/home/jens/Source/shotwell/src/Dialogs.vala"
response = FALSE;
-#line 1860 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1850 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = gtk_dialog_run (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog));
-#line 1860 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1850 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp0_ == ((gint) GTK_RESPONSE_OK)) {
-#line 15234 "Dialogs.c"
+#line 14915 "Dialogs.c"
gboolean _tmp1_ = FALSE;
GtkRadioButton* _tmp5_ = NULL;
gboolean _tmp6_ = FALSE;
@@ -15257,125 +14938,125 @@ gboolean adjust_date_time_dialog_execute (AdjustDateTimeDialog* self, gint64* ti
GtkCheckButton* _tmp15_ = NULL;
gboolean _tmp16_ = FALSE;
gboolean _tmp17_ = FALSE;
-#line 1861 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1851 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = self->priv->no_original_time;
-#line 1861 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1851 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp1_) {
-#line 15250 "Dialogs.c"
+#line 14931 "Dialogs.c"
time_t _tmp2_ = 0;
-#line 1862 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1852 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp2_ = adjust_date_time_dialog_get_time (self);
-#line 1862 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1852 "/home/jens/Source/shotwell/src/Dialogs.vala"
_vala_time_shift = (gint64) _tmp2_;
-#line 15256 "Dialogs.c"
+#line 14937 "Dialogs.c"
} else {
time_t _tmp3_ = 0;
time_t _tmp4_ = 0;
-#line 1864 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1854 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp3_ = adjust_date_time_dialog_get_time (self);
-#line 1864 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1854 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp4_ = self->priv->original_time;
-#line 1864 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1854 "/home/jens/Source/shotwell/src/Dialogs.vala"
_vala_time_shift = (gint64) (_tmp3_ - _tmp4_);
-#line 15266 "Dialogs.c"
+#line 14947 "Dialogs.c"
}
-#line 1866 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1856 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp5_ = self->priv->relativity_radio_button;
-#line 1866 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1856 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp6_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_toggle_button_get_type (), GtkToggleButton));
-#line 1866 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1856 "/home/jens/Source/shotwell/src/Dialogs.vala"
_vala_keep_relativity = _tmp6_;
-#line 1868 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1858 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp7_ = self->priv->relativity_radio_button;
-#line 1868 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1858 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp8_ = gtk_widget_get_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_widget_get_type (), GtkWidget));
-#line 1868 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1858 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp9_ = _tmp8_;
-#line 1868 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1858 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp9_) {
-#line 15282 "Dialogs.c"
+#line 14963 "Dialogs.c"
ConfigFacade* _tmp10_ = NULL;
ConfigFacade* _tmp11_ = NULL;
gboolean _tmp12_ = FALSE;
-#line 1869 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1859 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp10_ = config_facade_get_instance ();
-#line 1869 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1859 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp11_ = _tmp10_;
-#line 1869 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1859 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp12_ = _vala_keep_relativity;
-#line 1869 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1859 "/home/jens/Source/shotwell/src/Dialogs.vala"
configuration_facade_set_keep_relativity (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp12_);
-#line 1869 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1859 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_tmp11_);
-#line 15296 "Dialogs.c"
+#line 14977 "Dialogs.c"
}
-#line 1871 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1861 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp13_ = self->priv->modify_originals_check_button;
-#line 1871 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1861 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp14_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, gtk_toggle_button_get_type (), GtkToggleButton));
-#line 1871 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1861 "/home/jens/Source/shotwell/src/Dialogs.vala"
_vala_modify_originals = _tmp14_;
-#line 1873 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1863 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp15_ = self->priv->modify_originals_check_button;
-#line 1873 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1863 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp16_ = gtk_widget_get_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, gtk_widget_get_type (), GtkWidget));
-#line 1873 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1863 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp17_ = _tmp16_;
-#line 1873 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1863 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp17_) {
-#line 15312 "Dialogs.c"
+#line 14993 "Dialogs.c"
ConfigFacade* _tmp18_ = NULL;
ConfigFacade* _tmp19_ = NULL;
gboolean _tmp20_ = FALSE;
-#line 1874 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1864 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp18_ = config_facade_get_instance ();
-#line 1874 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1864 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp19_ = _tmp18_;
-#line 1874 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1864 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp20_ = _vala_modify_originals;
-#line 1874 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1864 "/home/jens/Source/shotwell/src/Dialogs.vala"
configuration_facade_set_modify_originals (G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp20_);
-#line 1874 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1864 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_tmp19_);
-#line 15326 "Dialogs.c"
+#line 15007 "Dialogs.c"
}
-#line 1876 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1866 "/home/jens/Source/shotwell/src/Dialogs.vala"
response = TRUE;
-#line 15330 "Dialogs.c"
+#line 15011 "Dialogs.c"
} else {
-#line 1878 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1868 "/home/jens/Source/shotwell/src/Dialogs.vala"
_vala_time_shift = (gint64) 0;
-#line 1879 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1869 "/home/jens/Source/shotwell/src/Dialogs.vala"
_vala_keep_relativity = TRUE;
-#line 1880 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1870 "/home/jens/Source/shotwell/src/Dialogs.vala"
_vala_modify_originals = FALSE;
-#line 15338 "Dialogs.c"
+#line 15019 "Dialogs.c"
}
-#line 1883 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1873 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
-#line 1885 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1875 "/home/jens/Source/shotwell/src/Dialogs.vala"
result = response;
-#line 1885 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1875 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (time_shift) {
-#line 1885 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1875 "/home/jens/Source/shotwell/src/Dialogs.vala"
*time_shift = _vala_time_shift;
-#line 15348 "Dialogs.c"
+#line 15029 "Dialogs.c"
}
-#line 1885 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1875 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (keep_relativity) {
-#line 1885 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1875 "/home/jens/Source/shotwell/src/Dialogs.vala"
*keep_relativity = _vala_keep_relativity;
-#line 15354 "Dialogs.c"
+#line 15035 "Dialogs.c"
}
-#line 1885 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1875 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (modify_originals) {
-#line 1885 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1875 "/home/jens/Source/shotwell/src/Dialogs.vala"
*modify_originals = _vala_modify_originals;
-#line 15360 "Dialogs.c"
+#line 15041 "Dialogs.c"
}
-#line 1885 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1875 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 15364 "Dialogs.c"
+#line 15045 "Dialogs.c"
}
@@ -15386,31 +15067,31 @@ static gboolean adjust_date_time_dialog_on_spin_button_output (AdjustDateTimeDia
gdouble _tmp2_ = 0.0;
gchar* _tmp3_ = NULL;
gchar* _tmp4_ = NULL;
-#line 1888 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1878 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_val_if_fail (IS_ADJUST_DATE_TIME_DIALOG (self), FALSE);
-#line 1888 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1878 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_val_if_fail (GTK_IS_SPIN_BUTTON (button), FALSE);
-#line 1889 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1879 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = button;
-#line 1889 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1879 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = button;
-#line 1889 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1879 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp2_ = gtk_spin_button_get_value (_tmp1_);
-#line 1889 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1879 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp3_ = g_strdup_printf ("%02d", (gint) _tmp2_);
-#line 1889 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1879 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp4_ = _tmp3_;
-#line 1889 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1879 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_entry_set_text (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_entry_get_type (), GtkEntry), _tmp4_);
-#line 1889 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1879 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (_tmp4_);
-#line 1891 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1881 "/home/jens/Source/shotwell/src/Dialogs.vala"
adjust_date_time_dialog_on_time_changed (self);
-#line 1893 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1883 "/home/jens/Source/shotwell/src/Dialogs.vala"
result = TRUE;
-#line 1893 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1883 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 15399 "Dialogs.c"
+#line 15080 "Dialogs.c"
}
@@ -15423,81 +15104,81 @@ static void adjust_date_time_dialog_on_time_changed (AdjustDateTimeDialog* self)
gboolean _tmp4_ = FALSE;
gboolean _tmp5_ = FALSE;
gint64 _tmp6_ = 0LL;
-#line 1896 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1886 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_if_fail (IS_ADJUST_DATE_TIME_DIALOG (self));
-#line 1897 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1887 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = adjust_date_time_dialog_get_time (self);
-#line 1897 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1887 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = self->priv->original_time;
-#line 1897 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1887 "/home/jens/Source/shotwell/src/Dialogs.vala"
time_shift = ((gint64) _tmp0_) - ((gint64) _tmp1_);
-#line 1899 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1889 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp2_ = self->priv->system;
-#line 1899 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1889 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp3_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_combo_box_get_type (), GtkComboBox));
-#line 1899 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1889 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->previous_time_system = (AdjustDateTimeDialogTimeSystem) _tmp3_;
-#line 1901 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1891 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp6_ = time_shift;
-#line 1901 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1891 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp6_ == ((gint64) 0)) {
-#line 1901 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1891 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp5_ = TRUE;
-#line 15432 "Dialogs.c"
+#line 15113 "Dialogs.c"
} else {
gboolean _tmp7_ = FALSE;
-#line 1901 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1891 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp7_ = self->priv->no_original_time;
-#line 1901 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1891 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp5_ = _tmp7_;
-#line 15439 "Dialogs.c"
+#line 15120 "Dialogs.c"
}
-#line 1901 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1891 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp5_) {
-#line 1901 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1891 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp4_ = TRUE;
-#line 15445 "Dialogs.c"
+#line 15126 "Dialogs.c"
} else {
gboolean _tmp8_ = FALSE;
GtkRadioButton* _tmp9_ = NULL;
gboolean _tmp10_ = FALSE;
-#line 1901 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1891 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp9_ = self->priv->batch_radio_button;
-#line 1901 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1891 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp10_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_toggle_button_get_type (), GtkToggleButton));
-#line 1901 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1891 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp10_) {
-#line 15456 "Dialogs.c"
+#line 15137 "Dialogs.c"
GtkRadioButton* _tmp11_ = NULL;
gboolean _tmp12_ = FALSE;
gboolean _tmp13_ = FALSE;
-#line 1902 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1892 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp11_ = self->priv->batch_radio_button;
-#line 1902 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1892 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp12_ = gtk_widget_get_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, gtk_widget_get_type (), GtkWidget));
-#line 1902 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1892 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp13_ = _tmp12_;
-#line 1902 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1892 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp8_ = _tmp13_;
-#line 15468 "Dialogs.c"
+#line 15149 "Dialogs.c"
} else {
-#line 1901 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1891 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp8_ = FALSE;
-#line 15472 "Dialogs.c"
+#line 15153 "Dialogs.c"
}
-#line 1901 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1891 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp4_ = _tmp8_;
-#line 15476 "Dialogs.c"
+#line 15157 "Dialogs.c"
}
-#line 1901 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1891 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp4_) {
-#line 15480 "Dialogs.c"
+#line 15161 "Dialogs.c"
GtkLabel* _tmp14_ = NULL;
-#line 1903 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1893 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp14_ = self->priv->notification;
-#line 1903 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1893 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_widget_hide (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, gtk_widget_get_type (), GtkWidget));
-#line 15486 "Dialogs.c"
+#line 15167 "Dialogs.c"
} else {
gboolean forward = FALSE;
gint64 _tmp15_ = 0LL;
@@ -15534,108 +15215,108 @@ static void adjust_date_time_dialog_on_time_changed (AdjustDateTimeDialog* self)
gchar* _tmp43_ = NULL;
gchar* _tmp44_ = NULL;
GtkLabel* _tmp45_ = NULL;
-#line 1905 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1895 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp15_ = time_shift;
-#line 1905 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1895 "/home/jens/Source/shotwell/src/Dialogs.vala"
forward = _tmp15_ > ((gint64) 0);
-#line 1908 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1898 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp16_ = time_shift;
-#line 1908 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1898 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp17_ = llabs (_tmp16_);
-#line 1908 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1898 "/home/jens/Source/shotwell/src/Dialogs.vala"
time_shift = _tmp17_;
-#line 1910 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1900 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp18_ = time_shift;
-#line 1910 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1900 "/home/jens/Source/shotwell/src/Dialogs.vala"
days = (gint) (_tmp18_ / ADJUST_DATE_TIME_DIALOG_SECONDS_IN_DAY);
-#line 1911 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1901 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp19_ = time_shift;
-#line 1911 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1901 "/home/jens/Source/shotwell/src/Dialogs.vala"
time_shift = _tmp19_ % ADJUST_DATE_TIME_DIALOG_SECONDS_IN_DAY;
-#line 1912 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1902 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp20_ = time_shift;
-#line 1912 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1902 "/home/jens/Source/shotwell/src/Dialogs.vala"
hours = (gint) (_tmp20_ / ADJUST_DATE_TIME_DIALOG_SECONDS_IN_HOUR);
-#line 1913 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1903 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp21_ = time_shift;
-#line 1913 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1903 "/home/jens/Source/shotwell/src/Dialogs.vala"
time_shift = _tmp21_ % ADJUST_DATE_TIME_DIALOG_SECONDS_IN_HOUR;
-#line 1914 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1904 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp22_ = time_shift;
-#line 1914 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1904 "/home/jens/Source/shotwell/src/Dialogs.vala"
minutes = (gint) (_tmp22_ / ADJUST_DATE_TIME_DIALOG_SECONDS_IN_MINUTE);
-#line 1915 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1905 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp23_ = time_shift;
-#line 1915 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1905 "/home/jens/Source/shotwell/src/Dialogs.vala"
seconds = (gint) (_tmp23_ % ADJUST_DATE_TIME_DIALOG_SECONDS_IN_MINUTE);
-#line 1917 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1907 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp25_ = forward;
-#line 1917 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1907 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp25_) {
-#line 15561 "Dialogs.c"
+#line 15242 "Dialogs.c"
const gchar* _tmp26_ = NULL;
-#line 1918 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1908 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp26_ = _ ("Exposure time will be shifted forward by\n" \
"%d %s, %d %s, %d %s, and %d %s.");
-#line 1918 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1908 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp24_ = _tmp26_;
-#line 15567 "Dialogs.c"
+#line 15248 "Dialogs.c"
} else {
const gchar* _tmp27_ = NULL;
-#line 1919 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1909 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp27_ = _ ("Exposure time will be shifted backward by\n" \
"%d %s, %d %s, %d %s, and %d %s.");
-#line 1919 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1909 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp24_ = _tmp27_;
-#line 15574 "Dialogs.c"
+#line 15255 "Dialogs.c"
}
-#line 1917 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1907 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp28_ = g_strdup (_tmp24_);
-#line 1917 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1907 "/home/jens/Source/shotwell/src/Dialogs.vala"
shift_status = _tmp28_;
-#line 1921 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1911 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp29_ = self->priv->notification;
-#line 1921 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1911 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp30_ = shift_status;
-#line 1921 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1911 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp31_ = days;
-#line 1921 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1911 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp32_ = days;
-#line 1921 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1911 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp33_ = ngettext ("day", "days", (gulong) _tmp32_);
-#line 1921 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1911 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp34_ = hours;
-#line 1921 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1911 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp35_ = hours;
-#line 1921 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1911 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp36_ = ngettext ("hour", "hours", (gulong) _tmp35_);
-#line 1921 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1911 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp37_ = minutes;
-#line 1921 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1911 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp38_ = minutes;
-#line 1921 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1911 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp39_ = ngettext ("minute", "minutes", (gulong) _tmp38_);
-#line 1921 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1911 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp40_ = seconds;
-#line 1921 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1911 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp41_ = seconds;
-#line 1921 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1911 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp42_ = ngettext ("second", "seconds", (gulong) _tmp41_);
-#line 1921 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1911 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp43_ = g_strdup_printf (_tmp30_, _tmp31_, _tmp33_, _tmp34_, _tmp36_, _tmp37_, _tmp39_, _tmp40_, _tmp42_);
-#line 1921 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1911 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp44_ = _tmp43_;
-#line 1921 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1911 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_label_set_text (_tmp29_, _tmp44_);
-#line 1921 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1911 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (_tmp44_);
-#line 1926 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1916 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp45_ = self->priv->notification;
-#line 1926 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1916 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_widget_show (G_TYPE_CHECK_INSTANCE_CAST (_tmp45_, gtk_widget_get_type (), GtkWidget));
-#line 1901 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1891 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (shift_status);
-#line 15622 "Dialogs.c"
+#line 15303 "Dialogs.c"
}
}
@@ -15650,39 +15331,39 @@ static void adjust_date_time_dialog_on_time_system_changed (AdjustDateTimeDialog
gint _tmp6_ = 0;
GtkComboBoxText* _tmp7_ = NULL;
gint _tmp8_ = 0;
-#line 1930 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1920 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_if_fail (IS_ADJUST_DATE_TIME_DIALOG (self));
-#line 1931 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1921 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = self->priv->previous_time_system;
-#line 1931 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1921 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = self->priv->system;
-#line 1931 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1921 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp2_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_combo_box_get_type (), GtkComboBox));
-#line 1931 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1921 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp0_ == _tmp2_) {
-#line 1932 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1922 "/home/jens/Source/shotwell/src/Dialogs.vala"
return;
-#line 15649 "Dialogs.c"
+#line 15330 "Dialogs.c"
}
-#line 1934 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1924 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp3_ = config_facade_get_instance ();
-#line 1934 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1924 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp4_ = _tmp3_;
-#line 1934 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1924 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp5_ = self->priv->system;
-#line 1934 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1924 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp6_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_combo_box_get_type (), GtkComboBox));
-#line 1934 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1924 "/home/jens/Source/shotwell/src/Dialogs.vala"
configuration_facade_set_use_24_hour_time (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp6_ == ((gint) ADJUST_DATE_TIME_DIALOG_TIME_SYSTEM_24HR));
-#line 1934 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1924 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_tmp4_);
-#line 1936 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1926 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp7_ = self->priv->system;
-#line 1936 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1926 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp8_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_combo_box_get_type (), GtkComboBox));
-#line 1936 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1926 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp8_ == ((gint) ADJUST_DATE_TIME_DIALOG_TIME_SYSTEM_24HR)) {
-#line 15669 "Dialogs.c"
+#line 15350 "Dialogs.c"
gint _tmp9_ = 0;
GtkSpinButton* _tmp10_ = NULL;
gdouble _tmp11_ = 0.0;
@@ -15693,57 +15374,57 @@ static void adjust_date_time_dialog_on_time_system_changed (AdjustDateTimeDialog
GtkSpinButton* _tmp17_ = NULL;
GtkSpinButton* _tmp18_ = NULL;
gint _tmp19_ = 0;
-#line 1937 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1927 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp10_ = self->priv->hour;
-#line 1937 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1927 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp11_ = gtk_spin_button_get_value (_tmp10_);
-#line 1937 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1927 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp11_ == 12.0) {
-#line 1937 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1927 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp9_ = 0;
-#line 15688 "Dialogs.c"
+#line 15369 "Dialogs.c"
} else {
GtkSpinButton* _tmp12_ = NULL;
gdouble _tmp13_ = 0.0;
-#line 1937 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1927 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp12_ = self->priv->hour;
-#line 1937 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1927 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp13_ = gtk_spin_button_get_value (_tmp12_);
-#line 1937 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1927 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp9_ = (gint) _tmp13_;
-#line 15698 "Dialogs.c"
+#line 15379 "Dialogs.c"
}
-#line 1937 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1927 "/home/jens/Source/shotwell/src/Dialogs.vala"
time = _tmp9_;
-#line 1938 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1928 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp15_ = self->priv->previous_time_system;
-#line 1938 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1928 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp15_ == ADJUST_DATE_TIME_DIALOG_TIME_SYSTEM_PM) {
-#line 1938 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1928 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp14_ = 12;
-#line 15708 "Dialogs.c"
+#line 15389 "Dialogs.c"
} else {
-#line 1938 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1928 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp14_ = 0;
-#line 15712 "Dialogs.c"
+#line 15393 "Dialogs.c"
}
-#line 1938 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1928 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp16_ = time;
-#line 1938 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1928 "/home/jens/Source/shotwell/src/Dialogs.vala"
time = _tmp16_ + _tmp14_;
-#line 1940 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1930 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp17_ = self->priv->hour;
-#line 1940 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1930 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_spin_button_set_range (_tmp17_, (gdouble) 0, (gdouble) 23);
-#line 1941 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1931 "/home/jens/Source/shotwell/src/Dialogs.vala"
adjust_date_time_dialog_set_original_time_label (self, TRUE);
-#line 1943 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1933 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp18_ = self->priv->hour;
-#line 1943 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1933 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp19_ = time;
-#line 1943 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1933 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_spin_button_set_value (_tmp18_, (gdouble) _tmp19_);
-#line 15730 "Dialogs.c"
+#line 15411 "Dialogs.c"
} else {
gint AMPM_hour = 0;
GtkSpinButton* _tmp20_ = NULL;
@@ -15752,92 +15433,92 @@ static void adjust_date_time_dialog_on_time_system_changed (AdjustDateTimeDialog
gint _tmp23_ = 0;
gint _tmp24_ = 0;
GtkSpinButton* _tmp26_ = NULL;
-#line 1945 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1935 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp20_ = self->priv->hour;
-#line 1945 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1935 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp21_ = gtk_spin_button_get_value (_tmp20_);
-#line 1945 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1935 "/home/jens/Source/shotwell/src/Dialogs.vala"
AMPM_hour = ((gint) _tmp21_) % 12;
-#line 1947 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1937 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp22_ = self->priv->hour;
-#line 1947 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1937 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_spin_button_set_range (_tmp22_, (gdouble) 1, (gdouble) 12);
-#line 1948 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1938 "/home/jens/Source/shotwell/src/Dialogs.vala"
adjust_date_time_dialog_set_original_time_label (self, FALSE);
-#line 1950 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1940 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp24_ = AMPM_hour;
-#line 1950 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1940 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp24_ == 0) {
-#line 1950 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1940 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp23_ = 12;
-#line 15757 "Dialogs.c"
+#line 15438 "Dialogs.c"
} else {
gint _tmp25_ = 0;
-#line 1950 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1940 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp25_ = AMPM_hour;
-#line 1950 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1940 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp23_ = _tmp25_;
-#line 15764 "Dialogs.c"
+#line 15445 "Dialogs.c"
}
-#line 1950 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1940 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp26_ = self->priv->hour;
-#line 1950 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1940 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_spin_button_set_value (_tmp26_, (gdouble) _tmp23_);
-#line 15770 "Dialogs.c"
+#line 15451 "Dialogs.c"
}
-#line 1953 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1943 "/home/jens/Source/shotwell/src/Dialogs.vala"
adjust_date_time_dialog_on_time_changed (self);
-#line 15774 "Dialogs.c"
+#line 15455 "Dialogs.c"
}
static void adjust_date_time_dialog_class_init (AdjustDateTimeDialogClass * klass) {
-#line 1636 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1626 "/home/jens/Source/shotwell/src/Dialogs.vala"
adjust_date_time_dialog_parent_class = g_type_class_peek_parent (klass);
-#line 1636 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1626 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_type_class_add_private (klass, sizeof (AdjustDateTimeDialogPrivate));
-#line 1636 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1626 "/home/jens/Source/shotwell/src/Dialogs.vala"
G_OBJECT_CLASS (klass)->finalize = adjust_date_time_dialog_finalize;
-#line 15785 "Dialogs.c"
+#line 15466 "Dialogs.c"
}
static void adjust_date_time_dialog_instance_init (AdjustDateTimeDialog * self) {
-#line 1636 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1626 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv = ADJUST_DATE_TIME_DIALOG_GET_PRIVATE (self);
-#line 1641 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1631 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->no_original_time = FALSE;
-#line 15794 "Dialogs.c"
+#line 15475 "Dialogs.c"
}
static void adjust_date_time_dialog_finalize (GObject* obj) {
AdjustDateTimeDialog * self;
-#line 1636 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1626 "/home/jens/Source/shotwell/src/Dialogs.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_ADJUST_DATE_TIME_DIALOG, AdjustDateTimeDialog);
-#line 1646 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1636 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->original_time_label);
-#line 1647 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1637 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->calendar);
-#line 1648 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1638 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->hour);
-#line 1649 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1639 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->minute);
-#line 1650 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1640 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->second);
-#line 1651 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1641 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->system);
-#line 1652 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1642 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->relativity_radio_button);
-#line 1653 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1643 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->batch_radio_button);
-#line 1654 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1644 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->modify_originals_check_button);
-#line 1655 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1645 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->notification);
-#line 1636 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1626 "/home/jens/Source/shotwell/src/Dialogs.vala"
G_OBJECT_CLASS (adjust_date_time_dialog_parent_class)->finalize (obj);
-#line 15824 "Dialogs.c"
+#line 15505 "Dialogs.c"
}
@@ -15869,31 +15550,31 @@ void multiple_object_error_dialog (GeeArrayList* objects, const gchar* message,
GtkMessageDialog* _tmp34_ = NULL;
GtkMessageDialog* _tmp35_ = NULL;
const gchar* _tmp36_ = NULL;
-#line 1958 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1948 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_if_fail (GEE_IS_ARRAY_LIST (objects));
-#line 1958 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1948 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_if_fail (message != NULL);
-#line 1958 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1948 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_if_fail (title != NULL);
-#line 1960 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1950 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = message;
-#line 1960 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1950 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = g_strconcat (_tmp0_, "\n", NULL);
-#line 1960 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1950 "/home/jens/Source/shotwell/src/Dialogs.vala"
dialog_message = _tmp1_;
-#line 15868 "Dialogs.c"
+#line 15549 "Dialogs.c"
{
gint i = 0;
-#line 1963 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1953 "/home/jens/Source/shotwell/src/Dialogs.vala"
i = 0;
-#line 15873 "Dialogs.c"
+#line 15554 "Dialogs.c"
{
gboolean _tmp2_ = FALSE;
-#line 1963 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1953 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp2_ = TRUE;
-#line 1963 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1953 "/home/jens/Source/shotwell/src/Dialogs.vala"
while (TRUE) {
-#line 15880 "Dialogs.c"
+#line 15561 "Dialogs.c"
gboolean _tmp4_ = FALSE;
gint _tmp5_ = 0;
const gchar* _tmp10_ = NULL;
@@ -15906,96 +15587,96 @@ void multiple_object_error_dialog (GeeArrayList* objects, const gchar* message,
gchar* _tmp17_ = NULL;
gchar* _tmp18_ = NULL;
gchar* _tmp19_ = NULL;
-#line 1963 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1953 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (!_tmp2_) {
-#line 15895 "Dialogs.c"
+#line 15576 "Dialogs.c"
gint _tmp3_ = 0;
-#line 1963 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1953 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp3_ = i;
-#line 1963 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1953 "/home/jens/Source/shotwell/src/Dialogs.vala"
i = _tmp3_ + 1;
-#line 15901 "Dialogs.c"
+#line 15582 "Dialogs.c"
}
-#line 1963 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1953 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp2_ = FALSE;
-#line 1963 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1953 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp5_ = i;
-#line 1963 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1953 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp5_ < MAX_OBJECTS_DISPLAYED) {
-#line 15909 "Dialogs.c"
+#line 15590 "Dialogs.c"
GeeArrayList* _tmp6_ = NULL;
gint _tmp7_ = 0;
gint _tmp8_ = 0;
gint _tmp9_ = 0;
-#line 1963 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1953 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp6_ = objects;
-#line 1963 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1953 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp7_ = gee_abstract_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 1963 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1953 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp8_ = _tmp7_;
-#line 1963 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1953 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp9_ = i;
-#line 1963 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1953 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp4_ = _tmp8_ > _tmp9_;
-#line 15924 "Dialogs.c"
+#line 15605 "Dialogs.c"
} else {
-#line 1963 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1953 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp4_ = FALSE;
-#line 15928 "Dialogs.c"
+#line 15609 "Dialogs.c"
}
-#line 1963 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1953 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (!_tmp4_) {
-#line 1963 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1953 "/home/jens/Source/shotwell/src/Dialogs.vala"
break;
-#line 15934 "Dialogs.c"
+#line 15615 "Dialogs.c"
}
-#line 1964 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1954 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp10_ = dialog_message;
-#line 1964 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1954 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp11_ = objects;
-#line 1964 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1954 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp12_ = i;
-#line 1964 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1954 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp13_ = gee_abstract_list_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, GEE_TYPE_ABSTRACT_LIST, GeeAbstractList), _tmp12_);
-#line 1964 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1954 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp14_ = (DataObject*) _tmp13_;
-#line 1964 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1954 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp15_ = data_object_to_string (_tmp14_);
-#line 1964 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1954 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp16_ = _tmp15_;
-#line 1964 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1954 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp17_ = g_strconcat ("\n", _tmp16_, NULL);
-#line 1964 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1954 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp18_ = _tmp17_;
-#line 1964 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1954 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp19_ = g_strconcat (_tmp10_, _tmp18_, NULL);
-#line 1964 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1954 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (dialog_message);
-#line 1964 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1954 "/home/jens/Source/shotwell/src/Dialogs.vala"
dialog_message = _tmp19_;
-#line 1964 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1954 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (_tmp18_);
-#line 1964 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1954 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (_tmp16_);
-#line 1964 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1954 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_tmp14_);
-#line 15966 "Dialogs.c"
+#line 15647 "Dialogs.c"
}
}
}
-#line 1966 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1956 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp20_ = objects;
-#line 1966 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1956 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp21_ = gee_abstract_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 1966 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1956 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp22_ = _tmp21_;
-#line 1966 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1956 "/home/jens/Source/shotwell/src/Dialogs.vala"
remainder = _tmp22_ - MAX_OBJECTS_DISPLAYED;
-#line 1967 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1957 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp23_ = remainder;
-#line 1967 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1957 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp23_ > 0) {
-#line 15982 "Dialogs.c"
+#line 15663 "Dialogs.c"
const gchar* _tmp24_ = NULL;
gint _tmp25_ = 0;
const gchar* _tmp26_ = NULL;
@@ -16003,57 +15684,57 @@ void multiple_object_error_dialog (GeeArrayList* objects, const gchar* message,
gchar* _tmp28_ = NULL;
gchar* _tmp29_ = NULL;
gchar* _tmp30_ = NULL;
-#line 1968 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1958 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp24_ = dialog_message;
-#line 1968 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1958 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp25_ = remainder;
-#line 1968 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1958 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp26_ = ngettext ("\n\nAnd %d other.", "\n\nAnd %d others.", (gulong) _tmp25_);
-#line 1968 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1958 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp27_ = remainder;
-#line 1968 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1958 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp28_ = g_strdup_printf (_tmp26_, _tmp27_);
-#line 1968 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1958 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp29_ = _tmp28_;
-#line 1968 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1958 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp30_ = g_strconcat (_tmp24_, _tmp29_, NULL);
-#line 1968 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1958 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (dialog_message);
-#line 1968 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1958 "/home/jens/Source/shotwell/src/Dialogs.vala"
dialog_message = _tmp30_;
-#line 1968 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1958 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (_tmp29_);
-#line 16010 "Dialogs.c"
+#line 15691 "Dialogs.c"
}
-#line 1972 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1962 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp31_ = app_window_get_instance ();
-#line 1972 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1962 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp32_ = _tmp31_;
-#line 1972 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1962 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp33_ = dialog_message;
-#line 1972 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1962 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp34_ = (GtkMessageDialog*) gtk_message_dialog_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp32_, gtk_window_get_type (), GtkWindow), GTK_DIALOG_MODAL, GTK_MESSAGE_ERROR, GTK_BUTTONS_OK, "%s", _tmp33_);
-#line 1972 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1962 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_object_ref_sink (_tmp34_);
-#line 1972 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1962 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp35_ = _tmp34_;
-#line 1972 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1962 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_tmp32_);
-#line 1972 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1962 "/home/jens/Source/shotwell/src/Dialogs.vala"
dialog = _tmp35_;
-#line 1975 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1965 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp36_ = title;
-#line 1975 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1965 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_window_set_title (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_window_get_type (), GtkWindow), _tmp36_);
-#line 1977 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1967 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_dialog_run (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_dialog_get_type (), GtkDialog));
-#line 1978 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1968 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_widget_get_type (), GtkWidget));
-#line 1958 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1948 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (dialog);
-#line 1958 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1948 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (dialog_message);
-#line 16040 "Dialogs.c"
+#line 15721 "Dialogs.c"
}
@@ -16066,40 +15747,40 @@ TagsDialog* tags_dialog_construct (GType object_type, const gchar* title, const
HierarchicalTagIndex* _tmp4_ = NULL;
GeeCollection* _tmp5_ = NULL;
GeeCollection* _tmp6_ = NULL;
-#line 1982 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1972 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_val_if_fail (title != NULL, NULL);
-#line 1982 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1972 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_val_if_fail (label != NULL, NULL);
-#line 1983 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1973 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = title;
-#line 1983 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1973 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = label;
-#line 1983 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1973 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp2_ = initial_text;
-#line 1983 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1973 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp3_ = hierarchical_tag_index_get_global_index ();
-#line 1983 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1973 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp4_ = _tmp3_;
-#line 1983 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1973 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp5_ = hierarchical_tag_index_get_all_tags (_tmp4_);
-#line 1983 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1973 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp6_ = _tmp5_;
-#line 1983 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1973 "/home/jens/Source/shotwell/src/Dialogs.vala"
self = (TagsDialog*) text_entry_dialog_mediator_construct (object_type, _tmp0_, _tmp1_, _tmp2_, _tmp6_, ",");
-#line 1983 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1973 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_tmp6_);
-#line 1983 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1973 "/home/jens/Source/shotwell/src/Dialogs.vala"
_hierarchical_tag_index_unref0 (_tmp4_);
-#line 1982 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1972 "/home/jens/Source/shotwell/src/Dialogs.vala"
return self;
-#line 16079 "Dialogs.c"
+#line 15760 "Dialogs.c"
}
static void tags_dialog_class_init (TagsDialogClass * klass) {
-#line 1981 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1971 "/home/jens/Source/shotwell/src/Dialogs.vala"
tags_dialog_parent_class = g_type_class_peek_parent (klass);
-#line 16086 "Dialogs.c"
+#line 15767 "Dialogs.c"
}
@@ -16125,28 +15806,28 @@ AddTagsDialog* add_tags_dialog_construct (GType object_type) {
const gchar* _tmp0_ = NULL;
gchar* _tmp1_ = NULL;
const gchar* _tmp2_ = NULL;
-#line 1990 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1980 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = g_dpgettext2 (NULL, "Dialog Title", RESOURCES_ADD_TAGS_TITLE);
-#line 1990 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1980 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = g_strdup (_tmp0_);
-#line 1990 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1980 "/home/jens/Source/shotwell/src/Dialogs.vala"
title = _tmp1_;
-#line 1992 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1982 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp2_ = _ ("Tags (separated by commas):");
-#line 1992 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1982 "/home/jens/Source/shotwell/src/Dialogs.vala"
self = (AddTagsDialog*) tags_dialog_construct (object_type, title, _tmp2_, NULL);
-#line 1989 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1979 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (title);
-#line 1989 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1979 "/home/jens/Source/shotwell/src/Dialogs.vala"
return self;
-#line 16126 "Dialogs.c"
+#line 15807 "Dialogs.c"
}
AddTagsDialog* add_tags_dialog_new (void) {
-#line 1989 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1979 "/home/jens/Source/shotwell/src/Dialogs.vala"
return add_tags_dialog_construct (TYPE_ADD_TAGS_DIALOG);
-#line 16133 "Dialogs.c"
+#line 15814 "Dialogs.c"
}
@@ -16166,70 +15847,70 @@ gchar** add_tags_dialog_execute (AddTagsDialog* self, int* result_length1) {
gint _tmp9__length1 = 0;
gchar** _tmp10_ = NULL;
gint _tmp10__length1 = 0;
-#line 1995 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1985 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_val_if_fail (IS_ADD_TAGS_DIALOG (self), NULL);
-#line 1996 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1986 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = _text_entry_dialog_mediator_execute (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_TEXT_ENTRY_DIALOG_MEDIATOR, TextEntryDialogMediator));
-#line 1996 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1986 "/home/jens/Source/shotwell/src/Dialogs.vala"
text = _tmp0_;
-#line 1997 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1987 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = text;
-#line 1997 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1987 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp1_ == NULL) {
-#line 16163 "Dialogs.c"
+#line 15844 "Dialogs.c"
gchar** _tmp2_ = NULL;
gint _tmp2__length1 = 0;
-#line 1998 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1988 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp2_ = NULL;
-#line 1998 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1988 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp2__length1 = 0;
-#line 1998 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1988 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (result_length1) {
-#line 1998 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1988 "/home/jens/Source/shotwell/src/Dialogs.vala"
*result_length1 = _tmp2__length1;
-#line 16174 "Dialogs.c"
+#line 15855 "Dialogs.c"
}
-#line 1998 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1988 "/home/jens/Source/shotwell/src/Dialogs.vala"
result = _tmp2_;
-#line 1998 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1988 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (text);
-#line 1998 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1988 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 16182 "Dialogs.c"
+#line 15863 "Dialogs.c"
}
-#line 2002 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1992 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp3_ = text;
-#line 2002 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1992 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp5_ = _tmp4_ = g_strsplit (_tmp3_, ",", 0);
-#line 2002 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1992 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp6_ = _tmp5_;
-#line 2002 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1992 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp6__length1 = _vala_array_length (_tmp4_);
-#line 2002 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1992 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp8_ = tag_prep_tag_names (_tmp6_, _vala_array_length (_tmp4_), &_tmp7_);
-#line 2002 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1992 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp9_ = _tmp8_;
-#line 2002 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1992 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp9__length1 = _tmp7_;
-#line 2002 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1992 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp6_ = (_vala_array_free (_tmp6_, _tmp6__length1, (GDestroyNotify) g_free), NULL);
-#line 2002 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1992 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp10_ = _tmp9_;
-#line 2002 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1992 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp10__length1 = _tmp9__length1;
-#line 2002 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1992 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (result_length1) {
-#line 2002 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1992 "/home/jens/Source/shotwell/src/Dialogs.vala"
*result_length1 = _tmp10__length1;
-#line 16208 "Dialogs.c"
+#line 15889 "Dialogs.c"
}
-#line 2002 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1992 "/home/jens/Source/shotwell/src/Dialogs.vala"
result = _tmp10_;
-#line 2002 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1992 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (text);
-#line 2002 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1992 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 16216 "Dialogs.c"
+#line 15897 "Dialogs.c"
}
@@ -16252,64 +15933,64 @@ static gboolean add_tags_dialog_real_on_modify_validate (TextEntryDialogMediator
gint _names_size_ = 0;
gchar** _tmp9_ = NULL;
gint _tmp9__length1 = 0;
-#line 2005 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1995 "/home/jens/Source/shotwell/src/Dialogs.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_ADD_TAGS_DIALOG, AddTagsDialog);
-#line 2005 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1995 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_val_if_fail (text != NULL, FALSE);
-#line 2006 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1996 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = text;
-#line 2006 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1996 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = string_contains (_tmp0_, TAG_PATH_SEPARATOR_STRING);
-#line 2006 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1996 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp1_) {
-#line 2007 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1997 "/home/jens/Source/shotwell/src/Dialogs.vala"
result = FALSE;
-#line 2007 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1997 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 16253 "Dialogs.c"
+#line 15934 "Dialogs.c"
}
-#line 2011 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2001 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp2_ = text;
-#line 2011 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2001 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp4_ = _tmp3_ = g_strsplit (_tmp2_, ",", 0);
-#line 2011 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2001 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp5_ = _tmp4_;
-#line 2011 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2001 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp5__length1 = _vala_array_length (_tmp3_);
-#line 2011 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2001 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp7_ = tag_prep_tag_names (_tmp5_, _vala_array_length (_tmp3_), &_tmp6_);
-#line 2011 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2001 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp8_ = _tmp7_;
-#line 2011 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2001 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp8__length1 = _tmp6_;
-#line 2011 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2001 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp5_ = (_vala_array_free (_tmp5_, _tmp5__length1, (GDestroyNotify) g_free), NULL);
-#line 2011 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2001 "/home/jens/Source/shotwell/src/Dialogs.vala"
names = _tmp8_;
-#line 2011 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2001 "/home/jens/Source/shotwell/src/Dialogs.vala"
names_length1 = _tmp8__length1;
-#line 2011 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2001 "/home/jens/Source/shotwell/src/Dialogs.vala"
_names_size_ = names_length1;
-#line 2013 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2003 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp9_ = names;
-#line 2013 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2003 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp9__length1 = names_length1;
-#line 2013 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2003 "/home/jens/Source/shotwell/src/Dialogs.vala"
result = _tmp9__length1 > 0;
-#line 2013 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2003 "/home/jens/Source/shotwell/src/Dialogs.vala"
names = (_vala_array_free (names, names_length1, (GDestroyNotify) g_free), NULL);
-#line 2013 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2003 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 16287 "Dialogs.c"
+#line 15968 "Dialogs.c"
}
static void add_tags_dialog_class_init (AddTagsDialogClass * klass) {
-#line 1988 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1978 "/home/jens/Source/shotwell/src/Dialogs.vala"
add_tags_dialog_parent_class = g_type_class_peek_parent (klass);
-#line 1988 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 1978 "/home/jens/Source/shotwell/src/Dialogs.vala"
((TextEntryDialogMediatorClass *) klass)->on_modify_validate = add_tags_dialog_real_on_modify_validate;
-#line 16296 "Dialogs.c"
+#line 15977 "Dialogs.c"
}
@@ -16335,30 +16016,30 @@ ModifyTagsDialog* modify_tags_dialog_construct (GType object_type, MediaSource*
MediaSource* _tmp1_ = NULL;
gchar* _tmp2_ = NULL;
gchar* _tmp3_ = NULL;
-#line 2018 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2008 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_val_if_fail (IS_MEDIA_SOURCE (source), NULL);
-#line 2019 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2009 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = _ ("Tags (separated by commas):");
-#line 2019 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2009 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = source;
-#line 2019 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2009 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp2_ = modify_tags_dialog_get_initial_text (_tmp1_);
-#line 2019 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2009 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp3_ = _tmp2_;
-#line 2019 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2009 "/home/jens/Source/shotwell/src/Dialogs.vala"
self = (ModifyTagsDialog*) tags_dialog_construct (object_type, RESOURCES_MODIFY_TAGS_LABEL, _tmp0_, _tmp3_);
-#line 2019 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2009 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (_tmp3_);
-#line 2018 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2008 "/home/jens/Source/shotwell/src/Dialogs.vala"
return self;
-#line 16338 "Dialogs.c"
+#line 16019 "Dialogs.c"
}
ModifyTagsDialog* modify_tags_dialog_new (MediaSource* source) {
-#line 2018 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2008 "/home/jens/Source/shotwell/src/Dialogs.vala"
return modify_tags_dialog_construct (TYPE_MODIFY_TAGS_DIALOG, source);
-#line 16345 "Dialogs.c"
+#line 16026 "Dialogs.c"
}
@@ -16375,52 +16056,52 @@ static gchar* modify_tags_dialog_get_initial_text (MediaSource* source) {
GeeSortedSet* tag_basenames = NULL;
GeeTreeSet* _tmp6_ = NULL;
gchar* text = NULL;
-#line 2023 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2013 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_val_if_fail (IS_MEDIA_SOURCE (source), NULL);
-#line 2024 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2014 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = tag_global;
-#line 2024 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2014 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = source;
-#line 2024 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2014 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp2_ = tag_source_collection_fetch_for_source (_tmp0_, _tmp1_);
-#line 2024 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2014 "/home/jens/Source/shotwell/src/Dialogs.vala"
source_tags = G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, GEE_TYPE_COLLECTION, GeeCollection);
-#line 2025 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2015 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp3_ = source_tags;
-#line 2025 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2015 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp3_ == NULL) {
-#line 2026 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2016 "/home/jens/Source/shotwell/src/Dialogs.vala"
result = NULL;
-#line 2026 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2016 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (source_tags);
-#line 2026 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2016 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 16382 "Dialogs.c"
+#line 16063 "Dialogs.c"
}
-#line 2028 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2018 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp4_ = source_tags;
-#line 2028 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2018 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp5_ = tag_get_terminal_tags (_tmp4_);
-#line 2028 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2018 "/home/jens/Source/shotwell/src/Dialogs.vala"
terminal_tags = _tmp5_;
-#line 2030 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2020 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp6_ = gee_tree_set_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, NULL, NULL, NULL);
-#line 2030 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2020 "/home/jens/Source/shotwell/src/Dialogs.vala"
tag_basenames = G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, GEE_TYPE_SORTED_SET, GeeSortedSet);
-#line 16394 "Dialogs.c"
+#line 16075 "Dialogs.c"
{
GeeIterator* _tag_it = NULL;
GeeCollection* _tmp7_ = NULL;
GeeIterator* _tmp8_ = NULL;
-#line 2031 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2021 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp7_ = terminal_tags;
-#line 2031 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2021 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp8_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, GEE_TYPE_ITERABLE, GeeIterable));
-#line 2031 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2021 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tag_it = _tmp8_;
-#line 2031 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2021 "/home/jens/Source/shotwell/src/Dialogs.vala"
while (TRUE) {
-#line 16407 "Dialogs.c"
+#line 16088 "Dialogs.c"
GeeIterator* _tmp9_ = NULL;
gboolean _tmp10_ = FALSE;
Tag* tag = NULL;
@@ -16432,64 +16113,64 @@ static gchar* modify_tags_dialog_get_initial_text (MediaSource* source) {
gchar* _tmp16_ = NULL;
gchar* _tmp17_ = NULL;
gchar* _tmp18_ = NULL;
-#line 2031 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2021 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp9_ = _tag_it;
-#line 2031 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2021 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp10_ = gee_iterator_next (_tmp9_);
-#line 2031 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2021 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (!_tmp10_) {
-#line 2031 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2021 "/home/jens/Source/shotwell/src/Dialogs.vala"
break;
-#line 16427 "Dialogs.c"
+#line 16108 "Dialogs.c"
}
-#line 2031 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2021 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp11_ = _tag_it;
-#line 2031 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2021 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp12_ = gee_iterator_get (_tmp11_);
-#line 2031 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2021 "/home/jens/Source/shotwell/src/Dialogs.vala"
tag = (Tag*) _tmp12_;
-#line 2032 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2022 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp13_ = tag_basenames;
-#line 2032 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2022 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp14_ = tag;
-#line 2032 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2022 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp15_ = tag_get_path (_tmp14_);
-#line 2032 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2022 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp16_ = _tmp15_;
-#line 2032 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2022 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp17_ = hierarchical_tag_utilities_get_basename (_tmp16_);
-#line 2032 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2022 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp18_ = _tmp17_;
-#line 2032 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2022 "/home/jens/Source/shotwell/src/Dialogs.vala"
gee_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, GEE_TYPE_COLLECTION, GeeCollection), _tmp18_);
-#line 2032 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2022 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (_tmp18_);
-#line 2032 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2022 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (_tmp16_);
-#line 2031 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2021 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (tag);
-#line 16455 "Dialogs.c"
+#line 16136 "Dialogs.c"
}
-#line 2031 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2021 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_tag_it);
-#line 16459 "Dialogs.c"
+#line 16140 "Dialogs.c"
}
-#line 2034 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2024 "/home/jens/Source/shotwell/src/Dialogs.vala"
text = NULL;
-#line 16463 "Dialogs.c"
+#line 16144 "Dialogs.c"
{
GeeIterator* _name_it = NULL;
GeeSortedSet* _tmp19_ = NULL;
GeeIterator* _tmp20_ = NULL;
-#line 2035 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2025 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp19_ = tag_basenames;
-#line 2035 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2025 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp20_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, GEE_TYPE_ITERABLE, GeeIterable));
-#line 2035 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2025 "/home/jens/Source/shotwell/src/Dialogs.vala"
_name_it = _tmp20_;
-#line 2035 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2025 "/home/jens/Source/shotwell/src/Dialogs.vala"
while (TRUE) {
-#line 16476 "Dialogs.c"
+#line 16157 "Dialogs.c"
GeeIterator* _tmp21_ = NULL;
gboolean _tmp22_ = FALSE;
gchar* name = NULL;
@@ -16499,77 +16180,77 @@ static gchar* modify_tags_dialog_get_initial_text (MediaSource* source) {
const gchar* _tmp29_ = NULL;
const gchar* _tmp30_ = NULL;
gchar* _tmp31_ = NULL;
-#line 2035 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2025 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp21_ = _name_it;
-#line 2035 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2025 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp22_ = gee_iterator_next (_tmp21_);
-#line 2035 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2025 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (!_tmp22_) {
-#line 2035 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2025 "/home/jens/Source/shotwell/src/Dialogs.vala"
break;
-#line 16494 "Dialogs.c"
+#line 16175 "Dialogs.c"
}
-#line 2035 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2025 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp23_ = _name_it;
-#line 2035 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2025 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp24_ = gee_iterator_get (_tmp23_);
-#line 2035 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2025 "/home/jens/Source/shotwell/src/Dialogs.vala"
name = (gchar*) _tmp24_;
-#line 2036 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2026 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp25_ = text;
-#line 2036 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2026 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp25_ == NULL) {
-#line 16506 "Dialogs.c"
+#line 16187 "Dialogs.c"
gchar* _tmp26_ = NULL;
-#line 2037 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2027 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp26_ = g_strdup ("");
-#line 2037 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2027 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (text);
-#line 2037 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2027 "/home/jens/Source/shotwell/src/Dialogs.vala"
text = _tmp26_;
-#line 16514 "Dialogs.c"
+#line 16195 "Dialogs.c"
} else {
const gchar* _tmp27_ = NULL;
gchar* _tmp28_ = NULL;
-#line 2039 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2029 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp27_ = text;
-#line 2039 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2029 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp28_ = g_strconcat (_tmp27_, ", ", NULL);
-#line 2039 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2029 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (text);
-#line 2039 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2029 "/home/jens/Source/shotwell/src/Dialogs.vala"
text = _tmp28_;
-#line 16526 "Dialogs.c"
+#line 16207 "Dialogs.c"
}
-#line 2041 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2031 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp29_ = text;
-#line 2041 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2031 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp30_ = name;
-#line 2041 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2031 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp31_ = g_strconcat (_tmp29_, _tmp30_, NULL);
-#line 2041 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2031 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (text);
-#line 2041 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2031 "/home/jens/Source/shotwell/src/Dialogs.vala"
text = _tmp31_;
-#line 2035 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2025 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (name);
-#line 16540 "Dialogs.c"
+#line 16221 "Dialogs.c"
}
-#line 2035 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2025 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_name_it);
-#line 16544 "Dialogs.c"
+#line 16225 "Dialogs.c"
}
-#line 2044 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2034 "/home/jens/Source/shotwell/src/Dialogs.vala"
result = text;
-#line 2044 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2034 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (tag_basenames);
-#line 2044 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2034 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (terminal_tags);
-#line 2044 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2034 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (source_tags);
-#line 2044 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2034 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 16556 "Dialogs.c"
+#line 16237 "Dialogs.c"
}
@@ -16602,140 +16283,140 @@ GeeArrayList* modify_tags_dialog_execute (ModifyTagsDialog* self) {
gchar** _tmp16_ = NULL;
gchar** _tmp17_ = NULL;
gint _tmp17__length1 = 0;
-#line 2047 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2037 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_val_if_fail (IS_MODIFY_TAGS_DIALOG (self), NULL);
-#line 2048 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2038 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = _text_entry_dialog_mediator_execute (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_TEXT_ENTRY_DIALOG_MEDIATOR, TextEntryDialogMediator));
-#line 2048 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2038 "/home/jens/Source/shotwell/src/Dialogs.vala"
text = _tmp0_;
-#line 2049 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2039 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = text;
-#line 2049 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2039 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp1_ == NULL) {
-#line 2050 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2040 "/home/jens/Source/shotwell/src/Dialogs.vala"
result = NULL;
-#line 2050 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2040 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (text);
-#line 2050 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2040 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 16605 "Dialogs.c"
+#line 16286 "Dialogs.c"
}
-#line 2052 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2042 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp2_ = gee_array_list_new (TYPE_TAG, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL);
-#line 2052 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2042 "/home/jens/Source/shotwell/src/Dialogs.vala"
new_tags = _tmp2_;
-#line 2055 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2045 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp3_ = text;
-#line 2055 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2045 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp4_ = is_string_empty (_tmp3_);
-#line 2055 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2045 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp4_) {
-#line 2056 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2046 "/home/jens/Source/shotwell/src/Dialogs.vala"
result = new_tags;
-#line 2056 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2046 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (text);
-#line 2056 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2046 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 16623 "Dialogs.c"
+#line 16304 "Dialogs.c"
}
-#line 2059 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2049 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp5_ = text;
-#line 2059 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2049 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp7_ = _tmp6_ = g_strsplit (_tmp5_, ",", 0);
-#line 2059 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2049 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp8_ = _tmp7_;
-#line 2059 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2049 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp8__length1 = _vala_array_length (_tmp6_);
-#line 2059 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2049 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp10_ = tag_prep_tag_names (_tmp8_, _vala_array_length (_tmp6_), &_tmp9_);
-#line 2059 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2049 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp11_ = _tmp10_;
-#line 2059 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2049 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp11__length1 = _tmp9_;
-#line 2059 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2049 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp8_ = (_vala_array_free (_tmp8_, _tmp8__length1, (GDestroyNotify) g_free), NULL);
-#line 2059 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2049 "/home/jens/Source/shotwell/src/Dialogs.vala"
tag_names = _tmp11_;
-#line 2059 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2049 "/home/jens/Source/shotwell/src/Dialogs.vala"
tag_names_length1 = _tmp11__length1;
-#line 2059 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2049 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tag_names_size_ = tag_names_length1;
-#line 2061 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2051 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp12_ = hierarchical_tag_index_get_global_index ();
-#line 2061 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2051 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp13_ = _tmp12_;
-#line 2061 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2051 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp14_ = tag_names;
-#line 2061 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2051 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp14__length1 = tag_names_length1;
-#line 2061 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2051 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp16_ = hierarchical_tag_index_get_paths_for_names_array (_tmp13_, _tmp14_, _tmp14__length1, &_tmp15_);
-#line 2061 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2051 "/home/jens/Source/shotwell/src/Dialogs.vala"
tag_names = (_vala_array_free (tag_names, tag_names_length1, (GDestroyNotify) g_free), NULL);
-#line 2061 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2051 "/home/jens/Source/shotwell/src/Dialogs.vala"
tag_names = _tmp16_;
-#line 2061 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2051 "/home/jens/Source/shotwell/src/Dialogs.vala"
tag_names_length1 = _tmp15_;
-#line 2061 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2051 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tag_names_size_ = tag_names_length1;
-#line 2061 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2051 "/home/jens/Source/shotwell/src/Dialogs.vala"
_hierarchical_tag_index_unref0 (_tmp13_);
-#line 2063 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2053 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp17_ = tag_names;
-#line 2063 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2053 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp17__length1 = tag_names_length1;
-#line 16671 "Dialogs.c"
+#line 16352 "Dialogs.c"
{
gchar** name_collection = NULL;
gint name_collection_length1 = 0;
gint _name_collection_size_ = 0;
gint name_it = 0;
-#line 2063 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2053 "/home/jens/Source/shotwell/src/Dialogs.vala"
name_collection = _tmp17_;
-#line 2063 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2053 "/home/jens/Source/shotwell/src/Dialogs.vala"
name_collection_length1 = _tmp17__length1;
-#line 2063 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2053 "/home/jens/Source/shotwell/src/Dialogs.vala"
for (name_it = 0; name_it < _tmp17__length1; name_it = name_it + 1) {
-#line 16683 "Dialogs.c"
+#line 16364 "Dialogs.c"
gchar* _tmp18_ = NULL;
gchar* name = NULL;
-#line 2063 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2053 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp18_ = g_strdup (name_collection[name_it]);
-#line 2063 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2053 "/home/jens/Source/shotwell/src/Dialogs.vala"
name = _tmp18_;
-#line 16690 "Dialogs.c"
+#line 16371 "Dialogs.c"
{
GeeArrayList* _tmp19_ = NULL;
const gchar* _tmp20_ = NULL;
Tag* _tmp21_ = NULL;
Tag* _tmp22_ = NULL;
-#line 2064 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2054 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp19_ = new_tags;
-#line 2064 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2054 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp20_ = name;
-#line 2064 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2054 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp21_ = tag_for_path (_tmp20_);
-#line 2064 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2054 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp22_ = _tmp21_;
-#line 2064 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2054 "/home/jens/Source/shotwell/src/Dialogs.vala"
gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp22_);
-#line 2064 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2054 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_tmp22_);
-#line 2063 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2053 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (name);
-#line 16710 "Dialogs.c"
+#line 16391 "Dialogs.c"
}
}
}
-#line 2066 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2056 "/home/jens/Source/shotwell/src/Dialogs.vala"
result = new_tags;
-#line 2066 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2056 "/home/jens/Source/shotwell/src/Dialogs.vala"
tag_names = (_vala_array_free (tag_names, tag_names_length1, (GDestroyNotify) g_free), NULL);
-#line 2066 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2056 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (text);
-#line 2066 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2056 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 16722 "Dialogs.c"
+#line 16403 "Dialogs.c"
}
@@ -16744,28 +16425,28 @@ static gboolean modify_tags_dialog_real_on_modify_validate (TextEntryDialogMedia
gboolean result = FALSE;
const gchar* _tmp0_ = NULL;
gboolean _tmp1_ = FALSE;
-#line 2069 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2059 "/home/jens/Source/shotwell/src/Dialogs.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_MODIFY_TAGS_DIALOG, ModifyTagsDialog);
-#line 2069 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2059 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_val_if_fail (text != NULL, FALSE);
-#line 2070 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2060 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = text;
-#line 2070 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2060 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = string_contains (_tmp0_, TAG_PATH_SEPARATOR_STRING);
-#line 2070 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2060 "/home/jens/Source/shotwell/src/Dialogs.vala"
result = !_tmp1_;
-#line 2070 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2060 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 16743 "Dialogs.c"
+#line 16424 "Dialogs.c"
}
static void modify_tags_dialog_class_init (ModifyTagsDialogClass * klass) {
-#line 2017 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2007 "/home/jens/Source/shotwell/src/Dialogs.vala"
modify_tags_dialog_parent_class = g_type_class_peek_parent (klass);
-#line 2017 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2007 "/home/jens/Source/shotwell/src/Dialogs.vala"
((TextEntryDialogMediatorClass *) klass)->on_modify_validate = modify_tags_dialog_real_on_modify_validate;
-#line 16752 "Dialogs.c"
+#line 16433 "Dialogs.c"
}
@@ -16786,31 +16467,31 @@ GType modify_tags_dialog_get_type (void) {
gchar* welcome_service_entry_get_service_name (WelcomeServiceEntry* self) {
-#line 2076 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2066 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_val_if_fail (IS_WELCOME_SERVICE_ENTRY (self), NULL);
-#line 2076 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2066 "/home/jens/Source/shotwell/src/Dialogs.vala"
return WELCOME_SERVICE_ENTRY_GET_INTERFACE (self)->get_service_name (self);
-#line 16777 "Dialogs.c"
+#line 16458 "Dialogs.c"
}
void welcome_service_entry_execute (WelcomeServiceEntry* self) {
-#line 2078 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2068 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_if_fail (IS_WELCOME_SERVICE_ENTRY (self));
-#line 2078 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2068 "/home/jens/Source/shotwell/src/Dialogs.vala"
WELCOME_SERVICE_ENTRY_GET_INTERFACE (self)->execute (self);
-#line 16786 "Dialogs.c"
+#line 16467 "Dialogs.c"
}
static void welcome_service_entry_base_init (WelcomeServiceEntryIface * iface) {
-#line 2075 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2065 "/home/jens/Source/shotwell/src/Dialogs.vala"
static gboolean initialized = FALSE;
-#line 2075 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2065 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (!initialized) {
-#line 2075 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2065 "/home/jens/Source/shotwell/src/Dialogs.vala"
initialized = TRUE;
-#line 16797 "Dialogs.c"
+#line 16478 "Dialogs.c"
}
}
@@ -16922,255 +16603,255 @@ WelcomeDialog* welcome_dialog_construct (GType object_type, GtkWindow* owner) {
GtkBox* _tmp90_ = NULL;
GtkWidget* _tmp91_ = NULL;
SpitDataImportsWelcomeImportMetaHost* _tmp92_ = NULL;
-#line 2095 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2085 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_val_if_fail (GTK_IS_WINDOW (owner), NULL);
-#line 2095 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2085 "/home/jens/Source/shotwell/src/Dialogs.vala"
self = (WelcomeDialog*) g_object_new (object_type, NULL);
-#line 2096 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2086 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = spit_data_imports_welcome_import_meta_host_new (self);
-#line 2096 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2086 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->import_meta_host);
-#line 2096 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2086 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->import_meta_host = _tmp0_;
-#line 2097 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2087 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = welcome_dialog_is_system_pictures_import_possible ();
-#line 2097 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2087 "/home/jens/Source/shotwell/src/Dialogs.vala"
show_system_pictures_import = _tmp1_;
-#line 2098 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2088 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp2_ = gtk_dialog_add_button (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), RESOURCES_OK_LABEL, (gint) GTK_RESPONSE_OK);
-#line 2098 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2088 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp3_ = _g_object_ref0 (_tmp2_);
-#line 2098 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2088 "/home/jens/Source/shotwell/src/Dialogs.vala"
ok_button = _tmp3_;
-#line 2099 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2089 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp4_ = _ ("Welcome!");
-#line 2099 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2089 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_window_set_title (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), _tmp4_);
-#line 2100 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2090 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_window_set_resizable (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), FALSE);
-#line 2101 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2091 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_window_set_type_hint (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), GDK_WINDOW_TYPE_HINT_DIALOG);
-#line 2102 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2092 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp5_ = owner;
-#line 2102 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2092 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_window_set_transient_for (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), _tmp5_);
-#line 2104 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2094 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp6_ = (GtkLabel*) gtk_label_new ("");
-#line 2104 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2094 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_object_ref_sink (_tmp6_);
-#line 2104 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2094 "/home/jens/Source/shotwell/src/Dialogs.vala"
primary_text = _tmp6_;
-#line 2105 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2095 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp7_ = primary_text;
-#line 2105 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2095 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp8_ = _ ("Welcome to Shotwell!");
-#line 2105 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2095 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp9_ = g_strdup_printf ("<span size=\"large\" weight=\"bold\">%s</span>", _tmp8_);
-#line 2105 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2095 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp10_ = _tmp9_;
-#line 2105 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2095 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_label_set_markup (_tmp7_, _tmp10_);
-#line 2105 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2095 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (_tmp10_);
-#line 2107 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2097 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp11_ = primary_text;
-#line 2107 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2097 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_label_set_xalign (_tmp11_, 0.0f);
-#line 2108 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2098 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp12_ = primary_text;
-#line 2108 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2098 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_label_set_yalign (_tmp12_, 0.5f);
-#line 2109 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2099 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp13_ = (GtkLabel*) gtk_label_new ("");
-#line 2109 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2099 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_object_ref_sink (_tmp13_);
-#line 2109 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2099 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->secondary_text);
-#line 2109 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2099 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->secondary_text = _tmp13_;
-#line 2110 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2100 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp14_ = self->priv->secondary_text;
-#line 2110 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2100 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp15_ = _ ("To get started, import photos in any of these ways:");
-#line 2110 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2100 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp16_ = g_strdup_printf ("<span weight=\"normal\">%s</span>", _tmp15_);
-#line 2110 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2100 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp17_ = _tmp16_;
-#line 2110 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2100 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_label_set_markup (_tmp14_, _tmp17_);
-#line 2110 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2100 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (_tmp17_);
-#line 2112 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2102 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp18_ = self->priv->secondary_text;
-#line 2112 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2102 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_label_set_xalign (_tmp18_, 0.0f);
-#line 2113 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2103 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp19_ = self->priv->secondary_text;
-#line 2113 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2103 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_label_set_yalign (_tmp19_, 0.5f);
-#line 2114 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2104 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp20_ = (GtkImage*) gtk_image_new_from_icon_name ("shotwell", GTK_ICON_SIZE_DIALOG);
-#line 2114 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2104 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_object_ref_sink (_tmp20_);
-#line 2114 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2104 "/home/jens/Source/shotwell/src/Dialogs.vala"
image = _tmp20_;
-#line 2116 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2106 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp21_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
-#line 2116 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2106 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_object_ref_sink (_tmp21_);
-#line 2116 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2106 "/home/jens/Source/shotwell/src/Dialogs.vala"
header_text = _tmp21_;
-#line 2117 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2107 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp22_ = header_text;
-#line 2117 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2107 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp23_ = primary_text;
-#line 2117 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2107 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_box_pack_start (_tmp22_, G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 5);
-#line 2118 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2108 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp24_ = header_text;
-#line 2118 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2108 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp25_ = self->priv->secondary_text;
-#line 2118 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2108 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_box_pack_start (_tmp24_, G_TYPE_CHECK_INSTANCE_CAST (_tmp25_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
-#line 2120 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2110 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp26_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 12);
-#line 2120 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2110 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_object_ref_sink (_tmp26_);
-#line 2120 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2110 "/home/jens/Source/shotwell/src/Dialogs.vala"
header_content = _tmp26_;
-#line 2121 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2111 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp27_ = header_content;
-#line 2121 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2111 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp28_ = image;
-#line 2121 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2111 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_box_pack_start (_tmp27_, G_TYPE_CHECK_INSTANCE_CAST (_tmp28_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
-#line 2122 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2112 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp29_ = header_content;
-#line 2122 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2112 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp30_ = header_text;
-#line 2122 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2112 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_box_pack_start (_tmp29_, G_TYPE_CHECK_INSTANCE_CAST (_tmp30_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
-#line 2124 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2114 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp31_ = (GtkLabel*) gtk_label_new ("");
-#line 2124 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2114 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_object_ref_sink (_tmp31_);
-#line 2124 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2114 "/home/jens/Source/shotwell/src/Dialogs.vala"
instructions = _tmp31_;
-#line 2125 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2115 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp32_ = g_strdup (" ");
-#line 2125 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2115 "/home/jens/Source/shotwell/src/Dialogs.vala"
indent_prefix = _tmp32_;
-#line 2127 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2117 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp34_ = gtk_widget_get_direction (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
-#line 2127 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2117 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp34_ == GTK_TEXT_DIR_RTL) {
-#line 2127 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2117 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp33_ = "◂";
-#line 17053 "Dialogs.c"
+#line 16734 "Dialogs.c"
} else {
-#line 2127 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2117 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp33_ = "▸";
-#line 17057 "Dialogs.c"
+#line 16738 "Dialogs.c"
}
-#line 2127 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2117 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp35_ = g_strdup (_tmp33_);
-#line 2127 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2117 "/home/jens/Source/shotwell/src/Dialogs.vala"
arrow_glyph = _tmp35_;
-#line 2129 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2119 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp36_ = instructions;
-#line 2129 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2119 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp37_ = indent_prefix;
-#line 2129 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2119 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp38_ = g_strconcat (_tmp37_, "&#8226; %s\n", NULL);
-#line 2129 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2119 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp39_ = _tmp38_;
-#line 2129 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2119 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp40_ = indent_prefix;
-#line 2129 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2119 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp41_ = g_strconcat (_tmp40_, "&#8226; %s\n", NULL);
-#line 2129 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2119 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp42_ = _tmp41_;
-#line 2129 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2119 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp43_ = g_strconcat (_tmp39_, _tmp42_, NULL);
-#line 2129 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2119 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp44_ = _tmp43_;
-#line 2129 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2119 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp45_ = indent_prefix;
-#line 2129 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2119 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp46_ = g_strconcat (_tmp45_, "&#8226; %s", NULL);
-#line 2129 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2119 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp47_ = _tmp46_;
-#line 2129 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2119 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp48_ = g_strconcat (_tmp44_, _tmp47_, NULL);
-#line 2129 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2119 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp49_ = _tmp48_;
-#line 2129 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2119 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp50_ = _ ("Choose <span weight=\"bold\">File %s Import From Folder</span>");
-#line 2129 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2119 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp51_ = arrow_glyph;
-#line 2129 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2119 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp52_ = g_strdup_printf (_tmp50_, _tmp51_);
-#line 2129 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2119 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp53_ = _tmp52_;
-#line 2129 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2119 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp54_ = _ ("Drag and drop photos onto the Shotwell window");
-#line 2129 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2119 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp55_ = _ ("Connect a camera to your computer and import");
-#line 2129 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2119 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp56_ = g_strdup_printf (_tmp49_, _tmp53_, _tmp54_, _tmp55_);
-#line 2129 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2119 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp57_ = _tmp56_;
-#line 2129 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2119 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_label_set_markup (_tmp36_, _tmp57_);
-#line 2129 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2119 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (_tmp57_);
-#line 2129 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2119 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (_tmp53_);
-#line 2129 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2119 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (_tmp49_);
-#line 2129 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2119 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (_tmp47_);
-#line 2129 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2119 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (_tmp44_);
-#line 2129 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2119 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (_tmp42_);
-#line 2129 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2119 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (_tmp39_);
-#line 2134 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2124 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp58_ = instructions;
-#line 2134 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2124 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_label_set_xalign (_tmp58_, 0.0f);
-#line 2135 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2125 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp59_ = instructions;
-#line 2135 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2125 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_label_set_yalign (_tmp59_, 0.5f);
-#line 2137 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2127 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp60_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 2);
-#line 2137 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2127 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_object_ref_sink (_tmp60_);
-#line 2137 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2127 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->import_action_checkbox_packer);
-#line 2137 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2127 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->import_action_checkbox_packer = _tmp60_;
-#line 2139 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2129 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp61_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 2);
-#line 2139 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2129 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_object_ref_sink (_tmp61_);
-#line 2139 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2129 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->external_import_action_checkbox_packer);
-#line 2139 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2129 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->external_import_action_checkbox_packer = _tmp61_;
-#line 2140 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2130 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp62_ = self->priv->import_action_checkbox_packer;
-#line 2140 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2130 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp63_ = self->priv->external_import_action_checkbox_packer;
-#line 2140 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2130 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp62_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp63_, gtk_widget_get_type (), GtkWidget));
-#line 2142 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2132 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp64_ = show_system_pictures_import;
-#line 2142 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2132 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp64_) {
-#line 17157 "Dialogs.c"
+#line 16838 "Dialogs.c"
const gchar* _tmp65_ = NULL;
GFile* _tmp66_ = NULL;
GFile* _tmp67_ = NULL;
@@ -17182,170 +16863,170 @@ WelcomeDialog* welcome_dialog_construct (GType object_type, GtkWindow* owner) {
GtkBox* _tmp73_ = NULL;
GtkCheckButton* _tmp74_ = NULL;
GtkCheckButton* _tmp75_ = NULL;
-#line 2143 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2133 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp65_ = _ ("_Import photos from your %s folder");
-#line 2143 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2133 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp66_ = app_dirs_get_import_dir ();
-#line 2143 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2133 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp67_ = _tmp66_;
-#line 2143 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2133 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp68_ = get_display_pathname (_tmp67_);
-#line 2143 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2133 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp69_ = _tmp68_;
-#line 2143 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2133 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp70_ = g_strdup_printf (_tmp65_, _tmp69_);
-#line 2143 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2133 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp71_ = _tmp70_;
-#line 2143 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2133 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp72_ = (GtkCheckButton*) gtk_check_button_new_with_mnemonic (_tmp71_);
-#line 2143 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2133 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_object_ref_sink (_tmp72_);
-#line 2143 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2133 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->system_pictures_import_check);
-#line 2143 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2133 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->system_pictures_import_check = _tmp72_;
-#line 2143 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2133 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (_tmp71_);
-#line 2143 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2133 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (_tmp69_);
-#line 2143 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2133 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_tmp67_);
-#line 2146 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2136 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp73_ = self->priv->import_action_checkbox_packer;
-#line 2146 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2136 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp74_ = self->priv->system_pictures_import_check;
-#line 2146 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2136 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp73_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp74_, gtk_widget_get_type (), GtkWidget));
-#line 2147 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2137 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp75_ = self->priv->system_pictures_import_check;
-#line 2147 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2137 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp75_, gtk_toggle_button_get_type (), GtkToggleButton), TRUE);
-#line 17207 "Dialogs.c"
+#line 16888 "Dialogs.c"
}
-#line 2150 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2140 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp76_ = _ ("You can also import photos in any of these ways:");
-#line 2150 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2140 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp77_ = (GtkLabel*) gtk_label_new (_tmp76_);
-#line 2150 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2140 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_object_ref_sink (_tmp77_);
-#line 2150 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2140 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->instruction_header);
-#line 2150 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2140 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->instruction_header = _tmp77_;
-#line 2152 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2142 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp78_ = self->priv->instruction_header;
-#line 2152 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2142 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_label_set_xalign (_tmp78_, 0.0f);
-#line 2153 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2143 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp79_ = self->priv->instruction_header;
-#line 2153 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2143 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_label_set_yalign (_tmp79_, 0.5f);
-#line 2154 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2144 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp80_ = self->priv->instruction_header;
-#line 2154 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2144 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_widget_set_margin_top (G_TYPE_CHECK_INSTANCE_CAST (_tmp80_, gtk_widget_get_type (), GtkWidget), 20);
-#line 2156 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2146 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp81_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 16);
-#line 2156 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2146 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_object_ref_sink (_tmp81_);
-#line 2156 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2146 "/home/jens/Source/shotwell/src/Dialogs.vala"
content = _tmp81_;
-#line 2157 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2147 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp82_ = header_content;
-#line 2157 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2147 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_box_pack_start (content, G_TYPE_CHECK_INSTANCE_CAST (_tmp82_, gtk_widget_get_type (), GtkWidget), TRUE, TRUE, (guint) 0);
-#line 2158 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2148 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp83_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 2);
-#line 2158 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2148 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_object_ref_sink (_tmp83_);
-#line 2158 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2148 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->import_content);
-#line 2158 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2148 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->import_content = _tmp83_;
-#line 2159 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2149 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp84_ = self->priv->import_content;
-#line 2159 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2149 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (content, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp84_, gtk_widget_get_type (), GtkWidget));
-#line 2160 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2150 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp85_ = instructions;
-#line 2160 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2150 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_box_pack_start (content, G_TYPE_CHECK_INSTANCE_CAST (_tmp85_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
-#line 2162 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2152 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp86_ = _ ("_Don’t show this message again");
-#line 2162 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2152 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp87_ = (GtkCheckButton*) gtk_check_button_new_with_mnemonic (_tmp86_);
-#line 2162 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2152 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_object_ref_sink (_tmp87_);
-#line 2162 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2152 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->hide_button);
-#line 2162 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2152 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->hide_button = _tmp87_;
-#line 2163 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2153 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp88_ = self->priv->hide_button;
-#line 2163 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2153 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp88_, gtk_toggle_button_get_type (), GtkToggleButton), TRUE);
-#line 2164 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2154 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp89_ = self->priv->hide_button;
-#line 2164 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2154 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_box_pack_start (content, G_TYPE_CHECK_INSTANCE_CAST (_tmp89_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 6);
-#line 2165 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2155 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_widget_set_halign (G_TYPE_CHECK_INSTANCE_CAST (content, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_FILL);
-#line 2166 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2156 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_widget_set_valign (G_TYPE_CHECK_INSTANCE_CAST (content, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_FILL);
-#line 2167 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2157 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_widget_set_hexpand (G_TYPE_CHECK_INSTANCE_CAST (content, gtk_widget_get_type (), GtkWidget), FALSE);
-#line 2168 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2158 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_widget_set_vexpand (G_TYPE_CHECK_INSTANCE_CAST (content, gtk_widget_get_type (), GtkWidget), FALSE);
-#line 2169 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2159 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_widget_set_margin_top (G_TYPE_CHECK_INSTANCE_CAST (content, gtk_widget_get_type (), GtkWidget), 12);
-#line 2170 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2160 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_widget_set_margin_bottom (G_TYPE_CHECK_INSTANCE_CAST (content, gtk_widget_get_type (), GtkWidget), 0);
-#line 2171 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2161 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_widget_set_margin_start (G_TYPE_CHECK_INSTANCE_CAST (content, gtk_widget_get_type (), GtkWidget), 12);
-#line 2172 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2162 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_widget_set_margin_end (G_TYPE_CHECK_INSTANCE_CAST (content, gtk_widget_get_type (), GtkWidget), 12);
-#line 2174 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2164 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp90_ = (GtkBox*) gtk_dialog_get_content_area (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog));
-#line 2174 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2164 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_box_pack_start (G_TYPE_CHECK_INSTANCE_CAST (_tmp90_, gtk_box_get_type (), GtkBox), G_TYPE_CHECK_INSTANCE_CAST (content, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
-#line 2176 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2166 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp91_ = ok_button;
-#line 2176 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2166 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_widget_grab_focus (_tmp91_);
-#line 2178 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2168 "/home/jens/Source/shotwell/src/Dialogs.vala"
welcome_dialog_install_import_content (self);
-#line 2180 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2170 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp92_ = self->priv->import_meta_host;
-#line 2180 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2170 "/home/jens/Source/shotwell/src/Dialogs.vala"
spit_data_imports_welcome_import_meta_host_start (_tmp92_);
-#line 2095 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2085 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (content);
-#line 2095 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2085 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (arrow_glyph);
-#line 2095 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2085 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (indent_prefix);
-#line 2095 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2085 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (instructions);
-#line 2095 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2085 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (header_content);
-#line 2095 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2085 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (header_text);
-#line 2095 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2085 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (image);
-#line 2095 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2085 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (primary_text);
-#line 2095 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2085 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (ok_button);
-#line 2095 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2085 "/home/jens/Source/shotwell/src/Dialogs.vala"
return self;
-#line 17325 "Dialogs.c"
+#line 17006 "Dialogs.c"
}
WelcomeDialog* welcome_dialog_new (GtkWindow* owner) {
-#line 2095 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2085 "/home/jens/Source/shotwell/src/Dialogs.vala"
return welcome_dialog_construct (TYPE_WELCOME_DIALOG, owner);
-#line 17332 "Dialogs.c"
+#line 17013 "Dialogs.c"
}
@@ -17354,101 +17035,101 @@ static void welcome_dialog_install_import_content (WelcomeDialog* self) {
gboolean _tmp1_ = FALSE;
GtkCheckButton** _tmp2_ = NULL;
gint _tmp2__length1 = 0;
-#line 2183 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2173 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_if_fail (IS_WELCOME_DIALOG (self));
-#line 2185 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2175 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp2_ = self->priv->external_import_checks;
-#line 2185 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2175 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp2__length1 = self->priv->external_import_checks_length1;
-#line 2185 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2175 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp2__length1 > 0) {
-#line 2185 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2175 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = TRUE;
-#line 17351 "Dialogs.c"
+#line 17032 "Dialogs.c"
} else {
GtkCheckButton* _tmp3_ = NULL;
-#line 2185 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2175 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp3_ = self->priv->system_pictures_import_check;
-#line 2185 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2175 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = _tmp3_ != NULL;
-#line 17358 "Dialogs.c"
+#line 17039 "Dialogs.c"
}
-#line 2185 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2175 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp1_) {
-#line 17362 "Dialogs.c"
+#line 17043 "Dialogs.c"
gboolean _tmp4_ = FALSE;
-#line 2186 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2176 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp4_ = self->priv->import_content_already_installed;
-#line 2186 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2176 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = _tmp4_ == FALSE;
-#line 17368 "Dialogs.c"
+#line 17049 "Dialogs.c"
} else {
-#line 2185 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2175 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = FALSE;
-#line 17372 "Dialogs.c"
+#line 17053 "Dialogs.c"
}
-#line 2184 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2174 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp0_) {
-#line 17376 "Dialogs.c"
+#line 17057 "Dialogs.c"
GtkLabel* _tmp5_ = NULL;
GtkBox* _tmp6_ = NULL;
GtkBox* _tmp7_ = NULL;
GtkBox* _tmp8_ = NULL;
GtkLabel* _tmp9_ = NULL;
-#line 2188 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2178 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp5_ = self->priv->secondary_text;
-#line 2188 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2178 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_label_set_markup (_tmp5_, "");
-#line 2189 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2179 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp6_ = self->priv->import_content;
-#line 2189 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2179 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp7_ = self->priv->import_action_checkbox_packer;
-#line 2189 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2179 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_widget_get_type (), GtkWidget));
-#line 2190 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2180 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp8_ = self->priv->import_content;
-#line 2190 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2180 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp9_ = self->priv->instruction_header;
-#line 2190 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2180 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_widget_get_type (), GtkWidget));
-#line 2191 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2181 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->import_content_already_installed = TRUE;
-#line 17400 "Dialogs.c"
+#line 17081 "Dialogs.c"
}
}
static void _vala_array_add109 (WelcomeServiceEntry*** array, int* length, int* size, WelcomeServiceEntry* value) {
-#line 2197 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2187 "/home/jens/Source/shotwell/src/Dialogs.vala"
if ((*length) == (*size)) {
-#line 2197 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2187 "/home/jens/Source/shotwell/src/Dialogs.vala"
*size = (*size) ? (2 * (*size)) : 4;
-#line 2197 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2187 "/home/jens/Source/shotwell/src/Dialogs.vala"
*array = g_renew (WelcomeServiceEntry*, *array, (*size) + 1);
-#line 17412 "Dialogs.c"
+#line 17093 "Dialogs.c"
}
-#line 2197 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2187 "/home/jens/Source/shotwell/src/Dialogs.vala"
(*array)[(*length)++] = value;
-#line 2197 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2187 "/home/jens/Source/shotwell/src/Dialogs.vala"
(*array)[*length] = NULL;
-#line 17418 "Dialogs.c"
+#line 17099 "Dialogs.c"
}
static void _vala_array_add110 (GtkCheckButton*** array, int* length, int* size, GtkCheckButton* value) {
-#line 2200 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2190 "/home/jens/Source/shotwell/src/Dialogs.vala"
if ((*length) == (*size)) {
-#line 2200 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2190 "/home/jens/Source/shotwell/src/Dialogs.vala"
*size = (*size) ? (2 * (*size)) : 4;
-#line 2200 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2190 "/home/jens/Source/shotwell/src/Dialogs.vala"
*array = g_renew (GtkCheckButton*, *array, (*size) + 1);
-#line 17429 "Dialogs.c"
+#line 17110 "Dialogs.c"
}
-#line 2200 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2190 "/home/jens/Source/shotwell/src/Dialogs.vala"
(*array)[(*length)++] = value;
-#line 2200 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2190 "/home/jens/Source/shotwell/src/Dialogs.vala"
(*array)[*length] = NULL;
-#line 17435 "Dialogs.c"
+#line 17116 "Dialogs.c"
}
@@ -17475,79 +17156,79 @@ void welcome_dialog_install_service_entry (WelcomeDialog* self, WelcomeServiceEn
gint _tmp16__length1 = 0;
GtkCheckButton* _tmp17_ = NULL;
GtkBox* _tmp18_ = NULL;
-#line 2195 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2185 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_if_fail (IS_WELCOME_DIALOG (self));
-#line 2195 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2185 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_if_fail (IS_WELCOME_SERVICE_ENTRY (entry));
-#line 2196 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2186 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = entry;
-#line 2196 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2186 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = welcome_service_entry_get_service_name (_tmp0_);
-#line 2196 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2186 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp2_ = _tmp1_;
-#line 2196 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2186 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp3_ = g_strdup_printf ("WelcomeDialog: Installing service entry for %s", _tmp2_);
-#line 2196 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2186 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp4_ = _tmp3_;
-#line 2196 "/home/jens/Source/shotwell/src/Dialogs.vala"
- g_debug ("Dialogs.vala:2196: %s", _tmp4_);
-#line 2196 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2186 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ g_debug ("Dialogs.vala:2186: %s", _tmp4_);
+#line 2186 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (_tmp4_);
-#line 2196 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2186 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (_tmp2_);
-#line 2197 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2187 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp5_ = self->priv->external_import_entries;
-#line 2197 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2187 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp5__length1 = self->priv->external_import_entries_length1;
-#line 2197 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2187 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp6_ = entry;
-#line 2197 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2187 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp7_ = _g_object_ref0 (_tmp6_);
-#line 2197 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2187 "/home/jens/Source/shotwell/src/Dialogs.vala"
_vala_array_add109 (&self->priv->external_import_entries, &self->priv->external_import_entries_length1, &self->priv->_external_import_entries_size_, _tmp7_);
-#line 2198 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2188 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp8_ = _ ("Import photos from your %s library");
-#line 2198 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2188 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp9_ = entry;
-#line 2198 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2188 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp10_ = welcome_service_entry_get_service_name (_tmp9_);
-#line 2198 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2188 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp11_ = _tmp10_;
-#line 2198 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2188 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp12_ = g_strdup_printf (_tmp8_, _tmp11_);
-#line 2198 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2188 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp13_ = _tmp12_;
-#line 2198 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2188 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp14_ = (GtkCheckButton*) gtk_check_button_new_with_label (_tmp13_);
-#line 2198 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2188 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_object_ref_sink (_tmp14_);
-#line 2198 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2188 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp15_ = _tmp14_;
-#line 2198 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2188 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (_tmp13_);
-#line 2198 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2188 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (_tmp11_);
-#line 2198 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2188 "/home/jens/Source/shotwell/src/Dialogs.vala"
entry_check = _tmp15_;
-#line 2200 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2190 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp16_ = self->priv->external_import_checks;
-#line 2200 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2190 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp16__length1 = self->priv->external_import_checks_length1;
-#line 2200 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2190 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp17_ = _g_object_ref0 (entry_check);
-#line 2200 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2190 "/home/jens/Source/shotwell/src/Dialogs.vala"
_vala_array_add110 (&self->priv->external_import_checks, &self->priv->external_import_checks_length1, &self->priv->_external_import_checks_size_, _tmp17_);
-#line 2201 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2191 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (entry_check, gtk_toggle_button_get_type (), GtkToggleButton), TRUE);
-#line 2202 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2192 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp18_ = self->priv->external_import_action_checkbox_packer;
-#line 2202 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2192 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (entry_check, gtk_widget_get_type (), GtkWidget));
-#line 2203 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2193 "/home/jens/Source/shotwell/src/Dialogs.vala"
welcome_dialog_install_import_content (self);
-#line 2195 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2185 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (entry_check);
-#line 17534 "Dialogs.c"
+#line 17215 "Dialogs.c"
}
@@ -17558,66 +17239,66 @@ void welcome_dialog_install_service_entry (WelcomeDialog* self, WelcomeServiceEn
*/
static void welcome_dialog_on_dismiss (WelcomeDialog* self, gint resp) {
gint _tmp0_ = 0;
-#line 2211 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2201 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_if_fail (IS_WELCOME_DIALOG (self));
-#line 2212 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2202 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = resp;
-#line 2212 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2202 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp0_ == ((gint) GTK_RESPONSE_OK)) {
-#line 2213 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2203 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->ok_clicked = TRUE;
-#line 17553 "Dialogs.c"
+#line 17234 "Dialogs.c"
}
-#line 2215 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2205 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_widget_hide (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
-#line 2216 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2206 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_main_quit ();
-#line 17559 "Dialogs.c"
+#line 17240 "Dialogs.c"
}
static void _welcome_dialog_on_dismiss_gtk_dialog_response (GtkDialog* _sender, gint response_id, gpointer self) {
-#line 2222 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2212 "/home/jens/Source/shotwell/src/Dialogs.vala"
welcome_dialog_on_dismiss ((WelcomeDialog*) self, response_id);
-#line 17566 "Dialogs.c"
+#line 17247 "Dialogs.c"
}
static void _vala_array_add111 (WelcomeServiceEntry*** array, int* length, int* size, WelcomeServiceEntry* value) {
-#line 2245 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2235 "/home/jens/Source/shotwell/src/Dialogs.vala"
if ((*length) == (*size)) {
-#line 2245 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2235 "/home/jens/Source/shotwell/src/Dialogs.vala"
*size = (*size) ? (2 * (*size)) : 4;
-#line 2245 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2235 "/home/jens/Source/shotwell/src/Dialogs.vala"
*array = g_renew (WelcomeServiceEntry*, *array, (*size) + 1);
-#line 17577 "Dialogs.c"
+#line 17258 "Dialogs.c"
}
-#line 2245 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2235 "/home/jens/Source/shotwell/src/Dialogs.vala"
(*array)[(*length)++] = value;
-#line 2245 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2235 "/home/jens/Source/shotwell/src/Dialogs.vala"
(*array)[*length] = NULL;
-#line 17583 "Dialogs.c"
+#line 17264 "Dialogs.c"
}
static WelcomeServiceEntry** _vala_array_dup29 (WelcomeServiceEntry** self, int length) {
WelcomeServiceEntry** result;
int i;
-#line 2247 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2237 "/home/jens/Source/shotwell/src/Dialogs.vala"
result = g_new0 (WelcomeServiceEntry*, length + 1);
-#line 2247 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2237 "/home/jens/Source/shotwell/src/Dialogs.vala"
for (i = 0; i < length; i++) {
-#line 17594 "Dialogs.c"
+#line 17275 "Dialogs.c"
WelcomeServiceEntry* _tmp0_ = NULL;
-#line 2247 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2237 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = _g_object_ref0 (self[i]);
-#line 2247 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2237 "/home/jens/Source/shotwell/src/Dialogs.vala"
result[i] = _tmp0_;
-#line 17600 "Dialogs.c"
+#line 17281 "Dialogs.c"
}
-#line 2247 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2237 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 17604 "Dialogs.c"
+#line 17285 "Dialogs.c"
}
@@ -17641,62 +17322,62 @@ gboolean welcome_dialog_execute (WelcomeDialog* self, WelcomeServiceEntry*** sel
gint _tmp20__length1 = 0;
gboolean _tmp21_ = FALSE;
GtkCheckButton* _tmp22_ = NULL;
-#line 2219 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2209 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_val_if_fail (IS_WELCOME_DIALOG (self), FALSE);
-#line 2222 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2212 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), "response", (GCallback) _welcome_dialog_on_dismiss_gtk_dialog_response, self, 0);
-#line 2223 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2213 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
-#line 2224 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2214 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_widget_show (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
-#line 2229 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2219 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_main ();
-#line 2233 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2223 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_signal_parse_name ("response", gtk_dialog_get_type (), &_tmp0_, NULL, FALSE);
-#line 2233 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2223 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_dialog_get_type (), GtkDialog), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp0_, 0, NULL, (GCallback) _welcome_dialog_on_dismiss_gtk_dialog_response, self);
-#line 2235 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2225 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = self->priv->ok_clicked;
-#line 2235 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2225 "/home/jens/Source/shotwell/src/Dialogs.vala"
ok = _tmp1_;
-#line 2236 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2226 "/home/jens/Source/shotwell/src/Dialogs.vala"
show_dialog = TRUE;
-#line 2238 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2228 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp2_ = ok;
-#line 2238 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2228 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp2_) {
-#line 17652 "Dialogs.c"
+#line 17333 "Dialogs.c"
GtkCheckButton* _tmp3_ = NULL;
gboolean _tmp4_ = FALSE;
-#line 2239 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2229 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp3_ = self->priv->hide_button;
-#line 2239 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2229 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp4_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_toggle_button_get_type (), GtkToggleButton));
-#line 2239 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2229 "/home/jens/Source/shotwell/src/Dialogs.vala"
show_dialog = !_tmp4_;
-#line 17661 "Dialogs.c"
+#line 17342 "Dialogs.c"
}
-#line 2242 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2232 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp5_ = g_new0 (WelcomeServiceEntry*, 0 + 1);
-#line 2242 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2232 "/home/jens/Source/shotwell/src/Dialogs.vala"
_result_ = _tmp5_;
-#line 2242 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2232 "/home/jens/Source/shotwell/src/Dialogs.vala"
_result__length1 = 0;
-#line 2242 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2232 "/home/jens/Source/shotwell/src/Dialogs.vala"
__result__size_ = _result__length1;
-#line 17671 "Dialogs.c"
+#line 17352 "Dialogs.c"
{
gint i = 0;
-#line 2243 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2233 "/home/jens/Source/shotwell/src/Dialogs.vala"
i = 0;
-#line 17676 "Dialogs.c"
+#line 17357 "Dialogs.c"
{
gboolean _tmp6_ = FALSE;
-#line 2243 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2233 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp6_ = TRUE;
-#line 2243 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2233 "/home/jens/Source/shotwell/src/Dialogs.vala"
while (TRUE) {
-#line 17683 "Dialogs.c"
+#line 17364 "Dialogs.c"
gint _tmp8_ = 0;
WelcomeServiceEntry** _tmp9_ = NULL;
gint _tmp9__length1 = 0;
@@ -17705,43 +17386,43 @@ gboolean welcome_dialog_execute (WelcomeDialog* self, WelcomeServiceEntry*** sel
gint _tmp11_ = 0;
GtkCheckButton* _tmp12_ = NULL;
gboolean _tmp13_ = FALSE;
-#line 2243 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2233 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (!_tmp6_) {
-#line 17694 "Dialogs.c"
+#line 17375 "Dialogs.c"
gint _tmp7_ = 0;
-#line 2243 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2233 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp7_ = i;
-#line 2243 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2233 "/home/jens/Source/shotwell/src/Dialogs.vala"
i = _tmp7_ + 1;
-#line 17700 "Dialogs.c"
+#line 17381 "Dialogs.c"
}
-#line 2243 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2233 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp6_ = FALSE;
-#line 2243 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2233 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp8_ = i;
-#line 2243 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2233 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp9_ = self->priv->external_import_entries;
-#line 2243 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2233 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp9__length1 = self->priv->external_import_entries_length1;
-#line 2243 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2233 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (!(_tmp8_ < _tmp9__length1)) {
-#line 2243 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2233 "/home/jens/Source/shotwell/src/Dialogs.vala"
break;
-#line 17714 "Dialogs.c"
+#line 17395 "Dialogs.c"
}
-#line 2244 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2234 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp10_ = self->priv->external_import_checks;
-#line 2244 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2234 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp10__length1 = self->priv->external_import_checks_length1;
-#line 2244 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2234 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp11_ = i;
-#line 2244 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2234 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp12_ = _tmp10_[_tmp11_];
-#line 2244 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2234 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp13_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, gtk_toggle_button_get_type (), GtkToggleButton));
-#line 2244 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2234 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp13_ == TRUE) {
-#line 17728 "Dialogs.c"
+#line 17409 "Dialogs.c"
WelcomeServiceEntry** _tmp14_ = NULL;
gint _tmp14__length1 = 0;
WelcomeServiceEntry** _tmp15_ = NULL;
@@ -17749,93 +17430,93 @@ gboolean welcome_dialog_execute (WelcomeDialog* self, WelcomeServiceEntry*** sel
gint _tmp16_ = 0;
WelcomeServiceEntry* _tmp17_ = NULL;
WelcomeServiceEntry* _tmp18_ = NULL;
-#line 2245 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2235 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp14_ = _result_;
-#line 2245 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2235 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp14__length1 = _result__length1;
-#line 2245 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2235 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp15_ = self->priv->external_import_entries;
-#line 2245 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2235 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp15__length1 = self->priv->external_import_entries_length1;
-#line 2245 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2235 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp16_ = i;
-#line 2245 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2235 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp17_ = _tmp15_[_tmp16_];
-#line 2245 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2235 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp18_ = _g_object_ref0 (_tmp17_);
-#line 2245 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2235 "/home/jens/Source/shotwell/src/Dialogs.vala"
_vala_array_add111 (&_result_, &_result__length1, &__result__size_, _tmp18_);
-#line 17752 "Dialogs.c"
+#line 17433 "Dialogs.c"
}
}
}
}
-#line 2247 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2237 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp19_ = _result_;
-#line 2247 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2237 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp19__length1 = _result__length1;
-#line 2247 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2237 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp20_ = (_tmp19_ != NULL) ? _vala_array_dup29 (_tmp19_, _tmp19__length1) : ((gpointer) _tmp19_);
-#line 2247 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2237 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp20__length1 = _tmp19__length1;
-#line 2247 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2237 "/home/jens/Source/shotwell/src/Dialogs.vala"
_vala_selected_import_entries = (_vala_array_free (_vala_selected_import_entries, _vala_selected_import_entries_length1, (GDestroyNotify) g_object_unref), NULL);
-#line 2247 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2237 "/home/jens/Source/shotwell/src/Dialogs.vala"
_vala_selected_import_entries = _tmp20_;
-#line 2247 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2237 "/home/jens/Source/shotwell/src/Dialogs.vala"
_vala_selected_import_entries_length1 = _tmp20__length1;
-#line 2249 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2239 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp22_ = self->priv->system_pictures_import_check;
-#line 2249 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2239 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp22_ != NULL) {
-#line 17775 "Dialogs.c"
+#line 17456 "Dialogs.c"
GtkCheckButton* _tmp23_ = NULL;
gboolean _tmp24_ = FALSE;
-#line 2249 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2239 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp23_ = self->priv->system_pictures_import_check;
-#line 2249 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2239 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp24_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, gtk_toggle_button_get_type (), GtkToggleButton));
-#line 2249 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2239 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp21_ = _tmp24_;
-#line 17784 "Dialogs.c"
+#line 17465 "Dialogs.c"
} else {
-#line 2249 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2239 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp21_ = FALSE;
-#line 17788 "Dialogs.c"
+#line 17469 "Dialogs.c"
}
-#line 2248 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2238 "/home/jens/Source/shotwell/src/Dialogs.vala"
_vala_do_system_pictures_import = _tmp21_;
-#line 2251 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2241 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
-#line 2253 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2243 "/home/jens/Source/shotwell/src/Dialogs.vala"
result = show_dialog;
-#line 2253 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2243 "/home/jens/Source/shotwell/src/Dialogs.vala"
_result_ = (_vala_array_free (_result_, _result__length1, (GDestroyNotify) g_object_unref), NULL);
-#line 2253 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2243 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (selected_import_entries) {
-#line 2253 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2243 "/home/jens/Source/shotwell/src/Dialogs.vala"
*selected_import_entries = _vala_selected_import_entries;
-#line 17802 "Dialogs.c"
+#line 17483 "Dialogs.c"
} else {
-#line 2253 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2243 "/home/jens/Source/shotwell/src/Dialogs.vala"
_vala_selected_import_entries = (_vala_array_free (_vala_selected_import_entries, _vala_selected_import_entries_length1, (GDestroyNotify) g_object_unref), NULL);
-#line 17806 "Dialogs.c"
+#line 17487 "Dialogs.c"
}
-#line 2253 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2243 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (selected_import_entries_length1) {
-#line 2253 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2243 "/home/jens/Source/shotwell/src/Dialogs.vala"
*selected_import_entries_length1 = _vala_selected_import_entries_length1;
-#line 17812 "Dialogs.c"
+#line 17493 "Dialogs.c"
}
-#line 2253 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2243 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (do_system_pictures_import) {
-#line 2253 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2243 "/home/jens/Source/shotwell/src/Dialogs.vala"
*do_system_pictures_import = _vala_do_system_pictures_import;
-#line 17818 "Dialogs.c"
+#line 17499 "Dialogs.c"
}
-#line 2253 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2243 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 17822 "Dialogs.c"
+#line 17503 "Dialogs.c"
}
@@ -17848,37 +17529,37 @@ static gboolean welcome_dialog_is_system_pictures_import_possible (void) {
GFile* _tmp3_ = NULL;
GFileType _tmp4_ = 0;
GError * _inner_error_ = NULL;
-#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2247 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = app_dirs_get_import_dir ();
-#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2247 "/home/jens/Source/shotwell/src/Dialogs.vala"
system_pictures = _tmp0_;
-#line 2258 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2248 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = system_pictures;
-#line 2258 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2248 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp2_ = g_file_query_exists (_tmp1_, NULL);
-#line 2258 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2248 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (!_tmp2_) {
-#line 2259 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2249 "/home/jens/Source/shotwell/src/Dialogs.vala"
result = FALSE;
-#line 2259 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2249 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (system_pictures);
-#line 2259 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2249 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 17851 "Dialogs.c"
+#line 17532 "Dialogs.c"
}
-#line 2261 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2251 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp3_ = system_pictures;
-#line 2261 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2251 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp4_ = g_file_query_file_type (_tmp3_, G_FILE_QUERY_INFO_NONE, NULL);
-#line 2261 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2251 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (!(_tmp4_ == G_FILE_TYPE_DIRECTORY)) {
-#line 2262 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2252 "/home/jens/Source/shotwell/src/Dialogs.vala"
result = FALSE;
-#line 2262 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2252 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (system_pictures);
-#line 2262 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2252 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 17865 "Dialogs.c"
+#line 17546 "Dialogs.c"
}
{
GFileEnumerator* syspics_child_enum = NULL;
@@ -17890,152 +17571,152 @@ static gboolean welcome_dialog_is_system_pictures_import_possible (void) {
GFileInfo* _tmp10_ = NULL;
GFileInfo* _tmp11_ = NULL;
gboolean _tmp12_ = FALSE;
-#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2255 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp5_ = system_pictures;
-#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2255 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp6_ = g_file_enumerate_children (_tmp5_, "standard::*", G_FILE_QUERY_INFO_NONE, NULL, &_inner_error_);
-#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2255 "/home/jens/Source/shotwell/src/Dialogs.vala"
syspics_child_enum = _tmp6_;
-#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2255 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 17885 "Dialogs.c"
+#line 17566 "Dialogs.c"
goto __catch423_g_error;
}
-#line 2267 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp8_ = syspics_child_enum;
-#line 2267 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp9_ = g_file_enumerator_next_file (_tmp8_, NULL, &_inner_error_);
-#line 2267 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp7_ = _tmp9_;
-#line 2267 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 2267 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (syspics_child_enum);
-#line 17898 "Dialogs.c"
+#line 17579 "Dialogs.c"
goto __catch423_g_error;
}
-#line 2267 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp10_ = _tmp7_;
-#line 2267 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp7_ = NULL;
-#line 2267 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp11_ = _tmp10_;
-#line 2267 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp12_ = _tmp11_ != NULL;
-#line 2267 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_tmp11_);
-#line 2267 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala"
result = _tmp12_;
-#line 2267 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_tmp7_);
-#line 2267 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (syspics_child_enum);
-#line 2267 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (system_pictures);
-#line 2267 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2257 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 17921 "Dialogs.c"
+#line 17602 "Dialogs.c"
}
goto __finally423;
__catch423_g_error:
{
GError* e = NULL;
-#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2254 "/home/jens/Source/shotwell/src/Dialogs.vala"
e = _inner_error_;
-#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2254 "/home/jens/Source/shotwell/src/Dialogs.vala"
_inner_error_ = NULL;
-#line 2269 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2259 "/home/jens/Source/shotwell/src/Dialogs.vala"
result = FALSE;
-#line 2269 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2259 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_error_free0 (e);
-#line 2269 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2259 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (system_pictures);
-#line 2269 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2259 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 17939 "Dialogs.c"
+#line 17620 "Dialogs.c"
}
__finally423:
-#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2254 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (system_pictures);
-#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2254 "/home/jens/Source/shotwell/src/Dialogs.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 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2254 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_clear_error (&_inner_error_);
-#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2254 "/home/jens/Source/shotwell/src/Dialogs.vala"
return FALSE;
-#line 17950 "Dialogs.c"
+#line 17631 "Dialogs.c"
}
static void welcome_dialog_class_init (WelcomeDialogClass * klass) {
-#line 2081 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2071 "/home/jens/Source/shotwell/src/Dialogs.vala"
welcome_dialog_parent_class = g_type_class_peek_parent (klass);
-#line 2081 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2071 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_type_class_add_private (klass, sizeof (WelcomeDialogPrivate));
-#line 2081 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2071 "/home/jens/Source/shotwell/src/Dialogs.vala"
G_OBJECT_CLASS (klass)->finalize = welcome_dialog_finalize;
-#line 17961 "Dialogs.c"
+#line 17642 "Dialogs.c"
}
static void welcome_dialog_instance_init (WelcomeDialog * self) {
GtkCheckButton** _tmp0_ = NULL;
WelcomeServiceEntry** _tmp1_ = NULL;
-#line 2081 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2071 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv = WELCOME_DIALOG_GET_PRIVATE (self);
-#line 2083 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2073 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->system_pictures_import_check = NULL;
-#line 2084 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2074 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = g_new0 (GtkCheckButton*, 0 + 1);
-#line 2084 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2074 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->external_import_checks = _tmp0_;
-#line 2084 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2074 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->external_import_checks_length1 = 0;
-#line 2084 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2074 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->_external_import_checks_size_ = self->priv->external_import_checks_length1;
-#line 2085 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2075 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = g_new0 (WelcomeServiceEntry*, 0 + 1);
-#line 2085 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2075 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->external_import_entries = _tmp1_;
-#line 2085 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2075 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->external_import_entries_length1 = 0;
-#line 2085 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2075 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->_external_import_entries_size_ = self->priv->external_import_entries_length1;
-#line 2092 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2082 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->import_content_already_installed = FALSE;
-#line 2093 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2083 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->ok_clicked = FALSE;
-#line 17992 "Dialogs.c"
+#line 17673 "Dialogs.c"
}
static void welcome_dialog_finalize (GObject* obj) {
WelcomeDialog * self;
-#line 2081 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2071 "/home/jens/Source/shotwell/src/Dialogs.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_WELCOME_DIALOG, WelcomeDialog);
-#line 2082 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2072 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->hide_button);
-#line 2083 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2073 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->system_pictures_import_check);
-#line 2084 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2074 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->external_import_checks = (_vala_array_free (self->priv->external_import_checks, self->priv->external_import_checks_length1, (GDestroyNotify) g_object_unref), NULL);
-#line 2085 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2075 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->external_import_entries = (_vala_array_free (self->priv->external_import_entries, self->priv->external_import_entries_length1, (GDestroyNotify) g_object_unref), NULL);
-#line 2086 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2076 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->secondary_text);
-#line 2087 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2077 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->instruction_header);
-#line 2088 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2078 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->import_content);
-#line 2089 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2079 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->import_action_checkbox_packer);
-#line 2090 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2080 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->external_import_action_checkbox_packer);
-#line 2091 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _g_object_unref0 (self->priv->import_meta_host);
#line 2081 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ _g_object_unref0 (self->priv->import_meta_host);
+#line 2071 "/home/jens/Source/shotwell/src/Dialogs.vala"
G_OBJECT_CLASS (welcome_dialog_parent_class)->finalize (obj);
-#line 18022 "Dialogs.c"
+#line 17703 "Dialogs.c"
}
@@ -18054,92 +17735,92 @@ GType welcome_dialog_get_type (void) {
static gboolean _preferences_dialog_on_delete_gtk_widget_delete_event (GtkWidget* _sender, GdkEventAny* event, gpointer self) {
gboolean result;
result = preferences_dialog_on_delete ((PreferencesDialog*) self);
-#line 2318 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2308 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 18043 "Dialogs.c"
+#line 17724 "Dialogs.c"
}
static void _preferences_dialog_on_close_gtk_dialog_response (GtkDialog* _sender, gint response_id, gpointer self) {
-#line 2319 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2309 "/home/jens/Source/shotwell/src/Dialogs.vala"
preferences_dialog_on_close ((PreferencesDialog*) self);
-#line 18050 "Dialogs.c"
+#line 17731 "Dialogs.c"
}
static void _preferences_dialog_on_value_changed_gtk_adjustment_value_changed (GtkAdjustment* _sender, gpointer self) {
-#line 2324 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2314 "/home/jens/Source/shotwell/src/Dialogs.vala"
preferences_dialog_on_value_changed ((PreferencesDialog*) self);
-#line 18057 "Dialogs.c"
+#line 17738 "Dialogs.c"
}
static gboolean _preferences_dialog_on_bg_color_reset_gtk_widget_button_press_event (GtkWidget* _sender, GdkEventButton* event, gpointer self) {
gboolean result;
result = preferences_dialog_on_bg_color_reset ((PreferencesDialog*) self, event);
-#line 2327 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2317 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 18066 "Dialogs.c"
+#line 17747 "Dialogs.c"
}
static gboolean _preferences_dialog_on_local_pattern_help_gtk_label_activate_link (GtkLabel* _sender, const gchar* uri, gpointer self) {
gboolean result;
result = preferences_dialog_on_local_pattern_help ((PreferencesDialog*) self, uri);
-#line 2350 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2340 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 18075 "Dialogs.c"
+#line 17756 "Dialogs.c"
}
static void _preferences_dialog_on_dir_pattern_combo_changed_gtk_combo_box_changed (GtkComboBox* _sender, gpointer self) {
-#line 2364 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2354 "/home/jens/Source/shotwell/src/Dialogs.vala"
preferences_dialog_on_dir_pattern_combo_changed ((PreferencesDialog*) self);
-#line 18082 "Dialogs.c"
+#line 17763 "Dialogs.c"
}
static void _preferences_dialog_on_dir_pattern_entry_changed_gtk_editable_changed (GtkEditable* _sender, gpointer self) {
-#line 2365 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2355 "/home/jens/Source/shotwell/src/Dialogs.vala"
preferences_dialog_on_dir_pattern_entry_changed ((PreferencesDialog*) self);
-#line 18089 "Dialogs.c"
+#line 17770 "Dialogs.c"
}
static void _preferences_dialog_on_lowercase_toggled_gtk_toggle_button_toggled (GtkToggleButton* _sender, gpointer self) {
-#line 2370 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2360 "/home/jens/Source/shotwell/src/Dialogs.vala"
preferences_dialog_on_lowercase_toggled ((PreferencesDialog*) self);
-#line 18096 "Dialogs.c"
+#line 17777 "Dialogs.c"
}
static void _preferences_dialog_on_photo_editor_changed_gtk_combo_box_changed (GtkComboBox* _sender, gpointer self) {
-#line 2377 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2367 "/home/jens/Source/shotwell/src/Dialogs.vala"
preferences_dialog_on_photo_editor_changed ((PreferencesDialog*) self);
-#line 18103 "Dialogs.c"
+#line 17784 "Dialogs.c"
}
static void _preferences_dialog_on_raw_editor_changed_gtk_combo_box_changed (GtkComboBox* _sender, gpointer self) {
-#line 2378 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2368 "/home/jens/Source/shotwell/src/Dialogs.vala"
preferences_dialog_on_raw_editor_changed ((PreferencesDialog*) self);
-#line 18110 "Dialogs.c"
+#line 17791 "Dialogs.c"
}
static void _preferences_dialog_on_default_raw_developer_changed_gtk_combo_box_changed (GtkComboBox* _sender, gpointer self) {
-#line 2390 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2380 "/home/jens/Source/shotwell/src/Dialogs.vala"
preferences_dialog_on_default_raw_developer_changed ((PreferencesDialog*) self);
-#line 18117 "Dialogs.c"
+#line 17798 "Dialogs.c"
}
static gboolean _preferences_dialog_map_event_gtk_widget_map_event (GtkWidget* _sender, GdkEventAny* event, gpointer self) {
gboolean result;
result = preferences_dialog_map_event ((PreferencesDialog*) self);
-#line 2392 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2382 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 18126 "Dialogs.c"
+#line 17807 "Dialogs.c"
}
@@ -18259,196 +17940,196 @@ static PreferencesDialog* preferences_dialog_construct (GType object_type) {
RawDeveloper _tmp120_ = 0;
GtkComboBoxText* _tmp121_ = NULL;
GtkDialog* _tmp122_ = NULL;
-#line 2306 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2296 "/home/jens/Source/shotwell/src/Dialogs.vala"
self = (PreferencesDialog*) g_type_create_instance (object_type);
-#line 2307 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2297 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = app_window_create_builder ("shotwell.ui", NULL);
-#line 2307 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2297 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->builder);
-#line 2307 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2297 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->builder = _tmp0_;
-#line 2309 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2299 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = self->priv->builder;
-#line 2309 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2299 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp2_ = gtk_builder_get_object (_tmp1_, "preferences_dialog");
-#line 2309 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2299 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp3_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp2_, gtk_dialog_get_type ()) ? ((GtkDialog*) _tmp2_) : NULL);
-#line 2309 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2299 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->dialog);
-#line 2309 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2299 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->dialog = _tmp3_;
-#line 2311 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2301 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp4_ = gtk_settings_get_default ();
-#line 2311 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2301 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_object_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, G_TYPE_OBJECT, GObject), "gtk-dialogs-use-header", &use_header, NULL);
-#line 2312 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2302 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp5_ = use_header;
-#line 2312 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2302 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (!_tmp5_) {
-#line 18272 "Dialogs.c"
+#line 17953 "Dialogs.c"
GtkWidget* null_titlebar = NULL;
GtkDialog* _tmp6_ = NULL;
GtkWidget* _tmp7_ = NULL;
-#line 2313 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2303 "/home/jens/Source/shotwell/src/Dialogs.vala"
null_titlebar = NULL;
-#line 2314 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2304 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp6_ = self->priv->dialog;
-#line 2314 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2304 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp7_ = null_titlebar;
-#line 2314 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2304 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_window_set_titlebar (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, gtk_window_get_type (), GtkWindow), _tmp7_);
-#line 2312 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2302 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (null_titlebar);
-#line 18286 "Dialogs.c"
+#line 17967 "Dialogs.c"
}
-#line 2316 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2306 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp8_ = self->priv->dialog;
-#line 2316 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2306 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp9_ = app_window_get_instance ();
-#line 2316 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2306 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp10_ = _tmp9_;
-#line 2316 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2306 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp11_ = gtk_widget_get_parent_window (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, gtk_widget_get_type (), GtkWidget));
-#line 2316 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2306 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_widget_set_parent_window (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, gtk_widget_get_type (), GtkWidget), _tmp11_);
-#line 2316 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2306 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_tmp10_);
-#line 2317 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2307 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp12_ = self->priv->dialog;
-#line 2317 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2307 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp13_ = app_window_get_instance ();
-#line 2317 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2307 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp14_ = _tmp13_;
-#line 2317 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2307 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_window_set_transient_for (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, gtk_window_get_type (), GtkWindow), G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, gtk_window_get_type (), GtkWindow));
-#line 2317 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2307 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_tmp14_);
-#line 2318 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2308 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp15_ = self->priv->dialog;
-#line 2318 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2308 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, gtk_widget_get_type (), GtkWidget), "delete-event", (GCallback) _preferences_dialog_on_delete_gtk_widget_delete_event, self);
-#line 2319 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2309 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp16_ = self->priv->dialog;
-#line 2319 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2309 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_signal_connect (_tmp16_, "response", (GCallback) _preferences_dialog_on_close_gtk_dialog_response, self);
-#line 2321 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2311 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp17_ = self->priv->builder;
-#line 2321 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2311 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp18_ = gtk_builder_get_object (_tmp17_, "bg_color_adjustment");
-#line 2321 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2311 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp19_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp18_, gtk_adjustment_get_type ()) ? ((GtkAdjustment*) _tmp18_) : NULL);
-#line 2321 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2311 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->bg_color_adjustment);
-#line 2321 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2311 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->bg_color_adjustment = _tmp19_;
-#line 2322 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2312 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp20_ = self->priv->bg_color_adjustment;
-#line 2322 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2312 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp21_ = self->priv->bg_color_adjustment;
-#line 2322 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2312 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp22_ = gtk_adjustment_get_upper (_tmp21_);
-#line 2322 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2312 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp23_ = config_facade_get_instance ();
-#line 2322 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2312 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp24_ = _tmp23_;
-#line 2322 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2312 "/home/jens/Source/shotwell/src/Dialogs.vala"
config_facade_get_bg_color (_tmp24_, &_tmp25_);
-#line 2322 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2312 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp26_ = _tmp25_.red;
-#line 2322 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2312 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_adjustment_set_value (_tmp20_, _tmp22_ - (_tmp26_ * 65535.0));
-#line 2322 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2312 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_tmp24_);
-#line 2324 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2314 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp27_ = self->priv->bg_color_adjustment;
-#line 2324 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2314 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_signal_connect (_tmp27_, "value-changed", (GCallback) _preferences_dialog_on_value_changed_gtk_adjustment_value_changed, self);
-#line 2326 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2316 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp28_ = self->priv->builder;
-#line 2326 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2316 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp29_ = gtk_builder_get_object (_tmp28_, "bg_color_slider");
-#line 2326 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2316 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp30_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp29_, gtk_scale_get_type ()) ? ((GtkScale*) _tmp29_) : NULL);
-#line 2326 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2316 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->bg_color_slider);
-#line 2326 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2316 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->bg_color_slider = _tmp30_;
-#line 2327 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2317 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp31_ = self->priv->bg_color_slider;
-#line 2327 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2317 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp31_, gtk_widget_get_type (), GtkWidget), "button-press-event", (GCallback) _preferences_dialog_on_bg_color_reset_gtk_widget_button_press_event, self);
-#line 2329 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2319 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp32_ = self->priv->builder;
-#line 2329 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2319 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp33_ = gtk_builder_get_object (_tmp32_, "library_dir_button");
-#line 2329 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2319 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp34_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp33_, gtk_file_chooser_button_get_type ()) ? ((GtkFileChooserButton*) _tmp33_) : NULL);
-#line 2329 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2319 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->library_dir_button);
-#line 2329 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2319 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->library_dir_button = _tmp34_;
-#line 2331 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2321 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp35_ = self->priv->builder;
-#line 2331 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2321 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp36_ = gtk_builder_get_object (_tmp35_, "external_photo_editor_combo");
-#line 2331 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2321 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp37_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp36_, gtk_combo_box_get_type ()) ? ((GtkComboBox*) _tmp36_) : NULL);
-#line 2331 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2321 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->photo_editor_combo);
-#line 2331 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2321 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->photo_editor_combo = _tmp37_;
-#line 2332 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2322 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp38_ = self->priv->builder;
-#line 2332 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2322 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp39_ = gtk_builder_get_object (_tmp38_, "external_raw_editor_combo");
-#line 2332 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2322 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp40_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp39_, gtk_combo_box_get_type ()) ? ((GtkComboBox*) _tmp39_) : NULL);
-#line 2332 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2322 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->raw_editor_combo);
-#line 2332 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2322 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->raw_editor_combo = _tmp40_;
-#line 2334 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2324 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp41_ = self->priv->builder;
-#line 2334 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2324 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp42_ = gtk_builder_get_object (_tmp41_, "pattern_help");
-#line 2334 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2324 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp43_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp42_, gtk_label_get_type ()) ? ((GtkLabel*) _tmp42_) : NULL);
-#line 2334 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2324 "/home/jens/Source/shotwell/src/Dialogs.vala"
pattern_help = _tmp43_;
-#line 2341 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2331 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp44_ = resources_get_help_path ();
-#line 2341 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2331 "/home/jens/Source/shotwell/src/Dialogs.vala"
help_path = _tmp44_;
-#line 2343 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2333 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp45_ = help_path;
-#line 2343 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2333 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp45_ == NULL) {
-#line 18410 "Dialogs.c"
+#line 18091 "Dialogs.c"
GtkLabel* _tmp46_ = NULL;
const gchar* _tmp47_ = NULL;
gchar* _tmp48_ = NULL;
gchar* _tmp49_ = NULL;
gchar* _tmp50_ = NULL;
gchar* _tmp51_ = NULL;
-#line 2345 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2335 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp46_ = pattern_help;
-#line 2345 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2335 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp47_ = _ ("(Help)");
-#line 2345 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2335 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp48_ = g_strconcat ("<a href=\"" RESOURCES_DIR_PATTERN_URI_SYSWIDE "\">", _tmp47_, NULL);
-#line 2345 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2335 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp49_ = _tmp48_;
-#line 2345 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2335 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp50_ = g_strconcat (_tmp49_, "</a>", NULL);
-#line 2345 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2335 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp51_ = _tmp50_;
-#line 2345 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2335 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_label_set_markup (_tmp46_, _tmp51_);
-#line 2345 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2335 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (_tmp51_);
-#line 2345 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2335 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (_tmp49_);
-#line 18435 "Dialogs.c"
+#line 18116 "Dialogs.c"
} else {
GtkLabel* _tmp52_ = NULL;
const gchar* _tmp53_ = NULL;
@@ -18457,260 +18138,260 @@ static PreferencesDialog* preferences_dialog_construct (GType object_type) {
gchar* _tmp56_ = NULL;
gchar* _tmp57_ = NULL;
GtkLabel* _tmp58_ = NULL;
-#line 2349 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2339 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp52_ = pattern_help;
-#line 2349 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2339 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp53_ = _ ("(Help)");
-#line 2349 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2339 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp54_ = g_strconcat ("<a href=\"dummy:\">", _tmp53_, NULL);
-#line 2349 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2339 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp55_ = _tmp54_;
-#line 2349 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2339 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp56_ = g_strconcat (_tmp55_, "</a>", NULL);
-#line 2349 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2339 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp57_ = _tmp56_;
-#line 2349 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2339 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_label_set_markup (_tmp52_, _tmp57_);
-#line 2349 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2339 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (_tmp57_);
-#line 2349 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2339 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (_tmp55_);
-#line 2350 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2340 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp58_ = pattern_help;
-#line 2350 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2340 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_signal_connect (_tmp58_, "activate-link", (GCallback) _preferences_dialog_on_local_pattern_help_gtk_label_activate_link, self);
-#line 18466 "Dialogs.c"
+#line 18147 "Dialogs.c"
}
-#line 2353 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2343 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp59_ = self->priv->builder;
-#line 2353 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2343 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp60_ = gtk_builder_get_object (_tmp59_, "dir choser");
-#line 2353 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2343 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp61_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp60_, gtk_combo_box_text_get_type ()) ? ((GtkComboBoxText*) _tmp60_) : NULL);
-#line 2353 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2343 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->dir_pattern_combo);
-#line 2353 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2343 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->dir_pattern_combo = _tmp61_;
-#line 2354 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2344 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp62_ = self->priv->builder;
-#line 2354 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2344 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp63_ = gtk_builder_get_object (_tmp62_, "dir_pattern_entry");
-#line 2354 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2344 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp64_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp63_, gtk_entry_get_type ()) ? ((GtkEntry*) _tmp63_) : NULL);
-#line 2354 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2344 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->dir_pattern_entry);
-#line 2354 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2344 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->dir_pattern_entry = _tmp64_;
-#line 2355 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2345 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp65_ = self->priv->builder;
-#line 2355 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2345 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp66_ = gtk_builder_get_object (_tmp65_, "dynamic example");
-#line 2355 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2345 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp67_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp66_, gtk_label_get_type ()) ? ((GtkLabel*) _tmp66_) : NULL);
-#line 2355 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2345 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->dir_pattern_example);
-#line 2355 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2345 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->dir_pattern_example = _tmp67_;
-#line 2356 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2346 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp68_ = _ ("Year%sMonth%sDay");
-#line 2356 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2346 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp69_ = g_strdup_printf (_tmp68_, G_DIR_SEPARATOR_S, G_DIR_SEPARATOR_S);
-#line 2356 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2346 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp70_ = _tmp69_;
-#line 2356 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2346 "/home/jens/Source/shotwell/src/Dialogs.vala"
preferences_dialog_add_to_dir_formats (self, _tmp70_, "%Y" G_DIR_SEPARATOR_S "%m" G_DIR_SEPARATOR_S "%d");
-#line 2356 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2346 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (_tmp70_);
-#line 2358 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2348 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp71_ = _ ("Year%sMonth");
-#line 2358 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2348 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp72_ = g_strdup_printf (_tmp71_, G_DIR_SEPARATOR_S);
-#line 2358 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2348 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp73_ = _tmp72_;
-#line 2358 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2348 "/home/jens/Source/shotwell/src/Dialogs.vala"
preferences_dialog_add_to_dir_formats (self, _tmp73_, "%Y" G_DIR_SEPARATOR_S "%m");
-#line 2358 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2348 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (_tmp73_);
-#line 2360 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2350 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp74_ = _ ("Year%sMonth-Day");
-#line 2360 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2350 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp75_ = g_strdup_printf (_tmp74_, G_DIR_SEPARATOR_S);
-#line 2360 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2350 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp76_ = _tmp75_;
-#line 2360 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2350 "/home/jens/Source/shotwell/src/Dialogs.vala"
preferences_dialog_add_to_dir_formats (self, _tmp76_, "%Y" G_DIR_SEPARATOR_S "%m-%d");
-#line 2360 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2350 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (_tmp76_);
-#line 2362 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2352 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp77_ = _ ("Year-Month-Day");
-#line 2362 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2352 "/home/jens/Source/shotwell/src/Dialogs.vala"
preferences_dialog_add_to_dir_formats (self, _tmp77_, "%Y-%m-%d");
-#line 2363 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2353 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp78_ = _ ("Custom");
-#line 2363 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2353 "/home/jens/Source/shotwell/src/Dialogs.vala"
preferences_dialog_add_to_dir_formats (self, _tmp78_, NULL);
-#line 2364 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2354 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp79_ = self->priv->dir_pattern_combo;
-#line 2364 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2354 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp79_, gtk_combo_box_get_type (), GtkComboBox), "changed", (GCallback) _preferences_dialog_on_dir_pattern_combo_changed_gtk_combo_box_changed, self);
-#line 2365 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2355 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp80_ = self->priv->dir_pattern_entry;
-#line 2365 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2355 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp80_, GTK_TYPE_EDITABLE, GtkEditable), "changed", (GCallback) _preferences_dialog_on_dir_pattern_entry_changed_gtk_editable_changed, self);
-#line 2367 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2357 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp81_ = self->priv->builder;
-#line 2367 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2357 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp82_ = gtk_builder_get_object (_tmp81_, "dir_structure_label");
-#line 2367 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2357 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp83_ = self->priv->dir_pattern_combo;
-#line 2367 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2357 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_label_set_mnemonic_widget (G_TYPE_CHECK_INSTANCE_TYPE (_tmp82_, gtk_label_get_type ()) ? ((GtkLabel*) _tmp82_) : NULL, G_TYPE_CHECK_INSTANCE_CAST (_tmp83_, gtk_widget_get_type (), GtkWidget));
-#line 2369 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2359 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp84_ = self->priv->builder;
-#line 2369 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2359 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp85_ = gtk_builder_get_object (_tmp84_, "lowercase");
-#line 2369 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2359 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp86_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp85_, gtk_check_button_get_type ()) ? ((GtkCheckButton*) _tmp85_) : NULL);
-#line 2369 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2359 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->lowercase);
-#line 2369 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2359 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->lowercase = _tmp86_;
-#line 2370 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2360 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp87_ = self->priv->lowercase;
-#line 2370 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2360 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp87_, gtk_toggle_button_get_type (), GtkToggleButton), "toggled", (GCallback) _preferences_dialog_on_lowercase_toggled_gtk_toggle_button_toggled, self);
-#line 2372 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2362 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp88_ = self->priv->builder;
-#line 2372 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2362 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp89_ = gtk_builder_get_object (_tmp88_, "preferences-notebook");
-#line 2372 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2362 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp90_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp89_, gtk_notebook_get_type ()) ? ((GtkNotebook*) _tmp89_) : NULL);
-#line 2372 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2362 "/home/jens/Source/shotwell/src/Dialogs.vala"
notebook = _tmp90_;
-#line 2373 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2363 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp91_ = gtk_notebook_get_nth_page (notebook, 2);
-#line 2373 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2363 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp92_ = self->priv->plugins_mediator;
-#line 2373 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2363 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp93_ = plugins_manifest_widget_mediator_get_widget (_tmp92_);
-#line 2373 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2363 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp94_ = _tmp93_;
-#line 2373 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2363 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_container_add (G_TYPE_CHECK_INSTANCE_TYPE (_tmp91_, gtk_container_get_type ()) ? ((GtkContainer*) _tmp91_) : NULL, _tmp94_);
-#line 2375 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2365 "/home/jens/Source/shotwell/src/Dialogs.vala"
preferences_dialog_populate_preference_options (self);
-#line 2377 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2367 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp95_ = self->priv->photo_editor_combo;
-#line 2377 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2367 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_signal_connect (_tmp95_, "changed", (GCallback) _preferences_dialog_on_photo_editor_changed_gtk_combo_box_changed, self);
-#line 2378 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2368 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp96_ = self->priv->raw_editor_combo;
-#line 2378 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2368 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_signal_connect (_tmp96_, "changed", (GCallback) _preferences_dialog_on_raw_editor_changed_gtk_combo_box_changed, self);
-#line 2380 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2370 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp97_ = self->priv->builder;
-#line 2380 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2370 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp98_ = gtk_builder_get_object (_tmp97_, "autoimport");
-#line 2380 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2370 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp99_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp98_, gtk_check_button_get_type ()) ? ((GtkCheckButton*) _tmp98_) : NULL);
-#line 2380 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2370 "/home/jens/Source/shotwell/src/Dialogs.vala"
auto_import_button = _tmp99_;
-#line 2381 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2371 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp100_ = config_facade_get_instance ();
-#line 2381 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2371 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp101_ = _tmp100_;
-#line 2381 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2371 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp102_ = configuration_facade_get_auto_import_from_library (G_TYPE_CHECK_INSTANCE_CAST (_tmp101_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
-#line 2381 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2371 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (auto_import_button, gtk_toggle_button_get_type (), GtkToggleButton), _tmp102_);
-#line 2381 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2371 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_tmp101_);
-#line 2383 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2373 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp103_ = self->priv->builder;
-#line 2383 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2373 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp104_ = gtk_builder_get_object (_tmp103_, "write_metadata");
-#line 2383 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2373 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp105_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp104_, gtk_check_button_get_type ()) ? ((GtkCheckButton*) _tmp104_) : NULL);
-#line 2383 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2373 "/home/jens/Source/shotwell/src/Dialogs.vala"
commit_metadata_button = _tmp105_;
-#line 2384 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2374 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp106_ = config_facade_get_instance ();
-#line 2384 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2374 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp107_ = _tmp106_;
-#line 2384 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2374 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp108_ = configuration_facade_get_commit_metadata_to_masters (G_TYPE_CHECK_INSTANCE_CAST (_tmp107_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
-#line 2384 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2374 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (commit_metadata_button, gtk_toggle_button_get_type (), GtkToggleButton), _tmp108_);
-#line 2384 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2374 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_tmp107_);
-#line 2386 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2376 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp109_ = self->priv->builder;
-#line 2386 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2376 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp110_ = gtk_builder_get_object (_tmp109_, "default_raw_developer");
-#line 2386 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2376 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp111_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp110_, gtk_combo_box_text_get_type ()) ? ((GtkComboBoxText*) _tmp110_) : NULL);
-#line 2386 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2376 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->default_raw_developer_combo);
-#line 2386 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2376 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->default_raw_developer_combo = _tmp111_;
-#line 2387 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2377 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp112_ = self->priv->default_raw_developer_combo;
-#line 2387 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2377 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp113_ = raw_developer_get_label (RAW_DEVELOPER_CAMERA);
-#line 2387 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2377 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp114_ = _tmp113_;
-#line 2387 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2377 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_combo_box_text_append_text (_tmp112_, _tmp114_);
-#line 2387 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2377 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (_tmp114_);
-#line 2388 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2378 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp115_ = self->priv->default_raw_developer_combo;
-#line 2388 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2378 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp116_ = raw_developer_get_label (RAW_DEVELOPER_SHOTWELL);
-#line 2388 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2378 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp117_ = _tmp116_;
-#line 2388 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2378 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_combo_box_text_append_text (_tmp115_, _tmp117_);
-#line 2388 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2378 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (_tmp117_);
-#line 2389 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2379 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp118_ = config_facade_get_instance ();
-#line 2389 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2379 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp119_ = _tmp118_;
-#line 2389 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2379 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp120_ = configuration_facade_get_default_raw_developer (G_TYPE_CHECK_INSTANCE_CAST (_tmp119_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
-#line 2389 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2379 "/home/jens/Source/shotwell/src/Dialogs.vala"
preferences_dialog_set_raw_developer_combo (self, _tmp120_);
-#line 2389 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2379 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_tmp119_);
-#line 2390 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2380 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp121_ = self->priv->default_raw_developer_combo;
-#line 2390 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2380 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp121_, gtk_combo_box_get_type (), GtkComboBox), "changed", (GCallback) _preferences_dialog_on_default_raw_developer_changed_gtk_combo_box_changed, self);
-#line 2392 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2382 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp122_ = self->priv->dialog;
-#line 2392 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2382 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp122_, gtk_widget_get_type (), GtkWidget), "map-event", (GCallback) _preferences_dialog_map_event_gtk_widget_map_event, self);
-#line 2306 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2296 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (commit_metadata_button);
-#line 2306 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2296 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (auto_import_button);
-#line 2306 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2296 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (notebook);
-#line 2306 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2296 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (help_path);
-#line 2306 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2296 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (pattern_help);
-#line 2306 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2296 "/home/jens/Source/shotwell/src/Dialogs.vala"
return self;
-#line 18690 "Dialogs.c"
+#line 18371 "Dialogs.c"
}
static PreferencesDialog* preferences_dialog_new (void) {
-#line 2306 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2296 "/home/jens/Source/shotwell/src/Dialogs.vala"
return preferences_dialog_construct (TYPE_PREFERENCES_DIALOG);
-#line 18697 "Dialogs.c"
+#line 18378 "Dialogs.c"
}
@@ -18741,111 +18422,111 @@ void preferences_dialog_populate_preference_options (PreferencesDialog* self) {
ConfigFacade* _tmp21_ = NULL;
ConfigFacade* _tmp22_ = NULL;
gboolean _tmp23_ = FALSE;
-#line 2395 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2385 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_if_fail (IS_PREFERENCES_DIALOG (self));
-#line 2396 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2386 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = self->priv->photo_editor_combo;
-#line 2396 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2386 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp2_ = photo_file_format_get_editable_mime_types (&_tmp1_);
-#line 2396 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2386 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp3_ = _tmp2_;
-#line 2396 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2386 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp3__length1 = _tmp1_;
-#line 2396 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2386 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp4_ = config_facade_get_instance ();
-#line 2396 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2386 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp5_ = _tmp4_;
-#line 2396 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2386 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp6_ = configuration_facade_get_external_photo_app (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
-#line 2396 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2386 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp7_ = _tmp6_;
-#line 2396 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2386 "/home/jens/Source/shotwell/src/Dialogs.vala"
preferences_dialog_populate_app_combo_box (self, _tmp0_, _tmp3_, _tmp1_, _tmp7_, &_tmp8_);
-#line 2396 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2386 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->external_photo_apps);
-#line 2396 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2386 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->external_photo_apps = _tmp8_;
-#line 2396 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2386 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (_tmp7_);
-#line 2396 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2386 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_tmp5_);
-#line 2396 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2386 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp3_ = (_vala_array_free (_tmp3_, _tmp3__length1, (GDestroyNotify) g_free), NULL);
-#line 2399 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2389 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp9_ = self->priv->raw_editor_combo;
-#line 2399 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2389 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp11_ = photo_file_format_get_mime_types (PHOTO_FILE_FORMAT_RAW, &_tmp10_);
-#line 2399 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2389 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp12_ = _tmp11_;
-#line 2399 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2389 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp12__length1 = _tmp10_;
-#line 2399 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2389 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp13_ = config_facade_get_instance ();
-#line 2399 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2389 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp14_ = _tmp13_;
-#line 2399 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2389 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp15_ = configuration_facade_get_external_raw_app (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
-#line 2399 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2389 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp16_ = _tmp15_;
-#line 2399 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2389 "/home/jens/Source/shotwell/src/Dialogs.vala"
preferences_dialog_populate_app_combo_box (self, _tmp9_, _tmp12_, _tmp10_, _tmp16_, &_tmp17_);
-#line 2399 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2389 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->external_raw_apps);
-#line 2399 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2389 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->external_raw_apps = _tmp17_;
-#line 2399 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2389 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (_tmp16_);
-#line 2399 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2389 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_tmp14_);
-#line 2399 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2389 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp12_ = (_vala_array_free (_tmp12_, _tmp12__length1, (GDestroyNotify) g_free), NULL);
-#line 2402 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2392 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp18_ = self->priv->dir_pattern_combo;
-#line 2402 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2392 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp19_ = self->priv->dir_pattern_entry;
-#line 2402 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2392 "/home/jens/Source/shotwell/src/Dialogs.vala"
preferences_dialog_setup_dir_pattern (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, gtk_combo_box_get_type (), GtkComboBox), _tmp19_);
-#line 2404 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2394 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp20_ = self->priv->lowercase;
-#line 2404 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2394 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp21_ = config_facade_get_instance ();
-#line 2404 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2394 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp22_ = _tmp21_;
-#line 2404 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2394 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp23_ = configuration_facade_get_use_lowercase_filenames (G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
-#line 2404 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2394 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_toggle_button_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, gtk_toggle_button_get_type (), GtkToggleButton), _tmp23_);
-#line 2404 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2394 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_tmp22_);
-#line 18804 "Dialogs.c"
+#line 18485 "Dialogs.c"
}
static gboolean preferences_dialog_on_local_pattern_help (PreferencesDialog* self, const gchar* ignore) {
gboolean result = FALSE;
GError * _inner_error_ = NULL;
-#line 2409 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2399 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_val_if_fail (IS_PREFERENCES_DIALOG (self), FALSE);
-#line 2409 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2399 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_val_if_fail (ignore != NULL, FALSE);
-#line 18815 "Dialogs.c"
+#line 18496 "Dialogs.c"
{
AppWindow* _tmp0_ = NULL;
AppWindow* _tmp1_ = NULL;
GdkScreen* _tmp2_ = NULL;
-#line 2411 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2401 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = app_window_get_instance ();
-#line 2411 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2401 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = _tmp0_;
-#line 2411 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2401 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp2_ = gtk_window_get_screen (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_window_get_type (), GtkWindow));
-#line 2411 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2401 "/home/jens/Source/shotwell/src/Dialogs.vala"
resources_launch_help (_tmp2_, "other-files.page", &_inner_error_);
-#line 2411 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2401 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_tmp1_);
-#line 2411 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2401 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 18832 "Dialogs.c"
+#line 18513 "Dialogs.c"
goto __catch424_g_error;
}
}
@@ -18855,36 +18536,36 @@ static gboolean preferences_dialog_on_local_pattern_help (PreferencesDialog* sel
GError* e = NULL;
GError* _tmp3_ = NULL;
const gchar* _tmp4_ = NULL;
-#line 2410 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2400 "/home/jens/Source/shotwell/src/Dialogs.vala"
e = _inner_error_;
-#line 2410 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2400 "/home/jens/Source/shotwell/src/Dialogs.vala"
_inner_error_ = NULL;
-#line 2413 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2403 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp3_ = e;
-#line 2413 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2403 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp4_ = _tmp3_->message;
-#line 2413 "/home/jens/Source/shotwell/src/Dialogs.vala"
- g_message ("Dialogs.vala:2413: Unable to launch help: %s", _tmp4_);
-#line 2410 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2403 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ g_message ("Dialogs.vala:2403: Unable to launch help: %s", _tmp4_);
+#line 2400 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_error_free0 (e);
-#line 18854 "Dialogs.c"
+#line 18535 "Dialogs.c"
}
__finally424:
-#line 2410 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2400 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 2410 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2400 "/home/jens/Source/shotwell/src/Dialogs.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 2410 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2400 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_clear_error (&_inner_error_);
-#line 2410 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2400 "/home/jens/Source/shotwell/src/Dialogs.vala"
return FALSE;
-#line 18865 "Dialogs.c"
+#line 18546 "Dialogs.c"
}
-#line 2415 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2405 "/home/jens/Source/shotwell/src/Dialogs.vala"
result = TRUE;
-#line 2415 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2405 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 18871 "Dialogs.c"
+#line 18552 "Dialogs.c"
}
@@ -18919,110 +18600,110 @@ static void preferences_dialog_populate_app_combo_box (PreferencesDialog* self,
GtkListStore* _tmp68_ = NULL;
gint _tmp69_ = 0;
GError * _inner_error_ = NULL;
-#line 2418 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2408 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_if_fail (IS_PREFERENCES_DIALOG (self));
-#line 2418 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2408 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_if_fail (GTK_IS_COMBO_BOX (combo_box));
-#line 2418 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2408 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_if_fail (current_app_executable != NULL);
-#line 2421 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2411 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = mime_types;
-#line 2421 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2411 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0__length1 = mime_types_length1;
-#line 2421 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2411 "/home/jens/Source/shotwell/src/Dialogs.vala"
_vala_assert (_tmp0__length1 != 0, "mime_types.length != 0");
-#line 2422 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2412 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = mime_types;
-#line 2422 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2412 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1__length1 = mime_types_length1;
-#line 2422 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2412 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp2_ = desktop_integration_get_apps_for_mime_types (_tmp1_, _tmp1__length1);
-#line 2422 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2412 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_vala_external_apps);
-#line 2422 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2412 "/home/jens/Source/shotwell/src/Dialogs.vala"
_vala_external_apps = _tmp2_;
-#line 2424 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2414 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp3_ = _vala_external_apps;
-#line 2424 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2414 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp4_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 2424 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2414 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp5_ = _tmp4_;
-#line 2424 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2414 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp5_ == 0) {
-#line 2425 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2415 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (external_apps) {
-#line 2425 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2415 "/home/jens/Source/shotwell/src/Dialogs.vala"
*external_apps = _vala_external_apps;
-#line 18940 "Dialogs.c"
+#line 18621 "Dialogs.c"
} else {
-#line 2425 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2415 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_vala_external_apps);
-#line 18944 "Dialogs.c"
+#line 18625 "Dialogs.c"
}
-#line 2425 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2415 "/home/jens/Source/shotwell/src/Dialogs.vala"
return;
-#line 18948 "Dialogs.c"
+#line 18629 "Dialogs.c"
}
-#line 2428 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2418 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp6_ = (GtkCellRendererPixbuf*) gtk_cell_renderer_pixbuf_new ();
-#line 2428 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2418 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_object_ref_sink (_tmp6_);
-#line 2428 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2418 "/home/jens/Source/shotwell/src/Dialogs.vala"
pixbuf_renderer = _tmp6_;
-#line 2429 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2419 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp7_ = (GtkCellRendererText*) gtk_cell_renderer_text_new ();
-#line 2429 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2419 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_object_ref_sink (_tmp7_);
-#line 2429 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2419 "/home/jens/Source/shotwell/src/Dialogs.vala"
text_renderer = _tmp7_;
-#line 2430 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2420 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp8_ = combo_box;
-#line 2430 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2420 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_cell_layout_clear (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, GTK_TYPE_CELL_LAYOUT, GtkCellLayout));
-#line 2431 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2421 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp9_ = combo_box;
-#line 2431 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2421 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp10_ = pixbuf_renderer;
-#line 2431 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2421 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_cell_layout_pack_start (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, GTK_TYPE_CELL_LAYOUT, GtkCellLayout), G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, gtk_cell_renderer_get_type (), GtkCellRenderer), FALSE);
-#line 2432 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2422 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp11_ = combo_box;
-#line 2432 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2422 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp12_ = text_renderer;
-#line 2432 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2422 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_cell_layout_pack_start (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, GTK_TYPE_CELL_LAYOUT, GtkCellLayout), G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, gtk_cell_renderer_get_type (), GtkCellRenderer), FALSE);
-#line 2433 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2423 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp13_ = combo_box;
-#line 2433 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2423 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp14_ = pixbuf_renderer;
-#line 2433 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2423 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_cell_layout_add_attribute (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, GTK_TYPE_CELL_LAYOUT, GtkCellLayout), G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, gtk_cell_renderer_get_type (), GtkCellRenderer), "pixbuf", 0);
-#line 2434 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2424 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp15_ = combo_box;
-#line 2434 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2424 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp16_ = text_renderer;
-#line 2434 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2424 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_cell_layout_add_attribute (G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, GTK_TYPE_CELL_LAYOUT, GtkCellLayout), G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, gtk_cell_renderer_get_type (), GtkCellRenderer), "text", 1);
-#line 2437 "/home/jens/Source/shotwell/src/Dialogs.vala"
- _tmp17_ = gtk_list_store_new (2, gdk_pixbuf_get_type (), G_TYPE_STRING, -1);
-#line 2437 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2427 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ _tmp17_ = gtk_list_store_new (2, GDK_TYPE_PIXBUF, G_TYPE_STRING, -1);
+#line 2427 "/home/jens/Source/shotwell/src/Dialogs.vala"
combo_store = _tmp17_;
-#line 2440 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2430 "/home/jens/Source/shotwell/src/Dialogs.vala"
current_app = -1;
-#line 18996 "Dialogs.c"
+#line 18677 "Dialogs.c"
{
GeeIterator* _app_it = NULL;
SortedList* _tmp18_ = NULL;
GeeIterator* _tmp19_ = NULL;
-#line 2442 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2432 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp18_ = _vala_external_apps;
-#line 2442 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2432 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp19_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, GEE_TYPE_ITERABLE, GeeIterable));
-#line 2442 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2432 "/home/jens/Source/shotwell/src/Dialogs.vala"
_app_it = _tmp19_;
-#line 2442 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2432 "/home/jens/Source/shotwell/src/Dialogs.vala"
while (TRUE) {
-#line 19009 "Dialogs.c"
+#line 18690 "Dialogs.c"
GeeIterator* _tmp20_ = NULL;
gboolean _tmp21_ = FALSE;
GAppInfo* app = NULL;
@@ -19042,44 +18723,44 @@ static void preferences_dialog_populate_app_combo_box (PreferencesDialog* self,
GAppInfo* _tmp61_ = NULL;
const gchar* _tmp62_ = NULL;
const gchar* _tmp63_ = NULL;
-#line 2442 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2432 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp20_ = _app_it;
-#line 2442 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2432 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp21_ = gee_iterator_next (_tmp20_);
-#line 2442 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2432 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (!_tmp21_) {
-#line 2442 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2432 "/home/jens/Source/shotwell/src/Dialogs.vala"
break;
-#line 19037 "Dialogs.c"
+#line 18718 "Dialogs.c"
}
-#line 2442 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2432 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp22_ = _app_it;
-#line 2442 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2432 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp23_ = gee_iterator_get (_tmp22_);
-#line 2442 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2432 "/home/jens/Source/shotwell/src/Dialogs.vala"
app = (GAppInfo*) _tmp23_;
-#line 2443 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2433 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp24_ = combo_store;
-#line 2443 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2433 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_list_store_append (_tmp24_, &_tmp25_);
-#line 2443 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2433 "/home/jens/Source/shotwell/src/Dialogs.vala"
iter = _tmp25_;
-#line 2445 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2435 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp26_ = app;
-#line 2445 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2435 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp27_ = g_app_info_get_icon (_tmp26_);
-#line 2445 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2435 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp28_ = _g_object_ref0 (_tmp27_);
-#line 2445 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2435 "/home/jens/Source/shotwell/src/Dialogs.vala"
app_icon = _tmp28_;
-#line 19059 "Dialogs.c"
+#line 18740 "Dialogs.c"
{
GIcon* _tmp29_ = NULL;
-#line 2447 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2437 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp29_ = app_icon;
-#line 2447 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2437 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp29_, g_file_icon_get_type ())) {
-#line 19066 "Dialogs.c"
+#line 18747 "Dialogs.c"
GdkPixbuf* _tmp30_ = NULL;
GIcon* _tmp31_ = NULL;
GFile* _tmp32_ = NULL;
@@ -19091,51 +18772,51 @@ static void preferences_dialog_populate_app_combo_box (PreferencesDialog* self,
GtkTreeIter _tmp38_ = {0};
GdkPixbuf* _tmp39_ = NULL;
GValue _tmp40_ = {0};
-#line 2448 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2438 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp31_ = app_icon;
-#line 2448 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2438 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp32_ = g_file_icon_get_file (G_TYPE_CHECK_INSTANCE_CAST (_tmp31_, g_file_icon_get_type (), GFileIcon));
-#line 2448 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2438 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp33_ = g_file_get_path (_tmp32_);
-#line 2448 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2438 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp34_ = _tmp33_;
-#line 2448 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2438 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp35_ = gdk_pixbuf_new_from_file (_tmp34_, &_inner_error_);
-#line 2448 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2438 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp36_ = _tmp35_;
-#line 2448 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2438 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (_tmp34_);
-#line 2448 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2438 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp30_ = _tmp36_;
-#line 2448 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2438 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 19096 "Dialogs.c"
+#line 18777 "Dialogs.c"
goto __catch425_g_error;
}
-#line 2448 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2438 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp37_ = combo_store;
-#line 2448 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2438 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp38_ = iter;
-#line 2448 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2438 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp39_ = scale_pixbuf (_tmp30_, RESOURCES_DEFAULT_ICON_SCALE, GDK_INTERP_BILINEAR, FALSE);
-#line 2448 "/home/jens/Source/shotwell/src/Dialogs.vala"
- g_value_init (&_tmp40_, gdk_pixbuf_get_type ());
-#line 2448 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2438 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ g_value_init (&_tmp40_, GDK_TYPE_PIXBUF);
+#line 2438 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_value_take_object (&_tmp40_, _tmp39_);
-#line 2448 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2438 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_list_store_set_value (_tmp37_, &_tmp38_, 0, &_tmp40_);
-#line 2448 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2438 "/home/jens/Source/shotwell/src/Dialogs.vala"
G_IS_VALUE (&_tmp40_) ? (g_value_unset (&_tmp40_), NULL) : NULL;
-#line 2447 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2437 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_tmp30_);
-#line 19115 "Dialogs.c"
+#line 18796 "Dialogs.c"
} else {
GIcon* _tmp41_ = NULL;
-#line 2451 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2441 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp41_ = app_icon;
-#line 2451 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2441 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp41_, g_themed_icon_get_type ())) {
-#line 19122 "Dialogs.c"
+#line 18803 "Dialogs.c"
GdkPixbuf* icon_pixbuf = NULL;
GtkIconTheme* _tmp42_ = NULL;
GIcon* _tmp43_ = NULL;
@@ -19147,40 +18828,40 @@ static void preferences_dialog_populate_app_combo_box (PreferencesDialog* self,
GtkTreeIter _tmp49_ = {0};
GdkPixbuf* _tmp50_ = NULL;
GValue _tmp51_ = {0};
-#line 2452 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2442 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp42_ = gtk_icon_theme_get_default ();
-#line 2452 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2442 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp43_ = app_icon;
-#line 2452 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2442 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp45_ = _tmp44_ = g_themed_icon_get_names (G_TYPE_CHECK_INSTANCE_CAST (_tmp43_, g_themed_icon_get_type (), GThemedIcon));
-#line 2452 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2442 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp46_ = _tmp45_[0];
-#line 2452 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2442 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp47_ = gtk_icon_theme_load_icon (_tmp42_, _tmp46_, RESOURCES_DEFAULT_ICON_SCALE, GTK_ICON_LOOKUP_FORCE_SIZE, &_inner_error_);
-#line 2452 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2442 "/home/jens/Source/shotwell/src/Dialogs.vala"
icon_pixbuf = _tmp47_;
-#line 2452 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2442 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 19148 "Dialogs.c"
+#line 18829 "Dialogs.c"
goto __catch425_g_error;
}
-#line 2456 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2446 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp48_ = combo_store;
-#line 2456 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2446 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp49_ = iter;
-#line 2456 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2446 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp50_ = icon_pixbuf;
-#line 2456 "/home/jens/Source/shotwell/src/Dialogs.vala"
- g_value_init (&_tmp51_, gdk_pixbuf_get_type ());
-#line 2456 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2446 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ g_value_init (&_tmp51_, GDK_TYPE_PIXBUF);
+#line 2446 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_value_set_object (&_tmp51_, _tmp50_);
-#line 2456 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2446 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_list_store_set_value (_tmp48_, &_tmp49_, 0, &_tmp51_);
-#line 2456 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2446 "/home/jens/Source/shotwell/src/Dialogs.vala"
G_IS_VALUE (&_tmp51_) ? (g_value_unset (&_tmp51_), NULL) : NULL;
-#line 2451 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2441 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (icon_pixbuf);
-#line 19167 "Dialogs.c"
+#line 18848 "Dialogs.c"
}
}
}
@@ -19192,133 +18873,133 @@ static void preferences_dialog_populate_app_combo_box (PreferencesDialog* self,
const gchar* _tmp53_ = NULL;
gchar* _tmp54_ = NULL;
gchar* _tmp55_ = NULL;
-#line 2446 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2436 "/home/jens/Source/shotwell/src/Dialogs.vala"
_error_ = _inner_error_;
-#line 2446 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2436 "/home/jens/Source/shotwell/src/Dialogs.vala"
_inner_error_ = NULL;
-#line 2459 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2449 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp52_ = _error_;
-#line 2459 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2449 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp53_ = _tmp52_->message;
-#line 2459 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2449 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp54_ = g_strconcat ("Error loading icon pixbuf: ", _tmp53_, NULL);
-#line 2459 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2449 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp55_ = _tmp54_;
-#line 2459 "/home/jens/Source/shotwell/src/Dialogs.vala"
- g_warning ("Dialogs.vala:2459: %s", _tmp55_);
-#line 2459 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2449 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ g_warning ("Dialogs.vala:2449: %s", _tmp55_);
+#line 2449 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (_tmp55_);
-#line 2446 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2436 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_error_free0 (_error_);
-#line 19197 "Dialogs.c"
+#line 18878 "Dialogs.c"
}
__finally425:
-#line 2446 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2436 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 2446 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2436 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (app_icon);
-#line 2446 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2436 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (app);
-#line 2446 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2436 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_app_it);
-#line 2446 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2436 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (combo_store);
-#line 2446 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2436 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (text_renderer);
-#line 2446 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2436 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (pixbuf_renderer);
-#line 2446 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2436 "/home/jens/Source/shotwell/src/Dialogs.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 2446 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2436 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_clear_error (&_inner_error_);
-#line 2446 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2436 "/home/jens/Source/shotwell/src/Dialogs.vala"
return;
-#line 19220 "Dialogs.c"
+#line 18901 "Dialogs.c"
}
-#line 2462 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2452 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp56_ = combo_store;
-#line 2462 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2452 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp57_ = iter;
-#line 2462 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2452 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp58_ = app;
-#line 2462 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2452 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp59_ = g_app_info_get_name (_tmp58_);
-#line 2462 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2452 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_value_init (&_tmp60_, G_TYPE_STRING);
-#line 2462 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2452 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_value_set_string (&_tmp60_, _tmp59_);
-#line 2462 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2452 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_list_store_set_value (_tmp56_, &_tmp57_, 1, &_tmp60_);
-#line 2462 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2452 "/home/jens/Source/shotwell/src/Dialogs.vala"
G_IS_VALUE (&_tmp60_) ? (g_value_unset (&_tmp60_), NULL) : NULL;
-#line 2464 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2454 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp61_ = app;
-#line 2464 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2454 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp62_ = g_app_info_get_commandline (_tmp61_);
-#line 2464 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2454 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp63_ = current_app_executable;
-#line 2464 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2454 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (g_strcmp0 (_tmp62_, _tmp63_) == 0) {
-#line 19246 "Dialogs.c"
+#line 18927 "Dialogs.c"
SortedList* _tmp64_ = NULL;
GAppInfo* _tmp65_ = NULL;
gint _tmp66_ = 0;
-#line 2465 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2455 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp64_ = _vala_external_apps;
-#line 2465 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2455 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp65_ = app;
-#line 2465 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2455 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp66_ = sorted_list_index_of (_tmp64_, _tmp65_);
-#line 2465 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2455 "/home/jens/Source/shotwell/src/Dialogs.vala"
current_app = _tmp66_;
-#line 19258 "Dialogs.c"
+#line 18939 "Dialogs.c"
}
-#line 2442 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2432 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (app_icon);
-#line 2442 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2432 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (app);
-#line 19264 "Dialogs.c"
+#line 18945 "Dialogs.c"
}
-#line 2442 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2432 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_app_it);
-#line 19268 "Dialogs.c"
+#line 18949 "Dialogs.c"
}
-#line 2470 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2460 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp67_ = combo_box;
-#line 2470 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2460 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp68_ = combo_store;
-#line 2470 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2460 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_combo_box_set_model (_tmp67_, G_TYPE_CHECK_INSTANCE_CAST (_tmp68_, GTK_TYPE_TREE_MODEL, GtkTreeModel));
-#line 2472 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2462 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp69_ = current_app;
-#line 2472 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2462 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp69_ != -1) {
-#line 19280 "Dialogs.c"
+#line 18961 "Dialogs.c"
GtkComboBox* _tmp70_ = NULL;
gint _tmp71_ = 0;
-#line 2473 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2463 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp70_ = combo_box;
-#line 2473 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2463 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp71_ = current_app;
-#line 2473 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2463 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_combo_box_set_active (_tmp70_, _tmp71_);
-#line 19289 "Dialogs.c"
+#line 18970 "Dialogs.c"
}
-#line 2418 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2408 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (combo_store);
-#line 2418 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2408 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (text_renderer);
-#line 2418 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2408 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (pixbuf_renderer);
-#line 2418 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2408 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (external_apps) {
-#line 2418 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2408 "/home/jens/Source/shotwell/src/Dialogs.vala"
*external_apps = _vala_external_apps;
-#line 19301 "Dialogs.c"
+#line 18982 "Dialogs.c"
} else {
-#line 2418 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2408 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_vala_external_apps);
-#line 19305 "Dialogs.c"
+#line 18986 "Dialogs.c"
}
}
@@ -19332,35 +19013,35 @@ static void preferences_dialog_setup_dir_pattern (PreferencesDialog* self, GtkCo
gboolean found = FALSE;
const gchar* _tmp4_ = NULL;
gboolean _tmp32_ = FALSE;
-#line 2476 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2466 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_if_fail (IS_PREFERENCES_DIALOG (self));
-#line 2476 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2466 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_if_fail (GTK_IS_COMBO_BOX (combo_box));
-#line 2476 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2466 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_if_fail (GTK_IS_ENTRY (entry));
-#line 2477 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2467 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = config_facade_get_instance ();
-#line 2477 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2467 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = _tmp0_;
-#line 2477 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2467 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp2_ = configuration_facade_get_directory_pattern (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
-#line 2477 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2467 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp3_ = _tmp2_;
-#line 2477 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2467 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_tmp1_);
-#line 2477 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2467 "/home/jens/Source/shotwell/src/Dialogs.vala"
pattern = _tmp3_;
-#line 2478 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2468 "/home/jens/Source/shotwell/src/Dialogs.vala"
found = FALSE;
-#line 2479 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2469 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp4_ = pattern;
-#line 2479 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2469 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (NULL != _tmp4_) {
-#line 19343 "Dialogs.c"
+#line 19024 "Dialogs.c"
gint i = 0;
-#line 2481 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2471 "/home/jens/Source/shotwell/src/Dialogs.vala"
i = 0;
-#line 19347 "Dialogs.c"
+#line 19028 "Dialogs.c"
{
GeeArrayList* _pf_list = NULL;
GeeArrayList* _tmp5_ = NULL;
@@ -19370,25 +19051,25 @@ static void preferences_dialog_setup_dir_pattern (PreferencesDialog* self, GtkCo
gint _tmp8_ = 0;
gint _tmp9_ = 0;
gint _pf_index = 0;
-#line 2482 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2472 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp5_ = self->priv->path_formats;
-#line 2482 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2472 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp6_ = _g_object_ref0 (_tmp5_);
-#line 2482 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2472 "/home/jens/Source/shotwell/src/Dialogs.vala"
_pf_list = _tmp6_;
-#line 2482 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2472 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp7_ = _pf_list;
-#line 2482 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2472 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp8_ = gee_abstract_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 2482 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2472 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp9_ = _tmp8_;
-#line 2482 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2472 "/home/jens/Source/shotwell/src/Dialogs.vala"
_pf_size = _tmp9_;
-#line 2482 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2472 "/home/jens/Source/shotwell/src/Dialogs.vala"
_pf_index = -1;
-#line 2482 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2472 "/home/jens/Source/shotwell/src/Dialogs.vala"
while (TRUE) {
-#line 19375 "Dialogs.c"
+#line 19056 "Dialogs.c"
gint _tmp10_ = 0;
gint _tmp11_ = 0;
gint _tmp12_ = 0;
@@ -19400,64 +19081,64 @@ static void preferences_dialog_setup_dir_pattern (PreferencesDialog* self, GtkCo
const gchar* _tmp17_ = NULL;
const gchar* _tmp18_ = NULL;
gint _tmp21_ = 0;
-#line 2482 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2472 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp10_ = _pf_index;
-#line 2482 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2472 "/home/jens/Source/shotwell/src/Dialogs.vala"
_pf_index = _tmp10_ + 1;
-#line 2482 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2472 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp11_ = _pf_index;
-#line 2482 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2472 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp12_ = _pf_size;
-#line 2482 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2472 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (!(_tmp11_ < _tmp12_)) {
-#line 2482 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2472 "/home/jens/Source/shotwell/src/Dialogs.vala"
break;
-#line 19399 "Dialogs.c"
+#line 19080 "Dialogs.c"
}
-#line 2482 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2472 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp13_ = _pf_list;
-#line 2482 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2472 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp14_ = _pf_index;
-#line 2482 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2472 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp15_ = gee_abstract_list_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, GEE_TYPE_ABSTRACT_LIST, GeeAbstractList), _tmp14_);
-#line 2482 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2472 "/home/jens/Source/shotwell/src/Dialogs.vala"
pf = (PreferencesDialogPathFormat*) _tmp15_;
-#line 2483 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2473 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp16_ = pf;
-#line 2483 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2473 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp17_ = _tmp16_->pattern;
-#line 2483 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2473 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp18_ = pattern;
-#line 2483 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2473 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (g_strcmp0 (_tmp17_, _tmp18_) == 0) {
-#line 19417 "Dialogs.c"
+#line 19098 "Dialogs.c"
GtkComboBox* _tmp19_ = NULL;
gint _tmp20_ = 0;
-#line 2484 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2474 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp19_ = combo_box;
-#line 2484 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2474 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp20_ = i;
-#line 2484 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2474 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_combo_box_set_active (_tmp19_, _tmp20_);
-#line 2485 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2475 "/home/jens/Source/shotwell/src/Dialogs.vala"
found = TRUE;
-#line 2486 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2476 "/home/jens/Source/shotwell/src/Dialogs.vala"
_preferences_dialog_path_format_unref0 (pf);
-#line 2486 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2476 "/home/jens/Source/shotwell/src/Dialogs.vala"
break;
-#line 19432 "Dialogs.c"
+#line 19113 "Dialogs.c"
}
-#line 2488 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2478 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp21_ = i;
-#line 2488 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2478 "/home/jens/Source/shotwell/src/Dialogs.vala"
i = _tmp21_ + 1;
-#line 2482 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2472 "/home/jens/Source/shotwell/src/Dialogs.vala"
_preferences_dialog_path_format_unref0 (pf);
-#line 19440 "Dialogs.c"
+#line 19121 "Dialogs.c"
}
-#line 2482 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2472 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_pf_list);
-#line 19444 "Dialogs.c"
+#line 19125 "Dialogs.c"
}
} else {
gchar* s = NULL;
@@ -19467,64 +19148,64 @@ static void preferences_dialog_setup_dir_pattern (PreferencesDialog* self, GtkCo
gchar* _tmp25_ = NULL;
const gchar* _tmp26_ = NULL;
gboolean _tmp27_ = FALSE;
-#line 2492 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2482 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp22_ = config_facade_get_instance ();
-#line 2492 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2482 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp23_ = _tmp22_;
-#line 2492 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2482 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp24_ = configuration_facade_get_directory_pattern_custom (G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
-#line 2492 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2482 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp25_ = _tmp24_;
-#line 2492 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2482 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_tmp23_);
-#line 2492 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2482 "/home/jens/Source/shotwell/src/Dialogs.vala"
s = _tmp25_;
-#line 2493 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2483 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp26_ = s;
-#line 2493 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2483 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp27_ = is_string_empty (_tmp26_);
-#line 2493 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2483 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (!_tmp27_) {
-#line 19472 "Dialogs.c"
+#line 19153 "Dialogs.c"
GtkComboBox* _tmp28_ = NULL;
GeeArrayList* _tmp29_ = NULL;
gint _tmp30_ = 0;
gint _tmp31_ = 0;
-#line 2494 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2484 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp28_ = combo_box;
-#line 2494 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2484 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp29_ = self->priv->path_formats;
-#line 2494 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2484 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp30_ = gee_abstract_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp29_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 2494 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2484 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp31_ = _tmp30_;
-#line 2494 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2484 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_combo_box_set_active (_tmp28_, _tmp31_ - 1);
-#line 2495 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2485 "/home/jens/Source/shotwell/src/Dialogs.vala"
found = TRUE;
-#line 19489 "Dialogs.c"
+#line 19170 "Dialogs.c"
}
-#line 2479 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2469 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (s);
-#line 19493 "Dialogs.c"
+#line 19174 "Dialogs.c"
}
-#line 2499 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2489 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp32_ = found;
-#line 2499 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2489 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (!_tmp32_) {
-#line 19499 "Dialogs.c"
+#line 19180 "Dialogs.c"
GtkComboBox* _tmp33_ = NULL;
-#line 2500 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2490 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp33_ = combo_box;
-#line 2500 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2490 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_combo_box_set_active (_tmp33_, 0);
-#line 19505 "Dialogs.c"
+#line 19186 "Dialogs.c"
}
-#line 2503 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2493 "/home/jens/Source/shotwell/src/Dialogs.vala"
preferences_dialog_on_dir_pattern_combo_changed (self);
-#line 2476 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2466 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (pattern);
-#line 19511 "Dialogs.c"
+#line 19192 "Dialogs.c"
}
@@ -19541,55 +19222,55 @@ void preferences_dialog_show (void) {
gchar* _tmp10_ = NULL;
PreferencesDialog* _tmp11_ = NULL;
GtkDialog* _tmp12_ = NULL;
-#line 2507 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2497 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = preferences_dialog_preferences_dialog;
-#line 2507 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2497 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp0_ == NULL) {
-#line 19532 "Dialogs.c"
+#line 19213 "Dialogs.c"
PreferencesDialog* _tmp1_ = NULL;
-#line 2508 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2498 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = preferences_dialog_new ();
-#line 2508 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2498 "/home/jens/Source/shotwell/src/Dialogs.vala"
_preferences_dialog_unref0 (preferences_dialog_preferences_dialog);
-#line 2508 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2498 "/home/jens/Source/shotwell/src/Dialogs.vala"
preferences_dialog_preferences_dialog = _tmp1_;
-#line 19540 "Dialogs.c"
+#line 19221 "Dialogs.c"
}
-#line 2510 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2500 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp2_ = preferences_dialog_preferences_dialog;
-#line 2510 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2500 "/home/jens/Source/shotwell/src/Dialogs.vala"
preferences_dialog_populate_preference_options (_tmp2_);
-#line 2511 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2501 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp3_ = preferences_dialog_preferences_dialog;
-#line 2511 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2501 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp4_ = _tmp3_->priv->dialog;
-#line 2511 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2501 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_widget_get_type (), GtkWidget));
-#line 2512 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2502 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp5_ = preferences_dialog_preferences_dialog;
-#line 2512 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2502 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp6_ = _tmp5_->priv->library_dir_button;
-#line 2512 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2502 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp7_ = app_dirs_get_import_dir ();
-#line 2512 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2502 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp8_ = _tmp7_;
-#line 2512 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2502 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp9_ = g_file_get_path (_tmp8_);
-#line 2512 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2502 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp10_ = _tmp9_;
-#line 2512 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2502 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_file_chooser_set_current_folder (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, GTK_TYPE_FILE_CHOOSER, GtkFileChooser), _tmp10_);
-#line 2512 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2502 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (_tmp10_);
-#line 2512 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2502 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_tmp8_);
-#line 2516 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2506 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp11_ = preferences_dialog_preferences_dialog;
-#line 2516 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2506 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp12_ = _tmp11_->priv->dialog;
-#line 2516 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2506 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_window_present (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, gtk_window_get_type (), GtkWindow));
-#line 19576 "Dialogs.c"
+#line 19257 "Dialogs.c"
}
@@ -19614,113 +19295,113 @@ static void preferences_dialog_commit_on_close (PreferencesDialog* self) {
gpointer _tmp25_ = NULL;
PreferencesDialogPathFormat* _tmp26_ = NULL;
const gchar* _tmp27_ = NULL;
-#line 2521 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2511 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_if_fail (IS_PREFERENCES_DIALOG (self));
-#line 2522 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2512 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = config_facade_get_instance ();
-#line 2522 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2512 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = _tmp0_;
-#line 2522 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2512 "/home/jens/Source/shotwell/src/Dialogs.vala"
config_facade_commit_bg_color (_tmp1_);
-#line 2522 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2512 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_tmp1_);
-#line 2524 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2514 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp2_ = self->priv->builder;
-#line 2524 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2514 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp3_ = gtk_builder_get_object (_tmp2_, "autoimport");
-#line 2524 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2514 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp4_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp3_, gtk_check_button_get_type ()) ? ((GtkCheckButton*) _tmp3_) : NULL);
-#line 2524 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2514 "/home/jens/Source/shotwell/src/Dialogs.vala"
autoimport = _tmp4_;
-#line 2525 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2515 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp5_ = autoimport;
-#line 2525 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2515 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp5_ != NULL) {
-#line 19623 "Dialogs.c"
+#line 19304 "Dialogs.c"
ConfigFacade* _tmp6_ = NULL;
ConfigFacade* _tmp7_ = NULL;
GtkCheckButton* _tmp8_ = NULL;
gboolean _tmp9_ = FALSE;
gboolean _tmp10_ = FALSE;
-#line 2526 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2516 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp6_ = config_facade_get_instance ();
-#line 2526 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2516 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp7_ = _tmp6_;
-#line 2526 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2516 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp8_ = autoimport;
-#line 2526 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2516 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp9_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, gtk_toggle_button_get_type (), GtkToggleButton));
-#line 2526 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2516 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp10_ = _tmp9_;
-#line 2526 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2516 "/home/jens/Source/shotwell/src/Dialogs.vala"
configuration_facade_set_auto_import_from_library (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp10_);
-#line 2526 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2516 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_tmp7_);
-#line 19643 "Dialogs.c"
+#line 19324 "Dialogs.c"
}
-#line 2528 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2518 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp11_ = self->priv->builder;
-#line 2528 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2518 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp12_ = gtk_builder_get_object (_tmp11_, "write_metadata");
-#line 2528 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2518 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp13_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp12_, gtk_check_button_get_type ()) ? ((GtkCheckButton*) _tmp12_) : NULL);
-#line 2528 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2518 "/home/jens/Source/shotwell/src/Dialogs.vala"
commit_metadata = _tmp13_;
-#line 2529 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2519 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp14_ = commit_metadata;
-#line 2529 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2519 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp14_ != NULL) {
-#line 19657 "Dialogs.c"
+#line 19338 "Dialogs.c"
ConfigFacade* _tmp15_ = NULL;
ConfigFacade* _tmp16_ = NULL;
GtkCheckButton* _tmp17_ = NULL;
gboolean _tmp18_ = FALSE;
gboolean _tmp19_ = FALSE;
-#line 2530 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2520 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp15_ = config_facade_get_instance ();
-#line 2530 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2520 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp16_ = _tmp15_;
-#line 2530 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2520 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp17_ = commit_metadata;
-#line 2530 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2520 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp18_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, gtk_toggle_button_get_type (), GtkToggleButton));
-#line 2530 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2520 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp19_ = _tmp18_;
-#line 2530 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2520 "/home/jens/Source/shotwell/src/Dialogs.vala"
configuration_facade_set_commit_metadata_to_masters (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp19_);
-#line 2530 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2520 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_tmp16_);
-#line 19677 "Dialogs.c"
+#line 19358 "Dialogs.c"
}
-#line 2532 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2522 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp20_ = self->priv->lib_dir;
-#line 2532 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2522 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp20_ != NULL) {
-#line 19683 "Dialogs.c"
+#line 19364 "Dialogs.c"
const gchar* _tmp21_ = NULL;
-#line 2533 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2523 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp21_ = self->priv->lib_dir;
-#line 2533 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2523 "/home/jens/Source/shotwell/src/Dialogs.vala"
app_dirs_set_import_dir (_tmp21_);
-#line 19689 "Dialogs.c"
+#line 19370 "Dialogs.c"
}
-#line 2535 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2525 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp22_ = self->priv->path_formats;
-#line 2535 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2525 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp23_ = self->priv->dir_pattern_combo;
-#line 2535 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2525 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp24_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, gtk_combo_box_get_type (), GtkComboBox));
-#line 2535 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2525 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp25_ = gee_abstract_list_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, GEE_TYPE_ABSTRACT_LIST, GeeAbstractList), _tmp24_);
-#line 2535 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2525 "/home/jens/Source/shotwell/src/Dialogs.vala"
pf = (PreferencesDialogPathFormat*) _tmp25_;
-#line 2536 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2526 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp26_ = pf;
-#line 2536 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2526 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp27_ = _tmp26_->pattern;
-#line 2536 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2526 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (NULL == _tmp27_) {
-#line 19707 "Dialogs.c"
+#line 19388 "Dialogs.c"
ConfigFacade* _tmp28_ = NULL;
ConfigFacade* _tmp29_ = NULL;
GtkEntry* _tmp30_ = NULL;
@@ -19728,55 +19409,55 @@ static void preferences_dialog_commit_on_close (PreferencesDialog* self) {
const gchar* _tmp32_ = NULL;
ConfigFacade* _tmp33_ = NULL;
ConfigFacade* _tmp34_ = NULL;
-#line 2537 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2527 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp28_ = config_facade_get_instance ();
-#line 2537 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2527 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp29_ = _tmp28_;
-#line 2537 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2527 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp30_ = self->priv->dir_pattern_entry;
-#line 2537 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2527 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp31_ = gtk_entry_get_text (_tmp30_);
-#line 2537 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2527 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp32_ = _tmp31_;
-#line 2537 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2527 "/home/jens/Source/shotwell/src/Dialogs.vala"
configuration_facade_set_directory_pattern_custom (G_TYPE_CHECK_INSTANCE_CAST (_tmp29_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp32_);
-#line 2537 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2527 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_tmp29_);
-#line 2538 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2528 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp33_ = config_facade_get_instance ();
-#line 2538 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2528 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp34_ = _tmp33_;
-#line 2538 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2528 "/home/jens/Source/shotwell/src/Dialogs.vala"
configuration_facade_set_directory_pattern (G_TYPE_CHECK_INSTANCE_CAST (_tmp34_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), NULL);
-#line 2538 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2528 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_tmp34_);
-#line 19737 "Dialogs.c"
+#line 19418 "Dialogs.c"
} else {
ConfigFacade* _tmp35_ = NULL;
ConfigFacade* _tmp36_ = NULL;
PreferencesDialogPathFormat* _tmp37_ = NULL;
const gchar* _tmp38_ = NULL;
-#line 2540 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2530 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp35_ = config_facade_get_instance ();
-#line 2540 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2530 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp36_ = _tmp35_;
-#line 2540 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2530 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp37_ = pf;
-#line 2540 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2530 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp38_ = _tmp37_->pattern;
-#line 2540 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2530 "/home/jens/Source/shotwell/src/Dialogs.vala"
configuration_facade_set_directory_pattern (G_TYPE_CHECK_INSTANCE_CAST (_tmp36_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp38_);
-#line 2540 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2530 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_tmp36_);
-#line 19755 "Dialogs.c"
+#line 19436 "Dialogs.c"
}
-#line 2521 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2511 "/home/jens/Source/shotwell/src/Dialogs.vala"
_preferences_dialog_path_format_unref0 (pf);
-#line 2521 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2511 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (commit_metadata);
-#line 2521 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2511 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (autoimport);
-#line 19763 "Dialogs.c"
+#line 19444 "Dialogs.c"
}
@@ -19785,52 +19466,52 @@ static gboolean preferences_dialog_on_delete (PreferencesDialog* self) {
gboolean _tmp0_ = FALSE;
GtkDialog* _tmp1_ = NULL;
gboolean _tmp2_ = FALSE;
-#line 2544 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2534 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_val_if_fail (IS_PREFERENCES_DIALOG (self), FALSE);
-#line 2545 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2535 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = preferences_dialog_get_allow_closing (self);
-#line 2545 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2535 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (!_tmp0_) {
-#line 2546 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2536 "/home/jens/Source/shotwell/src/Dialogs.vala"
result = TRUE;
-#line 2546 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2536 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 19782 "Dialogs.c"
+#line 19463 "Dialogs.c"
}
-#line 2548 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2538 "/home/jens/Source/shotwell/src/Dialogs.vala"
preferences_dialog_commit_on_close (self);
-#line 2549 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2539 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = self->priv->dialog;
-#line 2549 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2539 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp2_ = gtk_widget_hide_on_delete (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_widget_get_type (), GtkWidget));
-#line 2549 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2539 "/home/jens/Source/shotwell/src/Dialogs.vala"
result = _tmp2_;
-#line 2549 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2539 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 19794 "Dialogs.c"
+#line 19475 "Dialogs.c"
}
static void preferences_dialog_on_close (PreferencesDialog* self) {
gboolean _tmp0_ = FALSE;
GtkDialog* _tmp1_ = NULL;
-#line 2552 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2542 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_if_fail (IS_PREFERENCES_DIALOG (self));
-#line 2553 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2543 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = preferences_dialog_get_allow_closing (self);
-#line 2553 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2543 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (!_tmp0_) {
-#line 2554 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2544 "/home/jens/Source/shotwell/src/Dialogs.vala"
return;
-#line 19809 "Dialogs.c"
+#line 19490 "Dialogs.c"
}
-#line 2556 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2546 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = self->priv->dialog;
-#line 2556 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2546 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_widget_hide (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_widget_get_type (), GtkWidget));
-#line 2557 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2547 "/home/jens/Source/shotwell/src/Dialogs.vala"
preferences_dialog_commit_on_close (self);
-#line 19817 "Dialogs.c"
+#line 19498 "Dialogs.c"
}
@@ -19839,19 +19520,19 @@ static void preferences_dialog_on_value_changed (PreferencesDialog* self) {
gdouble _tmp1_ = 0.0;
GtkAdjustment* _tmp2_ = NULL;
gdouble _tmp3_ = 0.0;
-#line 2560 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2550 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_if_fail (IS_PREFERENCES_DIALOG (self));
-#line 2561 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2551 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = self->priv->bg_color_adjustment;
-#line 2561 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2551 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = gtk_adjustment_get_upper (_tmp0_);
-#line 2561 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2551 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp2_ = self->priv->bg_color_adjustment;
-#line 2561 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2551 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp3_ = gtk_adjustment_get_value (_tmp2_);
-#line 2561 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2551 "/home/jens/Source/shotwell/src/Dialogs.vala"
preferences_dialog_set_background_color (self, ((gdouble) (_tmp1_ - _tmp3_)) / 65535.0);
-#line 19838 "Dialogs.c"
+#line 19519 "Dialogs.c"
}
@@ -19861,84 +19542,84 @@ static gboolean preferences_dialog_on_bg_color_reset (PreferencesDialog* self, G
gboolean _tmp1_ = FALSE;
GdkEventButton* _tmp2_ = NULL;
guint _tmp3_ = 0U;
-#line 2565 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2555 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_val_if_fail (IS_PREFERENCES_DIALOG (self), FALSE);
-#line 2565 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2555 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 2566 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2556 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp2_ = event;
-#line 2566 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2556 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp3_ = _tmp2_->button;
-#line 2566 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2556 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp3_ == ((guint) 1)) {
-#line 19858 "Dialogs.c"
+#line 19539 "Dialogs.c"
GdkEventButton* _tmp4_ = NULL;
GdkEventType _tmp5_ = 0;
-#line 2566 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2556 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp4_ = event;
-#line 2566 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2556 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp5_ = _tmp4_->type;
-#line 2566 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2556 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = _tmp5_ == GDK_BUTTON_PRESS;
-#line 19867 "Dialogs.c"
+#line 19548 "Dialogs.c"
} else {
-#line 2566 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2556 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = FALSE;
-#line 19871 "Dialogs.c"
+#line 19552 "Dialogs.c"
}
-#line 2566 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2556 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp1_) {
-#line 19875 "Dialogs.c"
+#line 19556 "Dialogs.c"
GdkEventButton* _tmp6_ = NULL;
GdkModifierType _tmp7_ = 0;
gboolean _tmp8_ = FALSE;
-#line 2567 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2557 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp6_ = event;
-#line 2567 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2557 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp7_ = _tmp6_->state;
-#line 2567 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2557 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp8_ = has_only_key_modifier (_tmp7_, GDK_CONTROL_MASK);
-#line 2567 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2557 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = _tmp8_;
-#line 19887 "Dialogs.c"
+#line 19568 "Dialogs.c"
} else {
-#line 2566 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2556 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = FALSE;
-#line 19891 "Dialogs.c"
+#line 19572 "Dialogs.c"
}
-#line 2566 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2556 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp0_) {
-#line 19895 "Dialogs.c"
+#line 19576 "Dialogs.c"
GtkScale* _tmp9_ = NULL;
GtkAdjustment* _tmp10_ = NULL;
gdouble _tmp11_ = 0.0;
GdkRGBA _tmp12_ = {0};
gdouble _tmp13_ = 0.0;
-#line 2569 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2559 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp9_ = self->priv->bg_color_slider;
-#line 2569 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2559 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp10_ = self->priv->bg_color_adjustment;
-#line 2569 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2559 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp11_ = gtk_adjustment_get_upper (_tmp10_);
-#line 2569 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2559 "/home/jens/Source/shotwell/src/Dialogs.vala"
parse_color (CONFIG_FACADE_DEFAULT_BG_COLOR, &_tmp12_);
-#line 2569 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2559 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp13_ = _tmp12_.red;
-#line 2569 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2559 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_range_set_value (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_range_get_type (), GtkRange), _tmp11_ - (_tmp13_ * 65536.0f));
-#line 2571 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2561 "/home/jens/Source/shotwell/src/Dialogs.vala"
preferences_dialog_on_value_changed (self);
-#line 2573 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2563 "/home/jens/Source/shotwell/src/Dialogs.vala"
result = TRUE;
-#line 2573 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2563 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 19919 "Dialogs.c"
+#line 19600 "Dialogs.c"
}
-#line 2576 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2566 "/home/jens/Source/shotwell/src/Dialogs.vala"
result = FALSE;
-#line 2576 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2566 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 19925 "Dialogs.c"
+#line 19606 "Dialogs.c"
}
@@ -19950,25 +19631,25 @@ static void preferences_dialog_on_dir_pattern_combo_changed (PreferencesDialog*
gpointer _tmp3_ = NULL;
PreferencesDialogPathFormat* _tmp4_ = NULL;
const gchar* _tmp5_ = NULL;
-#line 2579 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2569 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_if_fail (IS_PREFERENCES_DIALOG (self));
-#line 2580 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2570 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = self->priv->path_formats;
-#line 2580 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2570 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = self->priv->dir_pattern_combo;
-#line 2580 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2570 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp2_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_combo_box_get_type (), GtkComboBox));
-#line 2580 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2570 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp3_ = gee_abstract_list_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_ABSTRACT_LIST, GeeAbstractList), _tmp2_);
-#line 2580 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2570 "/home/jens/Source/shotwell/src/Dialogs.vala"
pf = (PreferencesDialogPathFormat*) _tmp3_;
-#line 2581 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2571 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp4_ = pf;
-#line 2581 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2571 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp5_ = _tmp4_->pattern;
-#line 2581 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2571 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (NULL == _tmp5_) {
-#line 19955 "Dialogs.c"
+#line 19636 "Dialogs.c"
gchar* dir_pattern = NULL;
ConfigFacade* _tmp6_ = NULL;
ConfigFacade* _tmp7_ = NULL;
@@ -19980,78 +19661,78 @@ static void preferences_dialog_on_dir_pattern_combo_changed (PreferencesDialog*
const gchar* _tmp14_ = NULL;
GtkEntry* _tmp15_ = NULL;
GtkEntry* _tmp16_ = NULL;
-#line 2583 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2573 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp6_ = config_facade_get_instance ();
-#line 2583 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2573 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp7_ = _tmp6_;
-#line 2583 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2573 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp8_ = configuration_facade_get_directory_pattern_custom (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
-#line 2583 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2573 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp9_ = _tmp8_;
-#line 2583 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2573 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_tmp7_);
-#line 2583 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2573 "/home/jens/Source/shotwell/src/Dialogs.vala"
dir_pattern = _tmp9_;
-#line 2584 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2574 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp10_ = dir_pattern;
-#line 2584 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2574 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp11_ = is_string_empty (_tmp10_);
-#line 2584 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2574 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp11_) {
-#line 19985 "Dialogs.c"
+#line 19666 "Dialogs.c"
gchar* _tmp12_ = NULL;
-#line 2585 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2575 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp12_ = g_strdup ("");
-#line 2585 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2575 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (dir_pattern);
-#line 2585 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2575 "/home/jens/Source/shotwell/src/Dialogs.vala"
dir_pattern = _tmp12_;
-#line 19993 "Dialogs.c"
+#line 19674 "Dialogs.c"
}
-#line 2586 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2576 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp13_ = self->priv->dir_pattern_entry;
-#line 2586 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2576 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp14_ = dir_pattern;
-#line 2586 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2576 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_entry_set_text (_tmp13_, _tmp14_);
-#line 2587 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2577 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp15_ = self->priv->dir_pattern_entry;
-#line 2587 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2577 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_object_set (_tmp15_, "editable", TRUE, NULL);
-#line 2588 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2578 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp16_ = self->priv->dir_pattern_entry;
-#line 2588 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2578 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, gtk_widget_get_type (), GtkWidget), TRUE);
-#line 2581 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2571 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (dir_pattern);
-#line 20011 "Dialogs.c"
+#line 19692 "Dialogs.c"
} else {
GtkEntry* _tmp17_ = NULL;
PreferencesDialogPathFormat* _tmp18_ = NULL;
const gchar* _tmp19_ = NULL;
GtkEntry* _tmp20_ = NULL;
GtkEntry* _tmp21_ = NULL;
-#line 2590 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2580 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp17_ = self->priv->dir_pattern_entry;
-#line 2590 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2580 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp18_ = pf;
-#line 2590 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2580 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp19_ = _tmp18_->pattern;
-#line 2590 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2580 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_entry_set_text (_tmp17_, _tmp19_);
-#line 2591 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2581 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp20_ = self->priv->dir_pattern_entry;
-#line 2591 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2581 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_object_set (_tmp20_, "editable", FALSE, NULL);
-#line 2592 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2582 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp21_ = self->priv->dir_pattern_entry;
-#line 2592 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2582 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp21_, gtk_widget_get_type (), GtkWidget), FALSE);
-#line 20034 "Dialogs.c"
+#line 19715 "Dialogs.c"
}
-#line 2579 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2569 "/home/jens/Source/shotwell/src/Dialogs.vala"
_preferences_dialog_path_format_unref0 (pf);
-#line 20038 "Dialogs.c"
+#line 19719 "Dialogs.c"
}
@@ -20065,92 +19746,92 @@ static void preferences_dialog_on_dir_pattern_entry_changed (PreferencesDialog*
gboolean _tmp5_ = FALSE;
const gchar* _tmp6_ = NULL;
gboolean _tmp7_ = FALSE;
-#line 2596 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2586 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_if_fail (IS_PREFERENCES_DIALOG (self));
-#line 2597 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2587 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = self->priv->example_date;
-#line 2597 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2587 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = self->priv->dir_pattern_entry;
-#line 2597 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2587 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp2_ = gtk_entry_get_text (_tmp1_);
-#line 2597 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2587 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp3_ = _tmp2_;
-#line 2597 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2587 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp4_ = g_date_time_format (_tmp0_, _tmp3_);
-#line 2597 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2587 "/home/jens/Source/shotwell/src/Dialogs.vala"
example = _tmp4_;
-#line 2598 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2588 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp6_ = example;
-#line 2598 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2588 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp7_ = is_string_empty (_tmp6_);
-#line 2598 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2588 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp7_) {
-#line 20072 "Dialogs.c"
+#line 19753 "Dialogs.c"
GtkEntry* _tmp8_ = NULL;
const gchar* _tmp9_ = NULL;
const gchar* _tmp10_ = NULL;
gboolean _tmp11_ = FALSE;
-#line 2598 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2588 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp8_ = self->priv->dir_pattern_entry;
-#line 2598 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2588 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp9_ = gtk_entry_get_text (_tmp8_);
-#line 2598 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2588 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp10_ = _tmp9_;
-#line 2598 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2588 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp11_ = is_string_empty (_tmp10_);
-#line 2598 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2588 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp5_ = !_tmp11_;
-#line 20087 "Dialogs.c"
+#line 19768 "Dialogs.c"
} else {
-#line 2598 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2588 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp5_ = FALSE;
-#line 20091 "Dialogs.c"
+#line 19772 "Dialogs.c"
}
-#line 2598 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2588 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp5_) {
-#line 20095 "Dialogs.c"
+#line 19776 "Dialogs.c"
GtkLabel* _tmp12_ = NULL;
const gchar* _tmp13_ = NULL;
GtkEntry* _tmp14_ = NULL;
GtkEntry* _tmp15_ = NULL;
-#line 2600 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2590 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp12_ = self->priv->dir_pattern_example;
-#line 2600 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2590 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp13_ = _ ("Invalid pattern");
-#line 2600 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2590 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_label_set_text (_tmp12_, _tmp13_);
-#line 2601 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2591 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp14_ = self->priv->dir_pattern_entry;
-#line 2601 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2591 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_entry_set_icon_from_icon_name (_tmp14_, GTK_ENTRY_ICON_SECONDARY, "dialog-error");
-#line 2602 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2592 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp15_ = self->priv->dir_pattern_entry;
-#line 2602 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2592 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_entry_set_icon_activatable (_tmp15_, GTK_ENTRY_ICON_SECONDARY, FALSE);
-#line 2603 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2593 "/home/jens/Source/shotwell/src/Dialogs.vala"
preferences_dialog_set_allow_closing (self, FALSE);
-#line 20116 "Dialogs.c"
+#line 19797 "Dialogs.c"
} else {
GtkLabel* _tmp16_ = NULL;
const gchar* _tmp17_ = NULL;
GtkEntry* _tmp18_ = NULL;
-#line 2606 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2596 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp16_ = self->priv->dir_pattern_example;
-#line 2606 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2596 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp17_ = example;
-#line 2606 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2596 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_label_set_text (_tmp16_, _tmp17_);
-#line 2607 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2597 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp18_ = self->priv->dir_pattern_entry;
-#line 2607 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2597 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_entry_set_icon_from_icon_name (_tmp18_, GTK_ENTRY_ICON_SECONDARY, NULL);
-#line 2608 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2598 "/home/jens/Source/shotwell/src/Dialogs.vala"
preferences_dialog_set_allow_closing (self, TRUE);
-#line 20133 "Dialogs.c"
+#line 19814 "Dialogs.c"
}
-#line 2596 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2586 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (example);
-#line 20137 "Dialogs.c"
+#line 19818 "Dialogs.c"
}
@@ -20158,34 +19839,34 @@ static void preferences_dialog_set_allow_closing (PreferencesDialog* self, gbool
GtkDialog* _tmp0_ = NULL;
gboolean _tmp1_ = FALSE;
gboolean _tmp2_ = FALSE;
-#line 2612 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2602 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_if_fail (IS_PREFERENCES_DIALOG (self));
-#line 2613 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2603 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = self->priv->dialog;
-#line 2613 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2603 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = allow;
-#line 2613 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2603 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_window_set_deletable (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_window_get_type (), GtkWindow), _tmp1_);
-#line 2614 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2604 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp2_ = allow;
-#line 2614 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2604 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->allow_closing = _tmp2_;
-#line 20157 "Dialogs.c"
+#line 19838 "Dialogs.c"
}
static gboolean preferences_dialog_get_allow_closing (PreferencesDialog* self) {
gboolean result = FALSE;
gboolean _tmp0_ = FALSE;
-#line 2617 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2607 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_val_if_fail (IS_PREFERENCES_DIALOG (self), FALSE);
-#line 2618 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2608 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = self->priv->allow_closing;
-#line 2618 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2608 "/home/jens/Source/shotwell/src/Dialogs.vala"
result = _tmp0_;
-#line 2618 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2608 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 20172 "Dialogs.c"
+#line 19853 "Dialogs.c"
}
@@ -20194,21 +19875,21 @@ static void preferences_dialog_set_background_color (PreferencesDialog* self, gd
ConfigFacade* _tmp1_ = NULL;
gdouble _tmp2_ = 0.0;
GdkRGBA _tmp3_ = {0};
-#line 2621 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2611 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_if_fail (IS_PREFERENCES_DIALOG (self));
-#line 2622 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2612 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = config_facade_get_instance ();
-#line 2622 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2612 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = _tmp0_;
-#line 2622 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2612 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp2_ = bg_color_value;
-#line 2622 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2612 "/home/jens/Source/shotwell/src/Dialogs.vala"
preferences_dialog_to_grayscale (self, _tmp2_, &_tmp3_);
-#line 2622 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2612 "/home/jens/Source/shotwell/src/Dialogs.vala"
config_facade_set_bg_color (_tmp1_, &_tmp3_);
-#line 2622 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2612 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_tmp1_);
-#line 20195 "Dialogs.c"
+#line 19876 "Dialogs.c"
}
@@ -20217,29 +19898,29 @@ static void preferences_dialog_to_grayscale (PreferencesDialog* self, gdouble co
gdouble _tmp0_ = 0.0;
gdouble _tmp1_ = 0.0;
gdouble _tmp2_ = 0.0;
-#line 2625 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2615 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_if_fail (IS_PREFERENCES_DIALOG (self));
-#line 2626 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2616 "/home/jens/Source/shotwell/src/Dialogs.vala"
memset (&color, 0, sizeof (GdkRGBA));
-#line 2628 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2618 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = color_value;
-#line 2628 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2618 "/home/jens/Source/shotwell/src/Dialogs.vala"
color.red = _tmp0_;
-#line 2629 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2619 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = color_value;
-#line 2629 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2619 "/home/jens/Source/shotwell/src/Dialogs.vala"
color.green = _tmp1_;
-#line 2630 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2620 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp2_ = color_value;
-#line 2630 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2620 "/home/jens/Source/shotwell/src/Dialogs.vala"
color.blue = _tmp2_;
-#line 2631 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2621 "/home/jens/Source/shotwell/src/Dialogs.vala"
color.alpha = 1.0;
-#line 2633 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2623 "/home/jens/Source/shotwell/src/Dialogs.vala"
*result = color;
-#line 2633 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2623 "/home/jens/Source/shotwell/src/Dialogs.vala"
return;
-#line 20226 "Dialogs.c"
+#line 19907 "Dialogs.c"
}
@@ -20260,77 +19941,77 @@ static void preferences_dialog_on_photo_editor_changed (PreferencesDialog* self)
gchar* _tmp16_ = NULL;
gchar* _tmp17_ = NULL;
gchar* _tmp18_ = NULL;
-#line 2636 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2626 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_if_fail (IS_PREFERENCES_DIALOG (self));
-#line 2637 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2627 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = self->priv->photo_editor_combo;
-#line 2637 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2627 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp2_ = gtk_combo_box_get_active (_tmp1_);
-#line 2637 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2627 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp3_ = self->priv->external_photo_apps;
-#line 2637 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2627 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp4_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 2637 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2627 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp5_ = _tmp4_;
-#line 2637 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2627 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp2_ < _tmp5_) {
-#line 20261 "Dialogs.c"
+#line 19942 "Dialogs.c"
GtkComboBox* _tmp6_ = NULL;
gint _tmp7_ = 0;
-#line 2638 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2628 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp6_ = self->priv->photo_editor_combo;
-#line 2638 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2628 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp7_ = gtk_combo_box_get_active (_tmp6_);
-#line 2638 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2628 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = _tmp7_;
-#line 20270 "Dialogs.c"
+#line 19951 "Dialogs.c"
} else {
SortedList* _tmp8_ = NULL;
gint _tmp9_ = 0;
gint _tmp10_ = 0;
-#line 2638 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2628 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp8_ = self->priv->external_photo_apps;
-#line 2638 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2628 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp9_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 2638 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2628 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp10_ = _tmp9_;
-#line 2638 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2628 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = _tmp10_;
-#line 20283 "Dialogs.c"
+#line 19964 "Dialogs.c"
}
-#line 2637 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2627 "/home/jens/Source/shotwell/src/Dialogs.vala"
photo_app_choice_index = _tmp0_;
-#line 2640 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2630 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp11_ = self->priv->external_photo_apps;
-#line 2640 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2630 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp12_ = sorted_list_get_at (_tmp11_, photo_app_choice_index);
-#line 2640 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2630 "/home/jens/Source/shotwell/src/Dialogs.vala"
app = (GAppInfo*) _tmp12_;
-#line 2642 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2632 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp13_ = config_facade_get_instance ();
-#line 2642 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2632 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp14_ = _tmp13_;
-#line 2642 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2632 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp15_ = desktop_integration_get_app_open_command (app);
-#line 2642 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2632 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp16_ = _tmp15_;
-#line 2642 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2632 "/home/jens/Source/shotwell/src/Dialogs.vala"
configuration_facade_set_external_photo_app (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp16_);
-#line 2642 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2632 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (_tmp16_);
-#line 2642 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2632 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_tmp14_);
-#line 2644 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2634 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp17_ = desktop_integration_get_app_open_command (app);
-#line 2644 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2634 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp18_ = _tmp17_;
-#line 2644 "/home/jens/Source/shotwell/src/Dialogs.vala"
- g_debug ("Dialogs.vala:2644: setting external photo editor to: %s", _tmp18_);
-#line 2644 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2634 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ g_debug ("Dialogs.vala:2634: setting external photo editor to: %s", _tmp18_);
+#line 2634 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (_tmp18_);
-#line 2636 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2626 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (app);
-#line 20317 "Dialogs.c"
+#line 19998 "Dialogs.c"
}
@@ -20349,69 +20030,69 @@ static void preferences_dialog_on_raw_editor_changed (PreferencesDialog* self) {
ConfigFacade* _tmp14_ = NULL;
const gchar* _tmp15_ = NULL;
const gchar* _tmp16_ = NULL;
-#line 2647 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2637 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_if_fail (IS_PREFERENCES_DIALOG (self));
-#line 2648 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2638 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = self->priv->raw_editor_combo;
-#line 2648 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2638 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp2_ = gtk_combo_box_get_active (_tmp1_);
-#line 2648 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2638 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp3_ = self->priv->external_raw_apps;
-#line 2648 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2638 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp4_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 2648 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2638 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp5_ = _tmp4_;
-#line 2648 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2638 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp2_ < _tmp5_) {
-#line 20350 "Dialogs.c"
+#line 20031 "Dialogs.c"
GtkComboBox* _tmp6_ = NULL;
gint _tmp7_ = 0;
-#line 2649 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2639 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp6_ = self->priv->raw_editor_combo;
-#line 2649 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2639 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp7_ = gtk_combo_box_get_active (_tmp6_);
-#line 2649 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2639 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = _tmp7_;
-#line 20359 "Dialogs.c"
+#line 20040 "Dialogs.c"
} else {
SortedList* _tmp8_ = NULL;
gint _tmp9_ = 0;
gint _tmp10_ = 0;
-#line 2649 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2639 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp8_ = self->priv->external_raw_apps;
-#line 2649 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2639 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp9_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 2649 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2639 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp10_ = _tmp9_;
-#line 2649 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2639 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = _tmp10_;
-#line 20372 "Dialogs.c"
+#line 20053 "Dialogs.c"
}
-#line 2648 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2638 "/home/jens/Source/shotwell/src/Dialogs.vala"
raw_app_choice_index = _tmp0_;
-#line 2651 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2641 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp11_ = self->priv->external_raw_apps;
-#line 2651 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2641 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp12_ = sorted_list_get_at (_tmp11_, raw_app_choice_index);
-#line 2651 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2641 "/home/jens/Source/shotwell/src/Dialogs.vala"
app = (GAppInfo*) _tmp12_;
-#line 2653 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2643 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp13_ = config_facade_get_instance ();
-#line 2653 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2643 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp14_ = _tmp13_;
-#line 2653 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2643 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp15_ = g_app_info_get_commandline (app);
-#line 2653 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2643 "/home/jens/Source/shotwell/src/Dialogs.vala"
configuration_facade_set_external_raw_app (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp15_);
-#line 2653 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2643 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_tmp14_);
-#line 2655 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2645 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp16_ = g_app_info_get_commandline (app);
-#line 2655 "/home/jens/Source/shotwell/src/Dialogs.vala"
- g_debug ("Dialogs.vala:2655: setting external raw editor to: %s", _tmp16_);
-#line 2647 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2645 "/home/jens/Source/shotwell/src/Dialogs.vala"
+ g_debug ("Dialogs.vala:2645: setting external raw editor to: %s", _tmp16_);
+#line 2637 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (app);
-#line 20398 "Dialogs.c"
+#line 20079 "Dialogs.c"
}
@@ -20419,50 +20100,50 @@ static RawDeveloper preferences_dialog_raw_developer_from_combo (PreferencesDial
RawDeveloper result = 0;
GtkComboBoxText* _tmp0_ = NULL;
gint _tmp1_ = 0;
-#line 2658 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2648 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_val_if_fail (IS_PREFERENCES_DIALOG (self), 0);
-#line 2659 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2649 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = self->priv->default_raw_developer_combo;
-#line 2659 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2649 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = gtk_combo_box_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_combo_box_get_type (), GtkComboBox));
-#line 2659 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2649 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp1_ == 0) {
-#line 2660 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2650 "/home/jens/Source/shotwell/src/Dialogs.vala"
result = RAW_DEVELOPER_CAMERA;
-#line 2660 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2650 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 20418 "Dialogs.c"
+#line 20099 "Dialogs.c"
}
-#line 2661 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2651 "/home/jens/Source/shotwell/src/Dialogs.vala"
result = RAW_DEVELOPER_SHOTWELL;
-#line 2661 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2651 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 20424 "Dialogs.c"
+#line 20105 "Dialogs.c"
}
static void preferences_dialog_set_raw_developer_combo (PreferencesDialog* self, RawDeveloper d) {
RawDeveloper _tmp0_ = 0;
-#line 2664 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2654 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_if_fail (IS_PREFERENCES_DIALOG (self));
-#line 2665 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2655 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = d;
-#line 2665 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2655 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp0_ == RAW_DEVELOPER_CAMERA) {
-#line 20436 "Dialogs.c"
+#line 20117 "Dialogs.c"
GtkComboBoxText* _tmp1_ = NULL;
-#line 2666 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2656 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = self->priv->default_raw_developer_combo;
-#line 2666 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2656 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_combo_box_get_type (), GtkComboBox), 0);
-#line 20442 "Dialogs.c"
+#line 20123 "Dialogs.c"
} else {
GtkComboBoxText* _tmp2_ = NULL;
-#line 2668 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2658 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp2_ = self->priv->default_raw_developer_combo;
-#line 2668 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2658 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_combo_box_set_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_combo_box_get_type (), GtkComboBox), 1);
-#line 20449 "Dialogs.c"
+#line 20130 "Dialogs.c"
}
}
@@ -20471,60 +20152,60 @@ static void preferences_dialog_on_default_raw_developer_changed (PreferencesDial
ConfigFacade* _tmp0_ = NULL;
ConfigFacade* _tmp1_ = NULL;
RawDeveloper _tmp2_ = 0;
-#line 2671 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2661 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_if_fail (IS_PREFERENCES_DIALOG (self));
-#line 2672 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2662 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = config_facade_get_instance ();
-#line 2672 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2662 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = _tmp0_;
-#line 2672 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2662 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp2_ = preferences_dialog_raw_developer_from_combo (self);
-#line 2672 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2662 "/home/jens/Source/shotwell/src/Dialogs.vala"
configuration_facade_set_default_raw_developer (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp2_);
-#line 2672 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2662 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_tmp1_);
-#line 20470 "Dialogs.c"
+#line 20151 "Dialogs.c"
}
static void preferences_dialog_on_current_folder_changed (PreferencesDialog* self) {
GtkFileChooserButton* _tmp0_ = NULL;
gchar* _tmp1_ = NULL;
-#line 2675 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2665 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_if_fail (IS_PREFERENCES_DIALOG (self));
-#line 2676 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2666 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = self->priv->library_dir_button;
-#line 2676 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2666 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = gtk_file_chooser_get_filename (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GTK_TYPE_FILE_CHOOSER, GtkFileChooser));
-#line 2676 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2666 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (self->priv->lib_dir);
-#line 2676 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2666 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->lib_dir = _tmp1_;
-#line 20487 "Dialogs.c"
+#line 20168 "Dialogs.c"
}
static void _preferences_dialog_on_current_folder_changed_gtk_file_chooser_current_folder_changed (GtkFileChooser* _sender, gpointer self) {
-#line 2684 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2674 "/home/jens/Source/shotwell/src/Dialogs.vala"
preferences_dialog_on_current_folder_changed ((PreferencesDialog*) self);
-#line 20494 "Dialogs.c"
+#line 20175 "Dialogs.c"
}
static gboolean preferences_dialog_map_event (PreferencesDialog* self) {
gboolean result = FALSE;
GtkFileChooserButton* _tmp0_ = NULL;
-#line 2679 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2669 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_val_if_fail (IS_PREFERENCES_DIALOG (self), FALSE);
-#line 2684 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2674 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = self->priv->library_dir_button;
-#line 2684 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2674 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GTK_TYPE_FILE_CHOOSER, GtkFileChooser), "current-folder-changed", (GCallback) _preferences_dialog_on_current_folder_changed_gtk_file_chooser_current_folder_changed, self);
-#line 2685 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2675 "/home/jens/Source/shotwell/src/Dialogs.vala"
result = TRUE;
-#line 2685 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2675 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 20511 "Dialogs.c"
+#line 20192 "Dialogs.c"
}
@@ -20536,31 +20217,31 @@ static void preferences_dialog_add_to_dir_formats (PreferencesDialog* self, cons
GeeArrayList* _tmp3_ = NULL;
GtkComboBoxText* _tmp4_ = NULL;
const gchar* _tmp5_ = NULL;
-#line 2688 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2678 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_if_fail (IS_PREFERENCES_DIALOG (self));
-#line 2688 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2678 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_if_fail (name != NULL);
-#line 2689 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2679 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = name;
-#line 2689 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2679 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = pattern;
-#line 2689 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2679 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp2_ = preferences_dialog_path_format_new (_tmp0_, _tmp1_);
-#line 2689 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2679 "/home/jens/Source/shotwell/src/Dialogs.vala"
pf = _tmp2_;
-#line 2690 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2680 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp3_ = self->priv->path_formats;
-#line 2690 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2680 "/home/jens/Source/shotwell/src/Dialogs.vala"
gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), pf);
-#line 2691 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2681 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp4_ = self->priv->dir_pattern_combo;
-#line 2691 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2681 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp5_ = name;
-#line 2691 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2681 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_combo_box_text_append_text (_tmp4_, _tmp5_);
-#line 2688 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2678 "/home/jens/Source/shotwell/src/Dialogs.vala"
_preferences_dialog_path_format_unref0 (pf);
-#line 20547 "Dialogs.c"
+#line 20228 "Dialogs.c"
}
@@ -20569,21 +20250,21 @@ static void preferences_dialog_on_lowercase_toggled (PreferencesDialog* self) {
ConfigFacade* _tmp1_ = NULL;
GtkCheckButton* _tmp2_ = NULL;
gboolean _tmp3_ = FALSE;
-#line 2694 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2684 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_if_fail (IS_PREFERENCES_DIALOG (self));
-#line 2695 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2685 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = config_facade_get_instance ();
-#line 2695 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2685 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = _tmp0_;
-#line 2695 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2685 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp2_ = self->priv->lowercase;
-#line 2695 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2685 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp3_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_toggle_button_get_type (), GtkToggleButton));
-#line 2695 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2685 "/home/jens/Source/shotwell/src/Dialogs.vala"
configuration_facade_set_use_lowercase_filenames (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp3_);
-#line 2695 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2685 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_tmp1_);
-#line 20570 "Dialogs.c"
+#line 20251 "Dialogs.c"
}
@@ -20593,246 +20274,246 @@ static PreferencesDialogPathFormat* preferences_dialog_path_format_construct (GT
gchar* _tmp1_ = NULL;
const gchar* _tmp2_ = NULL;
gchar* _tmp3_ = NULL;
-#line 2276 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2266 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_val_if_fail (name != NULL, NULL);
-#line 2276 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2266 "/home/jens/Source/shotwell/src/Dialogs.vala"
self = (PreferencesDialogPathFormat*) g_type_create_instance (object_type);
-#line 2277 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2267 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = name;
-#line 2277 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2267 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = g_strdup (_tmp0_);
-#line 2277 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2267 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (self->name);
-#line 2277 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2267 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->name = _tmp1_;
-#line 2278 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2268 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp2_ = pattern;
-#line 2278 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2268 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp3_ = g_strdup (_tmp2_);
-#line 2278 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2268 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (self->pattern);
-#line 2278 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2268 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->pattern = _tmp3_;
-#line 2276 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2266 "/home/jens/Source/shotwell/src/Dialogs.vala"
return self;
-#line 20602 "Dialogs.c"
+#line 20283 "Dialogs.c"
}
static PreferencesDialogPathFormat* preferences_dialog_path_format_new (const gchar* name, const gchar* pattern) {
-#line 2276 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2266 "/home/jens/Source/shotwell/src/Dialogs.vala"
return preferences_dialog_path_format_construct (PREFERENCES_DIALOG_TYPE_PATH_FORMAT, name, pattern);
-#line 20609 "Dialogs.c"
+#line 20290 "Dialogs.c"
}
static void preferences_dialog_value_path_format_init (GValue* value) {
-#line 2275 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
value->data[0].v_pointer = NULL;
-#line 20616 "Dialogs.c"
+#line 20297 "Dialogs.c"
}
static void preferences_dialog_value_path_format_free_value (GValue* value) {
-#line 2275 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (value->data[0].v_pointer) {
-#line 2275 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
preferences_dialog_path_format_unref (value->data[0].v_pointer);
-#line 20625 "Dialogs.c"
+#line 20306 "Dialogs.c"
}
}
static void preferences_dialog_value_path_format_copy_value (const GValue* src_value, GValue* dest_value) {
-#line 2275 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (src_value->data[0].v_pointer) {
-#line 2275 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
dest_value->data[0].v_pointer = preferences_dialog_path_format_ref (src_value->data[0].v_pointer);
-#line 20635 "Dialogs.c"
+#line 20316 "Dialogs.c"
} else {
-#line 2275 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
dest_value->data[0].v_pointer = NULL;
-#line 20639 "Dialogs.c"
+#line 20320 "Dialogs.c"
}
}
static gpointer preferences_dialog_value_path_format_peek_pointer (const GValue* value) {
-#line 2275 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
return value->data[0].v_pointer;
-#line 20647 "Dialogs.c"
+#line 20328 "Dialogs.c"
}
static gchar* preferences_dialog_value_path_format_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
-#line 2275 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (collect_values[0].v_pointer) {
-#line 20654 "Dialogs.c"
+#line 20335 "Dialogs.c"
PreferencesDialogPathFormat* object;
object = collect_values[0].v_pointer;
-#line 2275 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (object->parent_instance.g_class == NULL) {
-#line 2275 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 20661 "Dialogs.c"
+#line 20342 "Dialogs.c"
} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
-#line 2275 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2265 "/home/jens/Source/shotwell/src/Dialogs.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 20665 "Dialogs.c"
+#line 20346 "Dialogs.c"
}
-#line 2275 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
value->data[0].v_pointer = preferences_dialog_path_format_ref (object);
-#line 20669 "Dialogs.c"
+#line 20350 "Dialogs.c"
} else {
-#line 2275 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
value->data[0].v_pointer = NULL;
-#line 20673 "Dialogs.c"
+#line 20354 "Dialogs.c"
}
-#line 2275 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
return NULL;
-#line 20677 "Dialogs.c"
+#line 20358 "Dialogs.c"
}
static gchar* preferences_dialog_value_path_format_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
PreferencesDialogPathFormat** object_p;
object_p = collect_values[0].v_pointer;
-#line 2275 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (!object_p) {
-#line 2275 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
-#line 20688 "Dialogs.c"
+#line 20369 "Dialogs.c"
}
-#line 2275 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (!value->data[0].v_pointer) {
-#line 2275 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
*object_p = NULL;
-#line 20694 "Dialogs.c"
+#line 20375 "Dialogs.c"
} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
-#line 2275 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
*object_p = value->data[0].v_pointer;
-#line 20698 "Dialogs.c"
+#line 20379 "Dialogs.c"
} else {
-#line 2275 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
*object_p = preferences_dialog_path_format_ref (value->data[0].v_pointer);
-#line 20702 "Dialogs.c"
+#line 20383 "Dialogs.c"
}
-#line 2275 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
return NULL;
-#line 20706 "Dialogs.c"
+#line 20387 "Dialogs.c"
}
static GParamSpec* preferences_dialog_param_spec_path_format (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) {
PreferencesDialogParamSpecPathFormat* spec;
-#line 2275 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_val_if_fail (g_type_is_a (object_type, PREFERENCES_DIALOG_TYPE_PATH_FORMAT), NULL);
-#line 2275 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags);
-#line 2275 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
G_PARAM_SPEC (spec)->value_type = object_type;
-#line 2275 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
return G_PARAM_SPEC (spec);
-#line 20720 "Dialogs.c"
+#line 20401 "Dialogs.c"
}
static gpointer preferences_dialog_value_get_path_format (const GValue* value) {
-#line 2275 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PREFERENCES_DIALOG_TYPE_PATH_FORMAT), NULL);
-#line 2275 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
return value->data[0].v_pointer;
-#line 20729 "Dialogs.c"
+#line 20410 "Dialogs.c"
}
static void preferences_dialog_value_set_path_format (GValue* value, gpointer v_object) {
PreferencesDialogPathFormat* old;
-#line 2275 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PREFERENCES_DIALOG_TYPE_PATH_FORMAT));
-#line 2275 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
old = value->data[0].v_pointer;
-#line 2275 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (v_object) {
-#line 2275 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, PREFERENCES_DIALOG_TYPE_PATH_FORMAT));
-#line 2275 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
-#line 2275 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
value->data[0].v_pointer = v_object;
-#line 2275 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
preferences_dialog_path_format_ref (value->data[0].v_pointer);
-#line 20749 "Dialogs.c"
+#line 20430 "Dialogs.c"
} else {
-#line 2275 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
value->data[0].v_pointer = NULL;
-#line 20753 "Dialogs.c"
+#line 20434 "Dialogs.c"
}
-#line 2275 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (old) {
-#line 2275 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
preferences_dialog_path_format_unref (old);
-#line 20759 "Dialogs.c"
+#line 20440 "Dialogs.c"
}
}
static void preferences_dialog_value_take_path_format (GValue* value, gpointer v_object) {
PreferencesDialogPathFormat* old;
-#line 2275 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, PREFERENCES_DIALOG_TYPE_PATH_FORMAT));
-#line 2275 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
old = value->data[0].v_pointer;
-#line 2275 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (v_object) {
-#line 2275 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, PREFERENCES_DIALOG_TYPE_PATH_FORMAT));
-#line 2275 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
-#line 2275 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
value->data[0].v_pointer = v_object;
-#line 20778 "Dialogs.c"
+#line 20459 "Dialogs.c"
} else {
-#line 2275 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
value->data[0].v_pointer = NULL;
-#line 20782 "Dialogs.c"
+#line 20463 "Dialogs.c"
}
-#line 2275 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (old) {
-#line 2275 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
preferences_dialog_path_format_unref (old);
-#line 20788 "Dialogs.c"
+#line 20469 "Dialogs.c"
}
}
static void preferences_dialog_path_format_class_init (PreferencesDialogPathFormatClass * klass) {
-#line 2275 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
preferences_dialog_path_format_parent_class = g_type_class_peek_parent (klass);
-#line 2275 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
((PreferencesDialogPathFormatClass *) klass)->finalize = preferences_dialog_path_format_finalize;
-#line 20798 "Dialogs.c"
+#line 20479 "Dialogs.c"
}
static void preferences_dialog_path_format_instance_init (PreferencesDialogPathFormat * self) {
-#line 2275 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->ref_count = 1;
-#line 20805 "Dialogs.c"
+#line 20486 "Dialogs.c"
}
static void preferences_dialog_path_format_finalize (PreferencesDialogPathFormat* obj) {
PreferencesDialogPathFormat * self;
-#line 2275 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, PREFERENCES_DIALOG_TYPE_PATH_FORMAT, PreferencesDialogPathFormat);
-#line 2275 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_signal_handlers_destroy (self);
-#line 2280 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2270 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (self->name);
-#line 2281 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2271 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (self->pattern);
-#line 20819 "Dialogs.c"
+#line 20500 "Dialogs.c"
}
@@ -20853,216 +20534,216 @@ static GType preferences_dialog_path_format_get_type (void) {
static gpointer preferences_dialog_path_format_ref (gpointer instance) {
PreferencesDialogPathFormat* self;
self = instance;
-#line 2275 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_atomic_int_inc (&self->ref_count);
-#line 2275 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
return instance;
-#line 20844 "Dialogs.c"
+#line 20525 "Dialogs.c"
}
static void preferences_dialog_path_format_unref (gpointer instance) {
PreferencesDialogPathFormat* self;
self = instance;
-#line 2275 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (g_atomic_int_dec_and_test (&self->ref_count)) {
-#line 2275 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
PREFERENCES_DIALOG_PATH_FORMAT_GET_CLASS (self)->finalize (self);
-#line 2275 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2265 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_type_free_instance ((GTypeInstance *) self);
-#line 20857 "Dialogs.c"
+#line 20538 "Dialogs.c"
}
}
static void value_preferences_dialog_init (GValue* value) {
-#line 2274 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
value->data[0].v_pointer = NULL;
-#line 20865 "Dialogs.c"
+#line 20546 "Dialogs.c"
}
static void value_preferences_dialog_free_value (GValue* value) {
-#line 2274 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (value->data[0].v_pointer) {
-#line 2274 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
preferences_dialog_unref (value->data[0].v_pointer);
-#line 20874 "Dialogs.c"
+#line 20555 "Dialogs.c"
}
}
static void value_preferences_dialog_copy_value (const GValue* src_value, GValue* dest_value) {
-#line 2274 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (src_value->data[0].v_pointer) {
-#line 2274 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
dest_value->data[0].v_pointer = preferences_dialog_ref (src_value->data[0].v_pointer);
-#line 20884 "Dialogs.c"
+#line 20565 "Dialogs.c"
} else {
-#line 2274 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
dest_value->data[0].v_pointer = NULL;
-#line 20888 "Dialogs.c"
+#line 20569 "Dialogs.c"
}
}
static gpointer value_preferences_dialog_peek_pointer (const GValue* value) {
-#line 2274 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
return value->data[0].v_pointer;
-#line 20896 "Dialogs.c"
+#line 20577 "Dialogs.c"
}
static gchar* value_preferences_dialog_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
-#line 2274 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (collect_values[0].v_pointer) {
-#line 20903 "Dialogs.c"
+#line 20584 "Dialogs.c"
PreferencesDialog* object;
object = collect_values[0].v_pointer;
-#line 2274 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (object->parent_instance.g_class == NULL) {
-#line 2274 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 20910 "Dialogs.c"
+#line 20591 "Dialogs.c"
} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
-#line 2274 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2264 "/home/jens/Source/shotwell/src/Dialogs.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 20914 "Dialogs.c"
+#line 20595 "Dialogs.c"
}
-#line 2274 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
value->data[0].v_pointer = preferences_dialog_ref (object);
-#line 20918 "Dialogs.c"
+#line 20599 "Dialogs.c"
} else {
-#line 2274 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
value->data[0].v_pointer = NULL;
-#line 20922 "Dialogs.c"
+#line 20603 "Dialogs.c"
}
-#line 2274 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
return NULL;
-#line 20926 "Dialogs.c"
+#line 20607 "Dialogs.c"
}
static gchar* value_preferences_dialog_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
PreferencesDialog** object_p;
object_p = collect_values[0].v_pointer;
-#line 2274 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (!object_p) {
-#line 2274 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
-#line 20937 "Dialogs.c"
+#line 20618 "Dialogs.c"
}
-#line 2274 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (!value->data[0].v_pointer) {
-#line 2274 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
*object_p = NULL;
-#line 20943 "Dialogs.c"
+#line 20624 "Dialogs.c"
} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
-#line 2274 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
*object_p = value->data[0].v_pointer;
-#line 20947 "Dialogs.c"
+#line 20628 "Dialogs.c"
} else {
-#line 2274 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
*object_p = preferences_dialog_ref (value->data[0].v_pointer);
-#line 20951 "Dialogs.c"
+#line 20632 "Dialogs.c"
}
-#line 2274 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
return NULL;
-#line 20955 "Dialogs.c"
+#line 20636 "Dialogs.c"
}
GParamSpec* param_spec_preferences_dialog (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) {
ParamSpecPreferencesDialog* spec;
-#line 2274 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_val_if_fail (g_type_is_a (object_type, TYPE_PREFERENCES_DIALOG), NULL);
-#line 2274 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags);
-#line 2274 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
G_PARAM_SPEC (spec)->value_type = object_type;
-#line 2274 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
return G_PARAM_SPEC (spec);
-#line 20969 "Dialogs.c"
+#line 20650 "Dialogs.c"
}
gpointer value_get_preferences_dialog (const GValue* value) {
-#line 2274 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_PREFERENCES_DIALOG), NULL);
-#line 2274 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
return value->data[0].v_pointer;
-#line 20978 "Dialogs.c"
+#line 20659 "Dialogs.c"
}
void value_set_preferences_dialog (GValue* value, gpointer v_object) {
PreferencesDialog* old;
-#line 2274 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_PREFERENCES_DIALOG));
-#line 2274 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
old = value->data[0].v_pointer;
-#line 2274 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (v_object) {
-#line 2274 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TYPE_PREFERENCES_DIALOG));
-#line 2274 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
-#line 2274 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
value->data[0].v_pointer = v_object;
-#line 2274 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
preferences_dialog_ref (value->data[0].v_pointer);
-#line 20998 "Dialogs.c"
+#line 20679 "Dialogs.c"
} else {
-#line 2274 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
value->data[0].v_pointer = NULL;
-#line 21002 "Dialogs.c"
+#line 20683 "Dialogs.c"
}
-#line 2274 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (old) {
-#line 2274 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
preferences_dialog_unref (old);
-#line 21008 "Dialogs.c"
+#line 20689 "Dialogs.c"
}
}
void value_take_preferences_dialog (GValue* value, gpointer v_object) {
PreferencesDialog* old;
-#line 2274 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_PREFERENCES_DIALOG));
-#line 2274 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
old = value->data[0].v_pointer;
-#line 2274 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (v_object) {
-#line 2274 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TYPE_PREFERENCES_DIALOG));
-#line 2274 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
-#line 2274 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
value->data[0].v_pointer = v_object;
-#line 21027 "Dialogs.c"
+#line 20708 "Dialogs.c"
} else {
-#line 2274 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
value->data[0].v_pointer = NULL;
-#line 21031 "Dialogs.c"
+#line 20712 "Dialogs.c"
}
-#line 2274 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (old) {
-#line 2274 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
preferences_dialog_unref (old);
-#line 21037 "Dialogs.c"
+#line 20718 "Dialogs.c"
}
}
static void preferences_dialog_class_init (PreferencesDialogClass * klass) {
-#line 2274 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
preferences_dialog_parent_class = g_type_class_peek_parent (klass);
-#line 2274 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
((PreferencesDialogClass *) klass)->finalize = preferences_dialog_finalize;
-#line 2274 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_type_class_add_private (klass, sizeof (PreferencesDialogPrivate));
-#line 21049 "Dialogs.c"
+#line 20730 "Dialogs.c"
}
@@ -21070,73 +20751,73 @@ static void preferences_dialog_instance_init (PreferencesDialog * self) {
GeeArrayList* _tmp0_ = NULL;
GDateTime* _tmp1_ = NULL;
PluginsManifestWidgetMediator* _tmp2_ = NULL;
-#line 2274 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv = PREFERENCES_DIALOG_GET_PRIVATE (self);
-#line 2298 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2288 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->allow_closing = FALSE;
-#line 2299 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2289 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->lib_dir = NULL;
-#line 2300 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2290 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = gee_array_list_new (PREFERENCES_DIALOG_TYPE_PATH_FORMAT, (GBoxedCopyFunc) preferences_dialog_path_format_ref, preferences_dialog_path_format_unref, NULL, NULL, NULL);
-#line 2300 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2290 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->path_formats = _tmp0_;
-#line 2301 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2291 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = g_date_time_new_local (2009, 3, 10, 18, 16, (gdouble) 11);
-#line 2301 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2291 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->example_date = _tmp1_;
-#line 2303 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2293 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp2_ = plugins_manifest_widget_mediator_new ();
-#line 2303 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2293 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->priv->plugins_mediator = _tmp2_;
-#line 2274 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
self->ref_count = 1;
-#line 21077 "Dialogs.c"
+#line 20758 "Dialogs.c"
}
static void preferences_dialog_finalize (PreferencesDialog* obj) {
PreferencesDialog * self;
-#line 2274 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_PREFERENCES_DIALOG, PreferencesDialog);
-#line 2274 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_signal_handlers_destroy (self);
-#line 2286 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2276 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->dialog);
-#line 2287 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2277 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->builder);
-#line 2288 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2278 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->bg_color_adjustment);
-#line 2289 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2279 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->bg_color_slider);
-#line 2290 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2280 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->photo_editor_combo);
-#line 2291 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2281 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->raw_editor_combo);
-#line 2292 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2282 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->external_raw_apps);
-#line 2293 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2283 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->external_photo_apps);
-#line 2294 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2284 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->library_dir_button);
-#line 2295 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2285 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->dir_pattern_combo);
-#line 2296 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2286 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->dir_pattern_entry);
-#line 2297 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2287 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->dir_pattern_example);
-#line 2299 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2289 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (self->priv->lib_dir);
-#line 2300 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2290 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->path_formats);
-#line 2301 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2291 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_date_time_unref0 (self->priv->example_date);
-#line 2302 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2292 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->lowercase);
-#line 2303 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2293 "/home/jens/Source/shotwell/src/Dialogs.vala"
_plugins_manifest_widget_mediator_unref0 (self->priv->plugins_mediator);
-#line 2304 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2294 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (self->priv->default_raw_developer_combo);
-#line 21123 "Dialogs.c"
+#line 20804 "Dialogs.c"
}
@@ -21157,24 +20838,24 @@ GType preferences_dialog_get_type (void) {
gpointer preferences_dialog_ref (gpointer instance) {
PreferencesDialog* self;
self = instance;
-#line 2274 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_atomic_int_inc (&self->ref_count);
-#line 2274 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
return instance;
-#line 21148 "Dialogs.c"
+#line 20829 "Dialogs.c"
}
void preferences_dialog_unref (gpointer instance) {
PreferencesDialog* self;
self = instance;
-#line 2274 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (g_atomic_int_dec_and_test (&self->ref_count)) {
-#line 2274 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
PREFERENCES_DIALOG_GET_CLASS (self)->finalize (self);
-#line 2274 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2264 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_type_free_instance ((GTypeInstance *) self);
-#line 21161 "Dialogs.c"
+#line 20842 "Dialogs.c"
}
}
@@ -21194,54 +20875,54 @@ GtkResponseType copy_files_dialog (void) {
const gchar* _tmp8_ = NULL;
GtkResponseType _result_ = 0;
gint _tmp9_ = 0;
-#line 2702 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2692 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = _ ("Shotwell can copy the photos into your library folder or it can import" \
" them without copying.");
-#line 2702 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2692 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = g_strdup (_tmp0_);
-#line 2702 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2692 "/home/jens/Source/shotwell/src/Dialogs.vala"
msg = _tmp1_;
-#line 2704 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2694 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp2_ = app_window_get_instance ();
-#line 2704 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2694 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp3_ = _tmp2_;
-#line 2704 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2694 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp4_ = (GtkMessageDialog*) gtk_message_dialog_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_window_get_type (), GtkWindow), GTK_DIALOG_MODAL, GTK_MESSAGE_QUESTION, GTK_BUTTONS_CANCEL, "%s", msg);
-#line 2704 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2694 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_object_ref_sink (_tmp4_);
-#line 2704 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2694 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp5_ = _tmp4_;
-#line 2704 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2694 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_tmp3_);
-#line 2704 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2694 "/home/jens/Source/shotwell/src/Dialogs.vala"
dialog = _tmp5_;
-#line 2707 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2697 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp6_ = _ ("Co_py Photos");
-#line 2707 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2697 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_dialog_add_button (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_dialog_get_type (), GtkDialog), _tmp6_, (gint) GTK_RESPONSE_ACCEPT);
-#line 2708 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2698 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp7_ = _ ("_Import in Place");
-#line 2708 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2698 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_dialog_add_button (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_dialog_get_type (), GtkDialog), _tmp7_, (gint) GTK_RESPONSE_REJECT);
-#line 2709 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2699 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp8_ = _ ("Import to Library");
-#line 2709 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2699 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_window_set_title (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_window_get_type (), GtkWindow), _tmp8_);
-#line 2711 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2701 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp9_ = gtk_dialog_run (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_dialog_get_type (), GtkDialog));
-#line 2711 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2701 "/home/jens/Source/shotwell/src/Dialogs.vala"
_result_ = (GtkResponseType) _tmp9_;
-#line 2713 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2703 "/home/jens/Source/shotwell/src/Dialogs.vala"
gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (dialog, gtk_widget_get_type (), GtkWidget));
-#line 2715 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2705 "/home/jens/Source/shotwell/src/Dialogs.vala"
result = _result_;
-#line 2715 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2705 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (dialog);
-#line 2715 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2705 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (msg);
-#line 2715 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2705 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 21227 "Dialogs.c"
+#line 20908 "Dialogs.c"
}
@@ -21252,47 +20933,47 @@ void remove_photos_from_library (GeeCollection* photos) {
gint _tmp3_ = 0;
GeeCollection* _tmp6_ = NULL;
const gchar* _tmp7_ = NULL;
-#line 2718 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2708 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_if_fail (GEE_IS_COLLECTION (photos));
-#line 2720 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2710 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = photos;
-#line 2720 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2710 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp2_ = gee_collection_get_size (_tmp1_);
-#line 2720 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2710 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp3_ = _tmp2_;
-#line 2720 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2710 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp3_ == 1) {
-#line 21248 "Dialogs.c"
+#line 20929 "Dialogs.c"
const gchar* _tmp4_ = NULL;
-#line 2720 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2710 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp4_ = _ ("Removing Photo From Library");
-#line 2720 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2710 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = _tmp4_;
-#line 21254 "Dialogs.c"
+#line 20935 "Dialogs.c"
} else {
const gchar* _tmp5_ = NULL;
-#line 2720 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2710 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp5_ = _ ("Removing Photos From Library");
-#line 2720 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2710 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = _tmp5_;
-#line 21261 "Dialogs.c"
+#line 20942 "Dialogs.c"
}
-#line 2719 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2709 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp6_ = photos;
-#line 2719 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2709 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp7_ = _ ("Remove From Library");
-#line 2719 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2709 "/home/jens/Source/shotwell/src/Dialogs.vala"
remove_from_app (_tmp6_, _tmp7_, _tmp0_);
-#line 21269 "Dialogs.c"
+#line 20950 "Dialogs.c"
}
static gboolean _progress_dialog_monitor_progress_monitor (guint64 current, guint64 total, gboolean do_event_loop, gpointer self) {
gboolean result;
result = progress_dialog_monitor ((ProgressDialog*) self, current, total, do_event_loop);
-#line 2760 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2750 "/home/jens/Source/shotwell/src/Dialogs.vala"
return result;
-#line 21278 "Dialogs.c"
+#line 20959 "Dialogs.c"
}
@@ -21363,71 +21044,71 @@ void remove_from_app (GeeCollection* sources, const gchar* dialog_title, const g
ProgressDialog* _tmp122_ = NULL;
AppWindow* _tmp124_ = NULL;
AppWindow* _tmp125_ = NULL;
-#line 2723 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2713 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_if_fail (GEE_IS_COLLECTION (sources));
-#line 2723 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2713 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_if_fail (dialog_title != NULL);
-#line 2723 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2713 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_return_if_fail (progress_dialog_text != NULL);
-#line 2725 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2715 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp0_ = sources;
-#line 2725 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2715 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp1_ = gee_collection_get_size (_tmp0_);
-#line 2725 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2715 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp2_ = _tmp1_;
-#line 2725 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2715 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp2_ == 0) {
-#line 2726 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2716 "/home/jens/Source/shotwell/src/Dialogs.vala"
return;
-#line 21365 "Dialogs.c"
+#line 21046 "Dialogs.c"
}
-#line 2728 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2718 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp3_ = gee_array_list_new (TYPE_LIBRARY_PHOTO, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL);
-#line 2728 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2718 "/home/jens/Source/shotwell/src/Dialogs.vala"
photos = _tmp3_;
-#line 2729 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2719 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp4_ = gee_array_list_new (TYPE_VIDEO, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL);
-#line 2729 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2719 "/home/jens/Source/shotwell/src/Dialogs.vala"
videos = _tmp4_;
-#line 2730 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2720 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp5_ = sources;
-#line 2730 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2720 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp6_ = photos;
-#line 2730 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2720 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp7_ = videos;
-#line 2730 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2720 "/home/jens/Source/shotwell/src/Dialogs.vala"
media_source_collection_filter_media (_tmp5_, G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, GEE_TYPE_COLLECTION, GeeCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 2732 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2722 "/home/jens/Source/shotwell/src/Dialogs.vala"
user_message = NULL;
-#line 2733 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2723 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp9_ = photos;
-#line 2733 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2723 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp10_ = gee_collection_get_is_empty (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 2733 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2723 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp11_ = _tmp10_;
-#line 2733 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2723 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (!_tmp11_) {
-#line 21393 "Dialogs.c"
+#line 21074 "Dialogs.c"
GeeArrayList* _tmp12_ = NULL;
gboolean _tmp13_ = FALSE;
gboolean _tmp14_ = FALSE;
-#line 2733 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2723 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp12_ = videos;
-#line 2733 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2723 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp13_ = gee_collection_get_is_empty (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 2733 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2723 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp14_ = _tmp13_;
-#line 2733 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2723 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp8_ = !_tmp14_;
-#line 21405 "Dialogs.c"
+#line 21086 "Dialogs.c"
} else {
-#line 2733 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2723 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp8_ = FALSE;
-#line 21409 "Dialogs.c"
+#line 21090 "Dialogs.c"
}
-#line 2733 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2723 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp8_) {
-#line 21413 "Dialogs.c"
+#line 21094 "Dialogs.c"
GeeCollection* _tmp15_ = NULL;
gint _tmp16_ = 0;
gint _tmp17_ = 0;
@@ -21436,13 +21117,13 @@ void remove_from_app (GeeCollection* sources, const gchar* dialog_title, const g
gint _tmp20_ = 0;
gint _tmp21_ = 0;
gchar* _tmp22_ = NULL;
-#line 2734 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2724 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp15_ = sources;
-#line 2734 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2724 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp16_ = gee_collection_get_size (_tmp15_);
-#line 2734 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2724 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp17_ = _tmp16_;
-#line 2734 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2724 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp18_ = ngettext ("This will remove the photo/video from your Shotwell library. Would you" \
" also like to move the file to your desktop trash?\n" \
"\n" \
@@ -21450,32 +21131,32 @@ void remove_from_app (GeeCollection* sources, const gchar* dialog_title, const g
"u also like to move the files to your desktop trash?\n" \
"\n" \
"This action cannot be undone.", (gulong) _tmp17_);
-#line 2734 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2724 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp19_ = sources;
-#line 2734 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2724 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp20_ = gee_collection_get_size (_tmp19_);
-#line 2734 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2724 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp21_ = _tmp20_;
-#line 2734 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2724 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp22_ = g_strdup_printf (_tmp18_, _tmp21_);
-#line 2734 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2724 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (user_message);
-#line 2734 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2724 "/home/jens/Source/shotwell/src/Dialogs.vala"
user_message = _tmp22_;
-#line 21442 "Dialogs.c"
+#line 21123 "Dialogs.c"
} else {
GeeArrayList* _tmp23_ = NULL;
gboolean _tmp24_ = FALSE;
gboolean _tmp25_ = FALSE;
-#line 2737 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2727 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp23_ = videos;
-#line 2737 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2727 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp24_ = gee_collection_get_is_empty (G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 2737 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2727 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp25_ = _tmp24_;
-#line 2737 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2727 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (!_tmp25_) {
-#line 21455 "Dialogs.c"
+#line 21136 "Dialogs.c"
GeeCollection* _tmp26_ = NULL;
gint _tmp27_ = 0;
gint _tmp28_ = 0;
@@ -21484,13 +21165,13 @@ void remove_from_app (GeeCollection* sources, const gchar* dialog_title, const g
gint _tmp31_ = 0;
gint _tmp32_ = 0;
gchar* _tmp33_ = NULL;
-#line 2738 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2728 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp26_ = sources;
-#line 2738 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2728 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp27_ = gee_collection_get_size (_tmp26_);
-#line 2738 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2728 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp28_ = _tmp27_;
-#line 2738 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2728 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp29_ = ngettext ("This will remove the video from your Shotwell library. Would you also " \
"like to move the file to your desktop trash?\n" \
"\n" \
@@ -21498,19 +21179,19 @@ void remove_from_app (GeeCollection* sources, const gchar* dialog_title, const g
"like to move the files to your desktop trash?\n" \
"\n" \
"This action cannot be undone.", (gulong) _tmp28_);
-#line 2738 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2728 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp30_ = sources;
-#line 2738 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2728 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp31_ = gee_collection_get_size (_tmp30_);
-#line 2738 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2728 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp32_ = _tmp31_;
-#line 2738 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2728 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp33_ = g_strdup_printf (_tmp29_, _tmp32_);
-#line 2738 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2728 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (user_message);
-#line 2738 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2728 "/home/jens/Source/shotwell/src/Dialogs.vala"
user_message = _tmp33_;
-#line 21484 "Dialogs.c"
+#line 21165 "Dialogs.c"
} else {
GeeCollection* _tmp34_ = NULL;
gint _tmp35_ = 0;
@@ -21520,13 +21201,13 @@ void remove_from_app (GeeCollection* sources, const gchar* dialog_title, const g
gint _tmp39_ = 0;
gint _tmp40_ = 0;
gchar* _tmp41_ = NULL;
-#line 2742 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2732 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp34_ = sources;
-#line 2742 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2732 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp35_ = gee_collection_get_size (_tmp34_);
-#line 2742 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2732 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp36_ = _tmp35_;
-#line 2742 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2732 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp37_ = ngettext ("This will remove the photo from your Shotwell library. Would you also " \
"like to move the file to your desktop trash?\n" \
"\n" \
@@ -21534,208 +21215,208 @@ void remove_from_app (GeeCollection* sources, const gchar* dialog_title, const g
"like to move the files to your desktop trash?\n" \
"\n" \
"This action cannot be undone.", (gulong) _tmp36_);
-#line 2742 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2732 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp38_ = sources;
-#line 2742 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2732 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp39_ = gee_collection_get_size (_tmp38_);
-#line 2742 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2732 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp40_ = _tmp39_;
-#line 2742 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2732 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp41_ = g_strdup_printf (_tmp37_, _tmp40_);
-#line 2742 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2732 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (user_message);
-#line 2742 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2732 "/home/jens/Source/shotwell/src/Dialogs.vala"
user_message = _tmp41_;
-#line 21514 "Dialogs.c"
+#line 21195 "Dialogs.c"
}
}
-#line 2747 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2737 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp42_ = app_window_get_instance ();
-#line 2747 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2737 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp43_ = _tmp42_;
-#line 2747 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2737 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp44_ = dialog_title;
-#line 2747 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2737 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp45_ = user_message;
-#line 2747 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2737 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp46_ = sources;
-#line 2747 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2737 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp47_ = gee_collection_get_size (_tmp46_);
-#line 2747 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2737 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp48_ = _tmp47_;
-#line 2747 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2737 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp49_ = remove_from_library_dialog (G_TYPE_CHECK_INSTANCE_CAST (_tmp43_, gtk_window_get_type (), GtkWindow), _tmp44_, _tmp45_, _tmp48_);
-#line 2747 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2737 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp50_ = _tmp49_;
-#line 2747 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2737 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_tmp43_);
-#line 2747 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2737 "/home/jens/Source/shotwell/src/Dialogs.vala"
_result_ = _tmp50_;
-#line 2749 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2739 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp52_ = _result_;
-#line 2749 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2739 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp52_ != GTK_RESPONSE_YES) {
-#line 21543 "Dialogs.c"
+#line 21224 "Dialogs.c"
GtkResponseType _tmp53_ = 0;
-#line 2749 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2739 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp53_ = _result_;
-#line 2749 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2739 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp51_ = _tmp53_ != GTK_RESPONSE_NO;
-#line 21549 "Dialogs.c"
+#line 21230 "Dialogs.c"
} else {
-#line 2749 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2739 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp51_ = FALSE;
-#line 21553 "Dialogs.c"
+#line 21234 "Dialogs.c"
}
-#line 2749 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2739 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp51_) {
-#line 2750 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2740 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (user_message);
-#line 2750 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2740 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (videos);
-#line 2750 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2740 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (photos);
-#line 2750 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2740 "/home/jens/Source/shotwell/src/Dialogs.vala"
return;
-#line 21565 "Dialogs.c"
+#line 21246 "Dialogs.c"
}
-#line 2752 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2742 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp54_ = _result_;
-#line 2752 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2742 "/home/jens/Source/shotwell/src/Dialogs.vala"
delete_backing = _tmp54_ == GTK_RESPONSE_YES;
-#line 2754 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2744 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp55_ = app_window_get_instance ();
-#line 2754 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2744 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp56_ = _tmp55_;
-#line 2754 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2744 "/home/jens/Source/shotwell/src/Dialogs.vala"
page_window_set_busy_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp56_, TYPE_PAGE_WINDOW, PageWindow));
-#line 2754 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2744 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_tmp56_);
-#line 2756 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2746 "/home/jens/Source/shotwell/src/Dialogs.vala"
progress = NULL;
-#line 2757 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2747 "/home/jens/Source/shotwell/src/Dialogs.vala"
monitor = NULL;
-#line 2757 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2747 "/home/jens/Source/shotwell/src/Dialogs.vala"
monitor_target = NULL;
-#line 2757 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2747 "/home/jens/Source/shotwell/src/Dialogs.vala"
monitor_target_destroy_notify = NULL;
-#line 2758 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2748 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp57_ = sources;
-#line 2758 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2748 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp58_ = gee_collection_get_size (_tmp57_);
-#line 2758 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2748 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp59_ = _tmp58_;
-#line 2758 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2748 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp59_ >= 20) {
-#line 21595 "Dialogs.c"
+#line 21276 "Dialogs.c"
AppWindow* _tmp60_ = NULL;
AppWindow* _tmp61_ = NULL;
const gchar* _tmp62_ = NULL;
ProgressDialog* _tmp63_ = NULL;
ProgressDialog* _tmp64_ = NULL;
-#line 2759 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2749 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp60_ = app_window_get_instance ();
-#line 2759 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2749 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp61_ = _tmp60_;
-#line 2759 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2749 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp62_ = progress_dialog_text;
-#line 2759 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2749 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp63_ = progress_dialog_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp61_, gtk_window_get_type (), GtkWindow), _tmp62_, NULL);
-#line 2759 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2749 "/home/jens/Source/shotwell/src/Dialogs.vala"
g_object_ref_sink (_tmp63_);
-#line 2759 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2749 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (progress);
-#line 2759 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2749 "/home/jens/Source/shotwell/src/Dialogs.vala"
progress = _tmp63_;
-#line 2759 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2749 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_tmp61_);
-#line 2760 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2750 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp64_ = progress;
-#line 2760 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2750 "/home/jens/Source/shotwell/src/Dialogs.vala"
(monitor_target_destroy_notify == NULL) ? NULL : (monitor_target_destroy_notify (monitor_target), NULL);
-#line 2760 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2750 "/home/jens/Source/shotwell/src/Dialogs.vala"
monitor = NULL;
-#line 2760 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2750 "/home/jens/Source/shotwell/src/Dialogs.vala"
monitor_target = NULL;
-#line 2760 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2750 "/home/jens/Source/shotwell/src/Dialogs.vala"
monitor_target_destroy_notify = NULL;
-#line 2760 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2750 "/home/jens/Source/shotwell/src/Dialogs.vala"
monitor = _progress_dialog_monitor_progress_monitor;
-#line 2760 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2750 "/home/jens/Source/shotwell/src/Dialogs.vala"
monitor_target = g_object_ref (_tmp64_);
-#line 2760 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2750 "/home/jens/Source/shotwell/src/Dialogs.vala"
monitor_target_destroy_notify = g_object_unref;
-#line 21633 "Dialogs.c"
+#line 21314 "Dialogs.c"
}
-#line 2763 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2753 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp65_ = gee_array_list_new (TYPE_LIBRARY_PHOTO, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL);
-#line 2763 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2753 "/home/jens/Source/shotwell/src/Dialogs.vala"
not_removed_photos = _tmp65_;
-#line 2764 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2754 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp66_ = gee_array_list_new (TYPE_VIDEO, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL);
-#line 2764 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2754 "/home/jens/Source/shotwell/src/Dialogs.vala"
not_removed_videos = _tmp66_;
-#line 2767 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2757 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp67_ = library_photo_global;
-#line 2767 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2757 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp68_ = photos;
-#line 2767 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2757 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp69_ = delete_backing;
-#line 2767 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2757 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp70_ = monitor;
-#line 2767 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2757 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp70__target = monitor_target;
-#line 2767 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2757 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp71_ = not_removed_photos;
-#line 2767 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2757 "/home/jens/Source/shotwell/src/Dialogs.vala"
media_source_collection_remove_from_app (G_TYPE_CHECK_INSTANCE_CAST (_tmp67_, TYPE_MEDIA_SOURCE_COLLECTION, MediaSourceCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp68_, GEE_TYPE_COLLECTION, GeeCollection), _tmp69_, _tmp70_, _tmp70__target, G_TYPE_CHECK_INSTANCE_CAST (_tmp71_, GEE_TYPE_LIST, GeeList));
-#line 2768 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2758 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp72_ = video_global;
-#line 2768 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2758 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp73_ = videos;
-#line 2768 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2758 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp74_ = delete_backing;
-#line 2768 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2758 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp75_ = monitor;
-#line 2768 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2758 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp75__target = monitor_target;
-#line 2768 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2758 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp76_ = not_removed_videos;
-#line 2768 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2758 "/home/jens/Source/shotwell/src/Dialogs.vala"
media_source_collection_remove_from_app (G_TYPE_CHECK_INSTANCE_CAST (_tmp72_, TYPE_MEDIA_SOURCE_COLLECTION, MediaSourceCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp73_, GEE_TYPE_COLLECTION, GeeCollection), _tmp74_, _tmp75_, _tmp75__target, G_TYPE_CHECK_INSTANCE_CAST (_tmp76_, GEE_TYPE_LIST, GeeList));
-#line 2771 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2761 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp77_ = not_removed_photos;
-#line 2771 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2761 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp78_ = gee_abstract_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp77_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 2771 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2761 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp79_ = _tmp78_;
-#line 2771 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2761 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp80_ = not_removed_videos;
-#line 2771 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2761 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp81_ = gee_abstract_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp80_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 2771 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2761 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp82_ = _tmp81_;
-#line 2771 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2761 "/home/jens/Source/shotwell/src/Dialogs.vala"
num_not_removed = _tmp79_ + _tmp82_;
-#line 2772 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2762 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp84_ = delete_backing;
-#line 2772 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2762 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp84_) {
-#line 21689 "Dialogs.c"
+#line 21370 "Dialogs.c"
gint _tmp85_ = 0;
-#line 2772 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2762 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp85_ = num_not_removed;
-#line 2772 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2762 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp83_ = _tmp85_ > 0;
-#line 21695 "Dialogs.c"
+#line 21376 "Dialogs.c"
} else {
-#line 2772 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2762 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp83_ = FALSE;
-#line 21699 "Dialogs.c"
+#line 21380 "Dialogs.c"
}
-#line 2772 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2762 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp83_) {
-#line 21703 "Dialogs.c"
+#line 21384 "Dialogs.c"
gchar* not_deleted_message = NULL;
gint _tmp86_ = 0;
const gchar* _tmp87_ = NULL;
@@ -21749,39 +21430,39 @@ void remove_from_app (GeeCollection* sources, const gchar* dialog_title, const g
GtkResponseType _tmp94_ = 0;
GtkResponseType _tmp95_ = 0;
GtkResponseType _tmp96_ = 0;
-#line 2773 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2763 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp86_ = num_not_removed;
-#line 2773 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2763 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp87_ = ngettext ("The photo or video cannot be moved to your desktop trash. Delete this " \
"file?", "%d photos/videos cannot be moved to your desktop trash. Delete these f" \
"iles?", (gulong) _tmp86_);
-#line 2773 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2763 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp88_ = num_not_removed;
-#line 2773 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2763 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp89_ = g_strdup_printf (_tmp87_, _tmp88_);
-#line 2773 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2763 "/home/jens/Source/shotwell/src/Dialogs.vala"
not_deleted_message = _tmp89_;
-#line 2777 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2767 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp90_ = app_window_get_instance ();
-#line 2777 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2767 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp91_ = _tmp90_;
-#line 2777 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2767 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp92_ = dialog_title;
-#line 2777 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2767 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp93_ = not_deleted_message;
-#line 2777 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2767 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp94_ = remove_from_filesystem_dialog (G_TYPE_CHECK_INSTANCE_CAST (_tmp91_, gtk_window_get_type (), GtkWindow), _tmp92_, _tmp93_);
-#line 2777 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2767 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp95_ = _tmp94_;
-#line 2777 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2767 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_tmp91_);
-#line 2777 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2767 "/home/jens/Source/shotwell/src/Dialogs.vala"
result_delete = _tmp95_;
-#line 2780 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2770 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp96_ = result_delete;
-#line 2780 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2770 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (GTK_RESPONSE_YES == _tmp96_) {
-#line 21747 "Dialogs.c"
+#line 21428 "Dialogs.c"
GeeArrayList* not_deleted_photos = NULL;
GeeArrayList* _tmp97_ = NULL;
GeeArrayList* not_deleted_videos = NULL;
@@ -21804,57 +21485,57 @@ void remove_from_app (GeeCollection* sources, const gchar* dialog_title, const g
gint _tmp111_ = 0;
gint _tmp112_ = 0;
gint _tmp113_ = 0;
-#line 2782 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2772 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp97_ = gee_array_list_new (TYPE_LIBRARY_PHOTO, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL);
-#line 2782 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2772 "/home/jens/Source/shotwell/src/Dialogs.vala"
not_deleted_photos = _tmp97_;
-#line 2783 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2773 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp98_ = gee_array_list_new (TYPE_VIDEO, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL);
-#line 2783 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2773 "/home/jens/Source/shotwell/src/Dialogs.vala"
not_deleted_videos = _tmp98_;
-#line 2784 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2774 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp99_ = library_photo_global;
-#line 2784 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2774 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp100_ = not_removed_photos;
-#line 2784 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2774 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp101_ = monitor;
-#line 2784 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2774 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp101__target = monitor_target;
-#line 2784 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2774 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp102_ = not_deleted_photos;
-#line 2784 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2774 "/home/jens/Source/shotwell/src/Dialogs.vala"
media_source_collection_delete_backing_files (G_TYPE_CHECK_INSTANCE_CAST (_tmp99_, TYPE_MEDIA_SOURCE_COLLECTION, MediaSourceCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp100_, GEE_TYPE_COLLECTION, GeeCollection), _tmp101_, _tmp101__target, G_TYPE_CHECK_INSTANCE_CAST (_tmp102_, GEE_TYPE_LIST, GeeList));
-#line 2785 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2775 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp103_ = video_global;
-#line 2785 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2775 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp104_ = not_removed_videos;
-#line 2785 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2775 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp105_ = monitor;
-#line 2785 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2775 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp105__target = monitor_target;
-#line 2785 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2775 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp106_ = not_deleted_videos;
-#line 2785 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2775 "/home/jens/Source/shotwell/src/Dialogs.vala"
media_source_collection_delete_backing_files (G_TYPE_CHECK_INSTANCE_CAST (_tmp103_, TYPE_MEDIA_SOURCE_COLLECTION, MediaSourceCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp104_, GEE_TYPE_COLLECTION, GeeCollection), _tmp105_, _tmp105__target, G_TYPE_CHECK_INSTANCE_CAST (_tmp106_, GEE_TYPE_LIST, GeeList));
-#line 2787 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2777 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp107_ = not_deleted_photos;
-#line 2787 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2777 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp108_ = gee_abstract_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp107_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 2787 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2777 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp109_ = _tmp108_;
-#line 2787 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2777 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp110_ = not_deleted_videos;
-#line 2787 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2777 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp111_ = gee_abstract_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp110_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 2787 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2777 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp112_ = _tmp111_;
-#line 2787 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2777 "/home/jens/Source/shotwell/src/Dialogs.vala"
num_not_deleted = _tmp109_ + _tmp112_;
-#line 2788 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2778 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp113_ = num_not_deleted;
-#line 2788 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2778 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp113_ > 0) {
-#line 21820 "Dialogs.c"
+#line 21501 "Dialogs.c"
gchar* delete_failed_message = NULL;
gint _tmp114_ = 0;
const gchar* _tmp115_ = NULL;
@@ -21864,83 +21545,83 @@ void remove_from_app (GeeCollection* sources, const gchar* dialog_title, const g
const gchar* _tmp119_ = NULL;
AppWindow* _tmp120_ = NULL;
AppWindow* _tmp121_ = NULL;
-#line 2790 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2780 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp114_ = num_not_deleted;
-#line 2790 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2780 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp115_ = ngettext ("The photo or video cannot be deleted.", "%d photos/videos cannot be deleted.", (gulong) _tmp114_);
-#line 2790 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2780 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp116_ = num_not_deleted;
-#line 2790 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2780 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp117_ = g_strdup_printf (_tmp115_, _tmp116_);
-#line 2790 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2780 "/home/jens/Source/shotwell/src/Dialogs.vala"
delete_failed_message = _tmp117_;
-#line 2794 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2784 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp118_ = dialog_title;
-#line 2794 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2784 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp119_ = delete_failed_message;
-#line 2794 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2784 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp120_ = app_window_get_instance ();
-#line 2794 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2784 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp121_ = _tmp120_;
-#line 2794 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2784 "/home/jens/Source/shotwell/src/Dialogs.vala"
app_window_error_message_with_title (_tmp118_, _tmp119_, G_TYPE_CHECK_INSTANCE_CAST (_tmp121_, gtk_window_get_type (), GtkWindow), TRUE);
-#line 2794 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2784 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_tmp121_);
-#line 2788 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2778 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (delete_failed_message);
-#line 21854 "Dialogs.c"
+#line 21535 "Dialogs.c"
}
-#line 2780 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2770 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (not_deleted_videos);
-#line 2780 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2770 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (not_deleted_photos);
-#line 21860 "Dialogs.c"
+#line 21541 "Dialogs.c"
}
-#line 2772 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2762 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (not_deleted_message);
-#line 21864 "Dialogs.c"
+#line 21545 "Dialogs.c"
}
-#line 2799 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2789 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp122_ = progress;
-#line 2799 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2789 "/home/jens/Source/shotwell/src/Dialogs.vala"
if (_tmp122_ != NULL) {
-#line 21870 "Dialogs.c"
+#line 21551 "Dialogs.c"
ProgressDialog* _tmp123_ = NULL;
-#line 2800 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2790 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp123_ = progress;
-#line 2800 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2790 "/home/jens/Source/shotwell/src/Dialogs.vala"
progress_dialog_close (_tmp123_);
-#line 21876 "Dialogs.c"
+#line 21557 "Dialogs.c"
}
-#line 2802 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2792 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp124_ = app_window_get_instance ();
-#line 2802 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2792 "/home/jens/Source/shotwell/src/Dialogs.vala"
_tmp125_ = _tmp124_;
-#line 2802 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2792 "/home/jens/Source/shotwell/src/Dialogs.vala"
page_window_set_normal_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp125_, TYPE_PAGE_WINDOW, PageWindow));
-#line 2802 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2792 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (_tmp125_);
-#line 2723 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2713 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (not_removed_videos);
-#line 2723 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2713 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (not_removed_photos);
-#line 2723 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2713 "/home/jens/Source/shotwell/src/Dialogs.vala"
(monitor_target_destroy_notify == NULL) ? NULL : (monitor_target_destroy_notify (monitor_target), NULL);
-#line 2723 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2713 "/home/jens/Source/shotwell/src/Dialogs.vala"
monitor = NULL;
-#line 2723 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2713 "/home/jens/Source/shotwell/src/Dialogs.vala"
monitor_target = NULL;
-#line 2723 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2713 "/home/jens/Source/shotwell/src/Dialogs.vala"
monitor_target_destroy_notify = NULL;
-#line 2723 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2713 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (progress);
-#line 2723 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2713 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_free0 (user_message);
-#line 2723 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2713 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (videos);
-#line 2723 "/home/jens/Source/shotwell/src/Dialogs.vala"
+#line 2713 "/home/jens/Source/shotwell/src/Dialogs.vala"
_g_object_unref0 (photos);
-#line 21906 "Dialogs.c"
+#line 21587 "Dialogs.c"
}
diff --git a/src/Dialogs.vala b/src/Dialogs.vala
index ffeb9d5..ef26b0e 100644
--- a/src/Dialogs.vala
+++ b/src/Dialogs.vala
@@ -1080,94 +1080,80 @@ public class EntryMultiCompletion : Gtk.EntryCompletion {
}
}
-public abstract class SetBackgroundDialog {
- protected Gtk.Dialog dialog;
- protected Gtk.CheckButton desktop_background_button;
- protected Gtk.CheckButton screensaver_button;
- protected Gtk.Button ok_button;
- // the checkbuttons themselves are initialized to these values
- protected bool desktop = true;
- protected bool screensaver = false;
-
- public SetBackgroundDialog(Gtk.Builder builder) {
-
- dialog = builder.get_object("dialog1") as Gtk.Dialog;
- dialog.set_type_hint(Gdk.WindowTypeHint.DIALOG);
- dialog.set_parent_window(AppWindow.get_instance().get_parent_window());
- dialog.set_transient_for(AppWindow.get_instance());
- dialog.set_default_response(Gtk.ResponseType.OK);
-
- desktop_background_button = builder.get_object("desktop_background_checkbox") as Gtk.CheckButton;
- desktop_background_button.active = desktop;
- desktop_background_button.toggled.connect(on_checkbox_clicked);
- screensaver_button = builder.get_object("screensaver_checkbox") as Gtk.CheckButton;
- screensaver_button.active = screensaver;
- screensaver_button.toggled.connect(on_checkbox_clicked);
-
- ok_button = builder.get_object("ok_button") as Gtk.Button;
- }
-
- protected void on_checkbox_clicked() {
- desktop = desktop_background_button.active;
- screensaver = screensaver_button.active;
+[GtkTemplate (ui = "/org/gnome/Shotwell/ui/set_background_dialog.ui")]
+public class SetBackgroundPhotoDialog : Gtk.Dialog {
+ [GtkChild]
+ private Gtk.CheckButton desktop_background_checkbox;
+ [GtkChild]
+ private Gtk.CheckButton screensaver_checkbox;
- if (!desktop && !screensaver) {
- ok_button.sensitive = false;
- } else {
- ok_button.sensitive = true;
- }
- }
-
- protected bool execute_base() {
- dialog.show_all();
- bool result = dialog.run() == Gtk.ResponseType.OK;
- dialog.destroy();
-
- return result;
+ public SetBackgroundPhotoDialog() {
+ bool use_header;
+ Gtk.Settings.get_default ().get ("gtk-dialogs-use-header", out use_header);
+ Object(use_header_bar: use_header ? 1 : 0);
+ this.set_transient_for (AppWindow.get_instance());
}
-}
-public class SetBackgroundPhotoDialog : SetBackgroundDialog {
-
- public SetBackgroundPhotoDialog() {
- Gtk.Builder builder = AppWindow.create_builder("set_background_dialog.ui", this);
- base(builder);
+ [GtkCallback]
+ private void on_checkbox_clicked() {
+ set_response_sensitive (Gtk.ResponseType.OK,
+ desktop_background_checkbox.active ||
+ screensaver_checkbox.active);
}
-
+
public bool execute(out bool desktop_background, out bool screensaver) {
- bool result = execute_base();
-
- desktop_background = this.desktop;
- screensaver = this.screensaver;
-
+ this.show_all();
+ var result = this.run() == Gtk.ResponseType.OK;
+ this.hide ();
+
+ desktop_background = desktop_background_checkbox.active;
+ screensaver = screensaver_checkbox.active;
+
+ this.destroy();
return result;
}
}
-public class SetBackgroundSlideshowDialog : SetBackgroundDialog {
- private Gtk.Label delay_value_label;
+[GtkTemplate (ui = "/org/gnome/Shotwell/ui/set_background_slideshow_dialog.ui")]
+public class SetBackgroundSlideshowDialog : Gtk.Dialog {
+ [GtkChild]
+ private Gtk.CheckButton desktop_background_checkbox;
+ [GtkChild]
+ private Gtk.CheckButton screensaver_checkbox;
+ [GtkChild]
private Gtk.Scale delay_scale;
+ [GtkChild]
+ private Gtk.Label delay_value_label;
+
private int delay_value = 0;
-
+
public SetBackgroundSlideshowDialog() {
- Gtk.Builder builder = AppWindow.create_builder("set_background_slideshow_dialog.ui", this);
- base(builder);
-
- delay_value_label = builder.get_object("delay_value_label") as Gtk.Label;
-
- delay_scale = builder.get_object("delay_scale") as Gtk.Scale;
- delay_scale.value_changed.connect(on_delay_scale_value_changed);
- delay_scale.adjustment.value = 50;
+ bool use_header;
+ Gtk.Settings.get_default ().get ("gtk-dialogs-use-header", out use_header);
+ Object(use_header_bar: use_header ? 1 : 0);
+ this.set_transient_for (AppWindow.get_instance());
}
-
+
+ public override void constructed () {
+ on_delay_scale_value_changed ();
+ }
+
+ [GtkCallback]
+ private void on_checkbox_clicked() {
+ set_response_sensitive (Gtk.ResponseType.OK,
+ desktop_background_checkbox.active ||
+ screensaver_checkbox.active);
+ }
+
+ [GtkCallback]
private void on_delay_scale_value_changed() {
double value = delay_scale.adjustment.value;
-
+
// f(x)=x^5 allows to have fine-grained values (seconds) to the left
// and very coarse-grained values (hours) to the right of the slider.
// We limit maximum value to 1 day and minimum to 5 seconds.
delay_value = (int) (Math.pow(value, 5) / Math.pow(90, 5) * 60 * 60 * 24 + 5);
-
+
// convert to text and remove fractions from values > 1 minute
string text;
if (delay_value < 60) {
@@ -1184,21 +1170,25 @@ public class SetBackgroundSlideshowDialog : SetBackgroundDialog {
text = _("1 day");
delay_value = 60 * 60 * 24;
}
-
+
delay_value_label.label = text;
}
-
+
public bool execute(out int delay_value, out bool desktop_background, out bool screensaver) {
- bool result = execute_base();
-
+ this.show_all();
+ var result = this.run() == Gtk.ResponseType.OK;
+ this.hide ();
+
delay_value = this.delay_value;
- desktop_background = this.desktop;
- screensaver = this.screensaver;
-
+ desktop_background = desktop_background_checkbox.active;
+ screensaver = screensaver_checkbox.active;
+
+ this.destroy();
return result;
}
}
+
public class TextEntryDialog : Gtk.Dialog {
public delegate bool OnModifyValidateType(string text);
diff --git a/src/Dimensions.c b/src/Dimensions.c
index a285197..57c20a2 100644
--- a/src/Dimensions.c
+++ b/src/Dimensions.c
@@ -1,4 +1,4 @@
-/* Dimensions.c generated by valac 0.34.2, the Vala compiler
+/* Dimensions.c generated by valac 0.32.1, the Vala compiler
* generated from Dimensions.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/DirectoryMonitor.c b/src/DirectoryMonitor.c
index de6ff94..7527ed1 100644
--- a/src/DirectoryMonitor.c
+++ b/src/DirectoryMonitor.c
@@ -1,4 +1,4 @@
-/* DirectoryMonitor.c generated by valac 0.34.2, the Vala compiler
+/* DirectoryMonitor.c generated by valac 0.32.1, the Vala compiler
* generated from DirectoryMonitor.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -2099,13 +2099,13 @@ static gboolean directory_monitor_async_internal_notify_directory_moved_co (Dire
#line 646 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp0_ = NULL;
#line 646 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp0_ = gee_array_list_new (g_file_get_type (), (GBoxedCopyFunc) g_object_ref, g_object_unref, _file_equal_gee_equal_data_func, NULL, NULL);
+ _data_->_tmp0_ = gee_array_list_new (G_TYPE_FILE, (GBoxedCopyFunc) g_object_ref, g_object_unref, _file_equal_gee_equal_data_func, NULL, NULL);
#line 646 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->file_children = _data_->_tmp0_;
#line 647 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp1_ = NULL;
#line 647 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp1_ = gee_array_list_new (g_file_get_type (), (GBoxedCopyFunc) g_object_ref, g_object_unref, _file_equal_gee_equal_data_func, NULL, NULL);
+ _data_->_tmp1_ = gee_array_list_new (G_TYPE_FILE, (GBoxedCopyFunc) g_object_ref, g_object_unref, _file_equal_gee_equal_data_func, NULL, NULL);
#line 647 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->dir_children = _data_->_tmp1_;
#line 648 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
@@ -2948,13 +2948,13 @@ static gboolean directory_monitor_async_notify_directory_deleted_co (DirectoryMo
#line 744 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp0_ = NULL;
#line 744 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp0_ = gee_array_list_new (g_file_get_type (), (GBoxedCopyFunc) g_object_ref, g_object_unref, _file_equal_gee_equal_data_func, NULL, NULL);
+ _data_->_tmp0_ = gee_array_list_new (G_TYPE_FILE, (GBoxedCopyFunc) g_object_ref, g_object_unref, _file_equal_gee_equal_data_func, NULL, NULL);
#line 744 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->file_children = _data_->_tmp0_;
#line 745 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp1_ = NULL;
#line 745 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp1_ = gee_array_list_new (g_file_get_type (), (GBoxedCopyFunc) g_object_ref, g_object_unref, _file_equal_gee_equal_data_func, NULL, NULL);
+ _data_->_tmp1_ = gee_array_list_new (G_TYPE_FILE, (GBoxedCopyFunc) g_object_ref, g_object_unref, _file_equal_gee_equal_data_func, NULL, NULL);
#line 745 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->dir_children = _data_->_tmp1_;
#line 746 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
@@ -3785,7 +3785,7 @@ static gboolean directory_monitor_explore_async_co (DirectoryMonitorExploreAsync
#line 857 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 3784 "DirectoryMonitor.c"
- goto __catch479_g_error;
+ goto __catch477_g_error;
}
#line 857 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp15_ = NULL;
@@ -3801,8 +3801,8 @@ static gboolean directory_monitor_explore_async_co (DirectoryMonitorExploreAsync
_g_object_unref0 (_data_->_tmp11_);
#line 3799 "DirectoryMonitor.c"
}
- goto __finally479;
- __catch479_g_error:
+ goto __finally477;
+ __catch477_g_error:
{
#line 856 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->err = _data_->_inner_error_;
@@ -3858,7 +3858,7 @@ static gboolean directory_monitor_explore_async_co (DirectoryMonitorExploreAsync
return FALSE;
#line 3856 "DirectoryMonitor.c"
}
- __finally479:
+ __finally477:
#line 856 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 856 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
@@ -4089,7 +4089,7 @@ static gboolean directory_monitor_explore_async_co (DirectoryMonitorExploreAsync
#line 905 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 4088 "DirectoryMonitor.c"
- goto __catch480_g_error;
+ goto __catch478_g_error;
}
{
#line 907 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
@@ -4129,7 +4129,7 @@ static gboolean directory_monitor_explore_async_co (DirectoryMonitorExploreAsync
#line 908 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_data_->enumerator);
#line 4128 "DirectoryMonitor.c"
- goto __catch480_g_error;
+ goto __catch478_g_error;
}
#line 910 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp55_ = NULL;
@@ -4250,7 +4250,7 @@ static gboolean directory_monitor_explore_async_co (DirectoryMonitorExploreAsync
#line 929 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp72_ = NULL;
#line 929 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp72_ = gee_hash_map_new (g_file_get_type (), (GBoxedCopyFunc) g_object_ref, g_object_unref, g_file_info_get_type (), (GBoxedCopyFunc) g_object_ref, g_object_unref, _file_hash_gee_hash_data_func, NULL, NULL, _file_equal_gee_equal_data_func, NULL, NULL, NULL, NULL, NULL);
+ _data_->_tmp72_ = gee_hash_map_new (G_TYPE_FILE, (GBoxedCopyFunc) g_object_ref, g_object_unref, g_file_info_get_type (), (GBoxedCopyFunc) g_object_ref, g_object_unref, _file_hash_gee_hash_data_func, NULL, NULL, _file_equal_gee_equal_data_func, NULL, NULL, NULL, NULL, NULL);
#line 929 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_data_->file_map);
#line 929 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
@@ -4306,7 +4306,7 @@ static gboolean directory_monitor_explore_async_co (DirectoryMonitorExploreAsync
#line 936 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->_tmp81_ = NULL;
#line 936 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _data_->_tmp81_ = gee_hash_map_new (g_file_get_type (), (GBoxedCopyFunc) g_object_ref, g_object_unref, g_file_info_get_type (), (GBoxedCopyFunc) g_object_ref, g_object_unref, _file_hash_gee_hash_data_func, NULL, NULL, _file_equal_gee_equal_data_func, NULL, NULL, NULL, NULL, NULL);
+ _data_->_tmp81_ = gee_hash_map_new (G_TYPE_FILE, (GBoxedCopyFunc) g_object_ref, g_object_unref, g_file_info_get_type (), (GBoxedCopyFunc) g_object_ref, g_object_unref, _file_hash_gee_hash_data_func, NULL, NULL, _file_equal_gee_equal_data_func, NULL, NULL, NULL, NULL, NULL);
#line 936 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (_data_->dir_map);
#line 936 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
@@ -4371,8 +4371,8 @@ static gboolean directory_monitor_explore_async_co (DirectoryMonitorExploreAsync
_g_object_unref0 (_data_->enumerator);
#line 4369 "DirectoryMonitor.c"
}
- goto __finally480;
- __catch480_g_error:
+ goto __finally478;
+ __catch478_g_error:
{
#line 904 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_data_->err2 = _data_->_inner_error_;
@@ -4432,7 +4432,7 @@ static gboolean directory_monitor_explore_async_co (DirectoryMonitorExploreAsync
return FALSE;
#line 4430 "DirectoryMonitor.c"
}
- __finally480:
+ __finally478:
#line 904 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 904 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
@@ -5058,7 +5058,7 @@ static gboolean directory_monitor_add_monitor (DirectoryMonitor* self, GFile* di
#line 1022 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 5057 "DirectoryMonitor.c"
- goto __catch481_g_error;
+ goto __catch479_g_error;
}
#line 1022 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp12_ = _tmp9_;
@@ -5072,8 +5072,8 @@ static gboolean directory_monitor_add_monitor (DirectoryMonitor* self, GFile* di
_g_object_unref0 (_tmp9_);
#line 5070 "DirectoryMonitor.c"
}
- goto __finally481;
- __catch481_g_error:
+ goto __finally479;
+ __catch479_g_error:
{
GError* err = NULL;
GFile* _tmp13_ = NULL;
@@ -5111,7 +5111,7 @@ static gboolean directory_monitor_add_monitor (DirectoryMonitor* self, GFile* di
return result;
#line 5109 "DirectoryMonitor.c"
}
- __finally481:
+ __finally479:
#line 1021 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1021 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
@@ -7539,7 +7539,7 @@ static void directory_monitor_query_info_queue_element_on_completed (DirectoryMo
#line 107 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp0_ = source;
#line 107 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, g_file_get_type (), GFile));
+ _tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, G_TYPE_FILE, GFile));
#line 107 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
source_file = _tmp1_;
#line 7540 "DirectoryMonitor.c"
@@ -7557,7 +7557,7 @@ static void directory_monitor_query_info_queue_element_on_completed (DirectoryMo
#line 111 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 7554 "DirectoryMonitor.c"
- goto __catch482_g_error;
+ goto __catch480_g_error;
}
#line 111 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp5_ = _tmp2_;
@@ -7571,8 +7571,8 @@ static void directory_monitor_query_info_queue_element_on_completed (DirectoryMo
_g_object_unref0 (_tmp2_);
#line 7567 "DirectoryMonitor.c"
}
- goto __finally482;
- __catch482_g_error:
+ goto __finally480;
+ __catch480_g_error:
{
GError* err = NULL;
GError* _tmp6_ = NULL;
@@ -7593,7 +7593,7 @@ static void directory_monitor_query_info_queue_element_on_completed (DirectoryMo
_g_error_free0 (err);
#line 7589 "DirectoryMonitor.c"
}
- __finally482:
+ __finally480:
#line 110 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 110 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
@@ -8696,7 +8696,7 @@ static GFileInfo* directory_monitor_file_info_map_query_info (DirectoryMonitorFi
#line 259 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 8693 "DirectoryMonitor.c"
- goto __catch483_g_error;
+ goto __catch481_g_error;
}
#line 259 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_tmp7_ = _tmp3_;
@@ -8710,8 +8710,8 @@ static GFileInfo* directory_monitor_file_info_map_query_info (DirectoryMonitorFi
_g_object_unref0 (_tmp3_);
#line 8706 "DirectoryMonitor.c"
}
- goto __finally483;
- __catch483_g_error:
+ goto __finally481;
+ __catch481_g_error:
{
GError* err = NULL;
GFile* _tmp8_ = NULL;
@@ -8747,7 +8747,7 @@ static GFileInfo* directory_monitor_file_info_map_query_info (DirectoryMonitorFi
return result;
#line 8743 "DirectoryMonitor.c"
}
- __finally483:
+ __finally481:
#line 258 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 258 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
@@ -9165,7 +9165,7 @@ static void directory_monitor_file_info_map_remove_descendents (DirectoryMonitor
#line 9160 "DirectoryMonitor.c"
GeeArrayList* _tmp17_ = NULL;
#line 318 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _tmp17_ = gee_array_list_new (g_file_get_type (), (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL);
+ _tmp17_ = gee_array_list_new (G_TYPE_FILE, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL);
#line 318 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
_g_object_unref0 (pruned);
#line 318 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
@@ -9637,11 +9637,11 @@ static void directory_monitor_file_info_map_instance_init (DirectoryMonitorFileI
#line 128 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
self->priv = DIRECTORY_MONITOR_FILE_INFO_MAP_GET_PRIVATE (self);
#line 129 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _tmp0_ = gee_hash_map_new (g_file_get_type (), (GBoxedCopyFunc) g_object_ref, g_object_unref, g_file_info_get_type (), (GBoxedCopyFunc) g_object_ref, g_object_unref, _file_hash_gee_hash_data_func, NULL, NULL, _file_equal_gee_equal_data_func, NULL, NULL, NULL, NULL, NULL);
+ _tmp0_ = gee_hash_map_new (G_TYPE_FILE, (GBoxedCopyFunc) g_object_ref, g_object_unref, g_file_info_get_type (), (GBoxedCopyFunc) g_object_ref, g_object_unref, _file_hash_gee_hash_data_func, NULL, NULL, _file_equal_gee_equal_data_func, NULL, NULL, NULL, NULL, NULL);
#line 129 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
self->priv->map = _tmp0_;
#line 131 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- _tmp1_ = gee_hash_map_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, g_file_get_type (), (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL, NULL, NULL, NULL, _file_equal_gee_equal_data_func, NULL, NULL);
+ _tmp1_ = gee_hash_map_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, G_TYPE_FILE, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL, NULL, NULL, NULL, _file_equal_gee_equal_data_func, NULL, NULL);
#line 131 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
self->priv->id_map = _tmp1_;
#line 128 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
@@ -9797,43 +9797,43 @@ static void directory_monitor_class_init (DirectoryMonitorClass * klass) {
#line 60 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
G_OBJECT_CLASS (klass)->finalize = directory_monitor_finalize;
#line 60 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- g_signal_new ("root_moved", TYPE_DIRECTORY_MONITOR, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (DirectoryMonitorClass, root_moved), NULL, NULL, g_cclosure_user_marshal_VOID__OBJECT_OBJECT_OBJECT, G_TYPE_NONE, 3, g_file_get_type (), g_file_get_type (), g_file_info_get_type ());
+ g_signal_new ("root_moved", TYPE_DIRECTORY_MONITOR, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (DirectoryMonitorClass, root_moved), NULL, NULL, g_cclosure_user_marshal_VOID__OBJECT_OBJECT_OBJECT, G_TYPE_NONE, 3, G_TYPE_FILE, G_TYPE_FILE, g_file_info_get_type ());
#line 60 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- g_signal_new ("root_deleted", TYPE_DIRECTORY_MONITOR, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (DirectoryMonitorClass, root_deleted), NULL, NULL, g_cclosure_marshal_VOID__OBJECT, G_TYPE_NONE, 1, g_file_get_type ());
+ g_signal_new ("root_deleted", TYPE_DIRECTORY_MONITOR, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (DirectoryMonitorClass, root_deleted), NULL, NULL, g_cclosure_marshal_VOID__OBJECT, G_TYPE_NONE, 1, G_TYPE_FILE);
#line 60 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_signal_new ("discovery_started", TYPE_DIRECTORY_MONITOR, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (DirectoryMonitorClass, discovery_started), NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
#line 60 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- g_signal_new ("file_discovered", TYPE_DIRECTORY_MONITOR, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (DirectoryMonitorClass, file_discovered), NULL, NULL, g_cclosure_user_marshal_VOID__OBJECT_OBJECT, G_TYPE_NONE, 2, g_file_get_type (), g_file_info_get_type ());
+ g_signal_new ("file_discovered", TYPE_DIRECTORY_MONITOR, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (DirectoryMonitorClass, file_discovered), NULL, NULL, g_cclosure_user_marshal_VOID__OBJECT_OBJECT, G_TYPE_NONE, 2, G_TYPE_FILE, g_file_info_get_type ());
#line 60 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- g_signal_new ("directory_discovered", TYPE_DIRECTORY_MONITOR, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (DirectoryMonitorClass, directory_discovered), NULL, NULL, g_cclosure_user_marshal_VOID__OBJECT_OBJECT, G_TYPE_NONE, 2, g_file_get_type (), g_file_info_get_type ());
+ g_signal_new ("directory_discovered", TYPE_DIRECTORY_MONITOR, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (DirectoryMonitorClass, directory_discovered), NULL, NULL, g_cclosure_user_marshal_VOID__OBJECT_OBJECT, G_TYPE_NONE, 2, G_TYPE_FILE, g_file_info_get_type ());
#line 60 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_signal_new ("discovery_failed", TYPE_DIRECTORY_MONITOR, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (DirectoryMonitorClass, discovery_failed), NULL, NULL, g_cclosure_marshal_VOID__STRING, G_TYPE_NONE, 1, G_TYPE_STRING);
#line 60 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_signal_new ("discovery_completed", TYPE_DIRECTORY_MONITOR, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (DirectoryMonitorClass, discovery_completed), NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
#line 60 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- g_signal_new ("file_created", TYPE_DIRECTORY_MONITOR, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (DirectoryMonitorClass, file_created), NULL, NULL, g_cclosure_user_marshal_VOID__OBJECT_OBJECT, G_TYPE_NONE, 2, g_file_get_type (), g_file_info_get_type ());
+ g_signal_new ("file_created", TYPE_DIRECTORY_MONITOR, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (DirectoryMonitorClass, file_created), NULL, NULL, g_cclosure_user_marshal_VOID__OBJECT_OBJECT, G_TYPE_NONE, 2, G_TYPE_FILE, g_file_info_get_type ());
#line 60 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- g_signal_new ("file_moved", TYPE_DIRECTORY_MONITOR, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (DirectoryMonitorClass, file_moved), NULL, NULL, g_cclosure_user_marshal_VOID__OBJECT_OBJECT_OBJECT, G_TYPE_NONE, 3, g_file_get_type (), g_file_get_type (), g_file_info_get_type ());
+ g_signal_new ("file_moved", TYPE_DIRECTORY_MONITOR, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (DirectoryMonitorClass, file_moved), NULL, NULL, g_cclosure_user_marshal_VOID__OBJECT_OBJECT_OBJECT, G_TYPE_NONE, 3, G_TYPE_FILE, G_TYPE_FILE, g_file_info_get_type ());
#line 60 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- g_signal_new ("file_altered", TYPE_DIRECTORY_MONITOR, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (DirectoryMonitorClass, file_altered), NULL, NULL, g_cclosure_marshal_VOID__OBJECT, G_TYPE_NONE, 1, g_file_get_type ());
+ g_signal_new ("file_altered", TYPE_DIRECTORY_MONITOR, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (DirectoryMonitorClass, file_altered), NULL, NULL, g_cclosure_marshal_VOID__OBJECT, G_TYPE_NONE, 1, G_TYPE_FILE);
#line 60 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- g_signal_new ("file_alteration_completed", TYPE_DIRECTORY_MONITOR, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (DirectoryMonitorClass, file_alteration_completed), NULL, NULL, g_cclosure_user_marshal_VOID__OBJECT_OBJECT, G_TYPE_NONE, 2, g_file_get_type (), g_file_info_get_type ());
+ g_signal_new ("file_alteration_completed", TYPE_DIRECTORY_MONITOR, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (DirectoryMonitorClass, file_alteration_completed), NULL, NULL, g_cclosure_user_marshal_VOID__OBJECT_OBJECT, G_TYPE_NONE, 2, G_TYPE_FILE, g_file_info_get_type ());
#line 60 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- g_signal_new ("file_attributes_altered", TYPE_DIRECTORY_MONITOR, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (DirectoryMonitorClass, file_attributes_altered), NULL, NULL, g_cclosure_marshal_VOID__OBJECT, G_TYPE_NONE, 1, g_file_get_type ());
+ g_signal_new ("file_attributes_altered", TYPE_DIRECTORY_MONITOR, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (DirectoryMonitorClass, file_attributes_altered), NULL, NULL, g_cclosure_marshal_VOID__OBJECT, G_TYPE_NONE, 1, G_TYPE_FILE);
#line 60 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- g_signal_new ("file_deleted", TYPE_DIRECTORY_MONITOR, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (DirectoryMonitorClass, file_deleted), NULL, NULL, g_cclosure_marshal_VOID__OBJECT, G_TYPE_NONE, 1, g_file_get_type ());
+ g_signal_new ("file_deleted", TYPE_DIRECTORY_MONITOR, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (DirectoryMonitorClass, file_deleted), NULL, NULL, g_cclosure_marshal_VOID__OBJECT, G_TYPE_NONE, 1, G_TYPE_FILE);
#line 60 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- g_signal_new ("directory_created", TYPE_DIRECTORY_MONITOR, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (DirectoryMonitorClass, directory_created), NULL, NULL, g_cclosure_user_marshal_VOID__OBJECT_OBJECT, G_TYPE_NONE, 2, g_file_get_type (), g_file_info_get_type ());
+ g_signal_new ("directory_created", TYPE_DIRECTORY_MONITOR, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (DirectoryMonitorClass, directory_created), NULL, NULL, g_cclosure_user_marshal_VOID__OBJECT_OBJECT, G_TYPE_NONE, 2, G_TYPE_FILE, g_file_info_get_type ());
#line 60 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- g_signal_new ("directory_moved", TYPE_DIRECTORY_MONITOR, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (DirectoryMonitorClass, directory_moved), NULL, NULL, g_cclosure_user_marshal_VOID__OBJECT_OBJECT_OBJECT, G_TYPE_NONE, 3, g_file_get_type (), g_file_get_type (), g_file_info_get_type ());
+ g_signal_new ("directory_moved", TYPE_DIRECTORY_MONITOR, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (DirectoryMonitorClass, directory_moved), NULL, NULL, g_cclosure_user_marshal_VOID__OBJECT_OBJECT_OBJECT, G_TYPE_NONE, 3, G_TYPE_FILE, G_TYPE_FILE, g_file_info_get_type ());
#line 60 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- g_signal_new ("directory_altered", TYPE_DIRECTORY_MONITOR, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (DirectoryMonitorClass, directory_altered), NULL, NULL, g_cclosure_marshal_VOID__OBJECT, G_TYPE_NONE, 1, g_file_get_type ());
+ g_signal_new ("directory_altered", TYPE_DIRECTORY_MONITOR, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (DirectoryMonitorClass, directory_altered), NULL, NULL, g_cclosure_marshal_VOID__OBJECT, G_TYPE_NONE, 1, G_TYPE_FILE);
#line 60 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- g_signal_new ("directory_alteration_completed", TYPE_DIRECTORY_MONITOR, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (DirectoryMonitorClass, directory_alteration_completed), NULL, NULL, g_cclosure_user_marshal_VOID__OBJECT_OBJECT, G_TYPE_NONE, 2, g_file_get_type (), g_file_info_get_type ());
+ g_signal_new ("directory_alteration_completed", TYPE_DIRECTORY_MONITOR, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (DirectoryMonitorClass, directory_alteration_completed), NULL, NULL, g_cclosure_user_marshal_VOID__OBJECT_OBJECT, G_TYPE_NONE, 2, G_TYPE_FILE, g_file_info_get_type ());
#line 60 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- g_signal_new ("directory_attributes_altered", TYPE_DIRECTORY_MONITOR, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (DirectoryMonitorClass, directory_attributes_altered), NULL, NULL, g_cclosure_marshal_VOID__OBJECT, G_TYPE_NONE, 1, g_file_get_type ());
+ g_signal_new ("directory_attributes_altered", TYPE_DIRECTORY_MONITOR, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (DirectoryMonitorClass, directory_attributes_altered), NULL, NULL, g_cclosure_marshal_VOID__OBJECT, G_TYPE_NONE, 1, G_TYPE_FILE);
#line 60 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
- g_signal_new ("directory_deleted", TYPE_DIRECTORY_MONITOR, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (DirectoryMonitorClass, directory_deleted), NULL, NULL, g_cclosure_marshal_VOID__OBJECT, G_TYPE_NONE, 1, g_file_get_type ());
+ g_signal_new ("directory_deleted", TYPE_DIRECTORY_MONITOR, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (DirectoryMonitorClass, directory_deleted), NULL, NULL, g_cclosure_marshal_VOID__OBJECT, G_TYPE_NONE, 1, G_TYPE_FILE);
#line 60 "/home/jens/Source/shotwell/src/DirectoryMonitor.vala"
g_signal_new ("closed", TYPE_DIRECTORY_MONITOR, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (DirectoryMonitorClass, closed), NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
#line 9834 "DirectoryMonitor.c"
diff --git a/src/Event.c b/src/Event.c
index b83831b..60e96ca 100644
--- a/src/Event.c
+++ b/src/Event.c
@@ -1,4 +1,4 @@
-/* Event.c generated by valac 0.34.2, the Vala compiler
+/* Event.c generated by valac 0.32.1, the Vala compiler
* generated from Event.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -3752,7 +3752,7 @@ Event* event_create_empty_event (MediaSource* source) {
#line 476 "/home/jens/Source/shotwell/src/Event.vala"
if (_inner_error_->domain == DATABASE_ERROR) {
#line 3755 "Event.c"
- goto __catch434_database_error;
+ goto __catch432_database_error;
}
#line 476 "/home/jens/Source/shotwell/src/Event.vala"
g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
@@ -3790,8 +3790,8 @@ Event* event_create_empty_event (MediaSource* source) {
return result;
#line 3792 "Event.c"
}
- goto __finally434;
- __catch434_database_error:
+ goto __finally432;
+ __catch432_database_error:
{
GError* err = NULL;
GError* _tmp14_ = NULL;
@@ -3811,7 +3811,7 @@ Event* event_create_empty_event (MediaSource* source) {
return result;
#line 3813 "Event.c"
}
- __finally434:
+ __finally432:
#line 475 "/home/jens/Source/shotwell/src/Event.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 475 "/home/jens/Source/shotwell/src/Event.vala"
@@ -4020,11 +4020,11 @@ static void event_real_break_link_many (ContainerSource* base, GeeCollection* so
#line 526 "/home/jens/Source/shotwell/src/Event.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 4023 "Event.c"
- goto __catch435_g_error;
+ goto __catch433_g_error;
}
}
- goto __finally435;
- __catch435_g_error:
+ goto __finally433;
+ __catch433_g_error:
{
GError* err = NULL;
GError* _tmp6_ = NULL;
@@ -4051,7 +4051,7 @@ static void event_real_break_link_many (ContainerSource* base, GeeCollection* so
_g_error_free0 (err);
#line 4053 "Event.c"
}
- __finally435:
+ __finally433:
#line 525 "/home/jens/Source/shotwell/src/Event.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 525 "/home/jens/Source/shotwell/src/Event.vala"
@@ -4081,11 +4081,11 @@ static void event_real_break_link_many (ContainerSource* base, GeeCollection* so
#line 532 "/home/jens/Source/shotwell/src/Event.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 4084 "Event.c"
- goto __catch436_g_error;
+ goto __catch434_g_error;
}
}
- goto __finally436;
- __catch436_g_error:
+ goto __finally434;
+ __catch434_g_error:
{
GError* err = NULL;
GError* _tmp13_ = NULL;
@@ -4112,7 +4112,7 @@ static void event_real_break_link_many (ContainerSource* base, GeeCollection* so
_g_error_free0 (err);
#line 4114 "Event.c"
}
- __finally436:
+ __finally434:
#line 531 "/home/jens/Source/shotwell/src/Event.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 531 "/home/jens/Source/shotwell/src/Event.vala"
@@ -4198,11 +4198,11 @@ static void event_real_establish_link_many (ContainerSource* base, GeeCollection
#line 556 "/home/jens/Source/shotwell/src/Event.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 4201 "Event.c"
- goto __catch437_g_error;
+ goto __catch435_g_error;
}
}
- goto __finally437;
- __catch437_g_error:
+ goto __finally435;
+ __catch435_g_error:
{
GError* err = NULL;
GError* _tmp6_ = NULL;
@@ -4229,7 +4229,7 @@ static void event_real_establish_link_many (ContainerSource* base, GeeCollection
_g_error_free0 (err);
#line 4231 "Event.c"
}
- __finally437:
+ __finally435:
#line 555 "/home/jens/Source/shotwell/src/Event.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 555 "/home/jens/Source/shotwell/src/Event.vala"
@@ -4259,11 +4259,11 @@ static void event_real_establish_link_many (ContainerSource* base, GeeCollection
#line 562 "/home/jens/Source/shotwell/src/Event.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 4262 "Event.c"
- goto __catch438_g_error;
+ goto __catch436_g_error;
}
}
- goto __finally438;
- __catch438_g_error:
+ goto __finally436;
+ __catch436_g_error:
{
GError* err = NULL;
GError* _tmp13_ = NULL;
@@ -4290,7 +4290,7 @@ static void event_real_establish_link_many (ContainerSource* base, GeeCollection
_g_error_free0 (err);
#line 4292 "Event.c"
}
- __finally438:
+ __finally436:
#line 561 "/home/jens/Source/shotwell/src/Event.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 561 "/home/jens/Source/shotwell/src/Event.vala"
@@ -4322,72 +4322,72 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
gboolean _tmp2_ = FALSE;
gchar** _tmp3_ = NULL;
gint _tmp3__length1 = 0;
-#line 1054 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1054 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = separator;
-#line 1054 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1054 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp0_ == NULL) {
-#line 1055 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1055 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
separator = "";
#line 4332 "Event.c"
}
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = str_array;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3__length1 = str_array_length1;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp3_ != NULL) {
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = TRUE;
#line 4342 "Event.c"
} else {
gchar** _tmp4_ = NULL;
gint _tmp4__length1 = 0;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = str_array;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4__length1 = str_array_length1;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = _tmp4__length1 > 0;
#line 4352 "Event.c"
}
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp2_) {
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = TRUE;
#line 4358 "Event.c"
} else {
gboolean _tmp5_ = FALSE;
gchar** _tmp6_ = NULL;
gint _tmp6__length1 = 0;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6_ = str_array;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6__length1 = str_array_length1;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp6__length1 == -1) {
#line 4369 "Event.c"
gchar** _tmp7_ = NULL;
gint _tmp7__length1 = 0;
const gchar* _tmp8_ = NULL;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp7_ = str_array;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp7__length1 = str_array_length1;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp8_ = _tmp7_[0];
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = _tmp8_ != NULL;
#line 4381 "Event.c"
} else {
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = FALSE;
#line 4385 "Event.c"
}
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = _tmp5_;
#line 4389 "Event.c"
}
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp1_) {
#line 4393 "Event.c"
gint i = 0;
@@ -4410,16 +4410,16 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
const gchar* _tmp44_ = NULL;
void* _tmp45_ = NULL;
const gchar* _tmp62_ = NULL;
-#line 1059 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1059 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
len = (gsize) 1;
#line 4416 "Event.c"
{
gboolean _tmp9_ = FALSE;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
i = 0;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp9_ = TRUE;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
while (TRUE) {
#line 4425 "Event.c"
gboolean _tmp11_ = FALSE;
@@ -4432,97 +4432,97 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
gint _tmp23_ = 0;
const gchar* _tmp24_ = NULL;
gsize _tmp30_ = 0UL;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (!_tmp9_) {
#line 4438 "Event.c"
gint _tmp10_ = 0;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp10_ = i;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
i = _tmp10_ + 1;
#line 4444 "Event.c"
}
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp9_ = FALSE;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp13_ = str_array;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp13__length1 = str_array_length1;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp13__length1 != -1) {
#line 4454 "Event.c"
gint _tmp14_ = 0;
gchar** _tmp15_ = NULL;
gint _tmp15__length1 = 0;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp14_ = i;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp15_ = str_array;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp15__length1 = str_array_length1;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp12_ = _tmp14_ < _tmp15__length1;
#line 4466 "Event.c"
} else {
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp12_ = FALSE;
#line 4470 "Event.c"
}
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp12_) {
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp11_ = TRUE;
#line 4476 "Event.c"
} else {
gboolean _tmp16_ = FALSE;
gchar** _tmp17_ = NULL;
gint _tmp17__length1 = 0;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp17_ = str_array;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp17__length1 = str_array_length1;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp17__length1 == -1) {
#line 4487 "Event.c"
gchar** _tmp18_ = NULL;
gint _tmp18__length1 = 0;
gint _tmp19_ = 0;
const gchar* _tmp20_ = NULL;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp18_ = str_array;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp18__length1 = str_array_length1;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp19_ = i;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp20_ = _tmp18_[_tmp19_];
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp16_ = _tmp20_ != NULL;
#line 4502 "Event.c"
} else {
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp16_ = FALSE;
#line 4506 "Event.c"
}
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp11_ = _tmp16_;
#line 4510 "Event.c"
}
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (!_tmp11_) {
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
break;
#line 4516 "Event.c"
}
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp22_ = str_array;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp22__length1 = str_array_length1;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp23_ = i;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp24_ = _tmp22_[_tmp23_];
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp24_ != NULL) {
#line 4528 "Event.c"
gchar** _tmp25_ = NULL;
@@ -4531,91 +4531,91 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
const gchar* _tmp27_ = NULL;
gint _tmp28_ = 0;
gint _tmp29_ = 0;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp25_ = str_array;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp25__length1 = str_array_length1;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp26_ = i;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp27_ = _tmp25_[_tmp26_];
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp28_ = strlen ((const gchar*) _tmp27_);
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp29_ = _tmp28_;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp21_ = _tmp29_;
#line 4549 "Event.c"
} else {
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp21_ = 0;
#line 4553 "Event.c"
}
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp30_ = len;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
len = _tmp30_ + _tmp21_;
#line 4559 "Event.c"
}
}
-#line 1063 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1063 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp31_ = i;
-#line 1063 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1063 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp31_ == 0) {
#line 4566 "Event.c"
gchar* _tmp32_ = NULL;
-#line 1064 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1064 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp32_ = g_strdup ("");
-#line 1064 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1064 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp32_;
-#line 1064 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1064 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 4574 "Event.c"
}
-#line 1066 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1066 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp33_ = i;
-#line 1066 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1066 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
str_array_length1 = _tmp33_;
-#line 1066 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1066 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp34_ = str_array_length1;
-#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp35_ = len;
-#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp36_ = separator;
-#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp37_ = strlen ((const gchar*) _tmp36_);
-#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp38_ = _tmp37_;
-#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp39_ = i;
-#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
len = _tmp35_ + (_tmp38_ * (_tmp39_ - 1));
-#line 1069 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1069 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp40_ = len;
-#line 1069 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1069 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp41_ = g_malloc (_tmp40_);
-#line 1069 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1069 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
res = _tmp41_;
-#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp42_ = res;
-#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp43_ = str_array;
-#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp43__length1 = str_array_length1;
-#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp44_ = _tmp43_[0];
-#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp45_ = g_stpcpy ((void*) _tmp42_, (const gchar*) _tmp44_);
-#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
ptr = _tmp45_;
#line 4612 "Event.c"
{
gboolean _tmp46_ = FALSE;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
i = 1;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp46_ = TRUE;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
while (TRUE) {
#line 4621 "Event.c"
gint _tmp48_ = 0;
@@ -4631,94 +4631,94 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
const gchar* _tmp56_ = NULL;
void* _tmp60_ = NULL;
void* _tmp61_ = NULL;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (!_tmp46_) {
#line 4637 "Event.c"
gint _tmp47_ = 0;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp47_ = i;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
i = _tmp47_ + 1;
#line 4643 "Event.c"
}
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp46_ = FALSE;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp48_ = i;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp49_ = str_array;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp49__length1 = str_array_length1;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (!(_tmp48_ < _tmp49__length1)) {
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
break;
#line 4657 "Event.c"
}
-#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp50_ = ptr;
-#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp51_ = separator;
-#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp52_ = g_stpcpy (_tmp50_, (const gchar*) _tmp51_);
-#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
ptr = _tmp52_;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp54_ = str_array;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp54__length1 = str_array_length1;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp55_ = i;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp56_ = _tmp54_[_tmp55_];
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp56_ != NULL) {
#line 4677 "Event.c"
gchar** _tmp57_ = NULL;
gint _tmp57__length1 = 0;
gint _tmp58_ = 0;
const gchar* _tmp59_ = NULL;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp57_ = str_array;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp57__length1 = str_array_length1;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp58_ = i;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp59_ = _tmp57_[_tmp58_];
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp53_ = (const gchar*) _tmp59_;
#line 4692 "Event.c"
} else {
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp53_ = "";
#line 4696 "Event.c"
}
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp60_ = ptr;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp61_ = g_stpcpy (_tmp60_, _tmp53_);
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
ptr = _tmp61_;
#line 4704 "Event.c"
}
}
-#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp62_ = res;
-#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
res = NULL;
-#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = (gchar*) _tmp62_;
-#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 4715 "Event.c"
} else {
gchar* _tmp63_ = NULL;
-#line 1078 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1078 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp63_ = g_strdup ("");
-#line 1078 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1078 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp63_;
-#line 1078 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1078 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 4724 "Event.c"
}
@@ -4898,13 +4898,13 @@ static const gchar* event_real_get_indexable_keywords (Indexable* base) {
static void g_time_local (time_t time, struct tm* result) {
struct tm _result_ = {0};
struct tm _tmp0_ = {0};
-#line 2750 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2701 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
localtime_r (&time, &_tmp0_);
-#line 2750 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2701 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_result_ = _tmp0_;
-#line 2751 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2702 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
*result = _result_;
-#line 2751 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2702 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return;
#line 4910 "Event.c"
}
@@ -5324,7 +5324,7 @@ static Event* event_generate_event (MediaSource* media, ViewCollection* events_s
#line 658 "/home/jens/Source/shotwell/src/Event.vala"
if (_inner_error_->domain == DATABASE_ERROR) {
#line 5326 "Event.c"
- goto __catch439_database_error;
+ goto __catch437_database_error;
}
#line 658 "/home/jens/Source/shotwell/src/Event.vala"
g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
@@ -5381,8 +5381,8 @@ static Event* event_generate_event (MediaSource* media, ViewCollection* events_s
return result;
#line 5382 "Event.c"
}
- goto __finally439;
- __catch439_database_error:
+ goto __finally437;
+ __catch437_database_error:
{
GError* err = NULL;
GError* _tmp49_ = NULL;
@@ -5398,7 +5398,7 @@ static Event* event_generate_event (MediaSource* media, ViewCollection* events_s
_g_error_free0 (err);
#line 5399 "Event.c"
}
- __finally439:
+ __finally437:
#line 657 "/home/jens/Source/shotwell/src/Event.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 657 "/home/jens/Source/shotwell/src/Event.vala"
@@ -6904,7 +6904,7 @@ GdkPixbuf* event_get_preview_pixbuf (Event* self, Scaling* scaling) {
#line 903 "/home/jens/Source/shotwell/src/Event.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 6906 "Event.c"
- goto __catch440_g_error;
+ goto __catch438_g_error;
}
#line 903 "/home/jens/Source/shotwell/src/Event.vala"
_tmp6_ = _tmp0_;
@@ -6918,8 +6918,8 @@ GdkPixbuf* event_get_preview_pixbuf (Event* self, Scaling* scaling) {
return result;
#line 6919 "Event.c"
}
- goto __finally440;
- __catch440_g_error:
+ goto __finally438;
+ __catch438_g_error:
{
GError* err = NULL;
#line 902 "/home/jens/Source/shotwell/src/Event.vala"
@@ -6934,7 +6934,7 @@ GdkPixbuf* event_get_preview_pixbuf (Event* self, Scaling* scaling) {
return result;
#line 6935 "Event.c"
}
- __finally440:
+ __finally438:
#line 902 "/home/jens/Source/shotwell/src/Event.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 902 "/home/jens/Source/shotwell/src/Event.vala"
@@ -6976,7 +6976,7 @@ static void event_real_destroy (DataSource* base) {
#line 915 "/home/jens/Source/shotwell/src/Event.vala"
if (_inner_error_->domain == DATABASE_ERROR) {
#line 6978 "Event.c"
- goto __catch441_database_error;
+ goto __catch439_database_error;
}
#line 915 "/home/jens/Source/shotwell/src/Event.vala"
g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
@@ -6987,8 +6987,8 @@ static void event_real_destroy (DataSource* base) {
#line 6987 "Event.c"
}
}
- goto __finally441;
- __catch441_database_error:
+ goto __finally439;
+ __catch439_database_error:
{
GError* err = NULL;
GError* _tmp3_ = NULL;
@@ -7004,7 +7004,7 @@ static void event_real_destroy (DataSource* base) {
_g_error_free0 (err);
#line 7005 "Event.c"
}
- __finally441:
+ __finally439:
#line 914 "/home/jens/Source/shotwell/src/Event.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 914 "/home/jens/Source/shotwell/src/Event.vala"
diff --git a/src/Exporter.c b/src/Exporter.c
index bba2455..999c598 100644
--- a/src/Exporter.c
+++ b/src/Exporter.c
@@ -1,4 +1,4 @@
-/* Exporter.c generated by valac 0.34.2, the Vala compiler
+/* Exporter.c generated by valac 0.32.1, the Vala compiler
* generated from Exporter.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -1480,7 +1480,7 @@ static gboolean exporter_process_queue (Exporter* self) {
#line 230 "/home/jens/Source/shotwell/src/Exporter.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1483 "Exporter.c"
- goto __catch477_g_error;
+ goto __catch475_g_error;
}
#line 230 "/home/jens/Source/shotwell/src/Exporter.vala"
_tmp43_ = _tmp36_;
@@ -1494,8 +1494,8 @@ static gboolean exporter_process_queue (Exporter* self) {
_g_object_unref0 (_tmp36_);
#line 1496 "Exporter.c"
}
- goto __finally477;
- __catch477_g_error:
+ goto __finally475;
+ __catch475_g_error:
{
GError* err = NULL;
const gchar* _tmp44_ = NULL;
@@ -1556,7 +1556,7 @@ static gboolean exporter_process_queue (Exporter* self) {
break;
#line 1558 "Exporter.c"
}
- __finally477:
+ __finally475:
#line 228 "/home/jens/Source/shotwell/src/Exporter.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 228 "/home/jens/Source/shotwell/src/Exporter.vala"
@@ -2054,7 +2054,7 @@ static void exporter_export_job_real_execute (BackgroundJob* base) {
#line 97 "/home/jens/Source/shotwell/src/Exporter.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 2057 "Exporter.c"
- goto __catch478_g_error;
+ goto __catch476_g_error;
}
} else {
MediaSource* _tmp9_ = NULL;
@@ -2074,13 +2074,13 @@ static void exporter_export_job_real_execute (BackgroundJob* base) {
#line 99 "/home/jens/Source/shotwell/src/Exporter.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 2077 "Exporter.c"
- goto __catch478_g_error;
+ goto __catch476_g_error;
}
}
}
}
- goto __finally478;
- __catch478_g_error:
+ goto __finally476;
+ __catch476_g_error:
{
GError* err = NULL;
GError* _tmp12_ = NULL;
@@ -2101,7 +2101,7 @@ static void exporter_export_job_real_execute (BackgroundJob* base) {
_g_error_free0 (err);
#line 2103 "Exporter.c"
}
- __finally478:
+ __finally476:
#line 95 "/home/jens/Source/shotwell/src/Exporter.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 95 "/home/jens/Source/shotwell/src/Exporter.vala"
diff --git a/src/International.c b/src/International.c
index bc86722..db54c27 100644
--- a/src/International.c
+++ b/src/International.c
@@ -1,4 +1,4 @@
-/* International.c generated by valac 0.34.2, the Vala compiler
+/* International.c generated by valac 0.32.1, the Vala compiler
* generated from International.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/LibraryFiles.c b/src/LibraryFiles.c
index a9602ad..3a088bf 100644
--- a/src/LibraryFiles.c
+++ b/src/LibraryFiles.c
@@ -1,4 +1,4 @@
-/* LibraryFiles.c generated by valac 0.34.2, the Vala compiler
+/* LibraryFiles.c generated by valac 0.32.1, the Vala compiler
* generated from LibraryFiles.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -282,11 +282,11 @@ GFile* library_files_generate_unique_file (const gchar* basename, MediaMetadata*
#line 30 "/home/jens/Source/shotwell/src/LibraryFiles.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 285 "LibraryFiles.c"
- goto __catch461_g_error;
+ goto __catch459_g_error;
}
}
- goto __finally461;
- __catch461_g_error:
+ goto __finally459;
+ __catch459_g_error:
{
GError* err = NULL;
GError* _tmp12_ = NULL;
@@ -310,13 +310,13 @@ GFile* library_files_generate_unique_file (const gchar* basename, MediaMetadata*
#line 33 "/home/jens/Source/shotwell/src/LibraryFiles.vala"
_g_error_free0 (err);
#line 313 "LibraryFiles.c"
- goto __finally461;
+ goto __finally459;
}
#line 29 "/home/jens/Source/shotwell/src/LibraryFiles.vala"
_g_error_free0 (err);
#line 318 "LibraryFiles.c"
}
- __finally461:
+ __finally459:
#line 29 "/home/jens/Source/shotwell/src/LibraryFiles.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 29 "/home/jens/Source/shotwell/src/LibraryFiles.vala"
@@ -441,14 +441,14 @@ GFile* library_files_duplicate (GFile* src, GFileProgressCallback progress_callb
#line 50 "/home/jens/Source/shotwell/src/LibraryFiles.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 444 "LibraryFiles.c"
- goto __catch462_g_error;
+ goto __catch460_g_error;
}
#line 50 "/home/jens/Source/shotwell/src/LibraryFiles.vala"
timestamp = _tmp0_;
#line 449 "LibraryFiles.c"
}
- goto __finally462;
- __catch462_g_error:
+ goto __finally460;
+ __catch460_g_error:
{
GError* err = NULL;
GFile* _tmp3_ = NULL;
@@ -478,7 +478,7 @@ GFile* library_files_duplicate (GFile* src, GFileProgressCallback progress_callb
_g_error_free0 (err);
#line 480 "LibraryFiles.c"
}
- __finally462:
+ __finally460:
#line 49 "/home/jens/Source/shotwell/src/LibraryFiles.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 49 "/home/jens/Source/shotwell/src/LibraryFiles.vala"
@@ -520,7 +520,7 @@ GFile* library_files_duplicate (GFile* src, GFileProgressCallback progress_callb
#line 59 "/home/jens/Source/shotwell/src/LibraryFiles.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 523 "LibraryFiles.c"
- goto __catch463_g_error;
+ goto __catch461_g_error;
}
#line 59 "/home/jens/Source/shotwell/src/LibraryFiles.vala"
_tmp15_ = _tmp12_;
@@ -534,8 +534,8 @@ GFile* library_files_duplicate (GFile* src, GFileProgressCallback progress_callb
_media_metadata_unref0 (_tmp12_);
#line 536 "LibraryFiles.c"
}
- goto __finally463;
- __catch463_g_error:
+ goto __finally461;
+ __catch461_g_error:
{
GError* err = NULL;
#line 58 "/home/jens/Source/shotwell/src/LibraryFiles.vala"
@@ -546,7 +546,7 @@ GFile* library_files_duplicate (GFile* src, GFileProgressCallback progress_callb
_g_error_free0 (err);
#line 548 "LibraryFiles.c"
}
- __finally463:
+ __finally461:
#line 58 "/home/jens/Source/shotwell/src/LibraryFiles.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 58 "/home/jens/Source/shotwell/src/LibraryFiles.vala"
@@ -604,7 +604,7 @@ GFile* library_files_duplicate (GFile* src, GFileProgressCallback progress_callb
#line 67 "/home/jens/Source/shotwell/src/LibraryFiles.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 607 "LibraryFiles.c"
- goto __catch464_g_error;
+ goto __catch462_g_error;
}
#line 67 "/home/jens/Source/shotwell/src/LibraryFiles.vala"
_tmp26_ = _tmp23_;
@@ -618,8 +618,8 @@ GFile* library_files_duplicate (GFile* src, GFileProgressCallback progress_callb
_media_metadata_unref0 (_tmp23_);
#line 620 "LibraryFiles.c"
}
- goto __finally464;
- __catch464_g_error:
+ goto __finally462;
+ __catch462_g_error:
{
GError* err = NULL;
#line 66 "/home/jens/Source/shotwell/src/LibraryFiles.vala"
@@ -630,7 +630,7 @@ GFile* library_files_duplicate (GFile* src, GFileProgressCallback progress_callb
_g_error_free0 (err);
#line 632 "LibraryFiles.c"
}
- __finally464:
+ __finally462:
#line 66 "/home/jens/Source/shotwell/src/LibraryFiles.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 66 "/home/jens/Source/shotwell/src/LibraryFiles.vala"
@@ -728,7 +728,7 @@ GFile* library_files_duplicate (GFile* src, GFileProgressCallback progress_callb
#line 82 "/home/jens/Source/shotwell/src/LibraryFiles.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 731 "LibraryFiles.c"
- goto __catch465_g_error;
+ goto __catch463_g_error;
}
#line 83 "/home/jens/Source/shotwell/src/LibraryFiles.vala"
_tmp42_ = blacklist;
@@ -743,8 +743,8 @@ GFile* library_files_duplicate (GFile* src, GFileProgressCallback progress_callb
#line 744 "LibraryFiles.c"
}
}
- goto __finally465;
- __catch465_g_error:
+ goto __finally463;
+ __catch463_g_error:
{
GError* err = NULL;
GFile* _tmp44_ = NULL;
@@ -798,7 +798,7 @@ GFile* library_files_duplicate (GFile* src, GFileProgressCallback progress_callb
#line 87 "/home/jens/Source/shotwell/src/LibraryFiles.vala"
_g_error_free0 (err);
#line 801 "LibraryFiles.c"
- goto __finally465;
+ goto __finally463;
}
#line 87 "/home/jens/Source/shotwell/src/LibraryFiles.vala"
_tmp55_ = dest;
@@ -813,7 +813,7 @@ GFile* library_files_duplicate (GFile* src, GFileProgressCallback progress_callb
#line 87 "/home/jens/Source/shotwell/src/LibraryFiles.vala"
_g_error_free0 (err);
#line 816 "LibraryFiles.c"
- goto __finally465;
+ goto __finally463;
}
#line 87 "/home/jens/Source/shotwell/src/LibraryFiles.vala"
_tmp57_ = _tmp51_;
@@ -857,7 +857,7 @@ GFile* library_files_duplicate (GFile* src, GFileProgressCallback progress_callb
_g_error_free0 (err);
#line 859 "LibraryFiles.c"
}
- __finally465:
+ __finally463:
#line 81 "/home/jens/Source/shotwell/src/LibraryFiles.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 81 "/home/jens/Source/shotwell/src/LibraryFiles.vala"
@@ -890,7 +890,7 @@ GFile* library_files_duplicate (GFile* src, GFileProgressCallback progress_callb
#line 93 "/home/jens/Source/shotwell/src/LibraryFiles.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 893 "LibraryFiles.c"
- goto __catch466_g_error;
+ goto __catch464_g_error;
}
#line 94 "/home/jens/Source/shotwell/src/LibraryFiles.vala"
_tmp64_ = info;
@@ -911,7 +911,7 @@ GFile* library_files_duplicate (GFile* src, GFileProgressCallback progress_callb
#line 95 "/home/jens/Source/shotwell/src/LibraryFiles.vala"
_g_object_unref0 (info);
#line 914 "LibraryFiles.c"
- goto __catch466_g_error;
+ goto __catch464_g_error;
}
#line 95 "/home/jens/Source/shotwell/src/LibraryFiles.vala"
if (!_tmp66_) {
@@ -923,8 +923,8 @@ GFile* library_files_duplicate (GFile* src, GFileProgressCallback progress_callb
_g_object_unref0 (info);
#line 925 "LibraryFiles.c"
}
- goto __finally466;
- __catch466_g_error:
+ goto __finally464;
+ __catch464_g_error:
{
GError* err = NULL;
GError* _tmp70_ = NULL;
@@ -943,7 +943,7 @@ GFile* library_files_duplicate (GFile* src, GFileProgressCallback progress_callb
_g_error_free0 (err);
#line 945 "LibraryFiles.c"
}
- __finally466:
+ __finally464:
#line 92 "/home/jens/Source/shotwell/src/LibraryFiles.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 92 "/home/jens/Source/shotwell/src/LibraryFiles.vala"
diff --git a/src/LibraryMonitor.c b/src/LibraryMonitor.c
index b3b33d6..761ddd2 100644
--- a/src/LibraryMonitor.c
+++ b/src/LibraryMonitor.c
@@ -1,4 +1,4 @@
-/* LibraryMonitor.c generated by valac 0.34.2, the Vala compiler
+/* LibraryMonitor.c generated by valac 0.32.1, the Vala compiler
* generated from LibraryMonitor.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -2251,7 +2251,7 @@ static void library_monitor_real_discovery_started (DirectoryMonitor* base) {
#line 287 "/home/jens/Source/shotwell/src/LibraryMonitor.vala"
self->priv->discovered = _tmp28_;
#line 288 "/home/jens/Source/shotwell/src/LibraryMonitor.vala"
- _tmp29_ = gee_hash_set_new (g_file_get_type (), (GBoxedCopyFunc) g_object_ref, g_object_unref, _file_hash_gee_hash_data_func, NULL, NULL, _file_equal_gee_equal_data_func, NULL, NULL);
+ _tmp29_ = gee_hash_set_new (G_TYPE_FILE, (GBoxedCopyFunc) g_object_ref, g_object_unref, _file_hash_gee_hash_data_func, NULL, NULL, _file_equal_gee_equal_data_func, NULL, NULL);
#line 288 "/home/jens/Source/shotwell/src/LibraryMonitor.vala"
_g_object_unref0 (self->priv->unknown_files);
#line 288 "/home/jens/Source/shotwell/src/LibraryMonitor.vala"
@@ -2624,7 +2624,7 @@ static gboolean library_monitor_async_discovery_completed_co (LibraryMonitorAsyn
#line 338 "/home/jens/Source/shotwell/src/LibraryMonitor.vala"
_data_->_tmp4_ = NULL;
#line 338 "/home/jens/Source/shotwell/src/LibraryMonitor.vala"
- _data_->_tmp4_ = gee_array_list_new (g_file_get_type (), (GBoxedCopyFunc) g_object_ref, g_object_unref, _file_equal_gee_equal_data_func, NULL, NULL);
+ _data_->_tmp4_ = gee_array_list_new (G_TYPE_FILE, (GBoxedCopyFunc) g_object_ref, g_object_unref, _file_equal_gee_equal_data_func, NULL, NULL);
#line 338 "/home/jens/Source/shotwell/src/LibraryMonitor.vala"
_data_->adopted = _data_->_tmp4_;
#line 2631 "LibraryMonitor.c"
@@ -4123,7 +4123,7 @@ static gboolean library_monitor_verify_monitorable_co (LibraryMonitorVerifyMonit
#line 509 "/home/jens/Source/shotwell/src/LibraryMonitor.vala"
if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 4126 "LibraryMonitor.c"
- goto __catch484_g_error;
+ goto __catch482_g_error;
}
#line 509 "/home/jens/Source/shotwell/src/LibraryMonitor.vala"
_data_->_tmp31_ = NULL;
@@ -4139,8 +4139,8 @@ static gboolean library_monitor_verify_monitorable_co (LibraryMonitorVerifyMonit
_g_object_unref0 (_data_->_tmp27_);
#line 4141 "LibraryMonitor.c"
}
- goto __finally484;
- __catch484_g_error:
+ goto __finally482;
+ __catch482_g_error:
{
#line 508 "/home/jens/Source/shotwell/src/LibraryMonitor.vala"
_data_->err = _data_->_inner_error_;
@@ -4150,7 +4150,7 @@ static gboolean library_monitor_verify_monitorable_co (LibraryMonitorVerifyMonit
_g_error_free0 (_data_->err);
#line 4152 "LibraryMonitor.c"
}
- __finally484:
+ __finally482:
#line 508 "/home/jens/Source/shotwell/src/LibraryMonitor.vala"
if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 508 "/home/jens/Source/shotwell/src/LibraryMonitor.vala"
@@ -5384,7 +5384,7 @@ static void library_monitor_on_import_complete (LibraryMonitor* self, BatchImpor
#line 700 "/home/jens/Source/shotwell/src/LibraryMonitor.vala"
if (_inner_error_->domain == DATABASE_ERROR) {
#line 5387 "LibraryMonitor.c"
- goto __catch485_database_error;
+ goto __catch483_database_error;
}
#line 700 "/home/jens/Source/shotwell/src/LibraryMonitor.vala"
_g_object_unref0 (to_tombstone);
@@ -5397,8 +5397,8 @@ static void library_monitor_on_import_complete (LibraryMonitor* self, BatchImpor
#line 5398 "LibraryMonitor.c"
}
}
- goto __finally485;
- __catch485_database_error:
+ goto __finally483;
+ __catch483_database_error:
{
GError* err = NULL;
GError* _tmp58_ = NULL;
@@ -5414,7 +5414,7 @@ static void library_monitor_on_import_complete (LibraryMonitor* self, BatchImpor
_g_error_free0 (err);
#line 5416 "LibraryMonitor.c"
}
- __finally485:
+ __finally483:
#line 699 "/home/jens/Source/shotwell/src/LibraryMonitor.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 699 "/home/jens/Source/shotwell/src/LibraryMonitor.vala"
@@ -5502,7 +5502,7 @@ void library_monitor_blacklist_file (GFile* file, const gchar* reason) {
gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp8_);
#line 5504 "LibraryMonitor.c"
}
- __finally486:
+ __finally484:
{
GeeHashSet* _tmp9_ = NULL;
#line 727 "/home/jens/Source/shotwell/src/LibraryMonitor.vala"
@@ -5582,7 +5582,7 @@ void library_monitor_unblacklist_file (GFile* file) {
#line 5583 "LibraryMonitor.c"
}
}
- __finally487:
+ __finally485:
{
GeeHashSet* _tmp10_ = NULL;
#line 735 "/home/jens/Source/shotwell/src/LibraryMonitor.vala"
@@ -5632,7 +5632,7 @@ static void library_monitor_on_unblacklist_file (GFile* file) {
removed = _tmp3_;
#line 5634 "LibraryMonitor.c"
}
- __finally488:
+ __finally486:
{
GeeHashSet* _tmp4_ = NULL;
#line 743 "/home/jens/Source/shotwell/src/LibraryMonitor.vala"
@@ -5734,7 +5734,7 @@ gboolean library_monitor_is_blacklisted (GFile* file) {
return result;
#line 5736 "LibraryMonitor.c"
}
- __finally489:
+ __finally487:
{
GeeHashSet* _tmp5_ = NULL;
#line 754 "/home/jens/Source/shotwell/src/LibraryMonitor.vala"
@@ -6053,7 +6053,7 @@ static void library_monitor_import_unrepresented_files (LibraryMonitor* self) {
#line 6054 "LibraryMonitor.c"
GeeArrayList* _tmp39_ = NULL;
#line 797 "/home/jens/Source/shotwell/src/LibraryMonitor.vala"
- _tmp39_ = gee_array_list_new (g_file_get_type (), (GBoxedCopyFunc) g_object_ref, g_object_unref, _file_equal_gee_equal_data_func, NULL, NULL);
+ _tmp39_ = gee_array_list_new (G_TYPE_FILE, (GBoxedCopyFunc) g_object_ref, g_object_unref, _file_equal_gee_equal_data_func, NULL, NULL);
#line 797 "/home/jens/Source/shotwell/src/LibraryMonitor.vala"
_g_object_unref0 (to_import);
#line 797 "/home/jens/Source/shotwell/src/LibraryMonitor.vala"
@@ -7858,7 +7858,7 @@ static void library_monitor_find_move_job_real_execute (BackgroundJob* base) {
#line 133 "/home/jens/Source/shotwell/src/LibraryMonitor.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 7860 "LibraryMonitor.c"
- goto __catch490_g_error;
+ goto __catch488_g_error;
}
#line 133 "/home/jens/Source/shotwell/src/LibraryMonitor.vala"
_tmp18_ = _tmp15_;
@@ -7872,8 +7872,8 @@ static void library_monitor_find_move_job_real_execute (BackgroundJob* base) {
_g_free0 (_tmp15_);
#line 7873 "LibraryMonitor.c"
}
- goto __finally490;
- __catch490_g_error:
+ goto __finally488;
+ __catch488_g_error:
{
GError* err = NULL;
GError* _tmp19_ = NULL;
@@ -7900,7 +7900,7 @@ static void library_monitor_find_move_job_real_execute (BackgroundJob* base) {
return;
#line 7901 "LibraryMonitor.c"
}
- __finally490:
+ __finally488:
#line 132 "/home/jens/Source/shotwell/src/LibraryMonitor.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 132 "/home/jens/Source/shotwell/src/LibraryMonitor.vala"
@@ -8212,7 +8212,7 @@ static void library_monitor_runtime_find_move_job_real_execute (BackgroundJob* b
#line 179 "/home/jens/Source/shotwell/src/LibraryMonitor.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 8213 "LibraryMonitor.c"
- goto __catch491_g_error;
+ goto __catch489_g_error;
}
#line 179 "/home/jens/Source/shotwell/src/LibraryMonitor.vala"
_tmp3_ = _tmp0_;
@@ -8226,8 +8226,8 @@ static void library_monitor_runtime_find_move_job_real_execute (BackgroundJob* b
_g_free0 (_tmp0_);
#line 8226 "LibraryMonitor.c"
}
- goto __finally491;
- __catch491_g_error:
+ goto __finally489;
+ __catch489_g_error:
{
GError* err = NULL;
GError* _tmp4_ = NULL;
@@ -8252,7 +8252,7 @@ static void library_monitor_runtime_find_move_job_real_execute (BackgroundJob* b
return;
#line 8252 "LibraryMonitor.c"
}
- __finally491:
+ __finally489:
#line 178 "/home/jens/Source/shotwell/src/LibraryMonitor.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 178 "/home/jens/Source/shotwell/src/LibraryMonitor.vala"
@@ -8727,11 +8727,11 @@ static void library_monitor_class_init (LibraryMonitorClass * klass) {
#line 206 "/home/jens/Source/shotwell/src/LibraryMonitor.vala"
g_rec_mutex_init (&__lock_library_monitor_blacklist);
#line 206 "/home/jens/Source/shotwell/src/LibraryMonitor.vala"
- _tmp0_ = gee_hash_set_new (g_file_get_type (), (GBoxedCopyFunc) g_object_ref, g_object_unref, _file_hash_gee_hash_data_func, NULL, NULL, _file_equal_gee_equal_data_func, NULL, NULL);
+ _tmp0_ = gee_hash_set_new (G_TYPE_FILE, (GBoxedCopyFunc) g_object_ref, g_object_unref, _file_hash_gee_hash_data_func, NULL, NULL, _file_equal_gee_equal_data_func, NULL, NULL);
#line 206 "/home/jens/Source/shotwell/src/LibraryMonitor.vala"
library_monitor_blacklist = _tmp0_;
#line 207 "/home/jens/Source/shotwell/src/LibraryMonitor.vala"
- _tmp1_ = hash_timed_queue_new (g_file_get_type (), (GBoxedCopyFunc) g_object_ref, g_object_unref, (guint) LIBRARY_MONITOR_MIN_BLACKLIST_DURATION_MSEC, _library_monitor_on_unblacklist_file_dequeued_callback, NULL, _file_hash_gee_hash_data_func, NULL, NULL, _file_equal_gee_equal_data_func, NULL, NULL, G_PRIORITY_LOW);
+ _tmp1_ = hash_timed_queue_new (G_TYPE_FILE, (GBoxedCopyFunc) g_object_ref, g_object_unref, (guint) LIBRARY_MONITOR_MIN_BLACKLIST_DURATION_MSEC, _library_monitor_on_unblacklist_file_dequeued_callback, NULL, _file_hash_gee_hash_data_func, NULL, NULL, _file_equal_gee_equal_data_func, NULL, NULL, G_PRIORITY_LOW);
#line 207 "/home/jens/Source/shotwell/src/LibraryMonitor.vala"
library_monitor_to_unblacklist = _tmp1_;
#line 8736 "LibraryMonitor.c"
@@ -8770,11 +8770,11 @@ static void library_monitor_instance_init (LibraryMonitor * self) {
#line 215 "/home/jens/Source/shotwell/src/LibraryMonitor.vala"
self->priv->discovered = NULL;
#line 216 "/home/jens/Source/shotwell/src/LibraryMonitor.vala"
- _tmp4_ = gee_hash_set_new (g_file_get_type (), (GBoxedCopyFunc) g_object_ref, g_object_unref, _file_hash_gee_hash_data_func, NULL, NULL, _file_equal_gee_equal_data_func, NULL, NULL);
+ _tmp4_ = gee_hash_set_new (G_TYPE_FILE, (GBoxedCopyFunc) g_object_ref, g_object_unref, _file_hash_gee_hash_data_func, NULL, NULL, _file_equal_gee_equal_data_func, NULL, NULL);
#line 216 "/home/jens/Source/shotwell/src/LibraryMonitor.vala"
self->priv->import_queue = _tmp4_;
#line 217 "/home/jens/Source/shotwell/src/LibraryMonitor.vala"
- _tmp5_ = gee_hash_set_new (g_file_get_type (), (GBoxedCopyFunc) g_object_ref, g_object_unref, _file_hash_gee_hash_data_func, NULL, NULL, _file_equal_gee_equal_data_func, NULL, NULL);
+ _tmp5_ = gee_hash_set_new (G_TYPE_FILE, (GBoxedCopyFunc) g_object_ref, g_object_unref, _file_hash_gee_hash_data_func, NULL, NULL, _file_equal_gee_equal_data_func, NULL, NULL);
#line 217 "/home/jens/Source/shotwell/src/LibraryMonitor.vala"
self->priv->pending_imports = _tmp5_;
#line 218 "/home/jens/Source/shotwell/src/LibraryMonitor.vala"
diff --git a/src/MediaDataRepresentation.c b/src/MediaDataRepresentation.c
index 66be0bd..5e80e43 100644
--- a/src/MediaDataRepresentation.c
+++ b/src/MediaDataRepresentation.c
@@ -1,4 +1,4 @@
-/* MediaDataRepresentation.c generated by valac 0.34.2, the Vala compiler
+/* MediaDataRepresentation.c generated by valac 0.32.1, the Vala compiler
* generated from MediaDataRepresentation.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -2081,14 +2081,14 @@ gboolean media_source_delete_original_file (MediaSource* self) {
#line 102 "/home/jens/Source/shotwell/src/MediaDataRepresentation.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 2084 "MediaDataRepresentation.c"
- goto __catch559_g_error;
+ goto __catch557_g_error;
}
#line 102 "/home/jens/Source/shotwell/src/MediaDataRepresentation.vala"
ret = _tmp1_;
#line 2089 "MediaDataRepresentation.c"
}
- goto __finally559;
- __catch559_g_error:
+ goto __finally557;
+ __catch557_g_error:
{
GError* err = NULL;
GFile* _tmp4_ = NULL;
@@ -2119,7 +2119,7 @@ gboolean media_source_delete_original_file (MediaSource* self) {
_g_error_free0 (err);
#line 2120 "MediaDataRepresentation.c"
}
- __finally559:
+ __finally557:
#line 101 "/home/jens/Source/shotwell/src/MediaDataRepresentation.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 101 "/home/jens/Source/shotwell/src/MediaDataRepresentation.vala"
@@ -2239,7 +2239,7 @@ gboolean media_source_delete_original_file (MediaSource* self) {
#line 119 "/home/jens/Source/shotwell/src/MediaDataRepresentation.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 2241 "MediaDataRepresentation.c"
- goto __catch560_g_error;
+ goto __catch558_g_error;
}
#line 119 "/home/jens/Source/shotwell/src/MediaDataRepresentation.vala"
if (!_tmp29_) {
@@ -2248,8 +2248,8 @@ gboolean media_source_delete_original_file (MediaSource* self) {
#line 2248 "MediaDataRepresentation.c"
}
}
- goto __finally560;
- __catch560_g_error:
+ goto __finally558;
+ __catch558_g_error:
{
GError* err = NULL;
GFile* _tmp32_ = NULL;
@@ -2281,7 +2281,7 @@ gboolean media_source_delete_original_file (MediaSource* self) {
break;
#line 2282 "MediaDataRepresentation.c"
}
- __finally560:
+ __finally558:
#line 118 "/home/jens/Source/shotwell/src/MediaDataRepresentation.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 118 "/home/jens/Source/shotwell/src/MediaDataRepresentation.vala"
@@ -2308,7 +2308,7 @@ gboolean media_source_delete_original_file (MediaSource* self) {
#line 128 "/home/jens/Source/shotwell/src/MediaDataRepresentation.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 2310 "MediaDataRepresentation.c"
- goto __catch561_g_error;
+ goto __catch559_g_error;
}
#line 129 "/home/jens/Source/shotwell/src/MediaDataRepresentation.vala"
_tmp38_ = parent;
@@ -2322,8 +2322,8 @@ gboolean media_source_delete_original_file (MediaSource* self) {
_g_free0 (_tmp40_);
#line 2323 "MediaDataRepresentation.c"
}
- goto __finally561;
- __catch561_g_error:
+ goto __finally559;
+ __catch559_g_error:
{
GError* err = NULL;
GFile* _tmp41_ = NULL;
@@ -2354,7 +2354,7 @@ gboolean media_source_delete_original_file (MediaSource* self) {
_g_error_free0 (err);
#line 2354 "MediaDataRepresentation.c"
}
- __finally561:
+ __finally559:
#line 127 "/home/jens/Source/shotwell/src/MediaDataRepresentation.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 127 "/home/jens/Source/shotwell/src/MediaDataRepresentation.vala"
@@ -3481,7 +3481,7 @@ static void media_source_class_init (MediaSourceClass * klass) {
#line 32 "/home/jens/Source/shotwell/src/MediaDataRepresentation.vala"
G_OBJECT_CLASS (klass)->finalize = media_source_finalize;
#line 32 "/home/jens/Source/shotwell/src/MediaDataRepresentation.vala"
- g_signal_new ("master_replaced", TYPE_MEDIA_SOURCE, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (MediaSourceClass, master_replaced), NULL, NULL, g_cclosure_user_marshal_VOID__OBJECT_OBJECT, G_TYPE_NONE, 2, g_file_get_type (), g_file_get_type ());
+ g_signal_new ("master_replaced", TYPE_MEDIA_SOURCE, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (MediaSourceClass, master_replaced), NULL, NULL, g_cclosure_user_marshal_VOID__OBJECT_OBJECT, G_TYPE_NONE, 2, G_TYPE_FILE, G_TYPE_FILE);
#line 3484 "MediaDataRepresentation.c"
}
@@ -3970,7 +3970,7 @@ static void media_source_holding_tank_instance_init (MediaSourceHoldingTank * se
#line 268 "/home/jens/Source/shotwell/src/MediaDataRepresentation.vala"
self->priv = MEDIA_SOURCE_HOLDING_TANK_GET_PRIVATE (self);
#line 269 "/home/jens/Source/shotwell/src/MediaDataRepresentation.vala"
- _tmp0_ = gee_hash_map_new (g_file_get_type (), (GBoxedCopyFunc) g_object_ref, g_object_unref, TYPE_MEDIA_SOURCE, (GBoxedCopyFunc) g_object_ref, g_object_unref, _file_hash_gee_hash_data_func, NULL, NULL, _file_equal_gee_equal_data_func, NULL, NULL, NULL, NULL, NULL);
+ _tmp0_ = gee_hash_map_new (G_TYPE_FILE, (GBoxedCopyFunc) g_object_ref, g_object_unref, TYPE_MEDIA_SOURCE, (GBoxedCopyFunc) g_object_ref, g_object_unref, _file_hash_gee_hash_data_func, NULL, NULL, _file_equal_gee_equal_data_func, NULL, NULL, NULL, NULL, NULL);
#line 269 "/home/jens/Source/shotwell/src/MediaDataRepresentation.vala"
self->priv->master_file_map = _tmp0_;
#line 3975 "MediaDataRepresentation.c"
@@ -6399,7 +6399,7 @@ void media_source_collection_remove_from_app (MediaSourceCollection* self, GeeCo
#line 704 "/home/jens/Source/shotwell/src/MediaDataRepresentation.vala"
if (_inner_error_->domain == DATABASE_ERROR) {
#line 6400 "MediaDataRepresentation.c"
- goto __catch562_database_error;
+ goto __catch560_database_error;
}
#line 704 "/home/jens/Source/shotwell/src/MediaDataRepresentation.vala"
_aggregate_progress_monitor_unref0 (agg_monitor);
@@ -6422,8 +6422,8 @@ void media_source_collection_remove_from_app (MediaSourceCollection* self, GeeCo
#line 6421 "MediaDataRepresentation.c"
}
}
- goto __finally562;
- __catch562_database_error:
+ goto __finally560;
+ __catch560_database_error:
{
GError* err = NULL;
GError* _tmp78_ = NULL;
@@ -6439,7 +6439,7 @@ void media_source_collection_remove_from_app (MediaSourceCollection* self, GeeCo
_g_error_free0 (err);
#line 6439 "MediaDataRepresentation.c"
}
- __finally562:
+ __finally560:
#line 703 "/home/jens/Source/shotwell/src/MediaDataRepresentation.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 703 "/home/jens/Source/shotwell/src/MediaDataRepresentation.vala"
@@ -6564,11 +6564,11 @@ void media_source_collection_delete_backing_files (MediaSourceCollection* self,
#line 721 "/home/jens/Source/shotwell/src/MediaDataRepresentation.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 6565 "MediaDataRepresentation.c"
- goto __catch563_g_error;
+ goto __catch561_g_error;
}
}
- goto __finally563;
- __catch563_g_error:
+ goto __finally561;
+ __catch561_g_error:
{
GError* err = NULL;
GFile* _tmp12_ = NULL;
@@ -6598,7 +6598,7 @@ void media_source_collection_delete_backing_files (MediaSourceCollection* self,
_g_error_free0 (err);
#line 6598 "MediaDataRepresentation.c"
}
- __finally563:
+ __finally561:
#line 720 "/home/jens/Source/shotwell/src/MediaDataRepresentation.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 720 "/home/jens/Source/shotwell/src/MediaDataRepresentation.vala"
@@ -6839,7 +6839,7 @@ static void media_source_collection_class_init (MediaSourceCollectionClass * kla
#line 341 "/home/jens/Source/shotwell/src/MediaDataRepresentation.vala"
g_signal_new ("media_import_completed", TYPE_MEDIA_SOURCE_COLLECTION, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (MediaSourceCollectionClass, media_import_completed), NULL, NULL, g_cclosure_marshal_VOID__OBJECT, G_TYPE_NONE, 1, GEE_TYPE_COLLECTION);
#line 341 "/home/jens/Source/shotwell/src/MediaDataRepresentation.vala"
- g_signal_new ("master_file_replaced", TYPE_MEDIA_SOURCE_COLLECTION, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (MediaSourceCollectionClass, master_file_replaced), NULL, NULL, g_cclosure_user_marshal_VOID__OBJECT_OBJECT_OBJECT, G_TYPE_NONE, 3, TYPE_MEDIA_SOURCE, g_file_get_type (), g_file_get_type ());
+ g_signal_new ("master_file_replaced", TYPE_MEDIA_SOURCE_COLLECTION, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (MediaSourceCollectionClass, master_file_replaced), NULL, NULL, g_cclosure_user_marshal_VOID__OBJECT_OBJECT_OBJECT, G_TYPE_NONE, 3, TYPE_MEDIA_SOURCE, G_TYPE_FILE, G_TYPE_FILE);
#line 341 "/home/jens/Source/shotwell/src/MediaDataRepresentation.vala"
g_signal_new ("trashcan_contents_altered", TYPE_MEDIA_SOURCE_COLLECTION, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (MediaSourceCollectionClass, trashcan_contents_altered), NULL, NULL, g_cclosure_user_marshal_VOID__OBJECT_OBJECT, G_TYPE_NONE, 2, GEE_TYPE_COLLECTION, GEE_TYPE_COLLECTION);
#line 341 "/home/jens/Source/shotwell/src/MediaDataRepresentation.vala"
@@ -6864,7 +6864,7 @@ static void media_source_collection_instance_init (MediaSourceCollection * self)
#line 345 "/home/jens/Source/shotwell/src/MediaDataRepresentation.vala"
self->priv->offline_bin = NULL;
#line 346 "/home/jens/Source/shotwell/src/MediaDataRepresentation.vala"
- _tmp0_ = gee_hash_map_new (g_file_get_type (), (GBoxedCopyFunc) g_object_ref, g_object_unref, TYPE_MEDIA_SOURCE, (GBoxedCopyFunc) g_object_ref, g_object_unref, _file_hash_gee_hash_data_func, NULL, NULL, _file_equal_gee_equal_data_func, NULL, NULL, NULL, NULL, NULL);
+ _tmp0_ = gee_hash_map_new (G_TYPE_FILE, (GBoxedCopyFunc) g_object_ref, g_object_unref, TYPE_MEDIA_SOURCE, (GBoxedCopyFunc) g_object_ref, g_object_unref, _file_hash_gee_hash_data_func, NULL, NULL, _file_equal_gee_equal_data_func, NULL, NULL, NULL, NULL, NULL);
#line 346 "/home/jens/Source/shotwell/src/MediaDataRepresentation.vala"
self->priv->by_master_file = _tmp0_;
#line 348 "/home/jens/Source/shotwell/src/MediaDataRepresentation.vala"
diff --git a/src/MediaInterfaces.c b/src/MediaInterfaces.c
index 019cddc..ba3f229 100644
--- a/src/MediaInterfaces.c
+++ b/src/MediaInterfaces.c
@@ -1,4 +1,4 @@
-/* MediaInterfaces.c generated by valac 0.34.2, the Vala compiler
+/* MediaInterfaces.c generated by valac 0.32.1, the Vala compiler
* generated from MediaInterfaces.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -293,11 +293,11 @@ void transaction_controller_begin (TransactionController* self) {
#line 69 "/home/jens/Source/shotwell/src/MediaInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 296 "MediaInterfaces.c"
- goto __catch570_g_error;
+ goto __catch568_g_error;
}
}
- goto __finally570;
- __catch570_g_error:
+ goto __finally568;
+ __catch568_g_error:
{
GError* err = NULL;
gint _tmp3_ = 0;
@@ -344,7 +344,7 @@ void transaction_controller_begin (TransactionController* self) {
_g_error_free0 (err);
#line 346 "MediaInterfaces.c"
}
- __finally570:
+ __finally568:
#line 68 "/home/jens/Source/shotwell/src/MediaInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 351 "MediaInterfaces.c"
@@ -365,7 +365,7 @@ void transaction_controller_begin (TransactionController* self) {
#line 366 "MediaInterfaces.c"
}
}
- __finally569:
+ __finally567:
{
gint _tmp11_ = 0;
#line 64 "/home/jens/Source/shotwell/src/MediaInterfaces.vala"
@@ -453,11 +453,11 @@ void transaction_controller_commit (TransactionController* self) {
#line 93 "/home/jens/Source/shotwell/src/MediaInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 456 "MediaInterfaces.c"
- goto __catch572_g_error;
+ goto __catch570_g_error;
}
}
- goto __finally572;
- __catch572_g_error:
+ goto __finally570;
+ __catch570_g_error:
{
GError* err = NULL;
GError* _tmp5_ = NULL;
@@ -499,7 +499,7 @@ void transaction_controller_commit (TransactionController* self) {
_g_error_free0 (err);
#line 501 "MediaInterfaces.c"
}
- __finally572:
+ __finally570:
#line 92 "/home/jens/Source/shotwell/src/MediaInterfaces.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 506 "MediaInterfaces.c"
@@ -520,7 +520,7 @@ void transaction_controller_commit (TransactionController* self) {
#line 521 "MediaInterfaces.c"
}
}
- __finally571:
+ __finally569:
{
gint _tmp12_ = 0;
#line 86 "/home/jens/Source/shotwell/src/MediaInterfaces.vala"
@@ -792,7 +792,7 @@ static void transaction_controller_finalize (TransactionController* obj) {
_vala_assert (_tmp1_ == 0, "count == 0");
#line 794 "MediaInterfaces.c"
}
- __finally568:
+ __finally566:
{
gint _tmp2_ = 0;
#line 58 "/home/jens/Source/shotwell/src/MediaInterfaces.vala"
diff --git a/src/MediaMetadata.c b/src/MediaMetadata.c
index dd49c19..b426c62 100644
--- a/src/MediaMetadata.c
+++ b/src/MediaMetadata.c
@@ -1,4 +1,4 @@
-/* MediaMetadata.c generated by valac 0.34.2, the Vala compiler
+/* MediaMetadata.c generated by valac 0.32.1, the Vala compiler
* generated from MediaMetadata.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -1093,13 +1093,13 @@ gboolean metadata_date_time_from_exif_date_time (const gchar* date_time, time_t*
static void g_time_local (time_t time, struct tm* result) {
struct tm _result_ = {0};
struct tm _tmp0_ = {0};
-#line 2750 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2701 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
localtime_r (&time, &_tmp0_);
-#line 2750 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2701 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_result_ = _tmp0_;
-#line 2751 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2702 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
*result = _result_;
-#line 2751 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2702 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return;
#line 1105 "MediaMetadata.c"
}
@@ -1117,35 +1117,35 @@ static gchar* g_time_format (struct tm *self, const gchar* format) {
gchar* _tmp3_ = NULL;
gint _tmp3__length1 = 0;
gchar* _tmp4_ = NULL;
-#line 2758 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2709 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (format != NULL, NULL);
-#line 2759 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2710 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = g_new0 (gchar, 64);
-#line 2759 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2710 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
buffer = _tmp0_;
-#line 2759 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2710 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
buffer_length1 = 64;
-#line 2759 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2710 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_buffer_size_ = buffer_length1;
-#line 2760 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2711 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = buffer;
-#line 2760 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2711 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1__length1 = buffer_length1;
-#line 2760 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2711 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = format;
-#line 2760 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2711 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
strftime (_tmp1_, _tmp1__length1, _tmp2_, &(*self));
-#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = buffer;
-#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3__length1 = buffer_length1;
-#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = g_strdup ((const gchar*) _tmp3_);
-#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp4_;
-#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
buffer = (g_free (buffer), NULL);
-#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 1151 "MediaMetadata.c"
}
diff --git a/src/MediaMonitor.c b/src/MediaMonitor.c
index 2cf2d28..aa1cd67 100644
--- a/src/MediaMonitor.c
+++ b/src/MediaMonitor.c
@@ -1,4 +1,4 @@
-/* MediaMonitor.c generated by valac 0.34.2, the Vala compiler
+/* MediaMonitor.c generated by valac 0.32.1, the Vala compiler
* generated from MediaMonitor.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -2166,7 +2166,7 @@ static void media_monitor_real_process_updates (MediaMonitor* self, GeeCollectio
#line 2167 "MediaMonitor.c"
GeeHashMap* _tmp12_ = NULL;
#line 298 "/home/jens/Source/shotwell/src/MediaMonitor.vala"
- _tmp12_ = gee_hash_map_new (TYPE_MONITORABLE, (GBoxedCopyFunc) g_object_ref, g_object_unref, g_file_get_type (), (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
+ _tmp12_ = gee_hash_map_new (TYPE_MONITORABLE, (GBoxedCopyFunc) g_object_ref, g_object_unref, G_TYPE_FILE, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
#line 298 "/home/jens/Source/shotwell/src/MediaMonitor.vala"
_g_object_unref0 (set_master_file);
#line 298 "/home/jens/Source/shotwell/src/MediaMonitor.vala"
@@ -2853,7 +2853,7 @@ static gboolean media_monitor_on_flush_pending_updates (MediaMonitor* self) {
#line 394 "/home/jens/Source/shotwell/src/MediaMonitor.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 2856 "MediaMonitor.c"
- goto __catch581_g_error;
+ goto __catch579_g_error;
}
#line 395 "/home/jens/Source/shotwell/src/MediaMonitor.vala"
_tmp39_ = controller;
@@ -2861,8 +2861,8 @@ static gboolean media_monitor_on_flush_pending_updates (MediaMonitor* self) {
transaction_controller_commit (_tmp39_);
#line 2863 "MediaMonitor.c"
}
- goto __finally581;
- __catch581_g_error:
+ goto __finally579;
+ __catch579_g_error:
{
GError* err = NULL;
GError* _tmp40_ = NULL;
@@ -2907,7 +2907,7 @@ static gboolean media_monitor_on_flush_pending_updates (MediaMonitor* self) {
_g_error_free0 (err);
#line 2909 "MediaMonitor.c"
}
- __finally581:
+ __finally579:
#line 392 "/home/jens/Source/shotwell/src/MediaMonitor.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 392 "/home/jens/Source/shotwell/src/MediaMonitor.vala"
diff --git a/src/MediaPage.c b/src/MediaPage.c
index ef9658a..3cd4e03 100644
--- a/src/MediaPage.c
+++ b/src/MediaPage.c
@@ -1,4 +1,4 @@
-/* MediaPage.c generated by valac 0.34.2, the Vala compiler
+/* MediaPage.c generated by valac 0.32.1, the Vala compiler
* generated from MediaPage.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -1174,14 +1174,14 @@ void media_page_get_config_photos_sort (MediaPage* self, gboolean* sort_order, g
GType app_window_get_type (void) G_GNUC_CONST;
AppWindow* app_window_get_instance (void);
GAction* page_get_action (Page* self, const gchar* name);
-static GVariant* _variant_new19 (gboolean value);
-static GVariant* _variant_new20 (gboolean value);
-static GVariant* _variant_new21 (gboolean value);
-static GVariant* _variant_new22 (gboolean value);
-static GVariant* _variant_new23 (gchar* value);
-static GVariant* _variant_new24 (const gchar* value);
+static GVariant* _variant_new23 (gboolean value);
+static GVariant* _variant_new24 (gboolean value);
+static GVariant* _variant_new25 (gboolean value);
+static GVariant* _variant_new26 (gboolean value);
+static GVariant* _variant_new27 (gchar* value);
+static GVariant* _variant_new28 (const gchar* value);
RawDeveloper configuration_facade_get_default_raw_developer (ConfigurationFacade* self);
-static GVariant* _variant_new25 (const gchar* value);
+static GVariant* _variant_new29 (const gchar* value);
static void media_page_real_update_actions (Page* base, gint selected_count, gint count);
void page_set_action_sensitive (Page* self, const gchar* name, gboolean sensitive);
gboolean desktop_integration_is_send_to_installed (void);
@@ -1395,9 +1395,9 @@ static void media_page_real_set_display_comments (CheckerboardPage* base, gboole
static GAction* media_page_sort_by_title_action (MediaPage* self);
static GAction* media_page_sort_ascending_action (MediaPage* self);
void media_page_set_menu_sort_by (MediaPage* self, gint val);
-static GVariant* _variant_new26 (const gchar* value);
+static GVariant* _variant_new30 (const gchar* value);
void media_page_set_menu_sort_order (MediaPage* self, gboolean ascending);
-static GVariant* _variant_new27 (const gchar* value);
+static GVariant* _variant_new31 (const gchar* value);
gint64 thumbnail_title_ascending_comparator (void* a, void* b);
static gint64 _thumbnail_title_ascending_comparator_comparator (void* a, void* b, gpointer self);
gint64 thumbnail_title_descending_comparator (void* a, void* b);
@@ -2618,49 +2618,49 @@ static void media_page_real_init_collect_ui_filenames (Page* base, GeeList* ui_f
}
-static GVariant* _variant_new19 (gboolean value) {
+static GVariant* _variant_new23 (gboolean value) {
#line 332 "/home/jens/Source/shotwell/src/MediaPage.vala"
return g_variant_ref_sink (g_variant_new_boolean (value));
#line 2625 "MediaPage.c"
}
-static GVariant* _variant_new20 (gboolean value) {
+static GVariant* _variant_new24 (gboolean value) {
#line 333 "/home/jens/Source/shotwell/src/MediaPage.vala"
return g_variant_ref_sink (g_variant_new_boolean (value));
#line 2632 "MediaPage.c"
}
-static GVariant* _variant_new21 (gboolean value) {
+static GVariant* _variant_new25 (gboolean value) {
#line 334 "/home/jens/Source/shotwell/src/MediaPage.vala"
return g_variant_ref_sink (g_variant_new_boolean (value));
#line 2639 "MediaPage.c"
}
-static GVariant* _variant_new22 (gboolean value) {
+static GVariant* _variant_new26 (gboolean value) {
#line 335 "/home/jens/Source/shotwell/src/MediaPage.vala"
return g_variant_ref_sink (g_variant_new_boolean (value));
#line 2646 "MediaPage.c"
}
-static GVariant* _variant_new23 (gchar* value) {
+static GVariant* _variant_new27 (gchar* value) {
#line 336 "/home/jens/Source/shotwell/src/MediaPage.vala"
return g_variant_ref_sink (g_variant_new_string (value));
#line 2653 "MediaPage.c"
}
-static GVariant* _variant_new24 (const gchar* value) {
+static GVariant* _variant_new28 (const gchar* value) {
#line 337 "/home/jens/Source/shotwell/src/MediaPage.vala"
return g_variant_ref_sink (g_variant_new_string (value));
#line 2660 "MediaPage.c"
}
-static GVariant* _variant_new25 (const gchar* value) {
+static GVariant* _variant_new29 (const gchar* value) {
#line 340 "/home/jens/Source/shotwell/src/MediaPage.vala"
return g_variant_ref_sink (g_variant_new_string (value));
#line 2667 "MediaPage.c"
@@ -2676,58 +2676,50 @@ static void media_page_real_add_actions (Page* base) {
AppWindow* _tmp2_ = NULL;
AppWindow* _tmp3_ = NULL;
GAction* _tmp4_ = NULL;
- GSimpleAction* _tmp5_ = NULL;
- GSimpleAction* _tmp6_ = NULL;
+ GAction* _tmp5_ = NULL;
+ ConfigFacade* _tmp6_ = NULL;
ConfigFacade* _tmp7_ = NULL;
- ConfigFacade* _tmp8_ = NULL;
- gboolean _tmp9_ = FALSE;
- GVariant* _tmp10_ = NULL;
+ gboolean _tmp8_ = FALSE;
+ GVariant* _tmp9_ = NULL;
+ GAction* _tmp10_ = NULL;
GAction* _tmp11_ = NULL;
- GSimpleAction* _tmp12_ = NULL;
- GSimpleAction* _tmp13_ = NULL;
- ConfigFacade* _tmp14_ = NULL;
- ConfigFacade* _tmp15_ = NULL;
- gboolean _tmp16_ = FALSE;
- GVariant* _tmp17_ = NULL;
- GAction* _tmp18_ = NULL;
- GSimpleAction* _tmp19_ = NULL;
- GSimpleAction* _tmp20_ = NULL;
- ConfigFacade* _tmp21_ = NULL;
- ConfigFacade* _tmp22_ = NULL;
- gboolean _tmp23_ = FALSE;
- GVariant* _tmp24_ = NULL;
- GAction* _tmp25_ = NULL;
- GSimpleAction* _tmp26_ = NULL;
- GSimpleAction* _tmp27_ = NULL;
- ConfigFacade* _tmp28_ = NULL;
- ConfigFacade* _tmp29_ = NULL;
- gboolean _tmp30_ = FALSE;
- GVariant* _tmp31_ = NULL;
- GAction* _tmp32_ = NULL;
- GSimpleAction* _tmp33_ = NULL;
- GSimpleAction* _tmp34_ = NULL;
- gint _tmp35_ = 0;
- gchar* _tmp36_ = NULL;
- gchar* _tmp37_ = NULL;
+ ConfigFacade* _tmp12_ = NULL;
+ ConfigFacade* _tmp13_ = NULL;
+ gboolean _tmp14_ = FALSE;
+ GVariant* _tmp15_ = NULL;
+ GAction* _tmp16_ = NULL;
+ GAction* _tmp17_ = NULL;
+ ConfigFacade* _tmp18_ = NULL;
+ ConfigFacade* _tmp19_ = NULL;
+ gboolean _tmp20_ = FALSE;
+ GVariant* _tmp21_ = NULL;
+ GAction* _tmp22_ = NULL;
+ GAction* _tmp23_ = NULL;
+ ConfigFacade* _tmp24_ = NULL;
+ ConfigFacade* _tmp25_ = NULL;
+ gboolean _tmp26_ = FALSE;
+ GVariant* _tmp27_ = NULL;
+ GAction* _tmp28_ = NULL;
+ GAction* _tmp29_ = NULL;
+ gint _tmp30_ = 0;
+ gchar* _tmp31_ = NULL;
+ gchar* _tmp32_ = NULL;
+ GVariant* _tmp33_ = NULL;
+ const gchar* _tmp34_ = NULL;
+ gboolean _tmp35_ = FALSE;
+ GAction* _tmp36_ = NULL;
+ GAction* _tmp37_ = NULL;
GVariant* _tmp38_ = NULL;
- const gchar* _tmp39_ = NULL;
- gboolean _tmp40_ = FALSE;
- GAction* _tmp41_ = NULL;
- GSimpleAction* _tmp42_ = NULL;
- GSimpleAction* _tmp43_ = NULL;
- GVariant* _tmp44_ = NULL;
RawDeveloper d = 0;
- ConfigFacade* _tmp45_ = NULL;
- ConfigFacade* _tmp46_ = NULL;
- RawDeveloper _tmp47_ = 0;
- RawDeveloper _tmp48_ = 0;
- GSimpleAction* action = NULL;
- GAction* _tmp49_ = NULL;
- GSimpleAction* _tmp50_ = NULL;
- const gchar* _tmp51_ = NULL;
- RawDeveloper _tmp52_ = 0;
- GSimpleAction* _tmp53_ = NULL;
- GVariant* _tmp54_ = NULL;
+ ConfigFacade* _tmp39_ = NULL;
+ ConfigFacade* _tmp40_ = NULL;
+ RawDeveloper _tmp41_ = 0;
+ RawDeveloper _tmp42_ = 0;
+ const gchar* _tmp43_ = NULL;
+ RawDeveloper _tmp44_ = 0;
+ GAction* _tmp45_ = NULL;
+ GAction* _tmp46_ = NULL;
+ GVariant* _tmp47_ = NULL;
#line 324 "/home/jens/Source/shotwell/src/MediaPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_MEDIA_PAGE, MediaPage);
#line 325 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -2749,222 +2741,164 @@ static void media_page_real_add_actions (Page* base) {
#line 332 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp4_ = page_get_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "ViewTitle");
#line 332 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp5_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp4_, g_simple_action_get_type ()) ? ((GSimpleAction*) _tmp4_) : NULL;
-#line 332 "/home/jens/Source/shotwell/src/MediaPage.vala"
- if (_tmp5_ == NULL) {
-#line 332 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _g_object_unref0 (_tmp4_);
-#line 2758 "MediaPage.c"
- }
-#line 332 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp6_ = _tmp5_;
+ _tmp5_ = _tmp4_;
#line 332 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp7_ = config_facade_get_instance ();
+ _tmp6_ = config_facade_get_instance ();
#line 332 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp8_ = _tmp7_;
+ _tmp7_ = _tmp6_;
#line 332 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp9_ = configuration_facade_get_display_photo_titles (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
+ _tmp8_ = configuration_facade_get_display_photo_titles (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
#line 332 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp10_ = _variant_new19 (_tmp9_);
+ _tmp9_ = _variant_new23 (_tmp8_);
#line 332 "/home/jens/Source/shotwell/src/MediaPage.vala"
- g_simple_action_set_state (_tmp6_, _tmp10_);
+ g_action_change_state (_tmp5_, _tmp9_);
#line 332 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _g_variant_unref0 (_tmp10_);
+ _g_variant_unref0 (_tmp9_);
#line 332 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _g_object_unref0 (_tmp8_);
+ _g_object_unref0 (_tmp7_);
#line 332 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _g_object_unref0 (_tmp6_);
-#line 333 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp11_ = page_get_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "ViewComment");
+ _g_object_unref0 (_tmp5_);
#line 333 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp12_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp11_, g_simple_action_get_type ()) ? ((GSimpleAction*) _tmp11_) : NULL;
+ _tmp10_ = page_get_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "ViewComment");
#line 333 "/home/jens/Source/shotwell/src/MediaPage.vala"
- if (_tmp12_ == NULL) {
+ _tmp11_ = _tmp10_;
#line 333 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _g_object_unref0 (_tmp11_);
-#line 2786 "MediaPage.c"
- }
+ _tmp12_ = config_facade_get_instance ();
#line 333 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp13_ = _tmp12_;
#line 333 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp14_ = config_facade_get_instance ();
-#line 333 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp15_ = _tmp14_;
-#line 333 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp16_ = configuration_facade_get_display_photo_comments (G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
+ _tmp14_ = configuration_facade_get_display_photo_comments (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
#line 333 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp17_ = _variant_new20 (_tmp16_);
+ _tmp15_ = _variant_new24 (_tmp14_);
#line 333 "/home/jens/Source/shotwell/src/MediaPage.vala"
- g_simple_action_set_state (_tmp13_, _tmp17_);
+ g_action_change_state (_tmp11_, _tmp15_);
#line 333 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _g_variant_unref0 (_tmp17_);
-#line 333 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _g_object_unref0 (_tmp15_);
+ _g_variant_unref0 (_tmp15_);
#line 333 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp13_);
+#line 333 "/home/jens/Source/shotwell/src/MediaPage.vala"
+ _g_object_unref0 (_tmp11_);
#line 334 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp18_ = page_get_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "ViewRatings");
-#line 334 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp19_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp18_, g_simple_action_get_type ()) ? ((GSimpleAction*) _tmp18_) : NULL;
-#line 334 "/home/jens/Source/shotwell/src/MediaPage.vala"
- if (_tmp19_ == NULL) {
-#line 334 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _g_object_unref0 (_tmp18_);
-#line 2814 "MediaPage.c"
- }
+ _tmp16_ = page_get_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "ViewRatings");
#line 334 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp20_ = _tmp19_;
+ _tmp17_ = _tmp16_;
#line 334 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp21_ = config_facade_get_instance ();
+ _tmp18_ = config_facade_get_instance ();
#line 334 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp22_ = _tmp21_;
+ _tmp19_ = _tmp18_;
#line 334 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp23_ = configuration_facade_get_display_photo_ratings (G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
+ _tmp20_ = configuration_facade_get_display_photo_ratings (G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
#line 334 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp24_ = _variant_new21 (_tmp23_);
+ _tmp21_ = _variant_new25 (_tmp20_);
#line 334 "/home/jens/Source/shotwell/src/MediaPage.vala"
- g_simple_action_set_state (_tmp20_, _tmp24_);
+ g_action_change_state (_tmp17_, _tmp21_);
#line 334 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _g_variant_unref0 (_tmp24_);
+ _g_variant_unref0 (_tmp21_);
#line 334 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _g_object_unref0 (_tmp22_);
+ _g_object_unref0 (_tmp19_);
#line 334 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _g_object_unref0 (_tmp20_);
-#line 335 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp25_ = page_get_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "ViewTags");
-#line 335 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp26_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp25_, g_simple_action_get_type ()) ? ((GSimpleAction*) _tmp25_) : NULL;
-#line 335 "/home/jens/Source/shotwell/src/MediaPage.vala"
- if (_tmp26_ == NULL) {
+ _g_object_unref0 (_tmp17_);
#line 335 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _g_object_unref0 (_tmp25_);
-#line 2842 "MediaPage.c"
- }
+ _tmp22_ = page_get_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "ViewTags");
#line 335 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp27_ = _tmp26_;
+ _tmp23_ = _tmp22_;
#line 335 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp28_ = config_facade_get_instance ();
+ _tmp24_ = config_facade_get_instance ();
#line 335 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp29_ = _tmp28_;
+ _tmp25_ = _tmp24_;
#line 335 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp30_ = configuration_facade_get_display_photo_tags (G_TYPE_CHECK_INSTANCE_CAST (_tmp29_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
+ _tmp26_ = configuration_facade_get_display_photo_tags (G_TYPE_CHECK_INSTANCE_CAST (_tmp25_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
#line 335 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp31_ = _variant_new22 (_tmp30_);
+ _tmp27_ = _variant_new26 (_tmp26_);
#line 335 "/home/jens/Source/shotwell/src/MediaPage.vala"
- g_simple_action_set_state (_tmp27_, _tmp31_);
+ g_action_change_state (_tmp23_, _tmp27_);
#line 335 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _g_variant_unref0 (_tmp31_);
+ _g_variant_unref0 (_tmp27_);
#line 335 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _g_object_unref0 (_tmp29_);
+ _g_object_unref0 (_tmp25_);
#line 335 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _g_object_unref0 (_tmp27_);
-#line 336 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp32_ = page_get_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "SortBy");
-#line 336 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp33_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp32_, g_simple_action_get_type ()) ? ((GSimpleAction*) _tmp32_) : NULL;
-#line 336 "/home/jens/Source/shotwell/src/MediaPage.vala"
- if (_tmp33_ == NULL) {
+ _g_object_unref0 (_tmp23_);
#line 336 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _g_object_unref0 (_tmp32_);
-#line 2870 "MediaPage.c"
- }
+ _tmp28_ = page_get_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "SortBy");
#line 336 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp34_ = _tmp33_;
+ _tmp29_ = _tmp28_;
#line 336 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp35_ = sort_by;
+ _tmp30_ = sort_by;
#line 336 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp36_ = g_strdup_printf ("%d", _tmp35_);
+ _tmp31_ = g_strdup_printf ("%d", _tmp30_);
#line 336 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp37_ = _tmp36_;
+ _tmp32_ = _tmp31_;
#line 336 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp38_ = _variant_new23 (_tmp37_);
+ _tmp33_ = _variant_new27 (_tmp32_);
#line 336 "/home/jens/Source/shotwell/src/MediaPage.vala"
- g_simple_action_set_state (_tmp34_, _tmp38_);
+ g_action_change_state (_tmp29_, _tmp33_);
#line 336 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _g_variant_unref0 (_tmp38_);
+ _g_variant_unref0 (_tmp33_);
#line 336 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _g_free0 (_tmp37_);
+ _g_free0 (_tmp32_);
#line 336 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _g_object_unref0 (_tmp34_);
+ _g_object_unref0 (_tmp29_);
#line 337 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp40_ = sort_order;
+ _tmp35_ = sort_order;
#line 337 "/home/jens/Source/shotwell/src/MediaPage.vala"
- if (_tmp40_) {
+ if (_tmp35_) {
#line 337 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp39_ = "'ascending'";
-#line 2896 "MediaPage.c"
+ _tmp34_ = "ascending";
+#line 2848 "MediaPage.c"
} else {
#line 337 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp39_ = "'descending'";
-#line 2900 "MediaPage.c"
+ _tmp34_ = "descending";
+#line 2852 "MediaPage.c"
}
#line 337 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp41_ = page_get_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Sort");
-#line 337 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp42_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp41_, g_simple_action_get_type ()) ? ((GSimpleAction*) _tmp41_) : NULL;
-#line 337 "/home/jens/Source/shotwell/src/MediaPage.vala"
- if (_tmp42_ == NULL) {
+ _tmp36_ = page_get_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Sort");
#line 337 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _g_object_unref0 (_tmp41_);
-#line 2910 "MediaPage.c"
- }
-#line 337 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp43_ = _tmp42_;
+ _tmp37_ = _tmp36_;
#line 337 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp44_ = _variant_new24 (_tmp39_);
+ _tmp38_ = _variant_new28 (_tmp34_);
#line 337 "/home/jens/Source/shotwell/src/MediaPage.vala"
- g_simple_action_set_state (_tmp43_, _tmp44_);
+ g_action_change_state (_tmp37_, _tmp38_);
#line 337 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _g_variant_unref0 (_tmp44_);
+ _g_variant_unref0 (_tmp38_);
#line 337 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _g_object_unref0 (_tmp43_);
-#line 338 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp45_ = config_facade_get_instance ();
-#line 338 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp46_ = _tmp45_;
-#line 338 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp47_ = configuration_facade_get_default_raw_developer (G_TYPE_CHECK_INSTANCE_CAST (_tmp46_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
-#line 338 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp48_ = _tmp47_;
-#line 338 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _g_object_unref0 (_tmp46_);
-#line 338 "/home/jens/Source/shotwell/src/MediaPage.vala"
- d = _tmp48_;
+ _g_object_unref0 (_tmp37_);
#line 339 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp49_ = page_get_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RawDeveloper");
+ _tmp39_ = config_facade_get_instance ();
#line 339 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp50_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp49_, g_simple_action_get_type ()) ? ((GSimpleAction*) _tmp49_) : NULL;
+ _tmp40_ = _tmp39_;
#line 339 "/home/jens/Source/shotwell/src/MediaPage.vala"
- if (_tmp50_ == NULL) {
+ _tmp41_ = configuration_facade_get_default_raw_developer (G_TYPE_CHECK_INSTANCE_CAST (_tmp40_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
#line 339 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _g_object_unref0 (_tmp49_);
-#line 2942 "MediaPage.c"
- }
+ _tmp42_ = _tmp41_;
#line 339 "/home/jens/Source/shotwell/src/MediaPage.vala"
- action = _tmp50_;
+ _g_object_unref0 (_tmp40_);
+#line 339 "/home/jens/Source/shotwell/src/MediaPage.vala"
+ d = _tmp42_;
#line 340 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp52_ = d;
+ _tmp44_ = d;
#line 340 "/home/jens/Source/shotwell/src/MediaPage.vala"
- if (_tmp52_ == RAW_DEVELOPER_SHOTWELL) {
+ if (_tmp44_ == RAW_DEVELOPER_SHOTWELL) {
#line 340 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp51_ = "'Shotwell'";
-#line 2952 "MediaPage.c"
+ _tmp43_ = "Shotwell";
+#line 2884 "MediaPage.c"
} else {
#line 340 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp51_ = "'Camera'";
-#line 2956 "MediaPage.c"
+ _tmp43_ = "Camera";
+#line 2888 "MediaPage.c"
}
#line 340 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp53_ = action;
+ _tmp45_ = page_get_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RawDeveloper");
#line 340 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp54_ = _variant_new25 (_tmp51_);
+ _tmp46_ = _tmp45_;
#line 340 "/home/jens/Source/shotwell/src/MediaPage.vala"
- g_simple_action_set_state (_tmp53_, _tmp54_);
+ _tmp47_ = _variant_new29 (_tmp43_);
#line 340 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _g_variant_unref0 (_tmp54_);
-#line 324 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _g_object_unref0 (action);
-#line 2968 "MediaPage.c"
+ g_action_change_state (_tmp46_, _tmp47_);
+#line 340 "/home/jens/Source/shotwell/src/MediaPage.vala"
+ _g_variant_unref0 (_tmp47_);
+#line 340 "/home/jens/Source/shotwell/src/MediaPage.vala"
+ _g_object_unref0 (_tmp46_);
+#line 2902 "MediaPage.c"
}
@@ -3030,17 +2964,17 @@ static void media_page_real_update_actions (Page* base, gint selected_count, gin
_tmp11_ = desktop_integration_is_send_to_installed ();
#line 352 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp11_) {
-#line 3034 "MediaPage.c"
+#line 2968 "MediaPage.c"
gint _tmp12_ = 0;
#line 353 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp12_ = selected_count;
#line 353 "/home/jens/Source/shotwell/src/MediaPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "SendTo", _tmp12_ > 0);
-#line 3040 "MediaPage.c"
+#line 2974 "MediaPage.c"
} else {
#line 355 "/home/jens/Source/shotwell/src/MediaPage.vala"
page_set_action_visible (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "SendTo", FALSE);
-#line 3044 "MediaPage.c"
+#line 2978 "MediaPage.c"
}
#line 357 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp13_ = selected_count;
@@ -3054,7 +2988,7 @@ static void media_page_real_update_actions (Page* base, gint selected_count, gin
_tmp15_ = selected_count;
#line 362 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp15_ == 1) {
-#line 3058 "MediaPage.c"
+#line 2992 "MediaPage.c"
ViewCollection* _tmp16_ = NULL;
ViewCollection* _tmp17_ = NULL;
DataSource* _tmp18_ = NULL;
@@ -3073,11 +3007,11 @@ static void media_page_real_update_actions (Page* base, gint selected_count, gin
_g_object_unref0 (_tmp19_);
#line 363 "/home/jens/Source/shotwell/src/MediaPage.vala"
_data_collection_unref0 (_tmp17_);
-#line 3077 "MediaPage.c"
+#line 3011 "MediaPage.c"
} else {
#line 362 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp14_ = FALSE;
-#line 3081 "MediaPage.c"
+#line 3015 "MediaPage.c"
}
#line 362 "/home/jens/Source/shotwell/src/MediaPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "PlayVideo", _tmp14_);
@@ -3091,7 +3025,7 @@ static void media_page_real_update_actions (Page* base, gint selected_count, gin
_tmp22_ = count;
#line 367 "/home/jens/Source/shotwell/src/MediaPage.vala"
PAGE_CLASS (media_page_parent_class)->update_actions (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage), TYPE_PAGE, Page), _tmp21_, _tmp22_);
-#line 3095 "MediaPage.c"
+#line 3029 "MediaPage.c"
}
@@ -3100,7 +3034,7 @@ static void media_page_on_media_altered (MediaPage* self, GeeMap* altered) {
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 370 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (GEE_IS_MAP (altered));
-#line 3104 "MediaPage.c"
+#line 3038 "MediaPage.c"
{
GeeIterator* _object_it = NULL;
GeeMap* _tmp0_ = NULL;
@@ -3127,7 +3061,7 @@ static void media_page_on_media_altered (MediaPage* self, GeeMap* altered) {
_object_it = _tmp5_;
#line 371 "/home/jens/Source/shotwell/src/MediaPage.vala"
while (TRUE) {
-#line 3131 "MediaPage.c"
+#line 3065 "MediaPage.c"
GeeIterator* _tmp6_ = NULL;
gboolean _tmp7_ = FALSE;
DataObject* object = NULL;
@@ -3147,7 +3081,7 @@ static void media_page_on_media_altered (MediaPage* self, GeeMap* altered) {
if (!_tmp7_) {
#line 371 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 3151 "MediaPage.c"
+#line 3085 "MediaPage.c"
}
#line 371 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp8_ = _object_it;
@@ -3171,7 +3105,7 @@ static void media_page_on_media_altered (MediaPage* self, GeeMap* altered) {
_alteration_unref0 (_tmp13_);
#line 372 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp15_) {
-#line 3175 "MediaPage.c"
+#line 3109 "MediaPage.c"
ViewCollection* _tmp16_ = NULL;
ViewCollection* _tmp17_ = NULL;
gint _tmp18_ = 0;
@@ -3189,15 +3123,15 @@ static void media_page_on_media_altered (MediaPage* self, GeeMap* altered) {
_g_object_unref0 (object);
#line 375 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 3193 "MediaPage.c"
+#line 3127 "MediaPage.c"
}
#line 371 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (object);
-#line 3197 "MediaPage.c"
+#line 3131 "MediaPage.c"
}
#line 371 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_object_it);
-#line 3201 "MediaPage.c"
+#line 3135 "MediaPage.c"
}
}
@@ -3250,7 +3184,7 @@ static void media_page_update_rating_sensitivities (MediaPage* self) {
_tmp8_ = media_page_can_decrease_selected_rating (self);
#line 389 "/home/jens/Source/shotwell/src/MediaPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "DecreaseRating", _tmp8_);
-#line 3254 "MediaPage.c"
+#line 3188 "MediaPage.c"
}
@@ -3290,11 +3224,11 @@ static void media_page_update_development_menu_item_sensitivity (MediaPage* self
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RawDeveloper", FALSE);
#line 395 "/home/jens/Source/shotwell/src/MediaPage.vala"
return;
-#line 3294 "MediaPage.c"
+#line 3228 "MediaPage.c"
}
#line 399 "/home/jens/Source/shotwell/src/MediaPage.vala"
is_raw = FALSE;
-#line 3298 "MediaPage.c"
+#line 3232 "MediaPage.c"
{
GeeList* _view_list = NULL;
ViewCollection* _tmp7_ = NULL;
@@ -3330,7 +3264,7 @@ static void media_page_update_development_menu_item_sensitivity (MediaPage* self
_view_index = -1;
#line 400 "/home/jens/Source/shotwell/src/MediaPage.vala"
while (TRUE) {
-#line 3334 "MediaPage.c"
+#line 3268 "MediaPage.c"
gint _tmp14_ = 0;
gint _tmp15_ = 0;
gint _tmp16_ = 0;
@@ -3356,7 +3290,7 @@ static void media_page_update_development_menu_item_sensitivity (MediaPage* self
if (!(_tmp15_ < _tmp16_)) {
#line 400 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 3360 "MediaPage.c"
+#line 3294 "MediaPage.c"
}
#line 400 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp17_ = _view_list;
@@ -3376,7 +3310,7 @@ static void media_page_update_development_menu_item_sensitivity (MediaPage* self
if (_tmp22_ == NULL) {
#line 401 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp21_);
-#line 3380 "MediaPage.c"
+#line 3314 "MediaPage.c"
}
#line 401 "/home/jens/Source/shotwell/src/MediaPage.vala"
photo = _tmp22_;
@@ -3384,7 +3318,7 @@ static void media_page_update_development_menu_item_sensitivity (MediaPage* self
_tmp24_ = photo;
#line 402 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp24_ != NULL) {
-#line 3388 "MediaPage.c"
+#line 3322 "MediaPage.c"
Photo* _tmp25_ = NULL;
PhotoFileFormat _tmp26_ = 0;
#line 402 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -3393,11 +3327,11 @@ static void media_page_update_development_menu_item_sensitivity (MediaPage* self
_tmp26_ = photo_get_master_file_format (_tmp25_);
#line 402 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp23_ = _tmp26_ == PHOTO_FILE_FORMAT_RAW;
-#line 3397 "MediaPage.c"
+#line 3331 "MediaPage.c"
} else {
#line 402 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp23_ = FALSE;
-#line 3401 "MediaPage.c"
+#line 3335 "MediaPage.c"
}
#line 402 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp23_) {
@@ -3409,23 +3343,23 @@ static void media_page_update_development_menu_item_sensitivity (MediaPage* self
_g_object_unref0 (view);
#line 405 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 3413 "MediaPage.c"
+#line 3347 "MediaPage.c"
}
#line 400 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (photo);
#line 400 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (view);
-#line 3419 "MediaPage.c"
+#line 3353 "MediaPage.c"
}
#line 400 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_view_list);
-#line 3423 "MediaPage.c"
+#line 3357 "MediaPage.c"
}
#line 410 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp27_ = is_raw;
#line 410 "/home/jens/Source/shotwell/src/MediaPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RawDeveloper", _tmp27_);
-#line 3429 "MediaPage.c"
+#line 3363 "MediaPage.c"
}
@@ -3437,14 +3371,14 @@ static void media_page_update_flag_action (MediaPage* self, gint selected_count)
_tmp0_ = selected_count;
#line 414 "/home/jens/Source/shotwell/src/MediaPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Flag", _tmp0_ > 0);
-#line 3441 "MediaPage.c"
+#line 3375 "MediaPage.c"
}
static gpointer _core_tracker_ref0 (gpointer self) {
#line 418 "/home/jens/Source/shotwell/src/MediaPage.vala"
return self ? core_tracker_ref (self) : NULL;
-#line 3448 "MediaPage.c"
+#line 3382 "MediaPage.c"
}
@@ -3463,7 +3397,7 @@ static CoreViewTracker* media_page_real_get_view_tracker (CheckerboardPage* base
result = _tmp1_;
#line 418 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 3467 "MediaPage.c"
+#line 3401 "MediaPage.c"
}
@@ -3515,7 +3449,7 @@ void media_page_set_display_ratings (MediaPage* self, gboolean display) {
_tmp8_ = display;
#line 426 "/home/jens/Source/shotwell/src/MediaPage.vala"
page_set_action_active (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "ViewRatings", _tmp8_);
-#line 3519 "MediaPage.c"
+#line 3453 "MediaPage.c"
}
@@ -3523,7 +3457,7 @@ static gboolean media_page_can_rate_selected (MediaPage* self, Rating rating) {
gboolean result = FALSE;
#line 429 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_val_if_fail (IS_MEDIA_PAGE (self), FALSE);
-#line 3527 "MediaPage.c"
+#line 3461 "MediaPage.c"
{
GeeList* _view_list = NULL;
ViewCollection* _tmp0_ = NULL;
@@ -3559,7 +3493,7 @@ static gboolean media_page_can_rate_selected (MediaPage* self, Rating rating) {
_view_index = -1;
#line 430 "/home/jens/Source/shotwell/src/MediaPage.vala"
while (TRUE) {
-#line 3563 "MediaPage.c"
+#line 3497 "MediaPage.c"
gint _tmp7_ = 0;
gint _tmp8_ = 0;
gint _tmp9_ = 0;
@@ -3585,7 +3519,7 @@ static gboolean media_page_can_rate_selected (MediaPage* self, Rating rating) {
if (!(_tmp8_ < _tmp9_)) {
#line 430 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 3589 "MediaPage.c"
+#line 3523 "MediaPage.c"
}
#line 430 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp10_ = _view_list;
@@ -3619,21 +3553,21 @@ static gboolean media_page_can_rate_selected (MediaPage* self, Rating rating) {
_g_object_unref0 (_view_list);
#line 432 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 3623 "MediaPage.c"
+#line 3557 "MediaPage.c"
}
#line 430 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (view);
-#line 3627 "MediaPage.c"
+#line 3561 "MediaPage.c"
}
#line 430 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_view_list);
-#line 3631 "MediaPage.c"
+#line 3565 "MediaPage.c"
}
#line 435 "/home/jens/Source/shotwell/src/MediaPage.vala"
result = FALSE;
#line 435 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 3637 "MediaPage.c"
+#line 3571 "MediaPage.c"
}
@@ -3641,7 +3575,7 @@ static gboolean media_page_can_increase_selected_rating (MediaPage* self) {
gboolean result = FALSE;
#line 438 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_val_if_fail (IS_MEDIA_PAGE (self), FALSE);
-#line 3645 "MediaPage.c"
+#line 3579 "MediaPage.c"
{
GeeList* _view_list = NULL;
ViewCollection* _tmp0_ = NULL;
@@ -3677,7 +3611,7 @@ static gboolean media_page_can_increase_selected_rating (MediaPage* self) {
_view_index = -1;
#line 439 "/home/jens/Source/shotwell/src/MediaPage.vala"
while (TRUE) {
-#line 3681 "MediaPage.c"
+#line 3615 "MediaPage.c"
gint _tmp7_ = 0;
gint _tmp8_ = 0;
gint _tmp9_ = 0;
@@ -3703,7 +3637,7 @@ static gboolean media_page_can_increase_selected_rating (MediaPage* self) {
if (!(_tmp8_ < _tmp9_)) {
#line 439 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 3707 "MediaPage.c"
+#line 3641 "MediaPage.c"
}
#line 439 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp10_ = _view_list;
@@ -3737,21 +3671,21 @@ static gboolean media_page_can_increase_selected_rating (MediaPage* self) {
_g_object_unref0 (_view_list);
#line 441 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 3741 "MediaPage.c"
+#line 3675 "MediaPage.c"
}
#line 439 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (view);
-#line 3745 "MediaPage.c"
+#line 3679 "MediaPage.c"
}
#line 439 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_view_list);
-#line 3749 "MediaPage.c"
+#line 3683 "MediaPage.c"
}
#line 444 "/home/jens/Source/shotwell/src/MediaPage.vala"
result = FALSE;
#line 444 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 3755 "MediaPage.c"
+#line 3689 "MediaPage.c"
}
@@ -3759,7 +3693,7 @@ static gboolean media_page_can_decrease_selected_rating (MediaPage* self) {
gboolean result = FALSE;
#line 447 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_val_if_fail (IS_MEDIA_PAGE (self), FALSE);
-#line 3763 "MediaPage.c"
+#line 3697 "MediaPage.c"
{
GeeList* _view_list = NULL;
ViewCollection* _tmp0_ = NULL;
@@ -3795,7 +3729,7 @@ static gboolean media_page_can_decrease_selected_rating (MediaPage* self) {
_view_index = -1;
#line 448 "/home/jens/Source/shotwell/src/MediaPage.vala"
while (TRUE) {
-#line 3799 "MediaPage.c"
+#line 3733 "MediaPage.c"
gint _tmp7_ = 0;
gint _tmp8_ = 0;
gint _tmp9_ = 0;
@@ -3821,7 +3755,7 @@ static gboolean media_page_can_decrease_selected_rating (MediaPage* self) {
if (!(_tmp8_ < _tmp9_)) {
#line 448 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 3825 "MediaPage.c"
+#line 3759 "MediaPage.c"
}
#line 448 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp10_ = _view_list;
@@ -3855,21 +3789,21 @@ static gboolean media_page_can_decrease_selected_rating (MediaPage* self) {
_g_object_unref0 (_view_list);
#line 450 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 3859 "MediaPage.c"
+#line 3793 "MediaPage.c"
}
#line 448 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (view);
-#line 3863 "MediaPage.c"
+#line 3797 "MediaPage.c"
}
#line 448 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_view_list);
-#line 3867 "MediaPage.c"
+#line 3801 "MediaPage.c"
}
#line 453 "/home/jens/Source/shotwell/src/MediaPage.vala"
result = FALSE;
#line 453 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 3873 "MediaPage.c"
+#line 3807 "MediaPage.c"
}
@@ -3886,7 +3820,7 @@ MediaPageZoomSliderAssembly* media_page_create_zoom_slider_assembly (MediaPage*
result = _tmp0_;
#line 457 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 3890 "MediaPage.c"
+#line 3824 "MediaPage.c"
}
@@ -3911,7 +3845,7 @@ static gboolean media_page_real_on_mousewheel_up (Page* base, GdkEventScroll* ev
result = TRUE;
#line 463 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 3915 "MediaPage.c"
+#line 3849 "MediaPage.c"
} else {
GdkEventScroll* _tmp2_ = NULL;
gboolean _tmp3_ = FALSE;
@@ -3923,7 +3857,7 @@ static gboolean media_page_real_on_mousewheel_up (Page* base, GdkEventScroll* ev
result = _tmp3_;
#line 465 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 3927 "MediaPage.c"
+#line 3861 "MediaPage.c"
}
}
@@ -3949,7 +3883,7 @@ static gboolean media_page_real_on_mousewheel_down (Page* base, GdkEventScroll*
result = TRUE;
#line 472 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 3953 "MediaPage.c"
+#line 3887 "MediaPage.c"
} else {
GdkEventScroll* _tmp2_ = NULL;
gboolean _tmp3_ = FALSE;
@@ -3961,7 +3895,7 @@ static gboolean media_page_real_on_mousewheel_down (Page* base, GdkEventScroll*
result = _tmp3_;
#line 474 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 3965 "MediaPage.c"
+#line 3899 "MediaPage.c"
}
}
@@ -3987,7 +3921,7 @@ static void media_page_on_send_to (MediaPage* self) {
_g_object_unref0 (_tmp3_);
#line 479 "/home/jens/Source/shotwell/src/MediaPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 3991 "MediaPage.c"
+#line 3925 "MediaPage.c"
}
@@ -4022,7 +3956,7 @@ void media_page_on_play_video (MediaPage* self) {
if (_tmp3_) {
#line 484 "/home/jens/Source/shotwell/src/MediaPage.vala"
return;
-#line 4026 "MediaPage.c"
+#line 3960 "MediaPage.c"
}
#line 486 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
@@ -4040,7 +3974,7 @@ void media_page_on_play_video (MediaPage* self) {
if (_tmp9_ == NULL) {
#line 486 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp8_);
-#line 4044 "MediaPage.c"
+#line 3978 "MediaPage.c"
}
#line 486 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp10_ = _tmp9_;
@@ -4058,7 +3992,7 @@ void media_page_on_play_video (MediaPage* self) {
_g_object_unref0 (video);
#line 488 "/home/jens/Source/shotwell/src/MediaPage.vala"
return;
-#line 4062 "MediaPage.c"
+#line 3996 "MediaPage.c"
}
{
Video* _tmp12_ = NULL;
@@ -4084,12 +4018,12 @@ void media_page_on_play_video (MediaPage* self) {
_g_object_unref0 (_tmp14_);
#line 491 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 4088 "MediaPage.c"
- goto __catch558_g_error;
+#line 4022 "MediaPage.c"
+ goto __catch556_g_error;
}
}
- goto __finally558;
- __catch558_g_error:
+ goto __finally556;
+ __catch556_g_error:
{
GError* e = NULL;
const gchar* _tmp17_ = NULL;
@@ -4117,9 +4051,9 @@ void media_page_on_play_video (MediaPage* self) {
_g_free0 (_tmp21_);
#line 490 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_error_free0 (e);
-#line 4121 "MediaPage.c"
+#line 4055 "MediaPage.c"
}
- __finally558:
+ __finally556:
#line 490 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 490 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -4130,11 +4064,11 @@ void media_page_on_play_video (MediaPage* self) {
g_clear_error (&_inner_error_);
#line 490 "/home/jens/Source/shotwell/src/MediaPage.vala"
return;
-#line 4134 "MediaPage.c"
+#line 4068 "MediaPage.c"
}
#line 482 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (video);
-#line 4138 "MediaPage.c"
+#line 4072 "MediaPage.c"
}
@@ -4195,7 +4129,7 @@ static gboolean media_page_real_on_app_key_pressed (Page* base, GdkEventKey* eve
static GQuark _tmp4_label22 = 0;
#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
static GQuark _tmp4_label23 = 0;
-#line 4199 "MediaPage.c"
+#line 4133 "MediaPage.c"
gboolean _tmp30_ = FALSE;
gboolean _tmp31_ = FALSE;
#line 498 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -4218,150 +4152,150 @@ static gboolean media_page_real_on_app_key_pressed (Page* base, GdkEventKey* eve
if (((_tmp5_ == ((0 != _tmp4_label0) ? _tmp4_label0 : (_tmp4_label0 = g_quark_from_static_string ("equal")))) || (_tmp5_ == ((0 != _tmp4_label1) ? _tmp4_label1 : (_tmp4_label1 = g_quark_from_static_string ("plus"))))) || (_tmp5_ == ((0 != _tmp4_label2) ? _tmp4_label2 : (_tmp4_label2 = g_quark_from_static_string ("KP_Add"))))) {
#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
switch (0) {
-#line 4222 "MediaPage.c"
+#line 4156 "MediaPage.c"
default:
{
#line 504 "/home/jens/Source/shotwell/src/MediaPage.vala"
page_activate_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "IncreaseSize");
#line 505 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 4229 "MediaPage.c"
+#line 4163 "MediaPage.c"
}
}
} else if (((_tmp5_ == ((0 != _tmp4_label3) ? _tmp4_label3 : (_tmp4_label3 = g_quark_from_static_string ("minus")))) || (_tmp5_ == ((0 != _tmp4_label4) ? _tmp4_label4 : (_tmp4_label4 = g_quark_from_static_string ("underscore"))))) || (_tmp5_ == ((0 != _tmp4_label5) ? _tmp4_label5 : (_tmp4_label5 = g_quark_from_static_string ("KP_Subtract"))))) {
#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
switch (0) {
-#line 4235 "MediaPage.c"
+#line 4169 "MediaPage.c"
default:
{
#line 510 "/home/jens/Source/shotwell/src/MediaPage.vala"
page_activate_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "DecreaseSize");
#line 511 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 4242 "MediaPage.c"
+#line 4176 "MediaPage.c"
}
}
} else if (_tmp5_ == ((0 != _tmp4_label6) ? _tmp4_label6 : (_tmp4_label6 = g_quark_from_static_string ("period")))) {
#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
switch (0) {
-#line 4248 "MediaPage.c"
+#line 4182 "MediaPage.c"
default:
{
#line 514 "/home/jens/Source/shotwell/src/MediaPage.vala"
page_activate_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "IncreaseRating");
#line 515 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 4255 "MediaPage.c"
+#line 4189 "MediaPage.c"
}
}
} else if (_tmp5_ == ((0 != _tmp4_label7) ? _tmp4_label7 : (_tmp4_label7 = g_quark_from_static_string ("comma")))) {
#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
switch (0) {
-#line 4261 "MediaPage.c"
+#line 4195 "MediaPage.c"
default:
{
#line 518 "/home/jens/Source/shotwell/src/MediaPage.vala"
page_activate_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "DecreaseRating");
#line 519 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 4268 "MediaPage.c"
+#line 4202 "MediaPage.c"
}
}
} else if (_tmp5_ == ((0 != _tmp4_label8) ? _tmp4_label8 : (_tmp4_label8 = g_quark_from_static_string ("KP_1")))) {
#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
switch (0) {
-#line 4274 "MediaPage.c"
+#line 4208 "MediaPage.c"
default:
{
#line 522 "/home/jens/Source/shotwell/src/MediaPage.vala"
page_activate_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RateOne");
#line 523 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 4281 "MediaPage.c"
+#line 4215 "MediaPage.c"
}
}
} else if (_tmp5_ == ((0 != _tmp4_label9) ? _tmp4_label9 : (_tmp4_label9 = g_quark_from_static_string ("KP_2")))) {
#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
switch (0) {
-#line 4287 "MediaPage.c"
+#line 4221 "MediaPage.c"
default:
{
#line 526 "/home/jens/Source/shotwell/src/MediaPage.vala"
page_activate_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RateTwo");
#line 527 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 4294 "MediaPage.c"
+#line 4228 "MediaPage.c"
}
}
} else if (_tmp5_ == ((0 != _tmp4_label10) ? _tmp4_label10 : (_tmp4_label10 = g_quark_from_static_string ("KP_3")))) {
#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
switch (0) {
-#line 4300 "MediaPage.c"
+#line 4234 "MediaPage.c"
default:
{
#line 530 "/home/jens/Source/shotwell/src/MediaPage.vala"
page_activate_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RateThree");
#line 531 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 4307 "MediaPage.c"
+#line 4241 "MediaPage.c"
}
}
} else if (_tmp5_ == ((0 != _tmp4_label11) ? _tmp4_label11 : (_tmp4_label11 = g_quark_from_static_string ("KP_4")))) {
#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
switch (0) {
-#line 4313 "MediaPage.c"
+#line 4247 "MediaPage.c"
default:
{
#line 534 "/home/jens/Source/shotwell/src/MediaPage.vala"
page_activate_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RateFour");
#line 535 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 4320 "MediaPage.c"
+#line 4254 "MediaPage.c"
}
}
} else if (_tmp5_ == ((0 != _tmp4_label12) ? _tmp4_label12 : (_tmp4_label12 = g_quark_from_static_string ("KP_5")))) {
#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
switch (0) {
-#line 4326 "MediaPage.c"
+#line 4260 "MediaPage.c"
default:
{
#line 538 "/home/jens/Source/shotwell/src/MediaPage.vala"
page_activate_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RateFive");
#line 539 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 4333 "MediaPage.c"
+#line 4267 "MediaPage.c"
}
}
} else if (_tmp5_ == ((0 != _tmp4_label13) ? _tmp4_label13 : (_tmp4_label13 = g_quark_from_static_string ("KP_0")))) {
#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
switch (0) {
-#line 4339 "MediaPage.c"
+#line 4273 "MediaPage.c"
default:
{
#line 542 "/home/jens/Source/shotwell/src/MediaPage.vala"
page_activate_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RateUnrated");
#line 543 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 4346 "MediaPage.c"
+#line 4280 "MediaPage.c"
}
}
} else if (_tmp5_ == ((0 != _tmp4_label14) ? _tmp4_label14 : (_tmp4_label14 = g_quark_from_static_string ("KP_9")))) {
#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
switch (0) {
-#line 4352 "MediaPage.c"
+#line 4286 "MediaPage.c"
default:
{
#line 546 "/home/jens/Source/shotwell/src/MediaPage.vala"
page_activate_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RateRejected");
#line 547 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 4359 "MediaPage.c"
+#line 4293 "MediaPage.c"
}
}
} else if (_tmp5_ == ((0 != _tmp4_label15) ? _tmp4_label15 : (_tmp4_label15 = g_quark_from_static_string ("exclam")))) {
#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
switch (0) {
-#line 4365 "MediaPage.c"
+#line 4299 "MediaPage.c"
default:
{
gboolean _tmp6_ = FALSE;
@@ -4369,7 +4303,7 @@ static gboolean media_page_real_on_app_key_pressed (Page* base, GdkEventKey* eve
_tmp6_ = page_get_ctrl_pressed (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
#line 550 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp6_) {
-#line 4373 "MediaPage.c"
+#line 4307 "MediaPage.c"
SearchViewFilter* _tmp7_ = NULL;
SearchViewFilter* _tmp8_ = NULL;
#line 551 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -4380,17 +4314,17 @@ static gboolean media_page_real_on_app_key_pressed (Page* base, GdkEventKey* eve
search_view_filter_set_rating_filter (_tmp8_, RATING_FILTER_ONE_OR_HIGHER);
#line 551 "/home/jens/Source/shotwell/src/MediaPage.vala"
_view_filter_unref0 (_tmp8_);
-#line 4384 "MediaPage.c"
+#line 4318 "MediaPage.c"
}
#line 552 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 4388 "MediaPage.c"
+#line 4322 "MediaPage.c"
}
}
} else if (_tmp5_ == ((0 != _tmp4_label16) ? _tmp4_label16 : (_tmp4_label16 = g_quark_from_static_string ("at")))) {
#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
switch (0) {
-#line 4394 "MediaPage.c"
+#line 4328 "MediaPage.c"
default:
{
gboolean _tmp9_ = FALSE;
@@ -4398,7 +4332,7 @@ static gboolean media_page_real_on_app_key_pressed (Page* base, GdkEventKey* eve
_tmp9_ = page_get_ctrl_pressed (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
#line 555 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp9_) {
-#line 4402 "MediaPage.c"
+#line 4336 "MediaPage.c"
SearchViewFilter* _tmp10_ = NULL;
SearchViewFilter* _tmp11_ = NULL;
#line 556 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -4409,17 +4343,17 @@ static gboolean media_page_real_on_app_key_pressed (Page* base, GdkEventKey* eve
search_view_filter_set_rating_filter (_tmp11_, RATING_FILTER_TWO_OR_HIGHER);
#line 556 "/home/jens/Source/shotwell/src/MediaPage.vala"
_view_filter_unref0 (_tmp11_);
-#line 4413 "MediaPage.c"
+#line 4347 "MediaPage.c"
}
#line 557 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 4417 "MediaPage.c"
+#line 4351 "MediaPage.c"
}
}
} else if (_tmp5_ == ((0 != _tmp4_label17) ? _tmp4_label17 : (_tmp4_label17 = g_quark_from_static_string ("numbersign")))) {
#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
switch (0) {
-#line 4423 "MediaPage.c"
+#line 4357 "MediaPage.c"
default:
{
gboolean _tmp12_ = FALSE;
@@ -4427,7 +4361,7 @@ static gboolean media_page_real_on_app_key_pressed (Page* base, GdkEventKey* eve
_tmp12_ = page_get_ctrl_pressed (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
#line 560 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp12_) {
-#line 4431 "MediaPage.c"
+#line 4365 "MediaPage.c"
SearchViewFilter* _tmp13_ = NULL;
SearchViewFilter* _tmp14_ = NULL;
#line 561 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -4438,17 +4372,17 @@ static gboolean media_page_real_on_app_key_pressed (Page* base, GdkEventKey* eve
search_view_filter_set_rating_filter (_tmp14_, RATING_FILTER_THREE_OR_HIGHER);
#line 561 "/home/jens/Source/shotwell/src/MediaPage.vala"
_view_filter_unref0 (_tmp14_);
-#line 4442 "MediaPage.c"
+#line 4376 "MediaPage.c"
}
#line 562 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 4446 "MediaPage.c"
+#line 4380 "MediaPage.c"
}
}
} else if (_tmp5_ == ((0 != _tmp4_label18) ? _tmp4_label18 : (_tmp4_label18 = g_quark_from_static_string ("dollar")))) {
#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
switch (0) {
-#line 4452 "MediaPage.c"
+#line 4386 "MediaPage.c"
default:
{
gboolean _tmp15_ = FALSE;
@@ -4456,7 +4390,7 @@ static gboolean media_page_real_on_app_key_pressed (Page* base, GdkEventKey* eve
_tmp15_ = page_get_ctrl_pressed (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
#line 565 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp15_) {
-#line 4460 "MediaPage.c"
+#line 4394 "MediaPage.c"
SearchViewFilter* _tmp16_ = NULL;
SearchViewFilter* _tmp17_ = NULL;
#line 566 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -4467,17 +4401,17 @@ static gboolean media_page_real_on_app_key_pressed (Page* base, GdkEventKey* eve
search_view_filter_set_rating_filter (_tmp17_, RATING_FILTER_FOUR_OR_HIGHER);
#line 566 "/home/jens/Source/shotwell/src/MediaPage.vala"
_view_filter_unref0 (_tmp17_);
-#line 4471 "MediaPage.c"
+#line 4405 "MediaPage.c"
}
#line 567 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 4475 "MediaPage.c"
+#line 4409 "MediaPage.c"
}
}
} else if (_tmp5_ == ((0 != _tmp4_label19) ? _tmp4_label19 : (_tmp4_label19 = g_quark_from_static_string ("percent")))) {
#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
switch (0) {
-#line 4481 "MediaPage.c"
+#line 4415 "MediaPage.c"
default:
{
gboolean _tmp18_ = FALSE;
@@ -4485,7 +4419,7 @@ static gboolean media_page_real_on_app_key_pressed (Page* base, GdkEventKey* eve
_tmp18_ = page_get_ctrl_pressed (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
#line 570 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp18_) {
-#line 4489 "MediaPage.c"
+#line 4423 "MediaPage.c"
SearchViewFilter* _tmp19_ = NULL;
SearchViewFilter* _tmp20_ = NULL;
#line 571 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -4496,17 +4430,17 @@ static gboolean media_page_real_on_app_key_pressed (Page* base, GdkEventKey* eve
search_view_filter_set_rating_filter (_tmp20_, RATING_FILTER_FIVE_OR_HIGHER);
#line 571 "/home/jens/Source/shotwell/src/MediaPage.vala"
_view_filter_unref0 (_tmp20_);
-#line 4500 "MediaPage.c"
+#line 4434 "MediaPage.c"
}
#line 572 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 4504 "MediaPage.c"
+#line 4438 "MediaPage.c"
}
}
} else if (_tmp5_ == ((0 != _tmp4_label20) ? _tmp4_label20 : (_tmp4_label20 = g_quark_from_static_string ("parenright")))) {
#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
switch (0) {
-#line 4510 "MediaPage.c"
+#line 4444 "MediaPage.c"
default:
{
gboolean _tmp21_ = FALSE;
@@ -4514,7 +4448,7 @@ static gboolean media_page_real_on_app_key_pressed (Page* base, GdkEventKey* eve
_tmp21_ = page_get_ctrl_pressed (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
#line 575 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp21_) {
-#line 4518 "MediaPage.c"
+#line 4452 "MediaPage.c"
SearchViewFilter* _tmp22_ = NULL;
SearchViewFilter* _tmp23_ = NULL;
#line 576 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -4525,17 +4459,17 @@ static gboolean media_page_real_on_app_key_pressed (Page* base, GdkEventKey* eve
search_view_filter_set_rating_filter (_tmp23_, RATING_FILTER_UNRATED_OR_HIGHER);
#line 576 "/home/jens/Source/shotwell/src/MediaPage.vala"
_view_filter_unref0 (_tmp23_);
-#line 4529 "MediaPage.c"
+#line 4463 "MediaPage.c"
}
#line 577 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 4533 "MediaPage.c"
+#line 4467 "MediaPage.c"
}
}
} else if (_tmp5_ == ((0 != _tmp4_label21) ? _tmp4_label21 : (_tmp4_label21 = g_quark_from_static_string ("parenleft")))) {
#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
switch (0) {
-#line 4539 "MediaPage.c"
+#line 4473 "MediaPage.c"
default:
{
gboolean _tmp24_ = FALSE;
@@ -4543,7 +4477,7 @@ static gboolean media_page_real_on_app_key_pressed (Page* base, GdkEventKey* eve
_tmp24_ = page_get_ctrl_pressed (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
#line 580 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp24_) {
-#line 4547 "MediaPage.c"
+#line 4481 "MediaPage.c"
SearchViewFilter* _tmp25_ = NULL;
SearchViewFilter* _tmp26_ = NULL;
#line 581 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -4554,17 +4488,17 @@ static gboolean media_page_real_on_app_key_pressed (Page* base, GdkEventKey* eve
search_view_filter_set_rating_filter (_tmp26_, RATING_FILTER_REJECTED_OR_HIGHER);
#line 581 "/home/jens/Source/shotwell/src/MediaPage.vala"
_view_filter_unref0 (_tmp26_);
-#line 4558 "MediaPage.c"
+#line 4492 "MediaPage.c"
}
#line 582 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 4562 "MediaPage.c"
+#line 4496 "MediaPage.c"
}
}
} else if (_tmp5_ == ((0 != _tmp4_label22) ? _tmp4_label22 : (_tmp4_label22 = g_quark_from_static_string ("asterisk")))) {
#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
switch (0) {
-#line 4568 "MediaPage.c"
+#line 4502 "MediaPage.c"
default:
{
gboolean _tmp27_ = FALSE;
@@ -4572,7 +4506,7 @@ static gboolean media_page_real_on_app_key_pressed (Page* base, GdkEventKey* eve
_tmp27_ = page_get_ctrl_pressed (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
#line 585 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp27_) {
-#line 4576 "MediaPage.c"
+#line 4510 "MediaPage.c"
SearchViewFilter* _tmp28_ = NULL;
SearchViewFilter* _tmp29_ = NULL;
#line 586 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -4583,37 +4517,37 @@ static gboolean media_page_real_on_app_key_pressed (Page* base, GdkEventKey* eve
search_view_filter_set_rating_filter (_tmp29_, RATING_FILTER_REJECTED_ONLY);
#line 586 "/home/jens/Source/shotwell/src/MediaPage.vala"
_view_filter_unref0 (_tmp29_);
-#line 4587 "MediaPage.c"
+#line 4521 "MediaPage.c"
}
#line 587 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 4591 "MediaPage.c"
+#line 4525 "MediaPage.c"
}
}
} else if (_tmp5_ == ((0 != _tmp4_label23) ? _tmp4_label23 : (_tmp4_label23 = g_quark_from_static_string ("slash")))) {
#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
switch (0) {
-#line 4597 "MediaPage.c"
+#line 4531 "MediaPage.c"
default:
{
#line 590 "/home/jens/Source/shotwell/src/MediaPage.vala"
page_activate_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Flag");
#line 591 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 4604 "MediaPage.c"
+#line 4538 "MediaPage.c"
}
}
} else {
#line 500 "/home/jens/Source/shotwell/src/MediaPage.vala"
switch (0) {
-#line 4610 "MediaPage.c"
+#line 4544 "MediaPage.c"
default:
{
#line 594 "/home/jens/Source/shotwell/src/MediaPage.vala"
handled = FALSE;
#line 595 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 4617 "MediaPage.c"
+#line 4551 "MediaPage.c"
}
}
}
@@ -4623,7 +4557,7 @@ static gboolean media_page_real_on_app_key_pressed (Page* base, GdkEventKey* eve
if (_tmp31_) {
#line 598 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp30_ = TRUE;
-#line 4627 "MediaPage.c"
+#line 4561 "MediaPage.c"
} else {
GdkEventKey* _tmp32_ = NULL;
gboolean _tmp33_ = FALSE;
@@ -4633,13 +4567,13 @@ static gboolean media_page_real_on_app_key_pressed (Page* base, GdkEventKey* eve
_tmp33_ = PAGE_CLASS (media_page_parent_class)->on_app_key_pressed (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage), TYPE_PAGE, Page), _tmp32_);
#line 598 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp30_ = _tmp33_;
-#line 4637 "MediaPage.c"
+#line 4571 "MediaPage.c"
}
#line 598 "/home/jens/Source/shotwell/src/MediaPage.vala"
result = _tmp30_;
#line 598 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 4643 "MediaPage.c"
+#line 4577 "MediaPage.c"
}
@@ -4737,7 +4671,7 @@ static void media_page_real_switched_to (Page* base) {
_data_collection_unref0 (_tmp17_);
#line 614 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp19_) {
-#line 4741 "MediaPage.c"
+#line 4675 "MediaPage.c"
CheckerboardItem* selected = NULL;
ViewCollection* _tmp20_ = NULL;
ViewCollection* _tmp21_ = NULL;
@@ -4760,21 +4694,21 @@ static void media_page_real_switched_to (Page* base) {
_tmp24_ = selected;
#line 616 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp24_ != NULL) {
-#line 4764 "MediaPage.c"
+#line 4698 "MediaPage.c"
CheckerboardItem* _tmp25_ = NULL;
#line 617 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp25_ = selected;
#line 617 "/home/jens/Source/shotwell/src/MediaPage.vala"
checkerboard_page_cursor_to_item (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage), _tmp25_);
-#line 4770 "MediaPage.c"
+#line 4704 "MediaPage.c"
}
#line 614 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (selected);
-#line 4774 "MediaPage.c"
+#line 4708 "MediaPage.c"
}
#line 620 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_sync_sort (self);
-#line 4778 "MediaPage.c"
+#line 4712 "MediaPage.c"
}
@@ -4786,21 +4720,21 @@ static void media_page_real_switching_from (Page* base) {
media_page_disconnect_slider (self);
#line 626 "/home/jens/Source/shotwell/src/MediaPage.vala"
PAGE_CLASS (media_page_parent_class)->switching_from (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage), TYPE_PAGE, Page));
-#line 4790 "MediaPage.c"
+#line 4724 "MediaPage.c"
}
static gpointer _g_object_ref0 (gpointer self) {
#line 630 "/home/jens/Source/shotwell/src/MediaPage.vala"
return self ? g_object_ref (self) : NULL;
-#line 4797 "MediaPage.c"
+#line 4731 "MediaPage.c"
}
static void _media_page_on_zoom_changed_media_page_zoom_slider_assembly_zoom_changed (MediaPageZoomSliderAssembly* _sender, gpointer self) {
#line 631 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_on_zoom_changed ((MediaPage*) self);
-#line 4804 "MediaPage.c"
+#line 4738 "MediaPage.c"
}
@@ -4826,7 +4760,7 @@ void media_page_connect_slider (MediaPage* self, MediaPageZoomSliderAssembly* sl
g_signal_connect_object (_tmp2_, "zoom-changed", (GCallback) _media_page_on_zoom_changed_media_page_zoom_slider_assembly_zoom_changed, self, 0);
#line 632 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_load_persistent_thumbnail_scale (self);
-#line 4830 "MediaPage.c"
+#line 4764 "MediaPage.c"
}
@@ -4844,7 +4778,7 @@ static void media_page_save_persistent_thumbnail_scale (MediaPage* self) {
if (_tmp0_ == NULL) {
#line 637 "/home/jens/Source/shotwell/src/MediaPage.vala"
return;
-#line 4848 "MediaPage.c"
+#line 4782 "MediaPage.c"
}
#line 639 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp1_ = config_facade_get_instance ();
@@ -4858,7 +4792,7 @@ static void media_page_save_persistent_thumbnail_scale (MediaPage* self) {
configuration_facade_set_photo_thumbnail_scale (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp4_);
#line 639 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp2_);
-#line 4862 "MediaPage.c"
+#line 4796 "MediaPage.c"
}
@@ -4880,7 +4814,7 @@ static void media_page_load_persistent_thumbnail_scale (MediaPage* self) {
if (_tmp0_ == NULL) {
#line 644 "/home/jens/Source/shotwell/src/MediaPage.vala"
return;
-#line 4884 "MediaPage.c"
+#line 4818 "MediaPage.c"
}
#line 646 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp1_ = config_facade_get_instance ();
@@ -4904,7 +4838,7 @@ static void media_page_load_persistent_thumbnail_scale (MediaPage* self) {
_tmp7_ = persistent_scale;
#line 649 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_set_thumb_size (self, _tmp7_);
-#line 4908 "MediaPage.c"
+#line 4842 "MediaPage.c"
}
@@ -4920,7 +4854,7 @@ void media_page_disconnect_slider (MediaPage* self) {
if (_tmp0_ == NULL) {
#line 654 "/home/jens/Source/shotwell/src/MediaPage.vala"
return;
-#line 4924 "MediaPage.c"
+#line 4858 "MediaPage.c"
}
#line 656 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp1_ = self->priv->connected_slider;
@@ -4932,7 +4866,7 @@ void media_page_disconnect_slider (MediaPage* self) {
_g_object_unref0 (self->priv->connected_slider);
#line 657 "/home/jens/Source/shotwell/src/MediaPage.vala"
self->priv->connected_slider = NULL;
-#line 4936 "MediaPage.c"
+#line 4870 "MediaPage.c"
}
@@ -4942,7 +4876,7 @@ static void media_page_real_on_zoom_changed (MediaPage* self) {
_tmp0_ = self->priv->connected_slider;
#line 661 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp0_ != NULL) {
-#line 4946 "MediaPage.c"
+#line 4880 "MediaPage.c"
MediaPageZoomSliderAssembly* _tmp1_ = NULL;
gint _tmp2_ = 0;
#line 662 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -4951,11 +4885,11 @@ static void media_page_real_on_zoom_changed (MediaPage* self) {
_tmp2_ = media_page_zoom_slider_assembly_get_scale (_tmp1_);
#line 662 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_set_thumb_size (self, _tmp2_);
-#line 4955 "MediaPage.c"
+#line 4889 "MediaPage.c"
}
#line 664 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_save_persistent_thumbnail_scale (self);
-#line 4959 "MediaPage.c"
+#line 4893 "MediaPage.c"
}
@@ -4964,7 +4898,7 @@ void media_page_on_zoom_changed (MediaPage* self) {
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 660 "/home/jens/Source/shotwell/src/MediaPage.vala"
MEDIA_PAGE_GET_CLASS (self)->on_zoom_changed (self);
-#line 4968 "MediaPage.c"
+#line 4902 "MediaPage.c"
}
@@ -4973,7 +4907,7 @@ static void media_page_real_on_export (MediaPage* self) {
g_critical ("Type `%s' does not implement abstract method `media_page_on_export'", g_type_name (G_TYPE_FROM_INSTANCE (self)));
#line 667 "/home/jens/Source/shotwell/src/MediaPage.vala"
return;
-#line 4977 "MediaPage.c"
+#line 4911 "MediaPage.c"
}
@@ -4982,14 +4916,14 @@ void media_page_on_export (MediaPage* self) {
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 667 "/home/jens/Source/shotwell/src/MediaPage.vala"
MEDIA_PAGE_GET_CLASS (self)->on_export (self);
-#line 4986 "MediaPage.c"
+#line 4920 "MediaPage.c"
}
static void media_page_real_on_increase_size (MediaPage* self) {
#line 670 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_increase_zoom_level (self);
-#line 4993 "MediaPage.c"
+#line 4927 "MediaPage.c"
}
@@ -4998,14 +4932,14 @@ void media_page_on_increase_size (MediaPage* self) {
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 669 "/home/jens/Source/shotwell/src/MediaPage.vala"
MEDIA_PAGE_GET_CLASS (self)->on_increase_size (self);
-#line 5002 "MediaPage.c"
+#line 4936 "MediaPage.c"
}
static void media_page_real_on_decrease_size (MediaPage* self) {
#line 674 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_decrease_zoom_level (self);
-#line 5009 "MediaPage.c"
+#line 4943 "MediaPage.c"
}
@@ -5014,7 +4948,7 @@ void media_page_on_decrease_size (MediaPage* self) {
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 673 "/home/jens/Source/shotwell/src/MediaPage.vala"
MEDIA_PAGE_GET_CLASS (self)->on_decrease_size (self);
-#line 5018 "MediaPage.c"
+#line 4952 "MediaPage.c"
}
@@ -5049,7 +4983,7 @@ static void media_page_on_add_tags (MediaPage* self) {
if (_tmp3_) {
#line 679 "/home/jens/Source/shotwell/src/MediaPage.vala"
return;
-#line 5053 "MediaPage.c"
+#line 4987 "MediaPage.c"
}
#line 681 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp4_ = add_tags_dialog_new ();
@@ -5071,7 +5005,7 @@ static void media_page_on_add_tags (MediaPage* self) {
_tmp8__length1 = names_length1;
#line 684 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp8_ != NULL) {
-#line 5075 "MediaPage.c"
+#line 5009 "MediaPage.c"
CommandManager* _tmp9_ = NULL;
CommandManager* _tmp10_ = NULL;
HierarchicalTagIndex* _tmp11_ = NULL;
@@ -5132,13 +5066,13 @@ static void media_page_on_add_tags (MediaPage* self) {
_hierarchical_tag_index_unref0 (_tmp12_);
#line 685 "/home/jens/Source/shotwell/src/MediaPage.vala"
_command_manager_unref0 (_tmp10_);
-#line 5136 "MediaPage.c"
+#line 5070 "MediaPage.c"
}
#line 677 "/home/jens/Source/shotwell/src/MediaPage.vala"
names = (_vala_array_free (names, names_length1, (GDestroyNotify) g_free), NULL);
#line 677 "/home/jens/Source/shotwell/src/MediaPage.vala"
_text_entry_dialog_mediator_unref0 (dialog);
-#line 5142 "MediaPage.c"
+#line 5076 "MediaPage.c"
}
@@ -5183,7 +5117,7 @@ static void media_page_on_modify_tags (MediaPage* self) {
if (_tmp3_) {
#line 693 "/home/jens/Source/shotwell/src/MediaPage.vala"
return;
-#line 5187 "MediaPage.c"
+#line 5121 "MediaPage.c"
}
#line 695 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
@@ -5227,7 +5161,7 @@ static void media_page_on_modify_tags (MediaPage* self) {
_g_object_unref0 (media);
#line 701 "/home/jens/Source/shotwell/src/MediaPage.vala"
return;
-#line 5231 "MediaPage.c"
+#line 5165 "MediaPage.c"
}
#line 703 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp15_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
@@ -5253,7 +5187,7 @@ static void media_page_on_modify_tags (MediaPage* self) {
_text_entry_dialog_mediator_unref0 (dialog);
#line 691 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (media);
-#line 5257 "MediaPage.c"
+#line 5191 "MediaPage.c"
}
@@ -5305,7 +5239,7 @@ static void media_page_set_display_tags (MediaPage* self, gboolean display) {
_tmp8_ = display;
#line 711 "/home/jens/Source/shotwell/src/MediaPage.vala"
page_set_action_active (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "ViewTags", _tmp8_);
-#line 5309 "MediaPage.c"
+#line 5243 "MediaPage.c"
}
@@ -5328,7 +5262,7 @@ static void media_page_on_new_event (MediaPage* self) {
_data_collection_unref0 (_tmp1_);
#line 715 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp3_) {
-#line 5332 "MediaPage.c"
+#line 5266 "MediaPage.c"
CommandManager* _tmp4_ = NULL;
CommandManager* _tmp5_ = NULL;
ViewCollection* _tmp6_ = NULL;
@@ -5363,7 +5297,7 @@ static void media_page_on_new_event (MediaPage* self) {
_data_collection_unref0 (_tmp7_);
#line 716 "/home/jens/Source/shotwell/src/MediaPage.vala"
_command_manager_unref0 (_tmp5_);
-#line 5367 "MediaPage.c"
+#line 5301 "MediaPage.c"
}
}
@@ -5401,7 +5335,7 @@ static void media_page_on_flag_unflag (MediaPage* self) {
if (_tmp3_) {
#line 721 "/home/jens/Source/shotwell/src/MediaPage.vala"
return;
-#line 5405 "MediaPage.c"
+#line 5339 "MediaPage.c"
}
#line 723 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
@@ -5417,7 +5351,7 @@ static void media_page_on_flag_unflag (MediaPage* self) {
sources = _tmp7_;
#line 727 "/home/jens/Source/shotwell/src/MediaPage.vala"
flag = FALSE;
-#line 5421 "MediaPage.c"
+#line 5355 "MediaPage.c"
{
GeeIterator* _source_it = NULL;
GeeCollection* _tmp8_ = NULL;
@@ -5430,7 +5364,7 @@ static void media_page_on_flag_unflag (MediaPage* self) {
_source_it = _tmp9_;
#line 728 "/home/jens/Source/shotwell/src/MediaPage.vala"
while (TRUE) {
-#line 5434 "MediaPage.c"
+#line 5368 "MediaPage.c"
GeeIterator* _tmp10_ = NULL;
gboolean _tmp11_ = FALSE;
MediaSource* source = NULL;
@@ -5449,7 +5383,7 @@ static void media_page_on_flag_unflag (MediaPage* self) {
if (!_tmp11_) {
#line 728 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 5453 "MediaPage.c"
+#line 5387 "MediaPage.c"
}
#line 728 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp12_ = _source_it;
@@ -5467,7 +5401,7 @@ static void media_page_on_flag_unflag (MediaPage* self) {
_tmp17_ = flaggable;
#line 730 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp17_ != NULL) {
-#line 5471 "MediaPage.c"
+#line 5405 "MediaPage.c"
Flaggable* _tmp18_ = NULL;
gboolean _tmp19_ = FALSE;
#line 730 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -5476,11 +5410,11 @@ static void media_page_on_flag_unflag (MediaPage* self) {
_tmp19_ = flaggable_is_flagged (_tmp18_);
#line 730 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp16_ = !_tmp19_;
-#line 5480 "MediaPage.c"
+#line 5414 "MediaPage.c"
} else {
#line 730 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp16_ = FALSE;
-#line 5484 "MediaPage.c"
+#line 5418 "MediaPage.c"
}
#line 730 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp16_) {
@@ -5492,17 +5426,17 @@ static void media_page_on_flag_unflag (MediaPage* self) {
_g_object_unref0 (source);
#line 733 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 5496 "MediaPage.c"
+#line 5430 "MediaPage.c"
}
#line 728 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (flaggable);
#line 728 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (source);
-#line 5502 "MediaPage.c"
+#line 5436 "MediaPage.c"
}
#line 728 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_source_it);
-#line 5506 "MediaPage.c"
+#line 5440 "MediaPage.c"
}
#line 737 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp20_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
@@ -5524,7 +5458,7 @@ static void media_page_on_flag_unflag (MediaPage* self) {
_command_manager_unref0 (_tmp21_);
#line 719 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (sources);
-#line 5528 "MediaPage.c"
+#line 5462 "MediaPage.c"
}
@@ -5557,7 +5491,7 @@ static void media_page_real_on_increase_rating (MediaPage* self) {
if (_tmp3_) {
#line 742 "/home/jens/Source/shotwell/src/MediaPage.vala"
return;
-#line 5561 "MediaPage.c"
+#line 5495 "MediaPage.c"
}
#line 744 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
@@ -5591,7 +5525,7 @@ static void media_page_real_on_increase_rating (MediaPage* self) {
media_page_update_rating_sensitivities (self);
#line 740 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (command);
-#line 5595 "MediaPage.c"
+#line 5529 "MediaPage.c"
}
@@ -5600,7 +5534,7 @@ void media_page_on_increase_rating (MediaPage* self) {
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 740 "/home/jens/Source/shotwell/src/MediaPage.vala"
MEDIA_PAGE_GET_CLASS (self)->on_increase_rating (self);
-#line 5604 "MediaPage.c"
+#line 5538 "MediaPage.c"
}
@@ -5633,7 +5567,7 @@ static void media_page_real_on_decrease_rating (MediaPage* self) {
if (_tmp3_) {
#line 752 "/home/jens/Source/shotwell/src/MediaPage.vala"
return;
-#line 5637 "MediaPage.c"
+#line 5571 "MediaPage.c"
}
#line 754 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
@@ -5667,7 +5601,7 @@ static void media_page_real_on_decrease_rating (MediaPage* self) {
media_page_update_rating_sensitivities (self);
#line 750 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (command);
-#line 5671 "MediaPage.c"
+#line 5605 "MediaPage.c"
}
@@ -5676,7 +5610,7 @@ void media_page_on_decrease_rating (MediaPage* self) {
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 750 "/home/jens/Source/shotwell/src/MediaPage.vala"
MEDIA_PAGE_GET_CLASS (self)->on_decrease_rating (self);
-#line 5680 "MediaPage.c"
+#line 5614 "MediaPage.c"
}
@@ -5710,7 +5644,7 @@ static void media_page_real_on_set_rating (MediaPage* self, Rating rating) {
if (_tmp3_) {
#line 762 "/home/jens/Source/shotwell/src/MediaPage.vala"
return;
-#line 5714 "MediaPage.c"
+#line 5648 "MediaPage.c"
}
#line 764 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
@@ -5746,7 +5680,7 @@ static void media_page_real_on_set_rating (MediaPage* self, Rating rating) {
media_page_update_rating_sensitivities (self);
#line 760 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (command);
-#line 5750 "MediaPage.c"
+#line 5684 "MediaPage.c"
}
@@ -5755,14 +5689,14 @@ void media_page_on_set_rating (MediaPage* self, Rating rating) {
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 760 "/home/jens/Source/shotwell/src/MediaPage.vala"
MEDIA_PAGE_GET_CLASS (self)->on_set_rating (self, rating);
-#line 5759 "MediaPage.c"
+#line 5693 "MediaPage.c"
}
static void media_page_real_on_rate_rejected (MediaPage* self) {
#line 771 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_on_set_rating (self, RATING_REJECTED);
-#line 5766 "MediaPage.c"
+#line 5700 "MediaPage.c"
}
@@ -5771,14 +5705,14 @@ void media_page_on_rate_rejected (MediaPage* self) {
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 770 "/home/jens/Source/shotwell/src/MediaPage.vala"
MEDIA_PAGE_GET_CLASS (self)->on_rate_rejected (self);
-#line 5775 "MediaPage.c"
+#line 5709 "MediaPage.c"
}
static void media_page_real_on_rate_unrated (MediaPage* self) {
#line 775 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_on_set_rating (self, RATING_UNRATED);
-#line 5782 "MediaPage.c"
+#line 5716 "MediaPage.c"
}
@@ -5787,14 +5721,14 @@ void media_page_on_rate_unrated (MediaPage* self) {
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 774 "/home/jens/Source/shotwell/src/MediaPage.vala"
MEDIA_PAGE_GET_CLASS (self)->on_rate_unrated (self);
-#line 5791 "MediaPage.c"
+#line 5725 "MediaPage.c"
}
static void media_page_real_on_rate_one (MediaPage* self) {
#line 779 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_on_set_rating (self, RATING_ONE);
-#line 5798 "MediaPage.c"
+#line 5732 "MediaPage.c"
}
@@ -5803,14 +5737,14 @@ void media_page_on_rate_one (MediaPage* self) {
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 778 "/home/jens/Source/shotwell/src/MediaPage.vala"
MEDIA_PAGE_GET_CLASS (self)->on_rate_one (self);
-#line 5807 "MediaPage.c"
+#line 5741 "MediaPage.c"
}
static void media_page_real_on_rate_two (MediaPage* self) {
#line 783 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_on_set_rating (self, RATING_TWO);
-#line 5814 "MediaPage.c"
+#line 5748 "MediaPage.c"
}
@@ -5819,14 +5753,14 @@ void media_page_on_rate_two (MediaPage* self) {
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 782 "/home/jens/Source/shotwell/src/MediaPage.vala"
MEDIA_PAGE_GET_CLASS (self)->on_rate_two (self);
-#line 5823 "MediaPage.c"
+#line 5757 "MediaPage.c"
}
static void media_page_real_on_rate_three (MediaPage* self) {
#line 787 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_on_set_rating (self, RATING_THREE);
-#line 5830 "MediaPage.c"
+#line 5764 "MediaPage.c"
}
@@ -5835,14 +5769,14 @@ void media_page_on_rate_three (MediaPage* self) {
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 786 "/home/jens/Source/shotwell/src/MediaPage.vala"
MEDIA_PAGE_GET_CLASS (self)->on_rate_three (self);
-#line 5839 "MediaPage.c"
+#line 5773 "MediaPage.c"
}
static void media_page_real_on_rate_four (MediaPage* self) {
#line 791 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_on_set_rating (self, RATING_FOUR);
-#line 5846 "MediaPage.c"
+#line 5780 "MediaPage.c"
}
@@ -5851,14 +5785,14 @@ void media_page_on_rate_four (MediaPage* self) {
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 790 "/home/jens/Source/shotwell/src/MediaPage.vala"
MEDIA_PAGE_GET_CLASS (self)->on_rate_four (self);
-#line 5855 "MediaPage.c"
+#line 5789 "MediaPage.c"
}
static void media_page_real_on_rate_five (MediaPage* self) {
#line 795 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_on_set_rating (self, RATING_FIVE);
-#line 5862 "MediaPage.c"
+#line 5796 "MediaPage.c"
}
@@ -5867,7 +5801,7 @@ void media_page_on_rate_five (MediaPage* self) {
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 794 "/home/jens/Source/shotwell/src/MediaPage.vala"
MEDIA_PAGE_GET_CLASS (self)->on_rate_five (self);
-#line 5871 "MediaPage.c"
+#line 5805 "MediaPage.c"
}
@@ -5892,7 +5826,7 @@ static void media_page_on_remove_from_library (MediaPage* self) {
_g_object_unref0 (_tmp3_);
#line 799 "/home/jens/Source/shotwell/src/MediaPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 5896 "MediaPage.c"
+#line 5830 "MediaPage.c"
}
@@ -5911,7 +5845,7 @@ static void media_page_real_on_move_to_trash (MediaPage* self) {
_tmp0_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage)->cursor;
#line 805 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp0_ != NULL) {
-#line 5915 "MediaPage.c"
+#line 5849 "MediaPage.c"
ViewCollection* _tmp1_ = NULL;
ViewCollection* _tmp2_ = NULL;
CheckerboardItem* _tmp3_ = NULL;
@@ -5931,7 +5865,7 @@ static void media_page_real_on_move_to_trash (MediaPage* self) {
if (_tmp5_ == NULL) {
#line 806 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp4_);
-#line 5935 "MediaPage.c"
+#line 5869 "MediaPage.c"
}
#line 806 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (restore_point);
@@ -5939,7 +5873,7 @@ static void media_page_real_on_move_to_trash (MediaPage* self) {
restore_point = _tmp5_;
#line 806 "/home/jens/Source/shotwell/src/MediaPage.vala"
_data_collection_unref0 (_tmp2_);
-#line 5943 "MediaPage.c"
+#line 5877 "MediaPage.c"
}
#line 809 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp6_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
@@ -5953,7 +5887,7 @@ static void media_page_real_on_move_to_trash (MediaPage* self) {
_data_collection_unref0 (_tmp7_);
#line 809 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp9_) {
-#line 5957 "MediaPage.c"
+#line 5891 "MediaPage.c"
CommandManager* _tmp10_ = NULL;
CommandManager* _tmp11_ = NULL;
ViewCollection* _tmp12_ = NULL;
@@ -5988,13 +5922,13 @@ static void media_page_real_on_move_to_trash (MediaPage* self) {
_data_collection_unref0 (_tmp13_);
#line 810 "/home/jens/Source/shotwell/src/MediaPage.vala"
_command_manager_unref0 (_tmp11_);
-#line 5992 "MediaPage.c"
+#line 5926 "MediaPage.c"
}
#line 814 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp19_ = restore_point;
#line 814 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp19_ != NULL) {
-#line 5998 "MediaPage.c"
+#line 5932 "MediaPage.c"
ViewCollection* _tmp20_ = NULL;
ViewCollection* _tmp21_ = NULL;
CheckerboardItem* _tmp22_ = NULL;
@@ -6011,25 +5945,25 @@ static void media_page_real_on_move_to_trash (MediaPage* self) {
_tmp18_ = _tmp23_;
#line 814 "/home/jens/Source/shotwell/src/MediaPage.vala"
_data_collection_unref0 (_tmp21_);
-#line 6015 "MediaPage.c"
+#line 5949 "MediaPage.c"
} else {
#line 814 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp18_ = FALSE;
-#line 6019 "MediaPage.c"
+#line 5953 "MediaPage.c"
}
#line 814 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp18_) {
-#line 6023 "MediaPage.c"
+#line 5957 "MediaPage.c"
CheckerboardItem* _tmp24_ = NULL;
#line 815 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp24_ = restore_point;
#line 815 "/home/jens/Source/shotwell/src/MediaPage.vala"
checkerboard_page_set_cursor (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage), _tmp24_);
-#line 6029 "MediaPage.c"
+#line 5963 "MediaPage.c"
}
#line 802 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (restore_point);
-#line 6033 "MediaPage.c"
+#line 5967 "MediaPage.c"
}
@@ -6038,7 +5972,7 @@ void media_page_on_move_to_trash (MediaPage* self) {
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 802 "/home/jens/Source/shotwell/src/MediaPage.vala"
MEDIA_PAGE_GET_CLASS (self)->on_move_to_trash (self);
-#line 6042 "MediaPage.c"
+#line 5976 "MediaPage.c"
}
@@ -6078,7 +6012,7 @@ static void media_page_real_on_edit_title (MediaPage* self) {
if (_tmp3_) {
#line 821 "/home/jens/Source/shotwell/src/MediaPage.vala"
return;
-#line 6082 "MediaPage.c"
+#line 6016 "MediaPage.c"
}
#line 823 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
@@ -6122,7 +6056,7 @@ static void media_page_real_on_edit_title (MediaPage* self) {
_tmp17_ = new_title;
#line 827 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp17_ != NULL) {
-#line 6126 "MediaPage.c"
+#line 6060 "MediaPage.c"
CommandManager* _tmp18_ = NULL;
CommandManager* _tmp19_ = NULL;
GeeList* _tmp20_ = NULL;
@@ -6147,7 +6081,7 @@ static void media_page_real_on_edit_title (MediaPage* self) {
_g_object_unref0 (_tmp23_);
#line 828 "/home/jens/Source/shotwell/src/MediaPage.vala"
_command_manager_unref0 (_tmp19_);
-#line 6151 "MediaPage.c"
+#line 6085 "MediaPage.c"
}
#line 819 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_free0 (new_title);
@@ -6155,7 +6089,7 @@ static void media_page_real_on_edit_title (MediaPage* self) {
_text_entry_dialog_mediator_unref0 (edit_title_dialog);
#line 819 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (media_sources);
-#line 6159 "MediaPage.c"
+#line 6093 "MediaPage.c"
}
@@ -6164,7 +6098,7 @@ void media_page_on_edit_title (MediaPage* self) {
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 819 "/home/jens/Source/shotwell/src/MediaPage.vala"
MEDIA_PAGE_GET_CLASS (self)->on_edit_title (self);
-#line 6168 "MediaPage.c"
+#line 6102 "MediaPage.c"
}
@@ -6204,7 +6138,7 @@ static void media_page_real_on_edit_comment (MediaPage* self) {
if (_tmp3_) {
#line 833 "/home/jens/Source/shotwell/src/MediaPage.vala"
return;
-#line 6208 "MediaPage.c"
+#line 6142 "MediaPage.c"
}
#line 835 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
@@ -6248,7 +6182,7 @@ static void media_page_real_on_edit_comment (MediaPage* self) {
_tmp17_ = new_comment;
#line 839 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp17_ != NULL) {
-#line 6252 "MediaPage.c"
+#line 6186 "MediaPage.c"
CommandManager* _tmp18_ = NULL;
CommandManager* _tmp19_ = NULL;
GeeList* _tmp20_ = NULL;
@@ -6273,7 +6207,7 @@ static void media_page_real_on_edit_comment (MediaPage* self) {
_g_object_unref0 (_tmp23_);
#line 840 "/home/jens/Source/shotwell/src/MediaPage.vala"
_command_manager_unref0 (_tmp19_);
-#line 6277 "MediaPage.c"
+#line 6211 "MediaPage.c"
}
#line 831 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_free0 (new_comment);
@@ -6281,7 +6215,7 @@ static void media_page_real_on_edit_comment (MediaPage* self) {
_multi_text_entry_dialog_mediator_unref0 (edit_comment_dialog);
#line 831 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (media_sources);
-#line 6285 "MediaPage.c"
+#line 6219 "MediaPage.c"
}
@@ -6290,7 +6224,7 @@ void media_page_on_edit_comment (MediaPage* self) {
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 831 "/home/jens/Source/shotwell/src/MediaPage.vala"
MEDIA_PAGE_GET_CLASS (self)->on_edit_comment (self);
-#line 6294 "MediaPage.c"
+#line 6228 "MediaPage.c"
}
@@ -6326,7 +6260,7 @@ static void media_page_real_on_display_titles (MediaPage* self, GSimpleAction* a
_tmp5_ = value;
#line 849 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_simple_action_set_state (_tmp4_, _tmp5_);
-#line 6330 "MediaPage.c"
+#line 6264 "MediaPage.c"
}
@@ -6335,7 +6269,7 @@ void media_page_on_display_titles (MediaPage* self, GSimpleAction* action, GVari
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 843 "/home/jens/Source/shotwell/src/MediaPage.vala"
MEDIA_PAGE_GET_CLASS (self)->on_display_titles (self, action, value);
-#line 6339 "MediaPage.c"
+#line 6273 "MediaPage.c"
}
@@ -6371,7 +6305,7 @@ static void media_page_real_on_display_comments (MediaPage* self, GSimpleAction*
_tmp5_ = value;
#line 858 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_simple_action_set_state (_tmp4_, _tmp5_);
-#line 6375 "MediaPage.c"
+#line 6309 "MediaPage.c"
}
@@ -6380,7 +6314,7 @@ void media_page_on_display_comments (MediaPage* self, GSimpleAction* action, GVa
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 852 "/home/jens/Source/shotwell/src/MediaPage.vala"
MEDIA_PAGE_GET_CLASS (self)->on_display_comments (self, action, value);
-#line 6384 "MediaPage.c"
+#line 6318 "MediaPage.c"
}
@@ -6416,7 +6350,7 @@ static void media_page_real_on_display_ratings (MediaPage* self, GSimpleAction*
_tmp5_ = value;
#line 867 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_simple_action_set_state (_tmp4_, _tmp5_);
-#line 6420 "MediaPage.c"
+#line 6354 "MediaPage.c"
}
@@ -6425,7 +6359,7 @@ void media_page_on_display_ratings (MediaPage* self, GSimpleAction* action, GVar
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 861 "/home/jens/Source/shotwell/src/MediaPage.vala"
MEDIA_PAGE_GET_CLASS (self)->on_display_ratings (self, action, value);
-#line 6429 "MediaPage.c"
+#line 6363 "MediaPage.c"
}
@@ -6461,7 +6395,7 @@ static void media_page_real_on_display_tags (MediaPage* self, GSimpleAction* act
_tmp5_ = value;
#line 876 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_simple_action_set_state (_tmp4_, _tmp5_);
-#line 6465 "MediaPage.c"
+#line 6399 "MediaPage.c"
}
@@ -6470,7 +6404,7 @@ void media_page_on_display_tags (MediaPage* self, GSimpleAction* action, GVarian
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 870 "/home/jens/Source/shotwell/src/MediaPage.vala"
MEDIA_PAGE_GET_CLASS (self)->on_display_tags (self, action, value);
-#line 6474 "MediaPage.c"
+#line 6408 "MediaPage.c"
}
@@ -6479,7 +6413,7 @@ static void media_page_real_get_config_photos_sort (MediaPage* self, gboolean* s
g_critical ("Type `%s' does not implement abstract method `media_page_get_config_photos_sort'", g_type_name (G_TYPE_FROM_INSTANCE (self)));
#line 879 "/home/jens/Source/shotwell/src/MediaPage.vala"
return;
-#line 6483 "MediaPage.c"
+#line 6417 "MediaPage.c"
}
@@ -6488,7 +6422,7 @@ void media_page_get_config_photos_sort (MediaPage* self, gboolean* sort_order, g
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 879 "/home/jens/Source/shotwell/src/MediaPage.vala"
MEDIA_PAGE_GET_CLASS (self)->get_config_photos_sort (self, sort_order, sort_by);
-#line 6492 "MediaPage.c"
+#line 6426 "MediaPage.c"
}
@@ -6497,7 +6431,7 @@ static void media_page_real_set_config_photos_sort (MediaPage* self, gboolean so
g_critical ("Type `%s' does not implement abstract method `media_page_set_config_photos_sort'", g_type_name (G_TYPE_FROM_INSTANCE (self)));
#line 881 "/home/jens/Source/shotwell/src/MediaPage.vala"
return;
-#line 6501 "MediaPage.c"
+#line 6435 "MediaPage.c"
}
@@ -6506,38 +6440,38 @@ void media_page_set_config_photos_sort (MediaPage* self, gboolean sort_order, gi
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 881 "/home/jens/Source/shotwell/src/MediaPage.vala"
MEDIA_PAGE_GET_CLASS (self)->set_config_photos_sort (self, sort_order, sort_by);
-#line 6510 "MediaPage.c"
+#line 6444 "MediaPage.c"
}
static void media_page_real_on_sort_changed (MediaPage* self, GSimpleAction* action, GVariant* value) {
+ GSimpleAction* _tmp0_ = NULL;
+ GVariant* _tmp1_ = NULL;
gint sort_by = 0;
- gint _tmp0_ = 0;
+ gint _tmp2_ = 0;
gboolean sort_order = FALSE;
- gboolean _tmp1_ = FALSE;
- GSimpleAction* _tmp2_ = NULL;
- GVariant* _tmp3_ = NULL;
+ gboolean _tmp3_ = FALSE;
#line 883 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (G_IS_SIMPLE_ACTION (action));
#line 884 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp0_ = media_page_get_menu_sort_by (self);
+ _tmp0_ = action;
+#line 884 "/home/jens/Source/shotwell/src/MediaPage.vala"
+ _tmp1_ = value;
#line 884 "/home/jens/Source/shotwell/src/MediaPage.vala"
- sort_by = _tmp0_;
-#line 885 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp1_ = media_page_get_menu_sort_order (self);
-#line 885 "/home/jens/Source/shotwell/src/MediaPage.vala"
- sort_order = _tmp1_;
+ g_simple_action_set_state (_tmp0_, _tmp1_);
+#line 886 "/home/jens/Source/shotwell/src/MediaPage.vala"
+ _tmp2_ = media_page_get_menu_sort_by (self);
+#line 886 "/home/jens/Source/shotwell/src/MediaPage.vala"
+ sort_by = _tmp2_;
#line 887 "/home/jens/Source/shotwell/src/MediaPage.vala"
+ _tmp3_ = media_page_get_menu_sort_order (self);
+#line 887 "/home/jens/Source/shotwell/src/MediaPage.vala"
+ sort_order = _tmp3_;
+#line 889 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_set_view_comparator (self, sort_by, sort_order);
-#line 888 "/home/jens/Source/shotwell/src/MediaPage.vala"
- media_page_set_config_photos_sort (self, sort_order, sort_by);
-#line 890 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp2_ = action;
-#line 890 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp3_ = value;
#line 890 "/home/jens/Source/shotwell/src/MediaPage.vala"
- g_simple_action_set_state (_tmp2_, _tmp3_);
-#line 6541 "MediaPage.c"
+ media_page_set_config_photos_sort (self, sort_order, sort_by);
+#line 6475 "MediaPage.c"
}
@@ -6546,7 +6480,7 @@ void media_page_on_sort_changed (MediaPage* self, GSimpleAction* action, GVarian
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 883 "/home/jens/Source/shotwell/src/MediaPage.vala"
MEDIA_PAGE_GET_CLASS (self)->on_sort_changed (self, action, value);
-#line 6550 "MediaPage.c"
+#line 6484 "MediaPage.c"
}
@@ -6555,7 +6489,7 @@ void media_page_on_raw_developer_shotwell (MediaPage* self) {
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 894 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_developer_changed (self, RAW_DEVELOPER_SHOTWELL);
-#line 6559 "MediaPage.c"
+#line 6493 "MediaPage.c"
}
@@ -6564,7 +6498,7 @@ void media_page_on_raw_developer_camera (MediaPage* self) {
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 898 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_developer_changed (self, RAW_DEVELOPER_CAMERA);
-#line 6568 "MediaPage.c"
+#line 6502 "MediaPage.c"
}
@@ -6578,7 +6512,7 @@ static void media_page_on_raw_developer_changed (MediaPage* self, GSimpleAction*
static GQuark _tmp3_label0 = 0;
#line 905 "/home/jens/Source/shotwell/src/MediaPage.vala"
static GQuark _tmp3_label1 = 0;
-#line 6582 "MediaPage.c"
+#line 6516 "MediaPage.c"
RawDeveloper _tmp5_ = 0;
GSimpleAction* _tmp6_ = NULL;
GVariant* _tmp7_ = NULL;
@@ -6600,38 +6534,38 @@ static void media_page_on_raw_developer_changed (MediaPage* self, GSimpleAction*
if (_tmp4_ == ((0 != _tmp3_label0) ? _tmp3_label0 : (_tmp3_label0 = g_quark_from_static_string ("Shotwell")))) {
#line 905 "/home/jens/Source/shotwell/src/MediaPage.vala"
switch (0) {
-#line 6604 "MediaPage.c"
+#line 6538 "MediaPage.c"
default:
{
#line 907 "/home/jens/Source/shotwell/src/MediaPage.vala"
developer = RAW_DEVELOPER_SHOTWELL;
#line 908 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 6611 "MediaPage.c"
+#line 6545 "MediaPage.c"
}
}
} else if (_tmp4_ == ((0 != _tmp3_label1) ? _tmp3_label1 : (_tmp3_label1 = g_quark_from_static_string ("Camera")))) {
#line 905 "/home/jens/Source/shotwell/src/MediaPage.vala"
switch (0) {
-#line 6617 "MediaPage.c"
+#line 6551 "MediaPage.c"
default:
{
#line 910 "/home/jens/Source/shotwell/src/MediaPage.vala"
developer = RAW_DEVELOPER_CAMERA;
#line 911 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 6624 "MediaPage.c"
+#line 6558 "MediaPage.c"
}
}
} else {
#line 905 "/home/jens/Source/shotwell/src/MediaPage.vala"
switch (0) {
-#line 6630 "MediaPage.c"
+#line 6564 "MediaPage.c"
default:
{
#line 913 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 6635 "MediaPage.c"
+#line 6569 "MediaPage.c"
}
}
}
@@ -6645,7 +6579,7 @@ static void media_page_on_raw_developer_changed (MediaPage* self, GSimpleAction*
_tmp7_ = value;
#line 918 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_simple_action_set_state (_tmp6_, _tmp7_);
-#line 6649 "MediaPage.c"
+#line 6583 "MediaPage.c"
}
@@ -6673,7 +6607,7 @@ static void media_page_real_developer_changed (MediaPage* self, RawDeveloper rd)
if (_tmp3_) {
#line 923 "/home/jens/Source/shotwell/src/MediaPage.vala"
return;
-#line 6677 "MediaPage.c"
+#line 6611 "MediaPage.c"
}
#line 928 "/home/jens/Source/shotwell/src/MediaPage.vala"
need_warn = FALSE;
@@ -6681,7 +6615,7 @@ static void media_page_real_developer_changed (MediaPage* self, RawDeveloper rd)
_tmp4_ = gee_array_list_new (TYPE_DATA_VIEW, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL);
#line 931 "/home/jens/Source/shotwell/src/MediaPage.vala"
to_set = _tmp4_;
-#line 6685 "MediaPage.c"
+#line 6619 "MediaPage.c"
{
GeeList* _view_list = NULL;
ViewCollection* _tmp5_ = NULL;
@@ -6717,7 +6651,7 @@ static void media_page_real_developer_changed (MediaPage* self, RawDeveloper rd)
_view_index = -1;
#line 932 "/home/jens/Source/shotwell/src/MediaPage.vala"
while (TRUE) {
-#line 6721 "MediaPage.c"
+#line 6655 "MediaPage.c"
gint _tmp12_ = 0;
gint _tmp13_ = 0;
gint _tmp14_ = 0;
@@ -6743,7 +6677,7 @@ static void media_page_real_developer_changed (MediaPage* self, RawDeveloper rd)
if (!(_tmp13_ < _tmp14_)) {
#line 932 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 6747 "MediaPage.c"
+#line 6681 "MediaPage.c"
}
#line 932 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp15_ = _view_list;
@@ -6763,7 +6697,7 @@ static void media_page_real_developer_changed (MediaPage* self, RawDeveloper rd)
if (_tmp20_ == NULL) {
#line 933 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp19_);
-#line 6767 "MediaPage.c"
+#line 6701 "MediaPage.c"
}
#line 933 "/home/jens/Source/shotwell/src/MediaPage.vala"
p = _tmp20_;
@@ -6771,7 +6705,7 @@ static void media_page_real_developer_changed (MediaPage* self, RawDeveloper rd)
_tmp22_ = p;
#line 934 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp22_ != NULL) {
-#line 6775 "MediaPage.c"
+#line 6709 "MediaPage.c"
RawDeveloper _tmp23_ = 0;
Photo* _tmp24_ = NULL;
RawDeveloper _tmp25_ = 0;
@@ -6786,15 +6720,15 @@ static void media_page_real_developer_changed (MediaPage* self, RawDeveloper rd)
_tmp26_ = raw_developer_is_equivalent (_tmp23_, _tmp25_);
#line 934 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp21_ = !_tmp26_;
-#line 6790 "MediaPage.c"
+#line 6724 "MediaPage.c"
} else {
#line 934 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp21_ = FALSE;
-#line 6794 "MediaPage.c"
+#line 6728 "MediaPage.c"
}
#line 934 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp21_) {
-#line 6798 "MediaPage.c"
+#line 6732 "MediaPage.c"
GeeArrayList* _tmp27_ = NULL;
DataView* _tmp28_ = NULL;
Photo* _tmp29_ = NULL;
@@ -6813,18 +6747,18 @@ static void media_page_real_developer_changed (MediaPage* self, RawDeveloper rd)
if (_tmp30_) {
#line 938 "/home/jens/Source/shotwell/src/MediaPage.vala"
need_warn = TRUE;
-#line 6817 "MediaPage.c"
+#line 6751 "MediaPage.c"
}
}
#line 932 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (p);
#line 932 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (view);
-#line 6824 "MediaPage.c"
+#line 6758 "MediaPage.c"
}
#line 932 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_view_list);
-#line 6828 "MediaPage.c"
+#line 6762 "MediaPage.c"
}
#line 943 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp32_ = need_warn;
@@ -6832,7 +6766,7 @@ static void media_page_real_developer_changed (MediaPage* self, RawDeveloper rd)
if (!_tmp32_) {
#line 943 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp31_ = TRUE;
-#line 6836 "MediaPage.c"
+#line 6770 "MediaPage.c"
} else {
GeeArrayList* _tmp33_ = NULL;
gint _tmp34_ = 0;
@@ -6848,11 +6782,11 @@ static void media_page_real_developer_changed (MediaPage* self, RawDeveloper rd)
_tmp36_ = dialogs_confirm_warn_developer_changed (_tmp35_);
#line 943 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp31_ = _tmp36_;
-#line 6852 "MediaPage.c"
+#line 6786 "MediaPage.c"
}
#line 943 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp31_) {
-#line 6856 "MediaPage.c"
+#line 6790 "MediaPage.c"
SetRawDeveloperCommand* command = NULL;
GeeArrayList* _tmp37_ = NULL;
RawDeveloper _tmp38_ = 0;
@@ -6882,11 +6816,11 @@ static void media_page_real_developer_changed (MediaPage* self, RawDeveloper rd)
media_page_update_development_menu_item_sensitivity (self);
#line 943 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (command);
-#line 6886 "MediaPage.c"
+#line 6820 "MediaPage.c"
}
#line 921 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (to_set);
-#line 6890 "MediaPage.c"
+#line 6824 "MediaPage.c"
}
@@ -6895,7 +6829,7 @@ void media_page_developer_changed (MediaPage* self, RawDeveloper rd) {
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 921 "/home/jens/Source/shotwell/src/MediaPage.vala"
MEDIA_PAGE_GET_CLASS (self)->developer_changed (self, rd);
-#line 6899 "MediaPage.c"
+#line 6833 "MediaPage.c"
}
@@ -6913,7 +6847,7 @@ static void media_page_real_set_display_titles (CheckerboardPage* base, gboolean
_tmp1_ = display;
#line 954 "/home/jens/Source/shotwell/src/MediaPage.vala"
page_set_action_active (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "ViewTitle", _tmp1_);
-#line 6917 "MediaPage.c"
+#line 6851 "MediaPage.c"
}
@@ -6931,7 +6865,7 @@ static void media_page_real_set_display_comments (CheckerboardPage* base, gboole
_tmp1_ = display;
#line 960 "/home/jens/Source/shotwell/src/MediaPage.vala"
page_set_action_active (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "ViewComment", _tmp1_);
-#line 6935 "MediaPage.c"
+#line 6869 "MediaPage.c"
}
@@ -6951,7 +6885,7 @@ static GAction* media_page_sort_by_title_action (MediaPage* self) {
result = action;
#line 966 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 6955 "MediaPage.c"
+#line 6889 "MediaPage.c"
}
@@ -6971,7 +6905,7 @@ static GAction* media_page_sort_ascending_action (MediaPage* self) {
result = action;
#line 972 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 6975 "MediaPage.c"
+#line 6909 "MediaPage.c"
}
@@ -7008,14 +6942,14 @@ gint media_page_get_menu_sort_by (MediaPage* self) {
result = _tmp6_;
#line 977 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 7012 "MediaPage.c"
+#line 6946 "MediaPage.c"
}
-static GVariant* _variant_new26 (const gchar* value) {
+static GVariant* _variant_new30 (const gchar* value) {
#line 982 "/home/jens/Source/shotwell/src/MediaPage.vala"
return g_variant_ref_sink (g_variant_new_string (value));
-#line 7019 "MediaPage.c"
+#line 6953 "MediaPage.c"
}
@@ -7024,9 +6958,8 @@ void media_page_set_menu_sort_by (MediaPage* self, gint val) {
gint _tmp0_ = 0;
gchar* _tmp1_ = NULL;
GAction* _tmp2_ = NULL;
- GSimpleAction* _tmp3_ = NULL;
- GSimpleAction* _tmp4_ = NULL;
- GVariant* _tmp5_ = NULL;
+ GAction* _tmp3_ = NULL;
+ GVariant* _tmp4_ = NULL;
#line 980 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_PAGE (self));
#line 981 "/home/jens/Source/shotwell/src/MediaPage.vala"
@@ -7038,26 +6971,18 @@ void media_page_set_menu_sort_by (MediaPage* self, gint val) {
#line 982 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp2_ = media_page_sort_by_title_action (self);
#line 982 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp3_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp2_, g_simple_action_get_type ()) ? ((GSimpleAction*) _tmp2_) : NULL;
-#line 982 "/home/jens/Source/shotwell/src/MediaPage.vala"
- if (_tmp3_ == NULL) {
-#line 982 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _g_object_unref0 (_tmp2_);
-#line 7047 "MediaPage.c"
- }
-#line 982 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp4_ = _tmp3_;
+ _tmp3_ = _tmp2_;
#line 982 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp5_ = _variant_new26 (sort);
+ _tmp4_ = _variant_new30 (sort);
#line 982 "/home/jens/Source/shotwell/src/MediaPage.vala"
- g_simple_action_set_state (_tmp4_, _tmp5_);
+ g_action_change_state (_tmp3_, _tmp4_);
#line 982 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _g_variant_unref0 (_tmp5_);
+ _g_variant_unref0 (_tmp4_);
#line 982 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _g_object_unref0 (_tmp4_);
+ _g_object_unref0 (_tmp3_);
#line 980 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_free0 (sort);
-#line 7061 "MediaPage.c"
+#line 6986 "MediaPage.c"
}
@@ -7091,14 +7016,14 @@ gboolean media_page_get_menu_sort_order (MediaPage* self) {
result = _tmp5_;
#line 987 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 7095 "MediaPage.c"
+#line 7020 "MediaPage.c"
}
-static GVariant* _variant_new27 (const gchar* value) {
+static GVariant* _variant_new31 (const gchar* value) {
#line 991 "/home/jens/Source/shotwell/src/MediaPage.vala"
return g_variant_ref_sink (g_variant_new_string (value));
-#line 7102 "MediaPage.c"
+#line 7027 "MediaPage.c"
}
@@ -7106,152 +7031,143 @@ void media_page_set_menu_sort_order (MediaPage* self, gboolean ascending) {
const gchar* _tmp0_ = NULL;
gboolean _tmp1_ = FALSE;
GAction* _tmp2_ = NULL;
- GSimpleAction* _tmp3_ = NULL;
- GSimpleAction* _tmp4_ = NULL;
- GVariant* _tmp5_ = NULL;
+ GAction* _tmp3_ = NULL;
+ GVariant* _tmp4_ = NULL;
#line 990 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_PAGE (self));
-#line 992 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 991 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp1_ = ascending;
-#line 992 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 991 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp1_) {
-#line 992 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp0_ = "'ascending'";
-#line 7121 "MediaPage.c"
+#line 991 "/home/jens/Source/shotwell/src/MediaPage.vala"
+ _tmp0_ = "ascending";
+#line 7045 "MediaPage.c"
} else {
-#line 992 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp0_ = "'descending'";
-#line 7125 "MediaPage.c"
+#line 991 "/home/jens/Source/shotwell/src/MediaPage.vala"
+ _tmp0_ = "descending";
+#line 7049 "MediaPage.c"
}
#line 991 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp2_ = media_page_sort_ascending_action (self);
#line 991 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp3_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp2_, g_simple_action_get_type ()) ? ((GSimpleAction*) _tmp2_) : NULL;
-#line 991 "/home/jens/Source/shotwell/src/MediaPage.vala"
- if (_tmp3_ == NULL) {
-#line 991 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _g_object_unref0 (_tmp2_);
-#line 7135 "MediaPage.c"
- }
-#line 991 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp4_ = _tmp3_;
+ _tmp3_ = _tmp2_;
#line 991 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _tmp5_ = _variant_new27 (_tmp0_);
+ _tmp4_ = _variant_new31 (_tmp0_);
#line 991 "/home/jens/Source/shotwell/src/MediaPage.vala"
- g_simple_action_set_state (_tmp4_, _tmp5_);
+ g_action_change_state (_tmp3_, _tmp4_);
#line 991 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _g_variant_unref0 (_tmp5_);
+ _g_variant_unref0 (_tmp4_);
#line 991 "/home/jens/Source/shotwell/src/MediaPage.vala"
- _g_object_unref0 (_tmp4_);
-#line 7147 "MediaPage.c"
+ _g_object_unref0 (_tmp3_);
+#line 7063 "MediaPage.c"
}
static gint64 _thumbnail_title_ascending_comparator_comparator (void* a, void* b, gpointer self) {
gint64 result;
result = thumbnail_title_ascending_comparator (a, b);
-#line 1002 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1001 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 7156 "MediaPage.c"
+#line 7072 "MediaPage.c"
}
static gint64 _thumbnail_title_descending_comparator_comparator (void* a, void* b, gpointer self) {
gint64 result;
result = thumbnail_title_descending_comparator (a, b);
-#line 1003 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1002 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 7165 "MediaPage.c"
+#line 7081 "MediaPage.c"
}
static gboolean _thumbnail_title_comparator_predicate_comparator_predicate (DataObject* object, Alteration* alteration, gpointer self) {
gboolean result;
result = thumbnail_title_comparator_predicate (object, alteration);
-#line 1004 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1003 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 7174 "MediaPage.c"
+#line 7090 "MediaPage.c"
}
static gint64 _thumbnail_exposure_time_ascending_comparator_comparator (void* a, void* b, gpointer self) {
gint64 result;
result = thumbnail_exposure_time_ascending_comparator (a, b);
-#line 1009 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1008 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 7183 "MediaPage.c"
+#line 7099 "MediaPage.c"
}
static gint64 _thumbnail_exposure_time_desending_comparator_comparator (void* a, void* b, gpointer self) {
gint64 result;
result = thumbnail_exposure_time_desending_comparator (a, b);
-#line 1010 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1009 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 7192 "MediaPage.c"
+#line 7108 "MediaPage.c"
}
static gboolean _thumbnail_exposure_time_comparator_predicate_comparator_predicate (DataObject* object, Alteration* alteration, gpointer self) {
gboolean result;
result = thumbnail_exposure_time_comparator_predicate (object, alteration);
-#line 1011 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1010 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 7201 "MediaPage.c"
+#line 7117 "MediaPage.c"
}
static gint64 _thumbnail_rating_ascending_comparator_comparator (void* a, void* b, gpointer self) {
gint64 result;
result = thumbnail_rating_ascending_comparator (a, b);
-#line 1016 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1015 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 7210 "MediaPage.c"
+#line 7126 "MediaPage.c"
}
static gint64 _thumbnail_rating_descending_comparator_comparator (void* a, void* b, gpointer self) {
gint64 result;
result = thumbnail_rating_descending_comparator (a, b);
-#line 1017 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1016 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 7219 "MediaPage.c"
+#line 7135 "MediaPage.c"
}
static gboolean _thumbnail_rating_comparator_predicate_comparator_predicate (DataObject* object, Alteration* alteration, gpointer self) {
gboolean result;
result = thumbnail_rating_comparator_predicate (object, alteration);
-#line 1018 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1017 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 7228 "MediaPage.c"
+#line 7144 "MediaPage.c"
}
static gint64 _thumbnail_filename_ascending_comparator_comparator (void* a, void* b, gpointer self) {
gint64 result;
result = thumbnail_filename_ascending_comparator (a, b);
-#line 1023 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1022 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 7237 "MediaPage.c"
+#line 7153 "MediaPage.c"
}
static gint64 _thumbnail_filename_descending_comparator_comparator (void* a, void* b, gpointer self) {
gint64 result;
result = thumbnail_filename_descending_comparator (a, b);
-#line 1024 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1023 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 7246 "MediaPage.c"
+#line 7162 "MediaPage.c"
}
static gboolean _thumbnail_filename_comparator_predicate_comparator_predicate (DataObject* object, Alteration* alteration, gpointer self) {
gboolean result;
result = thumbnail_filename_comparator_predicate (object, alteration);
-#line 1025 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1024 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 7255 "MediaPage.c"
+#line 7171 "MediaPage.c"
}
@@ -7269,329 +7185,329 @@ static void media_page_set_view_comparator (MediaPage* self, gint sort_by, gbool
void* _tmp10__target = NULL;
ComparatorPredicate _tmp11_ = NULL;
void* _tmp11__target = NULL;
-#line 995 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 994 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_PAGE (self));
-#line 999 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 998 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = sort_by;
-#line 999 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 998 "/home/jens/Source/shotwell/src/MediaPage.vala"
switch (_tmp0_) {
-#line 999 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 998 "/home/jens/Source/shotwell/src/MediaPage.vala"
case MEDIA_PAGE_SORT_BY_TITLE:
-#line 7281 "MediaPage.c"
+#line 7197 "MediaPage.c"
{
gboolean _tmp1_ = FALSE;
-#line 1001 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1000 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp1_ = ascending;
-#line 1001 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1000 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp1_) {
-#line 1002 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1001 "/home/jens/Source/shotwell/src/MediaPage.vala"
(comparator_target_destroy_notify == NULL) ? NULL : (comparator_target_destroy_notify (comparator_target), NULL);
-#line 1002 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1001 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator = NULL;
-#line 1002 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1001 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target = NULL;
-#line 1002 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1001 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target_destroy_notify = NULL;
-#line 1002 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1001 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator = _thumbnail_title_ascending_comparator_comparator;
-#line 1002 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1001 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target = NULL;
-#line 1002 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1001 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target_destroy_notify = NULL;
-#line 7302 "MediaPage.c"
+#line 7218 "MediaPage.c"
} else {
-#line 1003 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1002 "/home/jens/Source/shotwell/src/MediaPage.vala"
(comparator_target_destroy_notify == NULL) ? NULL : (comparator_target_destroy_notify (comparator_target), NULL);
-#line 1003 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1002 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator = NULL;
-#line 1003 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1002 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target = NULL;
-#line 1003 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1002 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target_destroy_notify = NULL;
-#line 1003 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1002 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator = _thumbnail_title_descending_comparator_comparator;
-#line 1003 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1002 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target = NULL;
-#line 1003 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1002 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target_destroy_notify = NULL;
-#line 7318 "MediaPage.c"
+#line 7234 "MediaPage.c"
}
-#line 1004 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1003 "/home/jens/Source/shotwell/src/MediaPage.vala"
(predicate_target_destroy_notify == NULL) ? NULL : (predicate_target_destroy_notify (predicate_target), NULL);
-#line 1004 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1003 "/home/jens/Source/shotwell/src/MediaPage.vala"
predicate = NULL;
-#line 1004 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1003 "/home/jens/Source/shotwell/src/MediaPage.vala"
predicate_target = NULL;
-#line 1004 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1003 "/home/jens/Source/shotwell/src/MediaPage.vala"
predicate_target_destroy_notify = NULL;
-#line 1004 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1003 "/home/jens/Source/shotwell/src/MediaPage.vala"
predicate = _thumbnail_title_comparator_predicate_comparator_predicate;
-#line 1004 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1003 "/home/jens/Source/shotwell/src/MediaPage.vala"
predicate_target = NULL;
-#line 1004 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1003 "/home/jens/Source/shotwell/src/MediaPage.vala"
predicate_target_destroy_notify = NULL;
-#line 1005 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1004 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 7336 "MediaPage.c"
+#line 7252 "MediaPage.c"
}
-#line 999 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 998 "/home/jens/Source/shotwell/src/MediaPage.vala"
case MEDIA_PAGE_SORT_BY_EXPOSURE_DATE:
-#line 7340 "MediaPage.c"
+#line 7256 "MediaPage.c"
{
gboolean _tmp2_ = FALSE;
-#line 1008 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1007 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp2_ = ascending;
-#line 1008 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1007 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp2_) {
-#line 1009 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1008 "/home/jens/Source/shotwell/src/MediaPage.vala"
(comparator_target_destroy_notify == NULL) ? NULL : (comparator_target_destroy_notify (comparator_target), NULL);
-#line 1009 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1008 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator = NULL;
-#line 1009 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1008 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target = NULL;
-#line 1009 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1008 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target_destroy_notify = NULL;
-#line 1009 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1008 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator = _thumbnail_exposure_time_ascending_comparator_comparator;
-#line 1009 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1008 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target = NULL;
-#line 1009 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1008 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target_destroy_notify = NULL;
-#line 7361 "MediaPage.c"
+#line 7277 "MediaPage.c"
} else {
-#line 1010 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1009 "/home/jens/Source/shotwell/src/MediaPage.vala"
(comparator_target_destroy_notify == NULL) ? NULL : (comparator_target_destroy_notify (comparator_target), NULL);
-#line 1010 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1009 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator = NULL;
-#line 1010 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1009 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target = NULL;
-#line 1010 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1009 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target_destroy_notify = NULL;
-#line 1010 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1009 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator = _thumbnail_exposure_time_desending_comparator_comparator;
-#line 1010 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1009 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target = NULL;
-#line 1010 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1009 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target_destroy_notify = NULL;
-#line 7377 "MediaPage.c"
+#line 7293 "MediaPage.c"
}
-#line 1011 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1010 "/home/jens/Source/shotwell/src/MediaPage.vala"
(predicate_target_destroy_notify == NULL) ? NULL : (predicate_target_destroy_notify (predicate_target), NULL);
-#line 1011 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1010 "/home/jens/Source/shotwell/src/MediaPage.vala"
predicate = NULL;
-#line 1011 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1010 "/home/jens/Source/shotwell/src/MediaPage.vala"
predicate_target = NULL;
-#line 1011 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1010 "/home/jens/Source/shotwell/src/MediaPage.vala"
predicate_target_destroy_notify = NULL;
-#line 1011 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1010 "/home/jens/Source/shotwell/src/MediaPage.vala"
predicate = _thumbnail_exposure_time_comparator_predicate_comparator_predicate;
-#line 1011 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1010 "/home/jens/Source/shotwell/src/MediaPage.vala"
predicate_target = NULL;
-#line 1011 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1010 "/home/jens/Source/shotwell/src/MediaPage.vala"
predicate_target_destroy_notify = NULL;
-#line 1012 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1011 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 7395 "MediaPage.c"
+#line 7311 "MediaPage.c"
}
-#line 999 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 998 "/home/jens/Source/shotwell/src/MediaPage.vala"
case MEDIA_PAGE_SORT_BY_RATING:
-#line 7399 "MediaPage.c"
+#line 7315 "MediaPage.c"
{
gboolean _tmp3_ = FALSE;
-#line 1015 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1014 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp3_ = ascending;
-#line 1015 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1014 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp3_) {
-#line 1016 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1015 "/home/jens/Source/shotwell/src/MediaPage.vala"
(comparator_target_destroy_notify == NULL) ? NULL : (comparator_target_destroy_notify (comparator_target), NULL);
-#line 1016 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1015 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator = NULL;
-#line 1016 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1015 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target = NULL;
-#line 1016 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1015 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target_destroy_notify = NULL;
-#line 1016 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1015 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator = _thumbnail_rating_ascending_comparator_comparator;
-#line 1016 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1015 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target = NULL;
-#line 1016 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1015 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target_destroy_notify = NULL;
-#line 7420 "MediaPage.c"
+#line 7336 "MediaPage.c"
} else {
-#line 1017 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1016 "/home/jens/Source/shotwell/src/MediaPage.vala"
(comparator_target_destroy_notify == NULL) ? NULL : (comparator_target_destroy_notify (comparator_target), NULL);
-#line 1017 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1016 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator = NULL;
-#line 1017 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1016 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target = NULL;
-#line 1017 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1016 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target_destroy_notify = NULL;
-#line 1017 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1016 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator = _thumbnail_rating_descending_comparator_comparator;
-#line 1017 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1016 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target = NULL;
-#line 1017 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1016 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target_destroy_notify = NULL;
-#line 7436 "MediaPage.c"
+#line 7352 "MediaPage.c"
}
-#line 1018 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1017 "/home/jens/Source/shotwell/src/MediaPage.vala"
(predicate_target_destroy_notify == NULL) ? NULL : (predicate_target_destroy_notify (predicate_target), NULL);
-#line 1018 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1017 "/home/jens/Source/shotwell/src/MediaPage.vala"
predicate = NULL;
-#line 1018 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1017 "/home/jens/Source/shotwell/src/MediaPage.vala"
predicate_target = NULL;
-#line 1018 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1017 "/home/jens/Source/shotwell/src/MediaPage.vala"
predicate_target_destroy_notify = NULL;
-#line 1018 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1017 "/home/jens/Source/shotwell/src/MediaPage.vala"
predicate = _thumbnail_rating_comparator_predicate_comparator_predicate;
-#line 1018 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1017 "/home/jens/Source/shotwell/src/MediaPage.vala"
predicate_target = NULL;
-#line 1018 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1017 "/home/jens/Source/shotwell/src/MediaPage.vala"
predicate_target_destroy_notify = NULL;
-#line 1019 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1018 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 7454 "MediaPage.c"
+#line 7370 "MediaPage.c"
}
-#line 999 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 998 "/home/jens/Source/shotwell/src/MediaPage.vala"
case MEDIA_PAGE_SORT_BY_FILENAME:
-#line 7458 "MediaPage.c"
+#line 7374 "MediaPage.c"
{
gboolean _tmp4_ = FALSE;
-#line 1022 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1021 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp4_ = ascending;
-#line 1022 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1021 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp4_) {
-#line 1023 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1022 "/home/jens/Source/shotwell/src/MediaPage.vala"
(comparator_target_destroy_notify == NULL) ? NULL : (comparator_target_destroy_notify (comparator_target), NULL);
-#line 1023 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1022 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator = NULL;
-#line 1023 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1022 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target = NULL;
-#line 1023 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1022 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target_destroy_notify = NULL;
-#line 1023 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1022 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator = _thumbnail_filename_ascending_comparator_comparator;
-#line 1023 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1022 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target = NULL;
-#line 1023 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1022 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target_destroy_notify = NULL;
-#line 7479 "MediaPage.c"
+#line 7395 "MediaPage.c"
} else {
-#line 1024 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1023 "/home/jens/Source/shotwell/src/MediaPage.vala"
(comparator_target_destroy_notify == NULL) ? NULL : (comparator_target_destroy_notify (comparator_target), NULL);
-#line 1024 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1023 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator = NULL;
-#line 1024 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1023 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target = NULL;
-#line 1024 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1023 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target_destroy_notify = NULL;
-#line 1024 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1023 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator = _thumbnail_filename_descending_comparator_comparator;
-#line 1024 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1023 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target = NULL;
-#line 1024 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1023 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target_destroy_notify = NULL;
-#line 7495 "MediaPage.c"
+#line 7411 "MediaPage.c"
}
-#line 1025 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1024 "/home/jens/Source/shotwell/src/MediaPage.vala"
(predicate_target_destroy_notify == NULL) ? NULL : (predicate_target_destroy_notify (predicate_target), NULL);
-#line 1025 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1024 "/home/jens/Source/shotwell/src/MediaPage.vala"
predicate = NULL;
-#line 1025 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1024 "/home/jens/Source/shotwell/src/MediaPage.vala"
predicate_target = NULL;
-#line 1025 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1024 "/home/jens/Source/shotwell/src/MediaPage.vala"
predicate_target_destroy_notify = NULL;
-#line 1025 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1024 "/home/jens/Source/shotwell/src/MediaPage.vala"
predicate = _thumbnail_filename_comparator_predicate_comparator_predicate;
-#line 1025 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1024 "/home/jens/Source/shotwell/src/MediaPage.vala"
predicate_target = NULL;
-#line 1025 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1024 "/home/jens/Source/shotwell/src/MediaPage.vala"
predicate_target_destroy_notify = NULL;
-#line 1026 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1025 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 7513 "MediaPage.c"
+#line 7429 "MediaPage.c"
}
default:
{
gint _tmp5_ = 0;
gchar* _tmp6_ = NULL;
gchar* _tmp7_ = NULL;
-#line 1029 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1028 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp5_ = media_page_get_menu_sort_by (self);
-#line 1029 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1028 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp6_ = g_strdup_printf ("%i", _tmp5_);
-#line 1029 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1028 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp7_ = _tmp6_;
-#line 1029 "/home/jens/Source/shotwell/src/MediaPage.vala"
- g_debug ("MediaPage.vala:1029: Unknown sort criteria: %s", _tmp7_);
-#line 1029 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1028 "/home/jens/Source/shotwell/src/MediaPage.vala"
+ g_debug ("MediaPage.vala:1028: Unknown sort criteria: %s", _tmp7_);
+#line 1028 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_free0 (_tmp7_);
-#line 1030 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1029 "/home/jens/Source/shotwell/src/MediaPage.vala"
(comparator_target_destroy_notify == NULL) ? NULL : (comparator_target_destroy_notify (comparator_target), NULL);
-#line 1030 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1029 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator = NULL;
-#line 1030 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1029 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target = NULL;
-#line 1030 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1029 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target_destroy_notify = NULL;
-#line 1030 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1029 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator = _thumbnail_title_descending_comparator_comparator;
-#line 1030 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1029 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target = NULL;
-#line 1030 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1029 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target_destroy_notify = NULL;
-#line 1031 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1030 "/home/jens/Source/shotwell/src/MediaPage.vala"
(predicate_target_destroy_notify == NULL) ? NULL : (predicate_target_destroy_notify (predicate_target), NULL);
-#line 1031 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1030 "/home/jens/Source/shotwell/src/MediaPage.vala"
predicate = NULL;
-#line 1031 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1030 "/home/jens/Source/shotwell/src/MediaPage.vala"
predicate_target = NULL;
-#line 1031 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1030 "/home/jens/Source/shotwell/src/MediaPage.vala"
predicate_target_destroy_notify = NULL;
-#line 1031 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1030 "/home/jens/Source/shotwell/src/MediaPage.vala"
predicate = _thumbnail_title_comparator_predicate_comparator_predicate;
-#line 1031 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1030 "/home/jens/Source/shotwell/src/MediaPage.vala"
predicate_target = NULL;
-#line 1031 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1030 "/home/jens/Source/shotwell/src/MediaPage.vala"
predicate_target_destroy_notify = NULL;
-#line 1032 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1031 "/home/jens/Source/shotwell/src/MediaPage.vala"
break;
-#line 7560 "MediaPage.c"
+#line 7476 "MediaPage.c"
}
}
-#line 1035 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1034 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp8_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1035 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1034 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp9_ = _tmp8_;
-#line 1035 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1034 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp10_ = comparator;
-#line 1035 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1034 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp10__target = comparator_target;
-#line 1035 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1034 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp11_ = predicate;
-#line 1035 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1034 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp11__target = predicate_target;
-#line 1035 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1034 "/home/jens/Source/shotwell/src/MediaPage.vala"
data_collection_set_comparator (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, TYPE_DATA_COLLECTION, DataCollection), _tmp10_, _tmp10__target, _tmp11_, _tmp11__target);
-#line 1035 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1034 "/home/jens/Source/shotwell/src/MediaPage.vala"
_data_collection_unref0 (_tmp9_);
-#line 995 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 994 "/home/jens/Source/shotwell/src/MediaPage.vala"
(predicate_target_destroy_notify == NULL) ? NULL : (predicate_target_destroy_notify (predicate_target), NULL);
-#line 995 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 994 "/home/jens/Source/shotwell/src/MediaPage.vala"
predicate = NULL;
-#line 995 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 994 "/home/jens/Source/shotwell/src/MediaPage.vala"
predicate_target = NULL;
-#line 995 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 994 "/home/jens/Source/shotwell/src/MediaPage.vala"
predicate_target_destroy_notify = NULL;
-#line 995 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 994 "/home/jens/Source/shotwell/src/MediaPage.vala"
(comparator_target_destroy_notify == NULL) ? NULL : (comparator_target_destroy_notify (comparator_target), NULL);
-#line 995 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 994 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator = NULL;
-#line 995 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 994 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target = NULL;
-#line 995 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 994 "/home/jens/Source/shotwell/src/MediaPage.vala"
comparator_target_destroy_notify = NULL;
-#line 7595 "MediaPage.c"
+#line 7511 "MediaPage.c"
}
@@ -7600,106 +7516,106 @@ void media_page_sync_sort (MediaPage* self) {
gint sort_by = 0;
gboolean _tmp0_ = FALSE;
gint _tmp1_ = 0;
-#line 1038 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1037 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_PAGE (self));
-#line 1055 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1054 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_get_config_photos_sort (self, &_tmp0_, &_tmp1_);
-#line 1055 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1054 "/home/jens/Source/shotwell/src/MediaPage.vala"
sort_ascending = _tmp0_;
-#line 1055 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1054 "/home/jens/Source/shotwell/src/MediaPage.vala"
sort_by = _tmp1_;
-#line 1057 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1056 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_set_menu_sort_by (self, sort_by);
-#line 1058 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1057 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_set_menu_sort_order (self, sort_ascending);
-#line 1060 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1059 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_set_view_comparator (self, sort_by, sort_ascending);
-#line 7618 "MediaPage.c"
+#line 7534 "MediaPage.c"
}
static void media_page_real_destroy (GtkWidget* base) {
MediaPage * self;
-#line 1063 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1062 "/home/jens/Source/shotwell/src/MediaPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_MEDIA_PAGE, MediaPage);
-#line 1064 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1063 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_disconnect_slider (self);
-#line 1066 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1065 "/home/jens/Source/shotwell/src/MediaPage.vala"
GTK_WIDGET_CLASS (media_page_parent_class)->destroy (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage), gtk_widget_get_type (), GtkWidget));
-#line 7630 "MediaPage.c"
+#line 7546 "MediaPage.c"
}
void media_page_increase_zoom_level (MediaPage* self) {
MediaPageZoomSliderAssembly* _tmp0_ = NULL;
-#line 1069 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1068 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_PAGE (self));
-#line 1070 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1069 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = self->priv->connected_slider;
-#line 1070 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1069 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp0_ != NULL) {
-#line 7642 "MediaPage.c"
+#line 7558 "MediaPage.c"
MediaPageZoomSliderAssembly* _tmp1_ = NULL;
-#line 1071 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1070 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp1_ = self->priv->connected_slider;
-#line 1071 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1070 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_zoom_slider_assembly_increase_step (_tmp1_);
-#line 7648 "MediaPage.c"
+#line 7564 "MediaPage.c"
} else {
gint new_scale = 0;
gint _tmp2_ = 0;
gint _tmp3_ = 0;
gint _tmp4_ = 0;
-#line 1073 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1072 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp2_ = media_page_get_thumb_size (self);
-#line 1073 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1072 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp3_ = media_page_compute_zoom_scale_increase (_tmp2_);
-#line 1073 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1072 "/home/jens/Source/shotwell/src/MediaPage.vala"
new_scale = _tmp3_;
-#line 1074 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1073 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_save_persistent_thumbnail_scale (self);
-#line 1075 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1074 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp4_ = new_scale;
-#line 1075 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1074 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_set_thumb_size (self, _tmp4_);
-#line 7666 "MediaPage.c"
+#line 7582 "MediaPage.c"
}
}
void media_page_decrease_zoom_level (MediaPage* self) {
MediaPageZoomSliderAssembly* _tmp0_ = NULL;
-#line 1079 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1078 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_PAGE (self));
-#line 1080 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1079 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = self->priv->connected_slider;
-#line 1080 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1079 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp0_ != NULL) {
-#line 7679 "MediaPage.c"
+#line 7595 "MediaPage.c"
MediaPageZoomSliderAssembly* _tmp1_ = NULL;
-#line 1081 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1080 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp1_ = self->priv->connected_slider;
-#line 1081 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1080 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_zoom_slider_assembly_decrease_step (_tmp1_);
-#line 7685 "MediaPage.c"
+#line 7601 "MediaPage.c"
} else {
gint new_scale = 0;
gint _tmp2_ = 0;
gint _tmp3_ = 0;
gint _tmp4_ = 0;
-#line 1083 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1082 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp2_ = media_page_get_thumb_size (self);
-#line 1083 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1082 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp3_ = media_page_compute_zoom_scale_decrease (_tmp2_);
-#line 1083 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1082 "/home/jens/Source/shotwell/src/MediaPage.vala"
new_scale = _tmp3_;
-#line 1084 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1083 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_save_persistent_thumbnail_scale (self);
-#line 1085 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1084 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp4_ = new_scale;
-#line 1085 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1084 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_set_thumb_size (self, _tmp4_);
-#line 7703 "MediaPage.c"
+#line 7619 "MediaPage.c"
}
}
@@ -7709,28 +7625,28 @@ static DataView* media_page_real_create_thumbnail (MediaPage* self, DataSource*
DataSource* _tmp0_ = NULL;
gint _tmp1_ = 0;
Thumbnail* _tmp2_ = NULL;
-#line 1089 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1088 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_val_if_fail (IS_DATA_SOURCE (source), NULL);
-#line 1090 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1089 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = source;
-#line 1090 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1089 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp1_ = media_page_get_thumb_size (self);
-#line 1090 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1089 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp2_ = thumbnail_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_MEDIA_SOURCE, MediaSource), _tmp1_);
-#line 1090 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1089 "/home/jens/Source/shotwell/src/MediaPage.vala"
result = G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, TYPE_DATA_VIEW, DataView);
-#line 1090 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1089 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 7725 "MediaPage.c"
+#line 7641 "MediaPage.c"
}
DataView* media_page_create_thumbnail (MediaPage* self, DataSource* source) {
-#line 1089 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1088 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_val_if_fail (IS_MEDIA_PAGE (self), NULL);
-#line 1089 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1088 "/home/jens/Source/shotwell/src/MediaPage.vala"
return MEDIA_PAGE_GET_CLASS (self)->create_thumbnail (self, source);
-#line 7734 "MediaPage.c"
+#line 7650 "MediaPage.c"
}
@@ -7761,104 +7677,104 @@ void media_page_set_thumb_size (MediaPage* self, gint new_scale) {
gint _tmp24_ = 0;
gint _tmp25_ = 0;
gint _tmp26_ = 0;
-#line 1095 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1094 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_if_fail (IS_MEDIA_PAGE (self));
-#line 1096 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1095 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp1_ = media_page_get_thumb_size (self);
-#line 1096 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1095 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp2_ = new_scale;
-#line 1096 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1095 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp1_ == _tmp2_) {
-#line 1096 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1095 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = TRUE;
-#line 7775 "MediaPage.c"
+#line 7691 "MediaPage.c"
} else {
gboolean _tmp3_ = FALSE;
-#line 1096 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1095 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp3_ = page_is_in_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1096 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1095 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = !_tmp3_;
-#line 7782 "MediaPage.c"
+#line 7698 "MediaPage.c"
}
-#line 1096 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1095 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp0_) {
-#line 1097 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1096 "/home/jens/Source/shotwell/src/MediaPage.vala"
return;
-#line 7788 "MediaPage.c"
+#line 7704 "MediaPage.c"
}
-#line 1099 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1098 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp4_ = new_scale;
-#line 1099 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1098 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp5_ = thumbnail_get_MIN_SCALE ();
-#line 1099 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1098 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp6_ = _tmp5_;
-#line 1099 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1098 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp7_ = thumbnail_get_MAX_SCALE ();
-#line 1099 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1098 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp8_ = _tmp7_;
-#line 1099 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1098 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp9_ = CLAMP (_tmp4_, _tmp6_, _tmp8_);
-#line 1099 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1098 "/home/jens/Source/shotwell/src/MediaPage.vala"
new_scale = _tmp9_;
-#line 1100 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1099 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp10_ = checkerboard_page_get_checkerboard_layout (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage));
-#line 1100 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1099 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp11_ = _tmp10_;
-#line 1100 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1099 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp12_ = new_scale;
-#line 1100 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1099 "/home/jens/Source/shotwell/src/MediaPage.vala"
checkerboard_layout_set_scale (_tmp11_, _tmp12_);
-#line 1100 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1099 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp11_);
-#line 1103 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1102 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp13_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1103 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1102 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp14_ = _tmp13_;
-#line 1103 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1102 "/home/jens/Source/shotwell/src/MediaPage.vala"
data_collection_freeze_notifications (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, TYPE_DATA_COLLECTION, DataCollection));
-#line 1103 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1102 "/home/jens/Source/shotwell/src/MediaPage.vala"
_data_collection_unref0 (_tmp14_);
-#line 1104 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1103 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp15_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1104 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1103 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp16_ = _tmp15_;
-#line 1104 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1103 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp17_ = new_scale;
-#line 1104 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1103 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_value_init (&_tmp18_, G_TYPE_INT);
-#line 1104 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1103 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_value_set_int (&_tmp18_, _tmp17_);
-#line 1104 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1103 "/home/jens/Source/shotwell/src/MediaPage.vala"
data_collection_set_property (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, TYPE_DATA_COLLECTION, DataCollection), THUMBNAIL_PROP_SIZE, &_tmp18_, NULL, NULL);
-#line 1104 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1103 "/home/jens/Source/shotwell/src/MediaPage.vala"
G_IS_VALUE (&_tmp18_) ? (g_value_unset (&_tmp18_), NULL) : NULL;
-#line 1104 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1103 "/home/jens/Source/shotwell/src/MediaPage.vala"
_data_collection_unref0 (_tmp16_);
-#line 1105 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1104 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp19_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1105 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1104 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp20_ = _tmp19_;
-#line 1105 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1104 "/home/jens/Source/shotwell/src/MediaPage.vala"
data_collection_thaw_notifications (G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, TYPE_DATA_COLLECTION, DataCollection));
-#line 1105 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1104 "/home/jens/Source/shotwell/src/MediaPage.vala"
_data_collection_unref0 (_tmp20_);
-#line 1107 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1106 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp21_ = new_scale;
-#line 1107 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1106 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp22_ = thumbnail_get_MAX_SCALE ();
-#line 1107 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1106 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp23_ = _tmp22_;
-#line 1107 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1106 "/home/jens/Source/shotwell/src/MediaPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "IncreaseSize", _tmp21_ < _tmp23_);
-#line 1108 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1107 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp24_ = new_scale;
-#line 1108 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1107 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp25_ = thumbnail_get_MIN_SCALE ();
-#line 1108 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1107 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp26_ = _tmp25_;
-#line 1108 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1107 "/home/jens/Source/shotwell/src/MediaPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "DecreaseSize", _tmp24_ > _tmp26_);
-#line 7862 "MediaPage.c"
+#line 7778 "MediaPage.c"
}
@@ -7872,59 +7788,59 @@ gint media_page_get_thumb_size (MediaPage* self) {
CheckerboardLayout* _tmp10_ = NULL;
gint _tmp11_ = 0;
gint _tmp12_ = 0;
-#line 1111 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1110 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_return_val_if_fail (IS_MEDIA_PAGE (self), 0);
-#line 1112 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1111 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp0_ = checkerboard_page_get_checkerboard_layout (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage));
-#line 1112 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1111 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp1_ = _tmp0_;
-#line 1112 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1111 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp2_ = checkerboard_layout_get_scale (_tmp1_);
-#line 1112 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1111 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp3_ = _tmp2_ <= 0;
-#line 1112 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1111 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp1_);
-#line 1112 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1111 "/home/jens/Source/shotwell/src/MediaPage.vala"
if (_tmp3_) {
-#line 7890 "MediaPage.c"
+#line 7806 "MediaPage.c"
CheckerboardLayout* _tmp4_ = NULL;
CheckerboardLayout* _tmp5_ = NULL;
ConfigFacade* _tmp6_ = NULL;
ConfigFacade* _tmp7_ = NULL;
gint _tmp8_ = 0;
-#line 1113 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1112 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp4_ = checkerboard_page_get_checkerboard_layout (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage));
-#line 1113 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1112 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp5_ = _tmp4_;
-#line 1113 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1112 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp6_ = config_facade_get_instance ();
-#line 1113 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1112 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp7_ = _tmp6_;
-#line 1113 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1112 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp8_ = configuration_facade_get_photo_thumbnail_scale (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
-#line 1113 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1112 "/home/jens/Source/shotwell/src/MediaPage.vala"
checkerboard_layout_set_scale (_tmp5_, _tmp8_);
-#line 1113 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1112 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp7_);
-#line 1113 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1112 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp5_);
-#line 7912 "MediaPage.c"
+#line 7828 "MediaPage.c"
}
-#line 1115 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1114 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp9_ = checkerboard_page_get_checkerboard_layout (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage));
-#line 1115 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1114 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp10_ = _tmp9_;
-#line 1115 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1114 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp11_ = checkerboard_layout_get_scale (_tmp10_);
-#line 1115 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1114 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp12_ = _tmp11_;
-#line 1115 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1114 "/home/jens/Source/shotwell/src/MediaPage.vala"
_g_object_unref0 (_tmp10_);
-#line 1115 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1114 "/home/jens/Source/shotwell/src/MediaPage.vala"
result = _tmp12_;
-#line 1115 "/home/jens/Source/shotwell/src/MediaPage.vala"
+#line 1114 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 7928 "MediaPage.c"
+#line 7844 "MediaPage.c"
}
@@ -7933,14 +7849,14 @@ static gboolean _media_page_zoom_slider_assembly_on_zoom_out_pressed_gtk_widget_
result = media_page_zoom_slider_assembly_on_zoom_out_pressed ((MediaPageZoomSliderAssembly*) self, event);
#line 144 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 7937 "MediaPage.c"
+#line 7853 "MediaPage.c"
}
static void _media_page_zoom_slider_assembly_on_slider_changed_gtk_range_value_changed (GtkRange* _sender, gpointer self) {
#line 155 "/home/jens/Source/shotwell/src/MediaPage.vala"
media_page_zoom_slider_assembly_on_slider_changed ((MediaPageZoomSliderAssembly*) self);
-#line 7944 "MediaPage.c"
+#line 7860 "MediaPage.c"
}
@@ -7949,7 +7865,7 @@ static gboolean _media_page_zoom_slider_assembly_on_zoom_in_pressed_gtk_widget_b
result = media_page_zoom_slider_assembly_on_zoom_in_pressed ((MediaPageZoomSliderAssembly*) self, event);
#line 168 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 7953 "MediaPage.c"
+#line 7869 "MediaPage.c"
}
@@ -8131,14 +8047,14 @@ MediaPageZoomSliderAssembly* media_page_zoom_slider_assembly_construct (GType ob
_g_object_unref0 (zoom_group);
#line 135 "/home/jens/Source/shotwell/src/MediaPage.vala"
return self;
-#line 8135 "MediaPage.c"
+#line 8051 "MediaPage.c"
}
MediaPageZoomSliderAssembly* media_page_zoom_slider_assembly_new (void) {
#line 135 "/home/jens/Source/shotwell/src/MediaPage.vala"
return media_page_zoom_slider_assembly_construct (MEDIA_PAGE_TYPE_ZOOM_SLIDER_ASSEMBLY);
-#line 8142 "MediaPage.c"
+#line 8058 "MediaPage.c"
}
@@ -8179,7 +8095,7 @@ gdouble media_page_zoom_slider_assembly_scale_to_slider (gint value) {
result = (gdouble) ((_tmp6_ - _tmp8_) / MEDIA_PAGE_SLIDER_STEPPING);
#line 179 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 8183 "MediaPage.c"
+#line 8099 "MediaPage.c"
}
@@ -8217,7 +8133,7 @@ gint media_page_zoom_slider_assembly_slider_to_scale (gdouble value) {
result = res;
#line 188 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 8221 "MediaPage.c"
+#line 8137 "MediaPage.c"
}
@@ -8233,7 +8149,7 @@ static gboolean media_page_zoom_slider_assembly_on_zoom_out_pressed (MediaPageZo
result = TRUE;
#line 193 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 8237 "MediaPage.c"
+#line 8153 "MediaPage.c"
}
@@ -8249,7 +8165,7 @@ static gboolean media_page_zoom_slider_assembly_on_zoom_in_pressed (MediaPageZoo
result = TRUE;
#line 198 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 8253 "MediaPage.c"
+#line 8169 "MediaPage.c"
}
@@ -8258,7 +8174,7 @@ static void media_page_zoom_slider_assembly_on_slider_changed (MediaPageZoomSlid
g_return_if_fail (MEDIA_PAGE_IS_ZOOM_SLIDER_ASSEMBLY (self));
#line 202 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_signal_emit_by_name (self, "zoom-changed");
-#line 8262 "MediaPage.c"
+#line 8178 "MediaPage.c"
}
@@ -8279,7 +8195,7 @@ void media_page_zoom_slider_assembly_snap_to_min (MediaPageZoomSliderAssembly* s
_tmp3_ = media_page_zoom_slider_assembly_scale_to_slider (_tmp2_);
#line 206 "/home/jens/Source/shotwell/src/MediaPage.vala"
gtk_range_set_value (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_range_get_type (), GtkRange), _tmp3_);
-#line 8283 "MediaPage.c"
+#line 8199 "MediaPage.c"
}
@@ -8300,7 +8216,7 @@ void media_page_zoom_slider_assembly_snap_to_max (MediaPageZoomSliderAssembly* s
_tmp3_ = media_page_zoom_slider_assembly_scale_to_slider (_tmp2_);
#line 210 "/home/jens/Source/shotwell/src/MediaPage.vala"
gtk_range_set_value (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_range_get_type (), GtkRange), _tmp3_);
-#line 8304 "MediaPage.c"
+#line 8220 "MediaPage.c"
}
@@ -8329,7 +8245,7 @@ void media_page_zoom_slider_assembly_increase_step (MediaPageZoomSliderAssembly*
if (_tmp2_ == _tmp3_) {
#line 217 "/home/jens/Source/shotwell/src/MediaPage.vala"
return;
-#line 8333 "MediaPage.c"
+#line 8249 "MediaPage.c"
}
#line 219 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp4_ = self->priv->slider;
@@ -8339,7 +8255,7 @@ void media_page_zoom_slider_assembly_increase_step (MediaPageZoomSliderAssembly*
_tmp6_ = media_page_zoom_slider_assembly_scale_to_slider (_tmp5_);
#line 219 "/home/jens/Source/shotwell/src/MediaPage.vala"
gtk_range_set_value (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_range_get_type (), GtkRange), _tmp6_);
-#line 8343 "MediaPage.c"
+#line 8259 "MediaPage.c"
}
@@ -8368,7 +8284,7 @@ void media_page_zoom_slider_assembly_decrease_step (MediaPageZoomSliderAssembly*
if (_tmp2_ == _tmp3_) {
#line 226 "/home/jens/Source/shotwell/src/MediaPage.vala"
return;
-#line 8372 "MediaPage.c"
+#line 8288 "MediaPage.c"
}
#line 228 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp4_ = self->priv->slider;
@@ -8378,7 +8294,7 @@ void media_page_zoom_slider_assembly_decrease_step (MediaPageZoomSliderAssembly*
_tmp6_ = media_page_zoom_slider_assembly_scale_to_slider (_tmp5_);
#line 228 "/home/jens/Source/shotwell/src/MediaPage.vala"
gtk_range_set_value (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_range_get_type (), GtkRange), _tmp6_);
-#line 8382 "MediaPage.c"
+#line 8298 "MediaPage.c"
}
@@ -8399,7 +8315,7 @@ gint media_page_zoom_slider_assembly_get_scale (MediaPageZoomSliderAssembly* sel
result = _tmp2_;
#line 232 "/home/jens/Source/shotwell/src/MediaPage.vala"
return result;
-#line 8403 "MediaPage.c"
+#line 8319 "MediaPage.c"
}
@@ -8419,7 +8335,7 @@ void media_page_zoom_slider_assembly_set_scale (MediaPageZoomSliderAssembly* sel
if (_tmp0_ == _tmp1_) {
#line 237 "/home/jens/Source/shotwell/src/MediaPage.vala"
return;
-#line 8423 "MediaPage.c"
+#line 8339 "MediaPage.c"
}
#line 239 "/home/jens/Source/shotwell/src/MediaPage.vala"
_tmp2_ = self->priv->slider;
@@ -8429,7 +8345,7 @@ void media_page_zoom_slider_assembly_set_scale (MediaPageZoomSliderAssembly* sel
_tmp4_ = media_page_zoom_slider_assembly_scale_to_slider (_tmp3_);
#line 239 "/home/jens/Source/shotwell/src/MediaPage.vala"
gtk_range_set_value (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_range_get_type (), GtkRange), _tmp4_);
-#line 8433 "MediaPage.c"
+#line 8349 "MediaPage.c"
}
@@ -8442,14 +8358,14 @@ static void media_page_zoom_slider_assembly_class_init (MediaPageZoomSliderAssem
G_OBJECT_CLASS (klass)->finalize = media_page_zoom_slider_assembly_finalize;
#line 129 "/home/jens/Source/shotwell/src/MediaPage.vala"
g_signal_new ("zoom_changed", MEDIA_PAGE_TYPE_ZOOM_SLIDER_ASSEMBLY, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
-#line 8446 "MediaPage.c"
+#line 8362 "MediaPage.c"
}
static void media_page_zoom_slider_assembly_instance_init (MediaPageZoomSliderAssembly * self) {
#line 129 "/home/jens/Source/shotwell/src/MediaPage.vala"
self->priv = MEDIA_PAGE_ZOOM_SLIDER_ASSEMBLY_GET_PRIVATE (self);
-#line 8453 "MediaPage.c"
+#line 8369 "MediaPage.c"
}
@@ -8463,7 +8379,7 @@ static void media_page_zoom_slider_assembly_finalize (GObject* obj) {
_g_object_unref0 (self->priv->adjustment);
#line 129 "/home/jens/Source/shotwell/src/MediaPage.vala"
G_OBJECT_CLASS (media_page_zoom_slider_assembly_parent_class)->finalize (obj);
-#line 8467 "MediaPage.c"
+#line 8383 "MediaPage.c"
}
@@ -8562,7 +8478,7 @@ static void media_page_class_init (MediaPageClass * klass) {
((MediaPageClass *) klass)->create_thumbnail = media_page_real_create_thumbnail;
#line 112 "/home/jens/Source/shotwell/src/MediaPage.vala"
G_OBJECT_CLASS (klass)->finalize = media_page_finalize;
-#line 8566 "MediaPage.c"
+#line 8482 "MediaPage.c"
}
@@ -8573,7 +8489,7 @@ static void media_page_instance_init (MediaPage * self) {
self->priv->connected_slider = NULL;
#line 244 "/home/jens/Source/shotwell/src/MediaPage.vala"
self->priv->dnd_handler = NULL;
-#line 8577 "MediaPage.c"
+#line 8493 "MediaPage.c"
}
@@ -8589,7 +8505,7 @@ static void media_page_finalize (GObject* obj) {
_core_tracker_unref0 (self->priv->tracker);
#line 112 "/home/jens/Source/shotwell/src/MediaPage.vala"
G_OBJECT_CLASS (media_page_parent_class)->finalize (obj);
-#line 8593 "MediaPage.c"
+#line 8509 "MediaPage.c"
}
diff --git a/src/MediaPage.vala b/src/MediaPage.vala
index c9b23b8..ee5ef0e 100644
--- a/src/MediaPage.vala
+++ b/src/MediaPage.vala
@@ -329,15 +329,15 @@ public abstract class MediaPage : CheckerboardPage {
get_config_photos_sort(out sort_order, out sort_by);
AppWindow.get_instance ().add_action_entries (entries, this);
- (get_action ("ViewTitle") as GLib.SimpleAction).set_state (Config.Facade.get_instance ().get_display_photo_titles ());
- (get_action ("ViewComment") as GLib.SimpleAction).set_state (Config.Facade.get_instance ().get_display_photo_comments ());
- (get_action ("ViewRatings") as GLib.SimpleAction).set_state (Config.Facade.get_instance ().get_display_photo_ratings ());
- (get_action ("ViewTags") as GLib.SimpleAction).set_state (Config.Facade.get_instance ().get_display_photo_tags ());
- (get_action ("SortBy") as GLib.SimpleAction).set_state ("%d".printf (sort_by));
- (get_action ("Sort") as GLib.SimpleAction).set_state (sort_order ? "'ascending'" : "'descending'");
+ get_action ("ViewTitle").change_state (Config.Facade.get_instance ().get_display_photo_titles ());
+ get_action ("ViewComment").change_state (Config.Facade.get_instance ().get_display_photo_comments ());
+ get_action ("ViewRatings").change_state (Config.Facade.get_instance ().get_display_photo_ratings ());
+ get_action ("ViewTags").change_state (Config.Facade.get_instance ().get_display_photo_tags ());
+ get_action ("SortBy").change_state ("%d".printf (sort_by));
+ get_action ("Sort").change_state (sort_order ? "ascending" : "descending");
+
var d = Config.Facade.get_instance().get_default_raw_developer();
- var action = get_action ("RawDeveloper") as GLib.SimpleAction;
- action.set_state (d == RawDeveloper.SHOTWELL ? "'Shotwell'" : "'Camera'");
+ get_action ("RawDeveloper").change_state (d == RawDeveloper.SHOTWELL ? "Shotwell" : "Camera");
}
protected override void update_actions(int selected_count, int count) {
@@ -881,13 +881,13 @@ public abstract class MediaPage : CheckerboardPage {
protected abstract void set_config_photos_sort(bool sort_order, int sort_by);
public virtual void on_sort_changed(GLib.SimpleAction action, Variant? value) {
+ action.set_state (value);
+
int sort_by = get_menu_sort_by();
bool sort_order = get_menu_sort_order();
set_view_comparator(sort_by, sort_order);
set_config_photos_sort(sort_order, sort_by);
-
- action.set_state (value);
}
public void on_raw_developer_shotwell() {
@@ -979,7 +979,7 @@ public abstract class MediaPage : CheckerboardPage {
protected void set_menu_sort_by(int val) {
var sort = "%d".printf (val);
- (sort_by_title_action() as GLib.SimpleAction).set_state (sort);
+ sort_by_title_action().change_state (sort);
}
protected bool get_menu_sort_order() {
@@ -988,8 +988,7 @@ public abstract class MediaPage : CheckerboardPage {
}
protected void set_menu_sort_order(bool ascending) {
- (sort_ascending_action() as GLib.SimpleAction).set_state (
- ascending ? "'ascending'" : "'descending'");
+ sort_ascending_action().change_state (ascending ? "ascending" : "descending");
}
void set_view_comparator(int sort_by, bool ascending) {
diff --git a/src/MediaViewTracker.c b/src/MediaViewTracker.c
index 8fb3d67..3187c83 100644
--- a/src/MediaViewTracker.c
+++ b/src/MediaViewTracker.c
@@ -1,4 +1,4 @@
-/* MediaViewTracker.c generated by valac 0.34.2, the Vala compiler
+/* MediaViewTracker.c generated by valac 0.32.1, the Vala compiler
* generated from MediaViewTracker.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/MetadataWriter.c b/src/MetadataWriter.c
index 259175f..eff07e9 100644
--- a/src/MetadataWriter.c
+++ b/src/MetadataWriter.c
@@ -1,4 +1,4 @@
-/* MetadataWriter.c generated by valac 0.34.2, the Vala compiler
+/* MetadataWriter.c generated by valac 0.32.1, the Vala compiler
* generated from MetadataWriter.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -2958,7 +2958,7 @@ static void metadata_writer_photos_are_dirty (MetadataWriter* self, GeeCollectio
#line 538 "/home/jens/Source/shotwell/src/MetadataWriter.vala"
_g_object_unref0 (_photo_it);
#line 2961 "MetadataWriter.c"
- goto __catch551_g_error;
+ goto __catch549_g_error;
}
#line 537 "/home/jens/Source/shotwell/src/MetadataWriter.vala"
_g_object_unref0 (photo);
@@ -2978,8 +2978,8 @@ static void metadata_writer_photos_are_dirty (MetadataWriter* self, GeeCollectio
transaction_controller_commit (_tmp23_);
#line 2980 "MetadataWriter.c"
}
- goto __finally551;
- __catch551_g_error:
+ goto __finally549;
+ __catch549_g_error:
{
GError* err = NULL;
GError* _tmp24_ = NULL;
@@ -3013,7 +3013,7 @@ static void metadata_writer_photos_are_dirty (MetadataWriter* self, GeeCollectio
_g_error_free0 (err);
#line 3015 "MetadataWriter.c"
}
- __finally551:
+ __finally549:
#line 534 "/home/jens/Source/shotwell/src/MetadataWriter.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 534 "/home/jens/Source/shotwell/src/MetadataWriter.vala"
@@ -3796,7 +3796,7 @@ static void metadata_writer_on_update_completed (MetadataWriter* self, Backgroun
#line 664 "/home/jens/Source/shotwell/src/MetadataWriter.vala"
if (_inner_error_->domain == DATABASE_ERROR) {
#line 3799 "MetadataWriter.c"
- goto __catch552_database_error;
+ goto __catch550_database_error;
}
{
LibraryPhoto* _tmp67_ = NULL;
@@ -3853,7 +3853,7 @@ static void metadata_writer_on_update_completed (MetadataWriter* self, Backgroun
#line 667 "/home/jens/Source/shotwell/src/MetadataWriter.vala"
if (_inner_error_->domain == DATABASE_ERROR) {
#line 3856 "MetadataWriter.c"
- goto __catch552_database_error;
+ goto __catch550_database_error;
}
{
LibraryPhoto* _tmp76_ = NULL;
@@ -3885,8 +3885,8 @@ static void metadata_writer_on_update_completed (MetadataWriter* self, Backgroun
}
}
}
- goto __finally552;
- __catch552_database_error:
+ goto __finally550;
+ __catch550_database_error:
{
GError* err = NULL;
GError* _tmp79_ = NULL;
@@ -3902,7 +3902,7 @@ static void metadata_writer_on_update_completed (MetadataWriter* self, Backgroun
_g_error_free0 (err);
#line 3904 "MetadataWriter.c"
}
- __finally552:
+ __finally550:
{
LibraryPhoto* _tmp80_ = NULL;
MetadataWriterCommitJob* _tmp81_ = NULL;
@@ -3949,7 +3949,7 @@ static void metadata_writer_on_update_completed (MetadataWriter* self, Backgroun
#line 683 "/home/jens/Source/shotwell/src/MetadataWriter.vala"
if (_inner_error_->domain == DATABASE_ERROR) {
#line 3952 "MetadataWriter.c"
- goto __catch553_database_error;
+ goto __catch551_database_error;
}
#line 683 "/home/jens/Source/shotwell/src/MetadataWriter.vala"
_background_job_unref0 (job);
@@ -3962,8 +3962,8 @@ static void metadata_writer_on_update_completed (MetadataWriter* self, Backgroun
#line 3963 "MetadataWriter.c"
}
}
- goto __finally553;
- __catch553_database_error:
+ goto __finally551;
+ __catch551_database_error:
{
GError* err = NULL;
GError* _tmp85_ = NULL;
@@ -3979,7 +3979,7 @@ static void metadata_writer_on_update_completed (MetadataWriter* self, Backgroun
_g_error_free0 (err);
#line 3981 "MetadataWriter.c"
}
- __finally553:
+ __finally551:
#line 682 "/home/jens/Source/shotwell/src/MetadataWriter.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 682 "/home/jens/Source/shotwell/src/MetadataWriter.vala"
@@ -4157,18 +4157,18 @@ static void metadata_writer_commit_job_real_execute (BackgroundJob* base) {
#line 38 "/home/jens/Source/shotwell/src/MetadataWriter.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 4160 "MetadataWriter.c"
- goto __catch554_g_error;
+ goto __catch552_g_error;
}
#line 39 "/home/jens/Source/shotwell/src/MetadataWriter.vala"
metadata_writer_commit_job_commit_editable (self, &_inner_error_);
#line 39 "/home/jens/Source/shotwell/src/MetadataWriter.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 4167 "MetadataWriter.c"
- goto __catch554_g_error;
+ goto __catch552_g_error;
}
}
- goto __finally554;
- __catch554_g_error:
+ goto __finally552;
+ __catch552_g_error:
{
GError* err = NULL;
GError* _tmp0_ = NULL;
@@ -4189,7 +4189,7 @@ static void metadata_writer_commit_job_real_execute (BackgroundJob* base) {
_g_error_free0 (err);
#line 4191 "MetadataWriter.c"
}
- __finally554:
+ __finally552:
#line 37 "/home/jens/Source/shotwell/src/MetadataWriter.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 37 "/home/jens/Source/shotwell/src/MetadataWriter.vala"
@@ -4291,10 +4291,10 @@ static void metadata_writer_commit_job_commit_master (MetadataWriterCommitJob* s
#line 58 "/home/jens/Source/shotwell/src/MetadataWriter.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 4294 "MetadataWriter.c"
- goto __finally555;
+ goto __finally553;
}
}
- __finally555:
+ __finally553:
{
LibraryPhoto* _tmp16_ = NULL;
GFile* _tmp17_ = NULL;
@@ -4433,10 +4433,10 @@ static void metadata_writer_commit_job_commit_editable (MetadataWriterCommitJob*
#line 77 "/home/jens/Source/shotwell/src/MetadataWriter.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 4436 "MetadataWriter.c"
- goto __finally556;
+ goto __finally554;
}
}
- __finally556:
+ __finally554:
{
LibraryPhoto* _tmp18_ = NULL;
GFile* _tmp19_ = NULL;
diff --git a/src/NaturalCollate.c b/src/NaturalCollate.c
index b13971c..35b129c 100644
--- a/src/NaturalCollate.c
+++ b/src/NaturalCollate.c
@@ -1,4 +1,4 @@
-/* NaturalCollate.c generated by valac 0.34.2, the Vala compiler
+/* NaturalCollate.c generated by valac 0.32.1, the Vala compiler
* generated from NaturalCollate.vala, do not modify */
@@ -27,15 +27,15 @@ static gunichar string_get_char (const gchar* self, glong index) {
gunichar result = 0U;
glong _tmp0_ = 0L;
gunichar _tmp1_ = 0U;
-#line 1116 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1116 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, 0U);
-#line 1117 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1117 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = index;
-#line 1117 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1117 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = g_utf8_get_char (((gchar*) self) + _tmp0_);
-#line 1117 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1117 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp1_;
-#line 1117 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1117 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 41 "NaturalCollate.c"
}
@@ -45,15 +45,15 @@ static gint string_index_of_nth_char (const gchar* self, glong c) {
gint result = 0;
glong _tmp0_ = 0L;
gchar* _tmp1_ = NULL;
-#line 1136 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1136 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, 0);
-#line 1137 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1137 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = c;
-#line 1137 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1137 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = g_utf8_offset_to_pointer (self, _tmp0_);
-#line 1137 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1137 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = (gint) (_tmp1_ - ((gchar*) self));
-#line 1137 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1137 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 59 "NaturalCollate.c"
}
@@ -66,37 +66,37 @@ static glong string_strnlen (gchar* str, glong maxlen) {
glong _tmp1_ = 0L;
gchar* _tmp2_ = NULL;
gchar* _tmp3_ = NULL;
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = str;
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = maxlen;
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = memchr (_tmp0_, 0, (gsize) _tmp1_);
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
end = _tmp2_;
-#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = end;
-#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp3_ == NULL) {
#line 82 "NaturalCollate.c"
glong _tmp4_ = 0L;
-#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = maxlen;
-#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp4_;
-#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 90 "NaturalCollate.c"
} else {
gchar* _tmp5_ = NULL;
gchar* _tmp6_ = NULL;
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = end;
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6_ = str;
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = (glong) (_tmp5_ - _tmp6_);
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 102 "NaturalCollate.c"
}
@@ -116,112 +116,112 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) {
glong _tmp20_ = 0L;
glong _tmp21_ = 0L;
gchar* _tmp22_ = NULL;
-#line 1306 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1306 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = offset;
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp1_ >= ((glong) 0)) {
#line 126 "NaturalCollate.c"
glong _tmp2_ = 0L;
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = len;
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = _tmp2_ >= ((glong) 0);
#line 132 "NaturalCollate.c"
} else {
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = FALSE;
#line 136 "NaturalCollate.c"
}
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp0_) {
#line 140 "NaturalCollate.c"
glong _tmp3_ = 0L;
glong _tmp4_ = 0L;
glong _tmp5_ = 0L;
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = offset;
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = len;
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = string_strnlen ((gchar*) self, _tmp3_ + _tmp4_);
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
string_length = _tmp5_;
#line 152 "NaturalCollate.c"
} else {
gint _tmp6_ = 0;
gint _tmp7_ = 0;
-#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6_ = strlen (self);
-#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp7_ = _tmp6_;
-#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
string_length = (glong) _tmp7_;
#line 162 "NaturalCollate.c"
}
-#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp8_ = offset;
-#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp8_ < ((glong) 0)) {
#line 168 "NaturalCollate.c"
glong _tmp9_ = 0L;
glong _tmp10_ = 0L;
glong _tmp11_ = 0L;
-#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp9_ = string_length;
-#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp10_ = offset;
-#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
offset = _tmp9_ + _tmp10_;
-#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp11_ = offset;
-#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp11_ >= ((glong) 0), NULL);
#line 182 "NaturalCollate.c"
} else {
glong _tmp12_ = 0L;
glong _tmp13_ = 0L;
-#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp12_ = offset;
-#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp13_ = string_length;
-#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp12_ <= _tmp13_, NULL);
#line 192 "NaturalCollate.c"
}
-#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp14_ = len;
-#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp14_ < ((glong) 0)) {
#line 198 "NaturalCollate.c"
glong _tmp15_ = 0L;
glong _tmp16_ = 0L;
-#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp15_ = string_length;
-#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp16_ = offset;
-#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
len = _tmp15_ - _tmp16_;
#line 207 "NaturalCollate.c"
}
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp17_ = offset;
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp18_ = len;
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp19_ = string_length;
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail ((_tmp17_ + _tmp18_) <= _tmp19_, NULL);
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp20_ = offset;
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp21_ = len;
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp22_ = g_strndup (((gchar*) self) + _tmp20_, (gsize) _tmp21_);
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp22_;
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 227 "NaturalCollate.c"
}
@@ -389,17 +389,17 @@ static gboolean string_contains (const gchar* self, const gchar* needle) {
gboolean result = FALSE;
const gchar* _tmp0_ = NULL;
gchar* _tmp1_ = NULL;
-#line 1376 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1376 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, FALSE);
-#line 1376 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1376 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (needle != NULL, FALSE);
-#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = needle;
-#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = strstr ((gchar*) self, (gchar*) _tmp0_);
-#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp1_ != NULL;
-#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 405 "NaturalCollate.c"
}
@@ -410,17 +410,17 @@ static gchar* g_unichar_to_string (gunichar self) {
gchar* str = NULL;
gchar* _tmp0_ = NULL;
const gchar* _tmp1_ = NULL;
-#line 941 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 941 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = g_new0 (gchar, 7);
-#line 941 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 941 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
str = (gchar*) _tmp0_;
-#line 942 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 942 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = str;
-#line 942 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 942 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_unichar_to_utf8 (self, _tmp1_);
-#line 943 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 943 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = str;
-#line 943 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 943 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 426 "NaturalCollate.c"
}
diff --git a/src/Orientation.c b/src/Orientation.c
index 1ff247c..3e2da2a 100644
--- a/src/Orientation.c
+++ b/src/Orientation.c
@@ -1,4 +1,4 @@
-/* Orientation.c generated by valac 0.34.2, the Vala compiler
+/* Orientation.c generated by valac 0.32.1, the Vala compiler
* generated from Orientation.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/Page.c b/src/Page.c
index dc32295..1f4e67d 100644
--- a/src/Page.c
+++ b/src/Page.c
@@ -1,4 +1,4 @@
-/* Page.c generated by valac 0.34.2, the Vala compiler
+/* Page.c generated by valac 0.32.1, the Vala compiler
* generated from Page.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -1005,7 +1005,7 @@ gboolean page_get_alt_pressed (Page* self);
gboolean page_get_shift_pressed (Page* self);
gboolean page_get_super_pressed (Page* self);
void page_set_action_active (Page* self, const gchar* name, gboolean active);
-static GVariant* _variant_new16 (gboolean value);
+static GVariant* _variant_new20 (gboolean value);
static gboolean page_get_modifiers (Page* self, gboolean* ctrl, gboolean* alt, gboolean* shift, gboolean* super);
gboolean page_on_ctrl_released (Page* self, GdkEventKey* event);
gboolean page_on_ctrl_pressed (Page* self, GdkEventKey* event);
@@ -1028,8 +1028,8 @@ CommandManager* app_window_get_command_manager (void);
void page_add_actions (Page* self);
static void page_real_add_actions (Page* self);
void page_on_action_toggle (Page* self, GAction* action, GVariant* value);
-static gboolean _variant_get17 (GVariant* value);
-static GVariant* _variant_new18 (gboolean value);
+static gboolean _variant_get21 (GVariant* value);
+static GVariant* _variant_new22 (gboolean value);
void page_on_action_radio (Page* self, GAction* action, GVariant* value);
void page_init_collect_ui_filenames (Page* self, GeeList* ui_filenames);
static void page_init_load_ui (Page* self, const gchar* ui_filename);
@@ -1153,6 +1153,7 @@ void page_set_page_cursor (Page* self, GdkCursorType cursor_type);
static void page_real_set_page_cursor (Page* self, GdkCursorType cursor_type);
static gboolean page_on_hide_cursor (Page* self);
static gboolean _page_on_hide_cursor_gsource_func (gpointer self);
+void app_window_update_menu_item_label (AppWindow* self, const gchar* id, const gchar* new_label);
static void page_finalize (GObject* obj);
GType checkerboard_page_get_type (void) G_GNUC_CONST;
GType thumbnail_view_get_type (void) G_GNUC_CONST;
@@ -1503,14 +1504,14 @@ InjectionGroup* injection_group_construct (GType object_type, const gchar* path)
self->priv->path = _tmp1_;
#line 31 "/home/jens/Source/shotwell/src/Page.vala"
return self;
-#line 1507 "Page.c"
+#line 1508 "Page.c"
}
InjectionGroup* injection_group_new (const gchar* path) {
#line 31 "/home/jens/Source/shotwell/src/Page.vala"
return injection_group_construct (TYPE_INJECTION_GROUP, path);
-#line 1514 "Page.c"
+#line 1515 "Page.c"
}
@@ -1528,14 +1529,14 @@ gchar* injection_group_get_path (InjectionGroup* self) {
result = _tmp1_;
#line 36 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 1532 "Page.c"
+#line 1533 "Page.c"
}
static gpointer _g_object_ref0 (gpointer self) {
#line 40 "/home/jens/Source/shotwell/src/Page.vala"
return self ? g_object_ref (self) : NULL;
-#line 1539 "Page.c"
+#line 1540 "Page.c"
}
@@ -1553,7 +1554,7 @@ GeeList* injection_group_get_elements (InjectionGroup* self) {
result = _tmp1_;
#line 40 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 1557 "Page.c"
+#line 1558 "Page.c"
}
@@ -1568,23 +1569,23 @@ void injection_group_add_menu_item (InjectionGroup* self, const gchar* name, con
g_return_if_fail (IS_INJECTION_GROUP (self));
#line 43 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (name != NULL);
-#line 45 "/home/jens/Source/shotwell/src/Page.vala"
+#line 44 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->elements;
-#line 45 "/home/jens/Source/shotwell/src/Page.vala"
+#line 44 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = name;
-#line 45 "/home/jens/Source/shotwell/src/Page.vala"
+#line 44 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = action;
-#line 45 "/home/jens/Source/shotwell/src/Page.vala"
+#line 44 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = accellerator;
-#line 45 "/home/jens/Source/shotwell/src/Page.vala"
+#line 44 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = injection_group_element_new (_tmp1_, _tmp2_, _tmp3_, INJECTION_GROUP_ELEMENT_ITEM_TYPE_MENUITEM);
-#line 45 "/home/jens/Source/shotwell/src/Page.vala"
+#line 44 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = _tmp4_;
-#line 45 "/home/jens/Source/shotwell/src/Page.vala"
+#line 44 "/home/jens/Source/shotwell/src/Page.vala"
gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp5_);
-#line 45 "/home/jens/Source/shotwell/src/Page.vala"
+#line 44 "/home/jens/Source/shotwell/src/Page.vala"
_injection_group_element_unref0 (_tmp5_);
-#line 1588 "Page.c"
+#line 1589 "Page.c"
}
@@ -1594,25 +1595,25 @@ void injection_group_add_menu (InjectionGroup* self, const gchar* name, const gc
const gchar* _tmp2_ = NULL;
InjectionGroupElement* _tmp3_ = NULL;
InjectionGroupElement* _tmp4_ = NULL;
-#line 48 "/home/jens/Source/shotwell/src/Page.vala"
+#line 47 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_INJECTION_GROUP (self));
-#line 48 "/home/jens/Source/shotwell/src/Page.vala"
+#line 47 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (name != NULL);
-#line 49 "/home/jens/Source/shotwell/src/Page.vala"
+#line 48 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->elements;
-#line 49 "/home/jens/Source/shotwell/src/Page.vala"
+#line 48 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = name;
-#line 49 "/home/jens/Source/shotwell/src/Page.vala"
+#line 48 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = action;
-#line 49 "/home/jens/Source/shotwell/src/Page.vala"
+#line 48 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = injection_group_element_new (_tmp1_, _tmp2_, NULL, INJECTION_GROUP_ELEMENT_ITEM_TYPE_MENU);
-#line 49 "/home/jens/Source/shotwell/src/Page.vala"
+#line 48 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = _tmp3_;
-#line 49 "/home/jens/Source/shotwell/src/Page.vala"
+#line 48 "/home/jens/Source/shotwell/src/Page.vala"
gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp4_);
-#line 49 "/home/jens/Source/shotwell/src/Page.vala"
+#line 48 "/home/jens/Source/shotwell/src/Page.vala"
_injection_group_element_unref0 (_tmp4_);
-#line 1616 "Page.c"
+#line 1617 "Page.c"
}
@@ -1623,29 +1624,29 @@ void injection_group_add_separator (InjectionGroup* self) {
gchar* _tmp3_ = NULL;
InjectionGroupElement* _tmp4_ = NULL;
InjectionGroupElement* _tmp5_ = NULL;
-#line 52 "/home/jens/Source/shotwell/src/Page.vala"
+#line 51 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_INJECTION_GROUP (self));
-#line 53 "/home/jens/Source/shotwell/src/Page.vala"
+#line 52 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->elements;
-#line 53 "/home/jens/Source/shotwell/src/Page.vala"
+#line 52 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = self->priv->separator_id;
-#line 53 "/home/jens/Source/shotwell/src/Page.vala"
+#line 52 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->separator_id = _tmp1_ + 1;
-#line 53 "/home/jens/Source/shotwell/src/Page.vala"
+#line 52 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = g_strdup_printf ("%d-separator", _tmp1_);
-#line 53 "/home/jens/Source/shotwell/src/Page.vala"
+#line 52 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = _tmp2_;
-#line 53 "/home/jens/Source/shotwell/src/Page.vala"
+#line 52 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = injection_group_element_new (_tmp3_, NULL, NULL, INJECTION_GROUP_ELEMENT_ITEM_TYPE_SEPARATOR);
-#line 53 "/home/jens/Source/shotwell/src/Page.vala"
+#line 52 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = _tmp4_;
-#line 53 "/home/jens/Source/shotwell/src/Page.vala"
+#line 52 "/home/jens/Source/shotwell/src/Page.vala"
gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp5_);
-#line 53 "/home/jens/Source/shotwell/src/Page.vala"
+#line 52 "/home/jens/Source/shotwell/src/Page.vala"
_injection_group_element_unref0 (_tmp5_);
-#line 53 "/home/jens/Source/shotwell/src/Page.vala"
+#line 52 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (_tmp3_);
-#line 1649 "Page.c"
+#line 1650 "Page.c"
}
@@ -1687,20 +1688,20 @@ InjectionGroupElement* injection_group_element_construct (GType object_type, con
_tmp3_ = action;
#line 21 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp3_ != NULL) {
-#line 1691 "Page.c"
+#line 1692 "Page.c"
const gchar* _tmp4_ = NULL;
#line 21 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = action;
#line 21 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = _tmp4_;
-#line 1697 "Page.c"
+#line 1698 "Page.c"
} else {
const gchar* _tmp5_ = NULL;
#line 21 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = name;
#line 21 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = _tmp5_;
-#line 1704 "Page.c"
+#line 1705 "Page.c"
}
#line 21 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = g_strdup (_tmp2_);
@@ -1722,21 +1723,21 @@ InjectionGroupElement* injection_group_element_construct (GType object_type, con
self->kind = _tmp9_;
#line 19 "/home/jens/Source/shotwell/src/Page.vala"
return self;
-#line 1726 "Page.c"
+#line 1727 "Page.c"
}
InjectionGroupElement* injection_group_element_new (const gchar* name, const gchar* action, const gchar* accellerator, InjectionGroupElementItemType kind) {
#line 19 "/home/jens/Source/shotwell/src/Page.vala"
return injection_group_element_construct (INJECTION_GROUP_TYPE_ELEMENT, name, action, accellerator, kind);
-#line 1733 "Page.c"
+#line 1734 "Page.c"
}
static void injection_group_value_element_init (GValue* value) {
#line 8 "/home/jens/Source/shotwell/src/Page.vala"
value->data[0].v_pointer = NULL;
-#line 1740 "Page.c"
+#line 1741 "Page.c"
}
@@ -1745,7 +1746,7 @@ static void injection_group_value_element_free_value (GValue* value) {
if (value->data[0].v_pointer) {
#line 8 "/home/jens/Source/shotwell/src/Page.vala"
injection_group_element_unref (value->data[0].v_pointer);
-#line 1749 "Page.c"
+#line 1750 "Page.c"
}
}
@@ -1755,11 +1756,11 @@ static void injection_group_value_element_copy_value (const GValue* src_value, G
if (src_value->data[0].v_pointer) {
#line 8 "/home/jens/Source/shotwell/src/Page.vala"
dest_value->data[0].v_pointer = injection_group_element_ref (src_value->data[0].v_pointer);
-#line 1759 "Page.c"
+#line 1760 "Page.c"
} else {
#line 8 "/home/jens/Source/shotwell/src/Page.vala"
dest_value->data[0].v_pointer = NULL;
-#line 1763 "Page.c"
+#line 1764 "Page.c"
}
}
@@ -1767,37 +1768,37 @@ static void injection_group_value_element_copy_value (const GValue* src_value, G
static gpointer injection_group_value_element_peek_pointer (const GValue* value) {
#line 8 "/home/jens/Source/shotwell/src/Page.vala"
return value->data[0].v_pointer;
-#line 1771 "Page.c"
+#line 1772 "Page.c"
}
static gchar* injection_group_value_element_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
#line 8 "/home/jens/Source/shotwell/src/Page.vala"
if (collect_values[0].v_pointer) {
-#line 1778 "Page.c"
+#line 1779 "Page.c"
InjectionGroupElement* object;
object = collect_values[0].v_pointer;
#line 8 "/home/jens/Source/shotwell/src/Page.vala"
if (object->parent_instance.g_class == NULL) {
#line 8 "/home/jens/Source/shotwell/src/Page.vala"
return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 1785 "Page.c"
+#line 1786 "Page.c"
} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
#line 8 "/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 1789 "Page.c"
+#line 1790 "Page.c"
}
#line 8 "/home/jens/Source/shotwell/src/Page.vala"
value->data[0].v_pointer = injection_group_element_ref (object);
-#line 1793 "Page.c"
+#line 1794 "Page.c"
} else {
#line 8 "/home/jens/Source/shotwell/src/Page.vala"
value->data[0].v_pointer = NULL;
-#line 1797 "Page.c"
+#line 1798 "Page.c"
}
#line 8 "/home/jens/Source/shotwell/src/Page.vala"
return NULL;
-#line 1801 "Page.c"
+#line 1802 "Page.c"
}
@@ -1808,25 +1809,25 @@ static gchar* injection_group_value_element_lcopy_value (const GValue* value, gu
if (!object_p) {
#line 8 "/home/jens/Source/shotwell/src/Page.vala"
return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
-#line 1812 "Page.c"
+#line 1813 "Page.c"
}
#line 8 "/home/jens/Source/shotwell/src/Page.vala"
if (!value->data[0].v_pointer) {
#line 8 "/home/jens/Source/shotwell/src/Page.vala"
*object_p = NULL;
-#line 1818 "Page.c"
+#line 1819 "Page.c"
} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
#line 8 "/home/jens/Source/shotwell/src/Page.vala"
*object_p = value->data[0].v_pointer;
-#line 1822 "Page.c"
+#line 1823 "Page.c"
} else {
#line 8 "/home/jens/Source/shotwell/src/Page.vala"
*object_p = injection_group_element_ref (value->data[0].v_pointer);
-#line 1826 "Page.c"
+#line 1827 "Page.c"
}
#line 8 "/home/jens/Source/shotwell/src/Page.vala"
return NULL;
-#line 1830 "Page.c"
+#line 1831 "Page.c"
}
@@ -1840,7 +1841,7 @@ GParamSpec* injection_group_param_spec_element (const gchar* name, const gchar*
G_PARAM_SPEC (spec)->value_type = object_type;
#line 8 "/home/jens/Source/shotwell/src/Page.vala"
return G_PARAM_SPEC (spec);
-#line 1844 "Page.c"
+#line 1845 "Page.c"
}
@@ -1849,7 +1850,7 @@ gpointer injection_group_value_get_element (const GValue* value) {
g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, INJECTION_GROUP_TYPE_ELEMENT), NULL);
#line 8 "/home/jens/Source/shotwell/src/Page.vala"
return value->data[0].v_pointer;
-#line 1853 "Page.c"
+#line 1854 "Page.c"
}
@@ -1869,17 +1870,17 @@ void injection_group_value_set_element (GValue* value, gpointer v_object) {
value->data[0].v_pointer = v_object;
#line 8 "/home/jens/Source/shotwell/src/Page.vala"
injection_group_element_ref (value->data[0].v_pointer);
-#line 1873 "Page.c"
+#line 1874 "Page.c"
} else {
#line 8 "/home/jens/Source/shotwell/src/Page.vala"
value->data[0].v_pointer = NULL;
-#line 1877 "Page.c"
+#line 1878 "Page.c"
}
#line 8 "/home/jens/Source/shotwell/src/Page.vala"
if (old) {
#line 8 "/home/jens/Source/shotwell/src/Page.vala"
injection_group_element_unref (old);
-#line 1883 "Page.c"
+#line 1884 "Page.c"
}
}
@@ -1898,17 +1899,17 @@ void injection_group_value_take_element (GValue* value, gpointer v_object) {
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 8 "/home/jens/Source/shotwell/src/Page.vala"
value->data[0].v_pointer = v_object;
-#line 1902 "Page.c"
+#line 1903 "Page.c"
} else {
#line 8 "/home/jens/Source/shotwell/src/Page.vala"
value->data[0].v_pointer = NULL;
-#line 1906 "Page.c"
+#line 1907 "Page.c"
}
#line 8 "/home/jens/Source/shotwell/src/Page.vala"
if (old) {
#line 8 "/home/jens/Source/shotwell/src/Page.vala"
injection_group_element_unref (old);
-#line 1912 "Page.c"
+#line 1913 "Page.c"
}
}
@@ -1918,14 +1919,14 @@ static void injection_group_element_class_init (InjectionGroupElementClass * kla
injection_group_element_parent_class = g_type_class_peek_parent (klass);
#line 8 "/home/jens/Source/shotwell/src/Page.vala"
((InjectionGroupElementClass *) klass)->finalize = injection_group_element_finalize;
-#line 1922 "Page.c"
+#line 1923 "Page.c"
}
static void injection_group_element_instance_init (InjectionGroupElement * self) {
#line 8 "/home/jens/Source/shotwell/src/Page.vala"
self->ref_count = 1;
-#line 1929 "Page.c"
+#line 1930 "Page.c"
}
@@ -1941,7 +1942,7 @@ static void injection_group_element_finalize (InjectionGroupElement* obj) {
_g_free0 (self->action);
#line 16 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (self->accellerator);
-#line 1945 "Page.c"
+#line 1946 "Page.c"
}
@@ -1966,7 +1967,7 @@ gpointer injection_group_element_ref (gpointer instance) {
g_atomic_int_inc (&self->ref_count);
#line 8 "/home/jens/Source/shotwell/src/Page.vala"
return instance;
-#line 1970 "Page.c"
+#line 1971 "Page.c"
}
@@ -1979,7 +1980,7 @@ void injection_group_element_unref (gpointer instance) {
INJECTION_GROUP_ELEMENT_GET_CLASS (self)->finalize (self);
#line 8 "/home/jens/Source/shotwell/src/Page.vala"
g_type_free_instance ((GTypeInstance *) self);
-#line 1983 "Page.c"
+#line 1984 "Page.c"
}
}
@@ -1987,7 +1988,7 @@ void injection_group_element_unref (gpointer instance) {
static void value_injection_group_init (GValue* value) {
#line 7 "/home/jens/Source/shotwell/src/Page.vala"
value->data[0].v_pointer = NULL;
-#line 1991 "Page.c"
+#line 1992 "Page.c"
}
@@ -1996,7 +1997,7 @@ static void value_injection_group_free_value (GValue* value) {
if (value->data[0].v_pointer) {
#line 7 "/home/jens/Source/shotwell/src/Page.vala"
injection_group_unref (value->data[0].v_pointer);
-#line 2000 "Page.c"
+#line 2001 "Page.c"
}
}
@@ -2006,11 +2007,11 @@ static void value_injection_group_copy_value (const GValue* src_value, GValue* d
if (src_value->data[0].v_pointer) {
#line 7 "/home/jens/Source/shotwell/src/Page.vala"
dest_value->data[0].v_pointer = injection_group_ref (src_value->data[0].v_pointer);
-#line 2010 "Page.c"
+#line 2011 "Page.c"
} else {
#line 7 "/home/jens/Source/shotwell/src/Page.vala"
dest_value->data[0].v_pointer = NULL;
-#line 2014 "Page.c"
+#line 2015 "Page.c"
}
}
@@ -2018,37 +2019,37 @@ static void value_injection_group_copy_value (const GValue* src_value, GValue* d
static gpointer value_injection_group_peek_pointer (const GValue* value) {
#line 7 "/home/jens/Source/shotwell/src/Page.vala"
return value->data[0].v_pointer;
-#line 2022 "Page.c"
+#line 2023 "Page.c"
}
static gchar* value_injection_group_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
#line 7 "/home/jens/Source/shotwell/src/Page.vala"
if (collect_values[0].v_pointer) {
-#line 2029 "Page.c"
+#line 2030 "Page.c"
InjectionGroup* object;
object = collect_values[0].v_pointer;
#line 7 "/home/jens/Source/shotwell/src/Page.vala"
if (object->parent_instance.g_class == NULL) {
#line 7 "/home/jens/Source/shotwell/src/Page.vala"
return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 2036 "Page.c"
+#line 2037 "Page.c"
} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
#line 7 "/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 2040 "Page.c"
+#line 2041 "Page.c"
}
#line 7 "/home/jens/Source/shotwell/src/Page.vala"
value->data[0].v_pointer = injection_group_ref (object);
-#line 2044 "Page.c"
+#line 2045 "Page.c"
} else {
#line 7 "/home/jens/Source/shotwell/src/Page.vala"
value->data[0].v_pointer = NULL;
-#line 2048 "Page.c"
+#line 2049 "Page.c"
}
#line 7 "/home/jens/Source/shotwell/src/Page.vala"
return NULL;
-#line 2052 "Page.c"
+#line 2053 "Page.c"
}
@@ -2059,25 +2060,25 @@ static gchar* value_injection_group_lcopy_value (const GValue* value, guint n_co
if (!object_p) {
#line 7 "/home/jens/Source/shotwell/src/Page.vala"
return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
-#line 2063 "Page.c"
+#line 2064 "Page.c"
}
#line 7 "/home/jens/Source/shotwell/src/Page.vala"
if (!value->data[0].v_pointer) {
#line 7 "/home/jens/Source/shotwell/src/Page.vala"
*object_p = NULL;
-#line 2069 "Page.c"
+#line 2070 "Page.c"
} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
#line 7 "/home/jens/Source/shotwell/src/Page.vala"
*object_p = value->data[0].v_pointer;
-#line 2073 "Page.c"
+#line 2074 "Page.c"
} else {
#line 7 "/home/jens/Source/shotwell/src/Page.vala"
*object_p = injection_group_ref (value->data[0].v_pointer);
-#line 2077 "Page.c"
+#line 2078 "Page.c"
}
#line 7 "/home/jens/Source/shotwell/src/Page.vala"
return NULL;
-#line 2081 "Page.c"
+#line 2082 "Page.c"
}
@@ -2091,7 +2092,7 @@ GParamSpec* param_spec_injection_group (const gchar* name, const gchar* nick, co
G_PARAM_SPEC (spec)->value_type = object_type;
#line 7 "/home/jens/Source/shotwell/src/Page.vala"
return G_PARAM_SPEC (spec);
-#line 2095 "Page.c"
+#line 2096 "Page.c"
}
@@ -2100,7 +2101,7 @@ gpointer value_get_injection_group (const GValue* value) {
g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_INJECTION_GROUP), NULL);
#line 7 "/home/jens/Source/shotwell/src/Page.vala"
return value->data[0].v_pointer;
-#line 2104 "Page.c"
+#line 2105 "Page.c"
}
@@ -2120,17 +2121,17 @@ void value_set_injection_group (GValue* value, gpointer v_object) {
value->data[0].v_pointer = v_object;
#line 7 "/home/jens/Source/shotwell/src/Page.vala"
injection_group_ref (value->data[0].v_pointer);
-#line 2124 "Page.c"
+#line 2125 "Page.c"
} else {
#line 7 "/home/jens/Source/shotwell/src/Page.vala"
value->data[0].v_pointer = NULL;
-#line 2128 "Page.c"
+#line 2129 "Page.c"
}
#line 7 "/home/jens/Source/shotwell/src/Page.vala"
if (old) {
#line 7 "/home/jens/Source/shotwell/src/Page.vala"
injection_group_unref (old);
-#line 2134 "Page.c"
+#line 2135 "Page.c"
}
}
@@ -2149,17 +2150,17 @@ void value_take_injection_group (GValue* value, gpointer v_object) {
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 7 "/home/jens/Source/shotwell/src/Page.vala"
value->data[0].v_pointer = v_object;
-#line 2153 "Page.c"
+#line 2154 "Page.c"
} else {
#line 7 "/home/jens/Source/shotwell/src/Page.vala"
value->data[0].v_pointer = NULL;
-#line 2157 "Page.c"
+#line 2158 "Page.c"
}
#line 7 "/home/jens/Source/shotwell/src/Page.vala"
if (old) {
#line 7 "/home/jens/Source/shotwell/src/Page.vala"
injection_group_unref (old);
-#line 2163 "Page.c"
+#line 2164 "Page.c"
}
}
@@ -2171,7 +2172,7 @@ static void injection_group_class_init (InjectionGroupClass * klass) {
((InjectionGroupClass *) klass)->finalize = injection_group_finalize;
#line 7 "/home/jens/Source/shotwell/src/Page.vala"
g_type_class_add_private (klass, sizeof (InjectionGroupPrivate));
-#line 2175 "Page.c"
+#line 2176 "Page.c"
}
@@ -2187,7 +2188,7 @@ static void injection_group_instance_init (InjectionGroup * self) {
self->priv->separator_id = 0;
#line 7 "/home/jens/Source/shotwell/src/Page.vala"
self->ref_count = 1;
-#line 2191 "Page.c"
+#line 2192 "Page.c"
}
@@ -2201,7 +2202,7 @@ static void injection_group_finalize (InjectionGroup* obj) {
_g_free0 (self->priv->path);
#line 28 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->elements);
-#line 2205 "Page.c"
+#line 2206 "Page.c"
}
@@ -2226,7 +2227,7 @@ gpointer injection_group_ref (gpointer instance) {
g_atomic_int_inc (&self->ref_count);
#line 7 "/home/jens/Source/shotwell/src/Page.vala"
return instance;
-#line 2230 "Page.c"
+#line 2231 "Page.c"
}
@@ -2239,7 +2240,7 @@ void injection_group_unref (gpointer instance) {
INJECTION_GROUP_GET_CLASS (self)->finalize (self);
#line 7 "/home/jens/Source/shotwell/src/Page.vala"
g_type_free_instance ((GTypeInstance *) self);
-#line 2243 "Page.c"
+#line 2244 "Page.c"
}
}
@@ -2247,16 +2248,16 @@ void injection_group_unref (gpointer instance) {
static gboolean _page_on_context_keypress_gtk_widget_popup_menu (GtkWidget* _sender, gpointer self) {
gboolean result;
result = page_on_context_keypress ((Page*) self);
-#line 99 "/home/jens/Source/shotwell/src/Page.vala"
+#line 98 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 2253 "Page.c"
+#line 2254 "Page.c"
}
static void _page_attach_view_signals_gtk_widget_realize (GtkWidget* _sender, gpointer self) {
-#line 103 "/home/jens/Source/shotwell/src/Page.vala"
+#line 102 "/home/jens/Source/shotwell/src/Page.vala"
page_attach_view_signals ((Page*) self);
-#line 2260 "Page.c"
+#line 2261 "Page.c"
}
@@ -2269,49 +2270,49 @@ Page* page_construct (GType object_type, const gchar* page_name) {
gchar* _tmp4_ = NULL;
ViewCollection* _tmp5_ = NULL;
GdkPoint _tmp6_ = {0};
-#line 90 "/home/jens/Source/shotwell/src/Page.vala"
+#line 89 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (page_name != NULL, NULL);
-#line 90 "/home/jens/Source/shotwell/src/Page.vala"
+#line 89 "/home/jens/Source/shotwell/src/Page.vala"
self = (Page*) g_object_new (object_type, NULL);
-#line 91 "/home/jens/Source/shotwell/src/Page.vala"
+#line 90 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = page_name;
-#line 91 "/home/jens/Source/shotwell/src/Page.vala"
+#line 90 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = g_strdup (_tmp0_);
-#line 91 "/home/jens/Source/shotwell/src/Page.vala"
+#line 90 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (self->priv->page_name);
-#line 91 "/home/jens/Source/shotwell/src/Page.vala"
+#line 90 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->page_name = _tmp1_;
-#line 93 "/home/jens/Source/shotwell/src/Page.vala"
+#line 92 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = page_name;
-#line 93 "/home/jens/Source/shotwell/src/Page.vala"
+#line 92 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = g_strdup_printf ("ViewCollection for Page %s", _tmp2_);
-#line 93 "/home/jens/Source/shotwell/src/Page.vala"
+#line 92 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = _tmp3_;
-#line 93 "/home/jens/Source/shotwell/src/Page.vala"
+#line 92 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = view_collection_new (_tmp4_);
-#line 93 "/home/jens/Source/shotwell/src/Page.vala"
+#line 92 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (self->priv->view);
-#line 93 "/home/jens/Source/shotwell/src/Page.vala"
+#line 92 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->view = _tmp5_;
-#line 93 "/home/jens/Source/shotwell/src/Page.vala"
+#line 92 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (_tmp4_);
-#line 95 "/home/jens/Source/shotwell/src/Page.vala"
+#line 94 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_.x = -1;
-#line 95 "/home/jens/Source/shotwell/src/Page.vala"
+#line 94 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_.y = -1;
-#line 95 "/home/jens/Source/shotwell/src/Page.vala"
+#line 94 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->last_down = _tmp6_;
-#line 97 "/home/jens/Source/shotwell/src/Page.vala"
+#line 96 "/home/jens/Source/shotwell/src/Page.vala"
gtk_widget_set_can_focus (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), TRUE);
-#line 99 "/home/jens/Source/shotwell/src/Page.vala"
+#line 98 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), "popup-menu", (GCallback) _page_on_context_keypress_gtk_widget_popup_menu, self, 0);
-#line 101 "/home/jens/Source/shotwell/src/Page.vala"
+#line 100 "/home/jens/Source/shotwell/src/Page.vala"
page_init_ui (self);
-#line 103 "/home/jens/Source/shotwell/src/Page.vala"
+#line 102 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), "realize", (GCallback) _page_attach_view_signals_gtk_widget_realize, self, 0);
-#line 90 "/home/jens/Source/shotwell/src/Page.vala"
+#line 89 "/home/jens/Source/shotwell/src/Page.vala"
return self;
-#line 2315 "Page.c"
+#line 2316 "Page.c"
}
@@ -2323,63 +2324,63 @@ static void page_real_destroy (GtkWidget* base) {
OneShotScheduler* _tmp4_ = NULL;
gchar* _tmp6_ = NULL;
gchar* _tmp7_ = NULL;
-#line 114 "/home/jens/Source/shotwell/src/Page.vala"
+#line 113 "/home/jens/Source/shotwell/src/Page.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_PAGE, Page);
-#line 115 "/home/jens/Source/shotwell/src/Page.vala"
+#line 114 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->is_destroyed;
-#line 115 "/home/jens/Source/shotwell/src/Page.vala"
+#line 114 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp0_) {
-#line 116 "/home/jens/Source/shotwell/src/Page.vala"
+#line 115 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 2335 "Page.c"
+#line 2336 "Page.c"
}
-#line 119 "/home/jens/Source/shotwell/src/Page.vala"
+#line 118 "/home/jens/Source/shotwell/src/Page.vala"
page_detach_event_source (self);
-#line 120 "/home/jens/Source/shotwell/src/Page.vala"
+#line 119 "/home/jens/Source/shotwell/src/Page.vala"
page_detach_view_signals (self);
-#line 121 "/home/jens/Source/shotwell/src/Page.vala"
+#line 120 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = self->priv->view;
-#line 121 "/home/jens/Source/shotwell/src/Page.vala"
+#line 120 "/home/jens/Source/shotwell/src/Page.vala"
data_collection_close (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_DATA_COLLECTION, DataCollection));
-#line 124 "/home/jens/Source/shotwell/src/Page.vala"
+#line 123 "/home/jens/Source/shotwell/src/Page.vala"
page_clear_container (self);
-#line 126 "/home/jens/Source/shotwell/src/Page.vala"
+#line 125 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->toolbar;
-#line 126 "/home/jens/Source/shotwell/src/Page.vala"
+#line 125 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp2_ != NULL) {
-#line 2351 "Page.c"
+#line 2352 "Page.c"
GtkToolbar* _tmp3_ = NULL;
-#line 127 "/home/jens/Source/shotwell/src/Page.vala"
+#line 126 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = self->toolbar;
-#line 127 "/home/jens/Source/shotwell/src/Page.vala"
+#line 126 "/home/jens/Source/shotwell/src/Page.vala"
gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_widget_get_type (), GtkWidget));
-#line 2357 "Page.c"
+#line 2358 "Page.c"
}
-#line 130 "/home/jens/Source/shotwell/src/Page.vala"
+#line 129 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = self->priv->update_actions_scheduler;
-#line 130 "/home/jens/Source/shotwell/src/Page.vala"
+#line 129 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp4_ != NULL) {
-#line 2363 "Page.c"
+#line 2364 "Page.c"
OneShotScheduler* _tmp5_ = NULL;
-#line 131 "/home/jens/Source/shotwell/src/Page.vala"
+#line 130 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = self->priv->update_actions_scheduler;
-#line 131 "/home/jens/Source/shotwell/src/Page.vala"
+#line 130 "/home/jens/Source/shotwell/src/Page.vala"
one_shot_scheduler_cancel (_tmp5_);
-#line 2369 "Page.c"
+#line 2370 "Page.c"
}
-#line 133 "/home/jens/Source/shotwell/src/Page.vala"
+#line 132 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->is_destroyed = TRUE;
-#line 135 "/home/jens/Source/shotwell/src/Page.vala"
+#line 134 "/home/jens/Source/shotwell/src/Page.vala"
GTK_WIDGET_CLASS (page_parent_class)->destroy (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_scrolled_window_get_type (), GtkScrolledWindow), gtk_widget_get_type (), GtkWidget));
-#line 137 "/home/jens/Source/shotwell/src/Page.vala"
+#line 136 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = page_get_page_name (self);
-#line 137 "/home/jens/Source/shotwell/src/Page.vala"
+#line 136 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = _tmp6_;
-#line 137 "/home/jens/Source/shotwell/src/Page.vala"
- g_debug ("Page.vala:137: Page %s Destroyed", _tmp7_);
-#line 137 "/home/jens/Source/shotwell/src/Page.vala"
+#line 136 "/home/jens/Source/shotwell/src/Page.vala"
+ g_debug ("Page.vala:136: Page %s Destroyed", _tmp7_);
+#line 136 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (_tmp7_);
-#line 2383 "Page.c"
+#line 2384 "Page.c"
}
@@ -2387,43 +2388,43 @@ gchar* page_get_page_name (Page* self) {
gchar* result = NULL;
const gchar* _tmp0_ = NULL;
gchar* _tmp1_ = NULL;
-#line 140 "/home/jens/Source/shotwell/src/Page.vala"
+#line 139 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), NULL);
-#line 141 "/home/jens/Source/shotwell/src/Page.vala"
+#line 140 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->page_name;
-#line 141 "/home/jens/Source/shotwell/src/Page.vala"
+#line 140 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = g_strdup (_tmp0_);
-#line 141 "/home/jens/Source/shotwell/src/Page.vala"
+#line 140 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp1_;
-#line 141 "/home/jens/Source/shotwell/src/Page.vala"
+#line 140 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 2401 "Page.c"
+#line 2402 "Page.c"
}
static void page_real_set_page_name (Page* self, const gchar* page_name) {
const gchar* _tmp0_ = NULL;
gchar* _tmp1_ = NULL;
-#line 144 "/home/jens/Source/shotwell/src/Page.vala"
+#line 143 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (page_name != NULL);
-#line 145 "/home/jens/Source/shotwell/src/Page.vala"
+#line 144 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = page_name;
-#line 145 "/home/jens/Source/shotwell/src/Page.vala"
+#line 144 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = g_strdup (_tmp0_);
-#line 145 "/home/jens/Source/shotwell/src/Page.vala"
+#line 144 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (self->priv->page_name);
-#line 145 "/home/jens/Source/shotwell/src/Page.vala"
+#line 144 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->page_name = _tmp1_;
-#line 2418 "Page.c"
+#line 2419 "Page.c"
}
void page_set_page_name (Page* self, const gchar* page_name) {
-#line 144 "/home/jens/Source/shotwell/src/Page.vala"
+#line 143 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 144 "/home/jens/Source/shotwell/src/Page.vala"
+#line 143 "/home/jens/Source/shotwell/src/Page.vala"
PAGE_GET_CLASS (self)->set_page_name (self, page_name);
-#line 2427 "Page.c"
+#line 2428 "Page.c"
}
@@ -2431,24 +2432,24 @@ gchar* page_to_string (Page* self) {
gchar* result = NULL;
const gchar* _tmp0_ = NULL;
gchar* _tmp1_ = NULL;
-#line 148 "/home/jens/Source/shotwell/src/Page.vala"
+#line 147 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), NULL);
-#line 149 "/home/jens/Source/shotwell/src/Page.vala"
+#line 148 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->page_name;
-#line 149 "/home/jens/Source/shotwell/src/Page.vala"
+#line 148 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = g_strdup (_tmp0_);
-#line 149 "/home/jens/Source/shotwell/src/Page.vala"
+#line 148 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp1_;
-#line 149 "/home/jens/Source/shotwell/src/Page.vala"
+#line 148 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 2445 "Page.c"
+#line 2446 "Page.c"
}
static gpointer _data_collection_ref0 (gpointer self) {
-#line 153 "/home/jens/Source/shotwell/src/Page.vala"
+#line 152 "/home/jens/Source/shotwell/src/Page.vala"
return self ? data_collection_ref (self) : NULL;
-#line 2452 "Page.c"
+#line 2453 "Page.c"
}
@@ -2456,17 +2457,17 @@ ViewCollection* page_get_view (Page* self) {
ViewCollection* result = NULL;
ViewCollection* _tmp0_ = NULL;
ViewCollection* _tmp1_ = NULL;
-#line 152 "/home/jens/Source/shotwell/src/Page.vala"
+#line 151 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), NULL);
-#line 153 "/home/jens/Source/shotwell/src/Page.vala"
+#line 152 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->view;
-#line 153 "/home/jens/Source/shotwell/src/Page.vala"
+#line 152 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _data_collection_ref0 (_tmp0_);
-#line 153 "/home/jens/Source/shotwell/src/Page.vala"
+#line 152 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp1_;
-#line 153 "/home/jens/Source/shotwell/src/Page.vala"
+#line 152 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 2470 "Page.c"
+#line 2471 "Page.c"
}
@@ -2474,17 +2475,17 @@ GtkWindow* page_get_container (Page* self) {
GtkWindow* result = NULL;
GtkWindow* _tmp0_ = NULL;
GtkWindow* _tmp1_ = NULL;
-#line 156 "/home/jens/Source/shotwell/src/Page.vala"
+#line 155 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), NULL);
-#line 157 "/home/jens/Source/shotwell/src/Page.vala"
+#line 156 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->container;
-#line 157 "/home/jens/Source/shotwell/src/Page.vala"
+#line 156 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _g_object_ref0 (_tmp0_);
-#line 157 "/home/jens/Source/shotwell/src/Page.vala"
+#line 156 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp1_;
-#line 157 "/home/jens/Source/shotwell/src/Page.vala"
+#line 156 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 2488 "Page.c"
+#line 2489 "Page.c"
}
@@ -2492,100 +2493,100 @@ static void page_real_set_container (Page* self, GtkWindow* container) {
GtkWindow* _tmp0_ = NULL;
GtkWindow* _tmp1_ = NULL;
GtkWindow* _tmp2_ = NULL;
-#line 160 "/home/jens/Source/shotwell/src/Page.vala"
+#line 159 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (GTK_IS_WINDOW (container));
-#line 161 "/home/jens/Source/shotwell/src/Page.vala"
+#line 160 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->container;
-#line 161 "/home/jens/Source/shotwell/src/Page.vala"
+#line 160 "/home/jens/Source/shotwell/src/Page.vala"
_vala_assert (_tmp0_ == NULL, "this.container == null");
-#line 163 "/home/jens/Source/shotwell/src/Page.vala"
+#line 162 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = container;
-#line 163 "/home/jens/Source/shotwell/src/Page.vala"
+#line 162 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = _g_object_ref0 (_tmp1_);
-#line 163 "/home/jens/Source/shotwell/src/Page.vala"
+#line 162 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->container);
-#line 163 "/home/jens/Source/shotwell/src/Page.vala"
+#line 162 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->container = _tmp2_;
-#line 2510 "Page.c"
+#line 2511 "Page.c"
}
void page_set_container (Page* self, GtkWindow* container) {
-#line 160 "/home/jens/Source/shotwell/src/Page.vala"
+#line 159 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 160 "/home/jens/Source/shotwell/src/Page.vala"
+#line 159 "/home/jens/Source/shotwell/src/Page.vala"
PAGE_GET_CLASS (self)->set_container (self, container);
-#line 2519 "Page.c"
+#line 2520 "Page.c"
}
static void page_real_clear_container (Page* self) {
-#line 167 "/home/jens/Source/shotwell/src/Page.vala"
+#line 166 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->container);
-#line 167 "/home/jens/Source/shotwell/src/Page.vala"
+#line 166 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->container = NULL;
-#line 2528 "Page.c"
+#line 2529 "Page.c"
}
void page_clear_container (Page* self) {
-#line 166 "/home/jens/Source/shotwell/src/Page.vala"
+#line 165 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 166 "/home/jens/Source/shotwell/src/Page.vala"
+#line 165 "/home/jens/Source/shotwell/src/Page.vala"
PAGE_GET_CLASS (self)->clear_container (self);
-#line 2537 "Page.c"
+#line 2538 "Page.c"
}
static gboolean _page_on_button_pressed_internal_gtk_widget_button_press_event (GtkWidget* _sender, GdkEventButton* event, gpointer self) {
gboolean result;
result = page_on_button_pressed_internal ((Page*) self, event);
-#line 181 "/home/jens/Source/shotwell/src/Page.vala"
+#line 180 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 2546 "Page.c"
+#line 2547 "Page.c"
}
static gboolean _page_on_button_released_internal_gtk_widget_button_release_event (GtkWidget* _sender, GdkEventButton* event, gpointer self) {
gboolean result;
result = page_on_button_released_internal ((Page*) self, event);
-#line 182 "/home/jens/Source/shotwell/src/Page.vala"
+#line 181 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 2555 "Page.c"
+#line 2556 "Page.c"
}
static gboolean _page_on_motion_internal_gtk_widget_motion_notify_event (GtkWidget* _sender, GdkEventMotion* event, gpointer self) {
gboolean result;
result = page_on_motion_internal ((Page*) self, event);
-#line 183 "/home/jens/Source/shotwell/src/Page.vala"
+#line 182 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 2564 "Page.c"
+#line 2565 "Page.c"
}
static gboolean _page_on_leave_notify_event_gtk_widget_leave_notify_event (GtkWidget* _sender, GdkEventCrossing* event, gpointer self) {
gboolean result;
result = page_on_leave_notify_event ((Page*) self);
-#line 184 "/home/jens/Source/shotwell/src/Page.vala"
+#line 183 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 2573 "Page.c"
+#line 2574 "Page.c"
}
static gboolean _page_on_mousewheel_internal_gtk_widget_scroll_event (GtkWidget* _sender, GdkEventScroll* event, gpointer self) {
gboolean result;
result = page_on_mousewheel_internal ((Page*) self, event);
-#line 185 "/home/jens/Source/shotwell/src/Page.vala"
+#line 184 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 2582 "Page.c"
+#line 2583 "Page.c"
}
static void _page_on_event_source_realize_gtk_widget_realize (GtkWidget* _sender, gpointer self) {
-#line 186 "/home/jens/Source/shotwell/src/Page.vala"
+#line 185 "/home/jens/Source/shotwell/src/Page.vala"
page_on_event_source_realize ((Page*) self);
-#line 2589 "Page.c"
+#line 2590 "Page.c"
}
@@ -2601,55 +2602,55 @@ void page_set_event_source (Page* self, GtkWidget* event_source) {
GtkWidget* _tmp8_ = NULL;
GtkWidget* _tmp9_ = NULL;
GtkWidget* _tmp10_ = NULL;
-#line 170 "/home/jens/Source/shotwell/src/Page.vala"
+#line 169 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 170 "/home/jens/Source/shotwell/src/Page.vala"
+#line 169 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (GTK_IS_WIDGET (event_source));
-#line 171 "/home/jens/Source/shotwell/src/Page.vala"
+#line 170 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->event_source;
-#line 171 "/home/jens/Source/shotwell/src/Page.vala"
+#line 170 "/home/jens/Source/shotwell/src/Page.vala"
_vala_assert (_tmp0_ == NULL, "this.event_source == null");
-#line 173 "/home/jens/Source/shotwell/src/Page.vala"
+#line 172 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = event_source;
-#line 173 "/home/jens/Source/shotwell/src/Page.vala"
+#line 172 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = _g_object_ref0 (_tmp1_);
-#line 173 "/home/jens/Source/shotwell/src/Page.vala"
+#line 172 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->event_source);
-#line 173 "/home/jens/Source/shotwell/src/Page.vala"
+#line 172 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->event_source = _tmp2_;
-#line 174 "/home/jens/Source/shotwell/src/Page.vala"
+#line 173 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = event_source;
-#line 174 "/home/jens/Source/shotwell/src/Page.vala"
+#line 173 "/home/jens/Source/shotwell/src/Page.vala"
gtk_widget_set_can_focus (_tmp3_, TRUE);
-#line 177 "/home/jens/Source/shotwell/src/Page.vala"
+#line 176 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = event_source;
-#line 177 "/home/jens/Source/shotwell/src/Page.vala"
+#line 176 "/home/jens/Source/shotwell/src/Page.vala"
gtk_widget_add_events (_tmp4_, (gint) ((((((GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK) | GDK_POINTER_MOTION_MASK) | GDK_POINTER_MOTION_HINT_MASK) | GDK_BUTTON_MOTION_MASK) | GDK_LEAVE_NOTIFY_MASK) | GDK_SCROLL_MASK));
-#line 181 "/home/jens/Source/shotwell/src/Page.vala"
+#line 180 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = event_source;
-#line 181 "/home/jens/Source/shotwell/src/Page.vala"
+#line 180 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_connect_object (_tmp5_, "button-press-event", (GCallback) _page_on_button_pressed_internal_gtk_widget_button_press_event, self, 0);
-#line 182 "/home/jens/Source/shotwell/src/Page.vala"
+#line 181 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = event_source;
-#line 182 "/home/jens/Source/shotwell/src/Page.vala"
+#line 181 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_connect_object (_tmp6_, "button-release-event", (GCallback) _page_on_button_released_internal_gtk_widget_button_release_event, self, 0);
-#line 183 "/home/jens/Source/shotwell/src/Page.vala"
+#line 182 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = event_source;
-#line 183 "/home/jens/Source/shotwell/src/Page.vala"
+#line 182 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_connect_object (_tmp7_, "motion-notify-event", (GCallback) _page_on_motion_internal_gtk_widget_motion_notify_event, self, 0);
-#line 184 "/home/jens/Source/shotwell/src/Page.vala"
+#line 183 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = event_source;
-#line 184 "/home/jens/Source/shotwell/src/Page.vala"
+#line 183 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_connect_object (_tmp8_, "leave-notify-event", (GCallback) _page_on_leave_notify_event_gtk_widget_leave_notify_event, self, 0);
-#line 185 "/home/jens/Source/shotwell/src/Page.vala"
+#line 184 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = event_source;
-#line 185 "/home/jens/Source/shotwell/src/Page.vala"
+#line 184 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_connect_object (_tmp9_, "scroll-event", (GCallback) _page_on_mousewheel_internal_gtk_widget_scroll_event, self, 0);
-#line 186 "/home/jens/Source/shotwell/src/Page.vala"
+#line 185 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = event_source;
-#line 186 "/home/jens/Source/shotwell/src/Page.vala"
+#line 185 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_connect_object (_tmp10_, "realize", (GCallback) _page_on_event_source_realize_gtk_widget_realize, self, 0);
-#line 2653 "Page.c"
+#line 2654 "Page.c"
}
@@ -2665,53 +2666,53 @@ static void page_detach_event_source (Page* self) {
guint _tmp8_ = 0U;
GtkWidget* _tmp9_ = NULL;
guint _tmp10_ = 0U;
-#line 189 "/home/jens/Source/shotwell/src/Page.vala"
+#line 188 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 190 "/home/jens/Source/shotwell/src/Page.vala"
+#line 189 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->event_source;
-#line 190 "/home/jens/Source/shotwell/src/Page.vala"
+#line 189 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp0_ == NULL) {
-#line 191 "/home/jens/Source/shotwell/src/Page.vala"
+#line 190 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 2677 "Page.c"
+#line 2678 "Page.c"
}
-#line 193 "/home/jens/Source/shotwell/src/Page.vala"
+#line 192 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = self->priv->event_source;
-#line 193 "/home/jens/Source/shotwell/src/Page.vala"
+#line 192 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_parse_name ("button-press-event", gtk_widget_get_type (), &_tmp2_, NULL, FALSE);
-#line 193 "/home/jens/Source/shotwell/src/Page.vala"
+#line 192 "/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) _page_on_button_pressed_internal_gtk_widget_button_press_event, self);
-#line 194 "/home/jens/Source/shotwell/src/Page.vala"
+#line 193 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = self->priv->event_source;
-#line 194 "/home/jens/Source/shotwell/src/Page.vala"
+#line 193 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_parse_name ("button-release-event", gtk_widget_get_type (), &_tmp4_, NULL, FALSE);
-#line 194 "/home/jens/Source/shotwell/src/Page.vala"
+#line 193 "/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) _page_on_button_released_internal_gtk_widget_button_release_event, self);
-#line 195 "/home/jens/Source/shotwell/src/Page.vala"
+#line 194 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = self->priv->event_source;
-#line 195 "/home/jens/Source/shotwell/src/Page.vala"
+#line 194 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_parse_name ("motion-notify-event", gtk_widget_get_type (), &_tmp6_, NULL, FALSE);
-#line 195 "/home/jens/Source/shotwell/src/Page.vala"
+#line 194 "/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) _page_on_motion_internal_gtk_widget_motion_notify_event, self);
-#line 196 "/home/jens/Source/shotwell/src/Page.vala"
+#line 195 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = self->priv->event_source;
-#line 196 "/home/jens/Source/shotwell/src/Page.vala"
+#line 195 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_parse_name ("leave-notify-event", gtk_widget_get_type (), &_tmp8_, NULL, FALSE);
-#line 196 "/home/jens/Source/shotwell/src/Page.vala"
+#line 195 "/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) _page_on_leave_notify_event_gtk_widget_leave_notify_event, self);
-#line 197 "/home/jens/Source/shotwell/src/Page.vala"
+#line 196 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = self->priv->event_source;
-#line 197 "/home/jens/Source/shotwell/src/Page.vala"
+#line 196 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_parse_name ("scroll-event", gtk_widget_get_type (), &_tmp10_, NULL, FALSE);
-#line 197 "/home/jens/Source/shotwell/src/Page.vala"
+#line 196 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_handlers_disconnect_matched (_tmp9_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp10_, 0, NULL, (GCallback) _page_on_mousewheel_internal_gtk_widget_scroll_event, self);
-#line 199 "/home/jens/Source/shotwell/src/Page.vala"
+#line 198 "/home/jens/Source/shotwell/src/Page.vala"
page_disable_drag_source (self);
-#line 201 "/home/jens/Source/shotwell/src/Page.vala"
+#line 200 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->event_source);
-#line 201 "/home/jens/Source/shotwell/src/Page.vala"
+#line 200 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->event_source = NULL;
-#line 2715 "Page.c"
+#line 2716 "Page.c"
}
@@ -2719,24 +2720,24 @@ GtkWidget* page_get_event_source (Page* self) {
GtkWidget* result = NULL;
GtkWidget* _tmp0_ = NULL;
GtkWidget* _tmp1_ = NULL;
-#line 204 "/home/jens/Source/shotwell/src/Page.vala"
+#line 203 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), NULL);
-#line 205 "/home/jens/Source/shotwell/src/Page.vala"
+#line 204 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->event_source;
-#line 205 "/home/jens/Source/shotwell/src/Page.vala"
+#line 204 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _g_object_ref0 (_tmp0_);
-#line 205 "/home/jens/Source/shotwell/src/Page.vala"
+#line 204 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp1_;
-#line 205 "/home/jens/Source/shotwell/src/Page.vala"
+#line 204 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 2733 "Page.c"
+#line 2734 "Page.c"
}
static gpointer _injection_group_ref0 (gpointer self) {
-#line 215 "/home/jens/Source/shotwell/src/Page.vala"
+#line 217 "/home/jens/Source/shotwell/src/Page.vala"
return self ? injection_group_ref (self) : NULL;
-#line 2740 "Page.c"
+#line 2741 "Page.c"
}
@@ -2746,341 +2747,358 @@ GMenuModel* page_get_menubar (Page* self) {
GtkBuilder* _tmp0_ = NULL;
GObject* _tmp1_ = NULL;
GMenu* _tmp2_ = NULL;
- gboolean _tmp3_ = FALSE;
-#line 209 "/home/jens/Source/shotwell/src/Page.vala"
+ GMenu* _tmp3_ = NULL;
+ gboolean _tmp5_ = FALSE;
+#line 208 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), NULL);
-#line 210 "/home/jens/Source/shotwell/src/Page.vala"
+#line 209 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->builder;
-#line 210 "/home/jens/Source/shotwell/src/Page.vala"
+#line 209 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = gtk_builder_get_object (_tmp0_, "MenuBar");
-#line 210 "/home/jens/Source/shotwell/src/Page.vala"
+#line 209 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, g_menu_get_type ()) ? ((GMenu*) _tmp1_) : NULL);
-#line 210 "/home/jens/Source/shotwell/src/Page.vala"
+#line 209 "/home/jens/Source/shotwell/src/Page.vala"
model = _tmp2_;
-#line 212 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp3_ = self->priv->menubar_injected;
-#line 212 "/home/jens/Source/shotwell/src/Page.vala"
- if (!_tmp3_) {
-#line 2765 "Page.c"
+#line 210 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp3_ = model;
+#line 210 "/home/jens/Source/shotwell/src/Page.vala"
+ if (_tmp3_ == NULL) {
+#line 2767 "Page.c"
+ GMenu* _tmp4_ = NULL;
+#line 211 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp4_ = g_menu_new ();
+#line 211 "/home/jens/Source/shotwell/src/Page.vala"
+ result = G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, g_menu_model_get_type (), GMenuModel);
+#line 211 "/home/jens/Source/shotwell/src/Page.vala"
+ _g_object_unref0 (model);
+#line 211 "/home/jens/Source/shotwell/src/Page.vala"
+ return result;
+#line 2777 "Page.c"
+ }
+#line 214 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp5_ = self->priv->menubar_injected;
+#line 214 "/home/jens/Source/shotwell/src/Page.vala"
+ if (!_tmp5_) {
+#line 2783 "Page.c"
InjectionGroup** injection_groups = NULL;
- gint _tmp4_ = 0;
- InjectionGroup** _tmp5_ = NULL;
+ gint _tmp6_ = 0;
+ InjectionGroup** _tmp7_ = NULL;
gint injection_groups_length1 = 0;
gint _injection_groups_size_ = 0;
- InjectionGroup** _tmp6_ = NULL;
- gint _tmp6__length1 = 0;
-#line 214 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp5_ = page_init_collect_injection_groups (self, &_tmp4_);
-#line 214 "/home/jens/Source/shotwell/src/Page.vala"
- injection_groups = _tmp5_;
-#line 214 "/home/jens/Source/shotwell/src/Page.vala"
- injection_groups_length1 = _tmp4_;
-#line 214 "/home/jens/Source/shotwell/src/Page.vala"
+ InjectionGroup** _tmp8_ = NULL;
+ gint _tmp8__length1 = 0;
+#line 216 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp7_ = page_init_collect_injection_groups (self, &_tmp6_);
+#line 216 "/home/jens/Source/shotwell/src/Page.vala"
+ injection_groups = _tmp7_;
+#line 216 "/home/jens/Source/shotwell/src/Page.vala"
+ injection_groups_length1 = _tmp6_;
+#line 216 "/home/jens/Source/shotwell/src/Page.vala"
_injection_groups_size_ = injection_groups_length1;
-#line 215 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp6_ = injection_groups;
-#line 215 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp6__length1 = injection_groups_length1;
-#line 2785 "Page.c"
+#line 217 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp8_ = injection_groups;
+#line 217 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp8__length1 = injection_groups_length1;
+#line 2803 "Page.c"
{
InjectionGroup** group_collection = NULL;
gint group_collection_length1 = 0;
gint _group_collection_size_ = 0;
gint group_it = 0;
-#line 215 "/home/jens/Source/shotwell/src/Page.vala"
- group_collection = _tmp6_;
-#line 215 "/home/jens/Source/shotwell/src/Page.vala"
- group_collection_length1 = _tmp6__length1;
-#line 215 "/home/jens/Source/shotwell/src/Page.vala"
- for (group_it = 0; group_it < _tmp6__length1; group_it = group_it + 1) {
-#line 2797 "Page.c"
- InjectionGroup* _tmp7_ = NULL;
+#line 217 "/home/jens/Source/shotwell/src/Page.vala"
+ group_collection = _tmp8_;
+#line 217 "/home/jens/Source/shotwell/src/Page.vala"
+ group_collection_length1 = _tmp8__length1;
+#line 217 "/home/jens/Source/shotwell/src/Page.vala"
+ for (group_it = 0; group_it < _tmp8__length1; group_it = group_it + 1) {
+#line 2815 "Page.c"
+ InjectionGroup* _tmp9_ = NULL;
InjectionGroup* group = NULL;
-#line 215 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp7_ = _injection_group_ref0 (group_collection[group_it]);
-#line 215 "/home/jens/Source/shotwell/src/Page.vala"
- group = _tmp7_;
-#line 2804 "Page.c"
+#line 217 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp9_ = _injection_group_ref0 (group_collection[group_it]);
+#line 217 "/home/jens/Source/shotwell/src/Page.vala"
+ group = _tmp9_;
+#line 2822 "Page.c"
{
gint items = 0;
- GMenu* _tmp8_ = NULL;
- gint _tmp9_ = 0;
-#line 216 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp8_ = model;
-#line 216 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp9_ = g_menu_model_get_n_items (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, g_menu_model_get_type (), GMenuModel));
-#line 216 "/home/jens/Source/shotwell/src/Page.vala"
- items = _tmp9_;
-#line 2815 "Page.c"
+ GMenu* _tmp10_ = NULL;
+ gint _tmp11_ = 0;
+#line 218 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp10_ = model;
+#line 218 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp11_ = g_menu_model_get_n_items (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, g_menu_model_get_type (), GMenuModel));
+#line 218 "/home/jens/Source/shotwell/src/Page.vala"
+ items = _tmp11_;
+#line 2833 "Page.c"
{
gint i = 0;
-#line 217 "/home/jens/Source/shotwell/src/Page.vala"
+#line 219 "/home/jens/Source/shotwell/src/Page.vala"
i = 0;
-#line 2820 "Page.c"
+#line 2838 "Page.c"
{
- gboolean _tmp10_ = FALSE;
-#line 217 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp10_ = TRUE;
-#line 217 "/home/jens/Source/shotwell/src/Page.vala"
+ gboolean _tmp12_ = FALSE;
+#line 219 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp12_ = TRUE;
+#line 219 "/home/jens/Source/shotwell/src/Page.vala"
while (TRUE) {
-#line 2827 "Page.c"
- gint _tmp12_ = 0;
- gint _tmp13_ = 0;
- GMenuModel* submenu = NULL;
- GMenu* _tmp14_ = NULL;
+#line 2845 "Page.c"
+ gint _tmp14_ = 0;
gint _tmp15_ = 0;
- GMenuModel* _tmp16_ = NULL;
+ GMenuModel* submenu = NULL;
+ GMenu* _tmp16_ = NULL;
+ gint _tmp17_ = 0;
+ GMenuModel* _tmp18_ = NULL;
GMenuModel* section = NULL;
- GMenuModel* _tmp17_ = NULL;
- InjectionGroup* _tmp18_ = NULL;
- gchar* _tmp19_ = NULL;
- gchar* _tmp20_ = NULL;
- GMenuModel* _tmp21_ = NULL;
- GMenuModel* _tmp22_ = NULL;
+ GMenuModel* _tmp19_ = NULL;
+ InjectionGroup* _tmp20_ = NULL;
+ gchar* _tmp21_ = NULL;
+ gchar* _tmp22_ = NULL;
GMenuModel* _tmp23_ = NULL;
-#line 217 "/home/jens/Source/shotwell/src/Page.vala"
- if (!_tmp10_) {
-#line 2844 "Page.c"
- gint _tmp11_ = 0;
-#line 217 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp11_ = i;
-#line 217 "/home/jens/Source/shotwell/src/Page.vala"
- i = _tmp11_ + 1;
-#line 2850 "Page.c"
+ GMenuModel* _tmp24_ = NULL;
+ GMenuModel* _tmp25_ = NULL;
+#line 219 "/home/jens/Source/shotwell/src/Page.vala"
+ if (!_tmp12_) {
+#line 2862 "Page.c"
+ gint _tmp13_ = 0;
+#line 219 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp13_ = i;
+#line 219 "/home/jens/Source/shotwell/src/Page.vala"
+ i = _tmp13_ + 1;
+#line 2868 "Page.c"
}
-#line 217 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp10_ = FALSE;
-#line 217 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp12_ = i;
-#line 217 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp13_ = items;
-#line 217 "/home/jens/Source/shotwell/src/Page.vala"
- if (!(_tmp12_ < _tmp13_)) {
-#line 217 "/home/jens/Source/shotwell/src/Page.vala"
+#line 219 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp12_ = FALSE;
+#line 219 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp14_ = i;
+#line 219 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp15_ = items;
+#line 219 "/home/jens/Source/shotwell/src/Page.vala"
+ if (!(_tmp14_ < _tmp15_)) {
+#line 219 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 2862 "Page.c"
+#line 2880 "Page.c"
}
-#line 218 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp14_ = model;
-#line 218 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp15_ = i;
-#line 218 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp16_ = g_menu_model_get_item_link (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, g_menu_model_get_type (), GMenuModel), _tmp15_, G_MENU_LINK_SUBMENU);
-#line 218 "/home/jens/Source/shotwell/src/Page.vala"
- submenu = _tmp16_;
-#line 220 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp17_ = submenu;
-#line 220 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp18_ = group;
#line 220 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp19_ = injection_group_get_path (_tmp18_);
+ _tmp16_ = model;
#line 220 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp20_ = _tmp19_;
+ _tmp17_ = i;
#line 220 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp21_ = page_find_extension_point (self, _tmp17_, _tmp20_);
+ _tmp18_ = g_menu_model_get_item_link (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, g_menu_model_get_type (), GMenuModel), _tmp17_, G_MENU_LINK_SUBMENU);
#line 220 "/home/jens/Source/shotwell/src/Page.vala"
+ submenu = _tmp18_;
+#line 222 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp19_ = submenu;
+#line 222 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp20_ = group;
+#line 222 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp21_ = injection_group_get_path (_tmp20_);
+#line 222 "/home/jens/Source/shotwell/src/Page.vala"
_tmp22_ = _tmp21_;
-#line 220 "/home/jens/Source/shotwell/src/Page.vala"
- _g_free0 (_tmp20_);
-#line 220 "/home/jens/Source/shotwell/src/Page.vala"
- section = _tmp22_;
-#line 223 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp23_ = section;
-#line 223 "/home/jens/Source/shotwell/src/Page.vala"
- if (_tmp23_ == NULL) {
-#line 224 "/home/jens/Source/shotwell/src/Page.vala"
+#line 222 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp23_ = page_find_extension_point (self, _tmp19_, _tmp22_);
+#line 222 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp24_ = _tmp23_;
+#line 222 "/home/jens/Source/shotwell/src/Page.vala"
+ _g_free0 (_tmp22_);
+#line 222 "/home/jens/Source/shotwell/src/Page.vala"
+ section = _tmp24_;
+#line 225 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp25_ = section;
+#line 225 "/home/jens/Source/shotwell/src/Page.vala"
+ if (_tmp25_ == NULL) {
+#line 226 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (section);
-#line 224 "/home/jens/Source/shotwell/src/Page.vala"
+#line 226 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (submenu);
-#line 224 "/home/jens/Source/shotwell/src/Page.vala"
+#line 226 "/home/jens/Source/shotwell/src/Page.vala"
continue;
-#line 2898 "Page.c"
+#line 2916 "Page.c"
}
{
GeeList* _element_list = NULL;
- InjectionGroup* _tmp24_ = NULL;
- GeeList* _tmp25_ = NULL;
+ InjectionGroup* _tmp26_ = NULL;
+ GeeList* _tmp27_ = NULL;
gint _element_size = 0;
- GeeList* _tmp26_ = NULL;
- gint _tmp27_ = 0;
- gint _tmp28_ = 0;
+ GeeList* _tmp28_ = NULL;
+ gint _tmp29_ = 0;
+ gint _tmp30_ = 0;
gint _element_index = 0;
-#line 227 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp24_ = group;
-#line 227 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp25_ = injection_group_get_elements (_tmp24_);
-#line 227 "/home/jens/Source/shotwell/src/Page.vala"
- _element_list = _tmp25_;
-#line 227 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp26_ = _element_list;
-#line 227 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp27_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp26_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 227 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp28_ = _tmp27_;
-#line 227 "/home/jens/Source/shotwell/src/Page.vala"
- _element_size = _tmp28_;
-#line 227 "/home/jens/Source/shotwell/src/Page.vala"
+#line 229 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp26_ = group;
+#line 229 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp27_ = injection_group_get_elements (_tmp26_);
+#line 229 "/home/jens/Source/shotwell/src/Page.vala"
+ _element_list = _tmp27_;
+#line 229 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp28_ = _element_list;
+#line 229 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp29_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp28_, GEE_TYPE_COLLECTION, GeeCollection));
+#line 229 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp30_ = _tmp29_;
+#line 229 "/home/jens/Source/shotwell/src/Page.vala"
+ _element_size = _tmp30_;
+#line 229 "/home/jens/Source/shotwell/src/Page.vala"
_element_index = -1;
-#line 227 "/home/jens/Source/shotwell/src/Page.vala"
+#line 229 "/home/jens/Source/shotwell/src/Page.vala"
while (TRUE) {
-#line 2927 "Page.c"
- gint _tmp29_ = 0;
- gint _tmp30_ = 0;
+#line 2945 "Page.c"
gint _tmp31_ = 0;
- InjectionGroupElement* element = NULL;
- GeeList* _tmp32_ = NULL;
+ gint _tmp32_ = 0;
gint _tmp33_ = 0;
- gpointer _tmp34_ = NULL;
+ InjectionGroupElement* element = NULL;
+ GeeList* _tmp34_ = NULL;
+ gint _tmp35_ = 0;
+ gpointer _tmp36_ = NULL;
GMenu* menu = NULL;
- GMenuModel* _tmp35_ = NULL;
- GMenu* _tmp36_ = NULL;
- InjectionGroupElement* _tmp37_ = NULL;
- InjectionGroupElementItemType _tmp38_ = 0;
-#line 227 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp29_ = _element_index;
-#line 227 "/home/jens/Source/shotwell/src/Page.vala"
- _element_index = _tmp29_ + 1;
-#line 227 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp30_ = _element_index;
-#line 227 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp31_ = _element_size;
-#line 227 "/home/jens/Source/shotwell/src/Page.vala"
- if (!(_tmp30_ < _tmp31_)) {
-#line 227 "/home/jens/Source/shotwell/src/Page.vala"
+ GMenuModel* _tmp37_ = NULL;
+ GMenu* _tmp38_ = NULL;
+ InjectionGroupElement* _tmp39_ = NULL;
+ InjectionGroupElementItemType _tmp40_ = 0;
+#line 229 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp31_ = _element_index;
+#line 229 "/home/jens/Source/shotwell/src/Page.vala"
+ _element_index = _tmp31_ + 1;
+#line 229 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp32_ = _element_index;
+#line 229 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp33_ = _element_size;
+#line 229 "/home/jens/Source/shotwell/src/Page.vala"
+ if (!(_tmp32_ < _tmp33_)) {
+#line 229 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 2952 "Page.c"
+#line 2970 "Page.c"
}
-#line 227 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp32_ = _element_list;
-#line 227 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp33_ = _element_index;
-#line 227 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp34_ = gee_list_get (_tmp32_, _tmp33_);
-#line 227 "/home/jens/Source/shotwell/src/Page.vala"
- element = (InjectionGroupElement*) _tmp34_;
-#line 228 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp35_ = section;
-#line 228 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp36_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp35_, g_menu_get_type ()) ? ((GMenu*) _tmp35_) : NULL);
-#line 228 "/home/jens/Source/shotwell/src/Page.vala"
- menu = _tmp36_;
#line 229 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp37_ = element;
+ _tmp34_ = _element_list;
#line 229 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp38_ = _tmp37_->kind;
+ _tmp35_ = _element_index;
#line 229 "/home/jens/Source/shotwell/src/Page.vala"
- switch (_tmp38_) {
+ _tmp36_ = gee_list_get (_tmp34_, _tmp35_);
#line 229 "/home/jens/Source/shotwell/src/Page.vala"
+ element = (InjectionGroupElement*) _tmp36_;
+#line 230 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp37_ = section;
+#line 230 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp38_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp37_, g_menu_get_type ()) ? ((GMenu*) _tmp37_) : NULL);
+#line 230 "/home/jens/Source/shotwell/src/Page.vala"
+ menu = _tmp38_;
+#line 231 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp39_ = element;
+#line 231 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp40_ = _tmp39_->kind;
+#line 231 "/home/jens/Source/shotwell/src/Page.vala"
+ switch (_tmp40_) {
+#line 231 "/home/jens/Source/shotwell/src/Page.vala"
case INJECTION_GROUP_ELEMENT_ITEM_TYPE_MENUITEM:
-#line 2976 "Page.c"
+#line 2994 "Page.c"
{
GMenuItem* item = NULL;
- InjectionGroupElement* _tmp39_ = NULL;
- const gchar* _tmp40_ = NULL;
InjectionGroupElement* _tmp41_ = NULL;
const gchar* _tmp42_ = NULL;
- gchar* _tmp43_ = NULL;
- gchar* _tmp44_ = NULL;
- GMenuItem* _tmp45_ = NULL;
- GMenuItem* _tmp46_ = NULL;
- InjectionGroupElement* _tmp47_ = NULL;
- const gchar* _tmp48_ = NULL;
- GMenu* _tmp52_ = NULL;
- GMenuItem* _tmp53_ = NULL;
-#line 231 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp39_ = element;
-#line 231 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp40_ = _tmp39_->name;
-#line 231 "/home/jens/Source/shotwell/src/Page.vala"
+ InjectionGroupElement* _tmp43_ = NULL;
+ const gchar* _tmp44_ = NULL;
+ gchar* _tmp45_ = NULL;
+ gchar* _tmp46_ = NULL;
+ GMenuItem* _tmp47_ = NULL;
+ GMenuItem* _tmp48_ = NULL;
+ InjectionGroupElement* _tmp49_ = NULL;
+ const gchar* _tmp50_ = NULL;
+ GMenu* _tmp54_ = NULL;
+ GMenuItem* _tmp55_ = NULL;
+#line 233 "/home/jens/Source/shotwell/src/Page.vala"
_tmp41_ = element;
-#line 231 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp42_ = _tmp41_->action;
-#line 231 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp43_ = g_strconcat ("win.", _tmp42_, NULL);
-#line 231 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp44_ = _tmp43_;
-#line 231 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp45_ = g_menu_item_new (_tmp40_, _tmp44_);
-#line 231 "/home/jens/Source/shotwell/src/Page.vala"
+#line 233 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp42_ = _tmp41_->name;
+#line 233 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp43_ = element;
+#line 233 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp44_ = _tmp43_->action;
+#line 233 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp45_ = g_strconcat ("win.", _tmp44_, NULL);
+#line 233 "/home/jens/Source/shotwell/src/Page.vala"
_tmp46_ = _tmp45_;
-#line 231 "/home/jens/Source/shotwell/src/Page.vala"
- _g_free0 (_tmp44_);
-#line 231 "/home/jens/Source/shotwell/src/Page.vala"
- item = _tmp46_;
#line 233 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp47_ = element;
+ _tmp47_ = g_menu_item_new (_tmp42_, _tmp46_);
+#line 233 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp48_ = _tmp47_;
#line 233 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp48_ = _tmp47_->accellerator;
+ _g_free0 (_tmp46_);
#line 233 "/home/jens/Source/shotwell/src/Page.vala"
- if (_tmp48_ != NULL) {
-#line 3017 "Page.c"
- GMenuItem* _tmp49_ = NULL;
- InjectionGroupElement* _tmp50_ = NULL;
- const gchar* _tmp51_ = NULL;
-#line 234 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp49_ = item;
-#line 234 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp50_ = element;
-#line 234 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp51_ = _tmp50_->accellerator;
-#line 234 "/home/jens/Source/shotwell/src/Page.vala"
- g_menu_item_set_attribute (_tmp49_, "accel", "s", _tmp51_, NULL);
-#line 3029 "Page.c"
+ item = _tmp48_;
+#line 235 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp49_ = element;
+#line 235 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp50_ = _tmp49_->accellerator;
+#line 235 "/home/jens/Source/shotwell/src/Page.vala"
+ if (_tmp50_ != NULL) {
+#line 3035 "Page.c"
+ GMenuItem* _tmp51_ = NULL;
+ InjectionGroupElement* _tmp52_ = NULL;
+ const gchar* _tmp53_ = NULL;
+#line 236 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp51_ = item;
+#line 236 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp52_ = element;
+#line 236 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp53_ = _tmp52_->accellerator;
+#line 236 "/home/jens/Source/shotwell/src/Page.vala"
+ g_menu_item_set_attribute (_tmp51_, "accel", "s", _tmp53_, NULL);
+#line 3047 "Page.c"
}
-#line 239 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp52_ = menu;
-#line 239 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp53_ = item;
-#line 239 "/home/jens/Source/shotwell/src/Page.vala"
- g_menu_append_item (_tmp52_, _tmp53_);
-#line 240 "/home/jens/Source/shotwell/src/Page.vala"
+#line 241 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp54_ = menu;
+#line 241 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp55_ = item;
+#line 241 "/home/jens/Source/shotwell/src/Page.vala"
+ g_menu_append_item (_tmp54_, _tmp55_);
+#line 242 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (item);
-#line 240 "/home/jens/Source/shotwell/src/Page.vala"
+#line 242 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 3041 "Page.c"
+#line 3059 "Page.c"
}
default:
{
-#line 242 "/home/jens/Source/shotwell/src/Page.vala"
+#line 244 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 3047 "Page.c"
+#line 3065 "Page.c"
}
}
-#line 227 "/home/jens/Source/shotwell/src/Page.vala"
+#line 229 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (menu);
-#line 227 "/home/jens/Source/shotwell/src/Page.vala"
+#line 229 "/home/jens/Source/shotwell/src/Page.vala"
_injection_group_element_unref0 (element);
-#line 3054 "Page.c"
+#line 3072 "Page.c"
}
-#line 227 "/home/jens/Source/shotwell/src/Page.vala"
+#line 229 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_element_list);
-#line 3058 "Page.c"
+#line 3076 "Page.c"
}
-#line 217 "/home/jens/Source/shotwell/src/Page.vala"
+#line 219 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (section);
-#line 217 "/home/jens/Source/shotwell/src/Page.vala"
+#line 219 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (submenu);
-#line 3064 "Page.c"
+#line 3082 "Page.c"
}
}
}
-#line 215 "/home/jens/Source/shotwell/src/Page.vala"
+#line 217 "/home/jens/Source/shotwell/src/Page.vala"
_injection_group_unref0 (group);
-#line 3070 "Page.c"
+#line 3088 "Page.c"
}
}
}
-#line 248 "/home/jens/Source/shotwell/src/Page.vala"
+#line 250 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->menubar_injected = TRUE;
-#line 212 "/home/jens/Source/shotwell/src/Page.vala"
+#line 214 "/home/jens/Source/shotwell/src/Page.vala"
injection_groups = (_vala_array_free (injection_groups, injection_groups_length1, (GDestroyNotify) injection_group_unref), NULL);
-#line 3078 "Page.c"
+#line 3096 "Page.c"
}
-#line 251 "/home/jens/Source/shotwell/src/Page.vala"
+#line 253 "/home/jens/Source/shotwell/src/Page.vala"
result = G_TYPE_CHECK_INSTANCE_CAST (model, g_menu_model_get_type (), GMenuModel);
-#line 251 "/home/jens/Source/shotwell/src/Page.vala"
+#line 253 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 3084 "Page.c"
+#line 3102 "Page.c"
}
@@ -3089,154 +3107,154 @@ static GtkToolbar* page_real_get_toolbar (Page* self) {
GtkToolbar* _tmp0_ = NULL;
GtkToolbar* _tmp12_ = NULL;
GtkToolbar* _tmp13_ = NULL;
-#line 255 "/home/jens/Source/shotwell/src/Page.vala"
+#line 257 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->toolbar;
-#line 255 "/home/jens/Source/shotwell/src/Page.vala"
+#line 257 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp0_ == NULL) {
-#line 3097 "Page.c"
+#line 3115 "Page.c"
GtkToolbar* _tmp1_ = NULL;
const gchar* _tmp2_ = NULL;
GtkToolbar* _tmp8_ = NULL;
GtkToolbar* _tmp9_ = NULL;
GtkStyleContext* _tmp10_ = NULL;
GtkToolbar* _tmp11_ = NULL;
-#line 256 "/home/jens/Source/shotwell/src/Page.vala"
+#line 258 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->priv->toolbar_path;
-#line 256 "/home/jens/Source/shotwell/src/Page.vala"
+#line 258 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp2_ == NULL) {
-#line 3108 "Page.c"
+#line 3126 "Page.c"
GtkToolbar* _tmp3_ = NULL;
-#line 256 "/home/jens/Source/shotwell/src/Page.vala"
+#line 258 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = (GtkToolbar*) gtk_toolbar_new ();
-#line 256 "/home/jens/Source/shotwell/src/Page.vala"
+#line 258 "/home/jens/Source/shotwell/src/Page.vala"
g_object_ref_sink (_tmp3_);
-#line 256 "/home/jens/Source/shotwell/src/Page.vala"
+#line 258 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp1_);
-#line 256 "/home/jens/Source/shotwell/src/Page.vala"
+#line 258 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _tmp3_;
-#line 3118 "Page.c"
+#line 3136 "Page.c"
} else {
GtkBuilder* _tmp4_ = NULL;
const gchar* _tmp5_ = NULL;
GObject* _tmp6_ = NULL;
GtkToolbar* _tmp7_ = NULL;
-#line 257 "/home/jens/Source/shotwell/src/Page.vala"
+#line 259 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = self->builder;
-#line 257 "/home/jens/Source/shotwell/src/Page.vala"
+#line 259 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = self->priv->toolbar_path;
-#line 257 "/home/jens/Source/shotwell/src/Page.vala"
+#line 259 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = gtk_builder_get_object (_tmp4_, _tmp5_);
-#line 257 "/home/jens/Source/shotwell/src/Page.vala"
+#line 259 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp6_, gtk_toolbar_get_type ()) ? ((GtkToolbar*) _tmp6_) : NULL);
-#line 257 "/home/jens/Source/shotwell/src/Page.vala"
+#line 259 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp1_);
-#line 257 "/home/jens/Source/shotwell/src/Page.vala"
+#line 259 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _tmp7_;
-#line 3136 "Page.c"
+#line 3154 "Page.c"
}
-#line 256 "/home/jens/Source/shotwell/src/Page.vala"
+#line 258 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = _g_object_ref0 (_tmp1_);
-#line 256 "/home/jens/Source/shotwell/src/Page.vala"
+#line 258 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->toolbar);
-#line 256 "/home/jens/Source/shotwell/src/Page.vala"
+#line 258 "/home/jens/Source/shotwell/src/Page.vala"
self->toolbar = _tmp8_;
-#line 259 "/home/jens/Source/shotwell/src/Page.vala"
+#line 261 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = self->toolbar;
-#line 259 "/home/jens/Source/shotwell/src/Page.vala"
+#line 261 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = gtk_widget_get_style_context (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_widget_get_type (), GtkWidget));
-#line 259 "/home/jens/Source/shotwell/src/Page.vala"
+#line 261 "/home/jens/Source/shotwell/src/Page.vala"
gtk_style_context_add_class (_tmp10_, "bottom-toolbar");
-#line 260 "/home/jens/Source/shotwell/src/Page.vala"
+#line 262 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = self->toolbar;
-#line 260 "/home/jens/Source/shotwell/src/Page.vala"
+#line 262 "/home/jens/Source/shotwell/src/Page.vala"
gtk_toolbar_set_icon_size (_tmp11_, GTK_ICON_SIZE_SMALL_TOOLBAR);
-#line 255 "/home/jens/Source/shotwell/src/Page.vala"
+#line 257 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp1_);
-#line 3156 "Page.c"
+#line 3174 "Page.c"
}
-#line 262 "/home/jens/Source/shotwell/src/Page.vala"
+#line 264 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = self->toolbar;
-#line 262 "/home/jens/Source/shotwell/src/Page.vala"
+#line 264 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = _g_object_ref0 (_tmp12_);
-#line 262 "/home/jens/Source/shotwell/src/Page.vala"
+#line 264 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp13_;
-#line 262 "/home/jens/Source/shotwell/src/Page.vala"
+#line 264 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 3166 "Page.c"
+#line 3184 "Page.c"
}
GtkToolbar* page_get_toolbar (Page* self) {
-#line 254 "/home/jens/Source/shotwell/src/Page.vala"
+#line 256 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), NULL);
-#line 254 "/home/jens/Source/shotwell/src/Page.vala"
+#line 256 "/home/jens/Source/shotwell/src/Page.vala"
return PAGE_GET_CLASS (self)->get_toolbar (self);
-#line 3175 "Page.c"
+#line 3193 "Page.c"
}
static GtkMenu* page_real_get_page_context_menu (Page* self) {
GtkMenu* result = NULL;
-#line 266 "/home/jens/Source/shotwell/src/Page.vala"
+#line 268 "/home/jens/Source/shotwell/src/Page.vala"
result = NULL;
-#line 266 "/home/jens/Source/shotwell/src/Page.vala"
+#line 268 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 3185 "Page.c"
+#line 3203 "Page.c"
}
GtkMenu* page_get_page_context_menu (Page* self) {
-#line 265 "/home/jens/Source/shotwell/src/Page.vala"
+#line 267 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), NULL);
-#line 265 "/home/jens/Source/shotwell/src/Page.vala"
+#line 267 "/home/jens/Source/shotwell/src/Page.vala"
return PAGE_GET_CLASS (self)->get_page_context_menu (self);
-#line 3194 "Page.c"
+#line 3212 "Page.c"
}
static void page_real_switching_from (Page* self) {
const gchar* _tmp0_ = NULL;
-#line 270 "/home/jens/Source/shotwell/src/Page.vala"
+#line 272 "/home/jens/Source/shotwell/src/Page.vala"
self->in_view = FALSE;
-#line 271 "/home/jens/Source/shotwell/src/Page.vala"
+#line 273 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->toolbar_path;
-#line 271 "/home/jens/Source/shotwell/src/Page.vala"
+#line 273 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp0_ != NULL) {
-#line 272 "/home/jens/Source/shotwell/src/Page.vala"
+#line 274 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->toolbar);
-#line 272 "/home/jens/Source/shotwell/src/Page.vala"
+#line 274 "/home/jens/Source/shotwell/src/Page.vala"
self->toolbar = NULL;
-#line 3210 "Page.c"
+#line 3228 "Page.c"
}
}
void page_switching_from (Page* self) {
-#line 269 "/home/jens/Source/shotwell/src/Page.vala"
+#line 271 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 269 "/home/jens/Source/shotwell/src/Page.vala"
+#line 271 "/home/jens/Source/shotwell/src/Page.vala"
PAGE_GET_CLASS (self)->switching_from (self);
-#line 3220 "Page.c"
+#line 3238 "Page.c"
}
static void page_real_switched_to (Page* self) {
-#line 276 "/home/jens/Source/shotwell/src/Page.vala"
+#line 278 "/home/jens/Source/shotwell/src/Page.vala"
self->in_view = TRUE;
-#line 277 "/home/jens/Source/shotwell/src/Page.vala"
+#line 279 "/home/jens/Source/shotwell/src/Page.vala"
page_add_ui (self);
-#line 278 "/home/jens/Source/shotwell/src/Page.vala"
+#line 280 "/home/jens/Source/shotwell/src/Page.vala"
page_update_modifiers (self);
-#line 3231 "Page.c"
+#line 3249 "Page.c"
}
void page_switched_to (Page* self) {
-#line 275 "/home/jens/Source/shotwell/src/Page.vala"
+#line 277 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 275 "/home/jens/Source/shotwell/src/Page.vala"
+#line 277 "/home/jens/Source/shotwell/src/Page.vala"
PAGE_GET_CLASS (self)->switched_to (self);
-#line 3240 "Page.c"
+#line 3258 "Page.c"
}
@@ -3245,58 +3263,58 @@ static void page_real_ready (Page* self) {
void page_ready (Page* self) {
-#line 281 "/home/jens/Source/shotwell/src/Page.vala"
+#line 283 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 281 "/home/jens/Source/shotwell/src/Page.vala"
+#line 283 "/home/jens/Source/shotwell/src/Page.vala"
PAGE_GET_CLASS (self)->ready (self);
-#line 3253 "Page.c"
+#line 3271 "Page.c"
}
gboolean page_is_in_view (Page* self) {
gboolean result = FALSE;
gboolean _tmp0_ = FALSE;
-#line 284 "/home/jens/Source/shotwell/src/Page.vala"
+#line 286 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 285 "/home/jens/Source/shotwell/src/Page.vala"
+#line 287 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->in_view;
-#line 285 "/home/jens/Source/shotwell/src/Page.vala"
+#line 287 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp0_;
-#line 285 "/home/jens/Source/shotwell/src/Page.vala"
+#line 287 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 3268 "Page.c"
+#line 3286 "Page.c"
}
static void page_real_switching_to_fullscreen (Page* self, FullscreenWindow* fsw) {
-#line 288 "/home/jens/Source/shotwell/src/Page.vala"
+#line 290 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_FULLSCREEN_WINDOW (fsw));
-#line 3275 "Page.c"
+#line 3293 "Page.c"
}
void page_switching_to_fullscreen (Page* self, FullscreenWindow* fsw) {
-#line 288 "/home/jens/Source/shotwell/src/Page.vala"
+#line 290 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 288 "/home/jens/Source/shotwell/src/Page.vala"
+#line 290 "/home/jens/Source/shotwell/src/Page.vala"
PAGE_GET_CLASS (self)->switching_to_fullscreen (self, fsw);
-#line 3284 "Page.c"
+#line 3302 "Page.c"
}
static void page_real_returning_from_fullscreen (Page* self, FullscreenWindow* fsw) {
-#line 291 "/home/jens/Source/shotwell/src/Page.vala"
+#line 293 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_FULLSCREEN_WINDOW (fsw));
-#line 3291 "Page.c"
+#line 3309 "Page.c"
}
void page_returning_from_fullscreen (Page* self, FullscreenWindow* fsw) {
-#line 291 "/home/jens/Source/shotwell/src/Page.vala"
+#line 293 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 291 "/home/jens/Source/shotwell/src/Page.vala"
+#line 293 "/home/jens/Source/shotwell/src/Page.vala"
PAGE_GET_CLASS (self)->returning_from_fullscreen (self, fsw);
-#line 3300 "Page.c"
+#line 3318 "Page.c"
}
@@ -3305,46 +3323,46 @@ GAction* page_get_action (Page* self, const gchar* name) {
AppWindow* aw = NULL;
AppWindow* _tmp0_ = NULL;
AppWindow* _tmp1_ = NULL;
-#line 294 "/home/jens/Source/shotwell/src/Page.vala"
+#line 296 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), NULL);
-#line 294 "/home/jens/Source/shotwell/src/Page.vala"
+#line 296 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (name != NULL, NULL);
-#line 295 "/home/jens/Source/shotwell/src/Page.vala"
+#line 297 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = app_window_get_instance ();
-#line 295 "/home/jens/Source/shotwell/src/Page.vala"
- aw = _tmp0_;
#line 297 "/home/jens/Source/shotwell/src/Page.vala"
+ aw = _tmp0_;
+#line 299 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = aw;
-#line 297 "/home/jens/Source/shotwell/src/Page.vala"
+#line 299 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp1_ != NULL) {
-#line 3321 "Page.c"
+#line 3339 "Page.c"
AppWindow* _tmp2_ = NULL;
const gchar* _tmp3_ = NULL;
GAction* _tmp4_ = NULL;
GAction* _tmp5_ = NULL;
-#line 298 "/home/jens/Source/shotwell/src/Page.vala"
+#line 300 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = aw;
-#line 298 "/home/jens/Source/shotwell/src/Page.vala"
+#line 300 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = name;
-#line 298 "/home/jens/Source/shotwell/src/Page.vala"
+#line 300 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = g_action_map_lookup_action (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, g_action_map_get_type (), GActionMap), _tmp3_);
-#line 298 "/home/jens/Source/shotwell/src/Page.vala"
+#line 300 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = _g_object_ref0 (_tmp4_);
-#line 298 "/home/jens/Source/shotwell/src/Page.vala"
+#line 300 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp5_;
-#line 298 "/home/jens/Source/shotwell/src/Page.vala"
+#line 300 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (aw);
-#line 298 "/home/jens/Source/shotwell/src/Page.vala"
+#line 300 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 3340 "Page.c"
+#line 3358 "Page.c"
}
-#line 301 "/home/jens/Source/shotwell/src/Page.vala"
+#line 303 "/home/jens/Source/shotwell/src/Page.vala"
result = NULL;
-#line 301 "/home/jens/Source/shotwell/src/Page.vala"
+#line 303 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (aw);
-#line 301 "/home/jens/Source/shotwell/src/Page.vala"
+#line 303 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 3348 "Page.c"
+#line 3366 "Page.c"
}
@@ -3354,92 +3372,92 @@ void page_set_action_sensitive (Page* self, const gchar* name, gboolean sensitiv
GAction* _tmp1_ = NULL;
GSimpleAction* _tmp2_ = NULL;
GSimpleAction* _tmp3_ = NULL;
-#line 304 "/home/jens/Source/shotwell/src/Page.vala"
+#line 306 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 304 "/home/jens/Source/shotwell/src/Page.vala"
+#line 306 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (name != NULL);
-#line 305 "/home/jens/Source/shotwell/src/Page.vala"
+#line 307 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = name;
-#line 305 "/home/jens/Source/shotwell/src/Page.vala"
+#line 307 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = page_get_action (self, _tmp0_);
-#line 305 "/home/jens/Source/shotwell/src/Page.vala"
+#line 307 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, g_simple_action_get_type ()) ? ((GSimpleAction*) _tmp1_) : NULL;
-#line 305 "/home/jens/Source/shotwell/src/Page.vala"
+#line 307 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp2_ == NULL) {
-#line 305 "/home/jens/Source/shotwell/src/Page.vala"
+#line 307 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp1_);
-#line 3372 "Page.c"
+#line 3390 "Page.c"
}
-#line 305 "/home/jens/Source/shotwell/src/Page.vala"
+#line 307 "/home/jens/Source/shotwell/src/Page.vala"
action = _tmp2_;
-#line 306 "/home/jens/Source/shotwell/src/Page.vala"
+#line 308 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = action;
-#line 306 "/home/jens/Source/shotwell/src/Page.vala"
+#line 308 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp3_ != NULL) {
-#line 3380 "Page.c"
+#line 3398 "Page.c"
GSimpleAction* _tmp4_ = NULL;
gboolean _tmp5_ = FALSE;
-#line 307 "/home/jens/Source/shotwell/src/Page.vala"
+#line 309 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = action;
-#line 307 "/home/jens/Source/shotwell/src/Page.vala"
+#line 309 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = sensitive;
-#line 307 "/home/jens/Source/shotwell/src/Page.vala"
+#line 309 "/home/jens/Source/shotwell/src/Page.vala"
g_simple_action_set_enabled (_tmp4_, _tmp5_);
-#line 3389 "Page.c"
+#line 3407 "Page.c"
}
-#line 304 "/home/jens/Source/shotwell/src/Page.vala"
+#line 306 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (action);
-#line 3393 "Page.c"
+#line 3411 "Page.c"
}
void page_set_action_important (Page* self, const gchar* name, gboolean important) {
const gchar* _tmp0_ = NULL;
gboolean _tmp1_ = FALSE;
-#line 310 "/home/jens/Source/shotwell/src/Page.vala"
+#line 312 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 310 "/home/jens/Source/shotwell/src/Page.vala"
+#line 312 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (name != NULL);
-#line 311 "/home/jens/Source/shotwell/src/Page.vala"
+#line 313 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = name;
-#line 311 "/home/jens/Source/shotwell/src/Page.vala"
+#line 313 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = important;
-#line 311 "/home/jens/Source/shotwell/src/Page.vala"
+#line 313 "/home/jens/Source/shotwell/src/Page.vala"
page_set_action_sensitive (self, _tmp0_, _tmp1_);
-#line 3410 "Page.c"
+#line 3428 "Page.c"
}
void page_set_action_visible (Page* self, const gchar* name, gboolean visible) {
const gchar* _tmp0_ = NULL;
gboolean _tmp1_ = FALSE;
-#line 314 "/home/jens/Source/shotwell/src/Page.vala"
+#line 316 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 314 "/home/jens/Source/shotwell/src/Page.vala"
+#line 316 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (name != NULL);
-#line 315 "/home/jens/Source/shotwell/src/Page.vala"
+#line 317 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = name;
-#line 315 "/home/jens/Source/shotwell/src/Page.vala"
+#line 317 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = visible;
-#line 315 "/home/jens/Source/shotwell/src/Page.vala"
+#line 317 "/home/jens/Source/shotwell/src/Page.vala"
page_set_action_sensitive (self, _tmp0_, _tmp1_);
-#line 3427 "Page.c"
+#line 3445 "Page.c"
}
void page_set_action_short_label (Page* self, const gchar* name, const gchar* short_label) {
const gchar* _tmp0_ = NULL;
-#line 318 "/home/jens/Source/shotwell/src/Page.vala"
+#line 320 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 318 "/home/jens/Source/shotwell/src/Page.vala"
+#line 320 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (name != NULL);
-#line 318 "/home/jens/Source/shotwell/src/Page.vala"
+#line 320 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (short_label != NULL);
-#line 319 "/home/jens/Source/shotwell/src/Page.vala"
+#line 321 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = name;
-#line 319 "/home/jens/Source/shotwell/src/Page.vala"
- g_debug ("Page.vala:319: => Set action short_label called for %s", _tmp0_);
-#line 3443 "Page.c"
+#line 321 "/home/jens/Source/shotwell/src/Page.vala"
+ g_debug ("Page.vala:321: => Set action short_label called for %s", _tmp0_);
+#line 3461 "Page.c"
}
@@ -3452,58 +3470,58 @@ void page_set_action_details (Page* self, const gchar* name, const gchar* label,
const gchar* _tmp4_ = NULL;
GSimpleAction* _tmp7_ = NULL;
gboolean _tmp8_ = FALSE;
-#line 322 "/home/jens/Source/shotwell/src/Page.vala"
+#line 324 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 322 "/home/jens/Source/shotwell/src/Page.vala"
+#line 324 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (name != NULL);
-#line 323 "/home/jens/Source/shotwell/src/Page.vala"
+#line 325 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = name;
-#line 323 "/home/jens/Source/shotwell/src/Page.vala"
+#line 325 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = page_get_action (self, _tmp0_);
-#line 323 "/home/jens/Source/shotwell/src/Page.vala"
+#line 325 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, g_simple_action_get_type ()) ? ((GSimpleAction*) _tmp1_) : NULL;
-#line 323 "/home/jens/Source/shotwell/src/Page.vala"
+#line 325 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp2_ == NULL) {
-#line 323 "/home/jens/Source/shotwell/src/Page.vala"
+#line 325 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp1_);
-#line 3470 "Page.c"
+#line 3488 "Page.c"
}
-#line 323 "/home/jens/Source/shotwell/src/Page.vala"
- action = _tmp2_;
#line 325 "/home/jens/Source/shotwell/src/Page.vala"
+ action = _tmp2_;
+#line 327 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = action;
-#line 325 "/home/jens/Source/shotwell/src/Page.vala"
+#line 327 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp3_ == NULL) {
-#line 326 "/home/jens/Source/shotwell/src/Page.vala"
+#line 328 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (action);
-#line 326 "/home/jens/Source/shotwell/src/Page.vala"
+#line 328 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 3482 "Page.c"
+#line 3500 "Page.c"
}
-#line 328 "/home/jens/Source/shotwell/src/Page.vala"
+#line 330 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = label;
-#line 328 "/home/jens/Source/shotwell/src/Page.vala"
+#line 330 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp4_ != NULL) {
-#line 3488 "Page.c"
+#line 3506 "Page.c"
const gchar* _tmp5_ = NULL;
const gchar* _tmp6_ = NULL;
-#line 329 "/home/jens/Source/shotwell/src/Page.vala"
+#line 331 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = name;
-#line 329 "/home/jens/Source/shotwell/src/Page.vala"
+#line 331 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = label;
-#line 329 "/home/jens/Source/shotwell/src/Page.vala"
+#line 331 "/home/jens/Source/shotwell/src/Page.vala"
page_update_menu_item_label (self, _tmp5_, _tmp6_);
-#line 3497 "Page.c"
+#line 3515 "Page.c"
}
-#line 331 "/home/jens/Source/shotwell/src/Page.vala"
+#line 333 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = action;
-#line 331 "/home/jens/Source/shotwell/src/Page.vala"
+#line 333 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = sensitive;
-#line 331 "/home/jens/Source/shotwell/src/Page.vala"
+#line 333 "/home/jens/Source/shotwell/src/Page.vala"
g_simple_action_set_enabled (_tmp7_, _tmp8_);
-#line 322 "/home/jens/Source/shotwell/src/Page.vala"
+#line 324 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (action);
-#line 3507 "Page.c"
+#line 3525 "Page.c"
}
@@ -3512,31 +3530,31 @@ void page_activate_action (Page* self, const gchar* name) {
const gchar* _tmp0_ = NULL;
GAction* _tmp1_ = NULL;
GAction* _tmp2_ = NULL;
-#line 334 "/home/jens/Source/shotwell/src/Page.vala"
+#line 336 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 334 "/home/jens/Source/shotwell/src/Page.vala"
+#line 336 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (name != NULL);
-#line 335 "/home/jens/Source/shotwell/src/Page.vala"
+#line 337 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = name;
-#line 335 "/home/jens/Source/shotwell/src/Page.vala"
+#line 337 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = page_get_action (self, _tmp0_);
-#line 335 "/home/jens/Source/shotwell/src/Page.vala"
- action = _tmp1_;
#line 337 "/home/jens/Source/shotwell/src/Page.vala"
+ action = _tmp1_;
+#line 339 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = action;
-#line 337 "/home/jens/Source/shotwell/src/Page.vala"
+#line 339 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp2_ != NULL) {
-#line 3530 "Page.c"
+#line 3548 "Page.c"
GAction* _tmp3_ = NULL;
-#line 338 "/home/jens/Source/shotwell/src/Page.vala"
+#line 340 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = action;
-#line 338 "/home/jens/Source/shotwell/src/Page.vala"
+#line 340 "/home/jens/Source/shotwell/src/Page.vala"
g_action_activate (_tmp3_, NULL);
-#line 3536 "Page.c"
+#line 3554 "Page.c"
}
-#line 334 "/home/jens/Source/shotwell/src/Page.vala"
+#line 336 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (action);
-#line 3540 "Page.c"
+#line 3558 "Page.c"
}
@@ -3547,53 +3565,53 @@ GAction* page_get_common_action (Page* self, const gchar* name, gboolean log_war
GAction* _tmp1_ = NULL;
GAction* _tmp2_ = NULL;
gboolean _tmp3_ = FALSE;
-#line 341 "/home/jens/Source/shotwell/src/Page.vala"
+#line 343 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), NULL);
-#line 341 "/home/jens/Source/shotwell/src/Page.vala"
+#line 343 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (name != NULL, NULL);
-#line 342 "/home/jens/Source/shotwell/src/Page.vala"
+#line 344 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = name;
-#line 342 "/home/jens/Source/shotwell/src/Page.vala"
+#line 344 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = page_get_action (self, _tmp0_);
-#line 342 "/home/jens/Source/shotwell/src/Page.vala"
- action = _tmp1_;
#line 344 "/home/jens/Source/shotwell/src/Page.vala"
+ action = _tmp1_;
+#line 346 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = action;
-#line 344 "/home/jens/Source/shotwell/src/Page.vala"
+#line 346 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp2_ != NULL) {
-#line 345 "/home/jens/Source/shotwell/src/Page.vala"
+#line 347 "/home/jens/Source/shotwell/src/Page.vala"
result = action;
-#line 345 "/home/jens/Source/shotwell/src/Page.vala"
+#line 347 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 3569 "Page.c"
+#line 3587 "Page.c"
}
-#line 347 "/home/jens/Source/shotwell/src/Page.vala"
+#line 349 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = log_warning;
-#line 347 "/home/jens/Source/shotwell/src/Page.vala"
+#line 349 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp3_) {
-#line 3575 "Page.c"
+#line 3593 "Page.c"
gchar* _tmp4_ = NULL;
gchar* _tmp5_ = NULL;
const gchar* _tmp6_ = NULL;
-#line 348 "/home/jens/Source/shotwell/src/Page.vala"
+#line 350 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = page_get_page_name (self);
-#line 348 "/home/jens/Source/shotwell/src/Page.vala"
+#line 350 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = _tmp4_;
-#line 348 "/home/jens/Source/shotwell/src/Page.vala"
+#line 350 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = name;
-#line 348 "/home/jens/Source/shotwell/src/Page.vala"
- g_warning ("Page.vala:348: Page %s: Unable to locate common action %s", _tmp5_, _tmp6_);
-#line 348 "/home/jens/Source/shotwell/src/Page.vala"
+#line 350 "/home/jens/Source/shotwell/src/Page.vala"
+ g_warning ("Page.vala:350: Page %s: Unable to locate common action %s", _tmp5_, _tmp6_);
+#line 350 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (_tmp5_);
-#line 3589 "Page.c"
+#line 3607 "Page.c"
}
-#line 350 "/home/jens/Source/shotwell/src/Page.vala"
+#line 352 "/home/jens/Source/shotwell/src/Page.vala"
result = NULL;
-#line 350 "/home/jens/Source/shotwell/src/Page.vala"
+#line 352 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (action);
-#line 350 "/home/jens/Source/shotwell/src/Page.vala"
+#line 352 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 3597 "Page.c"
+#line 3615 "Page.c"
}
@@ -3603,72 +3621,72 @@ void page_set_common_action_sensitive (Page* self, const gchar* name, gboolean s
GAction* _tmp1_ = NULL;
GSimpleAction* _tmp2_ = NULL;
GSimpleAction* _tmp3_ = NULL;
-#line 353 "/home/jens/Source/shotwell/src/Page.vala"
+#line 355 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 353 "/home/jens/Source/shotwell/src/Page.vala"
+#line 355 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (name != NULL);
-#line 354 "/home/jens/Source/shotwell/src/Page.vala"
+#line 356 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = name;
-#line 354 "/home/jens/Source/shotwell/src/Page.vala"
+#line 356 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = page_get_common_action (self, _tmp0_, TRUE);
-#line 354 "/home/jens/Source/shotwell/src/Page.vala"
+#line 356 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, g_simple_action_get_type ()) ? ((GSimpleAction*) _tmp1_) : NULL;
-#line 354 "/home/jens/Source/shotwell/src/Page.vala"
+#line 356 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp2_ == NULL) {
-#line 354 "/home/jens/Source/shotwell/src/Page.vala"
+#line 356 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp1_);
-#line 3621 "Page.c"
+#line 3639 "Page.c"
}
-#line 354 "/home/jens/Source/shotwell/src/Page.vala"
+#line 356 "/home/jens/Source/shotwell/src/Page.vala"
action = _tmp2_;
-#line 355 "/home/jens/Source/shotwell/src/Page.vala"
+#line 357 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = action;
-#line 355 "/home/jens/Source/shotwell/src/Page.vala"
+#line 357 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp3_ != NULL) {
-#line 3629 "Page.c"
+#line 3647 "Page.c"
GSimpleAction* _tmp4_ = NULL;
gboolean _tmp5_ = FALSE;
-#line 356 "/home/jens/Source/shotwell/src/Page.vala"
+#line 358 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = action;
-#line 356 "/home/jens/Source/shotwell/src/Page.vala"
+#line 358 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = sensitive;
-#line 356 "/home/jens/Source/shotwell/src/Page.vala"
+#line 358 "/home/jens/Source/shotwell/src/Page.vala"
g_simple_action_set_enabled (_tmp4_, _tmp5_);
-#line 3638 "Page.c"
+#line 3656 "Page.c"
}
-#line 353 "/home/jens/Source/shotwell/src/Page.vala"
+#line 355 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (action);
-#line 3642 "Page.c"
+#line 3660 "Page.c"
}
void page_set_common_action_label (Page* self, const gchar* name, const gchar* label) {
const gchar* _tmp0_ = NULL;
-#line 359 "/home/jens/Source/shotwell/src/Page.vala"
+#line 361 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 359 "/home/jens/Source/shotwell/src/Page.vala"
+#line 361 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (name != NULL);
-#line 359 "/home/jens/Source/shotwell/src/Page.vala"
+#line 361 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (label != NULL);
-#line 360 "/home/jens/Source/shotwell/src/Page.vala"
+#line 362 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = name;
-#line 360 "/home/jens/Source/shotwell/src/Page.vala"
- g_debug ("Page.vala:360: Trying to set common action label for %s", _tmp0_);
-#line 3658 "Page.c"
+#line 362 "/home/jens/Source/shotwell/src/Page.vala"
+ g_debug ("Page.vala:362: Trying to set common action label for %s", _tmp0_);
+#line 3676 "Page.c"
}
void page_set_common_action_important (Page* self, const gchar* name, gboolean important) {
const gchar* _tmp0_ = NULL;
-#line 363 "/home/jens/Source/shotwell/src/Page.vala"
+#line 365 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 363 "/home/jens/Source/shotwell/src/Page.vala"
+#line 365 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (name != NULL);
-#line 364 "/home/jens/Source/shotwell/src/Page.vala"
+#line 366 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = name;
-#line 364 "/home/jens/Source/shotwell/src/Page.vala"
- g_debug ("Page.vala:364: Setting action to important: %s", _tmp0_);
-#line 3672 "Page.c"
+#line 366 "/home/jens/Source/shotwell/src/Page.vala"
+ g_debug ("Page.vala:366: Setting action to important: %s", _tmp0_);
+#line 3690 "Page.c"
}
@@ -3678,106 +3696,106 @@ void page_activate_common_action (Page* self, const gchar* name) {
GAction* _tmp1_ = NULL;
GSimpleAction* _tmp2_ = NULL;
GSimpleAction* _tmp3_ = NULL;
-#line 367 "/home/jens/Source/shotwell/src/Page.vala"
+#line 369 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 367 "/home/jens/Source/shotwell/src/Page.vala"
+#line 369 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (name != NULL);
-#line 368 "/home/jens/Source/shotwell/src/Page.vala"
+#line 370 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = name;
-#line 368 "/home/jens/Source/shotwell/src/Page.vala"
+#line 370 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = page_get_common_action (self, _tmp0_, TRUE);
-#line 368 "/home/jens/Source/shotwell/src/Page.vala"
+#line 370 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, g_simple_action_get_type ()) ? ((GSimpleAction*) _tmp1_) : NULL;
-#line 368 "/home/jens/Source/shotwell/src/Page.vala"
+#line 370 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp2_ == NULL) {
-#line 368 "/home/jens/Source/shotwell/src/Page.vala"
+#line 370 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp1_);
-#line 3696 "Page.c"
+#line 3714 "Page.c"
}
-#line 368 "/home/jens/Source/shotwell/src/Page.vala"
+#line 370 "/home/jens/Source/shotwell/src/Page.vala"
action = _tmp2_;
-#line 369 "/home/jens/Source/shotwell/src/Page.vala"
+#line 371 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = action;
-#line 369 "/home/jens/Source/shotwell/src/Page.vala"
+#line 371 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp3_ != NULL) {
-#line 3704 "Page.c"
+#line 3722 "Page.c"
GSimpleAction* _tmp4_ = NULL;
-#line 370 "/home/jens/Source/shotwell/src/Page.vala"
+#line 372 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = action;
-#line 370 "/home/jens/Source/shotwell/src/Page.vala"
+#line 372 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_emit_by_name (_tmp4_, "activate", NULL);
-#line 3710 "Page.c"
+#line 3728 "Page.c"
}
-#line 367 "/home/jens/Source/shotwell/src/Page.vala"
+#line 369 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (action);
-#line 3714 "Page.c"
+#line 3732 "Page.c"
}
gboolean page_get_ctrl_pressed (Page* self) {
gboolean result = FALSE;
gboolean _tmp0_ = FALSE;
-#line 373 "/home/jens/Source/shotwell/src/Page.vala"
+#line 375 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 374 "/home/jens/Source/shotwell/src/Page.vala"
+#line 376 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->ctrl_pressed;
-#line 374 "/home/jens/Source/shotwell/src/Page.vala"
+#line 376 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp0_;
-#line 374 "/home/jens/Source/shotwell/src/Page.vala"
+#line 376 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 3729 "Page.c"
+#line 3747 "Page.c"
}
gboolean page_get_alt_pressed (Page* self) {
gboolean result = FALSE;
gboolean _tmp0_ = FALSE;
-#line 377 "/home/jens/Source/shotwell/src/Page.vala"
+#line 379 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 378 "/home/jens/Source/shotwell/src/Page.vala"
+#line 380 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->alt_pressed;
-#line 378 "/home/jens/Source/shotwell/src/Page.vala"
+#line 380 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp0_;
-#line 378 "/home/jens/Source/shotwell/src/Page.vala"
+#line 380 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 3744 "Page.c"
+#line 3762 "Page.c"
}
gboolean page_get_shift_pressed (Page* self) {
gboolean result = FALSE;
gboolean _tmp0_ = FALSE;
-#line 381 "/home/jens/Source/shotwell/src/Page.vala"
+#line 383 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 382 "/home/jens/Source/shotwell/src/Page.vala"
+#line 384 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->shift_pressed;
-#line 382 "/home/jens/Source/shotwell/src/Page.vala"
+#line 384 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp0_;
-#line 382 "/home/jens/Source/shotwell/src/Page.vala"
+#line 384 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 3759 "Page.c"
+#line 3777 "Page.c"
}
gboolean page_get_super_pressed (Page* self) {
gboolean result = FALSE;
gboolean _tmp0_ = FALSE;
-#line 385 "/home/jens/Source/shotwell/src/Page.vala"
+#line 387 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 386 "/home/jens/Source/shotwell/src/Page.vala"
+#line 388 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->super_pressed;
-#line 386 "/home/jens/Source/shotwell/src/Page.vala"
+#line 388 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp0_;
-#line 386 "/home/jens/Source/shotwell/src/Page.vala"
+#line 388 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 3774 "Page.c"
+#line 3792 "Page.c"
}
-static GVariant* _variant_new16 (gboolean value) {
-#line 392 "/home/jens/Source/shotwell/src/Page.vala"
+static GVariant* _variant_new20 (gboolean value) {
+#line 394 "/home/jens/Source/shotwell/src/Page.vala"
return g_variant_ref_sink (g_variant_new_boolean (value));
-#line 3781 "Page.c"
+#line 3799 "Page.c"
}
@@ -3787,47 +3805,47 @@ void page_set_action_active (Page* self, const gchar* name, gboolean active) {
GAction* _tmp1_ = NULL;
GSimpleAction* _tmp2_ = NULL;
GSimpleAction* _tmp3_ = NULL;
-#line 389 "/home/jens/Source/shotwell/src/Page.vala"
+#line 391 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 389 "/home/jens/Source/shotwell/src/Page.vala"
+#line 391 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (name != NULL);
-#line 390 "/home/jens/Source/shotwell/src/Page.vala"
+#line 392 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = name;
-#line 390 "/home/jens/Source/shotwell/src/Page.vala"
+#line 392 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = page_get_action (self, _tmp0_);
-#line 390 "/home/jens/Source/shotwell/src/Page.vala"
+#line 392 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, g_simple_action_get_type ()) ? ((GSimpleAction*) _tmp1_) : NULL;
-#line 390 "/home/jens/Source/shotwell/src/Page.vala"
+#line 392 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp2_ == NULL) {
-#line 390 "/home/jens/Source/shotwell/src/Page.vala"
+#line 392 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp1_);
-#line 3805 "Page.c"
+#line 3823 "Page.c"
}
-#line 390 "/home/jens/Source/shotwell/src/Page.vala"
+#line 392 "/home/jens/Source/shotwell/src/Page.vala"
action = _tmp2_;
-#line 391 "/home/jens/Source/shotwell/src/Page.vala"
+#line 393 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = action;
-#line 391 "/home/jens/Source/shotwell/src/Page.vala"
+#line 393 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp3_ != NULL) {
-#line 3813 "Page.c"
+#line 3831 "Page.c"
GSimpleAction* _tmp4_ = NULL;
gboolean _tmp5_ = FALSE;
GVariant* _tmp6_ = NULL;
-#line 392 "/home/jens/Source/shotwell/src/Page.vala"
+#line 394 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = action;
-#line 392 "/home/jens/Source/shotwell/src/Page.vala"
+#line 394 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = active;
-#line 392 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp6_ = _variant_new16 (_tmp5_);
-#line 392 "/home/jens/Source/shotwell/src/Page.vala"
+#line 394 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp6_ = _variant_new20 (_tmp5_);
+#line 394 "/home/jens/Source/shotwell/src/Page.vala"
g_simple_action_set_state (_tmp4_, _tmp6_);
-#line 392 "/home/jens/Source/shotwell/src/Page.vala"
+#line 394 "/home/jens/Source/shotwell/src/Page.vala"
_g_variant_unref0 (_tmp6_);
-#line 3827 "Page.c"
+#line 3845 "Page.c"
}
-#line 389 "/home/jens/Source/shotwell/src/Page.vala"
+#line 391 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (action);
-#line 3831 "Page.c"
+#line 3849 "Page.c"
}
@@ -3857,125 +3875,125 @@ static gboolean page_get_modifiers (Page* self, gboolean* ctrl, gboolean* alt, g
GdkModifierType _tmp14_ = 0;
GdkModifierType _tmp15_ = 0;
GdkModifierType _tmp16_ = 0;
-#line 396 "/home/jens/Source/shotwell/src/Page.vala"
+#line 398 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 397 "/home/jens/Source/shotwell/src/Page.vala"
+#line 399 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = app_window_get_instance ();
-#line 397 "/home/jens/Source/shotwell/src/Page.vala"
+#line 399 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _tmp0_;
-#line 397 "/home/jens/Source/shotwell/src/Page.vala"
+#line 399 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = gtk_widget_get_window (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_widget_get_type (), GtkWidget));
-#line 397 "/home/jens/Source/shotwell/src/Page.vala"
+#line 399 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = _tmp2_ == NULL;
-#line 397 "/home/jens/Source/shotwell/src/Page.vala"
+#line 399 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp1_);
-#line 397 "/home/jens/Source/shotwell/src/Page.vala"
+#line 399 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp3_) {
-#line 398 "/home/jens/Source/shotwell/src/Page.vala"
+#line 400 "/home/jens/Source/shotwell/src/Page.vala"
_vala_ctrl = FALSE;
-#line 399 "/home/jens/Source/shotwell/src/Page.vala"
+#line 401 "/home/jens/Source/shotwell/src/Page.vala"
_vala_alt = FALSE;
-#line 400 "/home/jens/Source/shotwell/src/Page.vala"
+#line 402 "/home/jens/Source/shotwell/src/Page.vala"
_vala_shift = FALSE;
-#line 401 "/home/jens/Source/shotwell/src/Page.vala"
- _vala_super = FALSE;
#line 403 "/home/jens/Source/shotwell/src/Page.vala"
+ _vala_super = FALSE;
+#line 405 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 403 "/home/jens/Source/shotwell/src/Page.vala"
+#line 405 "/home/jens/Source/shotwell/src/Page.vala"
if (ctrl) {
-#line 403 "/home/jens/Source/shotwell/src/Page.vala"
+#line 405 "/home/jens/Source/shotwell/src/Page.vala"
*ctrl = _vala_ctrl;
-#line 3889 "Page.c"
+#line 3907 "Page.c"
}
-#line 403 "/home/jens/Source/shotwell/src/Page.vala"
+#line 405 "/home/jens/Source/shotwell/src/Page.vala"
if (alt) {
-#line 403 "/home/jens/Source/shotwell/src/Page.vala"
+#line 405 "/home/jens/Source/shotwell/src/Page.vala"
*alt = _vala_alt;
-#line 3895 "Page.c"
+#line 3913 "Page.c"
}
-#line 403 "/home/jens/Source/shotwell/src/Page.vala"
+#line 405 "/home/jens/Source/shotwell/src/Page.vala"
if (shift) {
-#line 403 "/home/jens/Source/shotwell/src/Page.vala"
+#line 405 "/home/jens/Source/shotwell/src/Page.vala"
*shift = _vala_shift;
-#line 3901 "Page.c"
+#line 3919 "Page.c"
}
-#line 403 "/home/jens/Source/shotwell/src/Page.vala"
+#line 405 "/home/jens/Source/shotwell/src/Page.vala"
if (super) {
-#line 403 "/home/jens/Source/shotwell/src/Page.vala"
+#line 405 "/home/jens/Source/shotwell/src/Page.vala"
*super = _vala_super;
-#line 3907 "Page.c"
+#line 3925 "Page.c"
}
-#line 403 "/home/jens/Source/shotwell/src/Page.vala"
+#line 405 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 3911 "Page.c"
+#line 3929 "Page.c"
}
-#line 408 "/home/jens/Source/shotwell/src/Page.vala"
+#line 410 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = app_window_get_instance ();
-#line 408 "/home/jens/Source/shotwell/src/Page.vala"
+#line 410 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = _tmp4_;
-#line 408 "/home/jens/Source/shotwell/src/Page.vala"
+#line 410 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = gtk_widget_get_window (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_widget_get_type (), GtkWidget));
-#line 408 "/home/jens/Source/shotwell/src/Page.vala"
+#line 410 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = gdk_display_get_default ();
-#line 408 "/home/jens/Source/shotwell/src/Page.vala"
+#line 410 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = gdk_display_get_device_manager (_tmp7_);
-#line 408 "/home/jens/Source/shotwell/src/Page.vala"
+#line 410 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = gdk_device_manager_get_client_pointer (_tmp8_);
-#line 408 "/home/jens/Source/shotwell/src/Page.vala"
+#line 410 "/home/jens/Source/shotwell/src/Page.vala"
gdk_window_get_device_position (_tmp6_, _tmp9_, &_tmp10_, &_tmp11_, &_tmp12_);
-#line 408 "/home/jens/Source/shotwell/src/Page.vala"
+#line 410 "/home/jens/Source/shotwell/src/Page.vala"
x = _tmp10_;
-#line 408 "/home/jens/Source/shotwell/src/Page.vala"
+#line 410 "/home/jens/Source/shotwell/src/Page.vala"
y = _tmp11_;
-#line 408 "/home/jens/Source/shotwell/src/Page.vala"
+#line 410 "/home/jens/Source/shotwell/src/Page.vala"
mask = _tmp12_;
-#line 408 "/home/jens/Source/shotwell/src/Page.vala"
+#line 410 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp5_);
-#line 411 "/home/jens/Source/shotwell/src/Page.vala"
+#line 413 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = mask;
-#line 411 "/home/jens/Source/shotwell/src/Page.vala"
+#line 413 "/home/jens/Source/shotwell/src/Page.vala"
_vala_ctrl = (_tmp13_ & GDK_CONTROL_MASK) != 0;
-#line 412 "/home/jens/Source/shotwell/src/Page.vala"
+#line 414 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = mask;
-#line 412 "/home/jens/Source/shotwell/src/Page.vala"
+#line 414 "/home/jens/Source/shotwell/src/Page.vala"
_vala_alt = (_tmp14_ & GDK_MOD1_MASK) != 0;
-#line 413 "/home/jens/Source/shotwell/src/Page.vala"
+#line 415 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = mask;
-#line 413 "/home/jens/Source/shotwell/src/Page.vala"
+#line 415 "/home/jens/Source/shotwell/src/Page.vala"
_vala_shift = (_tmp15_ & GDK_SHIFT_MASK) != 0;
-#line 414 "/home/jens/Source/shotwell/src/Page.vala"
+#line 416 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = mask;
-#line 414 "/home/jens/Source/shotwell/src/Page.vala"
- _vala_super = (_tmp16_ & GDK_MOD4_MASK) != 0;
#line 416 "/home/jens/Source/shotwell/src/Page.vala"
+ _vala_super = (_tmp16_ & GDK_MOD4_MASK) != 0;
+#line 418 "/home/jens/Source/shotwell/src/Page.vala"
result = TRUE;
-#line 416 "/home/jens/Source/shotwell/src/Page.vala"
+#line 418 "/home/jens/Source/shotwell/src/Page.vala"
if (ctrl) {
-#line 416 "/home/jens/Source/shotwell/src/Page.vala"
+#line 418 "/home/jens/Source/shotwell/src/Page.vala"
*ctrl = _vala_ctrl;
-#line 3957 "Page.c"
+#line 3975 "Page.c"
}
-#line 416 "/home/jens/Source/shotwell/src/Page.vala"
+#line 418 "/home/jens/Source/shotwell/src/Page.vala"
if (alt) {
-#line 416 "/home/jens/Source/shotwell/src/Page.vala"
+#line 418 "/home/jens/Source/shotwell/src/Page.vala"
*alt = _vala_alt;
-#line 3963 "Page.c"
+#line 3981 "Page.c"
}
-#line 416 "/home/jens/Source/shotwell/src/Page.vala"
+#line 418 "/home/jens/Source/shotwell/src/Page.vala"
if (shift) {
-#line 416 "/home/jens/Source/shotwell/src/Page.vala"
+#line 418 "/home/jens/Source/shotwell/src/Page.vala"
*shift = _vala_shift;
-#line 3969 "Page.c"
+#line 3987 "Page.c"
}
-#line 416 "/home/jens/Source/shotwell/src/Page.vala"
+#line 418 "/home/jens/Source/shotwell/src/Page.vala"
if (super) {
-#line 416 "/home/jens/Source/shotwell/src/Page.vala"
+#line 418 "/home/jens/Source/shotwell/src/Page.vala"
*super = _vala_super;
-#line 3975 "Page.c"
+#line 3993 "Page.c"
}
-#line 416 "/home/jens/Source/shotwell/src/Page.vala"
+#line 418 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 3979 "Page.c"
+#line 3997 "Page.c"
}
@@ -4001,229 +4019,229 @@ static void page_update_modifiers (Page* self) {
gboolean _tmp30_ = FALSE;
gboolean _tmp31_ = FALSE;
gboolean _tmp32_ = FALSE;
-#line 419 "/home/jens/Source/shotwell/src/Page.vala"
+#line 421 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 422 "/home/jens/Source/shotwell/src/Page.vala"
+#line 424 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = page_get_modifiers (self, &_tmp0_, &_tmp1_, &_tmp2_, &_tmp3_);
-#line 422 "/home/jens/Source/shotwell/src/Page.vala"
+#line 424 "/home/jens/Source/shotwell/src/Page.vala"
ctrl_currently_pressed = _tmp0_;
-#line 422 "/home/jens/Source/shotwell/src/Page.vala"
+#line 424 "/home/jens/Source/shotwell/src/Page.vala"
alt_currently_pressed = _tmp1_;
-#line 422 "/home/jens/Source/shotwell/src/Page.vala"
+#line 424 "/home/jens/Source/shotwell/src/Page.vala"
shift_currently_pressed = _tmp2_;
-#line 422 "/home/jens/Source/shotwell/src/Page.vala"
+#line 424 "/home/jens/Source/shotwell/src/Page.vala"
super_currently_pressed = _tmp3_;
-#line 422 "/home/jens/Source/shotwell/src/Page.vala"
- if (!_tmp4_) {
#line 424 "/home/jens/Source/shotwell/src/Page.vala"
+ if (!_tmp4_) {
+#line 426 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 4021 "Page.c"
+#line 4039 "Page.c"
}
-#line 427 "/home/jens/Source/shotwell/src/Page.vala"
+#line 429 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = self->priv->ctrl_pressed;
-#line 427 "/home/jens/Source/shotwell/src/Page.vala"
+#line 429 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp6_) {
-#line 4027 "Page.c"
+#line 4045 "Page.c"
gboolean _tmp7_ = FALSE;
-#line 427 "/home/jens/Source/shotwell/src/Page.vala"
+#line 429 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = ctrl_currently_pressed;
-#line 427 "/home/jens/Source/shotwell/src/Page.vala"
+#line 429 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = !_tmp7_;
-#line 4033 "Page.c"
+#line 4051 "Page.c"
} else {
-#line 427 "/home/jens/Source/shotwell/src/Page.vala"
+#line 429 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = FALSE;
-#line 4037 "Page.c"
+#line 4055 "Page.c"
}
-#line 427 "/home/jens/Source/shotwell/src/Page.vala"
+#line 429 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp5_) {
-#line 428 "/home/jens/Source/shotwell/src/Page.vala"
+#line 430 "/home/jens/Source/shotwell/src/Page.vala"
page_on_ctrl_released (self, NULL);
-#line 4043 "Page.c"
+#line 4061 "Page.c"
} else {
gboolean _tmp8_ = FALSE;
gboolean _tmp9_ = FALSE;
-#line 429 "/home/jens/Source/shotwell/src/Page.vala"
+#line 431 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = self->priv->ctrl_pressed;
-#line 429 "/home/jens/Source/shotwell/src/Page.vala"
+#line 431 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp9_) {
-#line 4051 "Page.c"
+#line 4069 "Page.c"
gboolean _tmp10_ = FALSE;
-#line 429 "/home/jens/Source/shotwell/src/Page.vala"
+#line 431 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = ctrl_currently_pressed;
-#line 429 "/home/jens/Source/shotwell/src/Page.vala"
+#line 431 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = _tmp10_;
-#line 4057 "Page.c"
+#line 4075 "Page.c"
} else {
-#line 429 "/home/jens/Source/shotwell/src/Page.vala"
+#line 431 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = FALSE;
-#line 4061 "Page.c"
+#line 4079 "Page.c"
}
-#line 429 "/home/jens/Source/shotwell/src/Page.vala"
+#line 431 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp8_) {
-#line 430 "/home/jens/Source/shotwell/src/Page.vala"
+#line 432 "/home/jens/Source/shotwell/src/Page.vala"
page_on_ctrl_pressed (self, NULL);
-#line 4067 "Page.c"
+#line 4085 "Page.c"
}
}
-#line 432 "/home/jens/Source/shotwell/src/Page.vala"
+#line 434 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = self->priv->alt_pressed;
-#line 432 "/home/jens/Source/shotwell/src/Page.vala"
+#line 434 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp12_) {
-#line 4074 "Page.c"
+#line 4092 "Page.c"
gboolean _tmp13_ = FALSE;
-#line 432 "/home/jens/Source/shotwell/src/Page.vala"
+#line 434 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = alt_currently_pressed;
-#line 432 "/home/jens/Source/shotwell/src/Page.vala"
+#line 434 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = !_tmp13_;
-#line 4080 "Page.c"
+#line 4098 "Page.c"
} else {
-#line 432 "/home/jens/Source/shotwell/src/Page.vala"
+#line 434 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = FALSE;
-#line 4084 "Page.c"
+#line 4102 "Page.c"
}
-#line 432 "/home/jens/Source/shotwell/src/Page.vala"
+#line 434 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp11_) {
-#line 433 "/home/jens/Source/shotwell/src/Page.vala"
+#line 435 "/home/jens/Source/shotwell/src/Page.vala"
page_on_alt_released (self, NULL);
-#line 4090 "Page.c"
+#line 4108 "Page.c"
} else {
gboolean _tmp14_ = FALSE;
gboolean _tmp15_ = FALSE;
-#line 434 "/home/jens/Source/shotwell/src/Page.vala"
+#line 436 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = self->priv->alt_pressed;
-#line 434 "/home/jens/Source/shotwell/src/Page.vala"
+#line 436 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp15_) {
-#line 4098 "Page.c"
+#line 4116 "Page.c"
gboolean _tmp16_ = FALSE;
-#line 434 "/home/jens/Source/shotwell/src/Page.vala"
+#line 436 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = alt_currently_pressed;
-#line 434 "/home/jens/Source/shotwell/src/Page.vala"
+#line 436 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = _tmp16_;
-#line 4104 "Page.c"
+#line 4122 "Page.c"
} else {
-#line 434 "/home/jens/Source/shotwell/src/Page.vala"
+#line 436 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = FALSE;
-#line 4108 "Page.c"
+#line 4126 "Page.c"
}
-#line 434 "/home/jens/Source/shotwell/src/Page.vala"
+#line 436 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp14_) {
-#line 435 "/home/jens/Source/shotwell/src/Page.vala"
+#line 437 "/home/jens/Source/shotwell/src/Page.vala"
page_on_alt_pressed (self, NULL);
-#line 4114 "Page.c"
+#line 4132 "Page.c"
}
}
-#line 437 "/home/jens/Source/shotwell/src/Page.vala"
+#line 439 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = self->priv->shift_pressed;
-#line 437 "/home/jens/Source/shotwell/src/Page.vala"
+#line 439 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp18_) {
-#line 4121 "Page.c"
+#line 4139 "Page.c"
gboolean _tmp19_ = FALSE;
-#line 437 "/home/jens/Source/shotwell/src/Page.vala"
+#line 439 "/home/jens/Source/shotwell/src/Page.vala"
_tmp19_ = shift_currently_pressed;
-#line 437 "/home/jens/Source/shotwell/src/Page.vala"
+#line 439 "/home/jens/Source/shotwell/src/Page.vala"
_tmp17_ = !_tmp19_;
-#line 4127 "Page.c"
+#line 4145 "Page.c"
} else {
-#line 437 "/home/jens/Source/shotwell/src/Page.vala"
+#line 439 "/home/jens/Source/shotwell/src/Page.vala"
_tmp17_ = FALSE;
-#line 4131 "Page.c"
+#line 4149 "Page.c"
}
-#line 437 "/home/jens/Source/shotwell/src/Page.vala"
+#line 439 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp17_) {
-#line 438 "/home/jens/Source/shotwell/src/Page.vala"
+#line 440 "/home/jens/Source/shotwell/src/Page.vala"
page_on_shift_released (self, NULL);
-#line 4137 "Page.c"
+#line 4155 "Page.c"
} else {
gboolean _tmp20_ = FALSE;
gboolean _tmp21_ = FALSE;
-#line 439 "/home/jens/Source/shotwell/src/Page.vala"
+#line 441 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = self->priv->shift_pressed;
-#line 439 "/home/jens/Source/shotwell/src/Page.vala"
+#line 441 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp21_) {
-#line 4145 "Page.c"
+#line 4163 "Page.c"
gboolean _tmp22_ = FALSE;
-#line 439 "/home/jens/Source/shotwell/src/Page.vala"
+#line 441 "/home/jens/Source/shotwell/src/Page.vala"
_tmp22_ = shift_currently_pressed;
-#line 439 "/home/jens/Source/shotwell/src/Page.vala"
+#line 441 "/home/jens/Source/shotwell/src/Page.vala"
_tmp20_ = _tmp22_;
-#line 4151 "Page.c"
+#line 4169 "Page.c"
} else {
-#line 439 "/home/jens/Source/shotwell/src/Page.vala"
+#line 441 "/home/jens/Source/shotwell/src/Page.vala"
_tmp20_ = FALSE;
-#line 4155 "Page.c"
+#line 4173 "Page.c"
}
-#line 439 "/home/jens/Source/shotwell/src/Page.vala"
+#line 441 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp20_) {
-#line 440 "/home/jens/Source/shotwell/src/Page.vala"
+#line 442 "/home/jens/Source/shotwell/src/Page.vala"
page_on_shift_pressed (self, NULL);
-#line 4161 "Page.c"
+#line 4179 "Page.c"
}
}
-#line 442 "/home/jens/Source/shotwell/src/Page.vala"
+#line 444 "/home/jens/Source/shotwell/src/Page.vala"
_tmp24_ = self->priv->super_pressed;
-#line 442 "/home/jens/Source/shotwell/src/Page.vala"
+#line 444 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp24_) {
-#line 4168 "Page.c"
+#line 4186 "Page.c"
gboolean _tmp25_ = FALSE;
-#line 442 "/home/jens/Source/shotwell/src/Page.vala"
+#line 444 "/home/jens/Source/shotwell/src/Page.vala"
_tmp25_ = super_currently_pressed;
-#line 442 "/home/jens/Source/shotwell/src/Page.vala"
+#line 444 "/home/jens/Source/shotwell/src/Page.vala"
_tmp23_ = !_tmp25_;
-#line 4174 "Page.c"
+#line 4192 "Page.c"
} else {
-#line 442 "/home/jens/Source/shotwell/src/Page.vala"
+#line 444 "/home/jens/Source/shotwell/src/Page.vala"
_tmp23_ = FALSE;
-#line 4178 "Page.c"
+#line 4196 "Page.c"
}
-#line 442 "/home/jens/Source/shotwell/src/Page.vala"
+#line 444 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp23_) {
-#line 443 "/home/jens/Source/shotwell/src/Page.vala"
+#line 445 "/home/jens/Source/shotwell/src/Page.vala"
page_on_super_released (self, NULL);
-#line 4184 "Page.c"
+#line 4202 "Page.c"
} else {
gboolean _tmp26_ = FALSE;
gboolean _tmp27_ = FALSE;
-#line 444 "/home/jens/Source/shotwell/src/Page.vala"
+#line 446 "/home/jens/Source/shotwell/src/Page.vala"
_tmp27_ = self->priv->super_pressed;
-#line 444 "/home/jens/Source/shotwell/src/Page.vala"
+#line 446 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp27_) {
-#line 4192 "Page.c"
+#line 4210 "Page.c"
gboolean _tmp28_ = FALSE;
-#line 444 "/home/jens/Source/shotwell/src/Page.vala"
+#line 446 "/home/jens/Source/shotwell/src/Page.vala"
_tmp28_ = super_currently_pressed;
-#line 444 "/home/jens/Source/shotwell/src/Page.vala"
+#line 446 "/home/jens/Source/shotwell/src/Page.vala"
_tmp26_ = _tmp28_;
-#line 4198 "Page.c"
+#line 4216 "Page.c"
} else {
-#line 444 "/home/jens/Source/shotwell/src/Page.vala"
+#line 446 "/home/jens/Source/shotwell/src/Page.vala"
_tmp26_ = FALSE;
-#line 4202 "Page.c"
+#line 4220 "Page.c"
}
-#line 444 "/home/jens/Source/shotwell/src/Page.vala"
+#line 446 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp26_) {
-#line 445 "/home/jens/Source/shotwell/src/Page.vala"
+#line 447 "/home/jens/Source/shotwell/src/Page.vala"
page_on_super_pressed (self, NULL);
-#line 4208 "Page.c"
+#line 4226 "Page.c"
}
}
-#line 447 "/home/jens/Source/shotwell/src/Page.vala"
+#line 449 "/home/jens/Source/shotwell/src/Page.vala"
_tmp29_ = ctrl_currently_pressed;
-#line 447 "/home/jens/Source/shotwell/src/Page.vala"
+#line 449 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->ctrl_pressed = _tmp29_;
-#line 448 "/home/jens/Source/shotwell/src/Page.vala"
+#line 450 "/home/jens/Source/shotwell/src/Page.vala"
_tmp30_ = alt_currently_pressed;
-#line 448 "/home/jens/Source/shotwell/src/Page.vala"
+#line 450 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->alt_pressed = _tmp30_;
-#line 449 "/home/jens/Source/shotwell/src/Page.vala"
+#line 451 "/home/jens/Source/shotwell/src/Page.vala"
_tmp31_ = shift_currently_pressed;
-#line 449 "/home/jens/Source/shotwell/src/Page.vala"
+#line 451 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->shift_pressed = _tmp31_;
-#line 450 "/home/jens/Source/shotwell/src/Page.vala"
+#line 452 "/home/jens/Source/shotwell/src/Page.vala"
_tmp32_ = super_currently_pressed;
-#line 450 "/home/jens/Source/shotwell/src/Page.vala"
+#line 452 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->super_pressed = _tmp32_;
-#line 4227 "Page.c"
+#line 4245 "Page.c"
}
@@ -4233,88 +4251,88 @@ PageWindow* page_get_page_window (Page* self) {
GtkContainer* _tmp0_ = NULL;
GtkContainer* _tmp1_ = NULL;
GtkWidget* _tmp2_ = NULL;
-#line 453 "/home/jens/Source/shotwell/src/Page.vala"
+#line 455 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), NULL);
-#line 454 "/home/jens/Source/shotwell/src/Page.vala"
+#line 456 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = gtk_widget_get_parent (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
-#line 454 "/home/jens/Source/shotwell/src/Page.vala"
+#line 456 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _tmp0_;
-#line 454 "/home/jens/Source/shotwell/src/Page.vala"
+#line 456 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_widget_get_type (), GtkWidget));
-#line 454 "/home/jens/Source/shotwell/src/Page.vala"
+#line 456 "/home/jens/Source/shotwell/src/Page.vala"
p = _tmp2_;
-#line 455 "/home/jens/Source/shotwell/src/Page.vala"
+#line 457 "/home/jens/Source/shotwell/src/Page.vala"
while (TRUE) {
-#line 4249 "Page.c"
+#line 4267 "Page.c"
GtkWidget* _tmp3_ = NULL;
GtkWidget* _tmp4_ = NULL;
GtkWidget* _tmp7_ = NULL;
GtkContainer* _tmp8_ = NULL;
GtkContainer* _tmp9_ = NULL;
GtkWidget* _tmp10_ = NULL;
-#line 455 "/home/jens/Source/shotwell/src/Page.vala"
+#line 457 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = p;
-#line 455 "/home/jens/Source/shotwell/src/Page.vala"
+#line 457 "/home/jens/Source/shotwell/src/Page.vala"
if (!(_tmp3_ != NULL)) {
-#line 455 "/home/jens/Source/shotwell/src/Page.vala"
+#line 457 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 4262 "Page.c"
+#line 4280 "Page.c"
}
-#line 456 "/home/jens/Source/shotwell/src/Page.vala"
+#line 458 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = p;
-#line 456 "/home/jens/Source/shotwell/src/Page.vala"
+#line 458 "/home/jens/Source/shotwell/src/Page.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp4_, TYPE_PAGE_WINDOW)) {
-#line 4268 "Page.c"
+#line 4286 "Page.c"
GtkWidget* _tmp5_ = NULL;
PageWindow* _tmp6_ = NULL;
-#line 457 "/home/jens/Source/shotwell/src/Page.vala"
+#line 459 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = p;
-#line 457 "/home/jens/Source/shotwell/src/Page.vala"
+#line 459 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, TYPE_PAGE_WINDOW, PageWindow));
-#line 457 "/home/jens/Source/shotwell/src/Page.vala"
+#line 459 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp6_;
-#line 457 "/home/jens/Source/shotwell/src/Page.vala"
+#line 459 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (p);
-#line 457 "/home/jens/Source/shotwell/src/Page.vala"
+#line 459 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 4281 "Page.c"
+#line 4299 "Page.c"
}
-#line 459 "/home/jens/Source/shotwell/src/Page.vala"
+#line 461 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = p;
-#line 459 "/home/jens/Source/shotwell/src/Page.vala"
+#line 461 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = gtk_widget_get_parent (_tmp7_);
-#line 459 "/home/jens/Source/shotwell/src/Page.vala"
+#line 461 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = _tmp8_;
-#line 459 "/home/jens/Source/shotwell/src/Page.vala"
+#line 461 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_widget_get_type (), GtkWidget));
-#line 459 "/home/jens/Source/shotwell/src/Page.vala"
+#line 461 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (p);
-#line 459 "/home/jens/Source/shotwell/src/Page.vala"
+#line 461 "/home/jens/Source/shotwell/src/Page.vala"
p = _tmp10_;
-#line 4295 "Page.c"
+#line 4313 "Page.c"
}
-#line 462 "/home/jens/Source/shotwell/src/Page.vala"
+#line 464 "/home/jens/Source/shotwell/src/Page.vala"
result = NULL;
-#line 462 "/home/jens/Source/shotwell/src/Page.vala"
+#line 464 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (p);
-#line 462 "/home/jens/Source/shotwell/src/Page.vala"
+#line 464 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 4303 "Page.c"
+#line 4321 "Page.c"
}
CommandManager* page_get_command_manager (Page* self) {
CommandManager* result = NULL;
CommandManager* _tmp0_ = NULL;
-#line 465 "/home/jens/Source/shotwell/src/Page.vala"
+#line 467 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), NULL);
-#line 466 "/home/jens/Source/shotwell/src/Page.vala"
+#line 468 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = app_window_get_command_manager ();
-#line 466 "/home/jens/Source/shotwell/src/Page.vala"
+#line 468 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp0_;
-#line 466 "/home/jens/Source/shotwell/src/Page.vala"
+#line 468 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 4318 "Page.c"
+#line 4336 "Page.c"
}
@@ -4323,25 +4341,25 @@ static void page_real_add_actions (Page* self) {
void page_add_actions (Page* self) {
-#line 469 "/home/jens/Source/shotwell/src/Page.vala"
+#line 471 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 469 "/home/jens/Source/shotwell/src/Page.vala"
+#line 471 "/home/jens/Source/shotwell/src/Page.vala"
PAGE_GET_CLASS (self)->add_actions (self);
-#line 4331 "Page.c"
+#line 4349 "Page.c"
}
-static gboolean _variant_get17 (GVariant* value) {
-#line 472 "/home/jens/Source/shotwell/src/Page.vala"
+static gboolean _variant_get21 (GVariant* value) {
+#line 474 "/home/jens/Source/shotwell/src/Page.vala"
return g_variant_get_boolean (value);
-#line 4338 "Page.c"
+#line 4356 "Page.c"
}
-static GVariant* _variant_new18 (gboolean value) {
-#line 472 "/home/jens/Source/shotwell/src/Page.vala"
+static GVariant* _variant_new22 (gboolean value) {
+#line 474 "/home/jens/Source/shotwell/src/Page.vala"
return g_variant_ref_sink (g_variant_new_boolean (value));
-#line 4345 "Page.c"
+#line 4363 "Page.c"
}
@@ -4354,59 +4372,59 @@ void page_on_action_toggle (Page* self, GAction* action, GVariant* value) {
GVariant* _tmp4_ = NULL;
GVariant* _tmp5_ = NULL;
GAction* _tmp6_ = NULL;
-#line 471 "/home/jens/Source/shotwell/src/Page.vala"
+#line 473 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 471 "/home/jens/Source/shotwell/src/Page.vala"
+#line 473 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (G_IS_ACTION (action));
-#line 472 "/home/jens/Source/shotwell/src/Page.vala"
+#line 474 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = action;
-#line 472 "/home/jens/Source/shotwell/src/Page.vala"
+#line 474 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = g_action_get_state (_tmp0_);
-#line 472 "/home/jens/Source/shotwell/src/Page.vala"
+#line 474 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = _tmp1_;
-#line 472 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp3_ = _variant_get17 (_tmp2_);
-#line 472 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp4_ = _variant_new18 (!_tmp3_);
-#line 472 "/home/jens/Source/shotwell/src/Page.vala"
+#line 474 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp3_ = _variant_get21 (_tmp2_);
+#line 474 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp4_ = _variant_new22 (!_tmp3_);
+#line 474 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = _tmp4_;
-#line 472 "/home/jens/Source/shotwell/src/Page.vala"
+#line 474 "/home/jens/Source/shotwell/src/Page.vala"
_g_variant_unref0 (_tmp2_);
-#line 472 "/home/jens/Source/shotwell/src/Page.vala"
+#line 474 "/home/jens/Source/shotwell/src/Page.vala"
new_state = _tmp5_;
-#line 473 "/home/jens/Source/shotwell/src/Page.vala"
+#line 475 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = action;
-#line 473 "/home/jens/Source/shotwell/src/Page.vala"
+#line 475 "/home/jens/Source/shotwell/src/Page.vala"
g_action_change_state (_tmp6_, new_state);
-#line 471 "/home/jens/Source/shotwell/src/Page.vala"
+#line 473 "/home/jens/Source/shotwell/src/Page.vala"
_g_variant_unref0 (new_state);
-#line 4384 "Page.c"
+#line 4402 "Page.c"
}
void page_on_action_radio (Page* self, GAction* action, GVariant* value) {
GAction* _tmp0_ = NULL;
GVariant* _tmp1_ = NULL;
-#line 476 "/home/jens/Source/shotwell/src/Page.vala"
+#line 478 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 476 "/home/jens/Source/shotwell/src/Page.vala"
+#line 478 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (G_IS_ACTION (action));
-#line 477 "/home/jens/Source/shotwell/src/Page.vala"
+#line 479 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = action;
-#line 477 "/home/jens/Source/shotwell/src/Page.vala"
+#line 479 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = value;
-#line 477 "/home/jens/Source/shotwell/src/Page.vala"
+#line 479 "/home/jens/Source/shotwell/src/Page.vala"
g_action_change_state (_tmp0_, _tmp1_);
-#line 4401 "Page.c"
+#line 4419 "Page.c"
}
static void page_init_ui (Page* self) {
-#line 480 "/home/jens/Source/shotwell/src/Page.vala"
+#line 482 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 481 "/home/jens/Source/shotwell/src/Page.vala"
+#line 483 "/home/jens/Source/shotwell/src/Page.vala"
page_add_actions (self);
-#line 4410 "Page.c"
+#line 4428 "Page.c"
}
@@ -4417,36 +4435,36 @@ static void page_add_ui (Page* self) {
GeeList* _tmp2_ = NULL;
gint _tmp3_ = 0;
gint _tmp4_ = 0;
-#line 484 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_if_fail (IS_PAGE (self));
#line 486 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_if_fail (IS_PAGE (self));
+#line 488 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = gee_array_list_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, NULL, NULL, NULL);
-#line 486 "/home/jens/Source/shotwell/src/Page.vala"
+#line 488 "/home/jens/Source/shotwell/src/Page.vala"
ui_filenames = G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_LIST, GeeList);
-#line 487 "/home/jens/Source/shotwell/src/Page.vala"
+#line 489 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = ui_filenames;
-#line 487 "/home/jens/Source/shotwell/src/Page.vala"
+#line 489 "/home/jens/Source/shotwell/src/Page.vala"
page_init_collect_ui_filenames (self, _tmp1_);
-#line 488 "/home/jens/Source/shotwell/src/Page.vala"
+#line 490 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = ui_filenames;
-#line 488 "/home/jens/Source/shotwell/src/Page.vala"
+#line 490 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 488 "/home/jens/Source/shotwell/src/Page.vala"
+#line 490 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = _tmp3_;
-#line 488 "/home/jens/Source/shotwell/src/Page.vala"
+#line 490 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp4_ == 0) {
-#line 4439 "Page.c"
+#line 4457 "Page.c"
gchar* _tmp5_ = NULL;
gchar* _tmp6_ = NULL;
-#line 489 "/home/jens/Source/shotwell/src/Page.vala"
+#line 491 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = page_get_page_name (self);
-#line 489 "/home/jens/Source/shotwell/src/Page.vala"
+#line 491 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = _tmp5_;
-#line 489 "/home/jens/Source/shotwell/src/Page.vala"
- g_message ("Page.vala:489: No UI file specified for %s", _tmp6_);
-#line 489 "/home/jens/Source/shotwell/src/Page.vala"
+#line 491 "/home/jens/Source/shotwell/src/Page.vala"
+ g_message ("Page.vala:491: No UI file specified for %s", _tmp6_);
+#line 491 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (_tmp6_);
-#line 4450 "Page.c"
+#line 4468 "Page.c"
}
{
GeeList* _ui_filename_list = NULL;
@@ -4457,25 +4475,25 @@ static void page_add_ui (Page* self) {
gint _tmp10_ = 0;
gint _tmp11_ = 0;
gint _ui_filename_index = 0;
-#line 491 "/home/jens/Source/shotwell/src/Page.vala"
+#line 493 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = ui_filenames;
-#line 491 "/home/jens/Source/shotwell/src/Page.vala"
+#line 493 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = _g_object_ref0 (_tmp7_);
-#line 491 "/home/jens/Source/shotwell/src/Page.vala"
+#line 493 "/home/jens/Source/shotwell/src/Page.vala"
_ui_filename_list = _tmp8_;
-#line 491 "/home/jens/Source/shotwell/src/Page.vala"
+#line 493 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = _ui_filename_list;
-#line 491 "/home/jens/Source/shotwell/src/Page.vala"
+#line 493 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 491 "/home/jens/Source/shotwell/src/Page.vala"
+#line 493 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = _tmp10_;
-#line 491 "/home/jens/Source/shotwell/src/Page.vala"
+#line 493 "/home/jens/Source/shotwell/src/Page.vala"
_ui_filename_size = _tmp11_;
-#line 491 "/home/jens/Source/shotwell/src/Page.vala"
+#line 493 "/home/jens/Source/shotwell/src/Page.vala"
_ui_filename_index = -1;
-#line 491 "/home/jens/Source/shotwell/src/Page.vala"
+#line 493 "/home/jens/Source/shotwell/src/Page.vala"
while (TRUE) {
-#line 4479 "Page.c"
+#line 4497 "Page.c"
gint _tmp12_ = 0;
gint _tmp13_ = 0;
gint _tmp14_ = 0;
@@ -4484,90 +4502,90 @@ static void page_add_ui (Page* self) {
gint _tmp16_ = 0;
gpointer _tmp17_ = NULL;
const gchar* _tmp18_ = NULL;
-#line 491 "/home/jens/Source/shotwell/src/Page.vala"
+#line 493 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = _ui_filename_index;
-#line 491 "/home/jens/Source/shotwell/src/Page.vala"
+#line 493 "/home/jens/Source/shotwell/src/Page.vala"
_ui_filename_index = _tmp12_ + 1;
-#line 491 "/home/jens/Source/shotwell/src/Page.vala"
+#line 493 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = _ui_filename_index;
-#line 491 "/home/jens/Source/shotwell/src/Page.vala"
+#line 493 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = _ui_filename_size;
-#line 491 "/home/jens/Source/shotwell/src/Page.vala"
+#line 493 "/home/jens/Source/shotwell/src/Page.vala"
if (!(_tmp13_ < _tmp14_)) {
-#line 491 "/home/jens/Source/shotwell/src/Page.vala"
+#line 493 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 4500 "Page.c"
+#line 4518 "Page.c"
}
-#line 491 "/home/jens/Source/shotwell/src/Page.vala"
+#line 493 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = _ui_filename_list;
-#line 491 "/home/jens/Source/shotwell/src/Page.vala"
+#line 493 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = _ui_filename_index;
-#line 491 "/home/jens/Source/shotwell/src/Page.vala"
+#line 493 "/home/jens/Source/shotwell/src/Page.vala"
_tmp17_ = gee_list_get (_tmp15_, _tmp16_);
-#line 491 "/home/jens/Source/shotwell/src/Page.vala"
+#line 493 "/home/jens/Source/shotwell/src/Page.vala"
ui_filename = (gchar*) _tmp17_;
-#line 492 "/home/jens/Source/shotwell/src/Page.vala"
+#line 494 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = ui_filename;
-#line 492 "/home/jens/Source/shotwell/src/Page.vala"
+#line 494 "/home/jens/Source/shotwell/src/Page.vala"
page_init_load_ui (self, _tmp18_);
-#line 491 "/home/jens/Source/shotwell/src/Page.vala"
+#line 493 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (ui_filename);
-#line 4516 "Page.c"
+#line 4534 "Page.c"
}
-#line 491 "/home/jens/Source/shotwell/src/Page.vala"
+#line 493 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_ui_filename_list);
-#line 4520 "Page.c"
+#line 4538 "Page.c"
}
-#line 484 "/home/jens/Source/shotwell/src/Page.vala"
+#line 486 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (ui_filenames);
-#line 4524 "Page.c"
+#line 4542 "Page.c"
}
void page_init_toolbar (Page* self, const gchar* path) {
const gchar* _tmp0_ = NULL;
gchar* _tmp1_ = NULL;
-#line 497 "/home/jens/Source/shotwell/src/Page.vala"
+#line 499 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 497 "/home/jens/Source/shotwell/src/Page.vala"
+#line 499 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (path != NULL);
-#line 498 "/home/jens/Source/shotwell/src/Page.vala"
+#line 500 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = path;
-#line 498 "/home/jens/Source/shotwell/src/Page.vala"
+#line 500 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = g_strdup (_tmp0_);
-#line 498 "/home/jens/Source/shotwell/src/Page.vala"
+#line 500 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (self->priv->toolbar_path);
-#line 498 "/home/jens/Source/shotwell/src/Page.vala"
+#line 500 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->toolbar_path = _tmp1_;
-#line 4543 "Page.c"
+#line 4561 "Page.c"
}
static void _page_on_update_actions_view_collection_items_state_changed (ViewCollection* _sender, GeeIterable* changed, gpointer self) {
-#line 513 "/home/jens/Source/shotwell/src/Page.vala"
+#line 515 "/home/jens/Source/shotwell/src/Page.vala"
page_on_update_actions ((Page*) self);
-#line 4550 "Page.c"
+#line 4568 "Page.c"
}
static void _page_on_update_actions_view_collection_selection_group_altered (ViewCollection* _sender, gpointer self) {
-#line 514 "/home/jens/Source/shotwell/src/Page.vala"
+#line 516 "/home/jens/Source/shotwell/src/Page.vala"
page_on_update_actions ((Page*) self);
-#line 4557 "Page.c"
+#line 4575 "Page.c"
}
static void _page_on_update_actions_view_collection_items_visibility_changed (ViewCollection* _sender, GeeCollection* changed, gpointer self) {
-#line 515 "/home/jens/Source/shotwell/src/Page.vala"
+#line 517 "/home/jens/Source/shotwell/src/Page.vala"
page_on_update_actions ((Page*) self);
-#line 4564 "Page.c"
+#line 4582 "Page.c"
}
static void _page_on_update_actions_data_collection_contents_altered (DataCollection* _sender, GeeIterable* added, GeeIterable* removed, gpointer self) {
-#line 516 "/home/jens/Source/shotwell/src/Page.vala"
+#line 518 "/home/jens/Source/shotwell/src/Page.vala"
page_on_update_actions ((Page*) self);
-#line 4571 "Page.c"
+#line 4589 "Page.c"
}
@@ -4595,87 +4613,87 @@ static void page_attach_view_signals (Page* self) {
ViewCollection* _tmp18_ = NULL;
ViewCollection* _tmp19_ = NULL;
ViewCollection* _tmp20_ = NULL;
-#line 502 "/home/jens/Source/shotwell/src/Page.vala"
+#line 504 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 503 "/home/jens/Source/shotwell/src/Page.vala"
+#line 505 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->are_actions_attached;
-#line 503 "/home/jens/Source/shotwell/src/Page.vala"
+#line 505 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp0_) {
-#line 504 "/home/jens/Source/shotwell/src/Page.vala"
+#line 506 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 4607 "Page.c"
+#line 4625 "Page.c"
}
-#line 507 "/home/jens/Source/shotwell/src/Page.vala"
+#line 509 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = page_get_view (self);
-#line 507 "/home/jens/Source/shotwell/src/Page.vala"
+#line 509 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = _tmp1_;
-#line 507 "/home/jens/Source/shotwell/src/Page.vala"
+#line 509 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = view_collection_get_selected_count (_tmp2_);
-#line 507 "/home/jens/Source/shotwell/src/Page.vala"
+#line 509 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = _tmp3_;
-#line 507 "/home/jens/Source/shotwell/src/Page.vala"
+#line 509 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp2_);
-#line 507 "/home/jens/Source/shotwell/src/Page.vala"
+#line 509 "/home/jens/Source/shotwell/src/Page.vala"
selected_count = _tmp4_;
-#line 508 "/home/jens/Source/shotwell/src/Page.vala"
+#line 510 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = page_get_view (self);
-#line 508 "/home/jens/Source/shotwell/src/Page.vala"
+#line 510 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = _tmp5_;
-#line 508 "/home/jens/Source/shotwell/src/Page.vala"
+#line 510 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = data_collection_get_count (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, TYPE_DATA_COLLECTION, DataCollection));
-#line 508 "/home/jens/Source/shotwell/src/Page.vala"
+#line 510 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = _tmp7_;
-#line 508 "/home/jens/Source/shotwell/src/Page.vala"
+#line 510 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp6_);
-#line 508 "/home/jens/Source/shotwell/src/Page.vala"
+#line 510 "/home/jens/Source/shotwell/src/Page.vala"
count = _tmp8_;
-#line 509 "/home/jens/Source/shotwell/src/Page.vala"
+#line 511 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = selected_count;
-#line 509 "/home/jens/Source/shotwell/src/Page.vala"
+#line 511 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = count;
-#line 509 "/home/jens/Source/shotwell/src/Page.vala"
+#line 511 "/home/jens/Source/shotwell/src/Page.vala"
page_init_actions (self, _tmp9_, _tmp10_);
-#line 510 "/home/jens/Source/shotwell/src/Page.vala"
+#line 512 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = selected_count;
-#line 510 "/home/jens/Source/shotwell/src/Page.vala"
+#line 512 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = count;
-#line 510 "/home/jens/Source/shotwell/src/Page.vala"
+#line 512 "/home/jens/Source/shotwell/src/Page.vala"
page_update_actions (self, _tmp11_, _tmp12_);
-#line 513 "/home/jens/Source/shotwell/src/Page.vala"
+#line 515 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = page_get_view (self);
-#line 513 "/home/jens/Source/shotwell/src/Page.vala"
+#line 515 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = _tmp13_;
-#line 513 "/home/jens/Source/shotwell/src/Page.vala"
+#line 515 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_connect_object (_tmp14_, "items-state-changed", (GCallback) _page_on_update_actions_view_collection_items_state_changed, self, 0);
-#line 513 "/home/jens/Source/shotwell/src/Page.vala"
+#line 515 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp14_);
-#line 514 "/home/jens/Source/shotwell/src/Page.vala"
+#line 516 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = page_get_view (self);
-#line 514 "/home/jens/Source/shotwell/src/Page.vala"
+#line 516 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = _tmp15_;
-#line 514 "/home/jens/Source/shotwell/src/Page.vala"
+#line 516 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_connect_object (_tmp16_, "selection-group-altered", (GCallback) _page_on_update_actions_view_collection_selection_group_altered, self, 0);
-#line 514 "/home/jens/Source/shotwell/src/Page.vala"
+#line 516 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp16_);
-#line 515 "/home/jens/Source/shotwell/src/Page.vala"
+#line 517 "/home/jens/Source/shotwell/src/Page.vala"
_tmp17_ = page_get_view (self);
-#line 515 "/home/jens/Source/shotwell/src/Page.vala"
+#line 517 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = _tmp17_;
-#line 515 "/home/jens/Source/shotwell/src/Page.vala"
+#line 517 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_connect_object (_tmp18_, "items-visibility-changed", (GCallback) _page_on_update_actions_view_collection_items_visibility_changed, self, 0);
-#line 515 "/home/jens/Source/shotwell/src/Page.vala"
+#line 517 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp18_);
-#line 516 "/home/jens/Source/shotwell/src/Page.vala"
+#line 518 "/home/jens/Source/shotwell/src/Page.vala"
_tmp19_ = page_get_view (self);
-#line 516 "/home/jens/Source/shotwell/src/Page.vala"
+#line 518 "/home/jens/Source/shotwell/src/Page.vala"
_tmp20_ = _tmp19_;
-#line 516 "/home/jens/Source/shotwell/src/Page.vala"
+#line 518 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, TYPE_DATA_COLLECTION, DataCollection), "contents-altered", (GCallback) _page_on_update_actions_data_collection_contents_altered, self, 0);
-#line 516 "/home/jens/Source/shotwell/src/Page.vala"
- _data_collection_unref0 (_tmp20_);
#line 518 "/home/jens/Source/shotwell/src/Page.vala"
+ _data_collection_unref0 (_tmp20_);
+#line 520 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->are_actions_attached = TRUE;
-#line 4679 "Page.c"
+#line 4697 "Page.c"
}
@@ -4693,109 +4711,109 @@ static void page_detach_view_signals (Page* self) {
ViewCollection* _tmp10_ = NULL;
ViewCollection* _tmp11_ = NULL;
guint _tmp12_ = 0U;
-#line 522 "/home/jens/Source/shotwell/src/Page.vala"
+#line 524 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 523 "/home/jens/Source/shotwell/src/Page.vala"
+#line 525 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->are_actions_attached;
-#line 523 "/home/jens/Source/shotwell/src/Page.vala"
+#line 525 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp0_) {
-#line 524 "/home/jens/Source/shotwell/src/Page.vala"
+#line 526 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 4705 "Page.c"
+#line 4723 "Page.c"
}
-#line 526 "/home/jens/Source/shotwell/src/Page.vala"
+#line 528 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = page_get_view (self);
-#line 526 "/home/jens/Source/shotwell/src/Page.vala"
+#line 528 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = _tmp1_;
-#line 526 "/home/jens/Source/shotwell/src/Page.vala"
+#line 528 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_parse_name ("items-state-changed", TYPE_VIEW_COLLECTION, &_tmp3_, NULL, FALSE);
-#line 526 "/home/jens/Source/shotwell/src/Page.vala"
+#line 528 "/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_update_actions_view_collection_items_state_changed, self);
-#line 526 "/home/jens/Source/shotwell/src/Page.vala"
+#line 528 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp2_);
-#line 527 "/home/jens/Source/shotwell/src/Page.vala"
+#line 529 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = page_get_view (self);
-#line 527 "/home/jens/Source/shotwell/src/Page.vala"
+#line 529 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = _tmp4_;
-#line 527 "/home/jens/Source/shotwell/src/Page.vala"
+#line 529 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_parse_name ("selection-group-altered", TYPE_VIEW_COLLECTION, &_tmp6_, NULL, FALSE);
-#line 527 "/home/jens/Source/shotwell/src/Page.vala"
+#line 529 "/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) _page_on_update_actions_view_collection_selection_group_altered, self);
-#line 527 "/home/jens/Source/shotwell/src/Page.vala"
+#line 529 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp5_);
-#line 528 "/home/jens/Source/shotwell/src/Page.vala"
+#line 530 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = page_get_view (self);
-#line 528 "/home/jens/Source/shotwell/src/Page.vala"
+#line 530 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = _tmp7_;
-#line 528 "/home/jens/Source/shotwell/src/Page.vala"
+#line 530 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_parse_name ("items-visibility-changed", TYPE_VIEW_COLLECTION, &_tmp9_, NULL, FALSE);
-#line 528 "/home/jens/Source/shotwell/src/Page.vala"
+#line 530 "/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_update_actions_view_collection_items_visibility_changed, self);
-#line 528 "/home/jens/Source/shotwell/src/Page.vala"
+#line 530 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp8_);
-#line 529 "/home/jens/Source/shotwell/src/Page.vala"
+#line 531 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = page_get_view (self);
-#line 529 "/home/jens/Source/shotwell/src/Page.vala"
+#line 531 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = _tmp10_;
-#line 529 "/home/jens/Source/shotwell/src/Page.vala"
+#line 531 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_parse_name ("contents-altered", TYPE_DATA_COLLECTION, &_tmp12_, NULL, FALSE);
-#line 529 "/home/jens/Source/shotwell/src/Page.vala"
+#line 531 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, TYPE_DATA_COLLECTION, DataCollection), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp12_, 0, NULL, (GCallback) _page_on_update_actions_data_collection_contents_altered, self);
-#line 529 "/home/jens/Source/shotwell/src/Page.vala"
- _data_collection_unref0 (_tmp11_);
#line 531 "/home/jens/Source/shotwell/src/Page.vala"
+ _data_collection_unref0 (_tmp11_);
+#line 533 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->are_actions_attached = FALSE;
-#line 4749 "Page.c"
+#line 4767 "Page.c"
}
static void _page_on_update_actions_on_idle_one_shot_callback (gpointer self) {
-#line 536 "/home/jens/Source/shotwell/src/Page.vala"
+#line 538 "/home/jens/Source/shotwell/src/Page.vala"
page_on_update_actions_on_idle ((Page*) self);
-#line 4756 "Page.c"
+#line 4774 "Page.c"
}
static void page_on_update_actions (Page* self) {
OneShotScheduler* _tmp0_ = NULL;
OneShotScheduler* _tmp6_ = NULL;
-#line 534 "/home/jens/Source/shotwell/src/Page.vala"
+#line 536 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 535 "/home/jens/Source/shotwell/src/Page.vala"
+#line 537 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->update_actions_scheduler;
-#line 535 "/home/jens/Source/shotwell/src/Page.vala"
+#line 537 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp0_ == NULL) {
-#line 4769 "Page.c"
+#line 4787 "Page.c"
gchar* _tmp1_ = NULL;
gchar* _tmp2_ = NULL;
gchar* _tmp3_ = NULL;
gchar* _tmp4_ = NULL;
OneShotScheduler* _tmp5_ = NULL;
-#line 536 "/home/jens/Source/shotwell/src/Page.vala"
+#line 538 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = page_get_page_name (self);
-#line 536 "/home/jens/Source/shotwell/src/Page.vala"
+#line 538 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = _tmp1_;
-#line 536 "/home/jens/Source/shotwell/src/Page.vala"
+#line 538 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = g_strdup_printf ("Update actions scheduler for %s", _tmp2_);
-#line 536 "/home/jens/Source/shotwell/src/Page.vala"
+#line 538 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = _tmp3_;
-#line 536 "/home/jens/Source/shotwell/src/Page.vala"
+#line 538 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = one_shot_scheduler_new (_tmp4_, _page_on_update_actions_on_idle_one_shot_callback, self);
-#line 536 "/home/jens/Source/shotwell/src/Page.vala"
+#line 538 "/home/jens/Source/shotwell/src/Page.vala"
_one_shot_scheduler_unref0 (self->priv->update_actions_scheduler);
-#line 536 "/home/jens/Source/shotwell/src/Page.vala"
+#line 538 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->update_actions_scheduler = _tmp5_;
-#line 536 "/home/jens/Source/shotwell/src/Page.vala"
+#line 538 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (_tmp4_);
-#line 536 "/home/jens/Source/shotwell/src/Page.vala"
+#line 538 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (_tmp2_);
-#line 4793 "Page.c"
+#line 4811 "Page.c"
}
-#line 541 "/home/jens/Source/shotwell/src/Page.vala"
+#line 543 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = self->priv->update_actions_scheduler;
-#line 541 "/home/jens/Source/shotwell/src/Page.vala"
+#line 543 "/home/jens/Source/shotwell/src/Page.vala"
one_shot_scheduler_at_priority_idle (_tmp6_, G_PRIORITY_LOW);
-#line 4799 "Page.c"
+#line 4817 "Page.c"
}
@@ -4807,35 +4825,35 @@ static void page_on_update_actions_on_idle (Page* self) {
ViewCollection* _tmp4_ = NULL;
ViewCollection* _tmp5_ = NULL;
gint _tmp6_ = 0;
-#line 544 "/home/jens/Source/shotwell/src/Page.vala"
+#line 546 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 545 "/home/jens/Source/shotwell/src/Page.vala"
+#line 547 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->is_destroyed;
-#line 545 "/home/jens/Source/shotwell/src/Page.vala"
+#line 547 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp0_) {
-#line 546 "/home/jens/Source/shotwell/src/Page.vala"
+#line 548 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 4819 "Page.c"
+#line 4837 "Page.c"
}
-#line 548 "/home/jens/Source/shotwell/src/Page.vala"
+#line 550 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = page_get_view (self);
-#line 548 "/home/jens/Source/shotwell/src/Page.vala"
+#line 550 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = _tmp1_;
-#line 548 "/home/jens/Source/shotwell/src/Page.vala"
+#line 550 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = view_collection_get_selected_count (_tmp2_);
-#line 548 "/home/jens/Source/shotwell/src/Page.vala"
+#line 550 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = page_get_view (self);
-#line 548 "/home/jens/Source/shotwell/src/Page.vala"
+#line 550 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = _tmp4_;
-#line 548 "/home/jens/Source/shotwell/src/Page.vala"
+#line 550 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = data_collection_get_count (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, TYPE_DATA_COLLECTION, DataCollection));
-#line 548 "/home/jens/Source/shotwell/src/Page.vala"
+#line 550 "/home/jens/Source/shotwell/src/Page.vala"
page_update_actions (self, _tmp3_, _tmp6_);
-#line 548 "/home/jens/Source/shotwell/src/Page.vala"
+#line 550 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp5_);
-#line 548 "/home/jens/Source/shotwell/src/Page.vala"
+#line 550 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp2_);
-#line 4839 "Page.c"
+#line 4857 "Page.c"
}
@@ -4844,34 +4862,34 @@ static void page_init_load_ui (Page* self, const gchar* ui_filename) {
const gchar* _tmp0_ = NULL;
GFile* _tmp1_ = NULL;
GError * _inner_error_ = NULL;
-#line 551 "/home/jens/Source/shotwell/src/Page.vala"
+#line 553 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 551 "/home/jens/Source/shotwell/src/Page.vala"
+#line 553 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (ui_filename != NULL);
-#line 552 "/home/jens/Source/shotwell/src/Page.vala"
+#line 554 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = ui_filename;
-#line 552 "/home/jens/Source/shotwell/src/Page.vala"
+#line 554 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = resources_get_ui (_tmp0_);
-#line 552 "/home/jens/Source/shotwell/src/Page.vala"
+#line 554 "/home/jens/Source/shotwell/src/Page.vala"
ui_file = _tmp1_;
-#line 4858 "Page.c"
+#line 4876 "Page.c"
{
GtkBuilder* _tmp2_ = NULL;
gchar* _tmp3_ = NULL;
gchar* _tmp4_ = NULL;
-#line 555 "/home/jens/Source/shotwell/src/Page.vala"
+#line 557 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->builder;
-#line 555 "/home/jens/Source/shotwell/src/Page.vala"
+#line 557 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = g_file_get_path (ui_file);
-#line 555 "/home/jens/Source/shotwell/src/Page.vala"
+#line 557 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = _tmp3_;
-#line 555 "/home/jens/Source/shotwell/src/Page.vala"
+#line 557 "/home/jens/Source/shotwell/src/Page.vala"
gtk_builder_add_from_file (_tmp2_, _tmp4_, &_inner_error_);
-#line 555 "/home/jens/Source/shotwell/src/Page.vala"
+#line 557 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (_tmp4_);
-#line 555 "/home/jens/Source/shotwell/src/Page.vala"
+#line 557 "/home/jens/Source/shotwell/src/Page.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 4875 "Page.c"
+#line 4893 "Page.c"
goto __catch251_g_error;
}
}
@@ -4887,72 +4905,72 @@ static void page_init_load_ui (Page* self, const gchar* ui_filename) {
gchar* _tmp10_ = NULL;
Application* _tmp11_ = NULL;
Application* _tmp12_ = NULL;
-#line 554 "/home/jens/Source/shotwell/src/Page.vala"
+#line 556 "/home/jens/Source/shotwell/src/Page.vala"
err = _inner_error_;
-#line 554 "/home/jens/Source/shotwell/src/Page.vala"
+#line 556 "/home/jens/Source/shotwell/src/Page.vala"
_inner_error_ = NULL;
-#line 557 "/home/jens/Source/shotwell/src/Page.vala"
+#line 559 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = g_file_get_path (ui_file);
-#line 557 "/home/jens/Source/shotwell/src/Page.vala"
+#line 559 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = _tmp5_;
-#line 557 "/home/jens/Source/shotwell/src/Page.vala"
+#line 559 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = err;
-#line 557 "/home/jens/Source/shotwell/src/Page.vala"
+#line 559 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = _tmp7_->message;
-#line 557 "/home/jens/Source/shotwell/src/Page.vala"
+#line 559 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = g_strdup_printf ("Error loading UI file %s: %s", _tmp6_, _tmp8_);
-#line 557 "/home/jens/Source/shotwell/src/Page.vala"
+#line 559 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = _tmp9_;
-#line 557 "/home/jens/Source/shotwell/src/Page.vala"
+#line 559 "/home/jens/Source/shotwell/src/Page.vala"
app_window_error_message (_tmp10_, NULL);
-#line 557 "/home/jens/Source/shotwell/src/Page.vala"
+#line 559 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (_tmp10_);
-#line 557 "/home/jens/Source/shotwell/src/Page.vala"
- _g_free0 (_tmp6_);
#line 559 "/home/jens/Source/shotwell/src/Page.vala"
+ _g_free0 (_tmp6_);
+#line 561 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = application_get_instance ();
-#line 559 "/home/jens/Source/shotwell/src/Page.vala"
+#line 561 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = _tmp11_;
-#line 559 "/home/jens/Source/shotwell/src/Page.vala"
+#line 561 "/home/jens/Source/shotwell/src/Page.vala"
application_panic (_tmp12_);
-#line 559 "/home/jens/Source/shotwell/src/Page.vala"
+#line 561 "/home/jens/Source/shotwell/src/Page.vala"
_application_unref0 (_tmp12_);
-#line 554 "/home/jens/Source/shotwell/src/Page.vala"
+#line 556 "/home/jens/Source/shotwell/src/Page.vala"
_g_error_free0 (err);
-#line 4923 "Page.c"
+#line 4941 "Page.c"
}
__finally251:
-#line 554 "/home/jens/Source/shotwell/src/Page.vala"
+#line 556 "/home/jens/Source/shotwell/src/Page.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 554 "/home/jens/Source/shotwell/src/Page.vala"
+#line 556 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (ui_file);
-#line 554 "/home/jens/Source/shotwell/src/Page.vala"
+#line 556 "/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 554 "/home/jens/Source/shotwell/src/Page.vala"
+#line 556 "/home/jens/Source/shotwell/src/Page.vala"
g_clear_error (&_inner_error_);
-#line 554 "/home/jens/Source/shotwell/src/Page.vala"
+#line 556 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 4936 "Page.c"
+#line 4954 "Page.c"
}
-#line 551 "/home/jens/Source/shotwell/src/Page.vala"
+#line 553 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (ui_file);
-#line 4940 "Page.c"
+#line 4958 "Page.c"
}
static void page_real_init_collect_ui_filenames (Page* self, GeeList* ui_filenames) {
-#line 566 "/home/jens/Source/shotwell/src/Page.vala"
+#line 568 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (GEE_IS_LIST (ui_filenames));
-#line 4947 "Page.c"
+#line 4965 "Page.c"
}
void page_init_collect_ui_filenames (Page* self, GeeList* ui_filenames) {
-#line 566 "/home/jens/Source/shotwell/src/Page.vala"
+#line 568 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 566 "/home/jens/Source/shotwell/src/Page.vala"
+#line 568 "/home/jens/Source/shotwell/src/Page.vala"
PAGE_GET_CLASS (self)->init_collect_ui_filenames (self, ui_filenames);
-#line 4956 "Page.c"
+#line 4974 "Page.c"
}
@@ -4961,32 +4979,32 @@ static InjectionGroup** page_real_init_collect_injection_groups (Page* self, int
InjectionGroup** _tmp0_ = NULL;
InjectionGroup** _tmp1_ = NULL;
gint _tmp1__length1 = 0;
-#line 572 "/home/jens/Source/shotwell/src/Page.vala"
+#line 574 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = g_new0 (InjectionGroup*, 0 + 1);
-#line 572 "/home/jens/Source/shotwell/src/Page.vala"
+#line 574 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _tmp0_;
-#line 572 "/home/jens/Source/shotwell/src/Page.vala"
+#line 574 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1__length1 = 0;
-#line 572 "/home/jens/Source/shotwell/src/Page.vala"
+#line 574 "/home/jens/Source/shotwell/src/Page.vala"
if (result_length1) {
-#line 572 "/home/jens/Source/shotwell/src/Page.vala"
+#line 574 "/home/jens/Source/shotwell/src/Page.vala"
*result_length1 = _tmp1__length1;
-#line 4975 "Page.c"
+#line 4993 "Page.c"
}
-#line 572 "/home/jens/Source/shotwell/src/Page.vala"
+#line 574 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp1_;
-#line 572 "/home/jens/Source/shotwell/src/Page.vala"
+#line 574 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 4981 "Page.c"
+#line 4999 "Page.c"
}
InjectionGroup** page_init_collect_injection_groups (Page* self, int* result_length1) {
-#line 571 "/home/jens/Source/shotwell/src/Page.vala"
+#line 573 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), NULL);
-#line 571 "/home/jens/Source/shotwell/src/Page.vala"
+#line 573 "/home/jens/Source/shotwell/src/Page.vala"
return PAGE_GET_CLASS (self)->init_collect_injection_groups (self, result_length1);
-#line 4990 "Page.c"
+#line 5008 "Page.c"
}
@@ -4995,11 +5013,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 577 "/home/jens/Source/shotwell/src/Page.vala"
+#line 579 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 577 "/home/jens/Source/shotwell/src/Page.vala"
+#line 579 "/home/jens/Source/shotwell/src/Page.vala"
PAGE_GET_CLASS (self)->init_actions (self, selected_count, count);
-#line 5003 "Page.c"
+#line 5021 "Page.c"
}
@@ -5008,48 +5026,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 583 "/home/jens/Source/shotwell/src/Page.vala"
+#line 585 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 583 "/home/jens/Source/shotwell/src/Page.vala"
+#line 585 "/home/jens/Source/shotwell/src/Page.vala"
PAGE_GET_CLASS (self)->update_actions (self, selected_count, count);
-#line 5016 "Page.c"
+#line 5034 "Page.c"
}
static void _page_on_drag_begin_gtk_widget_drag_begin (GtkWidget* _sender, GdkDragContext* context, gpointer self) {
-#line 598 "/home/jens/Source/shotwell/src/Page.vala"
+#line 600 "/home/jens/Source/shotwell/src/Page.vala"
page_on_drag_begin ((Page*) self, context);
-#line 5023 "Page.c"
+#line 5041 "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 599 "/home/jens/Source/shotwell/src/Page.vala"
+#line 601 "/home/jens/Source/shotwell/src/Page.vala"
page_on_drag_data_get ((Page*) self, context, selection_data, info, time_);
-#line 5030 "Page.c"
+#line 5048 "Page.c"
}
static void _page_on_drag_data_delete_gtk_widget_drag_data_delete (GtkWidget* _sender, GdkDragContext* context, gpointer self) {
-#line 600 "/home/jens/Source/shotwell/src/Page.vala"
+#line 602 "/home/jens/Source/shotwell/src/Page.vala"
page_on_drag_data_delete ((Page*) self, context);
-#line 5037 "Page.c"
+#line 5055 "Page.c"
}
static void _page_on_drag_end_gtk_widget_drag_end (GtkWidget* _sender, GdkDragContext* context, gpointer self) {
-#line 601 "/home/jens/Source/shotwell/src/Page.vala"
+#line 603 "/home/jens/Source/shotwell/src/Page.vala"
page_on_drag_end ((Page*) self, context);
-#line 5044 "Page.c"
+#line 5062 "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 602 "/home/jens/Source/shotwell/src/Page.vala"
+#line 604 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 5053 "Page.c"
+#line 5071 "Page.c"
}
@@ -5065,53 +5083,53 @@ void page_enable_drag_source (Page* self, GdkDragAction actions, GtkTargetEntry*
GtkWidget* _tmp7_ = NULL;
GtkWidget* _tmp8_ = NULL;
GtkWidget* _tmp9_ = NULL;
-#line 588 "/home/jens/Source/shotwell/src/Page.vala"
+#line 590 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 589 "/home/jens/Source/shotwell/src/Page.vala"
+#line 591 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->dnd_enabled;
-#line 589 "/home/jens/Source/shotwell/src/Page.vala"
+#line 591 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp0_) {
-#line 590 "/home/jens/Source/shotwell/src/Page.vala"
+#line 592 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 5077 "Page.c"
+#line 5095 "Page.c"
}
-#line 592 "/home/jens/Source/shotwell/src/Page.vala"
+#line 594 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = self->priv->event_source;
-#line 592 "/home/jens/Source/shotwell/src/Page.vala"
- _vala_assert (_tmp1_ != NULL, "event_source != null");
#line 594 "/home/jens/Source/shotwell/src/Page.vala"
+ _vala_assert (_tmp1_ != NULL, "event_source != null");
+#line 596 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->priv->event_source;
-#line 594 "/home/jens/Source/shotwell/src/Page.vala"
+#line 596 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = source_target_entries;
-#line 594 "/home/jens/Source/shotwell/src/Page.vala"
+#line 596 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3__length1 = source_target_entries_length1;
-#line 594 "/home/jens/Source/shotwell/src/Page.vala"
+#line 596 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = actions;
-#line 594 "/home/jens/Source/shotwell/src/Page.vala"
+#line 596 "/home/jens/Source/shotwell/src/Page.vala"
gtk_drag_source_set (_tmp2_, GDK_BUTTON1_MASK, _tmp3_, _tmp3__length1, _tmp4_);
-#line 598 "/home/jens/Source/shotwell/src/Page.vala"
+#line 600 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = self->priv->event_source;
-#line 598 "/home/jens/Source/shotwell/src/Page.vala"
+#line 600 "/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 599 "/home/jens/Source/shotwell/src/Page.vala"
+#line 601 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = self->priv->event_source;
-#line 599 "/home/jens/Source/shotwell/src/Page.vala"
+#line 601 "/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 600 "/home/jens/Source/shotwell/src/Page.vala"
+#line 602 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = self->priv->event_source;
-#line 600 "/home/jens/Source/shotwell/src/Page.vala"
+#line 602 "/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 601 "/home/jens/Source/shotwell/src/Page.vala"
+#line 603 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = self->priv->event_source;
-#line 601 "/home/jens/Source/shotwell/src/Page.vala"
+#line 603 "/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 602 "/home/jens/Source/shotwell/src/Page.vala"
+#line 604 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = self->priv->event_source;
-#line 602 "/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 604 "/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 606 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->dnd_enabled = TRUE;
-#line 5115 "Page.c"
+#line 5133 "Page.c"
}
@@ -5129,86 +5147,86 @@ void page_disable_drag_source (Page* self) {
GtkWidget* _tmp10_ = NULL;
guint _tmp11_ = 0U;
GtkWidget* _tmp12_ = NULL;
-#line 607 "/home/jens/Source/shotwell/src/Page.vala"
+#line 609 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 608 "/home/jens/Source/shotwell/src/Page.vala"
+#line 610 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->dnd_enabled;
-#line 608 "/home/jens/Source/shotwell/src/Page.vala"
+#line 610 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp0_) {
-#line 609 "/home/jens/Source/shotwell/src/Page.vala"
+#line 611 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 5141 "Page.c"
+#line 5159 "Page.c"
}
-#line 611 "/home/jens/Source/shotwell/src/Page.vala"
+#line 613 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = self->priv->event_source;
-#line 611 "/home/jens/Source/shotwell/src/Page.vala"
- _vala_assert (_tmp1_ != NULL, "event_source != null");
#line 613 "/home/jens/Source/shotwell/src/Page.vala"
+ _vala_assert (_tmp1_ != NULL, "event_source != null");
+#line 615 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->priv->event_source;
-#line 613 "/home/jens/Source/shotwell/src/Page.vala"
+#line 615 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_parse_name ("drag-begin", gtk_widget_get_type (), &_tmp3_, NULL, FALSE);
-#line 613 "/home/jens/Source/shotwell/src/Page.vala"
+#line 615 "/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 614 "/home/jens/Source/shotwell/src/Page.vala"
+#line 616 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = self->priv->event_source;
-#line 614 "/home/jens/Source/shotwell/src/Page.vala"
+#line 616 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_parse_name ("drag-data-get", gtk_widget_get_type (), &_tmp5_, NULL, FALSE);
-#line 614 "/home/jens/Source/shotwell/src/Page.vala"
+#line 616 "/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 615 "/home/jens/Source/shotwell/src/Page.vala"
+#line 617 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = self->priv->event_source;
-#line 615 "/home/jens/Source/shotwell/src/Page.vala"
+#line 617 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_parse_name ("drag-data-delete", gtk_widget_get_type (), &_tmp7_, NULL, FALSE);
-#line 615 "/home/jens/Source/shotwell/src/Page.vala"
+#line 617 "/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 616 "/home/jens/Source/shotwell/src/Page.vala"
+#line 618 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = self->priv->event_source;
-#line 616 "/home/jens/Source/shotwell/src/Page.vala"
+#line 618 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_parse_name ("drag-end", gtk_widget_get_type (), &_tmp9_, NULL, FALSE);
-#line 616 "/home/jens/Source/shotwell/src/Page.vala"
+#line 618 "/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 617 "/home/jens/Source/shotwell/src/Page.vala"
+#line 619 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = self->priv->event_source;
-#line 617 "/home/jens/Source/shotwell/src/Page.vala"
+#line 619 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_parse_name ("drag-failed", gtk_widget_get_type (), &_tmp11_, NULL, FALSE);
-#line 617 "/home/jens/Source/shotwell/src/Page.vala"
+#line 619 "/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 618 "/home/jens/Source/shotwell/src/Page.vala"
+#line 620 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = self->priv->event_source;
-#line 618 "/home/jens/Source/shotwell/src/Page.vala"
- gtk_drag_source_unset (_tmp12_);
#line 620 "/home/jens/Source/shotwell/src/Page.vala"
+ gtk_drag_source_unset (_tmp12_);
+#line 622 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->dnd_enabled = FALSE;
-#line 5183 "Page.c"
+#line 5201 "Page.c"
}
gboolean page_is_dnd_enabled (Page* self) {
gboolean result = FALSE;
gboolean _tmp0_ = FALSE;
-#line 623 "/home/jens/Source/shotwell/src/Page.vala"
+#line 625 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 624 "/home/jens/Source/shotwell/src/Page.vala"
+#line 626 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->dnd_enabled;
-#line 624 "/home/jens/Source/shotwell/src/Page.vala"
+#line 626 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp0_;
-#line 624 "/home/jens/Source/shotwell/src/Page.vala"
+#line 626 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 5198 "Page.c"
+#line 5216 "Page.c"
}
static void page_on_drag_begin (Page* self, GdkDragContext* context) {
GdkDragContext* _tmp0_ = NULL;
-#line 627 "/home/jens/Source/shotwell/src/Page.vala"
+#line 629 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 627 "/home/jens/Source/shotwell/src/Page.vala"
+#line 629 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (GDK_IS_DRAG_CONTEXT (context));
-#line 628 "/home/jens/Source/shotwell/src/Page.vala"
+#line 630 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = context;
-#line 628 "/home/jens/Source/shotwell/src/Page.vala"
+#line 630 "/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 5212 "Page.c"
+#line 5230 "Page.c"
}
@@ -5217,72 +5235,72 @@ static void page_on_drag_data_get (Page* self, GdkDragContext* context, GtkSelec
GtkSelectionData* _tmp1_ = NULL;
guint _tmp2_ = 0U;
guint _tmp3_ = 0U;
-#line 631 "/home/jens/Source/shotwell/src/Page.vala"
+#line 633 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 631 "/home/jens/Source/shotwell/src/Page.vala"
+#line 633 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (GDK_IS_DRAG_CONTEXT (context));
-#line 631 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_if_fail (selection_data != NULL);
#line 633 "/home/jens/Source/shotwell/src/Page.vala"
+ g_return_if_fail (selection_data != NULL);
+#line 635 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = context;
-#line 633 "/home/jens/Source/shotwell/src/Page.vala"
+#line 635 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = selection_data;
-#line 633 "/home/jens/Source/shotwell/src/Page.vala"
+#line 635 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = info;
-#line 633 "/home/jens/Source/shotwell/src/Page.vala"
+#line 635 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = time;
-#line 633 "/home/jens/Source/shotwell/src/Page.vala"
+#line 635 "/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 5237 "Page.c"
+#line 5255 "Page.c"
}
static void page_on_drag_data_delete (Page* self, GdkDragContext* context) {
GdkDragContext* _tmp0_ = NULL;
-#line 636 "/home/jens/Source/shotwell/src/Page.vala"
+#line 638 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 636 "/home/jens/Source/shotwell/src/Page.vala"
+#line 638 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (GDK_IS_DRAG_CONTEXT (context));
-#line 637 "/home/jens/Source/shotwell/src/Page.vala"
+#line 639 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = context;
-#line 637 "/home/jens/Source/shotwell/src/Page.vala"
+#line 639 "/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 5251 "Page.c"
+#line 5269 "Page.c"
}
static void page_on_drag_end (Page* self, GdkDragContext* context) {
GdkDragContext* _tmp0_ = NULL;
-#line 640 "/home/jens/Source/shotwell/src/Page.vala"
+#line 642 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 640 "/home/jens/Source/shotwell/src/Page.vala"
+#line 642 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (GDK_IS_DRAG_CONTEXT (context));
-#line 641 "/home/jens/Source/shotwell/src/Page.vala"
+#line 643 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = context;
-#line 641 "/home/jens/Source/shotwell/src/Page.vala"
+#line 643 "/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 5265 "Page.c"
+#line 5283 "Page.c"
}
static gboolean page_real_source_drag_failed (Page* self, GdkDragContext* context, GtkDragResult drag_result) {
gboolean result = FALSE;
-#line 648 "/home/jens/Source/shotwell/src/Page.vala"
+#line 650 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (GDK_IS_DRAG_CONTEXT (context), FALSE);
-#line 649 "/home/jens/Source/shotwell/src/Page.vala"
+#line 651 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 649 "/home/jens/Source/shotwell/src/Page.vala"
+#line 651 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 5277 "Page.c"
+#line 5295 "Page.c"
}
gboolean page_source_drag_failed (Page* self, GdkDragContext* context, GtkDragResult drag_result) {
-#line 648 "/home/jens/Source/shotwell/src/Page.vala"
+#line 650 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 648 "/home/jens/Source/shotwell/src/Page.vala"
+#line 650 "/home/jens/Source/shotwell/src/Page.vala"
return PAGE_GET_CLASS (self)->source_drag_failed (self, context, drag_result);
-#line 5286 "Page.c"
+#line 5304 "Page.c"
}
@@ -5291,21 +5309,21 @@ static gboolean page_on_drag_failed (Page* self, GdkDragContext* context, GtkDra
GdkDragContext* _tmp0_ = NULL;
GtkDragResult _tmp1_ = 0;
gboolean _tmp2_ = FALSE;
-#line 652 "/home/jens/Source/shotwell/src/Page.vala"
+#line 654 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 652 "/home/jens/Source/shotwell/src/Page.vala"
+#line 654 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (GDK_IS_DRAG_CONTEXT (context), FALSE);
-#line 653 "/home/jens/Source/shotwell/src/Page.vala"
+#line 655 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = context;
-#line 653 "/home/jens/Source/shotwell/src/Page.vala"
+#line 655 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = drag_result;
-#line 653 "/home/jens/Source/shotwell/src/Page.vala"
+#line 655 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = page_source_drag_failed (self, _tmp0_, _tmp1_);
-#line 653 "/home/jens/Source/shotwell/src/Page.vala"
+#line 655 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp2_;
-#line 653 "/home/jens/Source/shotwell/src/Page.vala"
+#line 655 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 5309 "Page.c"
+#line 5327 "Page.c"
}
@@ -5334,291 +5352,291 @@ gboolean page_get_event_source_pointer (Page* self, gint* x, gint* y, GdkModifie
GdkPoint _tmp20_ = {0};
gint _tmp21_ = 0;
gint _tmp22_ = 0;
-#line 660 "/home/jens/Source/shotwell/src/Page.vala"
+#line 662 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 661 "/home/jens/Source/shotwell/src/Page.vala"
+#line 663 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->event_source;
-#line 661 "/home/jens/Source/shotwell/src/Page.vala"
+#line 663 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp0_ == NULL) {
-#line 662 "/home/jens/Source/shotwell/src/Page.vala"
+#line 664 "/home/jens/Source/shotwell/src/Page.vala"
_vala_x = 0;
-#line 663 "/home/jens/Source/shotwell/src/Page.vala"
+#line 665 "/home/jens/Source/shotwell/src/Page.vala"
_vala_y = 0;
-#line 664 "/home/jens/Source/shotwell/src/Page.vala"
- _vala_mask = 0;
#line 666 "/home/jens/Source/shotwell/src/Page.vala"
+ _vala_mask = 0;
+#line 668 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 666 "/home/jens/Source/shotwell/src/Page.vala"
+#line 668 "/home/jens/Source/shotwell/src/Page.vala"
if (x) {
-#line 666 "/home/jens/Source/shotwell/src/Page.vala"
+#line 668 "/home/jens/Source/shotwell/src/Page.vala"
*x = _vala_x;
-#line 5356 "Page.c"
+#line 5374 "Page.c"
}
-#line 666 "/home/jens/Source/shotwell/src/Page.vala"
+#line 668 "/home/jens/Source/shotwell/src/Page.vala"
if (y) {
-#line 666 "/home/jens/Source/shotwell/src/Page.vala"
+#line 668 "/home/jens/Source/shotwell/src/Page.vala"
*y = _vala_y;
-#line 5362 "Page.c"
+#line 5380 "Page.c"
}
-#line 666 "/home/jens/Source/shotwell/src/Page.vala"
+#line 668 "/home/jens/Source/shotwell/src/Page.vala"
if (mask) {
-#line 666 "/home/jens/Source/shotwell/src/Page.vala"
+#line 668 "/home/jens/Source/shotwell/src/Page.vala"
*mask = _vala_mask;
-#line 5368 "Page.c"
+#line 5386 "Page.c"
}
-#line 666 "/home/jens/Source/shotwell/src/Page.vala"
+#line 668 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 5372 "Page.c"
+#line 5390 "Page.c"
}
-#line 669 "/home/jens/Source/shotwell/src/Page.vala"
+#line 671 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = self->priv->event_source;
-#line 669 "/home/jens/Source/shotwell/src/Page.vala"
+#line 671 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = gtk_widget_get_window (_tmp1_);
-#line 669 "/home/jens/Source/shotwell/src/Page.vala"
+#line 671 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = gdk_display_get_default ();
-#line 669 "/home/jens/Source/shotwell/src/Page.vala"
+#line 671 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = gdk_display_get_device_manager (_tmp3_);
-#line 669 "/home/jens/Source/shotwell/src/Page.vala"
+#line 671 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = gdk_device_manager_get_client_pointer (_tmp4_);
-#line 669 "/home/jens/Source/shotwell/src/Page.vala"
+#line 671 "/home/jens/Source/shotwell/src/Page.vala"
gdk_window_get_device_position (_tmp2_, _tmp5_, &_tmp6_, &_tmp7_, &_tmp8_);
-#line 669 "/home/jens/Source/shotwell/src/Page.vala"
+#line 671 "/home/jens/Source/shotwell/src/Page.vala"
_vala_x = _tmp6_;
-#line 669 "/home/jens/Source/shotwell/src/Page.vala"
+#line 671 "/home/jens/Source/shotwell/src/Page.vala"
_vala_y = _tmp7_;
-#line 669 "/home/jens/Source/shotwell/src/Page.vala"
+#line 671 "/home/jens/Source/shotwell/src/Page.vala"
_vala_mask = _tmp8_;
-#line 672 "/home/jens/Source/shotwell/src/Page.vala"
+#line 674 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = self->priv->last_down;
-#line 672 "/home/jens/Source/shotwell/src/Page.vala"
+#line 674 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = _tmp10_.x;
-#line 672 "/home/jens/Source/shotwell/src/Page.vala"
+#line 674 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp11_ < 0) {
-#line 672 "/home/jens/Source/shotwell/src/Page.vala"
+#line 674 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = TRUE;
-#line 5400 "Page.c"
+#line 5418 "Page.c"
} else {
GdkPoint _tmp12_ = {0};
gint _tmp13_ = 0;
-#line 672 "/home/jens/Source/shotwell/src/Page.vala"
+#line 674 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = self->priv->last_down;
-#line 672 "/home/jens/Source/shotwell/src/Page.vala"
+#line 674 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = _tmp12_.y;
-#line 672 "/home/jens/Source/shotwell/src/Page.vala"
+#line 674 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = _tmp13_ < 0;
-#line 5410 "Page.c"
+#line 5428 "Page.c"
}
-#line 672 "/home/jens/Source/shotwell/src/Page.vala"
+#line 674 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp9_) {
-#line 673 "/home/jens/Source/shotwell/src/Page.vala"
+#line 675 "/home/jens/Source/shotwell/src/Page.vala"
result = TRUE;
-#line 673 "/home/jens/Source/shotwell/src/Page.vala"
+#line 675 "/home/jens/Source/shotwell/src/Page.vala"
if (x) {
-#line 673 "/home/jens/Source/shotwell/src/Page.vala"
+#line 675 "/home/jens/Source/shotwell/src/Page.vala"
*x = _vala_x;
-#line 5420 "Page.c"
+#line 5438 "Page.c"
}
-#line 673 "/home/jens/Source/shotwell/src/Page.vala"
+#line 675 "/home/jens/Source/shotwell/src/Page.vala"
if (y) {
-#line 673 "/home/jens/Source/shotwell/src/Page.vala"
+#line 675 "/home/jens/Source/shotwell/src/Page.vala"
*y = _vala_y;
-#line 5426 "Page.c"
+#line 5444 "Page.c"
}
-#line 673 "/home/jens/Source/shotwell/src/Page.vala"
+#line 675 "/home/jens/Source/shotwell/src/Page.vala"
if (mask) {
-#line 673 "/home/jens/Source/shotwell/src/Page.vala"
+#line 675 "/home/jens/Source/shotwell/src/Page.vala"
*mask = _vala_mask;
-#line 5432 "Page.c"
+#line 5450 "Page.c"
}
-#line 673 "/home/jens/Source/shotwell/src/Page.vala"
+#line 675 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 5436 "Page.c"
+#line 5454 "Page.c"
}
-#line 679 "/home/jens/Source/shotwell/src/Page.vala"
+#line 681 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = _vala_x;
-#line 679 "/home/jens/Source/shotwell/src/Page.vala"
+#line 681 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = self->priv->last_down;
-#line 679 "/home/jens/Source/shotwell/src/Page.vala"
+#line 681 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = _tmp15_.x;
-#line 679 "/home/jens/Source/shotwell/src/Page.vala"
+#line 681 "/home/jens/Source/shotwell/src/Page.vala"
_tmp17_ = abs (_tmp14_ - _tmp16_);
-#line 679 "/home/jens/Source/shotwell/src/Page.vala"
+#line 681 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp17_ >= 0x7FFF) {
-#line 5448 "Page.c"
+#line 5466 "Page.c"
gint _tmp18_ = 0;
-#line 680 "/home/jens/Source/shotwell/src/Page.vala"
+#line 682 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = _vala_x;
-#line 680 "/home/jens/Source/shotwell/src/Page.vala"
+#line 682 "/home/jens/Source/shotwell/src/Page.vala"
_vala_x = _tmp18_ + 0xFFFF;
-#line 5454 "Page.c"
+#line 5472 "Page.c"
}
-#line 682 "/home/jens/Source/shotwell/src/Page.vala"
+#line 684 "/home/jens/Source/shotwell/src/Page.vala"
_tmp19_ = _vala_y;
-#line 682 "/home/jens/Source/shotwell/src/Page.vala"
+#line 684 "/home/jens/Source/shotwell/src/Page.vala"
_tmp20_ = self->priv->last_down;
-#line 682 "/home/jens/Source/shotwell/src/Page.vala"
+#line 684 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = _tmp20_.y;
-#line 682 "/home/jens/Source/shotwell/src/Page.vala"
+#line 684 "/home/jens/Source/shotwell/src/Page.vala"
_tmp22_ = abs (_tmp19_ - _tmp21_);
-#line 682 "/home/jens/Source/shotwell/src/Page.vala"
+#line 684 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp22_ >= 0x7FFF) {
-#line 5466 "Page.c"
+#line 5484 "Page.c"
gint _tmp23_ = 0;
-#line 683 "/home/jens/Source/shotwell/src/Page.vala"
+#line 685 "/home/jens/Source/shotwell/src/Page.vala"
_tmp23_ = _vala_y;
-#line 683 "/home/jens/Source/shotwell/src/Page.vala"
+#line 685 "/home/jens/Source/shotwell/src/Page.vala"
_vala_y = _tmp23_ + 0xFFFF;
-#line 5472 "Page.c"
+#line 5490 "Page.c"
}
-#line 685 "/home/jens/Source/shotwell/src/Page.vala"
+#line 687 "/home/jens/Source/shotwell/src/Page.vala"
result = TRUE;
-#line 685 "/home/jens/Source/shotwell/src/Page.vala"
+#line 687 "/home/jens/Source/shotwell/src/Page.vala"
if (x) {
-#line 685 "/home/jens/Source/shotwell/src/Page.vala"
+#line 687 "/home/jens/Source/shotwell/src/Page.vala"
*x = _vala_x;
-#line 5480 "Page.c"
+#line 5498 "Page.c"
}
-#line 685 "/home/jens/Source/shotwell/src/Page.vala"
+#line 687 "/home/jens/Source/shotwell/src/Page.vala"
if (y) {
-#line 685 "/home/jens/Source/shotwell/src/Page.vala"
+#line 687 "/home/jens/Source/shotwell/src/Page.vala"
*y = _vala_y;
-#line 5486 "Page.c"
+#line 5504 "Page.c"
}
-#line 685 "/home/jens/Source/shotwell/src/Page.vala"
+#line 687 "/home/jens/Source/shotwell/src/Page.vala"
if (mask) {
-#line 685 "/home/jens/Source/shotwell/src/Page.vala"
+#line 687 "/home/jens/Source/shotwell/src/Page.vala"
*mask = _vala_mask;
-#line 5492 "Page.c"
+#line 5510 "Page.c"
}
-#line 685 "/home/jens/Source/shotwell/src/Page.vala"
+#line 687 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 5496 "Page.c"
+#line 5514 "Page.c"
}
static gboolean page_real_on_left_click (Page* self, GdkEventButton* event) {
gboolean result = FALSE;
-#line 688 "/home/jens/Source/shotwell/src/Page.vala"
+#line 690 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 689 "/home/jens/Source/shotwell/src/Page.vala"
+#line 691 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 689 "/home/jens/Source/shotwell/src/Page.vala"
+#line 691 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 5508 "Page.c"
+#line 5526 "Page.c"
}
gboolean page_on_left_click (Page* self, GdkEventButton* event) {
-#line 688 "/home/jens/Source/shotwell/src/Page.vala"
+#line 690 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 688 "/home/jens/Source/shotwell/src/Page.vala"
+#line 690 "/home/jens/Source/shotwell/src/Page.vala"
return PAGE_GET_CLASS (self)->on_left_click (self, event);
-#line 5517 "Page.c"
+#line 5535 "Page.c"
}
static gboolean page_real_on_middle_click (Page* self, GdkEventButton* event) {
gboolean result = FALSE;
-#line 692 "/home/jens/Source/shotwell/src/Page.vala"
+#line 694 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 693 "/home/jens/Source/shotwell/src/Page.vala"
+#line 695 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 693 "/home/jens/Source/shotwell/src/Page.vala"
+#line 695 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 5529 "Page.c"
+#line 5547 "Page.c"
}
gboolean page_on_middle_click (Page* self, GdkEventButton* event) {
-#line 692 "/home/jens/Source/shotwell/src/Page.vala"
+#line 694 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 692 "/home/jens/Source/shotwell/src/Page.vala"
+#line 694 "/home/jens/Source/shotwell/src/Page.vala"
return PAGE_GET_CLASS (self)->on_middle_click (self, event);
-#line 5538 "Page.c"
+#line 5556 "Page.c"
}
static gboolean page_real_on_right_click (Page* self, GdkEventButton* event) {
gboolean result = FALSE;
-#line 696 "/home/jens/Source/shotwell/src/Page.vala"
+#line 698 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 697 "/home/jens/Source/shotwell/src/Page.vala"
+#line 699 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 697 "/home/jens/Source/shotwell/src/Page.vala"
+#line 699 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 5550 "Page.c"
+#line 5568 "Page.c"
}
gboolean page_on_right_click (Page* self, GdkEventButton* event) {
-#line 696 "/home/jens/Source/shotwell/src/Page.vala"
+#line 698 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 696 "/home/jens/Source/shotwell/src/Page.vala"
+#line 698 "/home/jens/Source/shotwell/src/Page.vala"
return PAGE_GET_CLASS (self)->on_right_click (self, event);
-#line 5559 "Page.c"
+#line 5577 "Page.c"
}
static gboolean page_real_on_left_released (Page* self, GdkEventButton* event) {
gboolean result = FALSE;
-#line 700 "/home/jens/Source/shotwell/src/Page.vala"
+#line 702 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 701 "/home/jens/Source/shotwell/src/Page.vala"
+#line 703 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 701 "/home/jens/Source/shotwell/src/Page.vala"
+#line 703 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 5571 "Page.c"
+#line 5589 "Page.c"
}
gboolean page_on_left_released (Page* self, GdkEventButton* event) {
-#line 700 "/home/jens/Source/shotwell/src/Page.vala"
+#line 702 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 700 "/home/jens/Source/shotwell/src/Page.vala"
+#line 702 "/home/jens/Source/shotwell/src/Page.vala"
return PAGE_GET_CLASS (self)->on_left_released (self, event);
-#line 5580 "Page.c"
+#line 5598 "Page.c"
}
static gboolean page_real_on_middle_released (Page* self, GdkEventButton* event) {
gboolean result = FALSE;
-#line 704 "/home/jens/Source/shotwell/src/Page.vala"
+#line 706 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 705 "/home/jens/Source/shotwell/src/Page.vala"
+#line 707 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 705 "/home/jens/Source/shotwell/src/Page.vala"
+#line 707 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 5592 "Page.c"
+#line 5610 "Page.c"
}
gboolean page_on_middle_released (Page* self, GdkEventButton* event) {
-#line 704 "/home/jens/Source/shotwell/src/Page.vala"
+#line 706 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 704 "/home/jens/Source/shotwell/src/Page.vala"
+#line 706 "/home/jens/Source/shotwell/src/Page.vala"
return PAGE_GET_CLASS (self)->on_middle_released (self, event);
-#line 5601 "Page.c"
+#line 5619 "Page.c"
}
static gboolean page_real_on_right_released (Page* self, GdkEventButton* event) {
gboolean result = FALSE;
-#line 708 "/home/jens/Source/shotwell/src/Page.vala"
+#line 710 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 709 "/home/jens/Source/shotwell/src/Page.vala"
+#line 711 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 709 "/home/jens/Source/shotwell/src/Page.vala"
+#line 711 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 5613 "Page.c"
+#line 5631 "Page.c"
}
gboolean page_on_right_released (Page* self, GdkEventButton* event) {
-#line 708 "/home/jens/Source/shotwell/src/Page.vala"
+#line 710 "/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 710 "/home/jens/Source/shotwell/src/Page.vala"
return PAGE_GET_CLASS (self)->on_right_released (self, event);
-#line 5622 "Page.c"
+#line 5640 "Page.c"
}
@@ -5626,19 +5644,19 @@ static gboolean page_on_button_pressed_internal (Page* self, GdkEventButton* eve
gboolean result = FALSE;
GdkEventButton* _tmp0_ = NULL;
guint _tmp1_ = 0U;
-#line 712 "/home/jens/Source/shotwell/src/Page.vala"
+#line 714 "/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 714 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 713 "/home/jens/Source/shotwell/src/Page.vala"
+#line 715 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = event;
-#line 713 "/home/jens/Source/shotwell/src/Page.vala"
+#line 715 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _tmp0_->button;
-#line 713 "/home/jens/Source/shotwell/src/Page.vala"
+#line 715 "/home/jens/Source/shotwell/src/Page.vala"
switch (_tmp1_) {
-#line 713 "/home/jens/Source/shotwell/src/Page.vala"
+#line 715 "/home/jens/Source/shotwell/src/Page.vala"
case 1:
-#line 5642 "Page.c"
+#line 5660 "Page.c"
{
GtkWidget* _tmp2_ = NULL;
GdkEventButton* _tmp4_ = NULL;
@@ -5647,79 +5665,79 @@ static gboolean page_on_button_pressed_internal (Page* self, GdkEventButton* eve
gdouble _tmp7_ = 0.0;
GdkEventButton* _tmp8_ = NULL;
gboolean _tmp9_ = FALSE;
-#line 715 "/home/jens/Source/shotwell/src/Page.vala"
+#line 717 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->priv->event_source;
-#line 715 "/home/jens/Source/shotwell/src/Page.vala"
+#line 717 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp2_ != NULL) {
-#line 5655 "Page.c"
+#line 5673 "Page.c"
GtkWidget* _tmp3_ = NULL;
-#line 716 "/home/jens/Source/shotwell/src/Page.vala"
+#line 718 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = self->priv->event_source;
-#line 716 "/home/jens/Source/shotwell/src/Page.vala"
+#line 718 "/home/jens/Source/shotwell/src/Page.vala"
gtk_widget_grab_focus (_tmp3_);
-#line 5661 "Page.c"
+#line 5679 "Page.c"
}
-#line 719 "/home/jens/Source/shotwell/src/Page.vala"
+#line 721 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = event;
-#line 719 "/home/jens/Source/shotwell/src/Page.vala"
+#line 721 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = _tmp4_->x;
-#line 719 "/home/jens/Source/shotwell/src/Page.vala"
+#line 721 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->last_down.x = (gint) _tmp5_;
-#line 720 "/home/jens/Source/shotwell/src/Page.vala"
+#line 722 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = event;
-#line 720 "/home/jens/Source/shotwell/src/Page.vala"
+#line 722 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = _tmp6_->y;
-#line 720 "/home/jens/Source/shotwell/src/Page.vala"
- self->priv->last_down.y = (gint) _tmp7_;
#line 722 "/home/jens/Source/shotwell/src/Page.vala"
+ self->priv->last_down.y = (gint) _tmp7_;
+#line 724 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = event;
-#line 722 "/home/jens/Source/shotwell/src/Page.vala"
+#line 724 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = page_on_left_click (self, _tmp8_);
-#line 722 "/home/jens/Source/shotwell/src/Page.vala"
+#line 724 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp9_;
-#line 722 "/home/jens/Source/shotwell/src/Page.vala"
+#line 724 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 5683 "Page.c"
+#line 5701 "Page.c"
}
-#line 713 "/home/jens/Source/shotwell/src/Page.vala"
+#line 715 "/home/jens/Source/shotwell/src/Page.vala"
case 2:
-#line 5687 "Page.c"
+#line 5705 "Page.c"
{
GdkEventButton* _tmp10_ = NULL;
gboolean _tmp11_ = FALSE;
-#line 725 "/home/jens/Source/shotwell/src/Page.vala"
+#line 727 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = event;
-#line 725 "/home/jens/Source/shotwell/src/Page.vala"
+#line 727 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = page_on_middle_click (self, _tmp10_);
-#line 725 "/home/jens/Source/shotwell/src/Page.vala"
+#line 727 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp11_;
-#line 725 "/home/jens/Source/shotwell/src/Page.vala"
+#line 727 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 5699 "Page.c"
+#line 5717 "Page.c"
}
-#line 713 "/home/jens/Source/shotwell/src/Page.vala"
+#line 715 "/home/jens/Source/shotwell/src/Page.vala"
case 3:
-#line 5703 "Page.c"
+#line 5721 "Page.c"
{
GdkEventButton* _tmp12_ = NULL;
gboolean _tmp13_ = FALSE;
-#line 728 "/home/jens/Source/shotwell/src/Page.vala"
+#line 730 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = event;
-#line 728 "/home/jens/Source/shotwell/src/Page.vala"
+#line 730 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = page_on_right_click (self, _tmp12_);
-#line 728 "/home/jens/Source/shotwell/src/Page.vala"
+#line 730 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp13_;
-#line 728 "/home/jens/Source/shotwell/src/Page.vala"
+#line 730 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 5715 "Page.c"
+#line 5733 "Page.c"
}
default:
{
-#line 731 "/home/jens/Source/shotwell/src/Page.vala"
+#line 733 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 731 "/home/jens/Source/shotwell/src/Page.vala"
+#line 733 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 5723 "Page.c"
+#line 5741 "Page.c"
}
}
}
@@ -5729,78 +5747,78 @@ static gboolean page_on_button_released_internal (Page* self, GdkEventButton* ev
gboolean result = FALSE;
GdkEventButton* _tmp0_ = NULL;
guint _tmp1_ = 0U;
-#line 735 "/home/jens/Source/shotwell/src/Page.vala"
+#line 737 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 735 "/home/jens/Source/shotwell/src/Page.vala"
+#line 737 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 736 "/home/jens/Source/shotwell/src/Page.vala"
+#line 738 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = event;
-#line 736 "/home/jens/Source/shotwell/src/Page.vala"
+#line 738 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _tmp0_->button;
-#line 736 "/home/jens/Source/shotwell/src/Page.vala"
+#line 738 "/home/jens/Source/shotwell/src/Page.vala"
switch (_tmp1_) {
-#line 736 "/home/jens/Source/shotwell/src/Page.vala"
+#line 738 "/home/jens/Source/shotwell/src/Page.vala"
case 1:
-#line 5745 "Page.c"
+#line 5763 "Page.c"
{
GdkPoint _tmp2_ = {0};
GdkEventButton* _tmp3_ = NULL;
gboolean _tmp4_ = FALSE;
-#line 739 "/home/jens/Source/shotwell/src/Page.vala"
+#line 741 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_.x = -1;
-#line 739 "/home/jens/Source/shotwell/src/Page.vala"
+#line 741 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_.y = -1;
-#line 739 "/home/jens/Source/shotwell/src/Page.vala"
- self->priv->last_down = _tmp2_;
#line 741 "/home/jens/Source/shotwell/src/Page.vala"
+ self->priv->last_down = _tmp2_;
+#line 743 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = event;
-#line 741 "/home/jens/Source/shotwell/src/Page.vala"
+#line 743 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = page_on_left_released (self, _tmp3_);
-#line 741 "/home/jens/Source/shotwell/src/Page.vala"
+#line 743 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp4_;
-#line 741 "/home/jens/Source/shotwell/src/Page.vala"
+#line 743 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 5764 "Page.c"
+#line 5782 "Page.c"
}
-#line 736 "/home/jens/Source/shotwell/src/Page.vala"
+#line 738 "/home/jens/Source/shotwell/src/Page.vala"
case 2:
-#line 5768 "Page.c"
+#line 5786 "Page.c"
{
GdkEventButton* _tmp5_ = NULL;
gboolean _tmp6_ = FALSE;
-#line 744 "/home/jens/Source/shotwell/src/Page.vala"
+#line 746 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = event;
-#line 744 "/home/jens/Source/shotwell/src/Page.vala"
+#line 746 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = page_on_middle_released (self, _tmp5_);
-#line 744 "/home/jens/Source/shotwell/src/Page.vala"
+#line 746 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp6_;
-#line 744 "/home/jens/Source/shotwell/src/Page.vala"
+#line 746 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 5780 "Page.c"
+#line 5798 "Page.c"
}
-#line 736 "/home/jens/Source/shotwell/src/Page.vala"
+#line 738 "/home/jens/Source/shotwell/src/Page.vala"
case 3:
-#line 5784 "Page.c"
+#line 5802 "Page.c"
{
GdkEventButton* _tmp7_ = NULL;
gboolean _tmp8_ = FALSE;
-#line 747 "/home/jens/Source/shotwell/src/Page.vala"
+#line 749 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = event;
-#line 747 "/home/jens/Source/shotwell/src/Page.vala"
+#line 749 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = page_on_right_released (self, _tmp7_);
-#line 747 "/home/jens/Source/shotwell/src/Page.vala"
+#line 749 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp8_;
-#line 747 "/home/jens/Source/shotwell/src/Page.vala"
+#line 749 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 5796 "Page.c"
+#line 5814 "Page.c"
}
default:
{
-#line 750 "/home/jens/Source/shotwell/src/Page.vala"
+#line 752 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 750 "/home/jens/Source/shotwell/src/Page.vala"
+#line 752 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 5804 "Page.c"
+#line 5822 "Page.c"
}
}
}
@@ -5808,195 +5826,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 755 "/home/jens/Source/shotwell/src/Page.vala"
+#line 757 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 755 "/home/jens/Source/shotwell/src/Page.vala"
+#line 757 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 5816 "Page.c"
+#line 5834 "Page.c"
}
gboolean page_on_ctrl_pressed (Page* self, GdkEventKey* event) {
-#line 754 "/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 754 "/home/jens/Source/shotwell/src/Page.vala"
+#line 756 "/home/jens/Source/shotwell/src/Page.vala"
return PAGE_GET_CLASS (self)->on_ctrl_pressed (self, event);
-#line 5825 "Page.c"
+#line 5843 "Page.c"
}
static gboolean page_real_on_ctrl_released (Page* self, GdkEventKey* event) {
gboolean result = FALSE;
-#line 759 "/home/jens/Source/shotwell/src/Page.vala"
+#line 761 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 759 "/home/jens/Source/shotwell/src/Page.vala"
+#line 761 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 5835 "Page.c"
+#line 5853 "Page.c"
}
gboolean page_on_ctrl_released (Page* self, GdkEventKey* event) {
-#line 758 "/home/jens/Source/shotwell/src/Page.vala"
+#line 760 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 758 "/home/jens/Source/shotwell/src/Page.vala"
+#line 760 "/home/jens/Source/shotwell/src/Page.vala"
return PAGE_GET_CLASS (self)->on_ctrl_released (self, event);
-#line 5844 "Page.c"
+#line 5862 "Page.c"
}
static gboolean page_real_on_alt_pressed (Page* self, GdkEventKey* event) {
gboolean result = FALSE;
-#line 763 "/home/jens/Source/shotwell/src/Page.vala"
+#line 765 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 763 "/home/jens/Source/shotwell/src/Page.vala"
+#line 765 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 5854 "Page.c"
+#line 5872 "Page.c"
}
gboolean page_on_alt_pressed (Page* self, GdkEventKey* event) {
-#line 762 "/home/jens/Source/shotwell/src/Page.vala"
+#line 764 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 762 "/home/jens/Source/shotwell/src/Page.vala"
+#line 764 "/home/jens/Source/shotwell/src/Page.vala"
return PAGE_GET_CLASS (self)->on_alt_pressed (self, event);
-#line 5863 "Page.c"
+#line 5881 "Page.c"
}
static gboolean page_real_on_alt_released (Page* self, GdkEventKey* event) {
gboolean result = FALSE;
-#line 767 "/home/jens/Source/shotwell/src/Page.vala"
+#line 769 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 767 "/home/jens/Source/shotwell/src/Page.vala"
+#line 769 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 5873 "Page.c"
+#line 5891 "Page.c"
}
gboolean page_on_alt_released (Page* self, GdkEventKey* event) {
-#line 766 "/home/jens/Source/shotwell/src/Page.vala"
+#line 768 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 766 "/home/jens/Source/shotwell/src/Page.vala"
+#line 768 "/home/jens/Source/shotwell/src/Page.vala"
return PAGE_GET_CLASS (self)->on_alt_released (self, event);
-#line 5882 "Page.c"
+#line 5900 "Page.c"
}
static gboolean page_real_on_shift_pressed (Page* self, GdkEventKey* event) {
gboolean result = FALSE;
-#line 771 "/home/jens/Source/shotwell/src/Page.vala"
+#line 773 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 771 "/home/jens/Source/shotwell/src/Page.vala"
+#line 773 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 5892 "Page.c"
+#line 5910 "Page.c"
}
gboolean page_on_shift_pressed (Page* self, GdkEventKey* event) {
-#line 770 "/home/jens/Source/shotwell/src/Page.vala"
+#line 772 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 770 "/home/jens/Source/shotwell/src/Page.vala"
+#line 772 "/home/jens/Source/shotwell/src/Page.vala"
return PAGE_GET_CLASS (self)->on_shift_pressed (self, event);
-#line 5901 "Page.c"
+#line 5919 "Page.c"
}
static gboolean page_real_on_shift_released (Page* self, GdkEventKey* event) {
gboolean result = FALSE;
-#line 775 "/home/jens/Source/shotwell/src/Page.vala"
+#line 777 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 775 "/home/jens/Source/shotwell/src/Page.vala"
+#line 777 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 5911 "Page.c"
+#line 5929 "Page.c"
}
gboolean page_on_shift_released (Page* self, GdkEventKey* event) {
-#line 774 "/home/jens/Source/shotwell/src/Page.vala"
+#line 776 "/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 776 "/home/jens/Source/shotwell/src/Page.vala"
return PAGE_GET_CLASS (self)->on_shift_released (self, event);
-#line 5920 "Page.c"
+#line 5938 "Page.c"
}
static gboolean page_real_on_super_pressed (Page* self, GdkEventKey* event) {
gboolean result = FALSE;
-#line 779 "/home/jens/Source/shotwell/src/Page.vala"
+#line 781 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 779 "/home/jens/Source/shotwell/src/Page.vala"
+#line 781 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 5930 "Page.c"
+#line 5948 "Page.c"
}
gboolean page_on_super_pressed (Page* self, GdkEventKey* event) {
-#line 778 "/home/jens/Source/shotwell/src/Page.vala"
+#line 780 "/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 780 "/home/jens/Source/shotwell/src/Page.vala"
return PAGE_GET_CLASS (self)->on_super_pressed (self, event);
-#line 5939 "Page.c"
+#line 5957 "Page.c"
}
static gboolean page_real_on_super_released (Page* self, GdkEventKey* event) {
gboolean result = FALSE;
-#line 783 "/home/jens/Source/shotwell/src/Page.vala"
+#line 785 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 783 "/home/jens/Source/shotwell/src/Page.vala"
+#line 785 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 5949 "Page.c"
+#line 5967 "Page.c"
}
gboolean page_on_super_released (Page* self, GdkEventKey* event) {
-#line 782 "/home/jens/Source/shotwell/src/Page.vala"
+#line 784 "/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 784 "/home/jens/Source/shotwell/src/Page.vala"
return PAGE_GET_CLASS (self)->on_super_released (self, event);
-#line 5958 "Page.c"
+#line 5976 "Page.c"
}
static gboolean page_real_on_app_key_pressed (Page* self, GdkEventKey* event) {
gboolean result = FALSE;
-#line 786 "/home/jens/Source/shotwell/src/Page.vala"
+#line 788 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 787 "/home/jens/Source/shotwell/src/Page.vala"
+#line 789 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 787 "/home/jens/Source/shotwell/src/Page.vala"
+#line 789 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 5970 "Page.c"
+#line 5988 "Page.c"
}
gboolean page_on_app_key_pressed (Page* self, GdkEventKey* event) {
-#line 786 "/home/jens/Source/shotwell/src/Page.vala"
+#line 788 "/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 788 "/home/jens/Source/shotwell/src/Page.vala"
return PAGE_GET_CLASS (self)->on_app_key_pressed (self, event);
-#line 5979 "Page.c"
+#line 5997 "Page.c"
}
static gboolean page_real_on_app_key_released (Page* self, GdkEventKey* event) {
gboolean result = FALSE;
-#line 790 "/home/jens/Source/shotwell/src/Page.vala"
+#line 792 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 791 "/home/jens/Source/shotwell/src/Page.vala"
+#line 793 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 791 "/home/jens/Source/shotwell/src/Page.vala"
+#line 793 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 5991 "Page.c"
+#line 6009 "Page.c"
}
gboolean page_on_app_key_released (Page* self, GdkEventKey* event) {
-#line 790 "/home/jens/Source/shotwell/src/Page.vala"
+#line 792 "/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 792 "/home/jens/Source/shotwell/src/Page.vala"
return PAGE_GET_CLASS (self)->on_app_key_released (self, event);
-#line 6000 "Page.c"
+#line 6018 "Page.c"
}
@@ -6015,248 +6033,248 @@ gboolean page_notify_app_key_pressed (Page* self, GdkEventKey* event) {
const gchar* _tmp6_ = NULL;
const gchar* _tmp7_ = NULL;
GQuark _tmp9_ = 0U;
-#line 800 "/home/jens/Source/shotwell/src/Page.vala"
+#line 802 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp8_label0 = 0;
-#line 800 "/home/jens/Source/shotwell/src/Page.vala"
+#line 802 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp8_label1 = 0;
-#line 800 "/home/jens/Source/shotwell/src/Page.vala"
+#line 802 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp8_label2 = 0;
-#line 800 "/home/jens/Source/shotwell/src/Page.vala"
+#line 802 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp8_label3 = 0;
-#line 800 "/home/jens/Source/shotwell/src/Page.vala"
+#line 802 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp8_label4 = 0;
-#line 800 "/home/jens/Source/shotwell/src/Page.vala"
+#line 802 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp8_label5 = 0;
-#line 800 "/home/jens/Source/shotwell/src/Page.vala"
+#line 802 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp8_label6 = 0;
-#line 800 "/home/jens/Source/shotwell/src/Page.vala"
+#line 802 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp8_label7 = 0;
-#line 800 "/home/jens/Source/shotwell/src/Page.vala"
+#line 802 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp8_label8 = 0;
-#line 800 "/home/jens/Source/shotwell/src/Page.vala"
+#line 802 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp8_label9 = 0;
-#line 6039 "Page.c"
+#line 6057 "Page.c"
GdkEventKey* _tmp30_ = NULL;
gboolean _tmp31_ = FALSE;
-#line 794 "/home/jens/Source/shotwell/src/Page.vala"
+#line 796 "/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 796 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 797 "/home/jens/Source/shotwell/src/Page.vala"
+#line 799 "/home/jens/Source/shotwell/src/Page.vala"
page_get_modifiers (self, &_tmp0_, &_tmp1_, &_tmp2_, &_tmp3_);
-#line 797 "/home/jens/Source/shotwell/src/Page.vala"
+#line 799 "/home/jens/Source/shotwell/src/Page.vala"
ctrl_currently_pressed = _tmp0_;
-#line 797 "/home/jens/Source/shotwell/src/Page.vala"
+#line 799 "/home/jens/Source/shotwell/src/Page.vala"
alt_currently_pressed = _tmp1_;
-#line 797 "/home/jens/Source/shotwell/src/Page.vala"
+#line 799 "/home/jens/Source/shotwell/src/Page.vala"
shift_currently_pressed = _tmp2_;
-#line 797 "/home/jens/Source/shotwell/src/Page.vala"
+#line 799 "/home/jens/Source/shotwell/src/Page.vala"
super_currently_pressed = _tmp3_;
-#line 800 "/home/jens/Source/shotwell/src/Page.vala"
+#line 802 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = event;
-#line 800 "/home/jens/Source/shotwell/src/Page.vala"
+#line 802 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = _tmp4_->keyval;
-#line 800 "/home/jens/Source/shotwell/src/Page.vala"
+#line 802 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = gdk_keyval_name (_tmp5_);
-#line 800 "/home/jens/Source/shotwell/src/Page.vala"
+#line 802 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = _tmp6_;
-#line 800 "/home/jens/Source/shotwell/src/Page.vala"
+#line 802 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = (NULL == _tmp7_) ? 0 : g_quark_from_string (_tmp7_);
-#line 800 "/home/jens/Source/shotwell/src/Page.vala"
+#line 802 "/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 800 "/home/jens/Source/shotwell/src/Page.vala"
+#line 802 "/home/jens/Source/shotwell/src/Page.vala"
switch (0) {
-#line 6070 "Page.c"
+#line 6088 "Page.c"
default:
{
gboolean _tmp10_ = FALSE;
gboolean _tmp11_ = FALSE;
GdkEventKey* _tmp13_ = NULL;
gboolean _tmp14_ = FALSE;
-#line 803 "/home/jens/Source/shotwell/src/Page.vala"
+#line 805 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = ctrl_currently_pressed;
-#line 803 "/home/jens/Source/shotwell/src/Page.vala"
+#line 805 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp11_) {
-#line 803 "/home/jens/Source/shotwell/src/Page.vala"
+#line 805 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = TRUE;
-#line 6083 "Page.c"
+#line 6101 "Page.c"
} else {
gboolean _tmp12_ = FALSE;
-#line 803 "/home/jens/Source/shotwell/src/Page.vala"
+#line 805 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = self->priv->ctrl_pressed;
-#line 803 "/home/jens/Source/shotwell/src/Page.vala"
+#line 805 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = _tmp12_;
-#line 6090 "Page.c"
+#line 6108 "Page.c"
}
-#line 803 "/home/jens/Source/shotwell/src/Page.vala"
+#line 805 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp10_) {
-#line 804 "/home/jens/Source/shotwell/src/Page.vala"
+#line 806 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 804 "/home/jens/Source/shotwell/src/Page.vala"
+#line 806 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 6098 "Page.c"
+#line 6116 "Page.c"
}
-#line 806 "/home/jens/Source/shotwell/src/Page.vala"
- self->priv->ctrl_pressed = TRUE;
#line 808 "/home/jens/Source/shotwell/src/Page.vala"
+ self->priv->ctrl_pressed = TRUE;
+#line 810 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = event;
-#line 808 "/home/jens/Source/shotwell/src/Page.vala"
+#line 810 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = page_on_ctrl_pressed (self, _tmp13_);
-#line 808 "/home/jens/Source/shotwell/src/Page.vala"
+#line 810 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp14_;
-#line 808 "/home/jens/Source/shotwell/src/Page.vala"
+#line 810 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 6110 "Page.c"
+#line 6128 "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 800 "/home/jens/Source/shotwell/src/Page.vala"
+#line 802 "/home/jens/Source/shotwell/src/Page.vala"
switch (0) {
-#line 6116 "Page.c"
+#line 6134 "Page.c"
default:
{
gboolean _tmp15_ = FALSE;
gboolean _tmp16_ = FALSE;
GdkEventKey* _tmp18_ = NULL;
gboolean _tmp19_ = FALSE;
-#line 814 "/home/jens/Source/shotwell/src/Page.vala"
+#line 816 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = alt_currently_pressed;
-#line 814 "/home/jens/Source/shotwell/src/Page.vala"
+#line 816 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp16_) {
-#line 814 "/home/jens/Source/shotwell/src/Page.vala"
+#line 816 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = TRUE;
-#line 6129 "Page.c"
+#line 6147 "Page.c"
} else {
gboolean _tmp17_ = FALSE;
-#line 814 "/home/jens/Source/shotwell/src/Page.vala"
+#line 816 "/home/jens/Source/shotwell/src/Page.vala"
_tmp17_ = self->priv->alt_pressed;
-#line 814 "/home/jens/Source/shotwell/src/Page.vala"
+#line 816 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = _tmp17_;
-#line 6136 "Page.c"
+#line 6154 "Page.c"
}
-#line 814 "/home/jens/Source/shotwell/src/Page.vala"
+#line 816 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp15_) {
-#line 815 "/home/jens/Source/shotwell/src/Page.vala"
+#line 817 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 815 "/home/jens/Source/shotwell/src/Page.vala"
+#line 817 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 6144 "Page.c"
+#line 6162 "Page.c"
}
-#line 817 "/home/jens/Source/shotwell/src/Page.vala"
- self->priv->alt_pressed = TRUE;
#line 819 "/home/jens/Source/shotwell/src/Page.vala"
+ self->priv->alt_pressed = TRUE;
+#line 821 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = event;
-#line 819 "/home/jens/Source/shotwell/src/Page.vala"
+#line 821 "/home/jens/Source/shotwell/src/Page.vala"
_tmp19_ = page_on_alt_pressed (self, _tmp18_);
-#line 819 "/home/jens/Source/shotwell/src/Page.vala"
+#line 821 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp19_;
-#line 819 "/home/jens/Source/shotwell/src/Page.vala"
+#line 821 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 6156 "Page.c"
+#line 6174 "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 800 "/home/jens/Source/shotwell/src/Page.vala"
+#line 802 "/home/jens/Source/shotwell/src/Page.vala"
switch (0) {
-#line 6162 "Page.c"
+#line 6180 "Page.c"
default:
{
gboolean _tmp20_ = FALSE;
gboolean _tmp21_ = FALSE;
GdkEventKey* _tmp23_ = NULL;
gboolean _tmp24_ = FALSE;
-#line 823 "/home/jens/Source/shotwell/src/Page.vala"
+#line 825 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = shift_currently_pressed;
-#line 823 "/home/jens/Source/shotwell/src/Page.vala"
+#line 825 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp21_) {
-#line 823 "/home/jens/Source/shotwell/src/Page.vala"
+#line 825 "/home/jens/Source/shotwell/src/Page.vala"
_tmp20_ = TRUE;
-#line 6175 "Page.c"
+#line 6193 "Page.c"
} else {
gboolean _tmp22_ = FALSE;
-#line 823 "/home/jens/Source/shotwell/src/Page.vala"
+#line 825 "/home/jens/Source/shotwell/src/Page.vala"
_tmp22_ = self->priv->shift_pressed;
-#line 823 "/home/jens/Source/shotwell/src/Page.vala"
+#line 825 "/home/jens/Source/shotwell/src/Page.vala"
_tmp20_ = _tmp22_;
-#line 6182 "Page.c"
+#line 6200 "Page.c"
}
-#line 823 "/home/jens/Source/shotwell/src/Page.vala"
+#line 825 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp20_) {
-#line 824 "/home/jens/Source/shotwell/src/Page.vala"
+#line 826 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 824 "/home/jens/Source/shotwell/src/Page.vala"
+#line 826 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 6190 "Page.c"
+#line 6208 "Page.c"
}
-#line 826 "/home/jens/Source/shotwell/src/Page.vala"
- self->priv->shift_pressed = TRUE;
#line 828 "/home/jens/Source/shotwell/src/Page.vala"
+ self->priv->shift_pressed = TRUE;
+#line 830 "/home/jens/Source/shotwell/src/Page.vala"
_tmp23_ = event;
-#line 828 "/home/jens/Source/shotwell/src/Page.vala"
+#line 830 "/home/jens/Source/shotwell/src/Page.vala"
_tmp24_ = page_on_shift_pressed (self, _tmp23_);
-#line 828 "/home/jens/Source/shotwell/src/Page.vala"
+#line 830 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp24_;
-#line 828 "/home/jens/Source/shotwell/src/Page.vala"
+#line 830 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 6202 "Page.c"
+#line 6220 "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 800 "/home/jens/Source/shotwell/src/Page.vala"
+#line 802 "/home/jens/Source/shotwell/src/Page.vala"
switch (0) {
-#line 6208 "Page.c"
+#line 6226 "Page.c"
default:
{
gboolean _tmp25_ = FALSE;
gboolean _tmp26_ = FALSE;
GdkEventKey* _tmp28_ = NULL;
gboolean _tmp29_ = FALSE;
-#line 832 "/home/jens/Source/shotwell/src/Page.vala"
+#line 834 "/home/jens/Source/shotwell/src/Page.vala"
_tmp26_ = super_currently_pressed;
-#line 832 "/home/jens/Source/shotwell/src/Page.vala"
+#line 834 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp26_) {
-#line 832 "/home/jens/Source/shotwell/src/Page.vala"
+#line 834 "/home/jens/Source/shotwell/src/Page.vala"
_tmp25_ = TRUE;
-#line 6221 "Page.c"
+#line 6239 "Page.c"
} else {
gboolean _tmp27_ = FALSE;
-#line 832 "/home/jens/Source/shotwell/src/Page.vala"
+#line 834 "/home/jens/Source/shotwell/src/Page.vala"
_tmp27_ = self->priv->super_pressed;
-#line 832 "/home/jens/Source/shotwell/src/Page.vala"
+#line 834 "/home/jens/Source/shotwell/src/Page.vala"
_tmp25_ = _tmp27_;
-#line 6228 "Page.c"
+#line 6246 "Page.c"
}
-#line 832 "/home/jens/Source/shotwell/src/Page.vala"
+#line 834 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp25_) {
-#line 833 "/home/jens/Source/shotwell/src/Page.vala"
+#line 835 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 833 "/home/jens/Source/shotwell/src/Page.vala"
+#line 835 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 6236 "Page.c"
+#line 6254 "Page.c"
}
-#line 835 "/home/jens/Source/shotwell/src/Page.vala"
- self->priv->super_pressed = TRUE;
#line 837 "/home/jens/Source/shotwell/src/Page.vala"
+ self->priv->super_pressed = TRUE;
+#line 839 "/home/jens/Source/shotwell/src/Page.vala"
_tmp28_ = event;
-#line 837 "/home/jens/Source/shotwell/src/Page.vala"
+#line 839 "/home/jens/Source/shotwell/src/Page.vala"
_tmp29_ = page_on_super_pressed (self, _tmp28_);
-#line 837 "/home/jens/Source/shotwell/src/Page.vala"
+#line 839 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp29_;
-#line 837 "/home/jens/Source/shotwell/src/Page.vala"
+#line 839 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 6248 "Page.c"
+#line 6266 "Page.c"
}
}
}
-#line 840 "/home/jens/Source/shotwell/src/Page.vala"
+#line 842 "/home/jens/Source/shotwell/src/Page.vala"
_tmp30_ = event;
-#line 840 "/home/jens/Source/shotwell/src/Page.vala"
+#line 842 "/home/jens/Source/shotwell/src/Page.vala"
_tmp31_ = page_on_app_key_pressed (self, _tmp30_);
-#line 840 "/home/jens/Source/shotwell/src/Page.vala"
+#line 842 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp31_;
-#line 840 "/home/jens/Source/shotwell/src/Page.vala"
+#line 842 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 6260 "Page.c"
+#line 6278 "Page.c"
}
@@ -6275,406 +6293,406 @@ gboolean page_notify_app_key_released (Page* self, GdkEventKey* event) {
const gchar* _tmp6_ = NULL;
const gchar* _tmp7_ = NULL;
GQuark _tmp9_ = 0U;
-#line 849 "/home/jens/Source/shotwell/src/Page.vala"
+#line 851 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp8_label0 = 0;
-#line 849 "/home/jens/Source/shotwell/src/Page.vala"
+#line 851 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp8_label1 = 0;
-#line 849 "/home/jens/Source/shotwell/src/Page.vala"
+#line 851 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp8_label2 = 0;
-#line 849 "/home/jens/Source/shotwell/src/Page.vala"
+#line 851 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp8_label3 = 0;
-#line 849 "/home/jens/Source/shotwell/src/Page.vala"
+#line 851 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp8_label4 = 0;
-#line 849 "/home/jens/Source/shotwell/src/Page.vala"
+#line 851 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp8_label5 = 0;
-#line 849 "/home/jens/Source/shotwell/src/Page.vala"
+#line 851 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp8_label6 = 0;
-#line 849 "/home/jens/Source/shotwell/src/Page.vala"
+#line 851 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp8_label7 = 0;
-#line 849 "/home/jens/Source/shotwell/src/Page.vala"
+#line 851 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp8_label8 = 0;
-#line 849 "/home/jens/Source/shotwell/src/Page.vala"
+#line 851 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp8_label9 = 0;
-#line 6299 "Page.c"
+#line 6317 "Page.c"
GdkEventKey* _tmp30_ = NULL;
gboolean _tmp31_ = FALSE;
-#line 843 "/home/jens/Source/shotwell/src/Page.vala"
+#line 845 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 843 "/home/jens/Source/shotwell/src/Page.vala"
+#line 845 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 846 "/home/jens/Source/shotwell/src/Page.vala"
+#line 848 "/home/jens/Source/shotwell/src/Page.vala"
page_get_modifiers (self, &_tmp0_, &_tmp1_, &_tmp2_, &_tmp3_);
-#line 846 "/home/jens/Source/shotwell/src/Page.vala"
+#line 848 "/home/jens/Source/shotwell/src/Page.vala"
ctrl_currently_pressed = _tmp0_;
-#line 846 "/home/jens/Source/shotwell/src/Page.vala"
+#line 848 "/home/jens/Source/shotwell/src/Page.vala"
alt_currently_pressed = _tmp1_;
-#line 846 "/home/jens/Source/shotwell/src/Page.vala"
+#line 848 "/home/jens/Source/shotwell/src/Page.vala"
shift_currently_pressed = _tmp2_;
-#line 846 "/home/jens/Source/shotwell/src/Page.vala"
+#line 848 "/home/jens/Source/shotwell/src/Page.vala"
super_currently_pressed = _tmp3_;
-#line 849 "/home/jens/Source/shotwell/src/Page.vala"
+#line 851 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = event;
-#line 849 "/home/jens/Source/shotwell/src/Page.vala"
+#line 851 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = _tmp4_->keyval;
-#line 849 "/home/jens/Source/shotwell/src/Page.vala"
+#line 851 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = gdk_keyval_name (_tmp5_);
-#line 849 "/home/jens/Source/shotwell/src/Page.vala"
+#line 851 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = _tmp6_;
-#line 849 "/home/jens/Source/shotwell/src/Page.vala"
+#line 851 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = (NULL == _tmp7_) ? 0 : g_quark_from_string (_tmp7_);
-#line 849 "/home/jens/Source/shotwell/src/Page.vala"
+#line 851 "/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 849 "/home/jens/Source/shotwell/src/Page.vala"
+#line 851 "/home/jens/Source/shotwell/src/Page.vala"
switch (0) {
-#line 6330 "Page.c"
+#line 6348 "Page.c"
default:
{
gboolean _tmp10_ = FALSE;
gboolean _tmp11_ = FALSE;
GdkEventKey* _tmp13_ = NULL;
gboolean _tmp14_ = FALSE;
-#line 852 "/home/jens/Source/shotwell/src/Page.vala"
+#line 854 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = ctrl_currently_pressed;
-#line 852 "/home/jens/Source/shotwell/src/Page.vala"
+#line 854 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp11_) {
-#line 852 "/home/jens/Source/shotwell/src/Page.vala"
+#line 854 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = TRUE;
-#line 6343 "Page.c"
+#line 6361 "Page.c"
} else {
gboolean _tmp12_ = FALSE;
-#line 852 "/home/jens/Source/shotwell/src/Page.vala"
+#line 854 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = self->priv->ctrl_pressed;
-#line 852 "/home/jens/Source/shotwell/src/Page.vala"
+#line 854 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = !_tmp12_;
-#line 6350 "Page.c"
+#line 6368 "Page.c"
}
-#line 852 "/home/jens/Source/shotwell/src/Page.vala"
+#line 854 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp10_) {
-#line 853 "/home/jens/Source/shotwell/src/Page.vala"
+#line 855 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 853 "/home/jens/Source/shotwell/src/Page.vala"
+#line 855 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 6358 "Page.c"
+#line 6376 "Page.c"
}
-#line 855 "/home/jens/Source/shotwell/src/Page.vala"
- self->priv->ctrl_pressed = FALSE;
#line 857 "/home/jens/Source/shotwell/src/Page.vala"
+ self->priv->ctrl_pressed = FALSE;
+#line 859 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = event;
-#line 857 "/home/jens/Source/shotwell/src/Page.vala"
+#line 859 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = page_on_ctrl_released (self, _tmp13_);
-#line 857 "/home/jens/Source/shotwell/src/Page.vala"
+#line 859 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp14_;
-#line 857 "/home/jens/Source/shotwell/src/Page.vala"
+#line 859 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 6370 "Page.c"
+#line 6388 "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 849 "/home/jens/Source/shotwell/src/Page.vala"
+#line 851 "/home/jens/Source/shotwell/src/Page.vala"
switch (0) {
-#line 6376 "Page.c"
+#line 6394 "Page.c"
default:
{
gboolean _tmp15_ = FALSE;
gboolean _tmp16_ = FALSE;
GdkEventKey* _tmp18_ = NULL;
gboolean _tmp19_ = FALSE;
-#line 863 "/home/jens/Source/shotwell/src/Page.vala"
+#line 865 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = alt_currently_pressed;
-#line 863 "/home/jens/Source/shotwell/src/Page.vala"
+#line 865 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp16_) {
-#line 863 "/home/jens/Source/shotwell/src/Page.vala"
+#line 865 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = TRUE;
-#line 6389 "Page.c"
+#line 6407 "Page.c"
} else {
gboolean _tmp17_ = FALSE;
-#line 863 "/home/jens/Source/shotwell/src/Page.vala"
+#line 865 "/home/jens/Source/shotwell/src/Page.vala"
_tmp17_ = self->priv->alt_pressed;
-#line 863 "/home/jens/Source/shotwell/src/Page.vala"
+#line 865 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = !_tmp17_;
-#line 6396 "Page.c"
+#line 6414 "Page.c"
}
-#line 863 "/home/jens/Source/shotwell/src/Page.vala"
+#line 865 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp15_) {
-#line 864 "/home/jens/Source/shotwell/src/Page.vala"
+#line 866 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 864 "/home/jens/Source/shotwell/src/Page.vala"
+#line 866 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 6404 "Page.c"
+#line 6422 "Page.c"
}
-#line 866 "/home/jens/Source/shotwell/src/Page.vala"
- self->priv->alt_pressed = FALSE;
#line 868 "/home/jens/Source/shotwell/src/Page.vala"
+ self->priv->alt_pressed = FALSE;
+#line 870 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = event;
-#line 868 "/home/jens/Source/shotwell/src/Page.vala"
+#line 870 "/home/jens/Source/shotwell/src/Page.vala"
_tmp19_ = page_on_alt_released (self, _tmp18_);
-#line 868 "/home/jens/Source/shotwell/src/Page.vala"
+#line 870 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp19_;
-#line 868 "/home/jens/Source/shotwell/src/Page.vala"
+#line 870 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 6416 "Page.c"
+#line 6434 "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 849 "/home/jens/Source/shotwell/src/Page.vala"
+#line 851 "/home/jens/Source/shotwell/src/Page.vala"
switch (0) {
-#line 6422 "Page.c"
+#line 6440 "Page.c"
default:
{
gboolean _tmp20_ = FALSE;
gboolean _tmp21_ = FALSE;
GdkEventKey* _tmp23_ = NULL;
gboolean _tmp24_ = FALSE;
-#line 872 "/home/jens/Source/shotwell/src/Page.vala"
+#line 874 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = shift_currently_pressed;
-#line 872 "/home/jens/Source/shotwell/src/Page.vala"
+#line 874 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp21_) {
-#line 872 "/home/jens/Source/shotwell/src/Page.vala"
+#line 874 "/home/jens/Source/shotwell/src/Page.vala"
_tmp20_ = TRUE;
-#line 6435 "Page.c"
+#line 6453 "Page.c"
} else {
gboolean _tmp22_ = FALSE;
-#line 872 "/home/jens/Source/shotwell/src/Page.vala"
+#line 874 "/home/jens/Source/shotwell/src/Page.vala"
_tmp22_ = self->priv->shift_pressed;
-#line 872 "/home/jens/Source/shotwell/src/Page.vala"
+#line 874 "/home/jens/Source/shotwell/src/Page.vala"
_tmp20_ = !_tmp22_;
-#line 6442 "Page.c"
+#line 6460 "Page.c"
}
-#line 872 "/home/jens/Source/shotwell/src/Page.vala"
+#line 874 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp20_) {
-#line 873 "/home/jens/Source/shotwell/src/Page.vala"
+#line 875 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 873 "/home/jens/Source/shotwell/src/Page.vala"
+#line 875 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 6450 "Page.c"
+#line 6468 "Page.c"
}
-#line 875 "/home/jens/Source/shotwell/src/Page.vala"
- self->priv->shift_pressed = FALSE;
#line 877 "/home/jens/Source/shotwell/src/Page.vala"
+ self->priv->shift_pressed = FALSE;
+#line 879 "/home/jens/Source/shotwell/src/Page.vala"
_tmp23_ = event;
-#line 877 "/home/jens/Source/shotwell/src/Page.vala"
+#line 879 "/home/jens/Source/shotwell/src/Page.vala"
_tmp24_ = page_on_shift_released (self, _tmp23_);
-#line 877 "/home/jens/Source/shotwell/src/Page.vala"
+#line 879 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp24_;
-#line 877 "/home/jens/Source/shotwell/src/Page.vala"
+#line 879 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 6462 "Page.c"
+#line 6480 "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 849 "/home/jens/Source/shotwell/src/Page.vala"
+#line 851 "/home/jens/Source/shotwell/src/Page.vala"
switch (0) {
-#line 6468 "Page.c"
+#line 6486 "Page.c"
default:
{
gboolean _tmp25_ = FALSE;
gboolean _tmp26_ = FALSE;
GdkEventKey* _tmp28_ = NULL;
gboolean _tmp29_ = FALSE;
-#line 881 "/home/jens/Source/shotwell/src/Page.vala"
+#line 883 "/home/jens/Source/shotwell/src/Page.vala"
_tmp26_ = super_currently_pressed;
-#line 881 "/home/jens/Source/shotwell/src/Page.vala"
+#line 883 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp26_) {
-#line 881 "/home/jens/Source/shotwell/src/Page.vala"
+#line 883 "/home/jens/Source/shotwell/src/Page.vala"
_tmp25_ = TRUE;
-#line 6481 "Page.c"
+#line 6499 "Page.c"
} else {
gboolean _tmp27_ = FALSE;
-#line 881 "/home/jens/Source/shotwell/src/Page.vala"
+#line 883 "/home/jens/Source/shotwell/src/Page.vala"
_tmp27_ = self->priv->super_pressed;
-#line 881 "/home/jens/Source/shotwell/src/Page.vala"
+#line 883 "/home/jens/Source/shotwell/src/Page.vala"
_tmp25_ = !_tmp27_;
-#line 6488 "Page.c"
+#line 6506 "Page.c"
}
-#line 881 "/home/jens/Source/shotwell/src/Page.vala"
+#line 883 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp25_) {
-#line 882 "/home/jens/Source/shotwell/src/Page.vala"
+#line 884 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 882 "/home/jens/Source/shotwell/src/Page.vala"
+#line 884 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 6496 "Page.c"
+#line 6514 "Page.c"
}
-#line 884 "/home/jens/Source/shotwell/src/Page.vala"
- self->priv->super_pressed = FALSE;
#line 886 "/home/jens/Source/shotwell/src/Page.vala"
+ self->priv->super_pressed = FALSE;
+#line 888 "/home/jens/Source/shotwell/src/Page.vala"
_tmp28_ = event;
-#line 886 "/home/jens/Source/shotwell/src/Page.vala"
+#line 888 "/home/jens/Source/shotwell/src/Page.vala"
_tmp29_ = page_on_super_released (self, _tmp28_);
-#line 886 "/home/jens/Source/shotwell/src/Page.vala"
+#line 888 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp29_;
-#line 886 "/home/jens/Source/shotwell/src/Page.vala"
+#line 888 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 6508 "Page.c"
+#line 6526 "Page.c"
}
}
}
-#line 889 "/home/jens/Source/shotwell/src/Page.vala"
+#line 891 "/home/jens/Source/shotwell/src/Page.vala"
_tmp30_ = event;
-#line 889 "/home/jens/Source/shotwell/src/Page.vala"
+#line 891 "/home/jens/Source/shotwell/src/Page.vala"
_tmp31_ = page_on_app_key_released (self, _tmp30_);
-#line 889 "/home/jens/Source/shotwell/src/Page.vala"
+#line 891 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp31_;
-#line 889 "/home/jens/Source/shotwell/src/Page.vala"
+#line 891 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 6520 "Page.c"
+#line 6538 "Page.c"
}
gboolean page_notify_app_focus_in (Page* self, GdkEventFocus* event) {
gboolean result = FALSE;
-#line 892 "/home/jens/Source/shotwell/src/Page.vala"
+#line 894 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 892 "/home/jens/Source/shotwell/src/Page.vala"
+#line 894 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 893 "/home/jens/Source/shotwell/src/Page.vala"
- page_update_modifiers (self);
#line 895 "/home/jens/Source/shotwell/src/Page.vala"
+ page_update_modifiers (self);
+#line 897 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 895 "/home/jens/Source/shotwell/src/Page.vala"
+#line 897 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 6536 "Page.c"
+#line 6554 "Page.c"
}
gboolean page_notify_app_focus_out (Page* self, GdkEventFocus* event) {
gboolean result = FALSE;
-#line 898 "/home/jens/Source/shotwell/src/Page.vala"
+#line 900 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 898 "/home/jens/Source/shotwell/src/Page.vala"
+#line 900 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 899 "/home/jens/Source/shotwell/src/Page.vala"
+#line 901 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 899 "/home/jens/Source/shotwell/src/Page.vala"
+#line 901 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 6550 "Page.c"
+#line 6568 "Page.c"
}
static void page_real_on_move (Page* self, GdkRectangle* rect) {
-#line 902 "/home/jens/Source/shotwell/src/Page.vala"
+#line 904 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (rect != NULL);
-#line 6557 "Page.c"
+#line 6575 "Page.c"
}
void page_on_move (Page* self, GdkRectangle* rect) {
-#line 902 "/home/jens/Source/shotwell/src/Page.vala"
+#line 904 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 902 "/home/jens/Source/shotwell/src/Page.vala"
+#line 904 "/home/jens/Source/shotwell/src/Page.vala"
PAGE_GET_CLASS (self)->on_move (self, rect);
-#line 6566 "Page.c"
+#line 6584 "Page.c"
}
static void page_real_on_move_start (Page* self, GdkRectangle* rect) {
-#line 905 "/home/jens/Source/shotwell/src/Page.vala"
+#line 907 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (rect != NULL);
-#line 6573 "Page.c"
+#line 6591 "Page.c"
}
void page_on_move_start (Page* self, GdkRectangle* rect) {
-#line 905 "/home/jens/Source/shotwell/src/Page.vala"
+#line 907 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 905 "/home/jens/Source/shotwell/src/Page.vala"
+#line 907 "/home/jens/Source/shotwell/src/Page.vala"
PAGE_GET_CLASS (self)->on_move_start (self, rect);
-#line 6582 "Page.c"
+#line 6600 "Page.c"
}
static void page_real_on_move_finished (Page* self, GdkRectangle* rect) {
-#line 908 "/home/jens/Source/shotwell/src/Page.vala"
+#line 910 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (rect != NULL);
-#line 6589 "Page.c"
+#line 6607 "Page.c"
}
void page_on_move_finished (Page* self, GdkRectangle* rect) {
-#line 908 "/home/jens/Source/shotwell/src/Page.vala"
+#line 910 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 908 "/home/jens/Source/shotwell/src/Page.vala"
+#line 910 "/home/jens/Source/shotwell/src/Page.vala"
PAGE_GET_CLASS (self)->on_move_finished (self, rect);
-#line 6598 "Page.c"
+#line 6616 "Page.c"
}
static void page_real_on_resize (Page* self, GdkRectangle* rect) {
-#line 911 "/home/jens/Source/shotwell/src/Page.vala"
+#line 913 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (rect != NULL);
-#line 6605 "Page.c"
+#line 6623 "Page.c"
}
void page_on_resize (Page* self, GdkRectangle* rect) {
-#line 911 "/home/jens/Source/shotwell/src/Page.vala"
+#line 913 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 911 "/home/jens/Source/shotwell/src/Page.vala"
+#line 913 "/home/jens/Source/shotwell/src/Page.vala"
PAGE_GET_CLASS (self)->on_resize (self, rect);
-#line 6614 "Page.c"
+#line 6632 "Page.c"
}
static void page_real_on_resize_start (Page* self, GdkRectangle* rect) {
-#line 914 "/home/jens/Source/shotwell/src/Page.vala"
+#line 916 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (rect != NULL);
-#line 6621 "Page.c"
+#line 6639 "Page.c"
}
void page_on_resize_start (Page* self, GdkRectangle* rect) {
-#line 914 "/home/jens/Source/shotwell/src/Page.vala"
+#line 916 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 914 "/home/jens/Source/shotwell/src/Page.vala"
+#line 916 "/home/jens/Source/shotwell/src/Page.vala"
PAGE_GET_CLASS (self)->on_resize_start (self, rect);
-#line 6630 "Page.c"
+#line 6648 "Page.c"
}
static void page_real_on_resize_finished (Page* self, GdkRectangle* rect) {
-#line 917 "/home/jens/Source/shotwell/src/Page.vala"
+#line 919 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (rect != NULL);
-#line 6637 "Page.c"
+#line 6655 "Page.c"
}
void page_on_resize_finished (Page* self, GdkRectangle* rect) {
-#line 917 "/home/jens/Source/shotwell/src/Page.vala"
+#line 919 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 917 "/home/jens/Source/shotwell/src/Page.vala"
+#line 919 "/home/jens/Source/shotwell/src/Page.vala"
PAGE_GET_CLASS (self)->on_resize_finished (self, rect);
-#line 6646 "Page.c"
+#line 6664 "Page.c"
}
static gboolean page_real_on_configure (Page* self, GdkEventConfigure* event, GdkRectangle* rect) {
gboolean result = FALSE;
-#line 920 "/home/jens/Source/shotwell/src/Page.vala"
+#line 922 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 920 "/home/jens/Source/shotwell/src/Page.vala"
+#line 922 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (rect != NULL, FALSE);
-#line 921 "/home/jens/Source/shotwell/src/Page.vala"
+#line 923 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 921 "/home/jens/Source/shotwell/src/Page.vala"
+#line 923 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 6660 "Page.c"
+#line 6678 "Page.c"
}
gboolean page_on_configure (Page* self, GdkEventConfigure* event, GdkRectangle* rect) {
-#line 920 "/home/jens/Source/shotwell/src/Page.vala"
+#line 922 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 920 "/home/jens/Source/shotwell/src/Page.vala"
+#line 922 "/home/jens/Source/shotwell/src/Page.vala"
return PAGE_GET_CLASS (self)->on_configure (self, event, rect);
-#line 6669 "Page.c"
+#line 6687 "Page.c"
}
static gboolean _page_check_configure_halted_gsource_func (gpointer self) {
gboolean result;
result = page_check_configure_halted ((Page*) self);
-#line 945 "/home/jens/Source/shotwell/src/Page.vala"
+#line 947 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 6678 "Page.c"
+#line 6696 "Page.c"
}
@@ -6705,41 +6723,41 @@ gboolean page_notify_configure_event (Page* self, GdkEventConfigure* event) {
GdkEventConfigure* _tmp51_ = NULL;
GdkRectangle _tmp52_ = {0};
gboolean _tmp53_ = FALSE;
-#line 924 "/home/jens/Source/shotwell/src/Page.vala"
+#line 926 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 924 "/home/jens/Source/shotwell/src/Page.vala"
+#line 926 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 925 "/home/jens/Source/shotwell/src/Page.vala"
+#line 927 "/home/jens/Source/shotwell/src/Page.vala"
memset (&rect, 0, sizeof (GdkRectangle));
-#line 926 "/home/jens/Source/shotwell/src/Page.vala"
+#line 928 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = event;
-#line 926 "/home/jens/Source/shotwell/src/Page.vala"
+#line 928 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _tmp0_->x;
-#line 926 "/home/jens/Source/shotwell/src/Page.vala"
+#line 928 "/home/jens/Source/shotwell/src/Page.vala"
rect.x = _tmp1_;
-#line 927 "/home/jens/Source/shotwell/src/Page.vala"
+#line 929 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = event;
-#line 927 "/home/jens/Source/shotwell/src/Page.vala"
+#line 929 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = _tmp2_->y;
-#line 927 "/home/jens/Source/shotwell/src/Page.vala"
+#line 929 "/home/jens/Source/shotwell/src/Page.vala"
rect.y = _tmp3_;
-#line 928 "/home/jens/Source/shotwell/src/Page.vala"
+#line 930 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = event;
-#line 928 "/home/jens/Source/shotwell/src/Page.vala"
+#line 930 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = _tmp4_->width;
-#line 928 "/home/jens/Source/shotwell/src/Page.vala"
+#line 930 "/home/jens/Source/shotwell/src/Page.vala"
rect.width = _tmp5_;
-#line 929 "/home/jens/Source/shotwell/src/Page.vala"
+#line 931 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = event;
-#line 929 "/home/jens/Source/shotwell/src/Page.vala"
+#line 931 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = _tmp6_->height;
-#line 929 "/home/jens/Source/shotwell/src/Page.vala"
+#line 931 "/home/jens/Source/shotwell/src/Page.vala"
rect.height = _tmp7_;
-#line 932 "/home/jens/Source/shotwell/src/Page.vala"
+#line 934 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = self->priv->last_configure_ms;
-#line 932 "/home/jens/Source/shotwell/src/Page.vala"
+#line 934 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp8_ == ((gulong) 0)) {
-#line 6743 "Page.c"
+#line 6761 "Page.c"
gboolean _tmp9_ = FALSE;
GdkRectangle _tmp10_ = {0};
gint _tmp11_ = 0;
@@ -6750,193 +6768,193 @@ gboolean page_notify_configure_event (Page* self, GdkEventConfigure* event) {
gint _tmp21_ = 0;
GdkRectangle _tmp22_ = {0};
gint _tmp23_ = 0;
-#line 933 "/home/jens/Source/shotwell/src/Page.vala"
+#line 935 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = self->priv->last_position;
-#line 933 "/home/jens/Source/shotwell/src/Page.vala"
+#line 935 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = _tmp10_.x;
-#line 933 "/home/jens/Source/shotwell/src/Page.vala"
+#line 935 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = rect;
-#line 933 "/home/jens/Source/shotwell/src/Page.vala"
+#line 935 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = _tmp12_.x;
-#line 933 "/home/jens/Source/shotwell/src/Page.vala"
+#line 935 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp11_ != _tmp13_) {
-#line 933 "/home/jens/Source/shotwell/src/Page.vala"
+#line 935 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = TRUE;
-#line 6766 "Page.c"
+#line 6784 "Page.c"
} else {
GdkRectangle _tmp14_ = {0};
gint _tmp15_ = 0;
GdkRectangle _tmp16_ = {0};
gint _tmp17_ = 0;
-#line 933 "/home/jens/Source/shotwell/src/Page.vala"
+#line 935 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = self->priv->last_position;
-#line 933 "/home/jens/Source/shotwell/src/Page.vala"
+#line 935 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = _tmp14_.y;
-#line 933 "/home/jens/Source/shotwell/src/Page.vala"
+#line 935 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = rect;
-#line 933 "/home/jens/Source/shotwell/src/Page.vala"
+#line 935 "/home/jens/Source/shotwell/src/Page.vala"
_tmp17_ = _tmp16_.y;
-#line 933 "/home/jens/Source/shotwell/src/Page.vala"
+#line 935 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = _tmp15_ != _tmp17_;
-#line 6782 "Page.c"
+#line 6800 "Page.c"
}
-#line 933 "/home/jens/Source/shotwell/src/Page.vala"
+#line 935 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp9_) {
-#line 6786 "Page.c"
+#line 6804 "Page.c"
GdkRectangle _tmp18_ = {0};
-#line 934 "/home/jens/Source/shotwell/src/Page.vala"
+#line 936 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = rect;
-#line 934 "/home/jens/Source/shotwell/src/Page.vala"
+#line 936 "/home/jens/Source/shotwell/src/Page.vala"
page_on_move_start (self, &_tmp18_);
-#line 935 "/home/jens/Source/shotwell/src/Page.vala"
+#line 937 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->report_move_finished = TRUE;
-#line 6794 "Page.c"
+#line 6812 "Page.c"
}
-#line 938 "/home/jens/Source/shotwell/src/Page.vala"
+#line 940 "/home/jens/Source/shotwell/src/Page.vala"
_tmp20_ = self->priv->last_position;
-#line 938 "/home/jens/Source/shotwell/src/Page.vala"
+#line 940 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = _tmp20_.width;
-#line 938 "/home/jens/Source/shotwell/src/Page.vala"
+#line 940 "/home/jens/Source/shotwell/src/Page.vala"
_tmp22_ = rect;
-#line 938 "/home/jens/Source/shotwell/src/Page.vala"
+#line 940 "/home/jens/Source/shotwell/src/Page.vala"
_tmp23_ = _tmp22_.width;
-#line 938 "/home/jens/Source/shotwell/src/Page.vala"
+#line 940 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp21_ != _tmp23_) {
-#line 938 "/home/jens/Source/shotwell/src/Page.vala"
+#line 940 "/home/jens/Source/shotwell/src/Page.vala"
_tmp19_ = TRUE;
-#line 6808 "Page.c"
+#line 6826 "Page.c"
} else {
GdkRectangle _tmp24_ = {0};
gint _tmp25_ = 0;
GdkRectangle _tmp26_ = {0};
gint _tmp27_ = 0;
-#line 938 "/home/jens/Source/shotwell/src/Page.vala"
+#line 940 "/home/jens/Source/shotwell/src/Page.vala"
_tmp24_ = self->priv->last_position;
-#line 938 "/home/jens/Source/shotwell/src/Page.vala"
+#line 940 "/home/jens/Source/shotwell/src/Page.vala"
_tmp25_ = _tmp24_.height;
-#line 938 "/home/jens/Source/shotwell/src/Page.vala"
+#line 940 "/home/jens/Source/shotwell/src/Page.vala"
_tmp26_ = rect;
-#line 938 "/home/jens/Source/shotwell/src/Page.vala"
+#line 940 "/home/jens/Source/shotwell/src/Page.vala"
_tmp27_ = _tmp26_.height;
-#line 938 "/home/jens/Source/shotwell/src/Page.vala"
+#line 940 "/home/jens/Source/shotwell/src/Page.vala"
_tmp19_ = _tmp25_ != _tmp27_;
-#line 6824 "Page.c"
+#line 6842 "Page.c"
}
-#line 938 "/home/jens/Source/shotwell/src/Page.vala"
+#line 940 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp19_) {
-#line 6828 "Page.c"
+#line 6846 "Page.c"
GdkRectangle _tmp28_ = {0};
-#line 939 "/home/jens/Source/shotwell/src/Page.vala"
+#line 941 "/home/jens/Source/shotwell/src/Page.vala"
_tmp28_ = rect;
-#line 939 "/home/jens/Source/shotwell/src/Page.vala"
+#line 941 "/home/jens/Source/shotwell/src/Page.vala"
page_on_resize_start (self, &_tmp28_);
-#line 940 "/home/jens/Source/shotwell/src/Page.vala"
+#line 942 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->report_resize_finished = TRUE;
-#line 6836 "Page.c"
+#line 6854 "Page.c"
}
-#line 945 "/home/jens/Source/shotwell/src/Page.vala"
+#line 947 "/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 6840 "Page.c"
+#line 6858 "Page.c"
}
-#line 948 "/home/jens/Source/shotwell/src/Page.vala"
+#line 950 "/home/jens/Source/shotwell/src/Page.vala"
_tmp30_ = self->priv->last_position;
-#line 948 "/home/jens/Source/shotwell/src/Page.vala"
+#line 950 "/home/jens/Source/shotwell/src/Page.vala"
_tmp31_ = _tmp30_.x;
-#line 948 "/home/jens/Source/shotwell/src/Page.vala"
+#line 950 "/home/jens/Source/shotwell/src/Page.vala"
_tmp32_ = rect;
-#line 948 "/home/jens/Source/shotwell/src/Page.vala"
+#line 950 "/home/jens/Source/shotwell/src/Page.vala"
_tmp33_ = _tmp32_.x;
-#line 948 "/home/jens/Source/shotwell/src/Page.vala"
+#line 950 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp31_ != _tmp33_) {
-#line 948 "/home/jens/Source/shotwell/src/Page.vala"
+#line 950 "/home/jens/Source/shotwell/src/Page.vala"
_tmp29_ = TRUE;
-#line 6854 "Page.c"
+#line 6872 "Page.c"
} else {
GdkRectangle _tmp34_ = {0};
gint _tmp35_ = 0;
GdkRectangle _tmp36_ = {0};
gint _tmp37_ = 0;
-#line 948 "/home/jens/Source/shotwell/src/Page.vala"
+#line 950 "/home/jens/Source/shotwell/src/Page.vala"
_tmp34_ = self->priv->last_position;
-#line 948 "/home/jens/Source/shotwell/src/Page.vala"
+#line 950 "/home/jens/Source/shotwell/src/Page.vala"
_tmp35_ = _tmp34_.y;
-#line 948 "/home/jens/Source/shotwell/src/Page.vala"
+#line 950 "/home/jens/Source/shotwell/src/Page.vala"
_tmp36_ = rect;
-#line 948 "/home/jens/Source/shotwell/src/Page.vala"
+#line 950 "/home/jens/Source/shotwell/src/Page.vala"
_tmp37_ = _tmp36_.y;
-#line 948 "/home/jens/Source/shotwell/src/Page.vala"
+#line 950 "/home/jens/Source/shotwell/src/Page.vala"
_tmp29_ = _tmp35_ != _tmp37_;
-#line 6870 "Page.c"
+#line 6888 "Page.c"
}
-#line 948 "/home/jens/Source/shotwell/src/Page.vala"
+#line 950 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp29_) {
-#line 6874 "Page.c"
+#line 6892 "Page.c"
GdkRectangle _tmp38_ = {0};
-#line 949 "/home/jens/Source/shotwell/src/Page.vala"
+#line 951 "/home/jens/Source/shotwell/src/Page.vala"
_tmp38_ = rect;
-#line 949 "/home/jens/Source/shotwell/src/Page.vala"
+#line 951 "/home/jens/Source/shotwell/src/Page.vala"
page_on_move (self, &_tmp38_);
-#line 6880 "Page.c"
+#line 6898 "Page.c"
}
-#line 951 "/home/jens/Source/shotwell/src/Page.vala"
+#line 953 "/home/jens/Source/shotwell/src/Page.vala"
_tmp40_ = self->priv->last_position;
-#line 951 "/home/jens/Source/shotwell/src/Page.vala"
+#line 953 "/home/jens/Source/shotwell/src/Page.vala"
_tmp41_ = _tmp40_.width;
-#line 951 "/home/jens/Source/shotwell/src/Page.vala"
+#line 953 "/home/jens/Source/shotwell/src/Page.vala"
_tmp42_ = rect;
-#line 951 "/home/jens/Source/shotwell/src/Page.vala"
+#line 953 "/home/jens/Source/shotwell/src/Page.vala"
_tmp43_ = _tmp42_.width;
-#line 951 "/home/jens/Source/shotwell/src/Page.vala"
+#line 953 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp41_ != _tmp43_) {
-#line 951 "/home/jens/Source/shotwell/src/Page.vala"
+#line 953 "/home/jens/Source/shotwell/src/Page.vala"
_tmp39_ = TRUE;
-#line 6894 "Page.c"
+#line 6912 "Page.c"
} else {
GdkRectangle _tmp44_ = {0};
gint _tmp45_ = 0;
GdkRectangle _tmp46_ = {0};
gint _tmp47_ = 0;
-#line 951 "/home/jens/Source/shotwell/src/Page.vala"
+#line 953 "/home/jens/Source/shotwell/src/Page.vala"
_tmp44_ = self->priv->last_position;
-#line 951 "/home/jens/Source/shotwell/src/Page.vala"
+#line 953 "/home/jens/Source/shotwell/src/Page.vala"
_tmp45_ = _tmp44_.height;
-#line 951 "/home/jens/Source/shotwell/src/Page.vala"
+#line 953 "/home/jens/Source/shotwell/src/Page.vala"
_tmp46_ = rect;
-#line 951 "/home/jens/Source/shotwell/src/Page.vala"
+#line 953 "/home/jens/Source/shotwell/src/Page.vala"
_tmp47_ = _tmp46_.height;
-#line 951 "/home/jens/Source/shotwell/src/Page.vala"
+#line 953 "/home/jens/Source/shotwell/src/Page.vala"
_tmp39_ = _tmp45_ != _tmp47_;
-#line 6910 "Page.c"
+#line 6928 "Page.c"
}
-#line 951 "/home/jens/Source/shotwell/src/Page.vala"
+#line 953 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp39_) {
-#line 6914 "Page.c"
+#line 6932 "Page.c"
GdkRectangle _tmp48_ = {0};
-#line 952 "/home/jens/Source/shotwell/src/Page.vala"
+#line 954 "/home/jens/Source/shotwell/src/Page.vala"
_tmp48_ = rect;
-#line 952 "/home/jens/Source/shotwell/src/Page.vala"
+#line 954 "/home/jens/Source/shotwell/src/Page.vala"
page_on_resize (self, &_tmp48_);
-#line 6920 "Page.c"
+#line 6938 "Page.c"
}
-#line 954 "/home/jens/Source/shotwell/src/Page.vala"
+#line 956 "/home/jens/Source/shotwell/src/Page.vala"
_tmp49_ = rect;
-#line 954 "/home/jens/Source/shotwell/src/Page.vala"
+#line 956 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->last_position = _tmp49_;
-#line 955 "/home/jens/Source/shotwell/src/Page.vala"
+#line 957 "/home/jens/Source/shotwell/src/Page.vala"
_tmp50_ = now_ms ();
-#line 955 "/home/jens/Source/shotwell/src/Page.vala"
- self->priv->last_configure_ms = _tmp50_;
#line 957 "/home/jens/Source/shotwell/src/Page.vala"
+ self->priv->last_configure_ms = _tmp50_;
+#line 959 "/home/jens/Source/shotwell/src/Page.vala"
_tmp51_ = event;
-#line 957 "/home/jens/Source/shotwell/src/Page.vala"
+#line 959 "/home/jens/Source/shotwell/src/Page.vala"
_tmp52_ = rect;
-#line 957 "/home/jens/Source/shotwell/src/Page.vala"
+#line 959 "/home/jens/Source/shotwell/src/Page.vala"
_tmp53_ = page_on_configure (self, _tmp51_, &_tmp52_);
-#line 957 "/home/jens/Source/shotwell/src/Page.vala"
+#line 959 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp53_;
-#line 957 "/home/jens/Source/shotwell/src/Page.vala"
+#line 959 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 6940 "Page.c"
+#line 6958 "Page.c"
}
@@ -6949,117 +6967,117 @@ static gboolean page_check_configure_halted (Page* self) {
GtkAllocation _tmp3_ = {0};
gboolean _tmp4_ = FALSE;
gboolean _tmp7_ = FALSE;
-#line 960 "/home/jens/Source/shotwell/src/Page.vala"
+#line 962 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 961 "/home/jens/Source/shotwell/src/Page.vala"
+#line 963 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->is_destroyed;
-#line 961 "/home/jens/Source/shotwell/src/Page.vala"
+#line 963 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp0_) {
-#line 962 "/home/jens/Source/shotwell/src/Page.vala"
+#line 964 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 962 "/home/jens/Source/shotwell/src/Page.vala"
+#line 964 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 6963 "Page.c"
+#line 6981 "Page.c"
}
-#line 964 "/home/jens/Source/shotwell/src/Page.vala"
+#line 966 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = now_ms ();
-#line 964 "/home/jens/Source/shotwell/src/Page.vala"
+#line 966 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->priv->last_configure_ms;
-#line 964 "/home/jens/Source/shotwell/src/Page.vala"
+#line 966 "/home/jens/Source/shotwell/src/Page.vala"
if ((_tmp1_ - _tmp2_) < ((gulong) PAGE_CONSIDER_CONFIGURE_HALTED_MSEC)) {
-#line 965 "/home/jens/Source/shotwell/src/Page.vala"
+#line 967 "/home/jens/Source/shotwell/src/Page.vala"
result = TRUE;
-#line 965 "/home/jens/Source/shotwell/src/Page.vala"
+#line 967 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 6975 "Page.c"
+#line 6993 "Page.c"
}
-#line 968 "/home/jens/Source/shotwell/src/Page.vala"
+#line 970 "/home/jens/Source/shotwell/src/Page.vala"
gtk_widget_get_allocation (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), &_tmp3_);
-#line 968 "/home/jens/Source/shotwell/src/Page.vala"
- allocation = _tmp3_;
#line 970 "/home/jens/Source/shotwell/src/Page.vala"
+ allocation = _tmp3_;
+#line 972 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = self->priv->report_move_finished;
-#line 970 "/home/jens/Source/shotwell/src/Page.vala"
+#line 972 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp4_) {
-#line 6985 "Page.c"
+#line 7003 "Page.c"
GtkAllocation _tmp5_ = {0};
GdkRectangle _tmp6_ = {0};
-#line 971 "/home/jens/Source/shotwell/src/Page.vala"
+#line 973 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = allocation;
-#line 971 "/home/jens/Source/shotwell/src/Page.vala"
+#line 973 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = (GdkRectangle) _tmp5_;
-#line 971 "/home/jens/Source/shotwell/src/Page.vala"
+#line 973 "/home/jens/Source/shotwell/src/Page.vala"
page_on_move_finished (self, &_tmp6_);
-#line 6994 "Page.c"
+#line 7012 "Page.c"
}
-#line 973 "/home/jens/Source/shotwell/src/Page.vala"
+#line 975 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = self->priv->report_resize_finished;
-#line 973 "/home/jens/Source/shotwell/src/Page.vala"
+#line 975 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp7_) {
-#line 7000 "Page.c"
+#line 7018 "Page.c"
GtkAllocation _tmp8_ = {0};
GdkRectangle _tmp9_ = {0};
-#line 974 "/home/jens/Source/shotwell/src/Page.vala"
+#line 976 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = allocation;
-#line 974 "/home/jens/Source/shotwell/src/Page.vala"
+#line 976 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = (GdkRectangle) _tmp8_;
-#line 974 "/home/jens/Source/shotwell/src/Page.vala"
+#line 976 "/home/jens/Source/shotwell/src/Page.vala"
page_on_resize_finished (self, &_tmp9_);
-#line 7009 "Page.c"
+#line 7027 "Page.c"
}
-#line 976 "/home/jens/Source/shotwell/src/Page.vala"
+#line 978 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->last_configure_ms = (gulong) 0;
-#line 977 "/home/jens/Source/shotwell/src/Page.vala"
+#line 979 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->report_move_finished = FALSE;
-#line 978 "/home/jens/Source/shotwell/src/Page.vala"
- self->priv->report_resize_finished = FALSE;
#line 980 "/home/jens/Source/shotwell/src/Page.vala"
+ self->priv->report_resize_finished = FALSE;
+#line 982 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 980 "/home/jens/Source/shotwell/src/Page.vala"
+#line 982 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 7021 "Page.c"
+#line 7039 "Page.c"
}
static gboolean page_real_on_motion (Page* self, GdkEventMotion* event, gint x, gint y, GdkModifierType mask) {
gboolean result = FALSE;
-#line 983 "/home/jens/Source/shotwell/src/Page.vala"
+#line 985 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 984 "/home/jens/Source/shotwell/src/Page.vala"
- page_check_cursor_hiding (self);
#line 986 "/home/jens/Source/shotwell/src/Page.vala"
+ page_check_cursor_hiding (self);
+#line 988 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 986 "/home/jens/Source/shotwell/src/Page.vala"
+#line 988 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 7035 "Page.c"
+#line 7053 "Page.c"
}
gboolean page_on_motion (Page* self, GdkEventMotion* event, gint x, gint y, GdkModifierType mask) {
-#line 983 "/home/jens/Source/shotwell/src/Page.vala"
+#line 985 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 983 "/home/jens/Source/shotwell/src/Page.vala"
+#line 985 "/home/jens/Source/shotwell/src/Page.vala"
return PAGE_GET_CLASS (self)->on_motion (self, event, x, y, mask);
-#line 7044 "Page.c"
+#line 7062 "Page.c"
}
static gboolean page_real_on_leave_notify_event (Page* self) {
gboolean result = FALSE;
-#line 990 "/home/jens/Source/shotwell/src/Page.vala"
+#line 992 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 990 "/home/jens/Source/shotwell/src/Page.vala"
+#line 992 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 7054 "Page.c"
+#line 7072 "Page.c"
}
gboolean page_on_leave_notify_event (Page* self) {
-#line 989 "/home/jens/Source/shotwell/src/Page.vala"
+#line 991 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 989 "/home/jens/Source/shotwell/src/Page.vala"
+#line 991 "/home/jens/Source/shotwell/src/Page.vala"
return PAGE_GET_CLASS (self)->on_leave_notify_event (self);
-#line 7063 "Page.c"
+#line 7081 "Page.c"
}
@@ -7075,29 +7093,29 @@ static gboolean page_on_motion_internal (Page* self, GdkEventMotion* event) {
gint _tmp13_ = 0;
GdkModifierType _tmp14_ = 0;
gboolean _tmp15_ = FALSE;
-#line 993 "/home/jens/Source/shotwell/src/Page.vala"
+#line 995 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 993 "/home/jens/Source/shotwell/src/Page.vala"
+#line 995 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 996 "/home/jens/Source/shotwell/src/Page.vala"
+#line 998 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = event;
-#line 996 "/home/jens/Source/shotwell/src/Page.vala"
+#line 998 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _tmp0_->is_hint;
-#line 996 "/home/jens/Source/shotwell/src/Page.vala"
+#line 998 "/home/jens/Source/shotwell/src/Page.vala"
if (((gint) _tmp1_) == 1) {
-#line 7089 "Page.c"
+#line 7107 "Page.c"
gint _tmp2_ = 0;
gint _tmp3_ = 0;
GdkModifierType _tmp4_ = 0;
-#line 997 "/home/jens/Source/shotwell/src/Page.vala"
+#line 999 "/home/jens/Source/shotwell/src/Page.vala"
page_get_event_source_pointer (self, &_tmp2_, &_tmp3_, &_tmp4_);
-#line 997 "/home/jens/Source/shotwell/src/Page.vala"
+#line 999 "/home/jens/Source/shotwell/src/Page.vala"
x = _tmp2_;
-#line 997 "/home/jens/Source/shotwell/src/Page.vala"
+#line 999 "/home/jens/Source/shotwell/src/Page.vala"
y = _tmp3_;
-#line 997 "/home/jens/Source/shotwell/src/Page.vala"
+#line 999 "/home/jens/Source/shotwell/src/Page.vala"
mask = _tmp4_;
-#line 7101 "Page.c"
+#line 7119 "Page.c"
} else {
GdkEventMotion* _tmp5_ = NULL;
gdouble _tmp6_ = 0.0;
@@ -7105,41 +7123,41 @@ static gboolean page_on_motion_internal (Page* self, GdkEventMotion* event) {
gdouble _tmp8_ = 0.0;
GdkEventMotion* _tmp9_ = NULL;
GdkModifierType _tmp10_ = 0;
-#line 999 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1001 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = event;
-#line 999 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1001 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = _tmp5_->x;
-#line 999 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1001 "/home/jens/Source/shotwell/src/Page.vala"
x = (gint) _tmp6_;
-#line 1000 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1002 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = event;
-#line 1000 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1002 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = _tmp7_->y;
-#line 1000 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1002 "/home/jens/Source/shotwell/src/Page.vala"
y = (gint) _tmp8_;
-#line 1001 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1003 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = event;
-#line 1001 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1003 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = _tmp9_->state;
-#line 1001 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1003 "/home/jens/Source/shotwell/src/Page.vala"
mask = _tmp10_;
-#line 7127 "Page.c"
+#line 7145 "Page.c"
}
-#line 1004 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1006 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = event;
-#line 1004 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1006 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = x;
-#line 1004 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1006 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = y;
-#line 1004 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1006 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = mask;
-#line 1004 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1006 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = page_on_motion (self, _tmp11_, _tmp12_, _tmp13_, _tmp14_);
-#line 1004 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1006 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp15_;
-#line 1004 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1006 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 7143 "Page.c"
+#line 7161 "Page.c"
}
@@ -7147,87 +7165,87 @@ static gboolean page_on_mousewheel_internal (Page* self, GdkEventScroll* event)
gboolean result = FALSE;
GdkEventScroll* _tmp0_ = NULL;
GdkScrollDirection _tmp1_ = 0;
-#line 1007 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1009 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 1007 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1009 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 1008 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1010 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = event;
-#line 1008 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1010 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _tmp0_->direction;
-#line 1008 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1010 "/home/jens/Source/shotwell/src/Page.vala"
switch (_tmp1_) {
-#line 1008 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1010 "/home/jens/Source/shotwell/src/Page.vala"
case GDK_SCROLL_UP:
-#line 7163 "Page.c"
+#line 7181 "Page.c"
{
GdkEventScroll* _tmp2_ = NULL;
gboolean _tmp3_ = FALSE;
-#line 1010 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1012 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = event;
-#line 1010 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1012 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = page_on_mousewheel_up (self, _tmp2_);
-#line 1010 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1012 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp3_;
-#line 1010 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1012 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 7175 "Page.c"
+#line 7193 "Page.c"
}
-#line 1008 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1010 "/home/jens/Source/shotwell/src/Page.vala"
case GDK_SCROLL_DOWN:
-#line 7179 "Page.c"
+#line 7197 "Page.c"
{
GdkEventScroll* _tmp4_ = NULL;
gboolean _tmp5_ = FALSE;
-#line 1013 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1015 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = event;
-#line 1013 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1015 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = page_on_mousewheel_down (self, _tmp4_);
-#line 1013 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1015 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp5_;
-#line 1013 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1015 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 7191 "Page.c"
+#line 7209 "Page.c"
}
-#line 1008 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1010 "/home/jens/Source/shotwell/src/Page.vala"
case GDK_SCROLL_LEFT:
-#line 7195 "Page.c"
+#line 7213 "Page.c"
{
GdkEventScroll* _tmp6_ = NULL;
gboolean _tmp7_ = FALSE;
-#line 1016 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1018 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = event;
-#line 1016 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1018 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = page_on_mousewheel_left (self, _tmp6_);
-#line 1016 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1018 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp7_;
-#line 1016 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1018 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 7207 "Page.c"
+#line 7225 "Page.c"
}
-#line 1008 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1010 "/home/jens/Source/shotwell/src/Page.vala"
case GDK_SCROLL_RIGHT:
-#line 7211 "Page.c"
+#line 7229 "Page.c"
{
GdkEventScroll* _tmp8_ = NULL;
gboolean _tmp9_ = FALSE;
-#line 1019 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1021 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = event;
-#line 1019 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1021 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = page_on_mousewheel_right (self, _tmp8_);
-#line 1019 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1021 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp9_;
-#line 1019 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1021 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 7223 "Page.c"
+#line 7241 "Page.c"
}
default:
{
-#line 1022 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1024 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 1022 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1024 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 7231 "Page.c"
+#line 7249 "Page.c"
}
}
}
@@ -7235,144 +7253,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 1026 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1028 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 1027 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1029 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 1027 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1029 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 7245 "Page.c"
+#line 7263 "Page.c"
}
gboolean page_on_mousewheel_up (Page* self, GdkEventScroll* event) {
-#line 1026 "/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 1026 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1028 "/home/jens/Source/shotwell/src/Page.vala"
return PAGE_GET_CLASS (self)->on_mousewheel_up (self, event);
-#line 7254 "Page.c"
+#line 7272 "Page.c"
}
static gboolean page_real_on_mousewheel_down (Page* self, GdkEventScroll* event) {
gboolean result = FALSE;
-#line 1030 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1032 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 1031 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1033 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 1031 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1033 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 7266 "Page.c"
+#line 7284 "Page.c"
}
gboolean page_on_mousewheel_down (Page* self, GdkEventScroll* event) {
-#line 1030 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1032 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 1030 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1032 "/home/jens/Source/shotwell/src/Page.vala"
return PAGE_GET_CLASS (self)->on_mousewheel_down (self, event);
-#line 7275 "Page.c"
+#line 7293 "Page.c"
}
static gboolean page_real_on_mousewheel_left (Page* self, GdkEventScroll* event) {
gboolean result = FALSE;
-#line 1034 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1036 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 1035 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1037 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 1035 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1037 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 7287 "Page.c"
+#line 7305 "Page.c"
}
gboolean page_on_mousewheel_left (Page* self, GdkEventScroll* event) {
-#line 1034 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1036 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 1034 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1036 "/home/jens/Source/shotwell/src/Page.vala"
return PAGE_GET_CLASS (self)->on_mousewheel_left (self, event);
-#line 7296 "Page.c"
+#line 7314 "Page.c"
}
static gboolean page_real_on_mousewheel_right (Page* self, GdkEventScroll* event) {
gboolean result = FALSE;
-#line 1038 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1040 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 1039 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1041 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 1039 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1041 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 7308 "Page.c"
+#line 7326 "Page.c"
}
gboolean page_on_mousewheel_right (Page* self, GdkEventScroll* event) {
-#line 1038 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1040 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 1038 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1040 "/home/jens/Source/shotwell/src/Page.vala"
return PAGE_GET_CLASS (self)->on_mousewheel_right (self, event);
-#line 7317 "Page.c"
+#line 7335 "Page.c"
}
static gboolean page_real_on_context_keypress (Page* self) {
gboolean result = FALSE;
-#line 1043 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1045 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 1043 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1045 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 7327 "Page.c"
+#line 7345 "Page.c"
}
gboolean page_on_context_keypress (Page* self) {
-#line 1042 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1044 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 1042 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1044 "/home/jens/Source/shotwell/src/Page.vala"
return PAGE_GET_CLASS (self)->on_context_keypress (self);
-#line 7336 "Page.c"
+#line 7354 "Page.c"
}
static gboolean page_real_on_context_buttonpress (Page* self, GdkEventButton* event) {
gboolean result = FALSE;
-#line 1046 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1048 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 1047 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1049 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 1047 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1049 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 7348 "Page.c"
+#line 7366 "Page.c"
}
gboolean page_on_context_buttonpress (Page* self, GdkEventButton* event) {
-#line 1046 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1048 "/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 1048 "/home/jens/Source/shotwell/src/Page.vala"
return PAGE_GET_CLASS (self)->on_context_buttonpress (self, event);
-#line 7357 "Page.c"
+#line 7375 "Page.c"
}
static gboolean page_real_on_context_invoked (Page* self) {
gboolean result = FALSE;
-#line 1051 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1053 "/home/jens/Source/shotwell/src/Page.vala"
result = TRUE;
-#line 1051 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1053 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 7367 "Page.c"
+#line 7385 "Page.c"
}
gboolean page_on_context_invoked (Page* self) {
-#line 1050 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1052 "/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 1052 "/home/jens/Source/shotwell/src/Page.vala"
return PAGE_GET_CLASS (self)->on_context_invoked (self);
-#line 7376 "Page.c"
+#line 7394 "Page.c"
}
@@ -7381,72 +7399,72 @@ gboolean page_popup_context_menu (Page* self, GtkMenu* context_menu, GdkEventBut
gboolean _tmp0_ = FALSE;
GtkMenu* _tmp1_ = NULL;
GdkEventButton* _tmp3_ = NULL;
-#line 1054 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1056 "/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 1056 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail ((context_menu == NULL) || GTK_IS_MENU (context_menu), FALSE);
-#line 1057 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1059 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = context_menu;
-#line 1057 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1059 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp1_ == NULL) {
-#line 1057 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1059 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = TRUE;
-#line 7395 "Page.c"
+#line 7413 "Page.c"
} else {
gboolean _tmp2_ = FALSE;
-#line 1057 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1059 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = page_on_context_invoked (self);
-#line 1057 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1059 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = !_tmp2_;
-#line 7402 "Page.c"
+#line 7420 "Page.c"
}
-#line 1057 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1059 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp0_) {
-#line 1058 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1060 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 1058 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1060 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 7410 "Page.c"
+#line 7428 "Page.c"
}
-#line 1060 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1062 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = event;
-#line 1060 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1062 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp3_ == NULL) {
-#line 7416 "Page.c"
+#line 7434 "Page.c"
GtkMenu* _tmp4_ = NULL;
guint32 _tmp5_ = 0U;
-#line 1061 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1063 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = context_menu;
-#line 1061 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1063 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = gtk_get_current_event_time ();
-#line 1061 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1063 "/home/jens/Source/shotwell/src/Page.vala"
gtk_menu_popup (_tmp4_, NULL, NULL, NULL, NULL, (guint) 0, _tmp5_);
-#line 7425 "Page.c"
+#line 7443 "Page.c"
} else {
GtkMenu* _tmp6_ = NULL;
GdkEventButton* _tmp7_ = NULL;
guint _tmp8_ = 0U;
GdkEventButton* _tmp9_ = NULL;
guint32 _tmp10_ = 0U;
-#line 1063 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1065 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = context_menu;
-#line 1063 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1065 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = event;
-#line 1063 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1065 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = _tmp7_->button;
-#line 1063 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1065 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = event;
-#line 1063 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1065 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = _tmp9_->time;
-#line 1063 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1065 "/home/jens/Source/shotwell/src/Page.vala"
gtk_menu_popup (_tmp6_, NULL, NULL, NULL, NULL, _tmp8_, _tmp10_);
-#line 7444 "Page.c"
+#line 7462 "Page.c"
}
-#line 1065 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1067 "/home/jens/Source/shotwell/src/Page.vala"
result = TRUE;
-#line 1065 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1067 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 7450 "Page.c"
+#line 7468 "Page.c"
}
@@ -7461,166 +7479,166 @@ void page_on_event_source_realize (Page* self) {
GdkWindow* _tmp10_ = NULL;
GdkWindow* _tmp11_ = NULL;
GdkWindow* _tmp20_ = NULL;
-#line 1068 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1070 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 1069 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1071 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->event_source;
-#line 1069 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1071 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = gtk_widget_get_window (_tmp0_);
-#line 1069 "/home/jens/Source/shotwell/src/Page.vala"
- _vala_assert (_tmp1_ != NULL, "event_source.get_window() != null");
#line 1071 "/home/jens/Source/shotwell/src/Page.vala"
+ _vala_assert (_tmp1_ != NULL, "event_source.get_window() != null");
+#line 1073 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->priv->event_source;
-#line 1071 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1073 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = gtk_widget_get_window (_tmp2_);
-#line 1071 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1073 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = gdk_window_get_cursor (_tmp3_);
-#line 1071 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1073 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp4_ != NULL) {
-#line 7481 "Page.c"
+#line 7499 "Page.c"
GtkWidget* _tmp5_ = NULL;
GdkWindow* _tmp6_ = NULL;
GdkCursor* _tmp7_ = NULL;
GdkCursorType _tmp8_ = 0;
-#line 1072 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1074 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = self->priv->event_source;
-#line 1072 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1074 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = gtk_widget_get_window (_tmp5_);
-#line 1072 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1074 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = gdk_window_get_cursor (_tmp6_);
-#line 1072 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1074 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = gdk_cursor_get_cursor_type (_tmp7_);
-#line 1072 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1074 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->last_cursor = _tmp8_;
-#line 1073 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1075 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 7498 "Page.c"
+#line 7516 "Page.c"
}
-#line 1077 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1079 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = self->priv->event_source;
-#line 1077 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1079 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = gtk_widget_get_window (_tmp9_);
-#line 1077 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1079 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = _g_object_ref0 (_tmp10_);
-#line 1077 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1079 "/home/jens/Source/shotwell/src/Page.vala"
parent_window = _tmp11_;
-#line 7508 "Page.c"
+#line 7526 "Page.c"
{
gboolean _tmp12_ = FALSE;
-#line 1078 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1080 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = TRUE;
-#line 1078 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1080 "/home/jens/Source/shotwell/src/Page.vala"
while (TRUE) {
-#line 7515 "Page.c"
+#line 7533 "Page.c"
GdkWindow* _tmp17_ = NULL;
GdkWindow* _tmp18_ = NULL;
GdkWindow* _tmp19_ = NULL;
-#line 1078 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1080 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp12_) {
-#line 7521 "Page.c"
+#line 7539 "Page.c"
gboolean _tmp13_ = FALSE;
GdkWindow* _tmp14_ = NULL;
-#line 1080 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1082 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = parent_window;
-#line 1080 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1082 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp14_ != NULL) {
-#line 7528 "Page.c"
+#line 7546 "Page.c"
GdkWindow* _tmp15_ = NULL;
GdkCursor* _tmp16_ = NULL;
-#line 1080 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1082 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = parent_window;
-#line 1080 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1082 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = gdk_window_get_cursor (_tmp15_);
-#line 1080 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1082 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = _tmp16_ == NULL;
-#line 7537 "Page.c"
+#line 7555 "Page.c"
} else {
-#line 1080 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1082 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = FALSE;
-#line 7541 "Page.c"
+#line 7559 "Page.c"
}
-#line 1080 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1082 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp13_) {
-#line 1080 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1082 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 7547 "Page.c"
+#line 7565 "Page.c"
}
}
-#line 1078 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1080 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = FALSE;
-#line 1079 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1081 "/home/jens/Source/shotwell/src/Page.vala"
_tmp17_ = parent_window;
-#line 1079 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1081 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = gdk_window_get_parent (_tmp17_);
-#line 1079 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1081 "/home/jens/Source/shotwell/src/Page.vala"
_tmp19_ = _g_object_ref0 (_tmp18_);
-#line 1079 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1081 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (parent_window);
-#line 1079 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1081 "/home/jens/Source/shotwell/src/Page.vala"
parent_window = _tmp19_;
-#line 7562 "Page.c"
+#line 7580 "Page.c"
}
}
-#line 1082 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1084 "/home/jens/Source/shotwell/src/Page.vala"
_tmp20_ = parent_window;
-#line 1082 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1084 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp20_ != NULL) {
-#line 7569 "Page.c"
+#line 7587 "Page.c"
GdkWindow* _tmp21_ = NULL;
GdkCursor* _tmp22_ = NULL;
GdkCursorType _tmp23_ = 0;
-#line 1083 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1085 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = parent_window;
-#line 1083 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1085 "/home/jens/Source/shotwell/src/Page.vala"
_tmp22_ = gdk_window_get_cursor (_tmp21_);
-#line 1083 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1085 "/home/jens/Source/shotwell/src/Page.vala"
_tmp23_ = gdk_cursor_get_cursor_type (_tmp22_);
-#line 1083 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1085 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->last_cursor = _tmp23_;
-#line 7581 "Page.c"
+#line 7599 "Page.c"
}
-#line 1068 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1070 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (parent_window);
-#line 7585 "Page.c"
+#line 7603 "Page.c"
}
void page_set_cursor_hide_time (Page* self, gint hide_time) {
gint _tmp0_ = 0;
-#line 1086 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1088 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 1087 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1089 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = hide_time;
-#line 1087 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1089 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->cursor_hide_msec = _tmp0_;
-#line 7597 "Page.c"
+#line 7615 "Page.c"
}
void page_start_cursor_hiding (Page* self) {
-#line 1090 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1092 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 1091 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1093 "/home/jens/Source/shotwell/src/Page.vala"
page_check_cursor_hiding (self);
-#line 7606 "Page.c"
+#line 7624 "Page.c"
}
void page_stop_cursor_hiding (Page* self) {
guint _tmp0_ = 0U;
-#line 1094 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1096 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 1095 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1097 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->last_timeout_id;
-#line 1095 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1097 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp0_ != ((guint) 0)) {
-#line 7618 "Page.c"
+#line 7636 "Page.c"
guint _tmp1_ = 0U;
-#line 1096 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1098 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = self->priv->last_timeout_id;
-#line 1096 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1098 "/home/jens/Source/shotwell/src/Page.vala"
g_source_remove (_tmp1_);
-#line 7624 "Page.c"
+#line 7642 "Page.c"
}
}
@@ -7628,41 +7646,41 @@ void page_stop_cursor_hiding (Page* self) {
void page_suspend_cursor_hiding (Page* self) {
gint _tmp0_ = 0;
guint _tmp1_ = 0U;
-#line 1099 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1101 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 1100 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1102 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->cursor_hide_msec;
-#line 1100 "/home/jens/Source/shotwell/src/Page.vala"
- self->priv->cursor_hide_time_cached = _tmp0_;
#line 1102 "/home/jens/Source/shotwell/src/Page.vala"
+ self->priv->cursor_hide_time_cached = _tmp0_;
+#line 1104 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = self->priv->last_timeout_id;
-#line 1102 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1104 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp1_ != ((guint) 0)) {
-#line 7642 "Page.c"
+#line 7660 "Page.c"
guint _tmp2_ = 0U;
-#line 1103 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1105 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->priv->last_timeout_id;
-#line 1103 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1105 "/home/jens/Source/shotwell/src/Page.vala"
g_source_remove (_tmp2_);
-#line 7648 "Page.c"
+#line 7666 "Page.c"
}
-#line 1105 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1107 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->cursor_hide_msec = 0;
-#line 7652 "Page.c"
+#line 7670 "Page.c"
}
void page_restore_cursor_hiding (Page* self) {
gint _tmp0_ = 0;
-#line 1108 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1110 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 1109 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1111 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->cursor_hide_time_cached;
-#line 1109 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1111 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->cursor_hide_msec = _tmp0_;
-#line 1110 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1112 "/home/jens/Source/shotwell/src/Page.vala"
page_check_cursor_hiding (self);
-#line 7666 "Page.c"
+#line 7684 "Page.c"
}
@@ -7670,29 +7688,29 @@ static void page_real_set_page_cursor (Page* self, GdkCursorType cursor_type) {
GdkCursorType _tmp0_ = 0;
gboolean _tmp1_ = FALSE;
gboolean _tmp2_ = FALSE;
-#line 1115 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1117 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = cursor_type;
-#line 1115 "/home/jens/Source/shotwell/src/Page.vala"
- self->priv->last_cursor = _tmp0_;
#line 1117 "/home/jens/Source/shotwell/src/Page.vala"
+ self->priv->last_cursor = _tmp0_;
+#line 1119 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->priv->cursor_hidden;
-#line 1117 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1119 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp2_) {
-#line 7682 "Page.c"
+#line 7700 "Page.c"
GtkWidget* _tmp3_ = NULL;
-#line 1117 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1119 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = self->priv->event_source;
-#line 1117 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1119 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _tmp3_ != NULL;
-#line 7688 "Page.c"
+#line 7706 "Page.c"
} else {
-#line 1117 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1119 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = FALSE;
-#line 7692 "Page.c"
+#line 7710 "Page.c"
}
-#line 1117 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1119 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp1_) {
-#line 7696 "Page.c"
+#line 7714 "Page.c"
GdkDisplay* display = NULL;
GtkWidget* _tmp4_ = NULL;
GdkWindow* _tmp5_ = NULL;
@@ -7704,103 +7722,103 @@ static void page_real_set_page_cursor (Page* self, GdkCursorType cursor_type) {
GdkCursorType _tmp11_ = 0;
GdkCursor* _tmp12_ = NULL;
GdkCursor* _tmp13_ = NULL;
-#line 1118 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1120 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = self->priv->event_source;
-#line 1118 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1120 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = gtk_widget_get_window (_tmp4_);
-#line 1118 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1120 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = gdk_window_get_display (_tmp5_);
-#line 1118 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1120 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = _g_object_ref0 (_tmp6_);
-#line 1118 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1120 "/home/jens/Source/shotwell/src/Page.vala"
display = _tmp7_;
-#line 1119 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1121 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = self->priv->event_source;
-#line 1119 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1121 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = gtk_widget_get_window (_tmp8_);
-#line 1119 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1121 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = display;
-#line 1119 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1121 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = cursor_type;
-#line 1119 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1121 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = gdk_cursor_new_for_display (_tmp10_, _tmp11_);
-#line 1119 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1121 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = _tmp12_;
-#line 1119 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1121 "/home/jens/Source/shotwell/src/Page.vala"
gdk_window_set_cursor (_tmp9_, _tmp13_);
-#line 1119 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1121 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp13_);
-#line 1117 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1119 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (display);
-#line 7736 "Page.c"
+#line 7754 "Page.c"
}
}
void page_set_page_cursor (Page* self, GdkCursorType cursor_type) {
-#line 1114 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1116 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 1114 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1116 "/home/jens/Source/shotwell/src/Page.vala"
PAGE_GET_CLASS (self)->set_page_cursor (self, cursor_type);
-#line 7746 "Page.c"
+#line 7764 "Page.c"
}
static gboolean _page_on_hide_cursor_gsource_func (gpointer self) {
gboolean result;
result = page_on_hide_cursor ((Page*) self);
-#line 1132 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1134 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 7755 "Page.c"
+#line 7773 "Page.c"
}
static void page_check_cursor_hiding (Page* self) {
gboolean _tmp0_ = FALSE;
gint _tmp2_ = 0;
-#line 1123 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1125 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (self));
-#line 1124 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1126 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->cursor_hidden;
-#line 1124 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1126 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp0_) {
-#line 7768 "Page.c"
+#line 7786 "Page.c"
GdkCursorType _tmp1_ = 0;
-#line 1125 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1127 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->cursor_hidden = FALSE;
-#line 1126 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1128 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = self->priv->last_cursor;
-#line 1126 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1128 "/home/jens/Source/shotwell/src/Page.vala"
page_set_page_cursor (self, _tmp1_);
-#line 7776 "Page.c"
+#line 7794 "Page.c"
}
-#line 1129 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1131 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->priv->cursor_hide_msec;
-#line 1129 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1131 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp2_ != 0) {
-#line 7782 "Page.c"
+#line 7800 "Page.c"
guint _tmp3_ = 0U;
gint _tmp5_ = 0;
guint _tmp6_ = 0U;
-#line 1130 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1132 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = self->priv->last_timeout_id;
-#line 1130 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1132 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp3_ != ((guint) 0)) {
-#line 7790 "Page.c"
+#line 7808 "Page.c"
guint _tmp4_ = 0U;
-#line 1131 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1133 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = self->priv->last_timeout_id;
-#line 1131 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1133 "/home/jens/Source/shotwell/src/Page.vala"
g_source_remove (_tmp4_);
-#line 7796 "Page.c"
+#line 7814 "Page.c"
}
-#line 1132 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1134 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = self->priv->cursor_hide_msec;
-#line 1132 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1134 "/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 1132 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1134 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->last_timeout_id = _tmp6_;
-#line 7804 "Page.c"
+#line 7822 "Page.c"
}
}
@@ -7808,15 +7826,15 @@ static void page_check_cursor_hiding (Page* self) {
static gboolean page_on_hide_cursor (Page* self) {
gboolean result = FALSE;
GtkWidget* _tmp0_ = NULL;
-#line 1136 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1138 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), FALSE);
-#line 1137 "/home/jens/Source/shotwell/src/Page.vala"
- self->priv->cursor_hidden = TRUE;
#line 1139 "/home/jens/Source/shotwell/src/Page.vala"
+ self->priv->cursor_hidden = TRUE;
+#line 1141 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->event_source;
-#line 1139 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1141 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp0_ != NULL) {
-#line 7820 "Page.c"
+#line 7838 "Page.c"
GdkDisplay* display = NULL;
GtkWidget* _tmp1_ = NULL;
GdkWindow* _tmp2_ = NULL;
@@ -7827,404 +7845,68 @@ static gboolean page_on_hide_cursor (Page* self) {
GdkDisplay* _tmp7_ = NULL;
GdkCursor* _tmp8_ = NULL;
GdkCursor* _tmp9_ = NULL;
-#line 1140 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1142 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = self->priv->event_source;
-#line 1140 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1142 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = gtk_widget_get_window (_tmp1_);
-#line 1140 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1142 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = gdk_window_get_display (_tmp2_);
-#line 1140 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1142 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = _g_object_ref0 (_tmp3_);
-#line 1140 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1142 "/home/jens/Source/shotwell/src/Page.vala"
display = _tmp4_;
-#line 1141 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1143 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = self->priv->event_source;
-#line 1141 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1143 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = gtk_widget_get_window (_tmp5_);
-#line 1141 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1143 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = display;
-#line 1141 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1143 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = gdk_cursor_new_for_display (_tmp7_, GDK_BLANK_CURSOR);
-#line 1141 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1143 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = _tmp8_;
-#line 1141 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1143 "/home/jens/Source/shotwell/src/Page.vala"
gdk_window_set_cursor (_tmp6_, _tmp9_);
-#line 1141 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1143 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp9_);
-#line 1139 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1141 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (display);
-#line 7857 "Page.c"
+#line 7875 "Page.c"
}
-#line 1145 "/home/jens/Source/shotwell/src/Page.vala"
- self->priv->last_timeout_id = (guint) 0;
#line 1147 "/home/jens/Source/shotwell/src/Page.vala"
+ self->priv->last_timeout_id = (guint) 0;
+#line 1149 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 1147 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1149 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 7865 "Page.c"
+#line 7883 "Page.c"
}
void page_update_menu_item_label (Page* self, const gchar* id, const gchar* new_label) {
- GMenu* bar = NULL;
- GtkBuilder* _tmp0_ = NULL;
- GObject* _tmp1_ = NULL;
- GMenu* _tmp2_ = NULL;
- GMenu* _tmp3_ = NULL;
- gint items = 0;
- GMenu* _tmp4_ = NULL;
- gint _tmp5_ = 0;
-#line 1150 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_if_fail (IS_PAGE (self));
-#line 1150 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_if_fail (id != NULL);
-#line 1150 "/home/jens/Source/shotwell/src/Page.vala"
- g_return_if_fail (new_label != NULL);
-#line 1152 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp0_ = self->builder;
+ AppWindow* _tmp0_ = NULL;
+ AppWindow* _tmp1_ = NULL;
+ const gchar* _tmp2_ = NULL;
+ const gchar* _tmp3_ = NULL;
#line 1152 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp1_ = gtk_builder_get_object (_tmp0_, "MenuBar");
+ g_return_if_fail (IS_PAGE (self));
#line 1152 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp2_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, g_menu_get_type ()) ? ((GMenu*) _tmp1_) : NULL);
+ g_return_if_fail (id != NULL);
#line 1152 "/home/jens/Source/shotwell/src/Page.vala"
- bar = _tmp2_;
+ g_return_if_fail (new_label != NULL);
#line 1154 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp3_ = bar;
+ _tmp0_ = app_window_get_instance ();
#line 1154 "/home/jens/Source/shotwell/src/Page.vala"
- if (_tmp3_ == NULL) {
-#line 1155 "/home/jens/Source/shotwell/src/Page.vala"
- _g_object_unref0 (bar);
-#line 1155 "/home/jens/Source/shotwell/src/Page.vala"
- return;
-#line 7900 "Page.c"
- }
-#line 1158 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp4_ = bar;
-#line 1158 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp5_ = g_menu_model_get_n_items (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, g_menu_model_get_type (), GMenuModel));
-#line 1158 "/home/jens/Source/shotwell/src/Page.vala"
- items = _tmp5_;
-#line 7908 "Page.c"
- {
- gint i = 0;
-#line 1159 "/home/jens/Source/shotwell/src/Page.vala"
- i = 0;
-#line 7913 "Page.c"
- {
- gboolean _tmp6_ = FALSE;
-#line 1159 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp6_ = TRUE;
-#line 1159 "/home/jens/Source/shotwell/src/Page.vala"
- while (TRUE) {
-#line 7920 "Page.c"
- gint _tmp8_ = 0;
- gint _tmp9_ = 0;
- GMenuModel* model = NULL;
- GMenu* _tmp10_ = NULL;
- gint _tmp11_ = 0;
- GMenuModel* _tmp12_ = NULL;
- GMenu* _tmp13_ = NULL;
- gint model_items = 0;
- GMenuModel* _tmp14_ = NULL;
- gint _tmp15_ = 0;
-#line 1159 "/home/jens/Source/shotwell/src/Page.vala"
- if (!_tmp6_) {
-#line 7933 "Page.c"
- gint _tmp7_ = 0;
-#line 1159 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp7_ = i;
-#line 1159 "/home/jens/Source/shotwell/src/Page.vala"
- i = _tmp7_ + 1;
-#line 7939 "Page.c"
- }
-#line 1159 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp6_ = FALSE;
-#line 1159 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp8_ = i;
-#line 1159 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp9_ = items;
-#line 1159 "/home/jens/Source/shotwell/src/Page.vala"
- if (!(_tmp8_ < _tmp9_)) {
-#line 1159 "/home/jens/Source/shotwell/src/Page.vala"
- break;
-#line 7951 "Page.c"
- }
-#line 1160 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp10_ = bar;
-#line 1160 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp11_ = i;
-#line 1160 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp12_ = g_menu_model_get_item_link (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, g_menu_model_get_type (), GMenuModel), _tmp11_, G_MENU_LINK_SUBMENU);
-#line 1160 "/home/jens/Source/shotwell/src/Page.vala"
- model = _tmp12_;
-#line 1161 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp13_ = bar;
-#line 1161 "/home/jens/Source/shotwell/src/Page.vala"
- if (_tmp13_ == NULL) {
-#line 1162 "/home/jens/Source/shotwell/src/Page.vala"
- _g_object_unref0 (model);
-#line 1162 "/home/jens/Source/shotwell/src/Page.vala"
- continue;
-#line 7969 "Page.c"
- }
-#line 1165 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp14_ = model;
-#line 1165 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp15_ = g_menu_model_get_n_items (_tmp14_);
-#line 1165 "/home/jens/Source/shotwell/src/Page.vala"
- model_items = _tmp15_;
-#line 7977 "Page.c"
- {
- gint j = 0;
-#line 1166 "/home/jens/Source/shotwell/src/Page.vala"
- j = 0;
-#line 7982 "Page.c"
- {
- gboolean _tmp16_ = FALSE;
-#line 1166 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp16_ = TRUE;
-#line 1166 "/home/jens/Source/shotwell/src/Page.vala"
- while (TRUE) {
-#line 7989 "Page.c"
- gint _tmp18_ = 0;
- gint _tmp19_ = 0;
- GMenuModel* subsection = NULL;
- GMenuModel* _tmp20_ = NULL;
- gint _tmp21_ = 0;
- GMenuModel* _tmp22_ = NULL;
- GMenuModel* _tmp23_ = NULL;
- gint sub_items = 0;
- GMenuModel* _tmp24_ = NULL;
- gint _tmp25_ = 0;
-#line 1166 "/home/jens/Source/shotwell/src/Page.vala"
- if (!_tmp16_) {
-#line 8002 "Page.c"
- gint _tmp17_ = 0;
-#line 1166 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp17_ = j;
-#line 1166 "/home/jens/Source/shotwell/src/Page.vala"
- j = _tmp17_ + 1;
-#line 8008 "Page.c"
- }
-#line 1166 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp16_ = FALSE;
-#line 1166 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp18_ = j;
-#line 1166 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp19_ = model_items;
-#line 1166 "/home/jens/Source/shotwell/src/Page.vala"
- if (!(_tmp18_ < _tmp19_)) {
-#line 1166 "/home/jens/Source/shotwell/src/Page.vala"
- break;
-#line 8020 "Page.c"
- }
-#line 1167 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp20_ = model;
-#line 1167 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp21_ = j;
-#line 1167 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp22_ = g_menu_model_get_item_link (_tmp20_, _tmp21_, G_MENU_LINK_SECTION);
-#line 1167 "/home/jens/Source/shotwell/src/Page.vala"
- subsection = _tmp22_;
-#line 1169 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp23_ = subsection;
-#line 1169 "/home/jens/Source/shotwell/src/Page.vala"
- if (_tmp23_ == NULL) {
-#line 1170 "/home/jens/Source/shotwell/src/Page.vala"
- _g_object_unref0 (subsection);
-#line 1170 "/home/jens/Source/shotwell/src/Page.vala"
- continue;
-#line 8038 "Page.c"
- }
-#line 1173 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp24_ = subsection;
-#line 1173 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp25_ = g_menu_model_get_n_items (_tmp24_);
-#line 1173 "/home/jens/Source/shotwell/src/Page.vala"
- sub_items = _tmp25_;
-#line 8046 "Page.c"
- {
- gint k = 0;
-#line 1174 "/home/jens/Source/shotwell/src/Page.vala"
- k = 0;
-#line 8051 "Page.c"
- {
- gboolean _tmp26_ = FALSE;
-#line 1174 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp26_ = TRUE;
-#line 1174 "/home/jens/Source/shotwell/src/Page.vala"
- while (TRUE) {
-#line 8058 "Page.c"
- gint _tmp28_ = 0;
- gint _tmp29_ = 0;
- GMenuAttributeIter* it = NULL;
- GMenuModel* _tmp30_ = NULL;
- gint _tmp31_ = 0;
- GMenuAttributeIter* _tmp32_ = NULL;
-#line 1174 "/home/jens/Source/shotwell/src/Page.vala"
- if (!_tmp26_) {
-#line 8067 "Page.c"
- gint _tmp27_ = 0;
-#line 1174 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp27_ = k;
-#line 1174 "/home/jens/Source/shotwell/src/Page.vala"
- k = _tmp27_ + 1;
-#line 8073 "Page.c"
- }
-#line 1174 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp26_ = FALSE;
-#line 1174 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp28_ = k;
-#line 1174 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp29_ = sub_items;
-#line 1174 "/home/jens/Source/shotwell/src/Page.vala"
- if (!(_tmp28_ < _tmp29_)) {
-#line 1174 "/home/jens/Source/shotwell/src/Page.vala"
- break;
-#line 8085 "Page.c"
- }
-#line 1175 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp30_ = subsection;
-#line 1175 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp31_ = k;
-#line 1175 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp32_ = g_menu_model_iterate_item_attributes (_tmp30_, _tmp31_);
-#line 1175 "/home/jens/Source/shotwell/src/Page.vala"
- it = _tmp32_;
-#line 1176 "/home/jens/Source/shotwell/src/Page.vala"
- while (TRUE) {
-#line 8097 "Page.c"
- GMenuAttributeIter* _tmp33_ = NULL;
- gboolean _tmp34_ = FALSE;
- GMenuAttributeIter* _tmp35_ = NULL;
- const gchar* _tmp36_ = NULL;
-#line 1176 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp33_ = it;
-#line 1176 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp34_ = g_menu_attribute_iter_next (_tmp33_);
-#line 1176 "/home/jens/Source/shotwell/src/Page.vala"
- if (!_tmp34_) {
-#line 1176 "/home/jens/Source/shotwell/src/Page.vala"
- break;
-#line 8110 "Page.c"
- }
-#line 1177 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp35_ = it;
-#line 1177 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp36_ = g_menu_attribute_iter_get_name (_tmp35_);
-#line 1177 "/home/jens/Source/shotwell/src/Page.vala"
- if (g_strcmp0 (_tmp36_, "id") == 0) {
-#line 8118 "Page.c"
- GMenuAttributeIter* _tmp37_ = NULL;
- GVariant* _tmp38_ = NULL;
- GVariant* _tmp39_ = NULL;
- const gchar* _tmp40_ = NULL;
- const gchar* _tmp41_ = NULL;
- gboolean _tmp42_ = FALSE;
-#line 1178 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp37_ = it;
-#line 1178 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp38_ = g_menu_attribute_iter_get_value (_tmp37_);
-#line 1178 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp39_ = _tmp38_;
-#line 1178 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp40_ = g_variant_get_string (_tmp39_, NULL);
-#line 1178 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp41_ = id;
-#line 1178 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp42_ = g_strcmp0 (_tmp40_, _tmp41_) == 0;
-#line 1178 "/home/jens/Source/shotwell/src/Page.vala"
- _g_variant_unref0 (_tmp39_);
-#line 1178 "/home/jens/Source/shotwell/src/Page.vala"
- if (_tmp42_) {
-#line 8141 "Page.c"
- GMenu* md = NULL;
- GMenuModel* _tmp43_ = NULL;
- GMenu* _tmp44_ = NULL;
- GMenuItem* m = NULL;
- GMenuModel* _tmp45_ = NULL;
- gint _tmp46_ = 0;
- GMenuItem* _tmp47_ = NULL;
- GMenuItem* _tmp48_ = NULL;
- const gchar* _tmp49_ = NULL;
- GMenu* _tmp50_ = NULL;
- gint _tmp51_ = 0;
- GMenu* _tmp52_ = NULL;
- gint _tmp53_ = 0;
- GMenuItem* _tmp54_ = NULL;
-#line 1179 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp43_ = subsection;
-#line 1179 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp44_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp43_, g_menu_get_type ()) ? ((GMenu*) _tmp43_) : NULL);
-#line 1179 "/home/jens/Source/shotwell/src/Page.vala"
- md = _tmp44_;
-#line 1180 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp45_ = subsection;
-#line 1180 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp46_ = k;
-#line 1180 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp47_ = g_menu_item_new_from_model (_tmp45_, _tmp46_);
-#line 1180 "/home/jens/Source/shotwell/src/Page.vala"
- m = _tmp47_;
-#line 1182 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp48_ = m;
-#line 1182 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp49_ = new_label;
-#line 1182 "/home/jens/Source/shotwell/src/Page.vala"
- g_menu_item_set_label (_tmp48_, _tmp49_);
-#line 1183 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp50_ = md;
-#line 1183 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp51_ = k;
-#line 1183 "/home/jens/Source/shotwell/src/Page.vala"
- g_menu_remove (_tmp50_, _tmp51_);
-#line 1184 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp52_ = md;
-#line 1184 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp53_ = k;
-#line 1184 "/home/jens/Source/shotwell/src/Page.vala"
- _tmp54_ = m;
-#line 1184 "/home/jens/Source/shotwell/src/Page.vala"
- g_menu_insert_item (_tmp52_, _tmp53_, _tmp54_);
-#line 1186 "/home/jens/Source/shotwell/src/Page.vala"
- _g_object_unref0 (m);
-#line 1186 "/home/jens/Source/shotwell/src/Page.vala"
- _g_object_unref0 (md);
-#line 1186 "/home/jens/Source/shotwell/src/Page.vala"
- _g_object_unref0 (it);
-#line 1186 "/home/jens/Source/shotwell/src/Page.vala"
- _g_object_unref0 (subsection);
-#line 1186 "/home/jens/Source/shotwell/src/Page.vala"
- _g_object_unref0 (model);
-#line 1186 "/home/jens/Source/shotwell/src/Page.vala"
- _g_object_unref0 (bar);
-#line 1186 "/home/jens/Source/shotwell/src/Page.vala"
- return;
-#line 8204 "Page.c"
- }
- }
- }
-#line 1174 "/home/jens/Source/shotwell/src/Page.vala"
- _g_object_unref0 (it);
-#line 8210 "Page.c"
- }
- }
- }
-#line 1166 "/home/jens/Source/shotwell/src/Page.vala"
- _g_object_unref0 (subsection);
-#line 8216 "Page.c"
- }
- }
- }
-#line 1159 "/home/jens/Source/shotwell/src/Page.vala"
- _g_object_unref0 (model);
-#line 8222 "Page.c"
- }
- }
- }
-#line 1150 "/home/jens/Source/shotwell/src/Page.vala"
- _g_object_unref0 (bar);
-#line 8228 "Page.c"
+ _tmp1_ = _tmp0_;
+#line 1154 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp2_ = id;
+#line 1154 "/home/jens/Source/shotwell/src/Page.vala"
+ _tmp3_ = new_label;
+#line 1154 "/home/jens/Source/shotwell/src/Page.vala"
+ app_window_update_menu_item_label (_tmp1_, _tmp2_, _tmp3_);
+#line 1154 "/home/jens/Source/shotwell/src/Page.vala"
+ _g_object_unref0 (_tmp1_);
+#line 7910 "Page.c"
}
@@ -8234,33 +7916,33 @@ GMenuModel* page_find_extension_point (Page* self, GMenuModel* model, const gcha
GMenuModel* _tmp0_ = NULL;
gint _tmp1_ = 0;
GMenuModel* section = NULL;
-#line 1195 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1157 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (self), NULL);
-#line 1195 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1157 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (G_IS_MENU_MODEL (model), NULL);
-#line 1195 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1157 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (extension_point != NULL, NULL);
-#line 1197 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1159 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = model;
-#line 1197 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1159 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = g_menu_model_get_n_items (_tmp0_);
-#line 1197 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1159 "/home/jens/Source/shotwell/src/Page.vala"
items = _tmp1_;
-#line 1198 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1160 "/home/jens/Source/shotwell/src/Page.vala"
section = NULL;
-#line 8252 "Page.c"
+#line 7934 "Page.c"
{
gint i = 0;
-#line 1200 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1162 "/home/jens/Source/shotwell/src/Page.vala"
i = 0;
-#line 8257 "Page.c"
+#line 7939 "Page.c"
{
gboolean _tmp2_ = FALSE;
-#line 1200 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1162 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = TRUE;
-#line 1200 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1162 "/home/jens/Source/shotwell/src/Page.vala"
while (TRUE) {
-#line 8264 "Page.c"
+#line 7946 "Page.c"
gboolean _tmp4_ = FALSE;
gint _tmp5_ = 0;
gint _tmp6_ = 0;
@@ -8269,71 +7951,71 @@ GMenuModel* page_find_extension_point (Page* self, GMenuModel* model, const gcha
gint _tmp9_ = 0;
const gchar* _tmp10_ = NULL;
const gchar* _tmp11_ = NULL;
-#line 1200 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1162 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp2_) {
-#line 8275 "Page.c"
+#line 7957 "Page.c"
gint _tmp3_ = 0;
-#line 1200 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1162 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = i;
-#line 1200 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1162 "/home/jens/Source/shotwell/src/Page.vala"
i = _tmp3_ + 1;
-#line 8281 "Page.c"
+#line 7963 "Page.c"
}
-#line 1200 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1162 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = FALSE;
-#line 1200 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1162 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = i;
-#line 1200 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1162 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = items;
-#line 1200 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1162 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp5_ < _tmp6_) {
-#line 8291 "Page.c"
+#line 7973 "Page.c"
GMenuModel* _tmp7_ = NULL;
-#line 1200 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1162 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = section;
-#line 1200 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1162 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = _tmp7_ == NULL;
-#line 8297 "Page.c"
+#line 7979 "Page.c"
} else {
-#line 1200 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1162 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = FALSE;
-#line 8301 "Page.c"
+#line 7983 "Page.c"
}
-#line 1200 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1162 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp4_) {
-#line 1200 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1162 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 8307 "Page.c"
+#line 7989 "Page.c"
}
-#line 1201 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1163 "/home/jens/Source/shotwell/src/Page.vala"
name = NULL;
-#line 1202 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1164 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = model;
-#line 1202 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1164 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = i;
-#line 1202 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1164 "/home/jens/Source/shotwell/src/Page.vala"
g_menu_model_get_item_attribute (_tmp8_, _tmp9_, "id", "s", &name, NULL);
-#line 1203 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1165 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = name;
-#line 1203 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1165 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = extension_point;
-#line 1203 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1165 "/home/jens/Source/shotwell/src/Page.vala"
if (g_strcmp0 (_tmp10_, _tmp11_) == 0) {
-#line 8323 "Page.c"
+#line 8005 "Page.c"
GMenuModel* _tmp12_ = NULL;
gint _tmp13_ = 0;
GMenuModel* _tmp14_ = NULL;
-#line 1204 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1166 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = model;
-#line 1204 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1166 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = i;
-#line 1204 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1166 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = g_menu_model_get_item_link (_tmp12_, _tmp13_, G_MENU_LINK_SECTION);
-#line 1204 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1166 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (section);
-#line 1204 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1166 "/home/jens/Source/shotwell/src/Page.vala"
section = _tmp14_;
-#line 8337 "Page.c"
+#line 8019 "Page.c"
} else {
GMenuModel* subsection = NULL;
GMenuModel* _tmp15_ = NULL;
@@ -8343,45 +8025,45 @@ GMenuModel* page_find_extension_point (Page* self, GMenuModel* model, const gcha
gint sub_items = 0;
GMenuModel* _tmp19_ = NULL;
gint _tmp20_ = 0;
-#line 1206 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1168 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = model;
-#line 1206 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1168 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = i;
-#line 1206 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1168 "/home/jens/Source/shotwell/src/Page.vala"
_tmp17_ = g_menu_model_get_item_link (_tmp15_, _tmp16_, G_MENU_LINK_SECTION);
-#line 1206 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1168 "/home/jens/Source/shotwell/src/Page.vala"
subsection = _tmp17_;
-#line 1208 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1170 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = subsection;
-#line 1208 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1170 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp18_ == NULL) {
-#line 1209 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1171 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (subsection);
-#line 1209 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1171 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (name);
-#line 1209 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1171 "/home/jens/Source/shotwell/src/Page.vala"
continue;
-#line 8365 "Page.c"
+#line 8047 "Page.c"
}
-#line 1212 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1174 "/home/jens/Source/shotwell/src/Page.vala"
_tmp19_ = subsection;
-#line 1212 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1174 "/home/jens/Source/shotwell/src/Page.vala"
_tmp20_ = g_menu_model_get_n_items (_tmp19_);
-#line 1212 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1174 "/home/jens/Source/shotwell/src/Page.vala"
sub_items = _tmp20_;
-#line 8373 "Page.c"
+#line 8055 "Page.c"
{
gint j = 0;
-#line 1213 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1175 "/home/jens/Source/shotwell/src/Page.vala"
j = 0;
-#line 8378 "Page.c"
+#line 8060 "Page.c"
{
gboolean _tmp21_ = FALSE;
-#line 1213 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1175 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = TRUE;
-#line 1213 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1175 "/home/jens/Source/shotwell/src/Page.vala"
while (TRUE) {
-#line 8385 "Page.c"
+#line 8067 "Page.c"
gboolean _tmp23_ = FALSE;
gint _tmp24_ = 0;
gint _tmp25_ = 0;
@@ -8390,286 +8072,286 @@ GMenuModel* page_find_extension_point (Page* self, GMenuModel* model, const gcha
gint _tmp28_ = 0;
GMenuModel* _tmp29_ = NULL;
GMenuModel* _tmp30_ = NULL;
-#line 1213 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1175 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp21_) {
-#line 8396 "Page.c"
+#line 8078 "Page.c"
gint _tmp22_ = 0;
-#line 1213 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1175 "/home/jens/Source/shotwell/src/Page.vala"
_tmp22_ = j;
-#line 1213 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1175 "/home/jens/Source/shotwell/src/Page.vala"
j = _tmp22_ + 1;
-#line 8402 "Page.c"
+#line 8084 "Page.c"
}
-#line 1213 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1175 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = FALSE;
-#line 1213 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1175 "/home/jens/Source/shotwell/src/Page.vala"
_tmp24_ = j;
-#line 1213 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1175 "/home/jens/Source/shotwell/src/Page.vala"
_tmp25_ = sub_items;
-#line 1213 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1175 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp24_ < _tmp25_) {
-#line 8412 "Page.c"
+#line 8094 "Page.c"
GMenuModel* _tmp26_ = NULL;
-#line 1213 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1175 "/home/jens/Source/shotwell/src/Page.vala"
_tmp26_ = section;
-#line 1213 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1175 "/home/jens/Source/shotwell/src/Page.vala"
_tmp23_ = _tmp26_ == NULL;
-#line 8418 "Page.c"
+#line 8100 "Page.c"
} else {
-#line 1213 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1175 "/home/jens/Source/shotwell/src/Page.vala"
_tmp23_ = FALSE;
-#line 8422 "Page.c"
+#line 8104 "Page.c"
}
-#line 1213 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1175 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp23_) {
-#line 1213 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1175 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 8428 "Page.c"
+#line 8110 "Page.c"
}
-#line 1214 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1176 "/home/jens/Source/shotwell/src/Page.vala"
_tmp27_ = subsection;
-#line 1214 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1176 "/home/jens/Source/shotwell/src/Page.vala"
_tmp28_ = j;
-#line 1214 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1176 "/home/jens/Source/shotwell/src/Page.vala"
_tmp29_ = g_menu_model_get_item_link (_tmp27_, _tmp28_, G_MENU_LINK_SUBMENU);
-#line 1214 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1176 "/home/jens/Source/shotwell/src/Page.vala"
submenu = _tmp29_;
-#line 1216 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1178 "/home/jens/Source/shotwell/src/Page.vala"
_tmp30_ = submenu;
-#line 1216 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1178 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp30_ != NULL) {
-#line 8442 "Page.c"
+#line 8124 "Page.c"
GMenuModel* _tmp31_ = NULL;
const gchar* _tmp32_ = NULL;
GMenuModel* _tmp33_ = NULL;
-#line 1217 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1179 "/home/jens/Source/shotwell/src/Page.vala"
_tmp31_ = submenu;
-#line 1217 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1179 "/home/jens/Source/shotwell/src/Page.vala"
_tmp32_ = extension_point;
-#line 1217 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1179 "/home/jens/Source/shotwell/src/Page.vala"
_tmp33_ = page_find_extension_point (self, _tmp31_, _tmp32_);
-#line 1217 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1179 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (section);
-#line 1217 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1179 "/home/jens/Source/shotwell/src/Page.vala"
section = _tmp33_;
-#line 8456 "Page.c"
+#line 8138 "Page.c"
}
-#line 1213 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1175 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (submenu);
-#line 8460 "Page.c"
+#line 8142 "Page.c"
}
}
}
-#line 1203 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1165 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (subsection);
-#line 8466 "Page.c"
+#line 8148 "Page.c"
}
-#line 1200 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1162 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (name);
-#line 8470 "Page.c"
+#line 8152 "Page.c"
}
}
}
-#line 1224 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1186 "/home/jens/Source/shotwell/src/Page.vala"
result = section;
-#line 1224 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1186 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 8478 "Page.c"
+#line 8160 "Page.c"
}
static void page_class_init (PageClass * klass) {
-#line 59 "/home/jens/Source/shotwell/src/Page.vala"
+#line 58 "/home/jens/Source/shotwell/src/Page.vala"
page_parent_class = g_type_class_peek_parent (klass);
-#line 59 "/home/jens/Source/shotwell/src/Page.vala"
+#line 58 "/home/jens/Source/shotwell/src/Page.vala"
g_type_class_add_private (klass, sizeof (PagePrivate));
-#line 59 "/home/jens/Source/shotwell/src/Page.vala"
+#line 58 "/home/jens/Source/shotwell/src/Page.vala"
((GtkWidgetClass *) klass)->destroy = page_real_destroy;
-#line 59 "/home/jens/Source/shotwell/src/Page.vala"
+#line 58 "/home/jens/Source/shotwell/src/Page.vala"
((PageClass *) klass)->set_page_name = page_real_set_page_name;
-#line 59 "/home/jens/Source/shotwell/src/Page.vala"
+#line 58 "/home/jens/Source/shotwell/src/Page.vala"
((PageClass *) klass)->set_container = page_real_set_container;
-#line 59 "/home/jens/Source/shotwell/src/Page.vala"
+#line 58 "/home/jens/Source/shotwell/src/Page.vala"
((PageClass *) klass)->clear_container = page_real_clear_container;
-#line 59 "/home/jens/Source/shotwell/src/Page.vala"
+#line 58 "/home/jens/Source/shotwell/src/Page.vala"
((PageClass *) klass)->get_toolbar = page_real_get_toolbar;
-#line 59 "/home/jens/Source/shotwell/src/Page.vala"
+#line 58 "/home/jens/Source/shotwell/src/Page.vala"
((PageClass *) klass)->get_page_context_menu = page_real_get_page_context_menu;
-#line 59 "/home/jens/Source/shotwell/src/Page.vala"
+#line 58 "/home/jens/Source/shotwell/src/Page.vala"
((PageClass *) klass)->switching_from = page_real_switching_from;
-#line 59 "/home/jens/Source/shotwell/src/Page.vala"
+#line 58 "/home/jens/Source/shotwell/src/Page.vala"
((PageClass *) klass)->switched_to = page_real_switched_to;
-#line 59 "/home/jens/Source/shotwell/src/Page.vala"
+#line 58 "/home/jens/Source/shotwell/src/Page.vala"
((PageClass *) klass)->ready = page_real_ready;
-#line 59 "/home/jens/Source/shotwell/src/Page.vala"
+#line 58 "/home/jens/Source/shotwell/src/Page.vala"
((PageClass *) klass)->switching_to_fullscreen = page_real_switching_to_fullscreen;
-#line 59 "/home/jens/Source/shotwell/src/Page.vala"
+#line 58 "/home/jens/Source/shotwell/src/Page.vala"
((PageClass *) klass)->returning_from_fullscreen = page_real_returning_from_fullscreen;
-#line 59 "/home/jens/Source/shotwell/src/Page.vala"
+#line 58 "/home/jens/Source/shotwell/src/Page.vala"
((PageClass *) klass)->add_actions = page_real_add_actions;
-#line 59 "/home/jens/Source/shotwell/src/Page.vala"
+#line 58 "/home/jens/Source/shotwell/src/Page.vala"
((PageClass *) klass)->init_collect_ui_filenames = page_real_init_collect_ui_filenames;
-#line 59 "/home/jens/Source/shotwell/src/Page.vala"
+#line 58 "/home/jens/Source/shotwell/src/Page.vala"
((PageClass *) klass)->init_collect_injection_groups = page_real_init_collect_injection_groups;
-#line 59 "/home/jens/Source/shotwell/src/Page.vala"
+#line 58 "/home/jens/Source/shotwell/src/Page.vala"
((PageClass *) klass)->init_actions = page_real_init_actions;
-#line 59 "/home/jens/Source/shotwell/src/Page.vala"
+#line 58 "/home/jens/Source/shotwell/src/Page.vala"
((PageClass *) klass)->update_actions = page_real_update_actions;
-#line 59 "/home/jens/Source/shotwell/src/Page.vala"
+#line 58 "/home/jens/Source/shotwell/src/Page.vala"
((PageClass *) klass)->source_drag_failed = page_real_source_drag_failed;
-#line 59 "/home/jens/Source/shotwell/src/Page.vala"
+#line 58 "/home/jens/Source/shotwell/src/Page.vala"
((PageClass *) klass)->on_left_click = page_real_on_left_click;
-#line 59 "/home/jens/Source/shotwell/src/Page.vala"
+#line 58 "/home/jens/Source/shotwell/src/Page.vala"
((PageClass *) klass)->on_middle_click = page_real_on_middle_click;
-#line 59 "/home/jens/Source/shotwell/src/Page.vala"
+#line 58 "/home/jens/Source/shotwell/src/Page.vala"
((PageClass *) klass)->on_right_click = page_real_on_right_click;
-#line 59 "/home/jens/Source/shotwell/src/Page.vala"
+#line 58 "/home/jens/Source/shotwell/src/Page.vala"
((PageClass *) klass)->on_left_released = page_real_on_left_released;
-#line 59 "/home/jens/Source/shotwell/src/Page.vala"
+#line 58 "/home/jens/Source/shotwell/src/Page.vala"
((PageClass *) klass)->on_middle_released = page_real_on_middle_released;
-#line 59 "/home/jens/Source/shotwell/src/Page.vala"
+#line 58 "/home/jens/Source/shotwell/src/Page.vala"
((PageClass *) klass)->on_right_released = page_real_on_right_released;
-#line 59 "/home/jens/Source/shotwell/src/Page.vala"
+#line 58 "/home/jens/Source/shotwell/src/Page.vala"
((PageClass *) klass)->on_ctrl_pressed = page_real_on_ctrl_pressed;
-#line 59 "/home/jens/Source/shotwell/src/Page.vala"
+#line 58 "/home/jens/Source/shotwell/src/Page.vala"
((PageClass *) klass)->on_ctrl_released = page_real_on_ctrl_released;
-#line 59 "/home/jens/Source/shotwell/src/Page.vala"
+#line 58 "/home/jens/Source/shotwell/src/Page.vala"
((PageClass *) klass)->on_alt_pressed = page_real_on_alt_pressed;
-#line 59 "/home/jens/Source/shotwell/src/Page.vala"
+#line 58 "/home/jens/Source/shotwell/src/Page.vala"
((PageClass *) klass)->on_alt_released = page_real_on_alt_released;
-#line 59 "/home/jens/Source/shotwell/src/Page.vala"
+#line 58 "/home/jens/Source/shotwell/src/Page.vala"
((PageClass *) klass)->on_shift_pressed = page_real_on_shift_pressed;
-#line 59 "/home/jens/Source/shotwell/src/Page.vala"
+#line 58 "/home/jens/Source/shotwell/src/Page.vala"
((PageClass *) klass)->on_shift_released = page_real_on_shift_released;
-#line 59 "/home/jens/Source/shotwell/src/Page.vala"
+#line 58 "/home/jens/Source/shotwell/src/Page.vala"
((PageClass *) klass)->on_super_pressed = page_real_on_super_pressed;
-#line 59 "/home/jens/Source/shotwell/src/Page.vala"
+#line 58 "/home/jens/Source/shotwell/src/Page.vala"
((PageClass *) klass)->on_super_released = page_real_on_super_released;
-#line 59 "/home/jens/Source/shotwell/src/Page.vala"
+#line 58 "/home/jens/Source/shotwell/src/Page.vala"
((PageClass *) klass)->on_app_key_pressed = page_real_on_app_key_pressed;
-#line 59 "/home/jens/Source/shotwell/src/Page.vala"
+#line 58 "/home/jens/Source/shotwell/src/Page.vala"
((PageClass *) klass)->on_app_key_released = page_real_on_app_key_released;
-#line 59 "/home/jens/Source/shotwell/src/Page.vala"
+#line 58 "/home/jens/Source/shotwell/src/Page.vala"
((PageClass *) klass)->on_move = page_real_on_move;
-#line 59 "/home/jens/Source/shotwell/src/Page.vala"
+#line 58 "/home/jens/Source/shotwell/src/Page.vala"
((PageClass *) klass)->on_move_start = page_real_on_move_start;
-#line 59 "/home/jens/Source/shotwell/src/Page.vala"
+#line 58 "/home/jens/Source/shotwell/src/Page.vala"
((PageClass *) klass)->on_move_finished = page_real_on_move_finished;
-#line 59 "/home/jens/Source/shotwell/src/Page.vala"
+#line 58 "/home/jens/Source/shotwell/src/Page.vala"
((PageClass *) klass)->on_resize = page_real_on_resize;
-#line 59 "/home/jens/Source/shotwell/src/Page.vala"
+#line 58 "/home/jens/Source/shotwell/src/Page.vala"
((PageClass *) klass)->on_resize_start = page_real_on_resize_start;
-#line 59 "/home/jens/Source/shotwell/src/Page.vala"
+#line 58 "/home/jens/Source/shotwell/src/Page.vala"
((PageClass *) klass)->on_resize_finished = page_real_on_resize_finished;
-#line 59 "/home/jens/Source/shotwell/src/Page.vala"
+#line 58 "/home/jens/Source/shotwell/src/Page.vala"
((PageClass *) klass)->on_configure = page_real_on_configure;
-#line 59 "/home/jens/Source/shotwell/src/Page.vala"
+#line 58 "/home/jens/Source/shotwell/src/Page.vala"
((PageClass *) klass)->on_motion = page_real_on_motion;
-#line 59 "/home/jens/Source/shotwell/src/Page.vala"
+#line 58 "/home/jens/Source/shotwell/src/Page.vala"
((PageClass *) klass)->on_leave_notify_event = page_real_on_leave_notify_event;
-#line 59 "/home/jens/Source/shotwell/src/Page.vala"
+#line 58 "/home/jens/Source/shotwell/src/Page.vala"
((PageClass *) klass)->on_mousewheel_up = page_real_on_mousewheel_up;
-#line 59 "/home/jens/Source/shotwell/src/Page.vala"
+#line 58 "/home/jens/Source/shotwell/src/Page.vala"
((PageClass *) klass)->on_mousewheel_down = page_real_on_mousewheel_down;
-#line 59 "/home/jens/Source/shotwell/src/Page.vala"
+#line 58 "/home/jens/Source/shotwell/src/Page.vala"
((PageClass *) klass)->on_mousewheel_left = page_real_on_mousewheel_left;
-#line 59 "/home/jens/Source/shotwell/src/Page.vala"
+#line 58 "/home/jens/Source/shotwell/src/Page.vala"
((PageClass *) klass)->on_mousewheel_right = page_real_on_mousewheel_right;
-#line 59 "/home/jens/Source/shotwell/src/Page.vala"
+#line 58 "/home/jens/Source/shotwell/src/Page.vala"
((PageClass *) klass)->on_context_keypress = page_real_on_context_keypress;
-#line 59 "/home/jens/Source/shotwell/src/Page.vala"
+#line 58 "/home/jens/Source/shotwell/src/Page.vala"
((PageClass *) klass)->on_context_buttonpress = page_real_on_context_buttonpress;
-#line 59 "/home/jens/Source/shotwell/src/Page.vala"
+#line 58 "/home/jens/Source/shotwell/src/Page.vala"
((PageClass *) klass)->on_context_invoked = page_real_on_context_invoked;
-#line 59 "/home/jens/Source/shotwell/src/Page.vala"
+#line 58 "/home/jens/Source/shotwell/src/Page.vala"
((PageClass *) klass)->set_page_cursor = page_real_set_page_cursor;
-#line 59 "/home/jens/Source/shotwell/src/Page.vala"
+#line 58 "/home/jens/Source/shotwell/src/Page.vala"
G_OBJECT_CLASS (klass)->finalize = page_finalize;
-#line 8589 "Page.c"
+#line 8271 "Page.c"
}
static void page_instance_init (Page * self) {
GtkBuilder* _tmp0_ = NULL;
-#line 59 "/home/jens/Source/shotwell/src/Page.vala"
+#line 58 "/home/jens/Source/shotwell/src/Page.vala"
self->priv = PAGE_GET_PRIVATE (self);
-#line 62 "/home/jens/Source/shotwell/src/Page.vala"
+#line 61 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = gtk_builder_new ();
-#line 62 "/home/jens/Source/shotwell/src/Page.vala"
+#line 61 "/home/jens/Source/shotwell/src/Page.vala"
self->builder = _tmp0_;
-#line 64 "/home/jens/Source/shotwell/src/Page.vala"
+#line 63 "/home/jens/Source/shotwell/src/Page.vala"
self->in_view = FALSE;
-#line 67 "/home/jens/Source/shotwell/src/Page.vala"
+#line 66 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->view = NULL;
-#line 68 "/home/jens/Source/shotwell/src/Page.vala"
+#line 67 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->container = NULL;
-#line 70 "/home/jens/Source/shotwell/src/Page.vala"
+#line 69 "/home/jens/Source/shotwell/src/Page.vala"
memset (&self->priv->last_position, 0, sizeof (GdkRectangle));
-#line 71 "/home/jens/Source/shotwell/src/Page.vala"
+#line 70 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->event_source = NULL;
-#line 72 "/home/jens/Source/shotwell/src/Page.vala"
+#line 71 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->dnd_enabled = FALSE;
-#line 73 "/home/jens/Source/shotwell/src/Page.vala"
+#line 72 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->last_configure_ms = (gulong) 0;
-#line 74 "/home/jens/Source/shotwell/src/Page.vala"
+#line 73 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->report_move_finished = FALSE;
-#line 75 "/home/jens/Source/shotwell/src/Page.vala"
+#line 74 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->report_resize_finished = FALSE;
-#line 76 "/home/jens/Source/shotwell/src/Page.vala"
+#line 75 "/home/jens/Source/shotwell/src/Page.vala"
memset (&self->priv->last_down, 0, sizeof (GdkPoint));
-#line 77 "/home/jens/Source/shotwell/src/Page.vala"
+#line 76 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->is_destroyed = FALSE;
-#line 78 "/home/jens/Source/shotwell/src/Page.vala"
+#line 77 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->ctrl_pressed = FALSE;
-#line 79 "/home/jens/Source/shotwell/src/Page.vala"
+#line 78 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->alt_pressed = FALSE;
-#line 80 "/home/jens/Source/shotwell/src/Page.vala"
+#line 79 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->shift_pressed = FALSE;
-#line 81 "/home/jens/Source/shotwell/src/Page.vala"
+#line 80 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->super_pressed = FALSE;
-#line 82 "/home/jens/Source/shotwell/src/Page.vala"
+#line 81 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->last_cursor = GDK_LEFT_PTR;
-#line 83 "/home/jens/Source/shotwell/src/Page.vala"
+#line 82 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->cursor_hidden = FALSE;
-#line 84 "/home/jens/Source/shotwell/src/Page.vala"
+#line 83 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->cursor_hide_msec = 0;
-#line 85 "/home/jens/Source/shotwell/src/Page.vala"
+#line 84 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->last_timeout_id = (guint) 0;
-#line 86 "/home/jens/Source/shotwell/src/Page.vala"
+#line 85 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->cursor_hide_time_cached = 0;
-#line 87 "/home/jens/Source/shotwell/src/Page.vala"
+#line 86 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->are_actions_attached = FALSE;
-#line 88 "/home/jens/Source/shotwell/src/Page.vala"
+#line 87 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->update_actions_scheduler = NULL;
-#line 208 "/home/jens/Source/shotwell/src/Page.vala"
+#line 207 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->menubar_injected = FALSE;
-#line 8647 "Page.c"
+#line 8329 "Page.c"
}
static void page_finalize (GObject* obj) {
Page * self;
-#line 59 "/home/jens/Source/shotwell/src/Page.vala"
+#line 58 "/home/jens/Source/shotwell/src/Page.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_PAGE, Page);
-#line 62 "/home/jens/Source/shotwell/src/Page.vala"
+#line 61 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->builder);
-#line 63 "/home/jens/Source/shotwell/src/Page.vala"
+#line 62 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->toolbar);
-#line 66 "/home/jens/Source/shotwell/src/Page.vala"
+#line 65 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (self->priv->page_name);
-#line 67 "/home/jens/Source/shotwell/src/Page.vala"
+#line 66 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (self->priv->view);
-#line 68 "/home/jens/Source/shotwell/src/Page.vala"
+#line 67 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->container);
-#line 69 "/home/jens/Source/shotwell/src/Page.vala"
+#line 68 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (self->priv->toolbar_path);
-#line 71 "/home/jens/Source/shotwell/src/Page.vala"
+#line 70 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->event_source);
-#line 88 "/home/jens/Source/shotwell/src/Page.vala"
+#line 87 "/home/jens/Source/shotwell/src/Page.vala"
_one_shot_scheduler_unref0 (self->priv->update_actions_scheduler);
-#line 59 "/home/jens/Source/shotwell/src/Page.vala"
+#line 58 "/home/jens/Source/shotwell/src/Page.vala"
G_OBJECT_CLASS (page_parent_class)->finalize (obj);
-#line 8673 "Page.c"
+#line 8355 "Page.c"
}
@@ -8698,30 +8380,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 1286 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1248 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_on_items_hidden ((CheckerboardPage*) self, hidden);
-#line 8704 "Page.c"
+#line 8386 "Page.c"
}
static void _checkerboard_page_on_contents_altered_data_collection_contents_altered (DataCollection* _sender, GeeIterable* added, GeeIterable* removed, gpointer self) {
-#line 1287 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1249 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_on_contents_altered ((CheckerboardPage*) self, added, removed);
-#line 8711 "Page.c"
+#line 8393 "Page.c"
}
static void _checkerboard_page_on_items_state_changed_view_collection_items_state_changed (ViewCollection* _sender, GeeIterable* changed, gpointer self) {
-#line 1288 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1250 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_on_items_state_changed ((CheckerboardPage*) self, changed);
-#line 8718 "Page.c"
+#line 8400 "Page.c"
}
static void _checkerboard_page_on_items_visibility_changed_view_collection_items_visibility_changed (ViewCollection* _sender, GeeCollection* changed, gpointer self) {
-#line 1289 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1251 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_on_items_visibility_changed ((CheckerboardPage*) self, changed);
-#line 8725 "Page.c"
+#line 8407 "Page.c"
}
@@ -8750,141 +8432,141 @@ CheckerboardPage* checkerboard_page_construct (GType object_type, const gchar* p
ViewCollection* _tmp20_ = NULL;
ViewCollection* _tmp21_ = NULL;
ViewCollection* _tmp22_ = NULL;
-#line 1263 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1225 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (page_name != NULL, NULL);
-#line 1264 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1226 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = page_name;
-#line 1264 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1226 "/home/jens/Source/shotwell/src/Page.vala"
self = (CheckerboardPage*) page_construct (object_type, _tmp0_);
-#line 1266 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1228 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1266 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1228 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = _tmp1_;
-#line 1266 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1228 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = checkerboard_layout_new (_tmp2_);
-#line 1266 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1228 "/home/jens/Source/shotwell/src/Page.vala"
g_object_ref_sink (_tmp3_);
-#line 1266 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1228 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->layout);
-#line 1266 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1228 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->layout = _tmp3_;
-#line 1266 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1228 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp2_);
-#line 1267 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1229 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = self->priv->layout;
-#line 1267 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1229 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = page_name;
-#line 1267 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1229 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_layout_set_name (_tmp4_, _tmp5_);
-#line 1269 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1231 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = self->priv->layout;
-#line 1269 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1231 "/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 1271 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1233 "/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 1272 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1234 "/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 1274 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1236 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = self->priv->viewport;
-#line 1274 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1236 "/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 1275 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1237 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = self->priv->viewport;
-#line 1275 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1237 "/home/jens/Source/shotwell/src/Page.vala"
gtk_viewport_set_shadow_type (_tmp8_, GTK_SHADOW_NONE);
-#line 1277 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1239 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = self->priv->viewport;
-#line 1277 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1239 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = self->priv->layout;
-#line 1277 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1239 "/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 1281 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1243 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = self->priv->layout;
-#line 1281 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1243 "/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 1281 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1243 "/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 1281 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1243 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_layout_set_adjustments (_tmp11_, _tmp12_, _tmp13_);
-#line 1283 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1245 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = self->priv->viewport;
-#line 1283 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1245 "/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 1286 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1248 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1286 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1248 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = _tmp15_;
-#line 1286 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1248 "/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 1286 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1248 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp16_);
-#line 1287 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1249 "/home/jens/Source/shotwell/src/Page.vala"
_tmp17_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1287 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1249 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = _tmp17_;
-#line 1287 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1249 "/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 1287 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1249 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp18_);
-#line 1288 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1250 "/home/jens/Source/shotwell/src/Page.vala"
_tmp19_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1288 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1250 "/home/jens/Source/shotwell/src/Page.vala"
_tmp20_ = _tmp19_;
-#line 1288 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1250 "/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 1288 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1250 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp20_);
-#line 1289 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1251 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1289 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1251 "/home/jens/Source/shotwell/src/Page.vala"
_tmp22_ = _tmp21_;
-#line 1289 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1251 "/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 1289 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1251 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp22_);
-#line 1292 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1254 "/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 1263 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1225 "/home/jens/Source/shotwell/src/Page.vala"
return self;
-#line 8850 "Page.c"
+#line 8532 "Page.c"
}
void checkerboard_page_init_item_context_menu (CheckerboardPage* self, const gchar* path) {
const gchar* _tmp0_ = NULL;
gchar* _tmp1_ = NULL;
-#line 1295 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1257 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_CHECKERBOARD_PAGE (self));
-#line 1295 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1257 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (path != NULL);
-#line 1296 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1258 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = path;
-#line 1296 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1258 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = g_strdup (_tmp0_);
-#line 1296 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1258 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (self->priv->item_context_menu_path);
-#line 1296 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1258 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->item_context_menu_path = _tmp1_;
-#line 8869 "Page.c"
+#line 8551 "Page.c"
}
void checkerboard_page_init_page_context_menu (CheckerboardPage* self, const gchar* path) {
const gchar* _tmp0_ = NULL;
gchar* _tmp1_ = NULL;
-#line 1299 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1261 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_CHECKERBOARD_PAGE (self));
-#line 1299 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1261 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (path != NULL);
-#line 1300 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1262 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = path;
-#line 1300 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1262 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = g_strdup (_tmp0_);
-#line 1300 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1262 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (self->priv->page_context_menu_path);
-#line 1300 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1262 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->page_context_menu_path = _tmp1_;
-#line 8888 "Page.c"
+#line 8570 "Page.c"
}
@@ -8895,44 +8577,44 @@ GtkMenu* checkerboard_page_get_context_menu (CheckerboardPage* self) {
ViewCollection* _tmp2_ = NULL;
gint _tmp3_ = 0;
gboolean _tmp4_ = FALSE;
-#line 1303 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1265 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_CHECKERBOARD_PAGE (self), NULL);
-#line 1305 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1267 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1305 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1267 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = _tmp1_;
-#line 1305 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1267 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = view_collection_get_selected_count (_tmp2_);
-#line 1305 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1267 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = _tmp3_ != 0;
-#line 1305 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1267 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp2_);
-#line 1305 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1267 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp4_) {
-#line 8913 "Page.c"
+#line 8595 "Page.c"
GtkMenu* _tmp5_ = NULL;
-#line 1305 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1267 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = checkerboard_page_get_item_context_menu (self);
-#line 1305 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1267 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp0_);
-#line 1305 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1267 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = _tmp5_;
-#line 8921 "Page.c"
+#line 8603 "Page.c"
} else {
GtkMenu* _tmp6_ = NULL;
-#line 1306 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1268 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = page_get_page_context_menu (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1306 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1268 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp0_);
-#line 1306 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1268 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = _tmp6_;
-#line 8930 "Page.c"
+#line 8612 "Page.c"
}
-#line 1305 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1267 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp0_;
-#line 1305 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1267 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 8936 "Page.c"
+#line 8618 "Page.c"
}
@@ -8941,11 +8623,11 @@ static GtkMenu* checkerboard_page_real_get_item_context_menu (CheckerboardPage*
GtkMenu* _tmp0_ = NULL;
GtkMenu* _tmp8_ = NULL;
GtkMenu* _tmp9_ = NULL;
-#line 1311 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1273 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->item_context_menu;
-#line 1311 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1273 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp0_ == NULL) {
-#line 8949 "Page.c"
+#line 8631 "Page.c"
GMenuModel* model = NULL;
GtkBuilder* _tmp1_ = NULL;
const gchar* _tmp2_ = NULL;
@@ -8954,52 +8636,52 @@ static GtkMenu* checkerboard_page_real_get_item_context_menu (CheckerboardPage*
GMenuModel* _tmp5_ = NULL;
GtkMenu* _tmp6_ = NULL;
GtkMenu* _tmp7_ = NULL;
-#line 1312 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1274 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)->builder;
-#line 1312 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1274 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->priv->item_context_menu_path;
-#line 1312 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1274 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = gtk_builder_get_object (_tmp1_, _tmp2_);
-#line 1312 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1274 "/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 1312 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1274 "/home/jens/Source/shotwell/src/Page.vala"
model = _tmp4_;
-#line 1314 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1276 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = model;
-#line 1314 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1276 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = (GtkMenu*) gtk_menu_new_from_model (_tmp5_);
-#line 1314 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1276 "/home/jens/Source/shotwell/src/Page.vala"
g_object_ref_sink (_tmp6_);
-#line 1314 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1276 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->item_context_menu);
-#line 1314 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1276 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->item_context_menu = _tmp6_;
-#line 1315 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1277 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = self->priv->item_context_menu;
-#line 1315 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1277 "/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 1311 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1273 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (model);
-#line 8984 "Page.c"
+#line 8666 "Page.c"
}
-#line 1318 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1280 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = self->priv->item_context_menu;
-#line 1318 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1280 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = _g_object_ref0 (_tmp8_);
-#line 1318 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1280 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp9_;
-#line 1318 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1280 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 8994 "Page.c"
+#line 8676 "Page.c"
}
GtkMenu* checkerboard_page_get_item_context_menu (CheckerboardPage* self) {
-#line 1310 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1272 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_CHECKERBOARD_PAGE (self), NULL);
-#line 1310 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1272 "/home/jens/Source/shotwell/src/Page.vala"
return CHECKERBOARD_PAGE_GET_CLASS (self)->get_item_context_menu (self);
-#line 9003 "Page.c"
+#line 8685 "Page.c"
}
@@ -9009,13 +8691,13 @@ static GtkMenu* checkerboard_page_real_get_page_context_menu (Page* base) {
GtkMenu* _tmp0_ = NULL;
GtkMenu* _tmp8_ = NULL;
GtkMenu* _tmp9_ = NULL;
-#line 1322 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1284 "/home/jens/Source/shotwell/src/Page.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_CHECKERBOARD_PAGE, CheckerboardPage);
-#line 1323 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1285 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->page_context_menu;
-#line 1323 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1285 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp0_ == NULL) {
-#line 9019 "Page.c"
+#line 8701 "Page.c"
GMenuModel* model = NULL;
GtkBuilder* _tmp1_ = NULL;
const gchar* _tmp2_ = NULL;
@@ -9024,43 +8706,43 @@ static GtkMenu* checkerboard_page_real_get_page_context_menu (Page* base) {
GMenuModel* _tmp5_ = NULL;
GtkMenu* _tmp6_ = NULL;
GtkMenu* _tmp7_ = NULL;
-#line 1324 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1286 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)->builder;
-#line 1324 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1286 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->priv->page_context_menu_path;
-#line 1324 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1286 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = gtk_builder_get_object (_tmp1_, _tmp2_);
-#line 1324 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1286 "/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 1324 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1286 "/home/jens/Source/shotwell/src/Page.vala"
model = _tmp4_;
-#line 1326 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1288 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = model;
-#line 1326 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1288 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = (GtkMenu*) gtk_menu_new_from_model (_tmp5_);
-#line 1326 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1288 "/home/jens/Source/shotwell/src/Page.vala"
g_object_ref_sink (_tmp6_);
-#line 1326 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1288 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->page_context_menu);
-#line 1326 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1288 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->page_context_menu = _tmp6_;
-#line 1327 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1289 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = self->priv->page_context_menu;
-#line 1327 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1289 "/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 1323 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1285 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (model);
-#line 9054 "Page.c"
+#line 8736 "Page.c"
}
-#line 1330 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1292 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = self->priv->page_context_menu;
-#line 1330 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1292 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = _g_object_ref0 (_tmp8_);
-#line 1330 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1292 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp9_;
-#line 1330 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1292 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 9064 "Page.c"
+#line 8746 "Page.c"
}
@@ -9071,23 +8753,23 @@ static gboolean checkerboard_page_real_on_context_keypress (Page* base) {
GtkMenu* _tmp1_ = NULL;
gboolean _tmp2_ = FALSE;
gboolean _tmp3_ = FALSE;
-#line 1333 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1295 "/home/jens/Source/shotwell/src/Page.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_CHECKERBOARD_PAGE, CheckerboardPage);
-#line 1334 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1296 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = checkerboard_page_get_context_menu (self);
-#line 1334 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1296 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _tmp0_;
-#line 1334 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1296 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = page_popup_context_menu (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), _tmp1_, NULL);
-#line 1334 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1296 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = _tmp2_;
-#line 1334 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1296 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp1_);
-#line 1334 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1296 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp3_;
-#line 1334 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1296 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 9091 "Page.c"
+#line 8773 "Page.c"
}
@@ -9095,24 +8777,24 @@ static gchar* checkerboard_page_real_get_view_empty_message (CheckerboardPage* s
gchar* result = NULL;
const gchar* _tmp0_ = NULL;
gchar* _tmp1_ = NULL;
-#line 1338 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1300 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = _ ("No photos/videos");
-#line 1338 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1300 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = g_strdup (_tmp0_);
-#line 1338 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1300 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp1_;
-#line 1338 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1300 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 9107 "Page.c"
+#line 8789 "Page.c"
}
gchar* checkerboard_page_get_view_empty_message (CheckerboardPage* self) {
-#line 1337 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1299 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_CHECKERBOARD_PAGE (self), NULL);
-#line 1337 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1299 "/home/jens/Source/shotwell/src/Page.vala"
return CHECKERBOARD_PAGE_GET_CLASS (self)->get_view_empty_message (self);
-#line 9116 "Page.c"
+#line 8798 "Page.c"
}
@@ -9120,42 +8802,42 @@ static gchar* checkerboard_page_real_get_filter_no_match_message (CheckerboardPa
gchar* result = NULL;
const gchar* _tmp0_ = NULL;
gchar* _tmp1_ = NULL;
-#line 1342 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1304 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = _ ("No photos/videos found which match the current filter");
-#line 1342 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1304 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = g_strdup (_tmp0_);
-#line 1342 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1304 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp1_;
-#line 1342 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1304 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 9132 "Page.c"
+#line 8814 "Page.c"
}
gchar* checkerboard_page_get_filter_no_match_message (CheckerboardPage* self) {
-#line 1341 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1303 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_CHECKERBOARD_PAGE (self), NULL);
-#line 1341 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1303 "/home/jens/Source/shotwell/src/Page.vala"
return CHECKERBOARD_PAGE_GET_CLASS (self)->get_filter_no_match_message (self);
-#line 9141 "Page.c"
+#line 8823 "Page.c"
}
static void checkerboard_page_real_on_item_activated (CheckerboardPage* self, CheckerboardItem* item, CheckerboardPageActivator activator, CheckerboardPageKeyboardModifiers* modifiers) {
-#line 1345 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1307 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_CHECKERBOARD_ITEM (item));
-#line 1345 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1307 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (modifiers != NULL);
-#line 9150 "Page.c"
+#line 8832 "Page.c"
}
void checkerboard_page_on_item_activated (CheckerboardPage* self, CheckerboardItem* item, CheckerboardPageActivator activator, CheckerboardPageKeyboardModifiers* modifiers) {
-#line 1345 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1307 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_CHECKERBOARD_PAGE (self));
-#line 1345 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1307 "/home/jens/Source/shotwell/src/Page.vala"
CHECKERBOARD_PAGE_GET_CLASS (self)->on_item_activated (self, item, activator, modifiers);
-#line 9159 "Page.c"
+#line 8841 "Page.c"
}
@@ -9163,61 +8845,61 @@ CheckerboardLayout* checkerboard_page_get_checkerboard_layout (CheckerboardPage*
CheckerboardLayout* result = NULL;
CheckerboardLayout* _tmp0_ = NULL;
CheckerboardLayout* _tmp1_ = NULL;
-#line 1349 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1311 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_CHECKERBOARD_PAGE (self), NULL);
-#line 1350 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1312 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->layout;
-#line 1350 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1312 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _g_object_ref0 (_tmp0_);
-#line 1350 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1312 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp1_;
-#line 1350 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1312 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 9177 "Page.c"
+#line 8859 "Page.c"
}
static SearchViewFilter* checkerboard_page_real_get_search_view_filter (CheckerboardPage* self) {
-#line 1354 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1316 "/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 1354 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1316 "/home/jens/Source/shotwell/src/Page.vala"
return NULL;
-#line 9186 "Page.c"
+#line 8868 "Page.c"
}
SearchViewFilter* checkerboard_page_get_search_view_filter (CheckerboardPage* self) {
-#line 1354 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1316 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_CHECKERBOARD_PAGE (self), NULL);
-#line 1354 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1316 "/home/jens/Source/shotwell/src/Page.vala"
return CHECKERBOARD_PAGE_GET_CLASS (self)->get_search_view_filter (self);
-#line 9195 "Page.c"
+#line 8877 "Page.c"
}
static CoreViewTracker* checkerboard_page_real_get_view_tracker (CheckerboardPage* self) {
CoreViewTracker* result = NULL;
-#line 1357 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1319 "/home/jens/Source/shotwell/src/Page.vala"
result = NULL;
-#line 1357 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1319 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 9205 "Page.c"
+#line 8887 "Page.c"
}
CoreViewTracker* checkerboard_page_get_view_tracker (CheckerboardPage* self) {
-#line 1356 "/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 1356 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1318 "/home/jens/Source/shotwell/src/Page.vala"
return CHECKERBOARD_PAGE_GET_CLASS (self)->get_view_tracker (self);
-#line 9214 "Page.c"
+#line 8896 "Page.c"
}
static void _checkerboard_page_on_view_filter_refresh_view_filter_refresh (ViewFilter* _sender, gpointer self) {
-#line 1362 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1324 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_on_view_filter_refresh ((CheckerboardPage*) self);
-#line 9221 "Page.c"
+#line 8903 "Page.c"
}
@@ -9229,33 +8911,33 @@ static void checkerboard_page_real_switching_from (Page* base) {
guint _tmp3_ = 0U;
ViewCollection* _tmp4_ = NULL;
ViewCollection* _tmp5_ = NULL;
-#line 1360 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1322 "/home/jens/Source/shotwell/src/Page.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_CHECKERBOARD_PAGE, CheckerboardPage);
-#line 1361 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1323 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->layout;
-#line 1361 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1323 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_layout_set_in_view (_tmp0_, FALSE);
-#line 1362 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1324 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = checkerboard_page_get_search_view_filter (self);
-#line 1362 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1324 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = _tmp1_;
-#line 1362 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1324 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_parse_name ("refresh", TYPE_VIEW_FILTER, &_tmp3_, NULL, FALSE);
-#line 1362 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1324 "/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 1362 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1324 "/home/jens/Source/shotwell/src/Page.vala"
_view_filter_unref0 (_tmp2_);
-#line 1365 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1327 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1365 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1327 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = _tmp4_;
-#line 1365 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1327 "/home/jens/Source/shotwell/src/Page.vala"
view_collection_unselect_all (_tmp5_);
-#line 1365 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1327 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp5_);
-#line 1367 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1329 "/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 9259 "Page.c"
+#line 8941 "Page.c"
}
@@ -9268,35 +8950,35 @@ static void checkerboard_page_real_switched_to (Page* base) {
ViewCollection* _tmp4_ = NULL;
gint _tmp5_ = 0;
gboolean _tmp6_ = FALSE;
-#line 1370 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1332 "/home/jens/Source/shotwell/src/Page.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_CHECKERBOARD_PAGE, CheckerboardPage);
-#line 1371 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1333 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->layout;
-#line 1371 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1333 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_layout_set_in_view (_tmp0_, TRUE);
-#line 1372 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1334 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = checkerboard_page_get_search_view_filter (self);
-#line 1372 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1334 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = _tmp1_;
-#line 1372 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1334 "/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 1372 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1334 "/home/jens/Source/shotwell/src/Page.vala"
_view_filter_unref0 (_tmp2_);
-#line 1373 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1335 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_on_view_filter_refresh (self);
-#line 1375 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1337 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1375 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1337 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = _tmp3_;
-#line 1375 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1337 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = view_collection_get_selected_count (_tmp4_);
-#line 1375 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1337 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = _tmp5_ > 0;
-#line 1375 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1337 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp4_);
-#line 1375 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1337 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp6_) {
-#line 9300 "Page.c"
+#line 8982 "Page.c"
CheckerboardItem* item = NULL;
ViewCollection* _tmp7_ = NULL;
ViewCollection* _tmp8_ = NULL;
@@ -9311,37 +8993,37 @@ static void checkerboard_page_real_switched_to (Page* base) {
GdkRectangle _tmp16_ = {0};
gint _tmp17_ = 0;
AdjustmentRelation _tmp18_ = 0;
-#line 1376 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1338 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1376 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1338 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = _tmp7_;
-#line 1376 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1338 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = view_collection_get_selected_at (_tmp8_, 0);
-#line 1376 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1338 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, TYPE_CHECKERBOARD_ITEM, CheckerboardItem);
-#line 1376 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1338 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp8_);
-#line 1376 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1338 "/home/jens/Source/shotwell/src/Page.vala"
item = _tmp10_;
-#line 1379 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1341 "/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 1379 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1341 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = _g_object_ref0 (_tmp11_);
-#line 1379 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1341 "/home/jens/Source/shotwell/src/Page.vala"
vadj = _tmp12_;
-#line 1380 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1342 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = vadj;
-#line 1380 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1342 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = item;
-#line 1380 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1342 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = _tmp15_->allocation;
-#line 1380 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1342 "/home/jens/Source/shotwell/src/Page.vala"
_tmp17_ = _tmp16_.y;
-#line 1380 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1342 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = get_adjustment_relation (_tmp14_, _tmp17_);
-#line 1380 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1342 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp18_ == ADJUSTMENT_RELATION_IN_RANGE) {
-#line 9345 "Page.c"
+#line 9027 "Page.c"
GtkAdjustment* _tmp19_ = NULL;
CheckerboardItem* _tmp20_ = NULL;
GdkRectangle _tmp21_ = {0};
@@ -9350,33 +9032,33 @@ static void checkerboard_page_real_switched_to (Page* base) {
GdkRectangle _tmp24_ = {0};
gint _tmp25_ = 0;
AdjustmentRelation _tmp26_ = 0;
-#line 1381 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1343 "/home/jens/Source/shotwell/src/Page.vala"
_tmp19_ = vadj;
-#line 1381 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1343 "/home/jens/Source/shotwell/src/Page.vala"
_tmp20_ = item;
-#line 1381 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1343 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = _tmp20_->allocation;
-#line 1381 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1343 "/home/jens/Source/shotwell/src/Page.vala"
_tmp22_ = _tmp21_.y;
-#line 1381 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1343 "/home/jens/Source/shotwell/src/Page.vala"
_tmp23_ = item;
-#line 1381 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1343 "/home/jens/Source/shotwell/src/Page.vala"
_tmp24_ = _tmp23_->allocation;
-#line 1381 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1343 "/home/jens/Source/shotwell/src/Page.vala"
_tmp25_ = _tmp24_.height;
-#line 1381 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1343 "/home/jens/Source/shotwell/src/Page.vala"
_tmp26_ = get_adjustment_relation (_tmp19_, _tmp22_ + _tmp25_);
-#line 1381 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1343 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = _tmp26_ == ADJUSTMENT_RELATION_IN_RANGE;
-#line 9372 "Page.c"
+#line 9054 "Page.c"
} else {
-#line 1380 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1342 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = FALSE;
-#line 9376 "Page.c"
+#line 9058 "Page.c"
}
-#line 1380 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1342 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp13_) {
-#line 9380 "Page.c"
+#line 9062 "Page.c"
gint top = 0;
CheckerboardItem* _tmp27_ = NULL;
GdkRectangle _tmp28_ = {0};
@@ -9385,38 +9067,38 @@ static void checkerboard_page_real_switched_to (Page* base) {
gdouble _tmp31_ = 0.0;
GtkAdjustment* _tmp45_ = NULL;
gint _tmp46_ = 0;
-#line 1384 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1346 "/home/jens/Source/shotwell/src/Page.vala"
top = 0;
-#line 1385 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1347 "/home/jens/Source/shotwell/src/Page.vala"
_tmp27_ = item;
-#line 1385 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1347 "/home/jens/Source/shotwell/src/Page.vala"
_tmp28_ = _tmp27_->allocation;
-#line 1385 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1347 "/home/jens/Source/shotwell/src/Page.vala"
_tmp29_ = _tmp28_.y;
-#line 1385 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1347 "/home/jens/Source/shotwell/src/Page.vala"
_tmp30_ = vadj;
-#line 1385 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1347 "/home/jens/Source/shotwell/src/Page.vala"
_tmp31_ = gtk_adjustment_get_value (_tmp30_);
-#line 1385 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1347 "/home/jens/Source/shotwell/src/Page.vala"
if (((gdouble) _tmp29_) < _tmp31_) {
-#line 9403 "Page.c"
+#line 9085 "Page.c"
CheckerboardItem* _tmp32_ = NULL;
GdkRectangle _tmp33_ = {0};
gint _tmp34_ = 0;
gint _tmp35_ = 0;
-#line 1386 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1348 "/home/jens/Source/shotwell/src/Page.vala"
_tmp32_ = item;
-#line 1386 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1348 "/home/jens/Source/shotwell/src/Page.vala"
_tmp33_ = _tmp32_->allocation;
-#line 1386 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1348 "/home/jens/Source/shotwell/src/Page.vala"
_tmp34_ = _tmp33_.y;
-#line 1386 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1348 "/home/jens/Source/shotwell/src/Page.vala"
top = _tmp34_;
-#line 1387 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1349 "/home/jens/Source/shotwell/src/Page.vala"
_tmp35_ = top;
-#line 1387 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1349 "/home/jens/Source/shotwell/src/Page.vala"
top = _tmp35_ - (CHECKERBOARD_LAYOUT_ROW_GUTTER_PADDING / 2);
-#line 9420 "Page.c"
+#line 9102 "Page.c"
} else {
CheckerboardItem* _tmp36_ = NULL;
GdkRectangle _tmp37_ = {0};
@@ -9427,91 +9109,91 @@ static void checkerboard_page_real_switched_to (Page* base) {
GtkAdjustment* _tmp42_ = NULL;
gdouble _tmp43_ = 0.0;
gint _tmp44_ = 0;
-#line 1389 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1351 "/home/jens/Source/shotwell/src/Page.vala"
_tmp36_ = item;
-#line 1389 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1351 "/home/jens/Source/shotwell/src/Page.vala"
_tmp37_ = _tmp36_->allocation;
-#line 1389 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1351 "/home/jens/Source/shotwell/src/Page.vala"
_tmp38_ = _tmp37_.y;
-#line 1389 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1351 "/home/jens/Source/shotwell/src/Page.vala"
_tmp39_ = item;
-#line 1389 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1351 "/home/jens/Source/shotwell/src/Page.vala"
_tmp40_ = _tmp39_->allocation;
-#line 1389 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1351 "/home/jens/Source/shotwell/src/Page.vala"
_tmp41_ = _tmp40_.height;
-#line 1389 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1351 "/home/jens/Source/shotwell/src/Page.vala"
_tmp42_ = vadj;
-#line 1389 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1351 "/home/jens/Source/shotwell/src/Page.vala"
_tmp43_ = gtk_adjustment_get_page_size (_tmp42_);
-#line 1389 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1351 "/home/jens/Source/shotwell/src/Page.vala"
top = (_tmp38_ + _tmp41_) - ((gint) _tmp43_);
-#line 1390 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1352 "/home/jens/Source/shotwell/src/Page.vala"
_tmp44_ = top;
-#line 1390 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1352 "/home/jens/Source/shotwell/src/Page.vala"
top = _tmp44_ + (CHECKERBOARD_LAYOUT_ROW_GUTTER_PADDING / 2);
-#line 9453 "Page.c"
+#line 9135 "Page.c"
}
-#line 1393 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1355 "/home/jens/Source/shotwell/src/Page.vala"
_tmp45_ = vadj;
-#line 1393 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1355 "/home/jens/Source/shotwell/src/Page.vala"
_tmp46_ = top;
-#line 1393 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1355 "/home/jens/Source/shotwell/src/Page.vala"
gtk_adjustment_set_value (_tmp45_, (gdouble) _tmp46_);
-#line 9461 "Page.c"
+#line 9143 "Page.c"
}
-#line 1375 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1337 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (vadj);
-#line 1375 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1337 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (item);
-#line 9467 "Page.c"
+#line 9149 "Page.c"
}
-#line 1398 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1360 "/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 9471 "Page.c"
+#line 9153 "Page.c"
}
static void checkerboard_page_on_view_filter_refresh (CheckerboardPage* self) {
-#line 1401 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1363 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_CHECKERBOARD_PAGE (self));
-#line 1402 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1364 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_update_view_filter_message (self);
-#line 9480 "Page.c"
+#line 9162 "Page.c"
}
static void checkerboard_page_on_contents_altered (CheckerboardPage* self, GeeIterable* added, GeeIterable* removed) {
-#line 1405 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1367 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_CHECKERBOARD_PAGE (self));
-#line 1405 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1367 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail ((added == NULL) || GEE_IS_ITERABLE (added));
-#line 1405 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1367 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail ((removed == NULL) || GEE_IS_ITERABLE (removed));
-#line 1407 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1369 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_update_view_filter_message (self);
-#line 9493 "Page.c"
+#line 9175 "Page.c"
}
static void checkerboard_page_on_items_state_changed (CheckerboardPage* self, GeeIterable* changed) {
-#line 1410 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1372 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_CHECKERBOARD_PAGE (self));
-#line 1410 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1372 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (GEE_IS_ITERABLE (changed));
-#line 1411 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1373 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_update_view_filter_message (self);
-#line 9504 "Page.c"
+#line 9186 "Page.c"
}
static void checkerboard_page_on_items_visibility_changed (CheckerboardPage* self, GeeCollection* changed) {
-#line 1414 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1376 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_CHECKERBOARD_PAGE (self));
-#line 1414 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1376 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (GEE_IS_COLLECTION (changed));
-#line 1415 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1377 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_update_view_filter_message (self);
-#line 9515 "Page.c"
+#line 9197 "Page.c"
}
@@ -9521,87 +9203,87 @@ static void checkerboard_page_update_view_filter_message (CheckerboardPage* self
ViewCollection* _tmp2_ = NULL;
gboolean _tmp3_ = FALSE;
gboolean _tmp4_ = FALSE;
-#line 1418 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1380 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_CHECKERBOARD_PAGE (self));
-#line 1419 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1381 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1419 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1381 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = _tmp1_;
-#line 1419 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1381 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = view_collection_are_items_filtered_out (_tmp2_);
-#line 1419 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1381 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = _tmp3_;
-#line 1419 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1381 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp2_);
-#line 1419 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1381 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp4_) {
-#line 9539 "Page.c"
+#line 9221 "Page.c"
ViewCollection* _tmp5_ = NULL;
ViewCollection* _tmp6_ = NULL;
gint _tmp7_ = 0;
-#line 1419 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1381 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1419 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1381 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = _tmp5_;
-#line 1419 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1381 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = data_collection_get_count (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, TYPE_DATA_COLLECTION, DataCollection));
-#line 1419 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1381 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = _tmp7_ == 0;
-#line 1419 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1381 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp6_);
-#line 9553 "Page.c"
+#line 9235 "Page.c"
} else {
-#line 1419 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1381 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = FALSE;
-#line 9557 "Page.c"
+#line 9239 "Page.c"
}
-#line 1419 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1381 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp0_) {
-#line 9561 "Page.c"
+#line 9243 "Page.c"
gchar* _tmp8_ = NULL;
gchar* _tmp9_ = NULL;
-#line 1420 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1382 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = checkerboard_page_get_filter_no_match_message (self);
-#line 1420 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1382 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = _tmp8_;
-#line 1420 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1382 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_set_page_message (self, _tmp9_);
-#line 1420 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1382 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (_tmp9_);
-#line 9572 "Page.c"
+#line 9254 "Page.c"
} else {
ViewCollection* _tmp10_ = NULL;
ViewCollection* _tmp11_ = NULL;
gint _tmp12_ = 0;
gboolean _tmp13_ = FALSE;
-#line 1421 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1383 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1421 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1383 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = _tmp10_;
-#line 1421 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1383 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = data_collection_get_count (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, TYPE_DATA_COLLECTION, DataCollection));
-#line 1421 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1383 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = _tmp12_ == 0;
-#line 1421 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1383 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp11_);
-#line 1421 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1383 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp13_) {
-#line 9590 "Page.c"
+#line 9272 "Page.c"
gchar* _tmp14_ = NULL;
gchar* _tmp15_ = NULL;
-#line 1422 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1384 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = checkerboard_page_get_view_empty_message (self);
-#line 1422 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1384 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = _tmp14_;
-#line 1422 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1384 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_set_page_message (self, _tmp15_);
-#line 1422 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1384 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (_tmp15_);
-#line 9601 "Page.c"
+#line 9283 "Page.c"
} else {
-#line 1424 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1386 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_unset_page_message (self);
-#line 9605 "Page.c"
+#line 9287 "Page.c"
}
}
}
@@ -9611,27 +9293,27 @@ void checkerboard_page_set_page_message (CheckerboardPage* self, const gchar* me
CheckerboardLayout* _tmp0_ = NULL;
const gchar* _tmp1_ = NULL;
gboolean _tmp2_ = FALSE;
-#line 1428 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1390 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_CHECKERBOARD_PAGE (self));
-#line 1428 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1390 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (message != NULL);
-#line 1429 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1391 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->layout;
-#line 1429 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1391 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = message;
-#line 1429 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1391 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_layout_set_message (_tmp0_, _tmp1_);
-#line 1430 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1392 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = page_is_in_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1430 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1392 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp2_) {
-#line 9629 "Page.c"
+#line 9311 "Page.c"
CheckerboardLayout* _tmp3_ = NULL;
-#line 1431 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1393 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = self->priv->layout;
-#line 1431 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1393 "/home/jens/Source/shotwell/src/Page.vala"
gtk_widget_queue_draw (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_widget_get_type (), GtkWidget));
-#line 9635 "Page.c"
+#line 9317 "Page.c"
}
}
@@ -9639,23 +9321,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 1434 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1396 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_CHECKERBOARD_PAGE (self));
-#line 1435 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1397 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->layout;
-#line 1435 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1397 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_layout_unset_message (_tmp0_);
-#line 1436 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1398 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = page_is_in_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1436 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1398 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp1_) {
-#line 9653 "Page.c"
+#line 9335 "Page.c"
CheckerboardLayout* _tmp2_ = NULL;
-#line 1437 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1399 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->priv->layout;
-#line 1437 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1399 "/home/jens/Source/shotwell/src/Page.vala"
gtk_widget_queue_draw (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_widget_get_type (), GtkWidget));
-#line 9659 "Page.c"
+#line 9341 "Page.c"
}
}
@@ -9665,21 +9347,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 1440 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1402 "/home/jens/Source/shotwell/src/Page.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_CHECKERBOARD_PAGE, CheckerboardPage);
-#line 1440 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1402 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (name != NULL);
-#line 1441 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1403 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = name;
-#line 1441 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1403 "/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 1443 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1405 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = self->priv->layout;
-#line 1443 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1405 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = name;
-#line 1443 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1405 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_layout_set_name (_tmp1_, _tmp2_);
-#line 9683 "Page.c"
+#line 9365 "Page.c"
}
@@ -9689,43 +9371,43 @@ CheckerboardItem* checkerboard_page_get_item_at_pixel (CheckerboardPage* self, g
gdouble _tmp1_ = 0.0;
gdouble _tmp2_ = 0.0;
CheckerboardItem* _tmp3_ = NULL;
-#line 1446 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1408 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_CHECKERBOARD_PAGE (self), NULL);
-#line 1447 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1409 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->layout;
-#line 1447 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1409 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = x;
-#line 1447 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1409 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = y;
-#line 1447 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1409 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = checkerboard_layout_get_item_at_pixel (_tmp0_, _tmp1_, _tmp2_);
-#line 1447 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1409 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp3_;
-#line 1447 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1409 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 9707 "Page.c"
+#line 9389 "Page.c"
}
static void checkerboard_page_on_items_hidden (CheckerboardPage* self, GeeIterable* hidden) {
-#line 1450 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1412 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_CHECKERBOARD_PAGE (self));
-#line 1450 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1412 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (GEE_IS_ITERABLE (hidden));
-#line 9716 "Page.c"
+#line 9398 "Page.c"
{
GeeIterator* _view_it = NULL;
GeeIterable* _tmp0_ = NULL;
GeeIterator* _tmp1_ = NULL;
-#line 1451 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1413 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = hidden;
-#line 1451 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1413 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = gee_iterable_iterator (_tmp0_);
-#line 1451 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1413 "/home/jens/Source/shotwell/src/Page.vala"
_view_it = _tmp1_;
-#line 1451 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1413 "/home/jens/Source/shotwell/src/Page.vala"
while (TRUE) {
-#line 9729 "Page.c"
+#line 9411 "Page.c"
GeeIterator* _tmp2_ = NULL;
gboolean _tmp3_ = FALSE;
DataView* view = NULL;
@@ -9740,73 +9422,73 @@ static void checkerboard_page_on_items_hidden (CheckerboardPage* self, GeeIterab
CheckerboardItem* _tmp11_ = NULL;
CheckerboardItem* _tmp12_ = NULL;
CheckerboardItem* _tmp13_ = NULL;
-#line 1451 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1413 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = _view_it;
-#line 1451 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1413 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = gee_iterator_next (_tmp2_);
-#line 1451 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1413 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp3_) {
-#line 1451 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1413 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 9752 "Page.c"
+#line 9434 "Page.c"
}
-#line 1451 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1413 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = _view_it;
-#line 1451 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1413 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = gee_iterator_get (_tmp4_);
-#line 1451 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1413 "/home/jens/Source/shotwell/src/Page.vala"
view = (DataView*) _tmp5_;
-#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1414 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = view;
-#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1414 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, TYPE_CHECKERBOARD_ITEM, CheckerboardItem));
-#line 1452 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1414 "/home/jens/Source/shotwell/src/Page.vala"
item = _tmp7_;
-#line 1454 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1416 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = self->anchor;
-#line 1454 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1416 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = item;
-#line 1454 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1416 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp8_ == _tmp9_) {
-#line 1455 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1417 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->anchor);
-#line 1455 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1417 "/home/jens/Source/shotwell/src/Page.vala"
self->anchor = NULL;
-#line 9776 "Page.c"
+#line 9458 "Page.c"
}
-#line 1457 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1419 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = self->cursor;
-#line 1457 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1419 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = item;
-#line 1457 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1419 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp10_ == _tmp11_) {
-#line 1458 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1420 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->cursor);
-#line 1458 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1420 "/home/jens/Source/shotwell/src/Page.vala"
self->cursor = NULL;
-#line 9788 "Page.c"
+#line 9470 "Page.c"
}
-#line 1460 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1422 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = self->priv->highlighted;
-#line 1460 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1422 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = item;
-#line 1460 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1422 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp12_ == _tmp13_) {
-#line 1461 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1423 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->highlighted);
-#line 1461 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1423 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->highlighted = NULL;
-#line 9800 "Page.c"
+#line 9482 "Page.c"
}
-#line 1451 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1413 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (item);
-#line 1451 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1413 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (view);
-#line 9806 "Page.c"
+#line 9488 "Page.c"
}
-#line 1451 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1413 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_view_it);
-#line 9810 "Page.c"
+#line 9492 "Page.c"
}
}
@@ -9823,138 +9505,138 @@ static gboolean checkerboard_page_real_key_press_event (GtkWidget* base, GdkEven
const gchar* _tmp4_ = NULL;
const gchar* _tmp5_ = NULL;
GQuark _tmp7_ = 0U;
-#line 1471 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1433 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp6_label0 = 0;
-#line 1471 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1433 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp6_label1 = 0;
-#line 1471 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1433 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp6_label2 = 0;
-#line 1471 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1433 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp6_label3 = 0;
-#line 1471 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1433 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp6_label4 = 0;
-#line 1471 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1433 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp6_label5 = 0;
-#line 1471 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1433 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp6_label6 = 0;
-#line 1471 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1433 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp6_label7 = 0;
-#line 1471 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1433 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp6_label8 = 0;
-#line 1471 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1433 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp6_label9 = 0;
-#line 1471 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1433 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp6_label10 = 0;
-#line 1471 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1433 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp6_label11 = 0;
-#line 1471 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1433 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp6_label12 = 0;
-#line 1471 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1433 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp6_label13 = 0;
-#line 1471 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1433 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp6_label14 = 0;
-#line 9857 "Page.c"
+#line 9539 "Page.c"
gboolean _tmp45_ = FALSE;
gboolean _tmp46_ = FALSE;
-#line 1465 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1427 "/home/jens/Source/shotwell/src/Page.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_CHECKERBOARD_PAGE, CheckerboardPage);
-#line 1465 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1427 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 1466 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1428 "/home/jens/Source/shotwell/src/Page.vala"
handled = TRUE;
-#line 1469 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1431 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = event;
-#line 1469 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1431 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _tmp0_->state;
-#line 1469 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1431 "/home/jens/Source/shotwell/src/Page.vala"
state = (guint) (_tmp1_ & GDK_SHIFT_MASK);
-#line 1471 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1433 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = event;
-#line 1471 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1433 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = _tmp2_->keyval;
-#line 1471 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1433 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = gdk_keyval_name (_tmp3_);
-#line 1471 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1433 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = _tmp4_;
-#line 1471 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1433 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = (NULL == _tmp5_) ? 0 : g_quark_from_string (_tmp5_);
-#line 1471 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1433 "/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 1471 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1433 "/home/jens/Source/shotwell/src/Page.vala"
switch (0) {
-#line 9886 "Page.c"
+#line 9568 "Page.c"
default:
{
guint _tmp8_ = 0U;
-#line 1474 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1436 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_move_cursor (self, COMPASS_POINT_NORTH);
-#line 1475 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1437 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = state;
-#line 1475 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1437 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_select_anchor_to_cursor (self, _tmp8_);
-#line 1476 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1438 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 9898 "Page.c"
+#line 9580 "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 1471 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1433 "/home/jens/Source/shotwell/src/Page.vala"
switch (0) {
-#line 9904 "Page.c"
+#line 9586 "Page.c"
default:
{
guint _tmp9_ = 0U;
-#line 1480 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1442 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_move_cursor (self, COMPASS_POINT_SOUTH);
-#line 1481 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1443 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = state;
-#line 1481 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1443 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_select_anchor_to_cursor (self, _tmp9_);
-#line 1482 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1444 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 9916 "Page.c"
+#line 9598 "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 1471 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1433 "/home/jens/Source/shotwell/src/Page.vala"
switch (0) {
-#line 9922 "Page.c"
+#line 9604 "Page.c"
default:
{
guint _tmp10_ = 0U;
-#line 1486 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1448 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_move_cursor (self, COMPASS_POINT_WEST);
-#line 1487 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1449 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = state;
-#line 1487 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1449 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_select_anchor_to_cursor (self, _tmp10_);
-#line 1488 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1450 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 9934 "Page.c"
+#line 9616 "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 1471 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1433 "/home/jens/Source/shotwell/src/Page.vala"
switch (0) {
-#line 9940 "Page.c"
+#line 9622 "Page.c"
default:
{
guint _tmp11_ = 0U;
-#line 1492 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1454 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_move_cursor (self, COMPASS_POINT_EAST);
-#line 1493 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1455 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = state;
-#line 1493 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1455 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_select_anchor_to_cursor (self, _tmp11_);
-#line 1494 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1456 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 9952 "Page.c"
+#line 9634 "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 1471 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1433 "/home/jens/Source/shotwell/src/Page.vala"
switch (0) {
-#line 9958 "Page.c"
+#line 9640 "Page.c"
default:
{
CheckerboardItem* first = NULL;
@@ -9964,45 +9646,45 @@ static gboolean checkerboard_page_real_key_press_event (GtkWidget* base, GdkEven
CheckerboardItem* _tmp15_ = NULL;
CheckerboardItem* _tmp16_ = NULL;
guint _tmp18_ = 0U;
-#line 1498 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1460 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1498 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1460 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = _tmp12_;
-#line 1498 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1460 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = view_collection_get_first (_tmp13_);
-#line 1498 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1460 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, TYPE_CHECKERBOARD_ITEM, CheckerboardItem);
-#line 1498 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1460 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp13_);
-#line 1498 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1460 "/home/jens/Source/shotwell/src/Page.vala"
first = _tmp15_;
-#line 1499 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1461 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = first;
-#line 1499 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1461 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp16_ != NULL) {
-#line 9984 "Page.c"
+#line 9666 "Page.c"
CheckerboardItem* _tmp17_ = NULL;
-#line 1500 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1462 "/home/jens/Source/shotwell/src/Page.vala"
_tmp17_ = first;
-#line 1500 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1462 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_cursor_to_item (self, _tmp17_);
-#line 9990 "Page.c"
+#line 9672 "Page.c"
}
-#line 1501 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1463 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = state;
-#line 1501 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1463 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_select_anchor_to_cursor (self, _tmp18_);
-#line 1502 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1464 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (first);
-#line 1502 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1464 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 10000 "Page.c"
+#line 9682 "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 1471 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1433 "/home/jens/Source/shotwell/src/Page.vala"
switch (0) {
-#line 10006 "Page.c"
+#line 9688 "Page.c"
default:
{
CheckerboardItem* last = NULL;
@@ -10012,100 +9694,100 @@ static gboolean checkerboard_page_real_key_press_event (GtkWidget* base, GdkEven
CheckerboardItem* _tmp22_ = NULL;
CheckerboardItem* _tmp23_ = NULL;
guint _tmp25_ = 0U;
-#line 1506 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1468 "/home/jens/Source/shotwell/src/Page.vala"
_tmp19_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1506 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1468 "/home/jens/Source/shotwell/src/Page.vala"
_tmp20_ = _tmp19_;
-#line 1506 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1468 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = view_collection_get_last (_tmp20_);
-#line 1506 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1468 "/home/jens/Source/shotwell/src/Page.vala"
_tmp22_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp21_, TYPE_CHECKERBOARD_ITEM, CheckerboardItem);
-#line 1506 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1468 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp20_);
-#line 1506 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1468 "/home/jens/Source/shotwell/src/Page.vala"
last = _tmp22_;
-#line 1507 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1469 "/home/jens/Source/shotwell/src/Page.vala"
_tmp23_ = last;
-#line 1507 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1469 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp23_ != NULL) {
-#line 10032 "Page.c"
+#line 9714 "Page.c"
CheckerboardItem* _tmp24_ = NULL;
-#line 1508 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1470 "/home/jens/Source/shotwell/src/Page.vala"
_tmp24_ = last;
-#line 1508 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1470 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_cursor_to_item (self, _tmp24_);
-#line 10038 "Page.c"
+#line 9720 "Page.c"
}
-#line 1509 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1471 "/home/jens/Source/shotwell/src/Page.vala"
_tmp25_ = state;
-#line 1509 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1471 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_select_anchor_to_cursor (self, _tmp25_);
-#line 1510 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1472 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (last);
-#line 1510 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1472 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 10048 "Page.c"
+#line 9730 "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 1471 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1433 "/home/jens/Source/shotwell/src/Page.vala"
switch (0) {
-#line 10054 "Page.c"
+#line 9736 "Page.c"
default:
{
ViewCollection* _tmp26_ = NULL;
ViewCollection* _tmp27_ = NULL;
gint _tmp28_ = 0;
gboolean _tmp29_ = FALSE;
-#line 1514 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1476 "/home/jens/Source/shotwell/src/Page.vala"
_tmp26_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1514 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1476 "/home/jens/Source/shotwell/src/Page.vala"
_tmp27_ = _tmp26_;
-#line 1514 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1476 "/home/jens/Source/shotwell/src/Page.vala"
_tmp28_ = view_collection_get_selected_count (_tmp27_);
-#line 1514 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1476 "/home/jens/Source/shotwell/src/Page.vala"
_tmp29_ = _tmp28_ == 1;
-#line 1514 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1476 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp27_);
-#line 1514 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1476 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp29_) {
-#line 10073 "Page.c"
+#line 9755 "Page.c"
ViewCollection* _tmp30_ = NULL;
ViewCollection* _tmp31_ = NULL;
DataView* _tmp32_ = NULL;
CheckerboardItem* _tmp33_ = NULL;
CheckerboardPageKeyboardModifiers _tmp34_ = {0};
-#line 1515 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1477 "/home/jens/Source/shotwell/src/Page.vala"
_tmp30_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1515 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1477 "/home/jens/Source/shotwell/src/Page.vala"
_tmp31_ = _tmp30_;
-#line 1515 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1477 "/home/jens/Source/shotwell/src/Page.vala"
_tmp32_ = view_collection_get_selected_at (_tmp31_, 0);
-#line 1515 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1477 "/home/jens/Source/shotwell/src/Page.vala"
_tmp33_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp32_, TYPE_CHECKERBOARD_ITEM, CheckerboardItem);
-#line 1515 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1477 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_keyboard_modifiers_init (&_tmp34_, G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1515 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1477 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_on_item_activated (self, _tmp33_, CHECKERBOARD_PAGE_ACTIVATOR_KEYBOARD, &_tmp34_);
-#line 1515 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1477 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp33_);
-#line 1515 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1477 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp31_);
-#line 10095 "Page.c"
+#line 9777 "Page.c"
} else {
-#line 1518 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1480 "/home/jens/Source/shotwell/src/Page.vala"
handled = FALSE;
-#line 10099 "Page.c"
+#line 9781 "Page.c"
}
-#line 1519 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1481 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 10103 "Page.c"
+#line 9785 "Page.c"
}
}
} else if (_tmp7_ == ((0 != _tmp6_label14) ? _tmp6_label14 : (_tmp6_label14 = g_quark_from_static_string ("space")))) {
-#line 1471 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1433 "/home/jens/Source/shotwell/src/Page.vala"
switch (0) {
-#line 10109 "Page.c"
+#line 9791 "Page.c"
default:
{
Marker* marker = NULL;
@@ -10119,89 +9801,89 @@ static gboolean checkerboard_page_real_key_press_event (GtkWidget* base, GdkEven
ViewCollection* _tmp42_ = NULL;
ViewCollection* _tmp43_ = NULL;
Marker* _tmp44_ = NULL;
-#line 1522 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1484 "/home/jens/Source/shotwell/src/Page.vala"
_tmp35_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1522 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1484 "/home/jens/Source/shotwell/src/Page.vala"
_tmp36_ = _tmp35_;
-#line 1522 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1484 "/home/jens/Source/shotwell/src/Page.vala"
_tmp37_ = self->priv->layout;
-#line 1522 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1484 "/home/jens/Source/shotwell/src/Page.vala"
_tmp38_ = checkerboard_layout_get_cursor (_tmp37_);
-#line 1522 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1484 "/home/jens/Source/shotwell/src/Page.vala"
_tmp39_ = _tmp38_;
-#line 1522 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1484 "/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 1522 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1484 "/home/jens/Source/shotwell/src/Page.vala"
_tmp41_ = _tmp40_;
-#line 1522 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1484 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp39_);
-#line 1522 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1484 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp36_);
-#line 1522 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1484 "/home/jens/Source/shotwell/src/Page.vala"
marker = _tmp41_;
-#line 1523 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1485 "/home/jens/Source/shotwell/src/Page.vala"
_tmp42_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1523 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1485 "/home/jens/Source/shotwell/src/Page.vala"
_tmp43_ = _tmp42_;
-#line 1523 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1485 "/home/jens/Source/shotwell/src/Page.vala"
_tmp44_ = marker;
-#line 1523 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1485 "/home/jens/Source/shotwell/src/Page.vala"
view_collection_toggle_marked (_tmp43_, _tmp44_);
-#line 1523 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1485 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp43_);
-#line 1524 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1486 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (marker);
-#line 1524 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1486 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 10157 "Page.c"
+#line 9839 "Page.c"
}
}
} else {
-#line 1471 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1433 "/home/jens/Source/shotwell/src/Page.vala"
switch (0) {
-#line 10163 "Page.c"
+#line 9845 "Page.c"
default:
{
-#line 1527 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1489 "/home/jens/Source/shotwell/src/Page.vala"
handled = FALSE;
-#line 1528 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1490 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 10170 "Page.c"
+#line 9852 "Page.c"
}
}
}
-#line 1531 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1493 "/home/jens/Source/shotwell/src/Page.vala"
_tmp45_ = handled;
-#line 1531 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1493 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp45_) {
-#line 1532 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1494 "/home/jens/Source/shotwell/src/Page.vala"
result = TRUE;
-#line 1532 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1494 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 10182 "Page.c"
+#line 9864 "Page.c"
}
-#line 1534 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1496 "/home/jens/Source/shotwell/src/Page.vala"
if (GTK_WIDGET_CLASS (checkerboard_page_parent_class)->key_press_event != NULL) {
-#line 10186 "Page.c"
+#line 9868 "Page.c"
GdkEventKey* _tmp47_ = NULL;
gboolean _tmp48_ = FALSE;
-#line 1534 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1496 "/home/jens/Source/shotwell/src/Page.vala"
_tmp47_ = event;
-#line 1534 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1496 "/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 1534 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1496 "/home/jens/Source/shotwell/src/Page.vala"
_tmp46_ = _tmp48_;
-#line 10195 "Page.c"
+#line 9877 "Page.c"
} else {
-#line 1534 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1496 "/home/jens/Source/shotwell/src/Page.vala"
_tmp46_ = TRUE;
-#line 10199 "Page.c"
+#line 9881 "Page.c"
}
-#line 1534 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1496 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp46_;
-#line 1534 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1496 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 10205 "Page.c"
+#line 9887 "Page.c"
}
@@ -10225,62 +9907,62 @@ static gboolean checkerboard_page_real_on_left_click (Page* base, GdkEventButton
ViewCollection* _tmp107_ = NULL;
gint _tmp108_ = 0;
gboolean _tmp109_ = FALSE;
-#line 1537 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1499 "/home/jens/Source/shotwell/src/Page.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_CHECKERBOARD_PAGE, CheckerboardPage);
-#line 1537 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1499 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 1539 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1501 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = event;
-#line 1539 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1501 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = _tmp1_->type;
-#line 1539 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1501 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp2_ != GDK_BUTTON_PRESS) {
-#line 10239 "Page.c"
+#line 9921 "Page.c"
GdkEventButton* _tmp3_ = NULL;
GdkEventType _tmp4_ = 0;
-#line 1539 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1501 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = event;
-#line 1539 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1501 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = _tmp3_->type;
-#line 1539 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1501 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = _tmp4_ != GDK_2BUTTON_PRESS;
-#line 10248 "Page.c"
+#line 9930 "Page.c"
} else {
-#line 1539 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1501 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = FALSE;
-#line 10252 "Page.c"
+#line 9934 "Page.c"
}
-#line 1539 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1501 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp0_) {
-#line 1540 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1502 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 1540 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1502 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 10260 "Page.c"
+#line 9942 "Page.c"
}
-#line 1543 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1505 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = event;
-#line 1543 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1505 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = _tmp5_->state;
-#line 1543 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1505 "/home/jens/Source/shotwell/src/Page.vala"
state = (guint) (_tmp6_ & (GDK_CONTROL_MASK | GDK_SHIFT_MASK));
-#line 1547 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1509 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = event;
-#line 1547 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1509 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = _tmp7_->x;
-#line 1547 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1509 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = event;
-#line 1547 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1509 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = _tmp9_->y;
-#line 1547 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1509 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = checkerboard_page_get_item_at_pixel (self, _tmp8_, _tmp10_);
-#line 1547 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1509 "/home/jens/Source/shotwell/src/Page.vala"
item = _tmp11_;
-#line 1548 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1510 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = item;
-#line 1548 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1510 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp12_ != NULL) {
-#line 10284 "Page.c"
+#line 9966 "Page.c"
CheckerboardLayout* _tmp13_ = NULL;
CheckerboardItem* _tmp14_ = NULL;
GdkEventButton* _tmp15_ = NULL;
@@ -10293,41 +9975,41 @@ static gboolean checkerboard_page_real_on_left_click (Page* base, GdkEventButton
guint _tmp22_ = 0U;
CheckerboardLayout* _tmp80_ = NULL;
CheckerboardItem* _tmp81_ = NULL;
-#line 1551 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1513 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = self->priv->layout;
-#line 1551 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1513 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = item;
-#line 1551 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1513 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = event;
-#line 1551 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1513 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = _tmp15_->x;
-#line 1551 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1513 "/home/jens/Source/shotwell/src/Page.vala"
_tmp17_ = event;
-#line 1551 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1513 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = _tmp17_->y;
-#line 1551 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1513 "/home/jens/Source/shotwell/src/Page.vala"
_tmp19_ = event;
-#line 1551 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1513 "/home/jens/Source/shotwell/src/Page.vala"
_tmp20_ = _tmp19_->state;
-#line 1551 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1513 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = checkerboard_layout_handle_left_click (_tmp13_, _tmp14_, _tmp16_, _tmp18_, _tmp20_);
-#line 1551 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1513 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp21_) {
-#line 1552 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1514 "/home/jens/Source/shotwell/src/Page.vala"
result = TRUE;
-#line 1552 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1514 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (item);
-#line 1552 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1514 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 10323 "Page.c"
+#line 10005 "Page.c"
}
-#line 1554 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1516 "/home/jens/Source/shotwell/src/Page.vala"
_tmp22_ = state;
-#line 1554 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1516 "/home/jens/Source/shotwell/src/Page.vala"
switch (_tmp22_) {
-#line 1554 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1516 "/home/jens/Source/shotwell/src/Page.vala"
case GDK_CONTROL_MASK:
-#line 10331 "Page.c"
+#line 10013 "Page.c"
{
Marker* marker = NULL;
ViewCollection* _tmp23_ = NULL;
@@ -10340,68 +10022,68 @@ static gboolean checkerboard_page_real_on_left_click (Page* base, GdkEventButton
Marker* _tmp30_ = NULL;
CheckerboardItem* _tmp31_ = NULL;
gboolean _tmp32_ = FALSE;
-#line 1558 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1520 "/home/jens/Source/shotwell/src/Page.vala"
_tmp23_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1558 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1520 "/home/jens/Source/shotwell/src/Page.vala"
_tmp24_ = _tmp23_;
-#line 1558 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1520 "/home/jens/Source/shotwell/src/Page.vala"
_tmp25_ = item;
-#line 1558 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1520 "/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 1558 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1520 "/home/jens/Source/shotwell/src/Page.vala"
_tmp27_ = _tmp26_;
-#line 1558 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1520 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp24_);
-#line 1558 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1520 "/home/jens/Source/shotwell/src/Page.vala"
marker = _tmp27_;
-#line 1559 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1521 "/home/jens/Source/shotwell/src/Page.vala"
_tmp28_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1559 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1521 "/home/jens/Source/shotwell/src/Page.vala"
_tmp29_ = _tmp28_;
-#line 1559 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1521 "/home/jens/Source/shotwell/src/Page.vala"
_tmp30_ = marker;
-#line 1559 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1521 "/home/jens/Source/shotwell/src/Page.vala"
view_collection_toggle_marked (_tmp29_, _tmp30_);
-#line 1559 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1521 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp29_);
-#line 1561 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1523 "/home/jens/Source/shotwell/src/Page.vala"
_tmp31_ = item;
-#line 1561 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1523 "/home/jens/Source/shotwell/src/Page.vala"
_tmp32_ = data_view_is_selected (G_TYPE_CHECK_INSTANCE_CAST (_tmp31_, TYPE_DATA_VIEW, DataView));
-#line 1561 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1523 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp32_) {
-#line 10374 "Page.c"
+#line 10056 "Page.c"
CheckerboardItem* _tmp33_ = NULL;
CheckerboardItem* _tmp34_ = NULL;
CheckerboardItem* _tmp35_ = NULL;
CheckerboardItem* _tmp36_ = NULL;
-#line 1562 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1524 "/home/jens/Source/shotwell/src/Page.vala"
_tmp33_ = item;
-#line 1562 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1524 "/home/jens/Source/shotwell/src/Page.vala"
_tmp34_ = _g_object_ref0 (_tmp33_);
-#line 1562 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1524 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->anchor);
-#line 1562 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1524 "/home/jens/Source/shotwell/src/Page.vala"
self->anchor = _tmp34_;
-#line 1563 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1525 "/home/jens/Source/shotwell/src/Page.vala"
_tmp35_ = item;
-#line 1563 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1525 "/home/jens/Source/shotwell/src/Page.vala"
_tmp36_ = _g_object_ref0 (_tmp35_);
-#line 1563 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1525 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->cursor);
-#line 1563 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1525 "/home/jens/Source/shotwell/src/Page.vala"
self->cursor = _tmp36_;
-#line 10395 "Page.c"
+#line 10077 "Page.c"
}
-#line 1565 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1527 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (marker);
-#line 1565 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1527 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 10401 "Page.c"
+#line 10083 "Page.c"
}
-#line 1554 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1516 "/home/jens/Source/shotwell/src/Page.vala"
case GDK_SHIFT_MASK:
-#line 10405 "Page.c"
+#line 10087 "Page.c"
{
ViewCollection* _tmp37_ = NULL;
ViewCollection* _tmp38_ = NULL;
@@ -10410,92 +10092,92 @@ static gboolean checkerboard_page_real_on_left_click (Page* base, GdkEventButton
CheckerboardItem* _tmp43_ = NULL;
CheckerboardItem* _tmp44_ = NULL;
CheckerboardItem* _tmp45_ = NULL;
-#line 1568 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1530 "/home/jens/Source/shotwell/src/Page.vala"
_tmp37_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1568 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1530 "/home/jens/Source/shotwell/src/Page.vala"
_tmp38_ = _tmp37_;
-#line 1568 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1530 "/home/jens/Source/shotwell/src/Page.vala"
view_collection_unselect_all (_tmp38_);
-#line 1568 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1530 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp38_);
-#line 1570 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1532 "/home/jens/Source/shotwell/src/Page.vala"
_tmp39_ = self->anchor;
-#line 1570 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1532 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp39_ == NULL) {
-#line 10426 "Page.c"
+#line 10108 "Page.c"
CheckerboardItem* _tmp40_ = NULL;
CheckerboardItem* _tmp41_ = NULL;
-#line 1571 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1533 "/home/jens/Source/shotwell/src/Page.vala"
_tmp40_ = item;
-#line 1571 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1533 "/home/jens/Source/shotwell/src/Page.vala"
_tmp41_ = _g_object_ref0 (_tmp40_);
-#line 1571 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1533 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->anchor);
-#line 1571 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1533 "/home/jens/Source/shotwell/src/Page.vala"
self->anchor = _tmp41_;
-#line 10437 "Page.c"
+#line 10119 "Page.c"
}
-#line 1573 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1535 "/home/jens/Source/shotwell/src/Page.vala"
_tmp42_ = self->anchor;
-#line 1573 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1535 "/home/jens/Source/shotwell/src/Page.vala"
_tmp43_ = item;
-#line 1573 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1535 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_select_between_items (self, _tmp42_, _tmp43_);
-#line 1575 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1537 "/home/jens/Source/shotwell/src/Page.vala"
_tmp44_ = item;
-#line 1575 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1537 "/home/jens/Source/shotwell/src/Page.vala"
_tmp45_ = _g_object_ref0 (_tmp44_);
-#line 1575 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1537 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->cursor);
-#line 1575 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1537 "/home/jens/Source/shotwell/src/Page.vala"
self->cursor = _tmp45_;
-#line 1576 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1538 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 10455 "Page.c"
+#line 10137 "Page.c"
}
-#line 1554 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1516 "/home/jens/Source/shotwell/src/Page.vala"
case GDK_CONTROL_MASK | GDK_SHIFT_MASK:
-#line 10459 "Page.c"
+#line 10141 "Page.c"
{
CheckerboardItem* _tmp46_ = NULL;
CheckerboardItem* _tmp49_ = NULL;
CheckerboardItem* _tmp50_ = NULL;
CheckerboardItem* _tmp51_ = NULL;
CheckerboardItem* _tmp52_ = NULL;
-#line 1583 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1545 "/home/jens/Source/shotwell/src/Page.vala"
_tmp46_ = self->anchor;
-#line 1583 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1545 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp46_ == NULL) {
-#line 10470 "Page.c"
+#line 10152 "Page.c"
CheckerboardItem* _tmp47_ = NULL;
CheckerboardItem* _tmp48_ = NULL;
-#line 1584 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1546 "/home/jens/Source/shotwell/src/Page.vala"
_tmp47_ = item;
-#line 1584 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1546 "/home/jens/Source/shotwell/src/Page.vala"
_tmp48_ = _g_object_ref0 (_tmp47_);
-#line 1584 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1546 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->anchor);
-#line 1584 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1546 "/home/jens/Source/shotwell/src/Page.vala"
self->anchor = _tmp48_;
-#line 10481 "Page.c"
+#line 10163 "Page.c"
}
-#line 1586 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1548 "/home/jens/Source/shotwell/src/Page.vala"
_tmp49_ = self->anchor;
-#line 1586 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1548 "/home/jens/Source/shotwell/src/Page.vala"
_tmp50_ = item;
-#line 1586 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1548 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_select_between_items (self, _tmp49_, _tmp50_);
-#line 1588 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1550 "/home/jens/Source/shotwell/src/Page.vala"
_tmp51_ = item;
-#line 1588 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1550 "/home/jens/Source/shotwell/src/Page.vala"
_tmp52_ = _g_object_ref0 (_tmp51_);
-#line 1588 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1550 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->cursor);
-#line 1588 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1550 "/home/jens/Source/shotwell/src/Page.vala"
self->cursor = _tmp52_;
-#line 1589 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1551 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 10499 "Page.c"
+#line 10181 "Page.c"
}
default:
{
@@ -10505,34 +10187,34 @@ static gboolean checkerboard_page_real_on_left_click (Page* base, GdkEventButton
CheckerboardItem* _tmp77_ = NULL;
CheckerboardItem* _tmp78_ = NULL;
CheckerboardItem* _tmp79_ = NULL;
-#line 1592 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1554 "/home/jens/Source/shotwell/src/Page.vala"
_tmp53_ = event;
-#line 1592 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1554 "/home/jens/Source/shotwell/src/Page.vala"
_tmp54_ = _tmp53_->type;
-#line 1592 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1554 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp54_ == GDK_2BUTTON_PRESS) {
-#line 10515 "Page.c"
+#line 10197 "Page.c"
CheckerboardItem* _tmp55_ = NULL;
CheckerboardItem* _tmp56_ = NULL;
-#line 1593 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1555 "/home/jens/Source/shotwell/src/Page.vala"
_tmp55_ = item;
-#line 1593 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1555 "/home/jens/Source/shotwell/src/Page.vala"
_tmp56_ = _g_object_ref0 (_tmp55_);
-#line 1593 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1555 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->activated_item);
-#line 1593 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1555 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->activated_item = _tmp56_;
-#line 10526 "Page.c"
+#line 10208 "Page.c"
} else {
CheckerboardItem* _tmp57_ = NULL;
gboolean _tmp58_ = FALSE;
-#line 1599 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1561 "/home/jens/Source/shotwell/src/Page.vala"
_tmp57_ = item;
-#line 1599 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1561 "/home/jens/Source/shotwell/src/Page.vala"
_tmp58_ = data_view_is_selected (G_TYPE_CHECK_INSTANCE_CAST (_tmp57_, TYPE_DATA_VIEW, DataView));
-#line 1599 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1561 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp58_) {
-#line 10536 "Page.c"
+#line 10218 "Page.c"
Marker* all = NULL;
ViewCollection* _tmp59_ = NULL;
ViewCollection* _tmp60_ = NULL;
@@ -10551,91 +10233,91 @@ static gboolean checkerboard_page_real_on_left_click (Page* base, GdkEventButton
CheckerboardItem* _tmp73_ = NULL;
Marker* _tmp74_ = NULL;
Marker* _tmp75_ = NULL;
-#line 1600 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1562 "/home/jens/Source/shotwell/src/Page.vala"
_tmp59_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1600 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1562 "/home/jens/Source/shotwell/src/Page.vala"
_tmp60_ = _tmp59_;
-#line 1600 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1562 "/home/jens/Source/shotwell/src/Page.vala"
_tmp61_ = data_collection_start_marking (G_TYPE_CHECK_INSTANCE_CAST (_tmp60_, TYPE_DATA_COLLECTION, DataCollection));
-#line 1600 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1562 "/home/jens/Source/shotwell/src/Page.vala"
_tmp62_ = _tmp61_;
-#line 1600 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1562 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp60_);
-#line 1600 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1562 "/home/jens/Source/shotwell/src/Page.vala"
all = _tmp62_;
-#line 1601 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1563 "/home/jens/Source/shotwell/src/Page.vala"
_tmp63_ = all;
-#line 1601 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1563 "/home/jens/Source/shotwell/src/Page.vala"
_tmp64_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1601 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1563 "/home/jens/Source/shotwell/src/Page.vala"
_tmp65_ = _tmp64_;
-#line 1601 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1563 "/home/jens/Source/shotwell/src/Page.vala"
_tmp66_ = view_collection_get_selected (_tmp65_);
-#line 1601 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1563 "/home/jens/Source/shotwell/src/Page.vala"
_tmp67_ = _tmp66_;
-#line 1601 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1563 "/home/jens/Source/shotwell/src/Page.vala"
marker_mark_many (_tmp63_, G_TYPE_CHECK_INSTANCE_CAST (_tmp67_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 1601 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1563 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp67_);
-#line 1601 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1563 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp65_);
-#line 1603 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1565 "/home/jens/Source/shotwell/src/Page.vala"
_tmp68_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1603 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1565 "/home/jens/Source/shotwell/src/Page.vala"
_tmp69_ = _tmp68_;
-#line 1603 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1565 "/home/jens/Source/shotwell/src/Page.vala"
_tmp70_ = all;
-#line 1603 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1565 "/home/jens/Source/shotwell/src/Page.vala"
_tmp71_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1603 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1565 "/home/jens/Source/shotwell/src/Page.vala"
_tmp72_ = _tmp71_;
-#line 1603 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1565 "/home/jens/Source/shotwell/src/Page.vala"
_tmp73_ = item;
-#line 1603 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1565 "/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 1603 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1565 "/home/jens/Source/shotwell/src/Page.vala"
_tmp75_ = _tmp74_;
-#line 1603 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1565 "/home/jens/Source/shotwell/src/Page.vala"
view_collection_unselect_and_select_marked (_tmp69_, _tmp70_, _tmp75_);
-#line 1603 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1565 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp75_);
-#line 1603 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1565 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp72_);
-#line 1603 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1565 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp69_);
-#line 1599 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1561 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (all);
-#line 10609 "Page.c"
+#line 10291 "Page.c"
}
}
-#line 1607 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1569 "/home/jens/Source/shotwell/src/Page.vala"
_tmp76_ = item;
-#line 1607 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1569 "/home/jens/Source/shotwell/src/Page.vala"
_tmp77_ = _g_object_ref0 (_tmp76_);
-#line 1607 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1569 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->anchor);
-#line 1607 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1569 "/home/jens/Source/shotwell/src/Page.vala"
self->anchor = _tmp77_;
-#line 1608 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1570 "/home/jens/Source/shotwell/src/Page.vala"
_tmp78_ = item;
-#line 1608 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1570 "/home/jens/Source/shotwell/src/Page.vala"
_tmp79_ = _g_object_ref0 (_tmp78_);
-#line 1608 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1570 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->cursor);
-#line 1608 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1570 "/home/jens/Source/shotwell/src/Page.vala"
self->cursor = _tmp79_;
-#line 1609 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1571 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 10630 "Page.c"
+#line 10312 "Page.c"
}
}
-#line 1611 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1573 "/home/jens/Source/shotwell/src/Page.vala"
_tmp80_ = self->priv->layout;
-#line 1611 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1573 "/home/jens/Source/shotwell/src/Page.vala"
_tmp81_ = item;
-#line 1611 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1573 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_layout_set_cursor (_tmp80_, _tmp81_);
-#line 10639 "Page.c"
+#line 10321 "Page.c"
} else {
guint _tmp82_ = 0U;
GeeArrayList* _tmp85_ = NULL;
@@ -10644,30 +10326,30 @@ static gboolean checkerboard_page_real_on_left_click (Page* base, GdkEventButton
gdouble _tmp103_ = 0.0;
GdkEventButton* _tmp104_ = NULL;
gdouble _tmp105_ = 0.0;
-#line 1615 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1577 "/home/jens/Source/shotwell/src/Page.vala"
_tmp82_ = state;
-#line 1615 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1577 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp82_ != ((guint) GDK_CONTROL_MASK)) {
-#line 10652 "Page.c"
+#line 10334 "Page.c"
ViewCollection* _tmp83_ = NULL;
ViewCollection* _tmp84_ = NULL;
-#line 1616 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1578 "/home/jens/Source/shotwell/src/Page.vala"
_tmp83_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1616 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1578 "/home/jens/Source/shotwell/src/Page.vala"
_tmp84_ = _tmp83_;
-#line 1616 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1578 "/home/jens/Source/shotwell/src/Page.vala"
view_collection_unselect_all (_tmp84_);
-#line 1616 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1578 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp84_);
-#line 10663 "Page.c"
+#line 10345 "Page.c"
}
-#line 1619 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1581 "/home/jens/Source/shotwell/src/Page.vala"
_tmp85_ = gee_array_list_new (TYPE_CHECKERBOARD_ITEM, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL);
-#line 1619 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1581 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->previously_selected);
-#line 1619 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1581 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->previously_selected = _tmp85_;
-#line 10671 "Page.c"
+#line 10353 "Page.c"
{
GeeList* _view_list = NULL;
ViewCollection* _tmp86_ = NULL;
@@ -10679,31 +10361,31 @@ static gboolean checkerboard_page_real_on_left_click (Page* base, GdkEventButton
gint _tmp91_ = 0;
gint _tmp92_ = 0;
gint _view_index = 0;
-#line 1620 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1582 "/home/jens/Source/shotwell/src/Page.vala"
_tmp86_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1620 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1582 "/home/jens/Source/shotwell/src/Page.vala"
_tmp87_ = _tmp86_;
-#line 1620 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1582 "/home/jens/Source/shotwell/src/Page.vala"
_tmp88_ = view_collection_get_selected (_tmp87_);
-#line 1620 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1582 "/home/jens/Source/shotwell/src/Page.vala"
_tmp89_ = _tmp88_;
-#line 1620 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1582 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp87_);
-#line 1620 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1582 "/home/jens/Source/shotwell/src/Page.vala"
_view_list = _tmp89_;
-#line 1620 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1582 "/home/jens/Source/shotwell/src/Page.vala"
_tmp90_ = _view_list;
-#line 1620 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1582 "/home/jens/Source/shotwell/src/Page.vala"
_tmp91_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp90_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 1620 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1582 "/home/jens/Source/shotwell/src/Page.vala"
_tmp92_ = _tmp91_;
-#line 1620 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1582 "/home/jens/Source/shotwell/src/Page.vala"
_view_size = _tmp92_;
-#line 1620 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1582 "/home/jens/Source/shotwell/src/Page.vala"
_view_index = -1;
-#line 1620 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1582 "/home/jens/Source/shotwell/src/Page.vala"
while (TRUE) {
-#line 10707 "Page.c"
+#line 10389 "Page.c"
gint _tmp93_ = 0;
gint _tmp94_ = 0;
gint _tmp95_ = 0;
@@ -10713,79 +10395,79 @@ static gboolean checkerboard_page_real_on_left_click (Page* base, GdkEventButton
gpointer _tmp98_ = NULL;
GeeArrayList* _tmp99_ = NULL;
DataView* _tmp100_ = NULL;
-#line 1620 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1582 "/home/jens/Source/shotwell/src/Page.vala"
_tmp93_ = _view_index;
-#line 1620 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1582 "/home/jens/Source/shotwell/src/Page.vala"
_view_index = _tmp93_ + 1;
-#line 1620 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1582 "/home/jens/Source/shotwell/src/Page.vala"
_tmp94_ = _view_index;
-#line 1620 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1582 "/home/jens/Source/shotwell/src/Page.vala"
_tmp95_ = _view_size;
-#line 1620 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1582 "/home/jens/Source/shotwell/src/Page.vala"
if (!(_tmp94_ < _tmp95_)) {
-#line 1620 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1582 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 10729 "Page.c"
+#line 10411 "Page.c"
}
-#line 1620 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1582 "/home/jens/Source/shotwell/src/Page.vala"
_tmp96_ = _view_list;
-#line 1620 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1582 "/home/jens/Source/shotwell/src/Page.vala"
_tmp97_ = _view_index;
-#line 1620 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1582 "/home/jens/Source/shotwell/src/Page.vala"
_tmp98_ = gee_list_get (_tmp96_, _tmp97_);
-#line 1620 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1582 "/home/jens/Source/shotwell/src/Page.vala"
view = (DataView*) _tmp98_;
-#line 1621 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1583 "/home/jens/Source/shotwell/src/Page.vala"
_tmp99_ = self->priv->previously_selected;
-#line 1621 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1583 "/home/jens/Source/shotwell/src/Page.vala"
_tmp100_ = view;
-#line 1621 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1583 "/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 1620 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1582 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (view);
-#line 10747 "Page.c"
+#line 10429 "Page.c"
}
-#line 1620 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1582 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_view_list);
-#line 10751 "Page.c"
+#line 10433 "Page.c"
}
-#line 1623 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1585 "/home/jens/Source/shotwell/src/Page.vala"
_tmp101_ = self->priv->layout;
-#line 1623 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1585 "/home/jens/Source/shotwell/src/Page.vala"
_tmp102_ = event;
-#line 1623 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1585 "/home/jens/Source/shotwell/src/Page.vala"
_tmp103_ = _tmp102_->x;
-#line 1623 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1585 "/home/jens/Source/shotwell/src/Page.vala"
_tmp104_ = event;
-#line 1623 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1585 "/home/jens/Source/shotwell/src/Page.vala"
_tmp105_ = _tmp104_->y;
-#line 1623 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1585 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_layout_set_drag_select_origin (_tmp101_, (gint) _tmp103_, (gint) _tmp105_);
-#line 1625 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1587 "/home/jens/Source/shotwell/src/Page.vala"
result = TRUE;
-#line 1625 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1587 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (item);
-#line 1625 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1587 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 10771 "Page.c"
+#line 10453 "Page.c"
}
-#line 1631 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1593 "/home/jens/Source/shotwell/src/Page.vala"
_tmp106_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1631 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1593 "/home/jens/Source/shotwell/src/Page.vala"
_tmp107_ = _tmp106_;
-#line 1631 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1593 "/home/jens/Source/shotwell/src/Page.vala"
_tmp108_ = view_collection_get_selected_count (_tmp107_);
-#line 1631 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1593 "/home/jens/Source/shotwell/src/Page.vala"
_tmp109_ = _tmp108_ == 0;
-#line 1631 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1593 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp107_);
-#line 1631 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1593 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp109_;
-#line 1631 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1593 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (item);
-#line 1631 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1593 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 10789 "Page.c"
+#line 10471 "Page.c"
}
@@ -10806,152 +10488,152 @@ static gboolean checkerboard_page_real_on_left_released (Page* base, GdkEventBut
CheckerboardItem* _tmp15_ = NULL;
CheckerboardItem* _tmp16_ = NULL;
CheckerboardItem* _tmp17_ = NULL;
-#line 1634 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1596 "/home/jens/Source/shotwell/src/Page.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_CHECKERBOARD_PAGE, CheckerboardPage);
-#line 1634 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1596 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 1635 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1597 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->previously_selected);
-#line 1635 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1597 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->previously_selected = NULL;
-#line 1638 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1600 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->layout;
-#line 1638 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1600 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = checkerboard_layout_is_drag_select_active (_tmp0_);
-#line 1638 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1600 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp1_) {
-#line 10824 "Page.c"
+#line 10506 "Page.c"
CheckerboardLayout* _tmp2_ = NULL;
CheckerboardItem* _tmp3_ = NULL;
CheckerboardItem* _tmp4_ = NULL;
-#line 1639 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1601 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->priv->layout;
-#line 1639 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1601 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_layout_clear_drag_select (_tmp2_);
-#line 1640 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1602 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = self->cursor;
-#line 1640 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1602 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = _g_object_ref0 (_tmp3_);
-#line 1640 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1602 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->anchor);
-#line 1640 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1602 "/home/jens/Source/shotwell/src/Page.vala"
self->anchor = _tmp4_;
-#line 1642 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1604 "/home/jens/Source/shotwell/src/Page.vala"
result = TRUE;
-#line 1642 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1604 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 10844 "Page.c"
+#line 10526 "Page.c"
}
-#line 1646 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1608 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = event;
-#line 1646 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1608 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = _tmp5_->state;
-#line 1646 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1608 "/home/jens/Source/shotwell/src/Page.vala"
if ((_tmp6_ & (GDK_CONTROL_MASK | GDK_SHIFT_MASK)) != 0) {
-#line 1647 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1609 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 1647 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1609 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 10856 "Page.c"
+#line 10538 "Page.c"
}
-#line 1650 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1612 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = self->priv->activated_item;
-#line 1650 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1612 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp7_ != NULL) {
-#line 10862 "Page.c"
+#line 10544 "Page.c"
CheckerboardItem* _tmp8_ = NULL;
CheckerboardPageKeyboardModifiers _tmp9_ = {0};
-#line 1651 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1613 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = self->priv->activated_item;
-#line 1651 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1613 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_keyboard_modifiers_init (&_tmp9_, G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1651 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1613 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_on_item_activated (self, _tmp8_, CHECKERBOARD_PAGE_ACTIVATOR_MOUSE, &_tmp9_);
-#line 1652 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1614 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->activated_item);
-#line 1652 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1614 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->activated_item = NULL;
-#line 1654 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1616 "/home/jens/Source/shotwell/src/Page.vala"
result = TRUE;
-#line 1654 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1616 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 10879 "Page.c"
+#line 10561 "Page.c"
}
-#line 1657 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1619 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = event;
-#line 1657 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1619 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = _tmp10_->x;
-#line 1657 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1619 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = event;
-#line 1657 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1619 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = _tmp12_->y;
-#line 1657 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1619 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = checkerboard_page_get_item_at_pixel (self, _tmp11_, _tmp13_);
-#line 1657 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1619 "/home/jens/Source/shotwell/src/Page.vala"
item = _tmp14_;
-#line 1658 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1620 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = item;
-#line 1658 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1620 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp15_ == NULL) {
-#line 1660 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1622 "/home/jens/Source/shotwell/src/Page.vala"
result = TRUE;
-#line 1660 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1622 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (item);
-#line 1660 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1622 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 10903 "Page.c"
+#line 10585 "Page.c"
}
-#line 1663 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1625 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = self->cursor;
-#line 1663 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1625 "/home/jens/Source/shotwell/src/Page.vala"
_tmp17_ = item;
-#line 1663 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1625 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp16_ != _tmp17_) {
-#line 10911 "Page.c"
+#line 10593 "Page.c"
ViewCollection* _tmp18_ = NULL;
ViewCollection* _tmp19_ = NULL;
-#line 1666 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1628 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1666 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1628 "/home/jens/Source/shotwell/src/Page.vala"
_tmp19_ = _tmp18_;
-#line 1666 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1628 "/home/jens/Source/shotwell/src/Page.vala"
view_collection_unselect_all (_tmp19_);
-#line 1666 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1628 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp19_);
-#line 10922 "Page.c"
+#line 10604 "Page.c"
} else {
CheckerboardItem* _tmp20_ = NULL;
gboolean _tmp21_ = FALSE;
-#line 1672 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1634 "/home/jens/Source/shotwell/src/Page.vala"
_tmp20_ = item;
-#line 1672 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1634 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = data_view_is_selected (G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, TYPE_DATA_VIEW, DataView));
-#line 1672 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1634 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp21_) {
-#line 10932 "Page.c"
+#line 10614 "Page.c"
ViewCollection* _tmp22_ = NULL;
ViewCollection* _tmp23_ = NULL;
CheckerboardItem* _tmp24_ = NULL;
-#line 1673 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1635 "/home/jens/Source/shotwell/src/Page.vala"
_tmp22_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1673 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1635 "/home/jens/Source/shotwell/src/Page.vala"
_tmp23_ = _tmp22_;
-#line 1673 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1635 "/home/jens/Source/shotwell/src/Page.vala"
_tmp24_ = item;
-#line 1673 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1635 "/home/jens/Source/shotwell/src/Page.vala"
view_collection_unselect_all_but (_tmp23_, G_TYPE_CHECK_INSTANCE_CAST (_tmp24_, TYPE_DATA_VIEW, DataView));
-#line 1673 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1635 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp23_);
-#line 10946 "Page.c"
+#line 10628 "Page.c"
}
}
-#line 1676 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1638 "/home/jens/Source/shotwell/src/Page.vala"
result = TRUE;
-#line 1676 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1638 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (item);
-#line 1676 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1638 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 10955 "Page.c"
+#line 10637 "Page.c"
}
@@ -10972,50 +10654,50 @@ static gboolean checkerboard_page_real_on_right_click (Page* base, GdkEventButto
GtkMenu* _tmp40_ = NULL;
GdkEventButton* _tmp41_ = NULL;
gboolean _tmp42_ = FALSE;
-#line 1679 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1641 "/home/jens/Source/shotwell/src/Page.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_CHECKERBOARD_PAGE, CheckerboardPage);
-#line 1679 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1641 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 1681 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1643 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = event;
-#line 1681 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1643 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _tmp0_->type;
-#line 1681 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1643 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp1_ != GDK_BUTTON_PRESS) {
-#line 1682 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1644 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 1682 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1644 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 10990 "Page.c"
+#line 10672 "Page.c"
}
-#line 1685 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1647 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = event;
-#line 1685 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1647 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = _tmp2_->x;
-#line 1685 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1647 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = event;
-#line 1685 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1647 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = _tmp4_->y;
-#line 1685 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1647 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = checkerboard_page_get_item_at_pixel (self, _tmp3_, _tmp5_);
-#line 1685 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1647 "/home/jens/Source/shotwell/src/Page.vala"
item = _tmp6_;
-#line 1686 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1648 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = item;
-#line 1686 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1648 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp7_ != NULL) {
-#line 11008 "Page.c"
+#line 10690 "Page.c"
GdkEventButton* _tmp8_ = NULL;
GdkModifierType _tmp9_ = 0;
-#line 1688 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1650 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = event;
-#line 1688 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1650 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = _tmp8_->state;
-#line 1688 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1650 "/home/jens/Source/shotwell/src/Page.vala"
switch (_tmp9_ & (GDK_CONTROL_MASK | GDK_SHIFT_MASK)) {
-#line 1688 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1650 "/home/jens/Source/shotwell/src/Page.vala"
case GDK_CONTROL_MASK:
-#line 11019 "Page.c"
+#line 10701 "Page.c"
{
Marker* marker = NULL;
ViewCollection* _tmp10_ = NULL;
@@ -11026,63 +10708,63 @@ static gboolean checkerboard_page_real_on_right_click (Page* base, GdkEventButto
ViewCollection* _tmp15_ = NULL;
ViewCollection* _tmp16_ = NULL;
Marker* _tmp17_ = NULL;
-#line 1691 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1653 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1691 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1653 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = _tmp10_;
-#line 1691 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1653 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = item;
-#line 1691 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1653 "/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 1691 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1653 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = _tmp13_;
-#line 1691 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1653 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp11_);
-#line 1691 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1653 "/home/jens/Source/shotwell/src/Page.vala"
marker = _tmp14_;
-#line 1692 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1654 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1692 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1654 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = _tmp15_;
-#line 1692 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1654 "/home/jens/Source/shotwell/src/Page.vala"
_tmp17_ = marker;
-#line 1692 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1654 "/home/jens/Source/shotwell/src/Page.vala"
view_collection_toggle_marked (_tmp16_, _tmp17_);
-#line 1692 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1654 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp16_);
-#line 1693 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1655 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (marker);
-#line 1693 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1655 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 11058 "Page.c"
+#line 10740 "Page.c"
}
-#line 1688 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1650 "/home/jens/Source/shotwell/src/Page.vala"
case GDK_SHIFT_MASK:
-#line 11062 "Page.c"
+#line 10744 "Page.c"
{
-#line 1697 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1659 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 11066 "Page.c"
+#line 10748 "Page.c"
}
-#line 1688 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1650 "/home/jens/Source/shotwell/src/Page.vala"
case GDK_CONTROL_MASK | GDK_SHIFT_MASK:
-#line 11070 "Page.c"
+#line 10752 "Page.c"
{
-#line 1701 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1663 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 11074 "Page.c"
+#line 10756 "Page.c"
}
default:
{
CheckerboardItem* _tmp18_ = NULL;
gboolean _tmp19_ = FALSE;
-#line 1706 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1668 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = item;
-#line 1706 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1668 "/home/jens/Source/shotwell/src/Page.vala"
_tmp19_ = data_view_is_selected (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, TYPE_DATA_VIEW, DataView));
-#line 1706 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1668 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp19_) {
-#line 11086 "Page.c"
+#line 10768 "Page.c"
Marker* all = NULL;
ViewCollection* _tmp20_ = NULL;
ViewCollection* _tmp21_ = NULL;
@@ -11101,99 +10783,99 @@ static gboolean checkerboard_page_real_on_right_click (Page* base, GdkEventButto
CheckerboardItem* _tmp34_ = NULL;
Marker* _tmp35_ = NULL;
Marker* _tmp36_ = NULL;
-#line 1707 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1669 "/home/jens/Source/shotwell/src/Page.vala"
_tmp20_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1707 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1669 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = _tmp20_;
-#line 1707 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1669 "/home/jens/Source/shotwell/src/Page.vala"
_tmp22_ = data_collection_start_marking (G_TYPE_CHECK_INSTANCE_CAST (_tmp21_, TYPE_DATA_COLLECTION, DataCollection));
-#line 1707 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1669 "/home/jens/Source/shotwell/src/Page.vala"
_tmp23_ = _tmp22_;
-#line 1707 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1669 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp21_);
-#line 1707 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1669 "/home/jens/Source/shotwell/src/Page.vala"
all = _tmp23_;
-#line 1708 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1670 "/home/jens/Source/shotwell/src/Page.vala"
_tmp24_ = all;
-#line 1708 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1670 "/home/jens/Source/shotwell/src/Page.vala"
_tmp25_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1708 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1670 "/home/jens/Source/shotwell/src/Page.vala"
_tmp26_ = _tmp25_;
-#line 1708 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1670 "/home/jens/Source/shotwell/src/Page.vala"
_tmp27_ = view_collection_get_selected (_tmp26_);
-#line 1708 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1670 "/home/jens/Source/shotwell/src/Page.vala"
_tmp28_ = _tmp27_;
-#line 1708 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1670 "/home/jens/Source/shotwell/src/Page.vala"
marker_mark_many (_tmp24_, G_TYPE_CHECK_INSTANCE_CAST (_tmp28_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 1708 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1670 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp28_);
-#line 1708 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1670 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp26_);
-#line 1710 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1672 "/home/jens/Source/shotwell/src/Page.vala"
_tmp29_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1710 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1672 "/home/jens/Source/shotwell/src/Page.vala"
_tmp30_ = _tmp29_;
-#line 1710 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1672 "/home/jens/Source/shotwell/src/Page.vala"
_tmp31_ = all;
-#line 1710 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1672 "/home/jens/Source/shotwell/src/Page.vala"
_tmp32_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1710 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1672 "/home/jens/Source/shotwell/src/Page.vala"
_tmp33_ = _tmp32_;
-#line 1710 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1672 "/home/jens/Source/shotwell/src/Page.vala"
_tmp34_ = item;
-#line 1710 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1672 "/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 1710 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1672 "/home/jens/Source/shotwell/src/Page.vala"
_tmp36_ = _tmp35_;
-#line 1710 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1672 "/home/jens/Source/shotwell/src/Page.vala"
view_collection_unselect_and_select_marked (_tmp30_, _tmp31_, _tmp36_);
-#line 1710 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1672 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp36_);
-#line 1710 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1672 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp33_);
-#line 1710 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1672 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp30_);
-#line 1706 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1668 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (all);
-#line 11159 "Page.c"
+#line 10841 "Page.c"
}
-#line 1712 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1674 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 11163 "Page.c"
+#line 10845 "Page.c"
}
}
} else {
ViewCollection* _tmp37_ = NULL;
ViewCollection* _tmp38_ = NULL;
-#line 1716 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1678 "/home/jens/Source/shotwell/src/Page.vala"
_tmp37_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1716 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1678 "/home/jens/Source/shotwell/src/Page.vala"
_tmp38_ = _tmp37_;
-#line 1716 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1678 "/home/jens/Source/shotwell/src/Page.vala"
view_collection_unselect_all (_tmp38_);
-#line 1716 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1678 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp38_);
-#line 11177 "Page.c"
+#line 10859 "Page.c"
}
-#line 1719 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1681 "/home/jens/Source/shotwell/src/Page.vala"
_tmp39_ = checkerboard_page_get_context_menu (self);
-#line 1719 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1681 "/home/jens/Source/shotwell/src/Page.vala"
context_menu = _tmp39_;
-#line 1720 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1682 "/home/jens/Source/shotwell/src/Page.vala"
_tmp40_ = context_menu;
-#line 1720 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1682 "/home/jens/Source/shotwell/src/Page.vala"
_tmp41_ = event;
-#line 1720 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1682 "/home/jens/Source/shotwell/src/Page.vala"
_tmp42_ = page_popup_context_menu (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), _tmp40_, _tmp41_);
-#line 1720 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1682 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp42_;
-#line 1720 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1682 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (context_menu);
-#line 1720 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1682 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (item);
-#line 1720 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1682 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 11197 "Page.c"
+#line 10879 "Page.c"
}
@@ -11207,105 +10889,105 @@ static gboolean checkerboard_page_real_on_mouse_over (CheckerboardPage* self, Ch
CheckerboardItem* _tmp11_ = NULL;
CheckerboardItem* _tmp12_ = NULL;
CheckerboardItem* _tmp13_ = NULL;
-#line 1723 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1685 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail ((item == NULL) || IS_CHECKERBOARD_ITEM (item), FALSE);
-#line 1724 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1686 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = item;
-#line 1724 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1686 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp0_ != NULL) {
-#line 11217 "Page.c"
+#line 10899 "Page.c"
CheckerboardLayout* _tmp1_ = NULL;
CheckerboardItem* _tmp2_ = NULL;
gint _tmp3_ = 0;
gint _tmp4_ = 0;
GdkModifierType _tmp5_ = 0;
-#line 1725 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1687 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = self->priv->layout;
-#line 1725 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1687 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = item;
-#line 1725 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1687 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = x;
-#line 1725 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1687 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = y;
-#line 1725 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1687 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = mask;
-#line 1725 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1687 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_layout_handle_mouse_motion (_tmp1_, _tmp2_, _tmp3_, _tmp4_, _tmp5_);
-#line 11235 "Page.c"
+#line 10917 "Page.c"
}
-#line 1729 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1691 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = item;
-#line 1729 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1691 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = self->priv->highlighted;
-#line 1729 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1691 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp6_ == _tmp7_) {
-#line 1730 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1692 "/home/jens/Source/shotwell/src/Page.vala"
result = TRUE;
-#line 1730 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1692 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 11247 "Page.c"
+#line 10929 "Page.c"
}
-#line 1733 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1695 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = self->priv->highlighted;
-#line 1733 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1695 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp8_ != NULL) {
-#line 11253 "Page.c"
+#line 10935 "Page.c"
CheckerboardItem* _tmp9_ = NULL;
-#line 1734 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1696 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = self->priv->highlighted;
-#line 1734 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1696 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_item_unbrighten (_tmp9_);
-#line 1735 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1697 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->highlighted);
-#line 1735 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1697 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->highlighted = NULL;
-#line 11263 "Page.c"
+#line 10945 "Page.c"
}
-#line 1739 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1701 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = item;
-#line 1739 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1701 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp10_ == NULL) {
-#line 1740 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1702 "/home/jens/Source/shotwell/src/Page.vala"
result = TRUE;
-#line 1740 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1702 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 11273 "Page.c"
+#line 10955 "Page.c"
}
-#line 1743 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1705 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = item;
-#line 1743 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1705 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_item_brighten (_tmp11_);
-#line 1744 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1706 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = item;
-#line 1744 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1706 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = _g_object_ref0 (_tmp12_);
-#line 1744 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1706 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->highlighted);
-#line 1744 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1706 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->highlighted = _tmp13_;
-#line 1746 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1708 "/home/jens/Source/shotwell/src/Page.vala"
result = TRUE;
-#line 1746 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1708 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 11291 "Page.c"
+#line 10973 "Page.c"
}
gboolean checkerboard_page_on_mouse_over (CheckerboardPage* self, CheckerboardItem* item, gint x, gint y, GdkModifierType mask) {
-#line 1723 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1685 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_CHECKERBOARD_PAGE (self), FALSE);
-#line 1723 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1685 "/home/jens/Source/shotwell/src/Page.vala"
return CHECKERBOARD_PAGE_GET_CLASS (self)->on_mouse_over (self, item, x, y, mask);
-#line 11300 "Page.c"
+#line 10982 "Page.c"
}
static gboolean _checkerboard_page_selection_autoscroll_gsource_func (gpointer self) {
gboolean result;
result = checkerboard_page_selection_autoscroll ((CheckerboardPage*) self);
-#line 1766 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1728 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 11309 "Page.c"
+#line 10991 "Page.c"
}
@@ -11328,95 +11010,95 @@ static gboolean checkerboard_page_real_on_motion (Page* base, GdkEventMotion* ev
gint _tmp13_ = 0;
gboolean _tmp14_ = FALSE;
gboolean _tmp15_ = FALSE;
-#line 1749 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1711 "/home/jens/Source/shotwell/src/Page.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_CHECKERBOARD_PAGE, CheckerboardPage);
-#line 1749 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1711 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 1751 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1713 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = x;
-#line 1751 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1713 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = y;
-#line 1751 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1713 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = checkerboard_page_get_item_at_pixel (self, (gdouble) _tmp0_, (gdouble) _tmp1_);
-#line 1751 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1713 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = _tmp2_;
-#line 1751 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1713 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = x;
-#line 1751 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1713 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = y;
-#line 1751 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1713 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = mask;
-#line 1751 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1713 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = checkerboard_page_on_mouse_over (self, _tmp3_, _tmp4_, _tmp5_, _tmp6_);
-#line 1751 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1713 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = !_tmp7_;
-#line 1751 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1713 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp3_);
-#line 1751 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1713 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp8_) {
-#line 1752 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1714 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 1752 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1714 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 11362 "Page.c"
+#line 11044 "Page.c"
}
-#line 1755 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1717 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = self->priv->layout;
-#line 1755 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1717 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = checkerboard_layout_is_drag_select_active (_tmp9_);
-#line 1755 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1717 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp10_) {
-#line 1756 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1718 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 1756 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1718 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 11374 "Page.c"
+#line 11056 "Page.c"
}
-#line 1759 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1721 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = self->priv->layout;
-#line 1759 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1721 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = x;
-#line 1759 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1721 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = y;
-#line 1759 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1721 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_layout_set_drag_select_endpoint (_tmp11_, _tmp12_, _tmp13_);
-#line 1761 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1723 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_updated_selection_band (self);
-#line 1764 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1726 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = self->priv->autoscroll_scheduled;
-#line 1764 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1726 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp15_) {
-#line 11390 "Page.c"
+#line 11072 "Page.c"
GtkAdjustment* _tmp16_ = NULL;
gint _tmp17_ = 0;
AdjustmentRelation _tmp18_ = 0;
-#line 1765 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1727 "/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 1765 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1727 "/home/jens/Source/shotwell/src/Page.vala"
_tmp17_ = y;
-#line 1765 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1727 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = get_adjustment_relation (_tmp16_, _tmp17_);
-#line 1765 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1727 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = _tmp18_ != ADJUSTMENT_RELATION_IN_RANGE;
-#line 11402 "Page.c"
+#line 11084 "Page.c"
} else {
-#line 1764 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1726 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = FALSE;
-#line 11406 "Page.c"
+#line 11088 "Page.c"
}
-#line 1764 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1726 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp14_) {
-#line 1766 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1728 "/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 1767 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1729 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->autoscroll_scheduled = TRUE;
-#line 11414 "Page.c"
+#line 11096 "Page.c"
}
-#line 1771 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1733 "/home/jens/Source/shotwell/src/Page.vala"
result = TRUE;
-#line 1771 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1733 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 11420 "Page.c"
+#line 11102 "Page.c"
}
@@ -11453,91 +11135,91 @@ static void checkerboard_page_updated_selection_band (CheckerboardPage* self) {
ViewCollection* _tmp47_ = NULL;
ViewCollection* _tmp48_ = NULL;
Marker* _tmp49_ = NULL;
-#line 1774 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1736 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_CHECKERBOARD_PAGE (self));
-#line 1775 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1737 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->layout;
-#line 1775 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1737 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = checkerboard_layout_is_drag_select_active (_tmp0_);
-#line 1775 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1737 "/home/jens/Source/shotwell/src/Page.vala"
_vala_assert (_tmp1_, "layout.is_drag_select_active()");
-#line 1778 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1740 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->priv->layout;
-#line 1778 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1740 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = checkerboard_layout_items_in_selection_band (_tmp2_);
-#line 1778 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1740 "/home/jens/Source/shotwell/src/Page.vala"
intersection = _tmp3_;
-#line 1779 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1741 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = intersection;
-#line 1779 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1741 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp4_ == NULL) {
-#line 1780 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1742 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (intersection);
-#line 1780 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1742 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 11479 "Page.c"
+#line 11161 "Page.c"
}
-#line 1782 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1744 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1782 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1744 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = _tmp5_;
-#line 1782 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1744 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = data_collection_start_marking (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, TYPE_DATA_COLLECTION, DataCollection));
-#line 1782 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1744 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = _tmp7_;
-#line 1782 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1744 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp6_);
-#line 1782 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1744 "/home/jens/Source/shotwell/src/Page.vala"
to_unselect = _tmp8_;
-#line 1783 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1745 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1783 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1745 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = _tmp9_;
-#line 1783 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1745 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = data_collection_start_marking (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, TYPE_DATA_COLLECTION, DataCollection));
-#line 1783 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1745 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = _tmp11_;
-#line 1783 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1745 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp10_);
-#line 1783 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1745 "/home/jens/Source/shotwell/src/Page.vala"
to_select = _tmp12_;
-#line 1786 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1748 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = to_unselect;
-#line 1786 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1748 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1786 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1748 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = _tmp14_;
-#line 1786 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1748 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = view_collection_get_selected (_tmp15_);
-#line 1786 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1748 "/home/jens/Source/shotwell/src/Page.vala"
_tmp17_ = _tmp16_;
-#line 1786 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1748 "/home/jens/Source/shotwell/src/Page.vala"
marker_mark_many (_tmp13_, G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 1786 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1748 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp17_);
-#line 1786 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1748 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp15_);
-#line 1789 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1751 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = self->priv->previously_selected;
-#line 1789 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1751 "/home/jens/Source/shotwell/src/Page.vala"
_vala_assert (_tmp18_ != NULL, "previously_selected != null");
-#line 1790 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1752 "/home/jens/Source/shotwell/src/Page.vala"
_tmp19_ = to_unselect;
-#line 1790 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1752 "/home/jens/Source/shotwell/src/Page.vala"
_tmp20_ = self->priv->previously_selected;
-#line 1790 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1752 "/home/jens/Source/shotwell/src/Page.vala"
marker_unmark_many (_tmp19_, G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 1791 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1753 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = to_select;
-#line 1791 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1753 "/home/jens/Source/shotwell/src/Page.vala"
_tmp22_ = self->priv->previously_selected;
-#line 1791 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1753 "/home/jens/Source/shotwell/src/Page.vala"
marker_mark_many (_tmp21_, G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 1794 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1756 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->cursor);
-#line 1794 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1756 "/home/jens/Source/shotwell/src/Page.vala"
self->cursor = NULL;
-#line 11541 "Page.c"
+#line 11223 "Page.c"
{
GeeList* _item_list = NULL;
GeeList* _tmp23_ = NULL;
@@ -11547,25 +11229,25 @@ static void checkerboard_page_updated_selection_band (CheckerboardPage* self) {
gint _tmp26_ = 0;
gint _tmp27_ = 0;
gint _item_index = 0;
-#line 1796 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1758 "/home/jens/Source/shotwell/src/Page.vala"
_tmp23_ = intersection;
-#line 1796 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1758 "/home/jens/Source/shotwell/src/Page.vala"
_tmp24_ = _g_object_ref0 (_tmp23_);
-#line 1796 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1758 "/home/jens/Source/shotwell/src/Page.vala"
_item_list = _tmp24_;
-#line 1796 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1758 "/home/jens/Source/shotwell/src/Page.vala"
_tmp25_ = _item_list;
-#line 1796 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1758 "/home/jens/Source/shotwell/src/Page.vala"
_tmp26_ = gee_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp25_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 1796 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1758 "/home/jens/Source/shotwell/src/Page.vala"
_tmp27_ = _tmp26_;
-#line 1796 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1758 "/home/jens/Source/shotwell/src/Page.vala"
_item_size = _tmp27_;
-#line 1796 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1758 "/home/jens/Source/shotwell/src/Page.vala"
_item_index = -1;
-#line 1796 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1758 "/home/jens/Source/shotwell/src/Page.vala"
while (TRUE) {
-#line 11569 "Page.c"
+#line 11251 "Page.c"
gint _tmp28_ = 0;
gint _tmp29_ = 0;
gint _tmp30_ = 0;
@@ -11577,109 +11259,109 @@ static void checkerboard_page_updated_selection_band (CheckerboardPage* self) {
CheckerboardItem* _tmp35_ = NULL;
gboolean _tmp36_ = FALSE;
CheckerboardItem* _tmp41_ = NULL;
-#line 1796 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1758 "/home/jens/Source/shotwell/src/Page.vala"
_tmp28_ = _item_index;
-#line 1796 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1758 "/home/jens/Source/shotwell/src/Page.vala"
_item_index = _tmp28_ + 1;
-#line 1796 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1758 "/home/jens/Source/shotwell/src/Page.vala"
_tmp29_ = _item_index;
-#line 1796 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1758 "/home/jens/Source/shotwell/src/Page.vala"
_tmp30_ = _item_size;
-#line 1796 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1758 "/home/jens/Source/shotwell/src/Page.vala"
if (!(_tmp29_ < _tmp30_)) {
-#line 1796 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1758 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 11593 "Page.c"
+#line 11275 "Page.c"
}
-#line 1796 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1758 "/home/jens/Source/shotwell/src/Page.vala"
_tmp31_ = _item_list;
-#line 1796 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1758 "/home/jens/Source/shotwell/src/Page.vala"
_tmp32_ = _item_index;
-#line 1796 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1758 "/home/jens/Source/shotwell/src/Page.vala"
_tmp33_ = gee_list_get (_tmp31_, _tmp32_);
-#line 1796 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1758 "/home/jens/Source/shotwell/src/Page.vala"
item = (CheckerboardItem*) _tmp33_;
-#line 1797 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1759 "/home/jens/Source/shotwell/src/Page.vala"
_tmp34_ = to_select;
-#line 1797 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1759 "/home/jens/Source/shotwell/src/Page.vala"
_tmp35_ = item;
-#line 1797 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1759 "/home/jens/Source/shotwell/src/Page.vala"
_tmp36_ = marker_toggle (_tmp34_, G_TYPE_CHECK_INSTANCE_CAST (_tmp35_, TYPE_DATA_OBJECT, DataObject));
-#line 1797 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1759 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp36_) {
-#line 11611 "Page.c"
+#line 11293 "Page.c"
Marker* _tmp37_ = NULL;
CheckerboardItem* _tmp38_ = NULL;
-#line 1798 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1760 "/home/jens/Source/shotwell/src/Page.vala"
_tmp37_ = to_unselect;
-#line 1798 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1760 "/home/jens/Source/shotwell/src/Page.vala"
_tmp38_ = item;
-#line 1798 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1760 "/home/jens/Source/shotwell/src/Page.vala"
marker_unmark (_tmp37_, G_TYPE_CHECK_INSTANCE_CAST (_tmp38_, TYPE_DATA_OBJECT, DataObject));
-#line 11620 "Page.c"
+#line 11302 "Page.c"
} else {
Marker* _tmp39_ = NULL;
CheckerboardItem* _tmp40_ = NULL;
-#line 1800 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1762 "/home/jens/Source/shotwell/src/Page.vala"
_tmp39_ = to_unselect;
-#line 1800 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1762 "/home/jens/Source/shotwell/src/Page.vala"
_tmp40_ = item;
-#line 1800 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1762 "/home/jens/Source/shotwell/src/Page.vala"
marker_mark (_tmp39_, G_TYPE_CHECK_INSTANCE_CAST (_tmp40_, TYPE_DATA_OBJECT, DataObject));
-#line 11630 "Page.c"
+#line 11312 "Page.c"
}
-#line 1802 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1764 "/home/jens/Source/shotwell/src/Page.vala"
_tmp41_ = self->cursor;
-#line 1802 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1764 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp41_ == NULL) {
-#line 11636 "Page.c"
+#line 11318 "Page.c"
CheckerboardItem* _tmp42_ = NULL;
CheckerboardItem* _tmp43_ = NULL;
-#line 1803 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1765 "/home/jens/Source/shotwell/src/Page.vala"
_tmp42_ = item;
-#line 1803 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1765 "/home/jens/Source/shotwell/src/Page.vala"
_tmp43_ = _g_object_ref0 (_tmp42_);
-#line 1803 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1765 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->cursor);
-#line 1803 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1765 "/home/jens/Source/shotwell/src/Page.vala"
self->cursor = _tmp43_;
-#line 11647 "Page.c"
+#line 11329 "Page.c"
}
-#line 1796 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1758 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (item);
-#line 11651 "Page.c"
+#line 11333 "Page.c"
}
-#line 1796 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1758 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_item_list);
-#line 11655 "Page.c"
+#line 11337 "Page.c"
}
-#line 1806 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1768 "/home/jens/Source/shotwell/src/Page.vala"
_tmp44_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1806 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1768 "/home/jens/Source/shotwell/src/Page.vala"
_tmp45_ = _tmp44_;
-#line 1806 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1768 "/home/jens/Source/shotwell/src/Page.vala"
_tmp46_ = to_select;
-#line 1806 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1768 "/home/jens/Source/shotwell/src/Page.vala"
view_collection_select_marked (_tmp45_, _tmp46_);
-#line 1806 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1768 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp45_);
-#line 1807 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1769 "/home/jens/Source/shotwell/src/Page.vala"
_tmp47_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1807 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1769 "/home/jens/Source/shotwell/src/Page.vala"
_tmp48_ = _tmp47_;
-#line 1807 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1769 "/home/jens/Source/shotwell/src/Page.vala"
_tmp49_ = to_unselect;
-#line 1807 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1769 "/home/jens/Source/shotwell/src/Page.vala"
view_collection_unselect_marked (_tmp48_, _tmp49_);
-#line 1807 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1769 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp48_);
-#line 1774 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1736 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (to_select);
-#line 1774 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1736 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (to_unselect);
-#line 1774 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1736 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (intersection);
-#line 11683 "Page.c"
+#line 11365 "Page.c"
}
@@ -11711,77 +11393,77 @@ static gboolean checkerboard_page_selection_autoscroll (CheckerboardPage* self)
GtkAdjustment* _tmp28_ = NULL;
gdouble _tmp29_ = 0.0;
gint _tmp30_ = 0;
-#line 1810 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1772 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_CHECKERBOARD_PAGE (self), FALSE);
-#line 1811 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1773 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->layout;
-#line 1811 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1773 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = checkerboard_layout_is_drag_select_active (_tmp0_);
-#line 1811 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1773 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp1_) {
-#line 1812 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1774 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->autoscroll_scheduled = FALSE;
-#line 1814 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1776 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 1814 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1776 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 11729 "Page.c"
+#line 11411 "Page.c"
}
-#line 1818 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1780 "/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 1818 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1780 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = _g_object_ref0 (_tmp2_);
-#line 1818 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1780 "/home/jens/Source/shotwell/src/Page.vala"
vadj = _tmp3_;
-#line 1822 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1784 "/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 1822 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1784 "/home/jens/Source/shotwell/src/Page.vala"
x = _tmp4_;
-#line 1822 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1784 "/home/jens/Source/shotwell/src/Page.vala"
y = _tmp5_;
-#line 1822 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1784 "/home/jens/Source/shotwell/src/Page.vala"
mask = _tmp6_;
-#line 1824 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1786 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = vadj;
-#line 1824 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1786 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = gtk_adjustment_get_value (_tmp7_);
-#line 1824 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1786 "/home/jens/Source/shotwell/src/Page.vala"
new_value = (gint) _tmp8_;
-#line 1825 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1787 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = vadj;
-#line 1825 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1787 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = y;
-#line 1825 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1787 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = get_adjustment_relation (_tmp9_, _tmp10_);
-#line 1825 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1787 "/home/jens/Source/shotwell/src/Page.vala"
switch (_tmp11_) {
-#line 1825 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1787 "/home/jens/Source/shotwell/src/Page.vala"
case ADJUSTMENT_RELATION_BELOW:
-#line 11761 "Page.c"
+#line 11443 "Page.c"
{
gint _tmp12_ = 0;
CheckerboardLayout* _tmp13_ = NULL;
gint _tmp14_ = 0;
gint _tmp15_ = 0;
-#line 1828 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1790 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = new_value;
-#line 1828 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1790 "/home/jens/Source/shotwell/src/Page.vala"
new_value = _tmp12_ - CHECKERBOARD_PAGE_AUTOSCROLL_PIXELS;
-#line 1829 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1791 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = self->priv->layout;
-#line 1829 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1791 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = x;
-#line 1829 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1791 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = new_value;
-#line 1829 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1791 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_layout_set_drag_select_endpoint (_tmp13_, _tmp14_, _tmp15_);
-#line 1830 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1792 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 11781 "Page.c"
+#line 11463 "Page.c"
}
-#line 1825 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1787 "/home/jens/Source/shotwell/src/Page.vala"
case ADJUSTMENT_RELATION_ABOVE:
-#line 11785 "Page.c"
+#line 11467 "Page.c"
{
gint _tmp16_ = 0;
CheckerboardLayout* _tmp17_ = NULL;
@@ -11789,78 +11471,78 @@ static gboolean checkerboard_page_selection_autoscroll (CheckerboardPage* self)
gint _tmp19_ = 0;
GtkAdjustment* _tmp20_ = NULL;
gdouble _tmp21_ = 0.0;
-#line 1834 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1796 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = new_value;
-#line 1834 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1796 "/home/jens/Source/shotwell/src/Page.vala"
new_value = _tmp16_ + CHECKERBOARD_PAGE_AUTOSCROLL_PIXELS;
-#line 1835 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1797 "/home/jens/Source/shotwell/src/Page.vala"
_tmp17_ = self->priv->layout;
-#line 1835 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1797 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = x;
-#line 1835 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1797 "/home/jens/Source/shotwell/src/Page.vala"
_tmp19_ = new_value;
-#line 1835 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1797 "/home/jens/Source/shotwell/src/Page.vala"
_tmp20_ = vadj;
-#line 1835 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1797 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = gtk_adjustment_get_page_size (_tmp20_);
-#line 1835 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1797 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_layout_set_drag_select_endpoint (_tmp17_, _tmp18_, _tmp19_ + ((gint) _tmp21_));
-#line 1836 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1798 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 11811 "Page.c"
+#line 11493 "Page.c"
}
-#line 1825 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1787 "/home/jens/Source/shotwell/src/Page.vala"
case ADJUSTMENT_RELATION_IN_RANGE:
-#line 11815 "Page.c"
+#line 11497 "Page.c"
{
-#line 1839 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1801 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->autoscroll_scheduled = FALSE;
-#line 1841 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1803 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 1841 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1803 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (vadj);
-#line 1841 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1803 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 11825 "Page.c"
+#line 11507 "Page.c"
}
default:
{
-#line 1844 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1806 "/home/jens/Source/shotwell/src/Page.vala"
g_warn_if_reached ();
-#line 1845 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1807 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 11833 "Page.c"
+#line 11515 "Page.c"
}
}
-#line 1851 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1813 "/home/jens/Source/shotwell/src/Page.vala"
_tmp22_ = vadj;
-#line 1851 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1813 "/home/jens/Source/shotwell/src/Page.vala"
_tmp23_ = new_value;
-#line 1851 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1813 "/home/jens/Source/shotwell/src/Page.vala"
_tmp24_ = vadj;
-#line 1851 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1813 "/home/jens/Source/shotwell/src/Page.vala"
_tmp25_ = gtk_adjustment_get_lower (_tmp24_);
-#line 1851 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1813 "/home/jens/Source/shotwell/src/Page.vala"
_tmp26_ = vadj;
-#line 1851 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1813 "/home/jens/Source/shotwell/src/Page.vala"
_tmp27_ = gtk_adjustment_get_upper (_tmp26_);
-#line 1851 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1813 "/home/jens/Source/shotwell/src/Page.vala"
_tmp28_ = vadj;
-#line 1851 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1813 "/home/jens/Source/shotwell/src/Page.vala"
_tmp29_ = gtk_adjustment_get_page_size (_tmp28_);
-#line 1851 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1813 "/home/jens/Source/shotwell/src/Page.vala"
_tmp30_ = CLAMP (_tmp23_, (gint) _tmp25_, ((gint) _tmp27_) - ((gint) _tmp29_));
-#line 1851 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1813 "/home/jens/Source/shotwell/src/Page.vala"
gtk_adjustment_set_value (_tmp22_, (gdouble) _tmp30_);
-#line 1854 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1816 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_updated_selection_band (self);
-#line 1856 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1818 "/home/jens/Source/shotwell/src/Page.vala"
result = TRUE;
-#line 1856 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1818 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (vadj);
-#line 1856 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1818 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 11864 "Page.c"
+#line 11546 "Page.c"
}
@@ -11891,35 +11573,35 @@ void checkerboard_page_cursor_to_item (CheckerboardPage* self, CheckerboardItem*
gdouble _tmp39_ = 0.0;
GtkAdjustment* _tmp53_ = NULL;
gint _tmp54_ = 0;
-#line 1859 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1821 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_CHECKERBOARD_PAGE (self));
-#line 1859 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1821 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_CHECKERBOARD_ITEM (item));
-#line 1860 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1822 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1860 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1822 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _tmp0_;
-#line 1860 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1822 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = item;
-#line 1860 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1822 "/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 1860 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1822 "/home/jens/Source/shotwell/src/Page.vala"
_vala_assert (_tmp3_, "get_view().contains(item)");
-#line 1860 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1822 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp1_);
-#line 1862 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1824 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = item;
-#line 1862 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1824 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = _g_object_ref0 (_tmp4_);
-#line 1862 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1824 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->cursor);
-#line 1862 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1824 "/home/jens/Source/shotwell/src/Page.vala"
self->cursor = _tmp5_;
-#line 1864 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1826 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = page_get_ctrl_pressed (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1864 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1826 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp6_) {
-#line 11923 "Page.c"
+#line 11605 "Page.c"
ViewCollection* _tmp7_ = NULL;
ViewCollection* _tmp8_ = NULL;
Marker* marker = NULL;
@@ -11931,67 +11613,67 @@ void checkerboard_page_cursor_to_item (CheckerboardPage* self, CheckerboardItem*
ViewCollection* _tmp14_ = NULL;
ViewCollection* _tmp15_ = NULL;
Marker* _tmp16_ = NULL;
-#line 1865 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1827 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1865 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1827 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = _tmp7_;
-#line 1865 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1827 "/home/jens/Source/shotwell/src/Page.vala"
view_collection_unselect_all (_tmp8_);
-#line 1865 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1827 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp8_);
-#line 1866 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1828 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1866 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1828 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = _tmp9_;
-#line 1866 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1828 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = item;
-#line 1866 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1828 "/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 1866 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1828 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = _tmp12_;
-#line 1866 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1828 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp10_);
-#line 1866 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1828 "/home/jens/Source/shotwell/src/Page.vala"
marker = _tmp13_;
-#line 1867 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1829 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1867 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1829 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = _tmp14_;
-#line 1867 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1829 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = marker;
-#line 1867 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1829 "/home/jens/Source/shotwell/src/Page.vala"
view_collection_select_marked (_tmp15_, _tmp16_);
-#line 1867 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1829 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp15_);
-#line 1864 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1826 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (marker);
-#line 11969 "Page.c"
+#line 11651 "Page.c"
}
-#line 1869 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1831 "/home/jens/Source/shotwell/src/Page.vala"
_tmp17_ = self->priv->layout;
-#line 1869 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1831 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = item;
-#line 1869 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1831 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_layout_set_cursor (_tmp17_, _tmp18_);
-#line 1872 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1834 "/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 1872 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1834 "/home/jens/Source/shotwell/src/Page.vala"
_tmp20_ = _g_object_ref0 (_tmp19_);
-#line 1872 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1834 "/home/jens/Source/shotwell/src/Page.vala"
vadj = _tmp20_;
-#line 1873 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1835 "/home/jens/Source/shotwell/src/Page.vala"
_tmp22_ = vadj;
-#line 1873 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1835 "/home/jens/Source/shotwell/src/Page.vala"
_tmp23_ = item;
-#line 1873 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1835 "/home/jens/Source/shotwell/src/Page.vala"
_tmp24_ = _tmp23_->allocation;
-#line 1873 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1835 "/home/jens/Source/shotwell/src/Page.vala"
_tmp25_ = _tmp24_.y;
-#line 1873 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1835 "/home/jens/Source/shotwell/src/Page.vala"
_tmp26_ = get_adjustment_relation (_tmp22_, _tmp25_);
-#line 1873 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1835 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp26_ == ADJUSTMENT_RELATION_IN_RANGE) {
-#line 11995 "Page.c"
+#line 11677 "Page.c"
GtkAdjustment* _tmp27_ = NULL;
CheckerboardItem* _tmp28_ = NULL;
GdkRectangle _tmp29_ = {0};
@@ -12000,70 +11682,70 @@ void checkerboard_page_cursor_to_item (CheckerboardPage* self, CheckerboardItem*
GdkRectangle _tmp32_ = {0};
gint _tmp33_ = 0;
AdjustmentRelation _tmp34_ = 0;
-#line 1874 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1836 "/home/jens/Source/shotwell/src/Page.vala"
_tmp27_ = vadj;
-#line 1874 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1836 "/home/jens/Source/shotwell/src/Page.vala"
_tmp28_ = item;
-#line 1874 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1836 "/home/jens/Source/shotwell/src/Page.vala"
_tmp29_ = _tmp28_->allocation;
-#line 1874 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1836 "/home/jens/Source/shotwell/src/Page.vala"
_tmp30_ = _tmp29_.y;
-#line 1874 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1836 "/home/jens/Source/shotwell/src/Page.vala"
_tmp31_ = item;
-#line 1874 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1836 "/home/jens/Source/shotwell/src/Page.vala"
_tmp32_ = _tmp31_->allocation;
-#line 1874 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1836 "/home/jens/Source/shotwell/src/Page.vala"
_tmp33_ = _tmp32_.height;
-#line 1874 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1836 "/home/jens/Source/shotwell/src/Page.vala"
_tmp34_ = get_adjustment_relation (_tmp27_, _tmp30_ + _tmp33_);
-#line 1874 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1836 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = _tmp34_ == ADJUSTMENT_RELATION_IN_RANGE;
-#line 12022 "Page.c"
+#line 11704 "Page.c"
} else {
-#line 1873 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1835 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = FALSE;
-#line 12026 "Page.c"
+#line 11708 "Page.c"
}
-#line 1873 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1835 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp21_) {
-#line 1875 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1837 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (vadj);
-#line 1875 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1837 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 12034 "Page.c"
+#line 11716 "Page.c"
}
-#line 1878 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1840 "/home/jens/Source/shotwell/src/Page.vala"
top = 0;
-#line 1879 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1841 "/home/jens/Source/shotwell/src/Page.vala"
_tmp35_ = item;
-#line 1879 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1841 "/home/jens/Source/shotwell/src/Page.vala"
_tmp36_ = _tmp35_->allocation;
-#line 1879 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1841 "/home/jens/Source/shotwell/src/Page.vala"
_tmp37_ = _tmp36_.y;
-#line 1879 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1841 "/home/jens/Source/shotwell/src/Page.vala"
_tmp38_ = vadj;
-#line 1879 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1841 "/home/jens/Source/shotwell/src/Page.vala"
_tmp39_ = gtk_adjustment_get_value (_tmp38_);
-#line 1879 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1841 "/home/jens/Source/shotwell/src/Page.vala"
if (((gdouble) _tmp37_) < _tmp39_) {
-#line 12050 "Page.c"
+#line 11732 "Page.c"
CheckerboardItem* _tmp40_ = NULL;
GdkRectangle _tmp41_ = {0};
gint _tmp42_ = 0;
gint _tmp43_ = 0;
-#line 1880 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1842 "/home/jens/Source/shotwell/src/Page.vala"
_tmp40_ = item;
-#line 1880 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1842 "/home/jens/Source/shotwell/src/Page.vala"
_tmp41_ = _tmp40_->allocation;
-#line 1880 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1842 "/home/jens/Source/shotwell/src/Page.vala"
_tmp42_ = _tmp41_.y;
-#line 1880 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1842 "/home/jens/Source/shotwell/src/Page.vala"
top = _tmp42_;
-#line 1881 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1843 "/home/jens/Source/shotwell/src/Page.vala"
_tmp43_ = top;
-#line 1881 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1843 "/home/jens/Source/shotwell/src/Page.vala"
top = _tmp43_ - (CHECKERBOARD_LAYOUT_ROW_GUTTER_PADDING / 2);
-#line 12067 "Page.c"
+#line 11749 "Page.c"
} else {
CheckerboardItem* _tmp44_ = NULL;
GdkRectangle _tmp45_ = {0};
@@ -12074,39 +11756,39 @@ void checkerboard_page_cursor_to_item (CheckerboardPage* self, CheckerboardItem*
GtkAdjustment* _tmp50_ = NULL;
gdouble _tmp51_ = 0.0;
gint _tmp52_ = 0;
-#line 1883 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1845 "/home/jens/Source/shotwell/src/Page.vala"
_tmp44_ = item;
-#line 1883 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1845 "/home/jens/Source/shotwell/src/Page.vala"
_tmp45_ = _tmp44_->allocation;
-#line 1883 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1845 "/home/jens/Source/shotwell/src/Page.vala"
_tmp46_ = _tmp45_.y;
-#line 1883 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1845 "/home/jens/Source/shotwell/src/Page.vala"
_tmp47_ = item;
-#line 1883 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1845 "/home/jens/Source/shotwell/src/Page.vala"
_tmp48_ = _tmp47_->allocation;
-#line 1883 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1845 "/home/jens/Source/shotwell/src/Page.vala"
_tmp49_ = _tmp48_.height;
-#line 1883 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1845 "/home/jens/Source/shotwell/src/Page.vala"
_tmp50_ = vadj;
-#line 1883 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1845 "/home/jens/Source/shotwell/src/Page.vala"
_tmp51_ = gtk_adjustment_get_page_size (_tmp50_);
-#line 1883 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1845 "/home/jens/Source/shotwell/src/Page.vala"
top = (_tmp46_ + _tmp49_) - ((gint) _tmp51_);
-#line 1884 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1846 "/home/jens/Source/shotwell/src/Page.vala"
_tmp52_ = top;
-#line 1884 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1846 "/home/jens/Source/shotwell/src/Page.vala"
top = _tmp52_ + (CHECKERBOARD_LAYOUT_ROW_GUTTER_PADDING / 2);
-#line 12100 "Page.c"
+#line 11782 "Page.c"
}
-#line 1887 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1849 "/home/jens/Source/shotwell/src/Page.vala"
_tmp53_ = vadj;
-#line 1887 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1849 "/home/jens/Source/shotwell/src/Page.vala"
_tmp54_ = top;
-#line 1887 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1849 "/home/jens/Source/shotwell/src/Page.vala"
gtk_adjustment_set_value (_tmp53_, (gdouble) _tmp54_);
-#line 1859 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1821 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (vadj);
-#line 12110 "Page.c"
+#line 11792 "Page.c"
}
@@ -12125,171 +11807,171 @@ void checkerboard_page_move_cursor (CheckerboardPage* self, CompassPoint point)
CompassPoint _tmp27_ = 0;
CheckerboardItem* _tmp28_ = NULL;
CheckerboardItem* _tmp29_ = NULL;
-#line 1890 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1852 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_CHECKERBOARD_PAGE (self));
-#line 1892 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1854 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1892 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1854 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _tmp0_;
-#line 1892 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1854 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = data_collection_get_count (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_DATA_COLLECTION, DataCollection));
-#line 1892 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1854 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = _tmp2_ == 0;
-#line 1892 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1854 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp1_);
-#line 1892 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1854 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp3_) {
-#line 1893 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1855 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 12145 "Page.c"
+#line 11827 "Page.c"
}
-#line 1898 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1860 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = self->cursor;
-#line 1898 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1860 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp6_ == NULL) {
-#line 12151 "Page.c"
+#line 11833 "Page.c"
CheckerboardLayout* _tmp7_ = NULL;
CheckerboardItem* _tmp8_ = NULL;
CheckerboardItem* _tmp9_ = NULL;
-#line 1898 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1860 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = self->priv->layout;
-#line 1898 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1860 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = checkerboard_layout_get_cursor (_tmp7_);
-#line 1898 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1860 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = _tmp8_;
-#line 1898 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1860 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = _tmp9_ == NULL;
-#line 1898 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1860 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp9_);
-#line 12165 "Page.c"
+#line 11847 "Page.c"
} else {
-#line 1898 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1860 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = FALSE;
-#line 12169 "Page.c"
+#line 11851 "Page.c"
}
-#line 1898 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1860 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp5_) {
-#line 1898 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1860 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = TRUE;
-#line 12175 "Page.c"
+#line 11857 "Page.c"
} else {
gboolean _tmp10_ = FALSE;
CheckerboardItem* _tmp11_ = NULL;
-#line 1898 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1860 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = self->cursor;
-#line 1898 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1860 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp11_ != NULL) {
-#line 12183 "Page.c"
+#line 11865 "Page.c"
ViewCollection* _tmp12_ = NULL;
ViewCollection* _tmp13_ = NULL;
CheckerboardItem* _tmp14_ = NULL;
gboolean _tmp15_ = FALSE;
-#line 1898 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1860 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1898 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1860 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = _tmp12_;
-#line 1898 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1860 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = self->cursor;
-#line 1898 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1860 "/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 1898 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1860 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = !_tmp15_;
-#line 1898 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1860 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp13_);
-#line 12200 "Page.c"
+#line 11882 "Page.c"
} else {
-#line 1898 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1860 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = FALSE;
-#line 12204 "Page.c"
+#line 11886 "Page.c"
}
-#line 1898 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1860 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = _tmp10_;
-#line 12208 "Page.c"
+#line 11890 "Page.c"
}
-#line 1898 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1860 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp4_) {
-#line 12212 "Page.c"
+#line 11894 "Page.c"
CheckerboardItem* item = NULL;
CheckerboardLayout* _tmp16_ = NULL;
CheckerboardItem* _tmp17_ = NULL;
CheckerboardItem* _tmp18_ = NULL;
CheckerboardItem* _tmp19_ = NULL;
CheckerboardItem* _tmp20_ = NULL;
-#line 1899 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1861 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = self->priv->layout;
-#line 1899 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1861 "/home/jens/Source/shotwell/src/Page.vala"
_tmp17_ = checkerboard_layout_get_item_at_coordinate (_tmp16_, 0, 0);
-#line 1899 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1861 "/home/jens/Source/shotwell/src/Page.vala"
item = _tmp17_;
-#line 1900 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1862 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = item;
-#line 1900 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1862 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_cursor_to_item (self, _tmp18_);
-#line 1901 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1863 "/home/jens/Source/shotwell/src/Page.vala"
_tmp19_ = item;
-#line 1901 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1863 "/home/jens/Source/shotwell/src/Page.vala"
_tmp20_ = _g_object_ref0 (_tmp19_);
-#line 1901 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1863 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->anchor);
-#line 1901 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1863 "/home/jens/Source/shotwell/src/Page.vala"
self->anchor = _tmp20_;
-#line 1903 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1865 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (item);
-#line 1903 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1865 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 12241 "Page.c"
+#line 11923 "Page.c"
}
-#line 1906 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1868 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = self->cursor;
-#line 1906 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1868 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp21_ == NULL) {
-#line 12247 "Page.c"
+#line 11929 "Page.c"
CheckerboardLayout* _tmp22_ = NULL;
CheckerboardItem* _tmp23_ = NULL;
CheckerboardItem* _tmp24_ = NULL;
-#line 1907 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1869 "/home/jens/Source/shotwell/src/Page.vala"
_tmp22_ = self->priv->layout;
-#line 1907 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1869 "/home/jens/Source/shotwell/src/Page.vala"
_tmp23_ = checkerboard_layout_get_cursor (_tmp22_);
-#line 1907 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1869 "/home/jens/Source/shotwell/src/Page.vala"
_tmp24_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp23_, TYPE_CHECKERBOARD_ITEM) ? ((CheckerboardItem*) _tmp23_) : NULL;
-#line 1907 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1869 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp24_ == NULL) {
-#line 1907 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1869 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp23_);
-#line 12261 "Page.c"
+#line 11943 "Page.c"
}
-#line 1907 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1869 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->cursor);
-#line 1907 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1869 "/home/jens/Source/shotwell/src/Page.vala"
self->cursor = _tmp24_;
-#line 12267 "Page.c"
+#line 11949 "Page.c"
}
-#line 1911 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1873 "/home/jens/Source/shotwell/src/Page.vala"
_tmp25_ = self->priv->layout;
-#line 1911 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1873 "/home/jens/Source/shotwell/src/Page.vala"
_tmp26_ = self->cursor;
-#line 1911 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1873 "/home/jens/Source/shotwell/src/Page.vala"
_tmp27_ = point;
-#line 1911 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1873 "/home/jens/Source/shotwell/src/Page.vala"
_tmp28_ = checkerboard_layout_get_item_relative_to (_tmp25_, _tmp26_, _tmp27_);
-#line 1911 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1873 "/home/jens/Source/shotwell/src/Page.vala"
item = _tmp28_;
-#line 1912 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1874 "/home/jens/Source/shotwell/src/Page.vala"
_tmp29_ = item;
-#line 1912 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1874 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp29_ != NULL) {
-#line 12283 "Page.c"
+#line 11965 "Page.c"
CheckerboardItem* _tmp30_ = NULL;
-#line 1913 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1875 "/home/jens/Source/shotwell/src/Page.vala"
_tmp30_ = item;
-#line 1913 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1875 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_cursor_to_item (self, _tmp30_);
-#line 12289 "Page.c"
+#line 11971 "Page.c"
}
-#line 1890 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1852 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (item);
-#line 12293 "Page.c"
+#line 11975 "Page.c"
}
@@ -12306,51 +11988,51 @@ void checkerboard_page_set_cursor (CheckerboardPage* self, CheckerboardItem* ite
CheckerboardItem* _tmp8_ = NULL;
CheckerboardItem* _tmp9_ = NULL;
CheckerboardItem* _tmp10_ = NULL;
-#line 1916 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1878 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_CHECKERBOARD_PAGE (self));
-#line 1916 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1878 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_CHECKERBOARD_ITEM (item));
-#line 1917 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1879 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1917 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1879 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _tmp0_;
-#line 1917 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1879 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = item;
-#line 1917 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1879 "/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 1917 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1879 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = _tmp3_;
-#line 1917 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1879 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp1_);
-#line 1917 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1879 "/home/jens/Source/shotwell/src/Page.vala"
marker = _tmp4_;
-#line 1918 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1880 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1918 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1880 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = _tmp5_;
-#line 1918 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1880 "/home/jens/Source/shotwell/src/Page.vala"
view_collection_select_marked (_tmp6_, marker);
-#line 1918 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1880 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp6_);
-#line 1920 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1882 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = item;
-#line 1920 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1882 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = _g_object_ref0 (_tmp7_);
-#line 1920 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1882 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->cursor);
-#line 1920 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1882 "/home/jens/Source/shotwell/src/Page.vala"
self->cursor = _tmp8_;
-#line 1921 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1883 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = item;
-#line 1921 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1883 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = _g_object_ref0 (_tmp9_);
-#line 1921 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1883 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->anchor);
-#line 1921 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1883 "/home/jens/Source/shotwell/src/Page.vala"
self->anchor = _tmp10_;
-#line 1916 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1878 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (marker);
-#line 12354 "Page.c"
+#line 12036 "Page.c"
}
@@ -12365,29 +12047,29 @@ void checkerboard_page_select_between_items (CheckerboardPage* self, Checkerboar
ViewCollection* _tmp28_ = NULL;
ViewCollection* _tmp29_ = NULL;
Marker* _tmp30_ = NULL;
-#line 1924 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1886 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_CHECKERBOARD_PAGE (self));
-#line 1924 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1886 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_CHECKERBOARD_ITEM (item_start));
-#line 1924 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1886 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_CHECKERBOARD_ITEM (item_end));
-#line 1925 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1887 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1925 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1887 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _tmp0_;
-#line 1925 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1887 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = data_collection_start_marking (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_DATA_COLLECTION, DataCollection));
-#line 1925 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1887 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = _tmp2_;
-#line 1925 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1887 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp1_);
-#line 1925 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1887 "/home/jens/Source/shotwell/src/Page.vala"
marker = _tmp3_;
-#line 1927 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1889 "/home/jens/Source/shotwell/src/Page.vala"
passed_start = FALSE;
-#line 1928 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1890 "/home/jens/Source/shotwell/src/Page.vala"
passed_end = FALSE;
-#line 12391 "Page.c"
+#line 12073 "Page.c"
{
GeeIterator* _object_it = NULL;
ViewCollection* _tmp4_ = NULL;
@@ -12396,27 +12078,27 @@ void checkerboard_page_select_between_items (CheckerboardPage* self, Checkerboar
GeeCollection* _tmp7_ = NULL;
GeeIterator* _tmp8_ = NULL;
GeeIterator* _tmp9_ = NULL;
-#line 1930 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1892 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1930 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1892 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = _tmp4_;
-#line 1930 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1892 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = data_collection_get_all (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, TYPE_DATA_COLLECTION, DataCollection));
-#line 1930 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1892 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = _tmp6_;
-#line 1930 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1892 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, GEE_TYPE_ITERABLE, GeeIterable));
-#line 1930 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1892 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = _tmp8_;
-#line 1930 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1892 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp7_);
-#line 1930 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1892 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp5_);
-#line 1930 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1892 "/home/jens/Source/shotwell/src/Page.vala"
_object_it = _tmp9_;
-#line 1930 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1892 "/home/jens/Source/shotwell/src/Page.vala"
while (TRUE) {
-#line 12420 "Page.c"
+#line 12102 "Page.c"
GeeIterator* _tmp10_ = NULL;
gboolean _tmp11_ = FALSE;
DataObject* object = NULL;
@@ -12433,125 +12115,125 @@ void checkerboard_page_select_between_items (CheckerboardPage* self, Checkerboar
gboolean _tmp21_ = FALSE;
gboolean _tmp25_ = FALSE;
gboolean _tmp26_ = FALSE;
-#line 1930 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1892 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = _object_it;
-#line 1930 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1892 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = gee_iterator_next (_tmp10_);
-#line 1930 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1892 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp11_) {
-#line 1930 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1892 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 12445 "Page.c"
+#line 12127 "Page.c"
}
-#line 1930 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1892 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = _object_it;
-#line 1930 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1892 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = gee_iterator_get (_tmp12_);
-#line 1930 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1892 "/home/jens/Source/shotwell/src/Page.vala"
object = (DataObject*) _tmp13_;
-#line 1931 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1893 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = object;
-#line 1931 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1893 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, TYPE_CHECKERBOARD_ITEM, CheckerboardItem));
-#line 1931 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1893 "/home/jens/Source/shotwell/src/Page.vala"
item = _tmp15_;
-#line 1933 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1895 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = item_start;
-#line 1933 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1895 "/home/jens/Source/shotwell/src/Page.vala"
_tmp17_ = item;
-#line 1933 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1895 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp16_ == _tmp17_) {
-#line 1934 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1896 "/home/jens/Source/shotwell/src/Page.vala"
passed_start = TRUE;
-#line 12467 "Page.c"
+#line 12149 "Page.c"
}
-#line 1936 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1898 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = item_end;
-#line 1936 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1898 "/home/jens/Source/shotwell/src/Page.vala"
_tmp19_ = item;
-#line 1936 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1898 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp18_ == _tmp19_) {
-#line 1937 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1899 "/home/jens/Source/shotwell/src/Page.vala"
passed_end = TRUE;
-#line 12477 "Page.c"
+#line 12159 "Page.c"
}
-#line 1939 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1901 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = passed_start;
-#line 1939 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1901 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp21_) {
-#line 1939 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1901 "/home/jens/Source/shotwell/src/Page.vala"
_tmp20_ = TRUE;
-#line 12485 "Page.c"
+#line 12167 "Page.c"
} else {
gboolean _tmp22_ = FALSE;
-#line 1939 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1901 "/home/jens/Source/shotwell/src/Page.vala"
_tmp22_ = passed_end;
-#line 1939 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1901 "/home/jens/Source/shotwell/src/Page.vala"
_tmp20_ = _tmp22_;
-#line 12492 "Page.c"
+#line 12174 "Page.c"
}
-#line 1939 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1901 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp20_) {
-#line 12496 "Page.c"
+#line 12178 "Page.c"
Marker* _tmp23_ = NULL;
DataObject* _tmp24_ = NULL;
-#line 1940 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1902 "/home/jens/Source/shotwell/src/Page.vala"
_tmp23_ = marker;
-#line 1940 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1902 "/home/jens/Source/shotwell/src/Page.vala"
_tmp24_ = object;
-#line 1940 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1902 "/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 12505 "Page.c"
+#line 12187 "Page.c"
}
-#line 1942 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1904 "/home/jens/Source/shotwell/src/Page.vala"
_tmp26_ = passed_start;
-#line 1942 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1904 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp26_) {
-#line 12511 "Page.c"
+#line 12193 "Page.c"
gboolean _tmp27_ = FALSE;
-#line 1942 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1904 "/home/jens/Source/shotwell/src/Page.vala"
_tmp27_ = passed_end;
-#line 1942 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1904 "/home/jens/Source/shotwell/src/Page.vala"
_tmp25_ = _tmp27_;
-#line 12517 "Page.c"
+#line 12199 "Page.c"
} else {
-#line 1942 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1904 "/home/jens/Source/shotwell/src/Page.vala"
_tmp25_ = FALSE;
-#line 12521 "Page.c"
+#line 12203 "Page.c"
}
-#line 1942 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1904 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp25_) {
-#line 1943 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1905 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (item);
-#line 1943 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1905 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (object);
-#line 1943 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1905 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 12531 "Page.c"
+#line 12213 "Page.c"
}
-#line 1930 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1892 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (item);
-#line 1930 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1892 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (object);
-#line 12537 "Page.c"
+#line 12219 "Page.c"
}
-#line 1930 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1892 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_object_it);
-#line 12541 "Page.c"
+#line 12223 "Page.c"
}
-#line 1946 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1908 "/home/jens/Source/shotwell/src/Page.vala"
_tmp28_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1946 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1908 "/home/jens/Source/shotwell/src/Page.vala"
_tmp29_ = _tmp28_;
-#line 1946 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1908 "/home/jens/Source/shotwell/src/Page.vala"
_tmp30_ = marker;
-#line 1946 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1908 "/home/jens/Source/shotwell/src/Page.vala"
view_collection_select_marked (_tmp29_, _tmp30_);
-#line 1946 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1908 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp29_);
-#line 1924 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1886 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (marker);
-#line 12555 "Page.c"
+#line 12237 "Page.c"
}
@@ -12559,65 +12241,65 @@ void checkerboard_page_select_anchor_to_cursor (CheckerboardPage* self, guint st
gboolean _tmp0_ = FALSE;
CheckerboardItem* _tmp1_ = NULL;
guint _tmp3_ = 0U;
-#line 1949 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1911 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_CHECKERBOARD_PAGE (self));
-#line 1950 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1912 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = self->cursor;
-#line 1950 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1912 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp1_ == NULL) {
-#line 1950 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1912 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = TRUE;
-#line 12571 "Page.c"
+#line 12253 "Page.c"
} else {
CheckerboardItem* _tmp2_ = NULL;
-#line 1950 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1912 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->anchor;
-#line 1950 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1912 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = _tmp2_ == NULL;
-#line 12578 "Page.c"
+#line 12260 "Page.c"
}
-#line 1950 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1912 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp0_) {
-#line 1951 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1913 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 12584 "Page.c"
+#line 12266 "Page.c"
}
-#line 1953 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1915 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = state;
-#line 1953 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1915 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp3_ == ((guint) GDK_SHIFT_MASK)) {
-#line 12590 "Page.c"
+#line 12272 "Page.c"
ViewCollection* _tmp4_ = NULL;
ViewCollection* _tmp5_ = NULL;
CheckerboardItem* _tmp6_ = NULL;
CheckerboardItem* _tmp7_ = NULL;
-#line 1954 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1916 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1954 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1916 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = _tmp4_;
-#line 1954 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1916 "/home/jens/Source/shotwell/src/Page.vala"
view_collection_unselect_all (_tmp5_);
-#line 1954 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1916 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp5_);
-#line 1955 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1917 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = self->anchor;
-#line 1955 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1917 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = self->cursor;
-#line 1955 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1917 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_select_between_items (self, _tmp6_, _tmp7_);
-#line 12609 "Page.c"
+#line 12291 "Page.c"
} else {
CheckerboardItem* _tmp8_ = NULL;
CheckerboardItem* _tmp9_ = NULL;
-#line 1957 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1919 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = self->cursor;
-#line 1957 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1919 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = _g_object_ref0 (_tmp8_);
-#line 1957 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1919 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->anchor);
-#line 1957 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1919 "/home/jens/Source/shotwell/src/Page.vala"
self->anchor = _tmp9_;
-#line 12621 "Page.c"
+#line 12303 "Page.c"
}
}
@@ -12631,48 +12313,48 @@ static void checkerboard_page_real_set_display_titles (CheckerboardPage* self, g
GValue _tmp5_ = {0};
ViewCollection* _tmp6_ = NULL;
ViewCollection* _tmp7_ = NULL;
-#line 1962 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1924 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1962 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1924 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _tmp0_;
-#line 1962 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1924 "/home/jens/Source/shotwell/src/Page.vala"
data_collection_freeze_notifications (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_DATA_COLLECTION, DataCollection));
-#line 1962 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1924 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp1_);
-#line 1963 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1925 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1963 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1925 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = _tmp2_;
-#line 1963 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1925 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = display;
-#line 1963 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1925 "/home/jens/Source/shotwell/src/Page.vala"
g_value_init (&_tmp5_, G_TYPE_BOOLEAN);
-#line 1963 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1925 "/home/jens/Source/shotwell/src/Page.vala"
g_value_set_boolean (&_tmp5_, _tmp4_);
-#line 1963 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1925 "/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 1963 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1925 "/home/jens/Source/shotwell/src/Page.vala"
G_IS_VALUE (&_tmp5_) ? (g_value_unset (&_tmp5_), NULL) : NULL;
-#line 1963 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1925 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp3_);
-#line 1964 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1926 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1964 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1926 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = _tmp6_;
-#line 1964 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1926 "/home/jens/Source/shotwell/src/Page.vala"
data_collection_thaw_notifications (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, TYPE_DATA_COLLECTION, DataCollection));
-#line 1964 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1926 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp7_);
-#line 12667 "Page.c"
+#line 12349 "Page.c"
}
void checkerboard_page_set_display_titles (CheckerboardPage* self, gboolean display) {
-#line 1961 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1923 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_CHECKERBOARD_PAGE (self));
-#line 1961 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1923 "/home/jens/Source/shotwell/src/Page.vala"
CHECKERBOARD_PAGE_GET_CLASS (self)->set_display_titles (self, display);
-#line 12676 "Page.c"
+#line 12358 "Page.c"
}
@@ -12685,48 +12367,48 @@ static void checkerboard_page_real_set_display_comments (CheckerboardPage* self,
GValue _tmp5_ = {0};
ViewCollection* _tmp6_ = NULL;
ViewCollection* _tmp7_ = NULL;
-#line 1968 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1930 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1968 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1930 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _tmp0_;
-#line 1968 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1930 "/home/jens/Source/shotwell/src/Page.vala"
data_collection_freeze_notifications (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_DATA_COLLECTION, DataCollection));
-#line 1968 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1930 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp1_);
-#line 1969 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1931 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1969 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1931 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = _tmp2_;
-#line 1969 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1931 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = display;
-#line 1969 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1931 "/home/jens/Source/shotwell/src/Page.vala"
g_value_init (&_tmp5_, G_TYPE_BOOLEAN);
-#line 1969 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1931 "/home/jens/Source/shotwell/src/Page.vala"
g_value_set_boolean (&_tmp5_, _tmp4_);
-#line 1969 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1931 "/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 1969 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1931 "/home/jens/Source/shotwell/src/Page.vala"
G_IS_VALUE (&_tmp5_) ? (g_value_unset (&_tmp5_), NULL) : NULL;
-#line 1969 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1931 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp3_);
-#line 1970 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1932 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 1970 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1932 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = _tmp6_;
-#line 1970 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1932 "/home/jens/Source/shotwell/src/Page.vala"
data_collection_thaw_notifications (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, TYPE_DATA_COLLECTION, DataCollection));
-#line 1970 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1932 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp7_);
-#line 12721 "Page.c"
+#line 12403 "Page.c"
}
void checkerboard_page_set_display_comments (CheckerboardPage* self, gboolean display) {
-#line 1967 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1929 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_CHECKERBOARD_PAGE (self));
-#line 1967 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1929 "/home/jens/Source/shotwell/src/Page.vala"
CHECKERBOARD_PAGE_GET_CLASS (self)->set_display_comments (self, display);
-#line 12730 "Page.c"
+#line 12412 "Page.c"
}
@@ -12739,54 +12421,54 @@ void checkerboard_page_keyboard_modifiers_init (CheckerboardPageKeyboardModifier
gboolean _tmp5_ = FALSE;
Page* _tmp6_ = NULL;
gboolean _tmp7_ = FALSE;
-#line 1250 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1212 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_PAGE (page));
-#line 1250 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1212 "/home/jens/Source/shotwell/src/Page.vala"
memset (self, 0, sizeof (CheckerboardPageKeyboardModifiers));
-#line 1251 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1213 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = page;
-#line 1251 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1213 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = page_get_ctrl_pressed (_tmp0_);
-#line 1251 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1213 "/home/jens/Source/shotwell/src/Page.vala"
(*self).ctrl_pressed = _tmp1_;
-#line 1252 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1214 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = page;
-#line 1252 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1214 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = page_get_alt_pressed (_tmp2_);
-#line 1252 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1214 "/home/jens/Source/shotwell/src/Page.vala"
(*self).alt_pressed = _tmp3_;
-#line 1253 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1215 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = page;
-#line 1253 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1215 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = page_get_shift_pressed (_tmp4_);
-#line 1253 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1215 "/home/jens/Source/shotwell/src/Page.vala"
(*self).shift_pressed = _tmp5_;
-#line 1254 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1216 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = page;
-#line 1254 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1216 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = page_get_super_pressed (_tmp6_);
-#line 1254 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1216 "/home/jens/Source/shotwell/src/Page.vala"
(*self).super_pressed = _tmp7_;
-#line 12771 "Page.c"
+#line 12453 "Page.c"
}
CheckerboardPageKeyboardModifiers* checkerboard_page_keyboard_modifiers_dup (const CheckerboardPageKeyboardModifiers* self) {
CheckerboardPageKeyboardModifiers* dup;
-#line 1249 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1211 "/home/jens/Source/shotwell/src/Page.vala"
dup = g_new0 (CheckerboardPageKeyboardModifiers, 1);
-#line 1249 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1211 "/home/jens/Source/shotwell/src/Page.vala"
memcpy (dup, self, sizeof (CheckerboardPageKeyboardModifiers));
-#line 1249 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1211 "/home/jens/Source/shotwell/src/Page.vala"
return dup;
-#line 12783 "Page.c"
+#line 12465 "Page.c"
}
void checkerboard_page_keyboard_modifiers_free (CheckerboardPageKeyboardModifiers* self) {
-#line 1249 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1211 "/home/jens/Source/shotwell/src/Page.vala"
g_free (self);
-#line 12790 "Page.c"
+#line 12472 "Page.c"
}
@@ -12802,113 +12484,113 @@ GType checkerboard_page_keyboard_modifiers_get_type (void) {
static void checkerboard_page_class_init (CheckerboardPageClass * klass) {
-#line 1229 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1191 "/home/jens/Source/shotwell/src/Page.vala"
checkerboard_page_parent_class = g_type_class_peek_parent (klass);
-#line 1229 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1191 "/home/jens/Source/shotwell/src/Page.vala"
g_type_class_add_private (klass, sizeof (CheckerboardPagePrivate));
-#line 1229 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1191 "/home/jens/Source/shotwell/src/Page.vala"
((CheckerboardPageClass *) klass)->get_item_context_menu = checkerboard_page_real_get_item_context_menu;
-#line 1229 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1191 "/home/jens/Source/shotwell/src/Page.vala"
((PageClass *) klass)->get_page_context_menu = checkerboard_page_real_get_page_context_menu;
-#line 1229 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1191 "/home/jens/Source/shotwell/src/Page.vala"
((PageClass *) klass)->on_context_keypress = checkerboard_page_real_on_context_keypress;
-#line 1229 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1191 "/home/jens/Source/shotwell/src/Page.vala"
((CheckerboardPageClass *) klass)->get_view_empty_message = checkerboard_page_real_get_view_empty_message;
-#line 1229 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1191 "/home/jens/Source/shotwell/src/Page.vala"
((CheckerboardPageClass *) klass)->get_filter_no_match_message = checkerboard_page_real_get_filter_no_match_message;
-#line 1229 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1191 "/home/jens/Source/shotwell/src/Page.vala"
((CheckerboardPageClass *) klass)->on_item_activated = checkerboard_page_real_on_item_activated;
-#line 1229 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1191 "/home/jens/Source/shotwell/src/Page.vala"
((CheckerboardPageClass *) klass)->get_search_view_filter = checkerboard_page_real_get_search_view_filter;
-#line 1229 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1191 "/home/jens/Source/shotwell/src/Page.vala"
((CheckerboardPageClass *) klass)->get_view_tracker = checkerboard_page_real_get_view_tracker;
-#line 1229 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1191 "/home/jens/Source/shotwell/src/Page.vala"
((PageClass *) klass)->switching_from = checkerboard_page_real_switching_from;
-#line 1229 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1191 "/home/jens/Source/shotwell/src/Page.vala"
((PageClass *) klass)->switched_to = checkerboard_page_real_switched_to;
-#line 1229 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1191 "/home/jens/Source/shotwell/src/Page.vala"
((PageClass *) klass)->set_page_name = checkerboard_page_real_set_page_name;
-#line 1229 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1191 "/home/jens/Source/shotwell/src/Page.vala"
((GtkWidgetClass *) klass)->key_press_event = checkerboard_page_real_key_press_event;
-#line 1229 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1191 "/home/jens/Source/shotwell/src/Page.vala"
((PageClass *) klass)->on_left_click = checkerboard_page_real_on_left_click;
-#line 1229 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1191 "/home/jens/Source/shotwell/src/Page.vala"
((PageClass *) klass)->on_left_released = checkerboard_page_real_on_left_released;
-#line 1229 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1191 "/home/jens/Source/shotwell/src/Page.vala"
((PageClass *) klass)->on_right_click = checkerboard_page_real_on_right_click;
-#line 1229 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1191 "/home/jens/Source/shotwell/src/Page.vala"
((CheckerboardPageClass *) klass)->on_mouse_over = checkerboard_page_real_on_mouse_over;
-#line 1229 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1191 "/home/jens/Source/shotwell/src/Page.vala"
((PageClass *) klass)->on_motion = checkerboard_page_real_on_motion;
-#line 1229 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1191 "/home/jens/Source/shotwell/src/Page.vala"
((CheckerboardPageClass *) klass)->set_display_titles = checkerboard_page_real_set_display_titles;
-#line 1229 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1191 "/home/jens/Source/shotwell/src/Page.vala"
((CheckerboardPageClass *) klass)->set_display_comments = checkerboard_page_real_set_display_comments;
-#line 1229 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1191 "/home/jens/Source/shotwell/src/Page.vala"
G_OBJECT_CLASS (klass)->finalize = checkerboard_page_finalize;
-#line 12850 "Page.c"
+#line 12532 "Page.c"
}
static void checkerboard_page_instance_init (CheckerboardPage * self) {
GtkViewport* _tmp0_ = NULL;
-#line 1229 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1191 "/home/jens/Source/shotwell/src/Page.vala"
self->priv = CHECKERBOARD_PAGE_GET_PRIVATE (self);
-#line 1234 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1196 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->item_context_menu_path = NULL;
-#line 1235 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1197 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->page_context_menu_path = NULL;
-#line 1236 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1198 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = (GtkViewport*) gtk_viewport_new (NULL, NULL);
-#line 1236 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1198 "/home/jens/Source/shotwell/src/Page.vala"
g_object_ref_sink (_tmp0_);
-#line 1236 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1198 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->viewport = _tmp0_;
-#line 1237 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1199 "/home/jens/Source/shotwell/src/Page.vala"
self->anchor = NULL;
-#line 1238 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1200 "/home/jens/Source/shotwell/src/Page.vala"
self->cursor = NULL;
-#line 1239 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1201 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->highlighted = NULL;
-#line 1240 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1202 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->autoscroll_scheduled = FALSE;
-#line 1241 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1203 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->activated_item = NULL;
-#line 1242 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1204 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->previously_selected = NULL;
-#line 12880 "Page.c"
+#line 12562 "Page.c"
}
static void checkerboard_page_finalize (GObject* obj) {
CheckerboardPage * self;
-#line 1229 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1191 "/home/jens/Source/shotwell/src/Page.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_CHECKERBOARD_PAGE, CheckerboardPage);
-#line 1233 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1195 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->layout);
-#line 1234 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1196 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (self->priv->item_context_menu_path);
-#line 1235 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1197 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (self->priv->page_context_menu_path);
-#line 1236 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1198 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->viewport);
-#line 1237 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1199 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->anchor);
-#line 1238 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1200 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->cursor);
-#line 1239 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1201 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->highlighted);
-#line 1241 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1203 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->activated_item);
-#line 1242 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1204 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->previously_selected);
-#line 1309 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1271 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->item_context_menu);
-#line 1321 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1283 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->page_context_menu);
-#line 1229 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1191 "/home/jens/Source/shotwell/src/Page.vala"
G_OBJECT_CLASS (checkerboard_page_parent_class)->finalize (obj);
-#line 12912 "Page.c"
+#line 12594 "Page.c"
}
@@ -12937,18 +12619,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 2029 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1991 "/home/jens/Source/shotwell/src/Page.vala"
single_photo_page_on_viewport_resize ((SinglePhotoPage*) self);
-#line 12943 "Page.c"
+#line 12625 "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 2030 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1992 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 12952 "Page.c"
+#line 12634 "Page.c"
}
@@ -12968,71 +12650,71 @@ SinglePhotoPage* single_photo_page_construct (GType object_type, const gchar* pa
GtkViewport* _tmp11_ = NULL;
GtkDrawingArea* _tmp12_ = NULL;
GtkDrawingArea* _tmp13_ = NULL;
-#line 2006 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1968 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (page_name != NULL, NULL);
-#line 2007 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1969 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = page_name;
-#line 2007 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1969 "/home/jens/Source/shotwell/src/Page.vala"
self = (SinglePhotoPage*) page_construct (object_type, _tmp0_);
-#line 2009 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1971 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = scale_up_to_viewport;
-#line 2009 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1971 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->scale_up_to_viewport = _tmp1_;
-#line 2011 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1973 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = transition_effects_manager_get_instance ();
-#line 2011 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1973 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = _tmp2_;
-#line 2011 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1973 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = transition_effects_manager_create_null_transition_clock (_tmp3_);
-#line 2011 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1973 "/home/jens/Source/shotwell/src/Page.vala"
_transition_clock_unref0 (self->priv->transition_clock);
-#line 2011 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1973 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->transition_clock = _tmp4_;
-#line 2011 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1973 "/home/jens/Source/shotwell/src/Page.vala"
_transition_effects_manager_unref0 (_tmp3_);
-#line 2015 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1977 "/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 2017 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1979 "/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 2018 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1980 "/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 2020 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1982 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = self->viewport;
-#line 2020 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1982 "/home/jens/Source/shotwell/src/Page.vala"
gtk_viewport_set_shadow_type (_tmp5_, GTK_SHADOW_NONE);
-#line 2021 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1983 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = self->viewport;
-#line 2021 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1983 "/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 2022 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1984 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = self->viewport;
-#line 2022 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1984 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = self->canvas;
-#line 2022 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1984 "/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 2024 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1986 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = self->viewport;
-#line 2024 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1986 "/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 2026 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1988 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = self->canvas;
-#line 2026 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1988 "/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 2029 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1991 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = self->viewport;
-#line 2029 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1991 "/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 2030 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1992 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = self->canvas;
-#line 2030 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1992 "/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 2032 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1994 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = self->canvas;
-#line 2032 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1994 "/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 2006 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1968 "/home/jens/Source/shotwell/src/Page.vala"
return self;
-#line 13036 "Page.c"
+#line 12718 "Page.c"
}
@@ -13040,38 +12722,38 @@ gboolean single_photo_page_is_transition_in_progress (SinglePhotoPage* self) {
gboolean result = FALSE;
TransitionClock* _tmp0_ = NULL;
gboolean _tmp1_ = FALSE;
-#line 2035 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1997 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_SINGLE_PHOTO_PAGE (self), FALSE);
-#line 2036 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1998 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->transition_clock;
-#line 2036 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1998 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = transition_clock_is_in_progress (_tmp0_);
-#line 2036 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1998 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp1_;
-#line 2036 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1998 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 13054 "Page.c"
+#line 12736 "Page.c"
}
void single_photo_page_cancel_transition (SinglePhotoPage* self) {
TransitionClock* _tmp0_ = NULL;
gboolean _tmp1_ = FALSE;
-#line 2039 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2001 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
-#line 2040 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2002 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->transition_clock;
-#line 2040 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2002 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = transition_clock_is_in_progress (_tmp0_);
-#line 2040 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2002 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp1_) {
-#line 13069 "Page.c"
+#line 12751 "Page.c"
TransitionClock* _tmp2_ = NULL;
-#line 2041 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2003 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->priv->transition_clock;
-#line 2041 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2003 "/home/jens/Source/shotwell/src/Page.vala"
transition_clock_cancel (_tmp2_);
-#line 13075 "Page.c"
+#line 12757 "Page.c"
}
}
@@ -13083,53 +12765,53 @@ void single_photo_page_set_transition (SinglePhotoPage* self, const gchar* effec
TransitionClock* _tmp3_ = NULL;
TransitionClock* _tmp4_ = NULL;
gint _tmp8_ = 0;
-#line 2044 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2006 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
-#line 2044 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2006 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (effect_id != NULL);
-#line 2045 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2007 "/home/jens/Source/shotwell/src/Page.vala"
single_photo_page_cancel_transition (self);
-#line 2047 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2009 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = transition_effects_manager_get_instance ();
-#line 2047 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2009 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _tmp0_;
-#line 2047 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2009 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = effect_id;
-#line 2047 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2009 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = transition_effects_manager_create_transition_clock (_tmp1_, _tmp2_);
-#line 2047 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2009 "/home/jens/Source/shotwell/src/Page.vala"
_transition_clock_unref0 (self->priv->transition_clock);
-#line 2047 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2009 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->transition_clock = _tmp3_;
-#line 2047 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2009 "/home/jens/Source/shotwell/src/Page.vala"
_transition_effects_manager_unref0 (_tmp1_);
-#line 2048 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2010 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = self->priv->transition_clock;
-#line 2048 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2010 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp4_ == NULL) {
-#line 13111 "Page.c"
+#line 12793 "Page.c"
TransitionEffectsManager* _tmp5_ = NULL;
TransitionEffectsManager* _tmp6_ = NULL;
TransitionClock* _tmp7_ = NULL;
-#line 2049 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2011 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = transition_effects_manager_get_instance ();
-#line 2049 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2011 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = _tmp5_;
-#line 2049 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2011 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = transition_effects_manager_create_null_transition_clock (_tmp6_);
-#line 2049 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2011 "/home/jens/Source/shotwell/src/Page.vala"
_transition_clock_unref0 (self->priv->transition_clock);
-#line 2049 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2011 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->transition_clock = _tmp7_;
-#line 2049 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2011 "/home/jens/Source/shotwell/src/Page.vala"
_transition_effects_manager_unref0 (_tmp6_);
-#line 13127 "Page.c"
+#line 12809 "Page.c"
}
-#line 2051 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2013 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = duration_msec;
-#line 2051 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2013 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->transition_duration_msec = _tmp8_;
-#line 13133 "Page.c"
+#line 12815 "Page.c"
}
@@ -13161,86 +12843,86 @@ static void single_photo_page_render_zoomed_to_pixmap (SinglePhotoPage* self, Zo
gint _tmp49_ = 0;
gint _tmp50_ = 0;
cairo_t* _tmp51_ = NULL;
-#line 2055 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2017 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
-#line 2055 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2017 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (zoom_state != NULL);
-#line 2056 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2018 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = single_photo_page_is_zoom_supported (self);
-#line 2056 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2018 "/home/jens/Source/shotwell/src/Page.vala"
_vala_assert (_tmp0_, "is_zoom_supported()");
-#line 2058 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2020 "/home/jens/Source/shotwell/src/Page.vala"
zoom_state_get_viewing_rectangle_wrt_content (zoom_state, &_tmp1_);
-#line 2058 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2020 "/home/jens/Source/shotwell/src/Page.vala"
view_rect = _tmp1_;
-#line 2061 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2023 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = single_photo_page_get_zoom_buffer (self);
-#line 2061 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2023 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = _tmp2_;
-#line 2061 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2023 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = _tmp3_ != NULL;
-#line 2061 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2023 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp3_);
-#line 2061 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2023 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp4_) {
-#line 13187 "Page.c"
+#line 12869 "Page.c"
GdkPixbuf* _tmp5_ = NULL;
gboolean _tmp6_ = FALSE;
GdkPixbuf* _tmp15_ = NULL;
-#line 2062 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2024 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = self->priv->zoom_high_quality;
-#line 2062 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2024 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp6_) {
-#line 13195 "Page.c"
+#line 12877 "Page.c"
ZoomBuffer* _tmp7_ = NULL;
ZoomBuffer* _tmp8_ = NULL;
ZoomState _tmp9_ = {0};
GdkPixbuf* _tmp10_ = NULL;
-#line 2062 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2024 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = single_photo_page_get_zoom_buffer (self);
-#line 2062 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2024 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = _tmp7_;
-#line 2062 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2024 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = *zoom_state;
-#line 2062 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2024 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = zoom_buffer_get_zoomed_image (_tmp8_, &_tmp9_);
-#line 2062 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2024 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp5_);
-#line 2062 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2024 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = _tmp10_;
-#line 2062 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2024 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp8_);
-#line 13214 "Page.c"
+#line 12896 "Page.c"
} else {
ZoomBuffer* _tmp11_ = NULL;
ZoomBuffer* _tmp12_ = NULL;
ZoomState _tmp13_ = {0};
GdkPixbuf* _tmp14_ = NULL;
-#line 2063 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2025 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = single_photo_page_get_zoom_buffer (self);
-#line 2063 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2025 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = _tmp11_;
-#line 2063 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2025 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = *zoom_state;
-#line 2063 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2025 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = zoom_buffer_get_zoom_preview_image (_tmp12_, &_tmp13_);
-#line 2063 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2025 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp5_);
-#line 2063 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2025 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = _tmp14_;
-#line 2063 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2025 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp12_);
-#line 13234 "Page.c"
+#line 12916 "Page.c"
}
-#line 2062 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2024 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = _g_object_ref0 (_tmp5_);
-#line 2062 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2024 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (zoomed);
-#line 2062 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2024 "/home/jens/Source/shotwell/src/Page.vala"
zoomed = _tmp15_;
-#line 2061 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2023 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp5_);
-#line 13244 "Page.c"
+#line 12926 "Page.c"
} else {
GdkRectangle view_rect_proj = {0};
GdkPixbuf* _tmp16_ = NULL;
@@ -13262,113 +12944,113 @@ static void single_photo_page_render_zoomed_to_pixmap (SinglePhotoPage* self, Zo
GdkRectangle _tmp31_ = {0};
gint _tmp32_ = 0;
GdkPixbuf* _tmp33_ = NULL;
-#line 2065 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2027 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = self->priv->unscaled;
-#line 2065 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2027 "/home/jens/Source/shotwell/src/Page.vala"
zoom_state_get_viewing_rectangle_projection (zoom_state, _tmp16_, &_tmp17_);
-#line 2065 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2027 "/home/jens/Source/shotwell/src/Page.vala"
view_rect_proj = _tmp17_;
-#line 2067 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2029 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = self->priv->unscaled;
-#line 2067 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2029 "/home/jens/Source/shotwell/src/Page.vala"
_tmp19_ = view_rect_proj;
-#line 2067 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2029 "/home/jens/Source/shotwell/src/Page.vala"
_tmp20_ = _tmp19_.x;
-#line 2067 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2029 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = view_rect_proj;
-#line 2067 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2029 "/home/jens/Source/shotwell/src/Page.vala"
_tmp22_ = _tmp21_.y;
-#line 2067 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2029 "/home/jens/Source/shotwell/src/Page.vala"
_tmp23_ = view_rect_proj;
-#line 2067 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2029 "/home/jens/Source/shotwell/src/Page.vala"
_tmp24_ = _tmp23_.width;
-#line 2067 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2029 "/home/jens/Source/shotwell/src/Page.vala"
_tmp25_ = view_rect_proj;
-#line 2067 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2029 "/home/jens/Source/shotwell/src/Page.vala"
_tmp26_ = _tmp25_.height;
-#line 2067 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2029 "/home/jens/Source/shotwell/src/Page.vala"
_tmp27_ = gdk_pixbuf_new_subpixbuf (_tmp18_, _tmp20_, _tmp22_, _tmp24_, _tmp26_);
-#line 2067 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2029 "/home/jens/Source/shotwell/src/Page.vala"
proj_subpixbuf = _tmp27_;
-#line 2070 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2032 "/home/jens/Source/shotwell/src/Page.vala"
_tmp28_ = proj_subpixbuf;
-#line 2070 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2032 "/home/jens/Source/shotwell/src/Page.vala"
_tmp29_ = view_rect;
-#line 2070 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2032 "/home/jens/Source/shotwell/src/Page.vala"
_tmp30_ = _tmp29_.width;
-#line 2070 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2032 "/home/jens/Source/shotwell/src/Page.vala"
_tmp31_ = view_rect;
-#line 2070 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2032 "/home/jens/Source/shotwell/src/Page.vala"
_tmp32_ = _tmp31_.height;
-#line 2070 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2032 "/home/jens/Source/shotwell/src/Page.vala"
_tmp33_ = gdk_pixbuf_scale_simple (_tmp28_, _tmp30_, _tmp32_, GDK_INTERP_BILINEAR);
-#line 2070 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2032 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (zoomed);
-#line 2070 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2032 "/home/jens/Source/shotwell/src/Page.vala"
zoomed = _tmp33_;
-#line 2061 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2023 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (proj_subpixbuf);
-#line 13312 "Page.c"
+#line 12994 "Page.c"
}
-#line 2074 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2036 "/home/jens/Source/shotwell/src/Page.vala"
_tmp34_ = zoomed;
-#line 2074 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2036 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp34_ == NULL) {
-#line 2075 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2037 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (zoomed);
-#line 2075 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2037 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 13322 "Page.c"
+#line 13004 "Page.c"
}
-#line 2078 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2040 "/home/jens/Source/shotwell/src/Page.vala"
_tmp35_ = self->priv->pixmap_dim;
-#line 2078 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2040 "/home/jens/Source/shotwell/src/Page.vala"
_tmp36_ = _tmp35_.width;
-#line 2078 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2040 "/home/jens/Source/shotwell/src/Page.vala"
_tmp37_ = view_rect;
-#line 2078 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2040 "/home/jens/Source/shotwell/src/Page.vala"
_tmp38_ = _tmp37_.width;
-#line 2078 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2040 "/home/jens/Source/shotwell/src/Page.vala"
draw_x = (_tmp36_ - _tmp38_) / 2;
-#line 2079 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2041 "/home/jens/Source/shotwell/src/Page.vala"
_tmp39_ = draw_x;
-#line 2079 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2041 "/home/jens/Source/shotwell/src/Page.vala"
_tmp40_ = CLAMP (_tmp39_, 0, G_MAXINT);
-#line 2079 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2041 "/home/jens/Source/shotwell/src/Page.vala"
draw_x = _tmp40_;
-#line 2081 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2043 "/home/jens/Source/shotwell/src/Page.vala"
_tmp41_ = self->priv->pixmap_dim;
-#line 2081 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2043 "/home/jens/Source/shotwell/src/Page.vala"
_tmp42_ = _tmp41_.height;
-#line 2081 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2043 "/home/jens/Source/shotwell/src/Page.vala"
_tmp43_ = view_rect;
-#line 2081 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2043 "/home/jens/Source/shotwell/src/Page.vala"
_tmp44_ = _tmp43_.height;
-#line 2081 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2043 "/home/jens/Source/shotwell/src/Page.vala"
draw_y = (_tmp42_ - _tmp44_) / 2;
-#line 2082 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2044 "/home/jens/Source/shotwell/src/Page.vala"
_tmp45_ = draw_y;
-#line 2082 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2044 "/home/jens/Source/shotwell/src/Page.vala"
_tmp46_ = CLAMP (_tmp45_, 0, G_MAXINT);
-#line 2082 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2044 "/home/jens/Source/shotwell/src/Page.vala"
draw_y = _tmp46_;
-#line 2084 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2046 "/home/jens/Source/shotwell/src/Page.vala"
_tmp47_ = self->priv->pixmap_ctx;
-#line 2084 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2046 "/home/jens/Source/shotwell/src/Page.vala"
_tmp48_ = zoomed;
-#line 2084 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2046 "/home/jens/Source/shotwell/src/Page.vala"
_tmp49_ = draw_x;
-#line 2084 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2046 "/home/jens/Source/shotwell/src/Page.vala"
_tmp50_ = draw_y;
-#line 2084 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2046 "/home/jens/Source/shotwell/src/Page.vala"
gdk_cairo_set_source_pixbuf (_tmp47_, _tmp48_, (gdouble) _tmp49_, (gdouble) _tmp50_);
-#line 2085 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2047 "/home/jens/Source/shotwell/src/Page.vala"
_tmp51_ = self->priv->pixmap_ctx;
-#line 2085 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2047 "/home/jens/Source/shotwell/src/Page.vala"
cairo_paint (_tmp51_);
-#line 2055 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2017 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (zoomed);
-#line 13372 "Page.c"
+#line 13054 "Page.c"
}
@@ -13380,39 +13062,39 @@ void single_photo_page_on_interactive_zoom (SinglePhotoPage* self, ZoomState* in
gboolean _tmp3_ = FALSE;
ZoomState _tmp4_ = {0};
GtkDrawingArea* _tmp5_ = NULL;
-#line 2088 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2050 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
-#line 2088 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2050 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (interactive_zoom_state != NULL);
-#line 2089 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2051 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = single_photo_page_is_zoom_supported (self);
-#line 2089 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2051 "/home/jens/Source/shotwell/src/Page.vala"
_vala_assert (_tmp0_, "is_zoom_supported()");
-#line 2091 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2053 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = self->priv->pixmap_ctx;
-#line 2091 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2053 "/home/jens/Source/shotwell/src/Page.vala"
set_source_color_from_string (_tmp1_, "#000");
-#line 2092 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2054 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->priv->pixmap_ctx;
-#line 2092 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2054 "/home/jens/Source/shotwell/src/Page.vala"
cairo_paint (_tmp2_);
-#line 2094 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2056 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = self->priv->zoom_high_quality;
-#line 2094 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2056 "/home/jens/Source/shotwell/src/Page.vala"
old_quality_setting = _tmp3_;
-#line 2095 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2057 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->zoom_high_quality = FALSE;
-#line 2096 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2058 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = *interactive_zoom_state;
-#line 2096 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2058 "/home/jens/Source/shotwell/src/Page.vala"
single_photo_page_render_zoomed_to_pixmap (self, &_tmp4_);
-#line 2097 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2059 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->zoom_high_quality = old_quality_setting;
-#line 2099 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2061 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = self->canvas;
-#line 2099 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2061 "/home/jens/Source/shotwell/src/Page.vala"
gtk_widget_queue_draw (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_widget_get_type (), GtkWidget));
-#line 13416 "Page.c"
+#line 13098 "Page.c"
}
@@ -13424,230 +13106,230 @@ void single_photo_page_on_interactive_pan (SinglePhotoPage* self, ZoomState* int
gboolean _tmp3_ = FALSE;
ZoomState _tmp4_ = {0};
GtkDrawingArea* _tmp5_ = NULL;
-#line 2102 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2064 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
-#line 2102 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2064 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (interactive_zoom_state != NULL);
-#line 2103 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2065 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = single_photo_page_is_zoom_supported (self);
-#line 2103 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2065 "/home/jens/Source/shotwell/src/Page.vala"
_vala_assert (_tmp0_, "is_zoom_supported()");
-#line 2105 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2067 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = self->priv->pixmap_ctx;
-#line 2105 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2067 "/home/jens/Source/shotwell/src/Page.vala"
set_source_color_from_string (_tmp1_, "#000");
-#line 2106 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2068 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->priv->pixmap_ctx;
-#line 2106 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2068 "/home/jens/Source/shotwell/src/Page.vala"
cairo_paint (_tmp2_);
-#line 2108 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2070 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = self->priv->zoom_high_quality;
-#line 2108 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2070 "/home/jens/Source/shotwell/src/Page.vala"
old_quality_setting = _tmp3_;
-#line 2109 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2071 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->zoom_high_quality = TRUE;
-#line 2110 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2072 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = *interactive_zoom_state;
-#line 2110 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2072 "/home/jens/Source/shotwell/src/Page.vala"
single_photo_page_render_zoomed_to_pixmap (self, &_tmp4_);
-#line 2111 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2073 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->zoom_high_quality = old_quality_setting;
-#line 2113 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2075 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = self->canvas;
-#line 2113 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2075 "/home/jens/Source/shotwell/src/Page.vala"
gtk_widget_queue_draw (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_widget_get_type (), GtkWidget));
-#line 13460 "Page.c"
+#line 13142 "Page.c"
}
static gboolean single_photo_page_real_is_zoom_supported (SinglePhotoPage* self) {
gboolean result = FALSE;
-#line 2117 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2079 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 2117 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2079 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 13470 "Page.c"
+#line 13152 "Page.c"
}
gboolean single_photo_page_is_zoom_supported (SinglePhotoPage* self) {
-#line 2116 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2078 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_SINGLE_PHOTO_PAGE (self), FALSE);
-#line 2116 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2078 "/home/jens/Source/shotwell/src/Page.vala"
return SINGLE_PHOTO_PAGE_GET_CLASS (self)->is_zoom_supported (self);
-#line 13479 "Page.c"
+#line 13161 "Page.c"
}
static void single_photo_page_real_cancel_zoom (SinglePhotoPage* self) {
cairo_surface_t* _tmp0_ = NULL;
-#line 2121 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2083 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->pixmap;
-#line 2121 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2083 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp0_ != NULL) {
-#line 13489 "Page.c"
+#line 13171 "Page.c"
cairo_t* _tmp1_ = NULL;
cairo_t* _tmp2_ = NULL;
-#line 2122 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2084 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = self->priv->pixmap_ctx;
-#line 2122 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2084 "/home/jens/Source/shotwell/src/Page.vala"
set_source_color_from_string (_tmp1_, "#000");
-#line 2123 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2085 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->priv->pixmap_ctx;
-#line 2123 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2085 "/home/jens/Source/shotwell/src/Page.vala"
cairo_paint (_tmp2_);
-#line 13500 "Page.c"
+#line 13182 "Page.c"
}
}
void single_photo_page_cancel_zoom (SinglePhotoPage* self) {
-#line 2120 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2082 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
-#line 2120 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2082 "/home/jens/Source/shotwell/src/Page.vala"
SINGLE_PHOTO_PAGE_GET_CLASS (self)->cancel_zoom (self);
-#line 13510 "Page.c"
+#line 13192 "Page.c"
}
static void single_photo_page_real_save_zoom_state (SinglePhotoPage* self) {
ZoomState _tmp0_ = {0};
-#line 2128 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2090 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->static_zoom_state;
-#line 2128 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2090 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->saved_zoom_state = _tmp0_;
-#line 2129 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2091 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->has_saved_zoom_state = TRUE;
-#line 13522 "Page.c"
+#line 13204 "Page.c"
}
void single_photo_page_save_zoom_state (SinglePhotoPage* self) {
-#line 2127 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2089 "/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"
+#line 2089 "/home/jens/Source/shotwell/src/Page.vala"
SINGLE_PHOTO_PAGE_GET_CLASS (self)->save_zoom_state (self);
-#line 13531 "Page.c"
+#line 13213 "Page.c"
}
static void single_photo_page_real_restore_zoom_state (SinglePhotoPage* self) {
gboolean _tmp0_ = FALSE;
ZoomState _tmp1_ = {0};
-#line 2133 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2095 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->has_saved_zoom_state;
-#line 2133 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2095 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp0_) {
-#line 2134 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2096 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 13544 "Page.c"
+#line 13226 "Page.c"
}
-#line 2136 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2098 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = self->priv->saved_zoom_state;
-#line 2136 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2098 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->static_zoom_state = _tmp1_;
-#line 2137 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2099 "/home/jens/Source/shotwell/src/Page.vala"
single_photo_page_repaint (self, NULL);
-#line 2138 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2100 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->has_saved_zoom_state = FALSE;
-#line 13554 "Page.c"
+#line 13236 "Page.c"
}
void single_photo_page_restore_zoom_state (SinglePhotoPage* self) {
-#line 2132 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2094 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
-#line 2132 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2094 "/home/jens/Source/shotwell/src/Page.vala"
SINGLE_PHOTO_PAGE_GET_CLASS (self)->restore_zoom_state (self);
-#line 13563 "Page.c"
+#line 13245 "Page.c"
}
static ZoomBuffer* single_photo_page_real_get_zoom_buffer (SinglePhotoPage* self) {
ZoomBuffer* result = NULL;
-#line 2142 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2104 "/home/jens/Source/shotwell/src/Page.vala"
result = NULL;
-#line 2142 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2104 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 13573 "Page.c"
+#line 13255 "Page.c"
}
ZoomBuffer* single_photo_page_get_zoom_buffer (SinglePhotoPage* self) {
-#line 2141 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2103 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_SINGLE_PHOTO_PAGE (self), NULL);
-#line 2141 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2103 "/home/jens/Source/shotwell/src/Page.vala"
return SINGLE_PHOTO_PAGE_GET_CLASS (self)->get_zoom_buffer (self);
-#line 13582 "Page.c"
+#line 13264 "Page.c"
}
void single_photo_page_get_saved_zoom_state (SinglePhotoPage* self, ZoomState* result) {
ZoomState _tmp0_ = {0};
-#line 2145 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2107 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
-#line 2146 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2108 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->saved_zoom_state;
-#line 2146 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2108 "/home/jens/Source/shotwell/src/Page.vala"
*result = _tmp0_;
-#line 2146 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2108 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 13596 "Page.c"
+#line 13278 "Page.c"
}
void single_photo_page_set_zoom_state (SinglePhotoPage* self, ZoomState* zoom_state) {
gboolean _tmp0_ = FALSE;
ZoomState _tmp1_ = {0};
-#line 2149 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2111 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
-#line 2149 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2111 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (zoom_state != NULL);
-#line 2150 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2112 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = single_photo_page_is_zoom_supported (self);
-#line 2150 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2112 "/home/jens/Source/shotwell/src/Page.vala"
_vala_assert (_tmp0_, "is_zoom_supported()");
-#line 2152 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2114 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = *zoom_state;
-#line 2152 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2114 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->static_zoom_state = _tmp1_;
-#line 13615 "Page.c"
+#line 13297 "Page.c"
}
void single_photo_page_get_zoom_state (SinglePhotoPage* self, ZoomState* result) {
gboolean _tmp0_ = FALSE;
ZoomState _tmp1_ = {0};
-#line 2155 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2117 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
-#line 2156 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2118 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = single_photo_page_is_zoom_supported (self);
-#line 2156 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2118 "/home/jens/Source/shotwell/src/Page.vala"
_vala_assert (_tmp0_, "is_zoom_supported()");
-#line 2158 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2120 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = self->priv->static_zoom_state;
-#line 2158 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2120 "/home/jens/Source/shotwell/src/Page.vala"
*result = _tmp1_;
-#line 2158 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2120 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 13634 "Page.c"
+#line 13316 "Page.c"
}
static void single_photo_page_real_switched_to (Page* base) {
SinglePhotoPage * self;
GdkPixbuf* _tmp0_ = NULL;
-#line 2161 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2123 "/home/jens/Source/shotwell/src/Page.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_SINGLE_PHOTO_PAGE, SinglePhotoPage);
-#line 2162 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2124 "/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 2164 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2126 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->unscaled;
-#line 2164 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2126 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp0_ != NULL) {
-#line 2165 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2127 "/home/jens/Source/shotwell/src/Page.vala"
single_photo_page_repaint (self, NULL);
-#line 13651 "Page.c"
+#line 13333 "Page.c"
}
}
@@ -13656,21 +13338,21 @@ static void single_photo_page_real_set_container (Page* base, GtkWindow* contain
SinglePhotoPage * self;
GtkWindow* _tmp0_ = NULL;
GtkWindow* _tmp1_ = NULL;
-#line 2168 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2130 "/home/jens/Source/shotwell/src/Page.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_SINGLE_PHOTO_PAGE, SinglePhotoPage);
-#line 2168 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2130 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (GTK_IS_WINDOW (container));
-#line 2169 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2131 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = container;
-#line 2169 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2131 "/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 2173 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2135 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = container;
-#line 2173 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2135 "/home/jens/Source/shotwell/src/Page.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, TYPE_FULLSCREEN_WINDOW)) {
-#line 2174 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2136 "/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 13674 "Page.c"
+#line 13356 "Page.c"
}
}
@@ -13687,92 +13369,92 @@ void single_photo_page_set_pixbuf (SinglePhotoPage* self, GdkPixbuf* unscaled, D
GdkPixbuf* _tmp8_ = NULL;
GtkDrawingArea* _tmp9_ = NULL;
Direction* _tmp10_ = NULL;
-#line 2181 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2143 "/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"
+#line 2143 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (GDK_IS_PIXBUF (unscaled));
-#line 2181 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2143 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (max_dim != NULL);
-#line 2182 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2144 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = *max_dim;
-#line 2182 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2144 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = self->priv->pixmap_dim;
-#line 2182 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2144 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = zoom_state_get_interpolation_factor (&self->priv->static_zoom_state);
-#line 2182 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2144 "/home/jens/Source/shotwell/src/Page.vala"
zoom_state_get_viewport_center (&self->priv->static_zoom_state, &_tmp3_);
-#line 2182 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2144 "/home/jens/Source/shotwell/src/Page.vala"
zoom_state_init (&self->priv->static_zoom_state, &_tmp0_, &_tmp1_, _tmp2_, &_tmp3_);
-#line 2186 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2148 "/home/jens/Source/shotwell/src/Page.vala"
single_photo_page_cancel_transition (self);
-#line 2188 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2150 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = unscaled;
-#line 2188 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2150 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = _g_object_ref0 (_tmp4_);
-#line 2188 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2150 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->unscaled);
-#line 2188 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2150 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->unscaled = _tmp5_;
-#line 2189 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2151 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = *max_dim;
-#line 2189 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2151 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->max_dim = _tmp6_;
-#line 2190 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2152 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = self->priv->scaled;
-#line 2190 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2152 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = _g_object_ref0 (_tmp7_);
-#line 2190 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2152 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->old_scaled);
-#line 2190 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2152 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->old_scaled = _tmp8_;
-#line 2191 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2153 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->scaled);
-#line 2191 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2153 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->scaled = NULL;
-#line 2194 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2156 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = self->canvas;
-#line 2194 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2156 "/home/jens/Source/shotwell/src/Page.vala"
gtk_widget_realize (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_widget_get_type (), GtkWidget));
-#line 2196 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2158 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = direction;
-#line 2196 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2158 "/home/jens/Source/shotwell/src/Page.vala"
single_photo_page_repaint (self, _tmp10_);
-#line 13741 "Page.c"
+#line 13423 "Page.c"
}
void single_photo_page_blank_display (SinglePhotoPage* self) {
GtkDrawingArea* _tmp0_ = NULL;
-#line 2199 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2161 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
-#line 2200 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2162 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->unscaled);
-#line 2200 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2162 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->unscaled = NULL;
-#line 2201 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2163 "/home/jens/Source/shotwell/src/Page.vala"
dimensions_init (&self->priv->max_dim, 0, 0);
-#line 2202 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2164 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->scaled);
-#line 2202 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2164 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->scaled = NULL;
-#line 2203 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2165 "/home/jens/Source/shotwell/src/Page.vala"
_cairo_surface_destroy0 (self->priv->pixmap);
-#line 2203 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2165 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->pixmap = NULL;
-#line 2206 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2168 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->canvas;
-#line 2206 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2168 "/home/jens/Source/shotwell/src/Page.vala"
gtk_widget_realize (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget));
-#line 2209 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2171 "/home/jens/Source/shotwell/src/Page.vala"
single_photo_page_invalidate_all (self);
-#line 13769 "Page.c"
+#line 13451 "Page.c"
}
static gpointer _cairo_surface_reference0 (gpointer self) {
-#line 2213 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2175 "/home/jens/Source/shotwell/src/Page.vala"
return self ? cairo_surface_reference (self) : NULL;
-#line 13776 "Page.c"
+#line 13458 "Page.c"
}
@@ -13780,38 +13462,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 2212 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2174 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_SINGLE_PHOTO_PAGE (self), NULL);
-#line 2213 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2175 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->pixmap;
-#line 2213 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2175 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _cairo_surface_reference0 (_tmp0_);
-#line 2213 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2175 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp1_;
-#line 2213 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2175 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 13794 "Page.c"
+#line 13476 "Page.c"
}
void single_photo_page_get_surface_dim (SinglePhotoPage* self, Dimensions* result) {
Dimensions _tmp0_ = {0};
-#line 2216 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2178 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
-#line 2217 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2179 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->pixmap_dim;
-#line 2217 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2179 "/home/jens/Source/shotwell/src/Page.vala"
*result = _tmp0_;
-#line 2217 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2179 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 13808 "Page.c"
+#line 13490 "Page.c"
}
static gpointer _cairo_reference0 (gpointer self) {
-#line 2221 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2183 "/home/jens/Source/shotwell/src/Page.vala"
return self ? cairo_reference (self) : NULL;
-#line 13815 "Page.c"
+#line 13497 "Page.c"
}
@@ -13819,17 +13501,17 @@ cairo_t* single_photo_page_get_cairo_context (SinglePhotoPage* self) {
cairo_t* result = NULL;
cairo_t* _tmp0_ = NULL;
cairo_t* _tmp1_ = NULL;
-#line 2220 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2182 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_SINGLE_PHOTO_PAGE (self), NULL);
-#line 2221 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2183 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->pixmap_ctx;
-#line 2221 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2183 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _cairo_reference0 (_tmp0_);
-#line 2221 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2183 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp1_;
-#line 2221 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2183 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 13833 "Page.c"
+#line 13515 "Page.c"
}
@@ -13839,25 +13521,25 @@ void single_photo_page_paint_text (SinglePhotoPage* self, PangoLayout* pango_lay
gint _tmp2_ = 0;
cairo_t* _tmp3_ = NULL;
PangoLayout* _tmp4_ = NULL;
-#line 2224 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2186 "/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"
+#line 2186 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (PANGO_IS_LAYOUT (pango_layout));
-#line 2225 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2187 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->text_ctx;
-#line 2225 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2187 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = x;
-#line 2225 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2187 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = y;
-#line 2225 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2187 "/home/jens/Source/shotwell/src/Page.vala"
cairo_move_to (_tmp0_, (gdouble) _tmp1_, (gdouble) _tmp2_);
-#line 2226 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2188 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = self->priv->text_ctx;
-#line 2226 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2188 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = pango_layout;
-#line 2226 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2188 "/home/jens/Source/shotwell/src/Page.vala"
pango_cairo_show_layout (_tmp3_, _tmp4_);
-#line 13861 "Page.c"
+#line 13543 "Page.c"
}
@@ -13866,55 +13548,55 @@ void single_photo_page_get_canvas_scaling (SinglePhotoPage* self, Scaling* resul
GtkWindow* _tmp1_ = NULL;
GtkWindow* _tmp2_ = NULL;
gboolean _tmp3_ = FALSE;
-#line 2229 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2191 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
-#line 2230 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2192 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = page_get_container (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 2230 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2192 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = _tmp1_;
-#line 2230 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2192 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp2_, TYPE_FULLSCREEN_WINDOW);
-#line 2230 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2192 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp2_);
-#line 2230 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2192 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp3_) {
-#line 13882 "Page.c"
+#line 13564 "Page.c"
GtkWindow* _tmp4_ = NULL;
GtkWindow* _tmp5_ = NULL;
gboolean _tmp6_ = FALSE;
Scaling _tmp7_ = {0};
-#line 2230 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2192 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = page_get_container (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 2230 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2192 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = _tmp4_;
-#line 2230 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2192 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = self->priv->scale_up_to_viewport;
-#line 2230 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2192 "/home/jens/Source/shotwell/src/Page.vala"
scaling_for_screen (_tmp5_, _tmp6_, &_tmp7_);
-#line 2230 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2192 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = _tmp7_;
-#line 2230 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2192 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp5_);
-#line 13899 "Page.c"
+#line 13581 "Page.c"
} else {
GtkViewport* _tmp8_ = NULL;
gboolean _tmp9_ = FALSE;
Scaling _tmp10_ = {0};
-#line 2231 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2193 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = self->viewport;
-#line 2231 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2193 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = self->priv->scale_up_to_viewport;
-#line 2231 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2193 "/home/jens/Source/shotwell/src/Page.vala"
scaling_for_widget (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, gtk_widget_get_type (), GtkWidget), _tmp9_, &_tmp10_);
-#line 2231 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2193 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = _tmp10_;
-#line 13912 "Page.c"
+#line 13594 "Page.c"
}
-#line 2230 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2192 "/home/jens/Source/shotwell/src/Page.vala"
*result = _tmp0_;
-#line 2230 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2192 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 13918 "Page.c"
+#line 13600 "Page.c"
}
@@ -13922,17 +13604,17 @@ GdkPixbuf* single_photo_page_get_unscaled_pixbuf (SinglePhotoPage* self) {
GdkPixbuf* result = NULL;
GdkPixbuf* _tmp0_ = NULL;
GdkPixbuf* _tmp1_ = NULL;
-#line 2234 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2196 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_SINGLE_PHOTO_PAGE (self), NULL);
-#line 2235 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2197 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->unscaled;
-#line 2235 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2197 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _g_object_ref0 (_tmp0_);
-#line 2235 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2197 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp1_;
-#line 2235 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2197 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 13936 "Page.c"
+#line 13618 "Page.c"
}
@@ -13940,31 +13622,31 @@ GdkPixbuf* single_photo_page_get_scaled_pixbuf (SinglePhotoPage* self) {
GdkPixbuf* result = NULL;
GdkPixbuf* _tmp0_ = NULL;
GdkPixbuf* _tmp1_ = NULL;
-#line 2238 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2200 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_SINGLE_PHOTO_PAGE (self), NULL);
-#line 2239 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2201 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->scaled;
-#line 2239 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2201 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _g_object_ref0 (_tmp0_);
-#line 2239 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2201 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp1_;
-#line 2239 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2201 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 13954 "Page.c"
+#line 13636 "Page.c"
}
void single_photo_page_get_scaled_pixbuf_position (SinglePhotoPage* self, GdkRectangle* result) {
GdkRectangle _tmp0_ = {0};
-#line 2243 "/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 2244 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2206 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->scaled_pos;
-#line 2244 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2206 "/home/jens/Source/shotwell/src/Page.vala"
*result = _tmp0_;
-#line 2244 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2206 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 13968 "Page.c"
+#line 13650 "Page.c"
}
@@ -13974,50 +13656,50 @@ gboolean single_photo_page_is_inside_pixbuf (SinglePhotoPage* self, gint x, gint
gint _tmp1_ = 0;
GdkRectangle _tmp2_ = {0};
gboolean _tmp3_ = FALSE;
-#line 2247 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2209 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_SINGLE_PHOTO_PAGE (self), FALSE);
-#line 2248 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2210 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = x;
-#line 2248 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2210 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = y;
-#line 2248 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2210 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->priv->scaled_pos;
-#line 2248 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2210 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = coord_in_rectangle (_tmp0_, _tmp1_, &_tmp2_);
-#line 2248 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2210 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp3_;
-#line 2248 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2210 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 13992 "Page.c"
+#line 13674 "Page.c"
}
void single_photo_page_invalidate (SinglePhotoPage* self, GdkRectangle* rect) {
GtkDrawingArea* _tmp0_ = NULL;
GdkWindow* _tmp1_ = NULL;
-#line 2251 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2213 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
-#line 2251 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2213 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (rect != NULL);
-#line 2252 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2214 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->canvas;
-#line 2252 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2214 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = gtk_widget_get_window (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget));
-#line 2252 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2214 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp1_ != NULL) {
-#line 14009 "Page.c"
+#line 13691 "Page.c"
GtkDrawingArea* _tmp2_ = NULL;
GdkWindow* _tmp3_ = NULL;
GdkRectangle _tmp4_ = {0};
-#line 2253 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2215 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->canvas;
-#line 2253 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2215 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = gtk_widget_get_window (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_widget_get_type (), GtkWidget));
-#line 2253 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2215 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = *rect;
-#line 2253 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2215 "/home/jens/Source/shotwell/src/Page.vala"
gdk_window_invalidate_rect (_tmp3_, &_tmp4_, FALSE);
-#line 14021 "Page.c"
+#line 13703 "Page.c"
}
}
@@ -14025,51 +13707,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 2256 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2218 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
-#line 2257 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2219 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->canvas;
-#line 2257 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2219 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = gtk_widget_get_window (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget));
-#line 2257 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2219 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp1_ != NULL) {
-#line 14037 "Page.c"
+#line 13719 "Page.c"
GtkDrawingArea* _tmp2_ = NULL;
GdkWindow* _tmp3_ = NULL;
-#line 2258 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2220 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->canvas;
-#line 2258 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2220 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = gtk_widget_get_window (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_widget_get_type (), GtkWidget));
-#line 2258 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2220 "/home/jens/Source/shotwell/src/Page.vala"
gdk_window_invalidate_rect (_tmp3_, NULL, FALSE);
-#line 14046 "Page.c"
+#line 13728 "Page.c"
}
}
static void single_photo_page_on_viewport_resize (SinglePhotoPage* self) {
-#line 2261 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2223 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
-#line 2263 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2225 "/home/jens/Source/shotwell/src/Page.vala"
single_photo_page_internal_repaint (self, TRUE, NULL);
-#line 14056 "Page.c"
+#line 13738 "Page.c"
}
static void single_photo_page_real_on_resize_finished (Page* base, GdkRectangle* rect) {
SinglePhotoPage * self;
GdkRectangle _tmp0_ = {0};
-#line 2266 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2228 "/home/jens/Source/shotwell/src/Page.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_SINGLE_PHOTO_PAGE, SinglePhotoPage);
-#line 2266 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2228 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (rect != NULL);
-#line 2267 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2229 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = *rect;
-#line 2267 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2229 "/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 2270 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2232 "/home/jens/Source/shotwell/src/Page.vala"
single_photo_page_repaint (self, NULL);
-#line 14073 "Page.c"
+#line 13755 "Page.c"
}
@@ -14080,114 +13762,114 @@ static gboolean single_photo_page_on_canvas_exposed (SinglePhotoPage* self, cair
gint _tmp5_ = 0;
gint _tmp6_ = 0;
cairo_t* _tmp7_ = NULL;
-#line 2273 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2235 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_SINGLE_PHOTO_PAGE (self), FALSE);
-#line 2273 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2235 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (exposed_ctx != NULL, FALSE);
-#line 2276 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2238 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->pixmap;
-#line 2276 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2238 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp0_ != NULL) {
-#line 14092 "Page.c"
+#line 13774 "Page.c"
cairo_t* _tmp1_ = NULL;
cairo_surface_t* _tmp2_ = NULL;
-#line 2277 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2239 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = exposed_ctx;
-#line 2277 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2239 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->priv->pixmap;
-#line 2277 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2239 "/home/jens/Source/shotwell/src/Page.vala"
cairo_set_source_surface (_tmp1_, _tmp2_, (gdouble) 0, (gdouble) 0);
-#line 14101 "Page.c"
+#line 13783 "Page.c"
} else {
cairo_t* _tmp3_ = NULL;
-#line 2279 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2241 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = exposed_ctx;
-#line 2279 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2241 "/home/jens/Source/shotwell/src/Page.vala"
set_source_color_from_string (_tmp3_, "#000");
-#line 14108 "Page.c"
+#line 13790 "Page.c"
}
-#line 2281 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2243 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = exposed_ctx;
-#line 2281 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2243 "/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 2281 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2243 "/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 2281 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2243 "/home/jens/Source/shotwell/src/Page.vala"
cairo_rectangle (_tmp4_, (gdouble) 0, (gdouble) 0, (gdouble) _tmp5_, (gdouble) _tmp6_);
-#line 2282 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2244 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = exposed_ctx;
-#line 2282 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2244 "/home/jens/Source/shotwell/src/Page.vala"
cairo_paint (_tmp7_);
-#line 2284 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2246 "/home/jens/Source/shotwell/src/Page.vala"
result = TRUE;
-#line 2284 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2246 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 14126 "Page.c"
+#line 13808 "Page.c"
}
static void single_photo_page_real_new_surface (SinglePhotoPage* self, cairo_t* ctx, Dimensions* ctx_dim) {
-#line 2287 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2249 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (ctx != NULL);
-#line 2287 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2249 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (ctx_dim != NULL);
-#line 14135 "Page.c"
+#line 13817 "Page.c"
}
void single_photo_page_new_surface (SinglePhotoPage* self, cairo_t* ctx, Dimensions* ctx_dim) {
-#line 2287 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2249 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
-#line 2287 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2249 "/home/jens/Source/shotwell/src/Page.vala"
SINGLE_PHOTO_PAGE_GET_CLASS (self)->new_surface (self, ctx, ctx_dim);
-#line 14144 "Page.c"
+#line 13826 "Page.c"
}
static void single_photo_page_real_updated_pixbuf (SinglePhotoPage* self, GdkPixbuf* pixbuf, SinglePhotoPageUpdateReason reason, Dimensions* old_dim) {
-#line 2290 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2252 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (GDK_IS_PIXBUF (pixbuf));
-#line 2290 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2252 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (old_dim != NULL);
-#line 14153 "Page.c"
+#line 13835 "Page.c"
}
void single_photo_page_updated_pixbuf (SinglePhotoPage* self, GdkPixbuf* pixbuf, SinglePhotoPageUpdateReason reason, Dimensions* old_dim) {
-#line 2290 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2252 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
-#line 2290 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2252 "/home/jens/Source/shotwell/src/Page.vala"
SINGLE_PHOTO_PAGE_GET_CLASS (self)->updated_pixbuf (self, pixbuf, reason, old_dim);
-#line 14162 "Page.c"
+#line 13844 "Page.c"
}
static void single_photo_page_real_paint (SinglePhotoPage* self, cairo_t* ctx, Dimensions* ctx_dim) {
gboolean _tmp0_ = FALSE;
gboolean _tmp1_ = FALSE;
-#line 2293 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2255 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (ctx != NULL);
-#line 2293 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2255 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (ctx_dim != NULL);
-#line 2294 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2256 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = single_photo_page_is_zoom_supported (self);
-#line 2294 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2256 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp1_) {
-#line 14177 "Page.c"
+#line 13859 "Page.c"
gboolean _tmp2_ = FALSE;
-#line 2294 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2256 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = zoom_state_is_default (&self->priv->static_zoom_state);
-#line 2294 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2256 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = !_tmp2_;
-#line 14183 "Page.c"
+#line 13865 "Page.c"
} else {
-#line 2294 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2256 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = FALSE;
-#line 14187 "Page.c"
+#line 13869 "Page.c"
}
-#line 2294 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2256 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp0_) {
-#line 14191 "Page.c"
+#line 13873 "Page.c"
cairo_t* _tmp3_ = NULL;
cairo_t* _tmp4_ = NULL;
Dimensions _tmp5_ = {0};
@@ -14196,31 +13878,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 2295 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2257 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = ctx;
-#line 2295 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2257 "/home/jens/Source/shotwell/src/Page.vala"
set_source_color_from_string (_tmp3_, "#000");
-#line 2296 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2258 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = ctx;
-#line 2296 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2258 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = self->priv->pixmap_dim;
-#line 2296 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2258 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = _tmp5_.width;
-#line 2296 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2258 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = self->priv->pixmap_dim;
-#line 2296 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2258 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = _tmp7_.height;
-#line 2296 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2258 "/home/jens/Source/shotwell/src/Page.vala"
cairo_rectangle (_tmp4_, (gdouble) 0, (gdouble) 0, (gdouble) _tmp6_, (gdouble) _tmp8_);
-#line 2297 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2259 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = ctx;
-#line 2297 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2259 "/home/jens/Source/shotwell/src/Page.vala"
cairo_fill (_tmp9_);
-#line 2299 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2261 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = self->priv->static_zoom_state;
-#line 2299 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2261 "/home/jens/Source/shotwell/src/Page.vala"
single_photo_page_render_zoomed_to_pixmap (self, &_tmp10_);
-#line 14224 "Page.c"
+#line 13906 "Page.c"
} else {
TransitionClock* _tmp11_ = NULL;
cairo_t* _tmp12_ = NULL;
@@ -14229,23 +13911,23 @@ static void single_photo_page_real_paint (SinglePhotoPage* self, cairo_t* ctx, D
Dimensions _tmp15_ = {0};
gint _tmp16_ = 0;
gboolean _tmp17_ = FALSE;
-#line 2300 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2262 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = self->priv->transition_clock;
-#line 2300 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2262 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = ctx;
-#line 2300 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2262 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = *ctx_dim;
-#line 2300 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2262 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = _tmp13_.width;
-#line 2300 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2262 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = *ctx_dim;
-#line 2300 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2262 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = _tmp15_.height;
-#line 2300 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2262 "/home/jens/Source/shotwell/src/Page.vala"
_tmp17_ = transition_clock_paint (_tmp11_, _tmp12_, _tmp14_, _tmp16_);
-#line 2300 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2262 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp17_) {
-#line 14249 "Page.c"
+#line 13931 "Page.c"
cairo_t* _tmp18_ = NULL;
cairo_t* _tmp19_ = NULL;
Dimensions _tmp20_ = {0};
@@ -14260,56 +13942,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 2302 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2264 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = ctx;
-#line 2302 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2264 "/home/jens/Source/shotwell/src/Page.vala"
set_source_color_from_string (_tmp18_, "#000");
-#line 2304 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2266 "/home/jens/Source/shotwell/src/Page.vala"
_tmp19_ = ctx;
-#line 2304 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2266 "/home/jens/Source/shotwell/src/Page.vala"
_tmp20_ = self->priv->pixmap_dim;
-#line 2304 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2266 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = _tmp20_.width;
-#line 2304 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2266 "/home/jens/Source/shotwell/src/Page.vala"
_tmp22_ = self->priv->pixmap_dim;
-#line 2304 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2266 "/home/jens/Source/shotwell/src/Page.vala"
_tmp23_ = _tmp22_.height;
-#line 2304 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2266 "/home/jens/Source/shotwell/src/Page.vala"
cairo_rectangle (_tmp19_, (gdouble) 0, (gdouble) 0, (gdouble) _tmp21_, (gdouble) _tmp23_);
-#line 2305 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2267 "/home/jens/Source/shotwell/src/Page.vala"
_tmp24_ = ctx;
-#line 2305 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2267 "/home/jens/Source/shotwell/src/Page.vala"
cairo_fill (_tmp24_);
-#line 2307 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2269 "/home/jens/Source/shotwell/src/Page.vala"
_tmp25_ = ctx;
-#line 2307 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2269 "/home/jens/Source/shotwell/src/Page.vala"
_tmp26_ = self->priv->scaled;
-#line 2307 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2269 "/home/jens/Source/shotwell/src/Page.vala"
_tmp27_ = self->priv->scaled_pos;
-#line 2307 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2269 "/home/jens/Source/shotwell/src/Page.vala"
_tmp28_ = _tmp27_.x;
-#line 2307 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2269 "/home/jens/Source/shotwell/src/Page.vala"
_tmp29_ = self->priv->scaled_pos;
-#line 2307 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2269 "/home/jens/Source/shotwell/src/Page.vala"
_tmp30_ = _tmp29_.y;
-#line 2307 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2269 "/home/jens/Source/shotwell/src/Page.vala"
gdk_cairo_set_source_pixbuf (_tmp25_, _tmp26_, (gdouble) _tmp28_, (gdouble) _tmp30_);
-#line 2308 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2270 "/home/jens/Source/shotwell/src/Page.vala"
_tmp31_ = ctx;
-#line 2308 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2270 "/home/jens/Source/shotwell/src/Page.vala"
cairo_paint (_tmp31_);
-#line 14302 "Page.c"
+#line 13984 "Page.c"
}
}
}
void single_photo_page_paint (SinglePhotoPage* self, cairo_t* ctx, Dimensions* ctx_dim) {
-#line 2293 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2255 "/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"
+#line 2255 "/home/jens/Source/shotwell/src/Page.vala"
SINGLE_PHOTO_PAGE_GET_CLASS (self)->paint (self, ctx, ctx_dim);
-#line 14313 "Page.c"
+#line 13995 "Page.c"
}
@@ -14317,44 +13999,44 @@ static void single_photo_page_repaint_pixmap (SinglePhotoPage* self) {
cairo_t* _tmp0_ = NULL;
cairo_t* _tmp1_ = NULL;
Dimensions _tmp2_ = {0};
-#line 2312 "/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 2313 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2275 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->pixmap_ctx;
-#line 2313 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2275 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp0_ == NULL) {
-#line 2314 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2276 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 14329 "Page.c"
+#line 14011 "Page.c"
}
-#line 2316 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2278 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = self->priv->pixmap_ctx;
-#line 2316 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2278 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->priv->pixmap_dim;
-#line 2316 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2278 "/home/jens/Source/shotwell/src/Page.vala"
single_photo_page_paint (self, _tmp1_, &_tmp2_);
-#line 2317 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2279 "/home/jens/Source/shotwell/src/Page.vala"
single_photo_page_invalidate_all (self);
-#line 14339 "Page.c"
+#line 14021 "Page.c"
}
void single_photo_page_repaint (SinglePhotoPage* self, Direction* direction) {
Direction* _tmp0_ = NULL;
-#line 2320 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2282 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
-#line 2321 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2283 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = direction;
-#line 2321 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2283 "/home/jens/Source/shotwell/src/Page.vala"
single_photo_page_internal_repaint (self, FALSE, _tmp0_);
-#line 14351 "Page.c"
+#line 14033 "Page.c"
}
static void _single_photo_page_repaint_pixmap_transition_clock_repaint_callback (gpointer self) {
-#line 2409 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2371 "/home/jens/Source/shotwell/src/Page.vala"
single_photo_page_repaint_pixmap ((SinglePhotoPage*) self);
-#line 14358 "Page.c"
+#line 14040 "Page.c"
}
@@ -14397,171 +14079,171 @@ static void single_photo_page_internal_repaint (SinglePhotoPage* self, gboolean
Direction* _tmp84_ = NULL;
TransitionClock* _tmp98_ = NULL;
gboolean _tmp99_ = FALSE;
-#line 2324 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2286 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
-#line 2326 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2288 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = page_is_in_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 2326 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2288 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp0_) {
-#line 2327 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2289 "/home/jens/Source/shotwell/src/Page.vala"
_cairo_surface_destroy0 (self->priv->pixmap);
-#line 2327 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2289 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->pixmap = NULL;
-#line 2328 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2290 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->scaled);
-#line 2328 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2290 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->scaled = NULL;
-#line 2330 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2292 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 14417 "Page.c"
+#line 14099 "Page.c"
}
-#line 2334 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2296 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->priv->unscaled;
-#line 2334 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2296 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp2_ == NULL) {
-#line 2334 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2296 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = TRUE;
-#line 14425 "Page.c"
+#line 14107 "Page.c"
} else {
GtkDrawingArea* _tmp3_ = NULL;
GdkWindow* _tmp4_ = NULL;
-#line 2334 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2296 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = self->canvas;
-#line 2334 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2296 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = gtk_widget_get_window (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_widget_get_type (), GtkWidget));
-#line 2334 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2296 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _tmp4_ == NULL;
-#line 14435 "Page.c"
+#line 14117 "Page.c"
}
-#line 2334 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2296 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp1_) {
-#line 2335 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2297 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 14441 "Page.c"
+#line 14123 "Page.c"
}
-#line 2338 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2300 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = self->viewport;
-#line 2338 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2300 "/home/jens/Source/shotwell/src/Page.vala"
gtk_widget_get_allocation (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_widget_get_type (), GtkWidget), &_tmp6_);
-#line 2338 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2300 "/home/jens/Source/shotwell/src/Page.vala"
allocation = _tmp6_;
-#line 2340 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2302 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = allocation;
-#line 2340 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2302 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = _tmp7_.width;
-#line 2340 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2302 "/home/jens/Source/shotwell/src/Page.vala"
width = _tmp8_;
-#line 2341 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2303 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = allocation;
-#line 2341 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2303 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = _tmp9_.height;
-#line 2341 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2303 "/home/jens/Source/shotwell/src/Page.vala"
height = _tmp10_;
-#line 2343 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2305 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = width;
-#line 2343 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2305 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp12_ <= 0) {
-#line 2343 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2305 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = TRUE;
-#line 14467 "Page.c"
+#line 14149 "Page.c"
} else {
gint _tmp13_ = 0;
-#line 2343 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2305 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = height;
-#line 2343 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2305 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = _tmp13_ <= 0;
-#line 14474 "Page.c"
+#line 14156 "Page.c"
}
-#line 2343 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2305 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp11_) {
-#line 2344 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2306 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 14480 "Page.c"
+#line 14162 "Page.c"
}
-#line 2346 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2308 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = self->priv->scaled;
-#line 2346 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2308 "/home/jens/Source/shotwell/src/Page.vala"
new_pixbuf = _tmp14_ == NULL;
-#line 2349 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2311 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = self->priv->scaled_pos;
-#line 2349 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2311 "/home/jens/Source/shotwell/src/Page.vala"
dimensions_for_rectangle (&_tmp15_, &_tmp16_);
-#line 2349 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2311 "/home/jens/Source/shotwell/src/Page.vala"
old_scaled_dim = _tmp16_;
-#line 2350 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2312 "/home/jens/Source/shotwell/src/Page.vala"
_tmp17_ = self->priv->scaled_pos;
-#line 2350 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2312 "/home/jens/Source/shotwell/src/Page.vala"
old_scaled_pos = _tmp17_;
-#line 2353 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2315 "/home/jens/Source/shotwell/src/Page.vala"
_tmp19_ = self->priv->pixmap_dim;
-#line 2353 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2315 "/home/jens/Source/shotwell/src/Page.vala"
_tmp20_ = _tmp19_.width;
-#line 2353 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2315 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = width;
-#line 2353 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2315 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp20_ != _tmp21_) {
-#line 2353 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2315 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = TRUE;
-#line 14506 "Page.c"
+#line 14188 "Page.c"
} else {
Dimensions _tmp22_ = {0};
gint _tmp23_ = 0;
gint _tmp24_ = 0;
-#line 2353 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2315 "/home/jens/Source/shotwell/src/Page.vala"
_tmp22_ = self->priv->pixmap_dim;
-#line 2353 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2315 "/home/jens/Source/shotwell/src/Page.vala"
_tmp23_ = _tmp22_.height;
-#line 2353 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2315 "/home/jens/Source/shotwell/src/Page.vala"
_tmp24_ = height;
-#line 2353 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2315 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = _tmp23_ != _tmp24_;
-#line 14519 "Page.c"
+#line 14201 "Page.c"
}
-#line 2353 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2315 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp18_) {
-#line 2354 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2316 "/home/jens/Source/shotwell/src/Page.vala"
_cairo_surface_destroy0 (self->priv->pixmap);
-#line 2354 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2316 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->pixmap = NULL;
-#line 14527 "Page.c"
+#line 14209 "Page.c"
}
-#line 2357 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2319 "/home/jens/Source/shotwell/src/Page.vala"
new_pixmap = FALSE;
-#line 2358 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2320 "/home/jens/Source/shotwell/src/Page.vala"
_tmp25_ = self->priv->pixmap;
-#line 2358 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2320 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp25_ == NULL) {
-#line 14535 "Page.c"
+#line 14217 "Page.c"
gint _tmp26_ = 0;
gint _tmp27_ = 0;
-#line 2359 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2321 "/home/jens/Source/shotwell/src/Page.vala"
_tmp26_ = width;
-#line 2359 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2321 "/home/jens/Source/shotwell/src/Page.vala"
_tmp27_ = height;
-#line 2359 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2321 "/home/jens/Source/shotwell/src/Page.vala"
single_photo_page_init_pixmap (self, _tmp26_, _tmp27_);
-#line 2360 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2322 "/home/jens/Source/shotwell/src/Page.vala"
new_pixmap = TRUE;
-#line 14546 "Page.c"
+#line 14228 "Page.c"
}
-#line 2363 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2325 "/home/jens/Source/shotwell/src/Page.vala"
_tmp29_ = new_pixbuf;
-#line 2363 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2325 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp29_) {
-#line 2363 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2325 "/home/jens/Source/shotwell/src/Page.vala"
_tmp28_ = TRUE;
-#line 14554 "Page.c"
+#line 14236 "Page.c"
} else {
gboolean _tmp30_ = FALSE;
-#line 2363 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2325 "/home/jens/Source/shotwell/src/Page.vala"
_tmp30_ = new_pixmap;
-#line 2363 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2325 "/home/jens/Source/shotwell/src/Page.vala"
_tmp28_ = _tmp30_;
-#line 14561 "Page.c"
+#line 14243 "Page.c"
}
-#line 2363 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2325 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp28_) {
-#line 14565 "Page.c"
+#line 14247 "Page.c"
Dimensions unscaled_dim = {0};
GdkPixbuf* _tmp31_ = NULL;
Dimensions _tmp32_ = {0};
@@ -14586,155 +14268,155 @@ static void single_photo_page_internal_repaint (SinglePhotoPage* self, gboolean
gint _tmp60_ = 0;
Dimensions _tmp61_ = {0};
gint _tmp62_ = 0;
-#line 2364 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2326 "/home/jens/Source/shotwell/src/Page.vala"
_tmp31_ = self->priv->unscaled;
-#line 2364 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2326 "/home/jens/Source/shotwell/src/Page.vala"
dimensions_for_pixbuf (_tmp31_, &_tmp32_);
-#line 2364 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2326 "/home/jens/Source/shotwell/src/Page.vala"
unscaled_dim = _tmp32_;
-#line 2368 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2330 "/home/jens/Source/shotwell/src/Page.vala"
dimensions_init (&scaled_dim, 0, 0);
-#line 2369 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2331 "/home/jens/Source/shotwell/src/Page.vala"
_tmp36_ = self->priv->scale_up_to_viewport;
-#line 2369 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2331 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp36_) {
-#line 14602 "Page.c"
+#line 14284 "Page.c"
gboolean _tmp37_ = FALSE;
-#line 2369 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2331 "/home/jens/Source/shotwell/src/Page.vala"
_tmp37_ = dimensions_has_area (&self->priv->max_dim);
-#line 2369 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2331 "/home/jens/Source/shotwell/src/Page.vala"
_tmp35_ = _tmp37_;
-#line 14608 "Page.c"
+#line 14290 "Page.c"
} else {
-#line 2369 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2331 "/home/jens/Source/shotwell/src/Page.vala"
_tmp35_ = FALSE;
-#line 14612 "Page.c"
+#line 14294 "Page.c"
}
-#line 2369 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2331 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp35_) {
-#line 14616 "Page.c"
+#line 14298 "Page.c"
Dimensions _tmp38_ = {0};
gint _tmp39_ = 0;
gint _tmp40_ = 0;
-#line 2369 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2331 "/home/jens/Source/shotwell/src/Page.vala"
_tmp38_ = self->priv->max_dim;
-#line 2369 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2331 "/home/jens/Source/shotwell/src/Page.vala"
_tmp39_ = _tmp38_.width;
-#line 2369 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2331 "/home/jens/Source/shotwell/src/Page.vala"
_tmp40_ = width;
-#line 2369 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2331 "/home/jens/Source/shotwell/src/Page.vala"
_tmp34_ = _tmp39_ < _tmp40_;
-#line 14628 "Page.c"
+#line 14310 "Page.c"
} else {
-#line 2369 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2331 "/home/jens/Source/shotwell/src/Page.vala"
_tmp34_ = FALSE;
-#line 14632 "Page.c"
+#line 14314 "Page.c"
}
-#line 2369 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2331 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp34_) {
-#line 14636 "Page.c"
+#line 14318 "Page.c"
Dimensions _tmp41_ = {0};
gint _tmp42_ = 0;
gint _tmp43_ = 0;
-#line 2369 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2331 "/home/jens/Source/shotwell/src/Page.vala"
_tmp41_ = self->priv->max_dim;
-#line 2369 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2331 "/home/jens/Source/shotwell/src/Page.vala"
_tmp42_ = _tmp41_.height;
-#line 2369 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2331 "/home/jens/Source/shotwell/src/Page.vala"
_tmp43_ = height;
-#line 2369 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2331 "/home/jens/Source/shotwell/src/Page.vala"
_tmp33_ = _tmp42_ < _tmp43_;
-#line 14648 "Page.c"
+#line 14330 "Page.c"
} else {
-#line 2369 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2331 "/home/jens/Source/shotwell/src/Page.vala"
_tmp33_ = FALSE;
-#line 14652 "Page.c"
+#line 14334 "Page.c"
}
-#line 2369 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2331 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp33_) {
-#line 14656 "Page.c"
+#line 14338 "Page.c"
Dimensions _tmp44_ = {0};
-#line 2370 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2332 "/home/jens/Source/shotwell/src/Page.vala"
_tmp44_ = self->priv->max_dim;
-#line 2370 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2332 "/home/jens/Source/shotwell/src/Page.vala"
scaled_dim = _tmp44_;
-#line 14662 "Page.c"
+#line 14344 "Page.c"
} else {
Dimensions _tmp45_ = {0};
Dimensions _tmp46_ = {0};
-#line 2372 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2334 "/home/jens/Source/shotwell/src/Page.vala"
_tmp45_ = self->priv->pixmap_dim;
-#line 2372 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2334 "/home/jens/Source/shotwell/src/Page.vala"
dimensions_get_scaled_proportional (&unscaled_dim, &_tmp45_, &_tmp46_);
-#line 2372 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2334 "/home/jens/Source/shotwell/src/Page.vala"
scaled_dim = _tmp46_;
-#line 14672 "Page.c"
+#line 14354 "Page.c"
}
-#line 2374 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2336 "/home/jens/Source/shotwell/src/Page.vala"
_tmp47_ = width;
-#line 2374 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2336 "/home/jens/Source/shotwell/src/Page.vala"
_tmp48_ = scaled_dim;
-#line 2374 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2336 "/home/jens/Source/shotwell/src/Page.vala"
_tmp49_ = _tmp48_.width;
-#line 2374 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2336 "/home/jens/Source/shotwell/src/Page.vala"
_vala_assert (_tmp47_ >= _tmp49_, "width >= scaled_dim.width");
-#line 2375 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2337 "/home/jens/Source/shotwell/src/Page.vala"
_tmp50_ = height;
-#line 2375 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2337 "/home/jens/Source/shotwell/src/Page.vala"
_tmp51_ = scaled_dim;
-#line 2375 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2337 "/home/jens/Source/shotwell/src/Page.vala"
_tmp52_ = _tmp51_.height;
-#line 2375 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2337 "/home/jens/Source/shotwell/src/Page.vala"
_vala_assert (_tmp50_ >= _tmp52_, "height >= scaled_dim.height");
-#line 2378 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2340 "/home/jens/Source/shotwell/src/Page.vala"
_tmp53_ = width;
-#line 2378 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2340 "/home/jens/Source/shotwell/src/Page.vala"
_tmp54_ = scaled_dim;
-#line 2378 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2340 "/home/jens/Source/shotwell/src/Page.vala"
_tmp55_ = _tmp54_.width;
-#line 2378 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2340 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->scaled_pos.x = (_tmp53_ - _tmp55_) / 2;
-#line 2379 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2341 "/home/jens/Source/shotwell/src/Page.vala"
_tmp56_ = height;
-#line 2379 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2341 "/home/jens/Source/shotwell/src/Page.vala"
_tmp57_ = scaled_dim;
-#line 2379 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2341 "/home/jens/Source/shotwell/src/Page.vala"
_tmp58_ = _tmp57_.height;
-#line 2379 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2341 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->scaled_pos.y = (_tmp56_ - _tmp58_) / 2;
-#line 2380 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2342 "/home/jens/Source/shotwell/src/Page.vala"
_tmp59_ = scaled_dim;
-#line 2380 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2342 "/home/jens/Source/shotwell/src/Page.vala"
_tmp60_ = _tmp59_.width;
-#line 2380 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2342 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->scaled_pos.width = _tmp60_;
-#line 2381 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2343 "/home/jens/Source/shotwell/src/Page.vala"
_tmp61_ = scaled_dim;
-#line 2381 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2343 "/home/jens/Source/shotwell/src/Page.vala"
_tmp62_ = _tmp61_.height;
-#line 2381 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2343 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->scaled_pos.height = _tmp62_;
-#line 14718 "Page.c"
+#line 14400 "Page.c"
}
-#line 2384 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2346 "/home/jens/Source/shotwell/src/Page.vala"
_tmp64_ = fast;
-#line 2384 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2346 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp64_) {
-#line 2384 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2346 "/home/jens/Source/shotwell/src/Page.vala"
_tmp63_ = SINGLE_PHOTO_PAGE_FAST_INTERP;
-#line 14726 "Page.c"
+#line 14408 "Page.c"
} else {
-#line 2384 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2346 "/home/jens/Source/shotwell/src/Page.vala"
_tmp63_ = SINGLE_PHOTO_PAGE_QUALITY_INTERP;
-#line 14730 "Page.c"
+#line 14412 "Page.c"
}
-#line 2384 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2346 "/home/jens/Source/shotwell/src/Page.vala"
interp = _tmp63_;
-#line 2387 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2349 "/home/jens/Source/shotwell/src/Page.vala"
_tmp65_ = self->priv->scaled;
-#line 2387 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2349 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp65_ == NULL) {
-#line 14738 "Page.c"
+#line 14420 "Page.c"
GdkPixbuf* _tmp66_ = NULL;
GdkRectangle _tmp67_ = {0};
Dimensions _tmp68_ = {0};
@@ -14749,101 +14431,101 @@ static void single_photo_page_internal_repaint (SinglePhotoPage* self, gboolean
GdkPixbuf* _tmp79_ = NULL;
SinglePhotoPageUpdateReason _tmp80_ = 0;
Dimensions _tmp81_ = {0};
-#line 2388 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2350 "/home/jens/Source/shotwell/src/Page.vala"
_tmp66_ = self->priv->unscaled;
-#line 2388 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2350 "/home/jens/Source/shotwell/src/Page.vala"
_tmp67_ = self->priv->scaled_pos;
-#line 2388 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2350 "/home/jens/Source/shotwell/src/Page.vala"
dimensions_for_rectangle (&_tmp67_, &_tmp68_);
-#line 2388 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2350 "/home/jens/Source/shotwell/src/Page.vala"
_tmp69_ = interp;
-#line 2388 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2350 "/home/jens/Source/shotwell/src/Page.vala"
_tmp70_ = resize_pixbuf (_tmp66_, &_tmp68_, _tmp69_);
-#line 2388 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2350 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->scaled);
-#line 2388 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2350 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->scaled = _tmp70_;
-#line 2390 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2352 "/home/jens/Source/shotwell/src/Page.vala"
reason = SINGLE_PHOTO_PAGE_UPDATE_REASON_RESIZED_CANVAS;
-#line 2391 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2353 "/home/jens/Source/shotwell/src/Page.vala"
_tmp71_ = new_pixbuf;
-#line 2391 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2353 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp71_) {
-#line 2392 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2354 "/home/jens/Source/shotwell/src/Page.vala"
reason = SINGLE_PHOTO_PAGE_UPDATE_REASON_NEW_PIXBUF;
-#line 14775 "Page.c"
+#line 14457 "Page.c"
} else {
gboolean _tmp72_ = FALSE;
gboolean _tmp73_ = FALSE;
-#line 2393 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2355 "/home/jens/Source/shotwell/src/Page.vala"
_tmp73_ = new_pixmap;
-#line 2393 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2355 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp73_) {
-#line 14783 "Page.c"
+#line 14465 "Page.c"
GdkInterpType _tmp74_ = 0;
-#line 2393 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2355 "/home/jens/Source/shotwell/src/Page.vala"
_tmp74_ = interp;
-#line 2393 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2355 "/home/jens/Source/shotwell/src/Page.vala"
_tmp72_ = _tmp74_ == SINGLE_PHOTO_PAGE_QUALITY_INTERP;
-#line 14789 "Page.c"
+#line 14471 "Page.c"
} else {
-#line 2393 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2355 "/home/jens/Source/shotwell/src/Page.vala"
_tmp72_ = FALSE;
-#line 14793 "Page.c"
+#line 14475 "Page.c"
}
-#line 2393 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2355 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp72_) {
-#line 2394 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2356 "/home/jens/Source/shotwell/src/Page.vala"
reason = SINGLE_PHOTO_PAGE_UPDATE_REASON_QUALITY_IMPROVEMENT;
-#line 14799 "Page.c"
+#line 14481 "Page.c"
}
}
-#line 2396 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2358 "/home/jens/Source/shotwell/src/Page.vala"
_tmp75_ = self->priv->max_dim;
-#line 2396 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2358 "/home/jens/Source/shotwell/src/Page.vala"
_tmp76_ = self->priv->pixmap_dim;
-#line 2396 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2358 "/home/jens/Source/shotwell/src/Page.vala"
_tmp77_ = zoom_state_get_interpolation_factor (&self->priv->static_zoom_state);
-#line 2396 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2358 "/home/jens/Source/shotwell/src/Page.vala"
zoom_state_get_viewport_center (&self->priv->static_zoom_state, &_tmp78_);
-#line 2396 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2358 "/home/jens/Source/shotwell/src/Page.vala"
zoom_state_init (&self->priv->static_zoom_state, &_tmp75_, &_tmp76_, _tmp77_, &_tmp78_);
-#line 2400 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2362 "/home/jens/Source/shotwell/src/Page.vala"
_tmp79_ = self->priv->scaled;
-#line 2400 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2362 "/home/jens/Source/shotwell/src/Page.vala"
_tmp80_ = reason;
-#line 2400 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2362 "/home/jens/Source/shotwell/src/Page.vala"
_tmp81_ = old_scaled_dim;
-#line 2400 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2362 "/home/jens/Source/shotwell/src/Page.vala"
single_photo_page_updated_pixbuf (self, _tmp79_, _tmp80_, &_tmp81_);
-#line 14820 "Page.c"
+#line 14502 "Page.c"
}
-#line 2403 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2365 "/home/jens/Source/shotwell/src/Page.vala"
_tmp82_ = fast;
-#line 2403 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2365 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->zoom_high_quality = !_tmp82_;
-#line 2405 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2367 "/home/jens/Source/shotwell/src/Page.vala"
_tmp84_ = direction;
-#line 2405 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2367 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp84_ != NULL) {
-#line 14830 "Page.c"
+#line 14512 "Page.c"
TransitionClock* _tmp85_ = NULL;
gboolean _tmp86_ = FALSE;
-#line 2405 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2367 "/home/jens/Source/shotwell/src/Page.vala"
_tmp85_ = self->priv->transition_clock;
-#line 2405 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2367 "/home/jens/Source/shotwell/src/Page.vala"
_tmp86_ = transition_clock_is_in_progress (_tmp85_);
-#line 2405 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2367 "/home/jens/Source/shotwell/src/Page.vala"
_tmp83_ = !_tmp86_;
-#line 14839 "Page.c"
+#line 14521 "Page.c"
} else {
-#line 2405 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2367 "/home/jens/Source/shotwell/src/Page.vala"
_tmp83_ = FALSE;
-#line 14843 "Page.c"
+#line 14525 "Page.c"
}
-#line 2405 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2367 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp83_) {
-#line 14847 "Page.c"
+#line 14529 "Page.c"
SpitTransitionsVisuals* visuals = NULL;
GdkPixbuf* _tmp87_ = NULL;
GdkRectangle _tmp88_ = {0};
@@ -14856,45 +14538,45 @@ static void single_photo_page_internal_repaint (SinglePhotoPage* self, gboolean
Direction* _tmp95_ = NULL;
SpitTransitionsDirection _tmp96_ = 0;
gint _tmp97_ = 0;
-#line 2406 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2368 "/home/jens/Source/shotwell/src/Page.vala"
_tmp87_ = self->priv->old_scaled;
-#line 2406 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2368 "/home/jens/Source/shotwell/src/Page.vala"
_tmp88_ = old_scaled_pos;
-#line 2406 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2368 "/home/jens/Source/shotwell/src/Page.vala"
_tmp89_ = self->priv->scaled;
-#line 2406 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2368 "/home/jens/Source/shotwell/src/Page.vala"
_tmp90_ = self->priv->scaled_pos;
-#line 2406 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2368 "/home/jens/Source/shotwell/src/Page.vala"
parse_color ("#000", &_tmp91_);
-#line 2406 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2368 "/home/jens/Source/shotwell/src/Page.vala"
_tmp92_ = spit_transitions_visuals_new (_tmp87_, &_tmp88_, _tmp89_, &_tmp90_, &_tmp91_);
-#line 2406 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2368 "/home/jens/Source/shotwell/src/Page.vala"
visuals = _tmp92_;
-#line 2409 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2371 "/home/jens/Source/shotwell/src/Page.vala"
_tmp93_ = self->priv->transition_clock;
-#line 2409 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2371 "/home/jens/Source/shotwell/src/Page.vala"
_tmp94_ = visuals;
-#line 2409 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2371 "/home/jens/Source/shotwell/src/Page.vala"
_tmp95_ = direction;
-#line 2409 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2371 "/home/jens/Source/shotwell/src/Page.vala"
_tmp96_ = direction_to_transition_direction (*_tmp95_);
-#line 2409 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2371 "/home/jens/Source/shotwell/src/Page.vala"
_tmp97_ = self->priv->transition_duration_msec;
-#line 2409 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2371 "/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 2405 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2367 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (visuals);
-#line 14888 "Page.c"
+#line 14570 "Page.c"
}
-#line 2413 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2375 "/home/jens/Source/shotwell/src/Page.vala"
_tmp98_ = self->priv->transition_clock;
-#line 2413 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2375 "/home/jens/Source/shotwell/src/Page.vala"
_tmp99_ = transition_clock_is_in_progress (_tmp98_);
-#line 2413 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2375 "/home/jens/Source/shotwell/src/Page.vala"
if (!_tmp99_) {
-#line 2414 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2376 "/home/jens/Source/shotwell/src/Page.vala"
single_photo_page_repaint_pixmap (self);
-#line 14898 "Page.c"
+#line 14580 "Page.c"
}
}
@@ -14915,65 +14597,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 2417 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2379 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
-#line 2418 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2380 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->unscaled;
-#line 2418 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2380 "/home/jens/Source/shotwell/src/Page.vala"
_vala_assert (_tmp0_ != NULL, "unscaled != null");
-#line 2419 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2381 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = self->canvas;
-#line 2419 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2381 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = gtk_widget_get_window (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_widget_get_type (), GtkWidget));
-#line 2419 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2381 "/home/jens/Source/shotwell/src/Page.vala"
_vala_assert (_tmp2_ != NULL, "canvas.get_window() != null");
-#line 2422 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2384 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = width;
-#line 2422 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2384 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = height;
-#line 2422 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2384 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = cairo_image_surface_create (CAIRO_FORMAT_ARGB32, _tmp3_, _tmp4_);
-#line 2422 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2384 "/home/jens/Source/shotwell/src/Page.vala"
_cairo_surface_destroy0 (self->priv->pixmap);
-#line 2422 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2384 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->pixmap = _tmp5_;
-#line 2423 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2385 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = width;
-#line 2423 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2385 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = height;
-#line 2423 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2385 "/home/jens/Source/shotwell/src/Page.vala"
dimensions_init (&self->priv->pixmap_dim, _tmp6_, _tmp7_);
-#line 2426 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2388 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = self->priv->pixmap;
-#line 2426 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2388 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = cairo_create (_tmp8_);
-#line 2426 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2388 "/home/jens/Source/shotwell/src/Page.vala"
_cairo_destroy0 (self->priv->pixmap_ctx);
-#line 2426 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2388 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->pixmap_ctx = _tmp9_;
-#line 2429 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2391 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->scaled);
-#line 2429 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2391 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->scaled = NULL;
-#line 2432 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2394 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = self->priv->pixmap;
-#line 2432 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2394 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = cairo_create (_tmp10_);
-#line 2432 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2394 "/home/jens/Source/shotwell/src/Page.vala"
_cairo_destroy0 (self->priv->text_ctx);
-#line 2432 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2394 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->text_ctx = _tmp11_;
-#line 2433 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2395 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = self->priv->text_ctx;
-#line 2433 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2395 "/home/jens/Source/shotwell/src/Page.vala"
set_source_color_from_string (_tmp12_, "#fff");
-#line 2438 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2400 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = self->priv->pixmap_ctx;
-#line 2438 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2400 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = self->priv->pixmap_dim;
-#line 2438 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2400 "/home/jens/Source/shotwell/src/Page.vala"
single_photo_page_new_surface (self, _tmp13_, &_tmp14_);
-#line 14977 "Page.c"
+#line 14659 "Page.c"
}
@@ -14984,23 +14666,23 @@ static gboolean single_photo_page_real_on_context_keypress (Page* base) {
GtkMenu* _tmp1_ = NULL;
gboolean _tmp2_ = FALSE;
gboolean _tmp3_ = FALSE;
-#line 2441 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2403 "/home/jens/Source/shotwell/src/Page.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_SINGLE_PHOTO_PAGE, SinglePhotoPage);
-#line 2442 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2404 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = page_get_page_context_menu (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 2442 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2404 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _tmp0_;
-#line 2442 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2404 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = page_popup_context_menu (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), _tmp1_, NULL);
-#line 2442 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2404 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = _tmp2_;
-#line 2442 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2404 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp1_);
-#line 2442 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2404 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp3_;
-#line 2442 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2404 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 15004 "Page.c"
+#line 14686 "Page.c"
}
@@ -15009,11 +14691,11 @@ static void single_photo_page_real_on_previous_photo (SinglePhotoPage* self) {
void single_photo_page_on_previous_photo (SinglePhotoPage* self) {
-#line 2445 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2407 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
-#line 2445 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2407 "/home/jens/Source/shotwell/src/Page.vala"
SINGLE_PHOTO_PAGE_GET_CLASS (self)->on_previous_photo (self);
-#line 15017 "Page.c"
+#line 14699 "Page.c"
}
@@ -15022,11 +14704,11 @@ static void single_photo_page_real_on_next_photo (SinglePhotoPage* self) {
void single_photo_page_on_next_photo (SinglePhotoPage* self) {
-#line 2448 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2410 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_SINGLE_PHOTO_PAGE (self));
-#line 2448 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2410 "/home/jens/Source/shotwell/src/Page.vala"
SINGLE_PHOTO_PAGE_GET_CLASS (self)->on_next_photo (self);
-#line 15030 "Page.c"
+#line 14712 "Page.c"
}
@@ -15043,266 +14725,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 2458 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2420 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp7_label0 = 0;
-#line 2458 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2420 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp7_label1 = 0;
-#line 2458 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2420 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp7_label2 = 0;
-#line 2458 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2420 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp7_label3 = 0;
-#line 2458 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2420 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp7_label4 = 0;
-#line 2458 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2420 "/home/jens/Source/shotwell/src/Page.vala"
static GQuark _tmp7_label5 = 0;
-#line 15059 "Page.c"
+#line 14741 "Page.c"
gboolean _tmp15_ = FALSE;
gboolean _tmp16_ = FALSE;
-#line 2451 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2413 "/home/jens/Source/shotwell/src/Page.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_SINGLE_PHOTO_PAGE, SinglePhotoPage);
-#line 2451 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2413 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 2455 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2417 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = event;
-#line 2455 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2417 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = _tmp0_->time;
-#line 2455 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2417 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = self->priv->last_nav_key;
-#line 2455 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2417 "/home/jens/Source/shotwell/src/Page.vala"
nav_ok = (_tmp1_ - _tmp2_) > ((guint32) SINGLE_PHOTO_PAGE_KEY_REPEAT_INTERVAL_MSEC);
-#line 2457 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2419 "/home/jens/Source/shotwell/src/Page.vala"
handled = TRUE;
-#line 2458 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2420 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = event;
-#line 2458 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2420 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = _tmp3_->keyval;
-#line 2458 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2420 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = gdk_keyval_name (_tmp4_);
-#line 2458 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2420 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = _tmp5_;
-#line 2458 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2420 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = (NULL == _tmp6_) ? 0 : g_quark_from_string (_tmp6_);
-#line 2458 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2420 "/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 2458 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2420 "/home/jens/Source/shotwell/src/Page.vala"
switch (0) {
-#line 15090 "Page.c"
+#line 14772 "Page.c"
default:
{
gboolean _tmp9_ = FALSE;
-#line 2462 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2424 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = nav_ok;
-#line 2462 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2424 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp9_) {
-#line 15098 "Page.c"
+#line 14780 "Page.c"
GdkEventKey* _tmp10_ = NULL;
guint32 _tmp11_ = 0U;
-#line 2463 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2425 "/home/jens/Source/shotwell/src/Page.vala"
single_photo_page_on_previous_photo (self);
-#line 2464 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2426 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = event;
-#line 2464 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2426 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = _tmp10_->time;
-#line 2464 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2426 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->last_nav_key = _tmp11_;
-#line 15109 "Page.c"
+#line 14791 "Page.c"
}
-#line 2466 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2428 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 15113 "Page.c"
+#line 14795 "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 2458 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2420 "/home/jens/Source/shotwell/src/Page.vala"
switch (0) {
-#line 15119 "Page.c"
+#line 14801 "Page.c"
default:
{
gboolean _tmp12_ = FALSE;
-#line 2471 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2433 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = nav_ok;
-#line 2471 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2433 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp12_) {
-#line 15127 "Page.c"
+#line 14809 "Page.c"
GdkEventKey* _tmp13_ = NULL;
guint32 _tmp14_ = 0U;
-#line 2472 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2434 "/home/jens/Source/shotwell/src/Page.vala"
single_photo_page_on_next_photo (self);
-#line 2473 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2435 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = event;
-#line 2473 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2435 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = _tmp13_->time;
-#line 2473 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2435 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->last_nav_key = _tmp14_;
-#line 15138 "Page.c"
+#line 14820 "Page.c"
}
-#line 2475 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2437 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 15142 "Page.c"
+#line 14824 "Page.c"
}
}
} else {
-#line 2458 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2420 "/home/jens/Source/shotwell/src/Page.vala"
switch (0) {
-#line 15148 "Page.c"
+#line 14830 "Page.c"
default:
{
-#line 2478 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2440 "/home/jens/Source/shotwell/src/Page.vala"
handled = FALSE;
-#line 2479 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2441 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 15155 "Page.c"
+#line 14837 "Page.c"
}
}
}
-#line 2482 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2444 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = handled;
-#line 2482 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2444 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp15_) {
-#line 2483 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2445 "/home/jens/Source/shotwell/src/Page.vala"
result = TRUE;
-#line 2483 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2445 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 15167 "Page.c"
+#line 14849 "Page.c"
}
-#line 2485 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2447 "/home/jens/Source/shotwell/src/Page.vala"
if (GTK_WIDGET_CLASS (single_photo_page_parent_class)->key_press_event != NULL) {
-#line 15171 "Page.c"
+#line 14853 "Page.c"
GdkEventKey* _tmp17_ = NULL;
gboolean _tmp18_ = FALSE;
-#line 2485 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2447 "/home/jens/Source/shotwell/src/Page.vala"
_tmp17_ = event;
-#line 2485 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2447 "/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 2485 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2447 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = _tmp18_;
-#line 15180 "Page.c"
+#line 14862 "Page.c"
} else {
-#line 2485 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2447 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = TRUE;
-#line 15184 "Page.c"
+#line 14866 "Page.c"
}
-#line 2485 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2447 "/home/jens/Source/shotwell/src/Page.vala"
result = _tmp16_;
-#line 2485 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2447 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 15190 "Page.c"
+#line 14872 "Page.c"
}
static void single_photo_page_class_init (SinglePhotoPageClass * klass) {
-#line 1974 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1936 "/home/jens/Source/shotwell/src/Page.vala"
single_photo_page_parent_class = g_type_class_peek_parent (klass);
-#line 1974 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1936 "/home/jens/Source/shotwell/src/Page.vala"
g_type_class_add_private (klass, sizeof (SinglePhotoPagePrivate));
-#line 1974 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1936 "/home/jens/Source/shotwell/src/Page.vala"
((SinglePhotoPageClass *) klass)->is_zoom_supported = single_photo_page_real_is_zoom_supported;
-#line 1974 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1936 "/home/jens/Source/shotwell/src/Page.vala"
((SinglePhotoPageClass *) klass)->cancel_zoom = single_photo_page_real_cancel_zoom;
-#line 1974 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1936 "/home/jens/Source/shotwell/src/Page.vala"
((SinglePhotoPageClass *) klass)->save_zoom_state = single_photo_page_real_save_zoom_state;
-#line 1974 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1936 "/home/jens/Source/shotwell/src/Page.vala"
((SinglePhotoPageClass *) klass)->restore_zoom_state = single_photo_page_real_restore_zoom_state;
-#line 1974 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1936 "/home/jens/Source/shotwell/src/Page.vala"
((SinglePhotoPageClass *) klass)->get_zoom_buffer = single_photo_page_real_get_zoom_buffer;
-#line 1974 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1936 "/home/jens/Source/shotwell/src/Page.vala"
((PageClass *) klass)->switched_to = single_photo_page_real_switched_to;
-#line 1974 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1936 "/home/jens/Source/shotwell/src/Page.vala"
((PageClass *) klass)->set_container = single_photo_page_real_set_container;
-#line 1974 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1936 "/home/jens/Source/shotwell/src/Page.vala"
((PageClass *) klass)->on_resize_finished = single_photo_page_real_on_resize_finished;
-#line 1974 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1936 "/home/jens/Source/shotwell/src/Page.vala"
((SinglePhotoPageClass *) klass)->new_surface = single_photo_page_real_new_surface;
-#line 1974 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1936 "/home/jens/Source/shotwell/src/Page.vala"
((SinglePhotoPageClass *) klass)->updated_pixbuf = single_photo_page_real_updated_pixbuf;
-#line 1974 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1936 "/home/jens/Source/shotwell/src/Page.vala"
((SinglePhotoPageClass *) klass)->paint = single_photo_page_real_paint;
-#line 1974 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1936 "/home/jens/Source/shotwell/src/Page.vala"
((PageClass *) klass)->on_context_keypress = single_photo_page_real_on_context_keypress;
-#line 1974 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1936 "/home/jens/Source/shotwell/src/Page.vala"
((SinglePhotoPageClass *) klass)->on_previous_photo = single_photo_page_real_on_previous_photo;
-#line 1974 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1936 "/home/jens/Source/shotwell/src/Page.vala"
((SinglePhotoPageClass *) klass)->on_next_photo = single_photo_page_real_on_next_photo;
-#line 1974 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1936 "/home/jens/Source/shotwell/src/Page.vala"
((GtkWidgetClass *) klass)->key_press_event = single_photo_page_real_key_press_event;
-#line 1974 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1936 "/home/jens/Source/shotwell/src/Page.vala"
G_OBJECT_CLASS (klass)->finalize = single_photo_page_finalize;
-#line 15231 "Page.c"
+#line 14913 "Page.c"
}
static void single_photo_page_instance_init (SinglePhotoPage * self) {
GtkDrawingArea* _tmp0_ = NULL;
GtkViewport* _tmp1_ = NULL;
-#line 1974 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1936 "/home/jens/Source/shotwell/src/Page.vala"
self->priv = SINGLE_PHOTO_PAGE_GET_PRIVATE (self);
-#line 1985 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1947 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = (GtkDrawingArea*) gtk_drawing_area_new ();
-#line 1985 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1947 "/home/jens/Source/shotwell/src/Page.vala"
g_object_ref_sink (_tmp0_);
-#line 1985 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1947 "/home/jens/Source/shotwell/src/Page.vala"
self->canvas = _tmp0_;
-#line 1986 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1948 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = (GtkViewport*) gtk_viewport_new (NULL, NULL);
-#line 1986 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1948 "/home/jens/Source/shotwell/src/Page.vala"
g_object_ref_sink (_tmp1_);
-#line 1986 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1948 "/home/jens/Source/shotwell/src/Page.vala"
self->viewport = _tmp1_;
-#line 1990 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1952 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->transition_duration_msec = 0;
-#line 1991 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1953 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->pixmap = NULL;
-#line 1992 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1954 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->pixmap_ctx = NULL;
-#line 1993 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1955 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->text_ctx = NULL;
-#line 1994 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1956 "/home/jens/Source/shotwell/src/Page.vala"
dimensions_init (&self->priv->pixmap_dim, 0, 0);
-#line 1995 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1957 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->unscaled = NULL;
-#line 1996 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1958 "/home/jens/Source/shotwell/src/Page.vala"
dimensions_init (&self->priv->max_dim, 0, 0);
-#line 1997 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1959 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->scaled = NULL;
-#line 1998 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1960 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->old_scaled = NULL;
-#line 1999 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1961 "/home/jens/Source/shotwell/src/Page.vala"
memset (&self->priv->scaled_pos, 0, sizeof (GdkRectangle));
-#line 2001 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1963 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->zoom_high_quality = TRUE;
-#line 2003 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1965 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->has_saved_zoom_state = FALSE;
-#line 2004 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1966 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->last_nav_key = (guint32) 0;
-#line 15278 "Page.c"
+#line 14960 "Page.c"
}
static void single_photo_page_finalize (GObject* obj) {
SinglePhotoPage * self;
-#line 1974 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1936 "/home/jens/Source/shotwell/src/Page.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_SINGLE_PHOTO_PAGE, SinglePhotoPage);
-#line 1985 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1947 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->canvas);
-#line 1986 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1948 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->viewport);
-#line 1989 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1951 "/home/jens/Source/shotwell/src/Page.vala"
_transition_clock_unref0 (self->priv->transition_clock);
-#line 1991 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1953 "/home/jens/Source/shotwell/src/Page.vala"
_cairo_surface_destroy0 (self->priv->pixmap);
-#line 1992 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1954 "/home/jens/Source/shotwell/src/Page.vala"
_cairo_destroy0 (self->priv->pixmap_ctx);
-#line 1993 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1955 "/home/jens/Source/shotwell/src/Page.vala"
_cairo_destroy0 (self->priv->text_ctx);
-#line 1995 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1957 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->unscaled);
-#line 1997 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1959 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->scaled);
-#line 1998 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1960 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->old_scaled);
-#line 1974 "/home/jens/Source/shotwell/src/Page.vala"
+#line 1936 "/home/jens/Source/shotwell/src/Page.vala"
G_OBJECT_CLASS (single_photo_page_parent_class)->finalize (obj);
-#line 15306 "Page.c"
+#line 14988 "Page.c"
}
@@ -15319,32 +15001,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 2544 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2506 "/home/jens/Source/shotwell/src/Page.vala"
drag_and_drop_handler_on_drag_begin ((DragAndDropHandler*) self, context);
-#line 15325 "Page.c"
+#line 15007 "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 2545 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2507 "/home/jens/Source/shotwell/src/Page.vala"
drag_and_drop_handler_on_drag_data_get ((DragAndDropHandler*) self, context, selection_data, info, time_);
-#line 15332 "Page.c"
+#line 15014 "Page.c"
}
static void _drag_and_drop_handler_on_drag_end_gtk_widget_drag_end (GtkWidget* _sender, GdkDragContext* context, gpointer self) {
-#line 2546 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2508 "/home/jens/Source/shotwell/src/Page.vala"
drag_and_drop_handler_on_drag_end ((DragAndDropHandler*) self);
-#line 15339 "Page.c"
+#line 15021 "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 2547 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2509 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 15348 "Page.c"
+#line 15030 "Page.c"
}
@@ -15362,20 +15044,20 @@ static GType drag_and_drop_handler_target_type_get_type (void) {
static GdkAtom* _gdk_atom_dup (GdkAtom* self) {
GdkAtom* dup;
-#line 2522 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2484 "/home/jens/Source/shotwell/src/Page.vala"
dup = g_new0 (GdkAtom, 1);
-#line 2522 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2484 "/home/jens/Source/shotwell/src/Page.vala"
memcpy (dup, self, sizeof (GdkAtom));
-#line 2522 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2484 "/home/jens/Source/shotwell/src/Page.vala"
return dup;
-#line 15372 "Page.c"
+#line 15054 "Page.c"
}
static gpointer __gdk_atom_dup0 (gpointer self) {
-#line 2522 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2484 "/home/jens/Source/shotwell/src/Page.vala"
return self ? _gdk_atom_dup (self) : NULL;
-#line 15379 "Page.c"
+#line 15061 "Page.c"
}
@@ -15396,117 +15078,117 @@ DragAndDropHandler* drag_and_drop_handler_construct (GType object_type, Page* pa
GtkWidget* _tmp17_ = NULL;
GtkWidget* _tmp18_ = NULL;
GtkWidget* _tmp19_ = NULL;
-#line 2514 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2476 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_PAGE (page), NULL);
-#line 2514 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2476 "/home/jens/Source/shotwell/src/Page.vala"
self = (DragAndDropHandler*) g_type_create_instance (object_type);
-#line 2515 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2477 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = page;
-#line 2515 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2477 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->page = _tmp0_;
-#line 2516 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2478 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = page;
-#line 2516 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2478 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = page_get_event_source (_tmp1_);
-#line 2516 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2478 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->event_source);
-#line 2516 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2478 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->event_source = _tmp2_;
-#line 2517 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2479 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = self->priv->event_source;
-#line 2517 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2479 "/home/jens/Source/shotwell/src/Page.vala"
_vala_assert (_tmp3_ != NULL, "event_source != null");
-#line 2518 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2480 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = self->priv->event_source;
-#line 2518 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2480 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = gtk_widget_get_has_window (_tmp4_);
-#line 2518 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2480 "/home/jens/Source/shotwell/src/Page.vala"
_vala_assert (_tmp5_, "event_source.get_has_window()");
-#line 2521 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2483 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = drag_and_drop_handler_XDS_ATOM;
-#line 2521 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2483 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp6_ == NULL) {
-#line 15430 "Page.c"
+#line 15112 "Page.c"
GdkAtom _tmp7_ = 0U;
GdkAtom* _tmp8_ = NULL;
-#line 2522 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2484 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = gdk_atom_intern_static_string ("XdndDirectSave0");
-#line 2522 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2484 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = __gdk_atom_dup0 (&_tmp7_);
-#line 2522 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2484 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (drag_and_drop_handler_XDS_ATOM);
-#line 2522 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2484 "/home/jens/Source/shotwell/src/Page.vala"
drag_and_drop_handler_XDS_ATOM = _tmp8_;
-#line 15441 "Page.c"
+#line 15123 "Page.c"
}
-#line 2524 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2486 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = drag_and_drop_handler_TEXT_ATOM;
-#line 2524 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2486 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp9_ == NULL) {
-#line 15447 "Page.c"
+#line 15129 "Page.c"
GdkAtom _tmp10_ = 0U;
GdkAtom* _tmp11_ = NULL;
-#line 2525 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2487 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = gdk_atom_intern_static_string ("text/plain");
-#line 2525 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2487 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = __gdk_atom_dup0 (&_tmp10_);
-#line 2525 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2487 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (drag_and_drop_handler_TEXT_ATOM);
-#line 2525 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2487 "/home/jens/Source/shotwell/src/Page.vala"
drag_and_drop_handler_TEXT_ATOM = _tmp11_;
-#line 15458 "Page.c"
+#line 15140 "Page.c"
}
-#line 2527 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2489 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = drag_and_drop_handler_XDS_FAKE_TARGET;
-#line 2527 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2489 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12__length1 = drag_and_drop_handler_XDS_FAKE_TARGET_length1;
-#line 2527 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2489 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp12_ == NULL) {
-#line 15466 "Page.c"
+#line 15148 "Page.c"
gint _tmp13_ = 0;
guchar* _tmp14_ = NULL;
-#line 2528 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2490 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = string_to_uchar_array ("shotwell.txt", &_tmp13_);
-#line 2528 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2490 "/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 2528 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2490 "/home/jens/Source/shotwell/src/Page.vala"
drag_and_drop_handler_XDS_FAKE_TARGET = _tmp14_;
-#line 2528 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2490 "/home/jens/Source/shotwell/src/Page.vala"
drag_and_drop_handler_XDS_FAKE_TARGET_length1 = _tmp13_;
-#line 2528 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2490 "/home/jens/Source/shotwell/src/Page.vala"
_drag_and_drop_handler_XDS_FAKE_TARGET_size_ = drag_and_drop_handler_XDS_FAKE_TARGET_length1;
-#line 15479 "Page.c"
+#line 15161 "Page.c"
}
-#line 2531 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2493 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = self->priv->event_source;
-#line 2531 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2493 "/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 2536 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2498 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = self->priv->event_source;
-#line 2536 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2498 "/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 2537 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2499 "/home/jens/Source/shotwell/src/Page.vala"
_tmp17_ = self->priv->event_source;
-#line 2537 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2499 "/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 2538 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2500 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = self->priv->event_source;
-#line 2538 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2500 "/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 2539 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2501 "/home/jens/Source/shotwell/src/Page.vala"
_tmp19_ = self->priv->event_source;
-#line 2539 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2501 "/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 2514 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2476 "/home/jens/Source/shotwell/src/Page.vala"
return self;
-#line 15503 "Page.c"
+#line 15185 "Page.c"
}
DragAndDropHandler* drag_and_drop_handler_new (Page* page) {
-#line 2514 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2476 "/home/jens/Source/shotwell/src/Page.vala"
return drag_and_drop_handler_construct (TYPE_DRAG_AND_DROP_HANDLER, page);
-#line 15510 "Page.c"
+#line 15192 "Page.c"
}
@@ -15532,116 +15214,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 2554 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2516 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_DRAG_AND_DROP_HANDLER (self));
-#line 2554 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2516 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (GDK_IS_DRAG_CONTEXT (context));
-#line 2555 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2517 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->page;
-#line 2555 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2517 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = page_get_page_name (_tmp0_);
-#line 2555 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2517 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = _tmp1_;
-#line 2555 "/home/jens/Source/shotwell/src/Page.vala"
- g_debug ("Page.vala:2555: on_drag_begin (%s)", _tmp2_);
-#line 2555 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2517 "/home/jens/Source/shotwell/src/Page.vala"
+ g_debug ("Page.vala:2517: on_drag_begin (%s)", _tmp2_);
+#line 2517 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (_tmp2_);
-#line 2557 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2519 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = self->priv->page;
-#line 2557 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2519 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp5_ == NULL) {
-#line 2557 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2519 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = TRUE;
-#line 15556 "Page.c"
+#line 15238 "Page.c"
} else {
Page* _tmp6_ = NULL;
ViewCollection* _tmp7_ = NULL;
ViewCollection* _tmp8_ = NULL;
gint _tmp9_ = 0;
-#line 2557 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2519 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = self->priv->page;
-#line 2557 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2519 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = page_get_view (_tmp6_);
-#line 2557 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2519 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = _tmp7_;
-#line 2557 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2519 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = view_collection_get_selected_count (_tmp8_);
-#line 2557 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2519 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = _tmp9_ == 0;
-#line 2557 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2519 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp8_);
-#line 15574 "Page.c"
+#line 15256 "Page.c"
}
-#line 2557 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2519 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp4_) {
-#line 2557 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2519 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = TRUE;
-#line 15580 "Page.c"
+#line 15262 "Page.c"
} else {
ExporterUI* _tmp10_ = NULL;
-#line 2557 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2519 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = self->priv->exporter;
-#line 2557 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2519 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = _tmp10_ != NULL;
-#line 15587 "Page.c"
+#line 15269 "Page.c"
}
-#line 2557 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2519 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp3_) {
-#line 2558 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2520 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 15593 "Page.c"
+#line 15275 "Page.c"
}
-#line 2560 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2522 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->drag_destination);
-#line 2560 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2522 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->drag_destination = NULL;
-#line 2563 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2525 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = self->priv->page;
-#line 2563 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2525 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = page_get_view (_tmp11_);
-#line 2563 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2525 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = _tmp12_;
-#line 2563 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2525 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = view_collection_get_selected_at (_tmp13_, 0);
-#line 2563 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2525 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = _tmp14_;
-#line 2563 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2525 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = data_view_get_source (_tmp15_);
-#line 2563 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2525 "/home/jens/Source/shotwell/src/Page.vala"
_tmp17_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, TYPE_THUMBNAIL_SOURCE, ThumbnailSource);
-#line 2563 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2525 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp15_);
-#line 2563 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2525 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp13_);
-#line 2563 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2525 "/home/jens/Source/shotwell/src/Page.vala"
thumb = _tmp17_;
-#line 15619 "Page.c"
+#line 15301 "Page.c"
{
GdkPixbuf* icon = NULL;
ThumbnailSource* _tmp18_ = NULL;
GdkPixbuf* _tmp19_ = NULL;
GtkWidget* _tmp20_ = NULL;
GdkPixbuf* _tmp21_ = NULL;
-#line 2566 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2528 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = thumb;
-#line 2566 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2528 "/home/jens/Source/shotwell/src/Page.vala"
_tmp19_ = thumbnail_source_get_thumbnail (_tmp18_, APP_WINDOW_DND_ICON_SCALE, &_inner_error_);
-#line 2566 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2528 "/home/jens/Source/shotwell/src/Page.vala"
icon = _tmp19_;
-#line 2566 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2528 "/home/jens/Source/shotwell/src/Page.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 15634 "Page.c"
+#line 15316 "Page.c"
goto __catch252_g_error;
}
-#line 2567 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2529 "/home/jens/Source/shotwell/src/Page.vala"
_tmp20_ = self->priv->event_source;
-#line 2567 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2529 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = icon;
-#line 2567 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2529 "/home/jens/Source/shotwell/src/Page.vala"
gtk_drag_source_set_icon_pixbuf (_tmp20_, _tmp21_);
-#line 2565 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2527 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (icon);
-#line 15645 "Page.c"
+#line 15327 "Page.c"
}
goto __finally252;
__catch252_g_error:
@@ -15652,58 +15334,58 @@ static void drag_and_drop_handler_on_drag_begin (DragAndDropHandler* self, GdkDr
gchar* _tmp24_ = NULL;
GError* _tmp25_ = NULL;
const gchar* _tmp26_ = NULL;
-#line 2565 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2527 "/home/jens/Source/shotwell/src/Page.vala"
err = _inner_error_;
-#line 2565 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2527 "/home/jens/Source/shotwell/src/Page.vala"
_inner_error_ = NULL;
-#line 2569 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2531 "/home/jens/Source/shotwell/src/Page.vala"
_tmp22_ = thumb;
-#line 2569 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2531 "/home/jens/Source/shotwell/src/Page.vala"
_tmp23_ = data_object_to_string (G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, TYPE_DATA_OBJECT, DataObject));
-#line 2569 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2531 "/home/jens/Source/shotwell/src/Page.vala"
_tmp24_ = _tmp23_;
-#line 2569 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2531 "/home/jens/Source/shotwell/src/Page.vala"
_tmp25_ = err;
-#line 2569 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2531 "/home/jens/Source/shotwell/src/Page.vala"
_tmp26_ = _tmp25_->message;
-#line 2569 "/home/jens/Source/shotwell/src/Page.vala"
- g_warning ("Page.vala:2569: Unable to fetch icon for drag-and-drop from %s: %s", _tmp24_, _tmp26_);
-#line 2569 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2531 "/home/jens/Source/shotwell/src/Page.vala"
+ g_warning ("Page.vala:2531: Unable to fetch icon for drag-and-drop from %s: %s", _tmp24_, _tmp26_);
+#line 2531 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (_tmp24_);
-#line 2565 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2527 "/home/jens/Source/shotwell/src/Page.vala"
_g_error_free0 (err);
-#line 15676 "Page.c"
+#line 15358 "Page.c"
}
__finally252:
-#line 2565 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2527 "/home/jens/Source/shotwell/src/Page.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 2565 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2527 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (thumb);
-#line 2565 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2527 "/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 2565 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2527 "/home/jens/Source/shotwell/src/Page.vala"
g_clear_error (&_inner_error_);
-#line 2565 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2527 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 15689 "Page.c"
+#line 15371 "Page.c"
}
-#line 2575 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2537 "/home/jens/Source/shotwell/src/Page.vala"
_tmp27_ = context;
-#line 2575 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2537 "/home/jens/Source/shotwell/src/Page.vala"
_tmp28_ = gdk_drag_context_get_source_window (_tmp27_);
-#line 2575 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2537 "/home/jens/Source/shotwell/src/Page.vala"
_tmp29_ = drag_and_drop_handler_XDS_ATOM;
-#line 2575 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2537 "/home/jens/Source/shotwell/src/Page.vala"
_tmp30_ = drag_and_drop_handler_TEXT_ATOM;
-#line 2575 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2537 "/home/jens/Source/shotwell/src/Page.vala"
_tmp31_ = drag_and_drop_handler_XDS_FAKE_TARGET;
-#line 2575 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2537 "/home/jens/Source/shotwell/src/Page.vala"
_tmp31__length1 = drag_and_drop_handler_XDS_FAKE_TARGET_length1;
-#line 2575 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2537 "/home/jens/Source/shotwell/src/Page.vala"
gdk_property_change (_tmp28_, *_tmp29_, *_tmp30_, 8, GDK_PROP_MODE_REPLACE, (const guchar*) _tmp31_, 1);
-#line 2554 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2516 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (thumb);
-#line 15707 "Page.c"
+#line 15389 "Page.c"
}
@@ -15714,61 +15396,61 @@ static void drag_and_drop_handler_on_drag_data_get (DragAndDropHandler* self, Gd
gboolean _tmp3_ = FALSE;
Page* _tmp4_ = NULL;
guint _tmp9_ = 0U;
-#line 2583 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2545 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_DRAG_AND_DROP_HANDLER (self));
-#line 2583 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2545 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (GDK_IS_DRAG_CONTEXT (context));
-#line 2583 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2545 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (selection_data != NULL);
-#line 2585 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2547 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->page;
-#line 2585 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2547 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = page_get_page_name (_tmp0_);
-#line 2585 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2547 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = _tmp1_;
-#line 2585 "/home/jens/Source/shotwell/src/Page.vala"
- g_debug ("Page.vala:2585: on_drag_data_get (%s)", _tmp2_);
-#line 2585 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2547 "/home/jens/Source/shotwell/src/Page.vala"
+ g_debug ("Page.vala:2547: on_drag_data_get (%s)", _tmp2_);
+#line 2547 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (_tmp2_);
-#line 2587 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2549 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = self->priv->page;
-#line 2587 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2549 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp4_ == NULL) {
-#line 2587 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2549 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = TRUE;
-#line 15740 "Page.c"
+#line 15422 "Page.c"
} else {
Page* _tmp5_ = NULL;
ViewCollection* _tmp6_ = NULL;
ViewCollection* _tmp7_ = NULL;
gint _tmp8_ = 0;
-#line 2587 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2549 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = self->priv->page;
-#line 2587 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2549 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = page_get_view (_tmp5_);
-#line 2587 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2549 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = _tmp6_;
-#line 2587 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2549 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = view_collection_get_selected_count (_tmp7_);
-#line 2587 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2549 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = _tmp8_ == 0;
-#line 2587 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2549 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp7_);
-#line 15758 "Page.c"
+#line 15440 "Page.c"
}
-#line 2587 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2549 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp3_) {
-#line 2588 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2550 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 15764 "Page.c"
+#line 15446 "Page.c"
}
-#line 2590 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2552 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = target_type;
-#line 2590 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2552 "/home/jens/Source/shotwell/src/Page.vala"
switch (_tmp9_) {
-#line 2590 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2552 "/home/jens/Source/shotwell/src/Page.vala"
case DRAG_AND_DROP_HANDLER_TARGET_TYPE_XDS:
-#line 15772 "Page.c"
+#line 15454 "Page.c"
{
guchar* data = NULL;
guchar* _tmp10_ = NULL;
@@ -15804,83 +15486,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 2593 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2555 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = g_new0 (guchar, 4096);
-#line 2593 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2555 "/home/jens/Source/shotwell/src/Page.vala"
data = _tmp10_;
-#line 2593 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2555 "/home/jens/Source/shotwell/src/Page.vala"
data_length1 = 4096;
-#line 2593 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2555 "/home/jens/Source/shotwell/src/Page.vala"
_data_size_ = data_length1;
-#line 2595 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2557 "/home/jens/Source/shotwell/src/Page.vala"
actual_format = 0;
-#line 2596 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2558 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = context;
-#line 2596 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2558 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = gdk_drag_context_get_source_window (_tmp11_);
-#line 2596 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2558 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = drag_and_drop_handler_XDS_ATOM;
-#line 2596 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2558 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = drag_and_drop_handler_TEXT_ATOM;
-#line 2596 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2558 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = data;
-#line 2596 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2558 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15__length1 = data_length1;
-#line 2596 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2558 "/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 2596 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2558 "/home/jens/Source/shotwell/src/Page.vala"
actual_type = _tmp16_;
-#line 2596 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2558 "/home/jens/Source/shotwell/src/Page.vala"
actual_format = _tmp17_;
-#line 2596 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2558 "/home/jens/Source/shotwell/src/Page.vala"
data = (g_free (data), NULL);
-#line 2596 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2558 "/home/jens/Source/shotwell/src/Page.vala"
data = _tmp18_;
-#line 2596 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2558 "/home/jens/Source/shotwell/src/Page.vala"
data_length1 = _tmp19_;
-#line 2596 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2558 "/home/jens/Source/shotwell/src/Page.vala"
_data_size_ = data_length1;
-#line 2596 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2558 "/home/jens/Source/shotwell/src/Page.vala"
fetched = _tmp20_;
-#line 2601 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2563 "/home/jens/Source/shotwell/src/Page.vala"
_tmp23_ = fetched;
-#line 2601 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2563 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp23_) {
-#line 15850 "Page.c"
+#line 15532 "Page.c"
guchar* _tmp24_ = NULL;
gint _tmp24__length1 = 0;
-#line 2601 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2563 "/home/jens/Source/shotwell/src/Page.vala"
_tmp24_ = data;
-#line 2601 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2563 "/home/jens/Source/shotwell/src/Page.vala"
_tmp24__length1 = data_length1;
-#line 2601 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2563 "/home/jens/Source/shotwell/src/Page.vala"
_tmp22_ = _tmp24_ != NULL;
-#line 15859 "Page.c"
+#line 15541 "Page.c"
} else {
-#line 2601 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2563 "/home/jens/Source/shotwell/src/Page.vala"
_tmp22_ = FALSE;
-#line 15863 "Page.c"
+#line 15545 "Page.c"
}
-#line 2601 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2563 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp22_) {
-#line 15867 "Page.c"
+#line 15549 "Page.c"
guchar* _tmp25_ = NULL;
gint _tmp25__length1 = 0;
-#line 2601 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2563 "/home/jens/Source/shotwell/src/Page.vala"
_tmp25_ = data;
-#line 2601 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2563 "/home/jens/Source/shotwell/src/Page.vala"
_tmp25__length1 = data_length1;
-#line 2601 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2563 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = _tmp25__length1 > 0;
-#line 15876 "Page.c"
+#line 15558 "Page.c"
} else {
-#line 2601 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2563 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = FALSE;
-#line 15880 "Page.c"
+#line 15562 "Page.c"
}
-#line 2601 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2563 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp21_) {
-#line 15884 "Page.c"
+#line 15566 "Page.c"
guchar* _tmp26_ = NULL;
gint _tmp26__length1 = 0;
gchar* _tmp27_ = NULL;
@@ -15888,103 +15570,103 @@ static void drag_and_drop_handler_on_drag_data_get (DragAndDropHandler* self, Gd
GFile* _tmp29_ = NULL;
GFile* _tmp30_ = NULL;
GFile* _tmp31_ = NULL;
-#line 2602 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2564 "/home/jens/Source/shotwell/src/Page.vala"
_tmp26_ = data;
-#line 2602 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2564 "/home/jens/Source/shotwell/src/Page.vala"
_tmp26__length1 = data_length1;
-#line 2602 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2564 "/home/jens/Source/shotwell/src/Page.vala"
_tmp27_ = uchar_array_to_string (_tmp26_, _tmp26__length1, -1);
-#line 2602 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2564 "/home/jens/Source/shotwell/src/Page.vala"
_tmp28_ = _tmp27_;
-#line 2602 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2564 "/home/jens/Source/shotwell/src/Page.vala"
_tmp29_ = g_file_new_for_uri (_tmp28_);
-#line 2602 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2564 "/home/jens/Source/shotwell/src/Page.vala"
_tmp30_ = _tmp29_;
-#line 2602 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2564 "/home/jens/Source/shotwell/src/Page.vala"
_tmp31_ = g_file_get_parent (_tmp30_);
-#line 2602 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2564 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->drag_destination);
-#line 2602 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2564 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->drag_destination = _tmp31_;
-#line 2602 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2564 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp30_);
-#line 2602 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2564 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (_tmp28_);
-#line 15914 "Page.c"
+#line 15596 "Page.c"
}
-#line 2605 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2567 "/home/jens/Source/shotwell/src/Page.vala"
_tmp33_ = self->priv->drag_destination;
-#line 2605 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2567 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp33_ != NULL) {
-#line 15920 "Page.c"
+#line 15602 "Page.c"
GFile* _tmp34_ = NULL;
gchar* _tmp35_ = NULL;
-#line 2605 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2567 "/home/jens/Source/shotwell/src/Page.vala"
_tmp34_ = self->priv->drag_destination;
-#line 2605 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2567 "/home/jens/Source/shotwell/src/Page.vala"
_tmp35_ = g_file_get_path (_tmp34_);
-#line 2605 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2567 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (_tmp32_);
-#line 2605 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2567 "/home/jens/Source/shotwell/src/Page.vala"
_tmp32_ = _tmp35_;
-#line 15931 "Page.c"
+#line 15613 "Page.c"
} else {
gchar* _tmp36_ = NULL;
-#line 2605 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2567 "/home/jens/Source/shotwell/src/Page.vala"
_tmp36_ = g_strdup ("(no path)");
-#line 2605 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2567 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (_tmp32_);
-#line 2605 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2567 "/home/jens/Source/shotwell/src/Page.vala"
_tmp32_ = _tmp36_;
-#line 15940 "Page.c"
+#line 15622 "Page.c"
}
-#line 2604 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2566 "/home/jens/Source/shotwell/src/Page.vala"
_tmp37_ = self->priv->page;
-#line 2604 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2566 "/home/jens/Source/shotwell/src/Page.vala"
_tmp38_ = page_get_page_name (_tmp37_);
-#line 2604 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2566 "/home/jens/Source/shotwell/src/Page.vala"
_tmp39_ = _tmp38_;
-#line 2604 "/home/jens/Source/shotwell/src/Page.vala"
- g_debug ("Page.vala:2604: on_drag_data_get (%s): %s", _tmp39_, _tmp32_);
-#line 2604 "/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): %s", _tmp39_, _tmp32_);
+#line 2566 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (_tmp39_);
-#line 2609 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2571 "/home/jens/Source/shotwell/src/Page.vala"
_tmp41_ = self->priv->drag_destination;
-#line 2609 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2571 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp41_ != NULL) {
-#line 2609 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2571 "/home/jens/Source/shotwell/src/Page.vala"
_tmp40_ = "S";
-#line 15958 "Page.c"
+#line 15640 "Page.c"
} else {
-#line 2609 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2571 "/home/jens/Source/shotwell/src/Page.vala"
_tmp40_ = "E";
-#line 15962 "Page.c"
+#line 15644 "Page.c"
}
-#line 2608 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2570 "/home/jens/Source/shotwell/src/Page.vala"
_tmp42_ = selection_data;
-#line 2608 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2570 "/home/jens/Source/shotwell/src/Page.vala"
_tmp43_ = drag_and_drop_handler_XDS_ATOM;
-#line 2608 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2570 "/home/jens/Source/shotwell/src/Page.vala"
_tmp45_ = string_to_uchar_array (_tmp40_, &_tmp44_);
-#line 2608 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2570 "/home/jens/Source/shotwell/src/Page.vala"
_tmp46_ = _tmp45_;
-#line 2608 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2570 "/home/jens/Source/shotwell/src/Page.vala"
_tmp46__length1 = _tmp44_;
-#line 2608 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2570 "/home/jens/Source/shotwell/src/Page.vala"
gtk_selection_data_set (_tmp42_, *_tmp43_, 8, _tmp46_, _tmp44_);
-#line 2608 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2570 "/home/jens/Source/shotwell/src/Page.vala"
_tmp46_ = (g_free (_tmp46_), NULL);
-#line 2610 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2572 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (_tmp32_);
-#line 2610 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2572 "/home/jens/Source/shotwell/src/Page.vala"
data = (g_free (data), NULL);
-#line 2610 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2572 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 15984 "Page.c"
+#line 15666 "Page.c"
}
-#line 2590 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2552 "/home/jens/Source/shotwell/src/Page.vala"
case DRAG_AND_DROP_HANDLER_TARGET_TYPE_MEDIA_LIST:
-#line 15988 "Page.c"
+#line 15670 "Page.c"
{
GeeCollection* sources = NULL;
Page* _tmp47_ = NULL;
@@ -15999,41 +15681,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 2613 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2575 "/home/jens/Source/shotwell/src/Page.vala"
_tmp47_ = self->priv->page;
-#line 2613 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2575 "/home/jens/Source/shotwell/src/Page.vala"
_tmp48_ = page_get_view (_tmp47_);
-#line 2613 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2575 "/home/jens/Source/shotwell/src/Page.vala"
_tmp49_ = _tmp48_;
-#line 2613 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2575 "/home/jens/Source/shotwell/src/Page.vala"
_tmp50_ = view_collection_get_selected_sources (_tmp49_);
-#line 2613 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2575 "/home/jens/Source/shotwell/src/Page.vala"
_tmp51_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp50_, GEE_TYPE_COLLECTION, GeeCollection);
-#line 2613 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2575 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp49_);
-#line 2613 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2575 "/home/jens/Source/shotwell/src/Page.vala"
sources = _tmp51_;
-#line 2618 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2580 "/home/jens/Source/shotwell/src/Page.vala"
_tmp52_ = selection_data;
-#line 2618 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2580 "/home/jens/Source/shotwell/src/Page.vala"
_tmp53_ = gdk_atom_intern_static_string ("SourceIDAtom");
-#line 2618 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2580 "/home/jens/Source/shotwell/src/Page.vala"
_tmp54_ = sources;
-#line 2618 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2580 "/home/jens/Source/shotwell/src/Page.vala"
_tmp56_ = serialize_media_sources (_tmp54_, &_tmp55_);
-#line 2618 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2580 "/home/jens/Source/shotwell/src/Page.vala"
_tmp57_ = _tmp56_;
-#line 2618 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2580 "/home/jens/Source/shotwell/src/Page.vala"
_tmp57__length1 = _tmp55_;
-#line 2618 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2580 "/home/jens/Source/shotwell/src/Page.vala"
gtk_selection_data_set (_tmp52_, _tmp53_, (gint) sizeof (GdkAtom), _tmp57_, _tmp55_);
-#line 2618 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2580 "/home/jens/Source/shotwell/src/Page.vala"
_tmp57_ = (g_free (_tmp57_), NULL);
-#line 2620 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2582 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (sources);
-#line 2620 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2582 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 16037 "Page.c"
+#line 15719 "Page.c"
}
default:
{
@@ -16041,30 +15723,30 @@ static void drag_and_drop_handler_on_drag_data_get (DragAndDropHandler* self, Gd
gchar* _tmp59_ = NULL;
gchar* _tmp60_ = NULL;
guint _tmp61_ = 0U;
-#line 2623 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2585 "/home/jens/Source/shotwell/src/Page.vala"
_tmp58_ = self->priv->page;
-#line 2623 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2585 "/home/jens/Source/shotwell/src/Page.vala"
_tmp59_ = page_get_page_name (_tmp58_);
-#line 2623 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2585 "/home/jens/Source/shotwell/src/Page.vala"
_tmp60_ = _tmp59_;
-#line 2623 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2585 "/home/jens/Source/shotwell/src/Page.vala"
_tmp61_ = target_type;
-#line 2623 "/home/jens/Source/shotwell/src/Page.vala"
- g_warning ("Page.vala:2623: on_drag_data_get (%s): unknown target type %u", _tmp60_, _tmp61_);
-#line 2623 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2585 "/home/jens/Source/shotwell/src/Page.vala"
+ g_warning ("Page.vala:2585: on_drag_data_get (%s): unknown target type %u", _tmp60_, _tmp61_);
+#line 2585 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (_tmp60_);
-#line 2625 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2587 "/home/jens/Source/shotwell/src/Page.vala"
break;
-#line 16059 "Page.c"
+#line 15741 "Page.c"
}
}
}
static void _drag_and_drop_handler_on_export_completed_exporter_completion_callback (Exporter* exporter, gboolean is_cancelled, gpointer self) {
-#line 2646 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2608 "/home/jens/Source/shotwell/src/Page.vala"
drag_and_drop_handler_on_export_completed ((DragAndDropHandler*) self);
-#line 16068 "Page.c"
+#line 15750 "Page.c"
}
@@ -16083,99 +15765,99 @@ static void drag_and_drop_handler_on_drag_end (DragAndDropHandler* self) {
gchar* _tmp17_ = NULL;
gchar* _tmp18_ = NULL;
gboolean _tmp19_ = FALSE;
-#line 2629 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2591 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_DRAG_AND_DROP_HANDLER (self));
-#line 2630 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2592 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->page;
-#line 2630 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2592 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = page_get_page_name (_tmp0_);
-#line 2630 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2592 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = _tmp1_;
-#line 2630 "/home/jens/Source/shotwell/src/Page.vala"
- g_debug ("Page.vala:2630: on_drag_end (%s)", _tmp2_);
-#line 2630 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2592 "/home/jens/Source/shotwell/src/Page.vala"
+ g_debug ("Page.vala:2592: on_drag_end (%s)", _tmp2_);
+#line 2592 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (_tmp2_);
-#line 2632 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2594 "/home/jens/Source/shotwell/src/Page.vala"
_tmp6_ = self->priv->page;
-#line 2632 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2594 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp6_ == NULL) {
-#line 2632 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2594 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = TRUE;
-#line 16105 "Page.c"
+#line 15787 "Page.c"
} else {
Page* _tmp7_ = NULL;
ViewCollection* _tmp8_ = NULL;
ViewCollection* _tmp9_ = NULL;
gint _tmp10_ = 0;
-#line 2632 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2594 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = self->priv->page;
-#line 2632 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2594 "/home/jens/Source/shotwell/src/Page.vala"
_tmp8_ = page_get_view (_tmp7_);
-#line 2632 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2594 "/home/jens/Source/shotwell/src/Page.vala"
_tmp9_ = _tmp8_;
-#line 2632 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2594 "/home/jens/Source/shotwell/src/Page.vala"
_tmp10_ = view_collection_get_selected_count (_tmp9_);
-#line 2632 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2594 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = _tmp10_ == 0;
-#line 2632 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2594 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp9_);
-#line 16123 "Page.c"
+#line 15805 "Page.c"
}
-#line 2632 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2594 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp5_) {
-#line 2632 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2594 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = TRUE;
-#line 16129 "Page.c"
+#line 15811 "Page.c"
} else {
GFile* _tmp11_ = NULL;
-#line 2632 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2594 "/home/jens/Source/shotwell/src/Page.vala"
_tmp11_ = self->priv->drag_destination;
-#line 2632 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2594 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = _tmp11_ == NULL;
-#line 16136 "Page.c"
+#line 15818 "Page.c"
}
-#line 2632 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2594 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp4_) {
-#line 2632 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2594 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = TRUE;
-#line 16142 "Page.c"
+#line 15824 "Page.c"
} else {
ExporterUI* _tmp12_ = NULL;
-#line 2633 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2595 "/home/jens/Source/shotwell/src/Page.vala"
_tmp12_ = self->priv->exporter;
-#line 2633 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2595 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = _tmp12_ != NULL;
-#line 16149 "Page.c"
+#line 15831 "Page.c"
}
-#line 2632 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2594 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp3_) {
-#line 2634 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2596 "/home/jens/Source/shotwell/src/Page.vala"
return;
-#line 16155 "Page.c"
+#line 15837 "Page.c"
}
-#line 2637 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2599 "/home/jens/Source/shotwell/src/Page.vala"
_tmp13_ = self->priv->drag_destination;
-#line 2637 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2599 "/home/jens/Source/shotwell/src/Page.vala"
_tmp14_ = g_file_get_path (_tmp13_);
-#line 2637 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2599 "/home/jens/Source/shotwell/src/Page.vala"
_tmp15_ = _tmp14_;
-#line 2637 "/home/jens/Source/shotwell/src/Page.vala"
- g_debug ("Page.vala:2637: Exporting to %s", _tmp15_);
-#line 2637 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2599 "/home/jens/Source/shotwell/src/Page.vala"
+ g_debug ("Page.vala:2599: Exporting to %s", _tmp15_);
+#line 2599 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (_tmp15_);
-#line 2642 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2604 "/home/jens/Source/shotwell/src/Page.vala"
_tmp16_ = self->priv->drag_destination;
-#line 2642 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2604 "/home/jens/Source/shotwell/src/Page.vala"
_tmp17_ = g_file_get_path (_tmp16_);
-#line 2642 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2604 "/home/jens/Source/shotwell/src/Page.vala"
_tmp18_ = _tmp17_;
-#line 2642 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2604 "/home/jens/Source/shotwell/src/Page.vala"
_tmp19_ = _tmp18_ != NULL;
-#line 2642 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2604 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (_tmp18_);
-#line 2642 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2604 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp19_) {
-#line 16179 "Page.c"
+#line 15861 "Page.c"
Page* _tmp20_ = NULL;
ViewCollection* _tmp21_ = NULL;
ViewCollection* _tmp22_ = NULL;
@@ -16188,56 +15870,56 @@ static void drag_and_drop_handler_on_drag_end (DragAndDropHandler* self) {
Exporter* _tmp29_ = NULL;
ExporterUI* _tmp30_ = NULL;
ExporterUI* _tmp31_ = NULL;
-#line 2643 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2605 "/home/jens/Source/shotwell/src/Page.vala"
_tmp20_ = self->priv->page;
-#line 2643 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2605 "/home/jens/Source/shotwell/src/Page.vala"
_tmp21_ = page_get_view (_tmp20_);
-#line 2643 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2605 "/home/jens/Source/shotwell/src/Page.vala"
_tmp22_ = _tmp21_;
-#line 2643 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2605 "/home/jens/Source/shotwell/src/Page.vala"
_tmp23_ = view_collection_get_selected_sources (_tmp22_);
-#line 2643 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2605 "/home/jens/Source/shotwell/src/Page.vala"
_tmp24_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, GEE_TYPE_COLLECTION, GeeCollection);
-#line 2643 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2605 "/home/jens/Source/shotwell/src/Page.vala"
_tmp25_ = self->priv->drag_destination;
-#line 2643 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2605 "/home/jens/Source/shotwell/src/Page.vala"
scaling_for_original (&_tmp26_);
-#line 2643 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2605 "/home/jens/Source/shotwell/src/Page.vala"
export_format_parameters_current (&_tmp27_);
-#line 2643 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2605 "/home/jens/Source/shotwell/src/Page.vala"
_tmp28_ = exporter_new (_tmp24_, _tmp25_, &_tmp26_, &_tmp27_, FALSE);
-#line 2643 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2605 "/home/jens/Source/shotwell/src/Page.vala"
_tmp29_ = _tmp28_;
-#line 2643 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2605 "/home/jens/Source/shotwell/src/Page.vala"
_tmp30_ = exporter_ui_new (_tmp29_);
-#line 2643 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2605 "/home/jens/Source/shotwell/src/Page.vala"
_exporter_ui_unref0 (self->priv->exporter);
-#line 2643 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2605 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->exporter = _tmp30_;
-#line 2643 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2605 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp29_);
-#line 2643 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2605 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (_tmp24_);
-#line 2643 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2605 "/home/jens/Source/shotwell/src/Page.vala"
_data_collection_unref0 (_tmp22_);
-#line 2646 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2608 "/home/jens/Source/shotwell/src/Page.vala"
_tmp31_ = self->priv->exporter;
-#line 2646 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2608 "/home/jens/Source/shotwell/src/Page.vala"
exporter_ui_export (_tmp31_, _drag_and_drop_handler_on_export_completed_exporter_completion_callback, self);
-#line 16228 "Page.c"
+#line 15910 "Page.c"
} else {
const gchar* _tmp32_ = NULL;
-#line 2648 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2610 "/home/jens/Source/shotwell/src/Page.vala"
_tmp32_ = _ ("Photos cannot be exported to this directory.");
-#line 2648 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2610 "/home/jens/Source/shotwell/src/Page.vala"
app_window_error_message (_tmp32_, NULL);
-#line 16235 "Page.c"
+#line 15917 "Page.c"
}
-#line 2651 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2613 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->drag_destination);
-#line 2651 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2613 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->drag_destination = NULL;
-#line 16241 "Page.c"
+#line 15923 "Page.c"
}
@@ -16248,271 +15930,271 @@ static gboolean drag_and_drop_handler_on_drag_failed (DragAndDropHandler* self,
gchar* _tmp2_ = NULL;
GtkDragResult _tmp3_ = 0;
Page* _tmp4_ = NULL;
-#line 2654 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2616 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (IS_DRAG_AND_DROP_HANDLER (self), FALSE);
-#line 2654 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2616 "/home/jens/Source/shotwell/src/Page.vala"
g_return_val_if_fail (GDK_IS_DRAG_CONTEXT (context), FALSE);
-#line 2655 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2617 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->page;
-#line 2655 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2617 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = page_get_page_name (_tmp0_);
-#line 2655 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2617 "/home/jens/Source/shotwell/src/Page.vala"
_tmp2_ = _tmp1_;
-#line 2655 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2617 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = drag_result;
-#line 2655 "/home/jens/Source/shotwell/src/Page.vala"
- g_debug ("Page.vala:2655: on_drag_failed (%s): %d", _tmp2_, (gint) _tmp3_);
-#line 2655 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2617 "/home/jens/Source/shotwell/src/Page.vala"
+ g_debug ("Page.vala:2617: on_drag_failed (%s): %d", _tmp2_, (gint) _tmp3_);
+#line 2617 "/home/jens/Source/shotwell/src/Page.vala"
_g_free0 (_tmp2_);
-#line 2657 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2619 "/home/jens/Source/shotwell/src/Page.vala"
_tmp4_ = self->priv->page;
-#line 2657 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2619 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp4_ == NULL) {
-#line 2658 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2620 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 2658 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2620 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 16276 "Page.c"
+#line 15958 "Page.c"
}
-#line 2660 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2622 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->drag_destination);
-#line 2660 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2622 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->drag_destination = NULL;
-#line 2662 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2624 "/home/jens/Source/shotwell/src/Page.vala"
result = FALSE;
-#line 2662 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2624 "/home/jens/Source/shotwell/src/Page.vala"
return result;
-#line 16286 "Page.c"
+#line 15968 "Page.c"
}
static void drag_and_drop_handler_on_export_completed (DragAndDropHandler* self) {
-#line 2665 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2627 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (IS_DRAG_AND_DROP_HANDLER (self));
-#line 2666 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2628 "/home/jens/Source/shotwell/src/Page.vala"
_exporter_ui_unref0 (self->priv->exporter);
-#line 2666 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2628 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->exporter = NULL;
-#line 16297 "Page.c"
+#line 15979 "Page.c"
}
static void value_drag_and_drop_handler_init (GValue* value) {
-#line 2494 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2456 "/home/jens/Source/shotwell/src/Page.vala"
value->data[0].v_pointer = NULL;
-#line 16304 "Page.c"
+#line 15986 "Page.c"
}
static void value_drag_and_drop_handler_free_value (GValue* value) {
-#line 2494 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2456 "/home/jens/Source/shotwell/src/Page.vala"
if (value->data[0].v_pointer) {
-#line 2494 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2456 "/home/jens/Source/shotwell/src/Page.vala"
drag_and_drop_handler_unref (value->data[0].v_pointer);
-#line 16313 "Page.c"
+#line 15995 "Page.c"
}
}
static void value_drag_and_drop_handler_copy_value (const GValue* src_value, GValue* dest_value) {
-#line 2494 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2456 "/home/jens/Source/shotwell/src/Page.vala"
if (src_value->data[0].v_pointer) {
-#line 2494 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2456 "/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 16323 "Page.c"
+#line 16005 "Page.c"
} else {
-#line 2494 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2456 "/home/jens/Source/shotwell/src/Page.vala"
dest_value->data[0].v_pointer = NULL;
-#line 16327 "Page.c"
+#line 16009 "Page.c"
}
}
static gpointer value_drag_and_drop_handler_peek_pointer (const GValue* value) {
-#line 2494 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2456 "/home/jens/Source/shotwell/src/Page.vala"
return value->data[0].v_pointer;
-#line 16335 "Page.c"
+#line 16017 "Page.c"
}
static gchar* value_drag_and_drop_handler_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
-#line 2494 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2456 "/home/jens/Source/shotwell/src/Page.vala"
if (collect_values[0].v_pointer) {
-#line 16342 "Page.c"
+#line 16024 "Page.c"
DragAndDropHandler* object;
object = collect_values[0].v_pointer;
-#line 2494 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2456 "/home/jens/Source/shotwell/src/Page.vala"
if (object->parent_instance.g_class == NULL) {
-#line 2494 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2456 "/home/jens/Source/shotwell/src/Page.vala"
return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 16349 "Page.c"
+#line 16031 "Page.c"
} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
-#line 2494 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2456 "/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 16353 "Page.c"
+#line 16035 "Page.c"
}
-#line 2494 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2456 "/home/jens/Source/shotwell/src/Page.vala"
value->data[0].v_pointer = drag_and_drop_handler_ref (object);
-#line 16357 "Page.c"
+#line 16039 "Page.c"
} else {
-#line 2494 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2456 "/home/jens/Source/shotwell/src/Page.vala"
value->data[0].v_pointer = NULL;
-#line 16361 "Page.c"
+#line 16043 "Page.c"
}
-#line 2494 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2456 "/home/jens/Source/shotwell/src/Page.vala"
return NULL;
-#line 16365 "Page.c"
+#line 16047 "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 2494 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2456 "/home/jens/Source/shotwell/src/Page.vala"
if (!object_p) {
-#line 2494 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2456 "/home/jens/Source/shotwell/src/Page.vala"
return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
-#line 16376 "Page.c"
+#line 16058 "Page.c"
}
-#line 2494 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2456 "/home/jens/Source/shotwell/src/Page.vala"
if (!value->data[0].v_pointer) {
-#line 2494 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2456 "/home/jens/Source/shotwell/src/Page.vala"
*object_p = NULL;
-#line 16382 "Page.c"
+#line 16064 "Page.c"
} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
-#line 2494 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2456 "/home/jens/Source/shotwell/src/Page.vala"
*object_p = value->data[0].v_pointer;
-#line 16386 "Page.c"
+#line 16068 "Page.c"
} else {
-#line 2494 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2456 "/home/jens/Source/shotwell/src/Page.vala"
*object_p = drag_and_drop_handler_ref (value->data[0].v_pointer);
-#line 16390 "Page.c"
+#line 16072 "Page.c"
}
-#line 2494 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2456 "/home/jens/Source/shotwell/src/Page.vala"
return NULL;
-#line 16394 "Page.c"
+#line 16076 "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 2494 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2456 "/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 2494 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2456 "/home/jens/Source/shotwell/src/Page.vala"
spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags);
-#line 2494 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2456 "/home/jens/Source/shotwell/src/Page.vala"
G_PARAM_SPEC (spec)->value_type = object_type;
-#line 2494 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2456 "/home/jens/Source/shotwell/src/Page.vala"
return G_PARAM_SPEC (spec);
-#line 16408 "Page.c"
+#line 16090 "Page.c"
}
gpointer value_get_drag_and_drop_handler (const GValue* value) {
-#line 2494 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2456 "/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 2494 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2456 "/home/jens/Source/shotwell/src/Page.vala"
return value->data[0].v_pointer;
-#line 16417 "Page.c"
+#line 16099 "Page.c"
}
void value_set_drag_and_drop_handler (GValue* value, gpointer v_object) {
DragAndDropHandler* old;
-#line 2494 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2456 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_DRAG_AND_DROP_HANDLER));
-#line 2494 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2456 "/home/jens/Source/shotwell/src/Page.vala"
old = value->data[0].v_pointer;
-#line 2494 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2456 "/home/jens/Source/shotwell/src/Page.vala"
if (v_object) {
-#line 2494 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2456 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TYPE_DRAG_AND_DROP_HANDLER));
-#line 2494 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2456 "/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 2494 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2456 "/home/jens/Source/shotwell/src/Page.vala"
value->data[0].v_pointer = v_object;
-#line 2494 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2456 "/home/jens/Source/shotwell/src/Page.vala"
drag_and_drop_handler_ref (value->data[0].v_pointer);
-#line 16437 "Page.c"
+#line 16119 "Page.c"
} else {
-#line 2494 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2456 "/home/jens/Source/shotwell/src/Page.vala"
value->data[0].v_pointer = NULL;
-#line 16441 "Page.c"
+#line 16123 "Page.c"
}
-#line 2494 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2456 "/home/jens/Source/shotwell/src/Page.vala"
if (old) {
-#line 2494 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2456 "/home/jens/Source/shotwell/src/Page.vala"
drag_and_drop_handler_unref (old);
-#line 16447 "Page.c"
+#line 16129 "Page.c"
}
}
void value_take_drag_and_drop_handler (GValue* value, gpointer v_object) {
DragAndDropHandler* old;
-#line 2494 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2456 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_DRAG_AND_DROP_HANDLER));
-#line 2494 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2456 "/home/jens/Source/shotwell/src/Page.vala"
old = value->data[0].v_pointer;
-#line 2494 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2456 "/home/jens/Source/shotwell/src/Page.vala"
if (v_object) {
-#line 2494 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2456 "/home/jens/Source/shotwell/src/Page.vala"
g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, TYPE_DRAG_AND_DROP_HANDLER));
-#line 2494 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2456 "/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 2494 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2456 "/home/jens/Source/shotwell/src/Page.vala"
value->data[0].v_pointer = v_object;
-#line 16466 "Page.c"
+#line 16148 "Page.c"
} else {
-#line 2494 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2456 "/home/jens/Source/shotwell/src/Page.vala"
value->data[0].v_pointer = NULL;
-#line 16470 "Page.c"
+#line 16152 "Page.c"
}
-#line 2494 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2456 "/home/jens/Source/shotwell/src/Page.vala"
if (old) {
-#line 2494 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2456 "/home/jens/Source/shotwell/src/Page.vala"
drag_and_drop_handler_unref (old);
-#line 16476 "Page.c"
+#line 16158 "Page.c"
}
}
static void drag_and_drop_handler_class_init (DragAndDropHandlerClass * klass) {
-#line 2494 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2456 "/home/jens/Source/shotwell/src/Page.vala"
drag_and_drop_handler_parent_class = g_type_class_peek_parent (klass);
-#line 2494 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2456 "/home/jens/Source/shotwell/src/Page.vala"
((DragAndDropHandlerClass *) klass)->finalize = drag_and_drop_handler_finalize;
-#line 2494 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2456 "/home/jens/Source/shotwell/src/Page.vala"
g_type_class_add_private (klass, sizeof (DragAndDropHandlerPrivate));
-#line 16488 "Page.c"
+#line 16170 "Page.c"
}
static void drag_and_drop_handler_instance_init (DragAndDropHandler * self) {
-#line 2494 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2456 "/home/jens/Source/shotwell/src/Page.vala"
self->priv = DRAG_AND_DROP_HANDLER_GET_PRIVATE (self);
-#line 2511 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2473 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->drag_destination = NULL;
-#line 2512 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2474 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->exporter = NULL;
-#line 2494 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2456 "/home/jens/Source/shotwell/src/Page.vala"
self->ref_count = 1;
-#line 16501 "Page.c"
+#line 16183 "Page.c"
}
static void drag_and_drop_handler_finalize (DragAndDropHandler* obj) {
DragAndDropHandler * self;
GtkWidget* _tmp0_ = NULL;
-#line 2494 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2456 "/home/jens/Source/shotwell/src/Page.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_DRAG_AND_DROP_HANDLER, DragAndDropHandler);
-#line 2494 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2456 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_handlers_destroy (self);
-#line 2543 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2505 "/home/jens/Source/shotwell/src/Page.vala"
_tmp0_ = self->priv->event_source;
-#line 2543 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2505 "/home/jens/Source/shotwell/src/Page.vala"
if (_tmp0_ != NULL) {
-#line 16516 "Page.c"
+#line 16198 "Page.c"
GtkWidget* _tmp1_ = NULL;
guint _tmp2_ = 0U;
GtkWidget* _tmp3_ = NULL;
@@ -16521,45 +16203,45 @@ static void drag_and_drop_handler_finalize (DragAndDropHandler* obj) {
guint _tmp6_ = 0U;
GtkWidget* _tmp7_ = NULL;
guint _tmp8_ = 0U;
-#line 2544 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2506 "/home/jens/Source/shotwell/src/Page.vala"
_tmp1_ = self->priv->event_source;
-#line 2544 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2506 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_parse_name ("drag-begin", gtk_widget_get_type (), &_tmp2_, NULL, FALSE);
-#line 2544 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2506 "/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 2545 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2507 "/home/jens/Source/shotwell/src/Page.vala"
_tmp3_ = self->priv->event_source;
-#line 2545 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2507 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_parse_name ("drag-data-get", gtk_widget_get_type (), &_tmp4_, NULL, FALSE);
-#line 2545 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2507 "/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 2546 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2508 "/home/jens/Source/shotwell/src/Page.vala"
_tmp5_ = self->priv->event_source;
-#line 2546 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2508 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_parse_name ("drag-end", gtk_widget_get_type (), &_tmp6_, NULL, FALSE);
-#line 2546 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2508 "/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 2547 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2509 "/home/jens/Source/shotwell/src/Page.vala"
_tmp7_ = self->priv->event_source;
-#line 2547 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2509 "/home/jens/Source/shotwell/src/Page.vala"
g_signal_parse_name ("drag-failed", gtk_widget_get_type (), &_tmp8_, NULL, FALSE);
-#line 2547 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2509 "/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 16549 "Page.c"
+#line 16231 "Page.c"
}
-#line 2550 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2512 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->page = NULL;
-#line 2551 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2513 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->event_source);
-#line 2551 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2513 "/home/jens/Source/shotwell/src/Page.vala"
self->priv->event_source = NULL;
-#line 2510 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2472 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->event_source);
-#line 2511 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2473 "/home/jens/Source/shotwell/src/Page.vala"
_g_object_unref0 (self->priv->drag_destination);
-#line 2512 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2474 "/home/jens/Source/shotwell/src/Page.vala"
_exporter_ui_unref0 (self->priv->exporter);
-#line 16563 "Page.c"
+#line 16245 "Page.c"
}
@@ -16580,24 +16262,24 @@ GType drag_and_drop_handler_get_type (void) {
gpointer drag_and_drop_handler_ref (gpointer instance) {
DragAndDropHandler* self;
self = instance;
-#line 2494 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2456 "/home/jens/Source/shotwell/src/Page.vala"
g_atomic_int_inc (&self->ref_count);
-#line 2494 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2456 "/home/jens/Source/shotwell/src/Page.vala"
return instance;
-#line 16588 "Page.c"
+#line 16270 "Page.c"
}
void drag_and_drop_handler_unref (gpointer instance) {
DragAndDropHandler* self;
self = instance;
-#line 2494 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2456 "/home/jens/Source/shotwell/src/Page.vala"
if (g_atomic_int_dec_and_test (&self->ref_count)) {
-#line 2494 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2456 "/home/jens/Source/shotwell/src/Page.vala"
DRAG_AND_DROP_HANDLER_GET_CLASS (self)->finalize (self);
-#line 2494 "/home/jens/Source/shotwell/src/Page.vala"
+#line 2456 "/home/jens/Source/shotwell/src/Page.vala"
g_type_free_instance ((GTypeInstance *) self);
-#line 16601 "Page.c"
+#line 16283 "Page.c"
}
}
diff --git a/src/Page.vala b/src/Page.vala
index 13caae6..a65a1e2 100644
--- a/src/Page.vala
+++ b/src/Page.vala
@@ -40,8 +40,7 @@ public class InjectionGroup {
return elements;
}
- public void add_menu_item(string name, string? action = null, string?
- accellerator = null) {
+ public void add_menu_item(string name, string? action = null, string? accellerator = null) {
elements.add(new Element(name, action, accellerator, Element.ItemType.MENUITEM));
}
@@ -208,6 +207,9 @@ public abstract class Page : Gtk.ScrolledWindow {
private bool menubar_injected = false;
public GLib.MenuModel get_menubar() {
var model = builder.get_object ("MenuBar") as GLib.Menu;
+ if (model == null) {
+ return new GLib.Menu();
+ }
if (!menubar_injected) {
// Collect injected UI elements and add them to the UI manager
@@ -1148,48 +1150,8 @@ public abstract class Page : Gtk.ScrolledWindow {
}
protected void update_menu_item_label (string id,
- string new_label) {
- var bar = this.builder.get_object ("MenuBar") as GLib.Menu;
-
- if (bar == null) {
- return;
- }
-
- var items = bar.get_n_items ();
- for (var i = 0; i< items; i++) {
- var model = bar.get_item_link (i, GLib.Menu.LINK_SUBMENU);
- if (bar == null) {
- continue;
- }
-
- var model_items = model.get_n_items ();
- for (var j = 0; j < model_items; j++) {
- var subsection = model.get_item_link (j, GLib.Menu.LINK_SECTION);
-
- if (subsection == null)
- continue;
-
- // Recurse into submenus
- var sub_items = subsection.get_n_items ();
- for (var k = 0; k < sub_items; k++) {
- var it = subsection.iterate_item_attributes (k);
- while (it.next ()) {
- if (it.get_name () == "id") {
- if (it.get_value ().get_string () == id) {
- var md = subsection as GLib.Menu;
- var m = new GLib.MenuItem.from_model
- (subsection, k);
- m.set_label (new_label);
- md.remove (k);
- md.insert_item (k, m);
-
- return;
- }
- }
- }
- }
- }
- }
+ string new_label) {
+ AppWindow.get_instance().update_menu_item_label (id, new_label);
}
protected GLib.MenuModel? find_extension_point (GLib.MenuModel model,
diff --git a/src/Photo.c b/src/Photo.c
index 19c1911..776a63d 100644
--- a/src/Photo.c
+++ b/src/Photo.c
@@ -1,4 +1,4 @@
-/* Photo.c generated by valac 0.34.2, the Vala compiler
+/* Photo.c generated by valac 0.32.1, the Vala compiler
* generated from Photo.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -15171,7 +15171,7 @@ GeeCollection* photo_get_raw_developer_files (Photo* self) {
#line 15170 "Photo.c"
}
#line 1945 "/home/jens/Source/shotwell/src/Photo.vala"
- _tmp1_ = gee_array_list_new (g_file_get_type (), (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL);
+ _tmp1_ = gee_array_list_new (G_TYPE_FILE, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL);
#line 1945 "/home/jens/Source/shotwell/src/Photo.vala"
ret = _tmp1_;
#line 15176 "Photo.c"
@@ -34211,7 +34211,7 @@ static void photo_class_init (PhotoClass * klass) {
#line 161 "/home/jens/Source/shotwell/src/Photo.vala"
G_OBJECT_CLASS (klass)->finalize = photo_finalize;
#line 161 "/home/jens/Source/shotwell/src/Photo.vala"
- g_signal_new ("editable_replaced", TYPE_PHOTO, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (PhotoClass, editable_replaced), NULL, NULL, g_cclosure_user_marshal_VOID__OBJECT_OBJECT, G_TYPE_NONE, 2, g_file_get_type (), g_file_get_type ());
+ g_signal_new ("editable_replaced", TYPE_PHOTO, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (PhotoClass, editable_replaced), NULL, NULL, g_cclosure_user_marshal_VOID__OBJECT_OBJECT, G_TYPE_NONE, 2, G_TYPE_FILE, G_TYPE_FILE);
#line 161 "/home/jens/Source/shotwell/src/Photo.vala"
g_signal_new ("raw_development_modified", TYPE_PHOTO, G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (PhotoClass, raw_development_modified), NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
#line 161 "/home/jens/Source/shotwell/src/Photo.vala"
@@ -36919,37 +36919,37 @@ static glong string_strnlen (gchar* str, glong maxlen) {
glong _tmp1_ = 0L;
gchar* _tmp2_ = NULL;
gchar* _tmp3_ = NULL;
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = str;
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = maxlen;
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = memchr (_tmp0_, 0, (gsize) _tmp1_);
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
end = _tmp2_;
-#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = end;
-#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp3_ == NULL) {
#line 36930 "Photo.c"
glong _tmp4_ = 0L;
-#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = maxlen;
-#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp4_;
-#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 36938 "Photo.c"
} else {
gchar* _tmp5_ = NULL;
gchar* _tmp6_ = NULL;
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = end;
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6_ = str;
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = (glong) (_tmp5_ - _tmp6_);
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 36950 "Photo.c"
}
@@ -36969,112 +36969,112 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) {
glong _tmp20_ = 0L;
glong _tmp21_ = 0L;
gchar* _tmp22_ = NULL;
-#line 1306 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1306 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = offset;
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp1_ >= ((glong) 0)) {
#line 36974 "Photo.c"
glong _tmp2_ = 0L;
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = len;
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = _tmp2_ >= ((glong) 0);
#line 36980 "Photo.c"
} else {
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = FALSE;
#line 36984 "Photo.c"
}
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp0_) {
#line 36988 "Photo.c"
glong _tmp3_ = 0L;
glong _tmp4_ = 0L;
glong _tmp5_ = 0L;
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = offset;
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = len;
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = string_strnlen ((gchar*) self, _tmp3_ + _tmp4_);
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
string_length = _tmp5_;
#line 37000 "Photo.c"
} else {
gint _tmp6_ = 0;
gint _tmp7_ = 0;
-#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6_ = strlen (self);
-#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp7_ = _tmp6_;
-#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
string_length = (glong) _tmp7_;
#line 37010 "Photo.c"
}
-#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp8_ = offset;
-#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp8_ < ((glong) 0)) {
#line 37016 "Photo.c"
glong _tmp9_ = 0L;
glong _tmp10_ = 0L;
glong _tmp11_ = 0L;
-#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp9_ = string_length;
-#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp10_ = offset;
-#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
offset = _tmp9_ + _tmp10_;
-#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp11_ = offset;
-#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp11_ >= ((glong) 0), NULL);
#line 37030 "Photo.c"
} else {
glong _tmp12_ = 0L;
glong _tmp13_ = 0L;
-#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp12_ = offset;
-#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp13_ = string_length;
-#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp12_ <= _tmp13_, NULL);
#line 37040 "Photo.c"
}
-#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp14_ = len;
-#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp14_ < ((glong) 0)) {
#line 37046 "Photo.c"
glong _tmp15_ = 0L;
glong _tmp16_ = 0L;
-#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp15_ = string_length;
-#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp16_ = offset;
-#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
len = _tmp15_ - _tmp16_;
#line 37055 "Photo.c"
}
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp17_ = offset;
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp18_ = len;
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp19_ = string_length;
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail ((_tmp17_ + _tmp18_) <= _tmp19_, NULL);
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp20_ = offset;
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp21_ = len;
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp22_ = g_strndup (((gchar*) self) + _tmp20_, (gsize) _tmp21_);
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp22_;
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 37075 "Photo.c"
}
@@ -38400,11 +38400,11 @@ static void library_photo_source_collection_instance_init (LibraryPhotoSourceCol
#line 4461 "/home/jens/Source/shotwell/src/Photo.vala"
self->priv->_transaction_controller = NULL;
#line 4462 "/home/jens/Source/shotwell/src/Photo.vala"
- _tmp0_ = gee_hash_map_new (g_file_get_type (), (GBoxedCopyFunc) g_object_ref, g_object_unref, TYPE_LIBRARY_PHOTO, (GBoxedCopyFunc) g_object_ref, g_object_unref, _file_hash_gee_hash_data_func, NULL, NULL, _file_equal_gee_equal_data_func, NULL, NULL, NULL, NULL, NULL);
+ _tmp0_ = gee_hash_map_new (G_TYPE_FILE, (GBoxedCopyFunc) g_object_ref, g_object_unref, TYPE_LIBRARY_PHOTO, (GBoxedCopyFunc) g_object_ref, g_object_unref, _file_hash_gee_hash_data_func, NULL, NULL, _file_equal_gee_equal_data_func, NULL, NULL, NULL, NULL, NULL);
#line 4462 "/home/jens/Source/shotwell/src/Photo.vala"
self->priv->by_editable_file = _tmp0_;
#line 4464 "/home/jens/Source/shotwell/src/Photo.vala"
- _tmp1_ = gee_hash_map_new (g_file_get_type (), (GBoxedCopyFunc) g_object_ref, g_object_unref, TYPE_LIBRARY_PHOTO, (GBoxedCopyFunc) g_object_ref, g_object_unref, _file_hash_gee_hash_data_func, NULL, NULL, _file_equal_gee_equal_data_func, NULL, NULL, NULL, NULL, NULL);
+ _tmp1_ = gee_hash_map_new (G_TYPE_FILE, (GBoxedCopyFunc) g_object_ref, g_object_unref, TYPE_LIBRARY_PHOTO, (GBoxedCopyFunc) g_object_ref, g_object_unref, _file_hash_gee_hash_data_func, NULL, NULL, _file_equal_gee_equal_data_func, NULL, NULL, NULL, NULL, NULL);
#line 4464 "/home/jens/Source/shotwell/src/Photo.vala"
self->priv->by_raw_development_file = _tmp1_;
#line 4466 "/home/jens/Source/shotwell/src/Photo.vala"
@@ -42137,19 +42137,19 @@ static void library_photo_source_holding_tank_instance_init (LibraryPhotoSourceH
#line 5383 "/home/jens/Source/shotwell/src/Photo.vala"
self->priv = LIBRARY_PHOTO_SOURCE_HOLDING_TANK_GET_PRIVATE (self);
#line 5384 "/home/jens/Source/shotwell/src/Photo.vala"
- _tmp0_ = gee_hash_map_new (g_file_get_type (), (GBoxedCopyFunc) g_object_ref, g_object_unref, TYPE_LIBRARY_PHOTO, (GBoxedCopyFunc) g_object_ref, g_object_unref, _file_hash_gee_hash_data_func, NULL, NULL, _file_equal_gee_equal_data_func, NULL, NULL, NULL, NULL, NULL);
+ _tmp0_ = gee_hash_map_new (G_TYPE_FILE, (GBoxedCopyFunc) g_object_ref, g_object_unref, TYPE_LIBRARY_PHOTO, (GBoxedCopyFunc) g_object_ref, g_object_unref, _file_hash_gee_hash_data_func, NULL, NULL, _file_equal_gee_equal_data_func, NULL, NULL, NULL, NULL, NULL);
#line 5384 "/home/jens/Source/shotwell/src/Photo.vala"
self->priv->editable_file_map = _tmp0_;
#line 5386 "/home/jens/Source/shotwell/src/Photo.vala"
- _tmp1_ = gee_hash_map_new (g_file_get_type (), (GBoxedCopyFunc) g_object_ref, g_object_unref, TYPE_LIBRARY_PHOTO, (GBoxedCopyFunc) g_object_ref, g_object_unref, _file_hash_gee_hash_data_func, NULL, NULL, _file_equal_gee_equal_data_func, NULL, NULL, NULL, NULL, NULL);
+ _tmp1_ = gee_hash_map_new (G_TYPE_FILE, (GBoxedCopyFunc) g_object_ref, g_object_unref, TYPE_LIBRARY_PHOTO, (GBoxedCopyFunc) g_object_ref, g_object_unref, _file_hash_gee_hash_data_func, NULL, NULL, _file_equal_gee_equal_data_func, NULL, NULL, NULL, NULL, NULL);
#line 5386 "/home/jens/Source/shotwell/src/Photo.vala"
self->priv->development_file_map = _tmp1_;
#line 5388 "/home/jens/Source/shotwell/src/Photo.vala"
- _tmp2_ = gee_hash_multi_map_new (TYPE_LIBRARY_PHOTO, (GBoxedCopyFunc) g_object_ref, g_object_unref, g_file_get_type (), (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL, NULL, NULL, NULL, _file_hash_gee_hash_data_func, NULL, NULL, _file_equal_gee_equal_data_func, NULL, NULL);
+ _tmp2_ = gee_hash_multi_map_new (TYPE_LIBRARY_PHOTO, (GBoxedCopyFunc) g_object_ref, g_object_unref, G_TYPE_FILE, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL, NULL, NULL, NULL, _file_hash_gee_hash_data_func, NULL, NULL, _file_equal_gee_equal_data_func, NULL, NULL);
#line 5388 "/home/jens/Source/shotwell/src/Photo.vala"
self->priv->reverse_editable_file_map = G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, GEE_TYPE_MULTI_MAP, GeeMultiMap);
#line 5390 "/home/jens/Source/shotwell/src/Photo.vala"
- _tmp3_ = gee_hash_multi_map_new (TYPE_LIBRARY_PHOTO, (GBoxedCopyFunc) g_object_ref, g_object_unref, g_file_get_type (), (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL, NULL, NULL, NULL, _file_hash_gee_hash_data_func, NULL, NULL, _file_equal_gee_equal_data_func, NULL, NULL);
+ _tmp3_ = gee_hash_multi_map_new (TYPE_LIBRARY_PHOTO, (GBoxedCopyFunc) g_object_ref, g_object_unref, G_TYPE_FILE, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL, NULL, NULL, NULL, _file_hash_gee_hash_data_func, NULL, NULL, _file_equal_gee_equal_data_func, NULL, NULL);
#line 5390 "/home/jens/Source/shotwell/src/Photo.vala"
self->priv->reverse_development_file_map = G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_MULTI_MAP, GeeMultiMap);
#line 42151 "Photo.c"
diff --git a/src/PhotoMonitor.c b/src/PhotoMonitor.c
index a307aae..a6f5f2e 100644
--- a/src/PhotoMonitor.c
+++ b/src/PhotoMonitor.c
@@ -1,4 +1,4 @@
-/* PhotoMonitor.c generated by valac 0.34.2, the Vala compiler
+/* PhotoMonitor.c generated by valac 0.32.1, the Vala compiler
* generated from PhotoMonitor.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -1677,7 +1677,7 @@ static void photo_updates_instance_init (PhotoUpdates * self) {
#line 19 "/home/jens/Source/shotwell/src/PhotoMonitor.vala"
self->revert_to_master = FALSE;
#line 20 "/home/jens/Source/shotwell/src/PhotoMonitor.vala"
- _tmp0_ = gee_array_list_new (g_file_get_type (), (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL);
+ _tmp0_ = gee_array_list_new (G_TYPE_FILE, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL);
#line 20 "/home/jens/Source/shotwell/src/PhotoMonitor.vala"
self->developer_files = G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_COLLECTION, GeeCollection);
#line 1684 "PhotoMonitor.c"
@@ -6226,7 +6226,7 @@ static void photo_monitor_real_process_updates (MediaMonitor* base, GeeCollectio
#line 6225 "PhotoMonitor.c"
GeeHashMap* _tmp17_ = NULL;
#line 936 "/home/jens/Source/shotwell/src/PhotoMonitor.vala"
- _tmp17_ = gee_hash_map_new (TYPE_LIBRARY_PHOTO, (GBoxedCopyFunc) g_object_ref, g_object_unref, g_file_get_type (), (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
+ _tmp17_ = gee_hash_map_new (TYPE_LIBRARY_PHOTO, (GBoxedCopyFunc) g_object_ref, g_object_unref, G_TYPE_FILE, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
#line 936 "/home/jens/Source/shotwell/src/PhotoMonitor.vala"
_g_object_unref0 (set_editable_file);
#line 936 "/home/jens/Source/shotwell/src/PhotoMonitor.vala"
@@ -6616,7 +6616,7 @@ static void photo_monitor_real_process_updates (MediaMonitor* base, GeeCollectio
#line 997 "/home/jens/Source/shotwell/src/PhotoMonitor.vala"
if (_inner_error_->domain == DATABASE_ERROR) {
#line 6617 "PhotoMonitor.c"
- goto __catch582_database_error;
+ goto __catch580_database_error;
}
#line 997 "/home/jens/Source/shotwell/src/PhotoMonitor.vala"
_g_object_unref0 (reimport_raw_developments);
@@ -6641,8 +6641,8 @@ static void photo_monitor_real_process_updates (MediaMonitor* base, GeeCollectio
#line 6640 "PhotoMonitor.c"
}
}
- goto __finally582;
- __catch582_database_error:
+ goto __finally580;
+ __catch580_database_error:
{
GError* err = NULL;
GError* _tmp97_ = NULL;
@@ -6658,7 +6658,7 @@ static void photo_monitor_real_process_updates (MediaMonitor* base, GeeCollectio
_g_error_free0 (err);
#line 6658 "PhotoMonitor.c"
}
- __finally582:
+ __finally580:
#line 996 "/home/jens/Source/shotwell/src/PhotoMonitor.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 996 "/home/jens/Source/shotwell/src/PhotoMonitor.vala"
@@ -6718,7 +6718,7 @@ static void photo_monitor_real_process_updates (MediaMonitor* base, GeeCollectio
#line 1007 "/home/jens/Source/shotwell/src/PhotoMonitor.vala"
if (_inner_error_->domain == DATABASE_ERROR) {
#line 6719 "PhotoMonitor.c"
- goto __catch583_database_error;
+ goto __catch581_database_error;
}
#line 1007 "/home/jens/Source/shotwell/src/PhotoMonitor.vala"
_g_object_unref0 (reimport_raw_developments);
@@ -6743,8 +6743,8 @@ static void photo_monitor_real_process_updates (MediaMonitor* base, GeeCollectio
#line 6742 "PhotoMonitor.c"
}
}
- goto __finally583;
- __catch583_database_error:
+ goto __finally581;
+ __catch581_database_error:
{
GError* err = NULL;
GError* _tmp105_ = NULL;
@@ -6760,7 +6760,7 @@ static void photo_monitor_real_process_updates (MediaMonitor* base, GeeCollectio
_g_error_free0 (err);
#line 6760 "PhotoMonitor.c"
}
- __finally583:
+ __finally581:
#line 1006 "/home/jens/Source/shotwell/src/PhotoMonitor.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1006 "/home/jens/Source/shotwell/src/PhotoMonitor.vala"
@@ -7437,7 +7437,7 @@ static void photo_monitor_on_master_reimported (PhotoMonitor* self, BackgroundJo
#line 1085 "/home/jens/Source/shotwell/src/PhotoMonitor.vala"
if (_inner_error_->domain == DATABASE_ERROR) {
#line 7437 "PhotoMonitor.c"
- goto __catch584_database_error;
+ goto __catch582_database_error;
}
#line 1085 "/home/jens/Source/shotwell/src/PhotoMonitor.vala"
_background_job_unref0 (job);
@@ -7450,8 +7450,8 @@ static void photo_monitor_on_master_reimported (PhotoMonitor* self, BackgroundJo
#line 7448 "PhotoMonitor.c"
}
}
- goto __finally584;
- __catch584_database_error:
+ goto __finally582;
+ __catch582_database_error:
{
GError* err = NULL;
GError* _tmp26_ = NULL;
@@ -7467,7 +7467,7 @@ static void photo_monitor_on_master_reimported (PhotoMonitor* self, BackgroundJo
_g_error_free0 (err);
#line 7466 "PhotoMonitor.c"
}
- __finally584:
+ __finally582:
#line 1084 "/home/jens/Source/shotwell/src/PhotoMonitor.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1084 "/home/jens/Source/shotwell/src/PhotoMonitor.vala"
@@ -7650,7 +7650,7 @@ static void photo_monitor_on_editable_reimported (PhotoMonitor* self, Background
#line 1116 "/home/jens/Source/shotwell/src/PhotoMonitor.vala"
if (_inner_error_->domain == DATABASE_ERROR) {
#line 7650 "PhotoMonitor.c"
- goto __catch585_database_error;
+ goto __catch583_database_error;
}
#line 1116 "/home/jens/Source/shotwell/src/PhotoMonitor.vala"
_background_job_unref0 (job);
@@ -7663,8 +7663,8 @@ static void photo_monitor_on_editable_reimported (PhotoMonitor* self, Background
#line 7661 "PhotoMonitor.c"
}
}
- goto __finally585;
- __catch585_database_error:
+ goto __finally583;
+ __catch583_database_error:
{
GError* err = NULL;
GError* _tmp20_ = NULL;
@@ -7680,7 +7680,7 @@ static void photo_monitor_on_editable_reimported (PhotoMonitor* self, Background
_g_error_free0 (err);
#line 7679 "PhotoMonitor.c"
}
- __finally585:
+ __finally583:
#line 1115 "/home/jens/Source/shotwell/src/PhotoMonitor.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1115 "/home/jens/Source/shotwell/src/PhotoMonitor.vala"
@@ -7844,7 +7844,7 @@ static void photo_monitor_on_raw_development_reimported (PhotoMonitor* self, Bac
#line 1143 "/home/jens/Source/shotwell/src/PhotoMonitor.vala"
if (_inner_error_->domain == DATABASE_ERROR) {
#line 7844 "PhotoMonitor.c"
- goto __catch586_database_error;
+ goto __catch584_database_error;
}
#line 1143 "/home/jens/Source/shotwell/src/PhotoMonitor.vala"
_background_job_unref0 (job);
@@ -7857,8 +7857,8 @@ static void photo_monitor_on_raw_development_reimported (PhotoMonitor* self, Bac
#line 7855 "PhotoMonitor.c"
}
}
- goto __finally586;
- __catch586_database_error:
+ goto __finally584;
+ __catch584_database_error:
{
GError* err = NULL;
GError* _tmp20_ = NULL;
@@ -7874,7 +7874,7 @@ static void photo_monitor_on_raw_development_reimported (PhotoMonitor* self, Bac
_g_error_free0 (err);
#line 7873 "PhotoMonitor.c"
}
- __finally586:
+ __finally584:
#line 1142 "/home/jens/Source/shotwell/src/PhotoMonitor.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1142 "/home/jens/Source/shotwell/src/PhotoMonitor.vala"
@@ -8030,14 +8030,14 @@ static void photo_monitor_reimport_master_job_real_execute (BackgroundJob* base)
#line 176 "/home/jens/Source/shotwell/src/PhotoMonitor.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 8030 "PhotoMonitor.c"
- goto __catch587_g_error;
+ goto __catch585_g_error;
}
#line 176 "/home/jens/Source/shotwell/src/PhotoMonitor.vala"
self->mark_online = _tmp0_;
#line 8035 "PhotoMonitor.c"
}
- goto __finally587;
- __catch587_g_error:
+ goto __finally585;
+ __catch585_g_error:
{
GError* err = NULL;
GError* _tmp4_ = NULL;
@@ -8058,7 +8058,7 @@ static void photo_monitor_reimport_master_job_real_execute (BackgroundJob* base)
_g_error_free0 (err);
#line 8057 "PhotoMonitor.c"
}
- __finally587:
+ __finally585:
#line 175 "/home/jens/Source/shotwell/src/PhotoMonitor.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 175 "/home/jens/Source/shotwell/src/PhotoMonitor.vala"
@@ -8208,14 +8208,14 @@ static void photo_monitor_reimport_editable_job_real_execute (BackgroundJob* bas
#line 198 "/home/jens/Source/shotwell/src/PhotoMonitor.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 8208 "PhotoMonitor.c"
- goto __catch588_g_error;
+ goto __catch586_g_error;
}
#line 198 "/home/jens/Source/shotwell/src/PhotoMonitor.vala"
self->success = _tmp0_;
#line 8213 "PhotoMonitor.c"
}
- goto __finally588;
- __catch588_g_error:
+ goto __finally586;
+ __catch586_g_error:
{
GError* err = NULL;
GError* _tmp4_ = NULL;
@@ -8236,7 +8236,7 @@ static void photo_monitor_reimport_editable_job_real_execute (BackgroundJob* bas
_g_error_free0 (err);
#line 8235 "PhotoMonitor.c"
}
- __finally588:
+ __finally586:
#line 197 "/home/jens/Source/shotwell/src/PhotoMonitor.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 197 "/home/jens/Source/shotwell/src/PhotoMonitor.vala"
@@ -8386,14 +8386,14 @@ static void photo_monitor_reimport_raw_development_job_real_execute (BackgroundJ
#line 220 "/home/jens/Source/shotwell/src/PhotoMonitor.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 8386 "PhotoMonitor.c"
- goto __catch589_g_error;
+ goto __catch587_g_error;
}
#line 220 "/home/jens/Source/shotwell/src/PhotoMonitor.vala"
self->success = _tmp0_;
#line 8391 "PhotoMonitor.c"
}
- goto __finally589;
- __catch589_g_error:
+ goto __finally587;
+ __catch587_g_error:
{
GError* err = NULL;
GError* _tmp4_ = NULL;
@@ -8414,7 +8414,7 @@ static void photo_monitor_reimport_raw_development_job_real_execute (BackgroundJ
_g_error_free0 (err);
#line 8413 "PhotoMonitor.c"
}
- __finally589:
+ __finally587:
#line 219 "/home/jens/Source/shotwell/src/PhotoMonitor.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 219 "/home/jens/Source/shotwell/src/PhotoMonitor.vala"
diff --git a/src/PhotoPage.c b/src/PhotoPage.c
index 1fe61d0..62e90b8 100644
--- a/src/PhotoPage.c
+++ b/src/PhotoPage.c
@@ -1,4 +1,4 @@
-/* PhotoPage.c generated by valac 0.34.2, the Vala compiler
+/* PhotoPage.c generated by valac 0.32.1, the Vala compiler
* generated from PhotoPage.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -602,16 +602,6 @@ typedef struct _DirectPhotoPageClass DirectPhotoPageClass;
typedef struct _AdjustDateTimePhotoCommand AdjustDateTimePhotoCommand;
typedef struct _AdjustDateTimePhotoCommandClass AdjustDateTimePhotoCommandClass;
-#define TYPE_SET_BACKGROUND_DIALOG (set_background_dialog_get_type ())
-#define SET_BACKGROUND_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_SET_BACKGROUND_DIALOG, SetBackgroundDialog))
-#define SET_BACKGROUND_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_SET_BACKGROUND_DIALOG, SetBackgroundDialogClass))
-#define IS_SET_BACKGROUND_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_SET_BACKGROUND_DIALOG))
-#define IS_SET_BACKGROUND_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_SET_BACKGROUND_DIALOG))
-#define SET_BACKGROUND_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_SET_BACKGROUND_DIALOG, SetBackgroundDialogClass))
-
-typedef struct _SetBackgroundDialog SetBackgroundDialog;
-typedef struct _SetBackgroundDialogClass SetBackgroundDialogClass;
-
#define TYPE_SET_BACKGROUND_PHOTO_DIALOG (set_background_photo_dialog_get_type ())
#define SET_BACKGROUND_PHOTO_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_SET_BACKGROUND_PHOTO_DIALOG, SetBackgroundPhotoDialog))
#define SET_BACKGROUND_PHOTO_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_SET_BACKGROUND_PHOTO_DIALOG, SetBackgroundPhotoDialogClass))
@@ -621,7 +611,6 @@ typedef struct _SetBackgroundDialogClass SetBackgroundDialogClass;
typedef struct _SetBackgroundPhotoDialog SetBackgroundPhotoDialog;
typedef struct _SetBackgroundPhotoDialogClass SetBackgroundPhotoDialogClass;
-#define _set_background_dialog_unref0(var) ((var == NULL) ? NULL : (var = (set_background_dialog_unref (var), NULL)))
#define EDITING_TOOLS_TYPE_STRAIGHTEN_TOOL (editing_tools_straighten_tool_get_type ())
#define EDITING_TOOLS_STRAIGHTEN_TOOL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EDITING_TOOLS_TYPE_STRAIGHTEN_TOOL, EditingToolsStraightenTool))
@@ -2055,13 +2044,6 @@ GType adjust_date_time_photo_command_get_type (void) G_GNUC_CONST;
AdjustDateTimePhotoCommand* adjust_date_time_photo_command_new (Dateable* dateable, gint64 time_shift, gboolean modify_original);
AdjustDateTimePhotoCommand* adjust_date_time_photo_command_construct (GType object_type, Dateable* dateable, gint64 time_shift, gboolean modify_original);
void editing_host_page_on_set_background (EditingHostPage* self);
-gpointer set_background_dialog_ref (gpointer instance);
-void set_background_dialog_unref (gpointer instance);
-GParamSpec* param_spec_set_background_dialog (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
-void value_set_set_background_dialog (GValue* value, gpointer v_object);
-void value_take_set_background_dialog (GValue* value, gpointer v_object);
-gpointer value_get_set_background_dialog (const GValue* value);
-GType set_background_dialog_get_type (void) G_GNUC_CONST;
GType set_background_photo_dialog_get_type (void) G_GNUC_CONST;
SetBackgroundPhotoDialog* set_background_photo_dialog_new (void);
SetBackgroundPhotoDialog* set_background_photo_dialog_construct (GType object_type);
@@ -2252,9 +2234,9 @@ static void library_photo_page_real_add_actions (Page* base);
void page_add_actions (Page* self);
GAction* page_get_action (Page* self, const gchar* name);
gboolean configuration_facade_get_display_photo_ratings (ConfigurationFacade* self);
-static GVariant* _variant_new12 (gboolean value);
+static GVariant* _variant_new16 (gboolean value);
RawDeveloper configuration_facade_get_default_raw_developer (ConfigurationFacade* self);
-static GVariant* _variant_new13 (const gchar* value);
+static GVariant* _variant_new17 (const gchar* value);
static InjectionGroup** library_photo_page_real_init_collect_injection_groups (Page* base, int* result_length1);
InjectionGroup** page_init_collect_injection_groups (Page* self, int* result_length1);
InjectionGroup* injection_group_new (const gchar* path);
@@ -2378,8 +2360,8 @@ SetRatingSingleCommand* set_rating_single_command_new (DataSource* source, Ratin
SetRatingSingleCommand* set_rating_single_command_construct (GType object_type, DataSource* source, Rating rating);
gboolean rating_can_increase (Rating self);
gboolean rating_can_decrease (Rating self);
-static GVariant* _variant_new14 (const gchar* value);
-static GVariant* _variant_new15 (const gchar* value);
+static GVariant* _variant_new18 (const gchar* value);
+static GVariant* _variant_new19 (const gchar* value);
gboolean alteration_has_subject (Alteration* self, const gchar* subject);
GType tags_dialog_get_type (void) G_GNUC_CONST;
GType add_tags_dialog_get_type (void) G_GNUC_CONST;
@@ -2432,7 +2414,7 @@ static GType zoom_buffer_object_state_get_type (void) {
static gpointer _g_object_ref0 (gpointer self) {
#line 86 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return self ? g_object_ref (self) : NULL;
-#line 2436 "PhotoPage.c"
+#line 2418 "PhotoPage.c"
}
@@ -2485,28 +2467,28 @@ ZoomBuffer* zoom_buffer_construct (GType object_type, SinglePhotoPage* parent_pa
self->priv->workers = _tmp6_;
#line 84 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return self;
-#line 2489 "PhotoPage.c"
+#line 2471 "PhotoPage.c"
}
ZoomBuffer* zoom_buffer_new (SinglePhotoPage* parent_page, Photo* backing_photo, GdkPixbuf* preview_image) {
#line 84 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return zoom_buffer_construct (TYPE_ZOOM_BUFFER, parent_page, backing_photo, preview_image);
-#line 2496 "PhotoPage.c"
+#line 2478 "PhotoPage.c"
}
static gpointer _background_job_ref0 (gpointer self) {
#line 93 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return self ? background_job_ref (self) : NULL;
-#line 2503 "PhotoPage.c"
+#line 2485 "PhotoPage.c"
}
static void _zoom_buffer_on_iso_transformation_complete_completion_callback (BackgroundJob* job, gpointer self) {
#line 109 "/home/jens/Source/shotwell/src/PhotoPage.vala"
zoom_buffer_on_iso_transformation_complete ((ZoomBuffer*) self, job);
-#line 2510 "PhotoPage.c"
+#line 2492 "PhotoPage.c"
}
@@ -2560,7 +2542,7 @@ static void zoom_buffer_on_iso_source_fetch_complete (ZoomBuffer* self, Backgrou
_background_job_unref0 (fetch_job);
#line 96 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return;
-#line 2563 "PhotoPage.c"
+#line 2545 "PhotoPage.c"
}
#line 99 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp4_ = fetch_job;
@@ -2586,7 +2568,7 @@ static void zoom_buffer_on_iso_source_fetch_complete (ZoomBuffer* self, Backgrou
_tmp12_ = _tmp11_;
#line 100 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if ((_tmp9_ * _tmp12_) > ZOOM_BUFFER_USE_REDUCED_THRESHOLD) {
-#line 2589 "PhotoPage.c"
+#line 2571 "PhotoPage.c"
GdkPixbuf* _tmp13_ = NULL;
GdkPixbuf* _tmp14_ = NULL;
gint _tmp15_ = 0;
@@ -2615,7 +2597,7 @@ static void zoom_buffer_on_iso_source_fetch_complete (ZoomBuffer* self, Backgrou
_g_object_unref0 (self->priv->reduced_source_image);
#line 101 "/home/jens/Source/shotwell/src/PhotoPage.vala"
self->priv->reduced_source_image = _tmp20_;
-#line 2618 "PhotoPage.c"
+#line 2600 "PhotoPage.c"
}
#line 104 "/home/jens/Source/shotwell/src/PhotoPage.vala"
self->priv->object_state = ZOOM_BUFFER_OBJECT_STATE_SOURCE_NOT_TRANSFORMED;
@@ -2623,13 +2605,13 @@ static void zoom_buffer_on_iso_source_fetch_complete (ZoomBuffer* self, Backgrou
_tmp21_ = self->priv->is_interactive_redraw_in_progress;
#line 106 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (!_tmp21_) {
-#line 2626 "PhotoPage.c"
+#line 2608 "PhotoPage.c"
SinglePhotoPage* _tmp22_ = NULL;
#line 107 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp22_ = self->priv->parent_page;
#line 107 "/home/jens/Source/shotwell/src/PhotoPage.vala"
single_photo_page_repaint (_tmp22_, NULL);
-#line 2632 "PhotoPage.c"
+#line 2614 "PhotoPage.c"
}
#line 109 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp23_ = self->priv->iso_source_image;
@@ -2663,7 +2645,7 @@ static void zoom_buffer_on_iso_source_fetch_complete (ZoomBuffer* self, Backgrou
_background_job_unref0 (transformation_job);
#line 92 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_background_job_unref0 (fetch_job);
-#line 2666 "PhotoPage.c"
+#line 2648 "PhotoPage.c"
}
@@ -2704,7 +2686,7 @@ static void zoom_buffer_on_iso_transformation_complete (ZoomBuffer* self, Backgr
_background_job_unref0 (transform_job);
#line 120 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return;
-#line 2707 "PhotoPage.c"
+#line 2689 "PhotoPage.c"
}
#line 123 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp4_ = transform_job;
@@ -2730,7 +2712,7 @@ static void zoom_buffer_on_iso_transformation_complete (ZoomBuffer* self, Backgr
_tmp12_ = _tmp11_;
#line 124 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if ((_tmp9_ * _tmp12_) > ZOOM_BUFFER_USE_REDUCED_THRESHOLD) {
-#line 2733 "PhotoPage.c"
+#line 2715 "PhotoPage.c"
GdkPixbuf* _tmp13_ = NULL;
GdkPixbuf* _tmp14_ = NULL;
gint _tmp15_ = 0;
@@ -2759,13 +2741,13 @@ static void zoom_buffer_on_iso_transformation_complete (ZoomBuffer* self, Backgr
_g_object_unref0 (self->priv->reduced_transformed_image);
#line 125 "/home/jens/Source/shotwell/src/PhotoPage.vala"
self->priv->reduced_transformed_image = _tmp20_;
-#line 2762 "PhotoPage.c"
+#line 2744 "PhotoPage.c"
}
#line 129 "/home/jens/Source/shotwell/src/PhotoPage.vala"
self->priv->object_state = ZOOM_BUFFER_OBJECT_STATE_TRANSFORMED_READY;
#line 115 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_background_job_unref0 (transform_job);
-#line 2768 "PhotoPage.c"
+#line 2750 "PhotoPage.c"
}
@@ -2801,7 +2783,7 @@ static void zoom_buffer_on_demand_transform_complete (ZoomBuffer* self, Backgrou
_background_job_unref0 (transform_job);
#line 137 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return;
-#line 2804 "PhotoPage.c"
+#line 2786 "PhotoPage.c"
}
#line 140 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp4_ = transform_job;
@@ -2823,7 +2805,7 @@ static void zoom_buffer_on_demand_transform_complete (ZoomBuffer* self, Backgrou
single_photo_page_repaint (_tmp7_, NULL);
#line 132 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_background_job_unref0 (transform_job);
-#line 2826 "PhotoPage.c"
+#line 2808 "PhotoPage.c"
}
@@ -2896,21 +2878,21 @@ static GdkPixbuf* zoom_buffer_get_view_projection_pixbuf (ZoomBuffer* self, Zoom
_tmp6_ = reduced_pixbuf;
#line 156 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp6_ != NULL) {
-#line 2899 "PhotoPage.c"
+#line 2881 "PhotoPage.c"
gdouble _tmp7_ = 0.0;
#line 156 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp7_ = zoom_state_get_zoom_factor (zoom_state);
#line 156 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp5_ = _tmp7_ < 0.5;
-#line 2905 "PhotoPage.c"
+#line 2887 "PhotoPage.c"
} else {
#line 156 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp5_ = FALSE;
-#line 2909 "PhotoPage.c"
+#line 2891 "PhotoPage.c"
}
#line 156 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp5_) {
-#line 2913 "PhotoPage.c"
+#line 2895 "PhotoPage.c"
GdkPixbuf* _tmp8_ = NULL;
GdkPixbuf* _tmp9_ = NULL;
gint _tmp10_ = 0;
@@ -2941,7 +2923,7 @@ static GdkPixbuf* zoom_buffer_get_view_projection_pixbuf (ZoomBuffer* self, Zoom
_tmp13_ = view_rect_proj.height;
#line 161 "/home/jens/Source/shotwell/src/PhotoPage.vala"
view_rect_proj.height = _tmp13_ / 2;
-#line 2944 "PhotoPage.c"
+#line 2926 "PhotoPage.c"
}
#line 167 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp14_ = view_rect_proj;
@@ -3019,14 +3001,14 @@ static GdkPixbuf* zoom_buffer_get_view_projection_pixbuf (ZoomBuffer* self, Zoom
_g_object_unref0 (sample_source_pixbuf);
#line 181 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 3022 "PhotoPage.c"
+#line 3004 "PhotoPage.c"
}
static void _zoom_buffer_on_demand_transform_complete_completion_callback (BackgroundJob* job, gpointer self) {
#line 252 "/home/jens/Source/shotwell/src/PhotoPage.vala"
zoom_buffer_on_demand_transform_complete ((ZoomBuffer*) self, job);
-#line 3029 "PhotoPage.c"
+#line 3011 "PhotoPage.c"
}
@@ -3045,7 +3027,7 @@ static GdkPixbuf* zoom_buffer_get_zoomed_image_source_not_transformed (ZoomBuffe
_tmp0_ = self->priv->demand_transform_cached_pixbuf;
#line 185 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp0_ != NULL) {
-#line 3048 "PhotoPage.c"
+#line 3030 "PhotoPage.c"
ZoomState _tmp1_ = {0};
gboolean _tmp2_ = FALSE;
#line 186 "/home/jens/Source/shotwell/src/PhotoPage.vala"
@@ -3054,7 +3036,7 @@ static GdkPixbuf* zoom_buffer_get_zoomed_image_source_not_transformed (ZoomBuffe
_tmp2_ = zoom_state_equals (zoom_state, &_tmp1_);
#line 186 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp2_) {
-#line 3057 "PhotoPage.c"
+#line 3039 "PhotoPage.c"
GdkPixbuf* _tmp3_ = NULL;
GdkPixbuf* _tmp4_ = NULL;
#line 190 "/home/jens/Source/shotwell/src/PhotoPage.vala"
@@ -3065,7 +3047,7 @@ static GdkPixbuf* zoom_buffer_get_zoomed_image_source_not_transformed (ZoomBuffe
result = _tmp4_;
#line 190 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 3068 "PhotoPage.c"
+#line 3050 "PhotoPage.c"
} else {
gdouble _tmp5_ = 0.0;
gdouble _tmp6_ = 0.0;
@@ -3075,7 +3057,7 @@ static GdkPixbuf* zoom_buffer_get_zoomed_image_source_not_transformed (ZoomBuffe
_tmp6_ = zoom_state_get_zoom_factor (&self->priv->demand_transform_zoom_state);
#line 191 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp5_ == _tmp6_) {
-#line 3078 "PhotoPage.c"
+#line 3060 "PhotoPage.c"
GdkRectangle curr_rect = {0};
GdkRectangle _tmp7_ = {0};
GdkRectangle pre_rect = {0};
@@ -3395,7 +3377,7 @@ static GdkPixbuf* zoom_buffer_get_zoomed_image_source_not_transformed (ZoomBuffe
result = composited_result;
#line 231 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 3398 "PhotoPage.c"
+#line 3380 "PhotoPage.c"
}
}
}
@@ -3403,7 +3385,7 @@ static GdkPixbuf* zoom_buffer_get_zoomed_image_source_not_transformed (ZoomBuffe
_tmp97_ = self->priv->demand_transform_job;
#line 242 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp97_ != NULL) {
-#line 3406 "PhotoPage.c"
+#line 3388 "PhotoPage.c"
ZoomState _tmp98_ = {0};
gboolean _tmp99_ = FALSE;
#line 243 "/home/jens/Source/shotwell/src/PhotoPage.vala"
@@ -3412,7 +3394,7 @@ static GdkPixbuf* zoom_buffer_get_zoomed_image_source_not_transformed (ZoomBuffe
_tmp99_ = zoom_state_equals (zoom_state, &_tmp98_);
#line 243 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp99_) {
-#line 3415 "PhotoPage.c"
+#line 3397 "PhotoPage.c"
ZoomState _tmp100_ = {0};
GdkPixbuf* _tmp101_ = NULL;
#line 244 "/home/jens/Source/shotwell/src/PhotoPage.vala"
@@ -3423,7 +3405,7 @@ static GdkPixbuf* zoom_buffer_get_zoomed_image_source_not_transformed (ZoomBuffe
result = _tmp101_;
#line 244 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 3426 "PhotoPage.c"
+#line 3408 "PhotoPage.c"
} else {
ZoomBufferTransformationJob* _tmp102_ = NULL;
GdkPixbuf* zoomed = NULL;
@@ -3503,14 +3485,14 @@ static GdkPixbuf* zoom_buffer_get_zoomed_image_source_not_transformed (ZoomBuffe
_g_object_unref0 (zoomed);
#line 258 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 3506 "PhotoPage.c"
+#line 3488 "PhotoPage.c"
}
}
#line 263 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp119_ = self->priv->demand_transform_job;
#line 263 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp119_ == NULL) {
-#line 3513 "PhotoPage.c"
+#line 3495 "PhotoPage.c"
GdkPixbuf* zoomed = NULL;
ZoomState _tmp120_ = {0};
GdkPixbuf* _tmp121_ = NULL;
@@ -3580,7 +3562,7 @@ static GdkPixbuf* zoom_buffer_get_zoomed_image_source_not_transformed (ZoomBuffe
_g_object_unref0 (zoomed);
#line 275 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 3583 "PhotoPage.c"
+#line 3565 "PhotoPage.c"
}
#line 283 "/home/jens/Source/shotwell/src/PhotoPage.vala"
g_critical ("PhotoPage.vala:283: %s", "ZoomBuffer: get_zoomed_image( ): in SOURCE-NOT-TRANSFORMED but can't t" \
@@ -3593,14 +3575,14 @@ static GdkPixbuf* zoom_buffer_get_zoomed_image_source_not_transformed (ZoomBuffe
result = _tmp137_;
#line 285 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 3595 "PhotoPage.c"
+#line 3577 "PhotoPage.c"
}
static void _zoom_buffer_on_iso_source_fetch_complete_completion_callback (BackgroundJob* job, gpointer self) {
#line 290 "/home/jens/Source/shotwell/src/PhotoPage.vala"
zoom_buffer_on_iso_source_fetch_complete ((ZoomBuffer*) self, job);
-#line 3602 "PhotoPage.c"
+#line 3584 "PhotoPage.c"
}
@@ -3643,7 +3625,7 @@ GdkPixbuf* zoom_buffer_get_zoom_preview_image_internal (ZoomBuffer* self, ZoomSt
_tmp0_ = self->priv->object_state;
#line 289 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp0_ == ZOOM_BUFFER_OBJECT_STATE_SOURCE_NOT_LOADED) {
-#line 3645 "PhotoPage.c"
+#line 3627 "PhotoPage.c"
BackgroundJob* iso_source_fetch_job = NULL;
Photo* _tmp1_ = NULL;
ZoomBufferIsoSourceFetchJob* _tmp2_ = NULL;
@@ -3665,7 +3647,7 @@ GdkPixbuf* zoom_buffer_get_zoom_preview_image_internal (ZoomBuffer* self, ZoomSt
self->priv->object_state = ZOOM_BUFFER_OBJECT_STATE_SOURCE_LOAD_IN_PROGRESS;
#line 289 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_background_job_unref0 (iso_source_fetch_job);
-#line 3667 "PhotoPage.c"
+#line 3649 "PhotoPage.c"
}
#line 296 "/home/jens/Source/shotwell/src/PhotoPage.vala"
zoom_state_get_viewing_rectangle_wrt_content (zoom_state, &_tmp5_);
@@ -3733,7 +3715,7 @@ GdkPixbuf* zoom_buffer_get_zoom_preview_image_internal (ZoomBuffer* self, ZoomSt
_g_object_unref0 (proj_subpixbuf);
#line 309 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 3735 "PhotoPage.c"
+#line 3717 "PhotoPage.c"
}
@@ -3751,7 +3733,7 @@ Photo* zoom_buffer_get_backing_photo (ZoomBuffer* self) {
result = _tmp1_;
#line 313 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 3753 "PhotoPage.c"
+#line 3735 "PhotoPage.c"
}
@@ -3770,7 +3752,7 @@ void zoom_buffer_update_preview_image (ZoomBuffer* self, GdkPixbuf* preview_imag
_g_object_unref0 (self->priv->preview_image);
#line 317 "/home/jens/Source/shotwell/src/PhotoPage.vala"
self->priv->preview_image = _tmp1_;
-#line 3772 "PhotoPage.c"
+#line 3754 "PhotoPage.c"
}
@@ -3786,7 +3768,7 @@ void zoom_buffer_flush_demand_cache (ZoomBuffer* self, ZoomState* initial_zoom_s
_tmp0_ = initial_zoom_state;
#line 324 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp0_ != NULL) {
-#line 3788 "PhotoPage.c"
+#line 3770 "PhotoPage.c"
ZoomState* _tmp1_ = NULL;
ZoomState _tmp2_ = {0};
GdkPixbuf* _tmp3_ = NULL;
@@ -3801,7 +3783,7 @@ void zoom_buffer_flush_demand_cache (ZoomBuffer* self, ZoomState* initial_zoom_s
_tmp4_ = _tmp3_;
#line 325 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp4_);
-#line 3803 "PhotoPage.c"
+#line 3785 "PhotoPage.c"
}
}
@@ -3820,7 +3802,7 @@ GdkPixbuf* zoom_buffer_get_zoomed_image (ZoomBuffer* self, ZoomState* zoom_state
_tmp0_ = zoom_state_get_interpolation_factor (zoom_state);
#line 333 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp0_ == 0.0) {
-#line 3822 "PhotoPage.c"
+#line 3804 "PhotoPage.c"
ZoomState _tmp1_ = {0};
GdkPixbuf* _tmp2_ = NULL;
#line 334 "/home/jens/Source/shotwell/src/PhotoPage.vala"
@@ -3831,7 +3813,7 @@ GdkPixbuf* zoom_buffer_get_zoomed_image (ZoomBuffer* self, ZoomState* zoom_state
result = _tmp2_;
#line 334 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 3833 "PhotoPage.c"
+#line 3815 "PhotoPage.c"
}
#line 337 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp3_ = self->priv->object_state;
@@ -3841,7 +3823,7 @@ GdkPixbuf* zoom_buffer_get_zoomed_image (ZoomBuffer* self, ZoomState* zoom_state
case ZOOM_BUFFER_OBJECT_STATE_SOURCE_NOT_LOADED:
#line 337 "/home/jens/Source/shotwell/src/PhotoPage.vala"
case ZOOM_BUFFER_OBJECT_STATE_SOURCE_LOAD_IN_PROGRESS:
-#line 3843 "PhotoPage.c"
+#line 3825 "PhotoPage.c"
{
ZoomState _tmp4_ = {0};
GdkPixbuf* _tmp5_ = NULL;
@@ -3853,11 +3835,11 @@ GdkPixbuf* zoom_buffer_get_zoomed_image (ZoomBuffer* self, ZoomState* zoom_state
result = _tmp5_;
#line 340 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 3855 "PhotoPage.c"
+#line 3837 "PhotoPage.c"
}
#line 337 "/home/jens/Source/shotwell/src/PhotoPage.vala"
case ZOOM_BUFFER_OBJECT_STATE_SOURCE_NOT_TRANSFORMED:
-#line 3859 "PhotoPage.c"
+#line 3841 "PhotoPage.c"
{
ZoomState _tmp6_ = {0};
GdkPixbuf* _tmp7_ = NULL;
@@ -3869,11 +3851,11 @@ GdkPixbuf* zoom_buffer_get_zoomed_image (ZoomBuffer* self, ZoomState* zoom_state
result = _tmp7_;
#line 343 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 3871 "PhotoPage.c"
+#line 3853 "PhotoPage.c"
}
#line 337 "/home/jens/Source/shotwell/src/PhotoPage.vala"
case ZOOM_BUFFER_OBJECT_STATE_TRANSFORMED_READY:
-#line 3875 "PhotoPage.c"
+#line 3857 "PhotoPage.c"
{
ZoomState _tmp8_ = {0};
GdkPixbuf* _tmp9_ = NULL;
@@ -3891,7 +3873,7 @@ GdkPixbuf* zoom_buffer_get_zoomed_image (ZoomBuffer* self, ZoomState* zoom_state
result = _tmp11_;
#line 348 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 3893 "PhotoPage.c"
+#line 3875 "PhotoPage.c"
}
default:
{
@@ -3908,7 +3890,7 @@ GdkPixbuf* zoom_buffer_get_zoomed_image (ZoomBuffer* self, ZoomState* zoom_state
result = _tmp13_;
#line 353 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 3909 "PhotoPage.c"
+#line 3891 "PhotoPage.c"
}
}
}
@@ -3932,7 +3914,7 @@ GdkPixbuf* zoom_buffer_get_zoom_preview_image (ZoomBuffer* self, ZoomState* zoom
result = _tmp1_;
#line 360 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 3933 "PhotoPage.c"
+#line 3915 "PhotoPage.c"
}
@@ -3965,14 +3947,14 @@ static ZoomBufferIsoSourceFetchJob* zoom_buffer_iso_source_fetch_job_construct (
self->priv->to_fetch = _tmp3_;
#line 20 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return self;
-#line 3966 "PhotoPage.c"
+#line 3948 "PhotoPage.c"
}
static ZoomBufferIsoSourceFetchJob* zoom_buffer_iso_source_fetch_job_new (ZoomBuffer* owner, Photo* to_fetch, CompletionCallback completion_callback, void* completion_callback_target) {
#line 20 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return zoom_buffer_iso_source_fetch_job_construct (ZOOM_BUFFER_TYPE_ISO_SOURCE_FETCH_JOB, owner, to_fetch, completion_callback, completion_callback_target);
-#line 3973 "PhotoPage.c"
+#line 3955 "PhotoPage.c"
}
@@ -3981,7 +3963,7 @@ static void zoom_buffer_iso_source_fetch_job_real_execute (BackgroundJob* base)
GError * _inner_error_ = NULL;
#line 27 "/home/jens/Source/shotwell/src/PhotoPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, ZOOM_BUFFER_TYPE_ISO_SOURCE_FETCH_JOB, ZoomBufferIsoSourceFetchJob);
-#line 3982 "PhotoPage.c"
+#line 3964 "PhotoPage.c"
{
GdkPixbuf* _tmp0_ = NULL;
Photo* _tmp1_ = NULL;
@@ -3998,7 +3980,7 @@ static void zoom_buffer_iso_source_fetch_job_real_execute (BackgroundJob* base)
_tmp0_ = _tmp3_;
#line 29 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 3999 "PhotoPage.c"
+#line 3981 "PhotoPage.c"
goto __catch240_g_error;
}
#line 29 "/home/jens/Source/shotwell/src/PhotoPage.vala"
@@ -4011,7 +3993,7 @@ static void zoom_buffer_iso_source_fetch_job_real_execute (BackgroundJob* base)
self->fetched = _tmp4_;
#line 28 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp0_);
-#line 4012 "PhotoPage.c"
+#line 3994 "PhotoPage.c"
}
goto __finally240;
__catch240_g_error:
@@ -4026,7 +4008,7 @@ static void zoom_buffer_iso_source_fetch_job_real_execute (BackgroundJob* base)
"m backing photo");
#line 28 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_error_free0 (fetch_error);
-#line 4026 "PhotoPage.c"
+#line 4008 "PhotoPage.c"
}
__finally240:
#line 28 "/home/jens/Source/shotwell/src/PhotoPage.vala"
@@ -4037,7 +4019,7 @@ static void zoom_buffer_iso_source_fetch_job_real_execute (BackgroundJob* base)
g_clear_error (&_inner_error_);
#line 28 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return;
-#line 4037 "PhotoPage.c"
+#line 4019 "PhotoPage.c"
}
}
@@ -4051,7 +4033,7 @@ static void zoom_buffer_iso_source_fetch_job_class_init (ZoomBufferIsoSourceFetc
g_type_class_add_private (klass, sizeof (ZoomBufferIsoSourceFetchJobPrivate));
#line 15 "/home/jens/Source/shotwell/src/PhotoPage.vala"
((BackgroundJobClass *) klass)->execute = zoom_buffer_iso_source_fetch_job_real_execute;
-#line 4051 "PhotoPage.c"
+#line 4033 "PhotoPage.c"
}
@@ -4060,7 +4042,7 @@ static void zoom_buffer_iso_source_fetch_job_instance_init (ZoomBufferIsoSourceF
self->priv = ZOOM_BUFFER_ISO_SOURCE_FETCH_JOB_GET_PRIVATE (self);
#line 18 "/home/jens/Source/shotwell/src/PhotoPage.vala"
self->fetched = NULL;
-#line 4060 "PhotoPage.c"
+#line 4042 "PhotoPage.c"
}
@@ -4074,7 +4056,7 @@ static void zoom_buffer_iso_source_fetch_job_finalize (BackgroundJob* obj) {
_g_object_unref0 (self->fetched);
#line 15 "/home/jens/Source/shotwell/src/PhotoPage.vala"
BACKGROUND_JOB_CLASS (zoom_buffer_iso_source_fetch_job_parent_class)->finalize (obj);
-#line 4074 "PhotoPage.c"
+#line 4056 "PhotoPage.c"
}
@@ -4093,7 +4075,7 @@ static GType zoom_buffer_iso_source_fetch_job_get_type (void) {
static gpointer _pixel_transformer_ref0 (gpointer self) {
#line 55 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return self ? pixel_transformer_ref (self) : NULL;
-#line 4093 "PhotoPage.c"
+#line 4075 "PhotoPage.c"
}
@@ -4163,14 +4145,14 @@ static ZoomBufferTransformationJob* zoom_buffer_transformation_job_construct (GT
self->transformed = _tmp10_;
#line 49 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return self;
-#line 4163 "PhotoPage.c"
+#line 4145 "PhotoPage.c"
}
static ZoomBufferTransformationJob* zoom_buffer_transformation_job_new (ZoomBuffer* owner, GdkPixbuf* to_transform, PixelTransformer* transformer, CompletionCallback completion_callback, void* completion_callback_target, GCancellable* cancellable) {
#line 49 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return zoom_buffer_transformation_job_construct (ZOOM_BUFFER_TYPE_TRANSFORMATION_JOB, owner, to_transform, transformer, completion_callback, completion_callback_target, cancellable);
-#line 4170 "PhotoPage.c"
+#line 4152 "PhotoPage.c"
}
@@ -4183,7 +4165,7 @@ static void zoom_buffer_transformation_job_real_execute (BackgroundJob* base) {
_tmp0_ = self->priv->transformer;
#line 60 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp0_ != NULL) {
-#line 4183 "PhotoPage.c"
+#line 4165 "PhotoPage.c"
PixelTransformer* _tmp1_ = NULL;
GdkPixbuf* _tmp2_ = NULL;
GdkPixbuf* _tmp3_ = NULL;
@@ -4198,7 +4180,7 @@ static void zoom_buffer_transformation_job_real_execute (BackgroundJob* base) {
_tmp4_ = self->priv->cancellable;
#line 61 "/home/jens/Source/shotwell/src/PhotoPage.vala"
pixel_transformer_transform_to_other_pixbuf (_tmp1_, _tmp2_, _tmp3_, _tmp4_);
-#line 4198 "PhotoPage.c"
+#line 4180 "PhotoPage.c"
}
}
@@ -4212,7 +4194,7 @@ static void zoom_buffer_transformation_job_class_init (ZoomBufferTransformationJ
g_type_class_add_private (klass, sizeof (ZoomBufferTransformationJobPrivate));
#line 42 "/home/jens/Source/shotwell/src/PhotoPage.vala"
((BackgroundJobClass *) klass)->execute = zoom_buffer_transformation_job_real_execute;
-#line 4212 "PhotoPage.c"
+#line 4194 "PhotoPage.c"
}
@@ -4221,7 +4203,7 @@ static void zoom_buffer_transformation_job_instance_init (ZoomBufferTransformati
self->priv = ZOOM_BUFFER_TRANSFORMATION_JOB_GET_PRIVATE (self);
#line 47 "/home/jens/Source/shotwell/src/PhotoPage.vala"
self->transformed = NULL;
-#line 4221 "PhotoPage.c"
+#line 4203 "PhotoPage.c"
}
@@ -4239,7 +4221,7 @@ static void zoom_buffer_transformation_job_finalize (BackgroundJob* obj) {
_g_object_unref0 (self->transformed);
#line 42 "/home/jens/Source/shotwell/src/PhotoPage.vala"
BACKGROUND_JOB_CLASS (zoom_buffer_transformation_job_parent_class)->finalize (obj);
-#line 4239 "PhotoPage.c"
+#line 4221 "PhotoPage.c"
}
@@ -4262,7 +4244,7 @@ static void zoom_buffer_class_init (ZoomBufferClass * klass) {
g_type_class_add_private (klass, sizeof (ZoomBufferPrivate));
#line 7 "/home/jens/Source/shotwell/src/PhotoPage.vala"
G_OBJECT_CLASS (klass)->finalize = zoom_buffer_finalize;
-#line 4262 "PhotoPage.c"
+#line 4244 "PhotoPage.c"
}
@@ -4291,7 +4273,7 @@ static void zoom_buffer_instance_init (ZoomBuffer * self) {
self->priv->workers = NULL;
#line 82 "/home/jens/Source/shotwell/src/PhotoPage.vala"
self->priv->is_interactive_redraw_in_progress = FALSE;
-#line 4291 "PhotoPage.c"
+#line 4273 "PhotoPage.c"
}
@@ -4321,7 +4303,7 @@ static void zoom_buffer_finalize (GObject* obj) {
_g_object_unref0 (self->priv->parent_page);
#line 7 "/home/jens/Source/shotwell/src/PhotoPage.vala"
G_OBJECT_CLASS (zoom_buffer_parent_class)->finalize (obj);
-#line 4321 "PhotoPage.c"
+#line 4303 "PhotoPage.c"
}
@@ -4340,77 +4322,77 @@ GType zoom_buffer_get_type (void) {
static void _editing_host_page_on_photos_altered_data_collection_items_altered (DataCollection* _sender, GeeMap* items, gpointer self) {
#line 548 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_on_photos_altered ((EditingHostPage*) self, items);
-#line 4340 "PhotoPage.c"
+#line 4322 "PhotoPage.c"
}
static void _editing_host_page_on_view_contents_ordering_altered_data_collection_contents_altered (DataCollection* _sender, GeeIterable* added, GeeIterable* removed, gpointer self) {
#line 550 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_on_view_contents_ordering_altered ((EditingHostPage*) self);
-#line 4347 "PhotoPage.c"
+#line 4329 "PhotoPage.c"
}
static void _editing_host_page_on_view_contents_ordering_altered_data_collection_ordering_changed (DataCollection* _sender, gpointer self) {
#line 551 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_on_view_contents_ordering_altered ((EditingHostPage*) self);
-#line 4354 "PhotoPage.c"
+#line 4336 "PhotoPage.c"
}
static gpointer _data_collection_ref0 (gpointer self) {
#line 420 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return self ? data_collection_ref (self) : NULL;
-#line 4361 "PhotoPage.c"
+#line 4343 "PhotoPage.c"
}
static void _editing_host_page_on_viewport_resized_gtk_widget_size_allocate (GtkWidget* _sender, GtkAllocation* allocation, gpointer self) {
#line 431 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_on_viewport_resized ((EditingHostPage*) self);
-#line 4368 "PhotoPage.c"
+#line 4350 "PhotoPage.c"
}
static void _editing_host_page_on_rotate_clockwise_gtk_tool_button_clicked (GtkToolButton* _sender, gpointer self) {
#line 440 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_on_rotate_clockwise ((EditingHostPage*) self);
-#line 4375 "PhotoPage.c"
+#line 4357 "PhotoPage.c"
}
static void _editing_host_page_on_crop_toggled_gtk_toggle_tool_button_toggled (GtkToggleToolButton* _sender, gpointer self) {
#line 449 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_on_crop_toggled ((EditingHostPage*) self);
-#line 4382 "PhotoPage.c"
+#line 4364 "PhotoPage.c"
}
static void _editing_host_page_on_straighten_toggled_gtk_toggle_tool_button_toggled (GtkToggleToolButton* _sender, gpointer self) {
#line 458 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_on_straighten_toggled ((EditingHostPage*) self);
-#line 4389 "PhotoPage.c"
+#line 4371 "PhotoPage.c"
}
static void _editing_host_page_on_redeye_toggled_gtk_toggle_tool_button_toggled (GtkToggleToolButton* _sender, gpointer self) {
#line 467 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_on_redeye_toggled ((EditingHostPage*) self);
-#line 4396 "PhotoPage.c"
+#line 4378 "PhotoPage.c"
}
static void _editing_host_page_on_adjust_toggled_gtk_toggle_tool_button_toggled (GtkToggleToolButton* _sender, gpointer self) {
#line 476 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_on_adjust_toggled ((EditingHostPage*) self);
-#line 4403 "PhotoPage.c"
+#line 4385 "PhotoPage.c"
}
static void _editing_host_page_on_enhance_gtk_tool_button_clicked (GtkToolButton* _sender, gpointer self) {
#line 484 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_on_enhance ((EditingHostPage*) self);
-#line 4410 "PhotoPage.c"
+#line 4392 "PhotoPage.c"
}
@@ -4419,14 +4401,14 @@ static gboolean _editing_host_page_on_zoom_out_pressed_gtk_widget_button_press_e
result = editing_host_page_on_zoom_out_pressed ((EditingHostPage*) self, event);
#line 503 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 4419 "PhotoPage.c"
+#line 4401 "PhotoPage.c"
}
static void _editing_host_page_on_zoom_slider_value_changed_gtk_range_value_changed (GtkRange* _sender, gpointer self) {
#line 511 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_on_zoom_slider_value_changed ((EditingHostPage*) self);
-#line 4426 "PhotoPage.c"
+#line 4408 "PhotoPage.c"
}
@@ -4435,7 +4417,7 @@ static gboolean _editing_host_page_on_zoom_slider_drag_begin_gtk_widget_button_p
result = editing_host_page_on_zoom_slider_drag_begin ((EditingHostPage*) self, event);
#line 512 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 4435 "PhotoPage.c"
+#line 4417 "PhotoPage.c"
}
@@ -4444,7 +4426,7 @@ static gboolean _editing_host_page_on_zoom_slider_drag_end_gtk_widget_button_rel
result = editing_host_page_on_zoom_slider_drag_end ((EditingHostPage*) self, event);
#line 513 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 4444 "PhotoPage.c"
+#line 4426 "PhotoPage.c"
}
@@ -4453,7 +4435,7 @@ static gboolean _editing_host_page_on_zoom_slider_key_press_gtk_widget_key_press
result = editing_host_page_on_zoom_slider_key_press ((EditingHostPage*) self, event);
#line 514 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 4453 "PhotoPage.c"
+#line 4435 "PhotoPage.c"
}
@@ -4462,21 +4444,21 @@ static gboolean _editing_host_page_on_zoom_in_pressed_gtk_widget_button_press_ev
result = editing_host_page_on_zoom_in_pressed ((EditingHostPage*) self, event);
#line 525 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 4462 "PhotoPage.c"
+#line 4444 "PhotoPage.c"
}
static void _single_photo_page_on_previous_photo_gtk_tool_button_clicked (GtkToolButton* _sender, gpointer self) {
#line 537 "/home/jens/Source/shotwell/src/PhotoPage.vala"
single_photo_page_on_previous_photo ((SinglePhotoPage*) self);
-#line 4469 "PhotoPage.c"
+#line 4451 "PhotoPage.c"
}
static void _single_photo_page_on_next_photo_gtk_tool_button_clicked (GtkToolButton* _sender, gpointer self) {
#line 543 "/home/jens/Source/shotwell/src/PhotoPage.vala"
single_photo_page_on_next_photo ((SinglePhotoPage*) self);
-#line 4476 "PhotoPage.c"
+#line 4458 "PhotoPage.c"
}
@@ -4987,7 +4969,7 @@ EditingHostPage* editing_host_page_construct (GType object_type, SourceCollectio
_g_object_unref0 (toolbar);
#line 417 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return self;
-#line 4987 "PhotoPage.c"
+#line 4969 "PhotoPage.c"
}
@@ -5011,7 +4993,7 @@ static void editing_host_page_on_zoom_slider_value_changed (EditingHostPage* sel
_tmp3_ = self->priv->enable_interactive_zoom_refresh;
#line 557 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp3_) {
-#line 5011 "PhotoPage.c"
+#line 4993 "PhotoPage.c"
ZoomState _tmp4_ = {0};
gboolean _tmp5_ = FALSE;
#line 558 "/home/jens/Source/shotwell/src/PhotoPage.vala"
@@ -5022,13 +5004,13 @@ static void editing_host_page_on_zoom_slider_value_changed (EditingHostPage* sel
_tmp5_ = zoom_state_is_default (&new_zoom_state);
#line 560 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp5_) {
-#line 5022 "PhotoPage.c"
+#line 5004 "PhotoPage.c"
ZoomState _tmp6_ = {0};
#line 561 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp6_ = new_zoom_state;
#line 561 "/home/jens/Source/shotwell/src/PhotoPage.vala"
single_photo_page_set_zoom_state (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SINGLE_PHOTO_PAGE, SinglePhotoPage), &_tmp6_);
-#line 5028 "PhotoPage.c"
+#line 5010 "PhotoPage.c"
}
} else {
gboolean _tmp7_ = FALSE;
@@ -5038,22 +5020,22 @@ static void editing_host_page_on_zoom_slider_value_changed (EditingHostPage* sel
if (_tmp7_) {
#line 564 "/home/jens/Source/shotwell/src/PhotoPage.vala"
single_photo_page_cancel_zoom (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SINGLE_PHOTO_PAGE, SinglePhotoPage));
-#line 5038 "PhotoPage.c"
+#line 5020 "PhotoPage.c"
} else {
ZoomState _tmp8_ = {0};
#line 566 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp8_ = new_zoom_state;
#line 566 "/home/jens/Source/shotwell/src/PhotoPage.vala"
single_photo_page_set_zoom_state (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SINGLE_PHOTO_PAGE, SinglePhotoPage), &_tmp8_);
-#line 5045 "PhotoPage.c"
+#line 5027 "PhotoPage.c"
}
#line 568 "/home/jens/Source/shotwell/src/PhotoPage.vala"
single_photo_page_repaint (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SINGLE_PHOTO_PAGE, SinglePhotoPage), NULL);
-#line 5049 "PhotoPage.c"
+#line 5031 "PhotoPage.c"
}
#line 571 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_update_cursor_for_zoom_context (self);
-#line 5053 "PhotoPage.c"
+#line 5035 "PhotoPage.c"
}
@@ -5078,7 +5060,7 @@ static gboolean editing_host_page_on_zoom_slider_drag_begin (EditingHostPage* se
_g_object_unref0 (_tmp1_);
#line 577 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp2_) {
-#line 5078 "PhotoPage.c"
+#line 5060 "PhotoPage.c"
GtkWindow* _tmp3_ = NULL;
FullscreenWindow* _tmp4_ = NULL;
#line 578 "/home/jens/Source/shotwell/src/PhotoPage.vala"
@@ -5089,13 +5071,13 @@ static gboolean editing_host_page_on_zoom_slider_drag_begin (EditingHostPage* se
fullscreen_window_disable_toolbar_dismissal (_tmp4_);
#line 578 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp4_);
-#line 5089 "PhotoPage.c"
+#line 5071 "PhotoPage.c"
}
#line 580 "/home/jens/Source/shotwell/src/PhotoPage.vala"
result = FALSE;
#line 580 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 5095 "PhotoPage.c"
+#line 5077 "PhotoPage.c"
}
@@ -5125,7 +5107,7 @@ static gboolean editing_host_page_on_zoom_slider_drag_end (EditingHostPage* self
_g_object_unref0 (_tmp1_);
#line 586 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp2_) {
-#line 5125 "PhotoPage.c"
+#line 5107 "PhotoPage.c"
GtkWindow* _tmp3_ = NULL;
FullscreenWindow* _tmp4_ = NULL;
#line 587 "/home/jens/Source/shotwell/src/PhotoPage.vala"
@@ -5136,7 +5118,7 @@ static gboolean editing_host_page_on_zoom_slider_drag_end (EditingHostPage* self
fullscreen_window_update_toolbar_dismissal (_tmp4_);
#line 587 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp4_);
-#line 5136 "PhotoPage.c"
+#line 5118 "PhotoPage.c"
}
#line 589 "/home/jens/Source/shotwell/src/PhotoPage.vala"
single_photo_page_get_zoom_state (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SINGLE_PHOTO_PAGE, SinglePhotoPage), &_tmp5_);
@@ -5156,7 +5138,7 @@ static gboolean editing_host_page_on_zoom_slider_drag_end (EditingHostPage* self
result = FALSE;
#line 594 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 5156 "PhotoPage.c"
+#line 5138 "PhotoPage.c"
}
@@ -5172,7 +5154,7 @@ static gboolean editing_host_page_on_zoom_out_pressed (EditingHostPage* self, Gd
result = TRUE;
#line 599 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 5172 "PhotoPage.c"
+#line 5154 "PhotoPage.c"
}
@@ -5188,7 +5170,7 @@ static gboolean editing_host_page_on_zoom_in_pressed (EditingHostPage* self, Gdk
result = TRUE;
#line 604 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 5188 "PhotoPage.c"
+#line 5170 "PhotoPage.c"
}
@@ -5300,7 +5282,7 @@ static void editing_host_page_get_cursor_wrt_viewport (EditingHostPage* self, Gd
*result = _result_;
#line 619 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return;
-#line 5300 "PhotoPage.c"
+#line 5282 "PhotoPage.c"
}
@@ -5362,7 +5344,7 @@ static void editing_host_page_get_cursor_wrt_viewport_center (EditingHostPage* s
*result = _tmp11_;
#line 630 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return;
-#line 5362 "PhotoPage.c"
+#line 5344 "PhotoPage.c"
}
@@ -5420,7 +5402,7 @@ static void editing_host_page_get_iso_pixel_under_cursor (EditingHostPage* self,
*result = _tmp12_;
#line 640 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return;
-#line 5420 "PhotoPage.c"
+#line 5402 "PhotoPage.c"
}
@@ -5436,7 +5418,7 @@ static gdouble editing_host_page_snap_interpolation_factor (EditingHostPage* sel
if (_tmp0_ < 0.03) {
#line 645 "/home/jens/Source/shotwell/src/PhotoPage.vala"
interp = 0.0;
-#line 5436 "PhotoPage.c"
+#line 5418 "PhotoPage.c"
} else {
gdouble _tmp1_ = 0.0;
#line 646 "/home/jens/Source/shotwell/src/PhotoPage.vala"
@@ -5445,7 +5427,7 @@ static gdouble editing_host_page_snap_interpolation_factor (EditingHostPage* sel
if (_tmp1_ > 0.97) {
#line 647 "/home/jens/Source/shotwell/src/PhotoPage.vala"
interp = 1.0;
-#line 5445 "PhotoPage.c"
+#line 5427 "PhotoPage.c"
}
}
#line 649 "/home/jens/Source/shotwell/src/PhotoPage.vala"
@@ -5454,7 +5436,7 @@ static gdouble editing_host_page_snap_interpolation_factor (EditingHostPage* sel
result = _tmp2_;
#line 649 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 5454 "PhotoPage.c"
+#line 5436 "PhotoPage.c"
}
@@ -5478,7 +5460,7 @@ static gdouble editing_host_page_adjust_interpolation_factor (EditingHostPage* s
result = _tmp3_;
#line 653 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 5478 "PhotoPage.c"
+#line 5460 "PhotoPage.c"
}
@@ -5523,7 +5505,7 @@ static void editing_host_page_zoom_about_event_cursor_point (EditingHostPage* se
if (_tmp0_) {
#line 658 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return;
-#line 5523 "PhotoPage.c"
+#line 5505 "PhotoPage.c"
}
#line 660 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp1_ = event;
@@ -5577,7 +5559,7 @@ static void editing_host_page_zoom_about_event_cursor_point (EditingHostPage* se
single_photo_page_repaint (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SINGLE_PHOTO_PAGE, SinglePhotoPage), NULL);
#line 674 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return;
-#line 5577 "PhotoPage.c"
+#line 5559 "PhotoPage.c"
}
#line 677 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp15_ = iso_pixel_under_cursor;
@@ -5609,7 +5591,7 @@ static void editing_host_page_zoom_about_event_cursor_point (EditingHostPage* se
single_photo_page_repaint (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SINGLE_PHOTO_PAGE, SinglePhotoPage), NULL);
#line 687 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_update_cursor_for_zoom_context (self);
-#line 5609 "PhotoPage.c"
+#line 5591 "PhotoPage.c"
}
@@ -5621,7 +5603,7 @@ void editing_host_page_snap_zoom_to_min (EditingHostPage* self) {
_tmp0_ = self->priv->zoom_slider;
#line 691 "/home/jens/Source/shotwell/src/PhotoPage.vala"
gtk_range_set_value (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_range_get_type (), GtkRange), 0.0);
-#line 5621 "PhotoPage.c"
+#line 5603 "PhotoPage.c"
}
@@ -5633,7 +5615,7 @@ void editing_host_page_snap_zoom_to_max (EditingHostPage* self) {
_tmp0_ = self->priv->zoom_slider;
#line 695 "/home/jens/Source/shotwell/src/PhotoPage.vala"
gtk_range_set_value (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_range_get_type (), GtkRange), 1.0);
-#line 5633 "PhotoPage.c"
+#line 5615 "PhotoPage.c"
}
@@ -5654,7 +5636,7 @@ void editing_host_page_snap_zoom_to_isomorphic (EditingHostPage* self) {
_tmp2_ = zoom_state_get_interpolation_factor (&iso_state);
#line 700 "/home/jens/Source/shotwell/src/PhotoPage.vala"
gtk_range_set_value (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_range_get_type (), GtkRange), _tmp2_);
-#line 5654 "PhotoPage.c"
+#line 5636 "PhotoPage.c"
}
@@ -5697,7 +5679,7 @@ static gboolean editing_host_page_real_on_zoom_slider_key_press (EditingHostPage
if (((_tmp5_ == ((0 != _tmp4_label0) ? _tmp4_label0 : (_tmp4_label0 = g_quark_from_static_string ("equal")))) || (_tmp5_ == ((0 != _tmp4_label1) ? _tmp4_label1 : (_tmp4_label1 = g_quark_from_static_string ("plus"))))) || (_tmp5_ == ((0 != _tmp4_label2) ? _tmp4_label2 : (_tmp4_label2 = g_quark_from_static_string ("KP_Add"))))) {
#line 704 "/home/jens/Source/shotwell/src/PhotoPage.vala"
switch (0) {
-#line 5697 "PhotoPage.c"
+#line 5679 "PhotoPage.c"
default:
{
#line 708 "/home/jens/Source/shotwell/src/PhotoPage.vala"
@@ -5706,13 +5688,13 @@ static gboolean editing_host_page_real_on_zoom_slider_key_press (EditingHostPage
result = TRUE;
#line 709 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 5706 "PhotoPage.c"
+#line 5688 "PhotoPage.c"
}
}
} else if (((_tmp5_ == ((0 != _tmp4_label3) ? _tmp4_label3 : (_tmp4_label3 = g_quark_from_static_string ("minus")))) || (_tmp5_ == ((0 != _tmp4_label4) ? _tmp4_label4 : (_tmp4_label4 = g_quark_from_static_string ("underscore"))))) || (_tmp5_ == ((0 != _tmp4_label5) ? _tmp4_label5 : (_tmp4_label5 = g_quark_from_static_string ("KP_Subtract"))))) {
#line 704 "/home/jens/Source/shotwell/src/PhotoPage.vala"
switch (0) {
-#line 5712 "PhotoPage.c"
+#line 5694 "PhotoPage.c"
default:
{
#line 714 "/home/jens/Source/shotwell/src/PhotoPage.vala"
@@ -5721,13 +5703,13 @@ static gboolean editing_host_page_real_on_zoom_slider_key_press (EditingHostPage
result = TRUE;
#line 715 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 5721 "PhotoPage.c"
+#line 5703 "PhotoPage.c"
}
}
} else if (_tmp5_ == ((0 != _tmp4_label6) ? _tmp4_label6 : (_tmp4_label6 = g_quark_from_static_string ("KP_Divide")))) {
#line 704 "/home/jens/Source/shotwell/src/PhotoPage.vala"
switch (0) {
-#line 5727 "PhotoPage.c"
+#line 5709 "PhotoPage.c"
default:
{
#line 718 "/home/jens/Source/shotwell/src/PhotoPage.vala"
@@ -5736,13 +5718,13 @@ static gboolean editing_host_page_real_on_zoom_slider_key_press (EditingHostPage
result = TRUE;
#line 719 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 5736 "PhotoPage.c"
+#line 5718 "PhotoPage.c"
}
}
} else if (_tmp5_ == ((0 != _tmp4_label7) ? _tmp4_label7 : (_tmp4_label7 = g_quark_from_static_string ("KP_Multiply")))) {
#line 704 "/home/jens/Source/shotwell/src/PhotoPage.vala"
switch (0) {
-#line 5742 "PhotoPage.c"
+#line 5724 "PhotoPage.c"
default:
{
#line 722 "/home/jens/Source/shotwell/src/PhotoPage.vala"
@@ -5751,7 +5733,7 @@ static gboolean editing_host_page_real_on_zoom_slider_key_press (EditingHostPage
result = TRUE;
#line 723 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 5751 "PhotoPage.c"
+#line 5733 "PhotoPage.c"
}
}
}
@@ -5759,7 +5741,7 @@ static gboolean editing_host_page_real_on_zoom_slider_key_press (EditingHostPage
result = FALSE;
#line 726 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 5759 "PhotoPage.c"
+#line 5741 "PhotoPage.c"
}
@@ -5768,7 +5750,7 @@ gboolean editing_host_page_on_zoom_slider_key_press (EditingHostPage* self, GdkE
g_return_val_if_fail (IS_EDITING_HOST_PAGE (self), FALSE);
#line 703 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return EDITING_HOST_PAGE_GET_CLASS (self)->on_zoom_slider_key_press (self, event);
-#line 5768 "PhotoPage.c"
+#line 5750 "PhotoPage.c"
}
@@ -5781,7 +5763,7 @@ static void editing_host_page_real_on_increase_size (EditingHostPage* self) {
_tmp1_ = editing_host_page_adjust_interpolation_factor (self, EDITING_HOST_PAGE_ZOOM_INCREMENT_SIZE);
#line 730 "/home/jens/Source/shotwell/src/PhotoPage.vala"
gtk_range_set_value (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_range_get_type (), GtkRange), _tmp1_);
-#line 5781 "PhotoPage.c"
+#line 5763 "PhotoPage.c"
}
@@ -5790,7 +5772,7 @@ void editing_host_page_on_increase_size (EditingHostPage* self) {
g_return_if_fail (IS_EDITING_HOST_PAGE (self));
#line 729 "/home/jens/Source/shotwell/src/PhotoPage.vala"
EDITING_HOST_PAGE_GET_CLASS (self)->on_increase_size (self);
-#line 5790 "PhotoPage.c"
+#line 5772 "PhotoPage.c"
}
@@ -5803,7 +5785,7 @@ static void editing_host_page_real_on_decrease_size (EditingHostPage* self) {
_tmp1_ = editing_host_page_adjust_interpolation_factor (self, -EDITING_HOST_PAGE_ZOOM_INCREMENT_SIZE);
#line 734 "/home/jens/Source/shotwell/src/PhotoPage.vala"
gtk_range_set_value (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_range_get_type (), GtkRange), _tmp1_);
-#line 5803 "PhotoPage.c"
+#line 5785 "PhotoPage.c"
}
@@ -5812,7 +5794,7 @@ void editing_host_page_on_decrease_size (EditingHostPage* self) {
g_return_if_fail (IS_EDITING_HOST_PAGE (self));
#line 733 "/home/jens/Source/shotwell/src/PhotoPage.vala"
EDITING_HOST_PAGE_GET_CLASS (self)->on_decrease_size (self);
-#line 5812 "PhotoPage.c"
+#line 5794 "PhotoPage.c"
}
@@ -5830,7 +5812,7 @@ static void editing_host_page_real_save_zoom_state (SinglePhotoPage* base) {
_tmp1_ = gtk_range_get_value (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_range_get_type (), GtkRange));
#line 739 "/home/jens/Source/shotwell/src/PhotoPage.vala"
self->priv->saved_slider_val = _tmp1_;
-#line 5830 "PhotoPage.c"
+#line 5812 "PhotoPage.c"
}
@@ -5849,7 +5831,7 @@ static ZoomBuffer* editing_host_page_real_get_zoom_buffer (SinglePhotoPage* base
result = _tmp1_;
#line 743 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 5849 "PhotoPage.c"
+#line 5831 "PhotoPage.c"
}
@@ -5872,7 +5854,7 @@ static gboolean editing_host_page_real_on_mousewheel_up (Page* base, GdkEventScr
if (_tmp2_) {
#line 747 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp0_ = TRUE;
-#line 5872 "PhotoPage.c"
+#line 5854 "PhotoPage.c"
} else {
GtkScale* _tmp3_ = NULL;
gboolean _tmp4_ = FALSE;
@@ -5882,7 +5864,7 @@ static gboolean editing_host_page_real_on_mousewheel_up (Page* base, GdkEventScr
_tmp4_ = gtk_widget_get_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_widget_get_type (), GtkWidget));
#line 747 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp0_ = !_tmp4_;
-#line 5882 "PhotoPage.c"
+#line 5864 "PhotoPage.c"
}
#line 747 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp0_) {
@@ -5890,7 +5872,7 @@ static gboolean editing_host_page_real_on_mousewheel_up (Page* base, GdkEventScr
result = FALSE;
#line 748 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 5890 "PhotoPage.c"
+#line 5872 "PhotoPage.c"
}
#line 750 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp5_ = event;
@@ -5900,7 +5882,7 @@ static gboolean editing_host_page_real_on_mousewheel_up (Page* base, GdkEventScr
result = FALSE;
#line 751 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 5900 "PhotoPage.c"
+#line 5882 "PhotoPage.c"
}
@@ -5923,7 +5905,7 @@ static gboolean editing_host_page_real_on_mousewheel_down (Page* base, GdkEventS
if (_tmp2_) {
#line 755 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp0_ = TRUE;
-#line 5923 "PhotoPage.c"
+#line 5905 "PhotoPage.c"
} else {
GtkScale* _tmp3_ = NULL;
gboolean _tmp4_ = FALSE;
@@ -5933,7 +5915,7 @@ static gboolean editing_host_page_real_on_mousewheel_down (Page* base, GdkEventS
_tmp4_ = gtk_widget_get_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_widget_get_type (), GtkWidget));
#line 755 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp0_ = !_tmp4_;
-#line 5933 "PhotoPage.c"
+#line 5915 "PhotoPage.c"
}
#line 755 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp0_) {
@@ -5941,7 +5923,7 @@ static gboolean editing_host_page_real_on_mousewheel_down (Page* base, GdkEventS
result = FALSE;
#line 756 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 5941 "PhotoPage.c"
+#line 5923 "PhotoPage.c"
}
#line 758 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp5_ = event;
@@ -5951,7 +5933,7 @@ static gboolean editing_host_page_real_on_mousewheel_down (Page* base, GdkEventS
result = FALSE;
#line 759 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 5951 "PhotoPage.c"
+#line 5933 "PhotoPage.c"
}
@@ -5982,7 +5964,7 @@ static void editing_host_page_real_restore_zoom_state (SinglePhotoPage* base) {
_tmp4_ = self->priv->zoom_slider;
#line 767 "/home/jens/Source/shotwell/src/PhotoPage.vala"
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_range_get_type (), GtkRange), "value-changed", (GCallback) _editing_host_page_on_zoom_slider_value_changed_gtk_range_value_changed, self, 0);
-#line 5982 "PhotoPage.c"
+#line 5964 "PhotoPage.c"
}
@@ -5995,7 +5977,7 @@ static gboolean editing_host_page_real_is_zoom_supported (SinglePhotoPage* base)
result = TRUE;
#line 771 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 5995 "PhotoPage.c"
+#line 5977 "PhotoPage.c"
}
@@ -6015,7 +5997,7 @@ static void editing_host_page_real_set_container (Page* base, GtkWindow* contain
_tmp1_ = container;
#line 778 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (!G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, TYPE_FULLSCREEN_WINDOW)) {
-#line 6015 "PhotoPage.c"
+#line 5997 "PhotoPage.c"
DragAndDropHandler* _tmp2_ = NULL;
#line 779 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp2_ = drag_and_drop_handler_new (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
@@ -6023,7 +6005,7 @@ static void editing_host_page_real_set_container (Page* base, GtkWindow* contain
_drag_and_drop_handler_unref0 (self->priv->dnd_handler);
#line 779 "/home/jens/Source/shotwell/src/PhotoPage.vala"
self->priv->dnd_handler = _tmp2_;
-#line 6023 "PhotoPage.c"
+#line 6005 "PhotoPage.c"
}
}
@@ -6042,7 +6024,7 @@ ViewCollection* editing_host_page_get_parent_view (EditingHostPage* self) {
result = _tmp1_;
#line 783 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 6042 "PhotoPage.c"
+#line 6024 "PhotoPage.c"
}
@@ -6065,7 +6047,7 @@ gboolean editing_host_page_has_photo (EditingHostPage* self) {
result = _tmp2_;
#line 787 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 6065 "PhotoPage.c"
+#line 6047 "PhotoPage.c"
}
@@ -6102,7 +6084,7 @@ Photo* editing_host_page_get_photo (EditingHostPage* self) {
result = NULL;
#line 793 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 6102 "PhotoPage.c"
+#line 6084 "PhotoPage.c"
}
#line 797 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
@@ -6134,7 +6116,7 @@ Photo* editing_host_page_get_photo (EditingHostPage* self) {
result = _tmp12_;
#line 798 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 6134 "PhotoPage.c"
+#line 6116 "PhotoPage.c"
}
@@ -6152,7 +6134,7 @@ static void editing_host_page_real_photo_changing (EditingHostPage* self, Photo*
if (_tmp1_ == PHOTO_FILE_FORMAT_RAW) {
#line 806 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_set_photo_missing (self, FALSE);
-#line 6152 "PhotoPage.c"
+#line 6134 "PhotoPage.c"
} else {
Photo* _tmp2_ = NULL;
GFile* _tmp3_ = NULL;
@@ -6170,13 +6152,13 @@ static void editing_host_page_real_photo_changing (EditingHostPage* self, Photo*
editing_host_page_set_photo_missing (self, !_tmp5_);
#line 808 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp4_);
-#line 6170 "PhotoPage.c"
+#line 6152 "PhotoPage.c"
}
#line 810 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp6_ = self->priv->photo_missing;
#line 810 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_update_ui (self, _tmp6_);
-#line 6176 "PhotoPage.c"
+#line 6158 "PhotoPage.c"
}
@@ -6185,7 +6167,7 @@ void editing_host_page_photo_changing (EditingHostPage* self, Photo* new_photo)
g_return_if_fail (IS_EDITING_HOST_PAGE (self));
#line 802 "/home/jens/Source/shotwell/src/PhotoPage.vala"
EDITING_HOST_PAGE_GET_CLASS (self)->photo_changing (self, new_photo);
-#line 6185 "PhotoPage.c"
+#line 6167 "PhotoPage.c"
}
@@ -6290,7 +6272,7 @@ static void editing_host_page_set_photo (EditingHostPage* self, Photo* photo) {
_tmp21_ = self->priv->parent_view;
#line 829 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp21_ != NULL) {
-#line 6290 "PhotoPage.c"
+#line 6272 "PhotoPage.c"
ViewCollection* _tmp22_ = NULL;
DataView* view_in_parent = NULL;
ViewCollection* _tmp23_ = NULL;
@@ -6313,7 +6295,7 @@ static void editing_host_page_set_photo (EditingHostPage* self, Photo* photo) {
_tmp26_ = view_in_parent;
#line 832 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (NULL != _tmp26_) {
-#line 6313 "PhotoPage.c"
+#line 6295 "PhotoPage.c"
ViewCollection* _tmp27_ = NULL;
ViewCollection* _tmp28_ = NULL;
DataView* _tmp29_ = NULL;
@@ -6333,17 +6315,17 @@ static void editing_host_page_set_photo (EditingHostPage* self, Photo* photo) {
view_collection_select_marked (_tmp27_, _tmp31_);
#line 833 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp31_);
-#line 6333 "PhotoPage.c"
+#line 6315 "PhotoPage.c"
}
#line 829 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (view_in_parent);
-#line 6337 "PhotoPage.c"
+#line 6319 "PhotoPage.c"
}
#line 813 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (marker);
#line 813 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (view);
-#line 6343 "PhotoPage.c"
+#line 6325 "PhotoPage.c"
}
@@ -6355,7 +6337,7 @@ static void editing_host_page_real_realize (GtkWidget* base) {
GTK_WIDGET_CLASS (editing_host_page_parent_class)->realize (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SINGLE_PHOTO_PAGE, SinglePhotoPage), gtk_widget_get_type (), GtkWidget));
#line 840 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_rebuild_caches (self, "realize");
-#line 6355 "PhotoPage.c"
+#line 6337 "PhotoPage.c"
}
@@ -6373,21 +6355,21 @@ static void editing_host_page_real_switched_to (Page* base) {
_tmp1_ = editing_host_page_has_photo (self);
#line 849 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp1_) {
-#line 6373 "PhotoPage.c"
+#line 6355 "PhotoPage.c"
gboolean _tmp2_ = FALSE;
#line 849 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp2_ = self->priv->pixbuf_dirty;
#line 849 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp0_ = _tmp2_;
-#line 6379 "PhotoPage.c"
+#line 6361 "PhotoPage.c"
} else {
#line 849 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp0_ = FALSE;
-#line 6383 "PhotoPage.c"
+#line 6365 "PhotoPage.c"
}
#line 849 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp0_) {
-#line 6387 "PhotoPage.c"
+#line 6369 "PhotoPage.c"
Photo* _tmp3_ = NULL;
Photo* _tmp4_ = NULL;
#line 850 "/home/jens/Source/shotwell/src/PhotoPage.vala"
@@ -6398,7 +6380,7 @@ static void editing_host_page_real_switched_to (Page* base) {
editing_host_page_replace_photo (self, _tmp4_);
#line 850 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp4_);
-#line 6398 "PhotoPage.c"
+#line 6380 "PhotoPage.c"
}
}
@@ -6426,21 +6408,21 @@ static void editing_host_page_real_switching_from (Page* base) {
_tmp2_ = editing_host_page_has_photo (self);
#line 866 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp2_) {
-#line 6426 "PhotoPage.c"
+#line 6408 "PhotoPage.c"
ViewCollection* _tmp3_ = NULL;
#line 866 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp3_ = self->priv->parent_view;
#line 866 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp1_ = _tmp3_ != NULL;
-#line 6432 "PhotoPage.c"
+#line 6414 "PhotoPage.c"
} else {
#line 866 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp1_ = FALSE;
-#line 6436 "PhotoPage.c"
+#line 6418 "PhotoPage.c"
}
#line 866 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp1_) {
-#line 6440 "PhotoPage.c"
+#line 6422 "PhotoPage.c"
ViewCollection* _tmp4_ = NULL;
ViewCollection* _tmp5_ = NULL;
ViewCollection* _tmp6_ = NULL;
@@ -6476,7 +6458,7 @@ static void editing_host_page_real_switching_from (Page* base) {
_g_object_unref0 (_tmp10_);
#line 867 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp8_);
-#line 6476 "PhotoPage.c"
+#line 6458 "PhotoPage.c"
}
#line 870 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_data_collection_unref0 (self->priv->parent_view);
@@ -6490,14 +6472,14 @@ static void editing_host_page_real_switching_from (Page* base) {
data_collection_clear (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, TYPE_DATA_COLLECTION, DataCollection));
#line 871 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_data_collection_unref0 (_tmp14_);
-#line 6490 "PhotoPage.c"
+#line 6472 "PhotoPage.c"
}
static void _editing_host_page_on_selection_changed_view_collection_items_selected (ViewCollection* _sender, GeeIterable* selected, gpointer self) {
#line 884 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_on_selection_changed ((EditingHostPage*) self, selected);
-#line 6497 "PhotoPage.c"
+#line 6479 "PhotoPage.c"
}
@@ -6535,7 +6517,7 @@ static void editing_host_page_real_switching_to_fullscreen (Page* base, Fullscre
_tmp4_ = page;
#line 883 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp4_ != NULL) {
-#line 6535 "PhotoPage.c"
+#line 6517 "PhotoPage.c"
Page* _tmp5_ = NULL;
ViewCollection* _tmp6_ = NULL;
ViewCollection* _tmp7_ = NULL;
@@ -6549,11 +6531,11 @@ static void editing_host_page_real_switching_to_fullscreen (Page* base, Fullscre
g_signal_connect_object (_tmp7_, "items-selected", (GCallback) _editing_host_page_on_selection_changed_view_collection_items_selected, self, 0);
#line 884 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_data_collection_unref0 (_tmp7_);
-#line 6549 "PhotoPage.c"
+#line 6531 "PhotoPage.c"
}
#line 874 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (page);
-#line 6553 "PhotoPage.c"
+#line 6535 "PhotoPage.c"
}
@@ -6584,7 +6566,7 @@ static void editing_host_page_real_returning_from_fullscreen (Page* base, Fullsc
_tmp3_ = page;
#line 893 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp3_ != NULL) {
-#line 6584 "PhotoPage.c"
+#line 6566 "PhotoPage.c"
Page* _tmp4_ = NULL;
ViewCollection* _tmp5_ = NULL;
ViewCollection* _tmp6_ = NULL;
@@ -6601,11 +6583,11 @@ static void editing_host_page_real_returning_from_fullscreen (Page* base, Fullsc
g_signal_handlers_disconnect_matched (_tmp6_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp7_, 0, NULL, (GCallback) _editing_host_page_on_selection_changed_view_collection_items_selected, self);
#line 894 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_data_collection_unref0 (_tmp6_);
-#line 6601 "PhotoPage.c"
+#line 6583 "PhotoPage.c"
}
#line 887 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (page);
-#line 6605 "PhotoPage.c"
+#line 6587 "PhotoPage.c"
}
@@ -6614,7 +6596,7 @@ static void editing_host_page_on_selection_changed (EditingHostPage* self, GeeIt
g_return_if_fail (IS_EDITING_HOST_PAGE (self));
#line 897 "/home/jens/Source/shotwell/src/PhotoPage.vala"
g_return_if_fail (GEE_IS_ITERABLE (selected));
-#line 6614 "PhotoPage.c"
+#line 6596 "PhotoPage.c"
{
GeeIterator* _view_it = NULL;
GeeIterable* _tmp0_ = NULL;
@@ -6627,7 +6609,7 @@ static void editing_host_page_on_selection_changed (EditingHostPage* self, GeeIt
_view_it = _tmp1_;
#line 898 "/home/jens/Source/shotwell/src/PhotoPage.vala"
while (TRUE) {
-#line 6627 "PhotoPage.c"
+#line 6609 "PhotoPage.c"
gboolean _tmp2_ = FALSE;
DataView* view = NULL;
gpointer _tmp3_ = NULL;
@@ -6640,7 +6622,7 @@ static void editing_host_page_on_selection_changed (EditingHostPage* self, GeeIt
if (!_tmp2_) {
#line 898 "/home/jens/Source/shotwell/src/PhotoPage.vala"
break;
-#line 6640 "PhotoPage.c"
+#line 6622 "PhotoPage.c"
}
#line 898 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp3_ = gee_iterator_get (_view_it);
@@ -6660,11 +6642,11 @@ static void editing_host_page_on_selection_changed (EditingHostPage* self, GeeIt
_g_object_unref0 (view);
#line 900 "/home/jens/Source/shotwell/src/PhotoPage.vala"
break;
-#line 6660 "PhotoPage.c"
+#line 6642 "PhotoPage.c"
}
#line 898 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_view_it);
-#line 6664 "PhotoPage.c"
+#line 6646 "PhotoPage.c"
}
}
@@ -6680,14 +6662,14 @@ void editing_host_page_enable_rotate (EditingHostPage* self, gboolean should_ena
_tmp1_ = should_enable;
#line 905 "/home/jens/Source/shotwell/src/PhotoPage.vala"
gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget), _tmp1_);
-#line 6680 "PhotoPage.c"
+#line 6662 "PhotoPage.c"
}
static void _editing_host_page_on_pixbuf_fetched_pixbuf_cache_fetched (PixbufCache* _sender, Photo* photo, GdkPixbuf* pixbuf, GError* err, gpointer self) {
#line 923 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_on_pixbuf_fetched ((EditingHostPage*) self, photo, pixbuf, err);
-#line 6687 "PhotoPage.c"
+#line 6669 "PhotoPage.c"
}
@@ -6696,7 +6678,7 @@ static gboolean _editing_host_page_master_cache_filter_pixbuf_cache_cache_filter
result = editing_host_page_master_cache_filter ((EditingHostPage*) self, photo);
#line 930 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 6696 "PhotoPage.c"
+#line 6678 "PhotoPage.c"
}
@@ -6729,7 +6711,7 @@ static void editing_host_page_rebuild_caches (EditingHostPage* self, const gchar
_tmp2_ = self->priv->cache;
#line 915 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp2_ != NULL) {
-#line 6729 "PhotoPage.c"
+#line 6711 "PhotoPage.c"
PixbufCache* _tmp3_ = NULL;
Scaling _tmp4_ = {0};
Scaling _tmp5_ = {0};
@@ -6744,17 +6726,17 @@ static void editing_host_page_rebuild_caches (EditingHostPage* self, const gchar
_tmp6_ = scaling_equals (&_tmp4_, &_tmp5_);
#line 915 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp1_ = _tmp6_;
-#line 6744 "PhotoPage.c"
+#line 6726 "PhotoPage.c"
} else {
#line 915 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp1_ = FALSE;
-#line 6748 "PhotoPage.c"
+#line 6730 "PhotoPage.c"
}
#line 915 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp1_) {
#line 916 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return;
-#line 6754 "PhotoPage.c"
+#line 6736 "PhotoPage.c"
}
#line 918 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp7_ = caller;
@@ -6770,7 +6752,7 @@ static void editing_host_page_rebuild_caches (EditingHostPage* self, const gchar
_tmp10_ = self->priv->cache;
#line 922 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp10_ != NULL) {
-#line 6770 "PhotoPage.c"
+#line 6752 "PhotoPage.c"
PixbufCache* _tmp11_ = NULL;
guint _tmp12_ = 0U;
PixbufCache* _tmp13_ = NULL;
@@ -6784,7 +6766,7 @@ static void editing_host_page_rebuild_caches (EditingHostPage* self, const gchar
_tmp13_ = self->priv->cache;
#line 924 "/home/jens/Source/shotwell/src/PhotoPage.vala"
pixbuf_cache_cancel_all (_tmp13_);
-#line 6784 "PhotoPage.c"
+#line 6766 "PhotoPage.c"
}
#line 927 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp14_ = self->priv->sources;
@@ -6814,7 +6796,7 @@ static void editing_host_page_rebuild_caches (EditingHostPage* self, const gchar
_tmp21_ = caller;
#line 933 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_refresh_caches (self, _tmp21_);
-#line 6814 "PhotoPage.c"
+#line 6796 "PhotoPage.c"
}
@@ -6828,7 +6810,7 @@ static void editing_host_page_refresh_caches (EditingHostPage* self, const gchar
_tmp0_ = editing_host_page_has_photo (self);
#line 938 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp0_) {
-#line 6828 "PhotoPage.c"
+#line 6810 "PhotoPage.c"
const gchar* _tmp1_ = NULL;
Photo* _tmp2_ = NULL;
Photo* _tmp3_ = NULL;
@@ -6869,14 +6851,14 @@ static void editing_host_page_refresh_caches (EditingHostPage* self, const gchar
_g_object_unref0 (_tmp9_);
#line 941 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_data_collection_unref0 (_tmp7_);
-#line 6868 "PhotoPage.c"
+#line 6850 "PhotoPage.c"
} else {
const gchar* _tmp10_ = NULL;
#line 943 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp10_ = caller;
#line 943 "/home/jens/Source/shotwell/src/PhotoPage.vala"
g_debug ("PhotoPage.vala:943: Refresh pixbuf caches (%s): (no photo)", _tmp10_);
-#line 6875 "PhotoPage.c"
+#line 6857 "PhotoPage.c"
}
}
@@ -6898,7 +6880,7 @@ static gboolean editing_host_page_master_cache_filter (EditingHostPage* self, Ph
if (_tmp2_) {
#line 948 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp0_ = TRUE;
-#line 6897 "PhotoPage.c"
+#line 6879 "PhotoPage.c"
} else {
Photo* _tmp3_ = NULL;
gboolean _tmp4_ = FALSE;
@@ -6908,13 +6890,13 @@ static gboolean editing_host_page_master_cache_filter (EditingHostPage* self, Ph
_tmp4_ = photo_has_editable (_tmp3_);
#line 948 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp0_ = _tmp4_;
-#line 6907 "PhotoPage.c"
+#line 6889 "PhotoPage.c"
}
#line 948 "/home/jens/Source/shotwell/src/PhotoPage.vala"
result = _tmp0_;
#line 948 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 6913 "PhotoPage.c"
+#line 6895 "PhotoPage.c"
}
@@ -6948,13 +6930,13 @@ static void editing_host_page_on_pixbuf_fetched (EditingHostPage* self, Photo* p
if (_tmp4_) {
#line 954 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return;
-#line 6947 "PhotoPage.c"
+#line 6929 "PhotoPage.c"
}
#line 956 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp5_ = pixbuf;
#line 956 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp5_ != NULL) {
-#line 6953 "PhotoPage.c"
+#line 6935 "PhotoPage.c"
gboolean _tmp6_ = FALSE;
ZoomBuffer* _tmp7_ = NULL;
Dimensions max_dim = {0};
@@ -6968,7 +6950,7 @@ static void editing_host_page_on_pixbuf_fetched (EditingHostPage* self, Photo* p
_tmp7_ = self->priv->zoom_buffer;
#line 958 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp7_ != NULL) {
-#line 6967 "PhotoPage.c"
+#line 6949 "PhotoPage.c"
ZoomBuffer* _tmp8_ = NULL;
Photo* _tmp9_ = NULL;
Photo* _tmp10_ = NULL;
@@ -6985,15 +6967,15 @@ static void editing_host_page_on_pixbuf_fetched (EditingHostPage* self, Photo* p
_tmp6_ = _tmp10_ == _tmp11_;
#line 958 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp10_);
-#line 6984 "PhotoPage.c"
+#line 6966 "PhotoPage.c"
} else {
#line 958 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp6_ = FALSE;
-#line 6988 "PhotoPage.c"
+#line 6970 "PhotoPage.c"
}
#line 958 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp6_) {
-#line 6992 "PhotoPage.c"
+#line 6974 "PhotoPage.c"
Photo* _tmp12_ = NULL;
GdkPixbuf* _tmp13_ = NULL;
ZoomBuffer* _tmp14_ = NULL;
@@ -7007,7 +6989,7 @@ static void editing_host_page_on_pixbuf_fetched (EditingHostPage* self, Photo* p
_g_object_unref0 (self->priv->zoom_buffer);
#line 959 "/home/jens/Source/shotwell/src/PhotoPage.vala"
self->priv->zoom_buffer = _tmp14_;
-#line 7006 "PhotoPage.c"
+#line 6988 "PhotoPage.c"
}
#line 963 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp15_ = photo;
@@ -7019,7 +7001,7 @@ static void editing_host_page_on_pixbuf_fetched (EditingHostPage* self, Photo* p
_tmp17_ = self->priv->current_tool;
#line 964 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp17_ != NULL) {
-#line 7018 "PhotoPage.c"
+#line 7000 "PhotoPage.c"
{
Dimensions tool_pixbuf_dim = {0};
GdkPixbuf* tool_pixbuf = NULL;
@@ -7043,14 +7025,14 @@ static void editing_host_page_on_pixbuf_fetched (EditingHostPage* self, Photo* p
tool_pixbuf = _tmp22_;
#line 967 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 7042 "PhotoPage.c"
+#line 7024 "PhotoPage.c"
goto __catch241_g_error;
}
#line 970 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp23_ = tool_pixbuf;
#line 970 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp23_ != NULL) {
-#line 7049 "PhotoPage.c"
+#line 7031 "PhotoPage.c"
GdkPixbuf* _tmp24_ = NULL;
Dimensions _tmp25_ = {0};
#line 971 "/home/jens/Source/shotwell/src/PhotoPage.vala"
@@ -7061,11 +7043,11 @@ static void editing_host_page_on_pixbuf_fetched (EditingHostPage* self, Photo* p
_tmp25_ = tool_pixbuf_dim;
#line 972 "/home/jens/Source/shotwell/src/PhotoPage.vala"
max_dim = _tmp25_;
-#line 7060 "PhotoPage.c"
+#line 7042 "PhotoPage.c"
}
#line 965 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (tool_pixbuf);
-#line 7064 "PhotoPage.c"
+#line 7046 "PhotoPage.c"
}
goto __finally241;
__catch241_g_error:
@@ -7100,7 +7082,7 @@ static void editing_host_page_on_pixbuf_fetched (EditingHostPage* self, Photo* p
_g_error_free0 (err);
#line 978 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return;
-#line 7099 "PhotoPage.c"
+#line 7081 "PhotoPage.c"
}
__finally241:
#line 965 "/home/jens/Source/shotwell/src/PhotoPage.vala"
@@ -7111,7 +7093,7 @@ static void editing_host_page_on_pixbuf_fetched (EditingHostPage* self, Photo* p
g_clear_error (&_inner_error_);
#line 965 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return;
-#line 7110 "PhotoPage.c"
+#line 7092 "PhotoPage.c"
}
}
#line 982 "/home/jens/Source/shotwell/src/PhotoPage.vala"
@@ -7126,14 +7108,14 @@ static void editing_host_page_on_pixbuf_fetched (EditingHostPage* self, Photo* p
_tmp33_ = photo;
#line 985 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_notify_photo_backing_missing (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp33_, TYPE_PHOTO, Photo), FALSE);
-#line 7125 "PhotoPage.c"
+#line 7107 "PhotoPage.c"
} else {
GError* _tmp34_ = NULL;
#line 986 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp34_ = err;
#line 986 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp34_ != NULL) {
-#line 7132 "PhotoPage.c"
+#line 7114 "PhotoPage.c"
Photo* _tmp35_ = NULL;
#line 989 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_set_photo_missing (self, TRUE);
@@ -7141,7 +7123,7 @@ static void editing_host_page_on_pixbuf_fetched (EditingHostPage* self, Photo* p
_tmp35_ = photo;
#line 992 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_notify_photo_backing_missing (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp35_, TYPE_PHOTO, Photo), TRUE);
-#line 7140 "PhotoPage.c"
+#line 7122 "PhotoPage.c"
}
}
}
@@ -7225,7 +7207,7 @@ static void editing_host_page_prefetch_neighbors (EditingHostPage* self, ViewCol
_g_object_unref0 (normal_batch);
#line 1005 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return;
-#line 7224 "PhotoPage.c"
+#line 7206 "PhotoPage.c"
}
#line 1007 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp11_ = next_source;
@@ -7239,7 +7221,7 @@ static void editing_host_page_prefetch_neighbors (EditingHostPage* self, ViewCol
_tmp14_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, TYPE_PHOTO, Photo));
#line 1008 "/home/jens/Source/shotwell/src/PhotoPage.vala"
prev = _tmp14_;
-#line 7238 "PhotoPage.c"
+#line 7220 "PhotoPage.c"
{
GeeIterator* _neighbor_source_it = NULL;
ViewCollection* _tmp15_ = NULL;
@@ -7266,7 +7248,7 @@ static void editing_host_page_prefetch_neighbors (EditingHostPage* self, ViewCol
_neighbor_source_it = _tmp20_;
#line 1011 "/home/jens/Source/shotwell/src/PhotoPage.vala"
while (TRUE) {
-#line 7265 "PhotoPage.c"
+#line 7247 "PhotoPage.c"
GeeIterator* _tmp21_ = NULL;
gboolean _tmp22_ = FALSE;
DataSource* neighbor_source = NULL;
@@ -7293,7 +7275,7 @@ static void editing_host_page_prefetch_neighbors (EditingHostPage* self, ViewCol
if (!_tmp22_) {
#line 1011 "/home/jens/Source/shotwell/src/PhotoPage.vala"
break;
-#line 7292 "PhotoPage.c"
+#line 7274 "PhotoPage.c"
}
#line 1011 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp23_ = _neighbor_source_it;
@@ -7319,7 +7301,7 @@ static void editing_host_page_prefetch_neighbors (EditingHostPage* self, ViewCol
if (_tmp30_) {
#line 1015 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp27_ = TRUE;
-#line 7318 "PhotoPage.c"
+#line 7300 "PhotoPage.c"
} else {
Photo* _tmp31_ = NULL;
Photo* _tmp32_ = NULL;
@@ -7332,13 +7314,13 @@ static void editing_host_page_prefetch_neighbors (EditingHostPage* self, ViewCol
_tmp33_ = data_source_equals (G_TYPE_CHECK_INSTANCE_CAST (_tmp31_, TYPE_DATA_SOURCE, DataSource), G_TYPE_CHECK_INSTANCE_CAST (_tmp32_, TYPE_DATA_SOURCE, DataSource));
#line 1015 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp27_ = _tmp33_;
-#line 7331 "PhotoPage.c"
+#line 7313 "PhotoPage.c"
}
#line 1015 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp27_) {
#line 1016 "/home/jens/Source/shotwell/src/PhotoPage.vala"
priority = BACKGROUND_JOB_JOB_PRIORITY_HIGH;
-#line 7337 "PhotoPage.c"
+#line 7319 "PhotoPage.c"
}
#line 1018 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp34_ = normal_batch;
@@ -7358,11 +7340,11 @@ static void editing_host_page_prefetch_neighbors (EditingHostPage* self, ViewCol
_g_object_unref0 (neighbor);
#line 1011 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (neighbor_source);
-#line 7357 "PhotoPage.c"
+#line 7339 "PhotoPage.c"
}
#line 1011 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_neighbor_source_it);
-#line 7361 "PhotoPage.c"
+#line 7343 "PhotoPage.c"
}
#line 1022 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp39_ = self->priv->cache;
@@ -7388,7 +7370,7 @@ static void editing_host_page_prefetch_neighbors (EditingHostPage* self, ViewCol
_g_object_unref0 (master_batch);
#line 996 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (normal_batch);
-#line 7387 "PhotoPage.c"
+#line 7369 "PhotoPage.c"
}
@@ -7431,7 +7413,7 @@ static void editing_host_page_cancel_prefetch_neighbors (EditingHostPage* self,
_tmp5_ = view_collection_get_extended_neighbors (_tmp3_, G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, TYPE_DATA_SOURCE, DataSource), PHOTO_TYPENAME);
#line 1032 "/home/jens/Source/shotwell/src/PhotoPage.vala"
new_neighbors = G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, GEE_TYPE_SET, GeeSet);
-#line 7430 "PhotoPage.c"
+#line 7412 "PhotoPage.c"
{
GeeIterator* _old_neighbor_it = NULL;
GeeSet* _tmp6_ = NULL;
@@ -7444,7 +7426,7 @@ static void editing_host_page_cancel_prefetch_neighbors (EditingHostPage* self,
_old_neighbor_it = _tmp7_;
#line 1035 "/home/jens/Source/shotwell/src/PhotoPage.vala"
while (TRUE) {
-#line 7443 "PhotoPage.c"
+#line 7425 "PhotoPage.c"
GeeIterator* _tmp8_ = NULL;
gboolean _tmp9_ = FALSE;
Photo* old_neighbor = NULL;
@@ -7462,7 +7444,7 @@ static void editing_host_page_cancel_prefetch_neighbors (EditingHostPage* self,
if (!_tmp9_) {
#line 1035 "/home/jens/Source/shotwell/src/PhotoPage.vala"
break;
-#line 7461 "PhotoPage.c"
+#line 7443 "PhotoPage.c"
}
#line 1035 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp10_ = _old_neighbor_it;
@@ -7478,7 +7460,7 @@ static void editing_host_page_cancel_prefetch_neighbors (EditingHostPage* self,
_tmp15_ = gee_collection_contains (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, GEE_TYPE_COLLECTION, GeeCollection), _tmp14_);
#line 1038 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (!_tmp15_) {
-#line 7477 "PhotoPage.c"
+#line 7459 "PhotoPage.c"
Photo* _tmp16_ = NULL;
Photo* _tmp17_ = NULL;
gboolean _tmp18_ = FALSE;
@@ -7490,15 +7472,15 @@ static void editing_host_page_cancel_prefetch_neighbors (EditingHostPage* self,
_tmp18_ = data_source_equals (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, TYPE_DATA_SOURCE, DataSource), G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, TYPE_DATA_SOURCE, DataSource));
#line 1038 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp12_ = !_tmp18_;
-#line 7489 "PhotoPage.c"
+#line 7471 "PhotoPage.c"
} else {
#line 1038 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp12_ = FALSE;
-#line 7493 "PhotoPage.c"
+#line 7475 "PhotoPage.c"
}
#line 1038 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp12_) {
-#line 7497 "PhotoPage.c"
+#line 7479 "PhotoPage.c"
PixbufCache* _tmp19_ = NULL;
Photo* _tmp20_ = NULL;
PixbufCache* _tmp21_ = NULL;
@@ -7515,15 +7497,15 @@ static void editing_host_page_cancel_prefetch_neighbors (EditingHostPage* self,
_tmp22_ = old_neighbor;
#line 1040 "/home/jens/Source/shotwell/src/PhotoPage.vala"
pixbuf_cache_drop (_tmp21_, _tmp22_);
-#line 7514 "PhotoPage.c"
+#line 7496 "PhotoPage.c"
}
#line 1035 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (old_neighbor);
-#line 7518 "PhotoPage.c"
+#line 7500 "PhotoPage.c"
}
#line 1035 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_old_neighbor_it);
-#line 7522 "PhotoPage.c"
+#line 7504 "PhotoPage.c"
}
#line 1045 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp24_ = new_neighbors;
@@ -7533,7 +7515,7 @@ static void editing_host_page_cancel_prefetch_neighbors (EditingHostPage* self,
_tmp26_ = gee_collection_contains (G_TYPE_CHECK_INSTANCE_CAST (_tmp24_, GEE_TYPE_COLLECTION, GeeCollection), _tmp25_);
#line 1045 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (!_tmp26_) {
-#line 7532 "PhotoPage.c"
+#line 7514 "PhotoPage.c"
Photo* _tmp27_ = NULL;
Photo* _tmp28_ = NULL;
gboolean _tmp29_ = FALSE;
@@ -7545,15 +7527,15 @@ static void editing_host_page_cancel_prefetch_neighbors (EditingHostPage* self,
_tmp29_ = data_source_equals (G_TYPE_CHECK_INSTANCE_CAST (_tmp27_, TYPE_DATA_SOURCE, DataSource), G_TYPE_CHECK_INSTANCE_CAST (_tmp28_, TYPE_DATA_SOURCE, DataSource));
#line 1045 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp23_ = !_tmp29_;
-#line 7544 "PhotoPage.c"
+#line 7526 "PhotoPage.c"
} else {
#line 1045 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp23_ = FALSE;
-#line 7548 "PhotoPage.c"
+#line 7530 "PhotoPage.c"
}
#line 1045 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp23_) {
-#line 7552 "PhotoPage.c"
+#line 7534 "PhotoPage.c"
PixbufCache* _tmp30_ = NULL;
Photo* _tmp31_ = NULL;
PixbufCache* _tmp32_ = NULL;
@@ -7570,13 +7552,13 @@ static void editing_host_page_cancel_prefetch_neighbors (EditingHostPage* self,
_tmp33_ = old_photo;
#line 1047 "/home/jens/Source/shotwell/src/PhotoPage.vala"
pixbuf_cache_drop (_tmp32_, _tmp33_);
-#line 7569 "PhotoPage.c"
+#line 7551 "PhotoPage.c"
}
#line 1028 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (new_neighbors);
#line 1028 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (old_neighbors);
-#line 7575 "PhotoPage.c"
+#line 7557 "PhotoPage.c"
}
@@ -7594,7 +7576,7 @@ static DataView* editing_host_page_real_create_photo_view (EditingHostPage* self
result = G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_DATA_VIEW, DataView);
#line 1052 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 7593 "PhotoPage.c"
+#line 7575 "PhotoPage.c"
}
@@ -7603,7 +7585,7 @@ DataView* editing_host_page_create_photo_view (EditingHostPage* self, DataSource
g_return_val_if_fail (IS_EDITING_HOST_PAGE (self), NULL);
#line 1051 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return EDITING_HOST_PAGE_GET_CLASS (self)->create_photo_view (self, source);
-#line 7602 "PhotoPage.c"
+#line 7584 "PhotoPage.c"
}
@@ -7620,7 +7602,7 @@ static gboolean editing_host_page_is_photo (EditingHostPage* self, DataSource* s
result = G_TYPE_CHECK_INSTANCE_TYPE (_tmp0_, TYPE_PHOTO_SOURCE);
#line 1056 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 7619 "PhotoPage.c"
+#line 7601 "PhotoPage.c"
}
@@ -7629,7 +7611,7 @@ static DataView* _editing_host_page_create_photo_view_create_view (DataSource* s
result = editing_host_page_create_photo_view ((EditingHostPage*) self, source);
#line 1064 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 7628 "PhotoPage.c"
+#line 7610 "PhotoPage.c"
}
@@ -7638,7 +7620,7 @@ static gboolean _editing_host_page_is_photo_create_view_predicate (DataSource* s
result = editing_host_page_is_photo ((EditingHostPage*) self, source);
#line 1064 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 7637 "PhotoPage.c"
+#line 7619 "PhotoPage.c"
}
@@ -7683,7 +7665,7 @@ void editing_host_page_display_copy_of (EditingHostPage* self, ViewCollection* c
_data_collection_unref0 (_tmp7_);
#line 1062 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp8_) {
-#line 7682 "PhotoPage.c"
+#line 7664 "PhotoPage.c"
ViewCollection* _tmp9_ = NULL;
ViewCollection* _tmp10_ = NULL;
#line 1062 "/home/jens/Source/shotwell/src/PhotoPage.vala"
@@ -7692,15 +7674,15 @@ void editing_host_page_display_copy_of (EditingHostPage* self, ViewCollection* c
_tmp10_ = self->priv->parent_view;
#line 1062 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp4_ = _tmp9_ != _tmp10_;
-#line 7691 "PhotoPage.c"
+#line 7673 "PhotoPage.c"
} else {
#line 1062 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp4_ = FALSE;
-#line 7695 "PhotoPage.c"
+#line 7677 "PhotoPage.c"
}
#line 1062 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp4_) {
-#line 7699 "PhotoPage.c"
+#line 7681 "PhotoPage.c"
ViewCollection* _tmp11_ = NULL;
ViewCollection* _tmp12_ = NULL;
ViewCollection* _tmp13_ = NULL;
@@ -7734,13 +7716,13 @@ void editing_host_page_display_copy_of (EditingHostPage* self, ViewCollection* c
_data_collection_unref0 (self->priv->parent_view);
#line 1065 "/home/jens/Source/shotwell/src/PhotoPage.vala"
self->priv->parent_view = _tmp17_;
-#line 7733 "PhotoPage.c"
+#line 7715 "PhotoPage.c"
}
#line 1068 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp18_ = starting_photo;
#line 1068 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_replace_photo (self, _tmp18_);
-#line 7739 "PhotoPage.c"
+#line 7721 "PhotoPage.c"
}
@@ -7785,7 +7767,7 @@ void editing_host_page_display_mirror_of (EditingHostPage* self, ViewCollection*
_data_collection_unref0 (_tmp7_);
#line 1074 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp8_) {
-#line 7784 "PhotoPage.c"
+#line 7766 "PhotoPage.c"
ViewCollection* _tmp9_ = NULL;
ViewCollection* _tmp10_ = NULL;
#line 1074 "/home/jens/Source/shotwell/src/PhotoPage.vala"
@@ -7794,15 +7776,15 @@ void editing_host_page_display_mirror_of (EditingHostPage* self, ViewCollection*
_tmp10_ = self->priv->parent_view;
#line 1074 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp4_ = _tmp9_ != _tmp10_;
-#line 7793 "PhotoPage.c"
+#line 7775 "PhotoPage.c"
} else {
#line 1074 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp4_ = FALSE;
-#line 7797 "PhotoPage.c"
+#line 7779 "PhotoPage.c"
}
#line 1074 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp4_) {
-#line 7801 "PhotoPage.c"
+#line 7783 "PhotoPage.c"
ViewCollection* _tmp11_ = NULL;
ViewCollection* _tmp12_ = NULL;
ViewCollection* _tmp13_ = NULL;
@@ -7836,13 +7818,13 @@ void editing_host_page_display_mirror_of (EditingHostPage* self, ViewCollection*
_data_collection_unref0 (self->priv->parent_view);
#line 1077 "/home/jens/Source/shotwell/src/PhotoPage.vala"
self->priv->parent_view = _tmp17_;
-#line 7835 "PhotoPage.c"
+#line 7817 "PhotoPage.c"
}
#line 1080 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp18_ = starting_photo;
#line 1080 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_replace_photo (self, _tmp18_);
-#line 7841 "PhotoPage.c"
+#line 7823 "PhotoPage.c"
}
@@ -7893,7 +7875,7 @@ static void editing_host_page_real_update_ui (EditingHostPage* self, gboolean mi
dimensions_init (&_tmp8_, 0, 0);
#line 1094 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_deactivate_tool (self, NULL, NULL, &_tmp8_, FALSE);
-#line 7892 "PhotoPage.c"
+#line 7874 "PhotoPage.c"
}
@@ -7902,14 +7884,14 @@ void editing_host_page_update_ui (EditingHostPage* self, gboolean missing) {
g_return_if_fail (IS_EDITING_HOST_PAGE (self));
#line 1083 "/home/jens/Source/shotwell/src/PhotoPage.vala"
EDITING_HOST_PAGE_GET_CLASS (self)->update_ui (self, missing);
-#line 7901 "PhotoPage.c"
+#line 7883 "PhotoPage.c"
}
static void editing_host_page_real_notify_photo_backing_missing (EditingHostPage* self, Photo* photo, gboolean missing) {
#line 1098 "/home/jens/Source/shotwell/src/PhotoPage.vala"
g_return_if_fail (IS_PHOTO (photo));
-#line 7908 "PhotoPage.c"
+#line 7890 "PhotoPage.c"
}
@@ -7918,7 +7900,7 @@ void editing_host_page_notify_photo_backing_missing (EditingHostPage* self, Phot
g_return_if_fail (IS_EDITING_HOST_PAGE (self));
#line 1098 "/home/jens/Source/shotwell/src/PhotoPage.vala"
EDITING_HOST_PAGE_GET_CLASS (self)->notify_photo_backing_missing (self, photo, missing);
-#line 7917 "PhotoPage.c"
+#line 7899 "PhotoPage.c"
}
@@ -7982,17 +7964,17 @@ static void editing_host_page_draw_message (EditingHostPage* self, const gchar*
_tmp10_ = x;
#line 1111 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp10_ > 0) {
-#line 7981 "PhotoPage.c"
+#line 7963 "PhotoPage.c"
gint _tmp11_ = 0;
#line 1111 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp11_ = x;
#line 1111 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp9_ = _tmp11_ / 2;
-#line 7987 "PhotoPage.c"
+#line 7969 "PhotoPage.c"
} else {
#line 1111 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp9_ = 0;
-#line 7991 "PhotoPage.c"
+#line 7973 "PhotoPage.c"
}
#line 1111 "/home/jens/Source/shotwell/src/PhotoPage.vala"
x = _tmp9_;
@@ -8008,17 +7990,17 @@ static void editing_host_page_draw_message (EditingHostPage* self, const gchar*
_tmp16_ = y;
#line 1114 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp16_ > 0) {
-#line 8007 "PhotoPage.c"
+#line 7989 "PhotoPage.c"
gint _tmp17_ = 0;
#line 1114 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp17_ = y;
#line 1114 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp15_ = _tmp17_ / 2;
-#line 8013 "PhotoPage.c"
+#line 7995 "PhotoPage.c"
} else {
#line 1114 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp15_ = 0;
-#line 8017 "PhotoPage.c"
+#line 7999 "PhotoPage.c"
}
#line 1114 "/home/jens/Source/shotwell/src/PhotoPage.vala"
y = _tmp15_;
@@ -8032,7 +8014,7 @@ static void editing_host_page_draw_message (EditingHostPage* self, const gchar*
single_photo_page_paint_text (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SINGLE_PHOTO_PAGE, SinglePhotoPage), _tmp18_, _tmp19_, _tmp20_);
#line 1101 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (pango_layout);
-#line 8031 "PhotoPage.c"
+#line 8013 "PhotoPage.c"
}
@@ -8056,7 +8038,7 @@ void editing_host_page_set_photo_missing (EditingHostPage* self, gboolean missin
if (_tmp0_ == _tmp1_) {
#line 1122 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return;
-#line 8055 "PhotoPage.c"
+#line 8037 "PhotoPage.c"
}
#line 1124 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp2_ = missing;
@@ -8074,7 +8056,7 @@ void editing_host_page_set_photo_missing (EditingHostPage* self, gboolean missin
_g_object_unref0 (photo);
#line 1128 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return;
-#line 8073 "PhotoPage.c"
+#line 8055 "PhotoPage.c"
}
#line 1130 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp5_ = missing;
@@ -8084,7 +8066,7 @@ void editing_host_page_set_photo_missing (EditingHostPage* self, gboolean missin
_tmp6_ = self->priv->photo_missing;
#line 1132 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp6_) {
-#line 8083 "PhotoPage.c"
+#line 8065 "PhotoPage.c"
{
GdkPixbuf* pixbuf = NULL;
Photo* _tmp7_ = NULL;
@@ -8109,7 +8091,7 @@ void editing_host_page_set_photo_missing (EditingHostPage* self, gboolean missin
pixbuf = _tmp9_;
#line 1134 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 8108 "PhotoPage.c"
+#line 8090 "PhotoPage.c"
goto __catch242_g_error;
}
#line 1136 "/home/jens/Source/shotwell/src/PhotoPage.vala"
@@ -8138,7 +8120,7 @@ void editing_host_page_set_photo_missing (EditingHostPage* self, gboolean missin
single_photo_page_set_pixbuf (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SINGLE_PHOTO_PAGE, SinglePhotoPage), _tmp16_, &_tmp18_, NULL);
#line 1133 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (pixbuf);
-#line 8137 "PhotoPage.c"
+#line 8119 "PhotoPage.c"
}
goto __finally242;
__catch242_g_error:
@@ -8174,7 +8156,7 @@ void editing_host_page_set_photo_missing (EditingHostPage* self, gboolean missin
g_warning ("PhotoPage.vala:1142: %s", _tmp24_);
#line 1133 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_error_free0 (err);
-#line 8173 "PhotoPage.c"
+#line 8155 "PhotoPage.c"
}
__finally242:
#line 1133 "/home/jens/Source/shotwell/src/PhotoPage.vala"
@@ -8187,12 +8169,12 @@ void editing_host_page_set_photo_missing (EditingHostPage* self, gboolean missin
g_clear_error (&_inner_error_);
#line 1133 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return;
-#line 8186 "PhotoPage.c"
+#line 8168 "PhotoPage.c"
}
}
#line 1120 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (photo);
-#line 8191 "PhotoPage.c"
+#line 8173 "PhotoPage.c"
}
@@ -8207,7 +8189,7 @@ gboolean editing_host_page_get_photo_missing (EditingHostPage* self) {
result = _tmp0_;
#line 1148 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 8206 "PhotoPage.c"
+#line 8188 "PhotoPage.c"
}
@@ -8221,7 +8203,7 @@ static gboolean editing_host_page_real_confirm_replace_photo (EditingHostPage* s
result = TRUE;
#line 1152 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 8220 "PhotoPage.c"
+#line 8202 "PhotoPage.c"
}
@@ -8230,7 +8212,7 @@ gboolean editing_host_page_confirm_replace_photo (EditingHostPage* self, Photo*
g_return_val_if_fail (IS_EDITING_HOST_PAGE (self), FALSE);
#line 1151 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return EDITING_HOST_PAGE_GET_CLASS (self)->confirm_replace_photo (self, old_photo, new_photo);
-#line 8229 "PhotoPage.c"
+#line 8211 "PhotoPage.c"
}
@@ -8259,7 +8241,7 @@ static GdkPixbuf* editing_host_page_get_zoom_pixbuf (EditingHostPage* self, Phot
_tmp3_ = pixbuf;
#line 1157 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp3_ == NULL) {
-#line 8258 "PhotoPage.c"
+#line 8240 "PhotoPage.c"
{
GdkPixbuf* _tmp4_ = NULL;
Photo* _tmp5_ = NULL;
@@ -8276,7 +8258,7 @@ static GdkPixbuf* editing_host_page_get_zoom_pixbuf (EditingHostPage* self, Phot
_tmp4_ = _tmp7_;
#line 1159 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 8275 "PhotoPage.c"
+#line 8257 "PhotoPage.c"
goto __catch243_g_error;
}
#line 1159 "/home/jens/Source/shotwell/src/PhotoPage.vala"
@@ -8289,7 +8271,7 @@ static GdkPixbuf* editing_host_page_get_zoom_pixbuf (EditingHostPage* self, Phot
pixbuf = _tmp8_;
#line 1158 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp4_);
-#line 8288 "PhotoPage.c"
+#line 8270 "PhotoPage.c"
}
goto __finally243;
__catch243_g_error:
@@ -8309,7 +8291,7 @@ static GdkPixbuf* editing_host_page_get_zoom_pixbuf (EditingHostPage* self, Phot
g_warning ("PhotoPage.vala:1161: %s", _tmp10_);
#line 1158 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_error_free0 (err);
-#line 8308 "PhotoPage.c"
+#line 8290 "PhotoPage.c"
}
__finally243:
#line 1158 "/home/jens/Source/shotwell/src/PhotoPage.vala"
@@ -8322,14 +8304,14 @@ static GdkPixbuf* editing_host_page_get_zoom_pixbuf (EditingHostPage* self, Phot
g_clear_error (&_inner_error_);
#line 1158 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return NULL;
-#line 8321 "PhotoPage.c"
+#line 8303 "PhotoPage.c"
}
}
#line 1164 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp11_ = pixbuf;
#line 1164 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp11_ == NULL) {
-#line 8328 "PhotoPage.c"
+#line 8310 "PhotoPage.c"
GdkPixbuf* _tmp12_ = NULL;
Scaling _tmp13_ = {0};
GdkPixbuf* _tmp14_ = NULL;
@@ -8351,13 +8333,13 @@ static GdkPixbuf* editing_host_page_get_zoom_pixbuf (EditingHostPage* self, Phot
_tmp16_ = _tmp15_;
#line 1166 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp16_);
-#line 8350 "PhotoPage.c"
+#line 8332 "PhotoPage.c"
}
#line 1168 "/home/jens/Source/shotwell/src/PhotoPage.vala"
result = pixbuf;
#line 1168 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 8356 "PhotoPage.c"
+#line 8338 "PhotoPage.c"
}
@@ -8407,35 +8389,35 @@ static void editing_host_page_replace_photo (EditingHostPage* self, Photo* new_p
_g_object_unref0 (_tmp4_);
#line 1176 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp6_) {
-#line 8406 "PhotoPage.c"
+#line 8388 "PhotoPage.c"
gboolean _tmp7_ = FALSE;
#line 1176 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp7_ = self->priv->pixbuf_dirty;
#line 1176 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp1_ = !_tmp7_;
-#line 8412 "PhotoPage.c"
+#line 8394 "PhotoPage.c"
} else {
#line 1176 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp1_ = FALSE;
-#line 8416 "PhotoPage.c"
+#line 8398 "PhotoPage.c"
}
#line 1176 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp1_) {
-#line 8420 "PhotoPage.c"
+#line 8402 "PhotoPage.c"
gboolean _tmp8_ = FALSE;
#line 1176 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp8_ = self->priv->photo_missing;
#line 1176 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp0_ = !_tmp8_;
-#line 8426 "PhotoPage.c"
+#line 8408 "PhotoPage.c"
} else {
#line 1176 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp0_ = FALSE;
-#line 8430 "PhotoPage.c"
+#line 8412 "PhotoPage.c"
}
#line 1176 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp0_) {
-#line 8434 "PhotoPage.c"
+#line 8416 "PhotoPage.c"
Photo* _tmp9_ = NULL;
Photo* _tmp10_ = NULL;
GdkPixbuf* _tmp11_ = NULL;
@@ -8459,13 +8441,13 @@ static void editing_host_page_replace_photo (EditingHostPage* self, Photo* new_p
_g_object_unref0 (_tmp12_);
#line 1178 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return;
-#line 8458 "PhotoPage.c"
+#line 8440 "PhotoPage.c"
}
#line 1182 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp16_ = editing_host_page_has_photo (self);
#line 1182 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp16_) {
-#line 8464 "PhotoPage.c"
+#line 8446 "PhotoPage.c"
Photo* _tmp17_ = NULL;
Photo* _tmp18_ = NULL;
Photo* _tmp19_ = NULL;
@@ -8482,25 +8464,25 @@ static void editing_host_page_replace_photo (EditingHostPage* self, Photo* new_p
_tmp15_ = !_tmp20_;
#line 1182 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp19_);
-#line 8481 "PhotoPage.c"
+#line 8463 "PhotoPage.c"
} else {
#line 1182 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp15_ = FALSE;
-#line 8485 "PhotoPage.c"
+#line 8467 "PhotoPage.c"
}
#line 1182 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp15_) {
#line 1182 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp14_ = editing_host_page_confirm_replace_photo != NULL;
-#line 8491 "PhotoPage.c"
+#line 8473 "PhotoPage.c"
} else {
#line 1182 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp14_ = FALSE;
-#line 8495 "PhotoPage.c"
+#line 8477 "PhotoPage.c"
}
#line 1182 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp14_) {
-#line 8499 "PhotoPage.c"
+#line 8481 "PhotoPage.c"
Photo* _tmp21_ = NULL;
Photo* _tmp22_ = NULL;
Photo* _tmp23_ = NULL;
@@ -8522,7 +8504,7 @@ static void editing_host_page_replace_photo (EditingHostPage* self, Photo* new_p
if (_tmp25_) {
#line 1184 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return;
-#line 8521 "PhotoPage.c"
+#line 8503 "PhotoPage.c"
}
}
#line 1187 "/home/jens/Source/shotwell/src/PhotoPage.vala"
@@ -8571,7 +8553,7 @@ static void editing_host_page_replace_photo (EditingHostPage* self, Photo* new_p
_tmp36_ = old_photo;
#line 1205 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp36_ != NULL) {
-#line 8570 "PhotoPage.c"
+#line 8552 "PhotoPage.c"
ViewCollection* _tmp37_ = NULL;
ViewCollection* _tmp38_ = NULL;
Photo* _tmp39_ = NULL;
@@ -8596,7 +8578,7 @@ static void editing_host_page_replace_photo (EditingHostPage* self, Photo* new_p
_data_collection_unref0 (_tmp41_);
#line 1206 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_data_collection_unref0 (_tmp38_);
-#line 8595 "PhotoPage.c"
+#line 8577 "PhotoPage.c"
}
#line 1208 "/home/jens/Source/shotwell/src/PhotoPage.vala"
single_photo_page_cancel_zoom (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SINGLE_PHOTO_PAGE, SinglePhotoPage));
@@ -8622,7 +8604,7 @@ static void editing_host_page_replace_photo (EditingHostPage* self, Photo* new_p
editing_host_page_refresh_caches (self, "replace_photo");
#line 1171 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (old_photo);
-#line 8621 "PhotoPage.c"
+#line 8603 "PhotoPage.c"
}
@@ -8665,7 +8647,7 @@ static void editing_host_page_real_cancel_zoom (SinglePhotoPage* base) {
_g_object_unref0 (_tmp5_);
#line 1225 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp6_) {
-#line 8664 "PhotoPage.c"
+#line 8646 "PhotoPage.c"
Photo* _tmp7_ = NULL;
Photo* _tmp8_ = NULL;
Dimensions _tmp9_ = {0};
@@ -8685,13 +8667,13 @@ static void editing_host_page_real_cancel_zoom (SinglePhotoPage* base) {
single_photo_page_set_zoom_state (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SINGLE_PHOTO_PAGE, SinglePhotoPage), &_tmp11_);
#line 1226 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp8_);
-#line 8684 "PhotoPage.c"
+#line 8666 "PhotoPage.c"
}
#line 1232 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp13_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SINGLE_PHOTO_PAGE, SinglePhotoPage)->canvas;
#line 1232 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp13_ != NULL) {
-#line 8690 "PhotoPage.c"
+#line 8672 "PhotoPage.c"
GtkDrawingArea* _tmp14_ = NULL;
GdkWindow* _tmp15_ = NULL;
#line 1232 "/home/jens/Source/shotwell/src/PhotoPage.vala"
@@ -8700,21 +8682,21 @@ static void editing_host_page_real_cancel_zoom (SinglePhotoPage* base) {
_tmp15_ = gtk_widget_get_window (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, gtk_widget_get_type (), GtkWidget));
#line 1232 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp12_ = _tmp15_ != NULL;
-#line 8699 "PhotoPage.c"
+#line 8681 "PhotoPage.c"
} else {
#line 1232 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp12_ = FALSE;
-#line 8703 "PhotoPage.c"
+#line 8685 "PhotoPage.c"
}
#line 1232 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp12_) {
#line 1233 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_set_page_cursor (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), GDK_LEFT_PTR);
-#line 8709 "PhotoPage.c"
+#line 8691 "PhotoPage.c"
}
#line 1235 "/home/jens/Source/shotwell/src/PhotoPage.vala"
single_photo_page_repaint (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SINGLE_PHOTO_PAGE, SinglePhotoPage), NULL);
-#line 8713 "PhotoPage.c"
+#line 8695 "PhotoPage.c"
}
@@ -8758,7 +8740,7 @@ static void editing_host_page_quick_update_pixbuf (EditingHostPage* self) {
_tmp5_ = pixbuf;
#line 1240 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp5_ != NULL) {
-#line 8757 "PhotoPage.c"
+#line 8739 "PhotoPage.c"
GdkPixbuf* _tmp6_ = NULL;
Photo* _tmp7_ = NULL;
Photo* _tmp8_ = NULL;
@@ -8781,7 +8763,7 @@ static void editing_host_page_quick_update_pixbuf (EditingHostPage* self) {
_g_object_unref0 (pixbuf);
#line 1244 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return;
-#line 8780 "PhotoPage.c"
+#line 8762 "PhotoPage.c"
}
#line 1247 "/home/jens/Source/shotwell/src/PhotoPage.vala"
single_photo_page_get_canvas_scaling (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SINGLE_PHOTO_PAGE, SinglePhotoPage), &_tmp10_);
@@ -8807,7 +8789,7 @@ static void editing_host_page_quick_update_pixbuf (EditingHostPage* self) {
_g_free0 (_tmp14_);
#line 1249 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp12_);
-#line 8806 "PhotoPage.c"
+#line 8788 "PhotoPage.c"
{
GdkPixbuf* _tmp17_ = NULL;
Photo* _tmp18_ = NULL;
@@ -8834,7 +8816,7 @@ static void editing_host_page_quick_update_pixbuf (EditingHostPage* self) {
_tmp17_ = _tmp22_;
#line 1254 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 8833 "PhotoPage.c"
+#line 8815 "PhotoPage.c"
goto __catch244_g_error;
}
#line 1254 "/home/jens/Source/shotwell/src/PhotoPage.vala"
@@ -8849,7 +8831,7 @@ static void editing_host_page_quick_update_pixbuf (EditingHostPage* self) {
_g_object_unref0 (_tmp24_);
#line 1253 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp17_);
-#line 8848 "PhotoPage.c"
+#line 8830 "PhotoPage.c"
}
goto __finally244;
__catch244_g_error:
@@ -8869,7 +8851,7 @@ static void editing_host_page_quick_update_pixbuf (EditingHostPage* self) {
g_warning ("PhotoPage.vala:1256: %s", _tmp27_);
#line 1253 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_error_free0 (err);
-#line 8868 "PhotoPage.c"
+#line 8850 "PhotoPage.c"
}
__finally244:
#line 1253 "/home/jens/Source/shotwell/src/PhotoPage.vala"
@@ -8882,7 +8864,7 @@ static void editing_host_page_quick_update_pixbuf (EditingHostPage* self) {
g_clear_error (&_inner_error_);
#line 1253 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return;
-#line 8881 "PhotoPage.c"
+#line 8863 "PhotoPage.c"
}
#line 1259 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp28_ = self->priv->cache;
@@ -8898,7 +8880,7 @@ static void editing_host_page_quick_update_pixbuf (EditingHostPage* self) {
self->priv->pixbuf_dirty = FALSE;
#line 1238 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (pixbuf);
-#line 8897 "PhotoPage.c"
+#line 8879 "PhotoPage.c"
}
@@ -8931,7 +8913,7 @@ static gboolean editing_host_page_update_pixbuf (EditingHostPage* self) {
_g_object_unref0 (photo);
#line 1273 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 8930 "PhotoPage.c"
+#line 8912 "PhotoPage.c"
}
#line 1275 "/home/jens/Source/shotwell/src/PhotoPage.vala"
pixbuf = NULL;
@@ -8941,7 +8923,7 @@ static gboolean editing_host_page_update_pixbuf (EditingHostPage* self) {
media_source_get_dimensions (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, TYPE_MEDIA_SOURCE, MediaSource), PHOTO_EXCEPTION_NONE, &_tmp3_);
#line 1276 "/home/jens/Source/shotwell/src/PhotoPage.vala"
max_dim = _tmp3_;
-#line 8940 "PhotoPage.c"
+#line 8922 "PhotoPage.c"
{
Dimensions tool_pixbuf_dim = {0};
Dimensions _tmp4_ = {0};
@@ -8955,7 +8937,7 @@ static gboolean editing_host_page_update_pixbuf (EditingHostPage* self) {
_tmp5_ = self->priv->current_tool;
#line 1280 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp5_ != NULL) {
-#line 8954 "PhotoPage.c"
+#line 8936 "PhotoPage.c"
GdkPixbuf* _tmp6_ = NULL;
EditingToolsEditingTool* _tmp7_ = NULL;
Scaling _tmp8_ = {0};
@@ -8977,7 +8959,7 @@ static gboolean editing_host_page_update_pixbuf (EditingHostPage* self) {
_tmp6_ = _tmp11_;
#line 1281 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 8976 "PhotoPage.c"
+#line 8958 "PhotoPage.c"
goto __catch245_g_error;
}
#line 1281 "/home/jens/Source/shotwell/src/PhotoPage.vala"
@@ -8990,19 +8972,19 @@ static gboolean editing_host_page_update_pixbuf (EditingHostPage* self) {
pixbuf = _tmp12_;
#line 1280 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp6_);
-#line 8989 "PhotoPage.c"
+#line 8971 "PhotoPage.c"
}
#line 1283 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp13_ = pixbuf;
#line 1283 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp13_ != NULL) {
-#line 8995 "PhotoPage.c"
+#line 8977 "PhotoPage.c"
Dimensions _tmp14_ = {0};
#line 1284 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp14_ = tool_pixbuf_dim;
#line 1284 "/home/jens/Source/shotwell/src/PhotoPage.vala"
max_dim = _tmp14_;
-#line 9001 "PhotoPage.c"
+#line 8983 "PhotoPage.c"
}
}
goto __finally245;
@@ -9025,7 +9007,7 @@ static gboolean editing_host_page_update_pixbuf (EditingHostPage* self) {
editing_host_page_set_photo_missing (self, TRUE);
#line 1278 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_error_free0 (err);
-#line 9024 "PhotoPage.c"
+#line 9006 "PhotoPage.c"
}
__finally245:
#line 1278 "/home/jens/Source/shotwell/src/PhotoPage.vala"
@@ -9040,20 +9022,20 @@ static gboolean editing_host_page_update_pixbuf (EditingHostPage* self) {
g_clear_error (&_inner_error_);
#line 1278 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return FALSE;
-#line 9039 "PhotoPage.c"
+#line 9021 "PhotoPage.c"
}
#line 1290 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp17_ = self->priv->photo_missing;
#line 1290 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (!_tmp17_) {
-#line 9045 "PhotoPage.c"
+#line 9027 "PhotoPage.c"
GdkPixbuf* _tmp18_ = NULL;
GdkPixbuf* _tmp22_ = NULL;
#line 1292 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp18_ = pixbuf;
#line 1292 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp18_ == NULL) {
-#line 9052 "PhotoPage.c"
+#line 9034 "PhotoPage.c"
PixbufCache* _tmp19_ = NULL;
Photo* _tmp20_ = NULL;
GdkPixbuf* _tmp21_ = NULL;
@@ -9067,13 +9049,13 @@ static gboolean editing_host_page_update_pixbuf (EditingHostPage* self) {
_g_object_unref0 (pixbuf);
#line 1293 "/home/jens/Source/shotwell/src/PhotoPage.vala"
pixbuf = _tmp21_;
-#line 9066 "PhotoPage.c"
+#line 9048 "PhotoPage.c"
}
#line 1296 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp22_ = pixbuf;
#line 1296 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp22_ == NULL) {
-#line 9072 "PhotoPage.c"
+#line 9054 "PhotoPage.c"
PixbufCache* _tmp23_ = NULL;
Photo* _tmp24_ = NULL;
#line 1297 "/home/jens/Source/shotwell/src/PhotoPage.vala"
@@ -9082,28 +9064,28 @@ static gboolean editing_host_page_update_pixbuf (EditingHostPage* self) {
_tmp24_ = photo;
#line 1297 "/home/jens/Source/shotwell/src/PhotoPage.vala"
pixbuf_cache_prefetch (_tmp23_, _tmp24_, BACKGROUND_JOB_JOB_PRIORITY_NORMAL, FALSE);
-#line 9081 "PhotoPage.c"
+#line 9063 "PhotoPage.c"
}
}
#line 1300 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp26_ = self->priv->photo_missing;
#line 1300 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (!_tmp26_) {
-#line 9088 "PhotoPage.c"
+#line 9070 "PhotoPage.c"
GdkPixbuf* _tmp27_ = NULL;
#line 1300 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp27_ = pixbuf;
#line 1300 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp25_ = _tmp27_ != NULL;
-#line 9094 "PhotoPage.c"
+#line 9076 "PhotoPage.c"
} else {
#line 1300 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp25_ = FALSE;
-#line 9098 "PhotoPage.c"
+#line 9080 "PhotoPage.c"
}
#line 1300 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp25_) {
-#line 9102 "PhotoPage.c"
+#line 9084 "PhotoPage.c"
GdkPixbuf* _tmp28_ = NULL;
Dimensions _tmp29_ = {0};
#line 1301 "/home/jens/Source/shotwell/src/PhotoPage.vala"
@@ -9114,7 +9096,7 @@ static gboolean editing_host_page_update_pixbuf (EditingHostPage* self) {
single_photo_page_set_pixbuf (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SINGLE_PHOTO_PAGE, SinglePhotoPage), _tmp28_, &_tmp29_, NULL);
#line 1302 "/home/jens/Source/shotwell/src/PhotoPage.vala"
self->priv->pixbuf_dirty = FALSE;
-#line 9113 "PhotoPage.c"
+#line 9095 "PhotoPage.c"
}
#line 1309 "/home/jens/Source/shotwell/src/PhotoPage.vala"
result = FALSE;
@@ -9124,7 +9106,7 @@ static gboolean editing_host_page_update_pixbuf (EditingHostPage* self) {
_g_object_unref0 (photo);
#line 1309 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 9123 "PhotoPage.c"
+#line 9105 "PhotoPage.c"
}
@@ -9141,7 +9123,7 @@ static void editing_host_page_real_on_resize (Page* base, GdkRectangle* rect) {
PAGE_CLASS (editing_host_page_parent_class)->on_resize (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SINGLE_PHOTO_PAGE, SinglePhotoPage), TYPE_PAGE, Page), &_tmp0_);
#line 1315 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_track_tool_window (self);
-#line 9140 "PhotoPage.c"
+#line 9122 "PhotoPage.c"
}
@@ -9157,7 +9139,7 @@ static void editing_host_page_real_on_resize_finished (Page* base, GdkRectangle*
self->priv->pixbuf_dirty = TRUE;
#line 1325 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_update_pixbuf (self);
-#line 9156 "PhotoPage.c"
+#line 9138 "PhotoPage.c"
}
@@ -9170,7 +9152,7 @@ static void editing_host_page_on_viewport_resized (EditingHostPage* self) {
self->priv->pixbuf_dirty = TRUE;
#line 1334 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_update_pixbuf (self);
-#line 9169 "PhotoPage.c"
+#line 9151 "PhotoPage.c"
}
@@ -9254,21 +9236,21 @@ static void editing_host_page_real_update_actions (Page* base, gint selected_cou
_tmp13_ = photo;
#line 1346 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp13_ != NULL) {
-#line 9253 "PhotoPage.c"
+#line 9235 "PhotoPage.c"
gboolean _tmp14_ = FALSE;
#line 1346 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp14_ = self->priv->photo_missing;
#line 1346 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp12_ = !_tmp14_;
-#line 9259 "PhotoPage.c"
+#line 9241 "PhotoPage.c"
} else {
#line 1346 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp12_ = FALSE;
-#line 9263 "PhotoPage.c"
+#line 9245 "PhotoPage.c"
}
#line 1346 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp12_) {
-#line 9267 "PhotoPage.c"
+#line 9249 "PhotoPage.c"
Photo* _tmp15_ = NULL;
gboolean _tmp16_ = FALSE;
#line 1346 "/home/jens/Source/shotwell/src/PhotoPage.vala"
@@ -9277,15 +9259,15 @@ static void editing_host_page_real_update_actions (Page* base, gint selected_cou
_tmp16_ = photo_check_can_rotate (_tmp15_);
#line 1346 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp11_ = _tmp16_;
-#line 9276 "PhotoPage.c"
+#line 9258 "PhotoPage.c"
} else {
#line 1346 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp11_ = FALSE;
-#line 9280 "PhotoPage.c"
+#line 9262 "PhotoPage.c"
}
#line 1346 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp11_) {
-#line 9284 "PhotoPage.c"
+#line 9266 "PhotoPage.c"
Photo* _tmp17_ = NULL;
gboolean _tmp18_ = FALSE;
#line 1347 "/home/jens/Source/shotwell/src/PhotoPage.vala"
@@ -9294,11 +9276,11 @@ static void editing_host_page_real_update_actions (Page* base, gint selected_cou
_tmp18_ = editing_host_page_is_rotate_available (self, _tmp17_);
#line 1347 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp10_ = _tmp18_;
-#line 9293 "PhotoPage.c"
+#line 9275 "PhotoPage.c"
} else {
#line 1347 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp10_ = FALSE;
-#line 9297 "PhotoPage.c"
+#line 9279 "PhotoPage.c"
}
#line 1346 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp19_ = self->priv->rotate_button;
@@ -9308,21 +9290,21 @@ static void editing_host_page_real_update_actions (Page* base, gint selected_cou
_tmp22_ = photo;
#line 1348 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp22_ != NULL) {
-#line 9307 "PhotoPage.c"
+#line 9289 "PhotoPage.c"
gboolean _tmp23_ = FALSE;
#line 1348 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp23_ = self->priv->photo_missing;
#line 1348 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp21_ = !_tmp23_;
-#line 9313 "PhotoPage.c"
+#line 9295 "PhotoPage.c"
} else {
#line 1348 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp21_ = FALSE;
-#line 9317 "PhotoPage.c"
+#line 9299 "PhotoPage.c"
}
#line 1348 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp21_) {
-#line 9321 "PhotoPage.c"
+#line 9303 "PhotoPage.c"
Photo* _tmp24_ = NULL;
Scaling _tmp25_ = {0};
gboolean _tmp26_ = FALSE;
@@ -9334,11 +9316,11 @@ static void editing_host_page_real_update_actions (Page* base, gint selected_cou
_tmp26_ = editing_tools_crop_tool_is_available (_tmp24_, &_tmp25_);
#line 1349 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp20_ = _tmp26_;
-#line 9333 "PhotoPage.c"
+#line 9315 "PhotoPage.c"
} else {
#line 1349 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp20_ = FALSE;
-#line 9337 "PhotoPage.c"
+#line 9319 "PhotoPage.c"
}
#line 1348 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp27_ = self->priv->crop_button;
@@ -9348,21 +9330,21 @@ static void editing_host_page_real_update_actions (Page* base, gint selected_cou
_tmp30_ = photo;
#line 1350 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp30_ != NULL) {
-#line 9347 "PhotoPage.c"
+#line 9329 "PhotoPage.c"
gboolean _tmp31_ = FALSE;
#line 1350 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp31_ = self->priv->photo_missing;
#line 1350 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp29_ = !_tmp31_;
-#line 9353 "PhotoPage.c"
+#line 9335 "PhotoPage.c"
} else {
#line 1350 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp29_ = FALSE;
-#line 9357 "PhotoPage.c"
+#line 9339 "PhotoPage.c"
}
#line 1350 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp29_) {
-#line 9361 "PhotoPage.c"
+#line 9343 "PhotoPage.c"
Photo* _tmp32_ = NULL;
Scaling _tmp33_ = {0};
gboolean _tmp34_ = FALSE;
@@ -9374,11 +9356,11 @@ static void editing_host_page_real_update_actions (Page* base, gint selected_cou
_tmp34_ = editing_tools_redeye_tool_is_available (_tmp32_, &_tmp33_);
#line 1351 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp28_ = _tmp34_;
-#line 9373 "PhotoPage.c"
+#line 9355 "PhotoPage.c"
} else {
#line 1351 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp28_ = FALSE;
-#line 9377 "PhotoPage.c"
+#line 9359 "PhotoPage.c"
}
#line 1350 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp35_ = self->priv->redeye_button;
@@ -9388,21 +9370,21 @@ static void editing_host_page_real_update_actions (Page* base, gint selected_cou
_tmp38_ = photo;
#line 1352 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp38_ != NULL) {
-#line 9387 "PhotoPage.c"
+#line 9369 "PhotoPage.c"
gboolean _tmp39_ = FALSE;
#line 1352 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp39_ = self->priv->photo_missing;
#line 1352 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp37_ = !_tmp39_;
-#line 9393 "PhotoPage.c"
+#line 9375 "PhotoPage.c"
} else {
#line 1352 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp37_ = FALSE;
-#line 9397 "PhotoPage.c"
+#line 9379 "PhotoPage.c"
}
#line 1352 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp37_) {
-#line 9401 "PhotoPage.c"
+#line 9383 "PhotoPage.c"
Photo* _tmp40_ = NULL;
Scaling _tmp41_ = {0};
gboolean _tmp42_ = FALSE;
@@ -9414,11 +9396,11 @@ static void editing_host_page_real_update_actions (Page* base, gint selected_cou
_tmp42_ = editing_tools_adjust_tool_is_available (_tmp40_, &_tmp41_);
#line 1353 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp36_ = _tmp42_;
-#line 9413 "PhotoPage.c"
+#line 9395 "PhotoPage.c"
} else {
#line 1353 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp36_ = FALSE;
-#line 9417 "PhotoPage.c"
+#line 9399 "PhotoPage.c"
}
#line 1352 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp43_ = self->priv->adjust_button;
@@ -9428,21 +9410,21 @@ static void editing_host_page_real_update_actions (Page* base, gint selected_cou
_tmp46_ = photo;
#line 1354 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp46_ != NULL) {
-#line 9427 "PhotoPage.c"
+#line 9409 "PhotoPage.c"
gboolean _tmp47_ = FALSE;
#line 1354 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp47_ = self->priv->photo_missing;
#line 1354 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp45_ = !_tmp47_;
-#line 9433 "PhotoPage.c"
+#line 9415 "PhotoPage.c"
} else {
#line 1354 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp45_ = FALSE;
-#line 9437 "PhotoPage.c"
+#line 9419 "PhotoPage.c"
}
#line 1354 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp45_) {
-#line 9441 "PhotoPage.c"
+#line 9423 "PhotoPage.c"
Photo* _tmp48_ = NULL;
gboolean _tmp49_ = FALSE;
#line 1355 "/home/jens/Source/shotwell/src/PhotoPage.vala"
@@ -9451,11 +9433,11 @@ static void editing_host_page_real_update_actions (Page* base, gint selected_cou
_tmp49_ = editing_host_page_is_enhance_available (self, _tmp48_);
#line 1355 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp44_ = _tmp49_;
-#line 9450 "PhotoPage.c"
+#line 9432 "PhotoPage.c"
} else {
#line 1355 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp44_ = FALSE;
-#line 9454 "PhotoPage.c"
+#line 9436 "PhotoPage.c"
}
#line 1354 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp50_ = self->priv->enhance_button;
@@ -9465,21 +9447,21 @@ static void editing_host_page_real_update_actions (Page* base, gint selected_cou
_tmp53_ = photo;
#line 1356 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp53_ != NULL) {
-#line 9464 "PhotoPage.c"
+#line 9446 "PhotoPage.c"
gboolean _tmp54_ = FALSE;
#line 1356 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp54_ = self->priv->photo_missing;
#line 1356 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp52_ = !_tmp54_;
-#line 9470 "PhotoPage.c"
+#line 9452 "PhotoPage.c"
} else {
#line 1356 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp52_ = FALSE;
-#line 9474 "PhotoPage.c"
+#line 9456 "PhotoPage.c"
}
#line 1356 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp52_) {
-#line 9478 "PhotoPage.c"
+#line 9460 "PhotoPage.c"
Photo* _tmp55_ = NULL;
Scaling _tmp56_ = {0};
gboolean _tmp57_ = FALSE;
@@ -9491,11 +9473,11 @@ static void editing_host_page_real_update_actions (Page* base, gint selected_cou
_tmp57_ = editing_tools_straighten_tool_is_available (_tmp55_, &_tmp56_);
#line 1357 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp51_ = _tmp57_;
-#line 9490 "PhotoPage.c"
+#line 9472 "PhotoPage.c"
} else {
#line 1357 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp51_ = FALSE;
-#line 9494 "PhotoPage.c"
+#line 9476 "PhotoPage.c"
}
#line 1356 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp58_ = self->priv->straighten_button;
@@ -9509,7 +9491,7 @@ static void editing_host_page_real_update_actions (Page* base, gint selected_cou
PAGE_CLASS (editing_host_page_parent_class)->update_actions (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SINGLE_PHOTO_PAGE, SinglePhotoPage), TYPE_PAGE, Page), _tmp59_, _tmp60_);
#line 1337 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (photo);
-#line 9508 "PhotoPage.c"
+#line 9490 "PhotoPage.c"
}
@@ -9528,51 +9510,51 @@ static gboolean editing_host_page_real_on_shift_pressed (Page* base, GdkEventKey
_tmp3_ = self->priv->current_tool;
#line 1364 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp3_ == NULL) {
-#line 9527 "PhotoPage.c"
+#line 9509 "PhotoPage.c"
gboolean _tmp4_ = FALSE;
#line 1364 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp4_ = page_get_ctrl_pressed (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
#line 1364 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp2_ = !_tmp4_;
-#line 9533 "PhotoPage.c"
+#line 9515 "PhotoPage.c"
} else {
#line 1364 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp2_ = FALSE;
-#line 9537 "PhotoPage.c"
+#line 9519 "PhotoPage.c"
}
#line 1364 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp2_) {
-#line 9541 "PhotoPage.c"
+#line 9523 "PhotoPage.c"
gboolean _tmp5_ = FALSE;
#line 1364 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp5_ = page_get_alt_pressed (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
#line 1364 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp1_ = !_tmp5_;
-#line 9547 "PhotoPage.c"
+#line 9529 "PhotoPage.c"
} else {
#line 1364 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp1_ = FALSE;
-#line 9551 "PhotoPage.c"
+#line 9533 "PhotoPage.c"
}
#line 1364 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp1_) {
-#line 9555 "PhotoPage.c"
+#line 9537 "PhotoPage.c"
gboolean _tmp6_ = FALSE;
#line 1364 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp6_ = editing_host_page_has_photo (self);
#line 1364 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp0_ = _tmp6_;
-#line 9561 "PhotoPage.c"
+#line 9543 "PhotoPage.c"
} else {
#line 1364 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp0_ = FALSE;
-#line 9565 "PhotoPage.c"
+#line 9547 "PhotoPage.c"
}
#line 1364 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp0_) {
#line 1365 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_swap_in_original (self);
-#line 9571 "PhotoPage.c"
+#line 9553 "PhotoPage.c"
}
#line 1367 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp7_ = event;
@@ -9582,7 +9564,7 @@ static gboolean editing_host_page_real_on_shift_pressed (Page* base, GdkEventKey
result = _tmp8_;
#line 1367 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 9581 "PhotoPage.c"
+#line 9563 "PhotoPage.c"
}
@@ -9600,7 +9582,7 @@ static gboolean editing_host_page_real_on_shift_released (Page* base, GdkEventKe
if (_tmp0_ == NULL) {
#line 1372 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_swap_out_original (self);
-#line 9599 "PhotoPage.c"
+#line 9581 "PhotoPage.c"
}
#line 1374 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp1_ = event;
@@ -9610,7 +9592,7 @@ static gboolean editing_host_page_real_on_shift_released (Page* base, GdkEventKe
result = _tmp2_;
#line 1374 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 9609 "PhotoPage.c"
+#line 9591 "PhotoPage.c"
}
@@ -9628,7 +9610,7 @@ static gboolean editing_host_page_real_on_alt_pressed (Page* base, GdkEventKey*
if (_tmp0_ == NULL) {
#line 1379 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_swap_out_original (self);
-#line 9627 "PhotoPage.c"
+#line 9609 "PhotoPage.c"
}
#line 1381 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp1_ = event;
@@ -9638,7 +9620,7 @@ static gboolean editing_host_page_real_on_alt_pressed (Page* base, GdkEventKey*
result = _tmp2_;
#line 1381 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 9637 "PhotoPage.c"
+#line 9619 "PhotoPage.c"
}
@@ -9656,37 +9638,37 @@ static gboolean editing_host_page_real_on_alt_released (Page* base, GdkEventKey*
_tmp2_ = self->priv->current_tool;
#line 1385 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp2_ == NULL) {
-#line 9655 "PhotoPage.c"
+#line 9637 "PhotoPage.c"
gboolean _tmp3_ = FALSE;
#line 1385 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp3_ = page_get_shift_pressed (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
#line 1385 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp1_ = _tmp3_;
-#line 9661 "PhotoPage.c"
+#line 9643 "PhotoPage.c"
} else {
#line 1385 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp1_ = FALSE;
-#line 9665 "PhotoPage.c"
+#line 9647 "PhotoPage.c"
}
#line 1385 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp1_) {
-#line 9669 "PhotoPage.c"
+#line 9651 "PhotoPage.c"
gboolean _tmp4_ = FALSE;
#line 1385 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp4_ = page_get_ctrl_pressed (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
#line 1385 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp0_ = !_tmp4_;
-#line 9675 "PhotoPage.c"
+#line 9657 "PhotoPage.c"
} else {
#line 1385 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp0_ = FALSE;
-#line 9679 "PhotoPage.c"
+#line 9661 "PhotoPage.c"
}
#line 1385 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp0_) {
#line 1386 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_swap_in_original (self);
-#line 9685 "PhotoPage.c"
+#line 9667 "PhotoPage.c"
}
#line 1388 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp5_ = event;
@@ -9696,7 +9678,7 @@ static gboolean editing_host_page_real_on_alt_released (Page* base, GdkEventKey*
result = _tmp6_;
#line 1388 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 9695 "PhotoPage.c"
+#line 9677 "PhotoPage.c"
}
@@ -9712,7 +9694,7 @@ static void editing_host_page_swap_in_original (EditingHostPage* self) {
GError * _inner_error_ = NULL;
#line 1391 "/home/jens/Source/shotwell/src/PhotoPage.vala"
g_return_if_fail (IS_EDITING_HOST_PAGE (self));
-#line 9711 "PhotoPage.c"
+#line 9693 "PhotoPage.c"
{
GdkPixbuf* _tmp0_ = NULL;
Photo* _tmp1_ = NULL;
@@ -9737,7 +9719,7 @@ static void editing_host_page_swap_in_original (EditingHostPage* self) {
_tmp0_ = _tmp4_;
#line 1395 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 9736 "PhotoPage.c"
+#line 9718 "PhotoPage.c"
goto __catch246_g_error;
}
#line 1394 "/home/jens/Source/shotwell/src/PhotoPage.vala"
@@ -9756,7 +9738,7 @@ static void editing_host_page_swap_in_original (EditingHostPage* self) {
_g_object_unref0 (_tmp6_);
#line 1393 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp0_);
-#line 9755 "PhotoPage.c"
+#line 9737 "PhotoPage.c"
}
goto __finally246;
__catch246_g_error:
@@ -9772,7 +9754,7 @@ static void editing_host_page_swap_in_original (EditingHostPage* self) {
_g_object_unref0 (original);
#line 1397 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return;
-#line 9771 "PhotoPage.c"
+#line 9753 "PhotoPage.c"
}
__finally246:
#line 1393 "/home/jens/Source/shotwell/src/PhotoPage.vala"
@@ -9785,7 +9767,7 @@ static void editing_host_page_swap_in_original (EditingHostPage* self) {
g_clear_error (&_inner_error_);
#line 1393 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return;
-#line 9784 "PhotoPage.c"
+#line 9766 "PhotoPage.c"
}
#line 1401 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp9_ = single_photo_page_get_unscaled_pixbuf (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SINGLE_PHOTO_PAGE, SinglePhotoPage));
@@ -9803,7 +9785,7 @@ static void editing_host_page_swap_in_original (EditingHostPage* self) {
single_photo_page_save_zoom_state (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SINGLE_PHOTO_PAGE, SinglePhotoPage));
#line 1407 "/home/jens/Source/shotwell/src/PhotoPage.vala"
single_photo_page_cancel_zoom (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SINGLE_PHOTO_PAGE, SinglePhotoPage));
-#line 9802 "PhotoPage.c"
+#line 9784 "PhotoPage.c"
}
#line 1410 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp12_ = original;
@@ -9819,7 +9801,7 @@ static void editing_host_page_swap_in_original (EditingHostPage* self) {
_g_object_unref0 (_tmp14_);
#line 1391 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (original);
-#line 9818 "PhotoPage.c"
+#line 9800 "PhotoPage.c"
}
@@ -9831,7 +9813,7 @@ static void editing_host_page_swap_out_original (EditingHostPage* self) {
_tmp0_ = self->priv->swapped;
#line 1414 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp0_ != NULL) {
-#line 9830 "PhotoPage.c"
+#line 9812 "PhotoPage.c"
GdkPixbuf* _tmp1_ = NULL;
Photo* _tmp2_ = NULL;
Photo* _tmp3_ = NULL;
@@ -9856,7 +9838,7 @@ static void editing_host_page_swap_out_original (EditingHostPage* self) {
_g_object_unref0 (self->priv->swapped);
#line 1421 "/home/jens/Source/shotwell/src/PhotoPage.vala"
self->priv->swapped = NULL;
-#line 9855 "PhotoPage.c"
+#line 9837 "PhotoPage.c"
}
}
@@ -9864,7 +9846,7 @@ static void editing_host_page_swap_out_original (EditingHostPage* self) {
static gpointer _editing_tools_editing_tool_ref0 (gpointer self) {
#line 1465 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return self ? editing_tools_editing_tool_ref (self) : NULL;
-#line 9863 "PhotoPage.c"
+#line 9845 "PhotoPage.c"
}
@@ -9915,7 +9897,7 @@ static void editing_host_page_activate_tool (EditingHostPage* self, EditingTools
_g_object_unref0 (_tmp3_);
#line 1440 "/home/jens/Source/shotwell/src/PhotoPage.vala"
max_dim = _tmp5_;
-#line 9914 "PhotoPage.c"
+#line 9896 "PhotoPage.c"
{
Dimensions tool_pixbuf_dim = {0};
Dimensions _tmp6_ = {0};
@@ -9953,7 +9935,7 @@ static void editing_host_page_activate_tool (EditingHostPage* self, EditingTools
_tmp7_ = _tmp14_;
#line 1443 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 9952 "PhotoPage.c"
+#line 9934 "PhotoPage.c"
goto __catch247_g_error;
}
#line 1443 "/home/jens/Source/shotwell/src/PhotoPage.vala"
@@ -9968,17 +9950,17 @@ static void editing_host_page_activate_tool (EditingHostPage* self, EditingTools
_tmp16_ = unscaled;
#line 1445 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp16_ != NULL) {
-#line 9967 "PhotoPage.c"
+#line 9949 "PhotoPage.c"
Dimensions _tmp17_ = {0};
#line 1446 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp17_ = tool_pixbuf_dim;
#line 1446 "/home/jens/Source/shotwell/src/PhotoPage.vala"
max_dim = _tmp17_;
-#line 9973 "PhotoPage.c"
+#line 9955 "PhotoPage.c"
}
#line 1441 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp7_);
-#line 9977 "PhotoPage.c"
+#line 9959 "PhotoPage.c"
}
goto __finally247;
__catch247_g_error:
@@ -10014,7 +9996,7 @@ static void editing_host_page_activate_tool (EditingHostPage* self, EditingTools
_g_object_unref0 (unscaled);
#line 1455 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return;
-#line 10013 "PhotoPage.c"
+#line 9995 "PhotoPage.c"
}
__finally247:
#line 1441 "/home/jens/Source/shotwell/src/PhotoPage.vala"
@@ -10027,13 +10009,13 @@ static void editing_host_page_activate_tool (EditingHostPage* self, EditingTools
g_clear_error (&_inner_error_);
#line 1441 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return;
-#line 10026 "PhotoPage.c"
+#line 10008 "PhotoPage.c"
}
#line 1458 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp22_ = unscaled;
#line 1458 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp22_ != NULL) {
-#line 10032 "PhotoPage.c"
+#line 10014 "PhotoPage.c"
GdkPixbuf* _tmp23_ = NULL;
Dimensions _tmp24_ = {0};
#line 1459 "/home/jens/Source/shotwell/src/PhotoPage.vala"
@@ -10042,7 +10024,7 @@ static void editing_host_page_activate_tool (EditingHostPage* self, EditingTools
_tmp24_ = max_dim;
#line 1459 "/home/jens/Source/shotwell/src/PhotoPage.vala"
single_photo_page_set_pixbuf (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SINGLE_PHOTO_PAGE, SinglePhotoPage), _tmp23_, &_tmp24_, NULL);
-#line 10041 "PhotoPage.c"
+#line 10023 "PhotoPage.c"
}
#line 1462 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp25_ = editing_host_page_editing_host_canvas_new (self);
@@ -10070,42 +10052,42 @@ static void editing_host_page_activate_tool (EditingHostPage* self, EditingTools
_editing_tools_photo_canvas_unref0 (photo_canvas);
#line 1425 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (unscaled);
-#line 10069 "PhotoPage.c"
+#line 10051 "PhotoPage.c"
}
static void _editing_host_page_on_tool_activated_editing_tools_editing_tool_activated (EditingToolsEditingTool* _sender, gpointer self) {
#line 1496 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_on_tool_activated ((EditingHostPage*) self);
-#line 10076 "PhotoPage.c"
+#line 10058 "PhotoPage.c"
}
static void _editing_host_page_on_tool_deactivated_editing_tools_editing_tool_deactivated (EditingToolsEditingTool* _sender, gpointer self) {
#line 1497 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_on_tool_deactivated ((EditingHostPage*) self);
-#line 10083 "PhotoPage.c"
+#line 10065 "PhotoPage.c"
}
static void _editing_host_page_on_tool_applied_editing_tools_editing_tool_applied (EditingToolsEditingTool* _sender, Command* command, GdkPixbuf* new_pixbuf, Dimensions* new_max_dim, gboolean needs_improvement, gpointer self) {
#line 1498 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_on_tool_applied ((EditingHostPage*) self, command, new_pixbuf, new_max_dim, needs_improvement);
-#line 10090 "PhotoPage.c"
+#line 10072 "PhotoPage.c"
}
static void _editing_host_page_on_tool_cancelled_editing_tools_editing_tool_cancelled (EditingToolsEditingTool* _sender, gpointer self) {
#line 1499 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_on_tool_cancelled ((EditingHostPage*) self);
-#line 10097 "PhotoPage.c"
+#line 10079 "PhotoPage.c"
}
static void _editing_host_page_on_tool_aborted_editing_tools_editing_tool_aborted (EditingToolsEditingTool* _sender, gpointer self) {
#line 1500 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_on_tool_aborted ((EditingHostPage*) self);
-#line 10104 "PhotoPage.c"
+#line 10086 "PhotoPage.c"
}
@@ -10114,7 +10096,7 @@ static gboolean _editing_host_page_update_pixbuf_gsource_func (gpointer self) {
result = editing_host_page_update_pixbuf ((EditingHostPage*) self);
#line 1527 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 10113 "PhotoPage.c"
+#line 10095 "PhotoPage.c"
}
@@ -10158,7 +10140,7 @@ static void editing_host_page_deactivate_tool (EditingHostPage* self, Command* c
if (_tmp0_ == NULL) {
#line 1478 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return;
-#line 10157 "PhotoPage.c"
+#line 10139 "PhotoPage.c"
}
#line 1480 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp1_ = self->priv->current_tool;
@@ -10180,7 +10162,7 @@ static void editing_host_page_deactivate_tool (EditingHostPage* self, Command* c
_tmp6_ = tool_window;
#line 1485 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp6_ != NULL) {
-#line 10179 "PhotoPage.c"
+#line 10161 "PhotoPage.c"
EditingToolsEditingToolWindow* _tmp7_ = NULL;
gboolean _tmp8_ = FALSE;
#line 1485 "/home/jens/Source/shotwell/src/PhotoPage.vala"
@@ -10189,15 +10171,15 @@ static void editing_host_page_deactivate_tool (EditingHostPage* self, Command* c
_tmp8_ = editing_tools_editing_tool_window_has_user_moved (_tmp7_);
#line 1485 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp5_ = _tmp8_;
-#line 10188 "PhotoPage.c"
+#line 10170 "PhotoPage.c"
} else {
#line 1485 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp5_ = FALSE;
-#line 10192 "PhotoPage.c"
+#line 10174 "PhotoPage.c"
}
#line 1485 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp5_) {
-#line 10196 "PhotoPage.c"
+#line 10178 "PhotoPage.c"
gint last_location_x = 0;
gint last_location_y = 0;
EditingToolsEditingToolWindow* _tmp9_ = NULL;
@@ -10255,7 +10237,7 @@ static void editing_host_page_deactivate_tool (EditingHostPage* self, Command* c
gee_abstract_map_set (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _tmp22_, (gpointer) ((gintptr) _tmp23_));
#line 1489 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_free0 (_tmp22_);
-#line 10254 "PhotoPage.c"
+#line 10236 "PhotoPage.c"
}
#line 1494 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp24_ = tool;
@@ -10305,7 +10287,7 @@ static void editing_host_page_deactivate_tool (EditingHostPage* self, Command* c
_tmp35_ = new_pixbuf;
#line 1510 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp35_ != NULL) {
-#line 10304 "PhotoPage.c"
+#line 10286 "PhotoPage.c"
GdkPixbuf* _tmp36_ = NULL;
GdkPixbuf* _tmp37_ = NULL;
#line 1511 "/home/jens/Source/shotwell/src/PhotoPage.vala"
@@ -10316,14 +10298,14 @@ static void editing_host_page_deactivate_tool (EditingHostPage* self, Command* c
_g_object_unref0 (replacement);
#line 1511 "/home/jens/Source/shotwell/src/PhotoPage.vala"
replacement = _tmp37_;
-#line 10315 "PhotoPage.c"
+#line 10297 "PhotoPage.c"
} else {
GdkPixbuf* _tmp38_ = NULL;
#line 1512 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp38_ = self->priv->cancel_editing_pixbuf;
#line 1512 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp38_ != NULL) {
-#line 10322 "PhotoPage.c"
+#line 10304 "PhotoPage.c"
GdkPixbuf* _tmp39_ = NULL;
GdkPixbuf* _tmp40_ = NULL;
GdkPixbuf* _tmp41_ = NULL;
@@ -10344,18 +10326,18 @@ static void editing_host_page_deactivate_tool (EditingHostPage* self, Command* c
*new_max_dim = _tmp42_;
#line 1515 "/home/jens/Source/shotwell/src/PhotoPage.vala"
needs_improvement = FALSE;
-#line 10343 "PhotoPage.c"
+#line 10325 "PhotoPage.c"
} else {
#line 1517 "/home/jens/Source/shotwell/src/PhotoPage.vala"
needs_improvement = TRUE;
-#line 10347 "PhotoPage.c"
+#line 10329 "PhotoPage.c"
}
}
#line 1520 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp43_ = replacement;
#line 1520 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp43_ != NULL) {
-#line 10354 "PhotoPage.c"
+#line 10336 "PhotoPage.c"
GdkPixbuf* _tmp44_ = NULL;
Dimensions _tmp45_ = {0};
#line 1521 "/home/jens/Source/shotwell/src/PhotoPage.vala"
@@ -10364,7 +10346,7 @@ static void editing_host_page_deactivate_tool (EditingHostPage* self, Command* c
_tmp45_ = *new_max_dim;
#line 1521 "/home/jens/Source/shotwell/src/PhotoPage.vala"
single_photo_page_set_pixbuf (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SINGLE_PHOTO_PAGE, SinglePhotoPage), _tmp44_, &_tmp45_, NULL);
-#line 10363 "PhotoPage.c"
+#line 10345 "PhotoPage.c"
}
#line 1522 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (self->priv->cancel_editing_pixbuf);
@@ -10378,13 +10360,13 @@ static void editing_host_page_deactivate_tool (EditingHostPage* self, Command* c
self->priv->pixbuf_dirty = TRUE;
#line 1527 "/home/jens/Source/shotwell/src/PhotoPage.vala"
g_idle_add_full (G_PRIORITY_DEFAULT_IDLE, _editing_host_page_update_pixbuf_gsource_func, g_object_ref (self), g_object_unref);
-#line 10377 "PhotoPage.c"
+#line 10359 "PhotoPage.c"
}
#line 1531 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp47_ = command;
#line 1531 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp47_ != NULL) {
-#line 10383 "PhotoPage.c"
+#line 10365 "PhotoPage.c"
CommandManager* _tmp48_ = NULL;
CommandManager* _tmp49_ = NULL;
Command* _tmp50_ = NULL;
@@ -10398,7 +10380,7 @@ static void editing_host_page_deactivate_tool (EditingHostPage* self, Command* c
command_manager_execute (_tmp49_, _tmp50_);
#line 1532 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_command_manager_unref0 (_tmp49_);
-#line 10397 "PhotoPage.c"
+#line 10379 "PhotoPage.c"
}
#line 1475 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (replacement);
@@ -10406,7 +10388,7 @@ static void editing_host_page_deactivate_tool (EditingHostPage* self, Command* c
_g_object_unref0 (tool_window);
#line 1475 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_editing_tools_editing_tool_unref0 (tool);
-#line 10405 "PhotoPage.c"
+#line 10387 "PhotoPage.c"
}
@@ -10418,7 +10400,7 @@ static gboolean editing_host_page_real_on_double_click (EditingHostPage* self, G
result = FALSE;
#line 1538 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 10417 "PhotoPage.c"
+#line 10399 "PhotoPage.c"
}
@@ -10427,7 +10409,7 @@ gboolean editing_host_page_on_double_click (EditingHostPage* self, GdkEventButto
g_return_val_if_fail (IS_EDITING_HOST_PAGE (self), FALSE);
#line 1537 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return EDITING_HOST_PAGE_GET_CLASS (self)->on_double_click (self, event);
-#line 10426 "PhotoPage.c"
+#line 10408 "PhotoPage.c"
}
@@ -10461,14 +10443,14 @@ static gboolean editing_host_page_real_on_left_click (Page* base, GdkEventButton
_tmp1_ = _tmp0_->type;
#line 1544 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp1_ == GDK_2BUTTON_PRESS) {
-#line 10460 "PhotoPage.c"
+#line 10442 "PhotoPage.c"
gboolean _tmp2_ = FALSE;
EditingToolsEditingTool* _tmp3_ = NULL;
#line 1545 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp3_ = self->priv->current_tool;
#line 1545 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp3_ == NULL) {
-#line 10467 "PhotoPage.c"
+#line 10449 "PhotoPage.c"
GdkEventButton* _tmp4_ = NULL;
gboolean _tmp5_ = FALSE;
#line 1545 "/home/jens/Source/shotwell/src/PhotoPage.vala"
@@ -10477,17 +10459,17 @@ static gboolean editing_host_page_real_on_left_click (Page* base, GdkEventButton
_tmp5_ = editing_host_page_on_double_click (self, _tmp4_);
#line 1545 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp2_ = _tmp5_;
-#line 10476 "PhotoPage.c"
+#line 10458 "PhotoPage.c"
} else {
#line 1545 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp2_ = FALSE;
-#line 10480 "PhotoPage.c"
+#line 10462 "PhotoPage.c"
}
#line 1545 "/home/jens/Source/shotwell/src/PhotoPage.vala"
result = _tmp2_;
#line 1545 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 10486 "PhotoPage.c"
+#line 10468 "PhotoPage.c"
}
#line 1547 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp6_ = event;
@@ -10505,7 +10487,7 @@ static gboolean editing_host_page_real_on_left_click (Page* base, GdkEventButton
_tmp11_ = self->priv->current_tool;
#line 1552 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp11_ == NULL) {
-#line 10504 "PhotoPage.c"
+#line 10486 "PhotoPage.c"
GtkScale* _tmp12_ = NULL;
gdouble _tmp13_ = 0.0;
#line 1552 "/home/jens/Source/shotwell/src/PhotoPage.vala"
@@ -10514,15 +10496,15 @@ static gboolean editing_host_page_real_on_left_click (Page* base, GdkEventButton
_tmp13_ = gtk_range_get_value (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, gtk_range_get_type (), GtkRange));
#line 1552 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp10_ = _tmp13_ != 0.0;
-#line 10513 "PhotoPage.c"
+#line 10495 "PhotoPage.c"
} else {
#line 1552 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp10_ = FALSE;
-#line 10517 "PhotoPage.c"
+#line 10499 "PhotoPage.c"
}
#line 1552 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp10_) {
-#line 10521 "PhotoPage.c"
+#line 10503 "PhotoPage.c"
GdkEventButton* _tmp14_ = NULL;
gdouble _tmp15_ = 0.0;
GdkEventButton* _tmp16_ = NULL;
@@ -10547,7 +10529,7 @@ static gboolean editing_host_page_real_on_left_click (Page* base, GdkEventButton
result = TRUE;
#line 1558 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 10546 "PhotoPage.c"
+#line 10528 "PhotoPage.c"
}
#line 1562 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp18_ = self->priv->current_tool;
@@ -10557,7 +10539,7 @@ static gboolean editing_host_page_real_on_left_click (Page* base, GdkEventButton
result = FALSE;
#line 1563 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 10556 "PhotoPage.c"
+#line 10538 "PhotoPage.c"
}
#line 1568 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp19_ = x;
@@ -10571,7 +10553,7 @@ static gboolean editing_host_page_real_on_left_click (Page* base, GdkEventButton
result = TRUE;
#line 1569 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 10570 "PhotoPage.c"
+#line 10552 "PhotoPage.c"
}
#line 1571 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp22_ = self->priv->current_tool;
@@ -10585,7 +10567,7 @@ static gboolean editing_host_page_real_on_left_click (Page* base, GdkEventButton
result = TRUE;
#line 1574 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 10584 "PhotoPage.c"
+#line 10566 "PhotoPage.c"
}
@@ -10611,7 +10593,7 @@ static gboolean editing_host_page_real_on_left_released (Page* base, GdkEventBut
_tmp0_ = self->priv->is_pan_in_progress;
#line 1578 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp0_) {
-#line 10610 "PhotoPage.c"
+#line 10592 "PhotoPage.c"
GdkPoint viewport_center = {0};
ZoomState _tmp1_ = {0};
GdkPoint _tmp2_ = {0};
@@ -10698,7 +10680,7 @@ static gboolean editing_host_page_real_on_left_released (Page* base, GdkEventBut
self->priv->is_pan_in_progress = FALSE;
#line 1590 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_restore_cursor_hiding (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 10697 "PhotoPage.c"
+#line 10679 "PhotoPage.c"
}
#line 1595 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp21_ = self->priv->current_tool;
@@ -10708,7 +10690,7 @@ static gboolean editing_host_page_real_on_left_released (Page* base, GdkEventBut
result = FALSE;
#line 1596 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 10707 "PhotoPage.c"
+#line 10689 "PhotoPage.c"
}
#line 1598 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp22_ = self->priv->current_tool;
@@ -10734,7 +10716,7 @@ static gboolean editing_host_page_real_on_left_released (Page* base, GdkEventBut
_g_object_unref0 (_tmp29_);
#line 1600 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp30_) {
-#line 10733 "PhotoPage.c"
+#line 10715 "PhotoPage.c"
EditingToolsEditingTool* _tmp31_ = NULL;
EditingToolsEditingToolWindow* _tmp32_ = NULL;
EditingToolsEditingToolWindow* _tmp33_ = NULL;
@@ -10748,13 +10730,13 @@ static gboolean editing_host_page_real_on_left_released (Page* base, GdkEventBut
gtk_window_present (G_TYPE_CHECK_INSTANCE_CAST (_tmp33_, gtk_window_get_type (), GtkWindow));
#line 1601 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp33_);
-#line 10747 "PhotoPage.c"
+#line 10729 "PhotoPage.c"
}
#line 1603 "/home/jens/Source/shotwell/src/PhotoPage.vala"
result = FALSE;
#line 1603 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 10753 "PhotoPage.c"
+#line 10735 "PhotoPage.c"
}
@@ -10775,7 +10757,7 @@ static gboolean editing_host_page_real_on_right_click (Page* base, GdkEventButto
result = _tmp1_;
#line 1607 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 10774 "PhotoPage.c"
+#line 10756 "PhotoPage.c"
}
@@ -10784,7 +10766,7 @@ static gboolean _editing_host_page_on_fetch_original_gsource_func (gpointer self
result = editing_host_page_on_fetch_original ((EditingHostPage*) self);
#line 1619 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 10783 "PhotoPage.c"
+#line 10765 "PhotoPage.c"
}
@@ -10824,7 +10806,7 @@ static void editing_host_page_on_photos_altered (EditingHostPage* self, GeeMap*
if (_tmp4_) {
#line 1612 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return;
-#line 10823 "PhotoPage.c"
+#line 10805 "PhotoPage.c"
}
#line 1614 "/home/jens/Source/shotwell/src/PhotoPage.vala"
self->priv->pixbuf_dirty = TRUE;
@@ -10842,7 +10824,7 @@ static void editing_host_page_on_photos_altered (EditingHostPage* self, GeeMap*
if (_tmp8_) {
#line 1619 "/home/jens/Source/shotwell/src/PhotoPage.vala"
g_idle_add_full (G_PRIORITY_DEFAULT_IDLE, _editing_host_page_on_fetch_original_gsource_func, g_object_ref (self), g_object_unref);
-#line 10841 "PhotoPage.c"
+#line 10823 "PhotoPage.c"
}
#line 1621 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp9_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
@@ -10862,7 +10844,7 @@ static void editing_host_page_on_photos_altered (EditingHostPage* self, GeeMap*
_data_collection_unref0 (_tmp13_);
#line 1621 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_data_collection_unref0 (_tmp10_);
-#line 10861 "PhotoPage.c"
+#line 10843 "PhotoPage.c"
}
@@ -10871,7 +10853,7 @@ static void editing_host_page_on_view_contents_ordering_altered (EditingHostPage
g_return_if_fail (IS_EDITING_HOST_PAGE (self));
#line 1625 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_refresh_caches (self, "on_view_contents_ordering_altered");
-#line 10870 "PhotoPage.c"
+#line 10852 "PhotoPage.c"
}
@@ -10884,7 +10866,7 @@ static gboolean editing_host_page_on_fetch_original (EditingHostPage* self) {
_tmp0_ = editing_host_page_has_photo (self);
#line 1629 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp0_) {
-#line 10883 "PhotoPage.c"
+#line 10865 "PhotoPage.c"
PixbufCache* _tmp1_ = NULL;
Photo* _tmp2_ = NULL;
Photo* _tmp3_ = NULL;
@@ -10898,13 +10880,13 @@ static gboolean editing_host_page_on_fetch_original (EditingHostPage* self) {
pixbuf_cache_prefetch (_tmp1_, _tmp3_, BACKGROUND_JOB_JOB_PRIORITY_LOW, FALSE);
#line 1630 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp3_);
-#line 10897 "PhotoPage.c"
+#line 10879 "PhotoPage.c"
}
#line 1632 "/home/jens/Source/shotwell/src/PhotoPage.vala"
result = FALSE;
#line 1632 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 10903 "PhotoPage.c"
+#line 10885 "PhotoPage.c"
}
@@ -10955,7 +10937,7 @@ static gboolean editing_host_page_is_panning_possible (EditingHostPage* self) {
_tmp10_ = _tmp9_.width;
#line 1643 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp8_ >= _tmp10_) {
-#line 10954 "PhotoPage.c"
+#line 10936 "PhotoPage.c"
Dimensions _tmp11_ = {0};
gint _tmp12_ = 0;
Dimensions _tmp13_ = {0};
@@ -10970,17 +10952,17 @@ static gboolean editing_host_page_is_panning_possible (EditingHostPage* self) {
_tmp14_ = _tmp13_.height;
#line 1643 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp6_ = _tmp12_ >= _tmp14_;
-#line 10969 "PhotoPage.c"
+#line 10951 "PhotoPage.c"
} else {
#line 1643 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp6_ = FALSE;
-#line 10973 "PhotoPage.c"
+#line 10955 "PhotoPage.c"
}
#line 1643 "/home/jens/Source/shotwell/src/PhotoPage.vala"
result = !_tmp6_;
#line 1643 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 10979 "PhotoPage.c"
+#line 10961 "PhotoPage.c"
}
@@ -10994,11 +10976,11 @@ static void editing_host_page_update_cursor_for_zoom_context (EditingHostPage* s
if (_tmp0_) {
#line 1648 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_set_page_cursor (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), GDK_FLEUR);
-#line 10993 "PhotoPage.c"
+#line 10975 "PhotoPage.c"
} else {
#line 1650 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_set_page_cursor (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), GDK_LEFT_PTR);
-#line 10997 "PhotoPage.c"
+#line 10979 "PhotoPage.c"
}
}
@@ -11021,7 +11003,7 @@ static gboolean editing_host_page_real_on_motion (Page* base, GdkEventMotion* ev
_tmp0_ = self->priv->current_tool;
#line 1655 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp0_ != NULL) {
-#line 11020 "PhotoPage.c"
+#line 11002 "PhotoPage.c"
EditingToolsEditingTool* _tmp1_ = NULL;
gint _tmp2_ = 0;
gint _tmp3_ = 0;
@@ -11045,7 +11027,7 @@ static gboolean editing_host_page_real_on_motion (Page* base, GdkEventMotion* ev
result = TRUE;
#line 1661 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 11044 "PhotoPage.c"
+#line 11026 "PhotoPage.c"
}
#line 1664 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_update_cursor_for_zoom_context (self);
@@ -11053,7 +11035,7 @@ static gboolean editing_host_page_real_on_motion (Page* base, GdkEventMotion* ev
_tmp6_ = self->priv->is_pan_in_progress;
#line 1666 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp6_) {
-#line 11052 "PhotoPage.c"
+#line 11034 "PhotoPage.c"
gint delta_x = 0;
GdkEventMotion* _tmp7_ = NULL;
gdouble _tmp8_ = 0.0;
@@ -11127,7 +11109,7 @@ static gboolean editing_host_page_real_on_motion (Page* base, GdkEventMotion* ev
result = TRUE;
#line 1677 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 11126 "PhotoPage.c"
+#line 11108 "PhotoPage.c"
}
#line 1680 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp24_ = event;
@@ -11143,7 +11125,7 @@ static gboolean editing_host_page_real_on_motion (Page* base, GdkEventMotion* ev
result = _tmp28_;
#line 1680 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 11142 "PhotoPage.c"
+#line 11124 "PhotoPage.c"
}
@@ -11158,7 +11140,7 @@ static gboolean editing_host_page_real_on_leave_notify_event (Page* base) {
_tmp0_ = self->priv->current_tool;
#line 1684 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp0_ != NULL) {
-#line 11157 "PhotoPage.c"
+#line 11139 "PhotoPage.c"
EditingToolsEditingTool* _tmp1_ = NULL;
gboolean _tmp2_ = FALSE;
#line 1685 "/home/jens/Source/shotwell/src/PhotoPage.vala"
@@ -11169,7 +11151,7 @@ static gboolean editing_host_page_real_on_leave_notify_event (Page* base) {
result = _tmp2_;
#line 1685 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 11168 "PhotoPage.c"
+#line 11150 "PhotoPage.c"
}
#line 1687 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp3_ = PAGE_CLASS (editing_host_page_parent_class)->on_leave_notify_event (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SINGLE_PHOTO_PAGE, SinglePhotoPage), TYPE_PAGE, Page));
@@ -11177,7 +11159,7 @@ static gboolean editing_host_page_real_on_leave_notify_event (Page* base) {
result = _tmp3_;
#line 1687 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 11176 "PhotoPage.c"
+#line 11158 "PhotoPage.c"
}
@@ -11189,7 +11171,7 @@ static void editing_host_page_track_tool_window (EditingHostPage* self) {
_tmp0_ = self->priv->current_tool;
#line 1692 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp0_ != NULL) {
-#line 11188 "PhotoPage.c"
+#line 11170 "PhotoPage.c"
EditingToolsEditingToolWindow* tool_window = NULL;
EditingToolsEditingTool* _tmp1_ = NULL;
EditingToolsEditingToolWindow* _tmp2_ = NULL;
@@ -11205,7 +11187,7 @@ static void editing_host_page_track_tool_window (EditingHostPage* self) {
_tmp4_ = tool_window;
#line 1694 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp4_ != NULL) {
-#line 11204 "PhotoPage.c"
+#line 11186 "PhotoPage.c"
EditingToolsEditingToolWindow* _tmp5_ = NULL;
gboolean _tmp6_ = FALSE;
#line 1694 "/home/jens/Source/shotwell/src/PhotoPage.vala"
@@ -11214,21 +11196,21 @@ static void editing_host_page_track_tool_window (EditingHostPage* self) {
_tmp6_ = editing_tools_editing_tool_window_has_user_moved (_tmp5_);
#line 1694 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp3_ = !_tmp6_;
-#line 11213 "PhotoPage.c"
+#line 11195 "PhotoPage.c"
} else {
#line 1694 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp3_ = FALSE;
-#line 11217 "PhotoPage.c"
+#line 11199 "PhotoPage.c"
}
#line 1694 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp3_) {
#line 1695 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_place_tool_window (self);
-#line 11223 "PhotoPage.c"
+#line 11205 "PhotoPage.c"
}
#line 1692 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (tool_window);
-#line 11227 "PhotoPage.c"
+#line 11209 "PhotoPage.c"
}
}
@@ -11246,7 +11228,7 @@ static void editing_host_page_real_on_move (Page* base, GdkRectangle* rect) {
_tmp0_ = *rect;
#line 1702 "/home/jens/Source/shotwell/src/PhotoPage.vala"
PAGE_CLASS (editing_host_page_parent_class)->on_move (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SINGLE_PHOTO_PAGE, SinglePhotoPage), TYPE_PAGE, Page), &_tmp0_);
-#line 11245 "PhotoPage.c"
+#line 11227 "PhotoPage.c"
}
@@ -11266,7 +11248,7 @@ static void editing_host_page_real_on_move_finished (Page* base, GdkRectangle* r
_tmp1_ = *rect;
#line 1708 "/home/jens/Source/shotwell/src/PhotoPage.vala"
PAGE_CLASS (editing_host_page_parent_class)->on_move_finished (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SINGLE_PHOTO_PAGE, SinglePhotoPage), TYPE_PAGE, Page), &_tmp1_);
-#line 11265 "PhotoPage.c"
+#line 11247 "PhotoPage.c"
}
@@ -11305,7 +11287,7 @@ static gboolean editing_host_page_on_keyboard_pan_event (EditingHostPage* self,
static GQuark _tmp6_label10 = 0;
#line 1715 "/home/jens/Source/shotwell/src/PhotoPage.vala"
static GQuark _tmp6_label11 = 0;
-#line 11304 "PhotoPage.c"
+#line 11286 "PhotoPage.c"
ZoomState new_zoom_state = {0};
ZoomState _tmp12_ = {0};
GdkPoint _tmp13_ = {0};
@@ -11336,7 +11318,7 @@ static gboolean editing_host_page_on_keyboard_pan_event (EditingHostPage* self,
if (((_tmp7_ == ((0 != _tmp6_label0) ? _tmp6_label0 : (_tmp6_label0 = g_quark_from_static_string ("Left")))) || (_tmp7_ == ((0 != _tmp6_label1) ? _tmp6_label1 : (_tmp6_label1 = g_quark_from_static_string ("KP_Left"))))) || (_tmp7_ == ((0 != _tmp6_label2) ? _tmp6_label2 : (_tmp6_label2 = g_quark_from_static_string ("KP_4"))))) {
#line 1715 "/home/jens/Source/shotwell/src/PhotoPage.vala"
switch (0) {
-#line 11335 "PhotoPage.c"
+#line 11317 "PhotoPage.c"
default:
{
gint _tmp8_ = 0;
@@ -11346,13 +11328,13 @@ static gboolean editing_host_page_on_keyboard_pan_event (EditingHostPage* self,
viewport_center.x = _tmp8_ - EDITING_HOST_PAGE_PAN_INCREMENT_SIZE;
#line 1720 "/home/jens/Source/shotwell/src/PhotoPage.vala"
break;
-#line 11345 "PhotoPage.c"
+#line 11327 "PhotoPage.c"
}
}
} else if (((_tmp7_ == ((0 != _tmp6_label3) ? _tmp6_label3 : (_tmp6_label3 = g_quark_from_static_string ("Right")))) || (_tmp7_ == ((0 != _tmp6_label4) ? _tmp6_label4 : (_tmp6_label4 = g_quark_from_static_string ("KP_Right"))))) || (_tmp7_ == ((0 != _tmp6_label5) ? _tmp6_label5 : (_tmp6_label5 = g_quark_from_static_string ("KP_6"))))) {
#line 1715 "/home/jens/Source/shotwell/src/PhotoPage.vala"
switch (0) {
-#line 11351 "PhotoPage.c"
+#line 11333 "PhotoPage.c"
default:
{
gint _tmp9_ = 0;
@@ -11362,13 +11344,13 @@ static gboolean editing_host_page_on_keyboard_pan_event (EditingHostPage* self,
viewport_center.x = _tmp9_ + EDITING_HOST_PAGE_PAN_INCREMENT_SIZE;
#line 1726 "/home/jens/Source/shotwell/src/PhotoPage.vala"
break;
-#line 11361 "PhotoPage.c"
+#line 11343 "PhotoPage.c"
}
}
} else if (((_tmp7_ == ((0 != _tmp6_label6) ? _tmp6_label6 : (_tmp6_label6 = g_quark_from_static_string ("Down")))) || (_tmp7_ == ((0 != _tmp6_label7) ? _tmp6_label7 : (_tmp6_label7 = g_quark_from_static_string ("KP_Down"))))) || (_tmp7_ == ((0 != _tmp6_label8) ? _tmp6_label8 : (_tmp6_label8 = g_quark_from_static_string ("KP_2"))))) {
#line 1715 "/home/jens/Source/shotwell/src/PhotoPage.vala"
switch (0) {
-#line 11367 "PhotoPage.c"
+#line 11349 "PhotoPage.c"
default:
{
gint _tmp10_ = 0;
@@ -11378,13 +11360,13 @@ static gboolean editing_host_page_on_keyboard_pan_event (EditingHostPage* self,
viewport_center.y = _tmp10_ + EDITING_HOST_PAGE_PAN_INCREMENT_SIZE;
#line 1732 "/home/jens/Source/shotwell/src/PhotoPage.vala"
break;
-#line 11377 "PhotoPage.c"
+#line 11359 "PhotoPage.c"
}
}
} else if (((_tmp7_ == ((0 != _tmp6_label9) ? _tmp6_label9 : (_tmp6_label9 = g_quark_from_static_string ("Up")))) || (_tmp7_ == ((0 != _tmp6_label10) ? _tmp6_label10 : (_tmp6_label10 = g_quark_from_static_string ("KP_Up"))))) || (_tmp7_ == ((0 != _tmp6_label11) ? _tmp6_label11 : (_tmp6_label11 = g_quark_from_static_string ("KP_8"))))) {
#line 1715 "/home/jens/Source/shotwell/src/PhotoPage.vala"
switch (0) {
-#line 11383 "PhotoPage.c"
+#line 11365 "PhotoPage.c"
default:
{
gint _tmp11_ = 0;
@@ -11394,20 +11376,20 @@ static gboolean editing_host_page_on_keyboard_pan_event (EditingHostPage* self,
viewport_center.y = _tmp11_ - EDITING_HOST_PAGE_PAN_INCREMENT_SIZE;
#line 1738 "/home/jens/Source/shotwell/src/PhotoPage.vala"
break;
-#line 11393 "PhotoPage.c"
+#line 11375 "PhotoPage.c"
}
}
} else {
#line 1715 "/home/jens/Source/shotwell/src/PhotoPage.vala"
switch (0) {
-#line 11399 "PhotoPage.c"
+#line 11381 "PhotoPage.c"
default:
{
#line 1741 "/home/jens/Source/shotwell/src/PhotoPage.vala"
result = FALSE;
#line 1741 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 11406 "PhotoPage.c"
+#line 11388 "PhotoPage.c"
}
}
}
@@ -11427,7 +11409,7 @@ static gboolean editing_host_page_on_keyboard_pan_event (EditingHostPage* self,
result = TRUE;
#line 1748 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 11426 "PhotoPage.c"
+#line 11408 "PhotoPage.c"
}
@@ -11460,7 +11442,7 @@ static gboolean editing_host_page_real_key_press_event (GtkWidget* base, GdkEven
static GQuark _tmp13_label6 = 0;
#line 1772 "/home/jens/Source/shotwell/src/PhotoPage.vala"
static GQuark _tmp13_label7 = 0;
-#line 11459 "PhotoPage.c"
+#line 11441 "PhotoPage.c"
gboolean _tmp15_ = FALSE;
gboolean _tmp16_ = FALSE;
#line 1751 "/home/jens/Source/shotwell/src/PhotoPage.vala"
@@ -11471,7 +11453,7 @@ static gboolean editing_host_page_real_key_press_event (GtkWidget* base, GdkEven
_tmp0_ = self->priv->current_tool;
#line 1753 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp0_ != NULL) {
-#line 11470 "PhotoPage.c"
+#line 11452 "PhotoPage.c"
EditingToolsEditingTool* _tmp1_ = NULL;
GdkEventKey* _tmp2_ = NULL;
gboolean _tmp3_ = FALSE;
@@ -11487,14 +11469,14 @@ static gboolean editing_host_page_real_key_press_event (GtkWidget* base, GdkEven
result = TRUE;
#line 1755 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 11486 "PhotoPage.c"
+#line 11468 "PhotoPage.c"
}
}
#line 1759 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp4_ = editing_host_page_is_panning_possible (self);
#line 1759 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp4_) {
-#line 11493 "PhotoPage.c"
+#line 11475 "PhotoPage.c"
GdkEventKey* _tmp5_ = NULL;
gboolean _tmp6_ = FALSE;
#line 1760 "/home/jens/Source/shotwell/src/PhotoPage.vala"
@@ -11507,7 +11489,7 @@ static gboolean editing_host_page_real_key_press_event (GtkWidget* base, GdkEven
result = TRUE;
#line 1761 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 11506 "PhotoPage.c"
+#line 11488 "PhotoPage.c"
}
}
#line 1767 "/home/jens/Source/shotwell/src/PhotoPage.vala"
@@ -11520,7 +11502,7 @@ static gboolean editing_host_page_real_key_press_event (GtkWidget* base, GdkEven
result = TRUE;
#line 1768 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 11519 "PhotoPage.c"
+#line 11501 "PhotoPage.c"
}
#line 1770 "/home/jens/Source/shotwell/src/PhotoPage.vala"
handled = TRUE;
@@ -11538,51 +11520,51 @@ static gboolean editing_host_page_real_key_press_event (GtkWidget* base, GdkEven
if ((_tmp14_ == ((0 != _tmp13_label0) ? _tmp13_label0 : (_tmp13_label0 = g_quark_from_static_string ("Down")))) || (_tmp14_ == ((0 != _tmp13_label1) ? _tmp13_label1 : (_tmp13_label1 = g_quark_from_static_string ("KP_Down"))))) {
#line 1772 "/home/jens/Source/shotwell/src/PhotoPage.vala"
switch (0) {
-#line 11537 "PhotoPage.c"
+#line 11519 "PhotoPage.c"
default:
{
#line 1777 "/home/jens/Source/shotwell/src/PhotoPage.vala"
break;
-#line 11542 "PhotoPage.c"
+#line 11524 "PhotoPage.c"
}
}
} else if (((_tmp14_ == ((0 != _tmp13_label2) ? _tmp13_label2 : (_tmp13_label2 = g_quark_from_static_string ("equal")))) || (_tmp14_ == ((0 != _tmp13_label3) ? _tmp13_label3 : (_tmp13_label3 = g_quark_from_static_string ("plus"))))) || (_tmp14_ == ((0 != _tmp13_label4) ? _tmp13_label4 : (_tmp13_label4 = g_quark_from_static_string ("KP_Add"))))) {
#line 1772 "/home/jens/Source/shotwell/src/PhotoPage.vala"
switch (0) {
-#line 11548 "PhotoPage.c"
+#line 11530 "PhotoPage.c"
default:
{
#line 1782 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_activate_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "IncreaseSize");
#line 1783 "/home/jens/Source/shotwell/src/PhotoPage.vala"
break;
-#line 11555 "PhotoPage.c"
+#line 11537 "PhotoPage.c"
}
}
} else if (((_tmp14_ == ((0 != _tmp13_label5) ? _tmp13_label5 : (_tmp13_label5 = g_quark_from_static_string ("minus")))) || (_tmp14_ == ((0 != _tmp13_label6) ? _tmp13_label6 : (_tmp13_label6 = g_quark_from_static_string ("underscore"))))) || (_tmp14_ == ((0 != _tmp13_label7) ? _tmp13_label7 : (_tmp13_label7 = g_quark_from_static_string ("KP_Subtract"))))) {
#line 1772 "/home/jens/Source/shotwell/src/PhotoPage.vala"
switch (0) {
-#line 11561 "PhotoPage.c"
+#line 11543 "PhotoPage.c"
default:
{
#line 1789 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_activate_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "DecreaseSize");
#line 1790 "/home/jens/Source/shotwell/src/PhotoPage.vala"
break;
-#line 11568 "PhotoPage.c"
+#line 11550 "PhotoPage.c"
}
}
} else {
#line 1772 "/home/jens/Source/shotwell/src/PhotoPage.vala"
switch (0) {
-#line 11574 "PhotoPage.c"
+#line 11556 "PhotoPage.c"
default:
{
#line 1793 "/home/jens/Source/shotwell/src/PhotoPage.vala"
handled = FALSE;
#line 1794 "/home/jens/Source/shotwell/src/PhotoPage.vala"
break;
-#line 11581 "PhotoPage.c"
+#line 11563 "PhotoPage.c"
}
}
}
@@ -11594,11 +11576,11 @@ static gboolean editing_host_page_real_key_press_event (GtkWidget* base, GdkEven
result = TRUE;
#line 1798 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 11593 "PhotoPage.c"
+#line 11575 "PhotoPage.c"
}
#line 1800 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (GTK_WIDGET_CLASS (editing_host_page_parent_class)->key_press_event != NULL) {
-#line 11597 "PhotoPage.c"
+#line 11579 "PhotoPage.c"
GdkEventKey* _tmp17_ = NULL;
gboolean _tmp18_ = FALSE;
#line 1800 "/home/jens/Source/shotwell/src/PhotoPage.vala"
@@ -11607,17 +11589,17 @@ static gboolean editing_host_page_real_key_press_event (GtkWidget* base, GdkEven
_tmp18_ = GTK_WIDGET_CLASS (editing_host_page_parent_class)->key_press_event (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SINGLE_PHOTO_PAGE, SinglePhotoPage), gtk_widget_get_type (), GtkWidget), _tmp17_);
#line 1800 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp16_ = _tmp18_;
-#line 11606 "PhotoPage.c"
+#line 11588 "PhotoPage.c"
} else {
#line 1800 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp16_ = TRUE;
-#line 11610 "PhotoPage.c"
+#line 11592 "PhotoPage.c"
}
#line 1800 "/home/jens/Source/shotwell/src/PhotoPage.vala"
result = _tmp16_;
#line 1800 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 11616 "PhotoPage.c"
+#line 11598 "PhotoPage.c"
}
@@ -11634,7 +11616,7 @@ static void editing_host_page_real_new_surface (SinglePhotoPage* base, cairo_t*
_tmp0_ = self->priv->current_tool;
#line 1805 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp0_ != NULL) {
-#line 11633 "PhotoPage.c"
+#line 11615 "PhotoPage.c"
EditingToolsEditingTool* _tmp1_ = NULL;
EditingToolsPhotoCanvas* _tmp2_ = NULL;
cairo_t* _tmp3_ = NULL;
@@ -11649,7 +11631,7 @@ static void editing_host_page_real_new_surface (SinglePhotoPage* base, cairo_t*
_tmp4_ = *dim;
#line 1806 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_tools_photo_canvas_set_surface (_tmp2_, _tmp3_, &_tmp4_);
-#line 11648 "PhotoPage.c"
+#line 11630 "PhotoPage.c"
}
}
@@ -11668,21 +11650,21 @@ static void editing_host_page_real_updated_pixbuf (SinglePhotoPage* base, GdkPix
_tmp1_ = self->priv->current_tool;
#line 1813 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp1_ != NULL) {
-#line 11667 "PhotoPage.c"
+#line 11649 "PhotoPage.c"
SinglePhotoPageUpdateReason _tmp2_ = 0;
#line 1813 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp2_ = reason;
#line 1813 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp0_ = _tmp2_ != SINGLE_PHOTO_PAGE_UPDATE_REASON_QUALITY_IMPROVEMENT;
-#line 11673 "PhotoPage.c"
+#line 11655 "PhotoPage.c"
} else {
#line 1813 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp0_ = FALSE;
-#line 11677 "PhotoPage.c"
+#line 11659 "PhotoPage.c"
}
#line 1813 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp0_) {
-#line 11681 "PhotoPage.c"
+#line 11663 "PhotoPage.c"
EditingToolsEditingTool* _tmp3_ = NULL;
EditingToolsPhotoCanvas* _tmp4_ = NULL;
Dimensions _tmp5_ = {0};
@@ -11704,7 +11686,7 @@ static void editing_host_page_real_updated_pixbuf (SinglePhotoPage* base, GdkPix
_g_object_unref0 (self->priv->cancel_editing_pixbuf);
#line 1815 "/home/jens/Source/shotwell/src/PhotoPage.vala"
self->priv->cancel_editing_pixbuf = NULL;
-#line 11703 "PhotoPage.c"
+#line 11685 "PhotoPage.c"
}
}
@@ -11715,7 +11697,7 @@ static GdkPixbuf* editing_host_page_real_get_bottom_left_trinket (EditingHostPag
result = NULL;
#line 1820 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 11714 "PhotoPage.c"
+#line 11696 "PhotoPage.c"
}
@@ -11724,7 +11706,7 @@ GdkPixbuf* editing_host_page_get_bottom_left_trinket (EditingHostPage* self, gin
g_return_val_if_fail (IS_EDITING_HOST_PAGE (self), NULL);
#line 1819 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return EDITING_HOST_PAGE_GET_CLASS (self)->get_bottom_left_trinket (self, scale);
-#line 11723 "PhotoPage.c"
+#line 11705 "PhotoPage.c"
}
@@ -11734,7 +11716,7 @@ static GdkPixbuf* editing_host_page_real_get_top_left_trinket (EditingHostPage*
result = NULL;
#line 1824 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 11733 "PhotoPage.c"
+#line 11715 "PhotoPage.c"
}
@@ -11743,7 +11725,7 @@ GdkPixbuf* editing_host_page_get_top_left_trinket (EditingHostPage* self, gint s
g_return_val_if_fail (IS_EDITING_HOST_PAGE (self), NULL);
#line 1823 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return EDITING_HOST_PAGE_GET_CLASS (self)->get_top_left_trinket (self, scale);
-#line 11742 "PhotoPage.c"
+#line 11724 "PhotoPage.c"
}
@@ -11753,7 +11735,7 @@ static GdkPixbuf* editing_host_page_real_get_top_right_trinket (EditingHostPage*
result = NULL;
#line 1828 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 11752 "PhotoPage.c"
+#line 11734 "PhotoPage.c"
}
@@ -11762,7 +11744,7 @@ GdkPixbuf* editing_host_page_get_top_right_trinket (EditingHostPage* self, gint
g_return_val_if_fail (IS_EDITING_HOST_PAGE (self), NULL);
#line 1827 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return EDITING_HOST_PAGE_GET_CLASS (self)->get_top_right_trinket (self, scale);
-#line 11761 "PhotoPage.c"
+#line 11743 "PhotoPage.c"
}
@@ -11772,7 +11754,7 @@ static GdkPixbuf* editing_host_page_real_get_bottom_right_trinket (EditingHostPa
result = NULL;
#line 1832 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 11771 "PhotoPage.c"
+#line 11753 "PhotoPage.c"
}
@@ -11781,7 +11763,7 @@ GdkPixbuf* editing_host_page_get_bottom_right_trinket (EditingHostPage* self, gi
g_return_val_if_fail (IS_EDITING_HOST_PAGE (self), NULL);
#line 1831 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return EDITING_HOST_PAGE_GET_CLASS (self)->get_bottom_right_trinket (self, scale);
-#line 11780 "PhotoPage.c"
+#line 11762 "PhotoPage.c"
}
@@ -11815,7 +11797,7 @@ static void editing_host_page_real_paint (SinglePhotoPage* base, cairo_t* ctx, D
_tmp0_ = self->priv->current_tool;
#line 1836 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp0_ != NULL) {
-#line 11814 "PhotoPage.c"
+#line 11796 "PhotoPage.c"
EditingToolsEditingTool* _tmp1_ = NULL;
cairo_t* _tmp2_ = NULL;
#line 1837 "/home/jens/Source/shotwell/src/PhotoPage.vala"
@@ -11826,27 +11808,27 @@ static void editing_host_page_real_paint (SinglePhotoPage* base, cairo_t* ctx, D
editing_tools_editing_tool_paint (_tmp1_, _tmp2_);
#line 1839 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return;
-#line 11825 "PhotoPage.c"
+#line 11807 "PhotoPage.c"
}
#line 1842 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp4_ = self->priv->photo_missing;
#line 1842 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp4_) {
-#line 11831 "PhotoPage.c"
+#line 11813 "PhotoPage.c"
gboolean _tmp5_ = FALSE;
#line 1842 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp5_ = editing_host_page_has_photo (self);
#line 1842 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp3_ = _tmp5_;
-#line 11837 "PhotoPage.c"
+#line 11819 "PhotoPage.c"
} else {
#line 1842 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp3_ = FALSE;
-#line 11841 "PhotoPage.c"
+#line 11823 "PhotoPage.c"
}
#line 1842 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp3_) {
-#line 11845 "PhotoPage.c"
+#line 11827 "PhotoPage.c"
cairo_t* _tmp6_ = NULL;
cairo_t* _tmp7_ = NULL;
Dimensions _tmp8_ = {0};
@@ -11918,7 +11900,7 @@ static void editing_host_page_real_paint (SinglePhotoPage* base, cairo_t* ctx, D
_g_object_unref0 (_tmp16_);
#line 1848 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return;
-#line 11917 "PhotoPage.c"
+#line 11899 "PhotoPage.c"
}
#line 1851 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp23_ = ctx;
@@ -11934,7 +11916,7 @@ static void editing_host_page_real_paint (SinglePhotoPage* base, cairo_t* ctx, D
if (!_tmp26_) {
#line 1854 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return;
-#line 11933 "PhotoPage.c"
+#line 11915 "PhotoPage.c"
}
#line 1857 "/home/jens/Source/shotwell/src/PhotoPage.vala"
single_photo_page_get_scaled_pixbuf_position (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SINGLE_PHOTO_PAGE, SinglePhotoPage), &_tmp27_);
@@ -11948,7 +11930,7 @@ static void editing_host_page_real_paint (SinglePhotoPage* base, cairo_t* ctx, D
_tmp29_ = trinket;
#line 1860 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp29_ != NULL) {
-#line 11947 "PhotoPage.c"
+#line 11929 "PhotoPage.c"
gint x = 0;
GdkRectangle _tmp30_ = {0};
gint _tmp31_ = 0;
@@ -12030,7 +12012,7 @@ static void editing_host_page_real_paint (SinglePhotoPage* base, cairo_t* ctx, D
_tmp52_ = ctx;
#line 1865 "/home/jens/Source/shotwell/src/PhotoPage.vala"
cairo_fill (_tmp52_);
-#line 12029 "PhotoPage.c"
+#line 12011 "PhotoPage.c"
}
#line 1868 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp53_ = editing_host_page_get_top_left_trinket (self, EDITING_HOST_PAGE_TRINKET_SCALE);
@@ -12042,7 +12024,7 @@ static void editing_host_page_real_paint (SinglePhotoPage* base, cairo_t* ctx, D
_tmp54_ = trinket;
#line 1869 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp54_ != NULL) {
-#line 12041 "PhotoPage.c"
+#line 12023 "PhotoPage.c"
gint x = 0;
GdkRectangle _tmp55_ = {0};
gint _tmp56_ = 0;
@@ -12109,7 +12091,7 @@ static void editing_host_page_real_paint (SinglePhotoPage* base, cairo_t* ctx, D
_tmp72_ = ctx;
#line 1874 "/home/jens/Source/shotwell/src/PhotoPage.vala"
cairo_fill (_tmp72_);
-#line 12108 "PhotoPage.c"
+#line 12090 "PhotoPage.c"
}
#line 1877 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp73_ = editing_host_page_get_top_right_trinket (self, EDITING_HOST_PAGE_TRINKET_SCALE);
@@ -12121,7 +12103,7 @@ static void editing_host_page_real_paint (SinglePhotoPage* base, cairo_t* ctx, D
_tmp74_ = trinket;
#line 1878 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp74_ != NULL) {
-#line 12120 "PhotoPage.c"
+#line 12102 "PhotoPage.c"
gint x = 0;
GdkRectangle _tmp75_ = {0};
gint _tmp76_ = 0;
@@ -12203,7 +12185,7 @@ static void editing_host_page_real_paint (SinglePhotoPage* base, cairo_t* ctx, D
_tmp97_ = ctx;
#line 1883 "/home/jens/Source/shotwell/src/PhotoPage.vala"
cairo_fill (_tmp97_);
-#line 12202 "PhotoPage.c"
+#line 12184 "PhotoPage.c"
}
#line 1886 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp98_ = editing_host_page_get_bottom_right_trinket (self, EDITING_HOST_PAGE_TRINKET_SCALE);
@@ -12215,7 +12197,7 @@ static void editing_host_page_real_paint (SinglePhotoPage* base, cairo_t* ctx, D
_tmp99_ = trinket;
#line 1887 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp99_ != NULL) {
-#line 12214 "PhotoPage.c"
+#line 12196 "PhotoPage.c"
gint x = 0;
GdkRectangle _tmp100_ = {0};
gint _tmp101_ = 0;
@@ -12312,11 +12294,11 @@ static void editing_host_page_real_paint (SinglePhotoPage* base, cairo_t* ctx, D
_tmp127_ = ctx;
#line 1892 "/home/jens/Source/shotwell/src/PhotoPage.vala"
cairo_fill (_tmp127_);
-#line 12311 "PhotoPage.c"
+#line 12293 "PhotoPage.c"
}
#line 1835 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (trinket);
-#line 12315 "PhotoPage.c"
+#line 12297 "PhotoPage.c"
}
@@ -12333,7 +12315,7 @@ gboolean editing_host_page_is_rotate_available (EditingHostPage* self, Photo* ph
result = !_tmp0_;
#line 1897 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 12332 "PhotoPage.c"
+#line 12314 "PhotoPage.c"
}
@@ -12369,7 +12351,7 @@ static void editing_host_page_rotate (EditingHostPage* self, Rotation rotation,
if (!_tmp1_) {
#line 1906 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return;
-#line 12368 "PhotoPage.c"
+#line 12350 "PhotoPage.c"
}
#line 1908 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp2_ = editing_host_page_get_photo (self);
@@ -12401,7 +12383,7 @@ static void editing_host_page_rotate (EditingHostPage* self, Rotation rotation,
_command_manager_unref0 (_tmp10_);
#line 1900 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (command);
-#line 12400 "PhotoPage.c"
+#line 12382 "PhotoPage.c"
}
@@ -12410,7 +12392,7 @@ void editing_host_page_on_rotate_clockwise (EditingHostPage* self) {
g_return_if_fail (IS_EDITING_HOST_PAGE (self));
#line 1914 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_rotate (self, ROTATION_CLOCKWISE, RESOURCES_ROTATE_CW_FULL_LABEL, RESOURCES_ROTATE_CW_TOOLTIP);
-#line 12409 "PhotoPage.c"
+#line 12391 "PhotoPage.c"
}
@@ -12419,7 +12401,7 @@ void editing_host_page_on_rotate_counterclockwise (EditingHostPage* self) {
g_return_if_fail (IS_EDITING_HOST_PAGE (self));
#line 1918 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_rotate (self, ROTATION_COUNTERCLOCKWISE, RESOURCES_ROTATE_CCW_FULL_LABEL, RESOURCES_ROTATE_CCW_TOOLTIP);
-#line 12418 "PhotoPage.c"
+#line 12400 "PhotoPage.c"
}
@@ -12428,7 +12410,7 @@ void editing_host_page_on_flip_horizontally (EditingHostPage* self) {
g_return_if_fail (IS_EDITING_HOST_PAGE (self));
#line 1922 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_rotate (self, ROTATION_MIRROR, RESOURCES_HFLIP_LABEL, "");
-#line 12427 "PhotoPage.c"
+#line 12409 "PhotoPage.c"
}
@@ -12437,7 +12419,7 @@ void editing_host_page_on_flip_vertically (EditingHostPage* self) {
g_return_if_fail (IS_EDITING_HOST_PAGE (self));
#line 1926 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_rotate (self, ROTATION_UPSIDE_DOWN, RESOURCES_VFLIP_LABEL, "");
-#line 12436 "PhotoPage.c"
+#line 12418 "PhotoPage.c"
}
@@ -12465,7 +12447,7 @@ void editing_host_page_on_revert (EditingHostPage* self) {
if (_tmp0_) {
#line 1931 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return;
-#line 12464 "PhotoPage.c"
+#line 12446 "PhotoPage.c"
}
#line 1933 "/home/jens/Source/shotwell/src/PhotoPage.vala"
dimensions_init (&_tmp1_, 0, 0);
@@ -12477,7 +12459,7 @@ void editing_host_page_on_revert (EditingHostPage* self) {
if (!_tmp2_) {
#line 1936 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return;
-#line 12476 "PhotoPage.c"
+#line 12458 "PhotoPage.c"
}
#line 1938 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp3_ = editing_host_page_get_photo (self);
@@ -12491,7 +12473,7 @@ void editing_host_page_on_revert (EditingHostPage* self) {
_g_object_unref0 (_tmp4_);
#line 1938 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp6_) {
-#line 12490 "PhotoPage.c"
+#line 12472 "PhotoPage.c"
AppWindow* _tmp7_ = NULL;
AppWindow* _tmp8_ = NULL;
ViewCollection* _tmp9_ = NULL;
@@ -12528,7 +12510,7 @@ void editing_host_page_on_revert (EditingHostPage* self) {
if (_tmp14_) {
#line 1941 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return;
-#line 12527 "PhotoPage.c"
+#line 12509 "PhotoPage.c"
}
#line 1944 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp15_ = editing_host_page_get_photo (self);
@@ -12538,7 +12520,7 @@ void editing_host_page_on_revert (EditingHostPage* self) {
photo_revert_to_master (_tmp16_, TRUE);
#line 1944 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp16_);
-#line 12537 "PhotoPage.c"
+#line 12519 "PhotoPage.c"
}
#line 1947 "/home/jens/Source/shotwell/src/PhotoPage.vala"
single_photo_page_cancel_zoom (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SINGLE_PHOTO_PAGE, SinglePhotoPage));
@@ -12568,7 +12550,7 @@ void editing_host_page_on_revert (EditingHostPage* self) {
_command_manager_unref0 (_tmp22_);
#line 1929 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (command);
-#line 12567 "PhotoPage.c"
+#line 12549 "PhotoPage.c"
}
@@ -12606,7 +12588,7 @@ void editing_host_page_on_edit_title (EditingHostPage* self) {
_g_object_unref0 (_tmp1_);
#line 1957 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp2_) {
-#line 12605 "PhotoPage.c"
+#line 12587 "PhotoPage.c"
Photo* _tmp3_ = NULL;
LibraryPhoto* _tmp4_ = NULL;
#line 1958 "/home/jens/Source/shotwell/src/PhotoPage.vala"
@@ -12617,19 +12599,19 @@ void editing_host_page_on_edit_title (EditingHostPage* self) {
if (_tmp4_ == NULL) {
#line 1958 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp3_);
-#line 12616 "PhotoPage.c"
+#line 12598 "PhotoPage.c"
}
#line 1958 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (item);
#line 1958 "/home/jens/Source/shotwell/src/PhotoPage.vala"
item = _tmp4_;
-#line 12622 "PhotoPage.c"
+#line 12604 "PhotoPage.c"
} else {
#line 1960 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (item);
#line 1960 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return;
-#line 12628 "PhotoPage.c"
+#line 12610 "PhotoPage.c"
}
#line 1962 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp5_ = item;
@@ -12663,7 +12645,7 @@ void editing_host_page_on_edit_title (EditingHostPage* self) {
_g_object_unref0 (item);
#line 1965 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return;
-#line 12662 "PhotoPage.c"
+#line 12644 "PhotoPage.c"
}
#line 1967 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp13_ = item;
@@ -12691,7 +12673,7 @@ void editing_host_page_on_edit_title (EditingHostPage* self) {
_text_entry_dialog_mediator_unref0 (edit_title_dialog);
#line 1955 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (item);
-#line 12690 "PhotoPage.c"
+#line 12672 "PhotoPage.c"
}
@@ -12729,7 +12711,7 @@ void editing_host_page_on_edit_comment (EditingHostPage* self) {
_g_object_unref0 (_tmp1_);
#line 1973 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp2_) {
-#line 12728 "PhotoPage.c"
+#line 12710 "PhotoPage.c"
Photo* _tmp3_ = NULL;
LibraryPhoto* _tmp4_ = NULL;
#line 1974 "/home/jens/Source/shotwell/src/PhotoPage.vala"
@@ -12740,19 +12722,19 @@ void editing_host_page_on_edit_comment (EditingHostPage* self) {
if (_tmp4_ == NULL) {
#line 1974 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp3_);
-#line 12739 "PhotoPage.c"
+#line 12721 "PhotoPage.c"
}
#line 1974 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (item);
#line 1974 "/home/jens/Source/shotwell/src/PhotoPage.vala"
item = _tmp4_;
-#line 12745 "PhotoPage.c"
+#line 12727 "PhotoPage.c"
} else {
#line 1976 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (item);
#line 1976 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return;
-#line 12751 "PhotoPage.c"
+#line 12733 "PhotoPage.c"
}
#line 1978 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp5_ = item;
@@ -12786,7 +12768,7 @@ void editing_host_page_on_edit_comment (EditingHostPage* self) {
_g_object_unref0 (item);
#line 1981 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return;
-#line 12785 "PhotoPage.c"
+#line 12767 "PhotoPage.c"
}
#line 1983 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp13_ = item;
@@ -12814,7 +12796,7 @@ void editing_host_page_on_edit_comment (EditingHostPage* self) {
_multi_text_entry_dialog_mediator_unref0 (edit_comment_dialog);
#line 1971 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (item);
-#line 12813 "PhotoPage.c"
+#line 12795 "PhotoPage.c"
}
@@ -12841,7 +12823,7 @@ void editing_host_page_on_adjust_date_time (EditingHostPage* self) {
if (!_tmp0_) {
#line 1989 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return;
-#line 12840 "PhotoPage.c"
+#line 12822 "PhotoPage.c"
}
#line 1991 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp1_ = editing_host_page_get_photo (self);
@@ -12869,7 +12851,7 @@ void editing_host_page_on_adjust_date_time (EditingHostPage* self) {
modify_originals = _tmp8_;
#line 1995 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp9_) {
-#line 12868 "PhotoPage.c"
+#line 12850 "PhotoPage.c"
ViewCollection* _tmp10_ = NULL;
ViewCollection* _tmp11_ = NULL;
GeeList* _tmp12_ = NULL;
@@ -12924,11 +12906,11 @@ void editing_host_page_on_adjust_date_time (EditingHostPage* self) {
_command_manager_unref0 (_tmp21_);
#line 1995 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (command);
-#line 12923 "PhotoPage.c"
+#line 12905 "PhotoPage.c"
}
#line 1987 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (dialog);
-#line 12927 "PhotoPage.c"
+#line 12909 "PhotoPage.c"
}
@@ -12940,7 +12922,7 @@ void editing_host_page_on_set_background (EditingHostPage* self) {
_tmp0_ = editing_host_page_has_photo (self);
#line 2005 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp0_) {
-#line 12939 "PhotoPage.c"
+#line 12921 "PhotoPage.c"
SetBackgroundPhotoDialog* dialog = NULL;
SetBackgroundPhotoDialog* _tmp1_ = NULL;
gboolean desktop = FALSE;
@@ -12952,6 +12934,8 @@ void editing_host_page_on_set_background (EditingHostPage* self) {
#line 2006 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp1_ = set_background_photo_dialog_new ();
#line 2006 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+ g_object_ref_sink (_tmp1_);
+#line 2006 "/home/jens/Source/shotwell/src/PhotoPage.vala"
dialog = _tmp1_;
#line 2008 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp2_ = dialog;
@@ -12963,7 +12947,7 @@ void editing_host_page_on_set_background (EditingHostPage* self) {
screensaver = _tmp4_;
#line 2008 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp5_) {
-#line 12962 "PhotoPage.c"
+#line 12946 "PhotoPage.c"
AppWindow* _tmp6_ = NULL;
AppWindow* _tmp7_ = NULL;
Photo* _tmp8_ = NULL;
@@ -13000,11 +12984,11 @@ void editing_host_page_on_set_background (EditingHostPage* self) {
page_window_set_normal_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, TYPE_PAGE_WINDOW, PageWindow));
#line 2011 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp13_);
-#line 12999 "PhotoPage.c"
+#line 12983 "PhotoPage.c"
}
#line 2005 "/home/jens/Source/shotwell/src/PhotoPage.vala"
- _set_background_dialog_unref0 (dialog);
-#line 13003 "PhotoPage.c"
+ _g_object_unref0 (dialog);
+#line 12987 "PhotoPage.c"
}
}
@@ -13012,7 +12996,7 @@ void editing_host_page_on_set_background (EditingHostPage* self) {
static void _editing_host_page_on_rotate_counterclockwise_gtk_tool_button_clicked (GtkToolButton* _sender, gpointer self) {
#line 2021 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_on_rotate_counterclockwise ((EditingHostPage*) self);
-#line 13011 "PhotoPage.c"
+#line 12995 "PhotoPage.c"
}
@@ -13058,7 +13042,7 @@ static gboolean editing_host_page_real_on_ctrl_pressed (Page* base, GdkEventKey*
if (_tmp6_ == NULL) {
#line 2024 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_swap_out_original (self);
-#line 13057 "PhotoPage.c"
+#line 13041 "PhotoPage.c"
}
#line 2026 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp7_ = event;
@@ -13068,7 +13052,7 @@ static gboolean editing_host_page_real_on_ctrl_pressed (Page* base, GdkEventKey*
result = _tmp8_;
#line 2026 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 13067 "PhotoPage.c"
+#line 13051 "PhotoPage.c"
}
@@ -13114,37 +13098,37 @@ static gboolean editing_host_page_real_on_ctrl_released (Page* base, GdkEventKey
_tmp8_ = self->priv->current_tool;
#line 2036 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp8_ == NULL) {
-#line 13113 "PhotoPage.c"
+#line 13097 "PhotoPage.c"
gboolean _tmp9_ = FALSE;
#line 2036 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp9_ = page_get_shift_pressed (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
#line 2036 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp7_ = _tmp9_;
-#line 13119 "PhotoPage.c"
+#line 13103 "PhotoPage.c"
} else {
#line 2036 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp7_ = FALSE;
-#line 13123 "PhotoPage.c"
+#line 13107 "PhotoPage.c"
}
#line 2036 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp7_) {
-#line 13127 "PhotoPage.c"
+#line 13111 "PhotoPage.c"
gboolean _tmp10_ = FALSE;
#line 2036 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp10_ = page_get_alt_pressed (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
#line 2036 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp6_ = !_tmp10_;
-#line 13133 "PhotoPage.c"
+#line 13117 "PhotoPage.c"
} else {
#line 2036 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp6_ = FALSE;
-#line 13137 "PhotoPage.c"
+#line 13121 "PhotoPage.c"
}
#line 2036 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp6_) {
#line 2037 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_swap_in_original (self);
-#line 13143 "PhotoPage.c"
+#line 13127 "PhotoPage.c"
}
#line 2039 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp11_ = event;
@@ -13154,7 +13138,7 @@ static gboolean editing_host_page_real_on_ctrl_released (Page* base, GdkEventKey
result = _tmp12_;
#line 2039 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 13153 "PhotoPage.c"
+#line 13137 "PhotoPage.c"
}
@@ -13189,7 +13173,7 @@ void editing_host_page_on_tool_button_toggled (EditingHostPage* self, GtkToggleT
_tmp3_ = _tmp2_;
#line 2045 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (!_tmp3_) {
-#line 13188 "PhotoPage.c"
+#line 13172 "PhotoPage.c"
GtkToggleToolButton* _tmp4_ = NULL;
GtkToggleToolButton* _tmp5_ = NULL;
#line 2045 "/home/jens/Source/shotwell/src/PhotoPage.vala"
@@ -13198,11 +13182,11 @@ void editing_host_page_on_tool_button_toggled (EditingHostPage* self, GtkToggleT
_tmp5_ = toggle;
#line 2045 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp0_ = _tmp4_ == _tmp5_;
-#line 13197 "PhotoPage.c"
+#line 13181 "PhotoPage.c"
} else {
#line 2045 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp0_ = FALSE;
-#line 13201 "PhotoPage.c"
+#line 13185 "PhotoPage.c"
}
#line 2045 "/home/jens/Source/shotwell/src/PhotoPage.vala"
deactivating_only = _tmp0_;
@@ -13218,7 +13202,7 @@ void editing_host_page_on_tool_button_toggled (EditingHostPage* self, GtkToggleT
page_restore_cursor_hiding (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
#line 2050 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return;
-#line 13217 "PhotoPage.c"
+#line 13201 "PhotoPage.c"
}
#line 2053 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_suspend_cursor_hiding (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
@@ -13262,7 +13246,7 @@ void editing_host_page_on_tool_button_toggled (EditingHostPage* self, GtkToggleT
editing_host_page_activate_tool (self, _tmp17_);
#line 2042 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_editing_tools_editing_tool_unref0 (tool);
-#line 13261 "PhotoPage.c"
+#line 13245 "PhotoPage.c"
}
@@ -13284,7 +13268,7 @@ static void editing_host_page_on_tool_activated (EditingHostPage* self) {
_tmp2_ = self->priv->current_editing_toggle;
#line 2071 "/home/jens/Source/shotwell/src/PhotoPage.vala"
gtk_toggle_tool_button_set_active (_tmp2_, TRUE);
-#line 13283 "PhotoPage.c"
+#line 13267 "PhotoPage.c"
}
@@ -13306,7 +13290,7 @@ static void editing_host_page_on_tool_deactivated (EditingHostPage* self) {
_tmp2_ = self->priv->current_editing_toggle;
#line 2077 "/home/jens/Source/shotwell/src/PhotoPage.vala"
gtk_toggle_tool_button_set_active (_tmp2_, FALSE);
-#line 13305 "PhotoPage.c"
+#line 13289 "PhotoPage.c"
}
@@ -13333,7 +13317,7 @@ static void editing_host_page_on_tool_applied (EditingHostPage* self, Command* c
_tmp3_ = needs_improvement;
#line 2082 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_deactivate_tool (self, _tmp0_, _tmp1_, &_tmp2_, _tmp3_);
-#line 13332 "PhotoPage.c"
+#line 13316 "PhotoPage.c"
}
@@ -13349,7 +13333,7 @@ static void editing_host_page_on_tool_cancelled (EditingHostPage* self) {
single_photo_page_restore_zoom_state (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SINGLE_PHOTO_PAGE, SinglePhotoPage));
#line 2089 "/home/jens/Source/shotwell/src/PhotoPage.vala"
single_photo_page_repaint (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SINGLE_PHOTO_PAGE, SinglePhotoPage), NULL);
-#line 13348 "PhotoPage.c"
+#line 13332 "PhotoPage.c"
}
@@ -13363,7 +13347,7 @@ static void editing_host_page_on_tool_aborted (EditingHostPage* self) {
editing_host_page_deactivate_tool (self, NULL, NULL, &_tmp0_, FALSE);
#line 2094 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_set_photo_missing (self, TRUE);
-#line 13362 "PhotoPage.c"
+#line 13346 "PhotoPage.c"
}
@@ -13381,7 +13365,7 @@ void editing_host_page_toggle_crop (EditingHostPage* self) {
_tmp2_ = gtk_toggle_tool_button_get_active (_tmp1_);
#line 2098 "/home/jens/Source/shotwell/src/PhotoPage.vala"
gtk_toggle_tool_button_set_active (_tmp0_, !_tmp2_);
-#line 13380 "PhotoPage.c"
+#line 13364 "PhotoPage.c"
}
@@ -13399,7 +13383,7 @@ void editing_host_page_toggle_straighten (EditingHostPage* self) {
_tmp2_ = gtk_toggle_tool_button_get_active (_tmp1_);
#line 2102 "/home/jens/Source/shotwell/src/PhotoPage.vala"
gtk_toggle_tool_button_set_active (_tmp0_, !_tmp2_);
-#line 13398 "PhotoPage.c"
+#line 13382 "PhotoPage.c"
}
@@ -13417,7 +13401,7 @@ void editing_host_page_toggle_redeye (EditingHostPage* self) {
_tmp2_ = gtk_toggle_tool_button_get_active (_tmp1_);
#line 2106 "/home/jens/Source/shotwell/src/PhotoPage.vala"
gtk_toggle_tool_button_set_active (_tmp0_, !_tmp2_);
-#line 13416 "PhotoPage.c"
+#line 13400 "PhotoPage.c"
}
@@ -13435,7 +13419,7 @@ void editing_host_page_toggle_adjust (EditingHostPage* self) {
_tmp2_ = gtk_toggle_tool_button_get_active (_tmp1_);
#line 2110 "/home/jens/Source/shotwell/src/PhotoPage.vala"
gtk_toggle_tool_button_set_active (_tmp0_, !_tmp2_);
-#line 13434 "PhotoPage.c"
+#line 13418 "PhotoPage.c"
}
@@ -13444,7 +13428,7 @@ static EditingToolsEditingTool* _editing_tools_straighten_tool_factory_editing_t
result = editing_tools_straighten_tool_factory ();
#line 2114 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 13443 "PhotoPage.c"
+#line 13427 "PhotoPage.c"
}
@@ -13456,7 +13440,7 @@ static void editing_host_page_on_straighten_toggled (EditingHostPage* self) {
_tmp0_ = self->priv->straighten_button;
#line 2114 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_on_tool_button_toggled (self, _tmp0_, _editing_tools_straighten_tool_factory_editing_tools_editing_tool_factory);
-#line 13455 "PhotoPage.c"
+#line 13439 "PhotoPage.c"
}
@@ -13465,7 +13449,7 @@ static EditingToolsEditingTool* _editing_tools_crop_tool_factory_editing_tools_e
result = editing_tools_crop_tool_factory ();
#line 2118 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 13464 "PhotoPage.c"
+#line 13448 "PhotoPage.c"
}
@@ -13477,7 +13461,7 @@ static void editing_host_page_on_crop_toggled (EditingHostPage* self) {
_tmp0_ = self->priv->crop_button;
#line 2118 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_on_tool_button_toggled (self, _tmp0_, _editing_tools_crop_tool_factory_editing_tools_editing_tool_factory);
-#line 13476 "PhotoPage.c"
+#line 13460 "PhotoPage.c"
}
@@ -13486,7 +13470,7 @@ static EditingToolsEditingTool* _editing_tools_redeye_tool_factory_editing_tools
result = editing_tools_redeye_tool_factory ();
#line 2122 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 13485 "PhotoPage.c"
+#line 13469 "PhotoPage.c"
}
@@ -13498,7 +13482,7 @@ static void editing_host_page_on_redeye_toggled (EditingHostPage* self) {
_tmp0_ = self->priv->redeye_button;
#line 2122 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_on_tool_button_toggled (self, _tmp0_, _editing_tools_redeye_tool_factory_editing_tools_editing_tool_factory);
-#line 13497 "PhotoPage.c"
+#line 13481 "PhotoPage.c"
}
@@ -13507,7 +13491,7 @@ static EditingToolsEditingTool* _editing_tools_adjust_tool_factory_editing_tools
result = editing_tools_adjust_tool_factory ();
#line 2126 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 13506 "PhotoPage.c"
+#line 13490 "PhotoPage.c"
}
@@ -13519,7 +13503,7 @@ static void editing_host_page_on_adjust_toggled (EditingHostPage* self) {
_tmp0_ = self->priv->adjust_button;
#line 2126 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_on_tool_button_toggled (self, _tmp0_, _editing_tools_adjust_tool_factory_editing_tools_editing_tool_factory);
-#line 13518 "PhotoPage.c"
+#line 13502 "PhotoPage.c"
}
@@ -13536,7 +13520,7 @@ gboolean editing_host_page_is_enhance_available (EditingHostPage* self, Photo* p
result = !_tmp0_;
#line 2130 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 13535 "PhotoPage.c"
+#line 13519 "PhotoPage.c"
}
@@ -13561,7 +13545,7 @@ void editing_host_page_on_enhance (EditingHostPage* self) {
_tmp0_ = self->priv->current_tool;
#line 2137 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (!G_TYPE_CHECK_INSTANCE_TYPE (_tmp0_, EDITING_TOOLS_TYPE_ADJUST_TOOL)) {
-#line 13560 "PhotoPage.c"
+#line 13544 "PhotoPage.c"
Dimensions _tmp1_ = {0};
#line 2138 "/home/jens/Source/shotwell/src/PhotoPage.vala"
dimensions_init (&_tmp1_, 0, 0);
@@ -13569,7 +13553,7 @@ void editing_host_page_on_enhance (EditingHostPage* self) {
editing_host_page_deactivate_tool (self, NULL, NULL, &_tmp1_, FALSE);
#line 2140 "/home/jens/Source/shotwell/src/PhotoPage.vala"
single_photo_page_cancel_zoom (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SINGLE_PHOTO_PAGE, SinglePhotoPage));
-#line 13568 "PhotoPage.c"
+#line 13552 "PhotoPage.c"
}
#line 2143 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp2_ = editing_host_page_has_photo (self);
@@ -13577,7 +13561,7 @@ void editing_host_page_on_enhance (EditingHostPage* self) {
if (!_tmp2_) {
#line 2144 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return;
-#line 13576 "PhotoPage.c"
+#line 13560 "PhotoPage.c"
}
#line 2146 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp3_ = self->priv->current_tool;
@@ -13589,7 +13573,7 @@ void editing_host_page_on_enhance (EditingHostPage* self) {
_tmp5_ = adjust_tool;
#line 2147 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp5_ != NULL) {
-#line 13588 "PhotoPage.c"
+#line 13572 "PhotoPage.c"
EditingToolsAdjustTool* _tmp6_ = NULL;
#line 2148 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp6_ = adjust_tool;
@@ -13599,7 +13583,7 @@ void editing_host_page_on_enhance (EditingHostPage* self) {
_editing_tools_editing_tool_unref0 (adjust_tool);
#line 2150 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return;
-#line 13598 "PhotoPage.c"
+#line 13582 "PhotoPage.c"
}
#line 2153 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp7_ = editing_host_page_get_photo (self);
@@ -13627,7 +13611,7 @@ void editing_host_page_on_enhance (EditingHostPage* self) {
_g_object_unref0 (command);
#line 2133 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_editing_tools_editing_tool_unref0 (adjust_tool);
-#line 13626 "PhotoPage.c"
+#line 13610 "PhotoPage.c"
}
@@ -13645,7 +13629,7 @@ void editing_host_page_on_copy_adjustments (EditingHostPage* self) {
if (!_tmp0_) {
#line 2159 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return;
-#line 13644 "PhotoPage.c"
+#line 13628 "PhotoPage.c"
}
#line 2160 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp1_ = editing_host_page_get_photo (self);
@@ -13663,7 +13647,7 @@ void editing_host_page_on_copy_adjustments (EditingHostPage* self) {
_g_object_unref0 (_tmp2_);
#line 2161 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "PasteColorAdjustments", TRUE);
-#line 13662 "PhotoPage.c"
+#line 13646 "PhotoPage.c"
}
@@ -13693,14 +13677,14 @@ void editing_host_page_on_paste_adjustments (EditingHostPage* self) {
if (!_tmp2_) {
#line 2166 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp1_ = TRUE;
-#line 13692 "PhotoPage.c"
+#line 13676 "PhotoPage.c"
} else {
PixelTransformationBundle* _tmp3_ = NULL;
#line 2166 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp3_ = copied_adjustments;
#line 2166 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp1_ = _tmp3_ == NULL;
-#line 13699 "PhotoPage.c"
+#line 13683 "PhotoPage.c"
}
#line 2166 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp1_) {
@@ -13708,7 +13692,7 @@ void editing_host_page_on_paste_adjustments (EditingHostPage* self) {
_pixel_transformation_bundle_unref0 (copied_adjustments);
#line 2167 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return;
-#line 13707 "PhotoPage.c"
+#line 13691 "PhotoPage.c"
}
#line 2169 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp4_ = editing_host_page_get_photo (self);
@@ -13738,7 +13722,7 @@ void editing_host_page_on_paste_adjustments (EditingHostPage* self) {
_g_object_unref0 (command);
#line 2164 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_pixel_transformation_bundle_unref0 (copied_adjustments);
-#line 13737 "PhotoPage.c"
+#line 13721 "PhotoPage.c"
}
@@ -13793,7 +13777,7 @@ static void editing_host_page_place_tool_window (EditingHostPage* self) {
if (_tmp0_ == NULL) {
#line 2176 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return;
-#line 13792 "PhotoPage.c"
+#line 13776 "PhotoPage.c"
}
#line 2178 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp1_ = self->priv->current_tool;
@@ -13809,7 +13793,7 @@ static void editing_host_page_place_tool_window (EditingHostPage* self) {
_g_object_unref0 (tool_window);
#line 2180 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return;
-#line 13808 "PhotoPage.c"
+#line 13792 "PhotoPage.c"
}
#line 2183 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp4_ = tool_window;
@@ -13843,7 +13827,7 @@ static void editing_host_page_place_tool_window (EditingHostPage* self) {
_g_free0 (_tmp12_);
#line 2191 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp14_) {
-#line 13842 "PhotoPage.c"
+#line 13826 "PhotoPage.c"
GeeHashMap* _tmp15_ = NULL;
EditingToolsEditingTool* _tmp16_ = NULL;
const gchar* _tmp17_ = NULL;
@@ -13888,7 +13872,7 @@ static void editing_host_page_place_tool_window (EditingHostPage* self) {
y = (gint) ((gintptr) _tmp26_);
#line 2193 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_free0 (_tmp25_);
-#line 13887 "PhotoPage.c"
+#line 13871 "PhotoPage.c"
} else {
GtkWindow* _tmp27_ = NULL;
GtkWindow* _tmp28_ = NULL;
@@ -13911,7 +13895,7 @@ static void editing_host_page_place_tool_window (EditingHostPage* self) {
_g_object_unref0 (_tmp28_);
#line 2196 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp31_) {
-#line 13910 "PhotoPage.c"
+#line 13894 "PhotoPage.c"
gint rx = 0;
gint ry = 0;
GtkWindow* _tmp32_ = NULL;
@@ -13986,7 +13970,7 @@ static void editing_host_page_place_tool_window (EditingHostPage* self) {
cheight = _tmp46_;
#line 2214 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (self, TYPE_DIRECT_PHOTO_PAGE)) {
-#line 13985 "PhotoPage.c"
+#line 13969 "PhotoPage.c"
gint _tmp48_ = 0;
gint _tmp49_ = 0;
gint _tmp50_ = 0;
@@ -14004,7 +13988,7 @@ static void editing_host_page_place_tool_window (EditingHostPage* self) {
_tmp52_ = _tmp51_.width;
#line 2214 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp47_ = ((_tmp48_ + _tmp49_) + (_tmp50_ / 2)) - (_tmp52_ / 2);
-#line 14003 "PhotoPage.c"
+#line 13987 "PhotoPage.c"
} else {
gint _tmp53_ = 0;
gint _tmp54_ = 0;
@@ -14017,7 +14001,7 @@ static void editing_host_page_place_tool_window (EditingHostPage* self) {
_tmp55_ = cwidth;
#line 2215 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp47_ = (_tmp53_ + _tmp54_) + (_tmp55_ / 2);
-#line 14016 "PhotoPage.c"
+#line 14000 "PhotoPage.c"
}
#line 2214 "/home/jens/Source/shotwell/src/PhotoPage.vala"
x = _tmp47_;
@@ -14033,7 +14017,7 @@ static void editing_host_page_place_tool_window (EditingHostPage* self) {
_tmp60_ = _tmp59_.height;
#line 2216 "/home/jens/Source/shotwell/src/PhotoPage.vala"
y = ((_tmp56_ + _tmp57_) + _tmp58_) - ((_tmp60_ / 4) * 3);
-#line 14032 "PhotoPage.c"
+#line 14016 "PhotoPage.c"
} else {
GtkWindow* _tmp61_ = NULL;
GtkWindow* _tmp62_ = NULL;
@@ -14112,13 +14096,13 @@ static void editing_host_page_place_tool_window (EditingHostPage* self) {
_tmp79_ = self->priv->current_tool;
#line 2231 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp79_, EDITING_TOOLS_TYPE_ADJUST_TOOL)) {
-#line 14111 "PhotoPage.c"
+#line 14095 "PhotoPage.c"
gint _tmp80_ = 0;
#line 2232 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp80_ = x;
#line 2232 "/home/jens/Source/shotwell/src/PhotoPage.vala"
x = (_tmp80_ * 3) / 4;
-#line 14117 "PhotoPage.c"
+#line 14101 "PhotoPage.c"
} else {
gint _tmp81_ = 0;
GtkAllocation _tmp82_ = {0};
@@ -14131,11 +14115,11 @@ static void editing_host_page_place_tool_window (EditingHostPage* self) {
_tmp83_ = _tmp82_.width;
#line 2234 "/home/jens/Source/shotwell/src/PhotoPage.vala"
x = (_tmp81_ - _tmp83_) / 2;
-#line 14130 "PhotoPage.c"
+#line 14114 "PhotoPage.c"
}
#line 2196 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (screen);
-#line 14134 "PhotoPage.c"
+#line 14118 "PhotoPage.c"
}
}
#line 2240 "/home/jens/Source/shotwell/src/PhotoPage.vala"
@@ -14200,7 +14184,7 @@ static void editing_host_page_place_tool_window (EditingHostPage* self) {
_g_object_unref0 (screen);
#line 2174 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (tool_window);
-#line 14199 "PhotoPage.c"
+#line 14183 "PhotoPage.c"
}
@@ -14234,7 +14218,7 @@ static void editing_host_page_real_on_next_photo (SinglePhotoPage* base) {
if (!_tmp1_) {
#line 2253 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return;
-#line 14233 "PhotoPage.c"
+#line 14217 "PhotoPage.c"
}
#line 2255 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp2_ = editing_host_page_get_photo (self);
@@ -14272,7 +14256,7 @@ static void editing_host_page_real_on_next_photo (SinglePhotoPage* base) {
_g_object_unref0 (current_photo);
#line 2260 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return;
-#line 14271 "PhotoPage.c"
+#line 14255 "PhotoPage.c"
}
#line 2263 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp11_ = current;
@@ -14280,14 +14264,14 @@ static void editing_host_page_real_on_next_photo (SinglePhotoPage* base) {
_tmp12_ = _g_object_ref0 (_tmp11_);
#line 2263 "/home/jens/Source/shotwell/src/PhotoPage.vala"
next = _tmp12_;
-#line 14279 "PhotoPage.c"
+#line 14263 "PhotoPage.c"
{
gboolean _tmp13_ = FALSE;
#line 2264 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp13_ = TRUE;
#line 2264 "/home/jens/Source/shotwell/src/PhotoPage.vala"
while (TRUE) {
-#line 14286 "PhotoPage.c"
+#line 14270 "PhotoPage.c"
ViewCollection* _tmp14_ = NULL;
ViewCollection* _tmp15_ = NULL;
DataView* _tmp16_ = NULL;
@@ -14303,7 +14287,7 @@ static void editing_host_page_real_on_next_photo (SinglePhotoPage* base) {
Photo* _tmp25_ = NULL;
#line 2264 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (!_tmp13_) {
-#line 14302 "PhotoPage.c"
+#line 14286 "PhotoPage.c"
}
#line 2264 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp13_ = FALSE;
@@ -14327,7 +14311,7 @@ static void editing_host_page_real_on_next_photo (SinglePhotoPage* base) {
if (_tmp18_ == NULL) {
#line 2267 "/home/jens/Source/shotwell/src/PhotoPage.vala"
break;
-#line 14326 "PhotoPage.c"
+#line 14310 "PhotoPage.c"
}
#line 2269 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp19_ = next;
@@ -14339,7 +14323,7 @@ static void editing_host_page_real_on_next_photo (SinglePhotoPage* base) {
if (_tmp21_ == NULL) {
#line 2269 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp20_);
-#line 14338 "PhotoPage.c"
+#line 14322 "PhotoPage.c"
}
#line 2269 "/home/jens/Source/shotwell/src/PhotoPage.vala"
next_photo = _tmp21_;
@@ -14351,7 +14335,7 @@ static void editing_host_page_real_on_next_photo (SinglePhotoPage* base) {
_g_object_unref0 (next_photo);
#line 2271 "/home/jens/Source/shotwell/src/PhotoPage.vala"
continue;
-#line 14350 "PhotoPage.c"
+#line 14334 "PhotoPage.c"
}
#line 2273 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp23_ = next_photo;
@@ -14363,7 +14347,7 @@ static void editing_host_page_real_on_next_photo (SinglePhotoPage* base) {
_g_object_unref0 (next_photo);
#line 2274 "/home/jens/Source/shotwell/src/PhotoPage.vala"
break;
-#line 14362 "PhotoPage.c"
+#line 14346 "PhotoPage.c"
}
#line 2276 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp25_ = next_photo;
@@ -14373,7 +14357,7 @@ static void editing_host_page_real_on_next_photo (SinglePhotoPage* base) {
_g_object_unref0 (next_photo);
#line 2278 "/home/jens/Source/shotwell/src/PhotoPage.vala"
break;
-#line 14372 "PhotoPage.c"
+#line 14356 "PhotoPage.c"
}
}
#line 2249 "/home/jens/Source/shotwell/src/PhotoPage.vala"
@@ -14382,7 +14366,7 @@ static void editing_host_page_real_on_next_photo (SinglePhotoPage* base) {
_g_object_unref0 (current);
#line 2249 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (current_photo);
-#line 14381 "PhotoPage.c"
+#line 14365 "PhotoPage.c"
}
@@ -14416,7 +14400,7 @@ static void editing_host_page_real_on_previous_photo (SinglePhotoPage* base) {
if (!_tmp1_) {
#line 2286 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return;
-#line 14415 "PhotoPage.c"
+#line 14399 "PhotoPage.c"
}
#line 2288 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp2_ = editing_host_page_get_photo (self);
@@ -14454,7 +14438,7 @@ static void editing_host_page_real_on_previous_photo (SinglePhotoPage* base) {
_g_object_unref0 (current_photo);
#line 2293 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return;
-#line 14453 "PhotoPage.c"
+#line 14437 "PhotoPage.c"
}
#line 2296 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp11_ = current;
@@ -14462,14 +14446,14 @@ static void editing_host_page_real_on_previous_photo (SinglePhotoPage* base) {
_tmp12_ = _g_object_ref0 (_tmp11_);
#line 2296 "/home/jens/Source/shotwell/src/PhotoPage.vala"
previous = _tmp12_;
-#line 14461 "PhotoPage.c"
+#line 14445 "PhotoPage.c"
{
gboolean _tmp13_ = FALSE;
#line 2297 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp13_ = TRUE;
#line 2297 "/home/jens/Source/shotwell/src/PhotoPage.vala"
while (TRUE) {
-#line 14468 "PhotoPage.c"
+#line 14452 "PhotoPage.c"
ViewCollection* _tmp14_ = NULL;
ViewCollection* _tmp15_ = NULL;
DataView* _tmp16_ = NULL;
@@ -14485,7 +14469,7 @@ static void editing_host_page_real_on_previous_photo (SinglePhotoPage* base) {
Photo* _tmp25_ = NULL;
#line 2297 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (!_tmp13_) {
-#line 14484 "PhotoPage.c"
+#line 14468 "PhotoPage.c"
}
#line 2297 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp13_ = FALSE;
@@ -14509,7 +14493,7 @@ static void editing_host_page_real_on_previous_photo (SinglePhotoPage* base) {
if (_tmp18_ == NULL) {
#line 2300 "/home/jens/Source/shotwell/src/PhotoPage.vala"
break;
-#line 14508 "PhotoPage.c"
+#line 14492 "PhotoPage.c"
}
#line 2302 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp19_ = previous;
@@ -14521,7 +14505,7 @@ static void editing_host_page_real_on_previous_photo (SinglePhotoPage* base) {
if (_tmp21_ == NULL) {
#line 2302 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp20_);
-#line 14520 "PhotoPage.c"
+#line 14504 "PhotoPage.c"
}
#line 2302 "/home/jens/Source/shotwell/src/PhotoPage.vala"
previous_photo = _tmp21_;
@@ -14533,7 +14517,7 @@ static void editing_host_page_real_on_previous_photo (SinglePhotoPage* base) {
_g_object_unref0 (previous_photo);
#line 2304 "/home/jens/Source/shotwell/src/PhotoPage.vala"
continue;
-#line 14532 "PhotoPage.c"
+#line 14516 "PhotoPage.c"
}
#line 2306 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp23_ = previous_photo;
@@ -14545,7 +14529,7 @@ static void editing_host_page_real_on_previous_photo (SinglePhotoPage* base) {
_g_object_unref0 (previous_photo);
#line 2307 "/home/jens/Source/shotwell/src/PhotoPage.vala"
break;
-#line 14544 "PhotoPage.c"
+#line 14528 "PhotoPage.c"
}
#line 2309 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp25_ = previous_photo;
@@ -14555,7 +14539,7 @@ static void editing_host_page_real_on_previous_photo (SinglePhotoPage* base) {
_g_object_unref0 (previous_photo);
#line 2311 "/home/jens/Source/shotwell/src/PhotoPage.vala"
break;
-#line 14554 "PhotoPage.c"
+#line 14538 "PhotoPage.c"
}
}
#line 2282 "/home/jens/Source/shotwell/src/PhotoPage.vala"
@@ -14564,7 +14548,7 @@ static void editing_host_page_real_on_previous_photo (SinglePhotoPage* base) {
_g_object_unref0 (current);
#line 2282 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (current_photo);
-#line 14563 "PhotoPage.c"
+#line 14547 "PhotoPage.c"
}
@@ -14579,7 +14563,7 @@ gboolean editing_host_page_has_current_tool (EditingHostPage* self) {
result = _tmp0_ != NULL;
#line 2316 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 14578 "PhotoPage.c"
+#line 14562 "PhotoPage.c"
}
@@ -14590,7 +14574,7 @@ void editing_host_page_unset_view_collection (EditingHostPage* self) {
_data_collection_unref0 (self->priv->parent_view);
#line 2320 "/home/jens/Source/shotwell/src/PhotoPage.vala"
self->priv->parent_view = NULL;
-#line 14589 "PhotoPage.c"
+#line 14573 "PhotoPage.c"
}
@@ -14677,14 +14661,14 @@ static EditingHostPageEditingHostCanvas* editing_host_page_editing_host_canvas_c
self->priv->host_page = _tmp20_;
#line 377 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return self;
-#line 14676 "PhotoPage.c"
+#line 14660 "PhotoPage.c"
}
static EditingHostPageEditingHostCanvas* editing_host_page_editing_host_canvas_new (EditingHostPage* host_page) {
#line 377 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return editing_host_page_editing_host_canvas_construct (EDITING_HOST_PAGE_TYPE_EDITING_HOST_CANVAS, host_page);
-#line 14683 "PhotoPage.c"
+#line 14667 "PhotoPage.c"
}
@@ -14697,7 +14681,7 @@ static void editing_host_page_editing_host_canvas_real_repaint (EditingToolsPhot
_tmp0_ = self->priv->host_page;
#line 386 "/home/jens/Source/shotwell/src/PhotoPage.vala"
single_photo_page_repaint (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_SINGLE_PHOTO_PAGE, SinglePhotoPage), NULL);
-#line 14696 "PhotoPage.c"
+#line 14680 "PhotoPage.c"
}
@@ -14710,14 +14694,14 @@ static void editing_host_page_editing_host_canvas_class_init (EditingHostPageEdi
g_type_class_add_private (klass, sizeof (EditingHostPageEditingHostCanvasPrivate));
#line 374 "/home/jens/Source/shotwell/src/PhotoPage.vala"
((EditingToolsPhotoCanvasClass *) klass)->repaint = editing_host_page_editing_host_canvas_real_repaint;
-#line 14709 "PhotoPage.c"
+#line 14693 "PhotoPage.c"
}
static void editing_host_page_editing_host_canvas_instance_init (EditingHostPageEditingHostCanvas * self) {
#line 374 "/home/jens/Source/shotwell/src/PhotoPage.vala"
self->priv = EDITING_HOST_PAGE_EDITING_HOST_CANVAS_GET_PRIVATE (self);
-#line 14716 "PhotoPage.c"
+#line 14700 "PhotoPage.c"
}
@@ -14729,7 +14713,7 @@ static void editing_host_page_editing_host_canvas_finalize (EditingToolsPhotoCan
_g_object_unref0 (self->priv->host_page);
#line 374 "/home/jens/Source/shotwell/src/PhotoPage.vala"
EDITING_TOOLS_PHOTO_CANVAS_CLASS (editing_host_page_editing_host_canvas_parent_class)->finalize (obj);
-#line 14728 "PhotoPage.c"
+#line 14712 "PhotoPage.c"
}
@@ -14848,7 +14832,7 @@ static void editing_host_page_class_init (EditingHostPageClass * klass) {
((SinglePhotoPageClass *) klass)->on_previous_photo = editing_host_page_real_on_previous_photo;
#line 364 "/home/jens/Source/shotwell/src/PhotoPage.vala"
G_OBJECT_CLASS (klass)->finalize = editing_host_page_finalize;
-#line 14847 "PhotoPage.c"
+#line 14831 "PhotoPage.c"
}
@@ -14916,7 +14900,7 @@ static void editing_host_page_instance_init (EditingHostPage * self) {
_tmp2_ = gee_hash_map_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, G_TYPE_INT, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
#line 415 "/home/jens/Source/shotwell/src/PhotoPage.vala"
self->priv->last_locations = _tmp2_;
-#line 14915 "PhotoPage.c"
+#line 14899 "PhotoPage.c"
}
@@ -15000,7 +14984,7 @@ static void editing_host_page_finalize (GObject* obj) {
_g_object_unref0 (self->priv->last_locations);
#line 364 "/home/jens/Source/shotwell/src/PhotoPage.vala"
G_OBJECT_CLASS (editing_host_page_parent_class)->finalize (obj);
-#line 14999 "PhotoPage.c"
+#line 14983 "PhotoPage.c"
}
@@ -15019,378 +15003,378 @@ GType editing_host_page_get_type (void) {
static void _library_photo_page_on_photo_destroyed_source_collection_item_destroyed (SourceCollection* _sender, DataSource* source, gpointer self) {
#line 2360 "/home/jens/Source/shotwell/src/PhotoPage.vala"
library_photo_page_on_photo_destroyed ((LibraryPhotoPage*) self, source);
-#line 15018 "PhotoPage.c"
+#line 15002 "PhotoPage.c"
}
static void _library_photo_page_on_metadata_altered_data_collection_items_altered (DataCollection* _sender, GeeMap* items, gpointer self) {
#line 2361 "/home/jens/Source/shotwell/src/PhotoPage.vala"
library_photo_page_on_metadata_altered ((LibraryPhotoPage*) self, items);
-#line 15025 "PhotoPage.c"
+#line 15009 "PhotoPage.c"
}
static void _library_photo_page_on_external_app_changed_configuration_facade_external_app_changed (ConfigurationFacade* _sender, gpointer self) {
#line 2362 "/home/jens/Source/shotwell/src/PhotoPage.vala"
library_photo_page_on_external_app_changed ((LibraryPhotoPage*) self);
-#line 15032 "PhotoPage.c"
+#line 15016 "PhotoPage.c"
}
static void _library_photo_page_on_export_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 2384 "/home/jens/Source/shotwell/src/PhotoPage.vala"
library_photo_page_on_export ((LibraryPhotoPage*) self);
-#line 15039 "PhotoPage.c"
+#line 15023 "PhotoPage.c"
}
static void _library_photo_page_on_print_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 2384 "/home/jens/Source/shotwell/src/PhotoPage.vala"
library_photo_page_on_print ((LibraryPhotoPage*) self);
-#line 15046 "PhotoPage.c"
+#line 15030 "PhotoPage.c"
}
static void _library_photo_page_on_publish_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 2384 "/home/jens/Source/shotwell/src/PhotoPage.vala"
library_photo_page_on_publish ((LibraryPhotoPage*) self);
-#line 15053 "PhotoPage.c"
+#line 15037 "PhotoPage.c"
}
static void _library_photo_page_on_remove_from_library_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 2384 "/home/jens/Source/shotwell/src/PhotoPage.vala"
library_photo_page_on_remove_from_library ((LibraryPhotoPage*) self);
-#line 15060 "PhotoPage.c"
+#line 15044 "PhotoPage.c"
}
static void _library_photo_page_on_move_to_trash_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 2384 "/home/jens/Source/shotwell/src/PhotoPage.vala"
library_photo_page_on_move_to_trash ((LibraryPhotoPage*) self);
-#line 15067 "PhotoPage.c"
+#line 15051 "PhotoPage.c"
}
static void _single_photo_page_on_previous_photo_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 2384 "/home/jens/Source/shotwell/src/PhotoPage.vala"
single_photo_page_on_previous_photo ((SinglePhotoPage*) self);
-#line 15074 "PhotoPage.c"
+#line 15058 "PhotoPage.c"
}
static void _single_photo_page_on_next_photo_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 2384 "/home/jens/Source/shotwell/src/PhotoPage.vala"
single_photo_page_on_next_photo ((SinglePhotoPage*) self);
-#line 15081 "PhotoPage.c"
+#line 15065 "PhotoPage.c"
}
static void _editing_host_page_on_rotate_clockwise_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 2384 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_on_rotate_clockwise ((EditingHostPage*) self);
-#line 15088 "PhotoPage.c"
+#line 15072 "PhotoPage.c"
}
static void _editing_host_page_on_rotate_counterclockwise_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 2384 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_on_rotate_counterclockwise ((EditingHostPage*) self);
-#line 15095 "PhotoPage.c"
+#line 15079 "PhotoPage.c"
}
static void _editing_host_page_on_flip_horizontally_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 2384 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_on_flip_horizontally ((EditingHostPage*) self);
-#line 15102 "PhotoPage.c"
+#line 15086 "PhotoPage.c"
}
static void _editing_host_page_on_flip_vertically_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 2384 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_on_flip_vertically ((EditingHostPage*) self);
-#line 15109 "PhotoPage.c"
+#line 15093 "PhotoPage.c"
}
static void _editing_host_page_on_enhance_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 2384 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_on_enhance ((EditingHostPage*) self);
-#line 15116 "PhotoPage.c"
+#line 15100 "PhotoPage.c"
}
static void _editing_host_page_on_copy_adjustments_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 2384 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_on_copy_adjustments ((EditingHostPage*) self);
-#line 15123 "PhotoPage.c"
+#line 15107 "PhotoPage.c"
}
static void _editing_host_page_on_paste_adjustments_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 2384 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_on_paste_adjustments ((EditingHostPage*) self);
-#line 15130 "PhotoPage.c"
+#line 15114 "PhotoPage.c"
}
static void _editing_host_page_toggle_crop_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 2384 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_toggle_crop ((EditingHostPage*) self);
-#line 15137 "PhotoPage.c"
+#line 15121 "PhotoPage.c"
}
static void _editing_host_page_toggle_straighten_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 2384 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_toggle_straighten ((EditingHostPage*) self);
-#line 15144 "PhotoPage.c"
+#line 15128 "PhotoPage.c"
}
static void _editing_host_page_toggle_redeye_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 2384 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_toggle_redeye ((EditingHostPage*) self);
-#line 15151 "PhotoPage.c"
+#line 15135 "PhotoPage.c"
}
static void _editing_host_page_toggle_adjust_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 2384 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_toggle_adjust ((EditingHostPage*) self);
-#line 15158 "PhotoPage.c"
+#line 15142 "PhotoPage.c"
}
static void _editing_host_page_on_revert_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 2384 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_on_revert ((EditingHostPage*) self);
-#line 15165 "PhotoPage.c"
+#line 15149 "PhotoPage.c"
}
static void _editing_host_page_on_edit_title_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 2384 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_on_edit_title ((EditingHostPage*) self);
-#line 15172 "PhotoPage.c"
+#line 15156 "PhotoPage.c"
}
static void _editing_host_page_on_edit_comment_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 2384 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_on_edit_comment ((EditingHostPage*) self);
-#line 15179 "PhotoPage.c"
+#line 15163 "PhotoPage.c"
}
static void _editing_host_page_on_adjust_date_time_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 2384 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_on_adjust_date_time ((EditingHostPage*) self);
-#line 15186 "PhotoPage.c"
+#line 15170 "PhotoPage.c"
}
static void _library_photo_page_on_external_edit_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 2384 "/home/jens/Source/shotwell/src/PhotoPage.vala"
library_photo_page_on_external_edit ((LibraryPhotoPage*) self);
-#line 15193 "PhotoPage.c"
+#line 15177 "PhotoPage.c"
}
static void _library_photo_page_on_external_edit_raw_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 2384 "/home/jens/Source/shotwell/src/PhotoPage.vala"
library_photo_page_on_external_edit_raw ((LibraryPhotoPage*) self);
-#line 15200 "PhotoPage.c"
+#line 15184 "PhotoPage.c"
}
static void _library_photo_page_on_send_to_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 2384 "/home/jens/Source/shotwell/src/PhotoPage.vala"
library_photo_page_on_send_to ((LibraryPhotoPage*) self);
-#line 15207 "PhotoPage.c"
+#line 15191 "PhotoPage.c"
}
static void _editing_host_page_on_set_background_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 2384 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_on_set_background ((EditingHostPage*) self);
-#line 15214 "PhotoPage.c"
+#line 15198 "PhotoPage.c"
}
static void _library_photo_page_on_flag_unflag_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 2384 "/home/jens/Source/shotwell/src/PhotoPage.vala"
library_photo_page_on_flag_unflag ((LibraryPhotoPage*) self);
-#line 15221 "PhotoPage.c"
+#line 15205 "PhotoPage.c"
}
static void _library_photo_page_on_increase_rating_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 2384 "/home/jens/Source/shotwell/src/PhotoPage.vala"
library_photo_page_on_increase_rating ((LibraryPhotoPage*) self);
-#line 15228 "PhotoPage.c"
+#line 15212 "PhotoPage.c"
}
static void _library_photo_page_on_decrease_rating_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 2384 "/home/jens/Source/shotwell/src/PhotoPage.vala"
library_photo_page_on_decrease_rating ((LibraryPhotoPage*) self);
-#line 15235 "PhotoPage.c"
+#line 15219 "PhotoPage.c"
}
static void _library_photo_page_on_rate_rejected_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 2384 "/home/jens/Source/shotwell/src/PhotoPage.vala"
library_photo_page_on_rate_rejected ((LibraryPhotoPage*) self);
-#line 15242 "PhotoPage.c"
+#line 15226 "PhotoPage.c"
}
static void _library_photo_page_on_rate_unrated_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 2384 "/home/jens/Source/shotwell/src/PhotoPage.vala"
library_photo_page_on_rate_unrated ((LibraryPhotoPage*) self);
-#line 15249 "PhotoPage.c"
+#line 15233 "PhotoPage.c"
}
static void _library_photo_page_on_rate_one_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 2384 "/home/jens/Source/shotwell/src/PhotoPage.vala"
library_photo_page_on_rate_one ((LibraryPhotoPage*) self);
-#line 15256 "PhotoPage.c"
+#line 15240 "PhotoPage.c"
}
static void _library_photo_page_on_rate_two_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 2384 "/home/jens/Source/shotwell/src/PhotoPage.vala"
library_photo_page_on_rate_two ((LibraryPhotoPage*) self);
-#line 15263 "PhotoPage.c"
+#line 15247 "PhotoPage.c"
}
static void _library_photo_page_on_rate_three_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 2384 "/home/jens/Source/shotwell/src/PhotoPage.vala"
library_photo_page_on_rate_three ((LibraryPhotoPage*) self);
-#line 15270 "PhotoPage.c"
+#line 15254 "PhotoPage.c"
}
static void _library_photo_page_on_rate_four_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 2384 "/home/jens/Source/shotwell/src/PhotoPage.vala"
library_photo_page_on_rate_four ((LibraryPhotoPage*) self);
-#line 15277 "PhotoPage.c"
+#line 15261 "PhotoPage.c"
}
static void _library_photo_page_on_rate_five_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 2384 "/home/jens/Source/shotwell/src/PhotoPage.vala"
library_photo_page_on_rate_five ((LibraryPhotoPage*) self);
-#line 15284 "PhotoPage.c"
+#line 15268 "PhotoPage.c"
}
static void _editing_host_page_on_increase_size_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 2384 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_on_increase_size ((EditingHostPage*) self);
-#line 15291 "PhotoPage.c"
+#line 15275 "PhotoPage.c"
}
static void _editing_host_page_on_decrease_size_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 2384 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_on_decrease_size ((EditingHostPage*) self);
-#line 15298 "PhotoPage.c"
+#line 15282 "PhotoPage.c"
}
static void _editing_host_page_snap_zoom_to_min_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 2384 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_snap_zoom_to_min ((EditingHostPage*) self);
-#line 15305 "PhotoPage.c"
+#line 15289 "PhotoPage.c"
}
static void _editing_host_page_snap_zoom_to_isomorphic_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 2384 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_snap_zoom_to_isomorphic ((EditingHostPage*) self);
-#line 15312 "PhotoPage.c"
+#line 15296 "PhotoPage.c"
}
static void _editing_host_page_snap_zoom_to_max_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 2384 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_snap_zoom_to_max ((EditingHostPage*) self);
-#line 15319 "PhotoPage.c"
+#line 15303 "PhotoPage.c"
}
static void _library_photo_page_on_add_tags_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 2384 "/home/jens/Source/shotwell/src/PhotoPage.vala"
library_photo_page_on_add_tags ((LibraryPhotoPage*) self);
-#line 15326 "PhotoPage.c"
+#line 15310 "PhotoPage.c"
}
static void _library_photo_page_on_modify_tags_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 2384 "/home/jens/Source/shotwell/src/PhotoPage.vala"
library_photo_page_on_modify_tags ((LibraryPhotoPage*) self);
-#line 15333 "PhotoPage.c"
+#line 15317 "PhotoPage.c"
}
static void _library_photo_page_on_slideshow_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 2384 "/home/jens/Source/shotwell/src/PhotoPage.vala"
library_photo_page_on_slideshow ((LibraryPhotoPage*) self);
-#line 15340 "PhotoPage.c"
+#line 15324 "PhotoPage.c"
}
static void _page_on_action_toggle_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 2384 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_on_action_toggle ((Page*) self, action, parameter);
-#line 15347 "PhotoPage.c"
+#line 15331 "PhotoPage.c"
}
static void _library_photo_page_on_display_ratings_gsimple_action_change_state_callback (GSimpleAction* action, GVariant* value, gpointer self) {
#line 2384 "/home/jens/Source/shotwell/src/PhotoPage.vala"
library_photo_page_on_display_ratings ((LibraryPhotoPage*) self, action, value);
-#line 15354 "PhotoPage.c"
+#line 15338 "PhotoPage.c"
}
static void _page_on_action_radio_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 2384 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_on_action_radio ((Page*) self, action, parameter);
-#line 15361 "PhotoPage.c"
+#line 15345 "PhotoPage.c"
}
static void _library_photo_page_on_raw_developer_changed_gsimple_action_change_state_callback (GSimpleAction* action, GVariant* value, gpointer self) {
#line 2384 "/home/jens/Source/shotwell/src/PhotoPage.vala"
library_photo_page_on_raw_developer_changed ((LibraryPhotoPage*) self, action, value);
-#line 15368 "PhotoPage.c"
+#line 15352 "PhotoPage.c"
}
static void _library_photo_page_on_photos_altered_data_collection_items_altered (DataCollection* _sender, GeeMap* items, gpointer self) {
#line 2344 "/home/jens/Source/shotwell/src/PhotoPage.vala"
library_photo_page_on_photos_altered ((LibraryPhotoPage*) self);
-#line 15375 "PhotoPage.c"
+#line 15359 "PhotoPage.c"
}
static void _library_photo_page_on_photo_unlinking_source_collection_items_unlinking (SourceCollection* _sender, GeeCollection* unlinking, gpointer self) {
#line 2355 "/home/jens/Source/shotwell/src/PhotoPage.vala"
library_photo_page_on_photo_unlinking ((LibraryPhotoPage*) self, unlinking);
-#line 15382 "PhotoPage.c"
+#line 15366 "PhotoPage.c"
}
static void _library_photo_page_on_photo_relinked_source_collection_items_relinked (SourceCollection* _sender, GeeCollection* relinked, gpointer self) {
#line 2356 "/home/jens/Source/shotwell/src/PhotoPage.vala"
library_photo_page_on_photo_relinked ((LibraryPhotoPage*) self, relinked);
-#line 15389 "PhotoPage.c"
+#line 15373 "PhotoPage.c"
}
@@ -15456,14 +15440,14 @@ LibraryPhotoPage* library_photo_page_construct (GType object_type) {
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, TYPE_SOURCE_COLLECTION, SourceCollection), "items-relinked", (GCallback) _library_photo_page_on_photo_relinked_source_collection_items_relinked, self, 0);
#line 2340 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return self;
-#line 15455 "PhotoPage.c"
+#line 15439 "PhotoPage.c"
}
LibraryPhotoPage* library_photo_page_new (void) {
#line 2340 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return library_photo_page_construct (TYPE_LIBRARY_PHOTO_PAGE);
-#line 15462 "PhotoPage.c"
+#line 15446 "PhotoPage.c"
}
@@ -15494,7 +15478,7 @@ gboolean library_photo_page_not_trashed_view_filter (LibraryPhotoPage* self, Dat
result = _tmp4_;
#line 2366 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 15493 "PhotoPage.c"
+#line 15477 "PhotoPage.c"
}
@@ -15508,7 +15492,7 @@ static void library_photo_page_on_photo_unlinking (LibraryPhotoPage* self, GeeCo
_tmp0_ = self->priv->filter;
#line 2370 "/home/jens/Source/shotwell/src/PhotoPage.vala"
g_signal_emit_by_name (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_VIEW_FILTER, ViewFilter), "refresh");
-#line 15507 "PhotoPage.c"
+#line 15491 "PhotoPage.c"
}
@@ -15522,7 +15506,7 @@ static void library_photo_page_on_photo_relinked (LibraryPhotoPage* self, GeeCol
_tmp0_ = self->priv->filter;
#line 2374 "/home/jens/Source/shotwell/src/PhotoPage.vala"
g_signal_emit_by_name (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_VIEW_FILTER, ViewFilter), "refresh");
-#line 15521 "PhotoPage.c"
+#line 15505 "PhotoPage.c"
}
@@ -15547,21 +15531,21 @@ static void library_photo_page_real_init_collect_ui_filenames (Page* base, GeeLi
_tmp2_ = ui_filenames;
#line 2381 "/home/jens/Source/shotwell/src/PhotoPage.vala"
gee_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, GEE_TYPE_COLLECTION, GeeCollection), "photo.ui");
-#line 15546 "PhotoPage.c"
+#line 15530 "PhotoPage.c"
}
-static GVariant* _variant_new12 (gboolean value) {
+static GVariant* _variant_new16 (gboolean value) {
#line 2441 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return g_variant_ref_sink (g_variant_new_boolean (value));
-#line 15553 "PhotoPage.c"
+#line 15537 "PhotoPage.c"
}
-static GVariant* _variant_new13 (const gchar* value) {
+static GVariant* _variant_new17 (const gchar* value) {
#line 2444 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return g_variant_ref_sink (g_variant_new_string (value));
-#line 15560 "PhotoPage.c"
+#line 15544 "PhotoPage.c"
}
@@ -15608,7 +15592,7 @@ static void library_photo_page_real_add_actions (Page* base) {
if (_tmp3_ == NULL) {
#line 2441 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp2_);
-#line 15607 "PhotoPage.c"
+#line 15591 "PhotoPage.c"
}
#line 2441 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp4_ = _tmp3_;
@@ -15619,9 +15603,9 @@ static void library_photo_page_real_add_actions (Page* base) {
#line 2441 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp7_ = configuration_facade_get_display_photo_ratings (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
#line 2441 "/home/jens/Source/shotwell/src/PhotoPage.vala"
- _tmp8_ = _variant_new12 (_tmp7_);
+ _tmp8_ = _variant_new16 (_tmp7_);
#line 2441 "/home/jens/Source/shotwell/src/PhotoPage.vala"
- g_simple_action_set_state (_tmp4_, _tmp8_);
+ g_signal_emit_by_name (_tmp4_, "change-state", _tmp8_);
#line 2441 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_variant_unref0 (_tmp8_);
#line 2441 "/home/jens/Source/shotwell/src/PhotoPage.vala"
@@ -15648,7 +15632,7 @@ static void library_photo_page_real_add_actions (Page* base) {
if (_tmp14_ == NULL) {
#line 2443 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp13_);
-#line 15647 "PhotoPage.c"
+#line 15631 "PhotoPage.c"
}
#line 2443 "/home/jens/Source/shotwell/src/PhotoPage.vala"
action = _tmp14_;
@@ -15657,31 +15641,31 @@ static void library_photo_page_real_add_actions (Page* base) {
#line 2444 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp16_ == RAW_DEVELOPER_SHOTWELL) {
#line 2444 "/home/jens/Source/shotwell/src/PhotoPage.vala"
- _tmp15_ = "'Shotwell'";
-#line 15657 "PhotoPage.c"
+ _tmp15_ = "Shotwell";
+#line 15641 "PhotoPage.c"
} else {
#line 2444 "/home/jens/Source/shotwell/src/PhotoPage.vala"
- _tmp15_ = "'Camera'";
-#line 15661 "PhotoPage.c"
+ _tmp15_ = "Camera";
+#line 15645 "PhotoPage.c"
}
#line 2444 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp17_ = action;
#line 2444 "/home/jens/Source/shotwell/src/PhotoPage.vala"
- _tmp18_ = _variant_new13 (_tmp15_);
+ _tmp18_ = _variant_new17 (_tmp15_);
#line 2444 "/home/jens/Source/shotwell/src/PhotoPage.vala"
- g_simple_action_set_state (_tmp17_, _tmp18_);
+ g_signal_emit_by_name (_tmp17_, "change-state", _tmp18_);
#line 2444 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_variant_unref0 (_tmp18_);
#line 2437 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (action);
-#line 15673 "PhotoPage.c"
+#line 15657 "PhotoPage.c"
}
static gpointer _injection_group_ref0 (gpointer self) {
#line 2453 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return self ? injection_group_ref (self) : NULL;
-#line 15680 "PhotoPage.c"
+#line 15664 "PhotoPage.c"
}
@@ -15692,13 +15676,13 @@ static void _vala_array_add82 (InjectionGroup*** array, int* length, int* size,
*size = (*size) ? (2 * (*size)) : 4;
#line 2453 "/home/jens/Source/shotwell/src/PhotoPage.vala"
*array = g_renew (InjectionGroup*, *array, (*size) + 1);
-#line 15691 "PhotoPage.c"
+#line 15675 "PhotoPage.c"
}
#line 2453 "/home/jens/Source/shotwell/src/PhotoPage.vala"
(*array)[(*length)++] = value;
#line 2453 "/home/jens/Source/shotwell/src/PhotoPage.vala"
(*array)[*length] = NULL;
-#line 15697 "PhotoPage.c"
+#line 15681 "PhotoPage.c"
}
@@ -15709,13 +15693,13 @@ static void _vala_array_add83 (InjectionGroup*** array, int* length, int* size,
*size = (*size) ? (2 * (*size)) : 4;
#line 2458 "/home/jens/Source/shotwell/src/PhotoPage.vala"
*array = g_renew (InjectionGroup*, *array, (*size) + 1);
-#line 15708 "PhotoPage.c"
+#line 15692 "PhotoPage.c"
}
#line 2458 "/home/jens/Source/shotwell/src/PhotoPage.vala"
(*array)[(*length)++] = value;
#line 2458 "/home/jens/Source/shotwell/src/PhotoPage.vala"
(*array)[*length] = NULL;
-#line 15714 "PhotoPage.c"
+#line 15698 "PhotoPage.c"
}
@@ -15726,13 +15710,13 @@ static void _vala_array_add84 (InjectionGroup*** array, int* length, int* size,
*size = (*size) ? (2 * (*size)) : 4;
#line 2463 "/home/jens/Source/shotwell/src/PhotoPage.vala"
*array = g_renew (InjectionGroup*, *array, (*size) + 1);
-#line 15725 "PhotoPage.c"
+#line 15709 "PhotoPage.c"
}
#line 2463 "/home/jens/Source/shotwell/src/PhotoPage.vala"
(*array)[(*length)++] = value;
#line 2463 "/home/jens/Source/shotwell/src/PhotoPage.vala"
(*array)[*length] = NULL;
-#line 15731 "PhotoPage.c"
+#line 15715 "PhotoPage.c"
}
@@ -15813,7 +15797,7 @@ static InjectionGroup** library_photo_page_real_init_collect_injection_groups (P
#line 2461 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp11_ = _ ("Set as _Desktop Background");
#line 2461 "/home/jens/Source/shotwell/src/PhotoPage.vala"
- injection_group_add_menu_item (bg_group, _tmp11_, "SetBackground", NULL);
+ injection_group_add_menu_item (bg_group, _tmp11_, "SetBackground", "<Primary>b");
#line 2463 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp12_ = groups;
#line 2463 "/home/jens/Source/shotwell/src/PhotoPage.vala"
@@ -15830,7 +15814,7 @@ static InjectionGroup** library_photo_page_real_init_collect_injection_groups (P
if (result_length1) {
#line 2465 "/home/jens/Source/shotwell/src/PhotoPage.vala"
*result_length1 = _tmp14__length1;
-#line 15829 "PhotoPage.c"
+#line 15813 "PhotoPage.c"
}
#line 2465 "/home/jens/Source/shotwell/src/PhotoPage.vala"
result = _tmp14_;
@@ -15842,7 +15826,7 @@ static InjectionGroup** library_photo_page_real_init_collect_injection_groups (P
_injection_group_unref0 (print_group);
#line 2465 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 15841 "PhotoPage.c"
+#line 15825 "PhotoPage.c"
}
@@ -15880,7 +15864,7 @@ static void library_photo_page_on_display_ratings (LibraryPhotoPage* self, GSimp
_tmp5_ = value;
#line 2474 "/home/jens/Source/shotwell/src/PhotoPage.vala"
g_simple_action_set_state (_tmp4_, _tmp5_);
-#line 15879 "PhotoPage.c"
+#line 15863 "PhotoPage.c"
}
@@ -15899,7 +15883,7 @@ static void library_photo_page_set_display_ratings (LibraryPhotoPage* self, gboo
if (_tmp1_ == NULL) {
#line 2479 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp0_);
-#line 15898 "PhotoPage.c"
+#line 15882 "PhotoPage.c"
}
#line 2479 "/home/jens/Source/shotwell/src/PhotoPage.vala"
action = _tmp1_;
@@ -15907,7 +15891,7 @@ static void library_photo_page_set_display_ratings (LibraryPhotoPage* self, gboo
_tmp2_ = action;
#line 2480 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp2_ != NULL) {
-#line 15906 "PhotoPage.c"
+#line 15890 "PhotoPage.c"
GSimpleAction* _tmp3_ = NULL;
gboolean _tmp4_ = FALSE;
#line 2481 "/home/jens/Source/shotwell/src/PhotoPage.vala"
@@ -15916,11 +15900,11 @@ static void library_photo_page_set_display_ratings (LibraryPhotoPage* self, gboo
_tmp4_ = display;
#line 2481 "/home/jens/Source/shotwell/src/PhotoPage.vala"
g_simple_action_set_enabled (_tmp3_, _tmp4_);
-#line 15915 "PhotoPage.c"
+#line 15899 "PhotoPage.c"
}
#line 2478 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (action);
-#line 15919 "PhotoPage.c"
+#line 15903 "PhotoPage.c"
}
@@ -15976,7 +15960,7 @@ static void library_photo_page_real_update_actions (Page* base, gint selected_co
_tmp5_ = editing_host_page_has_photo (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EDITING_HOST_PAGE, EditingHostPage));
#line 2486 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp5_) {
-#line 15975 "PhotoPage.c"
+#line 15959 "PhotoPage.c"
Photo* _tmp6_ = NULL;
Photo* _tmp7_ = NULL;
gboolean _tmp8_ = FALSE;
@@ -15990,11 +15974,11 @@ static void library_photo_page_real_update_actions (Page* base, gint selected_co
_tmp4_ = _tmp8_;
#line 2486 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp7_);
-#line 15989 "PhotoPage.c"
+#line 15973 "PhotoPage.c"
} else {
#line 2486 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp4_ = FALSE;
-#line 15993 "PhotoPage.c"
+#line 15977 "PhotoPage.c"
}
#line 2486 "/home/jens/Source/shotwell/src/PhotoPage.vala"
rotate_possible = _tmp4_;
@@ -16002,7 +15986,7 @@ static void library_photo_page_real_update_actions (Page* base, gint selected_co
_tmp10_ = editing_host_page_has_photo (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EDITING_HOST_PAGE, EditingHostPage));
#line 2487 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp10_) {
-#line 16001 "PhotoPage.c"
+#line 15985 "PhotoPage.c"
Photo* _tmp11_ = NULL;
Photo* _tmp12_ = NULL;
PhotoFileFormat _tmp13_ = 0;
@@ -16016,11 +16000,11 @@ static void library_photo_page_real_update_actions (Page* base, gint selected_co
_tmp9_ = _tmp13_ == PHOTO_FILE_FORMAT_RAW;
#line 2487 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp12_);
-#line 16015 "PhotoPage.c"
+#line 15999 "PhotoPage.c"
} else {
#line 2487 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp9_ = FALSE;
-#line 16019 "PhotoPage.c"
+#line 16003 "PhotoPage.c"
}
#line 2487 "/home/jens/Source/shotwell/src/PhotoPage.vala"
is_raw = _tmp9_;
@@ -16028,7 +16012,7 @@ static void library_photo_page_real_update_actions (Page* base, gint selected_co
_tmp15_ = editing_host_page_has_photo (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EDITING_HOST_PAGE, EditingHostPage));
#line 2490 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp15_) {
-#line 16027 "PhotoPage.c"
+#line 16011 "PhotoPage.c"
ConfigFacade* _tmp16_ = NULL;
ConfigFacade* _tmp17_ = NULL;
gchar* _tmp18_ = NULL;
@@ -16047,11 +16031,11 @@ static void library_photo_page_real_update_actions (Page* base, gint selected_co
_g_free0 (_tmp19_);
#line 2490 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp17_);
-#line 16046 "PhotoPage.c"
+#line 16030 "PhotoPage.c"
} else {
#line 2490 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp14_ = FALSE;
-#line 16050 "PhotoPage.c"
+#line 16034 "PhotoPage.c"
}
#line 2489 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "ExternalEdit", _tmp14_);
@@ -16059,7 +16043,7 @@ static void library_photo_page_real_update_actions (Page* base, gint selected_co
_tmp21_ = editing_host_page_has_photo (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EDITING_HOST_PAGE, EditingHostPage));
#line 2492 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp21_) {
-#line 16058 "PhotoPage.c"
+#line 16042 "PhotoPage.c"
gboolean _tmp22_ = FALSE;
Photo* _tmp23_ = NULL;
Photo* _tmp24_ = NULL;
@@ -16079,7 +16063,7 @@ static void library_photo_page_real_update_actions (Page* base, gint selected_co
if (_tmp26_) {
#line 2493 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp22_ = TRUE;
-#line 16078 "PhotoPage.c"
+#line 16062 "PhotoPage.c"
} else {
Photo* _tmp27_ = NULL;
Photo* _tmp28_ = NULL;
@@ -16094,15 +16078,15 @@ static void library_photo_page_real_update_actions (Page* base, gint selected_co
_tmp22_ = _tmp29_;
#line 2493 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp28_);
-#line 16093 "PhotoPage.c"
+#line 16077 "PhotoPage.c"
}
#line 2493 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp20_ = _tmp22_;
-#line 16097 "PhotoPage.c"
+#line 16081 "PhotoPage.c"
} else {
#line 2493 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp20_ = FALSE;
-#line 16101 "PhotoPage.c"
+#line 16085 "PhotoPage.c"
}
#line 2492 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Revert", _tmp20_);
@@ -16110,17 +16094,17 @@ static void library_photo_page_real_update_actions (Page* base, gint selected_co
_tmp31_ = editing_host_page_has_photo (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EDITING_HOST_PAGE, EditingHostPage));
#line 2495 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp31_) {
-#line 16109 "PhotoPage.c"
+#line 16093 "PhotoPage.c"
gboolean _tmp32_ = FALSE;
#line 2495 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp32_ = editing_host_page_get_photo_missing (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EDITING_HOST_PAGE, EditingHostPage));
#line 2495 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp30_ = !_tmp32_;
-#line 16115 "PhotoPage.c"
+#line 16099 "PhotoPage.c"
} else {
#line 2495 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp30_ = FALSE;
-#line 16119 "PhotoPage.c"
+#line 16103 "PhotoPage.c"
}
#line 2495 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp30_) {
@@ -16128,7 +16112,7 @@ static void library_photo_page_real_update_actions (Page* base, gint selected_co
library_photo_page_update_rating_menu_item_sensitivity (self);
#line 2497 "/home/jens/Source/shotwell/src/PhotoPage.vala"
library_photo_page_update_development_menu_item_sensitivity (self);
-#line 16127 "PhotoPage.c"
+#line 16111 "PhotoPage.c"
}
#line 2500 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp33_ = editing_host_page_has_photo (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EDITING_HOST_PAGE, EditingHostPage));
@@ -16138,7 +16122,7 @@ static void library_photo_page_real_update_actions (Page* base, gint selected_co
_tmp35_ = editing_host_page_has_photo (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EDITING_HOST_PAGE, EditingHostPage));
#line 2502 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp35_) {
-#line 16137 "PhotoPage.c"
+#line 16121 "PhotoPage.c"
Photo* _tmp36_ = NULL;
Photo* _tmp37_ = NULL;
gboolean _tmp38_ = FALSE;
@@ -16152,11 +16136,11 @@ static void library_photo_page_real_update_actions (Page* base, gint selected_co
_tmp34_ = _tmp38_;
#line 2502 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp37_);
-#line 16151 "PhotoPage.c"
+#line 16135 "PhotoPage.c"
} else {
#line 2502 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp34_ = FALSE;
-#line 16155 "PhotoPage.c"
+#line 16139 "PhotoPage.c"
}
#line 2502 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "CopyColorAdjustments", _tmp34_);
@@ -16192,7 +16176,7 @@ static void library_photo_page_real_update_actions (Page* base, gint selected_co
_tmp46_ = editing_host_page_has_photo (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EDITING_HOST_PAGE, EditingHostPage));
#line 2512 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp46_) {
-#line 16191 "PhotoPage.c"
+#line 16175 "PhotoPage.c"
Photo* _tmp47_ = NULL;
Photo* _tmp48_ = NULL;
Scaling _tmp49_ = {0};
@@ -16225,7 +16209,7 @@ static void library_photo_page_real_update_actions (Page* base, gint selected_co
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RedEye", _tmp54_);
#line 2514 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp52_);
-#line 16224 "PhotoPage.c"
+#line 16208 "PhotoPage.c"
}
#line 2518 "/home/jens/Source/shotwell/src/PhotoPage.vala"
library_photo_page_update_flag_action (self);
@@ -16233,7 +16217,7 @@ static void library_photo_page_real_update_actions (Page* base, gint selected_co
_tmp56_ = is_raw;
#line 2521 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp56_) {
-#line 16232 "PhotoPage.c"
+#line 16216 "PhotoPage.c"
ConfigFacade* _tmp57_ = NULL;
ConfigFacade* _tmp58_ = NULL;
gchar* _tmp59_ = NULL;
@@ -16252,11 +16236,11 @@ static void library_photo_page_real_update_actions (Page* base, gint selected_co
_g_free0 (_tmp60_);
#line 2521 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp58_);
-#line 16251 "PhotoPage.c"
+#line 16235 "PhotoPage.c"
} else {
#line 2521 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp55_ = FALSE;
-#line 16255 "PhotoPage.c"
+#line 16239 "PhotoPage.c"
}
#line 2520 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_set_action_visible (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "ExternalEditRAW", _tmp55_);
@@ -16266,7 +16250,7 @@ static void library_photo_page_real_update_actions (Page* base, gint selected_co
_tmp62_ = count;
#line 2523 "/home/jens/Source/shotwell/src/PhotoPage.vala"
PAGE_CLASS (library_photo_page_parent_class)->update_actions (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EDITING_HOST_PAGE, EditingHostPage), TYPE_PAGE, Page), _tmp61_, _tmp62_);
-#line 16265 "PhotoPage.c"
+#line 16249 "PhotoPage.c"
}
@@ -16279,7 +16263,7 @@ static void library_photo_page_on_photos_altered (LibraryPhotoPage* self) {
_tmp1_ = editing_host_page_has_photo (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EDITING_HOST_PAGE, EditingHostPage));
#line 2527 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp1_) {
-#line 16278 "PhotoPage.c"
+#line 16262 "PhotoPage.c"
gboolean _tmp2_ = FALSE;
Photo* _tmp3_ = NULL;
Photo* _tmp4_ = NULL;
@@ -16299,7 +16283,7 @@ static void library_photo_page_on_photos_altered (LibraryPhotoPage* self) {
if (_tmp6_) {
#line 2528 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp2_ = TRUE;
-#line 16298 "PhotoPage.c"
+#line 16282 "PhotoPage.c"
} else {
Photo* _tmp7_ = NULL;
Photo* _tmp8_ = NULL;
@@ -16314,21 +16298,21 @@ static void library_photo_page_on_photos_altered (LibraryPhotoPage* self) {
_tmp2_ = _tmp9_;
#line 2528 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp8_);
-#line 16313 "PhotoPage.c"
+#line 16297 "PhotoPage.c"
}
#line 2528 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp0_ = _tmp2_;
-#line 16317 "PhotoPage.c"
+#line 16301 "PhotoPage.c"
} else {
#line 2528 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp0_ = FALSE;
-#line 16321 "PhotoPage.c"
+#line 16305 "PhotoPage.c"
}
#line 2527 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Revert", _tmp0_);
#line 2529 "/home/jens/Source/shotwell/src/PhotoPage.vala"
library_photo_page_update_flag_action (self);
-#line 16327 "PhotoPage.c"
+#line 16311 "PhotoPage.c"
}
@@ -16342,7 +16326,7 @@ static void library_photo_page_on_raw_developer_changed (LibraryPhotoPage* self,
static GQuark _tmp3_label0 = 0;
#line 2536 "/home/jens/Source/shotwell/src/PhotoPage.vala"
static GQuark _tmp3_label1 = 0;
-#line 16341 "PhotoPage.c"
+#line 16325 "PhotoPage.c"
RawDeveloper _tmp5_ = 0;
GSimpleAction* _tmp6_ = NULL;
GVariant* _tmp7_ = NULL;
@@ -16364,38 +16348,38 @@ static void library_photo_page_on_raw_developer_changed (LibraryPhotoPage* self,
if (_tmp4_ == ((0 != _tmp3_label0) ? _tmp3_label0 : (_tmp3_label0 = g_quark_from_static_string ("Shotwell")))) {
#line 2536 "/home/jens/Source/shotwell/src/PhotoPage.vala"
switch (0) {
-#line 16363 "PhotoPage.c"
+#line 16347 "PhotoPage.c"
default:
{
#line 2538 "/home/jens/Source/shotwell/src/PhotoPage.vala"
developer = RAW_DEVELOPER_SHOTWELL;
#line 2539 "/home/jens/Source/shotwell/src/PhotoPage.vala"
break;
-#line 16370 "PhotoPage.c"
+#line 16354 "PhotoPage.c"
}
}
} else if (_tmp4_ == ((0 != _tmp3_label1) ? _tmp3_label1 : (_tmp3_label1 = g_quark_from_static_string ("Camera")))) {
#line 2536 "/home/jens/Source/shotwell/src/PhotoPage.vala"
switch (0) {
-#line 16376 "PhotoPage.c"
+#line 16360 "PhotoPage.c"
default:
{
#line 2541 "/home/jens/Source/shotwell/src/PhotoPage.vala"
developer = RAW_DEVELOPER_CAMERA;
#line 2542 "/home/jens/Source/shotwell/src/PhotoPage.vala"
break;
-#line 16383 "PhotoPage.c"
+#line 16367 "PhotoPage.c"
}
}
} else {
#line 2536 "/home/jens/Source/shotwell/src/PhotoPage.vala"
switch (0) {
-#line 16389 "PhotoPage.c"
+#line 16373 "PhotoPage.c"
default:
{
#line 2544 "/home/jens/Source/shotwell/src/PhotoPage.vala"
break;
-#line 16394 "PhotoPage.c"
+#line 16378 "PhotoPage.c"
}
}
}
@@ -16409,7 +16393,7 @@ static void library_photo_page_on_raw_developer_changed (LibraryPhotoPage* self,
_tmp7_ = value;
#line 2549 "/home/jens/Source/shotwell/src/PhotoPage.vala"
g_simple_action_set_state (_tmp6_, _tmp7_);
-#line 16408 "PhotoPage.c"
+#line 16392 "PhotoPage.c"
}
@@ -16447,7 +16431,7 @@ static void library_photo_page_real_developer_changed (LibraryPhotoPage* self, R
if (_tmp3_) {
#line 2554 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return;
-#line 16446 "PhotoPage.c"
+#line 16430 "PhotoPage.c"
}
#line 2556 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
@@ -16469,7 +16453,7 @@ static void library_photo_page_real_developer_changed (LibraryPhotoPage* self, R
if (_tmp11_ == NULL) {
#line 2556 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp10_);
-#line 16468 "PhotoPage.c"
+#line 16452 "PhotoPage.c"
}
#line 2556 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp12_ = _tmp11_;
@@ -16487,7 +16471,7 @@ static void library_photo_page_real_developer_changed (LibraryPhotoPage* self, R
if (_tmp14_ == NULL) {
#line 2557 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp13_ = TRUE;
-#line 16486 "PhotoPage.c"
+#line 16470 "PhotoPage.c"
} else {
RawDeveloper _tmp15_ = 0;
Photo* _tmp16_ = NULL;
@@ -16503,7 +16487,7 @@ static void library_photo_page_real_developer_changed (LibraryPhotoPage* self, R
_tmp18_ = raw_developer_is_equivalent (_tmp15_, _tmp17_);
#line 2557 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp13_ = _tmp18_;
-#line 16502 "PhotoPage.c"
+#line 16486 "PhotoPage.c"
}
#line 2557 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp13_) {
@@ -16511,7 +16495,7 @@ static void library_photo_page_real_developer_changed (LibraryPhotoPage* self, R
_g_object_unref0 (photo);
#line 2558 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return;
-#line 16510 "PhotoPage.c"
+#line 16494 "PhotoPage.c"
}
#line 2562 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp20_ = photo;
@@ -16521,18 +16505,18 @@ static void library_photo_page_real_developer_changed (LibraryPhotoPage* self, R
if (!_tmp21_) {
#line 2562 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp19_ = TRUE;
-#line 16520 "PhotoPage.c"
+#line 16504 "PhotoPage.c"
} else {
gboolean _tmp22_ = FALSE;
#line 2562 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp22_ = dialogs_confirm_warn_developer_changed (1);
#line 2562 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp19_ = _tmp22_;
-#line 16527 "PhotoPage.c"
+#line 16511 "PhotoPage.c"
}
#line 2562 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp19_) {
-#line 16531 "PhotoPage.c"
+#line 16515 "PhotoPage.c"
SetRawDeveloperCommand* command = NULL;
ViewCollection* _tmp23_ = NULL;
ViewCollection* _tmp24_ = NULL;
@@ -16578,11 +16562,11 @@ static void library_photo_page_real_developer_changed (LibraryPhotoPage* self, R
library_photo_page_update_development_menu_item_sensitivity (self);
#line 2562 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (command);
-#line 16577 "PhotoPage.c"
+#line 16561 "PhotoPage.c"
}
#line 2552 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (photo);
-#line 16581 "PhotoPage.c"
+#line 16565 "PhotoPage.c"
}
@@ -16591,7 +16575,7 @@ void library_photo_page_developer_changed (LibraryPhotoPage* self, RawDeveloper
g_return_if_fail (IS_LIBRARY_PHOTO_PAGE (self));
#line 2552 "/home/jens/Source/shotwell/src/PhotoPage.vala"
LIBRARY_PHOTO_PAGE_GET_CLASS (self)->developer_changed (self, rd);
-#line 16590 "PhotoPage.c"
+#line 16574 "PhotoPage.c"
}
@@ -16602,50 +16586,15 @@ static void library_photo_page_update_flag_action (LibraryPhotoPage* self) {
#line 2572 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp0_ = editing_host_page_has_photo (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EDITING_HOST_PAGE, EditingHostPage));
#line 2572 "/home/jens/Source/shotwell/src/PhotoPage.vala"
- if (_tmp0_) {
-#line 16602 "PhotoPage.c"
- GSimpleAction* action = NULL;
- GAction* _tmp1_ = NULL;
- GSimpleAction* _tmp2_ = NULL;
- GSimpleAction* _tmp3_ = NULL;
- GSimpleAction* _tmp4_ = NULL;
-#line 2573 "/home/jens/Source/shotwell/src/PhotoPage.vala"
- _tmp1_ = page_get_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Flag");
-#line 2573 "/home/jens/Source/shotwell/src/PhotoPage.vala"
- _tmp2_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, g_simple_action_get_type ()) ? ((GSimpleAction*) _tmp1_) : NULL;
-#line 2573 "/home/jens/Source/shotwell/src/PhotoPage.vala"
- if (_tmp2_ == NULL) {
-#line 2573 "/home/jens/Source/shotwell/src/PhotoPage.vala"
- _g_object_unref0 (_tmp1_);
-#line 16616 "PhotoPage.c"
- }
-#line 2573 "/home/jens/Source/shotwell/src/PhotoPage.vala"
- action = _tmp2_;
-#line 2574 "/home/jens/Source/shotwell/src/PhotoPage.vala"
- _tmp3_ = action;
-#line 2574 "/home/jens/Source/shotwell/src/PhotoPage.vala"
- _vala_assert (_tmp3_ != NULL, "action != null");
-#line 2578 "/home/jens/Source/shotwell/src/PhotoPage.vala"
- g_debug ("PhotoPage.vala:2578: Setting label of action flagged");
-#line 2580 "/home/jens/Source/shotwell/src/PhotoPage.vala"
- _tmp4_ = action;
-#line 2580 "/home/jens/Source/shotwell/src/PhotoPage.vala"
- g_simple_action_set_enabled (_tmp4_, TRUE);
-#line 2572 "/home/jens/Source/shotwell/src/PhotoPage.vala"
- _g_object_unref0 (action);
-#line 16632 "PhotoPage.c"
- } else {
-#line 2582 "/home/jens/Source/shotwell/src/PhotoPage.vala"
- page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Flag", FALSE);
-#line 16636 "PhotoPage.c"
- }
+ page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Flag", _tmp0_);
+#line 16586 "PhotoPage.c"
}
static void _library_photo_page_on_page_destroyed_gtk_widget_destroy (GtkWidget* _sender, gpointer self) {
-#line 2593 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2582 "/home/jens/Source/shotwell/src/PhotoPage.vala"
library_photo_page_on_page_destroyed ((LibraryPhotoPage*) self);
-#line 16644 "PhotoPage.c"
+#line 16593 "PhotoPage.c"
}
@@ -16656,75 +16605,75 @@ void library_photo_page_display_for_collection (LibraryPhotoPage* self, Collecti
ViewCollection* _tmp3_ = NULL;
ViewCollection* _tmp4_ = NULL;
Photo* _tmp9_ = NULL;
-#line 2590 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2579 "/home/jens/Source/shotwell/src/PhotoPage.vala"
g_return_if_fail (IS_LIBRARY_PHOTO_PAGE (self));
-#line 2590 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2579 "/home/jens/Source/shotwell/src/PhotoPage.vala"
g_return_if_fail (IS_COLLECTION_PAGE (return_page));
-#line 2590 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2579 "/home/jens/Source/shotwell/src/PhotoPage.vala"
g_return_if_fail (IS_PHOTO (photo));
-#line 2590 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2579 "/home/jens/Source/shotwell/src/PhotoPage.vala"
g_return_if_fail ((view == NULL) || IS_VIEW_COLLECTION (view));
-#line 2592 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2581 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp0_ = return_page;
-#line 2592 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2581 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp1_ = _g_object_ref0 (_tmp0_);
-#line 2592 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2581 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (self->priv->return_page);
-#line 2592 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2581 "/home/jens/Source/shotwell/src/PhotoPage.vala"
self->priv->return_page = _tmp1_;
-#line 2593 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2582 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp2_ = return_page;
-#line 2593 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2582 "/home/jens/Source/shotwell/src/PhotoPage.vala"
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_widget_get_type (), GtkWidget), "destroy", (GCallback) _library_photo_page_on_page_destroyed_gtk_widget_destroy, self, 0);
-#line 2595 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2584 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp4_ = view;
-#line 2595 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2584 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp4_ != NULL) {
-#line 16679 "PhotoPage.c"
+#line 16628 "PhotoPage.c"
ViewCollection* _tmp5_ = NULL;
ViewCollection* _tmp6_ = NULL;
-#line 2595 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2584 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp5_ = view;
-#line 2595 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2584 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp6_ = _data_collection_ref0 (_tmp5_);
-#line 2595 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2584 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_data_collection_unref0 (_tmp3_);
-#line 2595 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2584 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp3_ = _tmp6_;
-#line 16690 "PhotoPage.c"
+#line 16639 "PhotoPage.c"
} else {
CollectionPage* _tmp7_ = NULL;
ViewCollection* _tmp8_ = NULL;
-#line 2595 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2584 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp7_ = return_page;
-#line 2595 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2584 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp8_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, TYPE_PAGE, Page));
-#line 2595 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2584 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_data_collection_unref0 (_tmp3_);
-#line 2595 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2584 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp3_ = _tmp8_;
-#line 16702 "PhotoPage.c"
+#line 16651 "PhotoPage.c"
}
-#line 2595 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2584 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp9_ = photo;
-#line 2595 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2584 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_display_copy_of (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EDITING_HOST_PAGE, EditingHostPage), _tmp3_, _tmp9_);
-#line 2590 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2579 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_data_collection_unref0 (_tmp3_);
-#line 16710 "PhotoPage.c"
+#line 16659 "PhotoPage.c"
}
void library_photo_page_on_page_destroyed (LibraryPhotoPage* self) {
-#line 2598 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2587 "/home/jens/Source/shotwell/src/PhotoPage.vala"
g_return_if_fail (IS_LIBRARY_PHOTO_PAGE (self));
-#line 2601 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2590 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (self->priv->return_page);
-#line 2601 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2590 "/home/jens/Source/shotwell/src/PhotoPage.vala"
self->priv->return_page = NULL;
-#line 2602 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2591 "/home/jens/Source/shotwell/src/PhotoPage.vala"
editing_host_page_unset_view_collection (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EDITING_HOST_PAGE, EditingHostPage));
-#line 16723 "PhotoPage.c"
+#line 16672 "PhotoPage.c"
}
@@ -16732,17 +16681,17 @@ CollectionPage* library_photo_page_get_controller_page (LibraryPhotoPage* self)
CollectionPage* result = NULL;
CollectionPage* _tmp0_ = NULL;
CollectionPage* _tmp1_ = NULL;
-#line 2605 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2594 "/home/jens/Source/shotwell/src/PhotoPage.vala"
g_return_val_if_fail (IS_LIBRARY_PHOTO_PAGE (self), NULL);
-#line 2606 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2595 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp0_ = self->priv->return_page;
-#line 2606 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2595 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp1_ = _g_object_ref0 (_tmp0_);
-#line 2606 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2595 "/home/jens/Source/shotwell/src/PhotoPage.vala"
result = _tmp1_;
-#line 2606 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2595 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 16741 "PhotoPage.c"
+#line 16690 "PhotoPage.c"
}
@@ -16753,33 +16702,33 @@ static void library_photo_page_real_switched_to (Page* base) {
ConfigFacade* _tmp2_ = NULL;
ConfigFacade* _tmp3_ = NULL;
gboolean _tmp4_ = FALSE;
-#line 2609 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2598 "/home/jens/Source/shotwell/src/PhotoPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_LIBRARY_PHOTO_PAGE, LibraryPhotoPage);
-#line 2613 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2602 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp0_ = editing_host_page_get_photo (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EDITING_HOST_PAGE, EditingHostPage));
-#line 2613 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2602 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp1_ = _tmp0_;
-#line 2613 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2602 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_vala_assert (_tmp1_ != NULL, "get_photo() != null");
-#line 2613 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2602 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp1_);
-#line 2615 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2604 "/home/jens/Source/shotwell/src/PhotoPage.vala"
PAGE_CLASS (library_photo_page_parent_class)->switched_to (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EDITING_HOST_PAGE, EditingHostPage), TYPE_PAGE, Page));
-#line 2617 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2606 "/home/jens/Source/shotwell/src/PhotoPage.vala"
library_photo_page_update_zoom_menu_item_sensitivity (self);
-#line 2618 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2607 "/home/jens/Source/shotwell/src/PhotoPage.vala"
library_photo_page_update_rating_menu_item_sensitivity (self);
-#line 2620 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2609 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp2_ = config_facade_get_instance ();
-#line 2620 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2609 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp3_ = _tmp2_;
-#line 2620 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2609 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp4_ = configuration_facade_get_display_photo_ratings (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
-#line 2620 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2609 "/home/jens/Source/shotwell/src/PhotoPage.vala"
library_photo_page_set_display_ratings (self, _tmp4_);
-#line 2620 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2609 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp3_);
-#line 16778 "PhotoPage.c"
+#line 16727 "PhotoPage.c"
}
@@ -16794,58 +16743,58 @@ static GdkPixbuf* library_photo_page_real_get_bottom_left_trinket (EditingHostPa
gint _tmp8_ = 0;
GdkPixbuf* _tmp9_ = NULL;
GdkPixbuf* _tmp10_ = NULL;
-#line 2623 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2612 "/home/jens/Source/shotwell/src/PhotoPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_LIBRARY_PHOTO_PAGE, LibraryPhotoPage);
-#line 2624 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2613 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp1_ = editing_host_page_has_photo (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EDITING_HOST_PAGE, EditingHostPage));
-#line 2624 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2613 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (!_tmp1_) {
-#line 2624 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2613 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp0_ = TRUE;
-#line 16801 "PhotoPage.c"
+#line 16750 "PhotoPage.c"
} else {
ConfigFacade* _tmp2_ = NULL;
ConfigFacade* _tmp3_ = NULL;
gboolean _tmp4_ = FALSE;
-#line 2624 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2613 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp2_ = config_facade_get_instance ();
-#line 2624 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2613 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp3_ = _tmp2_;
-#line 2624 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2613 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp4_ = configuration_facade_get_display_photo_ratings (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
-#line 2624 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2613 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp0_ = !_tmp4_;
-#line 2624 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2613 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp3_);
-#line 16816 "PhotoPage.c"
+#line 16765 "PhotoPage.c"
}
-#line 2624 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2613 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp0_) {
-#line 2625 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2614 "/home/jens/Source/shotwell/src/PhotoPage.vala"
result = NULL;
-#line 2625 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2614 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 16824 "PhotoPage.c"
+#line 16773 "PhotoPage.c"
}
-#line 2627 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2616 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp5_ = editing_host_page_get_photo (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EDITING_HOST_PAGE, EditingHostPage));
-#line 2627 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2616 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp6_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, TYPE_LIBRARY_PHOTO, LibraryPhoto);
-#line 2627 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2616 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp7_ = media_source_get_rating (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, TYPE_MEDIA_SOURCE, MediaSource));
-#line 2627 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2616 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp8_ = scale;
-#line 2627 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2616 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp9_ = resources_get_rating_trinket (_tmp7_, _tmp8_);
-#line 2627 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2616 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp10_ = _tmp9_;
-#line 2627 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2616 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp6_);
-#line 2627 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2616 "/home/jens/Source/shotwell/src/PhotoPage.vala"
result = _tmp10_;
-#line 2627 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2616 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 16844 "PhotoPage.c"
+#line 16793 "PhotoPage.c"
}
@@ -16855,46 +16804,46 @@ static GdkPixbuf* library_photo_page_real_get_top_right_trinket (EditingHostPage
gboolean _tmp0_ = FALSE;
gboolean _tmp1_ = FALSE;
GdkPixbuf* _tmp5_ = NULL;
-#line 2630 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2619 "/home/jens/Source/shotwell/src/PhotoPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_LIBRARY_PHOTO_PAGE, LibraryPhotoPage);
-#line 2631 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2620 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp1_ = editing_host_page_has_photo (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EDITING_HOST_PAGE, EditingHostPage));
-#line 2631 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2620 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (!_tmp1_) {
-#line 2631 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2620 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp0_ = TRUE;
-#line 16862 "PhotoPage.c"
+#line 16811 "PhotoPage.c"
} else {
Photo* _tmp2_ = NULL;
LibraryPhoto* _tmp3_ = NULL;
gboolean _tmp4_ = FALSE;
-#line 2631 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2620 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp2_ = editing_host_page_get_photo (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EDITING_HOST_PAGE, EditingHostPage));
-#line 2631 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2620 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp3_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, TYPE_LIBRARY_PHOTO, LibraryPhoto);
-#line 2631 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2620 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp4_ = flaggable_is_flagged (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, TYPE_FLAGGABLE, Flaggable));
-#line 2631 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2620 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp0_ = !_tmp4_;
-#line 2631 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2620 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp3_);
-#line 16877 "PhotoPage.c"
+#line 16826 "PhotoPage.c"
}
-#line 2631 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2620 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp0_) {
-#line 2632 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2621 "/home/jens/Source/shotwell/src/PhotoPage.vala"
result = NULL;
-#line 2632 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2621 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 16885 "PhotoPage.c"
+#line 16834 "PhotoPage.c"
}
-#line 2634 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2623 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp5_ = resources_get_icon (RESOURCES_ICON_FLAGGED_TRINKET, RESOURCES_DEFAULT_ICON_SCALE);
-#line 2634 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2623 "/home/jens/Source/shotwell/src/PhotoPage.vala"
result = _tmp5_;
-#line 2634 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2623 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 16893 "PhotoPage.c"
+#line 16842 "PhotoPage.c"
}
@@ -16910,51 +16859,51 @@ static void library_photo_page_on_slideshow (LibraryPhotoPage* self) {
LibraryPhoto* _tmp7_ = NULL;
SlideshowPage* _tmp8_ = NULL;
SlideshowPage* _tmp9_ = NULL;
-#line 2637 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2626 "/home/jens/Source/shotwell/src/PhotoPage.vala"
g_return_if_fail (IS_LIBRARY_PHOTO_PAGE (self));
-#line 2638 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2627 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp0_ = editing_host_page_get_photo (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EDITING_HOST_PAGE, EditingHostPage));
-#line 2638 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2627 "/home/jens/Source/shotwell/src/PhotoPage.vala"
photo = G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_LIBRARY_PHOTO, LibraryPhoto);
-#line 2639 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2628 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp1_ = photo;
-#line 2639 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2628 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp1_ == NULL) {
-#line 2640 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2629 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (photo);
-#line 2640 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2629 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return;
-#line 16923 "PhotoPage.c"
+#line 16872 "PhotoPage.c"
}
-#line 2642 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2631 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp2_ = app_window_get_instance ();
-#line 2642 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2631 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp3_ = _tmp2_;
-#line 2642 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2631 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp4_ = library_photo_global;
-#line 2642 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2631 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp5_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 2642 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2631 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp6_ = _tmp5_;
-#line 2642 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2631 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp7_ = photo;
-#line 2642 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2631 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp8_ = slideshow_page_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, TYPE_SOURCE_COLLECTION, SourceCollection), _tmp6_, G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, TYPE_PHOTO, Photo));
-#line 2642 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2631 "/home/jens/Source/shotwell/src/PhotoPage.vala"
g_object_ref_sink (_tmp8_);
-#line 2642 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2631 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp9_ = _tmp8_;
-#line 2642 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2631 "/home/jens/Source/shotwell/src/PhotoPage.vala"
app_window_go_fullscreen (_tmp3_, G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, TYPE_PAGE, Page));
-#line 2642 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2631 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp9_);
-#line 2642 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2631 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_data_collection_unref0 (_tmp6_);
-#line 2642 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2631 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp3_);
-#line 2637 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2626 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (photo);
-#line 16953 "PhotoPage.c"
+#line 16902 "PhotoPage.c"
}
@@ -16965,73 +16914,73 @@ static void library_photo_page_update_zoom_menu_item_sensitivity (LibraryPhotoPa
gboolean _tmp4_ = FALSE;
ZoomState _tmp5_ = {0};
gboolean _tmp6_ = FALSE;
-#line 2646 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2635 "/home/jens/Source/shotwell/src/PhotoPage.vala"
g_return_if_fail (IS_LIBRARY_PHOTO_PAGE (self));
-#line 2647 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2636 "/home/jens/Source/shotwell/src/PhotoPage.vala"
single_photo_page_get_zoom_state (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SINGLE_PHOTO_PAGE, SinglePhotoPage), &_tmp1_);
-#line 2647 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2636 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp2_ = zoom_state_is_max (&_tmp1_);
-#line 2647 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2636 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (!_tmp2_) {
-#line 16972 "PhotoPage.c"
+#line 16921 "PhotoPage.c"
gboolean _tmp3_ = FALSE;
-#line 2647 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2636 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp3_ = editing_host_page_get_photo_missing (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EDITING_HOST_PAGE, EditingHostPage));
-#line 2647 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2636 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp0_ = !_tmp3_;
-#line 16978 "PhotoPage.c"
+#line 16927 "PhotoPage.c"
} else {
-#line 2647 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2636 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp0_ = FALSE;
-#line 16982 "PhotoPage.c"
+#line 16931 "PhotoPage.c"
}
-#line 2647 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2636 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "IncreaseSize", _tmp0_);
-#line 2648 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2637 "/home/jens/Source/shotwell/src/PhotoPage.vala"
single_photo_page_get_zoom_state (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SINGLE_PHOTO_PAGE, SinglePhotoPage), &_tmp5_);
-#line 2648 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2637 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp6_ = zoom_state_is_default (&_tmp5_);
-#line 2648 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2637 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (!_tmp6_) {
-#line 16992 "PhotoPage.c"
+#line 16941 "PhotoPage.c"
gboolean _tmp7_ = FALSE;
-#line 2648 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2637 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp7_ = editing_host_page_get_photo_missing (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EDITING_HOST_PAGE, EditingHostPage));
-#line 2648 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2637 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp4_ = !_tmp7_;
-#line 16998 "PhotoPage.c"
+#line 16947 "PhotoPage.c"
} else {
-#line 2648 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2637 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp4_ = FALSE;
-#line 17002 "PhotoPage.c"
+#line 16951 "PhotoPage.c"
}
-#line 2648 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2637 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "DecreaseSize", _tmp4_);
-#line 17006 "PhotoPage.c"
+#line 16955 "PhotoPage.c"
}
static void library_photo_page_real_on_increase_size (EditingHostPage* base) {
LibraryPhotoPage * self;
-#line 2651 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2640 "/home/jens/Source/shotwell/src/PhotoPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_LIBRARY_PHOTO_PAGE, LibraryPhotoPage);
-#line 2652 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2641 "/home/jens/Source/shotwell/src/PhotoPage.vala"
EDITING_HOST_PAGE_CLASS (library_photo_page_parent_class)->on_increase_size (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EDITING_HOST_PAGE, EditingHostPage));
-#line 2654 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2643 "/home/jens/Source/shotwell/src/PhotoPage.vala"
library_photo_page_update_zoom_menu_item_sensitivity (self);
-#line 17018 "PhotoPage.c"
+#line 16967 "PhotoPage.c"
}
static void library_photo_page_real_on_decrease_size (EditingHostPage* base) {
LibraryPhotoPage * self;
-#line 2657 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2646 "/home/jens/Source/shotwell/src/PhotoPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_LIBRARY_PHOTO_PAGE, LibraryPhotoPage);
-#line 2658 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2647 "/home/jens/Source/shotwell/src/PhotoPage.vala"
EDITING_HOST_PAGE_CLASS (library_photo_page_parent_class)->on_decrease_size (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EDITING_HOST_PAGE, EditingHostPage));
-#line 2660 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2649 "/home/jens/Source/shotwell/src/PhotoPage.vala"
library_photo_page_update_zoom_menu_item_sensitivity (self);
-#line 17030 "PhotoPage.c"
+#line 16979 "PhotoPage.c"
}
@@ -17043,43 +16992,43 @@ static gboolean library_photo_page_real_on_zoom_slider_key_press (EditingHostPag
GdkEventKey* _tmp2_ = NULL;
guint _tmp3_ = 0U;
const gchar* _tmp4_ = NULL;
-#line 2663 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2652 "/home/jens/Source/shotwell/src/PhotoPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_LIBRARY_PHOTO_PAGE, LibraryPhotoPage);
-#line 2663 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2652 "/home/jens/Source/shotwell/src/PhotoPage.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 2664 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2653 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp0_ = event;
-#line 2664 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2653 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp1_ = EDITING_HOST_PAGE_CLASS (library_photo_page_parent_class)->on_zoom_slider_key_press (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EDITING_HOST_PAGE, EditingHostPage), _tmp0_);
-#line 2664 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2653 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp1_) {
-#line 2665 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2654 "/home/jens/Source/shotwell/src/PhotoPage.vala"
result = TRUE;
-#line 2665 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2654 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 17056 "PhotoPage.c"
+#line 17005 "PhotoPage.c"
}
-#line 2667 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2656 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp2_ = event;
-#line 2667 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2656 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp3_ = _tmp2_->keyval;
-#line 2667 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2656 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp4_ = gdk_keyval_name (_tmp3_);
-#line 2667 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2656 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (g_strcmp0 (_tmp4_, "Escape") == 0) {
-#line 2668 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2657 "/home/jens/Source/shotwell/src/PhotoPage.vala"
library_photo_page_return_to_collection (self);
-#line 2669 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2658 "/home/jens/Source/shotwell/src/PhotoPage.vala"
result = TRUE;
-#line 2669 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2658 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 17072 "PhotoPage.c"
+#line 17021 "PhotoPage.c"
} else {
-#line 2671 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2660 "/home/jens/Source/shotwell/src/PhotoPage.vala"
result = FALSE;
-#line 2671 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2660 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 17078 "PhotoPage.c"
+#line 17027 "PhotoPage.c"
}
}
@@ -17089,77 +17038,77 @@ static void library_photo_page_real_update_ui (EditingHostPage* base, gboolean m
gboolean sensitivity = FALSE;
gboolean _tmp0_ = FALSE;
gboolean _tmp1_ = FALSE;
-#line 2675 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2664 "/home/jens/Source/shotwell/src/PhotoPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_LIBRARY_PHOTO_PAGE, LibraryPhotoPage);
-#line 2676 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2665 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp0_ = missing;
-#line 2676 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2665 "/home/jens/Source/shotwell/src/PhotoPage.vala"
sensitivity = !_tmp0_;
-#line 2678 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2667 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "SendTo", sensitivity);
-#line 2679 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2668 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Publish", sensitivity);
-#line 2680 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2669 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Print", sensitivity);
-#line 2681 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2670 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "CommonJumpToFile", sensitivity);
-#line 2683 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2672 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "CommonUndo", sensitivity);
-#line 2684 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2673 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "CommonRedo", sensitivity);
-#line 2686 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2675 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "IncreaseSize", sensitivity);
-#line 2687 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2676 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "DecreaseSize", sensitivity);
-#line 2688 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2677 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "ZoomFit", sensitivity);
-#line 2689 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2678 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Zoom100", sensitivity);
-#line 2690 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2679 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Zoom200", sensitivity);
-#line 2691 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2680 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Slideshow", sensitivity);
-#line 2693 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2682 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RotateClockwise", sensitivity);
-#line 2694 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2683 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RotateCounterclockwise", sensitivity);
-#line 2695 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2684 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "FlipHorizontally", sensitivity);
-#line 2696 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2685 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "FlipVertically", sensitivity);
-#line 2697 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2686 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Enhance", sensitivity);
-#line 2698 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2687 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Crop", sensitivity);
-#line 2699 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2688 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RedEye", sensitivity);
-#line 2700 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2689 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Adjust", sensitivity);
-#line 2701 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2690 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "EditTitle", sensitivity);
-#line 2702 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2691 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "AdjustDateTime", sensitivity);
-#line 2703 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2692 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "ExternalEdit", sensitivity);
-#line 2704 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2693 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "ExternalEditRAW", sensitivity);
-#line 2705 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2694 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Revert", sensitivity);
-#line 2707 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2696 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Rate", sensitivity);
-#line 2708 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2697 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Flag", sensitivity);
-#line 2709 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2698 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "AddTags", sensitivity);
-#line 2710 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2699 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "ModifyTags", sensitivity);
-#line 2712 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2701 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "SetBackground", sensitivity);
-#line 2714 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2703 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp1_ = missing;
-#line 2714 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2703 "/home/jens/Source/shotwell/src/PhotoPage.vala"
EDITING_HOST_PAGE_CLASS (library_photo_page_parent_class)->update_ui (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EDITING_HOST_PAGE, EditingHostPage), _tmp1_);
-#line 17158 "PhotoPage.c"
+#line 17107 "PhotoPage.c"
}
@@ -17168,36 +17117,36 @@ static void library_photo_page_real_notify_photo_backing_missing (EditingHostPag
gboolean _tmp0_ = FALSE;
Photo* _tmp3_ = NULL;
gboolean _tmp4_ = FALSE;
-#line 2717 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2706 "/home/jens/Source/shotwell/src/PhotoPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_LIBRARY_PHOTO_PAGE, LibraryPhotoPage);
-#line 2717 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2706 "/home/jens/Source/shotwell/src/PhotoPage.vala"
g_return_if_fail (IS_PHOTO (photo));
-#line 2718 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2707 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp0_ = missing;
-#line 2718 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2707 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp0_) {
-#line 17175 "PhotoPage.c"
+#line 17124 "PhotoPage.c"
Photo* _tmp1_ = NULL;
-#line 2719 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2708 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp1_ = photo;
-#line 2719 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2708 "/home/jens/Source/shotwell/src/PhotoPage.vala"
media_source_mark_offline (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_LIBRARY_PHOTO, LibraryPhoto), TYPE_MEDIA_SOURCE, MediaSource));
-#line 17181 "PhotoPage.c"
+#line 17130 "PhotoPage.c"
} else {
Photo* _tmp2_ = NULL;
-#line 2721 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2710 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp2_ = photo;
-#line 2721 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2710 "/home/jens/Source/shotwell/src/PhotoPage.vala"
media_source_mark_online (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, TYPE_LIBRARY_PHOTO, LibraryPhoto), TYPE_MEDIA_SOURCE, MediaSource));
-#line 17188 "PhotoPage.c"
+#line 17137 "PhotoPage.c"
}
-#line 2723 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2712 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp3_ = photo;
-#line 2723 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2712 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp4_ = missing;
-#line 2723 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2712 "/home/jens/Source/shotwell/src/PhotoPage.vala"
EDITING_HOST_PAGE_CLASS (library_photo_page_parent_class)->notify_photo_backing_missing (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EDITING_HOST_PAGE, EditingHostPage), _tmp3_, _tmp4_);
-#line 17196 "PhotoPage.c"
+#line 17145 "PhotoPage.c"
}
@@ -17211,300 +17160,300 @@ static gboolean library_photo_page_real_key_press_event (GtkWidget* base, GdkEve
const gchar* _tmp5_ = NULL;
const gchar* _tmp6_ = NULL;
GQuark _tmp8_ = 0U;
-#line 2731 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2720 "/home/jens/Source/shotwell/src/PhotoPage.vala"
static GQuark _tmp7_label0 = 0;
-#line 2731 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2720 "/home/jens/Source/shotwell/src/PhotoPage.vala"
static GQuark _tmp7_label1 = 0;
-#line 2731 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2720 "/home/jens/Source/shotwell/src/PhotoPage.vala"
static GQuark _tmp7_label2 = 0;
-#line 2731 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2720 "/home/jens/Source/shotwell/src/PhotoPage.vala"
static GQuark _tmp7_label3 = 0;
-#line 2731 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2720 "/home/jens/Source/shotwell/src/PhotoPage.vala"
static GQuark _tmp7_label4 = 0;
-#line 2731 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2720 "/home/jens/Source/shotwell/src/PhotoPage.vala"
static GQuark _tmp7_label5 = 0;
-#line 2731 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2720 "/home/jens/Source/shotwell/src/PhotoPage.vala"
static GQuark _tmp7_label6 = 0;
-#line 2731 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2720 "/home/jens/Source/shotwell/src/PhotoPage.vala"
static GQuark _tmp7_label7 = 0;
-#line 2731 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2720 "/home/jens/Source/shotwell/src/PhotoPage.vala"
static GQuark _tmp7_label8 = 0;
-#line 2731 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2720 "/home/jens/Source/shotwell/src/PhotoPage.vala"
static GQuark _tmp7_label9 = 0;
-#line 2731 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2720 "/home/jens/Source/shotwell/src/PhotoPage.vala"
static GQuark _tmp7_label10 = 0;
-#line 2731 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2720 "/home/jens/Source/shotwell/src/PhotoPage.vala"
static GQuark _tmp7_label11 = 0;
-#line 2731 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2720 "/home/jens/Source/shotwell/src/PhotoPage.vala"
static GQuark _tmp7_label12 = 0;
-#line 2731 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2720 "/home/jens/Source/shotwell/src/PhotoPage.vala"
static GQuark _tmp7_label13 = 0;
-#line 2731 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2720 "/home/jens/Source/shotwell/src/PhotoPage.vala"
static GQuark _tmp7_label14 = 0;
-#line 2731 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2720 "/home/jens/Source/shotwell/src/PhotoPage.vala"
static GQuark _tmp7_label15 = 0;
-#line 2731 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2720 "/home/jens/Source/shotwell/src/PhotoPage.vala"
static GQuark _tmp7_label16 = 0;
-#line 2731 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2720 "/home/jens/Source/shotwell/src/PhotoPage.vala"
static GQuark _tmp7_label17 = 0;
-#line 2726 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2715 "/home/jens/Source/shotwell/src/PhotoPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_LIBRARY_PHOTO_PAGE, LibraryPhotoPage);
-#line 2726 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2715 "/home/jens/Source/shotwell/src/PhotoPage.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 2727 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2716 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (GTK_WIDGET_CLASS (library_photo_page_parent_class)->key_press_event != NULL) {
-#line 17252 "PhotoPage.c"
+#line 17201 "PhotoPage.c"
GdkEventKey* _tmp1_ = NULL;
gboolean _tmp2_ = FALSE;
-#line 2727 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2716 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp1_ = event;
-#line 2727 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2716 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp2_ = GTK_WIDGET_CLASS (library_photo_page_parent_class)->key_press_event (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EDITING_HOST_PAGE, EditingHostPage), gtk_widget_get_type (), GtkWidget), _tmp1_);
-#line 2727 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2716 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp0_ = _tmp2_ == TRUE;
-#line 17261 "PhotoPage.c"
+#line 17210 "PhotoPage.c"
} else {
-#line 2727 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2716 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp0_ = FALSE;
-#line 17265 "PhotoPage.c"
+#line 17214 "PhotoPage.c"
}
-#line 2727 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2716 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp0_) {
-#line 2728 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2717 "/home/jens/Source/shotwell/src/PhotoPage.vala"
result = TRUE;
-#line 2728 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2717 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 17273 "PhotoPage.c"
+#line 17222 "PhotoPage.c"
}
-#line 2730 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2719 "/home/jens/Source/shotwell/src/PhotoPage.vala"
handled = TRUE;
-#line 2731 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2720 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp3_ = event;
-#line 2731 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2720 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp4_ = _tmp3_->keyval;
-#line 2731 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2720 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp5_ = gdk_keyval_name (_tmp4_);
-#line 2731 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2720 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp6_ = _tmp5_;
-#line 2731 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2720 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp8_ = (NULL == _tmp6_) ? 0 : g_quark_from_string (_tmp6_);
-#line 2731 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2720 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (((_tmp8_ == ((0 != _tmp7_label0) ? _tmp7_label0 : (_tmp7_label0 = g_quark_from_static_string ("Escape")))) || (_tmp8_ == ((0 != _tmp7_label1) ? _tmp7_label1 : (_tmp7_label1 = g_quark_from_static_string ("Return"))))) || (_tmp8_ == ((0 != _tmp7_label2) ? _tmp7_label2 : (_tmp7_label2 = g_quark_from_static_string ("KP_Enter"))))) {
-#line 2731 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2720 "/home/jens/Source/shotwell/src/PhotoPage.vala"
switch (0) {
-#line 17291 "PhotoPage.c"
+#line 17240 "PhotoPage.c"
default:
{
GtkWindow* _tmp9_ = NULL;
GtkWindow* _tmp10_ = NULL;
gboolean _tmp11_ = FALSE;
-#line 2735 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2724 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp9_ = page_get_container (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 2735 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2724 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp10_ = _tmp9_;
-#line 2735 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2724 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp11_ = !G_TYPE_CHECK_INSTANCE_TYPE (_tmp10_, TYPE_FULLSCREEN_WINDOW);
-#line 2735 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2724 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp10_);
-#line 2735 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2724 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp11_) {
-#line 2736 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2725 "/home/jens/Source/shotwell/src/PhotoPage.vala"
library_photo_page_return_to_collection (self);
-#line 17309 "PhotoPage.c"
+#line 17258 "PhotoPage.c"
}
-#line 2737 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2726 "/home/jens/Source/shotwell/src/PhotoPage.vala"
break;
-#line 17313 "PhotoPage.c"
+#line 17262 "PhotoPage.c"
}
}
} else if (_tmp8_ == ((0 != _tmp7_label3) ? _tmp7_label3 : (_tmp7_label3 = g_quark_from_static_string ("Delete")))) {
-#line 2731 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2720 "/home/jens/Source/shotwell/src/PhotoPage.vala"
switch (0) {
-#line 17319 "PhotoPage.c"
+#line 17268 "PhotoPage.c"
default:
{
-#line 2743 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2732 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_activate_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "MoveToTrash");
-#line 2744 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2733 "/home/jens/Source/shotwell/src/PhotoPage.vala"
break;
-#line 17326 "PhotoPage.c"
+#line 17275 "PhotoPage.c"
}
}
} else if ((_tmp8_ == ((0 != _tmp7_label4) ? _tmp7_label4 : (_tmp7_label4 = g_quark_from_static_string ("period")))) || (_tmp8_ == ((0 != _tmp7_label5) ? _tmp7_label5 : (_tmp7_label5 = g_quark_from_static_string ("greater"))))) {
-#line 2731 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2720 "/home/jens/Source/shotwell/src/PhotoPage.vala"
switch (0) {
-#line 17332 "PhotoPage.c"
+#line 17281 "PhotoPage.c"
default:
{
-#line 2748 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2737 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_activate_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "IncreaseRating");
-#line 2749 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2738 "/home/jens/Source/shotwell/src/PhotoPage.vala"
break;
-#line 17339 "PhotoPage.c"
+#line 17288 "PhotoPage.c"
}
}
} else if ((_tmp8_ == ((0 != _tmp7_label6) ? _tmp7_label6 : (_tmp7_label6 = g_quark_from_static_string ("comma")))) || (_tmp8_ == ((0 != _tmp7_label7) ? _tmp7_label7 : (_tmp7_label7 = g_quark_from_static_string ("less"))))) {
-#line 2731 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2720 "/home/jens/Source/shotwell/src/PhotoPage.vala"
switch (0) {
-#line 17345 "PhotoPage.c"
+#line 17294 "PhotoPage.c"
default:
{
-#line 2753 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2742 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_activate_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "DecreaseRating");
-#line 2754 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2743 "/home/jens/Source/shotwell/src/PhotoPage.vala"
break;
-#line 17352 "PhotoPage.c"
+#line 17301 "PhotoPage.c"
}
}
} else if (_tmp8_ == ((0 != _tmp7_label8) ? _tmp7_label8 : (_tmp7_label8 = g_quark_from_static_string ("KP_1")))) {
-#line 2731 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2720 "/home/jens/Source/shotwell/src/PhotoPage.vala"
switch (0) {
-#line 17358 "PhotoPage.c"
+#line 17307 "PhotoPage.c"
default:
{
-#line 2757 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2746 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_activate_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RateOne");
-#line 2758 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2747 "/home/jens/Source/shotwell/src/PhotoPage.vala"
break;
-#line 17365 "PhotoPage.c"
+#line 17314 "PhotoPage.c"
}
}
} else if (_tmp8_ == ((0 != _tmp7_label9) ? _tmp7_label9 : (_tmp7_label9 = g_quark_from_static_string ("KP_2")))) {
-#line 2731 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2720 "/home/jens/Source/shotwell/src/PhotoPage.vala"
switch (0) {
-#line 17371 "PhotoPage.c"
+#line 17320 "PhotoPage.c"
default:
{
-#line 2761 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2750 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_activate_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RateTwo");
-#line 2762 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2751 "/home/jens/Source/shotwell/src/PhotoPage.vala"
break;
-#line 17378 "PhotoPage.c"
+#line 17327 "PhotoPage.c"
}
}
} else if (_tmp8_ == ((0 != _tmp7_label10) ? _tmp7_label10 : (_tmp7_label10 = g_quark_from_static_string ("KP_3")))) {
-#line 2731 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2720 "/home/jens/Source/shotwell/src/PhotoPage.vala"
switch (0) {
-#line 17384 "PhotoPage.c"
+#line 17333 "PhotoPage.c"
default:
{
-#line 2765 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2754 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_activate_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RateThree");
-#line 2766 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2755 "/home/jens/Source/shotwell/src/PhotoPage.vala"
break;
-#line 17391 "PhotoPage.c"
+#line 17340 "PhotoPage.c"
}
}
} else if (_tmp8_ == ((0 != _tmp7_label11) ? _tmp7_label11 : (_tmp7_label11 = g_quark_from_static_string ("KP_4")))) {
-#line 2731 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2720 "/home/jens/Source/shotwell/src/PhotoPage.vala"
switch (0) {
-#line 17397 "PhotoPage.c"
+#line 17346 "PhotoPage.c"
default:
{
-#line 2769 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2758 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_activate_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RateFour");
-#line 2770 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2759 "/home/jens/Source/shotwell/src/PhotoPage.vala"
break;
-#line 17404 "PhotoPage.c"
+#line 17353 "PhotoPage.c"
}
}
} else if (_tmp8_ == ((0 != _tmp7_label12) ? _tmp7_label12 : (_tmp7_label12 = g_quark_from_static_string ("KP_5")))) {
-#line 2731 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2720 "/home/jens/Source/shotwell/src/PhotoPage.vala"
switch (0) {
-#line 17410 "PhotoPage.c"
+#line 17359 "PhotoPage.c"
default:
{
-#line 2773 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2762 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_activate_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RateFive");
-#line 2774 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2763 "/home/jens/Source/shotwell/src/PhotoPage.vala"
break;
-#line 17417 "PhotoPage.c"
+#line 17366 "PhotoPage.c"
}
}
} else if (_tmp8_ == ((0 != _tmp7_label13) ? _tmp7_label13 : (_tmp7_label13 = g_quark_from_static_string ("KP_0")))) {
-#line 2731 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2720 "/home/jens/Source/shotwell/src/PhotoPage.vala"
switch (0) {
-#line 17423 "PhotoPage.c"
+#line 17372 "PhotoPage.c"
default:
{
-#line 2777 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2766 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_activate_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RateUnrated");
-#line 2778 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2767 "/home/jens/Source/shotwell/src/PhotoPage.vala"
break;
-#line 17430 "PhotoPage.c"
+#line 17379 "PhotoPage.c"
}
}
} else if (_tmp8_ == ((0 != _tmp7_label14) ? _tmp7_label14 : (_tmp7_label14 = g_quark_from_static_string ("KP_9")))) {
-#line 2731 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2720 "/home/jens/Source/shotwell/src/PhotoPage.vala"
switch (0) {
-#line 17436 "PhotoPage.c"
+#line 17385 "PhotoPage.c"
default:
{
-#line 2781 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2770 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_activate_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RateRejected");
-#line 2782 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2771 "/home/jens/Source/shotwell/src/PhotoPage.vala"
break;
-#line 17443 "PhotoPage.c"
+#line 17392 "PhotoPage.c"
}
}
} else if (_tmp8_ == ((0 != _tmp7_label15) ? _tmp7_label15 : (_tmp7_label15 = g_quark_from_static_string ("bracketright")))) {
-#line 2731 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2720 "/home/jens/Source/shotwell/src/PhotoPage.vala"
switch (0) {
-#line 17449 "PhotoPage.c"
+#line 17398 "PhotoPage.c"
default:
{
-#line 2785 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2774 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_activate_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RotateClockwise");
-#line 2786 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2775 "/home/jens/Source/shotwell/src/PhotoPage.vala"
break;
-#line 17456 "PhotoPage.c"
+#line 17405 "PhotoPage.c"
}
}
} else if (_tmp8_ == ((0 != _tmp7_label16) ? _tmp7_label16 : (_tmp7_label16 = g_quark_from_static_string ("bracketleft")))) {
-#line 2731 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2720 "/home/jens/Source/shotwell/src/PhotoPage.vala"
switch (0) {
-#line 17462 "PhotoPage.c"
+#line 17411 "PhotoPage.c"
default:
{
-#line 2789 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2778 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_activate_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RotateCounterclockwise");
-#line 2790 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2779 "/home/jens/Source/shotwell/src/PhotoPage.vala"
break;
-#line 17469 "PhotoPage.c"
+#line 17418 "PhotoPage.c"
}
}
} else if (_tmp8_ == ((0 != _tmp7_label17) ? _tmp7_label17 : (_tmp7_label17 = g_quark_from_static_string ("slash")))) {
-#line 2731 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2720 "/home/jens/Source/shotwell/src/PhotoPage.vala"
switch (0) {
-#line 17475 "PhotoPage.c"
+#line 17424 "PhotoPage.c"
default:
{
-#line 2793 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2782 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_activate_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "Flag");
-#line 2794 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2783 "/home/jens/Source/shotwell/src/PhotoPage.vala"
break;
-#line 17482 "PhotoPage.c"
+#line 17431 "PhotoPage.c"
}
}
} else {
-#line 2731 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2720 "/home/jens/Source/shotwell/src/PhotoPage.vala"
switch (0) {
-#line 17488 "PhotoPage.c"
+#line 17437 "PhotoPage.c"
default:
{
-#line 2797 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2786 "/home/jens/Source/shotwell/src/PhotoPage.vala"
handled = FALSE;
-#line 2798 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2787 "/home/jens/Source/shotwell/src/PhotoPage.vala"
break;
-#line 17495 "PhotoPage.c"
+#line 17444 "PhotoPage.c"
}
}
}
-#line 2801 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2790 "/home/jens/Source/shotwell/src/PhotoPage.vala"
result = handled;
-#line 2801 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2790 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 17503 "PhotoPage.c"
+#line 17452 "PhotoPage.c"
}
@@ -17515,44 +17464,44 @@ static gboolean library_photo_page_real_on_double_click (EditingHostPage* base,
GtkWindow* _tmp0_ = NULL;
FullscreenWindow* _tmp1_ = NULL;
FullscreenWindow* _tmp2_ = NULL;
-#line 2804 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2793 "/home/jens/Source/shotwell/src/PhotoPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_LIBRARY_PHOTO_PAGE, LibraryPhotoPage);
-#line 2804 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2793 "/home/jens/Source/shotwell/src/PhotoPage.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 2805 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2794 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp0_ = page_get_container (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 2805 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2794 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp1_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp0_, TYPE_FULLSCREEN_WINDOW) ? ((FullscreenWindow*) _tmp0_) : NULL;
-#line 2805 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2794 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp1_ == NULL) {
-#line 2805 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2794 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp0_);
-#line 17526 "PhotoPage.c"
+#line 17475 "PhotoPage.c"
}
-#line 2805 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2794 "/home/jens/Source/shotwell/src/PhotoPage.vala"
fs = _tmp1_;
-#line 2806 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2795 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp2_ = fs;
-#line 2806 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2795 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp2_ == NULL) {
-#line 2807 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2796 "/home/jens/Source/shotwell/src/PhotoPage.vala"
self->priv->return_to_collection_on_release = TRUE;
-#line 17536 "PhotoPage.c"
+#line 17485 "PhotoPage.c"
} else {
FullscreenWindow* _tmp3_ = NULL;
-#line 2809 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2798 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp3_ = fs;
-#line 2809 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2798 "/home/jens/Source/shotwell/src/PhotoPage.vala"
fullscreen_window_close (_tmp3_);
-#line 17543 "PhotoPage.c"
+#line 17492 "PhotoPage.c"
}
-#line 2811 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2800 "/home/jens/Source/shotwell/src/PhotoPage.vala"
result = TRUE;
-#line 2811 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2800 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (fs);
-#line 2811 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2800 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 17551 "PhotoPage.c"
+#line 17500 "PhotoPage.c"
}
@@ -17562,33 +17511,33 @@ static gboolean library_photo_page_real_on_left_released (Page* base, GdkEventBu
gboolean _tmp0_ = FALSE;
GdkEventButton* _tmp1_ = NULL;
gboolean _tmp2_ = FALSE;
-#line 2814 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2803 "/home/jens/Source/shotwell/src/PhotoPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_LIBRARY_PHOTO_PAGE, LibraryPhotoPage);
-#line 2814 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2803 "/home/jens/Source/shotwell/src/PhotoPage.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 2815 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2804 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp0_ = self->priv->return_to_collection_on_release;
-#line 2815 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2804 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp0_) {
-#line 2816 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2805 "/home/jens/Source/shotwell/src/PhotoPage.vala"
self->priv->return_to_collection_on_release = FALSE;
-#line 2817 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2806 "/home/jens/Source/shotwell/src/PhotoPage.vala"
library_photo_page_return_to_collection (self);
-#line 2819 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2808 "/home/jens/Source/shotwell/src/PhotoPage.vala"
result = TRUE;
-#line 2819 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2808 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 17577 "PhotoPage.c"
+#line 17526 "PhotoPage.c"
}
-#line 2822 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2811 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp1_ = event;
-#line 2822 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2811 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp2_ = PAGE_CLASS (library_photo_page_parent_class)->on_left_released (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EDITING_HOST_PAGE, EditingHostPage), TYPE_PAGE, Page), _tmp1_);
-#line 2822 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2811 "/home/jens/Source/shotwell/src/PhotoPage.vala"
result = _tmp2_;
-#line 2822 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2811 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 17587 "PhotoPage.c"
+#line 17536 "PhotoPage.c"
}
@@ -17597,13 +17546,13 @@ static GtkMenu* library_photo_page_get_context_menu (LibraryPhotoPage* self) {
GtkMenu* _tmp0_ = NULL;
GtkMenu* _tmp7_ = NULL;
GtkMenu* _tmp8_ = NULL;
-#line 2827 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2816 "/home/jens/Source/shotwell/src/PhotoPage.vala"
g_return_val_if_fail (IS_LIBRARY_PHOTO_PAGE (self), NULL);
-#line 2828 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2817 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp0_ = self->priv->context_menu;
-#line 2828 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2817 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp0_ == NULL) {
-#line 17602 "PhotoPage.c"
+#line 17551 "PhotoPage.c"
GMenuModel* model = NULL;
GtkBuilder* _tmp1_ = NULL;
GObject* _tmp2_ = NULL;
@@ -17611,41 +17560,41 @@ static GtkMenu* library_photo_page_get_context_menu (LibraryPhotoPage* self) {
GMenuModel* _tmp4_ = NULL;
GtkMenu* _tmp5_ = NULL;
GtkMenu* _tmp6_ = NULL;
-#line 2829 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2818 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp1_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page)->builder;
-#line 2829 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2818 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp2_ = gtk_builder_get_object (_tmp1_, "PhotoContextMenu");
-#line 2829 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2818 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp3_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp2_, g_menu_model_get_type ()) ? ((GMenuModel*) _tmp2_) : NULL);
-#line 2829 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2818 "/home/jens/Source/shotwell/src/PhotoPage.vala"
model = _tmp3_;
-#line 2831 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2820 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp4_ = model;
-#line 2831 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2820 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp5_ = (GtkMenu*) gtk_menu_new_from_model (_tmp4_);
-#line 2831 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2820 "/home/jens/Source/shotwell/src/PhotoPage.vala"
g_object_ref_sink (_tmp5_);
-#line 2831 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2820 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (self->priv->context_menu);
-#line 2831 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2820 "/home/jens/Source/shotwell/src/PhotoPage.vala"
self->priv->context_menu = _tmp5_;
-#line 2832 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2821 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp6_ = self->priv->context_menu;
-#line 2832 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2821 "/home/jens/Source/shotwell/src/PhotoPage.vala"
gtk_menu_attach_to_widget (_tmp6_, G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), NULL);
-#line 2828 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2817 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (model);
-#line 17634 "PhotoPage.c"
+#line 17583 "PhotoPage.c"
}
-#line 2835 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2824 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp7_ = self->priv->context_menu;
-#line 2835 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2824 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp8_ = _g_object_ref0 (_tmp7_);
-#line 2835 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2824 "/home/jens/Source/shotwell/src/PhotoPage.vala"
result = _tmp8_;
-#line 2835 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2824 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 17644 "PhotoPage.c"
+#line 17593 "PhotoPage.c"
}
@@ -17655,25 +17604,25 @@ static gboolean library_photo_page_real_on_context_buttonpress (Page* base, GdkE
GtkMenu* _tmp0_ = NULL;
GtkMenu* _tmp1_ = NULL;
GdkEventButton* _tmp2_ = NULL;
-#line 2838 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2827 "/home/jens/Source/shotwell/src/PhotoPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_LIBRARY_PHOTO_PAGE, LibraryPhotoPage);
-#line 2838 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2827 "/home/jens/Source/shotwell/src/PhotoPage.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 2839 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2828 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp0_ = library_photo_page_get_context_menu (self);
-#line 2839 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2828 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp1_ = _tmp0_;
-#line 2839 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2828 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp2_ = event;
-#line 2839 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2828 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_popup_context_menu (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), _tmp1_, _tmp2_);
-#line 2839 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2828 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp1_);
-#line 2841 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2830 "/home/jens/Source/shotwell/src/PhotoPage.vala"
result = TRUE;
-#line 2841 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2830 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 17672 "PhotoPage.c"
+#line 17621 "PhotoPage.c"
}
@@ -17682,59 +17631,59 @@ static gboolean library_photo_page_real_on_context_keypress (Page* base) {
gboolean result = FALSE;
GtkMenu* _tmp0_ = NULL;
GtkMenu* _tmp1_ = NULL;
-#line 2844 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2833 "/home/jens/Source/shotwell/src/PhotoPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_LIBRARY_PHOTO_PAGE, LibraryPhotoPage);
-#line 2845 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2834 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp0_ = library_photo_page_get_context_menu (self);
-#line 2845 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2834 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp1_ = _tmp0_;
-#line 2845 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2834 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_popup_context_menu (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), _tmp1_, NULL);
-#line 2845 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2834 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp1_);
-#line 2847 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2836 "/home/jens/Source/shotwell/src/PhotoPage.vala"
result = TRUE;
-#line 2847 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2836 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 17695 "PhotoPage.c"
+#line 17644 "PhotoPage.c"
}
static void library_photo_page_return_to_collection (LibraryPhotoPage* self) {
CollectionPage* _tmp0_ = NULL;
-#line 2850 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2839 "/home/jens/Source/shotwell/src/PhotoPage.vala"
g_return_if_fail (IS_LIBRARY_PHOTO_PAGE (self));
-#line 2852 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2841 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp0_ = self->priv->return_page;
-#line 2852 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2841 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (NULL != _tmp0_) {
-#line 17707 "PhotoPage.c"
+#line 17656 "PhotoPage.c"
LibraryWindow* _tmp1_ = NULL;
LibraryWindow* _tmp2_ = NULL;
CollectionPage* _tmp3_ = NULL;
-#line 2853 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2842 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp1_ = library_window_get_app ();
-#line 2853 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2842 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp2_ = _tmp1_;
-#line 2853 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2842 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp3_ = self->priv->return_page;
-#line 2853 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2842 "/home/jens/Source/shotwell/src/PhotoPage.vala"
library_window_switch_to_page (_tmp2_, G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, TYPE_PAGE, Page));
-#line 2853 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2842 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp2_);
-#line 17721 "PhotoPage.c"
+#line 17670 "PhotoPage.c"
} else {
LibraryWindow* _tmp4_ = NULL;
LibraryWindow* _tmp5_ = NULL;
-#line 2855 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2844 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp4_ = library_window_get_app ();
-#line 2855 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2844 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp5_ = _tmp4_;
-#line 2855 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2844 "/home/jens/Source/shotwell/src/PhotoPage.vala"
library_window_switch_to_library_page (_tmp5_);
-#line 2855 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2844 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp5_);
-#line 17733 "PhotoPage.c"
+#line 17682 "PhotoPage.c"
}
}
@@ -17746,29 +17695,29 @@ static void library_photo_page_on_remove_from_library (LibraryPhotoPage* self) {
GeeArrayList* _tmp1_ = NULL;
const gchar* _tmp2_ = NULL;
const gchar* _tmp3_ = NULL;
-#line 2858 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2847 "/home/jens/Source/shotwell/src/PhotoPage.vala"
g_return_if_fail (IS_LIBRARY_PHOTO_PAGE (self));
-#line 2859 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2848 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp0_ = editing_host_page_get_photo (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EDITING_HOST_PAGE, EditingHostPage));
-#line 2859 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2848 "/home/jens/Source/shotwell/src/PhotoPage.vala"
photo = G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_LIBRARY_PHOTO, LibraryPhoto);
-#line 2861 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2850 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp1_ = gee_array_list_new (TYPE_LIBRARY_PHOTO, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL);
-#line 2861 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2850 "/home/jens/Source/shotwell/src/PhotoPage.vala"
photos = G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, GEE_TYPE_COLLECTION, GeeCollection);
-#line 2862 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2851 "/home/jens/Source/shotwell/src/PhotoPage.vala"
gee_collection_add (photos, photo);
-#line 2864 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2853 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp2_ = _ ("Remove From Library");
-#line 2864 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2853 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp3_ = _ ("Removing Photo From Library");
-#line 2864 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2853 "/home/jens/Source/shotwell/src/PhotoPage.vala"
remove_from_app (photos, _tmp2_, _tmp3_);
-#line 2858 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2847 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (photos);
-#line 2858 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2847 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (photo);
-#line 17767 "PhotoPage.c"
+#line 17716 "PhotoPage.c"
}
@@ -17793,64 +17742,64 @@ static void library_photo_page_on_move_to_trash (LibraryPhotoPage* self) {
TrashUntrashPhotosCommand* _tmp26_ = NULL;
LibraryWindow* _tmp27_ = NULL;
LibraryWindow* _tmp28_ = NULL;
-#line 2867 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2856 "/home/jens/Source/shotwell/src/PhotoPage.vala"
g_return_if_fail (IS_LIBRARY_PHOTO_PAGE (self));
-#line 2868 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2857 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp0_ = editing_host_page_has_photo (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EDITING_HOST_PAGE, EditingHostPage));
-#line 2868 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2857 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (!_tmp0_) {
-#line 2869 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2858 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return;
-#line 17800 "PhotoPage.c"
+#line 17749 "PhotoPage.c"
}
-#line 2876 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2865 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp1_ = self->priv->return_page;
-#line 2876 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2865 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, TYPE_EVENT_PAGE)) {
-#line 17806 "PhotoPage.c"
+#line 17755 "PhotoPage.c"
LibraryWindow* _tmp2_ = NULL;
LibraryWindow* _tmp3_ = NULL;
-#line 2877 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2866 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp2_ = library_window_get_app ();
-#line 2877 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2866 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp3_ = _tmp2_;
-#line 2877 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2866 "/home/jens/Source/shotwell/src/PhotoPage.vala"
library_window_set_page_switching_enabled (_tmp3_, FALSE);
-#line 2877 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2866 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp3_);
-#line 17817 "PhotoPage.c"
+#line 17766 "PhotoPage.c"
}
-#line 2880 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2869 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp4_ = editing_host_page_get_photo (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EDITING_HOST_PAGE, EditingHostPage));
-#line 2880 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2869 "/home/jens/Source/shotwell/src/PhotoPage.vala"
photo = G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, TYPE_LIBRARY_PHOTO, LibraryPhoto);
-#line 2882 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2871 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp5_ = gee_array_list_new (TYPE_LIBRARY_PHOTO, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL);
-#line 2882 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2871 "/home/jens/Source/shotwell/src/PhotoPage.vala"
photos = G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, GEE_TYPE_COLLECTION, GeeCollection);
-#line 2883 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2872 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp6_ = photos;
-#line 2883 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2872 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp7_ = photo;
-#line 2883 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2872 "/home/jens/Source/shotwell/src/PhotoPage.vala"
gee_collection_add (_tmp6_, _tmp7_);
-#line 2886 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2875 "/home/jens/Source/shotwell/src/PhotoPage.vala"
single_photo_page_on_next_photo (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SINGLE_PHOTO_PAGE, SinglePhotoPage));
-#line 2890 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2879 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp8_ = photo;
-#line 2890 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2879 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp9_ = editing_host_page_get_photo (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EDITING_HOST_PAGE, EditingHostPage));
-#line 2890 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2879 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp10_ = _tmp9_;
-#line 2890 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2879 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp11_ = data_source_equals (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, TYPE_DATA_SOURCE, DataSource), G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, TYPE_DATA_SOURCE, DataSource));
-#line 2890 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2879 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp12_ = _tmp11_;
-#line 2890 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2879 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp10_);
-#line 2890 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2879 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp12_) {
-#line 17849 "PhotoPage.c"
+#line 17798 "PhotoPage.c"
LibraryWindow* _tmp13_ = NULL;
LibraryWindow* _tmp14_ = NULL;
GtkWindow* _tmp15_ = NULL;
@@ -17858,88 +17807,88 @@ static void library_photo_page_on_move_to_trash (LibraryPhotoPage* self) {
gboolean _tmp17_ = FALSE;
LibraryWindow* _tmp20_ = NULL;
LibraryWindow* _tmp21_ = NULL;
-#line 2893 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2882 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp13_ = library_window_get_app ();
-#line 2893 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2882 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp14_ = _tmp13_;
-#line 2893 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2882 "/home/jens/Source/shotwell/src/PhotoPage.vala"
library_window_set_page_switching_enabled (_tmp14_, TRUE);
-#line 2893 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2882 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp14_);
-#line 2895 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2884 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp15_ = page_get_container (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 2895 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2884 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp16_ = _tmp15_;
-#line 2895 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2884 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp17_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp16_, TYPE_FULLSCREEN_WINDOW);
-#line 2895 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2884 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp16_);
-#line 2895 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2884 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp17_) {
-#line 17875 "PhotoPage.c"
+#line 17824 "PhotoPage.c"
GtkWindow* _tmp18_ = NULL;
FullscreenWindow* _tmp19_ = NULL;
-#line 2896 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2885 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp18_ = page_get_container (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 2896 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2885 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp19_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, TYPE_FULLSCREEN_WINDOW, FullscreenWindow);
-#line 2896 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2885 "/home/jens/Source/shotwell/src/PhotoPage.vala"
fullscreen_window_close (_tmp19_);
-#line 2896 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2885 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp19_);
-#line 17886 "PhotoPage.c"
+#line 17835 "PhotoPage.c"
}
-#line 2898 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2887 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp20_ = library_window_get_app ();
-#line 2898 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2887 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp21_ = _tmp20_;
-#line 2898 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2887 "/home/jens/Source/shotwell/src/PhotoPage.vala"
library_window_switch_to_library_page (_tmp21_);
-#line 2898 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2887 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp21_);
-#line 17896 "PhotoPage.c"
+#line 17845 "PhotoPage.c"
}
-#line 2901 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2890 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp22_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 2901 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2890 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp23_ = _tmp22_;
-#line 2901 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2890 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp24_ = photos;
-#line 2901 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2890 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp25_ = trash_untrash_photos_command_new (_tmp24_, TRUE);
-#line 2901 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2890 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp26_ = _tmp25_;
-#line 2901 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2890 "/home/jens/Source/shotwell/src/PhotoPage.vala"
command_manager_execute (_tmp23_, G_TYPE_CHECK_INSTANCE_CAST (_tmp26_, TYPE_COMMAND, Command));
-#line 2901 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2890 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp26_);
-#line 2901 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2890 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_command_manager_unref0 (_tmp23_);
-#line 2902 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2891 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp27_ = library_window_get_app ();
-#line 2902 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2891 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp28_ = _tmp27_;
-#line 2902 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2891 "/home/jens/Source/shotwell/src/PhotoPage.vala"
library_window_set_page_switching_enabled (_tmp28_, TRUE);
-#line 2902 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2891 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp28_);
-#line 2867 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2856 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (photos);
-#line 2867 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2856 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (photo);
-#line 17926 "PhotoPage.c"
+#line 17875 "PhotoPage.c"
}
static void library_photo_page_on_flag_unflag (LibraryPhotoPage* self) {
gboolean _tmp0_ = FALSE;
-#line 2905 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2894 "/home/jens/Source/shotwell/src/PhotoPage.vala"
g_return_if_fail (IS_LIBRARY_PHOTO_PAGE (self));
-#line 2906 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2895 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp0_ = editing_host_page_has_photo (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EDITING_HOST_PAGE, EditingHostPage));
-#line 2906 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2895 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp0_) {
-#line 17938 "PhotoPage.c"
+#line 17887 "PhotoPage.c"
GeeArrayList* photo_list = NULL;
GeeArrayList* _tmp1_ = NULL;
GeeArrayList* _tmp2_ = NULL;
@@ -17953,62 +17902,62 @@ static void library_photo_page_on_flag_unflag (LibraryPhotoPage* self) {
gboolean _tmp10_ = FALSE;
FlagUnflagCommand* _tmp11_ = NULL;
FlagUnflagCommand* _tmp12_ = NULL;
-#line 2907 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2896 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp1_ = gee_array_list_new (TYPE_MEDIA_SOURCE, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL);
-#line 2907 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2896 "/home/jens/Source/shotwell/src/PhotoPage.vala"
photo_list = _tmp1_;
-#line 2908 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2897 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp2_ = photo_list;
-#line 2908 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2897 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp3_ = editing_host_page_get_photo (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EDITING_HOST_PAGE, EditingHostPage));
-#line 2908 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2897 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp4_ = _tmp3_;
-#line 2908 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2897 "/home/jens/Source/shotwell/src/PhotoPage.vala"
gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, TYPE_MEDIA_SOURCE, MediaSource));
-#line 2908 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2897 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp4_);
-#line 2909 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2898 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp5_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 2909 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2898 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp6_ = _tmp5_;
-#line 2909 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2898 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp7_ = photo_list;
-#line 2909 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2898 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp8_ = editing_host_page_get_photo (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EDITING_HOST_PAGE, EditingHostPage));
-#line 2909 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2898 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp9_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, TYPE_LIBRARY_PHOTO, LibraryPhoto);
-#line 2909 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2898 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp10_ = flaggable_is_flagged (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, TYPE_FLAGGABLE, Flaggable));
-#line 2909 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2898 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp11_ = flag_unflag_command_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, GEE_TYPE_COLLECTION, GeeCollection), !_tmp10_);
-#line 2909 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2898 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp12_ = _tmp11_;
-#line 2909 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2898 "/home/jens/Source/shotwell/src/PhotoPage.vala"
command_manager_execute (_tmp6_, G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, TYPE_COMMAND, Command));
-#line 2909 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2898 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp12_);
-#line 2909 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2898 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp9_);
-#line 2909 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2898 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_command_manager_unref0 (_tmp6_);
-#line 2906 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2895 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (photo_list);
-#line 17992 "PhotoPage.c"
+#line 17941 "PhotoPage.c"
}
}
static void library_photo_page_on_photo_destroyed (LibraryPhotoPage* self, DataSource* source) {
DataSource* _tmp0_ = NULL;
-#line 2914 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2903 "/home/jens/Source/shotwell/src/PhotoPage.vala"
g_return_if_fail (IS_LIBRARY_PHOTO_PAGE (self));
-#line 2914 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2903 "/home/jens/Source/shotwell/src/PhotoPage.vala"
g_return_if_fail (IS_DATA_SOURCE (source));
-#line 2915 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2904 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp0_ = source;
-#line 2915 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2904 "/home/jens/Source/shotwell/src/PhotoPage.vala"
library_photo_page_on_photo_removed (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_LIBRARY_PHOTO, LibraryPhoto));
-#line 18007 "PhotoPage.c"
+#line 17956 "PhotoPage.c"
}
@@ -18030,100 +17979,100 @@ static void library_photo_page_on_photo_removed (LibraryPhotoPage* self, Library
Photo* _tmp17_ = NULL;
gboolean _tmp18_ = FALSE;
gboolean _tmp19_ = FALSE;
-#line 2918 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2907 "/home/jens/Source/shotwell/src/PhotoPage.vala"
g_return_if_fail (IS_LIBRARY_PHOTO_PAGE (self));
-#line 2918 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2907 "/home/jens/Source/shotwell/src/PhotoPage.vala"
g_return_if_fail (IS_LIBRARY_PHOTO (photo));
-#line 2920 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2909 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp1_ = photo;
-#line 2920 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2909 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp1_ == NULL) {
-#line 2920 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2909 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp0_ = TRUE;
-#line 18039 "PhotoPage.c"
+#line 17988 "PhotoPage.c"
} else {
LibraryPhoto* _tmp2_ = NULL;
Photo* _tmp3_ = NULL;
Photo* _tmp4_ = NULL;
gboolean _tmp5_ = FALSE;
-#line 2920 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2909 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp2_ = photo;
-#line 2920 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2909 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp3_ = editing_host_page_get_photo (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EDITING_HOST_PAGE, EditingHostPage));
-#line 2920 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2909 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp4_ = _tmp3_;
-#line 2920 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2909 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp5_ = data_source_equals (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, TYPE_DATA_SOURCE, DataSource), G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, TYPE_DATA_SOURCE, DataSource));
-#line 2920 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2909 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp0_ = !_tmp5_;
-#line 2920 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2909 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp4_);
-#line 18057 "PhotoPage.c"
+#line 18006 "PhotoPage.c"
}
-#line 2920 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2909 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp0_) {
-#line 2921 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2910 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return;
-#line 18063 "PhotoPage.c"
+#line 18012 "PhotoPage.c"
}
-#line 2924 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2913 "/home/jens/Source/shotwell/src/PhotoPage.vala"
single_photo_page_on_next_photo (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SINGLE_PHOTO_PAGE, SinglePhotoPage));
-#line 2926 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2915 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp6_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 2926 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2915 "/home/jens/Source/shotwell/src/PhotoPage.vala"
view = _tmp6_;
-#line 2927 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2916 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp7_ = view;
-#line 2927 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2916 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp8_ = view;
-#line 2927 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2916 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp9_ = view;
-#line 2927 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2916 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp10_ = photo;
-#line 2927 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2916 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp11_ = view_collection_get_view_for_source (_tmp9_, G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, TYPE_DATA_SOURCE, DataSource));
-#line 2927 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2916 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp12_ = _tmp11_;
-#line 2927 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2916 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp13_ = data_collection_mark (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, TYPE_DATA_COLLECTION, DataCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, TYPE_DATA_OBJECT, DataObject));
-#line 2927 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2916 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp14_ = _tmp13_;
-#line 2927 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2916 "/home/jens/Source/shotwell/src/PhotoPage.vala"
data_collection_remove_marked (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, TYPE_DATA_COLLECTION, DataCollection), _tmp14_);
-#line 2927 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2916 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp14_);
-#line 2927 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2916 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp12_);
-#line 2928 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2917 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp15_ = photo;
-#line 2928 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2917 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp16_ = editing_host_page_get_photo (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EDITING_HOST_PAGE, EditingHostPage));
-#line 2928 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2917 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp17_ = _tmp16_;
-#line 2928 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2917 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp18_ = data_source_equals (G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, TYPE_DATA_SOURCE, DataSource), G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, TYPE_DATA_SOURCE, DataSource));
-#line 2928 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2917 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp19_ = _tmp18_;
-#line 2928 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2917 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp17_);
-#line 2928 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2917 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp19_) {
-#line 18107 "PhotoPage.c"
+#line 18056 "PhotoPage.c"
LibraryWindow* _tmp20_ = NULL;
LibraryWindow* _tmp21_ = NULL;
-#line 2931 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2920 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp20_ = library_window_get_app ();
-#line 2931 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2920 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp21_ = _tmp20_;
-#line 2931 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2920 "/home/jens/Source/shotwell/src/PhotoPage.vala"
library_window_switch_to_library_page (_tmp21_);
-#line 2931 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2920 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp21_);
-#line 18118 "PhotoPage.c"
+#line 18067 "PhotoPage.c"
}
-#line 2918 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2907 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_data_collection_unref0 (view);
-#line 18122 "PhotoPage.c"
+#line 18071 "PhotoPage.c"
}
@@ -18132,48 +18081,48 @@ static void library_photo_page_on_print (LibraryPhotoPage* self) {
ViewCollection* _tmp1_ = NULL;
gint _tmp2_ = 0;
gboolean _tmp3_ = FALSE;
-#line 2935 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2924 "/home/jens/Source/shotwell/src/PhotoPage.vala"
g_return_if_fail (IS_LIBRARY_PHOTO_PAGE (self));
-#line 2936 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2925 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 2936 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2925 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp1_ = _tmp0_;
-#line 2936 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2925 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp2_ = view_collection_get_selected_count (_tmp1_);
-#line 2936 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2925 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp3_ = _tmp2_ > 0;
-#line 2936 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2925 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 2936 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2925 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp3_) {
-#line 18145 "PhotoPage.c"
+#line 18094 "PhotoPage.c"
PrintManager* _tmp4_ = NULL;
PrintManager* _tmp5_ = NULL;
ViewCollection* _tmp6_ = NULL;
ViewCollection* _tmp7_ = NULL;
GeeList* _tmp8_ = NULL;
GeeCollection* _tmp9_ = NULL;
-#line 2937 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2926 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp4_ = print_manager_get_instance ();
-#line 2937 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2926 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp5_ = _tmp4_;
-#line 2937 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2926 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp6_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 2937 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2926 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp7_ = _tmp6_;
-#line 2937 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2926 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp8_ = view_collection_get_selected_sources_of_type (_tmp7_, TYPE_PHOTO);
-#line 2937 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2926 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp9_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, GEE_TYPE_COLLECTION, GeeCollection);
-#line 2937 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2926 "/home/jens/Source/shotwell/src/PhotoPage.vala"
print_manager_spool_photo (_tmp5_, _tmp9_);
-#line 2937 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2926 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp9_);
-#line 2937 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2926 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_data_collection_unref0 (_tmp7_);
-#line 2937 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2926 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_print_manager_unref0 (_tmp5_);
-#line 18172 "PhotoPage.c"
+#line 18121 "PhotoPage.c"
}
}
@@ -18181,55 +18130,55 @@ static void library_photo_page_on_print (LibraryPhotoPage* self) {
static void library_photo_page_on_external_app_changed (LibraryPhotoPage* self) {
gboolean _tmp0_ = FALSE;
gboolean _tmp1_ = FALSE;
-#line 2942 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2931 "/home/jens/Source/shotwell/src/PhotoPage.vala"
g_return_if_fail (IS_LIBRARY_PHOTO_PAGE (self));
-#line 2943 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2932 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp1_ = editing_host_page_has_photo (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EDITING_HOST_PAGE, EditingHostPage));
-#line 2943 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2932 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp1_) {
-#line 18186 "PhotoPage.c"
+#line 18135 "PhotoPage.c"
ConfigFacade* _tmp2_ = NULL;
ConfigFacade* _tmp3_ = NULL;
gchar* _tmp4_ = NULL;
gchar* _tmp5_ = NULL;
-#line 2944 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2933 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp2_ = config_facade_get_instance ();
-#line 2944 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2933 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp3_ = _tmp2_;
-#line 2944 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2933 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp4_ = configuration_facade_get_external_photo_app (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
-#line 2944 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2933 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp5_ = _tmp4_;
-#line 2944 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2933 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp0_ = g_strcmp0 (_tmp5_, "") != 0;
-#line 2944 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2933 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_free0 (_tmp5_);
-#line 2944 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2933 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp3_);
-#line 18205 "PhotoPage.c"
+#line 18154 "PhotoPage.c"
} else {
-#line 2943 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2932 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp0_ = FALSE;
-#line 18209 "PhotoPage.c"
+#line 18158 "PhotoPage.c"
}
-#line 2943 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2932 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "ExternalEdit", _tmp0_);
-#line 18213 "PhotoPage.c"
+#line 18162 "PhotoPage.c"
}
static void library_photo_page_on_external_edit (LibraryPhotoPage* self) {
gboolean _tmp0_ = FALSE;
GError * _inner_error_ = NULL;
-#line 2947 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2936 "/home/jens/Source/shotwell/src/PhotoPage.vala"
g_return_if_fail (IS_LIBRARY_PHOTO_PAGE (self));
-#line 2948 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2937 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp0_ = editing_host_page_has_photo (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EDITING_HOST_PAGE, EditingHostPage));
-#line 2948 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2937 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (!_tmp0_) {
-#line 2949 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2938 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return;
-#line 18228 "PhotoPage.c"
+#line 18177 "PhotoPage.c"
}
{
AppWindow* _tmp1_ = NULL;
@@ -18238,36 +18187,36 @@ static void library_photo_page_on_external_edit (LibraryPhotoPage* self) {
Photo* _tmp4_ = NULL;
AppWindow* _tmp5_ = NULL;
AppWindow* _tmp6_ = NULL;
-#line 2952 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2941 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp1_ = app_window_get_instance ();
-#line 2952 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2941 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp2_ = _tmp1_;
-#line 2952 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2941 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_window_set_busy_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, TYPE_PAGE_WINDOW, PageWindow));
-#line 2952 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2941 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp2_);
-#line 2953 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2942 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp3_ = editing_host_page_get_photo (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EDITING_HOST_PAGE, EditingHostPage));
-#line 2953 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2942 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp4_ = _tmp3_;
-#line 2953 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2942 "/home/jens/Source/shotwell/src/PhotoPage.vala"
photo_open_with_external_editor (_tmp4_, &_inner_error_);
-#line 2953 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2942 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp4_);
-#line 2953 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2942 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 18255 "PhotoPage.c"
+#line 18204 "PhotoPage.c"
goto __catch248_g_error;
}
-#line 2954 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2943 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp5_ = app_window_get_instance ();
-#line 2954 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2943 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp6_ = _tmp5_;
-#line 2954 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2943 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_window_set_normal_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, TYPE_PAGE_WINDOW, PageWindow));
-#line 2954 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2943 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp6_);
-#line 18266 "PhotoPage.c"
+#line 18215 "PhotoPage.c"
}
goto __finally248;
__catch248_g_error:
@@ -18278,42 +18227,42 @@ static void library_photo_page_on_external_edit (LibraryPhotoPage* self) {
GError* _tmp9_ = NULL;
Photo* _tmp10_ = NULL;
Photo* _tmp11_ = NULL;
-#line 2951 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2940 "/home/jens/Source/shotwell/src/PhotoPage.vala"
err = _inner_error_;
-#line 2951 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2940 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_inner_error_ = NULL;
-#line 2956 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2945 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp7_ = app_window_get_instance ();
-#line 2956 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2945 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp8_ = _tmp7_;
-#line 2956 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2945 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_window_set_normal_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, TYPE_PAGE_WINDOW, PageWindow));
-#line 2956 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2945 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp8_);
-#line 2957 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2946 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp9_ = err;
-#line 2957 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2946 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp10_ = editing_host_page_get_photo (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EDITING_HOST_PAGE, EditingHostPage));
-#line 2957 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2946 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp11_ = _tmp10_;
-#line 2957 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2946 "/home/jens/Source/shotwell/src/PhotoPage.vala"
open_external_editor_error_dialog (_tmp9_, _tmp11_);
-#line 2957 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2946 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp11_);
-#line 2951 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2940 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_error_free0 (err);
-#line 18301 "PhotoPage.c"
+#line 18250 "PhotoPage.c"
}
__finally248:
-#line 2951 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2940 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 2951 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2940 "/home/jens/Source/shotwell/src/PhotoPage.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 2951 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2940 "/home/jens/Source/shotwell/src/PhotoPage.vala"
g_clear_error (&_inner_error_);
-#line 2951 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2940 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return;
-#line 18312 "PhotoPage.c"
+#line 18261 "PhotoPage.c"
}
}
@@ -18325,31 +18274,31 @@ static void library_photo_page_on_external_edit_raw (LibraryPhotoPage* self) {
PhotoFileFormat _tmp3_ = 0;
gboolean _tmp4_ = FALSE;
GError * _inner_error_ = NULL;
-#line 2962 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2951 "/home/jens/Source/shotwell/src/PhotoPage.vala"
g_return_if_fail (IS_LIBRARY_PHOTO_PAGE (self));
-#line 2963 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2952 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp0_ = editing_host_page_has_photo (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EDITING_HOST_PAGE, EditingHostPage));
-#line 2963 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2952 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (!_tmp0_) {
-#line 2964 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2953 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return;
-#line 18332 "PhotoPage.c"
+#line 18281 "PhotoPage.c"
}
-#line 2966 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2955 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp1_ = editing_host_page_get_photo (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EDITING_HOST_PAGE, EditingHostPage));
-#line 2966 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2955 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp2_ = _tmp1_;
-#line 2966 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2955 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp3_ = photo_get_master_file_format (_tmp2_);
-#line 2966 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2955 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp4_ = _tmp3_ != PHOTO_FILE_FORMAT_RAW;
-#line 2966 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2955 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp2_);
-#line 2966 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2955 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp4_) {
-#line 2967 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2956 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return;
-#line 18348 "PhotoPage.c"
+#line 18297 "PhotoPage.c"
}
{
AppWindow* _tmp5_ = NULL;
@@ -18358,36 +18307,36 @@ static void library_photo_page_on_external_edit_raw (LibraryPhotoPage* self) {
Photo* _tmp8_ = NULL;
AppWindow* _tmp9_ = NULL;
AppWindow* _tmp10_ = NULL;
-#line 2970 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2959 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp5_ = app_window_get_instance ();
-#line 2970 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2959 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp6_ = _tmp5_;
-#line 2970 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2959 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_window_set_busy_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, TYPE_PAGE_WINDOW, PageWindow));
-#line 2970 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2959 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp6_);
-#line 2971 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2960 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp7_ = editing_host_page_get_photo (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EDITING_HOST_PAGE, EditingHostPage));
-#line 2971 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2960 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp8_ = _tmp7_;
-#line 2971 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2960 "/home/jens/Source/shotwell/src/PhotoPage.vala"
photo_open_with_raw_external_editor (_tmp8_, &_inner_error_);
-#line 2971 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2960 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp8_);
-#line 2971 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2960 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 18375 "PhotoPage.c"
+#line 18324 "PhotoPage.c"
goto __catch249_g_error;
}
-#line 2972 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2961 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp9_ = app_window_get_instance ();
-#line 2972 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2961 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp10_ = _tmp9_;
-#line 2972 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2961 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_window_set_normal_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, TYPE_PAGE_WINDOW, PageWindow));
-#line 2972 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2961 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp10_);
-#line 18386 "PhotoPage.c"
+#line 18335 "PhotoPage.c"
}
goto __finally249;
__catch249_g_error:
@@ -18398,74 +18347,74 @@ static void library_photo_page_on_external_edit_raw (LibraryPhotoPage* self) {
GError* _tmp13_ = NULL;
gchar* _tmp14_ = NULL;
gchar* _tmp15_ = NULL;
-#line 2969 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2958 "/home/jens/Source/shotwell/src/PhotoPage.vala"
err = _inner_error_;
-#line 2969 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2958 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_inner_error_ = NULL;
-#line 2974 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2963 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp11_ = app_window_get_instance ();
-#line 2974 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2963 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp12_ = _tmp11_;
-#line 2974 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2963 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_window_set_normal_cursor (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, TYPE_PAGE_WINDOW, PageWindow));
-#line 2974 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2963 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp12_);
-#line 2975 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2964 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp13_ = err;
-#line 2975 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2964 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp14_ = resources_launch_editor_failed (_tmp13_);
-#line 2975 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2964 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp15_ = _tmp14_;
-#line 2975 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2964 "/home/jens/Source/shotwell/src/PhotoPage.vala"
app_window_error_message (_tmp15_, NULL);
-#line 2975 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2964 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_free0 (_tmp15_);
-#line 2969 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2958 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_error_free0 (err);
-#line 18421 "PhotoPage.c"
+#line 18370 "PhotoPage.c"
}
__finally249:
-#line 2969 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2958 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 2969 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2958 "/home/jens/Source/shotwell/src/PhotoPage.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 2969 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2958 "/home/jens/Source/shotwell/src/PhotoPage.vala"
g_clear_error (&_inner_error_);
-#line 2969 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2958 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return;
-#line 18432 "PhotoPage.c"
+#line 18381 "PhotoPage.c"
}
}
static void library_photo_page_on_send_to (LibraryPhotoPage* self) {
gboolean _tmp0_ = FALSE;
-#line 2979 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2968 "/home/jens/Source/shotwell/src/PhotoPage.vala"
g_return_if_fail (IS_LIBRARY_PHOTO_PAGE (self));
-#line 2980 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2969 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp0_ = editing_host_page_has_photo (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EDITING_HOST_PAGE, EditingHostPage));
-#line 2980 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2969 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp0_) {
-#line 18445 "PhotoPage.c"
+#line 18394 "PhotoPage.c"
ViewCollection* _tmp1_ = NULL;
ViewCollection* _tmp2_ = NULL;
GeeList* _tmp3_ = NULL;
GeeCollection* _tmp4_ = NULL;
-#line 2981 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2970 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp1_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 2981 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2970 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp2_ = _tmp1_;
-#line 2981 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2970 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp3_ = view_collection_get_selected_sources (_tmp2_);
-#line 2981 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2970 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp4_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_COLLECTION, GeeCollection);
-#line 2981 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2970 "/home/jens/Source/shotwell/src/PhotoPage.vala"
desktop_integration_send_to (_tmp4_);
-#line 2981 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2970 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp4_);
-#line 2981 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2970 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_data_collection_unref0 (_tmp2_);
-#line 18464 "PhotoPage.c"
+#line 18413 "PhotoPage.c"
}
}
@@ -18497,85 +18446,85 @@ static void library_photo_page_on_export (LibraryPhotoPage* self) {
gint _tmp17_ = 0;
Scaling _tmp18_ = {0};
GError * _inner_error_ = NULL;
-#line 2984 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2973 "/home/jens/Source/shotwell/src/PhotoPage.vala"
g_return_if_fail (IS_LIBRARY_PHOTO_PAGE (self));
-#line 2985 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2974 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp0_ = editing_host_page_has_photo (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EDITING_HOST_PAGE, EditingHostPage));
-#line 2985 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2974 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (!_tmp0_) {
-#line 2986 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2975 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return;
-#line 18504 "PhotoPage.c"
+#line 18453 "PhotoPage.c"
}
-#line 2988 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2977 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp1_ = _ ("Export Photo");
-#line 2988 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2977 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp2_ = export_dialog_new (_tmp1_);
-#line 2988 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2977 "/home/jens/Source/shotwell/src/PhotoPage.vala"
g_object_ref_sink (_tmp2_);
-#line 2988 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2977 "/home/jens/Source/shotwell/src/PhotoPage.vala"
export_dialog = _tmp2_;
-#line 2992 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2981 "/home/jens/Source/shotwell/src/PhotoPage.vala"
export_format_parameters_last (&_tmp3_);
-#line 2992 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2981 "/home/jens/Source/shotwell/src/PhotoPage.vala"
export_params = _tmp3_;
-#line 2993 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2982 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp4_ = export_dialog;
-#line 2993 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2982 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp7_ = export_dialog_execute (_tmp4_, &_tmp5_, &_tmp6_, &export_params);
-#line 2993 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2982 "/home/jens/Source/shotwell/src/PhotoPage.vala"
scale = _tmp5_;
-#line 2993 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2982 "/home/jens/Source/shotwell/src/PhotoPage.vala"
constraint = _tmp6_;
-#line 2993 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2982 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (!_tmp7_) {
-#line 2994 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2983 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (export_dialog);
-#line 2994 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2983 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return;
-#line 18532 "PhotoPage.c"
+#line 18481 "PhotoPage.c"
}
-#line 2996 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2985 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp8_ = editing_host_page_get_photo (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EDITING_HOST_PAGE, EditingHostPage));
-#line 2996 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2985 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp9_ = _tmp8_;
-#line 2996 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2985 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp10_ = export_params;
-#line 2996 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2985 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp11_ = photo_get_export_basename_for_parameters (_tmp9_, &_tmp10_);
-#line 2996 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2985 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp12_ = _tmp11_;
-#line 2996 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2985 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp13_ = export_ui_choose_file (_tmp12_);
-#line 2996 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2985 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp14_ = _tmp13_;
-#line 2996 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2985 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_free0 (_tmp12_);
-#line 2996 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2985 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp9_);
-#line 2996 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2985 "/home/jens/Source/shotwell/src/PhotoPage.vala"
save_as = _tmp14_;
-#line 2998 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2987 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp15_ = save_as;
-#line 2998 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2987 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp15_ == NULL) {
-#line 2999 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2988 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (save_as);
-#line 2999 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2988 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (export_dialog);
-#line 2999 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2988 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return;
-#line 18564 "PhotoPage.c"
+#line 18513 "PhotoPage.c"
}
-#line 3001 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2990 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp16_ = constraint;
-#line 3001 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2990 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp17_ = scale;
-#line 3001 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2990 "/home/jens/Source/shotwell/src/PhotoPage.vala"
scaling_for_constraint (_tmp16_, _tmp17_, FALSE, &_tmp18_);
-#line 3001 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2990 "/home/jens/Source/shotwell/src/PhotoPage.vala"
scaling = _tmp18_;
-#line 18574 "PhotoPage.c"
+#line 18523 "PhotoPage.c"
{
Photo* _tmp19_ = NULL;
Photo* _tmp20_ = NULL;
@@ -18591,43 +18540,43 @@ static void library_photo_page_on_export (LibraryPhotoPage* self) {
ExportFormatMode _tmp30_ = 0;
ExportFormatParameters _tmp31_ = {0};
gboolean _tmp32_ = FALSE;
-#line 3004 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2993 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp19_ = editing_host_page_get_photo (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EDITING_HOST_PAGE, EditingHostPage));
-#line 3004 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2993 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp20_ = _tmp19_;
-#line 3004 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2993 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp21_ = save_as;
-#line 3004 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2993 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp22_ = scaling;
-#line 3004 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2993 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp23_ = export_params;
-#line 3004 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2993 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp24_ = _tmp23_.quality;
-#line 3004 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2993 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp25_ = editing_host_page_get_photo (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EDITING_HOST_PAGE, EditingHostPage));
-#line 3004 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2993 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp26_ = _tmp25_;
-#line 3004 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2993 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp27_ = export_params;
-#line 3004 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2993 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp28_ = photo_get_export_format_for_parameters (_tmp26_, &_tmp27_);
-#line 3004 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2993 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp29_ = export_params;
-#line 3004 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2993 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp30_ = _tmp29_.mode;
-#line 3004 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2993 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp31_ = export_params;
-#line 3004 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2993 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp32_ = _tmp31_.export_metadata;
-#line 3004 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2993 "/home/jens/Source/shotwell/src/PhotoPage.vala"
photo_export (_tmp20_, _tmp21_, &_tmp22_, _tmp24_, _tmp28_, _tmp30_ == EXPORT_FORMAT_MODE_UNMODIFIED, _tmp32_, &_inner_error_);
-#line 3004 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2993 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp26_);
-#line 3004 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2993 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp20_);
-#line 3004 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2993 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 18626 "PhotoPage.c"
+#line 18575 "PhotoPage.c"
goto __catch250_g_error;
}
}
@@ -18643,56 +18592,56 @@ static void library_photo_page_on_export (LibraryPhotoPage* self) {
const gchar* _tmp38_ = NULL;
gchar* _tmp39_ = NULL;
gchar* _tmp40_ = NULL;
-#line 3003 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2992 "/home/jens/Source/shotwell/src/PhotoPage.vala"
err = _inner_error_;
-#line 3003 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2992 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_inner_error_ = NULL;
-#line 3008 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2997 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp33_ = _ ("Unable to export %s: %s");
-#line 3008 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2997 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp34_ = save_as;
-#line 3008 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2997 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp35_ = g_file_get_path (_tmp34_);
-#line 3008 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2997 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp36_ = _tmp35_;
-#line 3008 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2997 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp37_ = err;
-#line 3008 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2997 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp38_ = _tmp37_->message;
-#line 3008 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2997 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp39_ = g_strdup_printf (_tmp33_, _tmp36_, _tmp38_);
-#line 3008 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2997 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp40_ = _tmp39_;
-#line 3008 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2997 "/home/jens/Source/shotwell/src/PhotoPage.vala"
app_window_error_message (_tmp40_, NULL);
-#line 3008 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2997 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_free0 (_tmp40_);
-#line 3008 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2997 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_free0 (_tmp36_);
-#line 3003 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2992 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_error_free0 (err);
-#line 18670 "PhotoPage.c"
+#line 18619 "PhotoPage.c"
}
__finally250:
-#line 3003 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2992 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 3003 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2992 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (save_as);
-#line 3003 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2992 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (export_dialog);
-#line 3003 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2992 "/home/jens/Source/shotwell/src/PhotoPage.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 3003 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2992 "/home/jens/Source/shotwell/src/PhotoPage.vala"
g_clear_error (&_inner_error_);
-#line 3003 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2992 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return;
-#line 18685 "PhotoPage.c"
+#line 18634 "PhotoPage.c"
}
-#line 2984 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2973 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (save_as);
-#line 2984 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2973 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (export_dialog);
-#line 18691 "PhotoPage.c"
+#line 18640 "PhotoPage.c"
}
@@ -18701,40 +18650,40 @@ static void library_photo_page_on_publish (LibraryPhotoPage* self) {
ViewCollection* _tmp1_ = NULL;
gint _tmp2_ = 0;
gboolean _tmp3_ = FALSE;
-#line 3012 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3001 "/home/jens/Source/shotwell/src/PhotoPage.vala"
g_return_if_fail (IS_LIBRARY_PHOTO_PAGE (self));
-#line 3013 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3002 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 3013 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3002 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp1_ = _tmp0_;
-#line 3013 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3002 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp2_ = data_collection_get_count (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_DATA_COLLECTION, DataCollection));
-#line 3013 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3002 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp3_ = _tmp2_ > 0;
-#line 3013 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3002 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 3013 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3002 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp3_) {
-#line 18714 "PhotoPage.c"
+#line 18663 "PhotoPage.c"
ViewCollection* _tmp4_ = NULL;
ViewCollection* _tmp5_ = NULL;
GeeList* _tmp6_ = NULL;
GeeCollection* _tmp7_ = NULL;
-#line 3014 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3003 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 3014 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3003 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp5_ = _tmp4_;
-#line 3014 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3003 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp6_ = view_collection_get_selected_sources (_tmp5_);
-#line 3014 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3003 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp7_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, GEE_TYPE_COLLECTION, GeeCollection);
-#line 3014 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3003 "/home/jens/Source/shotwell/src/PhotoPage.vala"
publishing_ui_publishing_dialog_go (_tmp7_);
-#line 3014 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3003 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp7_);
-#line 3014 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3003 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_data_collection_unref0 (_tmp5_);
-#line 18733 "PhotoPage.c"
+#line 18682 "PhotoPage.c"
}
}
@@ -18750,56 +18699,56 @@ static void library_photo_page_on_increase_rating (LibraryPhotoPage* self) {
CommandManager* _tmp7_ = NULL;
CommandManager* _tmp8_ = NULL;
SetRatingSingleCommand* _tmp9_ = NULL;
-#line 3018 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3007 "/home/jens/Source/shotwell/src/PhotoPage.vala"
g_return_if_fail (IS_LIBRARY_PHOTO_PAGE (self));
-#line 3019 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3008 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp1_ = editing_host_page_has_photo (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EDITING_HOST_PAGE, EditingHostPage));
-#line 3019 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3008 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (!_tmp1_) {
-#line 3019 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3008 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp0_ = TRUE;
-#line 18757 "PhotoPage.c"
+#line 18706 "PhotoPage.c"
} else {
gboolean _tmp2_ = FALSE;
-#line 3019 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3008 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp2_ = editing_host_page_get_photo_missing (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EDITING_HOST_PAGE, EditingHostPage));
-#line 3019 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3008 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp0_ = _tmp2_;
-#line 18764 "PhotoPage.c"
+#line 18713 "PhotoPage.c"
}
-#line 3019 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3008 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp0_) {
-#line 3020 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3009 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return;
-#line 18770 "PhotoPage.c"
+#line 18719 "PhotoPage.c"
}
-#line 3022 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3011 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp3_ = editing_host_page_get_photo (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EDITING_HOST_PAGE, EditingHostPage));
-#line 3022 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3011 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp4_ = _tmp3_;
-#line 3022 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3011 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp5_ = set_rating_single_command_new_inc_dec (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, TYPE_DATA_SOURCE, DataSource), TRUE);
-#line 3022 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3011 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp6_ = _tmp5_;
-#line 3022 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3011 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp4_);
-#line 3022 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3011 "/home/jens/Source/shotwell/src/PhotoPage.vala"
command = _tmp6_;
-#line 3023 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3012 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp7_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 3023 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3012 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp8_ = _tmp7_;
-#line 3023 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3012 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp9_ = command;
-#line 3023 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3012 "/home/jens/Source/shotwell/src/PhotoPage.vala"
command_manager_execute (_tmp8_, G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, TYPE_COMMAND, Command));
-#line 3023 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3012 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_command_manager_unref0 (_tmp8_);
-#line 3025 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3014 "/home/jens/Source/shotwell/src/PhotoPage.vala"
library_photo_page_update_rating_menu_item_sensitivity (self);
-#line 3018 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3007 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (command);
-#line 18798 "PhotoPage.c"
+#line 18747 "PhotoPage.c"
}
@@ -18814,56 +18763,56 @@ static void library_photo_page_on_decrease_rating (LibraryPhotoPage* self) {
CommandManager* _tmp7_ = NULL;
CommandManager* _tmp8_ = NULL;
SetRatingSingleCommand* _tmp9_ = NULL;
-#line 3028 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3017 "/home/jens/Source/shotwell/src/PhotoPage.vala"
g_return_if_fail (IS_LIBRARY_PHOTO_PAGE (self));
-#line 3029 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3018 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp1_ = editing_host_page_has_photo (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EDITING_HOST_PAGE, EditingHostPage));
-#line 3029 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3018 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (!_tmp1_) {
-#line 3029 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3018 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp0_ = TRUE;
-#line 18821 "PhotoPage.c"
+#line 18770 "PhotoPage.c"
} else {
gboolean _tmp2_ = FALSE;
-#line 3029 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3018 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp2_ = editing_host_page_get_photo_missing (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EDITING_HOST_PAGE, EditingHostPage));
-#line 3029 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3018 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp0_ = _tmp2_;
-#line 18828 "PhotoPage.c"
+#line 18777 "PhotoPage.c"
}
-#line 3029 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3018 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp0_) {
-#line 3030 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3019 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return;
-#line 18834 "PhotoPage.c"
+#line 18783 "PhotoPage.c"
}
-#line 3032 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3021 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp3_ = editing_host_page_get_photo (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EDITING_HOST_PAGE, EditingHostPage));
-#line 3032 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3021 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp4_ = _tmp3_;
-#line 3032 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3021 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp5_ = set_rating_single_command_new_inc_dec (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, TYPE_DATA_SOURCE, DataSource), FALSE);
-#line 3032 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3021 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp6_ = _tmp5_;
-#line 3032 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3021 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp4_);
-#line 3032 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3021 "/home/jens/Source/shotwell/src/PhotoPage.vala"
command = _tmp6_;
-#line 3033 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3022 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp7_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 3033 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3022 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp8_ = _tmp7_;
-#line 3033 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3022 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp9_ = command;
-#line 3033 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3022 "/home/jens/Source/shotwell/src/PhotoPage.vala"
command_manager_execute (_tmp8_, G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, TYPE_COMMAND, Command));
-#line 3033 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3022 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_command_manager_unref0 (_tmp8_);
-#line 3035 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3024 "/home/jens/Source/shotwell/src/PhotoPage.vala"
library_photo_page_update_rating_menu_item_sensitivity (self);
-#line 3028 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3017 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (command);
-#line 18862 "PhotoPage.c"
+#line 18811 "PhotoPage.c"
}
@@ -18879,121 +18828,121 @@ static void library_photo_page_on_set_rating (LibraryPhotoPage* self, Rating rat
CommandManager* _tmp8_ = NULL;
CommandManager* _tmp9_ = NULL;
SetRatingSingleCommand* _tmp10_ = NULL;
-#line 3038 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3027 "/home/jens/Source/shotwell/src/PhotoPage.vala"
g_return_if_fail (IS_LIBRARY_PHOTO_PAGE (self));
-#line 3039 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3028 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp1_ = editing_host_page_has_photo (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EDITING_HOST_PAGE, EditingHostPage));
-#line 3039 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3028 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (!_tmp1_) {
-#line 3039 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3028 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp0_ = TRUE;
-#line 18886 "PhotoPage.c"
+#line 18835 "PhotoPage.c"
} else {
gboolean _tmp2_ = FALSE;
-#line 3039 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3028 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp2_ = editing_host_page_get_photo_missing (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EDITING_HOST_PAGE, EditingHostPage));
-#line 3039 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3028 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp0_ = _tmp2_;
-#line 18893 "PhotoPage.c"
+#line 18842 "PhotoPage.c"
}
-#line 3039 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3028 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp0_) {
-#line 3040 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3029 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return;
-#line 18899 "PhotoPage.c"
+#line 18848 "PhotoPage.c"
}
-#line 3042 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3031 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp3_ = editing_host_page_get_photo (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EDITING_HOST_PAGE, EditingHostPage));
-#line 3042 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3031 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp4_ = _tmp3_;
-#line 3042 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3031 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp5_ = rating;
-#line 3042 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3031 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp6_ = set_rating_single_command_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, TYPE_DATA_SOURCE, DataSource), _tmp5_);
-#line 3042 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3031 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp7_ = _tmp6_;
-#line 3042 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3031 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp4_);
-#line 3042 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3031 "/home/jens/Source/shotwell/src/PhotoPage.vala"
command = _tmp7_;
-#line 3043 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3032 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp8_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 3043 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3032 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp9_ = _tmp8_;
-#line 3043 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3032 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp10_ = command;
-#line 3043 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3032 "/home/jens/Source/shotwell/src/PhotoPage.vala"
command_manager_execute (_tmp9_, G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, TYPE_COMMAND, Command));
-#line 3043 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3032 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_command_manager_unref0 (_tmp9_);
-#line 3045 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3034 "/home/jens/Source/shotwell/src/PhotoPage.vala"
library_photo_page_update_rating_menu_item_sensitivity (self);
-#line 3038 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3027 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (command);
-#line 18929 "PhotoPage.c"
+#line 18878 "PhotoPage.c"
}
static void library_photo_page_on_rate_rejected (LibraryPhotoPage* self) {
-#line 3048 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3037 "/home/jens/Source/shotwell/src/PhotoPage.vala"
g_return_if_fail (IS_LIBRARY_PHOTO_PAGE (self));
-#line 3049 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3038 "/home/jens/Source/shotwell/src/PhotoPage.vala"
library_photo_page_on_set_rating (self, RATING_REJECTED);
-#line 18938 "PhotoPage.c"
+#line 18887 "PhotoPage.c"
}
static void library_photo_page_on_rate_unrated (LibraryPhotoPage* self) {
-#line 3052 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3041 "/home/jens/Source/shotwell/src/PhotoPage.vala"
g_return_if_fail (IS_LIBRARY_PHOTO_PAGE (self));
-#line 3053 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3042 "/home/jens/Source/shotwell/src/PhotoPage.vala"
library_photo_page_on_set_rating (self, RATING_UNRATED);
-#line 18947 "PhotoPage.c"
+#line 18896 "PhotoPage.c"
}
static void library_photo_page_on_rate_one (LibraryPhotoPage* self) {
-#line 3056 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3045 "/home/jens/Source/shotwell/src/PhotoPage.vala"
g_return_if_fail (IS_LIBRARY_PHOTO_PAGE (self));
-#line 3057 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3046 "/home/jens/Source/shotwell/src/PhotoPage.vala"
library_photo_page_on_set_rating (self, RATING_ONE);
-#line 18956 "PhotoPage.c"
+#line 18905 "PhotoPage.c"
}
static void library_photo_page_on_rate_two (LibraryPhotoPage* self) {
-#line 3060 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3049 "/home/jens/Source/shotwell/src/PhotoPage.vala"
g_return_if_fail (IS_LIBRARY_PHOTO_PAGE (self));
-#line 3061 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3050 "/home/jens/Source/shotwell/src/PhotoPage.vala"
library_photo_page_on_set_rating (self, RATING_TWO);
-#line 18965 "PhotoPage.c"
+#line 18914 "PhotoPage.c"
}
static void library_photo_page_on_rate_three (LibraryPhotoPage* self) {
-#line 3064 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3053 "/home/jens/Source/shotwell/src/PhotoPage.vala"
g_return_if_fail (IS_LIBRARY_PHOTO_PAGE (self));
-#line 3065 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3054 "/home/jens/Source/shotwell/src/PhotoPage.vala"
library_photo_page_on_set_rating (self, RATING_THREE);
-#line 18974 "PhotoPage.c"
+#line 18923 "PhotoPage.c"
}
static void library_photo_page_on_rate_four (LibraryPhotoPage* self) {
-#line 3068 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3057 "/home/jens/Source/shotwell/src/PhotoPage.vala"
g_return_if_fail (IS_LIBRARY_PHOTO_PAGE (self));
-#line 3069 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3058 "/home/jens/Source/shotwell/src/PhotoPage.vala"
library_photo_page_on_set_rating (self, RATING_FOUR);
-#line 18983 "PhotoPage.c"
+#line 18932 "PhotoPage.c"
}
static void library_photo_page_on_rate_five (LibraryPhotoPage* self) {
-#line 3072 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3061 "/home/jens/Source/shotwell/src/PhotoPage.vala"
g_return_if_fail (IS_LIBRARY_PHOTO_PAGE (self));
-#line 3073 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3062 "/home/jens/Source/shotwell/src/PhotoPage.vala"
library_photo_page_on_set_rating (self, RATING_FIVE);
-#line 18992 "PhotoPage.c"
+#line 18941 "PhotoPage.c"
}
@@ -19027,117 +18976,117 @@ static void library_photo_page_update_rating_menu_item_sensitivity (LibraryPhoto
Photo* _tmp26_ = NULL;
Rating _tmp27_ = 0;
gboolean _tmp28_ = FALSE;
-#line 3076 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3065 "/home/jens/Source/shotwell/src/PhotoPage.vala"
g_return_if_fail (IS_LIBRARY_PHOTO_PAGE (self));
-#line 3077 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3066 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp0_ = editing_host_page_get_photo (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EDITING_HOST_PAGE, EditingHostPage));
-#line 3077 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3066 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp1_ = _tmp0_;
-#line 3077 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3066 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp2_ = media_source_get_rating (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_MEDIA_SOURCE, MediaSource));
-#line 3077 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3066 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RateRejected", _tmp2_ != RATING_REJECTED);
-#line 3077 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3066 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp1_);
-#line 3078 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3067 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp3_ = editing_host_page_get_photo (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EDITING_HOST_PAGE, EditingHostPage));
-#line 3078 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3067 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp4_ = _tmp3_;
-#line 3078 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3067 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp5_ = media_source_get_rating (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, TYPE_MEDIA_SOURCE, MediaSource));
-#line 3078 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3067 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RateUnrated", _tmp5_ != RATING_UNRATED);
-#line 3078 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3067 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp4_);
-#line 3079 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3068 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp6_ = editing_host_page_get_photo (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EDITING_HOST_PAGE, EditingHostPage));
-#line 3079 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3068 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp7_ = _tmp6_;
-#line 3079 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3068 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp8_ = media_source_get_rating (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, TYPE_MEDIA_SOURCE, MediaSource));
-#line 3079 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3068 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RateOne", _tmp8_ != RATING_ONE);
-#line 3079 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3068 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp7_);
-#line 3080 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3069 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp9_ = editing_host_page_get_photo (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EDITING_HOST_PAGE, EditingHostPage));
-#line 3080 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3069 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp10_ = _tmp9_;
-#line 3080 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3069 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp11_ = media_source_get_rating (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, TYPE_MEDIA_SOURCE, MediaSource));
-#line 3080 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3069 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RateTwo", _tmp11_ != RATING_TWO);
-#line 3080 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3069 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp10_);
-#line 3081 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3070 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp12_ = editing_host_page_get_photo (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EDITING_HOST_PAGE, EditingHostPage));
-#line 3081 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3070 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp13_ = _tmp12_;
-#line 3081 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3070 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp14_ = media_source_get_rating (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, TYPE_MEDIA_SOURCE, MediaSource));
-#line 3081 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3070 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RateThree", _tmp14_ != RATING_THREE);
-#line 3081 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3070 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp13_);
-#line 3082 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3071 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp15_ = editing_host_page_get_photo (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EDITING_HOST_PAGE, EditingHostPage));
-#line 3082 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3071 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp16_ = _tmp15_;
-#line 3082 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3071 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp17_ = media_source_get_rating (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, TYPE_MEDIA_SOURCE, MediaSource));
-#line 3082 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3071 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RateFour", _tmp17_ != RATING_FOUR);
-#line 3082 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3071 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp16_);
-#line 3083 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3072 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp18_ = editing_host_page_get_photo (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EDITING_HOST_PAGE, EditingHostPage));
-#line 3083 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3072 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp19_ = _tmp18_;
-#line 3083 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3072 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp20_ = media_source_get_rating (G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, TYPE_MEDIA_SOURCE, MediaSource));
-#line 3083 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3072 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RateFive", _tmp20_ != RATING_FIVE);
-#line 3083 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3072 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp19_);
-#line 3084 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3073 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp21_ = editing_host_page_get_photo (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EDITING_HOST_PAGE, EditingHostPage));
-#line 3084 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3073 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp22_ = _tmp21_;
-#line 3084 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3073 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp23_ = media_source_get_rating (G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, TYPE_MEDIA_SOURCE, MediaSource));
-#line 3084 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3073 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp24_ = rating_can_increase (_tmp23_);
-#line 3084 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3073 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "IncreaseRating", _tmp24_);
-#line 3084 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3073 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp22_);
-#line 3085 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3074 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp25_ = editing_host_page_get_photo (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EDITING_HOST_PAGE, EditingHostPage));
-#line 3085 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3074 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp26_ = _tmp25_;
-#line 3085 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3074 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp27_ = media_source_get_rating (G_TYPE_CHECK_INSTANCE_CAST (_tmp26_, TYPE_MEDIA_SOURCE, MediaSource));
-#line 3085 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3074 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp28_ = rating_can_decrease (_tmp27_);
-#line 3085 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3074 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "DecreaseRating", _tmp28_);
-#line 3085 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3074 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp26_);
-#line 19122 "PhotoPage.c"
+#line 19071 "PhotoPage.c"
}
-static GVariant* _variant_new14 (const gchar* value) {
-#line 3097 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+static GVariant* _variant_new18 (const gchar* value) {
+#line 3086 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return g_variant_ref_sink (g_variant_new_string (value));
-#line 19129 "PhotoPage.c"
+#line 19078 "PhotoPage.c"
}
-static GVariant* _variant_new15 (const gchar* value) {
-#line 3102 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+static GVariant* _variant_new19 (const gchar* value) {
+#line 3091 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return g_variant_ref_sink (g_variant_new_string (value));
-#line 19136 "PhotoPage.c"
+#line 19085 "PhotoPage.c"
}
@@ -19149,98 +19098,98 @@ static void library_photo_page_update_development_menu_item_sensitivity (Library
PhotoFileFormat _tmp3_ = 0;
PhotoFileFormat _tmp4_ = 0;
PhotoFileFormat _tmp5_ = 0;
-#line 3088 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3077 "/home/jens/Source/shotwell/src/PhotoPage.vala"
g_return_if_fail (IS_LIBRARY_PHOTO_PAGE (self));
-#line 3089 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3078 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp0_ = editing_host_page_get_photo (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EDITING_HOST_PAGE, EditingHostPage));
-#line 3089 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3078 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp1_ = _tmp0_;
-#line 3089 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3078 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp2_ = photo_get_master_file_format (_tmp1_);
-#line 3089 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3078 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp3_ = _tmp2_;
-#line 3089 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3078 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp1_);
-#line 3089 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3078 "/home/jens/Source/shotwell/src/PhotoPage.vala"
format = _tmp3_;
-#line 3090 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3079 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp4_ = format;
-#line 3090 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3079 "/home/jens/Source/shotwell/src/PhotoPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RawDeveloper", _tmp4_ == PHOTO_FILE_FORMAT_RAW);
-#line 3092 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3081 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp5_ = format;
-#line 3092 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3081 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp5_ == PHOTO_FILE_FORMAT_RAW) {
-#line 19170 "PhotoPage.c"
+#line 19119 "PhotoPage.c"
Photo* _tmp6_ = NULL;
Photo* _tmp7_ = NULL;
RawDeveloper _tmp8_ = 0;
RawDeveloper _tmp9_ = 0;
-#line 3095 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3084 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp6_ = editing_host_page_get_photo (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EDITING_HOST_PAGE, EditingHostPage));
-#line 3095 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3084 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp7_ = _tmp6_;
-#line 3095 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3084 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp8_ = photo_get_raw_developer (_tmp7_);
-#line 3095 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3084 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp9_ = _tmp8_;
-#line 3095 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3084 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp7_);
-#line 3095 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3084 "/home/jens/Source/shotwell/src/PhotoPage.vala"
switch (_tmp9_) {
-#line 3095 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3084 "/home/jens/Source/shotwell/src/PhotoPage.vala"
case RAW_DEVELOPER_SHOTWELL:
-#line 19189 "PhotoPage.c"
+#line 19138 "PhotoPage.c"
{
GAction* _tmp10_ = NULL;
GAction* _tmp11_ = NULL;
GVariant* _tmp12_ = NULL;
-#line 3097 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3086 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp10_ = page_get_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RawDeveloper");
-#line 3097 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3086 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp11_ = _tmp10_;
-#line 3097 "/home/jens/Source/shotwell/src/PhotoPage.vala"
- _tmp12_ = _variant_new14 ("'Shotwell'");
-#line 3097 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3086 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+ _tmp12_ = _variant_new18 ("Shotwell");
+#line 3086 "/home/jens/Source/shotwell/src/PhotoPage.vala"
g_action_change_state (_tmp11_, _tmp12_);
-#line 3097 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3086 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_variant_unref0 (_tmp12_);
-#line 3097 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3086 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp11_);
-#line 3098 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3087 "/home/jens/Source/shotwell/src/PhotoPage.vala"
break;
-#line 19208 "PhotoPage.c"
+#line 19157 "PhotoPage.c"
}
-#line 3095 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3084 "/home/jens/Source/shotwell/src/PhotoPage.vala"
case RAW_DEVELOPER_CAMERA:
-#line 3095 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3084 "/home/jens/Source/shotwell/src/PhotoPage.vala"
case RAW_DEVELOPER_EMBEDDED:
-#line 19214 "PhotoPage.c"
+#line 19163 "PhotoPage.c"
{
GAction* _tmp13_ = NULL;
GAction* _tmp14_ = NULL;
GVariant* _tmp15_ = NULL;
-#line 3102 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3091 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp13_ = page_get_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "RawDeveloper");
-#line 3102 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3091 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp14_ = _tmp13_;
-#line 3102 "/home/jens/Source/shotwell/src/PhotoPage.vala"
- _tmp15_ = _variant_new15 ("'Camera'");
-#line 3102 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3091 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+ _tmp15_ = _variant_new19 ("Camera");
+#line 3091 "/home/jens/Source/shotwell/src/PhotoPage.vala"
g_action_change_state (_tmp14_, _tmp15_);
-#line 3102 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3091 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_variant_unref0 (_tmp15_);
-#line 3102 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3091 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp14_);
-#line 3103 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3092 "/home/jens/Source/shotwell/src/PhotoPage.vala"
break;
-#line 19233 "PhotoPage.c"
+#line 19182 "PhotoPage.c"
}
default:
{
-#line 3106 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3095 "/home/jens/Source/shotwell/src/PhotoPage.vala"
g_assert_not_reached ();
-#line 19239 "PhotoPage.c"
+#line 19188 "PhotoPage.c"
}
}
}
@@ -19254,60 +19203,60 @@ static void library_photo_page_on_metadata_altered (LibraryPhotoPage* self, GeeM
Photo* _tmp3_ = NULL;
gboolean _tmp4_ = FALSE;
gboolean _tmp5_ = FALSE;
-#line 3111 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3100 "/home/jens/Source/shotwell/src/PhotoPage.vala"
g_return_if_fail (IS_LIBRARY_PHOTO_PAGE (self));
-#line 3111 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3100 "/home/jens/Source/shotwell/src/PhotoPage.vala"
g_return_if_fail (GEE_IS_MAP (map));
-#line 3112 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3101 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp1_ = map;
-#line 3112 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3101 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp2_ = editing_host_page_get_photo (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EDITING_HOST_PAGE, EditingHostPage));
-#line 3112 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3101 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp3_ = _tmp2_;
-#line 3112 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3101 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp4_ = gee_map_has_key (_tmp1_, G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, TYPE_DATA_OBJECT, DataObject));
-#line 3112 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3101 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp5_ = _tmp4_;
-#line 3112 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3101 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp3_);
-#line 3112 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3101 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp5_) {
-#line 19271 "PhotoPage.c"
+#line 19220 "PhotoPage.c"
GeeMap* _tmp6_ = NULL;
Photo* _tmp7_ = NULL;
Photo* _tmp8_ = NULL;
gpointer _tmp9_ = NULL;
Alteration* _tmp10_ = NULL;
gboolean _tmp11_ = FALSE;
-#line 3112 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3101 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp6_ = map;
-#line 3112 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3101 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp7_ = editing_host_page_get_photo (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_EDITING_HOST_PAGE, EditingHostPage));
-#line 3112 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3101 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp8_ = _tmp7_;
-#line 3112 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3101 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp9_ = gee_map_get (_tmp6_, G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, TYPE_DATA_OBJECT, DataObject));
-#line 3112 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3101 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp10_ = (Alteration*) _tmp9_;
-#line 3112 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3101 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp11_ = alteration_has_subject (_tmp10_, "metadata");
-#line 3112 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3101 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp0_ = _tmp11_;
-#line 3112 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3101 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_alteration_unref0 (_tmp10_);
-#line 3112 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3101 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp8_);
-#line 19296 "PhotoPage.c"
+#line 19245 "PhotoPage.c"
} else {
-#line 3112 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3101 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp0_ = FALSE;
-#line 19300 "PhotoPage.c"
+#line 19249 "PhotoPage.c"
}
-#line 3112 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3101 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp0_) {
-#line 3113 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3102 "/home/jens/Source/shotwell/src/PhotoPage.vala"
single_photo_page_repaint (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SINGLE_PHOTO_PAGE, SinglePhotoPage), NULL);
-#line 19306 "PhotoPage.c"
+#line 19255 "PhotoPage.c"
}
}
@@ -19323,29 +19272,29 @@ static void library_photo_page_on_add_tags (LibraryPhotoPage* self) {
gint _names_size_ = 0;
gchar** _tmp4_ = NULL;
gint _tmp4__length1 = 0;
-#line 3116 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3105 "/home/jens/Source/shotwell/src/PhotoPage.vala"
g_return_if_fail (IS_LIBRARY_PHOTO_PAGE (self));
-#line 3117 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3106 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp0_ = add_tags_dialog_new ();
-#line 3117 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3106 "/home/jens/Source/shotwell/src/PhotoPage.vala"
dialog = _tmp0_;
-#line 3118 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3107 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp1_ = dialog;
-#line 3118 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3107 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp3_ = add_tags_dialog_execute (_tmp1_, &_tmp2_);
-#line 3118 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3107 "/home/jens/Source/shotwell/src/PhotoPage.vala"
names = _tmp3_;
-#line 3118 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3107 "/home/jens/Source/shotwell/src/PhotoPage.vala"
names_length1 = _tmp2_;
-#line 3118 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3107 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_names_size_ = names_length1;
-#line 3119 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3108 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp4_ = names;
-#line 3119 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3108 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp4__length1 = names_length1;
-#line 3119 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3108 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp4_ != NULL) {
-#line 19344 "PhotoPage.c"
+#line 19293 "PhotoPage.c"
CommandManager* _tmp5_ = NULL;
CommandManager* _tmp6_ = NULL;
HierarchicalTagIndex* _tmp7_ = NULL;
@@ -19362,57 +19311,57 @@ static void library_photo_page_on_add_tags (LibraryPhotoPage* self) {
GeeCollection* _tmp16_ = NULL;
AddTagsCommand* _tmp17_ = NULL;
AddTagsCommand* _tmp18_ = NULL;
-#line 3120 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3109 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp5_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 3120 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3109 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp6_ = _tmp5_;
-#line 3120 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3109 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp7_ = hierarchical_tag_index_get_global_index ();
-#line 3120 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3109 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp8_ = _tmp7_;
-#line 3120 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3109 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp9_ = names;
-#line 3120 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3109 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp9__length1 = names_length1;
-#line 3120 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3109 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp11_ = hierarchical_tag_index_get_paths_for_names_array (_tmp8_, _tmp9_, _tmp9__length1, &_tmp10_);
-#line 3120 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3109 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp12_ = _tmp11_;
-#line 3120 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3109 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp12__length1 = _tmp10_;
-#line 3120 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3109 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp13_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 3120 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3109 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp14_ = _tmp13_;
-#line 3120 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3109 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp15_ = view_collection_get_selected_sources (_tmp14_);
-#line 3120 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3109 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp16_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, GEE_TYPE_COLLECTION, GeeCollection);
-#line 3120 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3109 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp17_ = add_tags_command_new (_tmp12_, _tmp10_, _tmp16_);
-#line 3120 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3109 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp18_ = _tmp17_;
-#line 3120 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3109 "/home/jens/Source/shotwell/src/PhotoPage.vala"
command_manager_execute (_tmp6_, G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, TYPE_COMMAND, Command));
-#line 3120 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3109 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp18_);
-#line 3120 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3109 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp16_);
-#line 3120 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3109 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_data_collection_unref0 (_tmp14_);
-#line 3120 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3109 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp12_ = (_vala_array_free (_tmp12_, _tmp12__length1, (GDestroyNotify) g_free), NULL);
-#line 3120 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3109 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_hierarchical_tag_index_unref0 (_tmp8_);
-#line 3120 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3109 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_command_manager_unref0 (_tmp6_);
-#line 19405 "PhotoPage.c"
+#line 19354 "PhotoPage.c"
}
-#line 3116 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3105 "/home/jens/Source/shotwell/src/PhotoPage.vala"
names = (_vala_array_free (names, names_length1, (GDestroyNotify) g_free), NULL);
-#line 3116 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3105 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_text_entry_dialog_mediator_unref0 (dialog);
-#line 19411 "PhotoPage.c"
+#line 19360 "PhotoPage.c"
}
@@ -19437,77 +19386,77 @@ static void library_photo_page_on_modify_tags (LibraryPhotoPage* self) {
GeeArrayList* _tmp14_ = NULL;
ModifyTagsCommand* _tmp15_ = NULL;
ModifyTagsCommand* _tmp16_ = NULL;
-#line 3126 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3115 "/home/jens/Source/shotwell/src/PhotoPage.vala"
g_return_if_fail (IS_LIBRARY_PHOTO_PAGE (self));
-#line 3127 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3116 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp0_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 3127 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3116 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp1_ = _tmp0_;
-#line 3127 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3116 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp2_ = view_collection_get_selected_at (_tmp1_, 0);
-#line 3127 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3116 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp3_ = _tmp2_;
-#line 3127 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3116 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp4_ = data_view_get_source (_tmp3_);
-#line 3127 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3116 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp5_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, TYPE_LIBRARY_PHOTO, LibraryPhoto);
-#line 3127 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3116 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp3_);
-#line 3127 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3116 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 3127 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3116 "/home/jens/Source/shotwell/src/PhotoPage.vala"
photo = _tmp5_;
-#line 3129 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3118 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp6_ = photo;
-#line 3129 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3118 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp7_ = modify_tags_dialog_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, TYPE_MEDIA_SOURCE, MediaSource));
-#line 3129 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3118 "/home/jens/Source/shotwell/src/PhotoPage.vala"
dialog = _tmp7_;
-#line 3130 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3119 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp8_ = dialog;
-#line 3130 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3119 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp9_ = modify_tags_dialog_execute (_tmp8_);
-#line 3130 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3119 "/home/jens/Source/shotwell/src/PhotoPage.vala"
new_tags = _tmp9_;
-#line 3132 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3121 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp10_ = new_tags;
-#line 3132 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3121 "/home/jens/Source/shotwell/src/PhotoPage.vala"
if (_tmp10_ == NULL) {
-#line 3133 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3122 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (new_tags);
-#line 3133 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3122 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_text_entry_dialog_mediator_unref0 (dialog);
-#line 3133 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3122 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (photo);
-#line 3133 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3122 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return;
-#line 19480 "PhotoPage.c"
+#line 19429 "PhotoPage.c"
}
-#line 3135 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3124 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp11_ = page_get_command_manager (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
-#line 3135 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3124 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp12_ = _tmp11_;
-#line 3135 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3124 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp13_ = photo;
-#line 3135 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3124 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp14_ = new_tags;
-#line 3135 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3124 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp15_ = modify_tags_command_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, TYPE_MEDIA_SOURCE, MediaSource), G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 3135 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3124 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_tmp16_ = _tmp15_;
-#line 3135 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3124 "/home/jens/Source/shotwell/src/PhotoPage.vala"
command_manager_execute (_tmp12_, G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, TYPE_COMMAND, Command));
-#line 3135 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3124 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (_tmp16_);
-#line 3135 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3124 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_command_manager_unref0 (_tmp12_);
-#line 3126 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3115 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (new_tags);
-#line 3126 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3115 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_text_entry_dialog_mediator_unref0 (dialog);
-#line 3126 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 3115 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (photo);
-#line 19506 "PhotoPage.c"
+#line 19455 "PhotoPage.c"
}
@@ -19539,7 +19488,7 @@ static gboolean library_photo_page_library_photo_page_view_filter_real_predicate
result = _tmp4_;
#line 2332 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return result;
-#line 19538 "PhotoPage.c"
+#line 19487 "PhotoPage.c"
}
@@ -19549,14 +19498,14 @@ static LibraryPhotoPageLibraryPhotoPageViewFilter* library_photo_page_library_ph
self = (LibraryPhotoPageLibraryPhotoPageViewFilter*) view_filter_construct (object_type);
#line 2330 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return self;
-#line 19548 "PhotoPage.c"
+#line 19497 "PhotoPage.c"
}
static LibraryPhotoPageLibraryPhotoPageViewFilter* library_photo_page_library_photo_page_view_filter_new (void) {
#line 2330 "/home/jens/Source/shotwell/src/PhotoPage.vala"
return library_photo_page_library_photo_page_view_filter_construct (LIBRARY_PHOTO_PAGE_TYPE_LIBRARY_PHOTO_PAGE_VIEW_FILTER);
-#line 19555 "PhotoPage.c"
+#line 19504 "PhotoPage.c"
}
@@ -19565,7 +19514,7 @@ static void library_photo_page_library_photo_page_view_filter_class_init (Librar
library_photo_page_library_photo_page_view_filter_parent_class = g_type_class_peek_parent (klass);
#line 2330 "/home/jens/Source/shotwell/src/PhotoPage.vala"
((ViewFilterClass *) klass)->predicate = library_photo_page_library_photo_page_view_filter_real_predicate;
-#line 19564 "PhotoPage.c"
+#line 19513 "PhotoPage.c"
}
@@ -19628,7 +19577,7 @@ static void library_photo_page_class_init (LibraryPhotoPageClass * klass) {
((PageClass *) klass)->on_context_keypress = library_photo_page_real_on_context_keypress;
#line 2328 "/home/jens/Source/shotwell/src/PhotoPage.vala"
G_OBJECT_CLASS (klass)->finalize = library_photo_page_finalize;
-#line 19627 "PhotoPage.c"
+#line 19576 "PhotoPage.c"
}
@@ -19644,7 +19593,7 @@ static void library_photo_page_instance_init (LibraryPhotoPage * self) {
_tmp0_ = library_photo_page_library_photo_page_view_filter_new ();
#line 2338 "/home/jens/Source/shotwell/src/PhotoPage.vala"
self->priv->filter = _tmp0_;
-#line 19643 "PhotoPage.c"
+#line 19592 "PhotoPage.c"
}
@@ -19685,11 +19634,11 @@ static void library_photo_page_finalize (GObject* obj) {
_g_object_unref0 (self->priv->return_page);
#line 2338 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_view_filter_unref0 (self->priv->filter);
-#line 2825 "/home/jens/Source/shotwell/src/PhotoPage.vala"
+#line 2814 "/home/jens/Source/shotwell/src/PhotoPage.vala"
_g_object_unref0 (self->priv->context_menu);
#line 2328 "/home/jens/Source/shotwell/src/PhotoPage.vala"
G_OBJECT_CLASS (library_photo_page_parent_class)->finalize (obj);
-#line 19688 "PhotoPage.c"
+#line 19637 "PhotoPage.c"
}
diff --git a/src/PhotoPage.vala b/src/PhotoPage.vala
index 3ad2076..a6fb529 100644
--- a/src/PhotoPage.vala
+++ b/src/PhotoPage.vala
@@ -2438,10 +2438,10 @@ public class LibraryPhotoPage : EditingHostPage {
base.add_actions ();
AppWindow.get_instance ().add_action_entries (entries, this);
- (get_action ("ViewRatings") as GLib.SimpleAction).set_state (Config.Facade.get_instance ().get_display_photo_ratings ());
+ (get_action ("ViewRatings") as GLib.SimpleAction).change_state (Config.Facade.get_instance ().get_display_photo_ratings ());
var d = Config.Facade.get_instance().get_default_raw_developer();
var action = get_action ("RawDeveloper") as GLib.SimpleAction;
- action.set_state (d == RawDeveloper.SHOTWELL ? "'Shotwell'" : "'Camera'");
+ action.change_state (d == RawDeveloper.SHOTWELL ? "Shotwell" : "Camera");
}
protected override InjectionGroup[] init_collect_injection_groups() {
@@ -2458,7 +2458,7 @@ public class LibraryPhotoPage : EditingHostPage {
groups += publish_group;
InjectionGroup bg_group = new InjectionGroup("SetBackgroundPlaceholder");
- bg_group.add_menu_item(_("Set as _Desktop Background"), "SetBackground");
+ bg_group.add_menu_item(_("Set as _Desktop Background"), "SetBackground", "<Primary>b");
groups += bg_group;
@@ -2569,18 +2569,7 @@ public class LibraryPhotoPage : EditingHostPage {
}
private void update_flag_action() {
- if (has_photo()) {
- var action = get_action("Flag") as GLib.SimpleAction;
- assert(action != null);
-
-// bool is_flagged = ((LibraryPhoto) get_photo()).is_flagged();
-
- debug ("Setting label of action flagged");
-// action.label = is_flagged ? Resources.UNFLAG_MENU : Resources.FLAG_MENU;
- action.set_enabled (true);
- } else {
- set_action_sensitive("Flag", false);
- }
+ set_action_sensitive ("Flag", has_photo());
}
// Displays a photo from a specific CollectionPage. When the user exits this view,
@@ -3094,12 +3083,12 @@ public class LibraryPhotoPage : EditingHostPage {
// Set active developer in menu.
switch (get_photo().get_raw_developer()) {
case RawDeveloper.SHOTWELL:
- get_action ("RawDeveloper").change_state ("'Shotwell'");
+ get_action ("RawDeveloper").change_state ("Shotwell");
break;
case RawDeveloper.CAMERA:
case RawDeveloper.EMBEDDED:
- get_action ("RawDeveloper").change_state ("'Camera'");
+ get_action ("RawDeveloper").change_state ("Camera");
break;
default:
diff --git a/src/PixbufCache.c b/src/PixbufCache.c
index 3fbf1a8..540a79f 100644
--- a/src/PixbufCache.c
+++ b/src/PixbufCache.c
@@ -1,4 +1,4 @@
-/* PixbufCache.c generated by valac 0.34.2, the Vala compiler
+/* PixbufCache.c generated by valac 0.32.1, the Vala compiler
* generated from PixbufCache.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -2288,7 +2288,7 @@ static void pixbuf_cache_baseline_fetch_job_real_execute (BackgroundJob* base) {
#line 50 "/home/jens/Source/shotwell/src/PixbufCache.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 2291 "PixbufCache.c"
- goto __catch452_g_error;
+ goto __catch450_g_error;
}
#line 50 "/home/jens/Source/shotwell/src/PixbufCache.vala"
_tmp4_ = _tmp0_;
@@ -2302,8 +2302,8 @@ static void pixbuf_cache_baseline_fetch_job_real_execute (BackgroundJob* base) {
_g_object_unref0 (_tmp0_);
#line 2304 "PixbufCache.c"
}
- goto __finally452;
- __catch452_g_error:
+ goto __finally450;
+ __catch450_g_error:
{
GError* err = NULL;
GError* _tmp5_ = NULL;
@@ -2324,7 +2324,7 @@ static void pixbuf_cache_baseline_fetch_job_real_execute (BackgroundJob* base) {
_g_error_free0 (err);
#line 2326 "PixbufCache.c"
}
- __finally452:
+ __finally450:
#line 49 "/home/jens/Source/shotwell/src/PixbufCache.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 49 "/home/jens/Source/shotwell/src/PixbufCache.vala"
@@ -2427,7 +2427,7 @@ static void pixbuf_cache_master_fetch_job_real_execute (BackgroundJob* base) {
#line 65 "/home/jens/Source/shotwell/src/PixbufCache.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 2430 "PixbufCache.c"
- goto __catch453_g_error;
+ goto __catch451_g_error;
}
#line 65 "/home/jens/Source/shotwell/src/PixbufCache.vala"
_tmp4_ = _tmp0_;
@@ -2441,8 +2441,8 @@ static void pixbuf_cache_master_fetch_job_real_execute (BackgroundJob* base) {
_g_object_unref0 (_tmp0_);
#line 2443 "PixbufCache.c"
}
- goto __finally453;
- __catch453_g_error:
+ goto __finally451;
+ __catch451_g_error:
{
GError* err = NULL;
GError* _tmp5_ = NULL;
@@ -2463,7 +2463,7 @@ static void pixbuf_cache_master_fetch_job_real_execute (BackgroundJob* base) {
_g_error_free0 (err);
#line 2465 "PixbufCache.c"
}
- __finally453:
+ __finally451:
#line 64 "/home/jens/Source/shotwell/src/PixbufCache.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 64 "/home/jens/Source/shotwell/src/PixbufCache.vala"
@@ -2510,7 +2510,7 @@ static void pixbuf_cache_class_init (PixbufCacheClass * klass) {
#line 7 "/home/jens/Source/shotwell/src/PixbufCache.vala"
G_OBJECT_CLASS (klass)->finalize = pixbuf_cache_finalize;
#line 7 "/home/jens/Source/shotwell/src/PixbufCache.vala"
- g_signal_new ("fetched", TYPE_PIXBUF_CACHE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_user_marshal_VOID__OBJECT_OBJECT_POINTER, G_TYPE_NONE, 3, TYPE_PHOTO, gdk_pixbuf_get_type (), G_TYPE_POINTER);
+ g_signal_new ("fetched", TYPE_PIXBUF_CACHE, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_user_marshal_VOID__OBJECT_OBJECT_POINTER, G_TYPE_NONE, 3, TYPE_PHOTO, GDK_TYPE_PIXBUF, G_TYPE_POINTER);
#line 2515 "PixbufCache.c"
}
@@ -2522,7 +2522,7 @@ static void pixbuf_cache_instance_init (PixbufCache * self) {
#line 7 "/home/jens/Source/shotwell/src/PixbufCache.vala"
self->priv = PIXBUF_CACHE_GET_PRIVATE (self);
#line 79 "/home/jens/Source/shotwell/src/PixbufCache.vala"
- _tmp0_ = gee_hash_map_new (TYPE_PHOTO, (GBoxedCopyFunc) g_object_ref, g_object_unref, gdk_pixbuf_get_type (), (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
+ _tmp0_ = gee_hash_map_new (TYPE_PHOTO, (GBoxedCopyFunc) g_object_ref, g_object_unref, GDK_TYPE_PIXBUF, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
#line 79 "/home/jens/Source/shotwell/src/PixbufCache.vala"
self->priv->cache = _tmp0_;
#line 80 "/home/jens/Source/shotwell/src/PixbufCache.vala"
diff --git a/src/Printing.c b/src/Printing.c
index 3a70b0f..70750fa 100644
--- a/src/Printing.c
+++ b/src/Printing.c
@@ -1,4 +1,4 @@
-/* Printing.c generated by valac 0.34.2, the Vala compiler
+/* Printing.c generated by valac 0.32.1, the Vala compiler
* generated from Printing.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -2944,15 +2944,15 @@ static gchar string_get (const gchar* self, glong index) {
gchar result = '\0';
glong _tmp0_ = 0L;
gchar _tmp1_ = '\0';
-#line 1086 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1086 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, '\0');
-#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = index;
-#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = ((gchar*) self)[_tmp0_];
-#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp1_;
-#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 2958 "Printing.c"
}
@@ -3433,15 +3433,15 @@ static gdouble double_parse (const gchar* str) {
gdouble result = 0.0;
const gchar* _tmp0_ = NULL;
gdouble _tmp1_ = 0.0;
-#line 869 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 869 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (str != NULL, 0.0);
-#line 870 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 870 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = str;
-#line 870 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 870 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = g_ascii_strtod (_tmp0_, NULL);
-#line 870 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 870 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp1_;
-#line 870 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 870 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 3447 "Printing.c"
}
@@ -3503,17 +3503,17 @@ static gboolean string_contains (const gchar* self, const gchar* needle) {
gboolean result = FALSE;
const gchar* _tmp0_ = NULL;
gchar* _tmp1_ = NULL;
-#line 1376 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1376 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, FALSE);
-#line 1376 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1376 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (needle != NULL, FALSE);
-#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = needle;
-#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = strstr ((gchar*) self, (gchar*) _tmp0_);
-#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp1_ != NULL;
-#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 3519 "Printing.c"
}
@@ -6415,7 +6415,7 @@ void print_manager_spool_photo (PrintManager* self, GeeCollection* to_print) {
#line 893 "/home/jens/Source/shotwell/src/Printing.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 6417 "Printing.c"
- goto __catch467_g_error;
+ goto __catch465_g_error;
}
#line 895 "/home/jens/Source/shotwell/src/Printing.vala"
if (_result_ == GTK_PRINT_OPERATION_RESULT_APPLY) {
@@ -6433,8 +6433,8 @@ void print_manager_spool_photo (PrintManager* self, GeeCollection* to_print) {
#line 6433 "Printing.c"
}
}
- goto __finally467;
- __catch467_g_error:
+ goto __finally465;
+ __catch465_g_error:
{
GError* e = NULL;
GError* _tmp22_ = NULL;
@@ -6460,7 +6460,7 @@ void print_manager_spool_photo (PrintManager* self, GeeCollection* to_print) {
_g_error_free0 (e);
#line 6461 "Printing.c"
}
- __finally467:
+ __finally465:
#line 892 "/home/jens/Source/shotwell/src/Printing.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 892 "/home/jens/Source/shotwell/src/Printing.vala"
@@ -7984,7 +7984,7 @@ static void print_manager_fit_image_to_canvas (PrintManager* self, Photo* photo,
#line 1089 "/home/jens/Source/shotwell/src/Printing.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 7986 "Printing.c"
- goto __catch468_g_error;
+ goto __catch466_g_error;
}
#line 1090 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp52_ = photo_pixbuf;
@@ -8111,7 +8111,7 @@ static void print_manager_fit_image_to_canvas (PrintManager* self, Photo* photo,
#line 1104 "/home/jens/Source/shotwell/src/Printing.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 8113 "Printing.c"
- goto __catch468_g_error;
+ goto __catch466_g_error;
}
#line 1105 "/home/jens/Source/shotwell/src/Printing.vala"
_tmp85_ = photo_pixbuf;
@@ -8137,8 +8137,8 @@ static void print_manager_fit_image_to_canvas (PrintManager* self, Photo* photo,
cairo_paint (_tmp89_);
#line 8138 "Printing.c"
}
- goto __finally468;
- __catch468_g_error:
+ goto __finally466;
+ __catch466_g_error:
{
GError* e = NULL;
PrintJob* _tmp90_ = NULL;
@@ -8173,7 +8173,7 @@ static void print_manager_fit_image_to_canvas (PrintManager* self, Photo* photo,
_g_error_free0 (e);
#line 8174 "Printing.c"
}
- __finally468:
+ __finally466:
#line 1086 "/home/jens/Source/shotwell/src/Printing.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1086 "/home/jens/Source/shotwell/src/Printing.vala"
diff --git a/src/Properties.c b/src/Properties.c
index 1ac8e72..1b97778 100644
--- a/src/Properties.c
+++ b/src/Properties.c
@@ -1,4 +1,4 @@
-/* Properties.c generated by valac 0.34.2, the Vala compiler
+/* Properties.c generated by valac 0.32.1, the Vala compiler
* generated from Properties.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -1015,35 +1015,35 @@ static gchar* g_time_format (struct tm *self, const gchar* format) {
gchar* _tmp3_ = NULL;
gint _tmp3__length1 = 0;
gchar* _tmp4_ = NULL;
-#line 2758 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2709 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (format != NULL, NULL);
-#line 2759 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2710 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = g_new0 (gchar, 64);
-#line 2759 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2710 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
buffer = _tmp0_;
-#line 2759 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2710 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
buffer_length1 = 64;
-#line 2759 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2710 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_buffer_size_ = buffer_length1;
-#line 2760 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2711 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = buffer;
-#line 2760 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2711 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1__length1 = buffer_length1;
-#line 2760 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2711 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = format;
-#line 2760 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2711 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
strftime (_tmp1_, _tmp1__length1, _tmp2_, &(*self));
-#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = buffer;
-#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3__length1 = buffer_length1;
-#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = g_strdup ((const gchar*) _tmp3_);
-#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp4_;
-#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
buffer = (g_free (buffer), NULL);
-#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 1049 "Properties.c"
}
@@ -1053,15 +1053,15 @@ static gchar string_get (const gchar* self, glong index) {
gchar result = '\0';
glong _tmp0_ = 0L;
gchar _tmp1_ = '\0';
-#line 1086 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1086 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, '\0');
-#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = index;
-#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = ((gchar*) self)[_tmp0_];
-#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp1_;
-#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 1067 "Properties.c"
}
@@ -1074,37 +1074,37 @@ static glong string_strnlen (gchar* str, glong maxlen) {
glong _tmp1_ = 0L;
gchar* _tmp2_ = NULL;
gchar* _tmp3_ = NULL;
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = str;
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = maxlen;
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = memchr (_tmp0_, 0, (gsize) _tmp1_);
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
end = _tmp2_;
-#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = end;
-#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp3_ == NULL) {
#line 1090 "Properties.c"
glong _tmp4_ = 0L;
-#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = maxlen;
-#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp4_;
-#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 1098 "Properties.c"
} else {
gchar* _tmp5_ = NULL;
gchar* _tmp6_ = NULL;
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = end;
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6_ = str;
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = (glong) (_tmp5_ - _tmp6_);
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 1110 "Properties.c"
}
@@ -1124,112 +1124,112 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) {
glong _tmp20_ = 0L;
glong _tmp21_ = 0L;
gchar* _tmp22_ = NULL;
-#line 1306 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1306 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = offset;
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp1_ >= ((glong) 0)) {
#line 1134 "Properties.c"
glong _tmp2_ = 0L;
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = len;
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = _tmp2_ >= ((glong) 0);
#line 1140 "Properties.c"
} else {
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = FALSE;
#line 1144 "Properties.c"
}
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp0_) {
#line 1148 "Properties.c"
glong _tmp3_ = 0L;
glong _tmp4_ = 0L;
glong _tmp5_ = 0L;
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = offset;
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = len;
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = string_strnlen ((gchar*) self, _tmp3_ + _tmp4_);
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
string_length = _tmp5_;
#line 1160 "Properties.c"
} else {
gint _tmp6_ = 0;
gint _tmp7_ = 0;
-#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6_ = strlen (self);
-#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp7_ = _tmp6_;
-#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
string_length = (glong) _tmp7_;
#line 1170 "Properties.c"
}
-#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp8_ = offset;
-#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp8_ < ((glong) 0)) {
#line 1176 "Properties.c"
glong _tmp9_ = 0L;
glong _tmp10_ = 0L;
glong _tmp11_ = 0L;
-#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp9_ = string_length;
-#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp10_ = offset;
-#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
offset = _tmp9_ + _tmp10_;
-#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp11_ = offset;
-#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp11_ >= ((glong) 0), NULL);
#line 1190 "Properties.c"
} else {
glong _tmp12_ = 0L;
glong _tmp13_ = 0L;
-#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp12_ = offset;
-#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp13_ = string_length;
-#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp12_ <= _tmp13_, NULL);
#line 1200 "Properties.c"
}
-#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp14_ = len;
-#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp14_ < ((glong) 0)) {
#line 1206 "Properties.c"
glong _tmp15_ = 0L;
glong _tmp16_ = 0L;
-#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp15_ = string_length;
-#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp16_ = offset;
-#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
len = _tmp15_ - _tmp16_;
#line 1215 "Properties.c"
}
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp17_ = offset;
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp18_ = len;
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp19_ = string_length;
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail ((_tmp17_ + _tmp18_) <= _tmp19_, NULL);
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp20_ = offset;
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp21_ = len;
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp22_ = g_strndup (((gchar*) self) + _tmp20_, (gsize) _tmp21_);
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp22_;
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 1235 "Properties.c"
}
@@ -1342,13 +1342,13 @@ gchar* properties_get_prettyprint_time_with_seconds (Properties* self, struct tm
static void g_time_local (time_t time, struct tm* result) {
struct tm _result_ = {0};
struct tm _tmp0_ = {0};
-#line 2750 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2701 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
localtime_r (&time, &_tmp0_);
-#line 2750 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2701 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_result_ = _tmp0_;
-#line 2751 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2702 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
*result = _result_;
-#line 2751 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2702 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return;
#line 1354 "Properties.c"
}
@@ -4512,7 +4512,7 @@ static void extended_properties_window_extended_properties_real_get_single_prope
#line 543 "/home/jens/Source/shotwell/src/Properties.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 4515 "Properties.c"
- goto __catch432_g_error;
+ goto __catch430_g_error;
}
#line 543 "/home/jens/Source/shotwell/src/Properties.vala"
_tmp23_ = _tmp20_;
@@ -4526,8 +4526,8 @@ static void extended_properties_window_extended_properties_real_get_single_prope
_media_metadata_unref0 (_tmp20_);
#line 4528 "Properties.c"
}
- goto __finally432;
- __catch432_g_error:
+ goto __finally430;
+ __catch430_g_error:
{
GError* e = NULL;
Photo* _tmp24_ = NULL;
@@ -4548,7 +4548,7 @@ static void extended_properties_window_extended_properties_real_get_single_prope
_g_error_free0 (e);
#line 4550 "Properties.c"
}
- __finally432:
+ __finally430:
#line 538 "/home/jens/Source/shotwell/src/Properties.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 538 "/home/jens/Source/shotwell/src/Properties.vala"
@@ -4802,11 +4802,11 @@ static void extended_properties_window_extended_properties_real_get_single_prope
static gchar* string_replace (const gchar* self, const gchar* old, const gchar* replacement) {
gchar* result = NULL;
GError * _inner_error_ = NULL;
-#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (old != NULL, NULL);
-#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (replacement != NULL, NULL);
#line 4812 "Properties.c"
{
@@ -4821,98 +4821,98 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar*
const gchar* _tmp7_ = NULL;
gchar* _tmp8_ = NULL;
gchar* _tmp9_ = NULL;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = old;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = g_regex_escape_string (_tmp0_, -1);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = _tmp1_;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = g_regex_new (_tmp2_, 0, 0, &_inner_error_);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = _tmp3_;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_free0 (_tmp2_);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
regex = _tmp4_;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_inner_error_->domain == G_REGEX_ERROR) {
#line 4843 "Properties.c"
- goto __catch433_g_regex_error;
+ goto __catch431_g_regex_error;
}
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_clear_error (&_inner_error_);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return NULL;
#line 4852 "Properties.c"
}
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6_ = regex;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp7_ = replacement;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp8_ = g_regex_replace_literal (_tmp6_, self, (gssize) -1, 0, _tmp7_, 0, &_inner_error_);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = _tmp8_;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_regex_unref0 (regex);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_inner_error_->domain == G_REGEX_ERROR) {
#line 4868 "Properties.c"
- goto __catch433_g_regex_error;
+ goto __catch431_g_regex_error;
}
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_regex_unref0 (regex);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_clear_error (&_inner_error_);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return NULL;
#line 4879 "Properties.c"
}
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp9_ = _tmp5_;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = NULL;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp9_;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_free0 (_tmp5_);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_regex_unref0 (regex);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 4893 "Properties.c"
}
- goto __finally433;
- __catch433_g_regex_error:
+ goto __finally431;
+ __catch431_g_regex_error:
{
GError* e = NULL;
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
e = _inner_error_;
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_inner_error_ = NULL;
-#line 1385 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1385 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_assert_not_reached ();
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_error_free0 (e);
#line 4907 "Properties.c"
}
- __finally433:
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+ __finally431:
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
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 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_clear_error (&_inner_error_);
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return NULL;
#line 4918 "Properties.c"
}
diff --git a/src/Resources.c b/src/Resources.c
index a978be8..3a59fbe 100644
--- a/src/Resources.c
+++ b/src/Resources.c
@@ -1,4 +1,4 @@
-/* Resources.c generated by valac 0.34.2, the Vala compiler
+/* Resources.c generated by valac 0.32.1, the Vala compiler
* generated from Resources.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -16,8 +16,8 @@
#include <float.h>
#include <math.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
-#include <gtk/gtk.h>
#include <gee.h>
+#include <gtk/gtk.h>
#include <gio/gio.h>
#include <locale.h>
#include <langinfo.h>
@@ -30,8 +30,6 @@
#define TYPE_RATING_FILTER (rating_filter_get_type ())
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))
-#define _gtk_icon_set_unref0(var) ((var == NULL) ? NULL : (var = (gtk_icon_set_unref (var), NULL)))
-#define _gtk_icon_info_free0(var) ((var == NULL) ? NULL : (var = (gtk_icon_info_free (var), NULL)))
typedef enum {
RATING_REJECTED = -1,
@@ -61,7 +59,6 @@ typedef enum {
RATING_FILTER_FIVE_ONLY = 14
} RatingFilter;
-typedef void (*ResourcesAddStockIconModify) (GdkPixbuf* pixbuf, void* user_data);
extern gchar* resources_RATE_ONE_LABEL;
extern gchar* resources_RATE_TWO_LABEL;
@@ -133,8 +130,6 @@ gchar* resources_DISPLAY_FOUR_OR_HIGHER_TOOLTIP = NULL;
gchar* resources_DISPLAY_FIVE_OR_HIGHER_MENU = NULL;
gchar* resources_DISPLAY_FIVE_OR_HIGHER_LABEL = NULL;
gchar* resources_DISPLAY_FIVE_OR_HIGHER_TOOLTIP = NULL;
-extern GtkIconFactory* resources_factory;
-GtkIconFactory* resources_factory = NULL;
extern GeeHashMap* resources_icon_cache;
GeeHashMap* resources_icon_cache = NULL;
extern GeeHashMap* resources_scaled_icon_cache;
@@ -454,10 +449,6 @@ gchar* resources_jump_to_file_failed (GError* err);
#define RESOURCES_SELECT_ALL_TOOLTIP _ ("Select all items")
void resources_init (void);
GFile* app_dirs_get_resources_dir (void);
-void resources_add_stock_icon (GFile* file, const gchar* stock_id);
-void resources_add_stock_icon_from_themed_icon (GThemedIcon* gicon, const gchar* stock_id, ResourcesAddStockIconModify modify, void* modify_target);
-void dim_pixbuf (GdkPixbuf* pixbuf);
-static void _dim_pixbuf_resources_add_stock_icon_modify (GdkPixbuf* pixbuf, gpointer self);
void resources_terminate (void);
void resources_fetch_lc_time_format (void);
gchar* resources_get_hh_mm_format_string (void);
@@ -514,7 +505,7 @@ gchar* resources_launch_editor_failed (GError* err) {
result = _tmp3_;
#line 335 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 490 "Resources.c"
+#line 481 "Resources.c"
}
@@ -528,7 +519,7 @@ gchar* resources_add_tags_label (gchar** names, int names_length1) {
_tmp0__length1 = names_length1;
#line 339 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp0__length1 == 1) {
-#line 504 "Resources.c"
+#line 495 "Resources.c"
const gchar* _tmp1_ = NULL;
gchar** _tmp2_ = NULL;
gint _tmp2__length1 = 0;
@@ -559,7 +550,7 @@ gchar* resources_add_tags_label (gchar** names, int names_length1) {
result = _tmp7_;
#line 340 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 535 "Resources.c"
+#line 526 "Resources.c"
} else {
gchar** _tmp8_ = NULL;
gint _tmp8__length1 = 0;
@@ -569,7 +560,7 @@ gchar* resources_add_tags_label (gchar** names, int names_length1) {
_tmp8__length1 = names_length1;
#line 341 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp8__length1 == 2) {
-#line 545 "Resources.c"
+#line 536 "Resources.c"
const gchar* _tmp9_ = NULL;
gchar** _tmp10_ = NULL;
gint _tmp10__length1 = 0;
@@ -617,7 +608,7 @@ gchar* resources_add_tags_label (gchar** names, int names_length1) {
result = _tmp19_;
#line 343 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 593 "Resources.c"
+#line 584 "Resources.c"
} else {
const gchar* _tmp20_ = NULL;
gchar* _tmp21_ = NULL;
@@ -629,7 +620,7 @@ gchar* resources_add_tags_label (gchar** names, int names_length1) {
result = _tmp21_;
#line 348 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 605 "Resources.c"
+#line 596 "Resources.c"
}
}
}
@@ -652,7 +643,7 @@ gchar* resources_delete_tag_menu (const gchar* name) {
result = _tmp2_;
#line 353 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 628 "Resources.c"
+#line 619 "Resources.c"
}
@@ -673,7 +664,7 @@ gchar* resources_delete_tag_label (const gchar* name) {
result = _tmp2_;
#line 357 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 649 "Resources.c"
+#line 640 "Resources.c"
}
@@ -694,7 +685,7 @@ gchar* resources_rename_tag_menu (const gchar* name) {
result = _tmp2_;
#line 366 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 670 "Resources.c"
+#line 661 "Resources.c"
}
@@ -720,7 +711,7 @@ gchar* resources_rename_tag_label (const gchar* old_name, const gchar* new_name)
result = _tmp3_;
#line 370 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 696 "Resources.c"
+#line 687 "Resources.c"
}
@@ -744,7 +735,7 @@ gchar* resources_tag_photos_label (const gchar* name, gint count) {
result = _tmp3_;
#line 379 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 720 "Resources.c"
+#line 711 "Resources.c"
}
@@ -768,7 +759,7 @@ gchar* resources_tag_photos_tooltip (const gchar* name, gint count) {
result = _tmp3_;
#line 385 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 744 "Resources.c"
+#line 735 "Resources.c"
}
@@ -792,7 +783,7 @@ gchar* resources_untag_photos_menu (const gchar* name, gint count) {
result = _tmp3_;
#line 391 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 768 "Resources.c"
+#line 759 "Resources.c"
}
@@ -816,7 +807,7 @@ gchar* resources_untag_photos_label (const gchar* name, gint count) {
result = _tmp3_;
#line 397 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 792 "Resources.c"
+#line 783 "Resources.c"
}
@@ -837,7 +828,7 @@ gchar* resources_rename_tag_exists_message (const gchar* name) {
result = _tmp2_;
#line 403 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 813 "Resources.c"
+#line 804 "Resources.c"
}
@@ -858,7 +849,7 @@ gchar* resources_rename_search_exists_message (const gchar* name) {
result = _tmp2_;
#line 407 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 834 "Resources.c"
+#line 825 "Resources.c"
}
@@ -884,7 +875,7 @@ gchar* resources_rename_search_label (const gchar* old_name, const gchar* new_na
result = _tmp3_;
#line 419 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 860 "Resources.c"
+#line 851 "Resources.c"
}
@@ -905,7 +896,7 @@ gchar* resources_delete_search_label (const gchar* name) {
result = _tmp2_;
#line 423 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 881 "Resources.c"
+#line 872 "Resources.c"
}
@@ -918,27 +909,27 @@ const gchar* resources_rating_label (Rating rating) {
switch (_tmp0_) {
#line 427 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_REJECTED:
-#line 894 "Resources.c"
+#line 885 "Resources.c"
{
#line 429 "/home/jens/Source/shotwell/src/Resources.vala"
result = RESOURCES_RATE_REJECTED_LABEL;
#line 429 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 900 "Resources.c"
+#line 891 "Resources.c"
}
#line 427 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_UNRATED:
-#line 904 "Resources.c"
+#line 895 "Resources.c"
{
#line 431 "/home/jens/Source/shotwell/src/Resources.vala"
result = RESOURCES_RATE_UNRATED_LABEL;
#line 431 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 910 "Resources.c"
+#line 901 "Resources.c"
}
#line 427 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_ONE:
-#line 914 "Resources.c"
+#line 905 "Resources.c"
{
const gchar* _tmp1_ = NULL;
#line 433 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -947,11 +938,11 @@ const gchar* resources_rating_label (Rating rating) {
result = _tmp1_;
#line 433 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 923 "Resources.c"
+#line 914 "Resources.c"
}
#line 427 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_TWO:
-#line 927 "Resources.c"
+#line 918 "Resources.c"
{
const gchar* _tmp2_ = NULL;
#line 435 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -960,11 +951,11 @@ const gchar* resources_rating_label (Rating rating) {
result = _tmp2_;
#line 435 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 936 "Resources.c"
+#line 927 "Resources.c"
}
#line 427 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_THREE:
-#line 940 "Resources.c"
+#line 931 "Resources.c"
{
const gchar* _tmp3_ = NULL;
#line 437 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -973,11 +964,11 @@ const gchar* resources_rating_label (Rating rating) {
result = _tmp3_;
#line 437 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 949 "Resources.c"
+#line 940 "Resources.c"
}
#line 427 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_FOUR:
-#line 953 "Resources.c"
+#line 944 "Resources.c"
{
const gchar* _tmp4_ = NULL;
#line 439 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -986,11 +977,11 @@ const gchar* resources_rating_label (Rating rating) {
result = _tmp4_;
#line 439 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 962 "Resources.c"
+#line 953 "Resources.c"
}
#line 427 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_FIVE:
-#line 966 "Resources.c"
+#line 957 "Resources.c"
{
const gchar* _tmp5_ = NULL;
#line 441 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -999,7 +990,7 @@ const gchar* resources_rating_label (Rating rating) {
result = _tmp5_;
#line 441 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 975 "Resources.c"
+#line 966 "Resources.c"
}
default:
{
@@ -1007,7 +998,7 @@ const gchar* resources_rating_label (Rating rating) {
result = RESOURCES_RATE_UNRATED_LABEL;
#line 443 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 983 "Resources.c"
+#line 974 "Resources.c"
}
}
}
@@ -1022,27 +1013,27 @@ const gchar* resources_rating_combo_box (Rating rating) {
switch (_tmp0_) {
#line 448 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_REJECTED:
-#line 998 "Resources.c"
+#line 989 "Resources.c"
{
#line 450 "/home/jens/Source/shotwell/src/Resources.vala"
result = RESOURCES_RATE_REJECTED_COMBO_BOX;
#line 450 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1004 "Resources.c"
+#line 995 "Resources.c"
}
#line 448 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_UNRATED:
-#line 1008 "Resources.c"
+#line 999 "Resources.c"
{
#line 452 "/home/jens/Source/shotwell/src/Resources.vala"
result = RESOURCES_RATE_UNRATED_COMBO_BOX;
#line 452 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1014 "Resources.c"
+#line 1005 "Resources.c"
}
#line 448 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_ONE:
-#line 1018 "Resources.c"
+#line 1009 "Resources.c"
{
const gchar* _tmp1_ = NULL;
#line 454 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -1051,11 +1042,11 @@ const gchar* resources_rating_combo_box (Rating rating) {
result = _tmp1_;
#line 454 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1027 "Resources.c"
+#line 1018 "Resources.c"
}
#line 448 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_TWO:
-#line 1031 "Resources.c"
+#line 1022 "Resources.c"
{
const gchar* _tmp2_ = NULL;
#line 456 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -1064,11 +1055,11 @@ const gchar* resources_rating_combo_box (Rating rating) {
result = _tmp2_;
#line 456 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1040 "Resources.c"
+#line 1031 "Resources.c"
}
#line 448 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_THREE:
-#line 1044 "Resources.c"
+#line 1035 "Resources.c"
{
const gchar* _tmp3_ = NULL;
#line 458 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -1077,11 +1068,11 @@ const gchar* resources_rating_combo_box (Rating rating) {
result = _tmp3_;
#line 458 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1053 "Resources.c"
+#line 1044 "Resources.c"
}
#line 448 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_FOUR:
-#line 1057 "Resources.c"
+#line 1048 "Resources.c"
{
const gchar* _tmp4_ = NULL;
#line 460 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -1090,11 +1081,11 @@ const gchar* resources_rating_combo_box (Rating rating) {
result = _tmp4_;
#line 460 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1066 "Resources.c"
+#line 1057 "Resources.c"
}
#line 448 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_FIVE:
-#line 1070 "Resources.c"
+#line 1061 "Resources.c"
{
const gchar* _tmp5_ = NULL;
#line 462 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -1103,7 +1094,7 @@ const gchar* resources_rating_combo_box (Rating rating) {
result = _tmp5_;
#line 462 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1079 "Resources.c"
+#line 1070 "Resources.c"
}
default:
{
@@ -1111,7 +1102,7 @@ const gchar* resources_rating_combo_box (Rating rating) {
result = RESOURCES_RATE_UNRATED_MENU;
#line 464 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1087 "Resources.c"
+#line 1078 "Resources.c"
}
}
}
@@ -1126,7 +1117,7 @@ gchar* resources_get_rating_filter_tooltip (RatingFilter filter) {
switch (_tmp0_) {
#line 469 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_FILTER_REJECTED_OR_HIGHER:
-#line 1102 "Resources.c"
+#line 1093 "Resources.c"
{
gchar* _tmp1_ = NULL;
#line 471 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -1135,11 +1126,11 @@ gchar* resources_get_rating_filter_tooltip (RatingFilter filter) {
result = _tmp1_;
#line 471 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1111 "Resources.c"
+#line 1102 "Resources.c"
}
#line 469 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_FILTER_ONE_OR_HIGHER:
-#line 1115 "Resources.c"
+#line 1106 "Resources.c"
{
const gchar* _tmp2_ = NULL;
gchar* _tmp3_ = NULL;
@@ -1151,11 +1142,11 @@ gchar* resources_get_rating_filter_tooltip (RatingFilter filter) {
result = _tmp3_;
#line 474 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1127 "Resources.c"
+#line 1118 "Resources.c"
}
#line 469 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_FILTER_TWO_OR_HIGHER:
-#line 1131 "Resources.c"
+#line 1122 "Resources.c"
{
const gchar* _tmp4_ = NULL;
gchar* _tmp5_ = NULL;
@@ -1167,11 +1158,11 @@ gchar* resources_get_rating_filter_tooltip (RatingFilter filter) {
result = _tmp5_;
#line 477 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1143 "Resources.c"
+#line 1134 "Resources.c"
}
#line 469 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_FILTER_THREE_OR_HIGHER:
-#line 1147 "Resources.c"
+#line 1138 "Resources.c"
{
const gchar* _tmp6_ = NULL;
gchar* _tmp7_ = NULL;
@@ -1183,11 +1174,11 @@ gchar* resources_get_rating_filter_tooltip (RatingFilter filter) {
result = _tmp7_;
#line 480 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1159 "Resources.c"
+#line 1150 "Resources.c"
}
#line 469 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_FILTER_FOUR_OR_HIGHER:
-#line 1163 "Resources.c"
+#line 1154 "Resources.c"
{
const gchar* _tmp8_ = NULL;
gchar* _tmp9_ = NULL;
@@ -1199,13 +1190,13 @@ gchar* resources_get_rating_filter_tooltip (RatingFilter filter) {
result = _tmp9_;
#line 483 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1175 "Resources.c"
+#line 1166 "Resources.c"
}
#line 469 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_FILTER_FIVE_ONLY:
#line 469 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_FILTER_FIVE_OR_HIGHER:
-#line 1181 "Resources.c"
+#line 1172 "Resources.c"
{
const gchar* _tmp10_ = NULL;
gchar* _tmp11_ = NULL;
@@ -1217,11 +1208,11 @@ gchar* resources_get_rating_filter_tooltip (RatingFilter filter) {
result = _tmp11_;
#line 487 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1193 "Resources.c"
+#line 1184 "Resources.c"
}
#line 469 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_FILTER_REJECTED_ONLY:
-#line 1197 "Resources.c"
+#line 1188 "Resources.c"
{
gchar* _tmp12_ = NULL;
#line 490 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -1230,12 +1221,12 @@ gchar* resources_get_rating_filter_tooltip (RatingFilter filter) {
result = _tmp12_;
#line 490 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1206 "Resources.c"
+#line 1197 "Resources.c"
}
default:
#line 469 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_FILTER_UNRATED_OR_HIGHER:
-#line 1211 "Resources.c"
+#line 1202 "Resources.c"
{
gchar* _tmp13_ = NULL;
#line 494 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -1244,7 +1235,7 @@ gchar* resources_get_rating_filter_tooltip (RatingFilter filter) {
result = _tmp13_;
#line 494 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1220 "Resources.c"
+#line 1211 "Resources.c"
}
}
}
@@ -1259,7 +1250,7 @@ gchar* resources_rating_progress (Rating rating) {
switch (_tmp0_) {
#line 499 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_REJECTED:
-#line 1235 "Resources.c"
+#line 1226 "Resources.c"
{
gchar* _tmp1_ = NULL;
#line 501 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -1268,11 +1259,11 @@ gchar* resources_rating_progress (Rating rating) {
result = _tmp1_;
#line 501 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1244 "Resources.c"
+#line 1235 "Resources.c"
}
#line 499 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_UNRATED:
-#line 1248 "Resources.c"
+#line 1239 "Resources.c"
{
gchar* _tmp2_ = NULL;
#line 503 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -1281,11 +1272,11 @@ gchar* resources_rating_progress (Rating rating) {
result = _tmp2_;
#line 503 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1257 "Resources.c"
+#line 1248 "Resources.c"
}
#line 499 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_ONE:
-#line 1261 "Resources.c"
+#line 1252 "Resources.c"
{
const gchar* _tmp3_ = NULL;
gchar* _tmp4_ = NULL;
@@ -1297,11 +1288,11 @@ gchar* resources_rating_progress (Rating rating) {
result = _tmp4_;
#line 505 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1273 "Resources.c"
+#line 1264 "Resources.c"
}
#line 499 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_TWO:
-#line 1277 "Resources.c"
+#line 1268 "Resources.c"
{
const gchar* _tmp5_ = NULL;
gchar* _tmp6_ = NULL;
@@ -1313,11 +1304,11 @@ gchar* resources_rating_progress (Rating rating) {
result = _tmp6_;
#line 507 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1289 "Resources.c"
+#line 1280 "Resources.c"
}
#line 499 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_THREE:
-#line 1293 "Resources.c"
+#line 1284 "Resources.c"
{
const gchar* _tmp7_ = NULL;
gchar* _tmp8_ = NULL;
@@ -1329,11 +1320,11 @@ gchar* resources_rating_progress (Rating rating) {
result = _tmp8_;
#line 509 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1305 "Resources.c"
+#line 1296 "Resources.c"
}
#line 499 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_FOUR:
-#line 1309 "Resources.c"
+#line 1300 "Resources.c"
{
const gchar* _tmp9_ = NULL;
gchar* _tmp10_ = NULL;
@@ -1345,11 +1336,11 @@ gchar* resources_rating_progress (Rating rating) {
result = _tmp10_;
#line 511 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1321 "Resources.c"
+#line 1312 "Resources.c"
}
#line 499 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_FIVE:
-#line 1325 "Resources.c"
+#line 1316 "Resources.c"
{
const gchar* _tmp11_ = NULL;
gchar* _tmp12_ = NULL;
@@ -1361,7 +1352,7 @@ gchar* resources_rating_progress (Rating rating) {
result = _tmp12_;
#line 513 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1337 "Resources.c"
+#line 1328 "Resources.c"
}
default:
{
@@ -1372,7 +1363,7 @@ gchar* resources_rating_progress (Rating rating) {
result = _tmp13_;
#line 515 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1348 "Resources.c"
+#line 1339 "Resources.c"
}
}
}
@@ -1387,7 +1378,7 @@ gchar* resources_get_stars (Rating rating) {
switch (_tmp0_) {
#line 522 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_ONE:
-#line 1363 "Resources.c"
+#line 1354 "Resources.c"
{
gchar* _tmp1_ = NULL;
#line 524 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -1396,11 +1387,11 @@ gchar* resources_get_stars (Rating rating) {
result = _tmp1_;
#line 524 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1372 "Resources.c"
+#line 1363 "Resources.c"
}
#line 522 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_TWO:
-#line 1376 "Resources.c"
+#line 1367 "Resources.c"
{
gchar* _tmp2_ = NULL;
#line 526 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -1409,11 +1400,11 @@ gchar* resources_get_stars (Rating rating) {
result = _tmp2_;
#line 526 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1385 "Resources.c"
+#line 1376 "Resources.c"
}
#line 522 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_THREE:
-#line 1389 "Resources.c"
+#line 1380 "Resources.c"
{
gchar* _tmp3_ = NULL;
#line 528 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -1422,11 +1413,11 @@ gchar* resources_get_stars (Rating rating) {
result = _tmp3_;
#line 528 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1398 "Resources.c"
+#line 1389 "Resources.c"
}
#line 522 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_FOUR:
-#line 1402 "Resources.c"
+#line 1393 "Resources.c"
{
gchar* _tmp4_ = NULL;
#line 530 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -1435,11 +1426,11 @@ gchar* resources_get_stars (Rating rating) {
result = _tmp4_;
#line 530 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1411 "Resources.c"
+#line 1402 "Resources.c"
}
#line 522 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_FIVE:
-#line 1415 "Resources.c"
+#line 1406 "Resources.c"
{
gchar* _tmp5_ = NULL;
#line 532 "/home/jens/Source/shotwell/src/Resources.vala"
@@ -1448,7 +1439,7 @@ gchar* resources_get_stars (Rating rating) {
result = _tmp5_;
#line 532 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1424 "Resources.c"
+#line 1415 "Resources.c"
}
default:
{
@@ -1459,7 +1450,7 @@ gchar* resources_get_stars (Rating rating) {
result = _tmp6_;
#line 534 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1435 "Resources.c"
+#line 1426 "Resources.c"
}
}
}
@@ -1474,7 +1465,7 @@ GdkPixbuf* resources_get_rating_trinket (Rating rating, gint scale) {
switch (_tmp0_) {
#line 539 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_REJECTED:
-#line 1450 "Resources.c"
+#line 1441 "Resources.c"
{
gint _tmp1_ = 0;
GdkPixbuf* _tmp2_ = NULL;
@@ -1486,11 +1477,11 @@ GdkPixbuf* resources_get_rating_trinket (Rating rating, gint scale) {
result = _tmp2_;
#line 541 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1462 "Resources.c"
+#line 1453 "Resources.c"
}
#line 539 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_ONE:
-#line 1466 "Resources.c"
+#line 1457 "Resources.c"
{
gint _tmp3_ = 0;
GdkPixbuf* _tmp4_ = NULL;
@@ -1502,11 +1493,11 @@ GdkPixbuf* resources_get_rating_trinket (Rating rating, gint scale) {
result = _tmp4_;
#line 544 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1478 "Resources.c"
+#line 1469 "Resources.c"
}
#line 539 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_TWO:
-#line 1482 "Resources.c"
+#line 1473 "Resources.c"
{
gint _tmp5_ = 0;
GdkPixbuf* _tmp6_ = NULL;
@@ -1518,11 +1509,11 @@ GdkPixbuf* resources_get_rating_trinket (Rating rating, gint scale) {
result = _tmp6_;
#line 546 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1494 "Resources.c"
+#line 1485 "Resources.c"
}
#line 539 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_THREE:
-#line 1498 "Resources.c"
+#line 1489 "Resources.c"
{
gint _tmp7_ = 0;
GdkPixbuf* _tmp8_ = NULL;
@@ -1534,11 +1525,11 @@ GdkPixbuf* resources_get_rating_trinket (Rating rating, gint scale) {
result = _tmp8_;
#line 548 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1510 "Resources.c"
+#line 1501 "Resources.c"
}
#line 539 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_FOUR:
-#line 1514 "Resources.c"
+#line 1505 "Resources.c"
{
gint _tmp9_ = 0;
GdkPixbuf* _tmp10_ = NULL;
@@ -1550,11 +1541,11 @@ GdkPixbuf* resources_get_rating_trinket (Rating rating, gint scale) {
result = _tmp10_;
#line 550 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1526 "Resources.c"
+#line 1517 "Resources.c"
}
#line 539 "/home/jens/Source/shotwell/src/Resources.vala"
case RATING_FIVE:
-#line 1530 "Resources.c"
+#line 1521 "Resources.c"
{
gint _tmp11_ = 0;
GdkPixbuf* _tmp12_ = NULL;
@@ -1566,7 +1557,7 @@ GdkPixbuf* resources_get_rating_trinket (Rating rating, gint scale) {
result = _tmp12_;
#line 552 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1542 "Resources.c"
+#line 1533 "Resources.c"
}
default:
{
@@ -1574,7 +1565,7 @@ GdkPixbuf* resources_get_rating_trinket (Rating rating, gint scale) {
result = NULL;
#line 554 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 1550 "Resources.c"
+#line 1541 "Resources.c"
}
}
}
@@ -2210,7 +2201,7 @@ void resources_generate_rating_strings (void) {
_g_free0 (label_base);
#line 558 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (menu_base);
-#line 2186 "Resources.c"
+#line 2177 "Resources.c"
}
@@ -2232,222 +2223,58 @@ gchar* resources_jump_to_file_failed (GError* err) {
result = _tmp3_;
#line 669 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 2208 "Resources.c"
+#line 2199 "Resources.c"
}
-static void _dim_pixbuf_resources_add_stock_icon_modify (GdkPixbuf* pixbuf, gpointer self) {
-#line 710 "/home/jens/Source/shotwell/src/Resources.vala"
- dim_pixbuf (pixbuf);
-#line 2215 "Resources.c"
+static gpointer _g_object_ref0 (gpointer self) {
+#line 691 "/home/jens/Source/shotwell/src/Resources.vala"
+ return self ? g_object_ref (self) : NULL;
+#line 2206 "Resources.c"
}
void resources_init (void) {
- GtkIconFactory* _tmp0_ = NULL;
- GFile* icons_dir = NULL;
- GFile* _tmp1_ = NULL;
+ GtkIconTheme* icon_theme = NULL;
+ GtkIconTheme* _tmp0_ = NULL;
+ GtkIconTheme* _tmp1_ = NULL;
GFile* _tmp2_ = NULL;
GFile* _tmp3_ = NULL;
GFile* _tmp4_ = NULL;
GFile* _tmp5_ = NULL;
- GFile* _tmp6_ = NULL;
- GFile* _tmp7_ = NULL;
- GFile* _tmp8_ = NULL;
- GFile* _tmp9_ = NULL;
- GFile* _tmp10_ = NULL;
- GFile* _tmp11_ = NULL;
- GFile* _tmp12_ = NULL;
- GFile* _tmp13_ = NULL;
- GFile* _tmp14_ = NULL;
- GFile* _tmp15_ = NULL;
- GFile* _tmp16_ = NULL;
- GFile* _tmp17_ = NULL;
- GFile* _tmp18_ = NULL;
- GFile* _tmp19_ = NULL;
- GFile* _tmp20_ = NULL;
- GFile* _tmp21_ = NULL;
- GFile* _tmp22_ = NULL;
- GThemedIcon* _tmp23_ = NULL;
- GThemedIcon* _tmp24_ = NULL;
- GThemedIcon* _tmp25_ = NULL;
- GThemedIcon* _tmp26_ = NULL;
- GThemedIcon* _tmp27_ = NULL;
- GThemedIcon* _tmp28_ = NULL;
- GThemedIcon* _tmp29_ = NULL;
- GThemedIcon* _tmp30_ = NULL;
- GThemedIcon* _tmp31_ = NULL;
- GThemedIcon* _tmp32_ = NULL;
- GThemedIcon* _tmp33_ = NULL;
- GThemedIcon* _tmp34_ = NULL;
- GThemedIcon* _tmp35_ = NULL;
- GThemedIcon* _tmp36_ = NULL;
- GThemedIcon* _tmp37_ = NULL;
- GThemedIcon* _tmp38_ = NULL;
- GtkIconFactory* _tmp39_ = NULL;
+ gchar* _tmp6_ = NULL;
+ gchar* _tmp7_ = NULL;
+#line 691 "/home/jens/Source/shotwell/src/Resources.vala"
+ _tmp0_ = gtk_icon_theme_get_default ();
+#line 691 "/home/jens/Source/shotwell/src/Resources.vala"
+ _tmp1_ = _g_object_ref0 (_tmp0_);
+#line 691 "/home/jens/Source/shotwell/src/Resources.vala"
+ icon_theme = _tmp1_;
#line 693 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp0_ = gtk_icon_factory_new ();
+ _tmp2_ = app_dirs_get_resources_dir ();
#line 693 "/home/jens/Source/shotwell/src/Resources.vala"
- _g_object_unref0 (resources_factory);
+ _tmp3_ = _tmp2_;
#line 693 "/home/jens/Source/shotwell/src/Resources.vala"
- resources_factory = _tmp0_;
-#line 695 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp1_ = app_dirs_get_resources_dir ();
-#line 695 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp2_ = _tmp1_;
-#line 695 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp3_ = g_file_get_child (_tmp2_, "icons");
-#line 695 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp4_ = _tmp3_;
-#line 695 "/home/jens/Source/shotwell/src/Resources.vala"
- _g_object_unref0 (_tmp2_);
-#line 695 "/home/jens/Source/shotwell/src/Resources.vala"
- icons_dir = _tmp4_;
-#line 696 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp5_ = g_file_get_child (icons_dir, "crop.svg");
-#line 696 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp6_ = _tmp5_;
-#line 696 "/home/jens/Source/shotwell/src/Resources.vala"
- resources_add_stock_icon (_tmp6_, RESOURCES_CROP);
-#line 696 "/home/jens/Source/shotwell/src/Resources.vala"
- _g_object_unref0 (_tmp6_);
-#line 697 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp7_ = g_file_get_child (icons_dir, "redeye.png");
-#line 697 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp8_ = _tmp7_;
-#line 697 "/home/jens/Source/shotwell/src/Resources.vala"
- resources_add_stock_icon (_tmp8_, RESOURCES_REDEYE);
-#line 697 "/home/jens/Source/shotwell/src/Resources.vala"
- _g_object_unref0 (_tmp8_);
-#line 698 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp9_ = g_file_get_child (icons_dir, "make-primary.svg");
-#line 698 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp10_ = _tmp9_;
-#line 698 "/home/jens/Source/shotwell/src/Resources.vala"
- resources_add_stock_icon (_tmp10_, RESOURCES_MAKE_PRIMARY);
-#line 698 "/home/jens/Source/shotwell/src/Resources.vala"
- _g_object_unref0 (_tmp10_);
-#line 699 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp11_ = g_file_get_child (icons_dir, "import.svg");
-#line 699 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp12_ = _tmp11_;
-#line 699 "/home/jens/Source/shotwell/src/Resources.vala"
- resources_add_stock_icon (_tmp12_, RESOURCES_IMPORT);
-#line 699 "/home/jens/Source/shotwell/src/Resources.vala"
- _g_object_unref0 (_tmp12_);
-#line 700 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp13_ = g_file_get_child (icons_dir, "straighten.svg");
-#line 700 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp14_ = _tmp13_;
-#line 700 "/home/jens/Source/shotwell/src/Resources.vala"
- resources_add_stock_icon (_tmp14_, RESOURCES_STRAIGHTEN);
-#line 700 "/home/jens/Source/shotwell/src/Resources.vala"
- _g_object_unref0 (_tmp14_);
-#line 701 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp15_ = g_file_get_child (icons_dir, "import-all.png");
-#line 701 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp16_ = _tmp15_;
-#line 701 "/home/jens/Source/shotwell/src/Resources.vala"
- resources_add_stock_icon (_tmp16_, RESOURCES_IMPORT_ALL);
-#line 701 "/home/jens/Source/shotwell/src/Resources.vala"
- _g_object_unref0 (_tmp16_);
-#line 702 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp17_ = g_file_get_child (icons_dir, "shotwell-auto-enhance.png");
-#line 702 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp18_ = _tmp17_;
-#line 702 "/home/jens/Source/shotwell/src/Resources.vala"
- resources_add_stock_icon (_tmp18_, RESOURCES_ENHANCE);
-#line 702 "/home/jens/Source/shotwell/src/Resources.vala"
- _g_object_unref0 (_tmp18_);
-#line 703 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp19_ = g_file_get_child (icons_dir, "crop-pivot-reticle.png");
-#line 703 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp20_ = _tmp19_;
-#line 703 "/home/jens/Source/shotwell/src/Resources.vala"
- resources_add_stock_icon (_tmp20_, RESOURCES_CROP_PIVOT_RETICLE);
-#line 703 "/home/jens/Source/shotwell/src/Resources.vala"
- _g_object_unref0 (_tmp20_);
-#line 704 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp21_ = g_file_get_child (icons_dir, "merge.svg");
-#line 704 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp22_ = _tmp21_;
-#line 704 "/home/jens/Source/shotwell/src/Resources.vala"
- resources_add_stock_icon (_tmp22_, RESOURCES_MERGE);
-#line 704 "/home/jens/Source/shotwell/src/Resources.vala"
- _g_object_unref0 (_tmp22_);
-#line 705 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp23_ = (GThemedIcon*) g_themed_icon_new (RESOURCES_ICON_FLAGGED_PAGE);
-#line 705 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp24_ = _tmp23_;
-#line 705 "/home/jens/Source/shotwell/src/Resources.vala"
- resources_add_stock_icon_from_themed_icon (_tmp24_, RESOURCES_ICON_FLAGGED_PAGE, NULL, NULL);
-#line 705 "/home/jens/Source/shotwell/src/Resources.vala"
- _g_object_unref0 (_tmp24_);
-#line 706 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp25_ = (GThemedIcon*) g_themed_icon_new (RESOURCES_ICON_VIDEOS_PAGE);
-#line 706 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp26_ = _tmp25_;
-#line 706 "/home/jens/Source/shotwell/src/Resources.vala"
- resources_add_stock_icon_from_themed_icon (_tmp26_, RESOURCES_ICON_VIDEOS_PAGE, NULL, NULL);
-#line 706 "/home/jens/Source/shotwell/src/Resources.vala"
- _g_object_unref0 (_tmp26_);
-#line 707 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp27_ = (GThemedIcon*) g_themed_icon_new (RESOURCES_ICON_SINGLE_PHOTO);
-#line 707 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp28_ = _tmp27_;
-#line 707 "/home/jens/Source/shotwell/src/Resources.vala"
- resources_add_stock_icon_from_themed_icon (_tmp28_, RESOURCES_ICON_SINGLE_PHOTO, NULL, NULL);
-#line 707 "/home/jens/Source/shotwell/src/Resources.vala"
- _g_object_unref0 (_tmp28_);
-#line 708 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp29_ = (GThemedIcon*) g_themed_icon_new (RESOURCES_ICON_CAMERAS);
-#line 708 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp30_ = _tmp29_;
-#line 708 "/home/jens/Source/shotwell/src/Resources.vala"
- resources_add_stock_icon_from_themed_icon (_tmp30_, RESOURCES_ICON_CAMERAS, NULL, NULL);
-#line 708 "/home/jens/Source/shotwell/src/Resources.vala"
- _g_object_unref0 (_tmp30_);
-#line 710 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp31_ = (GThemedIcon*) g_themed_icon_new (RESOURCES_ICON_FILTER_FLAGGED);
-#line 710 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp32_ = _tmp31_;
-#line 710 "/home/jens/Source/shotwell/src/Resources.vala"
- resources_add_stock_icon_from_themed_icon (_tmp32_, RESOURCES_ICON_FILTER_FLAGGED_DISABLED, _dim_pixbuf_resources_add_stock_icon_modify, NULL);
-#line 710 "/home/jens/Source/shotwell/src/Resources.vala"
- _g_object_unref0 (_tmp32_);
-#line 712 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp33_ = (GThemedIcon*) g_themed_icon_new (RESOURCES_ICON_FILTER_PHOTOS);
-#line 712 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp34_ = _tmp33_;
-#line 712 "/home/jens/Source/shotwell/src/Resources.vala"
- resources_add_stock_icon_from_themed_icon (_tmp34_, RESOURCES_ICON_FILTER_PHOTOS_DISABLED, _dim_pixbuf_resources_add_stock_icon_modify, NULL);
-#line 712 "/home/jens/Source/shotwell/src/Resources.vala"
- _g_object_unref0 (_tmp34_);
-#line 714 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp35_ = (GThemedIcon*) g_themed_icon_new (RESOURCES_ICON_FILTER_VIDEOS);
-#line 714 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp36_ = _tmp35_;
-#line 714 "/home/jens/Source/shotwell/src/Resources.vala"
- resources_add_stock_icon_from_themed_icon (_tmp36_, RESOURCES_ICON_FILTER_VIDEOS_DISABLED, _dim_pixbuf_resources_add_stock_icon_modify, NULL);
-#line 714 "/home/jens/Source/shotwell/src/Resources.vala"
- _g_object_unref0 (_tmp36_);
-#line 716 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp37_ = (GThemedIcon*) g_themed_icon_new (RESOURCES_ICON_FILTER_RAW);
-#line 716 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp38_ = _tmp37_;
-#line 716 "/home/jens/Source/shotwell/src/Resources.vala"
- resources_add_stock_icon_from_themed_icon (_tmp38_, RESOURCES_ICON_FILTER_RAW_DISABLED, _dim_pixbuf_resources_add_stock_icon_modify, NULL);
-#line 716 "/home/jens/Source/shotwell/src/Resources.vala"
- _g_object_unref0 (_tmp38_);
-#line 719 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp39_ = resources_factory;
-#line 719 "/home/jens/Source/shotwell/src/Resources.vala"
- gtk_icon_factory_add_default (_tmp39_);
-#line 721 "/home/jens/Source/shotwell/src/Resources.vala"
+ _tmp4_ = g_file_get_child (_tmp3_, "icons");
+#line 693 "/home/jens/Source/shotwell/src/Resources.vala"
+ _tmp5_ = _tmp4_;
+#line 693 "/home/jens/Source/shotwell/src/Resources.vala"
+ _tmp6_ = g_file_get_path (_tmp5_);
+#line 693 "/home/jens/Source/shotwell/src/Resources.vala"
+ _tmp7_ = _tmp6_;
+#line 693 "/home/jens/Source/shotwell/src/Resources.vala"
+ gtk_icon_theme_append_search_path (icon_theme, _tmp7_);
+#line 693 "/home/jens/Source/shotwell/src/Resources.vala"
+ _g_free0 (_tmp7_);
+#line 693 "/home/jens/Source/shotwell/src/Resources.vala"
+ _g_object_unref0 (_tmp5_);
+#line 693 "/home/jens/Source/shotwell/src/Resources.vala"
+ _g_object_unref0 (_tmp3_);
+#line 694 "/home/jens/Source/shotwell/src/Resources.vala"
resources_generate_rating_strings ();
-#line 691 "/home/jens/Source/shotwell/src/Resources.vala"
- _g_object_unref0 (icons_dir);
-#line 2423 "Resources.c"
+#line 690 "/home/jens/Source/shotwell/src/Resources.vala"
+ _g_object_unref0 (icon_theme);
+#line 2250 "Resources.c"
}
@@ -2492,129 +2319,129 @@ void resources_fetch_lc_time_format (void) {
gchar* _tmp21_ = NULL;
const gchar* _tmp22_ = NULL;
const gchar* _tmp24_ = NULL;
-#line 740 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 713 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp0_ = g_getenv ("LANGUAGE");
-#line 740 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 713 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp1_ = g_strdup (_tmp0_);
-#line 740 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 713 "/home/jens/Source/shotwell/src/Resources.vala"
old_language = _tmp1_;
-#line 741 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 714 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp2_ = old_language;
-#line 741 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 714 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp2_ != NULL) {
-#line 742 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 715 "/home/jens/Source/shotwell/src/Resources.vala"
g_unsetenv ("LANGUAGE");
-#line 2480 "Resources.c"
+#line 2307 "Resources.c"
}
-#line 746 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 719 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp3_ = setlocale (LC_MESSAGES, NULL);
-#line 746 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 719 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp4_ = g_strdup (_tmp3_);
-#line 746 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 719 "/home/jens/Source/shotwell/src/Resources.vala"
old_messages = _tmp4_;
-#line 747 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 720 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp5_ = setlocale (LC_TIME, NULL);
-#line 747 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 720 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp6_ = g_strdup (_tmp5_);
-#line 747 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 720 "/home/jens/Source/shotwell/src/Resources.vala"
lc_time = _tmp6_;
-#line 749 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 722 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp7_ = lc_time;
-#line 749 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 722 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp7_ != NULL) {
-#line 2498 "Resources.c"
+#line 2325 "Resources.c"
const gchar* _tmp8_ = NULL;
-#line 750 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 723 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp8_ = lc_time;
-#line 750 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 723 "/home/jens/Source/shotwell/src/Resources.vala"
setlocale (LC_MESSAGES, _tmp8_);
-#line 2504 "Resources.c"
+#line 2331 "Resources.c"
}
-#line 757 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 730 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp9_ = g_strdup ("%X");
-#line 757 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 730 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (resources_HH_MM_FORMAT_STRING);
-#line 757 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 730 "/home/jens/Source/shotwell/src/Resources.vala"
resources_HH_MM_FORMAT_STRING = _tmp9_;
-#line 762 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 735 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp10_ = nl_langinfo (T_FMT);
-#line 762 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 735 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp11_ = g_strdup (_tmp10_);
-#line 762 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 735 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (resources_HH_MM_SS_FORMAT_STRING);
-#line 762 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 735 "/home/jens/Source/shotwell/src/Resources.vala"
resources_HH_MM_SS_FORMAT_STRING = _tmp11_;
-#line 766 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 739 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp12_ = _ ("%a %b %d, %Y");
-#line 766 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 739 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp13_ = g_strdup (_tmp12_);
-#line 766 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 739 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (resources_LONG_DATE_FORMAT_STRING);
-#line 766 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 739 "/home/jens/Source/shotwell/src/Resources.vala"
resources_LONG_DATE_FORMAT_STRING = _tmp13_;
-#line 771 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 744 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp14_ = C_ ("MultidayFormat", "%a %b %d");
-#line 771 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 744 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp15_ = g_strdup (_tmp14_);
-#line 771 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 744 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (resources_START_MULTIDAY_DATE_FORMAT_STRING);
-#line 771 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 744 "/home/jens/Source/shotwell/src/Resources.vala"
resources_START_MULTIDAY_DATE_FORMAT_STRING = _tmp15_;
-#line 776 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 749 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp16_ = C_ ("MultidayFormat", "%d, %Y");
-#line 776 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 749 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp17_ = g_strdup (_tmp16_);
-#line 776 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 749 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (resources_END_MULTIDAY_DATE_FORMAT_STRING);
-#line 776 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 749 "/home/jens/Source/shotwell/src/Resources.vala"
resources_END_MULTIDAY_DATE_FORMAT_STRING = _tmp17_;
-#line 781 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 754 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp18_ = C_ ("MultimonthFormat", "%a %b %d");
-#line 781 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 754 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp19_ = g_strdup (_tmp18_);
-#line 781 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 754 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (resources_START_MULTIMONTH_DATE_FORMAT_STRING);
-#line 781 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 754 "/home/jens/Source/shotwell/src/Resources.vala"
resources_START_MULTIMONTH_DATE_FORMAT_STRING = _tmp19_;
-#line 786 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 759 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp20_ = C_ ("MultimonthFormat", "%a %b %d, %Y");
-#line 786 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 759 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp21_ = g_strdup (_tmp20_);
-#line 786 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 759 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (resources_END_MULTIMONTH_DATE_FORMAT_STRING);
-#line 786 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 759 "/home/jens/Source/shotwell/src/Resources.vala"
resources_END_MULTIMONTH_DATE_FORMAT_STRING = _tmp21_;
-#line 789 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 762 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp22_ = old_messages;
-#line 789 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 762 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp22_ != NULL) {
-#line 2564 "Resources.c"
+#line 2391 "Resources.c"
const gchar* _tmp23_ = NULL;
-#line 790 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 763 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp23_ = old_messages;
-#line 790 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 763 "/home/jens/Source/shotwell/src/Resources.vala"
setlocale (LC_MESSAGES, _tmp23_);
-#line 2570 "Resources.c"
+#line 2397 "Resources.c"
}
-#line 793 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 766 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp24_ = old_language;
-#line 793 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 766 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp24_ != NULL) {
-#line 2576 "Resources.c"
+#line 2403 "Resources.c"
const gchar* _tmp25_ = NULL;
-#line 794 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 767 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp25_ = old_language;
-#line 794 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 767 "/home/jens/Source/shotwell/src/Resources.vala"
g_setenv ("LANGUAGE", _tmp25_, TRUE);
-#line 2582 "Resources.c"
+#line 2409 "Resources.c"
}
-#line 737 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 710 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (lc_time);
-#line 737 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 710 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (old_messages);
-#line 737 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 710 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (old_language);
-#line 2590 "Resources.c"
+#line 2417 "Resources.c"
}
@@ -2627,23 +2454,23 @@ gchar* resources_get_hh_mm_format_string (void) {
const gchar* _tmp0_ = NULL;
const gchar* _tmp1_ = NULL;
gchar* _tmp2_ = NULL;
-#line 803 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 776 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp0_ = resources_HH_MM_FORMAT_STRING;
-#line 803 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 776 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp0_ == NULL) {
-#line 804 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 777 "/home/jens/Source/shotwell/src/Resources.vala"
resources_fetch_lc_time_format ();
-#line 2609 "Resources.c"
+#line 2436 "Resources.c"
}
-#line 807 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 780 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp1_ = resources_HH_MM_FORMAT_STRING;
-#line 807 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 780 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp2_ = g_strdup (_tmp1_);
-#line 807 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 780 "/home/jens/Source/shotwell/src/Resources.vala"
result = _tmp2_;
-#line 807 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 780 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 2619 "Resources.c"
+#line 2446 "Resources.c"
}
@@ -2652,23 +2479,23 @@ gchar* resources_get_hh_mm_ss_format_string (void) {
const gchar* _tmp0_ = NULL;
const gchar* _tmp1_ = NULL;
gchar* _tmp2_ = NULL;
-#line 811 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 784 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp0_ = resources_HH_MM_SS_FORMAT_STRING;
-#line 811 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 784 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp0_ == NULL) {
-#line 812 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 785 "/home/jens/Source/shotwell/src/Resources.vala"
resources_fetch_lc_time_format ();
-#line 2634 "Resources.c"
+#line 2461 "Resources.c"
}
-#line 815 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 788 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp1_ = resources_HH_MM_SS_FORMAT_STRING;
-#line 815 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 788 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp2_ = g_strdup (_tmp1_);
-#line 815 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 788 "/home/jens/Source/shotwell/src/Resources.vala"
result = _tmp2_;
-#line 815 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 788 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 2644 "Resources.c"
+#line 2471 "Resources.c"
}
@@ -2677,23 +2504,23 @@ gchar* resources_get_long_date_format_string (void) {
const gchar* _tmp0_ = NULL;
const gchar* _tmp1_ = NULL;
gchar* _tmp2_ = NULL;
-#line 819 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 792 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp0_ = resources_LONG_DATE_FORMAT_STRING;
-#line 819 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 792 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp0_ == NULL) {
-#line 820 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 793 "/home/jens/Source/shotwell/src/Resources.vala"
resources_fetch_lc_time_format ();
-#line 2659 "Resources.c"
+#line 2486 "Resources.c"
}
-#line 823 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 796 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp1_ = resources_LONG_DATE_FORMAT_STRING;
-#line 823 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 796 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp2_ = g_strdup (_tmp1_);
-#line 823 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 796 "/home/jens/Source/shotwell/src/Resources.vala"
result = _tmp2_;
-#line 823 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 796 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 2669 "Resources.c"
+#line 2496 "Resources.c"
}
@@ -2702,23 +2529,23 @@ gchar* resources_get_start_multiday_span_format_string (void) {
const gchar* _tmp0_ = NULL;
const gchar* _tmp1_ = NULL;
gchar* _tmp2_ = NULL;
-#line 827 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 800 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp0_ = resources_START_MULTIDAY_DATE_FORMAT_STRING;
-#line 827 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 800 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp0_ == NULL) {
-#line 828 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 801 "/home/jens/Source/shotwell/src/Resources.vala"
resources_fetch_lc_time_format ();
-#line 2684 "Resources.c"
+#line 2511 "Resources.c"
}
-#line 831 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 804 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp1_ = resources_START_MULTIDAY_DATE_FORMAT_STRING;
-#line 831 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 804 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp2_ = g_strdup (_tmp1_);
-#line 831 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 804 "/home/jens/Source/shotwell/src/Resources.vala"
result = _tmp2_;
-#line 831 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 804 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 2694 "Resources.c"
+#line 2521 "Resources.c"
}
@@ -2727,23 +2554,23 @@ gchar* resources_get_end_multiday_span_format_string (void) {
const gchar* _tmp0_ = NULL;
const gchar* _tmp1_ = NULL;
gchar* _tmp2_ = NULL;
-#line 835 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 808 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp0_ = resources_END_MULTIDAY_DATE_FORMAT_STRING;
-#line 835 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 808 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp0_ == NULL) {
-#line 836 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 809 "/home/jens/Source/shotwell/src/Resources.vala"
resources_fetch_lc_time_format ();
-#line 2709 "Resources.c"
+#line 2536 "Resources.c"
}
-#line 839 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 812 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp1_ = resources_END_MULTIDAY_DATE_FORMAT_STRING;
-#line 839 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 812 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp2_ = g_strdup (_tmp1_);
-#line 839 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 812 "/home/jens/Source/shotwell/src/Resources.vala"
result = _tmp2_;
-#line 839 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 812 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 2719 "Resources.c"
+#line 2546 "Resources.c"
}
@@ -2752,23 +2579,23 @@ gchar* resources_get_start_multimonth_span_format_string (void) {
const gchar* _tmp0_ = NULL;
const gchar* _tmp1_ = NULL;
gchar* _tmp2_ = NULL;
-#line 843 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 816 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp0_ = resources_START_MULTIMONTH_DATE_FORMAT_STRING;
-#line 843 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 816 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp0_ == NULL) {
-#line 844 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 817 "/home/jens/Source/shotwell/src/Resources.vala"
resources_fetch_lc_time_format ();
-#line 2734 "Resources.c"
+#line 2561 "Resources.c"
}
-#line 847 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 820 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp1_ = resources_START_MULTIMONTH_DATE_FORMAT_STRING;
-#line 847 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 820 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp2_ = g_strdup (_tmp1_);
-#line 847 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 820 "/home/jens/Source/shotwell/src/Resources.vala"
result = _tmp2_;
-#line 847 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 820 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 2744 "Resources.c"
+#line 2571 "Resources.c"
}
@@ -2777,23 +2604,23 @@ gchar* resources_get_end_multimonth_span_format_string (void) {
const gchar* _tmp0_ = NULL;
const gchar* _tmp1_ = NULL;
gchar* _tmp2_ = NULL;
-#line 851 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 824 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp0_ = resources_END_MULTIMONTH_DATE_FORMAT_STRING;
-#line 851 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 824 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp0_ == NULL) {
-#line 852 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 825 "/home/jens/Source/shotwell/src/Resources.vala"
resources_fetch_lc_time_format ();
-#line 2759 "Resources.c"
+#line 2586 "Resources.c"
}
-#line 855 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 828 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp1_ = resources_END_MULTIMONTH_DATE_FORMAT_STRING;
-#line 855 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 828 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp2_ = g_strdup (_tmp1_);
-#line 855 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 828 "/home/jens/Source/shotwell/src/Resources.vala"
result = _tmp2_;
-#line 855 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 828 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 2769 "Resources.c"
+#line 2596 "Resources.c"
}
@@ -2806,38 +2633,31 @@ GFile* resources_get_ui (const gchar* filename) {
const gchar* _tmp4_ = NULL;
GFile* _tmp5_ = NULL;
GFile* _tmp6_ = NULL;
-#line 858 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 831 "/home/jens/Source/shotwell/src/Resources.vala"
g_return_val_if_fail (filename != NULL, NULL);
-#line 859 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 832 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp0_ = app_dirs_get_resources_dir ();
-#line 859 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 832 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp1_ = _tmp0_;
-#line 859 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 832 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp2_ = g_file_get_child (_tmp1_, "ui");
-#line 859 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 832 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp3_ = _tmp2_;
-#line 859 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 832 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp4_ = filename;
-#line 859 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 832 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp5_ = g_file_get_child (_tmp3_, _tmp4_);
-#line 859 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 832 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp6_ = _tmp5_;
-#line 859 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 832 "/home/jens/Source/shotwell/src/Resources.vala"
_g_object_unref0 (_tmp3_);
-#line 859 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 832 "/home/jens/Source/shotwell/src/Resources.vala"
_g_object_unref0 (_tmp1_);
-#line 859 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 832 "/home/jens/Source/shotwell/src/Resources.vala"
result = _tmp6_;
-#line 859 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 832 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 2806 "Resources.c"
-}
-
-
-static gpointer _g_object_ref0 (gpointer self) {
-#line 875 "/home/jens/Source/shotwell/src/Resources.vala"
- return self ? g_object_ref (self) : NULL;
-#line 2813 "Resources.c"
+#line 2633 "Resources.c"
}
@@ -2847,11 +2667,11 @@ GdkPixbuf* resources_get_noninterpretable_badge_pixbuf (void) {
GdkPixbuf* _tmp14_ = NULL;
GdkPixbuf* _tmp15_ = NULL;
GError * _inner_error_ = NULL;
-#line 866 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 839 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp0_ = resources_noninterpretable_badge_pixbuf;
-#line 866 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 839 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp0_ == NULL) {
-#line 2827 "Resources.c"
+#line 2647 "Resources.c"
{
GdkPixbuf* _tmp1_ = NULL;
GFile* _tmp2_ = NULL;
@@ -2865,92 +2685,92 @@ GdkPixbuf* resources_get_noninterpretable_badge_pixbuf (void) {
GdkPixbuf* _tmp10_ = NULL;
GdkPixbuf* _tmp11_ = NULL;
GdkPixbuf* _tmp12_ = NULL;
-#line 868 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 841 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp2_ = app_dirs_get_resources_dir ();
-#line 868 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 841 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp3_ = _tmp2_;
-#line 868 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 841 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp4_ = g_file_get_child (_tmp3_, "icons");
-#line 868 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 841 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp5_ = _tmp4_;
-#line 868 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 841 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp6_ = g_file_get_child (_tmp5_, RESOURCES_NONINTERPRETABLE_BADGE_FILE);
-#line 868 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 841 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp7_ = _tmp6_;
-#line 868 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 841 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp8_ = g_file_get_path (_tmp7_);
-#line 868 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 841 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp9_ = _tmp8_;
-#line 868 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 841 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp10_ = gdk_pixbuf_new_from_file (_tmp9_, &_inner_error_);
-#line 868 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 841 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp11_ = _tmp10_;
-#line 868 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 841 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (_tmp9_);
-#line 868 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 841 "/home/jens/Source/shotwell/src/Resources.vala"
_g_object_unref0 (_tmp7_);
-#line 868 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 841 "/home/jens/Source/shotwell/src/Resources.vala"
_g_object_unref0 (_tmp5_);
-#line 868 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 841 "/home/jens/Source/shotwell/src/Resources.vala"
_g_object_unref0 (_tmp3_);
-#line 868 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 841 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp1_ = _tmp11_;
-#line 868 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 841 "/home/jens/Source/shotwell/src/Resources.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 2873 "Resources.c"
+#line 2693 "Resources.c"
goto __catch426_g_error;
}
-#line 868 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 841 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp12_ = _tmp1_;
-#line 868 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 841 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp1_ = NULL;
-#line 868 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 841 "/home/jens/Source/shotwell/src/Resources.vala"
_g_object_unref0 (resources_noninterpretable_badge_pixbuf);
-#line 868 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 841 "/home/jens/Source/shotwell/src/Resources.vala"
resources_noninterpretable_badge_pixbuf = _tmp12_;
-#line 867 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 840 "/home/jens/Source/shotwell/src/Resources.vala"
_g_object_unref0 (_tmp1_);
-#line 2886 "Resources.c"
+#line 2706 "Resources.c"
}
goto __finally426;
__catch426_g_error:
{
GError* err = NULL;
const gchar* _tmp13_ = NULL;
-#line 867 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 840 "/home/jens/Source/shotwell/src/Resources.vala"
err = _inner_error_;
-#line 867 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 840 "/home/jens/Source/shotwell/src/Resources.vala"
_inner_error_ = NULL;
-#line 871 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 844 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp13_ = err->message;
-#line 871 "/home/jens/Source/shotwell/src/Resources.vala"
- g_error ("Resources.vala:871: VideoReader can't load noninterpretable badge imag" \
+#line 844 "/home/jens/Source/shotwell/src/Resources.vala"
+ g_error ("Resources.vala:844: VideoReader can't load noninterpretable badge imag" \
"e: %s", _tmp13_);
-#line 867 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 840 "/home/jens/Source/shotwell/src/Resources.vala"
_g_error_free0 (err);
-#line 2903 "Resources.c"
+#line 2723 "Resources.c"
}
__finally426:
-#line 867 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 840 "/home/jens/Source/shotwell/src/Resources.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 867 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 840 "/home/jens/Source/shotwell/src/Resources.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 867 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 840 "/home/jens/Source/shotwell/src/Resources.vala"
g_clear_error (&_inner_error_);
-#line 867 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 840 "/home/jens/Source/shotwell/src/Resources.vala"
return NULL;
-#line 2914 "Resources.c"
+#line 2734 "Resources.c"
}
}
-#line 875 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 848 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp14_ = resources_noninterpretable_badge_pixbuf;
-#line 875 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 848 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp15_ = _g_object_ref0 (_tmp14_);
-#line 875 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 848 "/home/jens/Source/shotwell/src/Resources.vala"
result = _tmp15_;
-#line 875 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 848 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 2925 "Resources.c"
+#line 2745 "Resources.c"
}
@@ -2965,37 +2785,37 @@ GtkIconTheme* resources_get_icon_theme_engine (void) {
GFile* _tmp5_ = NULL;
gchar* _tmp6_ = NULL;
gchar* _tmp7_ = NULL;
-#line 879 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 852 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp0_ = gtk_icon_theme_get_default ();
-#line 879 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 852 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp1_ = _g_object_ref0 (_tmp0_);
-#line 879 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 852 "/home/jens/Source/shotwell/src/Resources.vala"
icon_theme = _tmp1_;
-#line 880 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 853 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp2_ = app_dirs_get_resources_dir ();
-#line 880 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 853 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp3_ = _tmp2_;
-#line 880 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 853 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp4_ = g_file_get_child (_tmp3_, "icons");
-#line 880 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 853 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp5_ = _tmp4_;
-#line 880 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 853 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp6_ = g_file_get_path (_tmp5_);
-#line 880 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 853 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp7_ = _tmp6_;
-#line 880 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 853 "/home/jens/Source/shotwell/src/Resources.vala"
gtk_icon_theme_append_search_path (icon_theme, _tmp7_);
-#line 880 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 853 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (_tmp7_);
-#line 880 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 853 "/home/jens/Source/shotwell/src/Resources.vala"
_g_object_unref0 (_tmp5_);
-#line 880 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 853 "/home/jens/Source/shotwell/src/Resources.vala"
_g_object_unref0 (_tmp3_);
-#line 882 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 855 "/home/jens/Source/shotwell/src/Resources.vala"
result = icon_theme;
-#line 882 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 855 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 2970 "Resources.c"
+#line 2790 "Resources.c"
}
@@ -3020,13 +2840,13 @@ GdkPixbuf* resources_get_icon (const gchar* name, gint scale) {
gchar* _tmp31_ = NULL;
gchar* _tmp32_ = NULL;
GdkPixbuf* _tmp33_ = NULL;
-#line 887 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 860 "/home/jens/Source/shotwell/src/Resources.vala"
g_return_val_if_fail (name != NULL, NULL);
-#line 888 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 861 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp0_ = resources_scaled_icon_cache;
-#line 888 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 861 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp0_ != NULL) {
-#line 3001 "Resources.c"
+#line 2821 "Resources.c"
gchar* scaled_name = NULL;
const gchar* _tmp1_ = NULL;
gint _tmp2_ = 0;
@@ -3034,162 +2854,162 @@ GdkPixbuf* resources_get_icon (const gchar* name, gint scale) {
GeeHashMap* _tmp4_ = NULL;
const gchar* _tmp5_ = NULL;
gboolean _tmp6_ = FALSE;
-#line 889 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 862 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp1_ = name;
-#line 889 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 862 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp2_ = scale;
-#line 889 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 862 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp3_ = g_strdup_printf ("%s-%d", _tmp1_, _tmp2_);
-#line 889 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 862 "/home/jens/Source/shotwell/src/Resources.vala"
scaled_name = _tmp3_;
-#line 890 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 863 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp4_ = resources_scaled_icon_cache;
-#line 890 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 863 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp5_ = scaled_name;
-#line 890 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 863 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp6_ = gee_abstract_map_has_key (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _tmp5_);
-#line 890 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 863 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp6_) {
-#line 3025 "Resources.c"
+#line 2845 "Resources.c"
GeeHashMap* _tmp7_ = NULL;
const gchar* _tmp8_ = NULL;
gpointer _tmp9_ = NULL;
-#line 891 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 864 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp7_ = resources_scaled_icon_cache;
-#line 891 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 864 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp8_ = scaled_name;
-#line 891 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 864 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp9_ = gee_abstract_map_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _tmp8_);
-#line 891 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 864 "/home/jens/Source/shotwell/src/Resources.vala"
result = (GdkPixbuf*) _tmp9_;
-#line 891 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 864 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (scaled_name);
-#line 891 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 864 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 3041 "Resources.c"
+#line 2861 "Resources.c"
}
-#line 888 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 861 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (scaled_name);
-#line 3045 "Resources.c"
+#line 2865 "Resources.c"
}
-#line 896 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 869 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp10_ = resources_icon_cache;
-#line 896 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 869 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp10_ == NULL) {
-#line 3051 "Resources.c"
+#line 2871 "Resources.c"
GeeHashMap* _tmp11_ = NULL;
-#line 897 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp11_ = gee_hash_map_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, gdk_pixbuf_get_type (), (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
-#line 897 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 870 "/home/jens/Source/shotwell/src/Resources.vala"
+ _tmp11_ = gee_hash_map_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, GDK_TYPE_PIXBUF, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
+#line 870 "/home/jens/Source/shotwell/src/Resources.vala"
_g_object_unref0 (resources_icon_cache);
-#line 897 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 870 "/home/jens/Source/shotwell/src/Resources.vala"
resources_icon_cache = _tmp11_;
-#line 3059 "Resources.c"
+#line 2879 "Resources.c"
}
-#line 900 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 873 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp12_ = resources_icon_cache;
-#line 900 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 873 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp13_ = name;
-#line 900 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 873 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp14_ = gee_abstract_map_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _tmp13_);
-#line 900 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 873 "/home/jens/Source/shotwell/src/Resources.vala"
pixbuf = (GdkPixbuf*) _tmp14_;
-#line 901 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 874 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp15_ = pixbuf;
-#line 901 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 874 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp15_ == NULL) {
-#line 3073 "Resources.c"
+#line 2893 "Resources.c"
const gchar* _tmp16_ = NULL;
GdkPixbuf* _tmp17_ = NULL;
GdkPixbuf* _tmp18_ = NULL;
GeeHashMap* _tmp19_ = NULL;
const gchar* _tmp20_ = NULL;
GdkPixbuf* _tmp21_ = NULL;
-#line 902 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 875 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp16_ = name;
-#line 902 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 875 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp17_ = resources_load_icon (_tmp16_, 0);
-#line 902 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 875 "/home/jens/Source/shotwell/src/Resources.vala"
_g_object_unref0 (pixbuf);
-#line 902 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 875 "/home/jens/Source/shotwell/src/Resources.vala"
pixbuf = _tmp17_;
-#line 903 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 876 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp18_ = pixbuf;
-#line 903 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 876 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp18_ == NULL) {
-#line 904 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 877 "/home/jens/Source/shotwell/src/Resources.vala"
result = NULL;
-#line 904 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 877 "/home/jens/Source/shotwell/src/Resources.vala"
_g_object_unref0 (pixbuf);
-#line 904 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 877 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 3098 "Resources.c"
+#line 2918 "Resources.c"
}
-#line 906 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 879 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp19_ = resources_icon_cache;
-#line 906 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 879 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp20_ = name;
-#line 906 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 879 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp21_ = pixbuf;
-#line 906 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 879 "/home/jens/Source/shotwell/src/Resources.vala"
gee_abstract_map_set (G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _tmp20_, _tmp21_);
-#line 3108 "Resources.c"
+#line 2928 "Resources.c"
}
-#line 909 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 882 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp22_ = scale;
-#line 909 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 882 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp22_ <= 0) {
-#line 910 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 883 "/home/jens/Source/shotwell/src/Resources.vala"
result = pixbuf;
-#line 910 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 883 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 3118 "Resources.c"
+#line 2938 "Resources.c"
}
-#line 912 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 885 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp23_ = pixbuf;
-#line 912 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 885 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp24_ = scale;
-#line 912 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 885 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp25_ = scale_pixbuf (_tmp23_, _tmp24_, GDK_INTERP_BILINEAR, FALSE);
-#line 912 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 885 "/home/jens/Source/shotwell/src/Resources.vala"
scaled_pixbuf = _tmp25_;
-#line 914 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 887 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp26_ = resources_scaled_icon_cache;
-#line 914 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 887 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp26_ == NULL) {
-#line 3132 "Resources.c"
+#line 2952 "Resources.c"
GeeHashMap* _tmp27_ = NULL;
-#line 915 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp27_ = gee_hash_map_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, gdk_pixbuf_get_type (), (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
-#line 915 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 888 "/home/jens/Source/shotwell/src/Resources.vala"
+ _tmp27_ = gee_hash_map_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, GDK_TYPE_PIXBUF, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
+#line 888 "/home/jens/Source/shotwell/src/Resources.vala"
_g_object_unref0 (resources_scaled_icon_cache);
-#line 915 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 888 "/home/jens/Source/shotwell/src/Resources.vala"
resources_scaled_icon_cache = _tmp27_;
-#line 3140 "Resources.c"
+#line 2960 "Resources.c"
}
-#line 917 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 890 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp28_ = resources_scaled_icon_cache;
-#line 917 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 890 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp29_ = name;
-#line 917 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 890 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp30_ = scale;
-#line 917 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 890 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp31_ = g_strdup_printf ("%s-%d", _tmp29_, _tmp30_);
-#line 917 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 890 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp32_ = _tmp31_;
-#line 917 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 890 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp33_ = scaled_pixbuf;
-#line 917 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 890 "/home/jens/Source/shotwell/src/Resources.vala"
gee_abstract_map_set (G_TYPE_CHECK_INSTANCE_CAST (_tmp28_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _tmp32_, _tmp33_);
-#line 917 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 890 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (_tmp32_);
-#line 919 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 892 "/home/jens/Source/shotwell/src/Resources.vala"
result = scaled_pixbuf;
-#line 919 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 892 "/home/jens/Source/shotwell/src/Resources.vala"
_g_object_unref0 (pixbuf);
-#line 919 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 892 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 3164 "Resources.c"
+#line 2984 "Resources.c"
}
@@ -3205,23 +3025,23 @@ GdkPixbuf* resources_load_icon (const gchar* name, gint scale) {
GdkPixbuf* _tmp17_ = NULL;
gint _tmp18_ = 0;
GError * _inner_error_ = NULL;
-#line 922 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 895 "/home/jens/Source/shotwell/src/Resources.vala"
g_return_val_if_fail (name != NULL, NULL);
-#line 923 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 896 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp0_ = app_dirs_get_resources_dir ();
-#line 923 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 896 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp1_ = _tmp0_;
-#line 923 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 896 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp2_ = g_file_get_child (_tmp1_, "icons");
-#line 923 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 896 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp3_ = _tmp2_;
-#line 923 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 896 "/home/jens/Source/shotwell/src/Resources.vala"
_g_object_unref0 (_tmp1_);
-#line 923 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 896 "/home/jens/Source/shotwell/src/Resources.vala"
icons_dir = _tmp3_;
-#line 925 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 898 "/home/jens/Source/shotwell/src/Resources.vala"
pixbuf = NULL;
-#line 3196 "Resources.c"
+#line 3016 "Resources.c"
{
GdkPixbuf* _tmp4_ = NULL;
const gchar* _tmp5_ = NULL;
@@ -3232,42 +3052,42 @@ GdkPixbuf* resources_load_icon (const gchar* name, gint scale) {
GdkPixbuf* _tmp10_ = NULL;
GdkPixbuf* _tmp11_ = NULL;
GdkPixbuf* _tmp12_ = NULL;
-#line 927 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 900 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp5_ = name;
-#line 927 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 900 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp6_ = g_file_get_child (icons_dir, _tmp5_);
-#line 927 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 900 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp7_ = _tmp6_;
-#line 927 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 900 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp8_ = g_file_get_path (_tmp7_);
-#line 927 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 900 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp9_ = _tmp8_;
-#line 927 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 900 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp10_ = gdk_pixbuf_new_from_file (_tmp9_, &_inner_error_);
-#line 927 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 900 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp11_ = _tmp10_;
-#line 927 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 900 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (_tmp9_);
-#line 927 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 900 "/home/jens/Source/shotwell/src/Resources.vala"
_g_object_unref0 (_tmp7_);
-#line 927 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 900 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp4_ = _tmp11_;
-#line 927 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 900 "/home/jens/Source/shotwell/src/Resources.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 3229 "Resources.c"
+#line 3049 "Resources.c"
goto __catch427_g_error;
}
-#line 927 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 900 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp12_ = _tmp4_;
-#line 927 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 900 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp4_ = NULL;
-#line 927 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 900 "/home/jens/Source/shotwell/src/Resources.vala"
_g_object_unref0 (pixbuf);
-#line 927 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 900 "/home/jens/Source/shotwell/src/Resources.vala"
pixbuf = _tmp12_;
-#line 926 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 899 "/home/jens/Source/shotwell/src/Resources.vala"
_g_object_unref0 (_tmp4_);
-#line 3242 "Resources.c"
+#line 3062 "Resources.c"
}
goto __finally427;
__catch427_g_error:
@@ -3276,383 +3096,92 @@ GdkPixbuf* resources_load_icon (const gchar* name, gint scale) {
const gchar* _tmp13_ = NULL;
GError* _tmp14_ = NULL;
const gchar* _tmp15_ = NULL;
-#line 926 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 899 "/home/jens/Source/shotwell/src/Resources.vala"
err = _inner_error_;
-#line 926 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 899 "/home/jens/Source/shotwell/src/Resources.vala"
_inner_error_ = NULL;
-#line 929 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 902 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp13_ = name;
-#line 929 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 902 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp14_ = err;
-#line 929 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 902 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp15_ = _tmp14_->message;
-#line 929 "/home/jens/Source/shotwell/src/Resources.vala"
- g_critical ("Resources.vala:929: Unable to load icon %s: %s", _tmp13_, _tmp15_);
-#line 926 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 902 "/home/jens/Source/shotwell/src/Resources.vala"
+ g_critical ("Resources.vala:902: Unable to load icon %s: %s", _tmp13_, _tmp15_);
+#line 899 "/home/jens/Source/shotwell/src/Resources.vala"
_g_error_free0 (err);
-#line 3265 "Resources.c"
+#line 3085 "Resources.c"
}
__finally427:
-#line 926 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 899 "/home/jens/Source/shotwell/src/Resources.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 926 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 899 "/home/jens/Source/shotwell/src/Resources.vala"
_g_object_unref0 (pixbuf);
-#line 926 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 899 "/home/jens/Source/shotwell/src/Resources.vala"
_g_object_unref0 (icons_dir);
-#line 926 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 899 "/home/jens/Source/shotwell/src/Resources.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 926 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 899 "/home/jens/Source/shotwell/src/Resources.vala"
g_clear_error (&_inner_error_);
-#line 926 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 899 "/home/jens/Source/shotwell/src/Resources.vala"
return NULL;
-#line 3280 "Resources.c"
+#line 3100 "Resources.c"
}
-#line 932 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 905 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp16_ = pixbuf;
-#line 932 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 905 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp16_ == NULL) {
-#line 933 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 906 "/home/jens/Source/shotwell/src/Resources.vala"
result = NULL;
-#line 933 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 906 "/home/jens/Source/shotwell/src/Resources.vala"
_g_object_unref0 (pixbuf);
-#line 933 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 906 "/home/jens/Source/shotwell/src/Resources.vala"
_g_object_unref0 (icons_dir);
-#line 933 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 906 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 3294 "Resources.c"
+#line 3114 "Resources.c"
}
-#line 935 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 908 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp18_ = scale;
-#line 935 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 908 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp18_ > 0) {
-#line 3300 "Resources.c"
+#line 3120 "Resources.c"
GdkPixbuf* _tmp19_ = NULL;
gint _tmp20_ = 0;
GdkPixbuf* _tmp21_ = NULL;
-#line 935 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 908 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp19_ = pixbuf;
-#line 935 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 908 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp20_ = scale;
-#line 935 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 908 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp21_ = scale_pixbuf (_tmp19_, _tmp20_, GDK_INTERP_BILINEAR, FALSE);
-#line 935 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 908 "/home/jens/Source/shotwell/src/Resources.vala"
_g_object_unref0 (_tmp17_);
-#line 935 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 908 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp17_ = _tmp21_;
-#line 3314 "Resources.c"
+#line 3134 "Resources.c"
} else {
GdkPixbuf* _tmp22_ = NULL;
GdkPixbuf* _tmp23_ = NULL;
-#line 935 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 908 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp22_ = pixbuf;
-#line 935 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 908 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp23_ = _g_object_ref0 (_tmp22_);
-#line 935 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 908 "/home/jens/Source/shotwell/src/Resources.vala"
_g_object_unref0 (_tmp17_);
-#line 935 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 908 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp17_ = _tmp23_;
-#line 3326 "Resources.c"
+#line 3146 "Resources.c"
}
-#line 935 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 908 "/home/jens/Source/shotwell/src/Resources.vala"
result = _tmp17_;
-#line 935 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 908 "/home/jens/Source/shotwell/src/Resources.vala"
_g_object_unref0 (pixbuf);
-#line 935 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 908 "/home/jens/Source/shotwell/src/Resources.vala"
_g_object_unref0 (icons_dir);
-#line 935 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 908 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 3336 "Resources.c"
-}
-
-
-void resources_add_stock_icon (GFile* file, const gchar* stock_id) {
- GdkPixbuf* pixbuf = NULL;
- GtkIconSet* icon_set = NULL;
- GdkPixbuf* _tmp10_ = NULL;
- GtkIconSet* _tmp11_ = NULL;
- GtkIconFactory* _tmp12_ = NULL;
- const gchar* _tmp13_ = NULL;
- GError * _inner_error_ = NULL;
-#line 938 "/home/jens/Source/shotwell/src/Resources.vala"
- g_return_if_fail (G_IS_FILE (file));
-#line 938 "/home/jens/Source/shotwell/src/Resources.vala"
- g_return_if_fail (stock_id != NULL);
-#line 939 "/home/jens/Source/shotwell/src/Resources.vala"
- pixbuf = NULL;
-#line 3354 "Resources.c"
- {
- GdkPixbuf* _tmp0_ = NULL;
- GFile* _tmp1_ = NULL;
- gchar* _tmp2_ = NULL;
- gchar* _tmp3_ = NULL;
- GdkPixbuf* _tmp4_ = NULL;
- GdkPixbuf* _tmp5_ = NULL;
- GdkPixbuf* _tmp6_ = NULL;
-#line 941 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp1_ = file;
-#line 941 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp2_ = g_file_get_path (_tmp1_);
-#line 941 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp3_ = _tmp2_;
-#line 941 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp4_ = gdk_pixbuf_new_from_file (_tmp3_, &_inner_error_);
-#line 941 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp5_ = _tmp4_;
-#line 941 "/home/jens/Source/shotwell/src/Resources.vala"
- _g_free0 (_tmp3_);
-#line 941 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp0_ = _tmp5_;
-#line 941 "/home/jens/Source/shotwell/src/Resources.vala"
- if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 3379 "Resources.c"
- goto __catch428_g_error;
- }
-#line 941 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp6_ = _tmp0_;
-#line 941 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp0_ = NULL;
-#line 941 "/home/jens/Source/shotwell/src/Resources.vala"
- _g_object_unref0 (pixbuf);
-#line 941 "/home/jens/Source/shotwell/src/Resources.vala"
- pixbuf = _tmp6_;
-#line 940 "/home/jens/Source/shotwell/src/Resources.vala"
- _g_object_unref0 (_tmp0_);
-#line 3392 "Resources.c"
- }
- goto __finally428;
- __catch428_g_error:
- {
- GError* err = NULL;
- const gchar* _tmp7_ = NULL;
- GError* _tmp8_ = NULL;
- const gchar* _tmp9_ = NULL;
-#line 940 "/home/jens/Source/shotwell/src/Resources.vala"
- err = _inner_error_;
-#line 940 "/home/jens/Source/shotwell/src/Resources.vala"
- _inner_error_ = NULL;
-#line 943 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp7_ = stock_id;
-#line 943 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp8_ = err;
-#line 943 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp9_ = _tmp8_->message;
-#line 943 "/home/jens/Source/shotwell/src/Resources.vala"
- g_critical ("Resources.vala:943: Unable to load stock icon %s: %s", _tmp7_, _tmp9_);
-#line 940 "/home/jens/Source/shotwell/src/Resources.vala"
- _g_error_free0 (err);
-#line 3415 "Resources.c"
- }
- __finally428:
-#line 940 "/home/jens/Source/shotwell/src/Resources.vala"
- if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 940 "/home/jens/Source/shotwell/src/Resources.vala"
- _g_object_unref0 (pixbuf);
-#line 940 "/home/jens/Source/shotwell/src/Resources.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 940 "/home/jens/Source/shotwell/src/Resources.vala"
- g_clear_error (&_inner_error_);
-#line 940 "/home/jens/Source/shotwell/src/Resources.vala"
- return;
-#line 3428 "Resources.c"
- }
-#line 946 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp10_ = pixbuf;
-#line 946 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp11_ = gtk_icon_set_new_from_pixbuf (_tmp10_);
-#line 946 "/home/jens/Source/shotwell/src/Resources.vala"
- icon_set = _tmp11_;
-#line 947 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp12_ = resources_factory;
-#line 947 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp13_ = stock_id;
-#line 947 "/home/jens/Source/shotwell/src/Resources.vala"
- gtk_icon_factory_add (_tmp12_, _tmp13_, icon_set);
-#line 938 "/home/jens/Source/shotwell/src/Resources.vala"
- _gtk_icon_set_unref0 (icon_set);
-#line 938 "/home/jens/Source/shotwell/src/Resources.vala"
- _g_object_unref0 (pixbuf);
-#line 3446 "Resources.c"
-}
-
-
-void resources_add_stock_icon_from_themed_icon (GThemedIcon* gicon, const gchar* stock_id, ResourcesAddStockIconModify modify, void* modify_target) {
- GtkIconTheme* icon_theme = NULL;
- GtkIconTheme* _tmp0_ = NULL;
- GtkIconTheme* _tmp1_ = NULL;
- GtkIconTheme* _tmp2_ = NULL;
- GFile* _tmp3_ = NULL;
- GFile* _tmp4_ = NULL;
- GFile* _tmp5_ = NULL;
- GFile* _tmp6_ = NULL;
- gchar* _tmp7_ = NULL;
- gchar* _tmp8_ = NULL;
- GtkIconInfo* info = NULL;
- GtkIconTheme* _tmp9_ = NULL;
- GThemedIcon* _tmp10_ = NULL;
- GtkIconInfo* _tmp11_ = NULL;
- GtkIconInfo* _tmp12_ = NULL;
- GError * _inner_error_ = NULL;
-#line 952 "/home/jens/Source/shotwell/src/Resources.vala"
- g_return_if_fail (G_IS_THEMED_ICON (gicon));
-#line 952 "/home/jens/Source/shotwell/src/Resources.vala"
- g_return_if_fail (stock_id != NULL);
-#line 954 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp0_ = gtk_icon_theme_get_default ();
-#line 954 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp1_ = _g_object_ref0 (_tmp0_);
-#line 954 "/home/jens/Source/shotwell/src/Resources.vala"
- icon_theme = _tmp1_;
-#line 955 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp2_ = icon_theme;
-#line 955 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp3_ = app_dirs_get_resources_dir ();
-#line 955 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp4_ = _tmp3_;
-#line 955 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp5_ = g_file_get_child (_tmp4_, "icons");
-#line 955 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp6_ = _tmp5_;
-#line 955 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp7_ = g_file_get_path (_tmp6_);
-#line 955 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp8_ = _tmp7_;
-#line 955 "/home/jens/Source/shotwell/src/Resources.vala"
- gtk_icon_theme_append_search_path (_tmp2_, _tmp8_);
-#line 955 "/home/jens/Source/shotwell/src/Resources.vala"
- _g_free0 (_tmp8_);
-#line 955 "/home/jens/Source/shotwell/src/Resources.vala"
- _g_object_unref0 (_tmp6_);
-#line 955 "/home/jens/Source/shotwell/src/Resources.vala"
- _g_object_unref0 (_tmp4_);
-#line 957 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp9_ = icon_theme;
-#line 957 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp10_ = gicon;
-#line 957 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp11_ = gtk_icon_theme_lookup_by_gicon (_tmp9_, G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, g_icon_get_type (), GIcon), RESOURCES_DEFAULT_ICON_SCALE, GTK_ICON_LOOKUP_FORCE_SIZE);
-#line 957 "/home/jens/Source/shotwell/src/Resources.vala"
- info = _tmp11_;
-#line 959 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp12_ = info;
-#line 959 "/home/jens/Source/shotwell/src/Resources.vala"
- if (_tmp12_ == NULL) {
-#line 3511 "Resources.c"
- const gchar* _tmp13_ = NULL;
-#line 960 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp13_ = stock_id;
-#line 960 "/home/jens/Source/shotwell/src/Resources.vala"
- g_debug ("Resources.vala:960: unable to load icon for: %s", _tmp13_);
-#line 961 "/home/jens/Source/shotwell/src/Resources.vala"
- _gtk_icon_info_free0 (info);
-#line 961 "/home/jens/Source/shotwell/src/Resources.vala"
- _g_object_unref0 (icon_theme);
-#line 961 "/home/jens/Source/shotwell/src/Resources.vala"
- return;
-#line 3523 "Resources.c"
- }
- {
- GdkPixbuf* pix = NULL;
- GtkIconInfo* _tmp14_ = NULL;
- GdkPixbuf* _tmp15_ = NULL;
- ResourcesAddStockIconModify _tmp16_ = NULL;
- void* _tmp16__target = NULL;
- GtkIconSet* icon_set = NULL;
- GdkPixbuf* _tmp19_ = NULL;
- GtkIconSet* _tmp20_ = NULL;
- GtkIconFactory* _tmp21_ = NULL;
- const gchar* _tmp22_ = NULL;
- GtkIconSet* _tmp23_ = NULL;
-#line 965 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp14_ = info;
-#line 965 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp15_ = gtk_icon_info_load_icon (_tmp14_, &_inner_error_);
-#line 965 "/home/jens/Source/shotwell/src/Resources.vala"
- pix = _tmp15_;
-#line 965 "/home/jens/Source/shotwell/src/Resources.vala"
- if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 3545 "Resources.c"
- goto __catch429_g_error;
- }
-#line 966 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp16_ = modify;
-#line 966 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp16__target = modify_target;
-#line 966 "/home/jens/Source/shotwell/src/Resources.vala"
- if (_tmp16_ != NULL) {
-#line 3554 "Resources.c"
- ResourcesAddStockIconModify _tmp17_ = NULL;
- void* _tmp17__target = NULL;
- GdkPixbuf* _tmp18_ = NULL;
-#line 967 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp17_ = modify;
-#line 967 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp17__target = modify_target;
-#line 967 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp18_ = pix;
-#line 967 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp17_ (_tmp18_, _tmp17__target);
-#line 3566 "Resources.c"
- }
-#line 969 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp19_ = pix;
-#line 969 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp20_ = gtk_icon_set_new_from_pixbuf (_tmp19_);
-#line 969 "/home/jens/Source/shotwell/src/Resources.vala"
- icon_set = _tmp20_;
-#line 970 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp21_ = resources_factory;
-#line 970 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp22_ = stock_id;
-#line 970 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp23_ = icon_set;
-#line 970 "/home/jens/Source/shotwell/src/Resources.vala"
- gtk_icon_factory_add (_tmp21_, _tmp22_, _tmp23_);
-#line 964 "/home/jens/Source/shotwell/src/Resources.vala"
- _gtk_icon_set_unref0 (icon_set);
-#line 964 "/home/jens/Source/shotwell/src/Resources.vala"
- _g_object_unref0 (pix);
-#line 3586 "Resources.c"
- }
- goto __finally429;
- __catch429_g_error:
- {
- GError* err = NULL;
- GError* _tmp24_ = NULL;
- const gchar* _tmp25_ = NULL;
-#line 964 "/home/jens/Source/shotwell/src/Resources.vala"
- err = _inner_error_;
-#line 964 "/home/jens/Source/shotwell/src/Resources.vala"
- _inner_error_ = NULL;
-#line 972 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp24_ = err;
-#line 972 "/home/jens/Source/shotwell/src/Resources.vala"
- _tmp25_ = _tmp24_->message;
-#line 972 "/home/jens/Source/shotwell/src/Resources.vala"
- g_debug ("Resources.vala:972: %s", _tmp25_);
-#line 964 "/home/jens/Source/shotwell/src/Resources.vala"
- _g_error_free0 (err);
-#line 3606 "Resources.c"
- }
- __finally429:
-#line 964 "/home/jens/Source/shotwell/src/Resources.vala"
- if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 964 "/home/jens/Source/shotwell/src/Resources.vala"
- _gtk_icon_info_free0 (info);
-#line 964 "/home/jens/Source/shotwell/src/Resources.vala"
- _g_object_unref0 (icon_theme);
-#line 964 "/home/jens/Source/shotwell/src/Resources.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 964 "/home/jens/Source/shotwell/src/Resources.vala"
- g_clear_error (&_inner_error_);
-#line 964 "/home/jens/Source/shotwell/src/Resources.vala"
- return;
-#line 3621 "Resources.c"
- }
-#line 952 "/home/jens/Source/shotwell/src/Resources.vala"
- _gtk_icon_info_free0 (info);
-#line 952 "/home/jens/Source/shotwell/src/Resources.vala"
- _g_object_unref0 (icon_theme);
-#line 3627 "Resources.c"
+#line 3156 "Resources.c"
}
@@ -3670,88 +3199,88 @@ gchar* resources_get_help_path (void) {
GFile* _tmp7_ = NULL;
GFile* _tmp8_ = NULL;
gboolean _tmp9_ = FALSE;
-#line 984 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 919 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp0_ = app_dirs_get_exec_dir ();
-#line 984 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 919 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp1_ = _tmp0_;
-#line 984 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 919 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp2_ = g_file_get_child (_tmp1_, "help");
-#line 984 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 919 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp3_ = _tmp2_;
-#line 984 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 919 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp4_ = g_file_get_child (_tmp3_, "C");
-#line 984 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 919 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp5_ = _tmp4_;
-#line 984 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 919 "/home/jens/Source/shotwell/src/Resources.vala"
_g_object_unref0 (_tmp3_);
-#line 984 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 919 "/home/jens/Source/shotwell/src/Resources.vala"
_g_object_unref0 (_tmp1_);
-#line 984 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 919 "/home/jens/Source/shotwell/src/Resources.vala"
help_dir = _tmp5_;
-#line 985 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 920 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp6_ = help_dir;
-#line 985 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 920 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp7_ = g_file_get_child (_tmp6_, "index.page");
-#line 985 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 920 "/home/jens/Source/shotwell/src/Resources.vala"
help_index = _tmp7_;
-#line 987 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 922 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp8_ = help_index;
-#line 987 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 922 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp9_ = g_file_query_exists (_tmp8_, NULL);
-#line 987 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 922 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp9_) {
-#line 3675 "Resources.c"
+#line 3204 "Resources.c"
gchar* help_path = NULL;
GFile* _tmp10_ = NULL;
gchar* _tmp11_ = NULL;
const gchar* _tmp12_ = NULL;
gboolean _tmp13_ = FALSE;
-#line 990 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 925 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp10_ = help_dir;
-#line 990 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 925 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp11_ = g_file_get_path (_tmp10_);
-#line 990 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 925 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (help_path);
-#line 990 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 925 "/home/jens/Source/shotwell/src/Resources.vala"
help_path = _tmp11_;
-#line 992 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 927 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp12_ = help_path;
-#line 992 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 927 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp13_ = g_str_has_suffix (_tmp12_, "/");
-#line 992 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 927 "/home/jens/Source/shotwell/src/Resources.vala"
if (!_tmp13_) {
-#line 3695 "Resources.c"
+#line 3224 "Resources.c"
const gchar* _tmp14_ = NULL;
gchar* _tmp15_ = NULL;
-#line 993 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 928 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp14_ = help_path;
-#line 993 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 928 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp15_ = g_strconcat (_tmp14_, "/", NULL);
-#line 993 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 928 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (help_path);
-#line 993 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 928 "/home/jens/Source/shotwell/src/Resources.vala"
help_path = _tmp15_;
-#line 3706 "Resources.c"
+#line 3235 "Resources.c"
}
-#line 996 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 931 "/home/jens/Source/shotwell/src/Resources.vala"
result = help_path;
-#line 996 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 931 "/home/jens/Source/shotwell/src/Resources.vala"
_g_object_unref0 (help_index);
-#line 996 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 931 "/home/jens/Source/shotwell/src/Resources.vala"
_g_object_unref0 (help_dir);
-#line 996 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 931 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 3716 "Resources.c"
+#line 3245 "Resources.c"
}
-#line 1002 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 937 "/home/jens/Source/shotwell/src/Resources.vala"
result = NULL;
-#line 1002 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 937 "/home/jens/Source/shotwell/src/Resources.vala"
_g_object_unref0 (help_index);
-#line 1002 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 937 "/home/jens/Source/shotwell/src/Resources.vala"
_g_object_unref0 (help_dir);
-#line 1002 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 937 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 3726 "Resources.c"
+#line 3255 "Resources.c"
}
@@ -3761,17 +3290,17 @@ void resources_launch_help (GdkScreen* screen, const gchar* anchor, GError** err
const gchar* _tmp1_ = NULL;
const gchar* _tmp27_ = NULL;
GError * _inner_error_ = NULL;
-#line 1005 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 940 "/home/jens/Source/shotwell/src/Resources.vala"
g_return_if_fail (GDK_IS_SCREEN (screen));
-#line 1006 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 941 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp0_ = resources_get_help_path ();
-#line 1006 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 941 "/home/jens/Source/shotwell/src/Resources.vala"
help_path = _tmp0_;
-#line 1008 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 943 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp1_ = help_path;
-#line 1008 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 943 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp1_ != NULL) {
-#line 3746 "Resources.c"
+#line 3275 "Resources.c"
const gchar* _tmp2_ = NULL;
gchar** argv = NULL;
gchar** _tmp6_ = NULL;
@@ -3803,179 +3332,179 @@ void resources_launch_help (GdkScreen* screen, const gchar* anchor, GError** err
gchar** _tmp25_ = NULL;
gint _tmp25__length1 = 0;
const gchar* _tmp26_ = NULL;
-#line 1012 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 947 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp2_ = anchor;
-#line 1012 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 947 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp2_ != NULL) {
-#line 3782 "Resources.c"
+#line 3311 "Resources.c"
const gchar* _tmp3_ = NULL;
const gchar* _tmp4_ = NULL;
gchar* _tmp5_ = NULL;
-#line 1013 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 948 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp3_ = help_path;
-#line 1013 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 948 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp4_ = anchor;
-#line 1013 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 948 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp5_ = g_strconcat (_tmp3_, _tmp4_, NULL);
-#line 1013 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 948 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (help_path);
-#line 1013 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 948 "/home/jens/Source/shotwell/src/Resources.vala"
help_path = _tmp5_;
-#line 3796 "Resources.c"
+#line 3325 "Resources.c"
}
-#line 1016 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 951 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp6_ = g_new0 (gchar*, 3 + 1);
-#line 1016 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 951 "/home/jens/Source/shotwell/src/Resources.vala"
argv = _tmp6_;
-#line 1016 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 951 "/home/jens/Source/shotwell/src/Resources.vala"
argv_length1 = 3;
-#line 1016 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 951 "/home/jens/Source/shotwell/src/Resources.vala"
_argv_size_ = argv_length1;
-#line 1017 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 952 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp7_ = argv;
-#line 1017 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 952 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp7__length1 = argv_length1;
-#line 1017 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 952 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp8_ = g_strdup ("yelp");
-#line 1017 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 952 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (_tmp7_[0]);
-#line 1017 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 952 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp7_[0] = _tmp8_;
-#line 1017 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 952 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp9_ = _tmp7_[0];
-#line 1018 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 953 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp10_ = argv;
-#line 1018 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 953 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp10__length1 = argv_length1;
-#line 1018 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 953 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp11_ = help_path;
-#line 1018 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 953 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp12_ = g_strdup (_tmp11_);
-#line 1018 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 953 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (_tmp10_[1]);
-#line 1018 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 953 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp10_[1] = _tmp12_;
-#line 1018 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 953 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp13_ = _tmp10_[1];
-#line 1019 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 954 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp14_ = argv;
-#line 1019 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 954 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp14__length1 = argv_length1;
-#line 1019 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 954 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (_tmp14_[2]);
-#line 1019 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 954 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp14_[2] = NULL;
-#line 1019 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 954 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp15_ = _tmp14_[2];
-#line 1022 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 957 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp17_ = app_dirs_get_exec_dir ();
-#line 1022 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 957 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp18_ = _tmp17_;
-#line 1022 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 957 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp19_ = g_file_get_path (_tmp18_);
-#line 1022 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 957 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp20_ = _tmp19_;
-#line 1022 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 957 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp21_ = argv;
-#line 1022 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 957 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp21__length1 = argv_length1;
-#line 1022 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 957 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp23_ = g_spawn_async (_tmp20_, _tmp21_, NULL, G_SPAWN_SEARCH_PATH | G_SPAWN_STDERR_TO_DEV_NULL, NULL, NULL, &_tmp22_, &_inner_error_);
-#line 1022 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 957 "/home/jens/Source/shotwell/src/Resources.vala"
pid = _tmp22_;
-#line 1022 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 957 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp24_ = _tmp23_;
-#line 1022 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 957 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (_tmp20_);
-#line 1022 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 957 "/home/jens/Source/shotwell/src/Resources.vala"
_g_object_unref0 (_tmp18_);
-#line 1022 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 957 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp16_ = _tmp24_;
-#line 1022 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 957 "/home/jens/Source/shotwell/src/Resources.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1022 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 957 "/home/jens/Source/shotwell/src/Resources.vala"
g_propagate_error (error, _inner_error_);
-#line 1022 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 957 "/home/jens/Source/shotwell/src/Resources.vala"
argv = (_vala_array_free (argv, argv_length1, (GDestroyNotify) g_free), NULL);
-#line 1022 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 957 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (help_path);
-#line 1022 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 957 "/home/jens/Source/shotwell/src/Resources.vala"
return;
-#line 3876 "Resources.c"
+#line 3405 "Resources.c"
}
-#line 1022 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 957 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp16_) {
-#line 1024 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 959 "/home/jens/Source/shotwell/src/Resources.vala"
argv = (_vala_array_free (argv, argv_length1, (GDestroyNotify) g_free), NULL);
-#line 1024 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 959 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (help_path);
-#line 1024 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 959 "/home/jens/Source/shotwell/src/Resources.vala"
return;
-#line 3886 "Resources.c"
+#line 3415 "Resources.c"
}
-#line 1027 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 962 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp25_ = argv;
-#line 1027 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 962 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp25__length1 = argv_length1;
-#line 1027 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 962 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp26_ = _tmp25_[0];
-#line 1027 "/home/jens/Source/shotwell/src/Resources.vala"
- g_warning ("Resources.vala:1027: Unable to launch %s", _tmp26_);
-#line 1008 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 962 "/home/jens/Source/shotwell/src/Resources.vala"
+ g_warning ("Resources.vala:962: Unable to launch %s", _tmp26_);
+#line 943 "/home/jens/Source/shotwell/src/Resources.vala"
argv = (_vala_array_free (argv, argv_length1, (GDestroyNotify) g_free), NULL);
-#line 3898 "Resources.c"
+#line 3427 "Resources.c"
}
-#line 1031 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 966 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp27_ = anchor;
-#line 1031 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 966 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp27_ != NULL) {
-#line 3904 "Resources.c"
+#line 3433 "Resources.c"
GdkScreen* _tmp28_ = NULL;
const gchar* _tmp29_ = NULL;
gchar* _tmp30_ = NULL;
gchar* _tmp31_ = NULL;
-#line 1032 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 967 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp28_ = screen;
-#line 1032 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 967 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp29_ = anchor;
-#line 1032 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 967 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp30_ = g_strconcat ("help:shotwell", _tmp29_, NULL);
-#line 1032 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 967 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp31_ = _tmp30_;
-#line 1032 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 967 "/home/jens/Source/shotwell/src/Resources.vala"
sys_show_uri (_tmp28_, _tmp31_, &_inner_error_);
-#line 1032 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 967 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (_tmp31_);
-#line 1032 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 967 "/home/jens/Source/shotwell/src/Resources.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1032 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 967 "/home/jens/Source/shotwell/src/Resources.vala"
g_propagate_error (error, _inner_error_);
-#line 1032 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 967 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (help_path);
-#line 1032 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 967 "/home/jens/Source/shotwell/src/Resources.vala"
return;
-#line 3929 "Resources.c"
+#line 3458 "Resources.c"
}
} else {
GdkScreen* _tmp32_ = NULL;
-#line 1034 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 969 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp32_ = screen;
-#line 1034 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 969 "/home/jens/Source/shotwell/src/Resources.vala"
sys_show_uri (_tmp32_, "help:shotwell", &_inner_error_);
-#line 1034 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 969 "/home/jens/Source/shotwell/src/Resources.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1034 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 969 "/home/jens/Source/shotwell/src/Resources.vala"
g_propagate_error (error, _inner_error_);
-#line 1034 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 969 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (help_path);
-#line 1034 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 969 "/home/jens/Source/shotwell/src/Resources.vala"
return;
-#line 3945 "Resources.c"
+#line 3474 "Resources.c"
}
}
-#line 1005 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 940 "/home/jens/Source/shotwell/src/Resources.vala"
_g_free0 (help_path);
-#line 3950 "Resources.c"
+#line 3479 "Resources.c"
}
@@ -3991,33 +3520,33 @@ gchar* resources_to_css_color (GdkRGBA* color) {
GdkRGBA _tmp4_ = {0};
gdouble _tmp5_ = 0.0;
gchar* _tmp6_ = NULL;
-#line 1038 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 973 "/home/jens/Source/shotwell/src/Resources.vala"
g_return_val_if_fail (color != NULL, NULL);
-#line 1039 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 974 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp0_ = *color;
-#line 1039 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 974 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp1_ = _tmp0_.red;
-#line 1039 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 974 "/home/jens/Source/shotwell/src/Resources.vala"
r = (gint) (_tmp1_ * 255);
-#line 1040 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 975 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp2_ = *color;
-#line 1040 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 975 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp3_ = _tmp2_.green;
-#line 1040 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 975 "/home/jens/Source/shotwell/src/Resources.vala"
g = (gint) (_tmp3_ * 255);
-#line 1041 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 976 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp4_ = *color;
-#line 1041 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 976 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp5_ = _tmp4_.blue;
-#line 1041 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 976 "/home/jens/Source/shotwell/src/Resources.vala"
b = (gint) (_tmp5_ * 255);
-#line 1043 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 978 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp6_ = g_strdup_printf ("rgb(%d, %d, %d)", r, g, b);
-#line 1043 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 978 "/home/jens/Source/shotwell/src/Resources.vala"
result = _tmp6_;
-#line 1043 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 978 "/home/jens/Source/shotwell/src/Resources.vala"
return result;
-#line 3992 "Resources.c"
+#line 3521 "Resources.c"
}
@@ -4035,136 +3564,136 @@ void resources_style_widget (GtkWidget* widget, const gchar* stylesheet) {
GtkWidget* _tmp21_ = NULL;
GtkCssProvider* _tmp22_ = NULL;
GError * _inner_error_ = NULL;
-#line 1050 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 985 "/home/jens/Source/shotwell/src/Resources.vala"
g_return_if_fail (GTK_IS_WIDGET (widget));
-#line 1050 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 985 "/home/jens/Source/shotwell/src/Resources.vala"
g_return_if_fail (stylesheet != NULL);
-#line 1051 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 986 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp0_ = resources_providers;
-#line 1051 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 986 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp0_ == NULL) {
-#line 4018 "Resources.c"
+#line 3547 "Resources.c"
GeeHashMap* _tmp1_ = NULL;
-#line 1052 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 987 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp1_ = gee_hash_map_new (gtk_widget_get_type (), (GBoxedCopyFunc) g_object_ref, g_object_unref, GTK_TYPE_CSS_PROVIDER, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
-#line 1052 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 987 "/home/jens/Source/shotwell/src/Resources.vala"
_g_object_unref0 (resources_providers);
-#line 1052 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 987 "/home/jens/Source/shotwell/src/Resources.vala"
resources_providers = G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, GEE_TYPE_MAP, GeeMap);
-#line 4026 "Resources.c"
+#line 3555 "Resources.c"
}
-#line 1054 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 989 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp2_ = resources_providers;
-#line 1054 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 989 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp3_ = widget;
-#line 1054 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 989 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp4_ = gee_map_has_key (_tmp2_, _tmp3_);
-#line 1054 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 989 "/home/jens/Source/shotwell/src/Resources.vala"
if (_tmp4_) {
-#line 4036 "Resources.c"
+#line 3565 "Resources.c"
GtkWidget* _tmp5_ = NULL;
GtkStyleContext* _tmp6_ = NULL;
GeeMap* _tmp7_ = NULL;
GtkWidget* _tmp8_ = NULL;
gpointer _tmp9_ = NULL;
GtkCssProvider* _tmp10_ = NULL;
-#line 1055 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 990 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp5_ = widget;
-#line 1055 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 990 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp6_ = gtk_widget_get_style_context (_tmp5_);
-#line 1055 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 990 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp7_ = resources_providers;
-#line 1055 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 990 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp8_ = widget;
-#line 1055 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 990 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp9_ = gee_map_get (_tmp7_, _tmp8_);
-#line 1055 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 990 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp10_ = (GtkCssProvider*) _tmp9_;
-#line 1055 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 990 "/home/jens/Source/shotwell/src/Resources.vala"
gtk_style_context_remove_provider (_tmp6_, G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, GTK_TYPE_STYLE_PROVIDER, GtkStyleProvider));
-#line 1055 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 990 "/home/jens/Source/shotwell/src/Resources.vala"
_g_object_unref0 (_tmp10_);
-#line 4059 "Resources.c"
+#line 3588 "Resources.c"
}
-#line 1057 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 992 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp11_ = gtk_css_provider_new ();
-#line 1057 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 992 "/home/jens/Source/shotwell/src/Resources.vala"
styler = _tmp11_;
-#line 4065 "Resources.c"
+#line 3594 "Resources.c"
{
GtkCssProvider* _tmp12_ = NULL;
const gchar* _tmp13_ = NULL;
-#line 1060 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 995 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp12_ = styler;
-#line 1060 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 995 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp13_ = stylesheet;
-#line 1060 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 995 "/home/jens/Source/shotwell/src/Resources.vala"
gtk_css_provider_load_from_data (_tmp12_, _tmp13_, (gssize) RESOURCES_ALL_DATA, &_inner_error_);
-#line 1060 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 995 "/home/jens/Source/shotwell/src/Resources.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 4077 "Resources.c"
- goto __catch430_g_error;
+#line 3606 "Resources.c"
+ goto __catch428_g_error;
}
}
- goto __finally430;
- __catch430_g_error:
+ goto __finally428;
+ __catch428_g_error:
{
GError* e = NULL;
const gchar* _tmp14_ = NULL;
GError* _tmp15_ = NULL;
const gchar* _tmp16_ = NULL;
-#line 1059 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 994 "/home/jens/Source/shotwell/src/Resources.vala"
e = _inner_error_;
-#line 1059 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 994 "/home/jens/Source/shotwell/src/Resources.vala"
_inner_error_ = NULL;
-#line 1062 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 997 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp14_ = stylesheet;
-#line 1062 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 997 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp15_ = e;
-#line 1062 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 997 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp16_ = _tmp15_->message;
-#line 1062 "/home/jens/Source/shotwell/src/Resources.vala"
- g_warning ("Resources.vala:1062: couldn't parse widget stylesheet '%s': %s", _tmp14_, _tmp16_);
-#line 1066 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 997 "/home/jens/Source/shotwell/src/Resources.vala"
+ g_warning ("Resources.vala:997: couldn't parse widget stylesheet '%s': %s", _tmp14_, _tmp16_);
+#line 1001 "/home/jens/Source/shotwell/src/Resources.vala"
_g_error_free0 (e);
-#line 1066 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 1001 "/home/jens/Source/shotwell/src/Resources.vala"
_g_object_unref0 (styler);
-#line 1066 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 1001 "/home/jens/Source/shotwell/src/Resources.vala"
return;
-#line 4106 "Resources.c"
+#line 3635 "Resources.c"
}
- __finally430:
-#line 1059 "/home/jens/Source/shotwell/src/Resources.vala"
+ __finally428:
+#line 994 "/home/jens/Source/shotwell/src/Resources.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1059 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 994 "/home/jens/Source/shotwell/src/Resources.vala"
_g_object_unref0 (styler);
-#line 1059 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 994 "/home/jens/Source/shotwell/src/Resources.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 1059 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 994 "/home/jens/Source/shotwell/src/Resources.vala"
g_clear_error (&_inner_error_);
-#line 1059 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 994 "/home/jens/Source/shotwell/src/Resources.vala"
return;
-#line 4119 "Resources.c"
+#line 3648 "Resources.c"
}
-#line 1069 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 1004 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp17_ = widget;
-#line 1069 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 1004 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp18_ = gtk_widget_get_style_context (_tmp17_);
-#line 1069 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 1004 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp19_ = styler;
-#line 1069 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 1004 "/home/jens/Source/shotwell/src/Resources.vala"
gtk_style_context_add_provider (_tmp18_, G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, GTK_TYPE_STYLE_PROVIDER, GtkStyleProvider), (guint) GTK_STYLE_PROVIDER_PRIORITY_APPLICATION);
-#line 1072 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 1007 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp20_ = resources_providers;
-#line 1072 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 1007 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp21_ = widget;
-#line 1072 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 1007 "/home/jens/Source/shotwell/src/Resources.vala"
_tmp22_ = styler;
-#line 1072 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 1007 "/home/jens/Source/shotwell/src/Resources.vala"
gee_map_set (_tmp20_, _tmp21_, _tmp22_);
-#line 1050 "/home/jens/Source/shotwell/src/Resources.vala"
+#line 985 "/home/jens/Source/shotwell/src/Resources.vala"
_g_object_unref0 (styler);
-#line 4139 "Resources.c"
+#line 3668 "Resources.c"
}
diff --git a/src/Resources.vala b/src/Resources.vala
index bf34ae0..d7f237c 100644
--- a/src/Resources.vala
+++ b/src/Resources.vala
@@ -676,7 +676,6 @@ along with Shotwell; if not, write to the Free Software Foundation, Inc.,
public const string SELECT_ALL_MENU = _("Select _All");
public const string SELECT_ALL_TOOLTIP = _("Select all items");
- private Gtk.IconFactory factory = null;
private Gee.HashMap<string, Gdk.Pixbuf> icon_cache = null;
Gee.HashMap<string, Gdk.Pixbuf> scaled_icon_cache = null;
@@ -689,35 +688,9 @@ along with Shotwell; if not, write to the Free Software Foundation, Inc.,
private string END_MULTIMONTH_DATE_FORMAT_STRING = null;
public void init () {
+ var icon_theme = Gtk.IconTheme.get_default();
// load application-wide stock icons as IconSets
- factory = new Gtk.IconFactory();
-
- File icons_dir = AppDirs.get_resources_dir().get_child("icons");
- add_stock_icon(icons_dir.get_child("crop.svg"), CROP);
- add_stock_icon(icons_dir.get_child("redeye.png"), REDEYE);
- add_stock_icon(icons_dir.get_child("make-primary.svg"), MAKE_PRIMARY);
- add_stock_icon(icons_dir.get_child("import.svg"), IMPORT);
- add_stock_icon(icons_dir.get_child("straighten.svg"), STRAIGHTEN);
- add_stock_icon(icons_dir.get_child("import-all.png"), IMPORT_ALL);
- add_stock_icon(icons_dir.get_child("shotwell-auto-enhance.png"), ENHANCE);
- add_stock_icon(icons_dir.get_child("crop-pivot-reticle.png"), CROP_PIVOT_RETICLE);
- add_stock_icon(icons_dir.get_child("merge.svg"), MERGE);
- add_stock_icon_from_themed_icon(new GLib.ThemedIcon(ICON_FLAGGED_PAGE), ICON_FLAGGED_PAGE);
- add_stock_icon_from_themed_icon(new GLib.ThemedIcon(ICON_VIDEOS_PAGE), ICON_VIDEOS_PAGE);
- add_stock_icon_from_themed_icon(new GLib.ThemedIcon(ICON_SINGLE_PHOTO), ICON_SINGLE_PHOTO);
- add_stock_icon_from_themed_icon(new GLib.ThemedIcon(ICON_CAMERAS), ICON_CAMERAS);
-
- add_stock_icon_from_themed_icon(new GLib.ThemedIcon(ICON_FILTER_FLAGGED),
- ICON_FILTER_FLAGGED_DISABLED, dim_pixbuf);
- add_stock_icon_from_themed_icon(new GLib.ThemedIcon(ICON_FILTER_PHOTOS),
- ICON_FILTER_PHOTOS_DISABLED, dim_pixbuf);
- add_stock_icon_from_themed_icon(new GLib.ThemedIcon(ICON_FILTER_VIDEOS),
- ICON_FILTER_VIDEOS_DISABLED, dim_pixbuf);
- add_stock_icon_from_themed_icon(new GLib.ThemedIcon(ICON_FILTER_RAW),
- ICON_FILTER_RAW_DISABLED, dim_pixbuf);
-
- factory.add_default();
-
+ icon_theme.append_search_path(AppDirs.get_resources_dir().get_child("icons").get_path());
generate_rating_strings();
}
@@ -935,44 +908,6 @@ along with Shotwell; if not, write to the Free Software Foundation, Inc.,
return (scale > 0) ? scale_pixbuf(pixbuf, scale, Gdk.InterpType.BILINEAR, false) : pixbuf;
}
- private void add_stock_icon(File file, string stock_id) {
- Gdk.Pixbuf pixbuf = null;
- try {
- pixbuf = new Gdk.Pixbuf.from_file(file.get_path());
- } catch (Error err) {
- critical("Unable to load stock icon %s: %s", stock_id, err.message);
- }
-
- Gtk.IconSet icon_set = new Gtk.IconSet.from_pixbuf(pixbuf);
- factory.add(stock_id, icon_set);
- }
-
- public delegate void AddStockIconModify(Gdk.Pixbuf pixbuf);
-
- private void add_stock_icon_from_themed_icon(GLib.ThemedIcon gicon, string stock_id,
- AddStockIconModify? modify = null) {
- Gtk.IconTheme icon_theme = Gtk.IconTheme.get_default();
- icon_theme.append_search_path(AppDirs.get_resources_dir().get_child("icons").get_path());
-
- Gtk.IconInfo? info = icon_theme.lookup_by_gicon(gicon,
- Resources.DEFAULT_ICON_SCALE, Gtk.IconLookupFlags.FORCE_SIZE);
- if (info == null) {
- debug("unable to load icon for: %s", stock_id);
- return;
- }
-
- try {
- Gdk.Pixbuf pix = info.load_icon();
- if (modify != null) {
- modify(pix);
- }
- Gtk.IconSet icon_set = new Gtk.IconSet.from_pixbuf(pix);
- factory.add(stock_id, icon_set);
- } catch (Error err) {
- debug("%s", err.message);
- }
- }
-
// Get the directory where our help files live. Returns a string
// describing the help path we want, or, if we're installed system
// -wide already, returns null.
diff --git a/src/Screensaver.c b/src/Screensaver.c
index 06e1d59..50ae28a 100644
--- a/src/Screensaver.c
+++ b/src/Screensaver.c
@@ -1,4 +1,4 @@
-/* Screensaver.c generated by valac 0.34.2, the Vala compiler
+/* Screensaver.c generated by valac 0.32.1, the Vala compiler
* generated from Screensaver.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/SearchFilter.c b/src/SearchFilter.c
index b6c0196..d439603 100644
--- a/src/SearchFilter.c
+++ b/src/SearchFilter.c
@@ -1,4 +1,4 @@
-/* SearchFilter.c generated by valac 0.34.2, the Vala compiler
+/* SearchFilter.c generated by valac 0.32.1, the Vala compiler
* generated from SearchFilter.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -1176,11 +1176,16 @@ GType library_window_get_type (void) G_GNUC_CONST;
AppWindow* app_window_get_instance (void);
void search_filter_actions_set_action_sensitive (SearchFilterActions* self, const gchar* name, gboolean sensitive);
void search_filter_actions_reset (SearchFilterActions* self);
-GSimpleAction* search_filter_actions_get_rating (SearchFilterActions* self);
+GSimpleAction* search_filter_actions_get_flagged (SearchFilterActions* self);
+static GVariant* _variant_new32 (gboolean value);
GSimpleAction* search_filter_actions_get_photos (SearchFilterActions* self);
+static GVariant* _variant_new33 (gboolean value);
GSimpleAction* search_filter_actions_get_raw (SearchFilterActions* self);
+static GVariant* _variant_new34 (gboolean value);
GSimpleAction* search_filter_actions_get_videos (SearchFilterActions* self);
-static GVariant* _variant_new28 (gchar* value);
+static GVariant* _variant_new35 (gboolean value);
+static GVariant* _variant_new36 (gchar* value);
+GSimpleAction* search_filter_actions_get_rating (SearchFilterActions* self);
void search_filter_actions_set_sensitive_for_search_criteria (SearchFilterActions* self, SearchFilterCriteria criteria);
static void search_filter_actions_update_sensitivities (SearchFilterActions* self);
GType page_get_type (void) G_GNUC_CONST;
@@ -1214,13 +1219,12 @@ GType camera_accumulator_get_type (void) G_GNUC_CONST;
gint camera_accumulator_get_photos (CameraAccumulator* self);
gint camera_accumulator_get_videos (CameraAccumulator* self);
gint camera_accumulator_get_raw (CameraAccumulator* self);
-static gboolean _variant_get29 (GVariant* value);
-static GVariant* _variant_new30 (gboolean value);
+static gboolean _variant_get37 (GVariant* value);
+static GVariant* _variant_new38 (gboolean value);
gboolean search_filter_actions_get_has_photos (SearchFilterActions* self);
gboolean search_filter_actions_get_has_videos (SearchFilterActions* self);
gboolean search_filter_actions_get_has_raw (SearchFilterActions* self);
gboolean search_filter_actions_get_has_flagged (SearchFilterActions* self);
-GSimpleAction* search_filter_actions_get_flagged (SearchFilterActions* self);
static void g_cclosure_user_marshal_VOID__BOOLEAN_BOOLEAN_BOOLEAN_BOOLEAN (GClosure * closure, GValue * return_value, guint n_param_values, const GValue * param_values, gpointer invocation_hint, gpointer marshal_data);
static void search_filter_actions_finalize (SearchFilterActions* obj);
GType search_filter_toolbar_get_type (void) G_GNUC_CONST;
@@ -1286,9 +1290,9 @@ static void search_filter_toolbar_toggle_action_tool_button_set_icon_name (Searc
#define RESOURCES_ICON_FILTER_FLAGGED "filter-flagged"
#define RESOURCES_ICON_FILTER_FLAGGED_DISABLED "filter-flagged-disabled"
LibraryWindow* library_window_get_app (void);
-static GVariant* _variant_new31 (gboolean value);
+static GVariant* _variant_new39 (gboolean value);
void search_filter_toolbar_update (SearchFilterToolbar* self);
-static GVariant* _variant_new32 (gboolean value);
+static GVariant* _variant_new40 (gboolean value);
void search_filter_toolbar_set_view_filter (SearchFilterToolbar* self, SearchViewFilter* search_filter);
void search_filter_toolbar_unset_view_filter (SearchFilterToolbar* self);
void library_window_show_search_bar (LibraryWindow* self, gboolean display);
@@ -1476,7 +1480,7 @@ static guint search_view_filter_real_get_criteria (SearchViewFilter* self) {
g_critical ("Type `%s' does not implement abstract method `search_view_filter_get_criteria'", g_type_name (G_TYPE_FROM_INSTANCE (self)));
#line 65 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return 0U;
-#line 1480 "SearchFilter.c"
+#line 1484 "SearchFilter.c"
}
@@ -1485,7 +1489,7 @@ guint search_view_filter_get_criteria (SearchViewFilter* self) {
g_return_val_if_fail (IS_SEARCH_VIEW_FILTER (self), 0U);
#line 65 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return SEARCH_VIEW_FILTER_GET_CLASS (self)->get_criteria (self);
-#line 1489 "SearchFilter.c"
+#line 1493 "SearchFilter.c"
}
@@ -1504,7 +1508,7 @@ void search_view_filter_set_rating_filter (SearchViewFilter* self, RatingFilter
switch (_tmp1_) {
#line 69 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_REJECTED_ONLY:
-#line 1508 "SearchFilter.c"
+#line 1512 "SearchFilter.c"
{
#line 71 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->rating = RATING_REJECTED;
@@ -1512,11 +1516,11 @@ void search_view_filter_set_rating_filter (SearchViewFilter* self, RatingFilter
self->priv->rating_allow_higher = FALSE;
#line 73 "/home/jens/Source/shotwell/src/SearchFilter.vala"
break;
-#line 1516 "SearchFilter.c"
+#line 1520 "SearchFilter.c"
}
#line 69 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_REJECTED_OR_HIGHER:
-#line 1520 "SearchFilter.c"
+#line 1524 "SearchFilter.c"
{
#line 76 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->rating = RATING_REJECTED;
@@ -1524,11 +1528,11 @@ void search_view_filter_set_rating_filter (SearchViewFilter* self, RatingFilter
self->priv->rating_allow_higher = TRUE;
#line 78 "/home/jens/Source/shotwell/src/SearchFilter.vala"
break;
-#line 1528 "SearchFilter.c"
+#line 1532 "SearchFilter.c"
}
#line 69 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_ONE_OR_HIGHER:
-#line 1532 "SearchFilter.c"
+#line 1536 "SearchFilter.c"
{
#line 81 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->rating = RATING_ONE;
@@ -1536,11 +1540,11 @@ void search_view_filter_set_rating_filter (SearchViewFilter* self, RatingFilter
self->priv->rating_allow_higher = TRUE;
#line 83 "/home/jens/Source/shotwell/src/SearchFilter.vala"
break;
-#line 1540 "SearchFilter.c"
+#line 1544 "SearchFilter.c"
}
#line 69 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_ONE_ONLY:
-#line 1544 "SearchFilter.c"
+#line 1548 "SearchFilter.c"
{
#line 86 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->rating = RATING_ONE;
@@ -1548,11 +1552,11 @@ void search_view_filter_set_rating_filter (SearchViewFilter* self, RatingFilter
self->priv->rating_allow_higher = FALSE;
#line 88 "/home/jens/Source/shotwell/src/SearchFilter.vala"
break;
-#line 1552 "SearchFilter.c"
+#line 1556 "SearchFilter.c"
}
#line 69 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_TWO_OR_HIGHER:
-#line 1556 "SearchFilter.c"
+#line 1560 "SearchFilter.c"
{
#line 91 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->rating = RATING_TWO;
@@ -1560,11 +1564,11 @@ void search_view_filter_set_rating_filter (SearchViewFilter* self, RatingFilter
self->priv->rating_allow_higher = TRUE;
#line 93 "/home/jens/Source/shotwell/src/SearchFilter.vala"
break;
-#line 1564 "SearchFilter.c"
+#line 1568 "SearchFilter.c"
}
#line 69 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_TWO_ONLY:
-#line 1568 "SearchFilter.c"
+#line 1572 "SearchFilter.c"
{
#line 96 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->rating = RATING_TWO;
@@ -1572,11 +1576,11 @@ void search_view_filter_set_rating_filter (SearchViewFilter* self, RatingFilter
self->priv->rating_allow_higher = FALSE;
#line 98 "/home/jens/Source/shotwell/src/SearchFilter.vala"
break;
-#line 1576 "SearchFilter.c"
+#line 1580 "SearchFilter.c"
}
#line 69 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_THREE_OR_HIGHER:
-#line 1580 "SearchFilter.c"
+#line 1584 "SearchFilter.c"
{
#line 101 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->rating = RATING_THREE;
@@ -1584,11 +1588,11 @@ void search_view_filter_set_rating_filter (SearchViewFilter* self, RatingFilter
self->priv->rating_allow_higher = TRUE;
#line 103 "/home/jens/Source/shotwell/src/SearchFilter.vala"
break;
-#line 1588 "SearchFilter.c"
+#line 1592 "SearchFilter.c"
}
#line 69 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_THREE_ONLY:
-#line 1592 "SearchFilter.c"
+#line 1596 "SearchFilter.c"
{
#line 106 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->rating = RATING_THREE;
@@ -1596,11 +1600,11 @@ void search_view_filter_set_rating_filter (SearchViewFilter* self, RatingFilter
self->priv->rating_allow_higher = FALSE;
#line 108 "/home/jens/Source/shotwell/src/SearchFilter.vala"
break;
-#line 1600 "SearchFilter.c"
+#line 1604 "SearchFilter.c"
}
#line 69 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_FOUR_OR_HIGHER:
-#line 1604 "SearchFilter.c"
+#line 1608 "SearchFilter.c"
{
#line 111 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->rating = RATING_FOUR;
@@ -1608,11 +1612,11 @@ void search_view_filter_set_rating_filter (SearchViewFilter* self, RatingFilter
self->priv->rating_allow_higher = TRUE;
#line 113 "/home/jens/Source/shotwell/src/SearchFilter.vala"
break;
-#line 1612 "SearchFilter.c"
+#line 1616 "SearchFilter.c"
}
#line 69 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_FOUR_ONLY:
-#line 1616 "SearchFilter.c"
+#line 1620 "SearchFilter.c"
{
#line 116 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->rating = RATING_FOUR;
@@ -1620,11 +1624,11 @@ void search_view_filter_set_rating_filter (SearchViewFilter* self, RatingFilter
self->priv->rating_allow_higher = FALSE;
#line 118 "/home/jens/Source/shotwell/src/SearchFilter.vala"
break;
-#line 1624 "SearchFilter.c"
+#line 1628 "SearchFilter.c"
}
#line 69 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_FIVE_OR_HIGHER:
-#line 1628 "SearchFilter.c"
+#line 1632 "SearchFilter.c"
{
#line 121 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->rating = RATING_FIVE;
@@ -1632,11 +1636,11 @@ void search_view_filter_set_rating_filter (SearchViewFilter* self, RatingFilter
self->priv->rating_allow_higher = TRUE;
#line 123 "/home/jens/Source/shotwell/src/SearchFilter.vala"
break;
-#line 1636 "SearchFilter.c"
+#line 1640 "SearchFilter.c"
}
#line 69 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_FIVE_ONLY:
-#line 1640 "SearchFilter.c"
+#line 1644 "SearchFilter.c"
{
#line 126 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->rating = RATING_FIVE;
@@ -1644,12 +1648,12 @@ void search_view_filter_set_rating_filter (SearchViewFilter* self, RatingFilter
self->priv->rating_allow_higher = FALSE;
#line 128 "/home/jens/Source/shotwell/src/SearchFilter.vala"
break;
-#line 1648 "SearchFilter.c"
+#line 1652 "SearchFilter.c"
}
default:
#line 69 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_UNRATED_OR_HIGHER:
-#line 1653 "SearchFilter.c"
+#line 1657 "SearchFilter.c"
{
#line 132 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->rating = RATING_UNRATED;
@@ -1657,7 +1661,7 @@ void search_view_filter_set_rating_filter (SearchViewFilter* self, RatingFilter
self->priv->rating_allow_higher = TRUE;
#line 134 "/home/jens/Source/shotwell/src/SearchFilter.vala"
break;
-#line 1661 "SearchFilter.c"
+#line 1665 "SearchFilter.c"
}
}
}
@@ -1677,7 +1681,7 @@ gboolean search_view_filter_has_search_filter (SearchViewFilter* self) {
result = !_tmp1_;
#line 139 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 1681 "SearchFilter.c"
+#line 1685 "SearchFilter.c"
}
@@ -1692,7 +1696,7 @@ const gchar* search_view_filter_get_search_filter (SearchViewFilter* self) {
result = _tmp0_;
#line 143 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 1696 "SearchFilter.c"
+#line 1700 "SearchFilter.c"
}
@@ -1716,13 +1720,13 @@ gchar** search_view_filter_get_search_filter_words (SearchViewFilter* self, int*
if (result_length1) {
#line 147 "/home/jens/Source/shotwell/src/SearchFilter.vala"
*result_length1 = _tmp1__length1;
-#line 1720 "SearchFilter.c"
+#line 1724 "SearchFilter.c"
}
#line 147 "/home/jens/Source/shotwell/src/SearchFilter.vala"
result = _tmp1_;
#line 147 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 1726 "SearchFilter.c"
+#line 1730 "SearchFilter.c"
}
@@ -1733,17 +1737,17 @@ static gchar** _vala_array_dup32 (gchar** self, int length) {
result = g_new0 (gchar*, length + 1);
#line 152 "/home/jens/Source/shotwell/src/SearchFilter.vala"
for (i = 0; i < length; i++) {
-#line 1737 "SearchFilter.c"
+#line 1741 "SearchFilter.c"
gchar* _tmp0_ = NULL;
#line 152 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = g_strdup (self[i]);
#line 152 "/home/jens/Source/shotwell/src/SearchFilter.vala"
result[i] = _tmp0_;
-#line 1743 "SearchFilter.c"
+#line 1747 "SearchFilter.c"
}
#line 152 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 1747 "SearchFilter.c"
+#line 1751 "SearchFilter.c"
}
@@ -1766,7 +1770,7 @@ void search_view_filter_set_search_filter (SearchViewFilter* self, const gchar*
_tmp2_ = is_string_empty (_tmp1_);
#line 151 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (!_tmp2_) {
-#line 1770 "SearchFilter.c"
+#line 1774 "SearchFilter.c"
const gchar* _tmp3_ = NULL;
gchar* _tmp4_ = NULL;
#line 151 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -1777,13 +1781,13 @@ void search_view_filter_set_search_filter (SearchViewFilter* self, const gchar*
_g_free0 (_tmp0_);
#line 151 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = _tmp4_;
-#line 1781 "SearchFilter.c"
+#line 1785 "SearchFilter.c"
} else {
#line 151 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_free0 (_tmp0_);
#line 151 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = NULL;
-#line 1787 "SearchFilter.c"
+#line 1791 "SearchFilter.c"
}
#line 151 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp5_ = g_strdup (_tmp0_);
@@ -1795,7 +1799,7 @@ void search_view_filter_set_search_filter (SearchViewFilter* self, const gchar*
_tmp7_ = self->priv->search_filter;
#line 152 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp7_ != NULL) {
-#line 1799 "SearchFilter.c"
+#line 1803 "SearchFilter.c"
const gchar* _tmp8_ = NULL;
gchar** _tmp9_ = NULL;
gchar** _tmp10_ = NULL;
@@ -1811,7 +1815,7 @@ void search_view_filter_set_search_filter (SearchViewFilter* self, const gchar*
_tmp6__length1 = _vala_array_length (_tmp9_);
#line 152 "/home/jens/Source/shotwell/src/SearchFilter.vala"
__tmp6__size_ = _tmp6__length1;
-#line 1815 "SearchFilter.c"
+#line 1819 "SearchFilter.c"
} else {
#line 152 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp6_ = (_vala_array_free (_tmp6_, _tmp6__length1, (GDestroyNotify) g_free), NULL);
@@ -1821,7 +1825,7 @@ void search_view_filter_set_search_filter (SearchViewFilter* self, const gchar*
_tmp6__length1 = 0;
#line 152 "/home/jens/Source/shotwell/src/SearchFilter.vala"
__tmp6__size_ = _tmp6__length1;
-#line 1825 "SearchFilter.c"
+#line 1829 "SearchFilter.c"
}
#line 152 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp11_ = (_tmp6_ != NULL) ? _vala_array_dup32 (_tmp6_, _tmp6__length1) : ((gpointer) _tmp6_);
@@ -1839,7 +1843,7 @@ void search_view_filter_set_search_filter (SearchViewFilter* self, const gchar*
_tmp6_ = (_vala_array_free (_tmp6_, _tmp6__length1, (GDestroyNotify) g_free), NULL);
#line 150 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_free0 (_tmp0_);
-#line 1843 "SearchFilter.c"
+#line 1847 "SearchFilter.c"
}
@@ -1858,7 +1862,7 @@ void search_view_filter_clear_search_filter (SearchViewFilter* self) {
self->priv->search_filter_words_length1 = 0;
#line 157 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->_search_filter_words_size_ = self->priv->search_filter_words_length1;
-#line 1862 "SearchFilter.c"
+#line 1866 "SearchFilter.c"
}
@@ -1873,7 +1877,7 @@ gboolean search_view_filter_has_saved_search (SearchViewFilter* self) {
result = _tmp0_ != NULL;
#line 161 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 1877 "SearchFilter.c"
+#line 1881 "SearchFilter.c"
}
@@ -1888,7 +1892,7 @@ gboolean search_view_filter_get_rating_allow_higher (SearchViewFilter* self) {
result = _tmp0_;
#line 165 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 1892 "SearchFilter.c"
+#line 1896 "SearchFilter.c"
}
@@ -1903,7 +1907,7 @@ Rating search_view_filter_get_rating (SearchViewFilter* self) {
result = _tmp0_;
#line 169 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 1907 "SearchFilter.c"
+#line 1911 "SearchFilter.c"
}
@@ -1921,31 +1925,31 @@ gboolean search_view_filter_filter_by_media_type (SearchViewFilter* self) {
if (_tmp3_) {
#line 173 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = TRUE;
-#line 1925 "SearchFilter.c"
+#line 1929 "SearchFilter.c"
} else {
gboolean _tmp4_ = FALSE;
#line 173 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp4_ = self->priv->_show_media_photos;
#line 173 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = _tmp4_;
-#line 1932 "SearchFilter.c"
+#line 1936 "SearchFilter.c"
}
#line 173 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp2_) {
#line 173 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = TRUE;
-#line 1938 "SearchFilter.c"
+#line 1942 "SearchFilter.c"
} else {
gboolean _tmp5_ = FALSE;
#line 173 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp5_ = self->priv->_show_media_raw;
#line 173 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = _tmp5_;
-#line 1945 "SearchFilter.c"
+#line 1949 "SearchFilter.c"
}
#line 173 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp1_) {
-#line 1949 "SearchFilter.c"
+#line 1953 "SearchFilter.c"
gboolean _tmp6_ = FALSE;
gboolean _tmp7_ = FALSE;
gboolean _tmp8_ = FALSE;
@@ -1953,45 +1957,45 @@ gboolean search_view_filter_filter_by_media_type (SearchViewFilter* self) {
_tmp8_ = self->priv->_show_media_video;
#line 174 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp8_) {
-#line 1957 "SearchFilter.c"
+#line 1961 "SearchFilter.c"
gboolean _tmp9_ = FALSE;
#line 174 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp9_ = self->priv->_show_media_photos;
#line 174 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp7_ = _tmp9_;
-#line 1963 "SearchFilter.c"
+#line 1967 "SearchFilter.c"
} else {
#line 174 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp7_ = FALSE;
-#line 1967 "SearchFilter.c"
+#line 1971 "SearchFilter.c"
}
#line 174 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp7_) {
-#line 1971 "SearchFilter.c"
+#line 1975 "SearchFilter.c"
gboolean _tmp10_ = FALSE;
#line 174 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp10_ = self->priv->_show_media_raw;
#line 174 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp6_ = _tmp10_;
-#line 1977 "SearchFilter.c"
+#line 1981 "SearchFilter.c"
} else {
#line 174 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp6_ = FALSE;
-#line 1981 "SearchFilter.c"
+#line 1985 "SearchFilter.c"
}
#line 174 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = !_tmp6_;
-#line 1985 "SearchFilter.c"
+#line 1989 "SearchFilter.c"
} else {
#line 173 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = FALSE;
-#line 1989 "SearchFilter.c"
+#line 1993 "SearchFilter.c"
}
#line 173 "/home/jens/Source/shotwell/src/SearchFilter.vala"
result = _tmp0_;
#line 173 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 1995 "SearchFilter.c"
+#line 1999 "SearchFilter.c"
}
@@ -2001,7 +2005,7 @@ SearchViewFilter* search_view_filter_construct (GType object_type) {
self = (SearchViewFilter*) view_filter_construct (object_type);
#line 39 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return self;
-#line 2005 "SearchFilter.c"
+#line 2009 "SearchFilter.c"
}
@@ -2016,7 +2020,7 @@ gboolean search_view_filter_get_flagged (SearchViewFilter* self) {
result = _tmp0_;
#line 48 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 2020 "SearchFilter.c"
+#line 2024 "SearchFilter.c"
}
@@ -2028,7 +2032,7 @@ void search_view_filter_set_flagged (SearchViewFilter* self, gboolean value) {
_tmp0_ = value;
#line 48 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->_flagged = _tmp0_;
-#line 2032 "SearchFilter.c"
+#line 2036 "SearchFilter.c"
}
@@ -2043,7 +2047,7 @@ gboolean search_view_filter_get_show_media_video (SearchViewFilter* self) {
result = _tmp0_;
#line 51 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 2047 "SearchFilter.c"
+#line 2051 "SearchFilter.c"
}
@@ -2055,7 +2059,7 @@ void search_view_filter_set_show_media_video (SearchViewFilter* self, gboolean v
_tmp0_ = value;
#line 51 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->_show_media_video = _tmp0_;
-#line 2059 "SearchFilter.c"
+#line 2063 "SearchFilter.c"
}
@@ -2070,7 +2074,7 @@ gboolean search_view_filter_get_show_media_photos (SearchViewFilter* self) {
result = _tmp0_;
#line 52 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 2074 "SearchFilter.c"
+#line 2078 "SearchFilter.c"
}
@@ -2082,7 +2086,7 @@ void search_view_filter_set_show_media_photos (SearchViewFilter* self, gboolean
_tmp0_ = value;
#line 52 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->_show_media_photos = _tmp0_;
-#line 2086 "SearchFilter.c"
+#line 2090 "SearchFilter.c"
}
@@ -2097,7 +2101,7 @@ gboolean search_view_filter_get_show_media_raw (SearchViewFilter* self) {
result = _tmp0_;
#line 53 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 2101 "SearchFilter.c"
+#line 2105 "SearchFilter.c"
}
@@ -2109,7 +2113,7 @@ void search_view_filter_set_show_media_raw (SearchViewFilter* self, gboolean val
_tmp0_ = value;
#line 53 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->_show_media_raw = _tmp0_;
-#line 2113 "SearchFilter.c"
+#line 2117 "SearchFilter.c"
}
@@ -2124,14 +2128,14 @@ SavedSearch* search_view_filter_get_saved_search (SearchViewFilter* self) {
result = _tmp0_;
#line 60 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 2128 "SearchFilter.c"
+#line 2132 "SearchFilter.c"
}
static gpointer _g_object_ref0 (gpointer self) {
#line 60 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return self ? g_object_ref (self) : NULL;
-#line 2135 "SearchFilter.c"
+#line 2139 "SearchFilter.c"
}
@@ -2148,7 +2152,7 @@ void search_view_filter_set_saved_search (SearchViewFilter* self, SavedSearch* v
_g_object_unref0 (self->priv->_saved_search);
#line 60 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->_saved_search = _tmp1_;
-#line 2152 "SearchFilter.c"
+#line 2156 "SearchFilter.c"
}
@@ -2161,7 +2165,7 @@ static void search_view_filter_class_init (SearchViewFilterClass * klass) {
g_type_class_add_private (klass, sizeof (SearchViewFilterPrivate));
#line 39 "/home/jens/Source/shotwell/src/SearchFilter.vala"
((SearchViewFilterClass *) klass)->get_criteria = search_view_filter_real_get_criteria;
-#line 2165 "SearchFilter.c"
+#line 2169 "SearchFilter.c"
}
@@ -2192,7 +2196,7 @@ static void search_view_filter_instance_init (SearchViewFilter * self) {
self->priv->_search_filter_words_size_ = self->priv->search_filter_words_length1;
#line 60 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->_saved_search = NULL;
-#line 2196 "SearchFilter.c"
+#line 2200 "SearchFilter.c"
}
@@ -2208,7 +2212,7 @@ static void search_view_filter_finalize (ViewFilter* obj) {
_g_object_unref0 (self->priv->_saved_search);
#line 39 "/home/jens/Source/shotwell/src/SearchFilter.vala"
VIEW_FILTER_CLASS (search_view_filter_parent_class)->finalize (obj);
-#line 2212 "SearchFilter.c"
+#line 2216 "SearchFilter.c"
}
@@ -2228,19 +2232,19 @@ static gboolean string_contains (const gchar* self, const gchar* needle) {
gboolean result = FALSE;
const gchar* _tmp0_ = NULL;
gchar* _tmp1_ = NULL;
-#line 1376 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1376 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, FALSE);
-#line 1376 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1376 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (needle != NULL, FALSE);
-#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = needle;
-#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = strstr ((gchar*) self, (gchar*) _tmp0_);
-#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp1_ != NULL;
-#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
-#line 2244 "SearchFilter.c"
+#line 2248 "SearchFilter.c"
}
@@ -2278,14 +2282,14 @@ static gboolean default_search_view_filter_real_predicate (ViewFilter* base, Dat
_tmp3_ = criteria;
#line 186 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if ((SEARCH_FILTER_CRITERIA_RATING & _tmp3_) != 0) {
-#line 2282 "SearchFilter.c"
+#line 2286 "SearchFilter.c"
gboolean _tmp4_ = FALSE;
gboolean _tmp5_ = FALSE;
#line 187 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp5_ = search_view_filter_get_rating_allow_higher (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SEARCH_VIEW_FILTER, SearchViewFilter));
#line 187 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp5_) {
-#line 2289 "SearchFilter.c"
+#line 2293 "SearchFilter.c"
MediaSource* _tmp6_ = NULL;
Rating _tmp7_ = 0;
Rating _tmp8_ = 0;
@@ -2297,11 +2301,11 @@ static gboolean default_search_view_filter_real_predicate (ViewFilter* base, Dat
_tmp8_ = search_view_filter_get_rating (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SEARCH_VIEW_FILTER, SearchViewFilter));
#line 187 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp4_ = _tmp7_ < _tmp8_;
-#line 2301 "SearchFilter.c"
+#line 2305 "SearchFilter.c"
} else {
#line 187 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp4_ = FALSE;
-#line 2305 "SearchFilter.c"
+#line 2309 "SearchFilter.c"
}
#line 187 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp4_) {
@@ -2311,7 +2315,7 @@ static gboolean default_search_view_filter_real_predicate (ViewFilter* base, Dat
_g_object_unref0 (source);
#line 188 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 2315 "SearchFilter.c"
+#line 2319 "SearchFilter.c"
} else {
gboolean _tmp9_ = FALSE;
gboolean _tmp10_ = FALSE;
@@ -2319,7 +2323,7 @@ static gboolean default_search_view_filter_real_predicate (ViewFilter* base, Dat
_tmp10_ = search_view_filter_get_rating_allow_higher (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SEARCH_VIEW_FILTER, SearchViewFilter));
#line 189 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (!_tmp10_) {
-#line 2323 "SearchFilter.c"
+#line 2327 "SearchFilter.c"
MediaSource* _tmp11_ = NULL;
Rating _tmp12_ = 0;
Rating _tmp13_ = 0;
@@ -2331,11 +2335,11 @@ static gboolean default_search_view_filter_real_predicate (ViewFilter* base, Dat
_tmp13_ = search_view_filter_get_rating (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SEARCH_VIEW_FILTER, SearchViewFilter));
#line 189 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp9_ = _tmp12_ != _tmp13_;
-#line 2335 "SearchFilter.c"
+#line 2339 "SearchFilter.c"
} else {
#line 189 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp9_ = FALSE;
-#line 2339 "SearchFilter.c"
+#line 2343 "SearchFilter.c"
}
#line 189 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp9_) {
@@ -2345,7 +2349,7 @@ static gboolean default_search_view_filter_real_predicate (ViewFilter* base, Dat
_g_object_unref0 (source);
#line 190 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 2349 "SearchFilter.c"
+#line 2353 "SearchFilter.c"
}
}
}
@@ -2353,7 +2357,7 @@ static gboolean default_search_view_filter_real_predicate (ViewFilter* base, Dat
_tmp14_ = criteria;
#line 194 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if ((SEARCH_FILTER_CRITERIA_FLAG & _tmp14_) != 0) {
-#line 2357 "SearchFilter.c"
+#line 2361 "SearchFilter.c"
gboolean _tmp15_ = FALSE;
gboolean _tmp16_ = FALSE;
gboolean _tmp17_ = FALSE;
@@ -2364,21 +2368,21 @@ static gboolean default_search_view_filter_real_predicate (ViewFilter* base, Dat
_tmp18_ = _tmp17_;
#line 195 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp18_) {
-#line 2368 "SearchFilter.c"
+#line 2372 "SearchFilter.c"
MediaSource* _tmp19_ = NULL;
#line 195 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp19_ = source;
#line 195 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp16_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp19_, TYPE_FLAGGABLE);
-#line 2374 "SearchFilter.c"
+#line 2378 "SearchFilter.c"
} else {
#line 195 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp16_ = FALSE;
-#line 2378 "SearchFilter.c"
+#line 2382 "SearchFilter.c"
}
#line 195 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp16_) {
-#line 2382 "SearchFilter.c"
+#line 2386 "SearchFilter.c"
MediaSource* _tmp20_ = NULL;
gboolean _tmp21_ = FALSE;
#line 195 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -2387,11 +2391,11 @@ static gboolean default_search_view_filter_real_predicate (ViewFilter* base, Dat
_tmp21_ = flaggable_is_flagged (G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, TYPE_FLAGGABLE, Flaggable));
#line 195 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp15_ = !_tmp21_;
-#line 2391 "SearchFilter.c"
+#line 2395 "SearchFilter.c"
} else {
#line 195 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp15_ = FALSE;
-#line 2395 "SearchFilter.c"
+#line 2399 "SearchFilter.c"
}
#line 195 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp15_) {
@@ -2401,34 +2405,34 @@ static gboolean default_search_view_filter_real_predicate (ViewFilter* base, Dat
_g_object_unref0 (source);
#line 196 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 2405 "SearchFilter.c"
+#line 2409 "SearchFilter.c"
}
}
#line 200 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp23_ = criteria;
#line 200 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if ((SEARCH_FILTER_CRITERIA_MEDIA & _tmp23_) != 0) {
-#line 2412 "SearchFilter.c"
+#line 2416 "SearchFilter.c"
gboolean _tmp24_ = FALSE;
#line 200 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp24_ = search_view_filter_filter_by_media_type (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SEARCH_VIEW_FILTER, SearchViewFilter));
#line 200 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp22_ = _tmp24_;
-#line 2418 "SearchFilter.c"
+#line 2422 "SearchFilter.c"
} else {
#line 200 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp22_ = FALSE;
-#line 2422 "SearchFilter.c"
+#line 2426 "SearchFilter.c"
}
#line 200 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp22_) {
-#line 2426 "SearchFilter.c"
+#line 2430 "SearchFilter.c"
MediaSource* _tmp25_ = NULL;
#line 201 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp25_ = source;
#line 201 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp25_, TYPE_VIDEO_SOURCE)) {
-#line 2432 "SearchFilter.c"
+#line 2436 "SearchFilter.c"
gboolean _tmp26_ = FALSE;
gboolean _tmp27_ = FALSE;
#line 202 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -2443,7 +2447,7 @@ static gboolean default_search_view_filter_real_predicate (ViewFilter* base, Dat
_g_object_unref0 (source);
#line 203 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 2447 "SearchFilter.c"
+#line 2451 "SearchFilter.c"
}
} else {
MediaSource* _tmp28_ = NULL;
@@ -2451,7 +2455,7 @@ static gboolean default_search_view_filter_real_predicate (ViewFilter* base, Dat
_tmp28_ = source;
#line 204 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp28_, TYPE_PHOTO)) {
-#line 2455 "SearchFilter.c"
+#line 2459 "SearchFilter.c"
Photo* photo = NULL;
MediaSource* _tmp29_ = NULL;
Photo* _tmp30_ = NULL;
@@ -2469,7 +2473,7 @@ static gboolean default_search_view_filter_real_predicate (ViewFilter* base, Dat
_tmp32_ = photo_get_master_file_format (_tmp31_);
#line 206 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp32_ == PHOTO_FILE_FORMAT_RAW) {
-#line 2473 "SearchFilter.c"
+#line 2477 "SearchFilter.c"
Photo* _tmp33_ = NULL;
gboolean _tmp34_ = FALSE;
#line 207 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -2478,7 +2482,7 @@ static gboolean default_search_view_filter_real_predicate (ViewFilter* base, Dat
_tmp34_ = photo_is_raw_developer_available (_tmp33_, RAW_DEVELOPER_CAMERA);
#line 207 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp34_) {
-#line 2482 "SearchFilter.c"
+#line 2486 "SearchFilter.c"
gboolean _tmp35_ = FALSE;
gboolean _tmp36_ = FALSE;
gboolean _tmp37_ = FALSE;
@@ -2488,7 +2492,7 @@ static gboolean default_search_view_filter_real_predicate (ViewFilter* base, Dat
_tmp37_ = _tmp36_;
#line 208 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (!_tmp37_) {
-#line 2492 "SearchFilter.c"
+#line 2496 "SearchFilter.c"
gboolean _tmp38_ = FALSE;
gboolean _tmp39_ = FALSE;
#line 208 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -2497,11 +2501,11 @@ static gboolean default_search_view_filter_real_predicate (ViewFilter* base, Dat
_tmp39_ = _tmp38_;
#line 208 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp35_ = !_tmp39_;
-#line 2501 "SearchFilter.c"
+#line 2505 "SearchFilter.c"
} else {
#line 208 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp35_ = FALSE;
-#line 2505 "SearchFilter.c"
+#line 2509 "SearchFilter.c"
}
#line 208 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp35_) {
@@ -2513,7 +2517,7 @@ static gboolean default_search_view_filter_real_predicate (ViewFilter* base, Dat
_g_object_unref0 (source);
#line 209 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 2517 "SearchFilter.c"
+#line 2521 "SearchFilter.c"
}
} else {
gboolean _tmp40_ = FALSE;
@@ -2532,7 +2536,7 @@ static gboolean default_search_view_filter_real_predicate (ViewFilter* base, Dat
_g_object_unref0 (source);
#line 211 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 2536 "SearchFilter.c"
+#line 2540 "SearchFilter.c"
}
}
} else {
@@ -2552,12 +2556,12 @@ static gboolean default_search_view_filter_real_predicate (ViewFilter* base, Dat
_g_object_unref0 (source);
#line 214 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 2556 "SearchFilter.c"
+#line 2560 "SearchFilter.c"
}
}
#line 204 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (photo);
-#line 2561 "SearchFilter.c"
+#line 2565 "SearchFilter.c"
}
}
}
@@ -2565,21 +2569,21 @@ static gboolean default_search_view_filter_real_predicate (ViewFilter* base, Dat
_tmp45_ = criteria;
#line 219 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if ((SEARCH_FILTER_CRITERIA_TEXT & _tmp45_) != 0) {
-#line 2569 "SearchFilter.c"
+#line 2573 "SearchFilter.c"
gboolean _tmp46_ = FALSE;
#line 219 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp46_ = search_view_filter_has_search_filter (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SEARCH_VIEW_FILTER, SearchViewFilter));
#line 219 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp44_ = _tmp46_;
-#line 2575 "SearchFilter.c"
+#line 2579 "SearchFilter.c"
} else {
#line 219 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp44_ = FALSE;
-#line 2579 "SearchFilter.c"
+#line 2583 "SearchFilter.c"
}
#line 219 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp44_) {
-#line 2583 "SearchFilter.c"
+#line 2587 "SearchFilter.c"
const gchar* media_keywords = NULL;
MediaSource* _tmp47_ = NULL;
const gchar* _tmp48_ = NULL;
@@ -2615,7 +2619,7 @@ static gboolean default_search_view_filter_real_predicate (ViewFilter* base, Dat
_tmp51_ = event;
#line 224 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp51_ != NULL) {
-#line 2619 "SearchFilter.c"
+#line 2623 "SearchFilter.c"
Event* _tmp52_ = NULL;
const gchar* _tmp53_ = NULL;
#line 225 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -2624,7 +2628,7 @@ static gboolean default_search_view_filter_real_predicate (ViewFilter* base, Dat
_tmp53_ = indexable_get_indexable_keywords (G_TYPE_CHECK_INSTANCE_CAST (_tmp52_, TYPE_INDEXABLE, Indexable));
#line 225 "/home/jens/Source/shotwell/src/SearchFilter.vala"
event_keywords = _tmp53_;
-#line 2628 "SearchFilter.c"
+#line 2632 "SearchFilter.c"
}
#line 227 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp54_ = tag_global;
@@ -2638,7 +2642,7 @@ static gboolean default_search_view_filter_real_predicate (ViewFilter* base, Dat
_tmp58_ = tags;
#line 228 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp58_ != NULL) {
-#line 2642 "SearchFilter.c"
+#line 2646 "SearchFilter.c"
GeeList* _tmp59_ = NULL;
gint _tmp60_ = 0;
gint _tmp61_ = 0;
@@ -2650,17 +2654,17 @@ static gboolean default_search_view_filter_real_predicate (ViewFilter* base, Dat
_tmp61_ = _tmp60_;
#line 228 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp57_ = _tmp61_;
-#line 2654 "SearchFilter.c"
+#line 2658 "SearchFilter.c"
} else {
#line 228 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp57_ = 0;
-#line 2658 "SearchFilter.c"
+#line 2662 "SearchFilter.c"
}
#line 228 "/home/jens/Source/shotwell/src/SearchFilter.vala"
tags_size = _tmp57_;
#line 230 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp63_ = search_view_filter_get_search_filter_words (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SEARCH_VIEW_FILTER, SearchViewFilter), &_tmp62_);
-#line 2664 "SearchFilter.c"
+#line 2668 "SearchFilter.c"
{
gchar** word_collection = NULL;
gint word_collection_length1 = 0;
@@ -2672,11 +2676,11 @@ static gboolean default_search_view_filter_real_predicate (ViewFilter* base, Dat
word_collection_length1 = _tmp62_;
#line 230 "/home/jens/Source/shotwell/src/SearchFilter.vala"
for (word_it = 0; word_it < _tmp62_; word_it = word_it + 1) {
-#line 2676 "SearchFilter.c"
+#line 2680 "SearchFilter.c"
const gchar* word = NULL;
#line 230 "/home/jens/Source/shotwell/src/SearchFilter.vala"
word = word_collection[word_it];
-#line 2680 "SearchFilter.c"
+#line 2684 "SearchFilter.c"
{
gboolean _tmp64_ = FALSE;
const gchar* _tmp65_ = NULL;
@@ -2687,7 +2691,7 @@ static gboolean default_search_view_filter_real_predicate (ViewFilter* base, Dat
_tmp65_ = media_keywords;
#line 231 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp65_ != NULL) {
-#line 2691 "SearchFilter.c"
+#line 2695 "SearchFilter.c"
const gchar* _tmp66_ = NULL;
const gchar* _tmp67_ = NULL;
gboolean _tmp68_ = FALSE;
@@ -2699,23 +2703,23 @@ static gboolean default_search_view_filter_real_predicate (ViewFilter* base, Dat
_tmp68_ = string_contains (_tmp66_, _tmp67_);
#line 231 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp64_ = _tmp68_;
-#line 2703 "SearchFilter.c"
+#line 2707 "SearchFilter.c"
} else {
#line 231 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp64_ = FALSE;
-#line 2707 "SearchFilter.c"
+#line 2711 "SearchFilter.c"
}
#line 231 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp64_) {
#line 232 "/home/jens/Source/shotwell/src/SearchFilter.vala"
continue;
-#line 2713 "SearchFilter.c"
+#line 2717 "SearchFilter.c"
}
#line 234 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp70_ = event_keywords;
#line 234 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp70_ != NULL) {
-#line 2719 "SearchFilter.c"
+#line 2723 "SearchFilter.c"
const gchar* _tmp71_ = NULL;
const gchar* _tmp72_ = NULL;
gboolean _tmp73_ = FALSE;
@@ -2727,40 +2731,40 @@ static gboolean default_search_view_filter_real_predicate (ViewFilter* base, Dat
_tmp73_ = string_contains (_tmp71_, _tmp72_);
#line 234 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp69_ = _tmp73_;
-#line 2731 "SearchFilter.c"
+#line 2735 "SearchFilter.c"
} else {
#line 234 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp69_ = FALSE;
-#line 2735 "SearchFilter.c"
+#line 2739 "SearchFilter.c"
}
#line 234 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp69_) {
#line 235 "/home/jens/Source/shotwell/src/SearchFilter.vala"
continue;
-#line 2741 "SearchFilter.c"
+#line 2745 "SearchFilter.c"
}
#line 237 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp74_ = tags_size;
#line 237 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp74_ > 0) {
-#line 2747 "SearchFilter.c"
+#line 2751 "SearchFilter.c"
gboolean found = FALSE;
gboolean _tmp90_ = FALSE;
#line 238 "/home/jens/Source/shotwell/src/SearchFilter.vala"
found = FALSE;
-#line 2752 "SearchFilter.c"
+#line 2756 "SearchFilter.c"
{
gint ctr = 0;
#line 239 "/home/jens/Source/shotwell/src/SearchFilter.vala"
ctr = 0;
-#line 2757 "SearchFilter.c"
+#line 2761 "SearchFilter.c"
{
gboolean _tmp75_ = FALSE;
#line 239 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp75_ = TRUE;
#line 239 "/home/jens/Source/shotwell/src/SearchFilter.vala"
while (TRUE) {
-#line 2764 "SearchFilter.c"
+#line 2768 "SearchFilter.c"
gint _tmp77_ = 0;
gint _tmp78_ = 0;
const gchar* tag_keywords = NULL;
@@ -2774,13 +2778,13 @@ static gboolean default_search_view_filter_real_predicate (ViewFilter* base, Dat
const gchar* _tmp86_ = NULL;
#line 239 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (!_tmp75_) {
-#line 2778 "SearchFilter.c"
+#line 2782 "SearchFilter.c"
gint _tmp76_ = 0;
#line 239 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp76_ = ctr;
#line 239 "/home/jens/Source/shotwell/src/SearchFilter.vala"
ctr = _tmp76_ + 1;
-#line 2784 "SearchFilter.c"
+#line 2788 "SearchFilter.c"
}
#line 239 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp75_ = FALSE;
@@ -2792,7 +2796,7 @@ static gboolean default_search_view_filter_real_predicate (ViewFilter* base, Dat
if (!(_tmp77_ < _tmp78_)) {
#line 239 "/home/jens/Source/shotwell/src/SearchFilter.vala"
break;
-#line 2796 "SearchFilter.c"
+#line 2800 "SearchFilter.c"
}
#line 240 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp79_ = tags;
@@ -2814,7 +2818,7 @@ static gboolean default_search_view_filter_real_predicate (ViewFilter* base, Dat
_tmp86_ = tag_keywords;
#line 241 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp86_ != NULL) {
-#line 2818 "SearchFilter.c"
+#line 2822 "SearchFilter.c"
const gchar* _tmp87_ = NULL;
const gchar* _tmp88_ = NULL;
gboolean _tmp89_ = FALSE;
@@ -2826,11 +2830,11 @@ static gboolean default_search_view_filter_real_predicate (ViewFilter* base, Dat
_tmp89_ = string_contains (_tmp87_, _tmp88_);
#line 241 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp85_ = _tmp89_;
-#line 2830 "SearchFilter.c"
+#line 2834 "SearchFilter.c"
} else {
#line 241 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp85_ = FALSE;
-#line 2834 "SearchFilter.c"
+#line 2838 "SearchFilter.c"
}
#line 241 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp85_) {
@@ -2838,7 +2842,7 @@ static gboolean default_search_view_filter_real_predicate (ViewFilter* base, Dat
found = TRUE;
#line 244 "/home/jens/Source/shotwell/src/SearchFilter.vala"
break;
-#line 2842 "SearchFilter.c"
+#line 2846 "SearchFilter.c"
}
}
}
@@ -2849,7 +2853,7 @@ static gboolean default_search_view_filter_real_predicate (ViewFilter* base, Dat
if (_tmp90_) {
#line 249 "/home/jens/Source/shotwell/src/SearchFilter.vala"
continue;
-#line 2853 "SearchFilter.c"
+#line 2857 "SearchFilter.c"
}
}
#line 254 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -2862,7 +2866,7 @@ static gboolean default_search_view_filter_real_predicate (ViewFilter* base, Dat
_g_object_unref0 (source);
#line 254 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 2866 "SearchFilter.c"
+#line 2870 "SearchFilter.c"
}
}
}
@@ -2870,27 +2874,27 @@ static gboolean default_search_view_filter_real_predicate (ViewFilter* base, Dat
_g_object_unref0 (tags);
#line 219 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (event);
-#line 2874 "SearchFilter.c"
+#line 2878 "SearchFilter.c"
}
#line 259 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp92_ = criteria;
#line 259 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if ((SEARCH_FILTER_CRITERIA_SAVEDSEARCH & _tmp92_) != 0) {
-#line 2880 "SearchFilter.c"
+#line 2884 "SearchFilter.c"
gboolean _tmp93_ = FALSE;
#line 259 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp93_ = search_view_filter_has_saved_search (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SEARCH_VIEW_FILTER, SearchViewFilter));
#line 259 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp91_ = _tmp93_;
-#line 2886 "SearchFilter.c"
+#line 2890 "SearchFilter.c"
} else {
#line 259 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp91_ = FALSE;
-#line 2890 "SearchFilter.c"
+#line 2894 "SearchFilter.c"
}
#line 259 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp91_) {
-#line 2894 "SearchFilter.c"
+#line 2898 "SearchFilter.c"
SavedSearch* _tmp94_ = NULL;
SavedSearch* _tmp95_ = NULL;
MediaSource* _tmp96_ = NULL;
@@ -2909,7 +2913,7 @@ static gboolean default_search_view_filter_real_predicate (ViewFilter* base, Dat
_g_object_unref0 (source);
#line 260 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 2913 "SearchFilter.c"
+#line 2917 "SearchFilter.c"
}
#line 263 "/home/jens/Source/shotwell/src/SearchFilter.vala"
result = TRUE;
@@ -2917,7 +2921,7 @@ static gboolean default_search_view_filter_real_predicate (ViewFilter* base, Dat
_g_object_unref0 (source);
#line 263 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 2921 "SearchFilter.c"
+#line 2925 "SearchFilter.c"
}
@@ -2927,7 +2931,7 @@ DefaultSearchViewFilter* default_search_view_filter_construct (GType object_type
self = (DefaultSearchViewFilter*) search_view_filter_construct (object_type);
#line 180 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return self;
-#line 2931 "SearchFilter.c"
+#line 2935 "SearchFilter.c"
}
@@ -2936,7 +2940,7 @@ static void default_search_view_filter_class_init (DefaultSearchViewFilterClass
default_search_view_filter_parent_class = g_type_class_peek_parent (klass);
#line 180 "/home/jens/Source/shotwell/src/SearchFilter.vala"
((ViewFilterClass *) klass)->predicate = default_search_view_filter_real_predicate;
-#line 2940 "SearchFilter.c"
+#line 2944 "SearchFilter.c"
}
@@ -2967,7 +2971,7 @@ static gboolean disabled_view_filter_real_predicate (ViewFilter* base, DataView*
result = TRUE;
#line 269 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 2971 "SearchFilter.c"
+#line 2975 "SearchFilter.c"
}
@@ -2980,7 +2984,7 @@ static guint disabled_view_filter_real_get_criteria (SearchViewFilter* base) {
result = (guint) SEARCH_FILTER_CRITERIA_RATING;
#line 273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 2984 "SearchFilter.c"
+#line 2988 "SearchFilter.c"
}
@@ -2990,14 +2994,14 @@ DisabledViewFilter* disabled_view_filter_construct (GType object_type) {
self = (DisabledViewFilter*) search_view_filter_construct (object_type);
#line 267 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return self;
-#line 2994 "SearchFilter.c"
+#line 2998 "SearchFilter.c"
}
DisabledViewFilter* disabled_view_filter_new (void) {
#line 267 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return disabled_view_filter_construct (TYPE_DISABLED_VIEW_FILTER);
-#line 3001 "SearchFilter.c"
+#line 3005 "SearchFilter.c"
}
@@ -3008,7 +3012,7 @@ static void disabled_view_filter_class_init (DisabledViewFilterClass * klass) {
((ViewFilterClass *) klass)->predicate = disabled_view_filter_real_predicate;
#line 267 "/home/jens/Source/shotwell/src/SearchFilter.vala"
((SearchViewFilterClass *) klass)->get_criteria = disabled_view_filter_real_get_criteria;
-#line 3012 "SearchFilter.c"
+#line 3016 "SearchFilter.c"
}
@@ -3044,14 +3048,14 @@ TextAction* text_action_construct (GType object_type, const gchar* init) {
self->priv->text = _tmp1_;
#line 294 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return self;
-#line 3048 "SearchFilter.c"
+#line 3052 "SearchFilter.c"
}
TextAction* text_action_new (const gchar* init) {
#line 294 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return text_action_construct (TYPE_TEXT_ACTION, init);
-#line 3055 "SearchFilter.c"
+#line 3059 "SearchFilter.c"
}
@@ -3066,7 +3070,7 @@ void text_action_set_text (TextAction* self, const gchar* text) {
_tmp1_ = text;
#line 299 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (g_strcmp0 (_tmp0_, _tmp1_) != 0) {
-#line 3070 "SearchFilter.c"
+#line 3074 "SearchFilter.c"
const gchar* _tmp2_ = NULL;
gchar* _tmp3_ = NULL;
const gchar* _tmp4_ = NULL;
@@ -3082,7 +3086,7 @@ void text_action_set_text (TextAction* self, const gchar* text) {
_tmp4_ = text;
#line 301 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_emit_by_name (self, "text-changed", _tmp4_);
-#line 3086 "SearchFilter.c"
+#line 3090 "SearchFilter.c"
}
}
@@ -3092,7 +3096,7 @@ void text_action_clear (TextAction* self) {
g_return_if_fail (IS_TEXT_ACTION (self));
#line 306 "/home/jens/Source/shotwell/src/SearchFilter.vala"
text_action_set_text (self, NULL);
-#line 3096 "SearchFilter.c"
+#line 3100 "SearchFilter.c"
}
@@ -3107,7 +3111,7 @@ gboolean text_action_is_sensitive (TextAction* self) {
result = _tmp0_;
#line 310 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 3111 "SearchFilter.c"
+#line 3115 "SearchFilter.c"
}
@@ -3122,7 +3126,7 @@ void text_action_set_sensitive (TextAction* self, gboolean sensitive) {
_tmp1_ = sensitive;
#line 314 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp0_ != _tmp1_) {
-#line 3126 "SearchFilter.c"
+#line 3130 "SearchFilter.c"
gboolean _tmp2_ = FALSE;
gboolean _tmp3_ = FALSE;
#line 315 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -3133,7 +3137,7 @@ void text_action_set_sensitive (TextAction* self, gboolean sensitive) {
_tmp3_ = sensitive;
#line 316 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_emit_by_name (self, "sensitivity-changed", _tmp3_);
-#line 3137 "SearchFilter.c"
+#line 3141 "SearchFilter.c"
}
}
@@ -3149,7 +3153,7 @@ gboolean text_action_is_visible (TextAction* self) {
result = _tmp0_;
#line 321 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 3153 "SearchFilter.c"
+#line 3157 "SearchFilter.c"
}
@@ -3164,7 +3168,7 @@ void text_action_set_visible (TextAction* self, gboolean visible) {
_tmp1_ = visible;
#line 325 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp0_ != _tmp1_) {
-#line 3168 "SearchFilter.c"
+#line 3172 "SearchFilter.c"
gboolean _tmp2_ = FALSE;
gboolean _tmp3_ = FALSE;
#line 326 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -3175,7 +3179,7 @@ void text_action_set_visible (TextAction* self, gboolean visible) {
_tmp3_ = visible;
#line 327 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_emit_by_name (self, "visibility-changed", _tmp3_);
-#line 3179 "SearchFilter.c"
+#line 3183 "SearchFilter.c"
}
}
@@ -3191,14 +3195,14 @@ const gchar* text_action_get_value (TextAction* self) {
result = _tmp0_;
#line 280 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 3195 "SearchFilter.c"
+#line 3199 "SearchFilter.c"
}
static void value_text_action_init (GValue* value) {
#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
value->data[0].v_pointer = NULL;
-#line 3202 "SearchFilter.c"
+#line 3206 "SearchFilter.c"
}
@@ -3207,7 +3211,7 @@ static void value_text_action_free_value (GValue* value) {
if (value->data[0].v_pointer) {
#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
text_action_unref (value->data[0].v_pointer);
-#line 3211 "SearchFilter.c"
+#line 3215 "SearchFilter.c"
}
}
@@ -3217,11 +3221,11 @@ static void value_text_action_copy_value (const GValue* src_value, GValue* dest_
if (src_value->data[0].v_pointer) {
#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
dest_value->data[0].v_pointer = text_action_ref (src_value->data[0].v_pointer);
-#line 3221 "SearchFilter.c"
+#line 3225 "SearchFilter.c"
} else {
#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
dest_value->data[0].v_pointer = NULL;
-#line 3225 "SearchFilter.c"
+#line 3229 "SearchFilter.c"
}
}
@@ -3229,37 +3233,37 @@ static void value_text_action_copy_value (const GValue* src_value, GValue* dest_
static gpointer value_text_action_peek_pointer (const GValue* value) {
#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return value->data[0].v_pointer;
-#line 3233 "SearchFilter.c"
+#line 3237 "SearchFilter.c"
}
static gchar* value_text_action_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (collect_values[0].v_pointer) {
-#line 3240 "SearchFilter.c"
+#line 3244 "SearchFilter.c"
TextAction* object;
object = collect_values[0].v_pointer;
#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (object->parent_instance.g_class == NULL) {
#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 3247 "SearchFilter.c"
+#line 3251 "SearchFilter.c"
} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
#line 277 "/home/jens/Source/shotwell/src/SearchFilter.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 3251 "SearchFilter.c"
+#line 3255 "SearchFilter.c"
}
#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
value->data[0].v_pointer = text_action_ref (object);
-#line 3255 "SearchFilter.c"
+#line 3259 "SearchFilter.c"
} else {
#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
value->data[0].v_pointer = NULL;
-#line 3259 "SearchFilter.c"
+#line 3263 "SearchFilter.c"
}
#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return NULL;
-#line 3263 "SearchFilter.c"
+#line 3267 "SearchFilter.c"
}
@@ -3270,25 +3274,25 @@ static gchar* value_text_action_lcopy_value (const GValue* value, guint n_collec
if (!object_p) {
#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
-#line 3274 "SearchFilter.c"
+#line 3278 "SearchFilter.c"
}
#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (!value->data[0].v_pointer) {
#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
*object_p = NULL;
-#line 3280 "SearchFilter.c"
+#line 3284 "SearchFilter.c"
} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
*object_p = value->data[0].v_pointer;
-#line 3284 "SearchFilter.c"
+#line 3288 "SearchFilter.c"
} else {
#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
*object_p = text_action_ref (value->data[0].v_pointer);
-#line 3288 "SearchFilter.c"
+#line 3292 "SearchFilter.c"
}
#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return NULL;
-#line 3292 "SearchFilter.c"
+#line 3296 "SearchFilter.c"
}
@@ -3302,7 +3306,7 @@ GParamSpec* param_spec_text_action (const gchar* name, const gchar* nick, const
G_PARAM_SPEC (spec)->value_type = object_type;
#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return G_PARAM_SPEC (spec);
-#line 3306 "SearchFilter.c"
+#line 3310 "SearchFilter.c"
}
@@ -3311,7 +3315,7 @@ gpointer value_get_text_action (const GValue* value) {
g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_TEXT_ACTION), NULL);
#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return value->data[0].v_pointer;
-#line 3315 "SearchFilter.c"
+#line 3319 "SearchFilter.c"
}
@@ -3331,17 +3335,17 @@ void value_set_text_action (GValue* value, gpointer v_object) {
value->data[0].v_pointer = v_object;
#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
text_action_ref (value->data[0].v_pointer);
-#line 3335 "SearchFilter.c"
+#line 3339 "SearchFilter.c"
} else {
#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
value->data[0].v_pointer = NULL;
-#line 3339 "SearchFilter.c"
+#line 3343 "SearchFilter.c"
}
#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (old) {
#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
text_action_unref (old);
-#line 3345 "SearchFilter.c"
+#line 3349 "SearchFilter.c"
}
}
@@ -3360,17 +3364,17 @@ void value_take_text_action (GValue* value, gpointer v_object) {
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
value->data[0].v_pointer = v_object;
-#line 3364 "SearchFilter.c"
+#line 3368 "SearchFilter.c"
} else {
#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
value->data[0].v_pointer = NULL;
-#line 3368 "SearchFilter.c"
+#line 3372 "SearchFilter.c"
}
#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (old) {
#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
text_action_unref (old);
-#line 3374 "SearchFilter.c"
+#line 3378 "SearchFilter.c"
}
}
@@ -3388,7 +3392,7 @@ static void text_action_class_init (TextActionClass * klass) {
g_signal_new ("sensitivity_changed", TYPE_TEXT_ACTION, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__BOOLEAN, G_TYPE_NONE, 1, G_TYPE_BOOLEAN);
#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_new ("visibility_changed", TYPE_TEXT_ACTION, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__BOOLEAN, G_TYPE_NONE, 1, G_TYPE_BOOLEAN);
-#line 3392 "SearchFilter.c"
+#line 3396 "SearchFilter.c"
}
@@ -3403,7 +3407,7 @@ static void text_action_instance_init (TextAction * self) {
self->priv->visible = TRUE;
#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->ref_count = 1;
-#line 3407 "SearchFilter.c"
+#line 3411 "SearchFilter.c"
}
@@ -3415,7 +3419,7 @@ static void text_action_finalize (TextAction* obj) {
g_signal_handlers_destroy (self);
#line 284 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_free0 (self->priv->text);
-#line 3419 "SearchFilter.c"
+#line 3423 "SearchFilter.c"
}
@@ -3440,7 +3444,7 @@ gpointer text_action_ref (gpointer instance) {
g_atomic_int_inc (&self->ref_count);
#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return instance;
-#line 3444 "SearchFilter.c"
+#line 3448 "SearchFilter.c"
}
@@ -3453,7 +3457,7 @@ void text_action_unref (gpointer instance) {
TEXT_ACTION_GET_CLASS (self)->finalize (self);
#line 277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_type_free_instance ((GTypeInstance *) self);
-#line 3457 "SearchFilter.c"
+#line 3461 "SearchFilter.c"
}
}
@@ -3461,56 +3465,56 @@ void text_action_unref (gpointer instance) {
static void _search_filter_actions_on_action_radio_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 532 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_actions_on_action_radio ((SearchFilterActions*) self, action, parameter);
-#line 3465 "SearchFilter.c"
+#line 3469 "SearchFilter.c"
}
static void _search_filter_actions_on_rating_changed_gsimple_action_change_state_callback (GSimpleAction* action, GVariant* value, gpointer self) {
#line 532 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_actions_on_rating_changed ((SearchFilterActions*) self, action, value);
-#line 3472 "SearchFilter.c"
+#line 3476 "SearchFilter.c"
}
static void _search_filter_actions_on_action_toggle_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
#line 532 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_actions_on_action_toggle ((SearchFilterActions*) self, action, parameter);
-#line 3479 "SearchFilter.c"
+#line 3483 "SearchFilter.c"
}
static void _search_filter_actions_on_flagged_toggled_gsimple_action_change_state_callback (GSimpleAction* action, GVariant* value, gpointer self) {
#line 532 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_actions_on_flagged_toggled ((SearchFilterActions*) self, action, value);
-#line 3486 "SearchFilter.c"
+#line 3490 "SearchFilter.c"
}
static void _search_filter_actions_on_photos_toggled_gsimple_action_change_state_callback (GSimpleAction* action, GVariant* value, gpointer self) {
#line 532 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_actions_on_photos_toggled ((SearchFilterActions*) self, action, value);
-#line 3493 "SearchFilter.c"
+#line 3497 "SearchFilter.c"
}
static void _search_filter_actions_on_videos_toggled_gsimple_action_change_state_callback (GSimpleAction* action, GVariant* value, gpointer self) {
#line 532 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_actions_on_videos_toggled ((SearchFilterActions*) self, action, value);
-#line 3500 "SearchFilter.c"
+#line 3504 "SearchFilter.c"
}
static void _search_filter_actions_on_raw_toggled_gsimple_action_change_state_callback (GSimpleAction* action, GVariant* value, gpointer self) {
#line 532 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_actions_on_raw_toggled ((SearchFilterActions*) self, action, value);
-#line 3507 "SearchFilter.c"
+#line 3511 "SearchFilter.c"
}
static void _search_filter_actions_on_text_changed_text_action_text_changed (TextAction* _sender, const gchar* text, gpointer self) {
#line 410 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_actions_on_text_changed ((SearchFilterActions*) self, _sender, text);
-#line 3514 "SearchFilter.c"
+#line 3518 "SearchFilter.c"
}
@@ -3530,14 +3534,14 @@ SearchFilterActions* search_filter_actions_construct (GType object_type) {
g_signal_connect (_tmp1_, "text-changed", (GCallback) _search_filter_actions_on_text_changed_text_action_text_changed, self);
#line 406 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return self;
-#line 3534 "SearchFilter.c"
+#line 3538 "SearchFilter.c"
}
SearchFilterActions* search_filter_actions_new (void) {
#line 406 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return search_filter_actions_construct (TYPE_SEARCH_FILTER_ACTIONS);
-#line 3541 "SearchFilter.c"
+#line 3545 "SearchFilter.c"
}
@@ -3552,7 +3556,7 @@ SearchFilterCriteria search_filter_actions_get_criteria (SearchFilterActions* se
result = _tmp0_;
#line 414 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 3556 "SearchFilter.c"
+#line 3560 "SearchFilter.c"
}
@@ -3570,13 +3574,13 @@ GActionEntry* search_filter_actions_get_actions (SearchFilterActions* self, int*
if (result_length1) {
#line 418 "/home/jens/Source/shotwell/src/SearchFilter.vala"
*result_length1 = _tmp0__length1;
-#line 3574 "SearchFilter.c"
+#line 3578 "SearchFilter.c"
}
#line 418 "/home/jens/Source/shotwell/src/SearchFilter.vala"
result = _tmp0_;
#line 418 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 3580 "SearchFilter.c"
+#line 3584 "SearchFilter.c"
}
@@ -3598,7 +3602,7 @@ GSimpleAction* search_filter_actions_get_action (SearchFilterActions* self, cons
if (_tmp1_ == NULL) {
#line 422 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (_tmp0_);
-#line 3602 "SearchFilter.c"
+#line 3606 "SearchFilter.c"
}
#line 422 "/home/jens/Source/shotwell/src/SearchFilter.vala"
lw = _tmp1_;
@@ -3606,7 +3610,7 @@ GSimpleAction* search_filter_actions_get_action (SearchFilterActions* self, cons
_tmp2_ = lw;
#line 423 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp2_ != NULL) {
-#line 3610 "SearchFilter.c"
+#line 3614 "SearchFilter.c"
LibraryWindow* _tmp3_ = NULL;
const gchar* _tmp4_ = NULL;
GAction* _tmp5_ = NULL;
@@ -3622,7 +3626,7 @@ GSimpleAction* search_filter_actions_get_action (SearchFilterActions* self, cons
_g_object_unref0 (lw);
#line 424 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 3626 "SearchFilter.c"
+#line 3630 "SearchFilter.c"
}
#line 427 "/home/jens/Source/shotwell/src/SearchFilter.vala"
result = NULL;
@@ -3630,7 +3634,7 @@ GSimpleAction* search_filter_actions_get_action (SearchFilterActions* self, cons
_g_object_unref0 (lw);
#line 427 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 3634 "SearchFilter.c"
+#line 3638 "SearchFilter.c"
}
@@ -3656,7 +3660,7 @@ void search_filter_actions_set_action_sensitive (SearchFilterActions* self, cons
_tmp3_ = action;
#line 433 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp3_ != NULL) {
-#line 3660 "SearchFilter.c"
+#line 3664 "SearchFilter.c"
GSimpleAction* _tmp4_ = NULL;
gboolean _tmp5_ = FALSE;
#line 434 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -3665,92 +3669,140 @@ void search_filter_actions_set_action_sensitive (SearchFilterActions* self, cons
_tmp5_ = sensitive;
#line 434 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_simple_action_set_enabled (_tmp4_, _tmp5_);
-#line 3669 "SearchFilter.c"
+#line 3673 "SearchFilter.c"
}
#line 431 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (action);
-#line 3673 "SearchFilter.c"
+#line 3677 "SearchFilter.c"
+}
+
+
+static GVariant* _variant_new32 (gboolean value) {
+#line 439 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ return g_variant_ref_sink (g_variant_new_boolean (value));
+#line 3684 "SearchFilter.c"
}
-static GVariant* _variant_new28 (gchar* value) {
+static GVariant* _variant_new33 (gboolean value) {
+#line 440 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ return g_variant_ref_sink (g_variant_new_boolean (value));
+#line 3691 "SearchFilter.c"
+}
+
+
+static GVariant* _variant_new34 (gboolean value) {
+#line 441 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ return g_variant_ref_sink (g_variant_new_boolean (value));
+#line 3698 "SearchFilter.c"
+}
+
+
+static GVariant* _variant_new35 (gboolean value) {
+#line 442 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ return g_variant_ref_sink (g_variant_new_boolean (value));
+#line 3705 "SearchFilter.c"
+}
+
+
+static GVariant* _variant_new36 (gchar* value) {
#line 443 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return g_variant_ref_sink (g_variant_new_string (value));
-#line 3680 "SearchFilter.c"
+#line 3712 "SearchFilter.c"
}
void search_filter_actions_reset (SearchFilterActions* self) {
GSimpleAction* _tmp0_ = NULL;
GSimpleAction* _tmp1_ = NULL;
- GSimpleAction* _tmp2_ = NULL;
+ GVariant* _tmp2_ = NULL;
GSimpleAction* _tmp3_ = NULL;
GSimpleAction* _tmp4_ = NULL;
- GSimpleAction* _tmp5_ = NULL;
+ GVariant* _tmp5_ = NULL;
GSimpleAction* _tmp6_ = NULL;
GSimpleAction* _tmp7_ = NULL;
- GVariant* v = NULL;
- gchar* _tmp8_ = NULL;
- gchar* _tmp9_ = NULL;
- GVariant* _tmp10_ = NULL;
+ GVariant* _tmp8_ = NULL;
+ GSimpleAction* _tmp9_ = NULL;
+ GSimpleAction* _tmp10_ = NULL;
GVariant* _tmp11_ = NULL;
- GSimpleAction* _tmp12_ = NULL;
- GSimpleAction* _tmp13_ = NULL;
- TextAction* _tmp14_ = NULL;
- TextAction* _tmp15_ = NULL;
+ GVariant* v = NULL;
+ gchar* _tmp12_ = NULL;
+ gchar* _tmp13_ = NULL;
+ GVariant* _tmp14_ = NULL;
+ GVariant* _tmp15_ = NULL;
+ GSimpleAction* _tmp16_ = NULL;
+ GSimpleAction* _tmp17_ = NULL;
+ TextAction* _tmp18_ = NULL;
+ TextAction* _tmp19_ = NULL;
#line 438 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (IS_SEARCH_FILTER_ACTIONS (self));
#line 439 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp0_ = search_filter_actions_get_rating (self);
+ _tmp0_ = search_filter_actions_get_flagged (self);
#line 439 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = _tmp0_;
#line 439 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- g_simple_action_set_enabled (_tmp1_, FALSE);
+ _tmp2_ = _variant_new32 (FALSE);
+#line 439 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ g_signal_emit_by_name (_tmp1_, "change-state", _tmp2_);
+#line 439 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _g_variant_unref0 (_tmp2_);
#line 440 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp2_ = search_filter_actions_get_photos (self);
+ _tmp3_ = search_filter_actions_get_photos (self);
#line 440 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp3_ = _tmp2_;
+ _tmp4_ = _tmp3_;
+#line 440 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp5_ = _variant_new33 (FALSE);
#line 440 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- g_simple_action_set_enabled (_tmp3_, FALSE);
+ g_signal_emit_by_name (_tmp4_, "change-state", _tmp5_);
+#line 440 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _g_variant_unref0 (_tmp5_);
+#line 441 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp6_ = search_filter_actions_get_raw (self);
#line 441 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp4_ = search_filter_actions_get_raw (self);
+ _tmp7_ = _tmp6_;
#line 441 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp5_ = _tmp4_;
+ _tmp8_ = _variant_new34 (FALSE);
#line 441 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- g_simple_action_set_enabled (_tmp5_, FALSE);
+ g_signal_emit_by_name (_tmp7_, "change-state", _tmp8_);
+#line 441 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _g_variant_unref0 (_tmp8_);
#line 442 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp6_ = search_filter_actions_get_videos (self);
+ _tmp9_ = search_filter_actions_get_videos (self);
#line 442 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp7_ = _tmp6_;
+ _tmp10_ = _tmp9_;
#line 442 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- g_simple_action_set_enabled (_tmp7_, FALSE);
+ _tmp11_ = _variant_new35 (FALSE);
+#line 442 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ g_signal_emit_by_name (_tmp10_, "change-state", _tmp11_);
+#line 442 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _g_variant_unref0 (_tmp11_);
#line 443 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp8_ = g_strdup_printf ("'%d'", (gint) RATING_FILTER_UNRATED_OR_HIGHER);
+ _tmp12_ = g_strdup_printf ("%d", (gint) RATING_FILTER_UNRATED_OR_HIGHER);
#line 443 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp9_ = _tmp8_;
+ _tmp13_ = _tmp12_;
#line 443 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp10_ = _variant_new28 (_tmp9_);
+ _tmp14_ = _variant_new36 (_tmp13_);
#line 443 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp11_ = _tmp10_;
+ _tmp15_ = _tmp14_;
#line 443 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _g_free0 (_tmp9_);
+ _g_free0 (_tmp13_);
#line 443 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- v = _tmp11_;
+ v = _tmp15_;
#line 444 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp12_ = search_filter_actions_get_rating (self);
+ _tmp16_ = search_filter_actions_get_rating (self);
#line 444 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp13_ = _tmp12_;
+ _tmp17_ = _tmp16_;
#line 444 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- g_simple_action_set_state (_tmp13_, v);
+ g_signal_emit_by_name (_tmp17_, "change-state", v);
#line 446 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp14_ = search_filter_actions_get_text (self);
+ _tmp18_ = search_filter_actions_get_text (self);
#line 446 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp15_ = _tmp14_;
+ _tmp19_ = _tmp18_;
#line 446 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- text_action_set_text (_tmp15_, NULL);
+ text_action_set_text (_tmp19_, NULL);
#line 438 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_variant_unref0 (v);
-#line 3754 "SearchFilter.c"
+#line 3806 "SearchFilter.c"
}
@@ -3766,21 +3818,21 @@ void search_filter_actions_set_sensitive_for_search_criteria (SearchFilterAction
search_filter_actions_update_sensitivities (self);
#line 454 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_emit_by_name (self, "criteria-changed");
-#line 3770 "SearchFilter.c"
+#line 3822 "SearchFilter.c"
}
static void _search_filter_actions_on_media_tracker_updated_core_tracker_updated (CoreTracker* _sender, gpointer self) {
#line 462 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_actions_on_media_tracker_updated ((SearchFilterActions*) self, _sender);
-#line 3777 "SearchFilter.c"
+#line 3829 "SearchFilter.c"
}
static void _search_filter_actions_on_camera_tracker_updated_core_tracker_updated (CoreTracker* _sender, gpointer self) {
#line 464 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_actions_on_camera_tracker_updated ((SearchFilterActions*) self, _sender);
-#line 3784 "SearchFilter.c"
+#line 3836 "SearchFilter.c"
}
@@ -3809,7 +3861,7 @@ void search_filter_actions_monitor_page_contents (SearchFilterActions* self, Pag
_tmp2_ = old_tracked_page;
#line 459 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp2_ != NULL) {
-#line 3813 "SearchFilter.c"
+#line 3865 "SearchFilter.c"
CoreViewTracker* tracker = NULL;
CheckerboardPage* _tmp3_ = NULL;
CoreViewTracker* _tmp4_ = NULL;
@@ -3824,7 +3876,7 @@ void search_filter_actions_monitor_page_contents (SearchFilterActions* self, Pag
_tmp5_ = tracker;
#line 461 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp5_, TYPE_MEDIA_VIEW_TRACKER)) {
-#line 3828 "SearchFilter.c"
+#line 3880 "SearchFilter.c"
CoreViewTracker* _tmp6_ = NULL;
guint _tmp7_ = 0U;
#line 462 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -3833,14 +3885,14 @@ void search_filter_actions_monitor_page_contents (SearchFilterActions* self, Pag
g_signal_parse_name ("updated", CORE_TYPE_TRACKER, &_tmp7_, NULL, FALSE);
#line 462 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, CORE_TYPE_TRACKER, CoreTracker), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp7_, 0, NULL, (GCallback) _search_filter_actions_on_media_tracker_updated_core_tracker_updated, self);
-#line 3837 "SearchFilter.c"
+#line 3889 "SearchFilter.c"
} else {
CoreViewTracker* _tmp8_ = NULL;
#line 463 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp8_ = tracker;
#line 463 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp8_, TYPE_CAMERA_VIEW_TRACKER)) {
-#line 3844 "SearchFilter.c"
+#line 3896 "SearchFilter.c"
CoreViewTracker* _tmp9_ = NULL;
guint _tmp10_ = 0U;
#line 464 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -3849,12 +3901,12 @@ void search_filter_actions_monitor_page_contents (SearchFilterActions* self, Pag
g_signal_parse_name ("updated", CORE_TYPE_TRACKER, &_tmp10_, NULL, FALSE);
#line 464 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, CORE_TYPE_TRACKER, CoreTracker), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp10_, 0, NULL, (GCallback) _search_filter_actions_on_camera_tracker_updated_core_tracker_updated, self);
-#line 3853 "SearchFilter.c"
+#line 3905 "SearchFilter.c"
}
}
#line 459 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_core_tracker_unref0 (tracker);
-#line 3858 "SearchFilter.c"
+#line 3910 "SearchFilter.c"
}
#line 467 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp11_ = new_page;
@@ -3866,7 +3918,7 @@ void search_filter_actions_monitor_page_contents (SearchFilterActions* self, Pag
_tmp13_ = new_tracked_page;
#line 468 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp13_ != NULL) {
-#line 3870 "SearchFilter.c"
+#line 3922 "SearchFilter.c"
CoreViewTracker* tracker = NULL;
CheckerboardPage* _tmp14_ = NULL;
CoreViewTracker* _tmp15_ = NULL;
@@ -3883,7 +3935,7 @@ void search_filter_actions_monitor_page_contents (SearchFilterActions* self, Pag
_tmp16_ = tracker;
#line 472 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp16_, TYPE_MEDIA_VIEW_TRACKER)) {
-#line 3887 "SearchFilter.c"
+#line 3939 "SearchFilter.c"
CoreViewTracker* _tmp17_ = NULL;
CoreViewTracker* _tmp18_ = NULL;
#line 473 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -3902,14 +3954,14 @@ void search_filter_actions_monitor_page_contents (SearchFilterActions* self, Pag
_g_object_unref0 (old_tracked_page);
#line 476 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return;
-#line 3906 "SearchFilter.c"
+#line 3958 "SearchFilter.c"
} else {
CoreViewTracker* _tmp19_ = NULL;
#line 477 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp19_ = tracker;
#line 477 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp19_, TYPE_CAMERA_VIEW_TRACKER)) {
-#line 3913 "SearchFilter.c"
+#line 3965 "SearchFilter.c"
CoreViewTracker* _tmp20_ = NULL;
CoreViewTracker* _tmp21_ = NULL;
#line 478 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -3928,12 +3980,12 @@ void search_filter_actions_monitor_page_contents (SearchFilterActions* self, Pag
_g_object_unref0 (old_tracked_page);
#line 481 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return;
-#line 3932 "SearchFilter.c"
+#line 3984 "SearchFilter.c"
}
}
#line 468 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_core_tracker_unref0 (tracker);
-#line 3937 "SearchFilter.c"
+#line 3989 "SearchFilter.c"
}
#line 486 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->has_flagged = FALSE;
@@ -3951,14 +4003,14 @@ void search_filter_actions_monitor_page_contents (SearchFilterActions* self, Pag
_g_object_unref0 (new_tracked_page);
#line 457 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (old_tracked_page);
-#line 3955 "SearchFilter.c"
+#line 4007 "SearchFilter.c"
}
static gpointer _core_tracker_ref0 (gpointer self) {
#line 496 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return self ? core_tracker_ref (self) : NULL;
-#line 3962 "SearchFilter.c"
+#line 4014 "SearchFilter.c"
}
@@ -4012,7 +4064,7 @@ static void search_filter_actions_on_media_tracker_updated (SearchFilterActions*
search_filter_actions_update_sensitivities (self);
#line 495 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_core_tracker_unref0 (tracker);
-#line 4016 "SearchFilter.c"
+#line 4068 "SearchFilter.c"
}
@@ -4069,7 +4121,7 @@ static void search_filter_actions_on_camera_tracker_updated (SearchFilterActions
search_filter_actions_update_sensitivities (self);
#line 506 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_core_tracker_unref0 (tracker);
-#line 4073 "SearchFilter.c"
+#line 4125 "SearchFilter.c"
}
@@ -4109,7 +4161,7 @@ static void search_filter_actions_update_sensitivities (SearchFilterActions* sel
_tmp7_ = self->priv->has_flagged;
#line 525 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_emit_by_name (self, "media-context-changed", _tmp4_, _tmp5_, _tmp6_, _tmp7_);
-#line 4113 "SearchFilter.c"
+#line 4165 "SearchFilter.c"
}
@@ -4123,7 +4175,7 @@ static void search_filter_actions_on_text_changed (SearchFilterActions* self, Te
_tmp0_ = text;
#line 529 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_emit_by_name (self, "text-changed", _tmp0_);
-#line 4127 "SearchFilter.c"
+#line 4179 "SearchFilter.c"
}
@@ -4140,21 +4192,21 @@ static void search_filter_actions_on_action_radio (SearchFilterActions* self, GS
_tmp1_ = parameter;
#line 542 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_emit_by_name (_tmp0_, "change-state", _tmp1_);
-#line 4144 "SearchFilter.c"
+#line 4196 "SearchFilter.c"
}
-static gboolean _variant_get29 (GVariant* value) {
+static gboolean _variant_get37 (GVariant* value) {
#line 547 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return g_variant_get_boolean (value);
-#line 4151 "SearchFilter.c"
+#line 4203 "SearchFilter.c"
}
-static GVariant* _variant_new30 (gboolean value) {
+static GVariant* _variant_new38 (gboolean value) {
#line 548 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return g_variant_ref_sink (g_variant_new_boolean (value));
-#line 4158 "SearchFilter.c"
+#line 4210 "SearchFilter.c"
}
@@ -4178,7 +4230,7 @@ static void search_filter_actions_on_action_toggle (SearchFilterActions* self, G
#line 547 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = _tmp1_;
#line 547 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp3_ = _variant_get29 (_tmp2_);
+ _tmp3_ = _variant_get37 (_tmp2_);
#line 547 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp4_ = _tmp3_;
#line 547 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -4188,12 +4240,12 @@ static void search_filter_actions_on_action_toggle (SearchFilterActions* self, G
#line 548 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp5_ = action;
#line 548 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp6_ = _variant_new30 (!state);
+ _tmp6_ = _variant_new38 (!state);
#line 548 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_emit_by_name (_tmp5_, "change-state", _tmp6_);
#line 548 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_variant_unref0 (_tmp6_);
-#line 4197 "SearchFilter.c"
+#line 4249 "SearchFilter.c"
}
@@ -4207,17 +4259,25 @@ static void search_filter_actions_register (SearchFilterActions* self) {
_text_action_unref0 (self->priv->_text);
#line 552 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->_text = _tmp0_;
-#line 4211 "SearchFilter.c"
+#line 4263 "SearchFilter.c"
}
static void search_filter_actions_on_rating_changed (SearchFilterActions* self, GSimpleAction* action, GVariant* value) {
- GSimpleAction* _tmp0_ = NULL;
- GVariant* _tmp1_ = NULL;
+ GVariant* _tmp0_ = NULL;
+ const gchar* _tmp1_ = NULL;
+ GSimpleAction* _tmp2_ = NULL;
+ GVariant* _tmp3_ = NULL;
+ GVariant* _tmp4_ = NULL;
+ const gchar* _tmp5_ = NULL;
+ gboolean _tmp6_ = FALSE;
RatingFilter filter = 0;
- GVariant* _tmp2_ = NULL;
- const gchar* _tmp3_ = NULL;
- gint _tmp4_ = 0;
+ GVariant* _tmp7_ = NULL;
+ const gchar* _tmp8_ = NULL;
+ gint _tmp9_ = 0;
+ GSimpleAction* _tmp10_ = NULL;
+ GVariant* _tmp11_ = NULL;
+ RatingFilter _tmp12_ = 0;
#line 555 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (IS_SEARCH_FILTER_ACTIONS (self));
#line 555 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -4225,22 +4285,46 @@ static void search_filter_actions_on_rating_changed (SearchFilterActions* self,
#line 555 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (value != NULL);
#line 557 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp0_ = action;
+ _tmp0_ = value;
#line 557 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp1_ = value;
+ _tmp1_ = g_variant_get_string (_tmp0_, NULL);
#line 557 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- g_simple_action_set_state (_tmp0_, _tmp1_);
-#line 558 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp2_ = value;
-#line 558 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp3_ = g_variant_get_string (_tmp2_, NULL);
-#line 558 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp4_ = atoi (_tmp3_);
+ _tmp2_ = action;
+#line 557 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp3_ = g_action_get_state (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, g_action_get_type (), GAction));
+#line 557 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp4_ = _tmp3_;
+#line 557 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp5_ = g_variant_get_string (_tmp4_, NULL);
+#line 557 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp6_ = g_strcmp0 (_tmp1_, _tmp5_) == 0;
+#line 557 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _g_variant_unref0 (_tmp4_);
+#line 557 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ if (_tmp6_) {
#line 558 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- filter = (RatingFilter) _tmp4_;
-#line 559 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- g_signal_emit_by_name (self, "rating-changed", filter);
-#line 4244 "SearchFilter.c"
+ return;
+#line 4308 "SearchFilter.c"
+ }
+#line 560 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp7_ = value;
+#line 560 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp8_ = g_variant_get_string (_tmp7_, NULL);
+#line 560 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp9_ = atoi (_tmp8_);
+#line 560 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ filter = (RatingFilter) _tmp9_;
+#line 561 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp10_ = action;
+#line 561 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp11_ = value;
+#line 561 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ g_simple_action_set_state (_tmp10_, _tmp11_);
+#line 562 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ _tmp12_ = filter;
+#line 562 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ g_signal_emit_by_name (self, "rating-changed", _tmp12_);
+#line 4328 "SearchFilter.c"
}
@@ -4249,25 +4333,25 @@ static void search_filter_actions_on_flagged_toggled (SearchFilterActions* self,
GVariant* _tmp1_ = NULL;
GVariant* _tmp2_ = NULL;
gboolean _tmp3_ = FALSE;
-#line 562 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 565 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (IS_SEARCH_FILTER_ACTIONS (self));
-#line 562 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 565 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (G_IS_SIMPLE_ACTION (action));
-#line 562 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 565 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (value != NULL);
-#line 564 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 567 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = action;
-#line 564 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 567 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = value;
-#line 564 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 567 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_simple_action_set_state (_tmp0_, _tmp1_);
-#line 565 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 568 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = value;
-#line 565 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 568 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp3_ = g_variant_get_boolean (_tmp2_);
-#line 565 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 568 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_emit_by_name (self, "flagged-toggled", _tmp3_);
-#line 4271 "SearchFilter.c"
+#line 4355 "SearchFilter.c"
}
@@ -4276,25 +4360,25 @@ static void search_filter_actions_on_photos_toggled (SearchFilterActions* self,
GVariant* _tmp1_ = NULL;
GVariant* _tmp2_ = NULL;
gboolean _tmp3_ = FALSE;
-#line 568 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 571 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (IS_SEARCH_FILTER_ACTIONS (self));
-#line 568 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 571 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (G_IS_SIMPLE_ACTION (action));
-#line 568 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 571 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (value != NULL);
-#line 570 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 573 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = action;
-#line 570 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 573 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = value;
-#line 570 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 573 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_simple_action_set_state (_tmp0_, _tmp1_);
-#line 571 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 574 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = value;
-#line 571 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 574 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp3_ = g_variant_get_boolean (_tmp2_);
-#line 571 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 574 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_emit_by_name (self, "photos-toggled", _tmp3_);
-#line 4298 "SearchFilter.c"
+#line 4382 "SearchFilter.c"
}
@@ -4303,25 +4387,25 @@ static void search_filter_actions_on_videos_toggled (SearchFilterActions* self,
GVariant* _tmp1_ = NULL;
GVariant* _tmp2_ = NULL;
gboolean _tmp3_ = FALSE;
-#line 574 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 577 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (IS_SEARCH_FILTER_ACTIONS (self));
-#line 574 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 577 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (G_IS_SIMPLE_ACTION (action));
-#line 574 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 577 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (value != NULL);
-#line 576 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 579 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = action;
-#line 576 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 579 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = value;
-#line 576 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 579 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_simple_action_set_state (_tmp0_, _tmp1_);
-#line 577 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 580 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = value;
-#line 577 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 580 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp3_ = g_variant_get_boolean (_tmp2_);
-#line 577 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 580 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_emit_by_name (self, "videos-toggled", _tmp3_);
-#line 4325 "SearchFilter.c"
+#line 4409 "SearchFilter.c"
}
@@ -4330,85 +4414,85 @@ static void search_filter_actions_on_raw_toggled (SearchFilterActions* self, GSi
GVariant* _tmp1_ = NULL;
GVariant* _tmp2_ = NULL;
gboolean _tmp3_ = FALSE;
-#line 580 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 583 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (IS_SEARCH_FILTER_ACTIONS (self));
-#line 580 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 583 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (G_IS_SIMPLE_ACTION (action));
-#line 580 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 583 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (value != NULL);
-#line 582 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 585 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = action;
-#line 582 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 585 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = value;
-#line 582 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 585 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_simple_action_set_state (_tmp0_, _tmp1_);
-#line 583 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 586 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = value;
-#line 583 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 586 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp3_ = g_variant_get_boolean (_tmp2_);
-#line 583 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 586 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_emit_by_name (self, "raw-toggled", _tmp3_);
-#line 4352 "SearchFilter.c"
+#line 4436 "SearchFilter.c"
}
gboolean search_filter_actions_get_has_photos (SearchFilterActions* self) {
gboolean result = FALSE;
gboolean _tmp0_ = FALSE;
-#line 586 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 589 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_val_if_fail (IS_SEARCH_FILTER_ACTIONS (self), FALSE);
-#line 587 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 590 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = self->priv->has_photos;
-#line 587 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 590 "/home/jens/Source/shotwell/src/SearchFilter.vala"
result = _tmp0_;
-#line 587 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 590 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 4367 "SearchFilter.c"
+#line 4451 "SearchFilter.c"
}
gboolean search_filter_actions_get_has_videos (SearchFilterActions* self) {
gboolean result = FALSE;
gboolean _tmp0_ = FALSE;
-#line 590 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 593 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_val_if_fail (IS_SEARCH_FILTER_ACTIONS (self), FALSE);
-#line 591 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 594 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = self->priv->has_videos;
-#line 591 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 594 "/home/jens/Source/shotwell/src/SearchFilter.vala"
result = _tmp0_;
-#line 591 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 594 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 4382 "SearchFilter.c"
+#line 4466 "SearchFilter.c"
}
gboolean search_filter_actions_get_has_raw (SearchFilterActions* self) {
gboolean result = FALSE;
gboolean _tmp0_ = FALSE;
-#line 594 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 597 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_val_if_fail (IS_SEARCH_FILTER_ACTIONS (self), FALSE);
-#line 595 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 598 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = self->priv->has_raw;
-#line 595 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 598 "/home/jens/Source/shotwell/src/SearchFilter.vala"
result = _tmp0_;
-#line 595 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 598 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 4397 "SearchFilter.c"
+#line 4481 "SearchFilter.c"
}
gboolean search_filter_actions_get_has_flagged (SearchFilterActions* self) {
gboolean result = FALSE;
gboolean _tmp0_ = FALSE;
-#line 598 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 601 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_val_if_fail (IS_SEARCH_FILTER_ACTIONS (self), FALSE);
-#line 599 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 602 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = self->priv->has_flagged;
-#line 599 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 602 "/home/jens/Source/shotwell/src/SearchFilter.vala"
result = _tmp0_;
-#line 599 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 602 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 4412 "SearchFilter.c"
+#line 4496 "SearchFilter.c"
}
@@ -4423,7 +4507,7 @@ GSimpleAction* search_filter_actions_get_flagged (SearchFilterActions* self) {
result = _tmp0_;
#line 336 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 4427 "SearchFilter.c"
+#line 4511 "SearchFilter.c"
}
@@ -4438,7 +4522,7 @@ GSimpleAction* search_filter_actions_get_photos (SearchFilterActions* self) {
result = _tmp0_;
#line 342 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 4442 "SearchFilter.c"
+#line 4526 "SearchFilter.c"
}
@@ -4453,7 +4537,7 @@ GSimpleAction* search_filter_actions_get_videos (SearchFilterActions* self) {
result = _tmp0_;
#line 348 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 4457 "SearchFilter.c"
+#line 4541 "SearchFilter.c"
}
@@ -4468,7 +4552,7 @@ GSimpleAction* search_filter_actions_get_raw (SearchFilterActions* self) {
result = _tmp0_;
#line 354 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 4472 "SearchFilter.c"
+#line 4556 "SearchFilter.c"
}
@@ -4483,7 +4567,7 @@ GSimpleAction* search_filter_actions_get_rating (SearchFilterActions* self) {
result = _tmp0_;
#line 360 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 4487 "SearchFilter.c"
+#line 4571 "SearchFilter.c"
}
@@ -4503,7 +4587,7 @@ TextAction* search_filter_actions_get_text (SearchFilterActions* self) {
result = _tmp1_;
#line 367 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 4507 "SearchFilter.c"
+#line 4591 "SearchFilter.c"
}
@@ -4522,26 +4606,26 @@ static void g_cclosure_user_marshal_VOID__BOOLEAN_BOOLEAN_BOOLEAN_BOOLEAN (GClos
data1 = closure->data;
#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
data2 = param_values->data[0].v_pointer;
-#line 4526 "SearchFilter.c"
+#line 4610 "SearchFilter.c"
} else {
#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
data1 = param_values->data[0].v_pointer;
#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
data2 = closure->data;
-#line 4532 "SearchFilter.c"
+#line 4616 "SearchFilter.c"
}
#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
callback = (GMarshalFunc_VOID__BOOLEAN_BOOLEAN_BOOLEAN_BOOLEAN) (marshal_data ? marshal_data : cc->callback);
#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
callback (data1, g_value_get_boolean (param_values + 1), g_value_get_boolean (param_values + 2), g_value_get_boolean (param_values + 3), g_value_get_boolean (param_values + 4), data2);
-#line 4538 "SearchFilter.c"
+#line 4622 "SearchFilter.c"
}
static void value_search_filter_actions_init (GValue* value) {
#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
value->data[0].v_pointer = NULL;
-#line 4545 "SearchFilter.c"
+#line 4629 "SearchFilter.c"
}
@@ -4550,7 +4634,7 @@ static void value_search_filter_actions_free_value (GValue* value) {
if (value->data[0].v_pointer) {
#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_actions_unref (value->data[0].v_pointer);
-#line 4554 "SearchFilter.c"
+#line 4638 "SearchFilter.c"
}
}
@@ -4560,11 +4644,11 @@ static void value_search_filter_actions_copy_value (const GValue* src_value, GVa
if (src_value->data[0].v_pointer) {
#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
dest_value->data[0].v_pointer = search_filter_actions_ref (src_value->data[0].v_pointer);
-#line 4564 "SearchFilter.c"
+#line 4648 "SearchFilter.c"
} else {
#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
dest_value->data[0].v_pointer = NULL;
-#line 4568 "SearchFilter.c"
+#line 4652 "SearchFilter.c"
}
}
@@ -4572,37 +4656,37 @@ static void value_search_filter_actions_copy_value (const GValue* src_value, GVa
static gpointer value_search_filter_actions_peek_pointer (const GValue* value) {
#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return value->data[0].v_pointer;
-#line 4576 "SearchFilter.c"
+#line 4660 "SearchFilter.c"
}
static gchar* value_search_filter_actions_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (collect_values[0].v_pointer) {
-#line 4583 "SearchFilter.c"
+#line 4667 "SearchFilter.c"
SearchFilterActions* object;
object = collect_values[0].v_pointer;
#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (object->parent_instance.g_class == NULL) {
#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 4590 "SearchFilter.c"
+#line 4674 "SearchFilter.c"
} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
#line 333 "/home/jens/Source/shotwell/src/SearchFilter.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 4594 "SearchFilter.c"
+#line 4678 "SearchFilter.c"
}
#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
value->data[0].v_pointer = search_filter_actions_ref (object);
-#line 4598 "SearchFilter.c"
+#line 4682 "SearchFilter.c"
} else {
#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
value->data[0].v_pointer = NULL;
-#line 4602 "SearchFilter.c"
+#line 4686 "SearchFilter.c"
}
#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return NULL;
-#line 4606 "SearchFilter.c"
+#line 4690 "SearchFilter.c"
}
@@ -4613,25 +4697,25 @@ static gchar* value_search_filter_actions_lcopy_value (const GValue* value, guin
if (!object_p) {
#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
-#line 4617 "SearchFilter.c"
+#line 4701 "SearchFilter.c"
}
#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (!value->data[0].v_pointer) {
#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
*object_p = NULL;
-#line 4623 "SearchFilter.c"
+#line 4707 "SearchFilter.c"
} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
*object_p = value->data[0].v_pointer;
-#line 4627 "SearchFilter.c"
+#line 4711 "SearchFilter.c"
} else {
#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
*object_p = search_filter_actions_ref (value->data[0].v_pointer);
-#line 4631 "SearchFilter.c"
+#line 4715 "SearchFilter.c"
}
#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return NULL;
-#line 4635 "SearchFilter.c"
+#line 4719 "SearchFilter.c"
}
@@ -4645,7 +4729,7 @@ GParamSpec* param_spec_search_filter_actions (const gchar* name, const gchar* ni
G_PARAM_SPEC (spec)->value_type = object_type;
#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return G_PARAM_SPEC (spec);
-#line 4649 "SearchFilter.c"
+#line 4733 "SearchFilter.c"
}
@@ -4654,7 +4738,7 @@ gpointer value_get_search_filter_actions (const GValue* value) {
g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_SEARCH_FILTER_ACTIONS), NULL);
#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return value->data[0].v_pointer;
-#line 4658 "SearchFilter.c"
+#line 4742 "SearchFilter.c"
}
@@ -4674,17 +4758,17 @@ void value_set_search_filter_actions (GValue* value, gpointer v_object) {
value->data[0].v_pointer = v_object;
#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_actions_ref (value->data[0].v_pointer);
-#line 4678 "SearchFilter.c"
+#line 4762 "SearchFilter.c"
} else {
#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
value->data[0].v_pointer = NULL;
-#line 4682 "SearchFilter.c"
+#line 4766 "SearchFilter.c"
}
#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (old) {
#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_actions_unref (old);
-#line 4688 "SearchFilter.c"
+#line 4772 "SearchFilter.c"
}
}
@@ -4703,17 +4787,17 @@ void value_take_search_filter_actions (GValue* value, gpointer v_object) {
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
value->data[0].v_pointer = v_object;
-#line 4707 "SearchFilter.c"
+#line 4791 "SearchFilter.c"
} else {
#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
value->data[0].v_pointer = NULL;
-#line 4711 "SearchFilter.c"
+#line 4795 "SearchFilter.c"
}
#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (old) {
#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_actions_unref (old);
-#line 4717 "SearchFilter.c"
+#line 4801 "SearchFilter.c"
}
}
@@ -4737,7 +4821,7 @@ static void search_filter_actions_class_init (SearchFilterActionsClass * klass)
g_signal_new ("rating_changed", TYPE_SEARCH_FILTER_ACTIONS, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__ENUM, G_TYPE_NONE, 1, TYPE_RATING_FILTER);
#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_new ("text_changed", TYPE_SEARCH_FILTER_ACTIONS, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__STRING, G_TYPE_NONE, 1, G_TYPE_STRING);
-#line 4741 "SearchFilter.c"
+#line 4825 "SearchFilter.c"
/**
* fired when the kinds of media present in the current view change (e.g., a video becomes
* available in the view through a new import operation or no raw photos are available in
@@ -4747,7 +4831,7 @@ static void search_filter_actions_class_init (SearchFilterActionsClass * klass)
g_signal_new ("media_context_changed", TYPE_SEARCH_FILTER_ACTIONS, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_user_marshal_VOID__BOOLEAN_BOOLEAN_BOOLEAN_BOOLEAN, G_TYPE_NONE, 4, G_TYPE_BOOLEAN, G_TYPE_BOOLEAN, G_TYPE_BOOLEAN, G_TYPE_BOOLEAN);
#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_new ("criteria_changed", TYPE_SEARCH_FILTER_ACTIONS, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
-#line 4751 "SearchFilter.c"
+#line 4835 "SearchFilter.c"
}
@@ -4770,7 +4854,7 @@ static void search_filter_actions_instance_init (SearchFilterActions * self) {
self->priv->can_filter_by_stars = TRUE;
#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->ref_count = 1;
-#line 4774 "SearchFilter.c"
+#line 4858 "SearchFilter.c"
}
@@ -4782,7 +4866,7 @@ static void search_filter_actions_finalize (SearchFilterActions* obj) {
g_signal_handlers_destroy (self);
#line 372 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_text_action_unref0 (self->priv->_text);
-#line 4786 "SearchFilter.c"
+#line 4870 "SearchFilter.c"
}
@@ -4807,7 +4891,7 @@ gpointer search_filter_actions_ref (gpointer instance) {
g_atomic_int_inc (&self->ref_count);
#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return instance;
-#line 4811 "SearchFilter.c"
+#line 4895 "SearchFilter.c"
}
@@ -4820,7 +4904,7 @@ void search_filter_actions_unref (gpointer instance) {
SEARCH_FILTER_ACTIONS_GET_CLASS (self)->finalize (self);
#line 333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_type_free_instance ((GTypeInstance *) self);
-#line 4824 "SearchFilter.c"
+#line 4908 "SearchFilter.c"
}
}
@@ -4828,56 +4912,56 @@ void search_filter_actions_unref (gpointer instance) {
static void _search_filter_toolbar_on_media_context_changed_search_filter_actions_media_context_changed (SearchFilterActions* _sender, gboolean has_photos, gboolean has_videos, gboolean has_raw, gboolean has_flagged, gpointer self) {
#line 1159 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_on_media_context_changed ((SearchFilterToolbar*) self, has_photos, has_videos, has_raw, has_flagged);
-#line 4832 "SearchFilter.c"
+#line 4916 "SearchFilter.c"
}
static void _search_filter_toolbar_on_flagged_toggled_search_filter_actions_flagged_toggled (SearchFilterActions* _sender, gboolean on, gpointer self) {
#line 1161 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_on_flagged_toggled ((SearchFilterToolbar*) self);
-#line 4839 "SearchFilter.c"
+#line 4923 "SearchFilter.c"
}
static void _search_filter_toolbar_on_photos_toggled_search_filter_actions_photos_toggled (SearchFilterActions* _sender, gboolean on, gpointer self) {
#line 1162 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_on_photos_toggled ((SearchFilterToolbar*) self);
-#line 4846 "SearchFilter.c"
+#line 4930 "SearchFilter.c"
}
static void _search_filter_toolbar_on_videos_toggled_search_filter_actions_videos_toggled (SearchFilterActions* _sender, gboolean on, gpointer self) {
#line 1163 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_on_videos_toggled ((SearchFilterToolbar*) self);
-#line 4853 "SearchFilter.c"
+#line 4937 "SearchFilter.c"
}
static void _search_filter_toolbar_on_raw_toggled_search_filter_actions_raw_toggled (SearchFilterActions* _sender, gboolean on, gpointer self) {
#line 1164 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_on_raw_toggled ((SearchFilterToolbar*) self);
-#line 4860 "SearchFilter.c"
+#line 4944 "SearchFilter.c"
}
static void _search_filter_toolbar_on_rating_changed_search_filter_actions_rating_changed (SearchFilterActions* _sender, RatingFilter filter, gpointer self) {
#line 1165 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_on_rating_changed ((SearchFilterToolbar*) self);
-#line 4867 "SearchFilter.c"
+#line 4951 "SearchFilter.c"
}
static void _search_filter_toolbar_on_search_text_changed_search_filter_actions_text_changed (SearchFilterActions* _sender, const gchar* text, gpointer self) {
#line 1166 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_on_search_text_changed ((SearchFilterToolbar*) self);
-#line 4874 "SearchFilter.c"
+#line 4958 "SearchFilter.c"
}
static void _search_filter_toolbar_on_criteria_changed_search_filter_actions_criteria_changed (SearchFilterActions* _sender, gpointer self) {
#line 1167 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_on_criteria_changed ((SearchFilterToolbar*) self);
-#line 4881 "SearchFilter.c"
+#line 4965 "SearchFilter.c"
}
@@ -4886,28 +4970,28 @@ static gboolean _search_filter_toolbar_on_context_menu_requested_gtk_toolbar_pop
result = search_filter_toolbar_on_context_menu_requested ((SearchFilterToolbar*) self, x, y, button_number);
#line 1169 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 4890 "SearchFilter.c"
+#line 4974 "SearchFilter.c"
}
static gpointer _search_filter_actions_ref0 (gpointer self) {
#line 1053 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return self ? search_filter_actions_ref (self) : NULL;
-#line 4897 "SearchFilter.c"
+#line 4981 "SearchFilter.c"
}
static void _search_filter_toolbar_on_context_menu_close_chosen_gtk_menu_item_activate (GtkMenuItem* _sender, gpointer self) {
#line 1076 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_on_context_menu_close_chosen ((SearchFilterToolbar*) self);
-#line 4904 "SearchFilter.c"
+#line 4988 "SearchFilter.c"
}
static void _search_filter_toolbar_on_saved_search_button_clicked_search_filter_toolbar_saved_search_filter_button_clicked (SearchFilterToolbarSavedSearchFilterButton* _sender, gpointer self) {
#line 1127 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_on_saved_search_button_clicked ((SearchFilterToolbar*) self);
-#line 4911 "SearchFilter.c"
+#line 4995 "SearchFilter.c"
}
@@ -5051,7 +5135,7 @@ SearchFilterToolbar* search_filter_toolbar_construct (GType object_type, SearchF
_tmp9_ = self->priv->toolbar;
#line 1060 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_toolbar_set_icon_size (_tmp9_, GTK_ICON_SIZE_SMALL_TOOLBAR);
-#line 5055 "SearchFilter.c"
+#line 5139 "SearchFilter.c"
{
GtkBuilder* _tmp10_ = NULL;
#line 1063 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -5060,12 +5144,12 @@ SearchFilterToolbar* search_filter_toolbar_construct (GType object_type, SearchF
gtk_builder_add_from_resource (_tmp10_, "/org/gnome/Shotwell/search_bar.ui", &_inner_error_);
#line 1063 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 5064 "SearchFilter.c"
- goto __catch590_g_error;
+#line 5148 "SearchFilter.c"
+ goto __catch588_g_error;
}
}
- goto __finally590;
- __catch590_g_error:
+ goto __finally588;
+ __catch588_g_error:
{
GError* err = NULL;
const gchar* _tmp11_ = NULL;
@@ -5093,9 +5177,9 @@ SearchFilterToolbar* search_filter_toolbar_construct (GType object_type, SearchF
_g_free0 (_tmp15_);
#line 1062 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_error_free0 (err);
-#line 5097 "SearchFilter.c"
+#line 5181 "SearchFilter.c"
}
- __finally590:
+ __finally588:
#line 1062 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1062 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -5104,7 +5188,7 @@ SearchFilterToolbar* search_filter_toolbar_construct (GType object_type, SearchF
g_clear_error (&_inner_error_);
#line 1062 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return NULL;
-#line 5108 "SearchFilter.c"
+#line 5192 "SearchFilter.c"
}
#line 1074 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp16_ = self->priv->close_item;
@@ -5408,14 +5492,14 @@ SearchFilterToolbar* search_filter_toolbar_construct (GType object_type, SearchF
_g_object_unref0 (model);
#line 1052 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return self;
-#line 5412 "SearchFilter.c"
+#line 5496 "SearchFilter.c"
}
SearchFilterToolbar* search_filter_toolbar_new (SearchFilterActions* actions) {
#line 1052 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return search_filter_toolbar_construct (TYPE_SEARCH_FILTER_TOOLBAR, actions);
-#line 5419 "SearchFilter.c"
+#line 5503 "SearchFilter.c"
}
@@ -5430,77 +5514,77 @@ static void search_filter_toolbar_on_media_context_changed (SearchFilterToolbar*
_tmp0_ = has_photos;
#line 1174 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp0_) {
-#line 5434 "SearchFilter.c"
+#line 5518 "SearchFilter.c"
SearchFilterToolbarToggleActionToolButton* _tmp1_ = NULL;
#line 1175 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = self->priv->toolbtn_photos;
#line 1175 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_toggle_action_tool_button_set_icon_name (_tmp1_, RESOURCES_ICON_FILTER_PHOTOS);
-#line 5440 "SearchFilter.c"
+#line 5524 "SearchFilter.c"
} else {
SearchFilterToolbarToggleActionToolButton* _tmp2_ = NULL;
#line 1177 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = self->priv->toolbtn_photos;
#line 1177 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_toggle_action_tool_button_set_icon_name (_tmp2_, RESOURCES_ICON_FILTER_PHOTOS_DISABLED);
-#line 5447 "SearchFilter.c"
+#line 5531 "SearchFilter.c"
}
#line 1179 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp3_ = has_videos;
#line 1179 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp3_) {
-#line 5453 "SearchFilter.c"
+#line 5537 "SearchFilter.c"
SearchFilterToolbarToggleActionToolButton* _tmp4_ = NULL;
#line 1180 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp4_ = self->priv->toolbtn_videos;
#line 1180 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_toggle_action_tool_button_set_icon_name (_tmp4_, RESOURCES_ICON_FILTER_VIDEOS);
-#line 5459 "SearchFilter.c"
+#line 5543 "SearchFilter.c"
} else {
SearchFilterToolbarToggleActionToolButton* _tmp5_ = NULL;
#line 1182 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp5_ = self->priv->toolbtn_videos;
#line 1182 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_toggle_action_tool_button_set_icon_name (_tmp5_, RESOURCES_ICON_FILTER_VIDEOS_DISABLED);
-#line 5466 "SearchFilter.c"
+#line 5550 "SearchFilter.c"
}
#line 1184 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp6_ = has_raw;
#line 1184 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp6_) {
-#line 5472 "SearchFilter.c"
+#line 5556 "SearchFilter.c"
SearchFilterToolbarToggleActionToolButton* _tmp7_ = NULL;
#line 1185 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp7_ = self->priv->toolbtn_raw;
#line 1185 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_toggle_action_tool_button_set_icon_name (_tmp7_, RESOURCES_ICON_FILTER_RAW);
-#line 5478 "SearchFilter.c"
+#line 5562 "SearchFilter.c"
} else {
SearchFilterToolbarToggleActionToolButton* _tmp8_ = NULL;
#line 1187 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp8_ = self->priv->toolbtn_raw;
#line 1187 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_toggle_action_tool_button_set_icon_name (_tmp8_, RESOURCES_ICON_FILTER_RAW_DISABLED);
-#line 5485 "SearchFilter.c"
+#line 5569 "SearchFilter.c"
}
#line 1189 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp9_ = has_flagged;
#line 1189 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp9_) {
-#line 5491 "SearchFilter.c"
+#line 5575 "SearchFilter.c"
SearchFilterToolbarToggleActionToolButton* _tmp10_ = NULL;
#line 1190 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp10_ = self->priv->toolbtn_flag;
#line 1190 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_toggle_action_tool_button_set_icon_name (_tmp10_, RESOURCES_ICON_FILTER_FLAGGED);
-#line 5497 "SearchFilter.c"
+#line 5581 "SearchFilter.c"
} else {
SearchFilterToolbarToggleActionToolButton* _tmp11_ = NULL;
#line 1192 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp11_ = self->priv->toolbtn_flag;
#line 1192 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_toggle_action_tool_button_set_icon_name (_tmp11_, RESOURCES_ICON_FILTER_FLAGGED_DISABLED);
-#line 5504 "SearchFilter.c"
+#line 5588 "SearchFilter.c"
}
}
@@ -5524,14 +5608,14 @@ static gboolean search_filter_toolbar_on_context_menu_requested (SearchFilterToo
result = FALSE;
#line 1198 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 5528 "SearchFilter.c"
+#line 5612 "SearchFilter.c"
}
-static GVariant* _variant_new31 (gboolean value) {
+static GVariant* _variant_new39 (gboolean value) {
#line 1215 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return g_variant_ref_sink (g_variant_new_boolean (value));
-#line 5535 "SearchFilter.c"
+#line 5619 "SearchFilter.c"
}
@@ -5561,24 +5645,24 @@ static void search_filter_toolbar_on_context_menu_close_chosen (SearchFilterTool
_tmp4_ = action;
#line 1213 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp4_ != NULL) {
-#line 5565 "SearchFilter.c"
+#line 5649 "SearchFilter.c"
GSimpleAction* _tmp5_ = NULL;
GVariant* _tmp6_ = NULL;
#line 1215 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp5_ = action;
#line 1215 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp6_ = _variant_new31 (FALSE);
+ _tmp6_ = _variant_new39 (FALSE);
#line 1215 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- g_simple_action_set_state (_tmp5_, _tmp6_);
+ g_signal_emit_by_name (_tmp5_, "change-state", _tmp6_);
#line 1215 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_variant_unref0 (_tmp6_);
-#line 5576 "SearchFilter.c"
+#line 5660 "SearchFilter.c"
}
#line 1203 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (action);
#line 1203 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (aw);
-#line 5582 "SearchFilter.c"
+#line 5666 "SearchFilter.c"
}
@@ -5587,7 +5671,7 @@ static void search_filter_toolbar_on_flagged_toggled (SearchFilterToolbar* self)
g_return_if_fail (IS_SEARCH_FILTER_TOOLBAR (self));
#line 1220 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_update (self);
-#line 5591 "SearchFilter.c"
+#line 5675 "SearchFilter.c"
}
@@ -5596,7 +5680,7 @@ static void search_filter_toolbar_on_videos_toggled (SearchFilterToolbar* self)
g_return_if_fail (IS_SEARCH_FILTER_TOOLBAR (self));
#line 1224 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_update (self);
-#line 5600 "SearchFilter.c"
+#line 5684 "SearchFilter.c"
}
@@ -5605,7 +5689,7 @@ static void search_filter_toolbar_on_photos_toggled (SearchFilterToolbar* self)
g_return_if_fail (IS_SEARCH_FILTER_TOOLBAR (self));
#line 1228 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_update (self);
-#line 5609 "SearchFilter.c"
+#line 5693 "SearchFilter.c"
}
@@ -5614,7 +5698,7 @@ static void search_filter_toolbar_on_raw_toggled (SearchFilterToolbar* self) {
g_return_if_fail (IS_SEARCH_FILTER_TOOLBAR (self));
#line 1232 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_update (self);
-#line 5618 "SearchFilter.c"
+#line 5702 "SearchFilter.c"
}
@@ -5623,14 +5707,14 @@ static void search_filter_toolbar_on_search_text_changed (SearchFilterToolbar* s
g_return_if_fail (IS_SEARCH_FILTER_TOOLBAR (self));
#line 1236 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_update (self);
-#line 5627 "SearchFilter.c"
+#line 5711 "SearchFilter.c"
}
-static GVariant* _variant_new32 (gboolean value) {
+static GVariant* _variant_new40 (gboolean value) {
#line 1250 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return g_variant_ref_sink (g_variant_new_boolean (value));
-#line 5634 "SearchFilter.c"
+#line 5718 "SearchFilter.c"
}
@@ -5657,7 +5741,7 @@ static void search_filter_toolbar_on_rating_changed (SearchFilterToolbar* self)
_g_object_unref0 (aw);
#line 1243 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return;
-#line 5661 "SearchFilter.c"
+#line 5745 "SearchFilter.c"
}
#line 1245 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = aw;
@@ -5671,18 +5755,18 @@ static void search_filter_toolbar_on_rating_changed (SearchFilterToolbar* self)
_tmp5_ = action;
#line 1249 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp5_ != NULL) {
-#line 5675 "SearchFilter.c"
+#line 5759 "SearchFilter.c"
GSimpleAction* _tmp6_ = NULL;
GVariant* _tmp7_ = NULL;
#line 1250 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp6_ = action;
#line 1250 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp7_ = _variant_new32 (TRUE);
+ _tmp7_ = _variant_new40 (TRUE);
#line 1250 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- g_simple_action_set_state (_tmp6_, _tmp7_);
+ g_signal_emit_by_name (_tmp6_, "change-state", _tmp7_);
#line 1250 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_variant_unref0 (_tmp7_);
-#line 5686 "SearchFilter.c"
+#line 5770 "SearchFilter.c"
}
#line 1253 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_update (self);
@@ -5690,7 +5774,7 @@ static void search_filter_toolbar_on_rating_changed (SearchFilterToolbar* self)
_g_object_unref0 (action);
#line 1239 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (aw);
-#line 5694 "SearchFilter.c"
+#line 5778 "SearchFilter.c"
}
@@ -5699,14 +5783,14 @@ static void search_filter_toolbar_on_criteria_changed (SearchFilterToolbar* self
g_return_if_fail (IS_SEARCH_FILTER_TOOLBAR (self));
#line 1260 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_update (self);
-#line 5703 "SearchFilter.c"
+#line 5787 "SearchFilter.c"
}
static gpointer _view_filter_ref0 (gpointer self) {
#line 1267 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return self ? view_filter_ref (self) : NULL;
-#line 5710 "SearchFilter.c"
+#line 5794 "SearchFilter.c"
}
@@ -5733,7 +5817,7 @@ void search_filter_toolbar_set_view_filter (SearchFilterToolbar* self, SearchVie
if (_tmp0_ == _tmp1_) {
#line 1265 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return;
-#line 5737 "SearchFilter.c"
+#line 5821 "SearchFilter.c"
}
#line 1267 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = search_filter;
@@ -5761,7 +5845,7 @@ void search_filter_toolbar_set_view_filter (SearchFilterToolbar* self, SearchVie
gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_widget_get_type (), GtkWidget), (SEARCH_FILTER_CRITERIA_RATING & _tmp9_) != 0);
#line 1273 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_update (self);
-#line 5765 "SearchFilter.c"
+#line 5849 "SearchFilter.c"
}
@@ -5778,7 +5862,7 @@ void search_filter_toolbar_unset_view_filter (SearchFilterToolbar* self) {
search_filter_toolbar_set_view_filter (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_SEARCH_VIEW_FILTER, SearchViewFilter));
#line 1277 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_view_filter_unref0 (_tmp1_);
-#line 5782 "SearchFilter.c"
+#line 5866 "SearchFilter.c"
}
@@ -5871,7 +5955,7 @@ void search_filter_toolbar_update (SearchFilterToolbar* self) {
_tmp0_ = self->priv->search_filter;
#line 1282 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (NULL == _tmp0_) {
-#line 5875 "SearchFilter.c"
+#line 5959 "SearchFilter.c"
LibraryWindow* _tmp1_ = NULL;
LibraryWindow* _tmp2_ = NULL;
#line 1284 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -5882,7 +5966,7 @@ void search_filter_toolbar_update (SearchFilterToolbar* self) {
library_window_show_search_bar (_tmp2_, TRUE);
#line 1284 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (_tmp2_);
-#line 5886 "SearchFilter.c"
+#line 5970 "SearchFilter.c"
}
#line 1287 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp3_ = self->priv->search_filter;
@@ -6074,7 +6158,7 @@ void search_filter_toolbar_update (SearchFilterToolbar* self) {
_tmp73_ = _tmp72_;
#line 1322 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp73_) {
-#line 6078 "SearchFilter.c"
+#line 6162 "SearchFilter.c"
SearchFilterToolbarToggleActionToolButton* _tmp74_ = NULL;
gboolean _tmp75_ = FALSE;
gboolean _tmp76_ = FALSE;
@@ -6086,11 +6170,11 @@ void search_filter_toolbar_update (SearchFilterToolbar* self) {
_tmp76_ = _tmp75_;
#line 1322 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp70_ = _tmp76_;
-#line 6090 "SearchFilter.c"
+#line 6174 "SearchFilter.c"
} else {
#line 1322 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp70_ = FALSE;
-#line 6094 "SearchFilter.c"
+#line 6178 "SearchFilter.c"
}
#line 1322 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp77_ = self->priv->sepr_mediatype_flagged;
@@ -6104,7 +6188,7 @@ void search_filter_toolbar_update (SearchFilterToolbar* self) {
_tmp82_ = _tmp81_;
#line 1324 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp82_) {
-#line 6108 "SearchFilter.c"
+#line 6192 "SearchFilter.c"
SearchFilterToolbarRatingFilterButton* _tmp83_ = NULL;
gboolean _tmp84_ = FALSE;
gboolean _tmp85_ = FALSE;
@@ -6116,17 +6200,17 @@ void search_filter_toolbar_update (SearchFilterToolbar* self) {
_tmp85_ = _tmp84_;
#line 1324 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp79_ = _tmp85_;
-#line 6120 "SearchFilter.c"
+#line 6204 "SearchFilter.c"
} else {
#line 1324 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp79_ = FALSE;
-#line 6124 "SearchFilter.c"
+#line 6208 "SearchFilter.c"
}
#line 1324 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp79_) {
#line 1324 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp78_ = TRUE;
-#line 6130 "SearchFilter.c"
+#line 6214 "SearchFilter.c"
} else {
gboolean _tmp86_ = FALSE;
SearchFilterToolbarToggleActionToolButton* _tmp87_ = NULL;
@@ -6140,7 +6224,7 @@ void search_filter_toolbar_update (SearchFilterToolbar* self) {
_tmp89_ = _tmp88_;
#line 1325 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp89_) {
-#line 6144 "SearchFilter.c"
+#line 6228 "SearchFilter.c"
SearchFilterToolbarRatingFilterButton* _tmp90_ = NULL;
gboolean _tmp91_ = FALSE;
gboolean _tmp92_ = FALSE;
@@ -6152,15 +6236,15 @@ void search_filter_toolbar_update (SearchFilterToolbar* self) {
_tmp92_ = _tmp91_;
#line 1325 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp86_ = _tmp92_;
-#line 6156 "SearchFilter.c"
+#line 6240 "SearchFilter.c"
} else {
#line 1325 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp86_ = FALSE;
-#line 6160 "SearchFilter.c"
+#line 6244 "SearchFilter.c"
}
#line 1325 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp78_ = _tmp86_;
-#line 6164 "SearchFilter.c"
+#line 6248 "SearchFilter.c"
}
#line 1324 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp93_ = self->priv->sepr_flagged_rating;
@@ -6170,7 +6254,7 @@ void search_filter_toolbar_update (SearchFilterToolbar* self) {
_tmp94_ = self->priv->search_filter;
#line 1328 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_emit_by_name (G_TYPE_CHECK_INSTANCE_CAST (_tmp94_, TYPE_VIEW_FILTER, ViewFilter), "refresh");
-#line 6174 "SearchFilter.c"
+#line 6258 "SearchFilter.c"
}
@@ -6191,7 +6275,7 @@ static void search_filter_toolbar_on_savedsearch_selected (SearchFilterToolbar*
self->priv->saved_search = _tmp1_;
#line 1333 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_update (self);
-#line 6195 "SearchFilter.c"
+#line 6279 "SearchFilter.c"
}
@@ -6204,7 +6288,7 @@ static void search_filter_toolbar_disable_savedsearch (SearchFilterToolbar* self
self->priv->saved_search = NULL;
#line 1338 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_update (self);
-#line 6208 "SearchFilter.c"
+#line 6292 "SearchFilter.c"
}
@@ -6234,7 +6318,7 @@ static void search_filter_toolbar_edit_dialog (SearchFilterToolbar* self, SavedS
saved_search_dialog_show (ssd);
#line 1341 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_saved_search_dialog_unref0 (ssd);
-#line 6238 "SearchFilter.c"
+#line 6322 "SearchFilter.c"
}
@@ -6259,7 +6343,7 @@ static void search_filter_toolbar_delete_dialog (SearchFilterToolbar* self, Save
_tmp3_ = dialogs_confirm_delete_saved_search (_tmp2_);
#line 1349 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp3_) {
-#line 6263 "SearchFilter.c"
+#line 6347 "SearchFilter.c"
CommandManager* _tmp4_ = NULL;
CommandManager* _tmp5_ = NULL;
SavedSearch* _tmp6_ = NULL;
@@ -6281,7 +6365,7 @@ static void search_filter_toolbar_delete_dialog (SearchFilterToolbar* self, Save
_g_object_unref0 (_tmp8_);
#line 1350 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_command_manager_unref0 (_tmp5_);
-#line 6285 "SearchFilter.c"
+#line 6369 "SearchFilter.c"
}
}
@@ -6307,7 +6391,7 @@ static void search_filter_toolbar_add_dialog (SearchFilterToolbar* self) {
saved_search_dialog_show (_tmp3_);
#line 1355 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_saved_search_dialog_unref0 (_tmp3_);
-#line 6311 "SearchFilter.c"
+#line 6395 "SearchFilter.c"
}
@@ -6332,42 +6416,42 @@ static void search_filter_toolbar_on_popover_closed (SearchFilterToolbar* self)
_tmp3_ = _tmp2_->filter_popup;
#line 1362 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_saved_search_popover_hide (_tmp3_);
-#line 6336 "SearchFilter.c"
+#line 6420 "SearchFilter.c"
}
static void _search_filter_toolbar_edit_dialog_search_filter_toolbar_saved_search_popover_edit_clicked (SearchFilterToolbarSavedSearchPopover* _sender, SavedSearch* search, gpointer self) {
#line 1373 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_edit_dialog ((SearchFilterToolbar*) self, search);
-#line 6343 "SearchFilter.c"
+#line 6427 "SearchFilter.c"
}
static void _search_filter_toolbar_on_savedsearch_selected_search_filter_toolbar_saved_search_popover_search_activated (SearchFilterToolbarSavedSearchPopover* _sender, SavedSearch* search, gpointer self) {
#line 1374 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_on_savedsearch_selected ((SearchFilterToolbar*) self, search);
-#line 6350 "SearchFilter.c"
+#line 6434 "SearchFilter.c"
}
static void _search_filter_toolbar_delete_dialog_search_filter_toolbar_saved_search_popover_delete_clicked (SearchFilterToolbarSavedSearchPopover* _sender, SavedSearch* search, gpointer self) {
#line 1375 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_delete_dialog ((SearchFilterToolbar*) self, search);
-#line 6357 "SearchFilter.c"
+#line 6441 "SearchFilter.c"
}
static void _search_filter_toolbar_add_dialog_search_filter_toolbar_saved_search_popover_add_clicked (SearchFilterToolbarSavedSearchPopover* _sender, gpointer self) {
#line 1376 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_add_dialog ((SearchFilterToolbar*) self);
-#line 6364 "SearchFilter.c"
+#line 6448 "SearchFilter.c"
}
static void _search_filter_toolbar_on_popover_closed_search_filter_toolbar_saved_search_popover_closed (SearchFilterToolbarSavedSearchPopover* _sender, gpointer self) {
#line 1377 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_on_popover_closed ((SearchFilterToolbar*) self);
-#line 6371 "SearchFilter.c"
+#line 6455 "SearchFilter.c"
}
@@ -6380,28 +6464,28 @@ static void search_filter_toolbar_on_saved_search_button_clicked (SearchFilterTo
_tmp1_ = self->priv->elide_showing_again;
#line 1366 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp1_) {
-#line 6384 "SearchFilter.c"
+#line 6468 "SearchFilter.c"
SavedSearch* _tmp2_ = NULL;
#line 1366 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = self->priv->saved_search;
#line 1366 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = _tmp2_ == NULL;
-#line 6390 "SearchFilter.c"
+#line 6474 "SearchFilter.c"
} else {
#line 1366 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = FALSE;
-#line 6394 "SearchFilter.c"
+#line 6478 "SearchFilter.c"
}
#line 1366 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp0_) {
-#line 6398 "SearchFilter.c"
+#line 6482 "SearchFilter.c"
} else {
SavedSearch* _tmp3_ = NULL;
#line 1367 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp3_ = self->priv->saved_search;
#line 1367 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp3_ != NULL) {
-#line 6405 "SearchFilter.c"
+#line 6489 "SearchFilter.c"
SearchFilterToolbarSavedSearchFilterButton* _tmp4_ = NULL;
#line 1368 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (self->priv->saved_search);
@@ -6413,7 +6497,7 @@ static void search_filter_toolbar_on_saved_search_button_clicked (SearchFilterTo
search_filter_toolbar_saved_search_filter_button_set_active (_tmp4_, FALSE);
#line 1370 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_disable_savedsearch (self);
-#line 6417 "SearchFilter.c"
+#line 6501 "SearchFilter.c"
} else {
SearchFilterToolbarSavedSearchFilterButton* _tmp5_ = NULL;
SearchFilterToolbarSavedSearchPopover* _tmp6_ = NULL;
@@ -6438,7 +6522,7 @@ static void search_filter_toolbar_on_saved_search_button_clicked (SearchFilterTo
_tmp6_ = _tmp5_->filter_popup;
#line 1372 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp6_ != NULL) {
-#line 6442 "SearchFilter.c"
+#line 6526 "SearchFilter.c"
SearchFilterToolbarSavedSearchFilterButton* _tmp7_ = NULL;
SearchFilterToolbarSavedSearchPopover* _tmp8_ = NULL;
guint _tmp9_ = 0U;
@@ -6494,7 +6578,7 @@ static void search_filter_toolbar_on_saved_search_button_clicked (SearchFilterTo
g_signal_parse_name ("closed", SEARCH_FILTER_TOOLBAR_TYPE_SAVED_SEARCH_POPOVER, &_tmp21_, NULL, FALSE);
#line 1377 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_handlers_disconnect_matched (_tmp20_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp21_, 0, NULL, (GCallback) _search_filter_toolbar_on_popover_closed_search_filter_toolbar_saved_search_popover_closed, self);
-#line 6498 "SearchFilter.c"
+#line 6582 "SearchFilter.c"
}
#line 1379 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp22_ = self->priv->saved_search_button;
@@ -6542,12 +6626,12 @@ static void search_filter_toolbar_on_saved_search_button_clicked (SearchFilterTo
_tmp36_ = _tmp35_->filter_popup;
#line 1386 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_saved_search_popover_show_all (_tmp36_);
-#line 6546 "SearchFilter.c"
+#line 6630 "SearchFilter.c"
}
}
#line 1388 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->elide_showing_again = FALSE;
-#line 6551 "SearchFilter.c"
+#line 6635 "SearchFilter.c"
}
@@ -6559,7 +6643,7 @@ void search_filter_toolbar_take_focus (SearchFilterToolbar* self) {
_tmp0_ = self->priv->search_box;
#line 1392 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_search_box_get_focus (_tmp0_);
-#line 6563 "SearchFilter.c"
+#line 6647 "SearchFilter.c"
}
@@ -6570,110 +6654,110 @@ static SearchFilterToolbarLabelToolItem* search_filter_toolbar_label_tool_item_c
gboolean _tmp2_ = FALSE;
gint _tmp3_ = 0;
GtkLabel* _tmp11_ = NULL;
-#line 617 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 620 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_val_if_fail (s != NULL, NULL);
-#line 617 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 620 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self = (SearchFilterToolbarLabelToolItem*) g_object_new (object_type, NULL);
-#line 618 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 621 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = s;
-#line 618 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 621 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = (GtkLabel*) gtk_label_new (_tmp0_);
-#line 618 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 621 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_object_ref_sink (_tmp1_);
-#line 618 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 621 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (self->priv->label);
-#line 618 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 621 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->label = _tmp1_;
-#line 619 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 622 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp3_ = left_padding;
-#line 619 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 622 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp3_ != 0) {
-#line 619 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 622 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = TRUE;
-#line 6594 "SearchFilter.c"
+#line 6678 "SearchFilter.c"
} else {
gint _tmp4_ = 0;
-#line 619 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 622 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp4_ = right_padding;
-#line 619 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 622 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = _tmp4_ != 0;
-#line 6601 "SearchFilter.c"
+#line 6685 "SearchFilter.c"
}
-#line 619 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 622 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp2_) {
-#line 6605 "SearchFilter.c"
+#line 6689 "SearchFilter.c"
GtkLabel* _tmp5_ = NULL;
GtkLabel* _tmp6_ = NULL;
GtkLabel* _tmp7_ = NULL;
gint _tmp8_ = 0;
GtkLabel* _tmp9_ = NULL;
gint _tmp10_ = 0;
-#line 620 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 623 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp5_ = self->priv->label;
-#line 620 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 623 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_widget_set_halign (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_START);
-#line 621 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 624 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp6_ = self->priv->label;
-#line 621 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 624 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_widget_set_valign (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_CENTER);
-#line 622 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 625 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp7_ = self->priv->label;
-#line 622 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 625 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp8_ = left_padding;
-#line 622 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 625 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_widget_set_margin_start (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_widget_get_type (), GtkWidget), _tmp8_);
-#line 623 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 626 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp9_ = self->priv->label;
-#line 623 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 626 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp10_ = right_padding;
-#line 623 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 626 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_widget_set_margin_end (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_widget_get_type (), GtkWidget), _tmp10_);
-#line 6632 "SearchFilter.c"
+#line 6716 "SearchFilter.c"
}
-#line 625 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 628 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp11_ = self->priv->label;
-#line 625 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 628 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, gtk_widget_get_type (), GtkWidget));
-#line 617 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 620 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return self;
-#line 6640 "SearchFilter.c"
+#line 6724 "SearchFilter.c"
}
static SearchFilterToolbarLabelToolItem* search_filter_toolbar_label_tool_item_new (const gchar* s, gint left_padding, gint right_padding) {
-#line 617 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 620 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return search_filter_toolbar_label_tool_item_construct (SEARCH_FILTER_TOOLBAR_TYPE_LABEL_TOOL_ITEM, s, left_padding, right_padding);
-#line 6647 "SearchFilter.c"
+#line 6731 "SearchFilter.c"
}
static void search_filter_toolbar_label_tool_item_class_init (SearchFilterToolbarLabelToolItemClass * klass) {
-#line 614 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 617 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_label_tool_item_parent_class = g_type_class_peek_parent (klass);
-#line 614 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 617 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_type_class_add_private (klass, sizeof (SearchFilterToolbarLabelToolItemPrivate));
-#line 614 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 617 "/home/jens/Source/shotwell/src/SearchFilter.vala"
G_OBJECT_CLASS (klass)->finalize = search_filter_toolbar_label_tool_item_finalize;
-#line 6658 "SearchFilter.c"
+#line 6742 "SearchFilter.c"
}
static void search_filter_toolbar_label_tool_item_instance_init (SearchFilterToolbarLabelToolItem * self) {
-#line 614 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 617 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv = SEARCH_FILTER_TOOLBAR_LABEL_TOOL_ITEM_GET_PRIVATE (self);
-#line 6665 "SearchFilter.c"
+#line 6749 "SearchFilter.c"
}
static void search_filter_toolbar_label_tool_item_finalize (GObject* obj) {
SearchFilterToolbarLabelToolItem * self;
-#line 614 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 617 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, SEARCH_FILTER_TOOLBAR_TYPE_LABEL_TOOL_ITEM, SearchFilterToolbarLabelToolItem);
-#line 615 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 618 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (self->priv->label);
-#line 614 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 617 "/home/jens/Source/shotwell/src/SearchFilter.vala"
G_OBJECT_CLASS (search_filter_toolbar_label_tool_item_parent_class)->finalize (obj);
-#line 6677 "SearchFilter.c"
+#line 6761 "SearchFilter.c"
}
@@ -6699,54 +6783,54 @@ static SearchFilterToolbarToggleActionToolButton* search_filter_toolbar_toggle_a
GtkToggleButton* _tmp5_ = NULL;
GtkToggleButton* _tmp6_ = NULL;
GtkToggleButton* _tmp7_ = NULL;
-#line 632 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 635 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_val_if_fail (action != NULL, NULL);
-#line 632 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 635 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self = (SearchFilterToolbarToggleActionToolButton*) g_object_new (object_type, NULL);
-#line 633 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 636 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = (GtkToggleButton*) gtk_toggle_button_new ();
-#line 633 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 636 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_object_ref_sink (_tmp0_);
-#line 633 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 636 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (self->priv->button);
-#line 633 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 636 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->button = _tmp0_;
-#line 634 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 637 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = self->priv->button;
-#line 634 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 637 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_widget_set_can_focus (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_widget_get_type (), GtkWidget), FALSE);
-#line 635 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 638 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = self->priv->button;
-#line 635 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 638 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp3_ = action;
-#line 635 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 638 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_actionable_set_action_name (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, GTK_TYPE_ACTIONABLE, GtkActionable), _tmp3_);
-#line 636 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 639 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp4_ = self->priv->button;
-#line 636 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 639 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_widget_set_has_tooltip (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_widget_get_type (), GtkWidget), TRUE);
-#line 637 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 640 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp5_ = self->priv->button;
-#line 637 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 640 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_button_set_relief (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_button_get_type (), GtkButton), GTK_RELIEF_NONE);
-#line 638 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 641 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp6_ = self->priv->button;
-#line 638 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 641 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_widget_set_margin_start (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, gtk_widget_get_type (), GtkWidget), 2);
-#line 640 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 643 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp7_ = self->priv->button;
-#line 640 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 643 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_widget_get_type (), GtkWidget));
-#line 632 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 635 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return self;
-#line 6743 "SearchFilter.c"
+#line 6827 "SearchFilter.c"
}
static SearchFilterToolbarToggleActionToolButton* search_filter_toolbar_toggle_action_tool_button_new (const gchar* action) {
-#line 632 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 635 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return search_filter_toolbar_toggle_action_tool_button_construct (SEARCH_FILTER_TOOLBAR_TYPE_TOGGLE_ACTION_TOOL_BUTTON, action);
-#line 6750 "SearchFilter.c"
+#line 6834 "SearchFilter.c"
}
@@ -6754,68 +6838,43 @@ static void search_filter_toolbar_toggle_action_tool_button_set_icon_name (Searc
GtkImage* image = NULL;
GtkToggleButton* _tmp0_ = NULL;
const gchar* _tmp1_ = NULL;
- gboolean _tmp2_ = FALSE;
- GtkImage* _tmp7_ = NULL;
- GtkToggleButton* _tmp8_ = NULL;
- GtkImage* _tmp9_ = NULL;
-#line 643 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ GtkImage* _tmp2_ = NULL;
+ GtkImage* _tmp3_ = NULL;
+ GtkToggleButton* _tmp4_ = NULL;
+ GtkImage* _tmp5_ = NULL;
+#line 646 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (SEARCH_FILTER_TOOLBAR_IS_TOGGLE_ACTION_TOOL_BUTTON (self));
-#line 643 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 646 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_return_if_fail (icon_name != NULL);
-#line 644 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 647 "/home/jens/Source/shotwell/src/SearchFilter.vala"
image = NULL;
-#line 645 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 648 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = self->priv->button;
-#line 645 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 648 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_button_set_always_show_image (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_button_get_type (), GtkButton), TRUE);
-#line 646 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp1_ = icon_name;
-#line 646 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp2_ = string_contains (_tmp1_, "disabled");
-#line 646 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- if (_tmp2_) {
-#line 6778 "SearchFilter.c"
- const gchar* _tmp3_ = NULL;
- GtkImage* _tmp4_ = NULL;
-#line 647 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp3_ = icon_name;
-#line 647 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp4_ = (GtkImage*) gtk_image_new_from_stock (_tmp3_, GTK_ICON_SIZE_SMALL_TOOLBAR);
-#line 647 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- g_object_ref_sink (_tmp4_);
-#line 647 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _g_object_unref0 (image);
-#line 647 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- image = _tmp4_;
-#line 6791 "SearchFilter.c"
- } else {
- const gchar* _tmp5_ = NULL;
- GtkImage* _tmp6_ = NULL;
#line 649 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp5_ = icon_name;
+ _tmp1_ = icon_name;
#line 649 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp6_ = (GtkImage*) gtk_image_new_from_icon_name (_tmp5_, GTK_ICON_SIZE_SMALL_TOOLBAR);
+ _tmp2_ = (GtkImage*) gtk_image_new_from_icon_name (_tmp1_, GTK_ICON_SIZE_SMALL_TOOLBAR);
#line 649 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- g_object_ref_sink (_tmp6_);
+ g_object_ref_sink (_tmp2_);
#line 649 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _g_object_unref0 (image);
+ _g_object_unref0 (image);
#line 649 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- image = _tmp6_;
-#line 6805 "SearchFilter.c"
- }
+ image = _tmp2_;
#line 650 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp7_ = image;
+ _tmp3_ = image;
#line 650 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- gtk_widget_set_margin_end (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_widget_get_type (), GtkWidget), 6);
+ gtk_widget_set_margin_end (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_widget_get_type (), GtkWidget), 6);
#line 651 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp8_ = self->priv->button;
+ _tmp4_ = self->priv->button;
#line 651 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- _tmp9_ = image;
+ _tmp5_ = image;
#line 651 "/home/jens/Source/shotwell/src/SearchFilter.vala"
- gtk_button_set_image (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, gtk_button_get_type (), GtkButton), G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_widget_get_type (), GtkWidget));
-#line 643 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+ gtk_button_set_image (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_button_get_type (), GtkButton), G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_widget_get_type (), GtkWidget));
+#line 646 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (image);
-#line 6819 "SearchFilter.c"
+#line 6878 "SearchFilter.c"
}
@@ -6832,37 +6891,37 @@ static void search_filter_toolbar_toggle_action_tool_button_set_label (SearchFil
_tmp1_ = label;
#line 655 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_button_set_label (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_button_get_type (), GtkButton), _tmp1_);
-#line 6836 "SearchFilter.c"
+#line 6895 "SearchFilter.c"
}
static void search_filter_toolbar_toggle_action_tool_button_class_init (SearchFilterToolbarToggleActionToolButtonClass * klass) {
-#line 629 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 632 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_toggle_action_tool_button_parent_class = g_type_class_peek_parent (klass);
-#line 629 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 632 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_type_class_add_private (klass, sizeof (SearchFilterToolbarToggleActionToolButtonPrivate));
-#line 629 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 632 "/home/jens/Source/shotwell/src/SearchFilter.vala"
G_OBJECT_CLASS (klass)->finalize = search_filter_toolbar_toggle_action_tool_button_finalize;
-#line 6847 "SearchFilter.c"
+#line 6906 "SearchFilter.c"
}
static void search_filter_toolbar_toggle_action_tool_button_instance_init (SearchFilterToolbarToggleActionToolButton * self) {
-#line 629 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 632 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv = SEARCH_FILTER_TOOLBAR_TOGGLE_ACTION_TOOL_BUTTON_GET_PRIVATE (self);
-#line 6854 "SearchFilter.c"
+#line 6913 "SearchFilter.c"
}
static void search_filter_toolbar_toggle_action_tool_button_finalize (GObject* obj) {
SearchFilterToolbarToggleActionToolButton * self;
-#line 629 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 632 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, SEARCH_FILTER_TOOLBAR_TYPE_TOGGLE_ACTION_TOOL_BUTTON, SearchFilterToolbarToggleActionToolButton);
-#line 630 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 633 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (self->priv->button);
-#line 629 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 632 "/home/jens/Source/shotwell/src/SearchFilter.vala"
G_OBJECT_CLASS (search_filter_toolbar_toggle_action_tool_button_parent_class)->finalize (obj);
-#line 6866 "SearchFilter.c"
+#line 6925 "SearchFilter.c"
}
@@ -6881,42 +6940,42 @@ static GType search_filter_toolbar_toggle_action_tool_button_get_type (void) {
static void _search_filter_toolbar_search_box_on_action_text_changed_text_action_text_changed (TextAction* _sender, const gchar* text, gpointer self) {
#line 690 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_search_box_on_action_text_changed ((SearchFilterToolbarSearchBox*) self, text);
-#line 6885 "SearchFilter.c"
+#line 6944 "SearchFilter.c"
}
static void _search_filter_toolbar_search_box_on_sensitivity_changed_text_action_sensitivity_changed (TextAction* _sender, gboolean sensitive, gpointer self) {
#line 691 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_search_box_on_sensitivity_changed ((SearchFilterToolbarSearchBox*) self, sensitive);
-#line 6892 "SearchFilter.c"
+#line 6951 "SearchFilter.c"
}
static void _search_filter_toolbar_search_box_on_visibility_changed_text_action_visibility_changed (TextAction* _sender, gboolean visible, gpointer self) {
#line 692 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_search_box_on_visibility_changed ((SearchFilterToolbarSearchBox*) self, visible);
-#line 6899 "SearchFilter.c"
+#line 6958 "SearchFilter.c"
}
static void _search_filter_toolbar_search_box_on_entry_changed_gtk_entry_buffer_deleted_text (GtkEntryBuffer* _sender, guint position, guint n_chars, gpointer self) {
#line 694 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_search_box_on_entry_changed ((SearchFilterToolbarSearchBox*) self);
-#line 6906 "SearchFilter.c"
+#line 6965 "SearchFilter.c"
}
static void _search_filter_toolbar_search_box_on_entry_changed_gtk_entry_buffer_inserted_text (GtkEntryBuffer* _sender, guint position, const gchar* chars, guint n_chars, gpointer self) {
#line 695 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_search_box_on_entry_changed ((SearchFilterToolbarSearchBox*) self);
-#line 6913 "SearchFilter.c"
+#line 6972 "SearchFilter.c"
}
static gpointer _text_action_ref0 (gpointer self) {
#line 672 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return self ? text_action_ref (self) : NULL;
-#line 6920 "SearchFilter.c"
+#line 6979 "SearchFilter.c"
}
@@ -6925,7 +6984,7 @@ static gboolean _search_filter_toolbar_search_box_on_escape_key_gtk_widget_key_p
result = search_filter_toolbar_search_box_on_escape_key ((SearchFilterToolbarSearchBox*) self, event);
#line 676 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 6929 "SearchFilter.c"
+#line 6988 "SearchFilter.c"
}
@@ -7019,14 +7078,14 @@ SearchFilterToolbarSearchBox* search_filter_toolbar_search_box_construct (GType
g_signal_connect_object (_tmp17_, "inserted-text", (GCallback) _search_filter_toolbar_search_box_on_entry_changed_gtk_entry_buffer_inserted_text, self, 0);
#line 671 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return self;
-#line 7023 "SearchFilter.c"
+#line 7082 "SearchFilter.c"
}
SearchFilterToolbarSearchBox* search_filter_toolbar_search_box_new (TextAction* action) {
#line 671 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return search_filter_toolbar_search_box_construct (SEARCH_FILTER_TOOLBAR_TYPE_SEARCH_BOX, action);
-#line 7030 "SearchFilter.c"
+#line 7089 "SearchFilter.c"
}
@@ -7038,7 +7097,7 @@ void search_filter_toolbar_search_box_get_focus (SearchFilterToolbarSearchBox* s
_tmp0_ = self->priv->search_entry;
#line 699 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_object_set (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget), "has-focus", TRUE, NULL);
-#line 7042 "SearchFilter.c"
+#line 7101 "SearchFilter.c"
}
@@ -7059,19 +7118,19 @@ static gboolean search_filter_toolbar_search_box_on_escape_key (SearchFilterTool
_tmp2_ = gdk_keyval_name (_tmp1_);
#line 705 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (g_strcmp0 (_tmp2_, "Escape") == 0) {
-#line 7063 "SearchFilter.c"
+#line 7122 "SearchFilter.c"
TextAction* _tmp3_ = NULL;
#line 706 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp3_ = self->priv->action;
#line 706 "/home/jens/Source/shotwell/src/SearchFilter.vala"
text_action_clear (_tmp3_);
-#line 7069 "SearchFilter.c"
+#line 7128 "SearchFilter.c"
}
#line 710 "/home/jens/Source/shotwell/src/SearchFilter.vala"
result = FALSE;
#line 710 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 7075 "SearchFilter.c"
+#line 7134 "SearchFilter.c"
}
@@ -7133,7 +7192,7 @@ static void search_filter_toolbar_search_box_on_action_text_changed (SearchFilte
_tmp14_ = _tmp13_;
#line 718 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_connect_object (_tmp14_, "inserted-text", (GCallback) _search_filter_toolbar_search_box_on_entry_changed_gtk_entry_buffer_inserted_text, self, 0);
-#line 7137 "SearchFilter.c"
+#line 7196 "SearchFilter.c"
}
@@ -7164,7 +7223,7 @@ static void search_filter_toolbar_search_box_on_entry_changed (SearchFilterToolb
_tmp5_ = self->priv->action;
#line 724 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_connect_object (_tmp5_, "text-changed", (GCallback) _search_filter_toolbar_search_box_on_action_text_changed_text_action_text_changed, self, 0);
-#line 7168 "SearchFilter.c"
+#line 7227 "SearchFilter.c"
}
@@ -7176,7 +7235,7 @@ static void search_filter_toolbar_search_box_on_sensitivity_changed (SearchFilte
_tmp0_ = sensitive;
#line 728 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), _tmp0_);
-#line 7180 "SearchFilter.c"
+#line 7239 "SearchFilter.c"
}
@@ -7188,7 +7247,7 @@ static void search_filter_toolbar_search_box_on_visibility_changed (SearchFilter
_tmp0_ = visible;
#line 732 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_widget_set_visible (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), _tmp0_);
-#line 7192 "SearchFilter.c"
+#line 7251 "SearchFilter.c"
}
@@ -7202,23 +7261,23 @@ static void search_filter_toolbar_search_box_set_nullable_text (SearchFilterTool
_tmp1_ = text;
#line 736 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp1_ != NULL) {
-#line 7206 "SearchFilter.c"
+#line 7265 "SearchFilter.c"
const gchar* _tmp2_ = NULL;
#line 736 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = text;
#line 736 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = _tmp2_;
-#line 7212 "SearchFilter.c"
+#line 7271 "SearchFilter.c"
} else {
#line 736 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = "";
-#line 7216 "SearchFilter.c"
+#line 7275 "SearchFilter.c"
}
#line 736 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp3_ = self->priv->search_entry;
#line 736 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_entry_set_text (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_entry_get_type (), GtkEntry), _tmp0_);
-#line 7222 "SearchFilter.c"
+#line 7281 "SearchFilter.c"
}
@@ -7229,14 +7288,14 @@ static void search_filter_toolbar_search_box_class_init (SearchFilterToolbarSear
g_type_class_add_private (klass, sizeof (SearchFilterToolbarSearchBoxPrivate));
#line 667 "/home/jens/Source/shotwell/src/SearchFilter.vala"
G_OBJECT_CLASS (klass)->finalize = search_filter_toolbar_search_box_finalize;
-#line 7233 "SearchFilter.c"
+#line 7292 "SearchFilter.c"
}
static void search_filter_toolbar_search_box_instance_init (SearchFilterToolbarSearchBox * self) {
#line 667 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv = SEARCH_FILTER_TOOLBAR_SEARCH_BOX_GET_PRIVATE (self);
-#line 7240 "SearchFilter.c"
+#line 7299 "SearchFilter.c"
}
@@ -7302,7 +7361,7 @@ static void search_filter_toolbar_search_box_finalize (GObject* obj) {
_text_action_unref0 (self->priv->action);
#line 667 "/home/jens/Source/shotwell/src/SearchFilter.vala"
G_OBJECT_CLASS (search_filter_toolbar_search_box_parent_class)->finalize (obj);
-#line 7306 "SearchFilter.c"
+#line 7365 "SearchFilter.c"
}
@@ -7378,14 +7437,14 @@ SearchFilterToolbarRatingFilterButton* search_filter_toolbar_rating_filter_butto
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 744 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return self;
-#line 7382 "SearchFilter.c"
+#line 7441 "SearchFilter.c"
}
SearchFilterToolbarRatingFilterButton* search_filter_toolbar_rating_filter_button_new (GMenuModel* model) {
#line 744 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return search_filter_toolbar_rating_filter_button_construct (SEARCH_FILTER_TOOLBAR_TYPE_RATING_FILTER_BUTTON, model);
-#line 7389 "SearchFilter.c"
+#line 7448 "SearchFilter.c"
}
@@ -7411,7 +7470,7 @@ static GtkWidget* search_filter_toolbar_rating_filter_button_get_filter_icon (Se
switch (_tmp0_) {
#line 761 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_REJECTED_OR_HIGHER:
-#line 7415 "SearchFilter.c"
+#line 7474 "SearchFilter.c"
{
gchar* _tmp1_ = NULL;
#line 763 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -7422,11 +7481,11 @@ static GtkWidget* search_filter_toolbar_rating_filter_button_get_filter_icon (Se
filename = _tmp1_;
#line 764 "/home/jens/Source/shotwell/src/SearchFilter.vala"
break;
-#line 7426 "SearchFilter.c"
+#line 7485 "SearchFilter.c"
}
#line 761 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_REJECTED_ONLY:
-#line 7430 "SearchFilter.c"
+#line 7489 "SearchFilter.c"
{
gchar* _tmp2_ = NULL;
#line 767 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -7437,12 +7496,12 @@ static GtkWidget* search_filter_toolbar_rating_filter_button_get_filter_icon (Se
filename = _tmp2_;
#line 768 "/home/jens/Source/shotwell/src/SearchFilter.vala"
break;
-#line 7441 "SearchFilter.c"
+#line 7500 "SearchFilter.c"
}
default:
#line 761 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_UNRATED_OR_HIGHER:
-#line 7446 "SearchFilter.c"
+#line 7505 "SearchFilter.c"
{
gchar* _tmp3_ = NULL;
#line 772 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -7453,7 +7512,7 @@ static GtkWidget* search_filter_toolbar_rating_filter_button_get_filter_icon (Se
filename = _tmp3_;
#line 773 "/home/jens/Source/shotwell/src/SearchFilter.vala"
break;
-#line 7457 "SearchFilter.c"
+#line 7516 "SearchFilter.c"
}
}
#line 776 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -7484,7 +7543,7 @@ static GtkWidget* search_filter_toolbar_rating_filter_button_get_filter_icon (Se
_g_free0 (filename);
#line 780 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 7488 "SearchFilter.c"
+#line 7547 "SearchFilter.c"
}
@@ -7508,7 +7567,7 @@ static gint search_filter_toolbar_rating_filter_button_get_filter_icon_size (Sea
switch (_tmp0_) {
#line 788 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_ONE_OR_HIGHER:
-#line 7512 "SearchFilter.c"
+#line 7571 "SearchFilter.c"
{
gint _tmp1_ = 0;
gint _tmp2_ = 0;
@@ -7520,11 +7579,11 @@ static gint search_filter_toolbar_rating_filter_button_get_filter_icon_size (Sea
result = _tmp1_ + _tmp2_;
#line 790 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 7524 "SearchFilter.c"
+#line 7583 "SearchFilter.c"
}
#line 788 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_TWO_OR_HIGHER:
-#line 7528 "SearchFilter.c"
+#line 7587 "SearchFilter.c"
{
gint _tmp3_ = 0;
gint _tmp4_ = 0;
@@ -7536,11 +7595,11 @@ static gint search_filter_toolbar_rating_filter_button_get_filter_icon_size (Sea
result = (_tmp3_ * 2) + _tmp4_;
#line 792 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 7540 "SearchFilter.c"
+#line 7599 "SearchFilter.c"
}
#line 788 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_THREE_OR_HIGHER:
-#line 7544 "SearchFilter.c"
+#line 7603 "SearchFilter.c"
{
gint _tmp5_ = 0;
gint _tmp6_ = 0;
@@ -7552,11 +7611,11 @@ static gint search_filter_toolbar_rating_filter_button_get_filter_icon_size (Sea
result = (_tmp5_ * 3) + _tmp6_;
#line 794 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 7556 "SearchFilter.c"
+#line 7615 "SearchFilter.c"
}
#line 788 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_FOUR_OR_HIGHER:
-#line 7560 "SearchFilter.c"
+#line 7619 "SearchFilter.c"
{
gint _tmp7_ = 0;
gint _tmp8_ = 0;
@@ -7568,13 +7627,13 @@ static gint search_filter_toolbar_rating_filter_button_get_filter_icon_size (Sea
result = (_tmp7_ * 4) + _tmp8_;
#line 796 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 7572 "SearchFilter.c"
+#line 7631 "SearchFilter.c"
}
#line 788 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_FIVE_OR_HIGHER:
#line 788 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_FIVE_ONLY:
-#line 7578 "SearchFilter.c"
+#line 7637 "SearchFilter.c"
{
gint _tmp9_ = 0;
#line 799 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -7583,37 +7642,37 @@ static gint search_filter_toolbar_rating_filter_button_get_filter_icon_size (Sea
result = _tmp9_ * 5;
#line 799 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 7587 "SearchFilter.c"
+#line 7646 "SearchFilter.c"
}
#line 788 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_REJECTED_OR_HIGHER:
-#line 7591 "SearchFilter.c"
+#line 7650 "SearchFilter.c"
{
#line 801 "/home/jens/Source/shotwell/src/SearchFilter.vala"
result = RESOURCES_ICON_FILTER_REJECTED_OR_BETTER_FIXED_SIZE;
#line 801 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 7597 "SearchFilter.c"
+#line 7656 "SearchFilter.c"
}
#line 788 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_UNRATED_OR_HIGHER:
-#line 7601 "SearchFilter.c"
+#line 7660 "SearchFilter.c"
{
#line 803 "/home/jens/Source/shotwell/src/SearchFilter.vala"
result = RESOURCES_ICON_FILTER_UNRATED_OR_BETTER_FIXED_SIZE;
#line 803 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 7607 "SearchFilter.c"
+#line 7666 "SearchFilter.c"
}
#line 788 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_REJECTED_ONLY:
-#line 7611 "SearchFilter.c"
+#line 7670 "SearchFilter.c"
{
#line 805 "/home/jens/Source/shotwell/src/SearchFilter.vala"
result = icon_plus;
#line 805 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 7617 "SearchFilter.c"
+#line 7676 "SearchFilter.c"
}
default:
{
@@ -7621,7 +7680,7 @@ static gint search_filter_toolbar_rating_filter_button_get_filter_icon_size (Sea
result = icon_base;
#line 807 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 7625 "SearchFilter.c"
+#line 7684 "SearchFilter.c"
}
}
}
@@ -7647,7 +7706,7 @@ void search_filter_toolbar_rating_filter_button_set_filter_icon (SearchFilterToo
switch (_tmp1_) {
#line 813 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_ONE_OR_HIGHER:
-#line 7651 "SearchFilter.c"
+#line 7710 "SearchFilter.c"
{
GtkMenuButton* _tmp2_ = NULL;
const gchar* _tmp3_ = NULL;
@@ -7659,11 +7718,11 @@ void search_filter_toolbar_rating_filter_button_set_filter_icon (SearchFilterToo
gtk_button_set_label (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_button_get_type (), GtkButton), _tmp3_);
#line 816 "/home/jens/Source/shotwell/src/SearchFilter.vala"
break;
-#line 7663 "SearchFilter.c"
+#line 7722 "SearchFilter.c"
}
#line 813 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_TWO_OR_HIGHER:
-#line 7667 "SearchFilter.c"
+#line 7726 "SearchFilter.c"
{
GtkMenuButton* _tmp4_ = NULL;
const gchar* _tmp5_ = NULL;
@@ -7675,11 +7734,11 @@ void search_filter_toolbar_rating_filter_button_set_filter_icon (SearchFilterToo
gtk_button_set_label (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_button_get_type (), GtkButton), _tmp5_);
#line 819 "/home/jens/Source/shotwell/src/SearchFilter.vala"
break;
-#line 7679 "SearchFilter.c"
+#line 7738 "SearchFilter.c"
}
#line 813 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_THREE_OR_HIGHER:
-#line 7683 "SearchFilter.c"
+#line 7742 "SearchFilter.c"
{
GtkMenuButton* _tmp6_ = NULL;
const gchar* _tmp7_ = NULL;
@@ -7691,11 +7750,11 @@ void search_filter_toolbar_rating_filter_button_set_filter_icon (SearchFilterToo
gtk_button_set_label (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, gtk_button_get_type (), GtkButton), _tmp7_);
#line 822 "/home/jens/Source/shotwell/src/SearchFilter.vala"
break;
-#line 7695 "SearchFilter.c"
+#line 7754 "SearchFilter.c"
}
#line 813 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_FOUR_OR_HIGHER:
-#line 7699 "SearchFilter.c"
+#line 7758 "SearchFilter.c"
{
GtkMenuButton* _tmp8_ = NULL;
const gchar* _tmp9_ = NULL;
@@ -7707,13 +7766,13 @@ void search_filter_toolbar_rating_filter_button_set_filter_icon (SearchFilterToo
gtk_button_set_label (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, gtk_button_get_type (), GtkButton), _tmp9_);
#line 825 "/home/jens/Source/shotwell/src/SearchFilter.vala"
break;
-#line 7711 "SearchFilter.c"
+#line 7770 "SearchFilter.c"
}
#line 813 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_FIVE_ONLY:
#line 813 "/home/jens/Source/shotwell/src/SearchFilter.vala"
case RATING_FILTER_FIVE_OR_HIGHER:
-#line 7717 "SearchFilter.c"
+#line 7776 "SearchFilter.c"
{
GtkMenuButton* _tmp10_ = NULL;
const gchar* _tmp11_ = NULL;
@@ -7725,7 +7784,7 @@ void search_filter_toolbar_rating_filter_button_set_filter_icon (SearchFilterToo
gtk_button_set_label (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, gtk_button_get_type (), GtkButton), _tmp11_);
#line 829 "/home/jens/Source/shotwell/src/SearchFilter.vala"
break;
-#line 7729 "SearchFilter.c"
+#line 7788 "SearchFilter.c"
}
default:
{
@@ -7755,7 +7814,7 @@ void search_filter_toolbar_rating_filter_button_set_filter_icon (SearchFilterToo
_g_object_unref0 (_tmp17_);
#line 833 "/home/jens/Source/shotwell/src/SearchFilter.vala"
break;
-#line 7759 "SearchFilter.c"
+#line 7818 "SearchFilter.c"
}
}
#line 836 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -7778,7 +7837,7 @@ void search_filter_toolbar_rating_filter_button_set_filter_icon (SearchFilterToo
gtk_widget_set_has_tooltip (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), TRUE);
#line 839 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
-#line 7782 "SearchFilter.c"
+#line 7841 "SearchFilter.c"
}
@@ -7796,7 +7855,7 @@ static gint search_filter_toolbar_rating_filter_button_get_filter_button_size (S
result = _tmp1_ + (2 * SEARCH_FILTER_TOOLBAR_FILTER_BUTTON_MARGIN);
#line 843 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 7800 "SearchFilter.c"
+#line 7859 "SearchFilter.c"
}
@@ -7813,7 +7872,7 @@ void search_filter_toolbar_rating_filter_button_set_label (SearchFilterToolbarRa
_tmp1_ = label;
#line 847 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_button_set_label (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_button_get_type (), GtkButton), _tmp1_);
-#line 7817 "SearchFilter.c"
+#line 7876 "SearchFilter.c"
}
@@ -7822,7 +7881,7 @@ static void search_filter_toolbar_rating_filter_button_class_init (SearchFilterT
search_filter_toolbar_rating_filter_button_parent_class = g_type_class_peek_parent (klass);
#line 741 "/home/jens/Source/shotwell/src/SearchFilter.vala"
G_OBJECT_CLASS (klass)->finalize = search_filter_toolbar_rating_filter_button_finalize;
-#line 7826 "SearchFilter.c"
+#line 7885 "SearchFilter.c"
}
@@ -7838,7 +7897,7 @@ static void search_filter_toolbar_rating_filter_button_finalize (GObject* obj) {
_g_object_unref0 (self->button);
#line 741 "/home/jens/Source/shotwell/src/SearchFilter.vala"
G_OBJECT_CLASS (search_filter_toolbar_rating_filter_button_parent_class)->finalize (obj);
-#line 7842 "SearchFilter.c"
+#line 7901 "SearchFilter.c"
}
@@ -7857,7 +7916,7 @@ GType search_filter_toolbar_rating_filter_button_get_type (void) {
static void _search_filter_toolbar_saved_search_filter_button_on_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 877 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_saved_search_filter_button_on_clicked ((SearchFilterToolbarSavedSearchFilterButton*) self);
-#line 7861 "SearchFilter.c"
+#line 7920 "SearchFilter.c"
}
@@ -7917,14 +7976,14 @@ SearchFilterToolbarSavedSearchFilterButton* search_filter_toolbar_saved_search_f
_g_object_unref0 (image);
#line 858 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return self;
-#line 7921 "SearchFilter.c"
+#line 7980 "SearchFilter.c"
}
SearchFilterToolbarSavedSearchFilterButton* search_filter_toolbar_saved_search_filter_button_new (void) {
#line 858 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return search_filter_toolbar_saved_search_filter_button_construct (SEARCH_FILTER_TOOLBAR_TYPE_SAVED_SEARCH_FILTER_BUTTON);
-#line 7928 "SearchFilter.c"
+#line 7987 "SearchFilter.c"
}
@@ -7933,7 +7992,7 @@ static void search_filter_toolbar_saved_search_filter_button_on_clicked (SearchF
g_return_if_fail (SEARCH_FILTER_TOOLBAR_IS_SAVED_SEARCH_FILTER_BUTTON (self));
#line 881 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_emit_by_name (self, "clicked");
-#line 7937 "SearchFilter.c"
+#line 7996 "SearchFilter.c"
}
@@ -7948,7 +8007,7 @@ void search_filter_toolbar_saved_search_filter_button_set_active (SearchFilterTo
_tmp1_ = active;
#line 885 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_toggle_button_set_active (_tmp0_, _tmp1_);
-#line 7952 "SearchFilter.c"
+#line 8011 "SearchFilter.c"
}
@@ -7965,7 +8024,7 @@ void search_filter_toolbar_saved_search_filter_button_set_label (SearchFilterToo
_tmp1_ = label;
#line 889 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_button_set_label (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_button_get_type (), GtkButton), _tmp1_);
-#line 7969 "SearchFilter.c"
+#line 8028 "SearchFilter.c"
}
@@ -7982,7 +8041,7 @@ void search_filter_toolbar_saved_search_filter_button_restyle (SearchFilterToolb
_tmp1_ = self->button;
#line 894 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_button_set_relief (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_button_get_type (), GtkButton), GTK_RELIEF_NONE);
-#line 7986 "SearchFilter.c"
+#line 8045 "SearchFilter.c"
}
@@ -7993,14 +8052,14 @@ static void search_filter_toolbar_saved_search_filter_button_class_init (SearchF
G_OBJECT_CLASS (klass)->finalize = search_filter_toolbar_saved_search_filter_button_finalize;
#line 852 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_new ("clicked", SEARCH_FILTER_TOOLBAR_TYPE_SAVED_SEARCH_FILTER_BUTTON, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
-#line 7997 "SearchFilter.c"
+#line 8056 "SearchFilter.c"
}
static void search_filter_toolbar_saved_search_filter_button_instance_init (SearchFilterToolbarSavedSearchFilterButton * self) {
#line 853 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->filter_popup = NULL;
-#line 8004 "SearchFilter.c"
+#line 8063 "SearchFilter.c"
}
@@ -8022,7 +8081,7 @@ static void search_filter_toolbar_saved_search_filter_button_finalize (GObject*
_g_object_unref0 (self->button);
#line 852 "/home/jens/Source/shotwell/src/SearchFilter.vala"
G_OBJECT_CLASS (search_filter_toolbar_saved_search_filter_button_parent_class)->finalize (obj);
-#line 8026 "SearchFilter.c"
+#line 8085 "SearchFilter.c"
}
@@ -8041,35 +8100,35 @@ GType search_filter_toolbar_saved_search_filter_button_get_type (void) {
static void _search_filter_toolbar_saved_search_popover_on_edit_click_search_filter_toolbar_saved_search_popover_data_button_clicked (SearchFilterToolbarSavedSearchPopoverDataButton* _sender, SavedSearch* search, gpointer self) {
#line 979 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_saved_search_popover_on_edit_click ((SearchFilterToolbarSavedSearchPopover*) self, search);
-#line 8045 "SearchFilter.c"
+#line 8104 "SearchFilter.c"
}
static void _search_filter_toolbar_saved_search_popover_on_delete_click_search_filter_toolbar_saved_search_popover_data_button_clicked (SearchFilterToolbarSavedSearchPopoverDataButton* _sender, SavedSearch* search, gpointer self) {
#line 980 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_saved_search_popover_on_delete_click ((SearchFilterToolbarSavedSearchPopover*) self, search);
-#line 8052 "SearchFilter.c"
+#line 8111 "SearchFilter.c"
}
static void _search_filter_toolbar_saved_search_popover_on_add_click_gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 981 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_saved_search_popover_on_add_click ((SearchFilterToolbarSavedSearchPopover*) self);
-#line 8059 "SearchFilter.c"
+#line 8118 "SearchFilter.c"
}
static void _search_filter_toolbar_saved_search_popover_on_activate_row_gtk_list_box_row_activated (GtkListBox* _sender, GtkListBoxRow* row, gpointer self) {
#line 982 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_saved_search_popover_on_activate_row ((SearchFilterToolbarSavedSearchPopover*) self, row);
-#line 8066 "SearchFilter.c"
+#line 8125 "SearchFilter.c"
}
static void _search_filter_toolbar_saved_search_popover_on_popover_closed_gtk_popover_closed (GtkPopover* _sender, gpointer self) {
#line 983 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_saved_search_popover_on_popover_closed ((SearchFilterToolbarSavedSearchPopover*) self);
-#line 8073 "SearchFilter.c"
+#line 8132 "SearchFilter.c"
}
@@ -8080,13 +8139,13 @@ static void _vala_array_add133 (SearchFilterToolbarSavedSearchPopoverDataButton*
*size = (*size) ? (2 * (*size)) : 4;
#line 959 "/home/jens/Source/shotwell/src/SearchFilter.vala"
*array = g_renew (SearchFilterToolbarSavedSearchPopoverDataButton*, *array, (*size) + 1);
-#line 8084 "SearchFilter.c"
+#line 8143 "SearchFilter.c"
}
#line 959 "/home/jens/Source/shotwell/src/SearchFilter.vala"
(*array)[(*length)++] = value;
#line 959 "/home/jens/Source/shotwell/src/SearchFilter.vala"
(*array)[*length] = NULL;
-#line 8090 "SearchFilter.c"
+#line 8149 "SearchFilter.c"
}
@@ -8097,13 +8156,13 @@ static void _vala_array_add134 (SearchFilterToolbarSavedSearchPopoverDataButton*
*size = (*size) ? (2 * (*size)) : 4;
#line 964 "/home/jens/Source/shotwell/src/SearchFilter.vala"
*array = g_renew (SearchFilterToolbarSavedSearchPopoverDataButton*, *array, (*size) + 1);
-#line 8101 "SearchFilter.c"
+#line 8160 "SearchFilter.c"
}
#line 964 "/home/jens/Source/shotwell/src/SearchFilter.vala"
(*array)[(*length)++] = value;
#line 964 "/home/jens/Source/shotwell/src/SearchFilter.vala"
(*array)[*length] = NULL;
-#line 8107 "SearchFilter.c"
+#line 8166 "SearchFilter.c"
}
@@ -8169,7 +8228,7 @@ SearchFilterToolbarSavedSearchPopover* search_filter_toolbar_saved_search_popove
self->priv->delete_buttons_length1 = 0;
#line 947 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->_delete_buttons_size_ = self->priv->delete_buttons_length1;
-#line 8173 "SearchFilter.c"
+#line 8232 "SearchFilter.c"
{
GeeIterator* _search_it = NULL;
SavedSearchTable* _tmp6_ = NULL;
@@ -8198,7 +8257,7 @@ SearchFilterToolbarSavedSearchPopover* search_filter_toolbar_saved_search_popove
_search_it = _tmp11_;
#line 949 "/home/jens/Source/shotwell/src/SearchFilter.vala"
while (TRUE) {
-#line 8202 "SearchFilter.c"
+#line 8261 "SearchFilter.c"
GeeIterator* _tmp12_ = NULL;
gboolean _tmp13_ = FALSE;
SavedSearch* search = NULL;
@@ -8246,7 +8305,7 @@ SearchFilterToolbarSavedSearchPopover* search_filter_toolbar_saved_search_popove
if (!_tmp13_) {
#line 949 "/home/jens/Source/shotwell/src/SearchFilter.vala"
break;
-#line 8250 "SearchFilter.c"
+#line 8309 "SearchFilter.c"
}
#line 949 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp14_ = _search_it;
@@ -8362,11 +8421,11 @@ SearchFilterToolbarSavedSearchPopover* search_filter_toolbar_saved_search_popove
_g_object_unref0 (row);
#line 949 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (search);
-#line 8366 "SearchFilter.c"
+#line 8425 "SearchFilter.c"
}
#line 949 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (_search_it);
-#line 8370 "SearchFilter.c"
+#line 8429 "SearchFilter.c"
}
#line 968 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp44_ = (GtkButton*) gtk_button_new_from_icon_name ("list-add-symbolic", GTK_ICON_SIZE_BUTTON);
@@ -8404,14 +8463,14 @@ SearchFilterToolbarSavedSearchPopover* search_filter_toolbar_saved_search_popove
search_filter_toolbar_saved_search_popover_restyle (self);
#line 942 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return self;
-#line 8408 "SearchFilter.c"
+#line 8467 "SearchFilter.c"
}
SearchFilterToolbarSavedSearchPopover* search_filter_toolbar_saved_search_popover_new (GtkWidget* relative_to) {
#line 942 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return search_filter_toolbar_saved_search_popover_construct (SEARCH_FILTER_TOOLBAR_TYPE_SAVED_SEARCH_POPOVER, relative_to);
-#line 8415 "SearchFilter.c"
+#line 8474 "SearchFilter.c"
}
@@ -8431,7 +8490,7 @@ void search_filter_toolbar_saved_search_popover_restyle (SearchFilterToolbarSave
_tmp1_ = self->priv->edit_buttons;
#line 988 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1__length1 = self->priv->edit_buttons_length1;
-#line 8435 "SearchFilter.c"
+#line 8494 "SearchFilter.c"
{
SearchFilterToolbarSavedSearchPopoverDataButton** button_collection = NULL;
gint button_collection_length1 = 0;
@@ -8443,14 +8502,14 @@ void search_filter_toolbar_saved_search_popover_restyle (SearchFilterToolbarSave
button_collection_length1 = _tmp1__length1;
#line 988 "/home/jens/Source/shotwell/src/SearchFilter.vala"
for (button_it = 0; button_it < _tmp1__length1; button_it = button_it + 1) {
-#line 8447 "SearchFilter.c"
+#line 8506 "SearchFilter.c"
SearchFilterToolbarSavedSearchPopoverDataButton* _tmp2_ = NULL;
SearchFilterToolbarSavedSearchPopoverDataButton* button = NULL;
#line 988 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp2_ = _g_object_ref0 (button_collection[button_it]);
#line 988 "/home/jens/Source/shotwell/src/SearchFilter.vala"
button = _tmp2_;
-#line 8454 "SearchFilter.c"
+#line 8513 "SearchFilter.c"
{
SearchFilterToolbarSavedSearchPopoverDataButton* _tmp3_ = NULL;
#line 988 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -8459,7 +8518,7 @@ void search_filter_toolbar_saved_search_popover_restyle (SearchFilterToolbarSave
search_filter_toolbar_saved_search_popover_data_button_restyle (_tmp3_);
#line 988 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (button);
-#line 8463 "SearchFilter.c"
+#line 8522 "SearchFilter.c"
}
}
}
@@ -8467,7 +8526,7 @@ void search_filter_toolbar_saved_search_popover_restyle (SearchFilterToolbarSave
_tmp4_ = self->priv->delete_buttons;
#line 989 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp4__length1 = self->priv->delete_buttons_length1;
-#line 8471 "SearchFilter.c"
+#line 8530 "SearchFilter.c"
{
SearchFilterToolbarSavedSearchPopoverDataButton** button_collection = NULL;
gint button_collection_length1 = 0;
@@ -8479,14 +8538,14 @@ void search_filter_toolbar_saved_search_popover_restyle (SearchFilterToolbarSave
button_collection_length1 = _tmp4__length1;
#line 989 "/home/jens/Source/shotwell/src/SearchFilter.vala"
for (button_it = 0; button_it < _tmp4__length1; button_it = button_it + 1) {
-#line 8483 "SearchFilter.c"
+#line 8542 "SearchFilter.c"
SearchFilterToolbarSavedSearchPopoverDataButton* _tmp5_ = NULL;
SearchFilterToolbarSavedSearchPopoverDataButton* button = NULL;
#line 989 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp5_ = _g_object_ref0 (button_collection[button_it]);
#line 989 "/home/jens/Source/shotwell/src/SearchFilter.vala"
button = _tmp5_;
-#line 8490 "SearchFilter.c"
+#line 8549 "SearchFilter.c"
{
SearchFilterToolbarSavedSearchPopoverDataButton* _tmp6_ = NULL;
#line 989 "/home/jens/Source/shotwell/src/SearchFilter.vala"
@@ -8495,7 +8554,7 @@ void search_filter_toolbar_saved_search_popover_restyle (SearchFilterToolbarSave
search_filter_toolbar_saved_search_popover_data_button_restyle (_tmp6_);
#line 989 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (button);
-#line 8499 "SearchFilter.c"
+#line 8558 "SearchFilter.c"
}
}
}
@@ -8523,7 +8582,7 @@ static gboolean search_filter_toolbar_saved_search_popover_is_search_row (Search
result = FALSE;
#line 993 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 8527 "SearchFilter.c"
+#line 8586 "SearchFilter.c"
}
#line 994 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = row;
@@ -8545,13 +8604,13 @@ static gboolean search_filter_toolbar_saved_search_popover_is_search_row (Search
result = FALSE;
#line 994 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 8549 "SearchFilter.c"
+#line 8608 "SearchFilter.c"
}
#line 995 "/home/jens/Source/shotwell/src/SearchFilter.vala"
result = TRUE;
#line 995 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 8555 "SearchFilter.c"
+#line 8614 "SearchFilter.c"
}
@@ -8622,7 +8681,7 @@ static SavedSearch* search_filter_toolbar_saved_search_popover_get_search (Searc
_g_object_unref0 (button);
#line 1000 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 8626 "SearchFilter.c"
+#line 8685 "SearchFilter.c"
}
@@ -8640,7 +8699,7 @@ static void search_filter_toolbar_saved_search_popover_on_activate_row (SearchFi
_tmp1_ = search_filter_toolbar_saved_search_popover_is_search_row (self, _tmp0_);
#line 1004 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (_tmp1_) {
-#line 8644 "SearchFilter.c"
+#line 8703 "SearchFilter.c"
GtkListBoxRow* _tmp2_ = NULL;
SavedSearch* _tmp3_ = NULL;
SavedSearch* _tmp4_ = NULL;
@@ -8654,13 +8713,13 @@ static void search_filter_toolbar_saved_search_popover_on_activate_row (SearchFi
g_signal_emit_by_name (self, "search-activated", _tmp4_);
#line 1005 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (_tmp4_);
-#line 8658 "SearchFilter.c"
+#line 8717 "SearchFilter.c"
}
#line 1006 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp5_ = self->priv->popover;
#line 1006 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_widget_hide (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_widget_get_type (), GtkWidget));
-#line 8664 "SearchFilter.c"
+#line 8723 "SearchFilter.c"
}
@@ -8674,7 +8733,7 @@ static void search_filter_toolbar_saved_search_popover_on_edit_click (SearchFilt
_tmp0_ = search;
#line 1010 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_emit_by_name (self, "edit-clicked", _tmp0_);
-#line 8678 "SearchFilter.c"
+#line 8737 "SearchFilter.c"
}
@@ -8688,7 +8747,7 @@ static void search_filter_toolbar_saved_search_popover_on_delete_click (SearchFi
_tmp0_ = search;
#line 1014 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_emit_by_name (self, "delete-clicked", _tmp0_);
-#line 8692 "SearchFilter.c"
+#line 8751 "SearchFilter.c"
}
@@ -8697,7 +8756,7 @@ static void search_filter_toolbar_saved_search_popover_on_add_click (SearchFilte
g_return_if_fail (SEARCH_FILTER_TOOLBAR_IS_SAVED_SEARCH_POPOVER (self));
#line 1018 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_emit_by_name (self, "add-clicked");
-#line 8701 "SearchFilter.c"
+#line 8760 "SearchFilter.c"
}
@@ -8706,7 +8765,7 @@ static void search_filter_toolbar_saved_search_popover_on_popover_closed (Search
g_return_if_fail (SEARCH_FILTER_TOOLBAR_IS_SAVED_SEARCH_POPOVER (self));
#line 1022 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_emit_by_name (self, "closed");
-#line 8710 "SearchFilter.c"
+#line 8769 "SearchFilter.c"
}
@@ -8718,7 +8777,7 @@ void search_filter_toolbar_saved_search_popover_show_all (SearchFilterToolbarSav
_tmp0_ = self->priv->popover;
#line 1026 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget));
-#line 8722 "SearchFilter.c"
+#line 8781 "SearchFilter.c"
}
@@ -8730,14 +8789,14 @@ void search_filter_toolbar_saved_search_popover_hide (SearchFilterToolbarSavedSe
_tmp0_ = self->priv->popover;
#line 1030 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_widget_hide (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget));
-#line 8734 "SearchFilter.c"
+#line 8793 "SearchFilter.c"
}
static void _search_filter_toolbar_saved_search_popover_data_button_on_click_gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 929 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_saved_search_popover_data_button_on_click ((SearchFilterToolbarSavedSearchPopoverDataButton*) self);
-#line 8741 "SearchFilter.c"
+#line 8800 "SearchFilter.c"
}
@@ -8780,14 +8839,14 @@ static SearchFilterToolbarSavedSearchPopoverDataButton* search_filter_toolbar_sa
g_signal_connect_object (_tmp4_, "clicked", (GCallback) _search_filter_toolbar_saved_search_popover_data_button_on_click_gtk_button_clicked, self, 0);
#line 918 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return self;
-#line 8784 "SearchFilter.c"
+#line 8843 "SearchFilter.c"
}
static SearchFilterToolbarSavedSearchPopoverDataButton* search_filter_toolbar_saved_search_popover_data_button_new (SavedSearch* search, const gchar* name) {
#line 918 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return search_filter_toolbar_saved_search_popover_data_button_construct (SEARCH_FILTER_TOOLBAR_SAVED_SEARCH_POPOVER_TYPE_DATA_BUTTON, search, name);
-#line 8791 "SearchFilter.c"
+#line 8850 "SearchFilter.c"
}
@@ -8804,7 +8863,7 @@ static void search_filter_toolbar_saved_search_popover_data_button_restyle (Sear
_tmp1_ = self->priv->button;
#line 934 "/home/jens/Source/shotwell/src/SearchFilter.vala"
gtk_button_set_relief (_tmp1_, GTK_RELIEF_NONE);
-#line 8808 "SearchFilter.c"
+#line 8867 "SearchFilter.c"
}
@@ -8816,7 +8875,7 @@ static void search_filter_toolbar_saved_search_popover_data_button_on_click (Sea
_tmp0_ = self->priv->_search;
#line 938 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_emit_by_name (self, "clicked", _tmp0_);
-#line 8820 "SearchFilter.c"
+#line 8879 "SearchFilter.c"
}
@@ -8831,7 +8890,7 @@ static SavedSearch* search_filter_toolbar_saved_search_popover_data_button_get_s
result = _tmp0_;
#line 914 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return result;
-#line 8835 "SearchFilter.c"
+#line 8894 "SearchFilter.c"
}
@@ -8850,7 +8909,7 @@ static void search_filter_toolbar_saved_search_popover_data_button_set_search (S
self->priv->_search = _tmp1_;
#line 914 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_object_notify ((GObject *) self, "search");
-#line 8854 "SearchFilter.c"
+#line 8913 "SearchFilter.c"
}
@@ -8869,7 +8928,7 @@ static void search_filter_toolbar_saved_search_popover_data_button_class_init (S
g_object_class_install_property (G_OBJECT_CLASS (klass), SEARCH_FILTER_TOOLBAR_SAVED_SEARCH_POPOVER_DATA_BUTTON_SEARCH, g_param_spec_object ("search", "search", "search", TYPE_SAVED_SEARCH, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 912 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_new ("clicked", SEARCH_FILTER_TOOLBAR_SAVED_SEARCH_POPOVER_TYPE_DATA_BUTTON, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__OBJECT, G_TYPE_NONE, 1, TYPE_SAVED_SEARCH);
-#line 8873 "SearchFilter.c"
+#line 8932 "SearchFilter.c"
}
@@ -8878,7 +8937,7 @@ static void search_filter_toolbar_saved_search_popover_data_button_instance_init
self->priv = SEARCH_FILTER_TOOLBAR_SAVED_SEARCH_POPOVER_DATA_BUTTON_GET_PRIVATE (self);
#line 913 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->button = NULL;
-#line 8882 "SearchFilter.c"
+#line 8941 "SearchFilter.c"
}
@@ -8900,7 +8959,7 @@ static void search_filter_toolbar_saved_search_popover_data_button_finalize (GOb
_g_object_unref0 (self->priv->_search);
#line 912 "/home/jens/Source/shotwell/src/SearchFilter.vala"
G_OBJECT_CLASS (search_filter_toolbar_saved_search_popover_data_button_parent_class)->finalize (obj);
-#line 8904 "SearchFilter.c"
+#line 8963 "SearchFilter.c"
}
@@ -8927,13 +8986,13 @@ static void _vala_search_filter_toolbar_saved_search_popover_data_button_get_pro
g_value_set_object (value, search_filter_toolbar_saved_search_popover_data_button_get_search (self));
#line 912 "/home/jens/Source/shotwell/src/SearchFilter.vala"
break;
-#line 8931 "SearchFilter.c"
+#line 8990 "SearchFilter.c"
default:
#line 912 "/home/jens/Source/shotwell/src/SearchFilter.vala"
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 912 "/home/jens/Source/shotwell/src/SearchFilter.vala"
break;
-#line 8937 "SearchFilter.c"
+#line 8996 "SearchFilter.c"
}
}
@@ -8949,13 +9008,13 @@ static void _vala_search_filter_toolbar_saved_search_popover_data_button_set_pro
search_filter_toolbar_saved_search_popover_data_button_set_search (self, g_value_get_object (value));
#line 912 "/home/jens/Source/shotwell/src/SearchFilter.vala"
break;
-#line 8953 "SearchFilter.c"
+#line 9012 "SearchFilter.c"
default:
#line 912 "/home/jens/Source/shotwell/src/SearchFilter.vala"
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 912 "/home/jens/Source/shotwell/src/SearchFilter.vala"
break;
-#line 8959 "SearchFilter.c"
+#line 9018 "SearchFilter.c"
}
}
@@ -8963,7 +9022,7 @@ static void _vala_search_filter_toolbar_saved_search_popover_data_button_set_pro
static void search_filter_toolbar_value_saved_search_popover_init (GValue* value) {
#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
value->data[0].v_pointer = NULL;
-#line 8967 "SearchFilter.c"
+#line 9026 "SearchFilter.c"
}
@@ -8972,7 +9031,7 @@ static void search_filter_toolbar_value_saved_search_popover_free_value (GValue*
if (value->data[0].v_pointer) {
#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_saved_search_popover_unref (value->data[0].v_pointer);
-#line 8976 "SearchFilter.c"
+#line 9035 "SearchFilter.c"
}
}
@@ -8982,11 +9041,11 @@ static void search_filter_toolbar_value_saved_search_popover_copy_value (const G
if (src_value->data[0].v_pointer) {
#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
dest_value->data[0].v_pointer = search_filter_toolbar_saved_search_popover_ref (src_value->data[0].v_pointer);
-#line 8986 "SearchFilter.c"
+#line 9045 "SearchFilter.c"
} else {
#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
dest_value->data[0].v_pointer = NULL;
-#line 8990 "SearchFilter.c"
+#line 9049 "SearchFilter.c"
}
}
@@ -8994,37 +9053,37 @@ static void search_filter_toolbar_value_saved_search_popover_copy_value (const G
static gpointer search_filter_toolbar_value_saved_search_popover_peek_pointer (const GValue* value) {
#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return value->data[0].v_pointer;
-#line 8998 "SearchFilter.c"
+#line 9057 "SearchFilter.c"
}
static gchar* search_filter_toolbar_value_saved_search_popover_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (collect_values[0].v_pointer) {
-#line 9005 "SearchFilter.c"
+#line 9064 "SearchFilter.c"
SearchFilterToolbarSavedSearchPopover* object;
object = collect_values[0].v_pointer;
#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (object->parent_instance.g_class == NULL) {
#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 9012 "SearchFilter.c"
+#line 9071 "SearchFilter.c"
} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
#line 898 "/home/jens/Source/shotwell/src/SearchFilter.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 9016 "SearchFilter.c"
+#line 9075 "SearchFilter.c"
}
#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
value->data[0].v_pointer = search_filter_toolbar_saved_search_popover_ref (object);
-#line 9020 "SearchFilter.c"
+#line 9079 "SearchFilter.c"
} else {
#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
value->data[0].v_pointer = NULL;
-#line 9024 "SearchFilter.c"
+#line 9083 "SearchFilter.c"
}
#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return NULL;
-#line 9028 "SearchFilter.c"
+#line 9087 "SearchFilter.c"
}
@@ -9035,25 +9094,25 @@ static gchar* search_filter_toolbar_value_saved_search_popover_lcopy_value (cons
if (!object_p) {
#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
-#line 9039 "SearchFilter.c"
+#line 9098 "SearchFilter.c"
}
#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (!value->data[0].v_pointer) {
#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
*object_p = NULL;
-#line 9045 "SearchFilter.c"
+#line 9104 "SearchFilter.c"
} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
*object_p = value->data[0].v_pointer;
-#line 9049 "SearchFilter.c"
+#line 9108 "SearchFilter.c"
} else {
#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
*object_p = search_filter_toolbar_saved_search_popover_ref (value->data[0].v_pointer);
-#line 9053 "SearchFilter.c"
+#line 9112 "SearchFilter.c"
}
#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return NULL;
-#line 9057 "SearchFilter.c"
+#line 9116 "SearchFilter.c"
}
@@ -9067,7 +9126,7 @@ GParamSpec* search_filter_toolbar_param_spec_saved_search_popover (const gchar*
G_PARAM_SPEC (spec)->value_type = object_type;
#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return G_PARAM_SPEC (spec);
-#line 9071 "SearchFilter.c"
+#line 9130 "SearchFilter.c"
}
@@ -9076,7 +9135,7 @@ gpointer search_filter_toolbar_value_get_saved_search_popover (const GValue* val
g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, SEARCH_FILTER_TOOLBAR_TYPE_SAVED_SEARCH_POPOVER), NULL);
#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return value->data[0].v_pointer;
-#line 9080 "SearchFilter.c"
+#line 9139 "SearchFilter.c"
}
@@ -9096,17 +9155,17 @@ void search_filter_toolbar_value_set_saved_search_popover (GValue* value, gpoint
value->data[0].v_pointer = v_object;
#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_saved_search_popover_ref (value->data[0].v_pointer);
-#line 9100 "SearchFilter.c"
+#line 9159 "SearchFilter.c"
} else {
#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
value->data[0].v_pointer = NULL;
-#line 9104 "SearchFilter.c"
+#line 9163 "SearchFilter.c"
}
#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (old) {
#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_saved_search_popover_unref (old);
-#line 9110 "SearchFilter.c"
+#line 9169 "SearchFilter.c"
}
}
@@ -9125,17 +9184,17 @@ void search_filter_toolbar_value_take_saved_search_popover (GValue* value, gpoin
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
value->data[0].v_pointer = v_object;
-#line 9129 "SearchFilter.c"
+#line 9188 "SearchFilter.c"
} else {
#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
value->data[0].v_pointer = NULL;
-#line 9133 "SearchFilter.c"
+#line 9192 "SearchFilter.c"
}
#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
if (old) {
#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_saved_search_popover_unref (old);
-#line 9139 "SearchFilter.c"
+#line 9198 "SearchFilter.c"
}
}
@@ -9157,7 +9216,7 @@ static void search_filter_toolbar_saved_search_popover_class_init (SearchFilterT
g_signal_new ("add_clicked", SEARCH_FILTER_TOOLBAR_TYPE_SAVED_SEARCH_POPOVER, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_new ("closed", SEARCH_FILTER_TOOLBAR_TYPE_SAVED_SEARCH_POPOVER, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
-#line 9161 "SearchFilter.c"
+#line 9220 "SearchFilter.c"
}
@@ -9184,7 +9243,7 @@ static void search_filter_toolbar_saved_search_popover_instance_init (SearchFilt
self->priv->add = NULL;
#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->ref_count = 1;
-#line 9188 "SearchFilter.c"
+#line 9247 "SearchFilter.c"
}
@@ -9208,7 +9267,7 @@ static void search_filter_toolbar_saved_search_popover_finalize (SearchFilterToo
_tmp0_ = self->priv->edit_buttons;
#line 979 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0__length1 = self->priv->edit_buttons_length1;
-#line 9212 "SearchFilter.c"
+#line 9271 "SearchFilter.c"
{
SearchFilterToolbarSavedSearchPopoverDataButton** button_collection = NULL;
gint button_collection_length1 = 0;
@@ -9220,14 +9279,14 @@ static void search_filter_toolbar_saved_search_popover_finalize (SearchFilterToo
button_collection_length1 = _tmp0__length1;
#line 979 "/home/jens/Source/shotwell/src/SearchFilter.vala"
for (button_it = 0; button_it < _tmp0__length1; button_it = button_it + 1) {
-#line 9224 "SearchFilter.c"
+#line 9283 "SearchFilter.c"
SearchFilterToolbarSavedSearchPopoverDataButton* _tmp1_ = NULL;
SearchFilterToolbarSavedSearchPopoverDataButton* button = NULL;
#line 979 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp1_ = _g_object_ref0 (button_collection[button_it]);
#line 979 "/home/jens/Source/shotwell/src/SearchFilter.vala"
button = _tmp1_;
-#line 9231 "SearchFilter.c"
+#line 9290 "SearchFilter.c"
{
SearchFilterToolbarSavedSearchPopoverDataButton* _tmp2_ = NULL;
guint _tmp3_ = 0U;
@@ -9239,7 +9298,7 @@ static void search_filter_toolbar_saved_search_popover_finalize (SearchFilterToo
g_signal_handlers_disconnect_matched (_tmp2_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp3_, 0, NULL, (GCallback) _search_filter_toolbar_saved_search_popover_on_edit_click_search_filter_toolbar_saved_search_popover_data_button_clicked, self);
#line 979 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (button);
-#line 9243 "SearchFilter.c"
+#line 9302 "SearchFilter.c"
}
}
}
@@ -9247,7 +9306,7 @@ static void search_filter_toolbar_saved_search_popover_finalize (SearchFilterToo
_tmp4_ = self->priv->delete_buttons;
#line 980 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp4__length1 = self->priv->delete_buttons_length1;
-#line 9251 "SearchFilter.c"
+#line 9310 "SearchFilter.c"
{
SearchFilterToolbarSavedSearchPopoverDataButton** button_collection = NULL;
gint button_collection_length1 = 0;
@@ -9259,14 +9318,14 @@ static void search_filter_toolbar_saved_search_popover_finalize (SearchFilterToo
button_collection_length1 = _tmp4__length1;
#line 980 "/home/jens/Source/shotwell/src/SearchFilter.vala"
for (button_it = 0; button_it < _tmp4__length1; button_it = button_it + 1) {
-#line 9263 "SearchFilter.c"
+#line 9322 "SearchFilter.c"
SearchFilterToolbarSavedSearchPopoverDataButton* _tmp5_ = NULL;
SearchFilterToolbarSavedSearchPopoverDataButton* button = NULL;
#line 980 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp5_ = _g_object_ref0 (button_collection[button_it]);
#line 980 "/home/jens/Source/shotwell/src/SearchFilter.vala"
button = _tmp5_;
-#line 9270 "SearchFilter.c"
+#line 9329 "SearchFilter.c"
{
SearchFilterToolbarSavedSearchPopoverDataButton* _tmp6_ = NULL;
guint _tmp7_ = 0U;
@@ -9278,7 +9337,7 @@ static void search_filter_toolbar_saved_search_popover_finalize (SearchFilterToo
g_signal_handlers_disconnect_matched (_tmp6_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp7_, 0, NULL, (GCallback) _search_filter_toolbar_saved_search_popover_on_delete_click_search_filter_toolbar_saved_search_popover_data_button_clicked, self);
#line 980 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (button);
-#line 9282 "SearchFilter.c"
+#line 9341 "SearchFilter.c"
}
}
}
@@ -9310,7 +9369,7 @@ static void search_filter_toolbar_saved_search_popover_finalize (SearchFilterToo
self->priv->delete_buttons = (_vala_array_free (self->priv->delete_buttons, self->priv->delete_buttons_length1, (GDestroyNotify) g_object_unref), NULL);
#line 903 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (self->priv->add);
-#line 9314 "SearchFilter.c"
+#line 9373 "SearchFilter.c"
}
@@ -9335,7 +9394,7 @@ gpointer search_filter_toolbar_saved_search_popover_ref (gpointer instance) {
g_atomic_int_inc (&self->ref_count);
#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
return instance;
-#line 9339 "SearchFilter.c"
+#line 9398 "SearchFilter.c"
}
@@ -9348,19 +9407,19 @@ void search_filter_toolbar_saved_search_popover_unref (gpointer instance) {
SEARCH_FILTER_TOOLBAR_SAVED_SEARCH_POPOVER_GET_CLASS (self)->finalize (self);
#line 898 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_type_free_instance ((GTypeInstance *) self);
-#line 9352 "SearchFilter.c"
+#line 9411 "SearchFilter.c"
}
}
static void search_filter_toolbar_class_init (SearchFilterToolbarClass * klass) {
-#line 603 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 606 "/home/jens/Source/shotwell/src/SearchFilter.vala"
search_filter_toolbar_parent_class = g_type_class_peek_parent (klass);
-#line 603 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 606 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_type_class_add_private (klass, sizeof (SearchFilterToolbarPrivate));
-#line 603 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 606 "/home/jens/Source/shotwell/src/SearchFilter.vala"
G_OBJECT_CLASS (klass)->finalize = search_filter_toolbar_finalize;
-#line 9364 "SearchFilter.c"
+#line 9423 "SearchFilter.c"
}
@@ -9369,7 +9428,7 @@ static void search_filter_toolbar_instance_init (SearchFilterToolbar * self) {
GtkMenuItem* _tmp1_ = NULL;
GtkBuilder* _tmp2_ = NULL;
SearchFilterToolbarSavedSearchFilterButton* _tmp3_ = NULL;
-#line 603 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 606 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv = SEARCH_FILTER_TOOLBAR_GET_PRIVATE (self);
#line 663 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = (GtkMenu*) gtk_menu_new ();
@@ -9399,7 +9458,7 @@ static void search_filter_toolbar_instance_init (SearchFilterToolbar * self) {
self->priv->elide_showing_again = FALSE;
#line 1042 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self->priv->search_filter = NULL;
-#line 9403 "SearchFilter.c"
+#line 9462 "SearchFilter.c"
}
@@ -9423,7 +9482,7 @@ static void search_filter_toolbar_finalize (GObject* obj) {
guint _tmp15_ = 0U;
GtkToolbar* _tmp16_ = NULL;
guint _tmp17_ = 0U;
-#line 603 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 606 "/home/jens/Source/shotwell/src/SearchFilter.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_SEARCH_FILTER_TOOLBAR, SearchFilterToolbar);
#line 1159 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_tmp0_ = self->priv->actions;
@@ -9479,7 +9538,7 @@ static void search_filter_toolbar_finalize (GObject* obj) {
g_signal_parse_name ("popup-context-menu", gtk_toolbar_get_type (), &_tmp17_, NULL, FALSE);
#line 1169 "/home/jens/Source/shotwell/src/SearchFilter.vala"
g_signal_handlers_disconnect_matched (_tmp16_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp17_, 0, NULL, (GCallback) _search_filter_toolbar_on_context_menu_requested_gtk_toolbar_popup_context_menu, self);
-#line 604 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 607 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (self->priv->toolbar);
#line 663 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (self->priv->close_menu);
@@ -9515,9 +9574,9 @@ static void search_filter_toolbar_finalize (GObject* obj) {
_g_object_unref0 (self->priv->sepr_flagged_rating);
#line 1050 "/home/jens/Source/shotwell/src/SearchFilter.vala"
_g_object_unref0 (self->priv->sepr_rating_saved);
-#line 603 "/home/jens/Source/shotwell/src/SearchFilter.vala"
+#line 606 "/home/jens/Source/shotwell/src/SearchFilter.vala"
G_OBJECT_CLASS (search_filter_toolbar_parent_class)->finalize (obj);
-#line 9521 "SearchFilter.c"
+#line 9580 "SearchFilter.c"
}
diff --git a/src/SearchFilter.vala b/src/SearchFilter.vala
index a080884..3429c02 100644
--- a/src/SearchFilter.vala
+++ b/src/SearchFilter.vala
@@ -436,12 +436,12 @@ public class SearchFilterActions {
}
public void reset() {
- rating.set_enabled (false);
- photos.set_enabled (false);
- raw.set_enabled (false);
- videos.set_enabled (false);
- Variant v = "'%d'".printf (RatingFilter.UNRATED_OR_HIGHER);
- rating.set_state (v);
+ flagged.change_state (false);
+ photos.change_state (false);
+ raw.change_state (false);
+ videos.change_state (false);
+ Variant v = "%d".printf (RatingFilter.UNRATED_OR_HIGHER);
+ rating.change_state (v);
text.set_text(null);
}
@@ -554,8 +554,11 @@ public class SearchFilterActions {
private void on_rating_changed (GLib.SimpleAction action,
GLib.Variant value) {
- action.set_state (value);
+ if (value.get_string () == action.get_state().get_string ())
+ return;
+
var filter = (RatingFilter) int.parse (value.get_string ());
+ action.set_state (value);
rating_changed(filter);
}
@@ -643,10 +646,7 @@ public class SearchFilterToolbar : Gtk.Revealer {
public void set_icon_name(string icon_name) {
Gtk.Image? image = null;
button.set_always_show_image(true);
- if (icon_name.contains("disabled"))
- image = new Gtk.Image.from_stock(icon_name, Gtk.IconSize.SMALL_TOOLBAR);
- else
- image = new Gtk.Image.from_icon_name(icon_name, Gtk.IconSize.SMALL_TOOLBAR);
+ image = new Gtk.Image.from_icon_name(icon_name, Gtk.IconSize.SMALL_TOOLBAR);
image.set_margin_end(6);
button.set_image(image);
}
@@ -1212,7 +1212,7 @@ public class SearchFilterToolbar : Gtk.Revealer {
// Could we find the appropriate action?
if(action != null) {
// Yes, hide the search bar.
- action.set_state(false);
+ action.change_state(false);
}
}
@@ -1247,7 +1247,7 @@ public class SearchFilterToolbar : Gtk.Revealer {
// Could we find the appropriate action?
if(action != null) {
- action.set_state(true);
+ action.change_state(true);
}
update();
diff --git a/src/SlideshowPage.c b/src/SlideshowPage.c
index 8fce3ed..70feead 100644
--- a/src/SlideshowPage.c
+++ b/src/SlideshowPage.c
@@ -1,4 +1,4 @@
-/* SlideshowPage.c generated by valac 0.34.2, the Vala compiler
+/* SlideshowPage.c generated by valac 0.32.1, the Vala compiler
* generated from SlideshowPage.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -1106,7 +1106,7 @@ static gboolean slideshow_page_get_next_photo (SlideshowPage* self, Photo* start
#line 225 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1109 "SlideshowPage.c"
- goto __catch460_g_error;
+ goto __catch458_g_error;
}
#line 225 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
_tmp7_ = _tmp3_;
@@ -1120,8 +1120,8 @@ static gboolean slideshow_page_get_next_photo (SlideshowPage* self, Photo* start
_g_object_unref0 (_tmp3_);
#line 1122 "SlideshowPage.c"
}
- goto __finally460;
- __catch460_g_error:
+ goto __finally458;
+ __catch458_g_error:
{
GError* err = NULL;
Photo* _tmp8_ = NULL;
@@ -1330,7 +1330,7 @@ static gboolean slideshow_page_get_next_photo (SlideshowPage* self, Photo* start
continue;
#line 1332 "SlideshowPage.c"
}
- __finally460:
+ __finally458:
#line 223 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 223 "/home/jens/Source/shotwell/src/SlideshowPage.vala"
diff --git a/src/SortedList.c b/src/SortedList.c
index 5704642..85f22a9 100644
--- a/src/SortedList.c
+++ b/src/SortedList.c
@@ -1,4 +1,4 @@
-/* SortedList.c generated by valac 0.34.2, the Vala compiler
+/* SortedList.c generated by valac 0.32.1, the Vala compiler
* generated from SortedList.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -130,13 +130,13 @@ gint64 file_comparator (void* a, void* b) {
#line 12 "/home/jens/Source/shotwell/src/SortedList.vala"
_tmp0_ = a;
#line 12 "/home/jens/Source/shotwell/src/SortedList.vala"
- _tmp1_ = g_file_get_path (G_TYPE_CHECK_INSTANCE_CAST ((GFile*) _tmp0_, g_file_get_type (), GFile));
+ _tmp1_ = g_file_get_path (G_TYPE_CHECK_INSTANCE_CAST ((GFile*) _tmp0_, G_TYPE_FILE, GFile));
#line 12 "/home/jens/Source/shotwell/src/SortedList.vala"
path_a = _tmp1_;
#line 13 "/home/jens/Source/shotwell/src/SortedList.vala"
_tmp2_ = b;
#line 13 "/home/jens/Source/shotwell/src/SortedList.vala"
- _tmp3_ = g_file_get_path (G_TYPE_CHECK_INSTANCE_CAST ((GFile*) _tmp2_, g_file_get_type (), GFile));
+ _tmp3_ = g_file_get_path (G_TYPE_CHECK_INSTANCE_CAST ((GFile*) _tmp2_, G_TYPE_FILE, GFile));
#line 13 "/home/jens/Source/shotwell/src/SortedList.vala"
path_b = _tmp3_;
#line 16 "/home/jens/Source/shotwell/src/SortedList.vala"
diff --git a/src/Tag.c b/src/Tag.c
index 4813ce0..db41ec9 100644
--- a/src/Tag.c
+++ b/src/Tag.c
@@ -1,4 +1,4 @@
-/* Tag.c generated by valac 0.34.2, the Vala compiler
+/* Tag.c generated by valac 0.32.1, the Vala compiler
* generated from Tag.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -3240,7 +3240,7 @@ void tag_init (ProgressMonitor monitor, void* monitor_target) {
#line 393 "/home/jens/Source/shotwell/src/Tag.vala"
if (_inner_error_->domain == DATABASE_ERROR) {
#line 3243 "Tag.c"
- goto __catch469_database_error;
+ goto __catch467_database_error;
}
#line 393 "/home/jens/Source/shotwell/src/Tag.vala"
_g_object_unref0 (rows);
@@ -3264,8 +3264,8 @@ void tag_init (ProgressMonitor monitor, void* monitor_target) {
_g_object_unref0 (_tmp1_);
#line 3266 "Tag.c"
}
- goto __finally469;
- __catch469_database_error:
+ goto __finally467;
+ __catch467_database_error:
{
GError* err = NULL;
GError* _tmp7_ = NULL;
@@ -3281,7 +3281,7 @@ void tag_init (ProgressMonitor monitor, void* monitor_target) {
_g_error_free0 (err);
#line 3283 "Tag.c"
}
- __finally469:
+ __finally467:
#line 392 "/home/jens/Source/shotwell/src/Tag.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 392 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -3423,7 +3423,7 @@ void tag_init (ProgressMonitor monitor, void* monitor_target) {
#line 418 "/home/jens/Source/shotwell/src/Tag.vala"
if (_inner_error_->domain == DATABASE_ERROR) {
#line 3426 "Tag.c"
- goto __catch470_database_error;
+ goto __catch468_database_error;
}
#line 418 "/home/jens/Source/shotwell/src/Tag.vala"
_g_free0 (name);
@@ -3444,8 +3444,8 @@ void tag_init (ProgressMonitor monitor, void* monitor_target) {
#line 3445 "Tag.c"
}
}
- goto __finally470;
- __catch470_database_error:
+ goto __finally468;
+ __catch468_database_error:
{
GError* err = NULL;
TagRow* _tmp30_ = NULL;
@@ -3470,7 +3470,7 @@ void tag_init (ProgressMonitor monitor, void* monitor_target) {
_g_error_free0 (err);
#line 3472 "Tag.c"
}
- __finally470:
+ __finally468:
#line 417 "/home/jens/Source/shotwell/src/Tag.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 417 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -4577,7 +4577,7 @@ Tag* tag_for_path (const gchar* name) {
#line 563 "/home/jens/Source/shotwell/src/Tag.vala"
if (_inner_error_->domain == DATABASE_ERROR) {
#line 4580 "Tag.c"
- goto __catch471_database_error;
+ goto __catch469_database_error;
}
#line 563 "/home/jens/Source/shotwell/src/Tag.vala"
_g_object_unref0 (tag);
@@ -4599,8 +4599,8 @@ Tag* tag_for_path (const gchar* name) {
_tag_row_unref0 (_tmp8_);
#line 4601 "Tag.c"
}
- goto __finally471;
- __catch471_database_error:
+ goto __finally469;
+ __catch469_database_error:
{
GError* err = NULL;
GError* _tmp15_ = NULL;
@@ -4616,7 +4616,7 @@ Tag* tag_for_path (const gchar* name) {
_g_error_free0 (err);
#line 4618 "Tag.c"
}
- __finally471:
+ __finally469:
#line 562 "/home/jens/Source/shotwell/src/Tag.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 562 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -5532,7 +5532,7 @@ static void tag_set_raw_flat_name (Tag* self, const gchar* name) {
#line 678 "/home/jens/Source/shotwell/src/Tag.vala"
if (_inner_error_->domain == DATABASE_ERROR) {
#line 5535 "Tag.c"
- goto __catch472_database_error;
+ goto __catch470_database_error;
}
#line 678 "/home/jens/Source/shotwell/src/Tag.vala"
_g_free0 (prepped_name);
@@ -5545,8 +5545,8 @@ static void tag_set_raw_flat_name (Tag* self, const gchar* name) {
#line 5546 "Tag.c"
}
}
- goto __finally472;
- __catch472_database_error:
+ goto __finally470;
+ __catch470_database_error:
{
GError* err = NULL;
GError* _tmp10_ = NULL;
@@ -5566,7 +5566,7 @@ static void tag_set_raw_flat_name (Tag* self, const gchar* name) {
return;
#line 5568 "Tag.c"
}
- __finally472:
+ __finally470:
#line 677 "/home/jens/Source/shotwell/src/Tag.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 677 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -5678,7 +5678,7 @@ static void tag_set_raw_path (Tag* self, const gchar* path, gboolean suppress_no
#line 700 "/home/jens/Source/shotwell/src/Tag.vala"
if (_inner_error_->domain == DATABASE_ERROR) {
#line 5681 "Tag.c"
- goto __catch473_database_error;
+ goto __catch471_database_error;
}
#line 700 "/home/jens/Source/shotwell/src/Tag.vala"
_g_free0 (prepped_path);
@@ -5691,8 +5691,8 @@ static void tag_set_raw_path (Tag* self, const gchar* path, gboolean suppress_no
#line 5692 "Tag.c"
}
}
- goto __finally473;
- __catch473_database_error:
+ goto __finally471;
+ __catch471_database_error:
{
GError* err = NULL;
GError* _tmp13_ = NULL;
@@ -5712,7 +5712,7 @@ static void tag_set_raw_path (Tag* self, const gchar* path, gboolean suppress_no
return;
#line 5714 "Tag.c"
}
- __finally473:
+ __finally471:
#line 699 "/home/jens/Source/shotwell/src/Tag.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 699 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -7069,7 +7069,7 @@ Tag* tag_reconstitute (gint64 object_id, TagRow* row) {
#line 900 "/home/jens/Source/shotwell/src/Tag.vala"
if (_inner_error_->domain == DATABASE_ERROR) {
#line 7072 "Tag.c"
- goto __catch474_database_error;
+ goto __catch472_database_error;
}
#line 900 "/home/jens/Source/shotwell/src/Tag.vala"
g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
@@ -7085,8 +7085,8 @@ Tag* tag_reconstitute (gint64 object_id, TagRow* row) {
_tmp6_->tag_id = _tmp0_;
#line 7087 "Tag.c"
}
- goto __finally474;
- __catch474_database_error:
+ goto __finally472;
+ __catch472_database_error:
{
GError* err = NULL;
GError* _tmp7_ = NULL;
@@ -7102,7 +7102,7 @@ Tag* tag_reconstitute (gint64 object_id, TagRow* row) {
_g_error_free0 (err);
#line 7104 "Tag.c"
}
- __finally474:
+ __finally472:
#line 899 "/home/jens/Source/shotwell/src/Tag.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 899 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -8022,35 +8022,35 @@ static gint string_index_of (const gchar* self, const gchar* needle, gint start_
const gchar* _tmp1_ = NULL;
gchar* _tmp2_ = NULL;
gchar* _tmp3_ = NULL;
-#line 987 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 987 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, 0);
-#line 987 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 987 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (needle != NULL, 0);
-#line 988 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 988 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = start_index;
-#line 988 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 988 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = needle;
-#line 988 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 988 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = strstr (((gchar*) self) + _tmp0_, (gchar*) _tmp1_);
-#line 988 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 988 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_result_ = _tmp2_;
-#line 990 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 990 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = _result_;
-#line 990 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 990 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp3_ != NULL) {
#line 8042 "Tag.c"
gchar* _tmp4_ = NULL;
-#line 991 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 991 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = _result_;
-#line 991 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 991 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = (gint) (_tmp4_ - ((gchar*) self));
-#line 991 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 991 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 8050 "Tag.c"
} else {
-#line 993 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 993 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = -1;
-#line 993 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 993 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 8056 "Tag.c"
}
@@ -8064,37 +8064,37 @@ static glong string_strnlen (gchar* str, glong maxlen) {
glong _tmp1_ = 0L;
gchar* _tmp2_ = NULL;
gchar* _tmp3_ = NULL;
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = str;
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = maxlen;
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = memchr (_tmp0_, 0, (gsize) _tmp1_);
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
end = _tmp2_;
-#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = end;
-#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp3_ == NULL) {
#line 8080 "Tag.c"
glong _tmp4_ = 0L;
-#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = maxlen;
-#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp4_;
-#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 8088 "Tag.c"
} else {
gchar* _tmp5_ = NULL;
gchar* _tmp6_ = NULL;
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = end;
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6_ = str;
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = (glong) (_tmp5_ - _tmp6_);
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 8100 "Tag.c"
}
@@ -8114,112 +8114,112 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) {
glong _tmp20_ = 0L;
glong _tmp21_ = 0L;
gchar* _tmp22_ = NULL;
-#line 1306 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1306 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = offset;
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp1_ >= ((glong) 0)) {
#line 8124 "Tag.c"
glong _tmp2_ = 0L;
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = len;
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = _tmp2_ >= ((glong) 0);
#line 8130 "Tag.c"
} else {
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = FALSE;
#line 8134 "Tag.c"
}
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp0_) {
#line 8138 "Tag.c"
glong _tmp3_ = 0L;
glong _tmp4_ = 0L;
glong _tmp5_ = 0L;
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = offset;
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = len;
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = string_strnlen ((gchar*) self, _tmp3_ + _tmp4_);
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
string_length = _tmp5_;
#line 8150 "Tag.c"
} else {
gint _tmp6_ = 0;
gint _tmp7_ = 0;
-#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6_ = strlen (self);
-#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp7_ = _tmp6_;
-#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
string_length = (glong) _tmp7_;
#line 8160 "Tag.c"
}
-#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp8_ = offset;
-#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp8_ < ((glong) 0)) {
#line 8166 "Tag.c"
glong _tmp9_ = 0L;
glong _tmp10_ = 0L;
glong _tmp11_ = 0L;
-#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp9_ = string_length;
-#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp10_ = offset;
-#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
offset = _tmp9_ + _tmp10_;
-#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp11_ = offset;
-#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp11_ >= ((glong) 0), NULL);
#line 8180 "Tag.c"
} else {
glong _tmp12_ = 0L;
glong _tmp13_ = 0L;
-#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp12_ = offset;
-#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp13_ = string_length;
-#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp12_ <= _tmp13_, NULL);
#line 8190 "Tag.c"
}
-#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp14_ = len;
-#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp14_ < ((glong) 0)) {
#line 8196 "Tag.c"
glong _tmp15_ = 0L;
glong _tmp16_ = 0L;
-#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp15_ = string_length;
-#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp16_ = offset;
-#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
len = _tmp15_ - _tmp16_;
#line 8205 "Tag.c"
}
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp17_ = offset;
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp18_ = len;
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp19_ = string_length;
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail ((_tmp17_ + _tmp18_) <= _tmp19_, NULL);
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp20_ = offset;
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp21_ = len;
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp22_ = g_strndup (((gchar*) self) + _tmp20_, (gsize) _tmp21_);
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp22_;
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 8225 "Tag.c"
}
@@ -9016,7 +9016,7 @@ static void tag_on_media_views_contents_altered (Tag* self, GeeIterable* added,
#line 1153 "/home/jens/Source/shotwell/src/Tag.vala"
if (_inner_error_->domain == DATABASE_ERROR) {
#line 9019 "Tag.c"
- goto __catch475_database_error;
+ goto __catch473_database_error;
}
#line 1153 "/home/jens/Source/shotwell/src/Tag.vala"
_g_object_unref0 (removed_sources);
@@ -9031,8 +9031,8 @@ static void tag_on_media_views_contents_altered (Tag* self, GeeIterable* added,
#line 9032 "Tag.c"
}
}
- goto __finally475;
- __catch475_database_error:
+ goto __finally473;
+ __catch473_database_error:
{
GError* err = NULL;
GError* _tmp57_ = NULL;
@@ -9048,7 +9048,7 @@ static void tag_on_media_views_contents_altered (Tag* self, GeeIterable* added,
_g_error_free0 (err);
#line 9050 "Tag.c"
}
- __finally475:
+ __finally473:
#line 1152 "/home/jens/Source/shotwell/src/Tag.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1152 "/home/jens/Source/shotwell/src/Tag.vala"
@@ -9260,7 +9260,7 @@ static void tag_real_destroy (DataSource* base) {
#line 1194 "/home/jens/Source/shotwell/src/Tag.vala"
if (_inner_error_->domain == DATABASE_ERROR) {
#line 9263 "Tag.c"
- goto __catch476_database_error;
+ goto __catch474_database_error;
}
#line 1194 "/home/jens/Source/shotwell/src/Tag.vala"
g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
@@ -9271,8 +9271,8 @@ static void tag_real_destroy (DataSource* base) {
#line 9272 "Tag.c"
}
}
- goto __finally476;
- __catch476_database_error:
+ goto __finally474;
+ __catch474_database_error:
{
GError* err = NULL;
GError* _tmp19_ = NULL;
@@ -9288,7 +9288,7 @@ static void tag_real_destroy (DataSource* base) {
_g_error_free0 (err);
#line 9290 "Tag.c"
}
- __finally476:
+ __finally474:
#line 1193 "/home/jens/Source/shotwell/src/Tag.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1193 "/home/jens/Source/shotwell/src/Tag.vala"
diff --git a/src/Thumbnail.c b/src/Thumbnail.c
index 78b8d4b..062529f 100644
--- a/src/Thumbnail.c
+++ b/src/Thumbnail.c
@@ -1,4 +1,4 @@
-/* Thumbnail.c generated by valac 0.34.2, the Vala compiler
+/* Thumbnail.c generated by valac 0.32.1, the Vala compiler
* generated from Thumbnail.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/ThumbnailCache.c b/src/ThumbnailCache.c
index 70c3eca..9e928e3 100644
--- a/src/ThumbnailCache.c
+++ b/src/ThumbnailCache.c
@@ -1,4 +1,4 @@
-/* ThumbnailCache.c generated by valac 0.34.2, the Vala compiler
+/* ThumbnailCache.c generated by valac 0.32.1, the Vala compiler
* generated from ThumbnailCache.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -912,7 +912,7 @@ static void thumbnails_instance_init (Thumbnails * self) {
#line 7 "/home/jens/Source/shotwell/src/ThumbnailCache.vala"
self->priv = THUMBNAILS_GET_PRIVATE (self);
#line 8 "/home/jens/Source/shotwell/src/ThumbnailCache.vala"
- _tmp0_ = gee_hash_map_new (THUMBNAIL_CACHE_TYPE_SIZE, NULL, NULL, gdk_pixbuf_get_type (), (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
+ _tmp0_ = gee_hash_map_new (THUMBNAIL_CACHE_TYPE_SIZE, NULL, NULL, GDK_TYPE_PIXBUF, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
#line 8 "/home/jens/Source/shotwell/src/ThumbnailCache.vala"
self->priv->map = _tmp0_;
#line 7 "/home/jens/Source/shotwell/src/ThumbnailCache.vala"
diff --git a/src/TimedQueue.c b/src/TimedQueue.c
index 919234a..9d872a5 100644
--- a/src/TimedQueue.c
+++ b/src/TimedQueue.c
@@ -1,4 +1,4 @@
-/* TimedQueue.c generated by valac 0.34.2, the Vala compiler
+/* TimedQueue.c generated by valac 0.32.1, the Vala compiler
* generated from TimedQueue.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/Tombstone.c b/src/Tombstone.c
index e9904b5..cad1972 100644
--- a/src/Tombstone.c
+++ b/src/Tombstone.c
@@ -1,4 +1,4 @@
-/* Tombstone.c generated by valac 0.34.2, the Vala compiler
+/* Tombstone.c generated by valac 0.32.1, the Vala compiler
* generated from Tombstone.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -1320,7 +1320,7 @@ void tombstone_source_collection_resurrect_many (TombstoneSourceCollection* self
#line 94 "/home/jens/Source/shotwell/src/Tombstone.vala"
if (_inner_error_->domain == DATABASE_ERROR) {
#line 1323 "Tombstone.c"
- goto __catch545_database_error;
+ goto __catch543_database_error;
}
#line 94 "/home/jens/Source/shotwell/src/Tombstone.vala"
_g_object_unref0 (marker);
@@ -1333,8 +1333,8 @@ void tombstone_source_collection_resurrect_many (TombstoneSourceCollection* self
#line 1334 "Tombstone.c"
}
}
- goto __finally545;
- __catch545_database_error:
+ goto __finally543;
+ __catch543_database_error:
{
GError* err = NULL;
GError* _tmp2_ = NULL;
@@ -1350,7 +1350,7 @@ void tombstone_source_collection_resurrect_many (TombstoneSourceCollection* self
_g_error_free0 (err);
#line 1352 "Tombstone.c"
}
- __finally545:
+ __finally543:
#line 93 "/home/jens/Source/shotwell/src/Tombstone.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 93 "/home/jens/Source/shotwell/src/Tombstone.vala"
@@ -1636,7 +1636,7 @@ static gboolean tombstone_source_collection_async_scan_co (TombstoneSourceCollec
#line 127 "/home/jens/Source/shotwell/src/Tombstone.vala"
if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 1639 "Tombstone.c"
- goto __catch546_g_error;
+ goto __catch544_g_error;
}
#line 127 "/home/jens/Source/shotwell/src/Tombstone.vala"
_data_->_tmp22_ = NULL;
@@ -1652,8 +1652,8 @@ static gboolean tombstone_source_collection_async_scan_co (TombstoneSourceCollec
_g_object_unref0 (_data_->_tmp18_);
#line 1654 "Tombstone.c"
}
- goto __finally546;
- __catch546_g_error:
+ goto __finally544;
+ __catch544_g_error:
{
#line 126 "/home/jens/Source/shotwell/src/Tombstone.vala"
_data_->err = _data_->_inner_error_;
@@ -1716,7 +1716,7 @@ static gboolean tombstone_source_collection_async_scan_co (TombstoneSourceCollec
_g_error_free0 (_data_->err);
#line 1717 "Tombstone.c"
}
- __finally546:
+ __finally544:
#line 126 "/home/jens/Source/shotwell/src/Tombstone.vala"
if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 126 "/home/jens/Source/shotwell/src/Tombstone.vala"
@@ -1818,7 +1818,7 @@ static gboolean tombstone_source_collection_async_scan_co (TombstoneSourceCollec
#line 154 "/home/jens/Source/shotwell/src/Tombstone.vala"
if (_data_->_inner_error_->domain == DATABASE_ERROR) {
#line 1820 "Tombstone.c"
- goto __catch547_database_error;
+ goto __catch545_database_error;
}
#line 154 "/home/jens/Source/shotwell/src/Tombstone.vala"
_g_object_unref0 (_data_->marker);
@@ -1831,8 +1831,8 @@ static gboolean tombstone_source_collection_async_scan_co (TombstoneSourceCollec
#line 1831 "Tombstone.c"
}
}
- goto __finally547;
- __catch547_database_error:
+ goto __finally545;
+ __catch545_database_error:
{
#line 153 "/home/jens/Source/shotwell/src/Tombstone.vala"
_data_->err2 = _data_->_inner_error_;
@@ -1848,7 +1848,7 @@ static gboolean tombstone_source_collection_async_scan_co (TombstoneSourceCollec
_g_error_free0 (_data_->err2);
#line 1849 "Tombstone.c"
}
- __finally547:
+ __finally545:
#line 153 "/home/jens/Source/shotwell/src/Tombstone.vala"
if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 153 "/home/jens/Source/shotwell/src/Tombstone.vala"
@@ -1904,7 +1904,7 @@ static void tombstone_source_collection_instance_init (TombstoneSourceCollection
#line 7 "/home/jens/Source/shotwell/src/Tombstone.vala"
self->priv = TOMBSTONE_SOURCE_COLLECTION_GET_PRIVATE (self);
#line 8 "/home/jens/Source/shotwell/src/Tombstone.vala"
- _tmp0_ = gee_hash_map_new (g_file_get_type (), (GBoxedCopyFunc) g_object_ref, g_object_unref, TYPE_TOMBSTONE, (GBoxedCopyFunc) g_object_ref, g_object_unref, _file_hash_gee_hash_data_func, NULL, NULL, _file_equal_gee_equal_data_func, NULL, NULL, NULL, NULL, NULL);
+ _tmp0_ = gee_hash_map_new (G_TYPE_FILE, (GBoxedCopyFunc) g_object_ref, g_object_unref, TYPE_TOMBSTONE, (GBoxedCopyFunc) g_object_ref, g_object_unref, _file_hash_gee_hash_data_func, NULL, NULL, _file_equal_gee_equal_data_func, NULL, NULL, NULL, NULL, NULL);
#line 8 "/home/jens/Source/shotwell/src/Tombstone.vala"
self->priv->file_map = _tmp0_;
#line 1910 "Tombstone.c"
@@ -2374,7 +2374,7 @@ void tombstone_init (void) {
#line 211 "/home/jens/Source/shotwell/src/Tombstone.vala"
if (_inner_error_->domain == DATABASE_ERROR) {
#line 2376 "Tombstone.c"
- goto __catch548_database_error;
+ goto __catch546_database_error;
}
#line 211 "/home/jens/Source/shotwell/src/Tombstone.vala"
rows = (_vala_array_free (rows, rows_length1, (GDestroyNotify) tombstone_row_unref), NULL);
@@ -2406,8 +2406,8 @@ void tombstone_init (void) {
_tmp1_ = (_vala_array_free (_tmp1_, _tmp1__length1, (GDestroyNotify) tombstone_row_unref), NULL);
#line 2407 "Tombstone.c"
}
- goto __finally548;
- __catch548_database_error:
+ goto __finally546;
+ __catch546_database_error:
{
GError* err = NULL;
GError* _tmp8_ = NULL;
@@ -2423,7 +2423,7 @@ void tombstone_init (void) {
_g_error_free0 (err);
#line 2424 "Tombstone.c"
}
- __finally548:
+ __finally546:
#line 210 "/home/jens/Source/shotwell/src/Tombstone.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 210 "/home/jens/Source/shotwell/src/Tombstone.vala"
@@ -3210,7 +3210,7 @@ void tombstone_move (Tombstone* self, GFile* file) {
#line 297 "/home/jens/Source/shotwell/src/Tombstone.vala"
if (_inner_error_->domain == DATABASE_ERROR) {
#line 3212 "Tombstone.c"
- goto __catch549_database_error;
+ goto __catch547_database_error;
}
#line 297 "/home/jens/Source/shotwell/src/Tombstone.vala"
g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
@@ -3221,8 +3221,8 @@ void tombstone_move (Tombstone* self, GFile* file) {
#line 3221 "Tombstone.c"
}
}
- goto __finally549;
- __catch549_database_error:
+ goto __finally547;
+ __catch547_database_error:
{
GError* err = NULL;
GError* _tmp7_ = NULL;
@@ -3238,7 +3238,7 @@ void tombstone_move (Tombstone* self, GFile* file) {
_g_error_free0 (err);
#line 3239 "Tombstone.c"
}
- __finally549:
+ __finally547:
#line 296 "/home/jens/Source/shotwell/src/Tombstone.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 296 "/home/jens/Source/shotwell/src/Tombstone.vala"
@@ -3457,7 +3457,7 @@ static void tombstone_real_destroy (DataSource* base) {
#line 328 "/home/jens/Source/shotwell/src/Tombstone.vala"
if (_inner_error_->domain == DATABASE_ERROR) {
#line 3459 "Tombstone.c"
- goto __catch550_database_error;
+ goto __catch548_database_error;
}
#line 328 "/home/jens/Source/shotwell/src/Tombstone.vala"
g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
@@ -3468,8 +3468,8 @@ static void tombstone_real_destroy (DataSource* base) {
#line 3468 "Tombstone.c"
}
}
- goto __finally550;
- __catch550_database_error:
+ goto __finally548;
+ __catch548_database_error:
{
GError* err = NULL;
GError* _tmp4_ = NULL;
@@ -3485,7 +3485,7 @@ static void tombstone_real_destroy (DataSource* base) {
_g_error_free0 (err);
#line 3486 "Tombstone.c"
}
- __finally550:
+ __finally548:
#line 327 "/home/jens/Source/shotwell/src/Tombstone.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 327 "/home/jens/Source/shotwell/src/Tombstone.vala"
diff --git a/src/UnityProgressBar.c b/src/UnityProgressBar.c
index e603ec5..c32a00a 100644
--- a/src/UnityProgressBar.c
+++ b/src/UnityProgressBar.c
@@ -1,4 +1,4 @@
-/* UnityProgressBar.c generated by valac 0.34.2, the Vala compiler
+/* UnityProgressBar.c generated by valac 0.32.1, the Vala compiler
* generated from UnityProgressBar.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/Upgrades.c b/src/Upgrades.c
index ed5a4de..4be4e79 100644
--- a/src/Upgrades.c
+++ b/src/Upgrades.c
@@ -1,4 +1,4 @@
-/* Upgrades.c generated by valac 0.34.2, the Vala compiler
+/* Upgrades.c generated by valac 0.32.1, the Vala compiler
* generated from Upgrades.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -1123,14 +1123,14 @@ static guint64 mimics_removal_task_real_get_step_count (UpgradeTask* base) {
#line 73 "/home/jens/Source/shotwell/src/Upgrades.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1126 "Upgrades.c"
- goto __catch591_g_error;
+ goto __catch589_g_error;
}
#line 73 "/home/jens/Source/shotwell/src/Upgrades.vala"
self->priv->num_mimics = _tmp0_;
#line 1131 "Upgrades.c"
}
- goto __finally591;
- __catch591_g_error:
+ goto __finally589;
+ __catch589_g_error:
{
GError* e = NULL;
GError* _tmp3_ = NULL;
@@ -1149,7 +1149,7 @@ static guint64 mimics_removal_task_real_get_step_count (UpgradeTask* base) {
_g_error_free0 (e);
#line 1151 "Upgrades.c"
}
- __finally591:
+ __finally589:
#line 72 "/home/jens/Source/shotwell/src/Upgrades.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 72 "/home/jens/Source/shotwell/src/Upgrades.vala"
@@ -1195,7 +1195,7 @@ static void mimics_removal_task_real_execute (UpgradeTask* base, ProgressMonitor
#line 82 "/home/jens/Source/shotwell/src/Upgrades.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1198 "Upgrades.c"
- goto __catch592_g_error;
+ goto __catch590_g_error;
}
#line 83 "/home/jens/Source/shotwell/src/Upgrades.vala"
_tmp3_ = self->priv->mimic_dir;
@@ -1204,11 +1204,11 @@ static void mimics_removal_task_real_execute (UpgradeTask* base, ProgressMonitor
#line 83 "/home/jens/Source/shotwell/src/Upgrades.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1207 "Upgrades.c"
- goto __catch592_g_error;
+ goto __catch590_g_error;
}
}
- goto __finally592;
- __catch592_g_error:
+ goto __finally590;
+ __catch590_g_error:
{
GError* e = NULL;
GError* _tmp4_ = NULL;
@@ -1227,7 +1227,7 @@ static void mimics_removal_task_real_execute (UpgradeTask* base, ProgressMonitor
_g_error_free0 (e);
#line 1229 "Upgrades.c"
}
- __finally592:
+ __finally590:
#line 81 "/home/jens/Source/shotwell/src/Upgrades.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 81 "/home/jens/Source/shotwell/src/Upgrades.vala"
diff --git a/src/VideoMetadata.c b/src/VideoMetadata.c
index b3620b3..f1d6f07 100644
--- a/src/VideoMetadata.c
+++ b/src/VideoMetadata.c
@@ -1,4 +1,4 @@
-/* VideoMetadata.c generated by valac 0.34.2, the Vala compiler
+/* VideoMetadata.c generated by valac 0.32.1, the Vala compiler
* generated from VideoMetadata.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -746,7 +746,7 @@ gboolean quick_time_metadata_loader_is_supported (QuickTimeMetadataLoader* self)
#line 80 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 749 "VideoMetadata.c"
- goto __catch573_g_error;
+ goto __catch571_g_error;
}
#line 81 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
_tmp3_ = test;
@@ -755,7 +755,7 @@ gboolean quick_time_metadata_loader_is_supported (QuickTimeMetadataLoader* self)
#line 81 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 758 "VideoMetadata.c"
- goto __catch573_g_error;
+ goto __catch571_g_error;
}
#line 84 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
_tmp4_ = test;
@@ -809,7 +809,7 @@ gboolean quick_time_metadata_loader_is_supported (QuickTimeMetadataLoader* self)
#line 95 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 812 "VideoMetadata.c"
- goto __catch573_g_error;
+ goto __catch571_g_error;
}
#line 96 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
_tmp13_ = test;
@@ -818,7 +818,7 @@ gboolean quick_time_metadata_loader_is_supported (QuickTimeMetadataLoader* self)
#line 96 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 821 "VideoMetadata.c"
- goto __catch573_g_error;
+ goto __catch571_g_error;
}
#line 97 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
_tmp14_ = test;
@@ -833,8 +833,8 @@ gboolean quick_time_metadata_loader_is_supported (QuickTimeMetadataLoader* self)
}
}
}
- goto __finally573;
- __catch573_g_error:
+ goto __finally571;
+ __catch571_g_error:
{
GError* e = NULL;
GFile* _tmp16_ = NULL;
@@ -865,7 +865,7 @@ gboolean quick_time_metadata_loader_is_supported (QuickTimeMetadataLoader* self)
_g_error_free0 (e);
#line 866 "VideoMetadata.c"
}
- __finally573:
+ __finally571:
#line 79 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 79 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
@@ -887,11 +887,11 @@ gboolean quick_time_metadata_loader_is_supported (QuickTimeMetadataLoader* self)
#line 107 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 889 "VideoMetadata.c"
- goto __catch574_g_error;
+ goto __catch572_g_error;
}
}
- goto __finally574;
- __catch574_g_error:
+ goto __finally572;
+ __catch572_g_error:
{
GError* e = NULL;
GError* _tmp22_ = NULL;
@@ -910,7 +910,7 @@ gboolean quick_time_metadata_loader_is_supported (QuickTimeMetadataLoader* self)
_g_error_free0 (e);
#line 911 "VideoMetadata.c"
}
- __finally574:
+ __finally572:
#line 106 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 106 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
@@ -963,7 +963,7 @@ static gulong quick_time_metadata_loader_get_creation_date_time_for_quicktime (Q
#line 119 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 965 "VideoMetadata.c"
- goto __catch575_g_error;
+ goto __catch573_g_error;
}
#line 120 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
done = FALSE;
@@ -994,7 +994,7 @@ static gulong quick_time_metadata_loader_get_creation_date_time_for_quicktime (Q
#line 123 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 996 "VideoMetadata.c"
- goto __catch575_g_error;
+ goto __catch573_g_error;
}
#line 124 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
_tmp5_ = test;
@@ -1058,7 +1058,7 @@ static gulong quick_time_metadata_loader_get_creation_date_time_for_quicktime (Q
#line 129 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
_quick_time_atom_unref0 (child);
#line 1060 "VideoMetadata.c"
- goto __catch575_g_error;
+ goto __catch573_g_error;
}
#line 130 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
_tmp16_ = child;
@@ -1114,7 +1114,7 @@ static gulong quick_time_metadata_loader_get_creation_date_time_for_quicktime (Q
#line 137 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
_quick_time_atom_unref0 (child);
#line 1116 "VideoMetadata.c"
- goto __catch575_g_error;
+ goto __catch573_g_error;
}
#line 139 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
_tmp26_ = child;
@@ -1127,7 +1127,7 @@ static gulong quick_time_metadata_loader_get_creation_date_time_for_quicktime (Q
#line 139 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
_quick_time_atom_unref0 (child);
#line 1129 "VideoMetadata.c"
- goto __catch575_g_error;
+ goto __catch573_g_error;
}
#line 139 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
timestamp = _tmp25_ - QUICK_TIME_METADATA_LOADER_QUICKTIME_EPOCH_ADJUSTMENT;
@@ -1146,7 +1146,7 @@ static gulong quick_time_metadata_loader_get_creation_date_time_for_quicktime (Q
#line 143 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
_quick_time_atom_unref0 (child);
#line 1148 "VideoMetadata.c"
- goto __catch575_g_error;
+ goto __catch573_g_error;
}
}
#line 125 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
@@ -1160,12 +1160,12 @@ static gulong quick_time_metadata_loader_get_creation_date_time_for_quicktime (Q
#line 146 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1162 "VideoMetadata.c"
- goto __catch575_g_error;
+ goto __catch573_g_error;
}
}
}
- goto __finally575;
- __catch575_g_error:
+ goto __finally573;
+ __catch573_g_error:
{
GError* e = NULL;
GError* _tmp30_ = NULL;
@@ -1184,7 +1184,7 @@ static gulong quick_time_metadata_loader_get_creation_date_time_for_quicktime (Q
_g_error_free0 (e);
#line 1185 "VideoMetadata.c"
}
- __finally575:
+ __finally573:
#line 118 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 118 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
@@ -1206,11 +1206,11 @@ static gulong quick_time_metadata_loader_get_creation_date_time_for_quicktime (Q
#line 153 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1208 "VideoMetadata.c"
- goto __catch576_g_error;
+ goto __catch574_g_error;
}
}
- goto __finally576;
- __catch576_g_error:
+ goto __finally574;
+ __catch574_g_error:
{
GError* e = NULL;
GError* _tmp33_ = NULL;
@@ -1229,7 +1229,7 @@ static gulong quick_time_metadata_loader_get_creation_date_time_for_quicktime (Q
_g_error_free0 (e);
#line 1230 "VideoMetadata.c"
}
- __finally576:
+ __finally574:
#line 152 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 152 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
@@ -1631,7 +1631,7 @@ void quick_time_atom_open_file (QuickTimeAtom* self, GError** error) {
#line 1631 "VideoMetadata.c"
}
#line 192 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
- _tmp3_ = g_data_input_stream_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, g_input_stream_get_type (), GInputStream));
+ _tmp3_ = g_data_input_stream_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, G_TYPE_INPUT_STREAM, GInputStream));
#line 192 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
_g_object_unref0 (self->priv->input);
#line 192 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
@@ -1670,7 +1670,7 @@ void quick_time_atom_close_file (QuickTimeAtom* self, GError** error) {
#line 201 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
_tmp1_ = self->priv->input;
#line 201 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
- g_input_stream_close (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, g_input_stream_get_type (), GInputStream), NULL, &_inner_error_);
+ g_input_stream_close (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, G_TYPE_INPUT_STREAM, GInputStream), NULL, &_inner_error_);
#line 201 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 201 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
@@ -1836,15 +1836,15 @@ static gchar string_get (const gchar* self, glong index) {
gchar result = '\0';
glong _tmp0_ = 0L;
gchar _tmp1_ = '\0';
-#line 1086 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1086 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, '\0');
-#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = index;
-#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = ((gchar*) self)[_tmp0_];
-#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp1_;
-#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 1849 "VideoMetadata.c"
}
@@ -2142,7 +2142,7 @@ static void quick_time_atom_skip (QuickTimeAtom* self, guint64 skip_amount, GErr
#line 268 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
_tmp1_ = skip_amount;
#line 268 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
- skip_uint64 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, g_input_stream_get_type (), GInputStream), _tmp1_, &_inner_error_);
+ skip_uint64 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, G_TYPE_INPUT_STREAM, GInputStream), _tmp1_, &_inner_error_);
#line 268 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 268 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
@@ -2602,7 +2602,7 @@ gboolean avi_metadata_loader_is_supported (AVIMetadataLoader* self) {
#line 323 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 2604 "VideoMetadata.c"
- goto __catch577_g_error;
+ goto __catch575_g_error;
}
#line 324 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
_tmp3_ = chunk;
@@ -2611,7 +2611,7 @@ gboolean avi_metadata_loader_is_supported (AVIMetadataLoader* self) {
#line 324 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 2613 "VideoMetadata.c"
- goto __catch577_g_error;
+ goto __catch575_g_error;
}
#line 326 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
_tmp5_ = chunk;
@@ -2640,7 +2640,7 @@ gboolean avi_metadata_loader_is_supported (AVIMetadataLoader* self) {
#line 327 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 2642 "VideoMetadata.c"
- goto __catch577_g_error;
+ goto __catch575_g_error;
}
#line 327 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
_tmp12_ = _tmp9_;
@@ -2667,8 +2667,8 @@ gboolean avi_metadata_loader_is_supported (AVIMetadataLoader* self) {
#line 2667 "VideoMetadata.c"
}
}
- goto __finally577;
- __catch577_g_error:
+ goto __finally575;
+ __catch575_g_error:
{
GError* e = NULL;
GError* _tmp14_ = NULL;
@@ -2687,7 +2687,7 @@ gboolean avi_metadata_loader_is_supported (AVIMetadataLoader* self) {
_g_error_free0 (e);
#line 2688 "VideoMetadata.c"
}
- __finally577:
+ __finally575:
#line 322 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 322 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
@@ -2709,11 +2709,11 @@ gboolean avi_metadata_loader_is_supported (AVIMetadataLoader* self) {
#line 335 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 2711 "VideoMetadata.c"
- goto __catch578_g_error;
+ goto __catch576_g_error;
}
}
- goto __finally578;
- __catch578_g_error:
+ goto __finally576;
+ __catch576_g_error:
{
GError* e = NULL;
GError* _tmp17_ = NULL;
@@ -2732,7 +2732,7 @@ gboolean avi_metadata_loader_is_supported (AVIMetadataLoader* self) {
_g_error_free0 (e);
#line 2733 "VideoMetadata.c"
}
- __finally578:
+ __finally576:
#line 334 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 334 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
@@ -2951,37 +2951,37 @@ static glong string_strnlen (gchar* str, glong maxlen) {
glong _tmp1_ = 0L;
gchar* _tmp2_ = NULL;
gchar* _tmp3_ = NULL;
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = str;
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = maxlen;
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = memchr (_tmp0_, 0, (gsize) _tmp1_);
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
end = _tmp2_;
-#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = end;
-#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp3_ == NULL) {
#line 2966 "VideoMetadata.c"
glong _tmp4_ = 0L;
-#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = maxlen;
-#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp4_;
-#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 2974 "VideoMetadata.c"
} else {
gchar* _tmp5_ = NULL;
gchar* _tmp6_ = NULL;
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = end;
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6_ = str;
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = (glong) (_tmp5_ - _tmp6_);
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 2986 "VideoMetadata.c"
}
@@ -3001,112 +3001,112 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) {
glong _tmp20_ = 0L;
glong _tmp21_ = 0L;
gchar* _tmp22_ = NULL;
-#line 1306 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1306 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = offset;
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp1_ >= ((glong) 0)) {
#line 3010 "VideoMetadata.c"
glong _tmp2_ = 0L;
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = len;
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = _tmp2_ >= ((glong) 0);
#line 3016 "VideoMetadata.c"
} else {
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = FALSE;
#line 3020 "VideoMetadata.c"
}
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp0_) {
#line 3024 "VideoMetadata.c"
glong _tmp3_ = 0L;
glong _tmp4_ = 0L;
glong _tmp5_ = 0L;
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = offset;
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = len;
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = string_strnlen ((gchar*) self, _tmp3_ + _tmp4_);
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
string_length = _tmp5_;
#line 3036 "VideoMetadata.c"
} else {
gint _tmp6_ = 0;
gint _tmp7_ = 0;
-#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6_ = strlen (self);
-#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp7_ = _tmp6_;
-#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
string_length = (glong) _tmp7_;
#line 3046 "VideoMetadata.c"
}
-#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp8_ = offset;
-#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp8_ < ((glong) 0)) {
#line 3052 "VideoMetadata.c"
glong _tmp9_ = 0L;
glong _tmp10_ = 0L;
glong _tmp11_ = 0L;
-#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp9_ = string_length;
-#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp10_ = offset;
-#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
offset = _tmp9_ + _tmp10_;
-#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp11_ = offset;
-#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp11_ >= ((glong) 0), NULL);
#line 3066 "VideoMetadata.c"
} else {
glong _tmp12_ = 0L;
glong _tmp13_ = 0L;
-#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp12_ = offset;
-#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp13_ = string_length;
-#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp12_ <= _tmp13_, NULL);
#line 3076 "VideoMetadata.c"
}
-#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp14_ = len;
-#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp14_ < ((glong) 0)) {
#line 3082 "VideoMetadata.c"
glong _tmp15_ = 0L;
glong _tmp16_ = 0L;
-#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp15_ = string_length;
-#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp16_ = offset;
-#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
len = _tmp15_ - _tmp16_;
#line 3091 "VideoMetadata.c"
}
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp17_ = offset;
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp18_ = len;
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp19_ = string_length;
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail ((_tmp17_ + _tmp18_) <= _tmp19_, NULL);
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp20_ = offset;
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp21_ = len;
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp22_ = g_strndup (((gchar*) self) + _tmp20_, (gsize) _tmp21_);
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp22_;
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 3111 "VideoMetadata.c"
}
@@ -4023,19 +4023,19 @@ static gchar* string_strip (const gchar* self) {
gchar* _result_ = NULL;
gchar* _tmp0_ = NULL;
const gchar* _tmp1_ = NULL;
-#line 1207 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1207 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1208 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1208 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = g_strdup (self);
-#line 1208 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1208 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_result_ = _tmp0_;
-#line 1209 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1209 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = _result_;
-#line 1209 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1209 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_strstrip (_tmp1_);
-#line 1210 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1210 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _result_;
-#line 1210 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1210 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 4040 "VideoMetadata.c"
}
@@ -4073,7 +4073,7 @@ static gulong avi_metadata_loader_get_creation_date_time_for_avi (AVIMetadataLoa
#line 515 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 4075 "VideoMetadata.c"
- goto __catch579_g_error;
+ goto __catch577_g_error;
}
#line 516 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
_tmp3_ = chunk;
@@ -4082,7 +4082,7 @@ static gulong avi_metadata_loader_get_creation_date_time_for_avi (AVIMetadataLoa
#line 516 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 4084 "VideoMetadata.c"
- goto __catch579_g_error;
+ goto __catch577_g_error;
}
#line 517 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
_tmp4_ = chunk;
@@ -4093,7 +4093,7 @@ static gulong avi_metadata_loader_get_creation_date_time_for_avi (AVIMetadataLoa
#line 517 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 4095 "VideoMetadata.c"
- goto __catch579_g_error;
+ goto __catch577_g_error;
}
#line 518 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
_tmp6_ = sdate;
@@ -4122,8 +4122,8 @@ static gulong avi_metadata_loader_get_creation_date_time_for_avi (AVIMetadataLoa
_g_free0 (sdate);
#line 4123 "VideoMetadata.c"
}
- goto __finally579;
- __catch579_g_error:
+ goto __finally577;
+ __catch577_g_error:
{
GError* e = NULL;
GError* _tmp11_ = NULL;
@@ -4142,7 +4142,7 @@ static gulong avi_metadata_loader_get_creation_date_time_for_avi (AVIMetadataLoa
_g_error_free0 (e);
#line 4143 "VideoMetadata.c"
}
- __finally579:
+ __finally577:
#line 514 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 514 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
@@ -4164,11 +4164,11 @@ static gulong avi_metadata_loader_get_creation_date_time_for_avi (AVIMetadataLoa
#line 526 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 4166 "VideoMetadata.c"
- goto __catch580_g_error;
+ goto __catch578_g_error;
}
}
- goto __finally580;
- __catch580_g_error:
+ goto __finally578;
+ __catch578_g_error:
{
GError* e = NULL;
GError* _tmp14_ = NULL;
@@ -4187,7 +4187,7 @@ static gulong avi_metadata_loader_get_creation_date_time_for_avi (AVIMetadataLoa
_g_error_free0 (e);
#line 4188 "VideoMetadata.c"
}
- __finally580:
+ __finally578:
#line 525 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 525 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
@@ -4575,7 +4575,7 @@ void avi_chunk_open_file (AVIChunk* self, GError** error) {
#line 4575 "VideoMetadata.c"
}
#line 554 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
- _tmp3_ = g_data_input_stream_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, g_input_stream_get_type (), GInputStream));
+ _tmp3_ = g_data_input_stream_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, G_TYPE_INPUT_STREAM, GInputStream));
#line 554 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
_g_object_unref0 (self->priv->input);
#line 554 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
@@ -4614,7 +4614,7 @@ void avi_chunk_close_file (AVIChunk* self, GError** error) {
#line 563 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
_tmp1_ = self->priv->input;
#line 563 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
- g_input_stream_close (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, g_input_stream_get_type (), GInputStream), NULL, &_inner_error_);
+ g_input_stream_close (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, G_TYPE_INPUT_STREAM, GInputStream), NULL, &_inner_error_);
#line 563 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 563 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
@@ -4643,7 +4643,7 @@ void avi_chunk_nonsection_skip (AVIChunk* self, guint64 skip_amount, GError** er
#line 569 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
_tmp1_ = skip_amount;
#line 569 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
- skip_uint64 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, g_input_stream_get_type (), GInputStream), _tmp1_, &_inner_error_);
+ skip_uint64 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, G_TYPE_INPUT_STREAM, GInputStream), _tmp1_, &_inner_error_);
#line 569 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 569 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
@@ -4671,7 +4671,7 @@ void avi_chunk_skip (AVIChunk* self, guint64 skip_amount, GError** error) {
#line 574 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
_tmp2_ = skip_amount;
#line 574 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
- skip_uint64 (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, g_input_stream_get_type (), GInputStream), _tmp2_, &_inner_error_);
+ skip_uint64 (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, G_TYPE_INPUT_STREAM, GInputStream), _tmp2_, &_inner_error_);
#line 574 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 574 "/home/jens/Source/shotwell/src/VideoMetadata.vala"
diff --git a/src/VideoMonitor.c b/src/VideoMonitor.c
index 19a7eeb..b3e9adb 100644
--- a/src/VideoMonitor.c
+++ b/src/VideoMonitor.c
@@ -1,4 +1,4 @@
-/* VideoMonitor.c generated by valac 0.34.2, the Vala compiler
+/* VideoMonitor.c generated by valac 0.32.1, the Vala compiler
* generated from VideoMonitor.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/VideoSupport.c b/src/VideoSupport.c
index f781734..23ea672 100644
--- a/src/VideoSupport.c
+++ b/src/VideoSupport.c
@@ -1,4 +1,4 @@
-/* VideoSupport.c generated by valac 0.34.2, the Vala compiler
+/* VideoSupport.c generated by valac 0.32.1, the Vala compiler
* generated from VideoSupport.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -1920,103 +1920,103 @@ static gchar* string_slice (const gchar* self, glong start, glong end) {
glong _tmp19_ = 0L;
glong _tmp20_ = 0L;
gchar* _tmp21_ = NULL;
-#line 1328 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1328 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1329 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1329 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = strlen (self);
-#line 1329 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1329 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = _tmp0_;
-#line 1329 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1329 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
string_length = (glong) _tmp1_;
-#line 1330 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1330 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = start;
-#line 1330 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1330 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp2_ < ((glong) 0)) {
#line 1936 "VideoSupport.c"
glong _tmp3_ = 0L;
glong _tmp4_ = 0L;
-#line 1331 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1331 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = string_length;
-#line 1331 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1331 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = start;
-#line 1331 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1331 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
start = _tmp3_ + _tmp4_;
#line 1945 "VideoSupport.c"
}
-#line 1333 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1333 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = end;
-#line 1333 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1333 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp5_ < ((glong) 0)) {
#line 1951 "VideoSupport.c"
glong _tmp6_ = 0L;
glong _tmp7_ = 0L;
-#line 1334 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1334 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6_ = string_length;
-#line 1334 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1334 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp7_ = end;
-#line 1334 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1334 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
end = _tmp6_ + _tmp7_;
#line 1960 "VideoSupport.c"
}
-#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp9_ = start;
-#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp9_ >= ((glong) 0)) {
#line 1966 "VideoSupport.c"
glong _tmp10_ = 0L;
glong _tmp11_ = 0L;
-#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp10_ = start;
-#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp11_ = string_length;
-#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp8_ = _tmp10_ <= _tmp11_;
#line 1975 "VideoSupport.c"
} else {
-#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp8_ = FALSE;
#line 1979 "VideoSupport.c"
}
-#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp8_, NULL);
-#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp13_ = end;
-#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp13_ >= ((glong) 0)) {
#line 1987 "VideoSupport.c"
glong _tmp14_ = 0L;
glong _tmp15_ = 0L;
-#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp14_ = end;
-#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp15_ = string_length;
-#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp12_ = _tmp14_ <= _tmp15_;
#line 1996 "VideoSupport.c"
} else {
-#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp12_ = FALSE;
#line 2000 "VideoSupport.c"
}
-#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp12_, NULL);
-#line 1338 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1338 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp16_ = start;
-#line 1338 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1338 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp17_ = end;
-#line 1338 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1338 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp16_ <= _tmp17_, NULL);
-#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp18_ = start;
-#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp19_ = end;
-#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp20_ = start;
-#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp21_ = g_strndup (((gchar*) self) + _tmp18_, (gsize) (_tmp19_ - _tmp20_));
-#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp21_;
-#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 2022 "VideoSupport.c"
}
@@ -2321,7 +2321,7 @@ ImportResult video_reader_prepare_for_import (VideoImportParams* params) {
#line 89 "/home/jens/Source/shotwell/src/VideoSupport.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 2324 "VideoSupport.c"
- goto __catch492_g_error;
+ goto __catch490_g_error;
}
#line 89 "/home/jens/Source/shotwell/src/VideoSupport.vala"
_tmp6_ = _tmp3_;
@@ -2335,8 +2335,8 @@ ImportResult video_reader_prepare_for_import (VideoImportParams* params) {
_g_object_unref0 (_tmp3_);
#line 2337 "VideoSupport.c"
}
- goto __finally492;
- __catch492_g_error:
+ goto __finally490;
+ __catch490_g_error:
{
GError* err = NULL;
#line 88 "/home/jens/Source/shotwell/src/VideoSupport.vala"
@@ -2355,7 +2355,7 @@ ImportResult video_reader_prepare_for_import (VideoImportParams* params) {
return result;
#line 2357 "VideoSupport.c"
}
- __finally492:
+ __finally490:
#line 88 "/home/jens/Source/shotwell/src/VideoSupport.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 88 "/home/jens/Source/shotwell/src/VideoSupport.vala"
@@ -2474,7 +2474,7 @@ ImportResult video_reader_prepare_for_import (VideoImportParams* params) {
#line 119 "/home/jens/Source/shotwell/src/VideoSupport.vala"
if (_inner_error_->domain == VIDEO_ERROR) {
#line 2477 "VideoSupport.c"
- goto __catch493_video_error;
+ goto __catch491_video_error;
}
#line 119 "/home/jens/Source/shotwell/src/VideoSupport.vala"
_g_object_unref0 (preview_frame);
@@ -2500,8 +2500,8 @@ ImportResult video_reader_prepare_for_import (VideoImportParams* params) {
clip_duration = _tmp26_;
#line 2502 "VideoSupport.c"
}
- goto __finally493;
- __catch493_video_error:
+ goto __finally491;
+ __catch491_video_error:
{
GError* err = NULL;
GError* _tmp29_ = NULL;
@@ -2554,7 +2554,7 @@ ImportResult video_reader_prepare_for_import (VideoImportParams* params) {
_g_error_free0 (err);
#line 2555 "VideoSupport.c"
}
- __finally493:
+ __finally491:
#line 118 "/home/jens/Source/shotwell/src/VideoSupport.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 118 "/home/jens/Source/shotwell/src/VideoSupport.vala"
@@ -2603,7 +2603,7 @@ ImportResult video_reader_prepare_for_import (VideoImportParams* params) {
#line 132 "/home/jens/Source/shotwell/src/VideoSupport.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 2605 "VideoSupport.c"
- goto __catch494_g_error;
+ goto __catch492_g_error;
}
#line 133 "/home/jens/Source/shotwell/src/VideoSupport.vala"
_tmp33_ = metadata;
@@ -2699,8 +2699,8 @@ ImportResult video_reader_prepare_for_import (VideoImportParams* params) {
_media_metadata_unref0 (metadata);
#line 2700 "VideoSupport.c"
}
- goto __finally494;
- __catch494_g_error:
+ goto __finally492;
+ __catch492_g_error:
{
GError* err = NULL;
GError* _tmp51_ = NULL;
@@ -2719,7 +2719,7 @@ ImportResult video_reader_prepare_for_import (VideoImportParams* params) {
_g_error_free0 (err);
#line 2720 "VideoSupport.c"
}
- __finally494:
+ __finally492:
#line 131 "/home/jens/Source/shotwell/src/VideoSupport.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 131 "/home/jens/Source/shotwell/src/VideoSupport.vala"
@@ -3092,7 +3092,7 @@ static void video_reader_read_internal (VideoReader* self, GError** error) {
#line 190 "/home/jens/Source/shotwell/src/VideoSupport.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 3094 "VideoSupport.c"
- goto __catch495_g_error;
+ goto __catch493_g_error;
}
#line 191 "/home/jens/Source/shotwell/src/VideoSupport.vala"
_tmp9_ = d;
@@ -3115,7 +3115,7 @@ static void video_reader_read_internal (VideoReader* self, GError** error) {
#line 191 "/home/jens/Source/shotwell/src/VideoSupport.vala"
_g_object_unref0 (d);
#line 3117 "VideoSupport.c"
- goto __catch495_g_error;
+ goto __catch493_g_error;
}
#line 193 "/home/jens/Source/shotwell/src/VideoSupport.vala"
_tmp15_ = info;
@@ -3208,8 +3208,8 @@ static void video_reader_read_internal (VideoReader* self, GError** error) {
_g_object_unref0 (d);
#line 3209 "VideoSupport.c"
}
- goto __finally495;
- __catch495_g_error:
+ goto __finally493;
+ __catch493_g_error:
{
GError* e = NULL;
GError* _tmp35_ = NULL;
@@ -3249,9 +3249,9 @@ static void video_reader_read_internal (VideoReader* self, GError** error) {
#line 208 "/home/jens/Source/shotwell/src/VideoSupport.vala"
_g_error_free0 (e);
#line 3251 "VideoSupport.c"
- goto __finally495;
+ goto __finally493;
}
- __finally495:
+ __finally493:
#line 189 "/home/jens/Source/shotwell/src/VideoSupport.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 189 "/home/jens/Source/shotwell/src/VideoSupport.vala"
@@ -3408,7 +3408,7 @@ static GdkPixbuf* video_reader_thumbnailer (VideoReader* self, const gchar* vide
#line 231 "/home/jens/Source/shotwell/src/VideoSupport.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 3410 "VideoSupport.c"
- goto __catch496_g_error;
+ goto __catch494_g_error;
}
#line 234 "/home/jens/Source/shotwell/src/VideoSupport.vala"
_tmp14_ = self->priv->thumbnailer_pid;
@@ -3416,8 +3416,8 @@ static GdkPixbuf* video_reader_thumbnailer (VideoReader* self, const gchar* vide
g_debug ("VideoSupport.vala:234: Spawned thumbnailer, child pid: %d", (gint) _tmp14_);
#line 3417 "VideoSupport.c"
}
- goto __finally496;
- __catch496_g_error:
+ goto __finally494;
+ __catch494_g_error:
{
GError* e = NULL;
GError* _tmp15_ = NULL;
@@ -3455,7 +3455,7 @@ static GdkPixbuf* video_reader_thumbnailer (VideoReader* self, const gchar* vide
return result;
#line 3456 "VideoSupport.c"
}
- __finally496:
+ __finally494:
#line 230 "/home/jens/Source/shotwell/src/VideoSupport.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 230 "/home/jens/Source/shotwell/src/VideoSupport.vala"
@@ -3490,7 +3490,7 @@ static GdkPixbuf* video_reader_thumbnailer (VideoReader* self, const gchar* vide
#line 249 "/home/jens/Source/shotwell/src/VideoSupport.vala"
_tmp22_ = unix_input;
#line 249 "/home/jens/Source/shotwell/src/VideoSupport.vala"
- _tmp23_ = gdk_pixbuf_new_from_stream (G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, g_input_stream_get_type (), GInputStream), NULL, &_inner_error_);
+ _tmp23_ = gdk_pixbuf_new_from_stream (G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, G_TYPE_INPUT_STREAM, GInputStream), NULL, &_inner_error_);
#line 249 "/home/jens/Source/shotwell/src/VideoSupport.vala"
_tmp21_ = _tmp23_;
#line 249 "/home/jens/Source/shotwell/src/VideoSupport.vala"
@@ -3498,7 +3498,7 @@ static GdkPixbuf* video_reader_thumbnailer (VideoReader* self, const gchar* vide
#line 249 "/home/jens/Source/shotwell/src/VideoSupport.vala"
_g_object_unref0 (unix_input);
#line 3500 "VideoSupport.c"
- goto __catch497_g_error;
+ goto __catch495_g_error;
}
#line 249 "/home/jens/Source/shotwell/src/VideoSupport.vala"
_tmp24_ = _tmp21_;
@@ -3514,8 +3514,8 @@ static GdkPixbuf* video_reader_thumbnailer (VideoReader* self, const gchar* vide
_g_object_unref0 (unix_input);
#line 3515 "VideoSupport.c"
}
- goto __finally497;
- __catch497_g_error:
+ goto __finally495;
+ __catch495_g_error:
{
GError* e = NULL;
GError* _tmp25_ = NULL;
@@ -3538,7 +3538,7 @@ static GdkPixbuf* video_reader_thumbnailer (VideoReader* self, const gchar* vide
_g_error_free0 (e);
#line 3539 "VideoSupport.c"
}
- __finally497:
+ __finally495:
#line 247 "/home/jens/Source/shotwell/src/VideoSupport.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 247 "/home/jens/Source/shotwell/src/VideoSupport.vala"
@@ -4947,7 +4947,7 @@ ExporterUI* video_export_many (GeeCollection* videos, ExporterCompletionCallback
#line 496 "/home/jens/Source/shotwell/src/VideoSupport.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 4946 "VideoSupport.c"
- goto __catch498_g_error;
+ goto __catch496_g_error;
}
#line 497 "/home/jens/Source/shotwell/src/VideoSupport.vala"
_tmp34_ = app_window_get_instance ();
@@ -4959,8 +4959,8 @@ ExporterUI* video_export_many (GeeCollection* videos, ExporterCompletionCallback
_g_object_unref0 (_tmp35_);
#line 4957 "VideoSupport.c"
}
- goto __finally498;
- __catch498_g_error:
+ goto __finally496;
+ __catch496_g_error:
{
GError* err = NULL;
AppWindow* _tmp36_ = NULL;
@@ -4986,7 +4986,7 @@ ExporterUI* video_export_many (GeeCollection* videos, ExporterCompletionCallback
_g_error_free0 (err);
#line 4984 "VideoSupport.c"
}
- __finally498:
+ __finally496:
#line 494 "/home/jens/Source/shotwell/src/VideoSupport.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 494 "/home/jens/Source/shotwell/src/VideoSupport.vala"
@@ -5097,7 +5097,7 @@ static void video_real_commit_backlinks (DataSource* base, SourceCollection* sou
#line 520 "/home/jens/Source/shotwell/src/VideoSupport.vala"
if (_inner_error_->domain == DATABASE_ERROR) {
#line 5096 "VideoSupport.c"
- goto __catch499_database_error;
+ goto __catch497_database_error;
}
#line 520 "/home/jens/Source/shotwell/src/VideoSupport.vala"
g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
@@ -5130,7 +5130,7 @@ static void video_real_commit_backlinks (DataSource* base, SourceCollection* sou
_tmp5_->backlinks = _tmp7_;
#line 5128 "VideoSupport.c"
}
- __finally500:
+ __finally498:
{
VideoRow* _tmp8_ = NULL;
#line 521 "/home/jens/Source/shotwell/src/VideoSupport.vala"
@@ -5144,7 +5144,7 @@ static void video_real_commit_backlinks (DataSource* base, SourceCollection* sou
#line 521 "/home/jens/Source/shotwell/src/VideoSupport.vala"
if (_inner_error_->domain == DATABASE_ERROR) {
#line 5143 "VideoSupport.c"
- goto __catch499_database_error;
+ goto __catch497_database_error;
}
#line 521 "/home/jens/Source/shotwell/src/VideoSupport.vala"
g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
@@ -5156,8 +5156,8 @@ static void video_real_commit_backlinks (DataSource* base, SourceCollection* sou
}
}
}
- goto __finally499;
- __catch499_database_error:
+ goto __finally497;
+ __catch497_database_error:
{
GError* err = NULL;
gchar* _tmp9_ = NULL;
@@ -5184,7 +5184,7 @@ static void video_real_commit_backlinks (DataSource* base, SourceCollection* sou
_g_error_free0 (err);
#line 5182 "VideoSupport.c"
}
- __finally499:
+ __finally497:
#line 519 "/home/jens/Source/shotwell/src/VideoSupport.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 519 "/home/jens/Source/shotwell/src/VideoSupport.vala"
@@ -5272,7 +5272,7 @@ static gboolean video_real_set_event_id (MediaSource* base, EventID* event_id) {
return result;
#line 5270 "VideoSupport.c"
}
- __finally501:
+ __finally499:
{
VideoRow* _tmp12_ = NULL;
#line 530 "/home/jens/Source/shotwell/src/VideoSupport.vala"
@@ -5387,7 +5387,7 @@ ImportResult video_import_create (VideoImportParams* params, Video** video) {
#line 554 "/home/jens/Source/shotwell/src/VideoSupport.vala"
if (_inner_error_->domain == DATABASE_ERROR) {
#line 5386 "VideoSupport.c"
- goto __catch502_database_error;
+ goto __catch500_database_error;
}
#line 554 "/home/jens/Source/shotwell/src/VideoSupport.vala"
g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
@@ -5418,8 +5418,8 @@ ImportResult video_import_create (VideoImportParams* params, Video** video) {
#line 5415 "VideoSupport.c"
}
}
- goto __finally502;
- __catch502_database_error:
+ goto __finally500;
+ __catch500_database_error:
{
GError* err = NULL;
#line 553 "/home/jens/Source/shotwell/src/VideoSupport.vala"
@@ -5444,7 +5444,7 @@ ImportResult video_import_create (VideoImportParams* params, Video** video) {
return result;
#line 5442 "VideoSupport.c"
}
- __finally502:
+ __finally500:
#line 553 "/home/jens/Source/shotwell/src/VideoSupport.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 553 "/home/jens/Source/shotwell/src/VideoSupport.vala"
@@ -5510,7 +5510,7 @@ void video_import_failed (Video* video) {
#line 568 "/home/jens/Source/shotwell/src/VideoSupport.vala"
if (_inner_error_->domain == DATABASE_ERROR) {
#line 5509 "VideoSupport.c"
- goto __catch503_database_error;
+ goto __catch501_database_error;
}
#line 568 "/home/jens/Source/shotwell/src/VideoSupport.vala"
g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
@@ -5521,8 +5521,8 @@ void video_import_failed (Video* video) {
#line 5518 "VideoSupport.c"
}
}
- goto __finally503;
- __catch503_database_error:
+ goto __finally501;
+ __catch501_database_error:
{
GError* err = NULL;
GError* _tmp4_ = NULL;
@@ -5538,7 +5538,7 @@ void video_import_failed (Video* video) {
_g_error_free0 (err);
#line 5536 "VideoSupport.c"
}
- __finally503:
+ __finally501:
#line 567 "/home/jens/Source/shotwell/src/VideoSupport.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 567 "/home/jens/Source/shotwell/src/VideoSupport.vala"
@@ -5617,7 +5617,7 @@ static BackingFileState** video_real_get_backing_files_state (MediaSource* base,
_tmp11_ = backing[0];
#line 5615 "VideoSupport.c"
}
- __finally504:
+ __finally502:
{
VideoRow* _tmp12_ = NULL;
#line 576 "/home/jens/Source/shotwell/src/VideoSupport.vala"
@@ -5734,7 +5734,7 @@ static gchar* video_real_get_master_md5 (MediaSource* base) {
return result;
#line 5732 "VideoSupport.c"
}
- __finally505:
+ __finally503:
{
VideoRow* _tmp5_ = NULL;
#line 589 "/home/jens/Source/shotwell/src/VideoSupport.vala"
@@ -5938,7 +5938,7 @@ static void video_real_get_import_id (MediaSource* base, ImportID* result) {
return;
#line 5936 "VideoSupport.c"
}
- __finally506:
+ __finally504:
{
VideoRow* _tmp4_ = NULL;
#line 616 "/home/jens/Source/shotwell/src/VideoSupport.vala"
@@ -6013,7 +6013,7 @@ static gchar* video_real_get_title (MediaSource* base) {
return result;
#line 6011 "VideoSupport.c"
}
- __finally507:
+ __finally505:
{
VideoRow* _tmp5_ = NULL;
#line 626 "/home/jens/Source/shotwell/src/VideoSupport.vala"
@@ -6112,7 +6112,7 @@ static void video_real_set_title (MediaSource* base, const gchar* title) {
#line 639 "/home/jens/Source/shotwell/src/VideoSupport.vala"
if (_inner_error_->domain == DATABASE_ERROR) {
#line 6111 "VideoSupport.c"
- goto __catch509_database_error;
+ goto __catch507_database_error;
}
{
VideoRow* _tmp12_ = NULL;
@@ -6133,8 +6133,8 @@ static void video_real_set_title (MediaSource* base, const gchar* title) {
#line 6130 "VideoSupport.c"
}
}
- goto __finally509;
- __catch509_database_error:
+ goto __finally507;
+ __catch507_database_error:
{
GError* e = NULL;
GError* _tmp13_ = NULL;
@@ -6163,7 +6163,7 @@ static void video_real_set_title (MediaSource* base, const gchar* title) {
return;
#line 6161 "VideoSupport.c"
}
- __finally509:
+ __finally507:
#line 638 "/home/jens/Source/shotwell/src/VideoSupport.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 6166 "VideoSupport.c"
@@ -6197,7 +6197,7 @@ static void video_real_set_title (MediaSource* base, const gchar* title) {
_tmp16_->title = _tmp18_;
#line 6195 "VideoSupport.c"
}
- __finally508:
+ __finally506:
{
VideoRow* _tmp19_ = NULL;
#line 634 "/home/jens/Source/shotwell/src/VideoSupport.vala"
@@ -6272,7 +6272,7 @@ static gchar* video_real_get_comment (MediaSource* base) {
return result;
#line 6270 "VideoSupport.c"
}
- __finally510:
+ __finally508:
{
VideoRow* _tmp5_ = NULL;
#line 653 "/home/jens/Source/shotwell/src/VideoSupport.vala"
@@ -6374,7 +6374,7 @@ static gboolean video_real_set_comment (MediaSource* base, const gchar* comment)
#line 666 "/home/jens/Source/shotwell/src/VideoSupport.vala"
if (_inner_error_->domain == DATABASE_ERROR) {
#line 6373 "VideoSupport.c"
- goto __catch512_database_error;
+ goto __catch510_database_error;
}
{
VideoRow* _tmp12_ = NULL;
@@ -6395,8 +6395,8 @@ static gboolean video_real_set_comment (MediaSource* base, const gchar* comment)
#line 6392 "VideoSupport.c"
}
}
- goto __finally512;
- __catch512_database_error:
+ goto __finally510;
+ __catch510_database_error:
{
GError* e = NULL;
GError* _tmp13_ = NULL;
@@ -6427,7 +6427,7 @@ static gboolean video_real_set_comment (MediaSource* base, const gchar* comment)
return result;
#line 6425 "VideoSupport.c"
}
- __finally512:
+ __finally510:
#line 665 "/home/jens/Source/shotwell/src/VideoSupport.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 6430 "VideoSupport.c"
@@ -6461,7 +6461,7 @@ static gboolean video_real_set_comment (MediaSource* base, const gchar* comment)
_tmp16_->comment = _tmp18_;
#line 6459 "VideoSupport.c"
}
- __finally511:
+ __finally509:
{
VideoRow* _tmp19_ = NULL;
#line 661 "/home/jens/Source/shotwell/src/VideoSupport.vala"
@@ -6537,7 +6537,7 @@ static Rating video_real_get_rating (MediaSource* base) {
return result;
#line 6535 "VideoSupport.c"
}
- __finally513:
+ __finally511:
{
VideoRow* _tmp4_ = NULL;
#line 683 "/home/jens/Source/shotwell/src/VideoSupport.vala"
@@ -6638,7 +6638,7 @@ static void video_real_set_rating (MediaSource* base, Rating rating) {
#line 694 "/home/jens/Source/shotwell/src/VideoSupport.vala"
if (_inner_error_->domain == DATABASE_ERROR) {
#line 6637 "VideoSupport.c"
- goto __catch515_database_error;
+ goto __catch513_database_error;
}
{
VideoRow* _tmp12_ = NULL;
@@ -6657,8 +6657,8 @@ static void video_real_set_rating (MediaSource* base, Rating rating) {
#line 6654 "VideoSupport.c"
}
}
- goto __finally515;
- __catch515_database_error:
+ goto __finally513;
+ __catch513_database_error:
{
GError* e = NULL;
GError* _tmp13_ = NULL;
@@ -6685,7 +6685,7 @@ static void video_real_set_rating (MediaSource* base, Rating rating) {
return;
#line 6683 "VideoSupport.c"
}
- __finally515:
+ __finally513:
#line 693 "/home/jens/Source/shotwell/src/VideoSupport.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 6688 "VideoSupport.c"
@@ -6713,7 +6713,7 @@ static void video_real_set_rating (MediaSource* base, Rating rating) {
_tmp16_->rating = _tmp17_;
#line 6711 "VideoSupport.c"
}
- __finally514:
+ __finally512:
{
VideoRow* _tmp18_ = NULL;
#line 689 "/home/jens/Source/shotwell/src/VideoSupport.vala"
@@ -6772,7 +6772,7 @@ static void video_real_increase_rating (MediaSource* base) {
media_source_set_rating (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_MEDIA_SOURCE, MediaSource), _tmp3_);
#line 6770 "VideoSupport.c"
}
- __finally516:
+ __finally514:
{
VideoRow* _tmp4_ = NULL;
#line 708 "/home/jens/Source/shotwell/src/VideoSupport.vala"
@@ -6822,7 +6822,7 @@ static void video_real_decrease_rating (MediaSource* base) {
media_source_set_rating (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_MEDIA_SOURCE, MediaSource), _tmp3_);
#line 6820 "VideoSupport.c"
}
- __finally517:
+ __finally515:
{
VideoRow* _tmp4_ = NULL;
#line 714 "/home/jens/Source/shotwell/src/VideoSupport.vala"
@@ -7036,7 +7036,7 @@ static void video_real_get_event_id (MediaSource* base, EventID* result) {
return;
#line 7034 "VideoSupport.c"
}
- __finally518:
+ __finally516:
{
VideoRow* _tmp4_ = NULL;
#line 759 "/home/jens/Source/shotwell/src/VideoSupport.vala"
@@ -7115,7 +7115,7 @@ static gchar* video_real_to_string (DataObject* base) {
return result;
#line 7113 "VideoSupport.c"
}
- __finally519:
+ __finally517:
{
VideoRow* _tmp11_ = NULL;
#line 765 "/home/jens/Source/shotwell/src/VideoSupport.vala"
@@ -7169,7 +7169,7 @@ void video_get_video_id (Video* self, VideoID* result) {
return;
#line 7167 "VideoSupport.c"
}
- __finally520:
+ __finally518:
{
VideoRow* _tmp4_ = NULL;
#line 771 "/home/jens/Source/shotwell/src/VideoSupport.vala"
@@ -7225,7 +7225,7 @@ static time_t video_real_get_exposure_time (Dateable* base) {
return result;
#line 7223 "VideoSupport.c"
}
- __finally521:
+ __finally519:
{
VideoRow* _tmp4_ = NULL;
#line 777 "/home/jens/Source/shotwell/src/VideoSupport.vala"
@@ -7286,11 +7286,11 @@ static void video_real_set_exposure_time (Dateable* base, time_t time) {
#line 785 "/home/jens/Source/shotwell/src/VideoSupport.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 7285 "VideoSupport.c"
- goto __catch523_g_error;
+ goto __catch521_g_error;
}
}
- goto __finally523;
- __catch523_g_error:
+ goto __finally521;
+ __catch521_g_error:
{
GError* e = NULL;
GError* _tmp6_ = NULL;
@@ -7309,7 +7309,7 @@ static void video_real_set_exposure_time (Dateable* base, time_t time) {
_g_error_free0 (e);
#line 7307 "VideoSupport.c"
}
- __finally523:
+ __finally521:
#line 784 "/home/jens/Source/shotwell/src/VideoSupport.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 7312 "VideoSupport.c"
@@ -7337,7 +7337,7 @@ static void video_real_set_exposure_time (Dateable* base, time_t time) {
_tmp9_->exposure_time = _tmp10_;
#line 7335 "VideoSupport.c"
}
- __finally522:
+ __finally520:
{
VideoRow* _tmp11_ = NULL;
#line 783 "/home/jens/Source/shotwell/src/VideoSupport.vala"
@@ -7412,7 +7412,7 @@ void video_get_frame_dimensions (Video* self, Dimensions* result) {
return;
#line 7410 "VideoSupport.c"
}
- __finally524:
+ __finally522:
{
VideoRow* _tmp7_ = NULL;
#line 796 "/home/jens/Source/shotwell/src/VideoSupport.vala"
@@ -7499,7 +7499,7 @@ static guint64 video_real_get_master_filesize (MediaSource* base) {
return result;
#line 7497 "VideoSupport.c"
}
- __finally525:
+ __finally523:
{
VideoRow* _tmp4_ = NULL;
#line 810 "/home/jens/Source/shotwell/src/VideoSupport.vala"
@@ -7555,7 +7555,7 @@ static time_t video_real_get_timestamp (MediaSource* base) {
return result;
#line 7553 "VideoSupport.c"
}
- __finally526:
+ __finally524:
{
VideoRow* _tmp4_ = NULL;
#line 816 "/home/jens/Source/shotwell/src/VideoSupport.vala"
@@ -7658,7 +7658,7 @@ static void video_real_set_master_timestamp (Monitorable* base, GFileInfo* info)
#line 829 "/home/jens/Source/shotwell/src/VideoSupport.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 7657 "VideoSupport.c"
- goto __finally528;
+ goto __finally526;
}
#line 830 "/home/jens/Source/shotwell/src/VideoSupport.vala"
_tmp14_ = self->priv->backing_row;
@@ -7670,7 +7670,7 @@ static void video_real_set_master_timestamp (Monitorable* base, GFileInfo* info)
_tmp14_->timestamp = (time_t) _tmp16_;
#line 7668 "VideoSupport.c"
}
- __finally528:
+ __finally526:
{
VideoRow* _tmp17_ = NULL;
#line 825 "/home/jens/Source/shotwell/src/VideoSupport.vala"
@@ -7684,7 +7684,7 @@ static void video_real_set_master_timestamp (Monitorable* base, GFileInfo* info)
#line 825 "/home/jens/Source/shotwell/src/VideoSupport.vala"
if (_inner_error_->domain == DATABASE_ERROR) {
#line 7683 "VideoSupport.c"
- goto __catch527_database_error;
+ goto __catch525_database_error;
}
#line 825 "/home/jens/Source/shotwell/src/VideoSupport.vala"
g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
@@ -7696,8 +7696,8 @@ static void video_real_set_master_timestamp (Monitorable* base, GFileInfo* info)
}
}
}
- goto __finally527;
- __catch527_database_error:
+ goto __finally525;
+ __catch525_database_error:
{
GError* err = NULL;
GError* _tmp18_ = NULL;
@@ -7715,7 +7715,7 @@ static void video_real_set_master_timestamp (Monitorable* base, GFileInfo* info)
return;
#line 7713 "VideoSupport.c"
}
- __finally527:
+ __finally525:
#line 824 "/home/jens/Source/shotwell/src/VideoSupport.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 824 "/home/jens/Source/shotwell/src/VideoSupport.vala"
@@ -7776,7 +7776,7 @@ gchar* video_get_filename (Video* self) {
return result;
#line 7774 "VideoSupport.c"
}
- __finally529:
+ __finally527:
{
VideoRow* _tmp5_ = NULL;
#line 842 "/home/jens/Source/shotwell/src/VideoSupport.vala"
@@ -7918,7 +7918,7 @@ gdouble video_get_clip_duration (Video* self) {
return result;
#line 7916 "VideoSupport.c"
}
- __finally530:
+ __finally528:
{
VideoRow* _tmp4_ = NULL;
#line 862 "/home/jens/Source/shotwell/src/VideoSupport.vala"
@@ -7973,7 +7973,7 @@ gboolean video_get_is_interpretable (Video* self) {
return result;
#line 7971 "VideoSupport.c"
}
- __finally531:
+ __finally529:
{
VideoRow* _tmp4_ = NULL;
#line 868 "/home/jens/Source/shotwell/src/VideoSupport.vala"
@@ -8040,7 +8040,7 @@ static void video_set_is_interpretable (Video* self, gboolean is_interpretable)
_tmp5_->is_interpretable = _tmp6_;
#line 8038 "VideoSupport.c"
}
- __finally532:
+ __finally530:
{
VideoRow* _tmp7_ = NULL;
#line 874 "/home/jens/Source/shotwell/src/VideoSupport.vala"
@@ -8082,7 +8082,7 @@ static void video_set_is_interpretable (Video* self, gboolean is_interpretable)
#line 882 "/home/jens/Source/shotwell/src/VideoSupport.vala"
if (_inner_error_->domain == DATABASE_ERROR) {
#line 8081 "VideoSupport.c"
- goto __catch533_database_error;
+ goto __catch531_database_error;
}
#line 882 "/home/jens/Source/shotwell/src/VideoSupport.vala"
g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
@@ -8093,8 +8093,8 @@ static void video_set_is_interpretable (Video* self, gboolean is_interpretable)
#line 8090 "VideoSupport.c"
}
}
- goto __finally533;
- __catch533_database_error:
+ goto __finally531;
+ __catch531_database_error:
{
GError* e = NULL;
GError* _tmp12_ = NULL;
@@ -8110,7 +8110,7 @@ static void video_set_is_interpretable (Video* self, gboolean is_interpretable)
_g_error_free0 (e);
#line 8108 "VideoSupport.c"
}
- __finally533:
+ __finally531:
#line 881 "/home/jens/Source/shotwell/src/VideoSupport.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 881 "/home/jens/Source/shotwell/src/VideoSupport.vala"
@@ -8186,7 +8186,7 @@ VideoInterpretableResults* video_check_is_interpretable (Video* self) {
#line 899 "/home/jens/Source/shotwell/src/VideoSupport.vala"
if (_inner_error_->domain == VIDEO_ERROR) {
#line 8185 "VideoSupport.c"
- goto __catch534_video_error;
+ goto __catch532_video_error;
}
#line 899 "/home/jens/Source/shotwell/src/VideoSupport.vala"
_video_reader_unref0 (backing_file_reader);
@@ -8214,8 +8214,8 @@ VideoInterpretableResults* video_check_is_interpretable (Video* self) {
preview_frame = _tmp9_;
#line 8212 "VideoSupport.c"
}
- goto __finally534;
- __catch534_video_error:
+ goto __finally532;
+ __catch532_video_error:
{
GError* e = NULL;
VideoInterpretableResults* _tmp10_ = NULL;
@@ -8247,7 +8247,7 @@ VideoInterpretableResults* video_check_is_interpretable (Video* self) {
return result;
#line 8245 "VideoSupport.c"
}
- __finally534:
+ __finally532:
#line 898 "/home/jens/Source/shotwell/src/VideoSupport.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 898 "/home/jens/Source/shotwell/src/VideoSupport.vala"
@@ -8322,7 +8322,7 @@ VideoInterpretableResults* video_check_is_interpretable (Video* self) {
_tmp21_->clip_duration = _tmp22_;
#line 8320 "VideoSupport.c"
}
- __finally535:
+ __finally533:
{
VideoRow* _tmp23_ = NULL;
#line 921 "/home/jens/Source/shotwell/src/VideoSupport.vala"
@@ -8411,7 +8411,7 @@ static void video_real_destroy (DataSource* base) {
#line 938 "/home/jens/Source/shotwell/src/VideoSupport.vala"
if (_inner_error_->domain == DATABASE_ERROR) {
#line 8410 "VideoSupport.c"
- goto __catch536_database_error;
+ goto __catch534_database_error;
}
#line 938 "/home/jens/Source/shotwell/src/VideoSupport.vala"
g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
@@ -8422,8 +8422,8 @@ static void video_real_destroy (DataSource* base) {
#line 8419 "VideoSupport.c"
}
}
- goto __finally536;
- __catch536_database_error:
+ goto __finally534;
+ __catch534_database_error:
{
GError* err = NULL;
gchar* _tmp4_ = NULL;
@@ -8444,7 +8444,7 @@ static void video_real_destroy (DataSource* base) {
_g_error_free0 (err);
#line 8442 "VideoSupport.c"
}
- __finally536:
+ __finally534:
#line 937 "/home/jens/Source/shotwell/src/VideoSupport.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 937 "/home/jens/Source/shotwell/src/VideoSupport.vala"
@@ -8638,7 +8638,7 @@ guint64 video_add_flags (Video* self, guint64 flags_to_add, Alteration* addition
#line 969 "/home/jens/Source/shotwell/src/VideoSupport.vala"
if (_inner_error_->domain == DATABASE_ERROR) {
#line 8637 "VideoSupport.c"
- goto __catch538_database_error;
+ goto __catch536_database_error;
}
{
VideoRow* _tmp15_ = NULL;
@@ -8657,8 +8657,8 @@ guint64 video_add_flags (Video* self, guint64 flags_to_add, Alteration* addition
#line 8654 "VideoSupport.c"
}
}
- goto __finally538;
- __catch538_database_error:
+ goto __finally536;
+ __catch536_database_error:
{
GError* e = NULL;
GError* _tmp16_ = NULL;
@@ -8693,7 +8693,7 @@ guint64 video_add_flags (Video* self, guint64 flags_to_add, Alteration* addition
return result;
#line 8691 "VideoSupport.c"
}
- __finally538:
+ __finally536:
#line 968 "/home/jens/Source/shotwell/src/VideoSupport.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 8696 "VideoSupport.c"
@@ -8721,7 +8721,7 @@ guint64 video_add_flags (Video* self, guint64 flags_to_add, Alteration* addition
_tmp21_->flags = _tmp22_;
#line 8719 "VideoSupport.c"
}
- __finally537:
+ __finally535:
{
VideoRow* _tmp23_ = NULL;
#line 963 "/home/jens/Source/shotwell/src/VideoSupport.vala"
@@ -8842,7 +8842,7 @@ guint64 video_remove_flags (Video* self, guint64 flags_to_remove, Alteration* ad
#line 991 "/home/jens/Source/shotwell/src/VideoSupport.vala"
if (_inner_error_->domain == DATABASE_ERROR) {
#line 8841 "VideoSupport.c"
- goto __catch540_database_error;
+ goto __catch538_database_error;
}
{
VideoRow* _tmp15_ = NULL;
@@ -8861,8 +8861,8 @@ guint64 video_remove_flags (Video* self, guint64 flags_to_remove, Alteration* ad
#line 8858 "VideoSupport.c"
}
}
- goto __finally540;
- __catch540_database_error:
+ goto __finally538;
+ __catch538_database_error:
{
GError* e = NULL;
GError* _tmp16_ = NULL;
@@ -8897,7 +8897,7 @@ guint64 video_remove_flags (Video* self, guint64 flags_to_remove, Alteration* ad
return result;
#line 8895 "VideoSupport.c"
}
- __finally540:
+ __finally538:
#line 990 "/home/jens/Source/shotwell/src/VideoSupport.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 8900 "VideoSupport.c"
@@ -8925,7 +8925,7 @@ guint64 video_remove_flags (Video* self, guint64 flags_to_remove, Alteration* ad
_tmp21_->flags = _tmp22_;
#line 8923 "VideoSupport.c"
}
- __finally539:
+ __finally537:
{
VideoRow* _tmp23_ = NULL;
#line 985 "/home/jens/Source/shotwell/src/VideoSupport.vala"
@@ -8998,7 +8998,7 @@ gboolean video_is_flag_set (Video* self, guint64 flag) {
return result;
#line 8996 "VideoSupport.c"
}
- __finally541:
+ __finally539:
{
VideoRow* _tmp6_ = NULL;
#line 1006 "/home/jens/Source/shotwell/src/VideoSupport.vala"
@@ -9120,7 +9120,7 @@ static void video_real_set_master_file (Monitorable* base, GFile* file) {
#line 1021 "/home/jens/Source/shotwell/src/VideoSupport.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 9119 "VideoSupport.c"
- goto __finally543;
+ goto __finally541;
}
#line 1022 "/home/jens/Source/shotwell/src/VideoSupport.vala"
_tmp15_ = self->priv->backing_row;
@@ -9134,7 +9134,7 @@ static void video_real_set_master_file (Monitorable* base, GFile* file) {
_tmp15_->filepath = _tmp17_;
#line 9132 "VideoSupport.c"
}
- __finally543:
+ __finally541:
{
VideoRow* _tmp18_ = NULL;
#line 1015 "/home/jens/Source/shotwell/src/VideoSupport.vala"
@@ -9148,7 +9148,7 @@ static void video_real_set_master_file (Monitorable* base, GFile* file) {
#line 1015 "/home/jens/Source/shotwell/src/VideoSupport.vala"
if (_inner_error_->domain == DATABASE_ERROR) {
#line 9147 "VideoSupport.c"
- goto __catch542_database_error;
+ goto __catch540_database_error;
}
#line 1015 "/home/jens/Source/shotwell/src/VideoSupport.vala"
_g_free0 (old_filepath);
@@ -9164,8 +9164,8 @@ static void video_real_set_master_file (Monitorable* base, GFile* file) {
}
}
}
- goto __finally542;
- __catch542_database_error:
+ goto __finally540;
+ __catch540_database_error:
{
GError* err = NULL;
GError* _tmp19_ = NULL;
@@ -9187,7 +9187,7 @@ static void video_real_set_master_file (Monitorable* base, GFile* file) {
return;
#line 9185 "VideoSupport.c"
}
- __finally542:
+ __finally540:
#line 1014 "/home/jens/Source/shotwell/src/VideoSupport.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1014 "/home/jens/Source/shotwell/src/VideoSupport.vala"
@@ -9357,7 +9357,7 @@ void video_interpretable_results_foreground_finish (VideoInterpretableResults* s
#line 329 "/home/jens/Source/shotwell/src/VideoSupport.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 9356 "VideoSupport.c"
- goto __catch544_g_error;
+ goto __catch542_g_error;
}
#line 330 "/home/jens/Source/shotwell/src/VideoSupport.vala"
_tmp6_ = self->video;
@@ -9368,7 +9368,7 @@ void video_interpretable_results_foreground_finish (VideoInterpretableResults* s
#line 330 "/home/jens/Source/shotwell/src/VideoSupport.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 9367 "VideoSupport.c"
- goto __catch544_g_error;
+ goto __catch542_g_error;
}
#line 332 "/home/jens/Source/shotwell/src/VideoSupport.vala"
_tmp8_ = self->video;
@@ -9376,8 +9376,8 @@ void video_interpretable_results_foreground_finish (VideoInterpretableResults* s
thumbnail_source_notify_thumbnail_altered (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, TYPE_THUMBNAIL_SOURCE, ThumbnailSource));
#line 9374 "VideoSupport.c"
}
- goto __finally544;
- __catch544_g_error:
+ goto __finally542;
+ __catch542_g_error:
{
GError* err = NULL;
Video* _tmp9_ = NULL;
@@ -9407,7 +9407,7 @@ void video_interpretable_results_foreground_finish (VideoInterpretableResults* s
_g_error_free0 (err);
#line 9405 "VideoSupport.c"
}
- __finally544:
+ __finally542:
#line 328 "/home/jens/Source/shotwell/src/VideoSupport.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 328 "/home/jens/Source/shotwell/src/VideoSupport.vala"
diff --git a/src/camera/Branch.c b/src/camera/Branch.c
index d8daac0..7f2836e 100644
--- a/src/camera/Branch.c
+++ b/src/camera/Branch.c
@@ -1,4 +1,4 @@
-/* Branch.c generated by valac 0.34.2, the Vala compiler
+/* Branch.c generated by valac 0.32.1, the Vala compiler
* generated from Branch.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/camera/Camera.c b/src/camera/Camera.c
index f2d3f42..71768fa 100644
--- a/src/camera/Camera.c
+++ b/src/camera/Camera.c
@@ -1,4 +1,4 @@
-/* Camera.c generated by valac 0.34.2, the Vala compiler
+/* Camera.c generated by valac 0.32.1, the Vala compiler
* generated from Camera.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/camera/CameraTable.c b/src/camera/CameraTable.c
index b25e4e0..6a49bcf 100644
--- a/src/camera/CameraTable.c
+++ b/src/camera/CameraTable.c
@@ -1,4 +1,4 @@
-/* CameraTable.c generated by valac 0.34.2, the Vala compiler
+/* CameraTable.c generated by valac 0.32.1, the Vala compiler
* generated from CameraTable.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -1545,37 +1545,37 @@ static glong string_strnlen (gchar* str, glong maxlen) {
glong _tmp1_ = 0L;
gchar* _tmp2_ = NULL;
gchar* _tmp3_ = NULL;
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = str;
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = maxlen;
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = memchr (_tmp0_, 0, (gsize) _tmp1_);
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
end = _tmp2_;
-#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = end;
-#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp3_ == NULL) {
#line 1559 "CameraTable.c"
glong _tmp4_ = 0L;
-#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = maxlen;
-#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp4_;
-#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 1567 "CameraTable.c"
} else {
gchar* _tmp5_ = NULL;
gchar* _tmp6_ = NULL;
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = end;
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6_ = str;
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = (glong) (_tmp5_ - _tmp6_);
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 1579 "CameraTable.c"
}
@@ -1595,112 +1595,112 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) {
glong _tmp20_ = 0L;
glong _tmp21_ = 0L;
gchar* _tmp22_ = NULL;
-#line 1306 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1306 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = offset;
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp1_ >= ((glong) 0)) {
#line 1603 "CameraTable.c"
glong _tmp2_ = 0L;
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = len;
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = _tmp2_ >= ((glong) 0);
#line 1609 "CameraTable.c"
} else {
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = FALSE;
#line 1613 "CameraTable.c"
}
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp0_) {
#line 1617 "CameraTable.c"
glong _tmp3_ = 0L;
glong _tmp4_ = 0L;
glong _tmp5_ = 0L;
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = offset;
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = len;
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = string_strnlen ((gchar*) self, _tmp3_ + _tmp4_);
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
string_length = _tmp5_;
#line 1629 "CameraTable.c"
} else {
gint _tmp6_ = 0;
gint _tmp7_ = 0;
-#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6_ = strlen (self);
-#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp7_ = _tmp6_;
-#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
string_length = (glong) _tmp7_;
#line 1639 "CameraTable.c"
}
-#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp8_ = offset;
-#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp8_ < ((glong) 0)) {
#line 1645 "CameraTable.c"
glong _tmp9_ = 0L;
glong _tmp10_ = 0L;
glong _tmp11_ = 0L;
-#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp9_ = string_length;
-#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp10_ = offset;
-#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
offset = _tmp9_ + _tmp10_;
-#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp11_ = offset;
-#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp11_ >= ((glong) 0), NULL);
#line 1659 "CameraTable.c"
} else {
glong _tmp12_ = 0L;
glong _tmp13_ = 0L;
-#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp12_ = offset;
-#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp13_ = string_length;
-#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp12_ <= _tmp13_, NULL);
#line 1669 "CameraTable.c"
}
-#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp14_ = len;
-#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp14_ < ((glong) 0)) {
#line 1675 "CameraTable.c"
glong _tmp15_ = 0L;
glong _tmp16_ = 0L;
-#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp15_ = string_length;
-#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp16_ = offset;
-#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
len = _tmp15_ - _tmp16_;
#line 1684 "CameraTable.c"
}
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp17_ = offset;
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp18_ = len;
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp19_ = string_length;
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail ((_tmp17_ + _tmp18_) <= _tmp19_, NULL);
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp20_ = offset;
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp21_ = len;
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp22_ = g_strndup (((gchar*) self) + _tmp20_, (gsize) _tmp21_);
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp22_;
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 1704 "CameraTable.c"
}
@@ -1709,11 +1709,11 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) {
static gchar* string_replace (const gchar* self, const gchar* old, const gchar* replacement) {
gchar* result = NULL;
GError * _inner_error_ = NULL;
-#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (old != NULL, NULL);
-#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (replacement != NULL, NULL);
#line 1717 "CameraTable.c"
{
@@ -1728,73 +1728,73 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar*
const gchar* _tmp7_ = NULL;
gchar* _tmp8_ = NULL;
gchar* _tmp9_ = NULL;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = old;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = g_regex_escape_string (_tmp0_, -1);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = _tmp1_;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = g_regex_new (_tmp2_, 0, 0, &_inner_error_);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = _tmp3_;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_free0 (_tmp2_);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
regex = _tmp4_;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_inner_error_->domain == G_REGEX_ERROR) {
#line 1748 "CameraTable.c"
goto __catch56_g_regex_error;
}
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_clear_error (&_inner_error_);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return NULL;
#line 1757 "CameraTable.c"
}
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6_ = regex;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp7_ = replacement;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp8_ = g_regex_replace_literal (_tmp6_, self, (gssize) -1, 0, _tmp7_, 0, &_inner_error_);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = _tmp8_;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_regex_unref0 (regex);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_inner_error_->domain == G_REGEX_ERROR) {
#line 1773 "CameraTable.c"
goto __catch56_g_regex_error;
}
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_regex_unref0 (regex);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_clear_error (&_inner_error_);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return NULL;
#line 1784 "CameraTable.c"
}
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp9_ = _tmp5_;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = NULL;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp9_;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_free0 (_tmp5_);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_regex_unref0 (regex);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 1798 "CameraTable.c"
}
@@ -1802,24 +1802,24 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar*
__catch56_g_regex_error:
{
GError* e = NULL;
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
e = _inner_error_;
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_inner_error_ = NULL;
-#line 1385 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1385 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_assert_not_reached ();
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_error_free0 (e);
#line 1812 "CameraTable.c"
}
__finally56:
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
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 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_clear_error (&_inner_error_);
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return NULL;
#line 1823 "CameraTable.c"
}
diff --git a/src/camera/GPhoto.c b/src/camera/GPhoto.c
index 7d923bd..a703945 100644
--- a/src/camera/GPhoto.c
+++ b/src/camera/GPhoto.c
@@ -1,4 +1,4 @@
-/* GPhoto.c generated by valac 0.34.2, the Vala compiler
+/* GPhoto.c generated by valac 0.32.1, the Vala compiler
* generated from GPhoto.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -1032,103 +1032,103 @@ static gchar* string_slice (const gchar* self, glong start, glong end) {
glong _tmp19_ = 0L;
glong _tmp20_ = 0L;
gchar* _tmp21_ = NULL;
-#line 1328 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1328 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1329 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1329 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = strlen (self);
-#line 1329 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1329 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = _tmp0_;
-#line 1329 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1329 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
string_length = (glong) _tmp1_;
-#line 1330 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1330 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = start;
-#line 1330 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1330 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp2_ < ((glong) 0)) {
#line 1048 "GPhoto.c"
glong _tmp3_ = 0L;
glong _tmp4_ = 0L;
-#line 1331 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1331 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = string_length;
-#line 1331 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1331 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = start;
-#line 1331 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1331 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
start = _tmp3_ + _tmp4_;
#line 1057 "GPhoto.c"
}
-#line 1333 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1333 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = end;
-#line 1333 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1333 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp5_ < ((glong) 0)) {
#line 1063 "GPhoto.c"
glong _tmp6_ = 0L;
glong _tmp7_ = 0L;
-#line 1334 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1334 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6_ = string_length;
-#line 1334 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1334 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp7_ = end;
-#line 1334 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1334 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
end = _tmp6_ + _tmp7_;
#line 1072 "GPhoto.c"
}
-#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp9_ = start;
-#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp9_ >= ((glong) 0)) {
#line 1078 "GPhoto.c"
glong _tmp10_ = 0L;
glong _tmp11_ = 0L;
-#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp10_ = start;
-#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp11_ = string_length;
-#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp8_ = _tmp10_ <= _tmp11_;
#line 1087 "GPhoto.c"
} else {
-#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp8_ = FALSE;
#line 1091 "GPhoto.c"
}
-#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp8_, NULL);
-#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp13_ = end;
-#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp13_ >= ((glong) 0)) {
#line 1099 "GPhoto.c"
glong _tmp14_ = 0L;
glong _tmp15_ = 0L;
-#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp14_ = end;
-#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp15_ = string_length;
-#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp12_ = _tmp14_ <= _tmp15_;
#line 1108 "GPhoto.c"
} else {
-#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp12_ = FALSE;
#line 1112 "GPhoto.c"
}
-#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp12_, NULL);
-#line 1338 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1338 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp16_ = start;
-#line 1338 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1338 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp17_ = end;
-#line 1338 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1338 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp16_ <= _tmp17_, NULL);
-#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp18_ = start;
-#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp19_ = end;
-#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp20_ = start;
-#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp21_ = g_strndup (((gchar*) self) + _tmp18_, (gsize) (_tmp19_ - _tmp20_));
-#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp21_;
-#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 1134 "GPhoto.c"
}
@@ -1769,7 +1769,7 @@ GdkPixbuf* gp_load_preview (GPContext* context, Camera* camera, const gchar* fol
#line 187 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp46_ = mins;
#line 187 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
- _tmp47_ = gdk_pixbuf_new_from_stream_at_scale (G_TYPE_CHECK_INSTANCE_CAST (_tmp46_, g_input_stream_get_type (), GInputStream), IMPORT_PREVIEW_MAX_SCALE, IMPORT_PREVIEW_MAX_SCALE, TRUE, NULL, &_inner_error_);
+ _tmp47_ = gdk_pixbuf_new_from_stream_at_scale (G_TYPE_CHECK_INSTANCE_CAST (_tmp46_, G_TYPE_INPUT_STREAM, GInputStream), IMPORT_PREVIEW_MAX_SCALE, IMPORT_PREVIEW_MAX_SCALE, TRUE, NULL, &_inner_error_);
#line 187 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp45_ = _tmp47_;
#line 187 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
@@ -2472,7 +2472,7 @@ GInputStream* gp_load_file_into_stream (GPContext* context, Camera* camera, cons
#line 259 "/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 259 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
- result = G_TYPE_CHECK_INSTANCE_CAST (_tmp31_, g_input_stream_get_type (), GInputStream);
+ result = G_TYPE_CHECK_INSTANCE_CAST (_tmp31_, G_TYPE_INPUT_STREAM, GInputStream);
#line 259 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
buffer = (g_free (buffer), NULL);
#line 259 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
@@ -2577,7 +2577,7 @@ GInputStream* gp_load_file_into_stream (GPContext* context, Camera* camera, cons
#line 269 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_tmp51_ = NULL;
#line 269 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
- result = G_TYPE_CHECK_INSTANCE_CAST (_tmp54_, g_input_stream_get_type (), GInputStream);
+ result = G_TYPE_CHECK_INSTANCE_CAST (_tmp54_, G_TYPE_INPUT_STREAM, GInputStream);
#line 269 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
_g_object_unref0 (_tmp51_);
#line 269 "/home/jens/Source/shotwell/src/camera/GPhoto.vala"
diff --git a/src/camera/ImportPage.c b/src/camera/ImportPage.c
index be81b96..928a456 100644
--- a/src/camera/ImportPage.c
+++ b/src/camera/ImportPage.c
@@ -1,4 +1,4 @@
-/* ImportPage.c generated by valac 0.34.2, the Vala compiler
+/* ImportPage.c generated by valac 0.32.1, the Vala compiler
* generated from ImportPage.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -1883,7 +1883,7 @@ GType app_window_get_type (void) G_GNUC_CONST;
AppWindow* app_window_get_instance (void);
GAction* page_get_action (Page* self, const gchar* name);
gboolean configuration_facade_get_display_photo_titles (ConfigurationFacade* self);
-static GVariant* _variant_new11 (gboolean value);
+static GVariant* _variant_new15 (gboolean value);
Camera* import_page_get_camera (ImportPage* self);
gchar* import_page_get_uri (ImportPage* self);
gboolean import_page_is_busy (ImportPage* self);
@@ -5621,9 +5621,9 @@ ImportPage* import_page_construct (GType object_type, Camera* camera, const gcha
#line 759 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp53_, TYPE_DATA_COLLECTION, DataCollection), "contents-altered", (GCallback) _import_page_on_media_added_removed_data_collection_contents_altered, self, 0);
#line 761 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- checkerboard_page_init_item_context_menu (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage), "/ImportContextMenu");
+ checkerboard_page_init_item_context_menu (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage), "ImportContextMenu");
#line 762 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- checkerboard_page_init_page_context_menu (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage), "/ImportContextMenu");
+ checkerboard_page_init_page_context_menu (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage), "ImportContextMenu");
#line 709 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return self;
#line 5629 "ImportPage.c"
@@ -6097,7 +6097,7 @@ static void import_page_real_init_collect_ui_filenames (Page* base, GeeList* ui_
}
-static GVariant* _variant_new11 (gboolean value) {
+static GVariant* _variant_new15 (gboolean value) {
#line 880 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return g_variant_ref_sink (g_variant_new_boolean (value));
#line 6103 "ImportPage.c"
@@ -6109,12 +6109,11 @@ static void import_page_real_add_actions (Page* base) {
AppWindow* _tmp0_ = NULL;
AppWindow* _tmp1_ = NULL;
GAction* _tmp2_ = NULL;
- GSimpleAction* _tmp3_ = NULL;
- GSimpleAction* _tmp4_ = NULL;
+ GAction* _tmp3_ = NULL;
+ ConfigFacade* _tmp4_ = NULL;
ConfigFacade* _tmp5_ = NULL;
- ConfigFacade* _tmp6_ = NULL;
- gboolean _tmp7_ = FALSE;
- GVariant* _tmp8_ = NULL;
+ gboolean _tmp6_ = FALSE;
+ GVariant* _tmp7_ = NULL;
#line 875 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_IMPORT_PAGE, ImportPage);
#line 876 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -6130,32 +6129,24 @@ static void import_page_real_add_actions (Page* base) {
#line 880 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp2_ = page_get_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "ViewTitle");
#line 880 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp3_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp2_, g_simple_action_get_type ()) ? ((GSimpleAction*) _tmp2_) : NULL;
-#line 880 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- if (_tmp3_ == NULL) {
-#line 880 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _g_object_unref0 (_tmp2_);
-#line 6138 "ImportPage.c"
- }
-#line 880 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp4_ = _tmp3_;
+ _tmp3_ = _tmp2_;
#line 880 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp5_ = config_facade_get_instance ();
+ _tmp4_ = config_facade_get_instance ();
#line 880 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp6_ = _tmp5_;
+ _tmp5_ = _tmp4_;
#line 880 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp7_ = configuration_facade_get_display_photo_titles (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
+ _tmp6_ = configuration_facade_get_display_photo_titles (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
#line 880 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _tmp8_ = _variant_new11 (_tmp7_);
+ _tmp7_ = _variant_new15 (_tmp6_);
#line 880 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- g_simple_action_set_state (_tmp4_, _tmp8_);
+ g_action_change_state (_tmp3_, _tmp7_);
#line 880 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _g_variant_unref0 (_tmp8_);
+ _g_variant_unref0 (_tmp7_);
#line 880 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _g_object_unref0 (_tmp6_);
+ _g_object_unref0 (_tmp5_);
#line 880 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
- _g_object_unref0 (_tmp4_);
-#line 6158 "ImportPage.c"
+ _g_object_unref0 (_tmp3_);
+#line 6149 "ImportPage.c"
}
@@ -6173,7 +6164,7 @@ Camera* import_page_get_camera (ImportPage* self) {
result = _tmp1_;
#line 884 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 6176 "ImportPage.c"
+#line 6167 "ImportPage.c"
}
@@ -6191,7 +6182,7 @@ gchar* import_page_get_uri (ImportPage* self) {
result = _tmp1_;
#line 888 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 6194 "ImportPage.c"
+#line 6185 "ImportPage.c"
}
@@ -6206,7 +6197,7 @@ gboolean import_page_is_busy (ImportPage* self) {
result = _tmp0_;
#line 892 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 6209 "ImportPage.c"
+#line 6200 "ImportPage.c"
}
@@ -6228,7 +6219,7 @@ static void import_page_real_init_actions (Page* base, gint selected_count, gint
_tmp1_ = count;
#line 901 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
PAGE_CLASS (import_page_parent_class)->init_actions (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage), TYPE_PAGE, Page), _tmp0_, _tmp1_);
-#line 6231 "ImportPage.c"
+#line 6222 "ImportPage.c"
}
@@ -6242,23 +6233,23 @@ gboolean import_page_is_refreshed (ImportPage* self) {
_tmp1_ = self->priv->refreshed;
#line 905 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp1_) {
-#line 6245 "ImportPage.c"
+#line 6236 "ImportPage.c"
gboolean _tmp2_ = FALSE;
#line 905 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp2_ = self->priv->busy;
#line 905 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp0_ = !_tmp2_;
-#line 6251 "ImportPage.c"
+#line 6242 "ImportPage.c"
} else {
#line 905 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp0_ = FALSE;
-#line 6255 "ImportPage.c"
+#line 6246 "ImportPage.c"
}
#line 905 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
result = _tmp0_;
#line 905 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 6261 "ImportPage.c"
+#line 6252 "ImportPage.c"
}
@@ -6274,7 +6265,7 @@ gchar* import_page_get_refresh_message (ImportPage* self) {
_tmp0_ = self->priv->refresh_error;
#line 910 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp0_ != NULL) {
-#line 6277 "ImportPage.c"
+#line 6268 "ImportPage.c"
const gchar* _tmp1_ = NULL;
gchar* _tmp2_ = NULL;
#line 911 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -6285,14 +6276,14 @@ gchar* import_page_get_refresh_message (ImportPage* self) {
_g_free0 (msg);
#line 911 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
msg = _tmp2_;
-#line 6288 "ImportPage.c"
+#line 6279 "ImportPage.c"
} else {
int _tmp3_ = 0;
#line 912 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp3_ = self->priv->refresh_result;
#line 912 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp3_ == GP_OK) {
-#line 6295 "ImportPage.c"
+#line 6286 "ImportPage.c"
} else {
int _tmp4_ = 0;
gchar* _tmp5_ = NULL;
@@ -6304,14 +6295,14 @@ gchar* import_page_get_refresh_message (ImportPage* self) {
_g_free0 (msg);
#line 915 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
msg = _tmp5_;
-#line 6307 "ImportPage.c"
+#line 6298 "ImportPage.c"
}
}
#line 918 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
result = msg;
#line 918 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 6314 "ImportPage.c"
+#line 6305 "ImportPage.c"
}
@@ -6330,7 +6321,7 @@ static void import_page_update_status (ImportPage* self, gboolean busy, gboolean
self->priv->refreshed = _tmp1_;
#line 925 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
import_page_on_view_changed (self);
-#line 6333 "ImportPage.c"
+#line 6324 "ImportPage.c"
}
@@ -6342,7 +6333,7 @@ static void import_page_update_toolbar_state (ImportPage* self) {
_tmp0_ = self->priv->hide_imported;
#line 929 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp0_ != NULL) {
-#line 6345 "ImportPage.c"
+#line 6336 "ImportPage.c"
gboolean _tmp1_ = FALSE;
gboolean _tmp2_ = FALSE;
gboolean _tmp3_ = FALSE;
@@ -6351,21 +6342,21 @@ static void import_page_update_toolbar_state (ImportPage* self) {
_tmp3_ = self->priv->busy;
#line 930 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (!_tmp3_) {
-#line 6354 "ImportPage.c"
+#line 6345 "ImportPage.c"
gboolean _tmp4_ = FALSE;
#line 930 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp4_ = self->priv->refreshed;
#line 930 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp2_ = _tmp4_;
-#line 6360 "ImportPage.c"
+#line 6351 "ImportPage.c"
} else {
#line 930 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp2_ = FALSE;
-#line 6364 "ImportPage.c"
+#line 6355 "ImportPage.c"
}
#line 930 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp2_) {
-#line 6368 "ImportPage.c"
+#line 6359 "ImportPage.c"
ViewCollection* _tmp5_ = NULL;
ViewCollection* _tmp6_ = NULL;
gint _tmp7_ = 0;
@@ -6379,17 +6370,17 @@ static void import_page_update_toolbar_state (ImportPage* self) {
_tmp1_ = _tmp7_ > 0;
#line 930 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_data_collection_unref0 (_tmp6_);
-#line 6382 "ImportPage.c"
+#line 6373 "ImportPage.c"
} else {
#line 930 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp1_ = FALSE;
-#line 6386 "ImportPage.c"
+#line 6377 "ImportPage.c"
}
#line 930 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp8_ = self->priv->hide_imported;
#line 930 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, gtk_widget_get_type (), GtkWidget), _tmp1_);
-#line 6392 "ImportPage.c"
+#line 6383 "ImportPage.c"
}
}
@@ -6409,21 +6400,21 @@ static void import_page_on_view_changed (ImportPage* self) {
_tmp2_ = self->priv->busy;
#line 934 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (!_tmp2_) {
-#line 6412 "ImportPage.c"
+#line 6403 "ImportPage.c"
gboolean _tmp3_ = FALSE;
#line 934 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp3_ = self->priv->refreshed;
#line 934 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp1_ = _tmp3_;
-#line 6418 "ImportPage.c"
+#line 6409 "ImportPage.c"
} else {
#line 934 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp1_ = FALSE;
-#line 6422 "ImportPage.c"
+#line 6413 "ImportPage.c"
}
#line 934 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp1_) {
-#line 6426 "ImportPage.c"
+#line 6417 "ImportPage.c"
ViewCollection* _tmp4_ = NULL;
ViewCollection* _tmp5_ = NULL;
gint _tmp6_ = 0;
@@ -6437,11 +6428,11 @@ static void import_page_on_view_changed (ImportPage* self) {
_tmp0_ = _tmp6_ > 0;
#line 934 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_data_collection_unref0 (_tmp5_);
-#line 6440 "ImportPage.c"
+#line 6431 "ImportPage.c"
} else {
#line 934 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp0_ = FALSE;
-#line 6444 "ImportPage.c"
+#line 6435 "ImportPage.c"
}
#line 934 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "ImportSelected", _tmp0_);
@@ -6449,21 +6440,21 @@ static void import_page_on_view_changed (ImportPage* self) {
_tmp9_ = self->priv->busy;
#line 935 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (!_tmp9_) {
-#line 6452 "ImportPage.c"
+#line 6443 "ImportPage.c"
gboolean _tmp10_ = FALSE;
#line 935 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp10_ = self->priv->refreshed;
#line 935 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp8_ = _tmp10_;
-#line 6458 "ImportPage.c"
+#line 6449 "ImportPage.c"
} else {
#line 935 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp8_ = FALSE;
-#line 6462 "ImportPage.c"
+#line 6453 "ImportPage.c"
}
#line 935 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp8_) {
-#line 6466 "ImportPage.c"
+#line 6457 "ImportPage.c"
ViewCollection* _tmp11_ = NULL;
ViewCollection* _tmp12_ = NULL;
gint _tmp13_ = 0;
@@ -6477,11 +6468,11 @@ static void import_page_on_view_changed (ImportPage* self) {
_tmp7_ = _tmp13_ > 0;
#line 935 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_data_collection_unref0 (_tmp12_);
-#line 6480 "ImportPage.c"
+#line 6471 "ImportPage.c"
} else {
#line 935 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp7_ = FALSE;
-#line 6484 "ImportPage.c"
+#line 6475 "ImportPage.c"
}
#line 935 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "ImportAll", _tmp7_);
@@ -6489,7 +6480,7 @@ static void import_page_on_view_changed (ImportPage* self) {
_tmp15_ = self->priv->busy;
#line 936 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (!_tmp15_) {
-#line 6492 "ImportPage.c"
+#line 6483 "ImportPage.c"
ViewCollection* _tmp16_ = NULL;
ViewCollection* _tmp17_ = NULL;
gint _tmp18_ = 0;
@@ -6503,17 +6494,17 @@ static void import_page_on_view_changed (ImportPage* self) {
_tmp14_ = _tmp18_ > 0;
#line 936 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_data_collection_unref0 (_tmp17_);
-#line 6506 "ImportPage.c"
+#line 6497 "ImportPage.c"
} else {
#line 936 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp14_ = FALSE;
-#line 6510 "ImportPage.c"
+#line 6501 "ImportPage.c"
}
#line 936 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
page_set_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "CommonSelectAll", _tmp14_);
#line 938 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
import_page_update_toolbar_state (self);
-#line 6516 "ImportPage.c"
+#line 6507 "ImportPage.c"
}
@@ -6525,7 +6516,7 @@ static void import_page_on_media_added_removed (ImportPage* self) {
_tmp0_ = self->priv->search_filter;
#line 942 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
g_signal_emit_by_name (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_VIEW_FILTER, ViewFilter), "refresh");
-#line 6528 "ImportPage.c"
+#line 6519 "ImportPage.c"
}
@@ -6563,7 +6554,7 @@ static void import_page_on_display_titles (ImportPage* self, GSimpleAction* acti
_tmp5_ = value;
#line 951 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
g_simple_action_set_state (_tmp4_, _tmp5_);
-#line 6566 "ImportPage.c"
+#line 6557 "ImportPage.c"
}
@@ -6586,7 +6577,7 @@ static void import_page_real_switched_to (Page* base) {
_g_object_unref0 (_tmp1_);
#line 957 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
PAGE_CLASS (import_page_parent_class)->switched_to (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage), TYPE_PAGE, Page));
-#line 6589 "ImportPage.c"
+#line 6580 "ImportPage.c"
}
@@ -6601,7 +6592,7 @@ static void import_page_real_ready (Page* base) {
_tmp0_ = self->priv->hide_imported_filter;
#line 962 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
g_signal_emit_by_name (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_VIEW_FILTER, ViewFilter), "refresh");
-#line 6604 "ImportPage.c"
+#line 6595 "ImportPage.c"
}
@@ -6620,20 +6611,20 @@ static void import_page_try_refreshing_camera (ImportPage* self, gboolean fail_o
if (_tmp1_) {
#line 967 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp0_ = TRUE;
-#line 6623 "ImportPage.c"
+#line 6614 "ImportPage.c"
} else {
gboolean _tmp2_ = FALSE;
#line 967 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp2_ = self->priv->busy;
#line 967 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp0_ = _tmp2_;
-#line 6630 "ImportPage.c"
+#line 6621 "ImportPage.c"
}
#line 967 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp0_) {
#line 968 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return;
-#line 6636 "ImportPage.c"
+#line 6627 "ImportPage.c"
}
#line 970 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp3_ = import_page_refresh_camera (self);
@@ -6647,15 +6638,15 @@ static void import_page_try_refreshing_camera (ImportPage* self, gboolean fail_o
case IMPORT_PAGE_REFRESH_RESULT_OK:
#line 971 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
case IMPORT_PAGE_REFRESH_RESULT_BUSY:
-#line 6650 "ImportPage.c"
+#line 6641 "ImportPage.c"
{
#line 976 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
break;
-#line 6654 "ImportPage.c"
+#line 6645 "ImportPage.c"
}
#line 971 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
case IMPORT_PAGE_REFRESH_RESULT_LOCKED:
-#line 6658 "ImportPage.c"
+#line 6649 "ImportPage.c"
{
gboolean _tmp5_ = FALSE;
const gchar* _tmp6_ = NULL;
@@ -6672,7 +6663,7 @@ static void import_page_try_refreshing_camera (ImportPage* self, gboolean fail_o
app_window_error_message (IMPORT_PAGE_UNMOUNT_FAILED_MSG, NULL);
#line 982 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
break;
-#line 6675 "ImportPage.c"
+#line 6666 "ImportPage.c"
}
#line 986 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp6_ = self->priv->uri;
@@ -6686,7 +6677,7 @@ static void import_page_try_refreshing_camera (ImportPage* self, gboolean fail_o
uri = _tmp8_;
#line 990 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
mount = NULL;
-#line 6689 "ImportPage.c"
+#line 6680 "ImportPage.c"
{
GMount* _tmp9_ = NULL;
GFile* _tmp10_ = NULL;
@@ -6700,7 +6691,7 @@ static void import_page_try_refreshing_camera (ImportPage* self, gboolean fail_o
_tmp9_ = _tmp11_;
#line 992 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 6703 "ImportPage.c"
+#line 6694 "ImportPage.c"
goto __catch62_g_error;
}
#line 992 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -6713,7 +6704,7 @@ static void import_page_try_refreshing_camera (ImportPage* self, gboolean fail_o
mount = _tmp12_;
#line 991 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (_tmp9_);
-#line 6716 "ImportPage.c"
+#line 6707 "ImportPage.c"
}
goto __finally62;
__catch62_g_error:
@@ -6725,7 +6716,7 @@ static void import_page_try_refreshing_camera (ImportPage* self, gboolean fail_o
_inner_error_ = NULL;
#line 991 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_error_free0 (err);
-#line 6728 "ImportPage.c"
+#line 6719 "ImportPage.c"
}
__finally62:
#line 991 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -6740,13 +6731,13 @@ static void import_page_try_refreshing_camera (ImportPage* self, gboolean fail_o
g_clear_error (&_inner_error_);
#line 991 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return;
-#line 6743 "ImportPage.c"
+#line 6734 "ImportPage.c"
}
#line 997 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp13_ = mount;
#line 997 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp13_ != NULL) {
-#line 6749 "ImportPage.c"
+#line 6740 "ImportPage.c"
gchar* mounted_message = NULL;
const gchar* _tmp14_ = NULL;
gchar* _tmp15_ = NULL;
@@ -6811,26 +6802,26 @@ static void import_page_try_refreshing_camera (ImportPage* self, gboolean fail_o
_tmp27_ = dialog_res;
#line 1009 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp27_ != ((gint) GTK_RESPONSE_YES)) {
-#line 6813 "ImportPage.c"
+#line 6804 "ImportPage.c"
const gchar* _tmp28_ = NULL;
#line 1010 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp28_ = _ ("Please unmount the camera.");
#line 1010 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
checkerboard_page_set_page_message (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage), _tmp28_);
-#line 6819 "ImportPage.c"
+#line 6810 "ImportPage.c"
} else {
GMount* _tmp29_ = NULL;
#line 1012 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp29_ = mount;
#line 1012 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
import_page_unmount_camera (self, _tmp29_);
-#line 6826 "ImportPage.c"
+#line 6817 "ImportPage.c"
}
#line 997 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (dialog);
#line 997 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (mounted_message);
-#line 6832 "ImportPage.c"
+#line 6823 "ImportPage.c"
} else {
gchar* locked_message = NULL;
const gchar* _tmp30_ = NULL;
@@ -6889,7 +6880,7 @@ static void import_page_try_refreshing_camera (ImportPage* self, gboolean fail_o
_g_object_unref0 (dialog);
#line 997 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (locked_message);
-#line 6889 "ImportPage.c"
+#line 6880 "ImportPage.c"
}
#line 1027 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (mount);
@@ -6897,11 +6888,11 @@ static void import_page_try_refreshing_camera (ImportPage* self, gboolean fail_o
_g_object_unref0 (uri);
#line 1027 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
break;
-#line 6897 "ImportPage.c"
+#line 6888 "ImportPage.c"
}
#line 971 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
case IMPORT_PAGE_REFRESH_RESULT_LIBRARY_ERROR:
-#line 6901 "ImportPage.c"
+#line 6892 "ImportPage.c"
{
const gchar* _tmp41_ = NULL;
gchar* _tmp42_ = NULL;
@@ -6926,7 +6917,7 @@ static void import_page_try_refreshing_camera (ImportPage* self, gboolean fail_o
_g_free0 (_tmp43_);
#line 1032 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
break;
-#line 6926 "ImportPage.c"
+#line 6917 "ImportPage.c"
}
default:
{
@@ -6935,7 +6926,7 @@ static void import_page_try_refreshing_camera (ImportPage* self, gboolean fail_o
_tmp46_ = res;
#line 1035 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
g_error ("ImportPage.vala:1035: Unknown result type %d", (gint) _tmp46_);
-#line 6935 "ImportPage.c"
+#line 6926 "ImportPage.c"
}
}
}
@@ -6944,7 +6935,7 @@ static void import_page_try_refreshing_camera (ImportPage* self, gboolean fail_o
static void _import_page_on_unmounted_g_mount_unmounted (GMount* _sender, gpointer self) {
#line 1052 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
import_page_on_unmounted ((ImportPage*) self, _sender);
-#line 6944 "ImportPage.c"
+#line 6935 "ImportPage.c"
}
@@ -6953,7 +6944,7 @@ static void _import_page_on_unmount_finished_gasync_ready_callback (GObject* sou
import_page_on_unmount_finished ((ImportPage*) self, source_object, res);
#line 1055 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
g_object_unref (self);
-#line 6953 "ImportPage.c"
+#line 6944 "ImportPage.c"
}
@@ -6983,7 +6974,7 @@ gboolean import_page_unmount_camera (ImportPage* self, GMount* mount) {
result = FALSE;
#line 1041 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 6983 "ImportPage.c"
+#line 6974 "ImportPage.c"
}
#line 1043 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
import_page_update_status (self, TRUE, FALSE);
@@ -7031,7 +7022,7 @@ gboolean import_page_unmount_camera (ImportPage* self, GMount* mount) {
result = TRUE;
#line 1058 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 7031 "ImportPage.c"
+#line 7022 "ImportPage.c"
}
@@ -7054,7 +7045,7 @@ static void import_page_on_unmount_finished (ImportPage* self, GObject* source,
_tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, g_mount_get_type (), GMount));
#line 1064 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
mount = _tmp1_;
-#line 7054 "ImportPage.c"
+#line 7045 "ImportPage.c"
{
GAsyncResult* _tmp2_ = NULL;
#line 1066 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -7063,7 +7054,7 @@ static void import_page_on_unmount_finished (ImportPage* self, GObject* source,
g_mount_unmount_with_operation_finish (mount, _tmp2_, &_inner_error_);
#line 1066 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 7063 "ImportPage.c"
+#line 7054 "ImportPage.c"
goto __catch63_g_error;
}
}
@@ -7104,7 +7095,7 @@ static void import_page_on_unmount_finished (ImportPage* self, GObject* source,
gtk_widget_set_visible (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_widget_get_type (), GtkWidget), FALSE);
#line 1065 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_error_free0 (err);
-#line 7104 "ImportPage.c"
+#line 7095 "ImportPage.c"
}
__finally63:
#line 1065 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -7117,11 +7108,11 @@ static void import_page_on_unmount_finished (ImportPage* self, GObject* source,
g_clear_error (&_inner_error_);
#line 1065 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return;
-#line 7117 "ImportPage.c"
+#line 7108 "ImportPage.c"
}
#line 1061 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (mount);
-#line 7121 "ImportPage.c"
+#line 7112 "ImportPage.c"
}
@@ -7154,7 +7145,7 @@ static void import_page_on_unmounted (ImportPage* self, GMount* mount) {
gtk_widget_set_visible (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_widget_get_type (), GtkWidget), FALSE);
#line 1088 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
import_page_try_refreshing_camera (self, TRUE);
-#line 7154 "ImportPage.c"
+#line 7145 "ImportPage.c"
}
@@ -7179,7 +7170,7 @@ static void import_page_clear_all_import_sources (ImportPage* self) {
source_collection_destroy_marked (_tmp2_, marker, FALSE, NULL, NULL, NULL);
#line 1091 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (marker);
-#line 7179 "ImportPage.c"
+#line 7170 "ImportPage.c"
}
@@ -7251,7 +7242,7 @@ static gboolean import_page_check_directory_exists (ImportPage* self, gint fsid,
_g_free0 (fulldir);
#line 1112 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 7251 "ImportPage.c"
+#line 7242 "ImportPage.c"
}
#line 1115 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp8_ = self->priv->camera;
@@ -7279,7 +7270,7 @@ static gboolean import_page_check_directory_exists (ImportPage* self, gint fsid,
_g_free0 (fulldir);
#line 1118 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 7279 "ImportPage.c"
+#line 7270 "ImportPage.c"
}
#line 1121 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp15_ = folders;
@@ -7287,19 +7278,19 @@ static gboolean import_page_check_directory_exists (ImportPage* self, gint fsid,
_tmp16_ = gp_list_count (_tmp15_);
#line 1121 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
list_len = _tmp16_;
-#line 7287 "ImportPage.c"
+#line 7278 "ImportPage.c"
{
gint list_index = 0;
#line 1123 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
list_index = 0;
-#line 7292 "ImportPage.c"
+#line 7283 "ImportPage.c"
{
gboolean _tmp17_ = FALSE;
#line 1123 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp17_ = TRUE;
#line 1123 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
while (TRUE) {
-#line 7299 "ImportPage.c"
+#line 7290 "ImportPage.c"
gint _tmp19_ = 0;
gint _tmp20_ = 0;
gchar* tmp = NULL;
@@ -7311,13 +7302,13 @@ static gboolean import_page_check_directory_exists (ImportPage* self, gint fsid,
const gchar* _tmp26_ = NULL;
#line 1123 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (!_tmp17_) {
-#line 7311 "ImportPage.c"
+#line 7302 "ImportPage.c"
gint _tmp18_ = 0;
#line 1123 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp18_ = list_index;
#line 1123 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
list_index = _tmp18_ + 1;
-#line 7317 "ImportPage.c"
+#line 7308 "ImportPage.c"
}
#line 1123 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp17_ = FALSE;
@@ -7329,7 +7320,7 @@ static gboolean import_page_check_directory_exists (ImportPage* self, gint fsid,
if (!(_tmp19_ < _tmp20_)) {
#line 1123 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
break;
-#line 7329 "ImportPage.c"
+#line 7320 "ImportPage.c"
}
#line 1126 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp21_ = folders;
@@ -7359,11 +7350,11 @@ static gboolean import_page_check_directory_exists (ImportPage* self, gint fsid,
_g_free0 (fulldir);
#line 1128 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 7359 "ImportPage.c"
+#line 7350 "ImportPage.c"
}
#line 1123 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (tmp);
-#line 7363 "ImportPage.c"
+#line 7354 "ImportPage.c"
}
}
}
@@ -7375,7 +7366,7 @@ static gboolean import_page_check_directory_exists (ImportPage* self, gint fsid,
_g_free0 (fulldir);
#line 1131 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 7375 "ImportPage.c"
+#line 7366 "ImportPage.c"
}
@@ -7430,7 +7421,7 @@ static ImportPageRefreshResult import_page_refresh_camera (ImportPage* self) {
result = IMPORT_PAGE_REFRESH_RESULT_BUSY;
#line 1136 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 7430 "ImportPage.c"
+#line 7421 "ImportPage.c"
}
#line 1138 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp1_ = _ ("Starting import, please wait…");
@@ -7458,7 +7449,7 @@ static ImportPageRefreshResult import_page_refresh_camera (ImportPage* self) {
_tmp7_ = self->priv->refresh_result;
#line 1144 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp7_ != GP_OK) {
-#line 7458 "ImportPage.c"
+#line 7449 "ImportPage.c"
int _tmp8_ = 0;
gchar* _tmp9_ = NULL;
gchar* _tmp10_ = NULL;
@@ -7480,17 +7471,17 @@ static ImportPageRefreshResult import_page_refresh_camera (ImportPage* self) {
if (_tmp12_ == GP_ERROR_IO_LOCK) {
#line 1147 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp11_ = IMPORT_PAGE_REFRESH_RESULT_LOCKED;
-#line 7480 "ImportPage.c"
+#line 7471 "ImportPage.c"
} else {
#line 1147 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp11_ = IMPORT_PAGE_REFRESH_RESULT_LIBRARY_ERROR;
-#line 7484 "ImportPage.c"
+#line 7475 "ImportPage.c"
}
#line 1147 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
result = _tmp11_;
#line 1147 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 7490 "ImportPage.c"
+#line 7481 "ImportPage.c"
}
#line 1150 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp13_ = self->priv->refreshed;
@@ -7544,19 +7535,19 @@ static ImportPageRefreshResult import_page_refresh_camera (ImportPage* self) {
_tmp26_ = self->priv->refresh_result;
#line 1165 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp26_ == GP_OK) {
-#line 7544 "ImportPage.c"
+#line 7535 "ImportPage.c"
{
gint fsid = 0;
#line 1166 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
fsid = 0;
-#line 7549 "ImportPage.c"
+#line 7540 "ImportPage.c"
{
gboolean _tmp27_ = FALSE;
#line 1166 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp27_ = TRUE;
#line 1166 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
while (TRUE) {
-#line 7556 "ImportPage.c"
+#line 7547 "ImportPage.c"
gint _tmp29_ = 0;
gint _tmp30_ = 0;
gboolean got_well_known_dir = FALSE;
@@ -7583,13 +7574,13 @@ static ImportPageRefreshResult import_page_refresh_camera (ImportPage* self) {
gboolean _tmp71_ = FALSE;
#line 1166 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (!_tmp27_) {
-#line 7583 "ImportPage.c"
+#line 7574 "ImportPage.c"
gint _tmp28_ = 0;
#line 1166 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp28_ = fsid;
#line 1166 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
fsid = _tmp28_ + 1;
-#line 7589 "ImportPage.c"
+#line 7580 "ImportPage.c"
}
#line 1166 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp27_ = FALSE;
@@ -7601,7 +7592,7 @@ static ImportPageRefreshResult import_page_refresh_camera (ImportPage* self) {
if (!(_tmp29_ < _tmp30_)) {
#line 1166 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
break;
-#line 7601 "ImportPage.c"
+#line 7592 "ImportPage.c"
}
#line 1170 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
got_well_known_dir = FALSE;
@@ -7611,7 +7602,7 @@ static ImportPageRefreshResult import_page_refresh_camera (ImportPage* self) {
_tmp32_ = import_page_check_directory_exists (self, _tmp31_, "/", "DCIM");
#line 1173 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp32_) {
-#line 7611 "ImportPage.c"
+#line 7602 "ImportPage.c"
gint _tmp33_ = 0;
GeeArrayList* _tmp34_ = NULL;
#line 1174 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -7622,7 +7613,7 @@ static ImportPageRefreshResult import_page_refresh_camera (ImportPage* self) {
import_page_enumerate_files (self, _tmp33_, "/DCIM", _tmp34_);
#line 1175 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
got_well_known_dir = TRUE;
-#line 7622 "ImportPage.c"
+#line 7613 "ImportPage.c"
}
#line 1177 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp35_ = fsid;
@@ -7630,7 +7621,7 @@ static ImportPageRefreshResult import_page_refresh_camera (ImportPage* self) {
_tmp36_ = import_page_check_directory_exists (self, _tmp35_, "/", "dcim");
#line 1177 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp36_) {
-#line 7630 "ImportPage.c"
+#line 7621 "ImportPage.c"
gint _tmp37_ = 0;
GeeArrayList* _tmp38_ = NULL;
#line 1178 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -7641,7 +7632,7 @@ static ImportPageRefreshResult import_page_refresh_camera (ImportPage* self) {
import_page_enumerate_files (self, _tmp37_, "/dcim", _tmp38_);
#line 1179 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
got_well_known_dir = TRUE;
-#line 7641 "ImportPage.c"
+#line 7632 "ImportPage.c"
}
#line 1184 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp39_ = fsid;
@@ -7649,7 +7640,7 @@ static ImportPageRefreshResult import_page_refresh_camera (ImportPage* self) {
_tmp40_ = import_page_check_directory_exists (self, _tmp39_, "/PRIVATE/", "AVCHD");
#line 1184 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp40_) {
-#line 7649 "ImportPage.c"
+#line 7640 "ImportPage.c"
gint _tmp41_ = 0;
GeeArrayList* _tmp42_ = NULL;
#line 1185 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -7660,7 +7651,7 @@ static ImportPageRefreshResult import_page_refresh_camera (ImportPage* self) {
import_page_enumerate_files (self, _tmp41_, "/PRIVATE/AVCHD", _tmp42_);
#line 1186 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
got_well_known_dir = TRUE;
-#line 7660 "ImportPage.c"
+#line 7651 "ImportPage.c"
}
#line 1188 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp43_ = fsid;
@@ -7668,7 +7659,7 @@ static ImportPageRefreshResult import_page_refresh_camera (ImportPage* self) {
_tmp44_ = import_page_check_directory_exists (self, _tmp43_, "/private/", "avchd");
#line 1188 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp44_) {
-#line 7668 "ImportPage.c"
+#line 7659 "ImportPage.c"
gint _tmp45_ = 0;
GeeArrayList* _tmp46_ = NULL;
#line 1189 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -7679,7 +7670,7 @@ static ImportPageRefreshResult import_page_refresh_camera (ImportPage* self) {
import_page_enumerate_files (self, _tmp45_, "/private/avchd", _tmp46_);
#line 1190 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
got_well_known_dir = TRUE;
-#line 7679 "ImportPage.c"
+#line 7670 "ImportPage.c"
}
#line 1192 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp47_ = fsid;
@@ -7687,7 +7678,7 @@ static ImportPageRefreshResult import_page_refresh_camera (ImportPage* self) {
_tmp48_ = import_page_check_directory_exists (self, _tmp47_, "/", "AVCHD");
#line 1192 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp48_) {
-#line 7687 "ImportPage.c"
+#line 7678 "ImportPage.c"
gint _tmp49_ = 0;
GeeArrayList* _tmp50_ = NULL;
#line 1193 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -7698,7 +7689,7 @@ static ImportPageRefreshResult import_page_refresh_camera (ImportPage* self) {
import_page_enumerate_files (self, _tmp49_, "/AVCHD", _tmp50_);
#line 1194 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
got_well_known_dir = TRUE;
-#line 7698 "ImportPage.c"
+#line 7689 "ImportPage.c"
}
#line 1196 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp51_ = fsid;
@@ -7706,7 +7697,7 @@ static ImportPageRefreshResult import_page_refresh_camera (ImportPage* self) {
_tmp52_ = import_page_check_directory_exists (self, _tmp51_, "/", "avchd");
#line 1196 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp52_) {
-#line 7706 "ImportPage.c"
+#line 7697 "ImportPage.c"
gint _tmp53_ = 0;
GeeArrayList* _tmp54_ = NULL;
#line 1197 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -7717,7 +7708,7 @@ static ImportPageRefreshResult import_page_refresh_camera (ImportPage* self) {
import_page_enumerate_files (self, _tmp53_, "/avchd", _tmp54_);
#line 1198 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
got_well_known_dir = TRUE;
-#line 7717 "ImportPage.c"
+#line 7708 "ImportPage.c"
}
#line 1203 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp55_ = fsid;
@@ -7725,7 +7716,7 @@ static ImportPageRefreshResult import_page_refresh_camera (ImportPage* self) {
_tmp56_ = import_page_check_directory_exists (self, _tmp55_, "/PRIVATE/", "SONY");
#line 1203 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp56_) {
-#line 7725 "ImportPage.c"
+#line 7716 "ImportPage.c"
gint _tmp57_ = 0;
GeeArrayList* _tmp58_ = NULL;
#line 1204 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -7736,7 +7727,7 @@ static ImportPageRefreshResult import_page_refresh_camera (ImportPage* self) {
import_page_enumerate_files (self, _tmp57_, "/PRIVATE/SONY", _tmp58_);
#line 1205 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
got_well_known_dir = TRUE;
-#line 7736 "ImportPage.c"
+#line 7727 "ImportPage.c"
}
#line 1207 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp59_ = fsid;
@@ -7744,7 +7735,7 @@ static ImportPageRefreshResult import_page_refresh_camera (ImportPage* self) {
_tmp60_ = import_page_check_directory_exists (self, _tmp59_, "/private/", "sony");
#line 1207 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp60_) {
-#line 7744 "ImportPage.c"
+#line 7735 "ImportPage.c"
gint _tmp61_ = 0;
GeeArrayList* _tmp62_ = NULL;
#line 1208 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -7755,7 +7746,7 @@ static ImportPageRefreshResult import_page_refresh_camera (ImportPage* self) {
import_page_enumerate_files (self, _tmp61_, "/private/sony", _tmp62_);
#line 1209 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
got_well_known_dir = TRUE;
-#line 7755 "ImportPage.c"
+#line 7746 "ImportPage.c"
}
#line 1213 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp63_ = fsid;
@@ -7763,7 +7754,7 @@ static ImportPageRefreshResult import_page_refresh_camera (ImportPage* self) {
_tmp64_ = import_page_check_directory_exists (self, _tmp63_, "/", "MP_ROOT");
#line 1213 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp64_) {
-#line 7763 "ImportPage.c"
+#line 7754 "ImportPage.c"
gint _tmp65_ = 0;
GeeArrayList* _tmp66_ = NULL;
#line 1214 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -7774,7 +7765,7 @@ static ImportPageRefreshResult import_page_refresh_camera (ImportPage* self) {
import_page_enumerate_files (self, _tmp65_, "/MP_ROOT", _tmp66_);
#line 1215 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
got_well_known_dir = TRUE;
-#line 7774 "ImportPage.c"
+#line 7765 "ImportPage.c"
}
#line 1217 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp67_ = fsid;
@@ -7782,7 +7773,7 @@ static ImportPageRefreshResult import_page_refresh_camera (ImportPage* self) {
_tmp68_ = import_page_check_directory_exists (self, _tmp67_, "/", "mp_root");
#line 1217 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp68_) {
-#line 7782 "ImportPage.c"
+#line 7773 "ImportPage.c"
gint _tmp69_ = 0;
GeeArrayList* _tmp70_ = NULL;
#line 1218 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -7793,13 +7784,13 @@ static ImportPageRefreshResult import_page_refresh_camera (ImportPage* self) {
import_page_enumerate_files (self, _tmp69_, "/mp_root", _tmp70_);
#line 1219 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
got_well_known_dir = TRUE;
-#line 7793 "ImportPage.c"
+#line 7784 "ImportPage.c"
}
#line 1224 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp71_ = got_well_known_dir;
#line 1224 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (!_tmp71_) {
-#line 7799 "ImportPage.c"
+#line 7790 "ImportPage.c"
gint _tmp72_ = 0;
GeeArrayList* _tmp73_ = NULL;
gboolean _tmp74_ = FALSE;
@@ -7813,7 +7804,7 @@ static ImportPageRefreshResult import_page_refresh_camera (ImportPage* self) {
if (!_tmp74_) {
#line 1226 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
break;
-#line 7813 "ImportPage.c"
+#line 7804 "ImportPage.c"
}
}
}
@@ -7860,7 +7851,7 @@ static ImportPageRefreshResult import_page_refresh_camera (ImportPage* self) {
_tmp85_ = res;
#line 1254 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp85_ != GP_OK) {
-#line 7860 "ImportPage.c"
+#line 7851 "ImportPage.c"
int _tmp86_ = 0;
gchar* _tmp87_ = NULL;
gchar* _tmp88_ = NULL;
@@ -7874,13 +7865,13 @@ static ImportPageRefreshResult import_page_refresh_camera (ImportPage* self) {
g_warning ("ImportPage.vala:1256: Unable to unlock camera: %s", _tmp88_);
#line 1256 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (_tmp88_);
-#line 7874 "ImportPage.c"
+#line 7865 "ImportPage.c"
}
#line 1259 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp89_ = self->priv->refresh_result;
#line 1259 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp89_ == GP_OK) {
-#line 7880 "ImportPage.c"
+#line 7871 "ImportPage.c"
SourceCollection* _tmp90_ = NULL;
gint _tmp91_ = 0;
#line 1260 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -7889,7 +7880,7 @@ static ImportPageRefreshResult import_page_refresh_camera (ImportPage* self) {
_tmp91_ = data_collection_get_count (G_TYPE_CHECK_INSTANCE_CAST (_tmp90_, TYPE_DATA_COLLECTION, DataCollection));
#line 1260 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp91_ == 0) {
-#line 7889 "ImportPage.c"
+#line 7880 "ImportPage.c"
gchar* _tmp92_ = NULL;
gchar* _tmp93_ = NULL;
#line 1261 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -7900,17 +7891,17 @@ static ImportPageRefreshResult import_page_refresh_camera (ImportPage* self) {
checkerboard_page_set_page_message (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage), _tmp93_);
#line 1261 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (_tmp93_);
-#line 7900 "ImportPage.c"
+#line 7891 "ImportPage.c"
}
#line 1263 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
import_page_update_status (self, FALSE, TRUE);
-#line 7904 "ImportPage.c"
+#line 7895 "ImportPage.c"
} else {
#line 1265 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
import_page_update_status (self, FALSE, FALSE);
#line 1268 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
import_page_clear_all_import_sources (self);
-#line 7910 "ImportPage.c"
+#line 7901 "ImportPage.c"
}
#line 1271 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
import_page_on_view_changed (self);
@@ -7920,7 +7911,7 @@ static ImportPageRefreshResult import_page_refresh_camera (ImportPage* self) {
switch (_tmp94_) {
#line 1273 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
case GP_OK:
-#line 7920 "ImportPage.c"
+#line 7911 "ImportPage.c"
{
#line 1275 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
result = IMPORT_PAGE_REFRESH_RESULT_OK;
@@ -7928,11 +7919,11 @@ static ImportPageRefreshResult import_page_refresh_camera (ImportPage* self) {
_g_object_unref0 (import_list);
#line 1275 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 7928 "ImportPage.c"
+#line 7919 "ImportPage.c"
}
#line 1273 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
case GP_ERROR_IO_LOCK:
-#line 7932 "ImportPage.c"
+#line 7923 "ImportPage.c"
{
#line 1278 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
result = IMPORT_PAGE_REFRESH_RESULT_LOCKED;
@@ -7940,7 +7931,7 @@ static ImportPageRefreshResult import_page_refresh_camera (ImportPage* self) {
_g_object_unref0 (import_list);
#line 1278 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 7940 "ImportPage.c"
+#line 7931 "ImportPage.c"
}
default:
{
@@ -7950,12 +7941,12 @@ static ImportPageRefreshResult import_page_refresh_camera (ImportPage* self) {
_g_object_unref0 (import_list);
#line 1281 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 7950 "ImportPage.c"
+#line 7941 "ImportPage.c"
}
}
#line 1134 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (import_list);
-#line 7955 "ImportPage.c"
+#line 7946 "ImportPage.c"
}
@@ -7963,17 +7954,17 @@ static gchar string_get (const gchar* self, glong index) {
gchar result = '\0';
glong _tmp0_ = 0L;
gchar _tmp1_ = '\0';
-#line 1086 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1086 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, '\0');
-#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = index;
-#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = ((gchar*) self)[_tmp0_];
-#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp1_;
-#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
-#line 7973 "ImportPage.c"
+#line 7964 "ImportPage.c"
}
@@ -7994,105 +7985,105 @@ static gchar* string_slice (const gchar* self, glong start, glong end) {
glong _tmp19_ = 0L;
glong _tmp20_ = 0L;
gchar* _tmp21_ = NULL;
-#line 1328 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1328 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1329 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1329 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = strlen (self);
-#line 1329 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1329 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = _tmp0_;
-#line 1329 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1329 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
string_length = (glong) _tmp1_;
-#line 1330 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1330 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = start;
-#line 1330 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1330 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp2_ < ((glong) 0)) {
-#line 8006 "ImportPage.c"
+#line 7997 "ImportPage.c"
glong _tmp3_ = 0L;
glong _tmp4_ = 0L;
-#line 1331 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1331 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = string_length;
-#line 1331 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1331 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = start;
-#line 1331 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1331 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
start = _tmp3_ + _tmp4_;
-#line 8015 "ImportPage.c"
+#line 8006 "ImportPage.c"
}
-#line 1333 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1333 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = end;
-#line 1333 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1333 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp5_ < ((glong) 0)) {
-#line 8021 "ImportPage.c"
+#line 8012 "ImportPage.c"
glong _tmp6_ = 0L;
glong _tmp7_ = 0L;
-#line 1334 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1334 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6_ = string_length;
-#line 1334 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1334 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp7_ = end;
-#line 1334 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1334 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
end = _tmp6_ + _tmp7_;
-#line 8030 "ImportPage.c"
+#line 8021 "ImportPage.c"
}
-#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp9_ = start;
-#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp9_ >= ((glong) 0)) {
-#line 8036 "ImportPage.c"
+#line 8027 "ImportPage.c"
glong _tmp10_ = 0L;
glong _tmp11_ = 0L;
-#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp10_ = start;
-#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp11_ = string_length;
-#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp8_ = _tmp10_ <= _tmp11_;
-#line 8045 "ImportPage.c"
+#line 8036 "ImportPage.c"
} else {
-#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp8_ = FALSE;
-#line 8049 "ImportPage.c"
+#line 8040 "ImportPage.c"
}
-#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp8_, NULL);
-#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp13_ = end;
-#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp13_ >= ((glong) 0)) {
-#line 8057 "ImportPage.c"
+#line 8048 "ImportPage.c"
glong _tmp14_ = 0L;
glong _tmp15_ = 0L;
-#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp14_ = end;
-#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp15_ = string_length;
-#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp12_ = _tmp14_ <= _tmp15_;
-#line 8066 "ImportPage.c"
+#line 8057 "ImportPage.c"
} else {
-#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp12_ = FALSE;
-#line 8070 "ImportPage.c"
+#line 8061 "ImportPage.c"
}
-#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp12_, NULL);
-#line 1338 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1338 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp16_ = start;
-#line 1338 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1338 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp17_ = end;
-#line 1338 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1338 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp16_ <= _tmp17_, NULL);
-#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp18_ = start;
-#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp19_ = end;
-#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp20_ = start;
-#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp21_ = g_strndup (((gchar*) self) + _tmp18_, (gsize) (_tmp19_ - _tmp20_));
-#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp21_;
-#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
-#line 8092 "ImportPage.c"
+#line 8083 "ImportPage.c"
}
@@ -8115,7 +8106,7 @@ static gchar* import_page_chomp_ch (const gchar* str, gchar ch) {
offset = (glong) _tmp2_;
#line 1287 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
while (TRUE) {
-#line 8115 "ImportPage.c"
+#line 8106 "ImportPage.c"
glong _tmp3_ = 0L;
glong _tmp4_ = 0L;
const gchar* _tmp5_ = NULL;
@@ -8132,7 +8123,7 @@ static gchar* import_page_chomp_ch (const gchar* str, gchar ch) {
if (!(_tmp4_ >= ((glong) 0))) {
#line 1287 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
break;
-#line 8132 "ImportPage.c"
+#line 8123 "ImportPage.c"
}
#line 1288 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp5_ = str;
@@ -8144,7 +8135,7 @@ static gchar* import_page_chomp_ch (const gchar* str, gchar ch) {
_tmp8_ = ch;
#line 1288 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp7_ != _tmp8_) {
-#line 8144 "ImportPage.c"
+#line 8135 "ImportPage.c"
const gchar* _tmp9_ = NULL;
glong _tmp10_ = 0L;
gchar* _tmp11_ = NULL;
@@ -8158,7 +8149,7 @@ static gchar* import_page_chomp_ch (const gchar* str, gchar ch) {
result = _tmp11_;
#line 1289 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 8158 "ImportPage.c"
+#line 8149 "ImportPage.c"
}
}
#line 1292 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -8167,7 +8158,7 @@ static gchar* import_page_chomp_ch (const gchar* str, gchar ch) {
result = _tmp12_;
#line 1292 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 8167 "ImportPage.c"
+#line 8158 "ImportPage.c"
}
@@ -8186,7 +8177,7 @@ gchar* import_page_append_path (const gchar* basepath, const gchar* addition) {
_tmp2_ = g_str_has_suffix (_tmp1_, "/");
#line 1296 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (!_tmp2_) {
-#line 8186 "ImportPage.c"
+#line 8177 "ImportPage.c"
const gchar* _tmp3_ = NULL;
gboolean _tmp4_ = FALSE;
#line 1296 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -8195,15 +8186,15 @@ gchar* import_page_append_path (const gchar* basepath, const gchar* addition) {
_tmp4_ = g_str_has_prefix (_tmp3_, "/");
#line 1296 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp0_ = !_tmp4_;
-#line 8195 "ImportPage.c"
+#line 8186 "ImportPage.c"
} else {
#line 1296 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp0_ = FALSE;
-#line 8199 "ImportPage.c"
+#line 8190 "ImportPage.c"
}
#line 1296 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp0_) {
-#line 8203 "ImportPage.c"
+#line 8194 "ImportPage.c"
const gchar* _tmp5_ = NULL;
gchar* _tmp6_ = NULL;
gchar* _tmp7_ = NULL;
@@ -8228,7 +8219,7 @@ gchar* import_page_append_path (const gchar* basepath, const gchar* addition) {
result = _tmp10_;
#line 1297 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 8228 "ImportPage.c"
+#line 8219 "ImportPage.c"
} else {
gboolean _tmp11_ = FALSE;
const gchar* _tmp12_ = NULL;
@@ -8239,7 +8230,7 @@ gchar* import_page_append_path (const gchar* basepath, const gchar* addition) {
_tmp13_ = g_str_has_suffix (_tmp12_, "/");
#line 1298 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp13_) {
-#line 8239 "ImportPage.c"
+#line 8230 "ImportPage.c"
const gchar* _tmp14_ = NULL;
gboolean _tmp15_ = FALSE;
#line 1298 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -8248,15 +8239,15 @@ gchar* import_page_append_path (const gchar* basepath, const gchar* addition) {
_tmp15_ = g_str_has_prefix (_tmp14_, "/");
#line 1298 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp11_ = _tmp15_;
-#line 8248 "ImportPage.c"
+#line 8239 "ImportPage.c"
} else {
#line 1298 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp11_ = FALSE;
-#line 8252 "ImportPage.c"
+#line 8243 "ImportPage.c"
}
#line 1298 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp11_) {
-#line 8256 "ImportPage.c"
+#line 8247 "ImportPage.c"
const gchar* _tmp16_ = NULL;
gchar* _tmp17_ = NULL;
gchar* _tmp18_ = NULL;
@@ -8281,7 +8272,7 @@ gchar* import_page_append_path (const gchar* basepath, const gchar* addition) {
result = _tmp21_;
#line 1299 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 8281 "ImportPage.c"
+#line 8272 "ImportPage.c"
} else {
const gchar* _tmp22_ = NULL;
const gchar* _tmp23_ = NULL;
@@ -8296,7 +8287,7 @@ gchar* import_page_append_path (const gchar* basepath, const gchar* addition) {
result = _tmp24_;
#line 1301 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 8296 "ImportPage.c"
+#line 8287 "ImportPage.c"
}
}
}
@@ -8348,7 +8339,7 @@ gchar* import_page_get_fs_basedir (Camera* camera, gint fsid) {
result = NULL;
#line 1311 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 8348 "ImportPage.c"
+#line 8339 "ImportPage.c"
}
#line 1313 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp6_ = fsid;
@@ -8360,7 +8351,7 @@ gchar* import_page_get_fs_basedir (Camera* camera, gint fsid) {
result = NULL;
#line 1314 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 8360 "ImportPage.c"
+#line 8351 "ImportPage.c"
}
#line 1316 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp8_ = sifs;
@@ -8374,7 +8365,7 @@ gchar* import_page_get_fs_basedir (Camera* camera, gint fsid) {
_tmp12_ = (*_tmp11_).fields;
#line 1318 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if ((_tmp12_ & GP_STORAGEINFO_BASE) != 0) {
-#line 8374 "ImportPage.c"
+#line 8365 "ImportPage.c"
CameraStorageInformation* _tmp13_ = NULL;
const gchar* _tmp14_ = NULL;
#line 1318 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -8383,11 +8374,11 @@ gchar* import_page_get_fs_basedir (Camera* camera, gint fsid) {
_tmp14_ = (*_tmp13_).basedir;
#line 1318 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp10_ = _tmp14_;
-#line 8383 "ImportPage.c"
+#line 8374 "ImportPage.c"
} else {
#line 1318 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp10_ = "/";
-#line 8387 "ImportPage.c"
+#line 8378 "ImportPage.c"
}
#line 1318 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp15_ = g_strdup (_tmp10_);
@@ -8395,7 +8386,7 @@ gchar* import_page_get_fs_basedir (Camera* camera, gint fsid) {
result = _tmp15_;
#line 1318 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 8395 "ImportPage.c"
+#line 8386 "ImportPage.c"
}
@@ -8430,7 +8421,7 @@ gchar* import_page_get_fulldir (Camera* camera, const gchar* camera_name, gint f
result = NULL;
#line 1323 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 8430 "ImportPage.c"
+#line 8421 "ImportPage.c"
}
#line 1325 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp3_ = camera;
@@ -8444,7 +8435,7 @@ gchar* import_page_get_fulldir (Camera* camera, const gchar* camera_name, gint f
_tmp6_ = basedir;
#line 1326 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp6_ == NULL) {
-#line 8444 "ImportPage.c"
+#line 8435 "ImportPage.c"
const gchar* _tmp7_ = NULL;
gint _tmp8_ = 0;
const gchar* _tmp9_ = NULL;
@@ -8465,7 +8456,7 @@ gchar* import_page_get_fulldir (Camera* camera, const gchar* camera_name, gint f
_g_free0 (basedir);
#line 1329 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 8465 "ImportPage.c"
+#line 8456 "ImportPage.c"
}
#line 1332 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp11_ = basedir;
@@ -8479,7 +8470,7 @@ gchar* import_page_get_fulldir (Camera* camera, const gchar* camera_name, gint f
_g_free0 (basedir);
#line 1332 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 8479 "ImportPage.c"
+#line 8470 "ImportPage.c"
}
@@ -8537,7 +8528,7 @@ static gboolean import_page_enumerate_files (ImportPage* self, gint fsid, const
_tmp5_ = fulldir;
#line 1337 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp5_ == NULL) {
-#line 8537 "ImportPage.c"
+#line 8528 "ImportPage.c"
const gchar* _tmp6_ = NULL;
#line 1338 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp6_ = dir;
@@ -8549,7 +8540,7 @@ static gboolean import_page_enumerate_files (ImportPage* self, gint fsid, const
_g_free0 (fulldir);
#line 1340 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 8549 "ImportPage.c"
+#line 8540 "ImportPage.c"
}
#line 1344 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp8_ = gp_list_new (&_tmp7_);
@@ -8563,7 +8554,7 @@ static gboolean import_page_enumerate_files (ImportPage* self, gint fsid, const
_tmp9_ = self->priv->refresh_result;
#line 1345 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp9_ != GP_OK) {
-#line 8563 "ImportPage.c"
+#line 8554 "ImportPage.c"
int _tmp10_ = 0;
gchar* _tmp11_ = NULL;
gchar* _tmp12_ = NULL;
@@ -8585,7 +8576,7 @@ static gboolean import_page_enumerate_files (ImportPage* self, gint fsid, const
_g_free0 (fulldir);
#line 1348 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 8585 "ImportPage.c"
+#line 8576 "ImportPage.c"
}
#line 1351 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp13_ = self->priv->camera;
@@ -8605,7 +8596,7 @@ static gboolean import_page_enumerate_files (ImportPage* self, gint fsid, const
_tmp19_ = self->priv->refresh_result;
#line 1352 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp19_ != GP_OK) {
-#line 8605 "ImportPage.c"
+#line 8596 "ImportPage.c"
const gchar* _tmp20_ = NULL;
int _tmp21_ = 0;
gchar* _tmp22_ = NULL;
@@ -8632,20 +8623,20 @@ static gboolean import_page_enumerate_files (ImportPage* self, gint fsid, const
_g_free0 (fulldir);
#line 1358 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 8632 "ImportPage.c"
+#line 8623 "ImportPage.c"
}
{
gint ctr = 0;
#line 1361 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
ctr = 0;
-#line 8638 "ImportPage.c"
+#line 8629 "ImportPage.c"
{
gboolean _tmp24_ = FALSE;
#line 1361 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp24_ = TRUE;
#line 1361 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
while (TRUE) {
-#line 8645 "ImportPage.c"
+#line 8636 "ImportPage.c"
gint _tmp26_ = 0;
CameraList* _tmp27_ = NULL;
gint _tmp28_ = 0;
@@ -8658,13 +8649,13 @@ static gboolean import_page_enumerate_files (ImportPage* self, gint fsid, const
int _tmp34_ = 0;
#line 1361 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (!_tmp24_) {
-#line 8658 "ImportPage.c"
+#line 8649 "ImportPage.c"
gint _tmp25_ = 0;
#line 1361 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp25_ = ctr;
#line 1361 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
ctr = _tmp25_ + 1;
-#line 8664 "ImportPage.c"
+#line 8655 "ImportPage.c"
}
#line 1361 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp24_ = FALSE;
@@ -8678,7 +8669,7 @@ static gboolean import_page_enumerate_files (ImportPage* self, gint fsid, const
if (!(_tmp26_ < _tmp28_)) {
#line 1361 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
break;
-#line 8678 "ImportPage.c"
+#line 8669 "ImportPage.c"
}
#line 1363 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp29_ = files;
@@ -8698,7 +8689,7 @@ static gboolean import_page_enumerate_files (ImportPage* self, gint fsid, const
_tmp34_ = self->priv->refresh_result;
#line 1364 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp34_ != GP_OK) {
-#line 8698 "ImportPage.c"
+#line 8689 "ImportPage.c"
gint _tmp35_ = 0;
const gchar* _tmp36_ = NULL;
int _tmp37_ = 0;
@@ -8728,7 +8719,7 @@ static gboolean import_page_enumerate_files (ImportPage* self, gint fsid, const
_g_free0 (fulldir);
#line 1368 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 8728 "ImportPage.c"
+#line 8719 "ImportPage.c"
}
{
CameraFileInfo info = {0};
@@ -8768,12 +8759,12 @@ static gboolean import_page_enumerate_files (ImportPage* self, gint fsid, const
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1373 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
(info);
-#line 8768 "ImportPage.c"
+#line 8759 "ImportPage.c"
goto __catch64_g_error;
}
#line 1373 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (!_tmp40_) {
-#line 8773 "ImportPage.c"
+#line 8764 "ImportPage.c"
const gchar* _tmp48_ = NULL;
const gchar* _tmp49_ = NULL;
#line 1374 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -8788,7 +8779,7 @@ static gboolean import_page_enumerate_files (ImportPage* self, gint fsid, const
_g_free0 (filename);
#line 1376 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
continue;
-#line 8788 "ImportPage.c"
+#line 8779 "ImportPage.c"
}
#line 1379 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp50_ = info;
@@ -8798,7 +8789,7 @@ static gboolean import_page_enumerate_files (ImportPage* self, gint fsid, const
_tmp52_ = _tmp51_.fields;
#line 1379 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if ((_tmp52_ & GP_FILE_INFO_TYPE) == 0) {
-#line 8798 "ImportPage.c"
+#line 8789 "ImportPage.c"
const gchar* _tmp53_ = NULL;
const gchar* _tmp54_ = NULL;
CameraFileInfo _tmp55_ = {0};
@@ -8822,7 +8813,7 @@ static gboolean import_page_enumerate_files (ImportPage* self, gint fsid, const
_g_free0 (filename);
#line 1383 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
continue;
-#line 8822 "ImportPage.c"
+#line 8813 "ImportPage.c"
}
#line 1386 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp58_ = filename;
@@ -8830,7 +8821,7 @@ static gboolean import_page_enumerate_files (ImportPage* self, gint fsid, const
_tmp59_ = video_reader_is_supported_video_filename (_tmp58_);
#line 1386 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp59_) {
-#line 8830 "ImportPage.c"
+#line 8821 "ImportPage.c"
VideoImportSource* video_source = NULL;
const gchar* _tmp60_ = NULL;
Camera* _tmp61_ = NULL;
@@ -8880,7 +8871,7 @@ static gboolean import_page_enumerate_files (ImportPage* self, gint fsid, const
gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp72_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp73_, TYPE_IMPORT_SOURCE, ImportSource));
#line 1386 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (video_source);
-#line 8880 "ImportPage.c"
+#line 8871 "ImportPage.c"
} else {
PhotoFileFormat file_format = 0;
CameraFileInfo _tmp74_ = {0};
@@ -8917,7 +8908,7 @@ static gboolean import_page_enumerate_files (ImportPage* self, gint fsid, const
_tmp78_ = file_format;
#line 1393 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp78_ == PHOTO_FILE_FORMAT_UNKNOWN) {
-#line 8917 "ImportPage.c"
+#line 8908 "ImportPage.c"
const gchar* _tmp79_ = NULL;
PhotoFileFormat _tmp80_ = 0;
PhotoFileFormat _tmp81_ = 0;
@@ -8931,7 +8922,7 @@ static gboolean import_page_enumerate_files (ImportPage* self, gint fsid, const
_tmp81_ = file_format;
#line 1395 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp81_ == PHOTO_FILE_FORMAT_UNKNOWN) {
-#line 8931 "ImportPage.c"
+#line 8922 "ImportPage.c"
const gchar* _tmp82_ = NULL;
const gchar* _tmp83_ = NULL;
CameraFileInfo _tmp84_ = {0};
@@ -8956,7 +8947,7 @@ static gboolean import_page_enumerate_files (ImportPage* self, gint fsid, const
_g_free0 (filename);
#line 1399 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
continue;
-#line 8955 "ImportPage.c"
+#line 8946 "ImportPage.c"
}
}
#line 1402 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -8993,7 +8984,7 @@ static gboolean import_page_enumerate_files (ImportPage* self, gint fsid, const
gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp87_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp101_, TYPE_IMPORT_SOURCE, ImportSource));
#line 1402 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (_tmp101_);
-#line 8992 "ImportPage.c"
+#line 8983 "ImportPage.c"
}
#line 1406 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp102_ = self->priv->progress_bar;
@@ -9003,7 +8994,7 @@ static gboolean import_page_enumerate_files (ImportPage* self, gint fsid, const
spin_event_loop ();
#line 1371 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
(info);
-#line 9002 "ImportPage.c"
+#line 8993 "ImportPage.c"
}
goto __finally64;
__catch64_g_error:
@@ -9049,7 +9040,7 @@ static gboolean import_page_enumerate_files (ImportPage* self, gint fsid, const
_g_free0 (fulldir);
#line 1415 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 9048 "ImportPage.c"
+#line 9039 "ImportPage.c"
}
__finally64:
#line 1371 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -9066,11 +9057,11 @@ static gboolean import_page_enumerate_files (ImportPage* self, gint fsid, const
g_clear_error (&_inner_error_);
#line 1371 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return FALSE;
-#line 9065 "ImportPage.c"
+#line 9056 "ImportPage.c"
}
#line 1361 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (filename);
-#line 9069 "ImportPage.c"
+#line 9060 "ImportPage.c"
}
}
}
@@ -9086,7 +9077,7 @@ static gboolean import_page_enumerate_files (ImportPage* self, gint fsid, const
_tmp111_ = self->priv->refresh_result;
#line 1421 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp111_ != GP_OK) {
-#line 9085 "ImportPage.c"
+#line 9076 "ImportPage.c"
int _tmp112_ = 0;
gchar* _tmp113_ = NULL;
gchar* _tmp114_ = NULL;
@@ -9110,7 +9101,7 @@ static gboolean import_page_enumerate_files (ImportPage* self, gint fsid, const
_g_free0 (fulldir);
#line 1424 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 9109 "ImportPage.c"
+#line 9100 "ImportPage.c"
}
#line 1427 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp115_ = self->priv->camera;
@@ -9130,7 +9121,7 @@ static gboolean import_page_enumerate_files (ImportPage* self, gint fsid, const
_tmp121_ = self->priv->refresh_result;
#line 1428 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp121_ != GP_OK) {
-#line 9129 "ImportPage.c"
+#line 9120 "ImportPage.c"
const gchar* _tmp122_ = NULL;
int _tmp123_ = 0;
gchar* _tmp124_ = NULL;
@@ -9159,20 +9150,20 @@ static gboolean import_page_enumerate_files (ImportPage* self, gint fsid, const
_g_free0 (fulldir);
#line 1434 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 9158 "ImportPage.c"
+#line 9149 "ImportPage.c"
}
{
gint ctr = 0;
#line 1437 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
ctr = 0;
-#line 9164 "ImportPage.c"
+#line 9155 "ImportPage.c"
{
gboolean _tmp126_ = FALSE;
#line 1437 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp126_ = TRUE;
#line 1437 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
while (TRUE) {
-#line 9171 "ImportPage.c"
+#line 9162 "ImportPage.c"
gint _tmp128_ = 0;
CameraList* _tmp129_ = NULL;
gint _tmp130_ = 0;
@@ -9193,13 +9184,13 @@ static gboolean import_page_enumerate_files (ImportPage* self, gint fsid, const
gboolean _tmp148_ = FALSE;
#line 1437 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (!_tmp126_) {
-#line 9192 "ImportPage.c"
+#line 9183 "ImportPage.c"
gint _tmp127_ = 0;
#line 1437 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp127_ = ctr;
#line 1437 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
ctr = _tmp127_ + 1;
-#line 9198 "ImportPage.c"
+#line 9189 "ImportPage.c"
}
#line 1437 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp126_ = FALSE;
@@ -9213,7 +9204,7 @@ static gboolean import_page_enumerate_files (ImportPage* self, gint fsid, const
if (!(_tmp128_ < _tmp130_)) {
#line 1437 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
break;
-#line 9212 "ImportPage.c"
+#line 9203 "ImportPage.c"
}
#line 1439 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp131_ = folders;
@@ -9233,7 +9224,7 @@ static gboolean import_page_enumerate_files (ImportPage* self, gint fsid, const
_tmp136_ = self->priv->refresh_result;
#line 1440 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp136_ != GP_OK) {
-#line 9232 "ImportPage.c"
+#line 9223 "ImportPage.c"
gint _tmp137_ = 0;
int _tmp138_ = 0;
gchar* _tmp139_ = NULL;
@@ -9262,7 +9253,7 @@ static gboolean import_page_enumerate_files (ImportPage* self, gint fsid, const
_g_free0 (fulldir);
#line 1443 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 9261 "ImportPage.c"
+#line 9252 "ImportPage.c"
}
#line 1446 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp141_ = fsid;
@@ -9296,11 +9287,11 @@ static gboolean import_page_enumerate_files (ImportPage* self, gint fsid, const
_g_free0 (fulldir);
#line 1447 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 9295 "ImportPage.c"
+#line 9286 "ImportPage.c"
}
#line 1437 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (subdir);
-#line 9299 "ImportPage.c"
+#line 9290 "ImportPage.c"
}
}
}
@@ -9314,7 +9305,7 @@ static gboolean import_page_enumerate_files (ImportPage* self, gint fsid, const
_g_free0 (fulldir);
#line 1450 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 9313 "ImportPage.c"
+#line 9304 "ImportPage.c"
}
@@ -9323,19 +9314,19 @@ static void import_page_auto_match_raw_jpeg (ImportPage* self, GeeArrayList* imp
g_return_if_fail (IS_IMPORT_PAGE (self));
#line 1454 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
g_return_if_fail (GEE_IS_ARRAY_LIST (import_list));
-#line 9322 "ImportPage.c"
+#line 9313 "ImportPage.c"
{
gint i = 0;
#line 1455 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
i = 0;
-#line 9327 "ImportPage.c"
+#line 9318 "ImportPage.c"
{
gboolean _tmp0_ = FALSE;
#line 1455 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp0_ = TRUE;
#line 1455 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
while (TRUE) {
-#line 9334 "ImportPage.c"
+#line 9325 "ImportPage.c"
gint _tmp2_ = 0;
GeeArrayList* _tmp3_ = NULL;
gint _tmp4_ = 0;
@@ -9361,13 +9352,13 @@ static void import_page_auto_match_raw_jpeg (ImportPage* self, GeeArrayList* imp
PhotoImportSource* _tmp31_ = NULL;
#line 1455 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (!_tmp0_) {
-#line 9360 "ImportPage.c"
+#line 9351 "ImportPage.c"
gint _tmp1_ = 0;
#line 1455 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp1_ = i;
#line 1455 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
i = _tmp1_ + 1;
-#line 9366 "ImportPage.c"
+#line 9357 "ImportPage.c"
}
#line 1455 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp0_ = FALSE;
@@ -9383,7 +9374,7 @@ static void import_page_auto_match_raw_jpeg (ImportPage* self, GeeArrayList* imp
if (!(_tmp2_ < _tmp5_)) {
#line 1455 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
break;
-#line 9382 "ImportPage.c"
+#line 9373 "ImportPage.c"
}
#line 1456 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp6_ = import_list;
@@ -9399,7 +9390,7 @@ static void import_page_auto_match_raw_jpeg (ImportPage* self, GeeArrayList* imp
if (_tmp10_ == NULL) {
#line 1456 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (_tmp9_);
-#line 9398 "ImportPage.c"
+#line 9389 "ImportPage.c"
}
#line 1456 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
current = _tmp10_;
@@ -9413,7 +9404,7 @@ static void import_page_auto_match_raw_jpeg (ImportPage* self, GeeArrayList* imp
_tmp15_ = _tmp14_;
#line 1457 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if ((_tmp12_ + 1) < _tmp15_) {
-#line 9412 "ImportPage.c"
+#line 9403 "ImportPage.c"
GeeArrayList* _tmp16_ = NULL;
gint _tmp17_ = 0;
gpointer _tmp18_ = NULL;
@@ -9433,19 +9424,19 @@ static void import_page_auto_match_raw_jpeg (ImportPage* self, GeeArrayList* imp
if (_tmp20_ == NULL) {
#line 1458 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (_tmp19_);
-#line 9432 "ImportPage.c"
+#line 9423 "ImportPage.c"
}
#line 1458 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (_tmp11_);
#line 1458 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp11_ = _tmp20_;
-#line 9438 "ImportPage.c"
+#line 9429 "ImportPage.c"
} else {
#line 1458 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (_tmp11_);
#line 1458 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp11_ = NULL;
-#line 9444 "ImportPage.c"
+#line 9435 "ImportPage.c"
}
#line 1457 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp21_ = _g_object_ref0 (_tmp11_);
@@ -9455,7 +9446,7 @@ static void import_page_auto_match_raw_jpeg (ImportPage* self, GeeArrayList* imp
_tmp23_ = i;
#line 1459 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp23_ > 0) {
-#line 9454 "ImportPage.c"
+#line 9445 "ImportPage.c"
GeeArrayList* _tmp24_ = NULL;
gint _tmp25_ = 0;
gpointer _tmp26_ = NULL;
@@ -9475,19 +9466,19 @@ static void import_page_auto_match_raw_jpeg (ImportPage* self, GeeArrayList* imp
if (_tmp28_ == NULL) {
#line 1460 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (_tmp27_);
-#line 9474 "ImportPage.c"
+#line 9465 "ImportPage.c"
}
#line 1460 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (_tmp22_);
#line 1460 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp22_ = _tmp28_;
-#line 9480 "ImportPage.c"
+#line 9471 "ImportPage.c"
} else {
#line 1460 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (_tmp22_);
#line 1460 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp22_ = NULL;
-#line 9486 "ImportPage.c"
+#line 9477 "ImportPage.c"
}
#line 1459 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp29_ = _g_object_ref0 (_tmp22_);
@@ -9497,7 +9488,7 @@ static void import_page_auto_match_raw_jpeg (ImportPage* self, GeeArrayList* imp
_tmp31_ = current;
#line 1461 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp31_ != NULL) {
-#line 9496 "ImportPage.c"
+#line 9487 "ImportPage.c"
PhotoImportSource* _tmp32_ = NULL;
PhotoFileFormat _tmp33_ = 0;
#line 1461 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -9506,15 +9497,15 @@ static void import_page_auto_match_raw_jpeg (ImportPage* self, GeeArrayList* imp
_tmp33_ = photo_import_source_get_file_format (_tmp32_);
#line 1461 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp30_ = _tmp33_ == PHOTO_FILE_FORMAT_RAW;
-#line 9505 "ImportPage.c"
+#line 9496 "ImportPage.c"
} else {
#line 1461 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp30_ = FALSE;
-#line 9509 "ImportPage.c"
+#line 9500 "ImportPage.c"
}
#line 1461 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp30_) {
-#line 9513 "ImportPage.c"
+#line 9504 "ImportPage.c"
gchar* current_name = NULL;
gchar* ext = NULL;
PhotoImportSource* _tmp34_ = NULL;
@@ -9552,7 +9543,7 @@ static void import_page_auto_match_raw_jpeg (ImportPage* self, GeeArrayList* imp
_tmp40_ = next;
#line 1468 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp40_ != NULL) {
-#line 9551 "ImportPage.c"
+#line 9542 "ImportPage.c"
PhotoImportSource* _tmp41_ = NULL;
PhotoFileFormat _tmp42_ = 0;
#line 1468 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -9561,15 +9552,15 @@ static void import_page_auto_match_raw_jpeg (ImportPage* self, GeeArrayList* imp
_tmp42_ = photo_import_source_get_file_format (_tmp41_);
#line 1468 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp39_ = _tmp42_ == PHOTO_FILE_FORMAT_JFIF;
-#line 9560 "ImportPage.c"
+#line 9551 "ImportPage.c"
} else {
#line 1468 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp39_ = FALSE;
-#line 9564 "ImportPage.c"
+#line 9555 "ImportPage.c"
}
#line 1468 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp39_) {
-#line 9568 "ImportPage.c"
+#line 9559 "ImportPage.c"
gchar* next_name = NULL;
PhotoImportSource* _tmp43_ = NULL;
gchar* _tmp44_ = NULL;
@@ -9602,7 +9593,7 @@ static void import_page_auto_match_raw_jpeg (ImportPage* self, GeeArrayList* imp
_tmp49_ = current_name;
#line 1471 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (g_strcmp0 (_tmp48_, _tmp49_) == 0) {
-#line 9601 "ImportPage.c"
+#line 9592 "ImportPage.c"
PhotoImportSource* _tmp50_ = NULL;
PhotoImportSource* _tmp51_ = NULL;
#line 1472 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -9613,17 +9604,17 @@ static void import_page_auto_match_raw_jpeg (ImportPage* self, GeeArrayList* imp
_g_object_unref0 (associated);
#line 1472 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
associated = _tmp51_;
-#line 9612 "ImportPage.c"
+#line 9603 "ImportPage.c"
}
#line 1468 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (next_name);
-#line 9616 "ImportPage.c"
+#line 9607 "ImportPage.c"
}
#line 1474 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp53_ = prev;
#line 1474 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp53_ != NULL) {
-#line 9622 "ImportPage.c"
+#line 9613 "ImportPage.c"
PhotoImportSource* _tmp54_ = NULL;
PhotoFileFormat _tmp55_ = 0;
#line 1474 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -9632,15 +9623,15 @@ static void import_page_auto_match_raw_jpeg (ImportPage* self, GeeArrayList* imp
_tmp55_ = photo_import_source_get_file_format (_tmp54_);
#line 1474 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp52_ = _tmp55_ == PHOTO_FILE_FORMAT_JFIF;
-#line 9631 "ImportPage.c"
+#line 9622 "ImportPage.c"
} else {
#line 1474 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp52_ = FALSE;
-#line 9635 "ImportPage.c"
+#line 9626 "ImportPage.c"
}
#line 1474 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp52_) {
-#line 9639 "ImportPage.c"
+#line 9630 "ImportPage.c"
gchar* prev_name = NULL;
PhotoImportSource* _tmp56_ = NULL;
gchar* _tmp57_ = NULL;
@@ -9673,7 +9664,7 @@ static void import_page_auto_match_raw_jpeg (ImportPage* self, GeeArrayList* imp
_tmp62_ = current_name;
#line 1477 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (g_strcmp0 (_tmp61_, _tmp62_) == 0) {
-#line 9672 "ImportPage.c"
+#line 9663 "ImportPage.c"
PhotoImportSource* _tmp63_ = NULL;
PhotoImportSource* _tmp64_ = NULL;
#line 1478 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -9684,17 +9675,17 @@ static void import_page_auto_match_raw_jpeg (ImportPage* self, GeeArrayList* imp
_g_object_unref0 (associated);
#line 1478 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
associated = _tmp64_;
-#line 9683 "ImportPage.c"
+#line 9674 "ImportPage.c"
}
#line 1474 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (prev_name);
-#line 9687 "ImportPage.c"
+#line 9678 "ImportPage.c"
}
#line 1482 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp65_ = associated;
#line 1482 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp65_ != NULL) {
-#line 9693 "ImportPage.c"
+#line 9684 "ImportPage.c"
PhotoImportSource* _tmp66_ = NULL;
gchar* _tmp67_ = NULL;
gchar* _tmp68_ = NULL;
@@ -9738,7 +9729,7 @@ static void import_page_auto_match_raw_jpeg (ImportPage* self, GeeArrayList* imp
_tmp76_ = gee_abstract_collection_remove (G_TYPE_CHECK_INSTANCE_CAST (_tmp74_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp75_, TYPE_IMPORT_SOURCE, ImportSource));
#line 1485 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (!_tmp76_) {
-#line 9737 "ImportPage.c"
+#line 9728 "ImportPage.c"
PhotoImportSource* _tmp77_ = NULL;
#line 1486 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
g_debug ("ImportPage.vala:1486: Unable to associate files");
@@ -9746,7 +9737,7 @@ static void import_page_auto_match_raw_jpeg (ImportPage* self, GeeArrayList* imp
_tmp77_ = current;
#line 1487 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
photo_import_source_set_associated (_tmp77_, NULL);
-#line 9745 "ImportPage.c"
+#line 9736 "ImportPage.c"
}
}
#line 1461 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -9755,7 +9746,7 @@ static void import_page_auto_match_raw_jpeg (ImportPage* self, GeeArrayList* imp
_g_free0 (ext);
#line 1461 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (current_name);
-#line 9754 "ImportPage.c"
+#line 9745 "ImportPage.c"
}
#line 1455 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (prev);
@@ -9767,7 +9758,7 @@ static void import_page_auto_match_raw_jpeg (ImportPage* self, GeeArrayList* imp
_g_object_unref0 (_tmp11_);
#line 1455 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (current);
-#line 9766 "ImportPage.c"
+#line 9757 "ImportPage.c"
}
}
}
@@ -9783,7 +9774,7 @@ static void import_page_load_previews_and_metadata (ImportPage* self, GeeList* i
g_return_if_fail (GEE_IS_LIST (import_list));
#line 1495 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
loaded_photos = 0;
-#line 9782 "ImportPage.c"
+#line 9773 "ImportPage.c"
{
GeeList* _import_source_list = NULL;
GeeList* _tmp0_ = NULL;
@@ -9811,7 +9802,7 @@ static void import_page_load_previews_and_metadata (ImportPage* self, GeeList* i
_import_source_index = -1;
#line 1496 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
while (TRUE) {
-#line 9810 "ImportPage.c"
+#line 9801 "ImportPage.c"
gint _tmp5_ = 0;
gint _tmp6_ = 0;
gint _tmp7_ = 0;
@@ -9874,7 +9865,7 @@ static void import_page_load_previews_and_metadata (ImportPage* self, GeeList* i
if (!(_tmp6_ < _tmp7_)) {
#line 1496 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
break;
-#line 9873 "ImportPage.c"
+#line 9864 "ImportPage.c"
}
#line 1496 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp8_ = _import_source_list;
@@ -9900,7 +9891,7 @@ static void import_page_load_previews_and_metadata (ImportPage* self, GeeList* i
_tmp15_ = fulldir;
#line 1499 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp15_ == NULL) {
-#line 9899 "ImportPage.c"
+#line 9890 "ImportPage.c"
ImportSource* _tmp16_ = NULL;
gchar* _tmp17_ = NULL;
gchar* _tmp18_ = NULL;
@@ -9923,7 +9914,7 @@ static void import_page_load_previews_and_metadata (ImportPage* self, GeeList* i
_g_object_unref0 (import_source);
#line 1502 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
continue;
-#line 9921 "ImportPage.c"
+#line 9912 "ImportPage.c"
}
#line 1506 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
associated = NULL;
@@ -9931,7 +9922,7 @@ static void import_page_load_previews_and_metadata (ImportPage* self, GeeList* i
_tmp20_ = import_source;
#line 1507 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp20_, TYPE_PHOTO_IMPORT_SOURCE)) {
-#line 9929 "ImportPage.c"
+#line 9920 "ImportPage.c"
ImportSource* _tmp21_ = NULL;
PhotoImportSource* _tmp22_ = NULL;
PhotoImportSource* _tmp23_ = NULL;
@@ -9945,15 +9936,15 @@ static void import_page_load_previews_and_metadata (ImportPage* self, GeeList* i
_tmp19_ = _tmp23_ != NULL;
#line 1508 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (_tmp23_);
-#line 9943 "ImportPage.c"
+#line 9934 "ImportPage.c"
} else {
#line 1507 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp19_ = FALSE;
-#line 9947 "ImportPage.c"
+#line 9938 "ImportPage.c"
}
#line 1507 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp19_) {
-#line 9951 "ImportPage.c"
+#line 9942 "ImportPage.c"
ImportSource* _tmp24_ = NULL;
PhotoImportSource* _tmp25_ = NULL;
#line 1509 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -9964,7 +9955,7 @@ static void import_page_load_previews_and_metadata (ImportPage* self, GeeList* i
_g_object_unref0 (associated);
#line 1509 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
associated = _tmp25_;
-#line 9962 "ImportPage.c"
+#line 9953 "ImportPage.c"
}
#line 1512 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp26_ = self->priv->progress_bar;
@@ -9998,7 +9989,7 @@ static void import_page_load_previews_and_metadata (ImportPage* self, GeeList* i
_tmp35_ = video_reader_is_supported_video_filename (_tmp34_);
#line 1521 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (!_tmp35_) {
-#line 9996 "ImportPage.c"
+#line 9987 "ImportPage.c"
{
PhotoMetadata* _tmp36_ = NULL;
GPSpinIdleWrapper* _tmp37_ = NULL;
@@ -10024,7 +10015,7 @@ static void import_page_load_previews_and_metadata (ImportPage* self, GeeList* i
_tmp36_ = _tmp42_;
#line 1523 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 10022 "ImportPage.c"
+#line 10013 "ImportPage.c"
goto __catch65_g_error;
}
#line 1523 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -10037,7 +10028,7 @@ static void import_page_load_previews_and_metadata (ImportPage* self, GeeList* i
metadata = _tmp43_;
#line 1522 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_media_metadata_unref0 (_tmp36_);
-#line 10035 "ImportPage.c"
+#line 10026 "ImportPage.c"
}
goto __finally65;
__catch65_g_error:
@@ -10063,7 +10054,7 @@ static void import_page_load_previews_and_metadata (ImportPage* self, GeeList* i
g_warning ("ImportPage.vala:1526: Unable to fetch metadata for %s/%s: %s", _tmp44_, _tmp45_, _tmp47_);
#line 1522 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_error_free0 (err);
-#line 10061 "ImportPage.c"
+#line 10052 "ImportPage.c"
}
__finally65:
#line 1522 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -10086,7 +10077,7 @@ static void import_page_load_previews_and_metadata (ImportPage* self, GeeList* i
g_clear_error (&_inner_error_);
#line 1522 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return;
-#line 10084 "ImportPage.c"
+#line 10075 "ImportPage.c"
}
}
#line 1532 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -10095,7 +10086,7 @@ static void import_page_load_previews_and_metadata (ImportPage* self, GeeList* i
_tmp48_ = metadata;
#line 1533 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp48_ != NULL) {
-#line 10093 "ImportPage.c"
+#line 10084 "ImportPage.c"
guint8* flattened_sans_thumbnail = NULL;
PhotoMetadata* _tmp49_ = NULL;
gint _tmp50_ = 0;
@@ -10121,7 +10112,7 @@ static void import_page_load_previews_and_metadata (ImportPage* self, GeeList* i
_tmp53__length1 = flattened_sans_thumbnail_length1;
#line 1535 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp53_ != NULL) {
-#line 10119 "ImportPage.c"
+#line 10110 "ImportPage.c"
guint8* _tmp54_ = NULL;
gint _tmp54__length1 = 0;
#line 1535 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -10130,15 +10121,15 @@ static void import_page_load_previews_and_metadata (ImportPage* self, GeeList* i
_tmp54__length1 = flattened_sans_thumbnail_length1;
#line 1535 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp52_ = _tmp54__length1 > 0;
-#line 10128 "ImportPage.c"
+#line 10119 "ImportPage.c"
} else {
#line 1535 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp52_ = FALSE;
-#line 10132 "ImportPage.c"
+#line 10123 "ImportPage.c"
}
#line 1535 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp52_) {
-#line 10136 "ImportPage.c"
+#line 10127 "ImportPage.c"
guint8* _tmp55_ = NULL;
gint _tmp55__length1 = 0;
guint8* _tmp56_ = NULL;
@@ -10158,11 +10149,11 @@ static void import_page_load_previews_and_metadata (ImportPage* self, GeeList* i
_g_free0 (exif_only_md5);
#line 1536 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
exif_only_md5 = _tmp57_;
-#line 10156 "ImportPage.c"
+#line 10147 "ImportPage.c"
}
#line 1533 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
flattened_sans_thumbnail = (g_free (flattened_sans_thumbnail), NULL);
-#line 10160 "ImportPage.c"
+#line 10151 "ImportPage.c"
}
#line 1545 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
preview_raw = NULL;
@@ -10174,7 +10165,7 @@ static void import_page_load_previews_and_metadata (ImportPage* self, GeeList* i
preview_raw_length = (gsize) 0;
#line 1547 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
preview = NULL;
-#line 10172 "ImportPage.c"
+#line 10163 "ImportPage.c"
{
gchar* preview_fulldir = NULL;
const gchar* _tmp58_ = NULL;
@@ -10210,7 +10201,7 @@ static void import_page_load_previews_and_metadata (ImportPage* self, GeeList* i
_tmp62_ = associated;
#line 1551 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp62_ != NULL) {
-#line 10208 "ImportPage.c"
+#line 10199 "ImportPage.c"
PhotoImportSource* _tmp63_ = NULL;
gchar* _tmp64_ = NULL;
PhotoImportSource* _tmp65_ = NULL;
@@ -10231,7 +10222,7 @@ static void import_page_load_previews_and_metadata (ImportPage* self, GeeList* i
_g_free0 (preview_filename);
#line 1553 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
preview_filename = _tmp66_;
-#line 10229 "ImportPage.c"
+#line 10220 "ImportPage.c"
}
#line 1555 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp68_ = import_page_spin_idle_context;
@@ -10263,7 +10254,7 @@ static void import_page_load_previews_and_metadata (ImportPage* self, GeeList* i
_g_free0 (preview_filename);
#line 1555 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (preview_fulldir);
-#line 10261 "ImportPage.c"
+#line 10252 "ImportPage.c"
goto __catch66_g_error;
}
#line 1555 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -10280,7 +10271,7 @@ static void import_page_load_previews_and_metadata (ImportPage* self, GeeList* i
_g_free0 (preview_filename);
#line 1548 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (preview_fulldir);
-#line 10278 "ImportPage.c"
+#line 10269 "ImportPage.c"
}
goto __finally66;
__catch66_g_error:
@@ -10298,7 +10289,7 @@ static void import_page_load_previews_and_metadata (ImportPage* self, GeeList* i
_tmp79_ = video_reader_is_supported_video_filename (_tmp78_);
#line 1563 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (!_tmp79_) {
-#line 10296 "ImportPage.c"
+#line 10287 "ImportPage.c"
const gchar* _tmp80_ = NULL;
const gchar* _tmp81_ = NULL;
GError* _tmp82_ = NULL;
@@ -10313,11 +10304,11 @@ static void import_page_load_previews_and_metadata (ImportPage* self, GeeList* i
_tmp83_ = _tmp82_->message;
#line 1564 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
g_warning ("ImportPage.vala:1564: Unable to fetch preview for %s/%s: %s", _tmp80_, _tmp81_, _tmp83_);
-#line 10311 "ImportPage.c"
+#line 10302 "ImportPage.c"
}
#line 1548 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_error_free0 (err);
-#line 10315 "ImportPage.c"
+#line 10306 "ImportPage.c"
}
__finally66:
#line 1548 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -10346,7 +10337,7 @@ static void import_page_load_previews_and_metadata (ImportPage* self, GeeList* i
g_clear_error (&_inner_error_);
#line 1548 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return;
-#line 10344 "ImportPage.c"
+#line 10335 "ImportPage.c"
}
#line 1569 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
preview_md5 = NULL;
@@ -10354,7 +10345,7 @@ static void import_page_load_previews_and_metadata (ImportPage* self, GeeList* i
_tmp86_ = preview;
#line 1570 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp86_ != NULL) {
-#line 10352 "ImportPage.c"
+#line 10343 "ImportPage.c"
guint8* _tmp87_ = NULL;
gint _tmp87__length1 = 0;
#line 1570 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -10363,29 +10354,29 @@ static void import_page_load_previews_and_metadata (ImportPage* self, GeeList* i
_tmp87__length1 = preview_raw_length1;
#line 1570 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp85_ = _tmp87_ != NULL;
-#line 10361 "ImportPage.c"
+#line 10352 "ImportPage.c"
} else {
#line 1570 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp85_ = FALSE;
-#line 10365 "ImportPage.c"
+#line 10356 "ImportPage.c"
}
#line 1570 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp85_) {
-#line 10369 "ImportPage.c"
+#line 10360 "ImportPage.c"
gsize _tmp88_ = 0UL;
#line 1570 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp88_ = preview_raw_length;
#line 1570 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp84_ = _tmp88_ > ((gsize) 0);
-#line 10375 "ImportPage.c"
+#line 10366 "ImportPage.c"
} else {
#line 1570 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp84_ = FALSE;
-#line 10379 "ImportPage.c"
+#line 10370 "ImportPage.c"
}
#line 1570 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp84_) {
-#line 10383 "ImportPage.c"
+#line 10374 "ImportPage.c"
guint8* _tmp89_ = NULL;
gint _tmp89__length1 = 0;
gsize _tmp90_ = 0UL;
@@ -10402,13 +10393,13 @@ static void import_page_load_previews_and_metadata (ImportPage* self, GeeList* i
_g_free0 (preview_md5);
#line 1571 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
preview_md5 = _tmp91_;
-#line 10400 "ImportPage.c"
+#line 10391 "ImportPage.c"
}
#line 1577 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp92_ = import_source;
#line 1577 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp92_, TYPE_VIDEO_IMPORT_SOURCE)) {
-#line 10406 "ImportPage.c"
+#line 10397 "ImportPage.c"
ImportSource* _tmp93_ = NULL;
GdkPixbuf* _tmp94_ = NULL;
#line 1578 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -10417,13 +10408,13 @@ static void import_page_load_previews_and_metadata (ImportPage* self, GeeList* i
_tmp94_ = preview;
#line 1578 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
video_import_source_update (G_TYPE_CHECK_INSTANCE_TYPE (_tmp93_, TYPE_VIDEO_IMPORT_SOURCE) ? ((VideoImportSource*) _tmp93_) : NULL, _tmp94_);
-#line 10415 "ImportPage.c"
+#line 10406 "ImportPage.c"
}
#line 1580 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp95_ = import_source;
#line 1580 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp95_, TYPE_PHOTO_IMPORT_SOURCE)) {
-#line 10421 "ImportPage.c"
+#line 10412 "ImportPage.c"
ImportSource* _tmp96_ = NULL;
GdkPixbuf* _tmp97_ = NULL;
const gchar* _tmp98_ = NULL;
@@ -10441,13 +10432,13 @@ static void import_page_load_previews_and_metadata (ImportPage* self, GeeList* i
_tmp100_ = exif_only_md5;
#line 1581 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
photo_import_source_update (G_TYPE_CHECK_INSTANCE_TYPE (_tmp96_, TYPE_PHOTO_IMPORT_SOURCE) ? ((PhotoImportSource*) _tmp96_) : NULL, _tmp97_, _tmp98_, _tmp99_, _tmp100_);
-#line 10439 "ImportPage.c"
+#line 10430 "ImportPage.c"
}
#line 1584 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp101_ = associated;
#line 1584 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp101_ != NULL) {
-#line 10445 "ImportPage.c"
+#line 10436 "ImportPage.c"
{
PhotoMetadata* associated_metadata = NULL;
GPSpinIdleWrapper* _tmp102_ = NULL;
@@ -10495,7 +10486,7 @@ static void import_page_load_previews_and_metadata (ImportPage* self, GeeList* i
associated_metadata = _tmp112_;
#line 1586 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 10493 "ImportPage.c"
+#line 10484 "ImportPage.c"
goto __catch67_g_error;
}
#line 1588 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -10510,7 +10501,7 @@ static void import_page_load_previews_and_metadata (ImportPage* self, GeeList* i
photo_import_source_update (_tmp113_, _tmp114_, _tmp115_, _tmp116_, NULL);
#line 1585 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_media_metadata_unref0 (associated_metadata);
-#line 10508 "ImportPage.c"
+#line 10499 "ImportPage.c"
}
goto __finally67;
__catch67_g_error:
@@ -10552,7 +10543,7 @@ static void import_page_load_previews_and_metadata (ImportPage* self, GeeList* i
_g_free0 (_tmp119_);
#line 1585 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_error_free0 (err);
-#line 10550 "ImportPage.c"
+#line 10541 "ImportPage.c"
}
__finally67:
#line 1585 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -10583,7 +10574,7 @@ static void import_page_load_previews_and_metadata (ImportPage* self, GeeList* i
g_clear_error (&_inner_error_);
#line 1585 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return;
-#line 10581 "ImportPage.c"
+#line 10572 "ImportPage.c"
}
}
#line 1596 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -10628,11 +10619,11 @@ static void import_page_load_previews_and_metadata (ImportPage* self, GeeList* i
_g_free0 (filename);
#line 1496 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (import_source);
-#line 10626 "ImportPage.c"
+#line 10617 "ImportPage.c"
}
#line 1496 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (_import_source_list);
-#line 10630 "ImportPage.c"
+#line 10621 "ImportPage.c"
}
}
@@ -10652,7 +10643,7 @@ static void import_page_on_hide_imported (ImportPage* self) {
_tmp1_ = gtk_toggle_button_get_active (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_toggle_button_get_type (), GtkToggleButton));
#line 1610 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp1_) {
-#line 10650 "ImportPage.c"
+#line 10641 "ImportPage.c"
ViewCollection* _tmp2_ = NULL;
ViewCollection* _tmp3_ = NULL;
ImportPageHideImportedViewFilter* _tmp4_ = NULL;
@@ -10666,7 +10657,7 @@ static void import_page_on_hide_imported (ImportPage* self) {
view_collection_install_view_filter (_tmp3_, G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, TYPE_VIEW_FILTER, ViewFilter));
#line 1611 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_data_collection_unref0 (_tmp3_);
-#line 10664 "ImportPage.c"
+#line 10655 "ImportPage.c"
} else {
ViewCollection* _tmp5_ = NULL;
ViewCollection* _tmp6_ = NULL;
@@ -10681,7 +10672,7 @@ static void import_page_on_hide_imported (ImportPage* self) {
view_collection_remove_view_filter (_tmp6_, G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, TYPE_VIEW_FILTER, ViewFilter));
#line 1613 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_data_collection_unref0 (_tmp6_);
-#line 10679 "ImportPage.c"
+#line 10670 "ImportPage.c"
}
#line 1615 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp8_ = config_facade_get_instance ();
@@ -10695,7 +10686,7 @@ static void import_page_on_hide_imported (ImportPage* self) {
configuration_facade_set_hide_photos_already_imported (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp11_);
#line 1615 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (_tmp9_);
-#line 10693 "ImportPage.c"
+#line 10684 "ImportPage.c"
}
@@ -10720,7 +10711,7 @@ static void import_page_on_import_selected (ImportPage* self) {
_g_object_unref0 (_tmp3_);
#line 1619 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 10718 "ImportPage.c"
+#line 10709 "ImportPage.c"
}
@@ -10745,7 +10736,7 @@ static void import_page_on_import_all (ImportPage* self) {
_g_object_unref0 (_tmp3_);
#line 1623 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_data_collection_unref0 (_tmp1_);
-#line 10743 "ImportPage.c"
+#line 10734 "ImportPage.c"
}
@@ -10754,28 +10745,28 @@ static gint64 _import_page_import_job_comparator_comparator (void* a, void* b, g
result = import_page_import_job_comparator ((ImportPage*) self, a, b);
#line 1639 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 10752 "ImportPage.c"
+#line 10743 "ImportPage.c"
}
static void _import_page_import_reporter_batch_import_import_reporter (ImportManifest* manifest, BatchImportRoll* import_roll, gpointer self) {
#line 1675 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
import_page_import_reporter ((ImportPage*) self, manifest);
-#line 10759 "ImportPage.c"
+#line 10750 "ImportPage.c"
}
static void _import_page_on_import_job_failed_batch_import_import_job_failed (BatchImport* _sender, BatchImportResult* _result_, gpointer self) {
#line 1677 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
import_page_on_import_job_failed ((ImportPage*) self, _result_);
-#line 10766 "ImportPage.c"
+#line 10757 "ImportPage.c"
}
static void _import_page_close_import_batch_import_import_complete (BatchImport* _sender, ImportManifest* manifest, BatchImportRoll* import_roll, gpointer self) {
#line 1678 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
import_page_close_import ((ImportPage*) self);
-#line 10773 "ImportPage.c"
+#line 10764 "ImportPage.c"
}
@@ -10817,7 +10808,7 @@ static void import_page_import (ImportPage* self, GeeIterable* items) {
_tmp4_ = res;
#line 1628 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp4_ != GP_OK) {
-#line 10815 "ImportPage.c"
+#line 10806 "ImportPage.c"
const gchar* _tmp5_ = NULL;
int _tmp6_ = 0;
gchar* _tmp7_ = NULL;
@@ -10844,7 +10835,7 @@ static void import_page_import (ImportPage* self, GeeIterable* items) {
_g_free0 (_tmp8_);
#line 1631 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return;
-#line 10842 "ImportPage.c"
+#line 10833 "ImportPage.c"
}
#line 1634 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp11_ = self->priv->refreshed;
@@ -10864,7 +10855,7 @@ static void import_page_import (ImportPage* self, GeeIterable* items) {
_tmp14_ = gee_array_list_new (IMPORT_PAGE_TYPE_CAMERA_IMPORT_JOB, (GBoxedCopyFunc) batch_import_job_ref, batch_import_job_unref, NULL, NULL, NULL);
#line 1640 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
already_imported = _tmp14_;
-#line 10862 "ImportPage.c"
+#line 10853 "ImportPage.c"
{
GeeIterator* _object_it = NULL;
GeeIterable* _tmp15_ = NULL;
@@ -10877,7 +10868,7 @@ static void import_page_import (ImportPage* self, GeeIterable* items) {
_object_it = _tmp16_;
#line 1642 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
while (TRUE) {
-#line 10875 "ImportPage.c"
+#line 10866 "ImportPage.c"
GeeIterator* _tmp17_ = NULL;
gboolean _tmp18_ = FALSE;
DataObject* object = NULL;
@@ -10907,7 +10898,7 @@ static void import_page_import (ImportPage* self, GeeIterable* items) {
if (!_tmp18_) {
#line 1642 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
break;
-#line 10905 "ImportPage.c"
+#line 10896 "ImportPage.c"
}
#line 1642 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp19_ = _object_it;
@@ -10933,7 +10924,7 @@ static void import_page_import (ImportPage* self, GeeIterable* items) {
_tmp26_ = import_preview_is_already_imported (_tmp25_);
#line 1646 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp26_) {
-#line 10931 "ImportPage.c"
+#line 10922 "ImportPage.c"
ImportSource* _tmp27_ = NULL;
gchar* _tmp28_ = NULL;
gchar* _tmp29_ = NULL;
@@ -10986,7 +10977,7 @@ static void import_page_import (ImportPage* self, GeeIterable* items) {
_g_object_unref0 (object);
#line 1653 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
continue;
-#line 10983 "ImportPage.c"
+#line 10974 "ImportPage.c"
}
#line 1656 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp38_ = import_page_null_context;
@@ -11000,7 +10991,7 @@ static void import_page_import (ImportPage* self, GeeIterable* items) {
_tmp42_ = import_file;
#line 1659 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp42_, TYPE_PHOTO_IMPORT_SOURCE)) {
-#line 10997 "ImportPage.c"
+#line 10988 "ImportPage.c"
ImportSource* _tmp43_ = NULL;
PhotoImportSource* _tmp44_ = NULL;
PhotoImportSource* _tmp45_ = NULL;
@@ -11014,15 +11005,15 @@ static void import_page_import (ImportPage* self, GeeIterable* items) {
_tmp41_ = _tmp45_ != NULL;
#line 1660 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (_tmp45_);
-#line 11011 "ImportPage.c"
+#line 11002 "ImportPage.c"
} else {
#line 1659 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp41_ = FALSE;
-#line 11015 "ImportPage.c"
+#line 11006 "ImportPage.c"
}
#line 1659 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp41_) {
-#line 11019 "ImportPage.c"
+#line 11010 "ImportPage.c"
ImportPageCameraImportJob* _tmp46_ = NULL;
GPContextWrapper* _tmp47_ = NULL;
ImportSource* _tmp48_ = NULL;
@@ -11050,7 +11041,7 @@ static void import_page_import (ImportPage* self, GeeIterable* items) {
_batch_import_job_unref0 (_tmp52_);
#line 1661 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (_tmp50_);
-#line 11047 "ImportPage.c"
+#line 11038 "ImportPage.c"
}
#line 1665 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp53_ = jobs;
@@ -11066,11 +11057,11 @@ static void import_page_import (ImportPage* self, GeeIterable* items) {
_g_object_unref0 (preview);
#line 1642 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (object);
-#line 11063 "ImportPage.c"
+#line 11054 "ImportPage.c"
}
#line 1642 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (_object_it);
-#line 11067 "ImportPage.c"
+#line 11058 "ImportPage.c"
}
#line 1668 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp55_ = jobs;
@@ -11090,7 +11081,7 @@ static void import_page_import (ImportPage* self, GeeIterable* items) {
_tmp61_ = _tmp60_;
#line 1670 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp61_ > 0) {
-#line 11087 "ImportPage.c"
+#line 11078 "ImportPage.c"
ImportPage* _tmp62_ = NULL;
ImportPage* _tmp63_ = NULL;
BatchImport* batch_import = NULL;
@@ -11153,7 +11144,7 @@ static void import_page_import (ImportPage* self, GeeIterable* items) {
_g_object_unref0 (_tmp74_);
#line 1670 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (batch_import);
-#line 11150 "ImportPage.c"
+#line 11141 "ImportPage.c"
} else {
GeeArrayList* _tmp75_ = NULL;
gint _tmp76_ = 0;
@@ -11166,7 +11157,7 @@ static void import_page_import (ImportPage* self, GeeIterable* items) {
_tmp77_ = _tmp76_;
#line 1685 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp77_ > 0) {
-#line 11163 "ImportPage.c"
+#line 11154 "ImportPage.c"
GeeArrayList* _tmp78_ = NULL;
ImportManifest* _tmp79_ = NULL;
ImportManifest* _tmp80_ = NULL;
@@ -11180,17 +11171,17 @@ static void import_page_import (ImportPage* self, GeeIterable* items) {
import_page_import_reporter (self, _tmp80_);
#line 1686 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_import_manifest_unref0 (_tmp80_);
-#line 11177 "ImportPage.c"
+#line 11168 "ImportPage.c"
}
#line 1688 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
import_page_close_import (self);
-#line 11181 "ImportPage.c"
+#line 11172 "ImportPage.c"
}
#line 1626 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (already_imported);
#line 1626 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (jobs);
-#line 11187 "ImportPage.c"
+#line 11178 "ImportPage.c"
}
@@ -11211,7 +11202,7 @@ static void import_page_on_import_job_failed (ImportPage* self, BatchImportResul
if (_tmp2_ == NULL) {
#line 1693 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp0_ = TRUE;
-#line 11208 "ImportPage.c"
+#line 11199 "ImportPage.c"
} else {
BatchImportResult* _tmp3_ = NULL;
ImportResult _tmp4_ = 0;
@@ -11221,13 +11212,13 @@ static void import_page_on_import_job_failed (ImportPage* self, BatchImportResul
_tmp4_ = _tmp3_->result;
#line 1693 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp0_ = _tmp4_ == IMPORT_RESULT_SUCCESS;
-#line 11218 "ImportPage.c"
+#line 11209 "ImportPage.c"
}
#line 1693 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp0_) {
#line 1694 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return;
-#line 11224 "ImportPage.c"
+#line 11215 "ImportPage.c"
}
{
BatchImportResult* _tmp5_ = NULL;
@@ -11240,7 +11231,7 @@ static void import_page_on_import_job_failed (ImportPage* self, BatchImportResul
g_file_delete (_tmp6_, NULL, &_inner_error_);
#line 1698 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 11237 "ImportPage.c"
+#line 11228 "ImportPage.c"
goto __catch68_g_error;
}
}
@@ -11276,7 +11267,7 @@ static void import_page_on_import_job_failed (ImportPage* self, BatchImportResul
_g_free0 (_tmp10_);
#line 1697 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_error_free0 (err);
-#line 11273 "ImportPage.c"
+#line 11264 "ImportPage.c"
}
__finally68:
#line 1697 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -11287,7 +11278,7 @@ static void import_page_on_import_job_failed (ImportPage* self, BatchImportResul
g_clear_error (&_inner_error_);
#line 1697 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return;
-#line 11284 "ImportPage.c"
+#line 11275 "ImportPage.c"
}
}
@@ -11295,7 +11286,7 @@ static void import_page_on_import_job_failed (ImportPage* self, BatchImportResul
static gpointer _batch_import_job_ref0 (gpointer self) {
#line 1744 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return self ? batch_import_job_ref (self) : NULL;
-#line 11292 "ImportPage.c"
+#line 11283 "ImportPage.c"
}
@@ -11304,7 +11295,7 @@ static gboolean _progress_dialog_monitor_progress_monitor (guint64 current, guin
result = progress_dialog_monitor ((ProgressDialog*) self, current, total, do_event_loop);
#line 1751 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 11301 "ImportPage.c"
+#line 11292 "ImportPage.c"
}
@@ -11358,7 +11349,7 @@ static void import_page_import_reporter (ImportPage* self, ImportManifest* manif
_tmp5_ = _tmp4_;
#line 1713 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp5_ > 0) {
-#line 11355 "ImportPage.c"
+#line 11346 "ImportPage.c"
gchar* photos_string = NULL;
ImportManifest* _tmp6_ = NULL;
GeeList* _tmp7_ = NULL;
@@ -11554,7 +11545,7 @@ static void import_page_import_reporter (ImportPage* self, ImportManifest* manif
_g_object_unref0 (local_ref);
#line 1734 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return;
-#line 11551 "ImportPage.c"
+#line 11542 "ImportPage.c"
}
#line 1713 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_import_ui_question_params_unref0 (question);
@@ -11568,7 +11559,7 @@ static void import_page_import_reporter (ImportPage* self, ImportManifest* manif
_g_free0 (videos_string);
#line 1713 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (photos_string);
-#line 11565 "ImportPage.c"
+#line 11556 "ImportPage.c"
} else {
ImportManifest* _tmp59_ = NULL;
#line 1736 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -11579,7 +11570,7 @@ static void import_page_import_reporter (ImportPage* self, ImportManifest* manif
_g_object_unref0 (local_ref);
#line 1737 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return;
-#line 11576 "ImportPage.c"
+#line 11567 "ImportPage.c"
}
#line 1742 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp60_ = self->priv->import_sources;
@@ -11587,7 +11578,7 @@ static void import_page_import_reporter (ImportPage* self, ImportManifest* manif
_tmp61_ = data_collection_start_marking (G_TYPE_CHECK_INSTANCE_CAST (_tmp60_, TYPE_DATA_COLLECTION, DataCollection));
#line 1742 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
marker = _tmp61_;
-#line 11584 "ImportPage.c"
+#line 11575 "ImportPage.c"
{
GeeList* _batch_result_list = NULL;
ImportManifest* _tmp62_ = NULL;
@@ -11618,7 +11609,7 @@ static void import_page_import_reporter (ImportPage* self, ImportManifest* manif
_batch_result_index = -1;
#line 1743 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
while (TRUE) {
-#line 11615 "ImportPage.c"
+#line 11606 "ImportPage.c"
gint _tmp68_ = 0;
gint _tmp69_ = 0;
gint _tmp70_ = 0;
@@ -11646,7 +11637,7 @@ static void import_page_import_reporter (ImportPage* self, ImportManifest* manif
if (!(_tmp69_ < _tmp70_)) {
#line 1743 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
break;
-#line 11643 "ImportPage.c"
+#line 11634 "ImportPage.c"
}
#line 1743 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp71_ = _batch_result_list;
@@ -11680,11 +11671,11 @@ static void import_page_import_reporter (ImportPage* self, ImportManifest* manif
_batch_import_job_unref0 (job);
#line 1743 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_batch_import_result_unref0 (batch_result);
-#line 11677 "ImportPage.c"
+#line 11668 "ImportPage.c"
}
#line 1743 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (_batch_result_list);
-#line 11681 "ImportPage.c"
+#line 11672 "ImportPage.c"
}
#line 1749 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp81_ = app_window_get_instance ();
@@ -11722,7 +11713,7 @@ static void import_page_import_reporter (ImportPage* self, ImportManifest* manif
_tmp92_ = error_count;
#line 1752 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp92_ > 0) {
-#line 11719 "ImportPage.c"
+#line 11710 "ImportPage.c"
gchar* error_string = NULL;
gint _tmp93_ = 0;
const gchar* _tmp94_ = NULL;
@@ -11745,7 +11736,7 @@ static void import_page_import_reporter (ImportPage* self, ImportManifest* manif
app_window_error_message (_tmp97_, NULL);
#line 1752 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (error_string);
-#line 11742 "ImportPage.c"
+#line 11733 "ImportPage.c"
}
#line 1760 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp98_ = progress;
@@ -11761,7 +11752,7 @@ static void import_page_import_reporter (ImportPage* self, ImportManifest* manif
_g_object_unref0 (marker);
#line 1704 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (local_ref);
-#line 11758 "ImportPage.c"
+#line 11749 "ImportPage.c"
}
@@ -11789,7 +11780,7 @@ static void import_page_close_import (ImportPage* self) {
_tmp4_ = res;
#line 1768 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp4_ != GP_OK) {
-#line 11786 "ImportPage.c"
+#line 11777 "ImportPage.c"
int _tmp5_ = 0;
gchar* _tmp6_ = NULL;
gchar* _tmp7_ = NULL;
@@ -11803,7 +11794,7 @@ static void import_page_close_import (ImportPage* self) {
g_message ("ImportPage.vala:1770: Unable to unlock camera: %s", _tmp7_);
#line 1770 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_free0 (_tmp7_);
-#line 11800 "ImportPage.c"
+#line 11791 "ImportPage.c"
}
#line 1773 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp8_ = self->priv->refreshed;
@@ -11811,7 +11802,7 @@ static void import_page_close_import (ImportPage* self) {
import_page_update_status (self, FALSE, _tmp8_);
#line 1775 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
import_page_on_view_changed (self);
-#line 11808 "ImportPage.c"
+#line 11799 "ImportPage.c"
}
@@ -11829,14 +11820,14 @@ static void import_page_real_set_display_titles (CheckerboardPage* base, gboolea
_tmp1_ = display;
#line 1781 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
page_set_action_active (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "ViewTitle", _tmp1_);
-#line 11826 "ImportPage.c"
+#line 11817 "ImportPage.c"
}
static gpointer _view_filter_ref0 (gpointer self) {
#line 1786 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return self ? view_filter_ref (self) : NULL;
-#line 11833 "ImportPage.c"
+#line 11824 "ImportPage.c"
}
@@ -11855,7 +11846,7 @@ static SearchViewFilter* import_page_real_get_search_view_filter (CheckerboardPa
result = _tmp1_;
#line 1786 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 11852 "ImportPage.c"
+#line 11843 "ImportPage.c"
}
@@ -11877,14 +11868,14 @@ static ImportPageImportViewManager* import_page_import_view_manager_construct (G
self->priv->owner = _tmp1_;
#line 463 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return self;
-#line 11874 "ImportPage.c"
+#line 11865 "ImportPage.c"
}
static ImportPageImportViewManager* import_page_import_view_manager_new (ImportPage* owner) {
#line 463 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return import_page_import_view_manager_construct (IMPORT_PAGE_TYPE_IMPORT_VIEW_MANAGER, owner);
-#line 11881 "ImportPage.c"
+#line 11872 "ImportPage.c"
}
@@ -11905,7 +11896,7 @@ static DataView* import_page_import_view_manager_real_create_view (ViewManager*
result = G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_DATA_VIEW, DataView);
#line 468 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 11902 "ImportPage.c"
+#line 11893 "ImportPage.c"
}
@@ -11918,14 +11909,14 @@ static void import_page_import_view_manager_class_init (ImportPageImportViewMana
g_type_class_add_private (klass, sizeof (ImportPageImportViewManagerPrivate));
#line 460 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
((ViewManagerClass *) klass)->create_view = import_page_import_view_manager_real_create_view;
-#line 11915 "ImportPage.c"
+#line 11906 "ImportPage.c"
}
static void import_page_import_view_manager_instance_init (ImportPageImportViewManager * self) {
#line 460 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
self->priv = IMPORT_PAGE_IMPORT_VIEW_MANAGER_GET_PRIVATE (self);
-#line 11922 "ImportPage.c"
+#line 11913 "ImportPage.c"
}
@@ -11937,7 +11928,7 @@ static void import_page_import_view_manager_finalize (ViewManager* obj) {
_g_object_unref0 (self->priv->owner);
#line 460 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
VIEW_MANAGER_CLASS (import_page_import_view_manager_parent_class)->finalize (obj);
-#line 11934 "ImportPage.c"
+#line 11925 "ImportPage.c"
}
@@ -11956,7 +11947,7 @@ static GType import_page_import_view_manager_get_type (void) {
static gpointer _gp_context_wrapper_ref0 (gpointer self) {
#line 487 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return self ? gp_context_wrapper_ref (self) : NULL;
-#line 11953 "ImportPage.c"
+#line 11944 "ImportPage.c"
}
@@ -12052,7 +12043,7 @@ static ImportPageCameraImportJob* import_page_camera_import_job_construct (GType
_tmp16_ = import_file;
#line 498 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp16_, TYPE_PHOTO_IMPORT_SOURCE)) {
-#line 12049 "ImportPage.c"
+#line 12040 "ImportPage.c"
ImportSource* _tmp17_ = NULL;
PhotoMetadata* _tmp18_ = NULL;
#line 499 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -12063,13 +12054,13 @@ static ImportPageCameraImportJob* import_page_camera_import_job_construct (GType
_media_metadata_unref0 (_tmp15_);
#line 499 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp15_ = _tmp18_;
-#line 12060 "ImportPage.c"
+#line 12051 "ImportPage.c"
} else {
#line 499 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_media_metadata_unref0 (_tmp15_);
#line 499 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp15_ = NULL;
-#line 12066 "ImportPage.c"
+#line 12057 "ImportPage.c"
}
#line 498 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp19_ = _media_metadata_ref0 (_tmp15_);
@@ -12087,14 +12078,14 @@ static ImportPageCameraImportJob* import_page_camera_import_job_construct (GType
_media_metadata_unref0 (_tmp15_);
#line 485 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return self;
-#line 12084 "ImportPage.c"
+#line 12075 "ImportPage.c"
}
static ImportPageCameraImportJob* import_page_camera_import_job_new (GPContextWrapper* context, ImportSource* import_file, DuplicatedFile* duplicated_file) {
#line 485 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return import_page_camera_import_job_construct (IMPORT_PAGE_TYPE_CAMERA_IMPORT_JOB, context, import_file, duplicated_file);
-#line 12091 "ImportPage.c"
+#line 12082 "ImportPage.c"
}
@@ -12109,7 +12100,7 @@ static time_t import_page_camera_import_job_get_exposure_time (ImportPageCameraI
result = _tmp0_;
#line 504 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 12106 "ImportPage.c"
+#line 12097 "ImportPage.c"
}
@@ -12128,7 +12119,7 @@ static DuplicatedFile* import_page_camera_import_job_real_get_duplicated_file (B
result = _tmp1_;
#line 508 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 12125 "ImportPage.c"
+#line 12116 "ImportPage.c"
}
@@ -12143,23 +12134,23 @@ static time_t import_page_camera_import_job_real_get_exposure_time_override (Bat
_tmp1_ = self->priv->import_file;
#line 512 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, TYPE_VIDEO_IMPORT_SOURCE)) {
-#line 12140 "ImportPage.c"
+#line 12131 "ImportPage.c"
time_t _tmp2_ = 0;
#line 512 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp2_ = import_page_camera_import_job_get_exposure_time (self);
#line 512 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp0_ = _tmp2_;
-#line 12146 "ImportPage.c"
+#line 12137 "ImportPage.c"
} else {
#line 512 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp0_ = (time_t) 0;
-#line 12150 "ImportPage.c"
+#line 12141 "ImportPage.c"
}
#line 512 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
result = _tmp0_;
#line 512 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 12156 "ImportPage.c"
+#line 12147 "ImportPage.c"
}
@@ -12178,7 +12169,7 @@ static gchar* import_page_camera_import_job_real_get_dest_identifier (BatchImpor
result = _tmp1_;
#line 516 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 12175 "ImportPage.c"
+#line 12166 "ImportPage.c"
}
@@ -12197,7 +12188,7 @@ static gchar* import_page_camera_import_job_real_get_source_identifier (BatchImp
result = _tmp1_;
#line 520 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 12194 "ImportPage.c"
+#line 12185 "ImportPage.c"
}
@@ -12216,7 +12207,7 @@ static gchar* import_page_camera_import_job_real_get_basename (BatchImportJob* b
result = _tmp1_;
#line 524 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 12213 "ImportPage.c"
+#line 12204 "ImportPage.c"
}
@@ -12235,7 +12226,7 @@ static gchar* import_page_camera_import_job_real_get_path (BatchImportJob* base)
result = _tmp1_;
#line 528 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 12232 "ImportPage.c"
+#line 12223 "ImportPage.c"
}
@@ -12255,7 +12246,7 @@ static void import_page_camera_import_job_real_set_associated (BatchImportJob* b
_batch_import_job_unref0 (self->priv->associated);
#line 532 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
self->priv->associated = _tmp1_;
-#line 12252 "ImportPage.c"
+#line 12243 "ImportPage.c"
}
@@ -12273,7 +12264,7 @@ static ImportSource* import_page_camera_import_job_get_source (ImportPageCameraI
result = _tmp1_;
#line 536 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 12270 "ImportPage.c"
+#line 12261 "ImportPage.c"
}
@@ -12286,7 +12277,7 @@ static gboolean import_page_camera_import_job_real_is_directory (BatchImportJob*
result = FALSE;
#line 540 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 12283 "ImportPage.c"
+#line 12274 "ImportPage.c"
}
@@ -12312,21 +12303,21 @@ static gboolean import_page_camera_import_job_real_determine_file_size (BatchImp
if (filesize) {
#line 547 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
*filesize = _vala_filesize;
-#line 12309 "ImportPage.c"
+#line 12300 "ImportPage.c"
}
#line 547 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (file) {
#line 547 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
*file = _vala_file;
-#line 12315 "ImportPage.c"
+#line 12306 "ImportPage.c"
} else {
#line 547 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (_vala_file);
-#line 12319 "ImportPage.c"
+#line 12310 "ImportPage.c"
}
#line 547 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 12323 "ImportPage.c"
+#line 12314 "ImportPage.c"
}
@@ -12352,7 +12343,7 @@ static gboolean import_page_camera_import_job_real_prepare (BatchImportJob* base
_vala_copy_to_library = FALSE;
#line 554 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
dest_file = NULL;
-#line 12349 "ImportPage.c"
+#line 12340 "ImportPage.c"
{
gboolean collision = FALSE;
GFile* _tmp0_ = NULL;
@@ -12376,7 +12367,7 @@ static gboolean import_page_camera_import_job_real_prepare (BatchImportJob* base
_tmp0_ = _tmp5_;
#line 557 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 12373 "ImportPage.c"
+#line 12364 "ImportPage.c"
goto __catch69_g_error;
}
#line 557 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -12389,7 +12380,7 @@ static gboolean import_page_camera_import_job_real_prepare (BatchImportJob* base
dest_file = _tmp6_;
#line 555 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (_tmp0_);
-#line 12386 "ImportPage.c"
+#line 12377 "ImportPage.c"
}
goto __finally69;
__catch69_g_error:
@@ -12420,7 +12411,7 @@ static gboolean import_page_camera_import_job_real_prepare (BatchImportJob* base
_g_free0 (_tmp9_);
#line 555 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_error_free0 (err);
-#line 12417 "ImportPage.c"
+#line 12408 "ImportPage.c"
}
__finally69:
#line 555 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -12431,13 +12422,13 @@ static gboolean import_page_camera_import_job_real_prepare (BatchImportJob* base
_g_object_unref0 (dest_file);
#line 555 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return FALSE;
-#line 12428 "ImportPage.c"
+#line 12419 "ImportPage.c"
}
#line 564 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp12_ = dest_file;
#line 564 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp12_ == NULL) {
-#line 12434 "ImportPage.c"
+#line 12425 "ImportPage.c"
ImportSource* _tmp13_ = NULL;
gchar* _tmp14_ = NULL;
gchar* _tmp15_ = NULL;
@@ -12459,27 +12450,27 @@ static gboolean import_page_camera_import_job_real_prepare (BatchImportJob* base
if (file_to_import) {
#line 567 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
*file_to_import = _vala_file_to_import;
-#line 12456 "ImportPage.c"
+#line 12447 "ImportPage.c"
} else {
#line 567 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (_vala_file_to_import);
-#line 12460 "ImportPage.c"
+#line 12451 "ImportPage.c"
}
#line 567 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (copy_to_library) {
#line 567 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
*copy_to_library = _vala_copy_to_library;
-#line 12466 "ImportPage.c"
+#line 12457 "ImportPage.c"
}
#line 567 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 12470 "ImportPage.c"
+#line 12461 "ImportPage.c"
}
#line 572 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp16_ = dest_file;
#line 572 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
library_monitor_blacklist_file (_tmp16_, "CameraImportJob.prepare");
-#line 12476 "ImportPage.c"
+#line 12467 "ImportPage.c"
{
GPContextWrapper* _tmp17_ = NULL;
GPContext* _tmp18_ = NULL;
@@ -12503,7 +12494,7 @@ static gboolean import_page_camera_import_job_real_prepare (BatchImportJob* base
gp_save_image (_tmp18_, _tmp19_, _tmp20_, _tmp21_, _tmp22_, &_inner_error_);
#line 574 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 12500 "ImportPage.c"
+#line 12491 "ImportPage.c"
goto __finally70;
}
}
@@ -12514,7 +12505,7 @@ static gboolean import_page_camera_import_job_real_prepare (BatchImportJob* base
_tmp23_ = dest_file;
#line 576 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
library_monitor_unblacklist_file (_tmp23_);
-#line 12511 "ImportPage.c"
+#line 12502 "ImportPage.c"
}
#line 573 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
@@ -12524,13 +12515,13 @@ static gboolean import_page_camera_import_job_real_prepare (BatchImportJob* base
_g_object_unref0 (dest_file);
#line 573 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return FALSE;
-#line 12521 "ImportPage.c"
+#line 12512 "ImportPage.c"
}
#line 580 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp24_ = self->priv->associated;
#line 580 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp24_ != NULL) {
-#line 12527 "ImportPage.c"
+#line 12518 "ImportPage.c"
BackingPhotoRow* _tmp39_ = NULL;
GFile* assoc_dest = NULL;
BackingPhotoRow* _tmp42_ = NULL;
@@ -12572,7 +12563,7 @@ static gboolean import_page_camera_import_job_real_prepare (BatchImportJob* base
_tmp25_ = _tmp33_;
#line 583 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 12569 "ImportPage.c"
+#line 12560 "ImportPage.c"
goto __catch71_g_error;
}
#line 582 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -12585,7 +12576,7 @@ static gboolean import_page_camera_import_job_real_prepare (BatchImportJob* base
self->priv->associated_file = _tmp34_;
#line 581 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_backing_photo_row_unref0 (_tmp25_);
-#line 12582 "ImportPage.c"
+#line 12573 "ImportPage.c"
}
goto __finally71;
__catch71_g_error:
@@ -12612,7 +12603,7 @@ static gboolean import_page_camera_import_job_real_prepare (BatchImportJob* base
": %s", _tmp36_, _tmp38_);
#line 581 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_error_free0 (err);
-#line 12608 "ImportPage.c"
+#line 12599 "ImportPage.c"
}
__finally71:
#line 581 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -12623,13 +12614,13 @@ static gboolean import_page_camera_import_job_real_prepare (BatchImportJob* base
_g_object_unref0 (dest_file);
#line 581 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return FALSE;
-#line 12619 "ImportPage.c"
+#line 12610 "ImportPage.c"
}
#line 590 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp39_ = self->priv->associated_file;
#line 590 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp39_ == NULL) {
-#line 12625 "ImportPage.c"
+#line 12616 "ImportPage.c"
ImportPageCameraImportJob* _tmp40_ = NULL;
const gchar* _tmp41_ = NULL;
#line 591 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -12646,21 +12637,21 @@ static gboolean import_page_camera_import_job_real_prepare (BatchImportJob* base
if (file_to_import) {
#line 592 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
*file_to_import = _vala_file_to_import;
-#line 12642 "ImportPage.c"
+#line 12633 "ImportPage.c"
} else {
#line 592 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (_vala_file_to_import);
-#line 12646 "ImportPage.c"
+#line 12637 "ImportPage.c"
}
#line 592 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (copy_to_library) {
#line 592 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
*copy_to_library = _vala_copy_to_library;
-#line 12652 "ImportPage.c"
+#line 12643 "ImportPage.c"
}
#line 592 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 12656 "ImportPage.c"
+#line 12647 "ImportPage.c"
}
#line 595 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp42_ = self->priv->associated_file;
@@ -12674,7 +12665,7 @@ static gboolean import_page_camera_import_job_real_prepare (BatchImportJob* base
_tmp45_ = assoc_dest;
#line 596 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
library_monitor_blacklist_file (_tmp45_, "CameraImportJob.prepare");
-#line 12670 "ImportPage.c"
+#line 12661 "ImportPage.c"
{
GPContextWrapper* _tmp46_ = NULL;
GPContext* _tmp47_ = NULL;
@@ -12704,7 +12695,7 @@ static gboolean import_page_camera_import_job_real_prepare (BatchImportJob* base
gp_save_image (_tmp47_, _tmp48_, _tmp50_, _tmp52_, _tmp53_, &_inner_error_);
#line 598 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 12700 "ImportPage.c"
+#line 12691 "ImportPage.c"
goto __finally72;
}
}
@@ -12715,7 +12706,7 @@ static gboolean import_page_camera_import_job_real_prepare (BatchImportJob* base
_tmp54_ = assoc_dest;
#line 601 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
library_monitor_unblacklist_file (_tmp54_);
-#line 12711 "ImportPage.c"
+#line 12702 "ImportPage.c"
}
#line 597 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
@@ -12727,11 +12718,11 @@ static gboolean import_page_camera_import_job_real_prepare (BatchImportJob* base
_g_object_unref0 (dest_file);
#line 597 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return FALSE;
-#line 12723 "ImportPage.c"
+#line 12714 "ImportPage.c"
}
#line 580 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (assoc_dest);
-#line 12727 "ImportPage.c"
+#line 12718 "ImportPage.c"
}
#line 605 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp55_ = dest_file;
@@ -12751,21 +12742,21 @@ static gboolean import_page_camera_import_job_real_prepare (BatchImportJob* base
if (file_to_import) {
#line 608 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
*file_to_import = _vala_file_to_import;
-#line 12747 "ImportPage.c"
+#line 12738 "ImportPage.c"
} else {
#line 608 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (_vala_file_to_import);
-#line 12751 "ImportPage.c"
+#line 12742 "ImportPage.c"
}
#line 608 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (copy_to_library) {
#line 608 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
*copy_to_library = _vala_copy_to_library;
-#line 12757 "ImportPage.c"
+#line 12748 "ImportPage.c"
}
#line 608 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 12761 "ImportPage.c"
+#line 12752 "ImportPage.c"
}
@@ -12787,7 +12778,7 @@ static gboolean import_page_camera_import_job_real_complete (BatchImportJob* bas
_tmp0_ = source;
#line 613 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp0_, TYPE_PHOTO)) {
-#line 12783 "ImportPage.c"
+#line 12774 "ImportPage.c"
Photo* photo = NULL;
MediaSource* _tmp1_ = NULL;
Photo* _tmp2_ = NULL;
@@ -12802,7 +12793,7 @@ static gboolean import_page_camera_import_job_real_complete (BatchImportJob* bas
_tmp3_ = self->priv->associated_file;
#line 617 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp3_ != NULL) {
-#line 12798 "ImportPage.c"
+#line 12789 "ImportPage.c"
Photo* _tmp4_ = NULL;
BackingPhotoRow* _tmp5_ = NULL;
Photo* _tmp6_ = NULL;
@@ -12823,7 +12814,7 @@ static gboolean import_page_camera_import_job_real_complete (BatchImportJob* bas
_g_object_unref0 (photo);
#line 618 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return FALSE;
-#line 12819 "ImportPage.c"
+#line 12810 "ImportPage.c"
}
#line 619 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
ret = TRUE;
@@ -12839,17 +12830,17 @@ static gboolean import_page_camera_import_job_real_complete (BatchImportJob* bas
photo_set_raw_developer (_tmp6_, _tmp9_);
#line 620 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (_tmp8_);
-#line 12835 "ImportPage.c"
+#line 12826 "ImportPage.c"
}
#line 613 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (photo);
-#line 12839 "ImportPage.c"
+#line 12830 "ImportPage.c"
}
#line 623 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
result = ret;
#line 623 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 12845 "ImportPage.c"
+#line 12836 "ImportPage.c"
}
@@ -12882,7 +12873,7 @@ static void import_page_camera_import_job_class_init (ImportPageCameraImportJobC
((BatchImportJobClass *) klass)->prepare = import_page_camera_import_job_real_prepare;
#line 472 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
((BatchImportJobClass *) klass)->complete = import_page_camera_import_job_real_complete;
-#line 12878 "ImportPage.c"
+#line 12869 "ImportPage.c"
}
@@ -12893,7 +12884,7 @@ static void import_page_camera_import_job_instance_init (ImportPageCameraImportJ
self->priv->associated = NULL;
#line 482 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
self->priv->associated_file = NULL;
-#line 12889 "ImportPage.c"
+#line 12880 "ImportPage.c"
}
@@ -12921,7 +12912,7 @@ static void import_page_camera_import_job_finalize (BatchImportJob* obj) {
_g_object_unref0 (self->priv->duplicated_file);
#line 472 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
BATCH_IMPORT_JOB_CLASS (import_page_camera_import_job_parent_class)->finalize (obj);
-#line 12917 "ImportPage.c"
+#line 12908 "ImportPage.c"
}
@@ -12946,7 +12937,7 @@ static guint import_page_import_page_search_view_filter_real_get_criteria (Searc
result = (guint) (SEARCH_FILTER_CRITERIA_TEXT | SEARCH_FILTER_CRITERIA_MEDIA);
#line 629 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 12942 "ImportPage.c"
+#line 12933 "ImportPage.c"
}
@@ -12954,19 +12945,19 @@ static gboolean string_contains (const gchar* self, const gchar* needle) {
gboolean result = FALSE;
const gchar* _tmp0_ = NULL;
gchar* _tmp1_ = NULL;
-#line 1376 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1376 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, FALSE);
-#line 1376 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1376 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (needle != NULL, FALSE);
-#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = needle;
-#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = strstr ((gchar*) self, (gchar*) _tmp0_);
-#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp1_ != NULL;
-#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
-#line 12962 "ImportPage.c"
+#line 12953 "ImportPage.c"
}
@@ -12993,27 +12984,27 @@ static gboolean import_page_import_page_search_view_filter_real_predicate (ViewF
_tmp3_ = search_view_filter_get_criteria (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SEARCH_VIEW_FILTER, SearchViewFilter));
#line 636 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if ((gboolean) (SEARCH_FILTER_CRITERIA_MEDIA & _tmp3_)) {
-#line 12989 "ImportPage.c"
+#line 12980 "ImportPage.c"
gboolean _tmp4_ = FALSE;
#line 636 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp4_ = search_view_filter_filter_by_media_type (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SEARCH_VIEW_FILTER, SearchViewFilter));
#line 636 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp2_ = _tmp4_;
-#line 12995 "ImportPage.c"
+#line 12986 "ImportPage.c"
} else {
#line 636 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp2_ = FALSE;
-#line 12999 "ImportPage.c"
+#line 12990 "ImportPage.c"
}
#line 636 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp2_) {
-#line 13003 "ImportPage.c"
+#line 12994 "ImportPage.c"
ImportSource* _tmp5_ = NULL;
#line 637 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp5_ = source;
#line 637 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp5_, TYPE_VIDEO_IMPORT_SOURCE)) {
-#line 13009 "ImportPage.c"
+#line 13000 "ImportPage.c"
gboolean _tmp6_ = FALSE;
gboolean _tmp7_ = FALSE;
#line 638 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -13028,7 +13019,7 @@ static gboolean import_page_import_page_search_view_filter_real_predicate (ViewF
_g_object_unref0 (source);
#line 639 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 13024 "ImportPage.c"
+#line 13015 "ImportPage.c"
}
} else {
ImportSource* _tmp8_ = NULL;
@@ -13036,7 +13027,7 @@ static gboolean import_page_import_page_search_view_filter_real_predicate (ViewF
_tmp8_ = source;
#line 640 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp8_, TYPE_PHOTO_IMPORT_SOURCE)) {
-#line 13032 "ImportPage.c"
+#line 13023 "ImportPage.c"
PhotoImportSource* photo = NULL;
ImportSource* _tmp9_ = NULL;
PhotoImportSource* _tmp10_ = NULL;
@@ -13054,7 +13045,7 @@ static gboolean import_page_import_page_search_view_filter_real_predicate (ViewF
_tmp12_ = photo_import_source_get_file_format (_tmp11_);
#line 642 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp12_ == PHOTO_FILE_FORMAT_RAW) {
-#line 13050 "ImportPage.c"
+#line 13041 "ImportPage.c"
PhotoImportSource* _tmp13_ = NULL;
PhotoImportSource* _tmp14_ = NULL;
PhotoImportSource* _tmp15_ = NULL;
@@ -13071,7 +13062,7 @@ static gboolean import_page_import_page_search_view_filter_real_predicate (ViewF
_g_object_unref0 (_tmp15_);
#line 643 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp16_) {
-#line 13067 "ImportPage.c"
+#line 13058 "ImportPage.c"
gboolean _tmp17_ = FALSE;
gboolean _tmp18_ = FALSE;
gboolean _tmp19_ = FALSE;
@@ -13081,7 +13072,7 @@ static gboolean import_page_import_page_search_view_filter_real_predicate (ViewF
_tmp19_ = _tmp18_;
#line 644 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (!_tmp19_) {
-#line 13077 "ImportPage.c"
+#line 13068 "ImportPage.c"
gboolean _tmp20_ = FALSE;
gboolean _tmp21_ = FALSE;
#line 644 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
@@ -13090,11 +13081,11 @@ static gboolean import_page_import_page_search_view_filter_real_predicate (ViewF
_tmp21_ = _tmp20_;
#line 644 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp17_ = !_tmp21_;
-#line 13086 "ImportPage.c"
+#line 13077 "ImportPage.c"
} else {
#line 644 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp17_ = FALSE;
-#line 13090 "ImportPage.c"
+#line 13081 "ImportPage.c"
}
#line 644 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if (_tmp17_) {
@@ -13106,7 +13097,7 @@ static gboolean import_page_import_page_search_view_filter_real_predicate (ViewF
_g_object_unref0 (source);
#line 645 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 13102 "ImportPage.c"
+#line 13093 "ImportPage.c"
}
} else {
gboolean _tmp22_ = FALSE;
@@ -13125,7 +13116,7 @@ static gboolean import_page_import_page_search_view_filter_real_predicate (ViewF
_g_object_unref0 (source);
#line 647 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 13121 "ImportPage.c"
+#line 13112 "ImportPage.c"
}
}
} else {
@@ -13145,12 +13136,12 @@ static gboolean import_page_import_page_search_view_filter_real_predicate (ViewF
_g_object_unref0 (source);
#line 650 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 13141 "ImportPage.c"
+#line 13132 "ImportPage.c"
}
}
#line 640 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_g_object_unref0 (photo);
-#line 13146 "ImportPage.c"
+#line 13137 "ImportPage.c"
}
}
}
@@ -13158,7 +13149,7 @@ static gboolean import_page_import_page_search_view_filter_real_predicate (ViewF
_tmp26_ = search_view_filter_get_criteria (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SEARCH_VIEW_FILTER, SearchViewFilter));
#line 654 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
if ((gboolean) (SEARCH_FILTER_CRITERIA_TEXT & _tmp26_)) {
-#line 13154 "ImportPage.c"
+#line 13145 "ImportPage.c"
const gchar* keywords = NULL;
ImportSource* _tmp27_ = NULL;
const gchar* _tmp28_ = NULL;
@@ -13184,11 +13175,11 @@ static gboolean import_page_import_page_search_view_filter_real_predicate (ViewF
_g_object_unref0 (source);
#line 657 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 13180 "ImportPage.c"
+#line 13171 "ImportPage.c"
}
#line 660 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
_tmp32_ = search_view_filter_get_search_filter_words (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SEARCH_VIEW_FILTER, SearchViewFilter), &_tmp31_);
-#line 13184 "ImportPage.c"
+#line 13175 "ImportPage.c"
{
gchar** word_collection = NULL;
gint word_collection_length1 = 0;
@@ -13200,11 +13191,11 @@ static gboolean import_page_import_page_search_view_filter_real_predicate (ViewF
word_collection_length1 = _tmp31_;
#line 660 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
for (word_it = 0; word_it < _tmp31_; word_it = word_it + 1) {
-#line 13196 "ImportPage.c"
+#line 13187 "ImportPage.c"
const gchar* word = NULL;
#line 660 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
word = word_collection[word_it];
-#line 13200 "ImportPage.c"
+#line 13191 "ImportPage.c"
{
const gchar* _tmp33_ = NULL;
const gchar* _tmp34_ = NULL;
@@ -13223,7 +13214,7 @@ static gboolean import_page_import_page_search_view_filter_real_predicate (ViewF
_g_object_unref0 (source);
#line 662 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 13219 "ImportPage.c"
+#line 13210 "ImportPage.c"
}
}
}
@@ -13235,7 +13226,7 @@ static gboolean import_page_import_page_search_view_filter_real_predicate (ViewF
_g_object_unref0 (source);
#line 666 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 13231 "ImportPage.c"
+#line 13222 "ImportPage.c"
}
@@ -13245,14 +13236,14 @@ static ImportPageImportPageSearchViewFilter* import_page_import_page_search_view
self = (ImportPageImportPageSearchViewFilter*) search_view_filter_construct (object_type);
#line 627 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return self;
-#line 13241 "ImportPage.c"
+#line 13232 "ImportPage.c"
}
static ImportPageImportPageSearchViewFilter* import_page_import_page_search_view_filter_new (void) {
#line 627 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return import_page_import_page_search_view_filter_construct (IMPORT_PAGE_TYPE_IMPORT_PAGE_SEARCH_VIEW_FILTER);
-#line 13248 "ImportPage.c"
+#line 13239 "ImportPage.c"
}
@@ -13263,7 +13254,7 @@ static void import_page_import_page_search_view_filter_class_init (ImportPageImp
((SearchViewFilterClass *) klass)->get_criteria = import_page_import_page_search_view_filter_real_get_criteria;
#line 627 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
((ViewFilterClass *) klass)->predicate = import_page_import_page_search_view_filter_real_predicate;
-#line 13259 "ImportPage.c"
+#line 13250 "ImportPage.c"
}
@@ -13300,7 +13291,7 @@ static gboolean import_page_hide_imported_view_filter_real_predicate (ViewFilter
result = !_tmp1_;
#line 673 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return result;
-#line 13296 "ImportPage.c"
+#line 13287 "ImportPage.c"
}
@@ -13310,14 +13301,14 @@ static ImportPageHideImportedViewFilter* import_page_hide_imported_view_filter_c
self = (ImportPageHideImportedViewFilter*) view_filter_construct (object_type);
#line 671 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return self;
-#line 13306 "ImportPage.c"
+#line 13297 "ImportPage.c"
}
static ImportPageHideImportedViewFilter* import_page_hide_imported_view_filter_new (void) {
#line 671 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
return import_page_hide_imported_view_filter_construct (IMPORT_PAGE_TYPE_HIDE_IMPORTED_VIEW_FILTER);
-#line 13313 "ImportPage.c"
+#line 13304 "ImportPage.c"
}
@@ -13326,7 +13317,7 @@ static void import_page_hide_imported_view_filter_class_init (ImportPageHideImpo
import_page_hide_imported_view_filter_parent_class = g_type_class_peek_parent (klass);
#line 671 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
((ViewFilterClass *) klass)->predicate = import_page_hide_imported_view_filter_real_predicate;
-#line 13322 "ImportPage.c"
+#line 13313 "ImportPage.c"
}
@@ -13375,7 +13366,7 @@ static void import_page_class_init (ImportPageClass * klass) {
((CheckerboardPageClass *) klass)->get_search_view_filter = import_page_real_get_search_view_filter;
#line 457 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
G_OBJECT_CLASS (klass)->finalize = import_page_finalize;
-#line 13371 "ImportPage.c"
+#line 13362 "ImportPage.c"
}
@@ -13420,7 +13411,7 @@ static void import_page_instance_init (ImportPage * self) {
_tmp3_ = import_page_hide_imported_view_filter_new ();
#line 695 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
self->priv->hide_imported_filter = _tmp3_;
-#line 13416 "ImportPage.c"
+#line 13407 "ImportPage.c"
}
@@ -13474,7 +13465,7 @@ static void import_page_finalize (GObject* obj) {
_core_tracker_unref0 (self->priv->tracker);
#line 457 "/home/jens/Source/shotwell/src/camera/ImportPage.vala"
G_OBJECT_CLASS (import_page_parent_class)->finalize (obj);
-#line 13470 "ImportPage.c"
+#line 13461 "ImportPage.c"
}
diff --git a/src/camera/ImportPage.vala b/src/camera/ImportPage.vala
index 352bba6..92445bb 100644
--- a/src/camera/ImportPage.vala
+++ b/src/camera/ImportPage.vala
@@ -758,8 +758,8 @@ public class ImportPage : CheckerboardPage {
LibraryPhoto.global.contents_altered.connect(on_media_added_removed);
Video.global.contents_altered.connect(on_media_added_removed);
- init_item_context_menu("/ImportContextMenu");
- init_page_context_menu("/ImportContextMenu");
+ init_item_context_menu("ImportContextMenu");
+ init_page_context_menu("ImportContextMenu");
}
~ImportPage() {
@@ -877,7 +877,7 @@ public class ImportPage : CheckerboardPage {
AppWindow.get_instance ().add_action_entries (entries, this);
- (get_action ("ViewTitle") as GLib.SimpleAction).set_state (Config.Facade.get_instance ().get_display_photo_titles ());
+ get_action ("ViewTitle").change_state (Config.Facade.get_instance ().get_display_photo_titles ());
}
public GPhoto.Camera get_camera() {
diff --git a/src/config/Config.c b/src/config/Config.c
index 013f9ba..a8afbd2 100644
--- a/src/config/Config.c
+++ b/src/config/Config.c
@@ -1,4 +1,4 @@
-/* Config.c generated by valac 0.34.2, the Vala compiler
+/* Config.c generated by valac 0.32.1, the Vala compiler
* generated from Config.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/config/ConfigurationInterfaces.c b/src/config/ConfigurationInterfaces.c
index 484b46a..3b5e59a 100644
--- a/src/config/ConfigurationInterfaces.c
+++ b/src/config/ConfigurationInterfaces.c
@@ -1,4 +1,4 @@
-/* ConfigurationInterfaces.c generated by valac 0.34.2, the Vala compiler
+/* ConfigurationInterfaces.c generated by valac 0.32.1, the Vala compiler
* generated from ConfigurationInterfaces.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -11804,13 +11804,13 @@ void configuration_facade_set_slideshow_show_title (ConfigurationFacade* self, g
static void g_time_local (time_t time, struct tm* result) {
struct tm _result_ = {0};
struct tm _tmp0_ = {0};
-#line 2750 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2701 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
localtime_r (&time, &_tmp0_);
-#line 2750 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2701 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_result_ = _tmp0_;
-#line 2751 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2702 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
*result = _result_;
-#line 2751 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2702 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return;
#line 11811 "ConfigurationInterfaces.c"
}
@@ -11828,35 +11828,35 @@ static gchar* g_time_format (struct tm *self, const gchar* format) {
gchar* _tmp3_ = NULL;
gint _tmp3__length1 = 0;
gchar* _tmp4_ = NULL;
-#line 2758 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2709 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (format != NULL, NULL);
-#line 2759 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2710 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = g_new0 (gchar, 64);
-#line 2759 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2710 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
buffer = _tmp0_;
-#line 2759 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2710 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
buffer_length1 = 64;
-#line 2759 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2710 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_buffer_size_ = buffer_length1;
-#line 2760 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2711 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = buffer;
-#line 2760 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2711 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1__length1 = buffer_length1;
-#line 2760 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2711 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = format;
-#line 2760 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2711 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
strftime (_tmp1_, _tmp1__length1, _tmp2_, &(*self));
-#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = buffer;
-#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3__length1 = buffer_length1;
-#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = g_strdup ((const gchar*) _tmp3_);
-#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp4_;
-#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
buffer = (g_free (buffer), NULL);
-#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 11857 "ConfigurationInterfaces.c"
}
diff --git a/src/config/GSettingsEngine.c b/src/config/GSettingsEngine.c
index 405f807..10e5c92 100644
--- a/src/config/GSettingsEngine.c
+++ b/src/config/GSettingsEngine.c
@@ -1,4 +1,4 @@
-/* GSettingsEngine.c generated by valac 0.34.2, the Vala compiler
+/* GSettingsEngine.c generated by valac 0.32.1, the Vala compiler
* generated from GSettingsEngine.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -3338,11 +3338,11 @@ static void gsettings_configuration_engine_reset_gs_to_default (GSettingsConfigu
static gchar* string_replace (const gchar* self, const gchar* old, const gchar* replacement) {
gchar* result = NULL;
GError * _inner_error_ = NULL;
-#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (old != NULL, NULL);
-#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (replacement != NULL, NULL);
#line 3348 "GSettingsEngine.c"
{
@@ -3357,73 +3357,73 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar*
const gchar* _tmp7_ = NULL;
gchar* _tmp8_ = NULL;
gchar* _tmp9_ = NULL;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = old;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = g_regex_escape_string (_tmp0_, -1);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = _tmp1_;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = g_regex_new (_tmp2_, 0, 0, &_inner_error_);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = _tmp3_;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_free0 (_tmp2_);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
regex = _tmp4_;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_inner_error_->domain == G_REGEX_ERROR) {
#line 3379 "GSettingsEngine.c"
goto __catch201_g_regex_error;
}
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_clear_error (&_inner_error_);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return NULL;
#line 3388 "GSettingsEngine.c"
}
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6_ = regex;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp7_ = replacement;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp8_ = g_regex_replace_literal (_tmp6_, self, (gssize) -1, 0, _tmp7_, 0, &_inner_error_);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = _tmp8_;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_regex_unref0 (regex);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_inner_error_->domain == G_REGEX_ERROR) {
#line 3404 "GSettingsEngine.c"
goto __catch201_g_regex_error;
}
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_regex_unref0 (regex);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_clear_error (&_inner_error_);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return NULL;
#line 3415 "GSettingsEngine.c"
}
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp9_ = _tmp5_;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = NULL;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp9_;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_free0 (_tmp5_);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_regex_unref0 (regex);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 3429 "GSettingsEngine.c"
}
@@ -3431,24 +3431,24 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar*
__catch201_g_regex_error:
{
GError* e = NULL;
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
e = _inner_error_;
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_inner_error_ = NULL;
-#line 1385 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1385 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_assert_not_reached ();
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_error_free0 (e);
#line 3443 "GSettingsEngine.c"
}
__finally201:
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
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 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_clear_error (&_inner_error_);
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return NULL;
#line 3454 "GSettingsEngine.c"
}
@@ -3460,19 +3460,19 @@ static gchar* string_strip (const gchar* self) {
gchar* _result_ = NULL;
gchar* _tmp0_ = NULL;
const gchar* _tmp1_ = NULL;
-#line 1207 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1207 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1208 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1208 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = g_strdup (self);
-#line 1208 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1208 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_result_ = _tmp0_;
-#line 1209 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1209 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = _result_;
-#line 1209 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1209 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_strstrip (_tmp1_);
-#line 1210 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1210 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _result_;
-#line 1210 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1210 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 3478 "GSettingsEngine.c"
}
@@ -3941,37 +3941,37 @@ static glong string_strnlen (gchar* str, glong maxlen) {
glong _tmp1_ = 0L;
gchar* _tmp2_ = NULL;
gchar* _tmp3_ = NULL;
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = str;
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = maxlen;
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = memchr (_tmp0_, 0, (gsize) _tmp1_);
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
end = _tmp2_;
-#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = end;
-#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp3_ == NULL) {
#line 3957 "GSettingsEngine.c"
glong _tmp4_ = 0L;
-#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = maxlen;
-#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp4_;
-#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 3965 "GSettingsEngine.c"
} else {
gchar* _tmp5_ = NULL;
gchar* _tmp6_ = NULL;
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = end;
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6_ = str;
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = (glong) (_tmp5_ - _tmp6_);
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 3977 "GSettingsEngine.c"
}
@@ -3991,112 +3991,112 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) {
glong _tmp20_ = 0L;
glong _tmp21_ = 0L;
gchar* _tmp22_ = NULL;
-#line 1306 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1306 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = offset;
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp1_ >= ((glong) 0)) {
#line 4001 "GSettingsEngine.c"
glong _tmp2_ = 0L;
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = len;
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = _tmp2_ >= ((glong) 0);
#line 4007 "GSettingsEngine.c"
} else {
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = FALSE;
#line 4011 "GSettingsEngine.c"
}
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp0_) {
#line 4015 "GSettingsEngine.c"
glong _tmp3_ = 0L;
glong _tmp4_ = 0L;
glong _tmp5_ = 0L;
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = offset;
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = len;
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = string_strnlen ((gchar*) self, _tmp3_ + _tmp4_);
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
string_length = _tmp5_;
#line 4027 "GSettingsEngine.c"
} else {
gint _tmp6_ = 0;
gint _tmp7_ = 0;
-#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6_ = strlen (self);
-#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp7_ = _tmp6_;
-#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
string_length = (glong) _tmp7_;
#line 4037 "GSettingsEngine.c"
}
-#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp8_ = offset;
-#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp8_ < ((glong) 0)) {
#line 4043 "GSettingsEngine.c"
glong _tmp9_ = 0L;
glong _tmp10_ = 0L;
glong _tmp11_ = 0L;
-#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp9_ = string_length;
-#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp10_ = offset;
-#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
offset = _tmp9_ + _tmp10_;
-#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp11_ = offset;
-#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp11_ >= ((glong) 0), NULL);
#line 4057 "GSettingsEngine.c"
} else {
glong _tmp12_ = 0L;
glong _tmp13_ = 0L;
-#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp12_ = offset;
-#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp13_ = string_length;
-#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp12_ <= _tmp13_, NULL);
#line 4067 "GSettingsEngine.c"
}
-#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp14_ = len;
-#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp14_ < ((glong) 0)) {
#line 4073 "GSettingsEngine.c"
glong _tmp15_ = 0L;
glong _tmp16_ = 0L;
-#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp15_ = string_length;
-#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp16_ = offset;
-#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
len = _tmp15_ - _tmp16_;
#line 4082 "GSettingsEngine.c"
}
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp17_ = offset;
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp18_ = len;
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp19_ = string_length;
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail ((_tmp17_ + _tmp18_) <= _tmp19_, NULL);
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp20_ = offset;
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp21_ = len;
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp22_ = g_strndup (((gchar*) self) + _tmp20_, (gsize) _tmp21_);
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp22_;
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 4102 "GSettingsEngine.c"
}
diff --git a/src/core/Alteration.c b/src/core/Alteration.c
index c8b2460..2bb624a 100644
--- a/src/core/Alteration.c
+++ b/src/core/Alteration.c
@@ -1,4 +1,4 @@
-/* Alteration.c generated by valac 0.34.2, the Vala compiler
+/* Alteration.c generated by valac 0.32.1, the Vala compiler
* generated from Alteration.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -426,19 +426,19 @@ static gchar* string_strip (const gchar* self) {
gchar* _result_ = NULL;
gchar* _tmp0_ = NULL;
const gchar* _tmp1_ = NULL;
-#line 1207 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1207 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1208 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1208 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = g_strdup (self);
-#line 1208 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1208 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_result_ = _tmp0_;
-#line 1209 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1209 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = _result_;
-#line 1209 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1209 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_strstrip (_tmp1_);
-#line 1210 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1210 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _result_;
-#line 1210 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1210 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 444 "Alteration.c"
}
diff --git a/src/core/ContainerSourceCollection.c b/src/core/ContainerSourceCollection.c
index 20da1f2..cd22228 100644
--- a/src/core/ContainerSourceCollection.c
+++ b/src/core/ContainerSourceCollection.c
@@ -1,4 +1,4 @@
-/* ContainerSourceCollection.c generated by valac 0.34.2, the Vala compiler
+/* ContainerSourceCollection.c generated by valac 0.32.1, the Vala compiler
* generated from ContainerSourceCollection.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/core/Core.c b/src/core/Core.c
index ee28231..7fd60d2 100644
--- a/src/core/Core.c
+++ b/src/core/Core.c
@@ -1,4 +1,4 @@
-/* Core.c generated by valac 0.34.2, the Vala compiler
+/* Core.c generated by valac 0.32.1, the Vala compiler
* generated from Core.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/core/DataCollection.c b/src/core/DataCollection.c
index 7265c0f..7040412 100644
--- a/src/core/DataCollection.c
+++ b/src/core/DataCollection.c
@@ -1,4 +1,4 @@
-/* DataCollection.c generated by valac 0.34.2, the Vala compiler
+/* DataCollection.c generated by valac 0.32.1, the Vala compiler
* generated from DataCollection.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/core/DataObject.c b/src/core/DataObject.c
index 2bac8f3..7aaf2eb 100644
--- a/src/core/DataObject.c
+++ b/src/core/DataObject.c
@@ -1,4 +1,4 @@
-/* DataObject.c generated by valac 0.34.2, the Vala compiler
+/* DataObject.c generated by valac 0.32.1, the Vala compiler
* generated from DataObject.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/core/DataSet.c b/src/core/DataSet.c
index a6c2415..75c2ca2 100644
--- a/src/core/DataSet.c
+++ b/src/core/DataSet.c
@@ -1,4 +1,4 @@
-/* DataSet.c generated by valac 0.34.2, the Vala compiler
+/* DataSet.c generated by valac 0.32.1, the Vala compiler
* generated from DataSet.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/core/DataSource.c b/src/core/DataSource.c
index ba9cf0d..cb4dfca 100644
--- a/src/core/DataSource.c
+++ b/src/core/DataSource.c
@@ -1,4 +1,4 @@
-/* DataSource.c generated by valac 0.34.2, the Vala compiler
+/* DataSource.c generated by valac 0.32.1, the Vala compiler
* generated from DataSource.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -3356,19 +3356,19 @@ static gchar* string_strip (const gchar* self) {
gchar* _result_ = NULL;
gchar* _tmp0_ = NULL;
const gchar* _tmp1_ = NULL;
-#line 1207 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1207 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1208 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1208 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = g_strdup (self);
-#line 1208 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1208 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_result_ = _tmp0_;
-#line 1209 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1209 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = _result_;
-#line 1209 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1209 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_strstrip (_tmp1_);
-#line 1210 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1210 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _result_;
-#line 1210 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1210 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 3373 "DataSource.c"
}
@@ -3499,17 +3499,17 @@ static gboolean string_contains (const gchar* self, const gchar* needle) {
gboolean result = FALSE;
const gchar* _tmp0_ = NULL;
gchar* _tmp1_ = NULL;
-#line 1376 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1376 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, FALSE);
-#line 1376 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1376 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (needle != NULL, FALSE);
-#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = needle;
-#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = strstr ((gchar*) self, (gchar*) _tmp0_);
-#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp1_ != NULL;
-#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 3514 "DataSource.c"
}
@@ -3745,15 +3745,15 @@ static gint64 int64_parse (const gchar* str) {
gint64 result = 0LL;
const gchar* _tmp0_ = NULL;
gint64 _tmp1_ = 0LL;
-#line 679 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 679 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (str != NULL, 0LL);
-#line 680 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 680 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = str;
-#line 680 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 680 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = g_ascii_strtoll (_tmp0_, NULL, (guint) 0);
-#line 680 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 680 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp1_;
-#line 680 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 680 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 3758 "DataSource.c"
}
diff --git a/src/core/DataSourceTypes.c b/src/core/DataSourceTypes.c
index a4f1f8b..0abd6e8 100644
--- a/src/core/DataSourceTypes.c
+++ b/src/core/DataSourceTypes.c
@@ -1,4 +1,4 @@
-/* DataSourceTypes.c generated by valac 0.34.2, the Vala compiler
+/* DataSourceTypes.c generated by valac 0.32.1, the Vala compiler
* generated from DataSourceTypes.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/core/DataView.c b/src/core/DataView.c
index 417b78d..40153fc 100644
--- a/src/core/DataView.c
+++ b/src/core/DataView.c
@@ -1,4 +1,4 @@
-/* DataView.c generated by valac 0.34.2, the Vala compiler
+/* DataView.c generated by valac 0.32.1, the Vala compiler
* generated from DataView.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/core/DataViewTypes.c b/src/core/DataViewTypes.c
index 24ff8cb..0e55db0 100644
--- a/src/core/DataViewTypes.c
+++ b/src/core/DataViewTypes.c
@@ -1,4 +1,4 @@
-/* DataViewTypes.c generated by valac 0.34.2, the Vala compiler
+/* DataViewTypes.c generated by valac 0.32.1, the Vala compiler
* generated from DataViewTypes.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/core/DatabaseSourceCollection.c b/src/core/DatabaseSourceCollection.c
index c6c3cc9..b83be40 100644
--- a/src/core/DatabaseSourceCollection.c
+++ b/src/core/DatabaseSourceCollection.c
@@ -1,4 +1,4 @@
-/* DatabaseSourceCollection.c generated by valac 0.34.2, the Vala compiler
+/* DatabaseSourceCollection.c generated by valac 0.32.1, the Vala compiler
* generated from DatabaseSourceCollection.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/core/SourceCollection.c b/src/core/SourceCollection.c
index 3b2bcb6..6321f92 100644
--- a/src/core/SourceCollection.c
+++ b/src/core/SourceCollection.c
@@ -1,4 +1,4 @@
-/* SourceCollection.c generated by valac 0.34.2, the Vala compiler
+/* SourceCollection.c generated by valac 0.32.1, the Vala compiler
* generated from SourceCollection.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/core/SourceHoldingTank.c b/src/core/SourceHoldingTank.c
index 8b812ba..ed7d671 100644
--- a/src/core/SourceHoldingTank.c
+++ b/src/core/SourceHoldingTank.c
@@ -1,4 +1,4 @@
-/* SourceHoldingTank.c generated by valac 0.34.2, the Vala compiler
+/* SourceHoldingTank.c generated by valac 0.32.1, the Vala compiler
* generated from SourceHoldingTank.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/core/SourceInterfaces.c b/src/core/SourceInterfaces.c
index c76f0d2..5cfc5a9 100644
--- a/src/core/SourceInterfaces.c
+++ b/src/core/SourceInterfaces.c
@@ -1,4 +1,4 @@
-/* SourceInterfaces.c generated by valac 0.34.2, the Vala compiler
+/* SourceInterfaces.c generated by valac 0.32.1, the Vala compiler
* generated from SourceInterfaces.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/core/Tracker.c b/src/core/Tracker.c
index a22b096..fa66f0e 100644
--- a/src/core/Tracker.c
+++ b/src/core/Tracker.c
@@ -1,4 +1,4 @@
-/* Tracker.c generated by valac 0.34.2, the Vala compiler
+/* Tracker.c generated by valac 0.32.1, the Vala compiler
* generated from Tracker.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/core/ViewCollection.c b/src/core/ViewCollection.c
index 0b5431f..dceff91 100644
--- a/src/core/ViewCollection.c
+++ b/src/core/ViewCollection.c
@@ -1,4 +1,4 @@
-/* ViewCollection.c generated by valac 0.34.2, the Vala compiler
+/* ViewCollection.c generated by valac 0.32.1, the Vala compiler
* generated from ViewCollection.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/core/util.c b/src/core/util.c
index ba8c9f8..0088011 100644
--- a/src/core/util.c
+++ b/src/core/util.c
@@ -1,4 +1,4 @@
-/* util.c generated by valac 0.34.2, the Vala compiler
+/* util.c generated by valac 0.32.1, the Vala compiler
* generated from util.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/data_imports/DataImportJob.c b/src/data_imports/DataImportJob.c
index b21d97e..1cef36b 100644
--- a/src/data_imports/DataImportJob.c
+++ b/src/data_imports/DataImportJob.c
@@ -1,4 +1,4 @@
-/* DataImportJob.c generated by valac 0.34.2, the Vala compiler
+/* DataImportJob.c generated by valac 0.32.1, the Vala compiler
* generated from DataImportJob.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/data_imports/DataImportSource.c b/src/data_imports/DataImportSource.c
index f6a52ee..8844716 100644
--- a/src/data_imports/DataImportSource.c
+++ b/src/data_imports/DataImportSource.c
@@ -1,4 +1,4 @@
-/* DataImportSource.c generated by valac 0.34.2, the Vala compiler
+/* DataImportSource.c generated by valac 0.32.1, the Vala compiler
* generated from DataImportSource.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/data_imports/DataImports.c b/src/data_imports/DataImports.c
index 3e618b0..2a1983e 100644
--- a/src/data_imports/DataImports.c
+++ b/src/data_imports/DataImports.c
@@ -1,4 +1,4 @@
-/* DataImports.c generated by valac 0.34.2, the Vala compiler
+/* DataImports.c generated by valac 0.32.1, the Vala compiler
* generated from DataImports.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/data_imports/DataImportsPluginHost.c b/src/data_imports/DataImportsPluginHost.c
index cf3d857..8f48c0e 100644
--- a/src/data_imports/DataImportsPluginHost.c
+++ b/src/data_imports/DataImportsPluginHost.c
@@ -1,4 +1,4 @@
-/* DataImportsPluginHost.c generated by valac 0.34.2, the Vala compiler
+/* DataImportsPluginHost.c generated by valac 0.32.1, the Vala compiler
* generated from DataImportsPluginHost.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/data_imports/DataImportsUI.c b/src/data_imports/DataImportsUI.c
index 338abba..ef4b89a 100644
--- a/src/data_imports/DataImportsUI.c
+++ b/src/data_imports/DataImportsUI.c
@@ -1,4 +1,4 @@
-/* DataImportsUI.c generated by valac 0.34.2, the Vala compiler
+/* DataImportsUI.c generated by valac 0.32.1, the Vala compiler
* generated from DataImportsUI.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/db/DatabaseTable.c b/src/db/DatabaseTable.c
index c12525d..d1df4f4 100644
--- a/src/db/DatabaseTable.c
+++ b/src/db/DatabaseTable.c
@@ -1,4 +1,4 @@
-/* DatabaseTable.c generated by valac 0.34.2, the Vala compiler
+/* DatabaseTable.c generated by valac 0.32.1, the Vala compiler
* generated from DatabaseTable.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -343,54 +343,54 @@ static gint _sqlite3_exec (sqlite3* self, const gchar* sql, sqlite3_callback cal
const gchar* _tmp2_ = NULL;
gint _tmp3_ = 0;
const gchar* _tmp6_ = NULL;
-#line 34 "/usr/share/vala-0.34/vapi/sqlite3.vapi"
+#line 34 "/usr/share/vala-0.32/vapi/sqlite3.vapi"
g_return_val_if_fail (self != NULL, 0);
-#line 34 "/usr/share/vala-0.34/vapi/sqlite3.vapi"
+#line 34 "/usr/share/vala-0.32/vapi/sqlite3.vapi"
g_return_val_if_fail (sql != NULL, 0);
-#line 36 "/usr/share/vala-0.34/vapi/sqlite3.vapi"
+#line 36 "/usr/share/vala-0.32/vapi/sqlite3.vapi"
_tmp0_ = sql;
-#line 36 "/usr/share/vala-0.34/vapi/sqlite3.vapi"
+#line 36 "/usr/share/vala-0.32/vapi/sqlite3.vapi"
_tmp1_ = callback;
-#line 36 "/usr/share/vala-0.34/vapi/sqlite3.vapi"
+#line 36 "/usr/share/vala-0.32/vapi/sqlite3.vapi"
_tmp1__target = callback_target;
-#line 36 "/usr/share/vala-0.34/vapi/sqlite3.vapi"
+#line 36 "/usr/share/vala-0.32/vapi/sqlite3.vapi"
_tmp3_ = sqlite3_exec (self, _tmp0_, _tmp1_, _tmp1__target, (char**) (&_tmp2_));
-#line 36 "/usr/share/vala-0.34/vapi/sqlite3.vapi"
+#line 36 "/usr/share/vala-0.32/vapi/sqlite3.vapi"
sqlite_errmsg = _tmp2_;
-#line 36 "/usr/share/vala-0.34/vapi/sqlite3.vapi"
+#line 36 "/usr/share/vala-0.32/vapi/sqlite3.vapi"
ec = _tmp3_;
-#line 37 "/usr/share/vala-0.34/vapi/sqlite3.vapi"
+#line 37 "/usr/share/vala-0.32/vapi/sqlite3.vapi"
if ((&_vala_errmsg) != NULL) {
#line 365 "DatabaseTable.c"
const gchar* _tmp4_ = NULL;
gchar* _tmp5_ = NULL;
-#line 38 "/usr/share/vala-0.34/vapi/sqlite3.vapi"
+#line 38 "/usr/share/vala-0.32/vapi/sqlite3.vapi"
_tmp4_ = sqlite_errmsg;
-#line 38 "/usr/share/vala-0.34/vapi/sqlite3.vapi"
+#line 38 "/usr/share/vala-0.32/vapi/sqlite3.vapi"
_tmp5_ = g_strdup (_tmp4_);
-#line 38 "/usr/share/vala-0.34/vapi/sqlite3.vapi"
+#line 38 "/usr/share/vala-0.32/vapi/sqlite3.vapi"
_g_free0 (_vala_errmsg);
-#line 38 "/usr/share/vala-0.34/vapi/sqlite3.vapi"
+#line 38 "/usr/share/vala-0.32/vapi/sqlite3.vapi"
_vala_errmsg = _tmp5_;
#line 376 "DatabaseTable.c"
}
-#line 40 "/usr/share/vala-0.34/vapi/sqlite3.vapi"
+#line 40 "/usr/share/vala-0.32/vapi/sqlite3.vapi"
_tmp6_ = sqlite_errmsg;
-#line 40 "/usr/share/vala-0.34/vapi/sqlite3.vapi"
+#line 40 "/usr/share/vala-0.32/vapi/sqlite3.vapi"
sqlite3_free ((void*) _tmp6_);
-#line 41 "/usr/share/vala-0.34/vapi/sqlite3.vapi"
+#line 41 "/usr/share/vala-0.32/vapi/sqlite3.vapi"
result = ec;
-#line 41 "/usr/share/vala-0.34/vapi/sqlite3.vapi"
+#line 41 "/usr/share/vala-0.32/vapi/sqlite3.vapi"
if (errmsg) {
-#line 41 "/usr/share/vala-0.34/vapi/sqlite3.vapi"
+#line 41 "/usr/share/vala-0.32/vapi/sqlite3.vapi"
*errmsg = _vala_errmsg;
#line 388 "DatabaseTable.c"
} else {
-#line 41 "/usr/share/vala-0.34/vapi/sqlite3.vapi"
+#line 41 "/usr/share/vala-0.32/vapi/sqlite3.vapi"
_g_free0 (_vala_errmsg);
#line 392 "DatabaseTable.c"
}
-#line 41 "/usr/share/vala-0.34/vapi/sqlite3.vapi"
+#line 41 "/usr/share/vala-0.32/vapi/sqlite3.vapi"
return result;
#line 396 "DatabaseTable.c"
}
diff --git a/src/db/Db.c b/src/db/Db.c
index 2ad8248..9c7e328 100644
--- a/src/db/Db.c
+++ b/src/db/Db.c
@@ -1,4 +1,4 @@
-/* Db.c generated by valac 0.34.2, the Vala compiler
+/* Db.c generated by valac 0.32.1, the Vala compiler
* generated from Db.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/db/EventTable.c b/src/db/EventTable.c
index 63e2198..0e763e9 100644
--- a/src/db/EventTable.c
+++ b/src/db/EventTable.c
@@ -1,4 +1,4 @@
-/* EventTable.c generated by valac 0.34.2, the Vala compiler
+/* EventTable.c generated by valac 0.32.1, the Vala compiler
* generated from EventTable.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/db/PhotoTable.c b/src/db/PhotoTable.c
index 7551157..a2923f7 100644
--- a/src/db/PhotoTable.c
+++ b/src/db/PhotoTable.c
@@ -1,4 +1,4 @@
-/* PhotoTable.c generated by valac 0.34.2, the Vala compiler
+/* PhotoTable.c generated by valac 0.32.1, the Vala compiler
* generated from PhotoTable.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/db/SavedSearchDBTable.c b/src/db/SavedSearchDBTable.c
index 7a115ab..1747d47 100644
--- a/src/db/SavedSearchDBTable.c
+++ b/src/db/SavedSearchDBTable.c
@@ -1,4 +1,4 @@
-/* SavedSearchDBTable.c generated by valac 0.34.2, the Vala compiler
+/* SavedSearchDBTable.c generated by valac 0.32.1, the Vala compiler
* generated from SavedSearchDBTable.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/db/TagTable.c b/src/db/TagTable.c
index bd98bc0..1c58788 100644
--- a/src/db/TagTable.c
+++ b/src/db/TagTable.c
@@ -1,4 +1,4 @@
-/* TagTable.c generated by valac 0.34.2, the Vala compiler
+/* TagTable.c generated by valac 0.32.1, the Vala compiler
* generated from TagTable.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -645,11 +645,11 @@ static gpointer _g_object_ref0 (gpointer self) {
static gchar* string_replace (const gchar* self, const gchar* old, const gchar* replacement) {
gchar* result = NULL;
GError * _inner_error_ = NULL;
-#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (old != NULL, NULL);
-#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (replacement != NULL, NULL);
#line 655 "TagTable.c"
{
@@ -664,73 +664,73 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar*
const gchar* _tmp7_ = NULL;
gchar* _tmp8_ = NULL;
gchar* _tmp9_ = NULL;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = old;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = g_regex_escape_string (_tmp0_, -1);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = _tmp1_;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = g_regex_new (_tmp2_, 0, 0, &_inner_error_);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = _tmp3_;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_free0 (_tmp2_);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
regex = _tmp4_;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_inner_error_->domain == G_REGEX_ERROR) {
#line 686 "TagTable.c"
goto __catch19_g_regex_error;
}
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_clear_error (&_inner_error_);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return NULL;
#line 695 "TagTable.c"
}
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6_ = regex;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp7_ = replacement;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp8_ = g_regex_replace_literal (_tmp6_, self, (gssize) -1, 0, _tmp7_, 0, &_inner_error_);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = _tmp8_;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_regex_unref0 (regex);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_inner_error_->domain == G_REGEX_ERROR) {
#line 711 "TagTable.c"
goto __catch19_g_regex_error;
}
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_regex_unref0 (regex);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_clear_error (&_inner_error_);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return NULL;
#line 722 "TagTable.c"
}
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp9_ = _tmp5_;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = NULL;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp9_;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_free0 (_tmp5_);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_regex_unref0 (regex);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 736 "TagTable.c"
}
@@ -738,24 +738,24 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar*
__catch19_g_regex_error:
{
GError* e = NULL;
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
e = _inner_error_;
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_inner_error_ = NULL;
-#line 1385 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1385 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_assert_not_reached ();
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_error_free0 (e);
#line 750 "TagTable.c"
}
__finally19:
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
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 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_clear_error (&_inner_error_);
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return NULL;
#line 761 "TagTable.c"
}
@@ -2013,15 +2013,15 @@ static gchar string_get (const gchar* self, glong index) {
gchar result = '\0';
glong _tmp0_ = 0L;
gchar _tmp1_ = '\0';
-#line 1086 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1086 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, '\0');
-#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = index;
-#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = ((gchar*) self)[_tmp0_];
-#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp1_;
-#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 2025 "TagTable.c"
}
diff --git a/src/db/TombstoneTable.c b/src/db/TombstoneTable.c
index c9afb97..542e568 100644
--- a/src/db/TombstoneTable.c
+++ b/src/db/TombstoneTable.c
@@ -1,4 +1,4 @@
-/* TombstoneTable.c generated by valac 0.34.2, the Vala compiler
+/* TombstoneTable.c generated by valac 0.32.1, the Vala compiler
* generated from TombstoneTable.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/db/VersionTable.c b/src/db/VersionTable.c
index 7aa577a..fa79d52 100644
--- a/src/db/VersionTable.c
+++ b/src/db/VersionTable.c
@@ -1,4 +1,4 @@
-/* VersionTable.c generated by valac 0.34.2, the Vala compiler
+/* VersionTable.c generated by valac 0.32.1, the Vala compiler
* generated from VersionTable.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/db/VideoTable.c b/src/db/VideoTable.c
index 736818c..8b8d78a 100644
--- a/src/db/VideoTable.c
+++ b/src/db/VideoTable.c
@@ -1,4 +1,4 @@
-/* VideoTable.c generated by valac 0.34.2, the Vala compiler
+/* VideoTable.c generated by valac 0.32.1, the Vala compiler
* generated from VideoTable.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/direct/Direct.c b/src/direct/Direct.c
index f526072..2e1bfa4 100644
--- a/src/direct/Direct.c
+++ b/src/direct/Direct.c
@@ -1,4 +1,4 @@
-/* Direct.c generated by valac 0.34.2, the Vala compiler
+/* Direct.c generated by valac 0.32.1, the Vala compiler
* generated from Direct.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/direct/DirectPhoto.c b/src/direct/DirectPhoto.c
index bcb3ed3..97ebcd5 100644
--- a/src/direct/DirectPhoto.c
+++ b/src/direct/DirectPhoto.c
@@ -1,4 +1,4 @@
-/* DirectPhoto.c generated by valac 0.34.2, the Vala compiler
+/* DirectPhoto.c generated by valac 0.32.1, the Vala compiler
* generated from DirectPhoto.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -2791,7 +2791,7 @@ static void direct_photo_source_collection_instance_init (DirectPhotoSourceColle
#line 177 "/home/jens/Source/shotwell/src/direct/DirectPhoto.vala"
self->priv->prepared_photos = G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_COLLECTION, GeeCollection);
#line 178 "/home/jens/Source/shotwell/src/direct/DirectPhoto.vala"
- _tmp1_ = gee_hash_map_new (g_file_get_type (), (GBoxedCopyFunc) g_object_ref, g_object_unref, TYPE_DIRECT_PHOTO, (GBoxedCopyFunc) g_object_ref, g_object_unref, _file_hash_gee_hash_data_func, NULL, NULL, _file_equal_gee_equal_data_func, NULL, NULL, NULL, NULL, NULL);
+ _tmp1_ = gee_hash_map_new (G_TYPE_FILE, (GBoxedCopyFunc) g_object_ref, g_object_unref, TYPE_DIRECT_PHOTO, (GBoxedCopyFunc) g_object_ref, g_object_unref, _file_hash_gee_hash_data_func, NULL, NULL, _file_equal_gee_equal_data_func, NULL, NULL, NULL, NULL, NULL);
#line 178 "/home/jens/Source/shotwell/src/direct/DirectPhoto.vala"
self->priv->file_map = _tmp1_;
#line 2798 "DirectPhoto.c"
diff --git a/src/direct/DirectPhotoPage.c b/src/direct/DirectPhotoPage.c
index 4e7eaef..807c74b 100644
--- a/src/direct/DirectPhotoPage.c
+++ b/src/direct/DirectPhotoPage.c
@@ -1,4 +1,4 @@
-/* DirectPhotoPage.c generated by valac 0.34.2, the Vala compiler
+/* DirectPhotoPage.c generated by valac 0.32.1, the Vala compiler
* generated from DirectPhotoPage.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -1277,7 +1277,7 @@ static InjectionGroup** direct_photo_page_real_init_collect_injection_groups (Pa
#line 83 "/home/jens/Source/shotwell/src/direct/DirectPhotoPage.vala"
_tmp7_ = _ ("Set as _Desktop Background");
#line 83 "/home/jens/Source/shotwell/src/direct/DirectPhotoPage.vala"
- injection_group_add_menu_item (bg_group, _tmp7_, "SetBackground", NULL);
+ injection_group_add_menu_item (bg_group, _tmp7_, "SetBackground", "<Primary>b");
#line 85 "/home/jens/Source/shotwell/src/direct/DirectPhotoPage.vala"
_tmp8_ = groups;
#line 85 "/home/jens/Source/shotwell/src/direct/DirectPhotoPage.vala"
diff --git a/src/direct/DirectPhotoPage.vala b/src/direct/DirectPhotoPage.vala
index 57dfe11..9688aa5 100644
--- a/src/direct/DirectPhotoPage.vala
+++ b/src/direct/DirectPhotoPage.vala
@@ -80,7 +80,7 @@ public class DirectPhotoPage : EditingHostPage {
groups += print_group;
InjectionGroup bg_group = new InjectionGroup("SetBackgroundPlaceholder");
- bg_group.add_menu_item(_("Set as _Desktop Background"), "SetBackground");
+ bg_group.add_menu_item(_("Set as _Desktop Background"), "SetBackground", "<Primary>b");
groups += bg_group;
diff --git a/src/direct/DirectView.c b/src/direct/DirectView.c
index e4ec0ca..e3cebb7 100644
--- a/src/direct/DirectView.c
+++ b/src/direct/DirectView.c
@@ -1,4 +1,4 @@
-/* DirectView.c generated by valac 0.34.2, the Vala compiler
+/* DirectView.c generated by valac 0.32.1, the Vala compiler
* generated from DirectView.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/direct/DirectWindow.c b/src/direct/DirectWindow.c
index 2d6ffc1..dc9432e 100644
--- a/src/direct/DirectWindow.c
+++ b/src/direct/DirectWindow.c
@@ -1,4 +1,4 @@
-/* DirectWindow.c generated by valac 0.34.2, the Vala compiler
+/* DirectWindow.c generated by valac 0.32.1, the Vala compiler
* generated from DirectWindow.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -326,6 +326,7 @@ void page_switched_to (Page* self);
GtkToolbar* page_get_toolbar (Page* self);
void application_set_menubar (GMenuModel* model);
GMenuModel* page_get_menubar (Page* self);
+void application_set_appmenu (GMenuModel* model);
DirectWindow* direct_window_get_app (void);
DirectPhotoPage* direct_window_get_direct_page (DirectWindow* self);
Page* page_window_get_current_page (PageWindow* self);
@@ -364,14 +365,14 @@ static void direct_window_finalize (GObject* obj);
static void _direct_window_on_photo_changed_data_collection_items_altered (DataCollection* _sender, GeeMap* items, gpointer self) {
#line 12 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
direct_window_on_photo_changed ((DirectWindow*) self);
-#line 368 "DirectWindow.c"
+#line 369 "DirectWindow.c"
}
static void _direct_window_on_photo_changed_view_collection_items_state_changed (ViewCollection* _sender, GeeIterable* changed, gpointer self) {
#line 13 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
direct_window_on_photo_changed ((DirectWindow*) self);
-#line 375 "DirectWindow.c"
+#line 376 "DirectWindow.c"
}
@@ -394,9 +395,12 @@ DirectWindow* direct_window_construct (GType object_type, GFile* file) {
DirectPhotoPage* _tmp13_ = NULL;
GtkToolbar* _tmp14_ = NULL;
GtkToolbar* _tmp15_ = NULL;
- DirectPhotoPage* _tmp16_ = NULL;
- GMenuModel* _tmp17_ = NULL;
+ GtkBuilder* builder = NULL;
+ GtkBuilder* _tmp16_ = NULL;
+ DirectPhotoPage* _tmp17_ = NULL;
GMenuModel* _tmp18_ = NULL;
+ GMenuModel* _tmp19_ = NULL;
+ GObject* _tmp20_ = NULL;
#line 10 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
g_return_val_if_fail (G_IS_FILE (file), NULL);
#line 10 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
@@ -464,36 +468,46 @@ DirectWindow* direct_window_construct (GType object_type, GFile* file) {
#line 25 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
_g_object_unref0 (_tmp15_);
#line 27 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
- _tmp16_ = self->priv->direct_photo_page;
+ _tmp16_ = gtk_builder_new_from_resource ("/org/gnome/Shotwell/appmenu.ui");
#line 27 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
- _tmp17_ = page_get_menubar (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, TYPE_PAGE, Page));
-#line 27 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
- _tmp18_ = _tmp17_;
-#line 27 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
- application_set_menubar (_tmp18_);
-#line 27 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
- _g_object_unref0 (_tmp18_);
+ builder = _tmp16_;
+#line 28 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+ _tmp17_ = self->priv->direct_photo_page;
+#line 28 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+ _tmp18_ = page_get_menubar (G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, TYPE_PAGE, Page));
+#line 28 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+ _tmp19_ = _tmp18_;
+#line 28 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+ application_set_menubar (_tmp19_);
+#line 28 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+ _g_object_unref0 (_tmp19_);
#line 29 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+ _tmp20_ = gtk_builder_get_object (builder, "direct-appmenu");
+#line 29 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+ application_set_appmenu (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_TYPE (_tmp20_, g_menu_get_type ()) ? ((GMenu*) _tmp20_) : NULL, g_menu_model_get_type (), GMenuModel));
+#line 31 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (layout, gtk_widget_get_type (), GtkWidget));
#line 10 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+ _g_object_unref0 (builder);
+#line 10 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
_g_object_unref0 (layout);
#line 10 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
return self;
-#line 483 "DirectWindow.c"
+#line 497 "DirectWindow.c"
}
DirectWindow* direct_window_new (GFile* file) {
#line 10 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
return direct_window_construct (TYPE_DIRECT_WINDOW, file);
-#line 490 "DirectWindow.c"
+#line 504 "DirectWindow.c"
}
static gpointer _g_object_ref0 (gpointer self) {
-#line 33 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 35 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
return self ? g_object_ref (self) : NULL;
-#line 497 "DirectWindow.c"
+#line 511 "DirectWindow.c"
}
@@ -501,30 +515,30 @@ DirectWindow* direct_window_get_app (void) {
DirectWindow* result = NULL;
AppWindow* _tmp0_ = NULL;
DirectWindow* _tmp1_ = NULL;
-#line 33 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 35 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
_tmp0_ = app_window_instance;
-#line 33 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 35 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
_tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_DIRECT_WINDOW, DirectWindow));
-#line 33 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 35 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
result = _tmp1_;
-#line 33 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 35 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
return result;
-#line 513 "DirectWindow.c"
+#line 527 "DirectWindow.c"
}
DirectPhotoPage* direct_window_get_direct_page (DirectWindow* self) {
DirectPhotoPage* result = NULL;
Page* _tmp0_ = NULL;
-#line 36 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 38 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
g_return_val_if_fail (IS_DIRECT_WINDOW (self), NULL);
-#line 37 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 39 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
_tmp0_ = page_window_get_current_page (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow));
-#line 37 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 39 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
result = G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_DIRECT_PHOTO_PAGE, DirectPhotoPage);
-#line 37 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 39 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
return result;
-#line 528 "DirectWindow.c"
+#line 542 "DirectWindow.c"
}
@@ -541,53 +555,53 @@ void direct_window_update_title (DirectWindow* self, GFile* file, gboolean modif
gchar* _tmp9_ = NULL;
gchar* _tmp10_ = NULL;
gchar* _tmp11_ = NULL;
-#line 40 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 42 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
g_return_if_fail (IS_DIRECT_WINDOW (self));
-#line 40 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 42 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
g_return_if_fail (G_IS_FILE (file));
-#line 41 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 43 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
_tmp1_ = modified;
-#line 41 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 43 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
if (_tmp1_) {
-#line 41 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 43 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
_tmp0_ = "*";
-#line 555 "DirectWindow.c"
+#line 569 "DirectWindow.c"
} else {
-#line 41 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 43 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
_tmp0_ = "";
-#line 559 "DirectWindow.c"
+#line 573 "DirectWindow.c"
}
-#line 41 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 43 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
_tmp2_ = file;
-#line 41 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 43 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
_tmp3_ = g_file_get_basename (_tmp2_);
-#line 41 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 43 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
_tmp4_ = _tmp3_;
-#line 41 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 43 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
_tmp5_ = file;
-#line 41 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 43 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
_tmp6_ = g_file_get_parent (_tmp5_);
-#line 41 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 43 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
_tmp7_ = _tmp6_;
-#line 41 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 43 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
_tmp8_ = get_display_pathname (_tmp7_);
-#line 41 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 43 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
_tmp9_ = _tmp8_;
-#line 41 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 43 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
_tmp10_ = g_strdup_printf ("%s%s (%s) - %s", _tmp0_, _tmp4_, _tmp9_, RESOURCES_APP_TITLE);
-#line 41 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 43 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
_tmp11_ = _tmp10_;
-#line 41 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 43 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
gtk_window_set_title (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), _tmp11_);
-#line 41 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 43 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
_g_free0 (_tmp11_);
-#line 41 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 43 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
_g_free0 (_tmp9_);
-#line 41 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 43 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
_g_object_unref0 (_tmp7_);
-#line 41 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 43 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
_g_free0 (_tmp4_);
-#line 591 "DirectWindow.c"
+#line 605 "DirectWindow.c"
}
@@ -600,33 +614,33 @@ static void direct_window_real_on_fullscreen (AppWindow* base) {
GFile* _tmp3_ = NULL;
DirectFullscreenPhotoPage* _tmp4_ = NULL;
DirectFullscreenPhotoPage* _tmp5_ = NULL;
-#line 45 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 47 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_DIRECT_WINDOW, DirectWindow);
-#line 46 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 48 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
_tmp0_ = direct_window_get_direct_page (self);
-#line 46 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 48 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
_tmp1_ = _tmp0_;
-#line 46 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 48 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
_tmp2_ = direct_photo_page_get_current_file (_tmp1_);
-#line 46 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 48 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
_tmp3_ = _tmp2_;
-#line 46 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 48 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
_g_object_unref0 (_tmp1_);
-#line 46 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
- file = _tmp3_;
#line 48 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+ file = _tmp3_;
+#line 50 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
_tmp4_ = direct_fullscreen_photo_page_new (file);
-#line 48 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 50 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
g_object_ref_sink (_tmp4_);
-#line 48 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 50 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
_tmp5_ = _tmp4_;
-#line 48 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 50 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
app_window_go_fullscreen (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_APP_WINDOW, AppWindow), G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, TYPE_PAGE, Page));
-#line 48 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 50 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
_g_object_unref0 (_tmp5_);
-#line 45 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 47 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
_g_object_unref0 (file);
-#line 630 "DirectWindow.c"
+#line 644 "DirectWindow.c"
}
@@ -634,15 +648,15 @@ static gchar* direct_window_real_get_app_role (AppWindow* base) {
DirectWindow * self;
gchar* result = NULL;
gchar* _tmp0_ = NULL;
-#line 51 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 53 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_DIRECT_WINDOW, DirectWindow);
-#line 52 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 54 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
_tmp0_ = g_strdup (RESOURCES_APP_DIRECT_ROLE);
-#line 52 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 54 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
result = _tmp0_;
-#line 52 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 54 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
return result;
-#line 646 "DirectWindow.c"
+#line 660 "DirectWindow.c"
}
@@ -651,43 +665,43 @@ static void direct_window_on_photo_changed (DirectWindow* self) {
DirectPhotoPage* _tmp0_ = NULL;
Photo* _tmp1_ = NULL;
Photo* _tmp2_ = NULL;
-#line 55 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 57 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
g_return_if_fail (IS_DIRECT_WINDOW (self));
-#line 56 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 58 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
_tmp0_ = self->priv->direct_photo_page;
-#line 56 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 58 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
_tmp1_ = editing_host_page_get_photo (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_EDITING_HOST_PAGE, EditingHostPage));
-#line 56 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 58 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
photo = _tmp1_;
-#line 57 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 59 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
_tmp2_ = photo;
-#line 57 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 59 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
if (_tmp2_ != NULL) {
-#line 667 "DirectWindow.c"
+#line 681 "DirectWindow.c"
Photo* _tmp3_ = NULL;
GFile* _tmp4_ = NULL;
GFile* _tmp5_ = NULL;
Photo* _tmp6_ = NULL;
gboolean _tmp7_ = FALSE;
-#line 58 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 60 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
_tmp3_ = photo;
-#line 58 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 60 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
_tmp4_ = media_source_get_file (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, TYPE_MEDIA_SOURCE, MediaSource));
-#line 58 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 60 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
_tmp5_ = _tmp4_;
-#line 58 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 60 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
_tmp6_ = photo;
-#line 58 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 60 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
_tmp7_ = photo_has_alterations (_tmp6_);
-#line 58 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 60 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
direct_window_update_title (self, _tmp5_, _tmp7_);
-#line 58 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 60 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
_g_object_unref0 (_tmp5_);
-#line 687 "DirectWindow.c"
+#line 701 "DirectWindow.c"
}
-#line 55 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 57 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
_g_object_unref0 (photo);
-#line 691 "DirectWindow.c"
+#line 705 "DirectWindow.c"
}
@@ -701,39 +715,39 @@ static void direct_window_real_on_quit (AppWindow* base) {
ConfigFacade* _tmp5_ = NULL;
gboolean _tmp6_ = FALSE;
Dimensions _tmp7_ = {0};
-#line 61 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 63 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_DIRECT_WINDOW, DirectWindow);
-#line 62 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 64 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
_tmp0_ = direct_window_get_direct_page (self);
-#line 62 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 64 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
_tmp1_ = _tmp0_;
-#line 62 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 64 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
_tmp2_ = direct_photo_page_check_quit (_tmp1_);
-#line 62 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 64 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
_tmp3_ = !_tmp2_;
-#line 62 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 64 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
_g_object_unref0 (_tmp1_);
-#line 62 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 64 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
if (_tmp3_) {
-#line 63 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 65 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
return;
-#line 721 "DirectWindow.c"
+#line 735 "DirectWindow.c"
}
-#line 65 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 67 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
_tmp4_ = config_facade_get_instance ();
-#line 65 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 67 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
_tmp5_ = _tmp4_;
-#line 65 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 67 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
_tmp6_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_APP_WINDOW, AppWindow)->maximized;
-#line 65 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 67 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
_tmp7_ = G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_APP_WINDOW, AppWindow)->dimensions;
-#line 65 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 67 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
configuration_facade_set_direct_window_state (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp6_, &_tmp7_);
-#line 65 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
- _g_object_unref0 (_tmp5_);
#line 67 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+ _g_object_unref0 (_tmp5_);
+#line 69 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
APP_WINDOW_CLASS (direct_window_parent_class)->on_quit (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_APP_WINDOW, AppWindow));
-#line 737 "DirectWindow.c"
+#line 751 "DirectWindow.c"
}
@@ -745,50 +759,50 @@ static gboolean direct_window_real_delete_event (GtkWidget* base, GdkEventAny* e
gboolean _tmp2_ = FALSE;
gboolean _tmp3_ = FALSE;
gboolean _tmp4_ = FALSE;
-#line 70 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 72 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_DIRECT_WINDOW, DirectWindow);
-#line 70 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 72 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 71 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 73 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
_tmp0_ = direct_window_get_direct_page (self);
-#line 71 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 73 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
_tmp1_ = _tmp0_;
-#line 71 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 73 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
_tmp2_ = direct_photo_page_check_quit (_tmp1_);
-#line 71 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 73 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
_tmp3_ = !_tmp2_;
-#line 71 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 73 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
_g_object_unref0 (_tmp1_);
-#line 71 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 73 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
if (_tmp3_) {
-#line 72 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 74 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
result = TRUE;
-#line 72 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 74 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
return result;
-#line 769 "DirectWindow.c"
+#line 783 "DirectWindow.c"
}
-#line 74 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 76 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
if (GTK_WIDGET_CLASS (direct_window_parent_class)->delete_event != NULL) {
-#line 773 "DirectWindow.c"
+#line 787 "DirectWindow.c"
GdkEventAny* _tmp5_ = NULL;
gboolean _tmp6_ = FALSE;
-#line 74 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 76 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
_tmp5_ = event;
-#line 74 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 76 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
_tmp6_ = GTK_WIDGET_CLASS (direct_window_parent_class)->delete_event (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_APP_WINDOW, AppWindow), gtk_widget_get_type (), GtkWidget), _tmp5_);
-#line 74 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 76 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
_tmp4_ = _tmp6_;
-#line 782 "DirectWindow.c"
+#line 796 "DirectWindow.c"
} else {
-#line 74 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 76 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
_tmp4_ = FALSE;
-#line 786 "DirectWindow.c"
+#line 800 "DirectWindow.c"
}
-#line 74 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 76 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
result = _tmp4_;
-#line 74 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 76 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
return result;
-#line 792 "DirectWindow.c"
+#line 806 "DirectWindow.c"
}
@@ -797,29 +811,29 @@ static gboolean direct_window_real_button_press_event (GtkWidget* base, GdkEvent
gboolean result = FALSE;
GdkEventButton* _tmp0_ = NULL;
GdkEventType _tmp1_ = 0;
-#line 77 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 79 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_DIRECT_WINDOW, DirectWindow);
-#line 77 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 79 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 78 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 80 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
_tmp0_ = event;
-#line 78 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 80 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
_tmp1_ = _tmp0_->type;
-#line 78 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 80 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
if (_tmp1_ == GDK_2BUTTON_PRESS) {
-#line 79 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
- app_window_on_fullscreen (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_APP_WINDOW, AppWindow));
#line 81 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+ app_window_on_fullscreen (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_APP_WINDOW, AppWindow));
+#line 83 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
result = TRUE;
-#line 81 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 83 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
return result;
-#line 817 "DirectWindow.c"
+#line 831 "DirectWindow.c"
}
-#line 84 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 86 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
result = FALSE;
-#line 84 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 86 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
return result;
-#line 823 "DirectWindow.c"
+#line 837 "DirectWindow.c"
}
@@ -830,48 +844,48 @@ static gboolean direct_window_real_key_press_event (GtkWidget* base, GdkEventKey
guint _tmp1_ = 0U;
const gchar* _tmp2_ = NULL;
gboolean _tmp3_ = FALSE;
-#line 87 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 89 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_DIRECT_WINDOW, DirectWindow);
-#line 87 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
- g_return_val_if_fail (event != NULL, FALSE);
#line 89 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+ g_return_val_if_fail (event != NULL, FALSE);
+#line 91 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
_tmp0_ = event;
-#line 89 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 91 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
_tmp1_ = _tmp0_->keyval;
-#line 89 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 91 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
_tmp2_ = gdk_keyval_name (_tmp1_);
-#line 89 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 91 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
if (g_strcmp0 (_tmp2_, "Escape") == 0) {
-#line 90 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
- app_window_on_quit (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_APP_WINDOW, AppWindow));
#line 92 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+ app_window_on_quit (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_APP_WINDOW, AppWindow));
+#line 94 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
result = TRUE;
-#line 92 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 94 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
return result;
-#line 852 "DirectWindow.c"
+#line 866 "DirectWindow.c"
}
-#line 96 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 98 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
if (GTK_WIDGET_CLASS (direct_window_parent_class)->key_press_event != NULL) {
-#line 856 "DirectWindow.c"
+#line 870 "DirectWindow.c"
GdkEventKey* _tmp4_ = NULL;
gboolean _tmp5_ = FALSE;
-#line 96 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 98 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
_tmp4_ = event;
-#line 96 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 98 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
_tmp5_ = GTK_WIDGET_CLASS (direct_window_parent_class)->key_press_event (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_APP_WINDOW, AppWindow), gtk_widget_get_type (), GtkWidget), _tmp4_);
-#line 96 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 98 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
_tmp3_ = _tmp5_;
-#line 865 "DirectWindow.c"
+#line 879 "DirectWindow.c"
} else {
-#line 96 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 98 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
_tmp3_ = FALSE;
-#line 869 "DirectWindow.c"
+#line 883 "DirectWindow.c"
}
-#line 96 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 98 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
result = _tmp3_;
-#line 96 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
+#line 98 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
return result;
-#line 875 "DirectWindow.c"
+#line 889 "DirectWindow.c"
}
@@ -894,14 +908,14 @@ static void direct_window_class_init (DirectWindowClass * klass) {
((GtkWidgetClass *) klass)->key_press_event = direct_window_real_key_press_event;
#line 7 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
G_OBJECT_CLASS (klass)->finalize = direct_window_finalize;
-#line 898 "DirectWindow.c"
+#line 912 "DirectWindow.c"
}
static void direct_window_instance_init (DirectWindow * self) {
#line 7 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
self->priv = DIRECT_WINDOW_GET_PRIVATE (self);
-#line 905 "DirectWindow.c"
+#line 919 "DirectWindow.c"
}
@@ -913,7 +927,7 @@ static void direct_window_finalize (GObject* obj) {
_g_object_unref0 (self->priv->direct_photo_page);
#line 7 "/home/jens/Source/shotwell/src/direct/DirectWindow.vala"
G_OBJECT_CLASS (direct_window_parent_class)->finalize (obj);
-#line 917 "DirectWindow.c"
+#line 931 "DirectWindow.c"
}
diff --git a/src/direct/DirectWindow.vala b/src/direct/DirectWindow.vala
index e1cbf75..ee1995a 100644
--- a/src/direct/DirectWindow.vala
+++ b/src/direct/DirectWindow.vala
@@ -24,7 +24,9 @@ public class DirectWindow : AppWindow {
layout.pack_start(direct_photo_page, true, true, 0);
layout.pack_end(direct_photo_page.get_toolbar(), false, false, 0);
+ var builder = new Gtk.Builder.from_resource ("/org/gnome/Shotwell/appmenu.ui");
Application.set_menubar (direct_photo_page.get_menubar ());
+ Application.set_appmenu (builder.get_object ("direct-appmenu") as GLib.Menu);
add(layout);
}
diff --git a/src/editing_tools/EditingTools.c b/src/editing_tools/EditingTools.c
index 92f41f9..05012c9 100644
--- a/src/editing_tools/EditingTools.c
+++ b/src/editing_tools/EditingTools.c
@@ -1,4 +1,4 @@
-/* EditingTools.c generated by valac 0.34.2, the Vala compiler
+/* EditingTools.c generated by valac 0.32.1, the Vala compiler
* generated from EditingTools.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -1036,8 +1036,8 @@ enum {
};
#define EDITING_TOOLS_EDITING_TOOL_WINDOW_FRAME_BORDER 6
EditingToolsEditingToolWindow* editing_tools_editing_tool_window_construct (GType object_type, GtkWindow* container);
-void suppress_warnings (const gchar* log_domain, GLogLevelFlags log_levels, const gchar* message);
-static void _suppress_warnings_glog_func (const gchar* log_domain, GLogLevelFlags log_levels, const gchar* message, gpointer self);
+static void editing_tools_editing_tool_window_suppress_warnings (EditingToolsEditingToolWindow* self, const gchar* log_domain, GLogLevelFlags log_levels, const gchar* message);
+static void _editing_tools_editing_tool_window_suppress_warnings_glog_func (const gchar* log_domain, GLogLevelFlags log_levels, const gchar* message, gpointer self);
static void editing_tools_editing_tool_window_real_add (GtkContainer* base, GtkWidget* widget);
gboolean editing_tools_editing_tool_window_has_user_moved (EditingToolsEditingToolWindow* self);
static gboolean editing_tools_editing_tool_window_real_key_press_event (GtkWidget* base, GdkEventKey* event);
@@ -1679,9 +1679,9 @@ void editing_tools_terminate (void) {
}
-static void _suppress_warnings_glog_func (const gchar* log_domain, GLogLevelFlags log_levels, const gchar* message, gpointer self) {
-#line 55 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
- suppress_warnings (log_domain, log_levels, message);
+static void _editing_tools_editing_tool_window_suppress_warnings_glog_func (const gchar* log_domain, GLogLevelFlags log_levels, const gchar* message, gpointer self) {
+#line 56 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+ editing_tools_editing_tool_window_suppress_warnings ((EditingToolsEditingToolWindow*) self, log_domain, log_levels, message);
#line 1686 "EditingTools.c"
}
@@ -1736,8 +1736,8 @@ EditingToolsEditingToolWindow* editing_tools_editing_tool_window_construct (GTyp
gtk_window_set_accept_focus (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), TRUE);
#line 51 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_widget_set_can_focus (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), TRUE);
-#line 55 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
- g_log_set_handler ("Gdk", G_LOG_LEVEL_WARNING, _suppress_warnings_glog_func, NULL);
+#line 56 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+ g_log_set_handler ("Gdk", G_LOG_LEVEL_WARNING, _editing_tools_editing_tool_window_suppress_warnings_glog_func, self);
#line 34 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (outer_frame);
#line 34 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
@@ -1750,15 +1750,15 @@ static void editing_tools_editing_tool_window_real_add (GtkContainer* base, GtkW
EditingToolsEditingToolWindow * self;
GtkFrame* _tmp0_ = NULL;
GtkWidget* _tmp1_ = NULL;
-#line 62 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 63 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, EDITING_TOOLS_TYPE_EDITING_TOOL_WINDOW, EditingToolsEditingToolWindow);
-#line 62 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
- g_return_if_fail (GTK_IS_WIDGET (widget));
#line 63 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+ g_return_if_fail (GTK_IS_WIDGET (widget));
+#line 64 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = self->priv->layout_frame;
-#line 63 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 64 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = widget;
-#line 63 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 64 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_container_get_type (), GtkContainer), _tmp1_);
#line 1764 "EditingTools.c"
}
@@ -1767,13 +1767,13 @@ static void editing_tools_editing_tool_window_real_add (GtkContainer* base, GtkW
gboolean editing_tools_editing_tool_window_has_user_moved (EditingToolsEditingToolWindow* self) {
gboolean result = FALSE;
gboolean _tmp0_ = FALSE;
-#line 66 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
- g_return_val_if_fail (EDITING_TOOLS_IS_EDITING_TOOL_WINDOW (self), FALSE);
#line 67 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+ g_return_val_if_fail (EDITING_TOOLS_IS_EDITING_TOOL_WINDOW (self), FALSE);
+#line 68 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = self->priv->user_moved;
-#line 67 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 68 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
result = _tmp0_;
-#line 67 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 68 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return result;
#line 1779 "EditingTools.c"
}
@@ -1789,37 +1789,37 @@ static gboolean editing_tools_editing_tool_window_real_key_press_event (GtkWidge
GdkEventKey* _tmp4_ = NULL;
gboolean _tmp5_ = FALSE;
gboolean _tmp6_ = FALSE;
-#line 70 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 71 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, EDITING_TOOLS_TYPE_EDITING_TOOL_WINDOW, EditingToolsEditingToolWindow);
-#line 70 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
- g_return_val_if_fail (event != NULL, FALSE);
#line 71 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+ g_return_val_if_fail (event != NULL, FALSE);
+#line 72 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = event;
-#line 71 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 72 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = GTK_WIDGET_CLASS (editing_tools_editing_tool_window_parent_class)->key_press_event (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), gtk_widget_get_type (), GtkWidget), _tmp0_);
-#line 71 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
- if (_tmp1_) {
#line 72 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+ if (_tmp1_) {
+#line 73 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
result = TRUE;
-#line 72 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 73 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return result;
#line 1807 "EditingTools.c"
}
-#line 74 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 75 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = app_window_get_instance ();
-#line 74 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 75 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = _tmp2_;
-#line 74 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 75 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = event;
-#line 74 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 75 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_emit_by_name (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_widget_get_type (), GtkWidget), "key-press-event", _tmp4_, &_tmp5_);
-#line 74 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 75 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = _tmp5_;
-#line 74 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 75 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (_tmp3_);
-#line 74 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 75 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
result = _tmp6_;
-#line 74 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 75 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return result;
#line 1825 "EditingTools.c"
}
@@ -1838,64 +1838,64 @@ static gboolean editing_tools_editing_tool_window_real_button_press_event (GtkWi
gdouble _tmp10_ = 0.0;
GdkEventButton* _tmp11_ = NULL;
guint32 _tmp12_ = 0U;
-#line 77 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 78 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, EDITING_TOOLS_TYPE_EDITING_TOOL_WINDOW, EditingToolsEditingToolWindow);
-#line 77 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 78 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 79 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 80 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = event;
-#line 79 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 80 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = _tmp0_->button;
-#line 79 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 80 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp1_ != ((guint) 1)) {
#line 1852 "EditingTools.c"
gboolean _tmp2_ = FALSE;
-#line 80 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 81 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (GTK_WIDGET_CLASS (editing_tools_editing_tool_window_parent_class)->button_press_event != NULL) {
#line 1856 "EditingTools.c"
GdkEventButton* _tmp3_ = NULL;
gboolean _tmp4_ = FALSE;
-#line 80 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 81 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = event;
-#line 80 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 81 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = GTK_WIDGET_CLASS (editing_tools_editing_tool_window_parent_class)->button_press_event (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), gtk_widget_get_type (), GtkWidget), _tmp3_);
-#line 80 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 81 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = _tmp4_;
#line 1865 "EditingTools.c"
} else {
-#line 80 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 81 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = TRUE;
#line 1869 "EditingTools.c"
}
-#line 80 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 81 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
result = _tmp2_;
-#line 80 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 81 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return result;
#line 1875 "EditingTools.c"
}
-#line 82 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 83 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = event;
-#line 82 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 83 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = _tmp5_->button;
-#line 82 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 83 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = event;
-#line 82 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 83 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = _tmp7_->x_root;
-#line 82 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 83 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = event;
-#line 82 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 83 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp10_ = _tmp9_->y_root;
-#line 82 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 83 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp11_ = event;
-#line 82 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 83 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp12_ = _tmp11_->time;
-#line 82 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
- gtk_window_begin_move_drag (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), (gint) _tmp6_, (gint) _tmp8_, (gint) _tmp10_, _tmp12_);
#line 83 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+ gtk_window_begin_move_drag (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), (gint) _tmp6_, (gint) _tmp8_, (gint) _tmp10_, _tmp12_);
+#line 84 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->user_moved = TRUE;
-#line 85 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 86 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
result = TRUE;
-#line 85 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 86 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return result;
#line 1901 "EditingTools.c"
}
@@ -1903,16 +1903,25 @@ static gboolean editing_tools_editing_tool_window_real_button_press_event (GtkWi
static void editing_tools_editing_tool_window_real_realize (GtkWidget* base) {
EditingToolsEditingToolWindow * self;
-#line 88 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
- self = G_TYPE_CHECK_INSTANCE_CAST (base, EDITING_TOOLS_TYPE_EDITING_TOOL_WINDOW, EditingToolsEditingToolWindow);
#line 89 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+ self = G_TYPE_CHECK_INSTANCE_CAST (base, EDITING_TOOLS_TYPE_EDITING_TOOL_WINDOW, EditingToolsEditingToolWindow);
+#line 90 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_widget_set_opacity (G_TYPE_CHECK_INSTANCE_TYPE (self, gtk_widget_get_type ()) ? ((GtkWidget*) self) : NULL, RESOURCES_TRANSIENT_WINDOW_OPACITY);
-#line 91 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 92 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
GTK_WIDGET_CLASS (editing_tools_editing_tool_window_parent_class)->realize (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), gtk_widget_get_type (), GtkWidget));
#line 1913 "EditingTools.c"
}
+static void editing_tools_editing_tool_window_suppress_warnings (EditingToolsEditingToolWindow* self, const gchar* log_domain, GLogLevelFlags log_levels, const gchar* message) {
+#line 95 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+ g_return_if_fail (EDITING_TOOLS_IS_EDITING_TOOL_WINDOW (self));
+#line 95 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+ g_return_if_fail (message != NULL);
+#line 1922 "EditingTools.c"
+}
+
+
static void editing_tools_editing_tool_window_class_init (EditingToolsEditingToolWindowClass * klass) {
#line 28 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_editing_tool_window_parent_class = g_type_class_peek_parent (klass);
@@ -1928,7 +1937,7 @@ static void editing_tools_editing_tool_window_class_init (EditingToolsEditingToo
((GtkWidgetClass *) klass)->realize = editing_tools_editing_tool_window_real_realize;
#line 28 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
G_OBJECT_CLASS (klass)->finalize = editing_tools_editing_tool_window_finalize;
-#line 1932 "EditingTools.c"
+#line 1941 "EditingTools.c"
}
@@ -1944,7 +1953,7 @@ static void editing_tools_editing_tool_window_instance_init (EditingToolsEditing
self->priv->layout_frame = _tmp0_;
#line 32 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->user_moved = FALSE;
-#line 1948 "EditingTools.c"
+#line 1957 "EditingTools.c"
}
@@ -1954,17 +1963,17 @@ static void editing_tools_editing_tool_window_finalize (GObject* obj) {
void* _tmp0__target = NULL;
#line 28 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, EDITING_TOOLS_TYPE_EDITING_TOOL_WINDOW, EditingToolsEditingToolWindow);
-#line 59 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 60 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = g_log_default_handler;
-#line 59 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 60 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0__target = NULL;
-#line 59 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 60 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_log_set_handler ("Gdk", G_LOG_LEVEL_WARNING, _tmp0_, _tmp0__target);
#line 31 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (self->priv->layout_frame);
#line 28 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
G_OBJECT_CLASS (editing_tools_editing_tool_window_parent_class)->finalize (obj);
-#line 1968 "EditingTools.c"
+#line 1977 "EditingTools.c"
}
@@ -1981,16 +1990,16 @@ GType editing_tools_editing_tool_window_get_type (void) {
static gpointer _g_object_ref0 (gpointer self) {
-#line 110 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 115 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return self ? g_object_ref (self) : NULL;
-#line 1987 "EditingTools.c"
+#line 1996 "EditingTools.c"
}
static gpointer _cairo_reference0 (gpointer self) {
-#line 113 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 118 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return self ? cairo_reference (self) : NULL;
-#line 1994 "EditingTools.c"
+#line 2003 "EditingTools.c"
}
@@ -2012,85 +2021,85 @@ EditingToolsPhotoCanvas* editing_tools_photo_canvas_construct (GType object_type
GdkPixbuf* _tmp13_ = NULL;
GdkRectangle _tmp14_ = {0};
cairo_surface_t* _tmp15_ = NULL;
-#line 108 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 113 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (GTK_IS_WINDOW (container), NULL);
-#line 108 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 113 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (GDK_IS_WINDOW (drawing_window), NULL);
-#line 108 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 113 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (IS_PHOTO (photo), NULL);
-#line 108 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 113 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (default_ctx != NULL, NULL);
-#line 108 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 113 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (surface_dim != NULL, NULL);
-#line 108 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 113 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (GDK_IS_PIXBUF (scaled), NULL);
-#line 108 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 113 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (scaled_position != NULL, NULL);
-#line 108 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 113 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self = (EditingToolsPhotoCanvas*) g_type_create_instance (object_type);
-#line 110 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 115 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = container;
-#line 110 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 115 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = _g_object_ref0 (_tmp0_);
-#line 110 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 115 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (self->priv->container);
-#line 110 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 115 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->container = _tmp1_;
-#line 111 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 116 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = drawing_window;
-#line 111 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 116 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = _g_object_ref0 (_tmp2_);
-#line 111 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 116 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (self->priv->drawing_window);
-#line 111 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 116 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->drawing_window = _tmp3_;
-#line 112 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 117 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = photo;
-#line 112 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 117 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = _g_object_ref0 (_tmp4_);
-#line 112 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 117 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (self->priv->photo);
-#line 112 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 117 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->photo = _tmp5_;
-#line 113 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 118 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = default_ctx;
-#line 113 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 118 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = _cairo_reference0 (_tmp6_);
-#line 113 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 118 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_cairo_destroy0 (self->priv->default_ctx);
-#line 113 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 118 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->default_ctx = _tmp7_;
-#line 114 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 119 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = *surface_dim;
-#line 114 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 119 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->surface_dim = _tmp8_;
-#line 115 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 120 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = *scaled_position;
-#line 115 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 120 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->scaled_position = _tmp9_;
-#line 116 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 121 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp10_ = scaled;
-#line 116 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 121 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp11_ = _g_object_ref0 (_tmp10_);
-#line 116 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 121 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (self->priv->scaled_pixbuf);
-#line 116 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 121 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->scaled_pixbuf = _tmp11_;
-#line 117 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 122 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp12_ = default_ctx;
-#line 117 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 122 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp13_ = scaled;
-#line 117 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 122 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp14_ = *scaled_position;
-#line 117 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 122 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp15_ = editing_tools_photo_canvas_pixbuf_to_surface (self, _tmp12_, _tmp13_, &_tmp14_);
-#line 117 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 122 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_cairo_surface_destroy0 (self->priv->scaled);
-#line 117 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 122 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->scaled = _tmp15_;
-#line 108 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 113 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return self;
-#line 2094 "EditingTools.c"
+#line 2103 "EditingTools.c"
}
@@ -2098,21 +2107,21 @@ void editing_tools_photo_canvas_unscaled_to_raw_rect (EditingToolsPhotoCanvas* s
Photo* _tmp0_ = NULL;
GdkRectangle _tmp1_ = {0};
GdkRectangle _tmp2_ = {0};
-#line 125 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 130 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_PHOTO_CANVAS (self));
-#line 125 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 130 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (rectangle != NULL);
-#line 126 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 131 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = self->priv->photo;
-#line 126 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 131 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = *rectangle;
-#line 126 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 131 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
photo_unscaled_to_raw_rect (_tmp0_, &_tmp1_, &_tmp2_);
-#line 126 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 131 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*result = _tmp2_;
-#line 126 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 131 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return;
-#line 2116 "EditingTools.c"
+#line 2125 "EditingTools.c"
}
@@ -2138,61 +2147,61 @@ void editing_tools_photo_canvas_active_to_unscaled_point (EditingToolsPhotoCanva
gint _tmp13_ = 0;
GdkPoint _tmp14_ = {0};
gint _tmp15_ = 0;
-#line 129 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 134 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_PHOTO_CANVAS (self));
-#line 129 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 134 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (active_point != NULL);
-#line 130 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 135 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_photo_canvas_get_scaled_pixbuf_position (self, &_tmp0_);
-#line 130 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 135 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
scaled_position = _tmp0_;
-#line 131 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 136 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = self->priv->photo;
-#line 131 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 136 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
media_source_get_dimensions (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_MEDIA_SOURCE, MediaSource), PHOTO_EXCEPTION_NONE, &_tmp2_);
-#line 131 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 136 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
unscaled_dims = _tmp2_;
-#line 133 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 138 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = unscaled_dims;
-#line 133 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 138 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = _tmp3_.width;
-#line 133 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 138 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = scaled_position;
-#line 133 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 138 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = _tmp5_.width;
-#line 133 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 138 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
scale_factor_x = ((gdouble) _tmp4_) / ((gdouble) _tmp6_);
-#line 135 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 140 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = unscaled_dims;
-#line 135 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 140 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = _tmp7_.height;
-#line 135 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 140 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = scaled_position;
-#line 135 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 140 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp10_ = _tmp9_.height;
-#line 135 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 140 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
scale_factor_y = ((gdouble) _tmp8_) / ((gdouble) _tmp10_);
-#line 138 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 143 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp11_.x = 0;
-#line 138 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 143 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_result_ = _tmp11_;
-#line 139 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 144 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp12_ = *active_point;
-#line 139 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 144 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp13_ = _tmp12_.x;
-#line 139 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 144 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_result_.x = (gint) ((((gdouble) _tmp13_) * scale_factor_x) + 0.5);
-#line 140 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 145 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp14_ = *active_point;
-#line 140 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 145 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp15_ = _tmp14_.y;
-#line 140 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 145 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_result_.y = (gint) ((((gdouble) _tmp15_) * scale_factor_y) + 0.5);
-#line 142 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 147 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*result = _result_;
-#line 142 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 147 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return;
-#line 2196 "EditingTools.c"
+#line 2205 "EditingTools.c"
}
@@ -2230,101 +2239,101 @@ void editing_tools_photo_canvas_active_to_unscaled_rect (EditingToolsPhotoCanvas
gint _tmp27_ = 0;
GdkPoint _tmp28_ = {0};
gint _tmp29_ = 0;
-#line 145 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 150 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_PHOTO_CANVAS (self));
-#line 145 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 150 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (active_rect != NULL);
-#line 146 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 151 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_.x = 0;
-#line 146 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 151 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
upper_left = _tmp0_;
-#line 147 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 152 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_.x = 0;
-#line 147 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 152 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
lower_right = _tmp1_;
-#line 148 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 153 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = *active_rect;
-#line 148 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 153 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = _tmp2_.x;
-#line 148 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 153 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
upper_left.x = _tmp3_;
-#line 149 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 154 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = *active_rect;
-#line 149 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 154 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = _tmp4_.y;
-#line 149 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 154 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
upper_left.y = _tmp5_;
-#line 150 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 155 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = upper_left;
-#line 150 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 155 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = _tmp6_.x;
-#line 150 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 155 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = *active_rect;
-#line 150 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 155 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = _tmp8_.width;
-#line 150 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 155 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
lower_right.x = _tmp7_ + _tmp9_;
-#line 151 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 156 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp10_ = upper_left;
-#line 151 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 156 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp11_ = _tmp10_.y;
-#line 151 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 156 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp12_ = *active_rect;
-#line 151 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 156 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp13_ = _tmp12_.height;
-#line 151 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 156 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
lower_right.y = _tmp11_ + _tmp13_;
-#line 153 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 158 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp14_ = upper_left;
-#line 153 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 158 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_photo_canvas_active_to_unscaled_point (self, &_tmp14_, &_tmp15_);
-#line 153 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 158 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
upper_left = _tmp15_;
-#line 154 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 159 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp16_ = lower_right;
-#line 154 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 159 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_photo_canvas_active_to_unscaled_point (self, &_tmp16_, &_tmp17_);
-#line 154 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 159 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
lower_right = _tmp17_;
-#line 156 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 161 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
memset (&unscaled_rect, 0, sizeof (GdkRectangle));
-#line 157 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 162 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp18_ = upper_left;
-#line 157 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 162 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp19_ = _tmp18_.x;
-#line 157 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 162 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
unscaled_rect.x = _tmp19_;
-#line 158 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 163 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp20_ = upper_left;
-#line 158 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 163 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp21_ = _tmp20_.y;
-#line 158 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 163 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
unscaled_rect.y = _tmp21_;
-#line 159 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 164 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp22_ = lower_right;
-#line 159 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 164 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp23_ = _tmp22_.x;
-#line 159 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 164 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp24_ = upper_left;
-#line 159 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 164 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp25_ = _tmp24_.x;
-#line 159 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 164 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
unscaled_rect.width = _tmp23_ - _tmp25_;
-#line 160 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 165 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp26_ = lower_right;
-#line 160 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 165 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp27_ = _tmp26_.y;
-#line 160 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 165 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp28_ = upper_left;
-#line 160 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 165 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp29_ = _tmp28_.y;
-#line 160 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 165 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
unscaled_rect.height = _tmp27_ - _tmp29_;
-#line 162 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 167 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*result = unscaled_rect;
-#line 162 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 167 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return;
-#line 2328 "EditingTools.c"
+#line 2337 "EditingTools.c"
}
@@ -2341,43 +2350,43 @@ void editing_tools_photo_canvas_user_to_active_point (EditingToolsPhotoCanvas* s
gint _tmp7_ = 0;
GdkRectangle _tmp8_ = {0};
gint _tmp9_ = 0;
-#line 165 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 170 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_PHOTO_CANVAS (self));
-#line 165 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 170 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (user_point != NULL);
-#line 166 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 171 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_photo_canvas_get_scaled_pixbuf_position (self, &_tmp0_);
-#line 166 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 171 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
active_offsets = _tmp0_;
-#line 168 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 173 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_.x = 0;
-#line 168 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 173 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_result_ = _tmp1_;
-#line 169 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 174 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = *user_point;
-#line 169 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 174 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = _tmp2_.x;
-#line 169 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 174 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = active_offsets;
-#line 169 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 174 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = _tmp4_.x;
-#line 169 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 174 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_result_.x = _tmp3_ - _tmp5_;
-#line 170 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 175 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = *user_point;
-#line 170 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 175 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = _tmp6_.y;
-#line 170 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 175 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = active_offsets;
-#line 170 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 175 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = _tmp8_.y;
-#line 170 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 175 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_result_.y = _tmp7_ - _tmp9_;
-#line 172 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 177 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*result = _result_;
-#line 172 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 177 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return;
-#line 2381 "EditingTools.c"
+#line 2390 "EditingTools.c"
}
@@ -2415,101 +2424,101 @@ void editing_tools_photo_canvas_user_to_active_rect (EditingToolsPhotoCanvas* se
gint _tmp27_ = 0;
GdkPoint _tmp28_ = {0};
gint _tmp29_ = 0;
-#line 175 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 180 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_PHOTO_CANVAS (self));
-#line 175 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 180 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (user_rect != NULL);
-#line 176 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 181 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_.x = 0;
-#line 176 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 181 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
upper_left = _tmp0_;
-#line 177 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 182 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_.x = 0;
-#line 177 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 182 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
lower_right = _tmp1_;
-#line 178 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 183 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = *user_rect;
-#line 178 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 183 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = _tmp2_.x;
-#line 178 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 183 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
upper_left.x = _tmp3_;
-#line 179 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 184 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = *user_rect;
-#line 179 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 184 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = _tmp4_.y;
-#line 179 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 184 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
upper_left.y = _tmp5_;
-#line 180 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 185 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = upper_left;
-#line 180 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 185 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = _tmp6_.x;
-#line 180 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 185 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = *user_rect;
-#line 180 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 185 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = _tmp8_.width;
-#line 180 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 185 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
lower_right.x = _tmp7_ + _tmp9_;
-#line 181 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 186 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp10_ = upper_left;
-#line 181 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 186 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp11_ = _tmp10_.y;
-#line 181 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 186 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp12_ = *user_rect;
-#line 181 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 186 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp13_ = _tmp12_.height;
-#line 181 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 186 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
lower_right.y = _tmp11_ + _tmp13_;
-#line 183 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 188 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp14_ = upper_left;
-#line 183 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 188 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_photo_canvas_user_to_active_point (self, &_tmp14_, &_tmp15_);
-#line 183 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 188 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
upper_left = _tmp15_;
-#line 184 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 189 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp16_ = lower_right;
-#line 184 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 189 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_photo_canvas_user_to_active_point (self, &_tmp16_, &_tmp17_);
-#line 184 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 189 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
lower_right = _tmp17_;
-#line 186 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 191 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
memset (&active_rect, 0, sizeof (GdkRectangle));
-#line 187 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 192 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp18_ = upper_left;
-#line 187 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 192 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp19_ = _tmp18_.x;
-#line 187 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 192 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
active_rect.x = _tmp19_;
-#line 188 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 193 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp20_ = upper_left;
-#line 188 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 193 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp21_ = _tmp20_.y;
-#line 188 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 193 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
active_rect.y = _tmp21_;
-#line 189 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 194 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp22_ = lower_right;
-#line 189 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 194 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp23_ = _tmp22_.x;
-#line 189 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 194 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp24_ = upper_left;
-#line 189 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 194 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp25_ = _tmp24_.x;
-#line 189 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 194 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
active_rect.width = _tmp23_ - _tmp25_;
-#line 190 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 195 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp26_ = lower_right;
-#line 190 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 195 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp27_ = _tmp26_.y;
-#line 190 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 195 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp28_ = upper_left;
-#line 190 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 195 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp29_ = _tmp28_.y;
-#line 190 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 195 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
active_rect.height = _tmp27_ - _tmp29_;
-#line 192 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 197 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*result = active_rect;
-#line 192 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 197 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return;
-#line 2513 "EditingTools.c"
+#line 2522 "EditingTools.c"
}
@@ -2517,17 +2526,17 @@ Photo* editing_tools_photo_canvas_get_photo (EditingToolsPhotoCanvas* self) {
Photo* result = NULL;
Photo* _tmp0_ = NULL;
Photo* _tmp1_ = NULL;
-#line 195 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 200 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (EDITING_TOOLS_IS_PHOTO_CANVAS (self), NULL);
-#line 196 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 201 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = self->priv->photo;
-#line 196 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 201 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = _g_object_ref0 (_tmp0_);
-#line 196 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 201 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
result = _tmp1_;
-#line 196 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 201 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return result;
-#line 2531 "EditingTools.c"
+#line 2540 "EditingTools.c"
}
@@ -2535,17 +2544,17 @@ GtkWindow* editing_tools_photo_canvas_get_container (EditingToolsPhotoCanvas* se
GtkWindow* result = NULL;
GtkWindow* _tmp0_ = NULL;
GtkWindow* _tmp1_ = NULL;
-#line 199 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 204 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (EDITING_TOOLS_IS_PHOTO_CANVAS (self), NULL);
-#line 200 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 205 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = self->priv->container;
-#line 200 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 205 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = _g_object_ref0 (_tmp0_);
-#line 200 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 205 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
result = _tmp1_;
-#line 200 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 205 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return result;
-#line 2549 "EditingTools.c"
+#line 2558 "EditingTools.c"
}
@@ -2553,17 +2562,17 @@ GdkWindow* editing_tools_photo_canvas_get_drawing_window (EditingToolsPhotoCanva
GdkWindow* result = NULL;
GdkWindow* _tmp0_ = NULL;
GdkWindow* _tmp1_ = NULL;
-#line 203 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 208 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (EDITING_TOOLS_IS_PHOTO_CANVAS (self), NULL);
-#line 204 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 209 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = self->priv->drawing_window;
-#line 204 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 209 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = _g_object_ref0 (_tmp0_);
-#line 204 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 209 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
result = _tmp1_;
-#line 204 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 209 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return result;
-#line 2567 "EditingTools.c"
+#line 2576 "EditingTools.c"
}
@@ -2571,48 +2580,48 @@ cairo_t* editing_tools_photo_canvas_get_default_ctx (EditingToolsPhotoCanvas* se
cairo_t* result = NULL;
cairo_t* _tmp0_ = NULL;
cairo_t* _tmp1_ = NULL;
-#line 207 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 212 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (EDITING_TOOLS_IS_PHOTO_CANVAS (self), NULL);
-#line 208 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 213 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = self->priv->default_ctx;
-#line 208 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 213 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = _cairo_reference0 (_tmp0_);
-#line 208 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 213 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
result = _tmp1_;
-#line 208 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 213 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return result;
-#line 2585 "EditingTools.c"
+#line 2594 "EditingTools.c"
}
void editing_tools_photo_canvas_get_surface_dim (EditingToolsPhotoCanvas* self, Dimensions* result) {
Dimensions _tmp0_ = {0};
-#line 211 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 216 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_PHOTO_CANVAS (self));
-#line 212 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 217 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = self->priv->surface_dim;
-#line 212 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 217 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*result = _tmp0_;
-#line 212 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 217 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return;
-#line 2599 "EditingTools.c"
+#line 2608 "EditingTools.c"
}
void editing_tools_photo_canvas_get_scaling (EditingToolsPhotoCanvas* self, Scaling* result) {
Dimensions _tmp0_ = {0};
Scaling _tmp1_ = {0};
-#line 215 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 220 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_PHOTO_CANVAS (self));
-#line 216 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 221 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = self->priv->surface_dim;
-#line 216 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 221 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
scaling_for_viewport (&_tmp0_, FALSE, &_tmp1_);
-#line 216 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 221 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*result = _tmp1_;
-#line 216 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 221 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return;
-#line 2616 "EditingTools.c"
+#line 2625 "EditingTools.c"
}
@@ -2622,38 +2631,38 @@ void editing_tools_photo_canvas_set_surface (EditingToolsPhotoCanvas* self, cair
Dimensions _tmp2_ = {0};
cairo_t* _tmp3_ = NULL;
Dimensions _tmp4_ = {0};
-#line 219 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 224 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_PHOTO_CANVAS (self));
-#line 219 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 224 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (default_ctx != NULL);
-#line 219 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 224 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (surface_dim != NULL);
-#line 220 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 225 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = default_ctx;
-#line 220 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 225 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = _cairo_reference0 (_tmp0_);
-#line 220 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 225 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_cairo_destroy0 (self->priv->default_ctx);
-#line 220 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 225 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->default_ctx = _tmp1_;
-#line 221 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 226 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = *surface_dim;
-#line 221 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 226 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->surface_dim = _tmp2_;
-#line 223 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 228 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = default_ctx;
-#line 223 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 228 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = *surface_dim;
-#line 223 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 228 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_emit_by_name (self, "new-surface", _tmp3_, &_tmp4_);
-#line 2650 "EditingTools.c"
+#line 2659 "EditingTools.c"
}
static gpointer _cairo_surface_reference0 (gpointer self) {
-#line 227 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 232 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return self ? cairo_surface_reference (self) : NULL;
-#line 2657 "EditingTools.c"
+#line 2666 "EditingTools.c"
}
@@ -2661,17 +2670,17 @@ cairo_surface_t* editing_tools_photo_canvas_get_scaled_surface (EditingToolsPhot
cairo_surface_t* result = NULL;
cairo_surface_t* _tmp0_ = NULL;
cairo_surface_t* _tmp1_ = NULL;
-#line 226 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 231 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (EDITING_TOOLS_IS_PHOTO_CANVAS (self), NULL);
-#line 227 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 232 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = self->priv->scaled;
-#line 227 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 232 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = _cairo_surface_reference0 (_tmp0_);
-#line 227 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 232 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
result = _tmp1_;
-#line 227 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 232 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return result;
-#line 2675 "EditingTools.c"
+#line 2684 "EditingTools.c"
}
@@ -2679,31 +2688,31 @@ GdkPixbuf* editing_tools_photo_canvas_get_scaled_pixbuf (EditingToolsPhotoCanvas
GdkPixbuf* result = NULL;
GdkPixbuf* _tmp0_ = NULL;
GdkPixbuf* _tmp1_ = NULL;
-#line 230 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 235 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (EDITING_TOOLS_IS_PHOTO_CANVAS (self), NULL);
-#line 231 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 236 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = self->priv->scaled_pixbuf;
-#line 231 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 236 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = _g_object_ref0 (_tmp0_);
-#line 231 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 236 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
result = _tmp1_;
-#line 231 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 236 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return result;
-#line 2693 "EditingTools.c"
+#line 2702 "EditingTools.c"
}
void editing_tools_photo_canvas_get_scaled_pixbuf_position (EditingToolsPhotoCanvas* self, GdkRectangle* result) {
GdkRectangle _tmp0_ = {0};
-#line 234 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 239 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_PHOTO_CANVAS (self));
-#line 235 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 240 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = self->priv->scaled_position;
-#line 235 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 240 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*result = _tmp0_;
-#line 235 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 240 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return;
-#line 2707 "EditingTools.c"
+#line 2716 "EditingTools.c"
}
@@ -2718,65 +2727,65 @@ void editing_tools_photo_canvas_resized_pixbuf (EditingToolsPhotoCanvas* self, D
Dimensions _tmp7_ = {0};
GdkPixbuf* _tmp8_ = NULL;
GdkRectangle _tmp9_ = {0};
-#line 238 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 243 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_PHOTO_CANVAS (self));
-#line 238 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 243 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (old_dim != NULL);
-#line 238 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 243 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (GDK_IS_PIXBUF (scaled));
-#line 238 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 243 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (scaled_position != NULL);
-#line 239 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 244 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = self->priv->default_ctx;
-#line 239 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 244 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = scaled;
-#line 239 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 244 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = *scaled_position;
-#line 239 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 244 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = editing_tools_photo_canvas_pixbuf_to_surface (self, _tmp0_, _tmp1_, &_tmp2_);
-#line 239 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 244 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_cairo_surface_destroy0 (self->priv->scaled);
-#line 239 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 244 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->scaled = _tmp3_;
-#line 240 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 245 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = scaled;
-#line 240 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 245 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = _g_object_ref0 (_tmp4_);
-#line 240 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 245 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (self->priv->scaled_pixbuf);
-#line 240 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 245 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->scaled_pixbuf = _tmp5_;
-#line 241 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 246 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = *scaled_position;
-#line 241 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 246 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->scaled_position = _tmp6_;
-#line 243 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 248 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = *old_dim;
-#line 243 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 248 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = scaled;
-#line 243 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 248 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = *scaled_position;
-#line 243 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 248 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_emit_by_name (self, "resized-scaled-pixbuf", &_tmp7_, _tmp8_, &_tmp9_);
-#line 2762 "EditingTools.c"
+#line 2771 "EditingTools.c"
}
static void editing_tools_photo_canvas_real_repaint (EditingToolsPhotoCanvas* self) {
-#line 246 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 251 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_critical ("Type `%s' does not implement abstract method `editing_tools_photo_canvas_repaint'", g_type_name (G_TYPE_FROM_INSTANCE (self)));
-#line 246 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 251 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return;
-#line 2771 "EditingTools.c"
+#line 2780 "EditingTools.c"
}
void editing_tools_photo_canvas_repaint (EditingToolsPhotoCanvas* self) {
-#line 246 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 251 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_PHOTO_CANVAS (self));
-#line 246 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 251 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
EDITING_TOOLS_PHOTO_CANVAS_GET_CLASS (self)->repaint (self);
-#line 2780 "EditingTools.c"
+#line 2789 "EditingTools.c"
}
@@ -2806,77 +2815,77 @@ void editing_tools_photo_canvas_paint_pixbuf (EditingToolsPhotoCanvas* self, Gdk
gint _tmp22_ = 0;
cairo_t* _tmp23_ = NULL;
cairo_t* _tmp24_ = NULL;
-#line 254 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 259 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_PHOTO_CANVAS (self));
-#line 254 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 259 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (GDK_IS_PIXBUF (pixbuf));
-#line 255 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 260 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = self->priv->default_ctx;
-#line 255 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 260 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_save (_tmp0_);
-#line 258 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 263 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = self->priv->default_ctx;
-#line 258 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 263 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
set_source_color_from_string (_tmp1_, "#000");
-#line 259 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 264 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = self->priv->default_ctx;
-#line 259 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 264 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = self->priv->surface_dim;
-#line 259 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 264 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = _tmp3_.width;
-#line 259 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 264 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = self->priv->surface_dim;
-#line 259 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 264 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = _tmp5_.height;
-#line 259 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 264 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_rectangle (_tmp2_, (gdouble) 0, (gdouble) 0, (gdouble) _tmp4_, (gdouble) _tmp6_);
-#line 260 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 265 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = self->priv->default_ctx;
-#line 260 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 265 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_fill (_tmp7_);
-#line 263 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 268 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = self->priv->default_ctx;
-#line 263 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 268 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = pixbuf;
-#line 263 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 268 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp10_ = self->priv->scaled_position;
-#line 263 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 268 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp11_ = _tmp10_.x;
-#line 263 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 268 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp12_ = self->priv->scaled_position;
-#line 263 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 268 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp13_ = _tmp12_.y;
-#line 263 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 268 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gdk_cairo_set_source_pixbuf (_tmp8_, _tmp9_, (gdouble) _tmp11_, (gdouble) _tmp13_);
-#line 264 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 269 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp14_ = self->priv->default_ctx;
-#line 264 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 269 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp15_ = self->priv->scaled_position;
-#line 264 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 269 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp16_ = _tmp15_.x;
-#line 264 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 269 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp17_ = self->priv->scaled_position;
-#line 264 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 269 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp18_ = _tmp17_.y;
-#line 264 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 269 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp19_ = pixbuf;
-#line 264 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 269 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp20_ = gdk_pixbuf_get_width (_tmp19_);
-#line 264 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 269 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp21_ = pixbuf;
-#line 264 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 269 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp22_ = gdk_pixbuf_get_height (_tmp21_);
-#line 264 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 269 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_rectangle (_tmp14_, (gdouble) _tmp16_, (gdouble) _tmp18_, (gdouble) _tmp20_, (gdouble) _tmp22_);
-#line 266 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 271 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp23_ = self->priv->default_ctx;
-#line 266 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 271 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_fill (_tmp23_);
-#line 267 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 272 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp24_ = self->priv->default_ctx;
-#line 267 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 272 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_restore (_tmp24_);
-#line 2880 "EditingTools.c"
+#line 2889 "EditingTools.c"
}
@@ -2903,23 +2912,23 @@ void editing_tools_photo_canvas_paint_pixbuf_area (EditingToolsPhotoCanvas* self
gint _tmp32_ = 0;
cairo_t* _tmp33_ = NULL;
cairo_t* _tmp34_ = NULL;
-#line 270 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 275 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_PHOTO_CANVAS (self));
-#line 270 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 275 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (GDK_IS_PIXBUF (pixbuf));
-#line 270 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 275 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (source_area != NULL);
-#line 271 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 276 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = self->priv->default_ctx;
-#line 271 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 276 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_save (_tmp0_);
-#line 272 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 277 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = pixbuf;
-#line 272 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 277 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = gdk_pixbuf_get_has_alpha (_tmp1_);
-#line 272 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 277 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp2_) {
-#line 2923 "EditingTools.c"
+#line 2932 "EditingTools.c"
cairo_t* _tmp3_ = NULL;
cairo_t* _tmp4_ = NULL;
GdkRectangle _tmp5_ = {0};
@@ -2933,87 +2942,87 @@ void editing_tools_photo_canvas_paint_pixbuf_area (EditingToolsPhotoCanvas* self
gint _tmp13_ = 0;
gint _tmp14_ = 0;
cairo_t* _tmp15_ = NULL;
-#line 273 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 278 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = self->priv->default_ctx;
-#line 273 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 278 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
set_source_color_from_string (_tmp3_, "#000");
-#line 274 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 279 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = self->priv->default_ctx;
-#line 274 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 279 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = self->priv->scaled_position;
-#line 274 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 279 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = _tmp5_.x;
-#line 274 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 279 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = *source_area;
-#line 274 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 279 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = _tmp7_.left;
-#line 274 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 279 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = self->priv->scaled_position;
-#line 274 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 279 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp10_ = _tmp9_.y;
-#line 274 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 279 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp11_ = *source_area;
-#line 274 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 279 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp12_ = _tmp11_.top;
-#line 274 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 279 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp13_ = box_get_width (source_area);
-#line 274 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 279 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp14_ = box_get_height (source_area);
-#line 274 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 279 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_rectangle (_tmp4_, (gdouble) (_tmp6_ + _tmp8_), (gdouble) (_tmp10_ + _tmp12_), (gdouble) _tmp13_, (gdouble) _tmp14_);
-#line 277 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 282 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp15_ = self->priv->default_ctx;
-#line 277 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 282 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_fill (_tmp15_);
-#line 2969 "EditingTools.c"
+#line 2978 "EditingTools.c"
}
-#line 280 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 285 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp16_ = self->priv->default_ctx;
-#line 280 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 285 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp17_ = pixbuf;
-#line 280 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 285 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp18_ = self->priv->scaled_position;
-#line 280 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 285 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp19_ = _tmp18_.x;
-#line 280 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 285 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp20_ = self->priv->scaled_position;
-#line 280 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 285 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp21_ = _tmp20_.y;
-#line 280 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 285 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gdk_cairo_set_source_pixbuf (_tmp16_, _tmp17_, (gdouble) _tmp19_, (gdouble) _tmp21_);
-#line 282 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 287 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp22_ = self->priv->default_ctx;
-#line 282 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 287 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp23_ = self->priv->scaled_position;
-#line 282 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 287 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp24_ = _tmp23_.x;
-#line 282 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 287 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp25_ = *source_area;
-#line 282 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 287 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp26_ = _tmp25_.left;
-#line 282 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 287 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp27_ = self->priv->scaled_position;
-#line 282 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 287 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp28_ = _tmp27_.y;
-#line 282 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 287 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp29_ = *source_area;
-#line 282 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 287 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp30_ = _tmp29_.top;
-#line 282 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 287 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp31_ = box_get_width (source_area);
-#line 282 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 287 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp32_ = box_get_height (source_area);
-#line 282 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 287 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_rectangle (_tmp22_, (gdouble) (_tmp24_ + _tmp26_), (gdouble) (_tmp28_ + _tmp30_), (gdouble) _tmp31_, (gdouble) _tmp32_);
-#line 285 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 290 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp33_ = self->priv->default_ctx;
-#line 285 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 290 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_fill (_tmp33_);
-#line 286 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 291 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp34_ = self->priv->default_ctx;
-#line 286 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 291 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_restore (_tmp34_);
-#line 3017 "EditingTools.c"
+#line 3026 "EditingTools.c"
}
@@ -3035,74 +3044,74 @@ void editing_tools_photo_canvas_paint_surface (EditingToolsPhotoCanvas* self, ca
gint _tmp16_ = 0;
cairo_t* _tmp17_ = NULL;
cairo_t* _tmp18_ = NULL;
-#line 290 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 295 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_PHOTO_CANVAS (self));
-#line 290 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 295 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (surface != NULL);
-#line 291 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 296 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = self->priv->default_ctx;
-#line 291 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 296 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_save (_tmp0_);
-#line 292 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 297 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = over;
-#line 292 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 297 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp1_ == FALSE) {
-#line 3051 "EditingTools.c"
+#line 3060 "EditingTools.c"
cairo_t* _tmp2_ = NULL;
-#line 293 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 298 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = self->priv->default_ctx;
-#line 293 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 298 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_set_operator (_tmp2_, CAIRO_OPERATOR_SOURCE);
-#line 3057 "EditingTools.c"
+#line 3066 "EditingTools.c"
} else {
cairo_t* _tmp3_ = NULL;
-#line 295 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 300 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = self->priv->default_ctx;
-#line 295 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 300 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_set_operator (_tmp3_, CAIRO_OPERATOR_OVER);
-#line 3064 "EditingTools.c"
+#line 3073 "EditingTools.c"
}
-#line 297 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 302 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = self->priv->default_ctx;
-#line 297 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 302 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = self->priv->scaled;
-#line 297 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 302 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = self->priv->scaled_position;
-#line 297 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 302 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = _tmp6_.x;
-#line 297 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 302 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = self->priv->scaled_position;
-#line 297 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 302 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = _tmp8_.y;
-#line 297 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 302 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_set_source_surface (_tmp4_, _tmp5_, (gdouble) _tmp7_, (gdouble) _tmp9_);
-#line 298 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 303 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp10_ = self->priv->default_ctx;
-#line 298 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 303 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_paint (_tmp10_);
-#line 299 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 304 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp11_ = self->priv->default_ctx;
-#line 299 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 304 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp12_ = surface;
-#line 299 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 304 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp13_ = self->priv->scaled_position;
-#line 299 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 304 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp14_ = _tmp13_.x;
-#line 299 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 304 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp15_ = self->priv->scaled_position;
-#line 299 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 304 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp16_ = _tmp15_.y;
-#line 299 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 304 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_set_source_surface (_tmp11_, _tmp12_, (gdouble) _tmp14_, (gdouble) _tmp16_);
-#line 300 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 305 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp17_ = self->priv->default_ctx;
-#line 300 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 305 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_paint (_tmp17_);
-#line 301 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 306 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp18_ = self->priv->default_ctx;
-#line 301 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 306 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_restore (_tmp18_);
-#line 3106 "EditingTools.c"
+#line 3115 "EditingTools.c"
}
@@ -3146,124 +3155,124 @@ void editing_tools_photo_canvas_paint_surface_area (EditingToolsPhotoCanvas* sel
gint _tmp38_ = 0;
cairo_t* _tmp39_ = NULL;
cairo_t* _tmp40_ = NULL;
-#line 304 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 309 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_PHOTO_CANVAS (self));
-#line 304 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 309 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (surface != NULL);
-#line 304 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 309 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (source_area != NULL);
-#line 305 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 310 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = self->priv->default_ctx;
-#line 305 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 310 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_save (_tmp0_);
-#line 306 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 311 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = over;
-#line 306 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 311 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp1_ == FALSE) {
-#line 3164 "EditingTools.c"
+#line 3173 "EditingTools.c"
cairo_t* _tmp2_ = NULL;
-#line 307 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 312 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = self->priv->default_ctx;
-#line 307 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 312 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_set_operator (_tmp2_, CAIRO_OPERATOR_SOURCE);
-#line 3170 "EditingTools.c"
+#line 3179 "EditingTools.c"
} else {
cairo_t* _tmp3_ = NULL;
-#line 309 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 314 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = self->priv->default_ctx;
-#line 309 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 314 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_set_operator (_tmp3_, CAIRO_OPERATOR_OVER);
-#line 3177 "EditingTools.c"
+#line 3186 "EditingTools.c"
}
-#line 311 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 316 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = self->priv->default_ctx;
-#line 311 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 316 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = self->priv->scaled;
-#line 311 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 316 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = self->priv->scaled_position;
-#line 311 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 316 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = _tmp6_.x;
-#line 311 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 316 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = self->priv->scaled_position;
-#line 311 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 316 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = _tmp8_.y;
-#line 311 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 316 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_set_source_surface (_tmp4_, _tmp5_, (gdouble) _tmp7_, (gdouble) _tmp9_);
-#line 312 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 317 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp10_ = self->priv->default_ctx;
-#line 312 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 317 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp11_ = self->priv->scaled_position;
-#line 312 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 317 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp12_ = _tmp11_.x;
-#line 312 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 317 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp13_ = *source_area;
-#line 312 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 317 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp14_ = _tmp13_.left;
-#line 312 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 317 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp15_ = self->priv->scaled_position;
-#line 312 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 317 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp16_ = _tmp15_.y;
-#line 312 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 317 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp17_ = *source_area;
-#line 312 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 317 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp18_ = _tmp17_.top;
-#line 312 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 317 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp19_ = box_get_width (source_area);
-#line 312 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 317 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp20_ = box_get_height (source_area);
-#line 312 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 317 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_rectangle (_tmp10_, (gdouble) (_tmp12_ + _tmp14_), (gdouble) (_tmp16_ + _tmp18_), (gdouble) _tmp19_, (gdouble) _tmp20_);
-#line 315 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 320 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp21_ = self->priv->default_ctx;
-#line 315 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 320 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_fill (_tmp21_);
-#line 317 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 322 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp22_ = self->priv->default_ctx;
-#line 317 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 322 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp23_ = surface;
-#line 317 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 322 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp24_ = self->priv->scaled_position;
-#line 317 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 322 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp25_ = _tmp24_.x;
-#line 317 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 322 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp26_ = self->priv->scaled_position;
-#line 317 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 322 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp27_ = _tmp26_.y;
-#line 317 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 322 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_set_source_surface (_tmp22_, _tmp23_, (gdouble) _tmp25_, (gdouble) _tmp27_);
-#line 318 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 323 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp28_ = self->priv->default_ctx;
-#line 318 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 323 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp29_ = self->priv->scaled_position;
-#line 318 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 323 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp30_ = _tmp29_.x;
-#line 318 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 323 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp31_ = *source_area;
-#line 318 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 323 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp32_ = _tmp31_.left;
-#line 318 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 323 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp33_ = self->priv->scaled_position;
-#line 318 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 323 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp34_ = _tmp33_.y;
-#line 318 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 323 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp35_ = *source_area;
-#line 318 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 323 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp36_ = _tmp35_.top;
-#line 318 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 323 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp37_ = box_get_width (source_area);
-#line 318 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 323 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp38_ = box_get_height (source_area);
-#line 318 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 323 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_rectangle (_tmp28_, (gdouble) (_tmp30_ + _tmp32_), (gdouble) (_tmp34_ + _tmp36_), (gdouble) _tmp37_, (gdouble) _tmp38_);
-#line 321 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 326 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp39_ = self->priv->default_ctx;
-#line 321 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 326 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_fill (_tmp39_);
-#line 322 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 327 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp40_ = self->priv->default_ctx;
-#line 322 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 327 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_restore (_tmp40_);
-#line 3267 "EditingTools.c"
+#line 3276 "EditingTools.c"
}
@@ -3286,57 +3295,57 @@ void editing_tools_photo_canvas_draw_box (EditingToolsPhotoCanvas* self, cairo_t
GdkRectangle _tmp14_ = {0};
gint _tmp15_ = 0;
cairo_t* _tmp16_ = NULL;
-#line 325 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 330 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_PHOTO_CANVAS (self));
-#line 325 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 330 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (ctx != NULL);
-#line 325 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 330 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (box != NULL);
-#line 326 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 331 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
box_get_rectangle (box, &_tmp0_);
-#line 326 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 331 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
rect = _tmp0_;
-#line 327 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 332 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = rect.x;
-#line 327 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 332 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = self->priv->scaled_position;
-#line 327 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 332 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = _tmp2_.x;
-#line 327 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 332 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
rect.x = _tmp1_ + _tmp3_;
-#line 328 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 333 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = rect.y;
-#line 328 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 333 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = self->priv->scaled_position;
-#line 328 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 333 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = _tmp5_.y;
-#line 328 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 333 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
rect.y = _tmp4_ + _tmp6_;
-#line 330 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 335 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = ctx;
-#line 330 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 335 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = rect;
-#line 330 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 335 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = _tmp8_.x;
-#line 330 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 335 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp10_ = rect;
-#line 330 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 335 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp11_ = _tmp10_.y;
-#line 330 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 335 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp12_ = rect;
-#line 330 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 335 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp13_ = _tmp12_.width;
-#line 330 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 335 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp14_ = rect;
-#line 330 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 335 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp15_ = _tmp14_.height;
-#line 330 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 335 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_rectangle (_tmp7_, _tmp9_ + 0.5, _tmp11_ + 0.5, (gdouble) (_tmp13_ - 1), (gdouble) (_tmp15_ - 1));
-#line 331 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 336 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp16_ = ctx;
-#line 331 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 336 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_stroke (_tmp16_);
-#line 3340 "EditingTools.c"
+#line 3349 "EditingTools.c"
}
@@ -3367,106 +3376,106 @@ void editing_tools_photo_canvas_draw_text (EditingToolsPhotoCanvas* self, cairo_
cairo_t* _tmp27_ = NULL;
cairo_t* _tmp28_ = NULL;
const gchar* _tmp29_ = NULL;
-#line 334 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 339 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_PHOTO_CANVAS (self));
-#line 334 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 339 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (ctx != NULL);
-#line 334 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 339 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (text != NULL);
-#line 335 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 340 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = use_scaled_pos;
-#line 335 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 340 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp0_) {
-#line 3381 "EditingTools.c"
+#line 3390 "EditingTools.c"
gint _tmp1_ = 0;
GdkRectangle _tmp2_ = {0};
gint _tmp3_ = 0;
gint _tmp4_ = 0;
GdkRectangle _tmp5_ = {0};
gint _tmp6_ = 0;
-#line 336 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 341 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = x;
-#line 336 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 341 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = self->priv->scaled_position;
-#line 336 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 341 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = _tmp2_.x;
-#line 336 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 341 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
x = _tmp1_ + _tmp3_;
-#line 337 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 342 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = y;
-#line 337 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 342 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = self->priv->scaled_position;
-#line 337 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 342 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = _tmp5_.y;
-#line 337 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 342 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
y = _tmp4_ + _tmp6_;
-#line 3404 "EditingTools.c"
+#line 3413 "EditingTools.c"
}
-#line 340 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 345 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = ctx;
-#line 340 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 345 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = text;
-#line 340 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 345 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_text_extents (_tmp7_, _tmp8_, &_tmp9_);
-#line 340 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 345 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
extents = _tmp9_;
-#line 341 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 346 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp10_ = x;
-#line 341 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 346 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp11_ = extents;
-#line 341 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 346 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp12_ = _tmp11_.width;
-#line 341 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 346 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
x = _tmp10_ - (((gint) _tmp12_) / 2);
-#line 343 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 348 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp13_ = ctx;
-#line 343 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 348 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
set_source_color_from_string (_tmp13_, RESOURCES_ONIMAGE_FONT_BACKGROUND);
-#line 345 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 350 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
pane_border = 5;
-#line 346 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 351 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp14_ = ctx;
-#line 346 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 351 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp15_ = x;
-#line 346 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 351 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp16_ = y;
-#line 346 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 351 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp17_ = extents;
-#line 346 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 351 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp18_ = _tmp17_.height;
-#line 346 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 351 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp19_ = extents;
-#line 346 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 351 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp20_ = _tmp19_.width;
-#line 346 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 351 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp21_ = extents;
-#line 346 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 351 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp22_ = _tmp21_.height;
-#line 346 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 351 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_rectangle (_tmp14_, (gdouble) (_tmp15_ - pane_border), (_tmp16_ - pane_border) - _tmp18_, _tmp20_ + (2 * pane_border), _tmp22_ + (2 * pane_border));
-#line 349 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 354 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp23_ = ctx;
-#line 349 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 354 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_fill (_tmp23_);
-#line 351 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 356 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp24_ = ctx;
-#line 351 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 356 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp25_ = x;
-#line 351 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 356 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp26_ = y;
-#line 351 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 356 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_move_to (_tmp24_, (gdouble) _tmp25_, (gdouble) _tmp26_);
-#line 352 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 357 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp27_ = ctx;
-#line 352 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 357 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
set_source_color_from_string (_tmp27_, RESOURCES_ONIMAGE_FONT_COLOR);
-#line 353 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 358 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp28_ = ctx;
-#line 353 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 358 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp29_ = text;
-#line 353 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 358 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_show_text (_tmp28_, _tmp29_);
-#line 3470 "EditingTools.c"
+#line 3479 "EditingTools.c"
}
@@ -3491,62 +3500,62 @@ void editing_tools_photo_canvas_draw_horizontal_line (EditingToolsPhotoCanvas* s
gint _tmp12_ = 0;
gint _tmp13_ = 0;
cairo_t* _tmp14_ = NULL;
-#line 367 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 372 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_PHOTO_CANVAS (self));
-#line 367 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 372 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (ctx != NULL);
-#line 368 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 373 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = use_scaled_pos;
-#line 368 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 373 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp0_) {
-#line 3503 "EditingTools.c"
+#line 3512 "EditingTools.c"
gint _tmp1_ = 0;
GdkRectangle _tmp2_ = {0};
gint _tmp3_ = 0;
gint _tmp4_ = 0;
GdkRectangle _tmp5_ = {0};
gint _tmp6_ = 0;
-#line 369 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 374 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = x;
-#line 369 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 374 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = self->priv->scaled_position;
-#line 369 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 374 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = _tmp2_.x;
-#line 369 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 374 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
x = _tmp1_ + _tmp3_;
-#line 370 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 375 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = y;
-#line 370 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 375 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = self->priv->scaled_position;
-#line 370 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 375 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = _tmp5_.y;
-#line 370 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 375 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
y = _tmp4_ + _tmp6_;
-#line 3526 "EditingTools.c"
+#line 3535 "EditingTools.c"
}
-#line 373 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 378 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = ctx;
-#line 373 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 378 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = x;
-#line 373 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 378 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = y;
-#line 373 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 378 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_move_to (_tmp7_, _tmp8_ + 0.5, _tmp9_ + 0.5);
-#line 374 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 379 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp10_ = ctx;
-#line 374 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 379 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp11_ = x;
-#line 374 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 379 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp12_ = width;
-#line 374 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 379 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp13_ = y;
-#line 374 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 379 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_line_to (_tmp10_, (gdouble) ((_tmp11_ + _tmp12_) - 1), _tmp13_ + 0.5);
-#line 375 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 380 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp14_ = ctx;
-#line 375 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 380 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_stroke (_tmp14_);
-#line 3550 "EditingTools.c"
+#line 3559 "EditingTools.c"
}
@@ -3571,62 +3580,62 @@ void editing_tools_photo_canvas_draw_vertical_line (EditingToolsPhotoCanvas* sel
gint _tmp12_ = 0;
gint _tmp13_ = 0;
cairo_t* _tmp14_ = NULL;
-#line 389 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 394 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_PHOTO_CANVAS (self));
-#line 389 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 394 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (ctx != NULL);
-#line 390 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 395 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = use_scaled_pos;
-#line 390 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 395 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp0_) {
-#line 3583 "EditingTools.c"
+#line 3592 "EditingTools.c"
gint _tmp1_ = 0;
GdkRectangle _tmp2_ = {0};
gint _tmp3_ = 0;
gint _tmp4_ = 0;
GdkRectangle _tmp5_ = {0};
gint _tmp6_ = 0;
-#line 391 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 396 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = x;
-#line 391 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 396 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = self->priv->scaled_position;
-#line 391 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 396 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = _tmp2_.x;
-#line 391 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 396 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
x = _tmp1_ + _tmp3_;
-#line 392 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 397 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = y;
-#line 392 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 397 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = self->priv->scaled_position;
-#line 392 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 397 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = _tmp5_.y;
-#line 392 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 397 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
y = _tmp4_ + _tmp6_;
-#line 3606 "EditingTools.c"
+#line 3615 "EditingTools.c"
}
-#line 395 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 400 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = ctx;
-#line 395 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 400 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = x;
-#line 395 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 400 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = y;
-#line 395 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 400 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_move_to (_tmp7_, _tmp8_ + 0.5, _tmp9_ + 0.5);
-#line 396 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 401 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp10_ = ctx;
-#line 396 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 401 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp11_ = x;
-#line 396 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 401 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp12_ = y;
-#line 396 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 401 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp13_ = height;
-#line 396 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 401 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_line_to (_tmp10_, _tmp11_ + 0.5, (gdouble) ((_tmp12_ + _tmp13_) - 1));
-#line 397 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 402 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp14_ = ctx;
-#line 397 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 402 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_stroke (_tmp14_);
-#line 3630 "EditingTools.c"
+#line 3639 "EditingTools.c"
}
@@ -3649,57 +3658,57 @@ void editing_tools_photo_canvas_erase_horizontal_line (EditingToolsPhotoCanvas*
gint _tmp15_ = 0;
cairo_t* _tmp16_ = NULL;
cairo_t* _tmp17_ = NULL;
-#line 400 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 405 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_PHOTO_CANVAS (self));
-#line 401 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 406 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = self->priv->default_ctx;
-#line 401 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 406 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_save (_tmp0_);
-#line 403 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 408 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = self->priv->default_ctx;
-#line 403 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 408 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_set_operator (_tmp1_, CAIRO_OPERATOR_SOURCE);
-#line 404 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 409 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = self->priv->default_ctx;
-#line 404 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 409 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = self->priv->scaled;
-#line 404 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 409 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = self->priv->scaled_position;
-#line 404 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 409 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = _tmp4_.x;
-#line 404 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 409 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = self->priv->scaled_position;
-#line 404 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 409 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = _tmp6_.y;
-#line 404 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 409 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_set_source_surface (_tmp2_, _tmp3_, (gdouble) _tmp5_, (gdouble) _tmp7_);
-#line 405 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 410 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = self->priv->default_ctx;
-#line 405 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 410 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = self->priv->scaled_position;
-#line 405 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 410 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp10_ = _tmp9_.x;
-#line 405 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 410 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp11_ = x;
-#line 405 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 410 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp12_ = self->priv->scaled_position;
-#line 405 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 410 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp13_ = _tmp12_.y;
-#line 405 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 410 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp14_ = y;
-#line 405 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 410 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp15_ = width;
-#line 405 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 410 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_rectangle (_tmp8_, (gdouble) (_tmp10_ + _tmp11_), (gdouble) (_tmp13_ + _tmp14_), (gdouble) (_tmp15_ - 1), (gdouble) 1);
-#line 407 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 412 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp16_ = self->priv->default_ctx;
-#line 407 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 412 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_fill (_tmp16_);
-#line 409 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 414 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp17_ = self->priv->default_ctx;
-#line 409 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 414 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_restore (_tmp17_);
-#line 3703 "EditingTools.c"
+#line 3712 "EditingTools.c"
}
@@ -3715,37 +3724,37 @@ void editing_tools_photo_canvas_draw_circle (EditingToolsPhotoCanvas* self, cair
cairo_t* _tmp6_ = NULL;
gint _tmp7_ = 0;
cairo_t* _tmp8_ = NULL;
-#line 412 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 417 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_PHOTO_CANVAS (self));
-#line 412 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 417 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (ctx != NULL);
-#line 414 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 419 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = active_center_x;
-#line 414 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 419 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = self->priv->scaled_position;
-#line 414 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 419 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = _tmp1_.x;
-#line 414 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 419 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
center_x = _tmp0_ + _tmp2_;
-#line 415 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 420 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = active_center_y;
-#line 415 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 420 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = self->priv->scaled_position;
-#line 415 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 420 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = _tmp4_.y;
-#line 415 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 420 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
center_y = _tmp3_ + _tmp5_;
-#line 417 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 422 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = ctx;
-#line 417 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 422 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = radius;
-#line 417 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 422 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_arc (_tmp6_, (gdouble) center_x, (gdouble) center_y, (gdouble) _tmp7_, (gdouble) 0, 2 * G_PI);
-#line 418 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 423 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = ctx;
-#line 418 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 423 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_stroke (_tmp8_);
-#line 3749 "EditingTools.c"
+#line 3758 "EditingTools.c"
}
@@ -3768,57 +3777,57 @@ void editing_tools_photo_canvas_erase_vertical_line (EditingToolsPhotoCanvas* se
gint _tmp15_ = 0;
cairo_t* _tmp16_ = NULL;
cairo_t* _tmp17_ = NULL;
-#line 421 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 426 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_PHOTO_CANVAS (self));
-#line 422 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 427 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = self->priv->default_ctx;
-#line 422 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 427 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_save (_tmp0_);
-#line 428 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 433 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = self->priv->default_ctx;
-#line 428 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 433 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_set_operator (_tmp1_, CAIRO_OPERATOR_SOURCE);
-#line 429 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 434 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = self->priv->default_ctx;
-#line 429 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 434 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = self->priv->scaled;
-#line 429 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 434 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = self->priv->scaled_position;
-#line 429 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 434 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = _tmp4_.x;
-#line 429 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 434 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = self->priv->scaled_position;
-#line 429 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 434 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = _tmp6_.y;
-#line 429 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 434 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_set_source_surface (_tmp2_, _tmp3_, (gdouble) _tmp5_, (gdouble) _tmp7_);
-#line 430 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 435 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = self->priv->default_ctx;
-#line 430 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 435 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = self->priv->scaled_position;
-#line 430 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 435 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp10_ = _tmp9_.x;
-#line 430 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 435 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp11_ = x;
-#line 430 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 435 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp12_ = self->priv->scaled_position;
-#line 430 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 435 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp13_ = _tmp12_.y;
-#line 430 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 435 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp14_ = y;
-#line 430 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 435 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp15_ = height;
-#line 430 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 435 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_rectangle (_tmp8_, (gdouble) (_tmp10_ + _tmp11_), (gdouble) (_tmp13_ + _tmp14_), (gdouble) 1, (gdouble) _tmp15_);
-#line 432 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 437 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp16_ = self->priv->default_ctx;
-#line 432 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 437 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_fill (_tmp16_);
-#line 434 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 439 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp17_ = self->priv->default_ctx;
-#line 434 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 439 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_restore (_tmp17_);
-#line 3822 "EditingTools.c"
+#line 3831 "EditingTools.c"
}
@@ -3843,59 +3852,59 @@ void editing_tools_photo_canvas_erase_box (EditingToolsPhotoCanvas* self, Box* b
Box _tmp17_ = {0};
gint _tmp18_ = 0;
gint _tmp19_ = 0;
-#line 437 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 442 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_PHOTO_CANVAS (self));
-#line 437 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 442 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (box != NULL);
-#line 438 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 443 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = *box;
-#line 438 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 443 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = _tmp0_.left;
-#line 438 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 443 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = *box;
-#line 438 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 443 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = _tmp2_.top;
-#line 438 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 443 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = box_get_width (box);
-#line 438 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 443 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_photo_canvas_erase_horizontal_line (self, _tmp1_, _tmp3_, _tmp4_);
-#line 439 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 444 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = *box;
-#line 439 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 444 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = _tmp5_.left;
-#line 439 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 444 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = *box;
-#line 439 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 444 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = _tmp7_.bottom;
-#line 439 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 444 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = box_get_width (box);
-#line 439 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 444 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_photo_canvas_erase_horizontal_line (self, _tmp6_, _tmp8_, _tmp9_);
-#line 441 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 446 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp10_ = *box;
-#line 441 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 446 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp11_ = _tmp10_.left;
-#line 441 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 446 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp12_ = *box;
-#line 441 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 446 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp13_ = _tmp12_.top;
-#line 441 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 446 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp14_ = box_get_height (box);
-#line 441 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 446 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_photo_canvas_erase_vertical_line (self, _tmp11_, _tmp13_, _tmp14_);
-#line 442 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 447 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp15_ = *box;
-#line 442 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 447 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp16_ = _tmp15_.right;
-#line 442 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 447 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp17_ = *box;
-#line 442 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 447 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp18_ = _tmp17_.top;
-#line 442 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 447 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp19_ = box_get_height (box);
-#line 442 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 447 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_photo_canvas_erase_vertical_line (self, _tmp16_, _tmp18_, _tmp19_);
-#line 3899 "EditingTools.c"
+#line 3908 "EditingTools.c"
}
@@ -3910,37 +3919,37 @@ void editing_tools_photo_canvas_invalidate_area (EditingToolsPhotoCanvas* self,
gint _tmp6_ = 0;
GdkWindow* _tmp7_ = NULL;
GdkRectangle _tmp8_ = {0};
-#line 445 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 450 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_PHOTO_CANVAS (self));
-#line 445 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 450 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (area != NULL);
-#line 446 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 451 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
box_get_rectangle (area, &_tmp0_);
-#line 446 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 451 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
rect = _tmp0_;
-#line 447 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 452 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = rect.x;
-#line 447 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 452 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = self->priv->scaled_position;
-#line 447 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 452 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = _tmp2_.x;
-#line 447 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 452 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
rect.x = _tmp1_ + _tmp3_;
-#line 448 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 453 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = rect.y;
-#line 448 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 453 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = self->priv->scaled_position;
-#line 448 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 453 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = _tmp5_.y;
-#line 448 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 453 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
rect.y = _tmp4_ + _tmp6_;
-#line 450 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 455 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = self->priv->drawing_window;
-#line 450 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 455 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = rect;
-#line 450 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 455 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gdk_window_invalidate_rect (_tmp7_, &_tmp8_, FALSE);
-#line 3944 "EditingTools.c"
+#line 3953 "EditingTools.c"
}
@@ -3957,47 +3966,47 @@ static cairo_surface_t* editing_tools_photo_canvas_pixbuf_to_surface (EditingToo
cairo_t* ctx = NULL;
cairo_t* _tmp7_ = NULL;
GdkPixbuf* _tmp8_ = NULL;
-#line 453 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 458 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (EDITING_TOOLS_IS_PHOTO_CANVAS (self), NULL);
-#line 453 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 458 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (default_ctx != NULL, NULL);
-#line 453 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 458 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (GDK_IS_PIXBUF (pixbuf), NULL);
-#line 453 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 458 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (pos != NULL, NULL);
-#line 455 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 460 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = default_ctx;
-#line 455 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 460 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = cairo_get_target (_tmp0_);
-#line 455 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 460 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = *pos;
-#line 455 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 460 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = _tmp2_.width;
-#line 455 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 460 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = *pos;
-#line 455 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 460 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = _tmp4_.height;
-#line 455 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 460 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = cairo_surface_create_similar (_tmp1_, CAIRO_CONTENT_COLOR_ALPHA, _tmp3_, _tmp5_);
-#line 455 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 460 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
surface = _tmp6_;
-#line 457 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 462 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = cairo_create (surface);
-#line 457 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 462 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
ctx = _tmp7_;
-#line 458 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 463 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = pixbuf;
-#line 458 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 463 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gdk_cairo_set_source_pixbuf (ctx, _tmp8_, (gdouble) 0, (gdouble) 0);
-#line 459 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_paint (ctx);
-#line 460 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 465 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
result = surface;
-#line 460 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 465 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_cairo_destroy0 (ctx);
-#line 460 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 465 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return result;
-#line 4001 "EditingTools.c"
+#line 4010 "EditingTools.c"
}
@@ -4008,27 +4017,27 @@ static void g_cclosure_user_marshal_VOID__POINTER_BOXED (GClosure * closure, GVa
register gpointer data1;
register gpointer data2;
cc = (GCClosure *) closure;
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (n_param_values == 3);
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (G_CCLOSURE_SWAP_DATA (closure)) {
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
data1 = closure->data;
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
data2 = param_values->data[0].v_pointer;
-#line 4020 "EditingTools.c"
+#line 4029 "EditingTools.c"
} else {
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
data1 = param_values->data[0].v_pointer;
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
data2 = closure->data;
-#line 4026 "EditingTools.c"
+#line 4035 "EditingTools.c"
}
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
callback = (GMarshalFunc_VOID__POINTER_BOXED) (marshal_data ? marshal_data : cc->callback);
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
callback (data1, g_value_get_pointer (param_values + 1), g_value_get_boxed (param_values + 2), data2);
-#line 4032 "EditingTools.c"
+#line 4041 "EditingTools.c"
}
@@ -4039,255 +4048,255 @@ static void g_cclosure_user_marshal_VOID__BOXED_OBJECT_BOXED (GClosure * closure
register gpointer data1;
register gpointer data2;
cc = (GCClosure *) closure;
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (n_param_values == 4);
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (G_CCLOSURE_SWAP_DATA (closure)) {
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
data1 = closure->data;
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
data2 = param_values->data[0].v_pointer;
-#line 4051 "EditingTools.c"
+#line 4060 "EditingTools.c"
} else {
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
data1 = param_values->data[0].v_pointer;
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
data2 = closure->data;
-#line 4057 "EditingTools.c"
+#line 4066 "EditingTools.c"
}
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
callback = (GMarshalFunc_VOID__BOXED_OBJECT_BOXED) (marshal_data ? marshal_data : cc->callback);
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
callback (data1, g_value_get_boxed (param_values + 1), g_value_get_object (param_values + 2), g_value_get_boxed (param_values + 3), data2);
-#line 4063 "EditingTools.c"
+#line 4072 "EditingTools.c"
}
static void editing_tools_value_photo_canvas_init (GValue* value) {
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
value->data[0].v_pointer = NULL;
-#line 4070 "EditingTools.c"
+#line 4079 "EditingTools.c"
}
static void editing_tools_value_photo_canvas_free_value (GValue* value) {
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (value->data[0].v_pointer) {
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_photo_canvas_unref (value->data[0].v_pointer);
-#line 4079 "EditingTools.c"
+#line 4088 "EditingTools.c"
}
}
static void editing_tools_value_photo_canvas_copy_value (const GValue* src_value, GValue* dest_value) {
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (src_value->data[0].v_pointer) {
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
dest_value->data[0].v_pointer = editing_tools_photo_canvas_ref (src_value->data[0].v_pointer);
-#line 4089 "EditingTools.c"
+#line 4098 "EditingTools.c"
} else {
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
dest_value->data[0].v_pointer = NULL;
-#line 4093 "EditingTools.c"
+#line 4102 "EditingTools.c"
}
}
static gpointer editing_tools_value_photo_canvas_peek_pointer (const GValue* value) {
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return value->data[0].v_pointer;
-#line 4101 "EditingTools.c"
+#line 4110 "EditingTools.c"
}
static gchar* editing_tools_value_photo_canvas_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (collect_values[0].v_pointer) {
-#line 4108 "EditingTools.c"
+#line 4117 "EditingTools.c"
EditingToolsPhotoCanvas* object;
object = collect_values[0].v_pointer;
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (object->parent_instance.g_class == NULL) {
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 4115 "EditingTools.c"
+#line 4124 "EditingTools.c"
} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.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 4119 "EditingTools.c"
+#line 4128 "EditingTools.c"
}
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
value->data[0].v_pointer = editing_tools_photo_canvas_ref (object);
-#line 4123 "EditingTools.c"
+#line 4132 "EditingTools.c"
} else {
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
value->data[0].v_pointer = NULL;
-#line 4127 "EditingTools.c"
+#line 4136 "EditingTools.c"
}
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return NULL;
-#line 4131 "EditingTools.c"
+#line 4140 "EditingTools.c"
}
static gchar* editing_tools_value_photo_canvas_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
EditingToolsPhotoCanvas** object_p;
object_p = collect_values[0].v_pointer;
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (!object_p) {
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
-#line 4142 "EditingTools.c"
+#line 4151 "EditingTools.c"
}
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (!value->data[0].v_pointer) {
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*object_p = NULL;
-#line 4148 "EditingTools.c"
+#line 4157 "EditingTools.c"
} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*object_p = value->data[0].v_pointer;
-#line 4152 "EditingTools.c"
+#line 4161 "EditingTools.c"
} else {
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*object_p = editing_tools_photo_canvas_ref (value->data[0].v_pointer);
-#line 4156 "EditingTools.c"
+#line 4165 "EditingTools.c"
}
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return NULL;
-#line 4160 "EditingTools.c"
+#line 4169 "EditingTools.c"
}
GParamSpec* editing_tools_param_spec_photo_canvas (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) {
EditingToolsParamSpecPhotoCanvas* spec;
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (g_type_is_a (object_type, EDITING_TOOLS_TYPE_PHOTO_CANVAS), NULL);
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags);
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
G_PARAM_SPEC (spec)->value_type = object_type;
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return G_PARAM_SPEC (spec);
-#line 4174 "EditingTools.c"
+#line 4183 "EditingTools.c"
}
gpointer editing_tools_value_get_photo_canvas (const GValue* value) {
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, EDITING_TOOLS_TYPE_PHOTO_CANVAS), NULL);
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return value->data[0].v_pointer;
-#line 4183 "EditingTools.c"
+#line 4192 "EditingTools.c"
}
void editing_tools_value_set_photo_canvas (GValue* value, gpointer v_object) {
EditingToolsPhotoCanvas* old;
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, EDITING_TOOLS_TYPE_PHOTO_CANVAS));
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
old = value->data[0].v_pointer;
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (v_object) {
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, EDITING_TOOLS_TYPE_PHOTO_CANVAS));
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
value->data[0].v_pointer = v_object;
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_photo_canvas_ref (value->data[0].v_pointer);
-#line 4203 "EditingTools.c"
+#line 4212 "EditingTools.c"
} else {
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
value->data[0].v_pointer = NULL;
-#line 4207 "EditingTools.c"
+#line 4216 "EditingTools.c"
}
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (old) {
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_photo_canvas_unref (old);
-#line 4213 "EditingTools.c"
+#line 4222 "EditingTools.c"
}
}
void editing_tools_value_take_photo_canvas (GValue* value, gpointer v_object) {
EditingToolsPhotoCanvas* old;
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, EDITING_TOOLS_TYPE_PHOTO_CANVAS));
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
old = value->data[0].v_pointer;
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (v_object) {
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, EDITING_TOOLS_TYPE_PHOTO_CANVAS));
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
value->data[0].v_pointer = v_object;
-#line 4232 "EditingTools.c"
+#line 4241 "EditingTools.c"
} else {
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
value->data[0].v_pointer = NULL;
-#line 4236 "EditingTools.c"
+#line 4245 "EditingTools.c"
}
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (old) {
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_photo_canvas_unref (old);
-#line 4242 "EditingTools.c"
+#line 4251 "EditingTools.c"
}
}
static void editing_tools_photo_canvas_class_init (EditingToolsPhotoCanvasClass * klass) {
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_photo_canvas_parent_class = g_type_class_peek_parent (klass);
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
((EditingToolsPhotoCanvasClass *) klass)->finalize = editing_tools_photo_canvas_finalize;
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_type_class_add_private (klass, sizeof (EditingToolsPhotoCanvasPrivate));
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
((EditingToolsPhotoCanvasClass *) klass)->repaint = editing_tools_photo_canvas_real_repaint;
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_new ("new_surface", EDITING_TOOLS_TYPE_PHOTO_CANVAS, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_user_marshal_VOID__POINTER_BOXED, G_TYPE_NONE, 2, G_TYPE_POINTER, TYPE_DIMENSIONS);
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
- g_signal_new ("resized_scaled_pixbuf", EDITING_TOOLS_TYPE_PHOTO_CANVAS, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_user_marshal_VOID__BOXED_OBJECT_BOXED, G_TYPE_NONE, 3, TYPE_DIMENSIONS, gdk_pixbuf_get_type (), gdk_rectangle_get_type ());
-#line 4260 "EditingTools.c"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+ g_signal_new ("resized_scaled_pixbuf", EDITING_TOOLS_TYPE_PHOTO_CANVAS, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_user_marshal_VOID__BOXED_OBJECT_BOXED, G_TYPE_NONE, 3, TYPE_DIMENSIONS, GDK_TYPE_PIXBUF, GDK_TYPE_RECTANGLE);
+#line 4269 "EditingTools.c"
}
static void editing_tools_photo_canvas_instance_init (EditingToolsPhotoCanvas * self) {
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv = EDITING_TOOLS_PHOTO_CANVAS_GET_PRIVATE (self);
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->ref_count = 1;
-#line 4269 "EditingTools.c"
+#line 4278 "EditingTools.c"
}
static void editing_tools_photo_canvas_finalize (EditingToolsPhotoCanvas* obj) {
EditingToolsPhotoCanvas * self;
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, EDITING_TOOLS_TYPE_PHOTO_CANVAS, EditingToolsPhotoCanvas);
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_handlers_destroy (self);
-#line 99 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 104 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (self->priv->container);
-#line 100 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 105 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (self->priv->drawing_window);
-#line 101 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 106 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (self->priv->photo);
-#line 102 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 107 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_cairo_destroy0 (self->priv->default_ctx);
-#line 104 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 109 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_cairo_surface_destroy0 (self->priv->scaled);
-#line 105 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 110 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (self->priv->scaled_pixbuf);
-#line 4291 "EditingTools.c"
+#line 4300 "EditingTools.c"
}
@@ -4308,24 +4317,24 @@ GType editing_tools_photo_canvas_get_type (void) {
gpointer editing_tools_photo_canvas_ref (gpointer instance) {
EditingToolsPhotoCanvas* self;
self = instance;
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_atomic_int_inc (&self->ref_count);
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return instance;
-#line 4316 "EditingTools.c"
+#line 4325 "EditingTools.c"
}
void editing_tools_photo_canvas_unref (gpointer instance) {
EditingToolsPhotoCanvas* self;
self = instance;
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (g_atomic_int_dec_and_test (&self->ref_count)) {
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
EDITING_TOOLS_PHOTO_CANVAS_GET_CLASS (self)->finalize (self);
-#line 98 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_type_free_instance ((GTypeInstance *) self);
-#line 4329 "EditingTools.c"
+#line 4338 "EditingTools.c"
}
}
@@ -4334,37 +4343,37 @@ EditingToolsEditingTool* editing_tools_editing_tool_construct (GType object_type
EditingToolsEditingTool* self = NULL;
const gchar* _tmp0_ = NULL;
gchar* _tmp1_ = NULL;
-#line 485 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 490 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (name != NULL, NULL);
-#line 485 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 490 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self = (EditingToolsEditingTool*) g_type_create_instance (object_type);
-#line 486 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 491 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = name;
-#line 486 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 491 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = g_strdup (_tmp0_);
-#line 486 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 491 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_free0 (self->name);
-#line 486 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 491 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->name = _tmp1_;
-#line 485 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 490 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return self;
-#line 4352 "EditingTools.c"
+#line 4361 "EditingTools.c"
}
static gpointer _editing_tools_photo_canvas_ref0 (gpointer self) {
-#line 498 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 503 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return self ? editing_tools_photo_canvas_ref (self) : NULL;
-#line 4359 "EditingTools.c"
+#line 4368 "EditingTools.c"
}
static gboolean _editing_tools_editing_tool_on_keypress_gtk_widget_key_press_event (GtkWidget* _sender, GdkEventKey* event, gpointer self) {
gboolean result;
result = editing_tools_editing_tool_on_keypress ((EditingToolsEditingTool*) self, event);
-#line 502 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 507 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return result;
-#line 4368 "EditingTools.c"
+#line 4377 "EditingTools.c"
}
@@ -4375,54 +4384,54 @@ static void editing_tools_editing_tool_real_activate (EditingToolsEditingTool* s
EditingToolsPhotoCanvas* _tmp3_ = NULL;
EditingToolsEditingToolWindow* _tmp4_ = NULL;
EditingToolsEditingToolWindow* _tmp5_ = NULL;
-#line 493 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 498 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_PHOTO_CANVAS (canvas));
-#line 495 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 500 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = self->canvas;
-#line 495 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 500 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_vala_assert (_tmp0_ == NULL, "this.canvas == null");
-#line 496 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 501 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = self->priv->tool_window;
-#line 496 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 501 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_vala_assert (_tmp1_ == NULL, "tool_window == null");
-#line 498 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 503 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = canvas;
-#line 498 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 503 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = _editing_tools_photo_canvas_ref0 (_tmp2_);
-#line 498 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 503 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_editing_tools_photo_canvas_unref0 (self->canvas);
-#line 498 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 503 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->canvas = _tmp3_;
-#line 500 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 505 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = editing_tools_editing_tool_get_tool_window (self);
-#line 500 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 505 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (self->priv->tool_window);
-#line 500 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 505 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->tool_window = _tmp4_;
-#line 501 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 506 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = self->priv->tool_window;
-#line 501 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 506 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp5_ != NULL) {
-#line 4407 "EditingTools.c"
+#line 4416 "EditingTools.c"
EditingToolsEditingToolWindow* _tmp6_ = NULL;
-#line 502 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 507 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = self->priv->tool_window;
-#line 502 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 507 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, gtk_widget_get_type (), GtkWidget), "key-press-event", (GCallback) _editing_tools_editing_tool_on_keypress_gtk_widget_key_press_event, self);
-#line 4413 "EditingTools.c"
+#line 4422 "EditingTools.c"
}
-#line 504 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 509 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_emit_by_name (self, "activated");
-#line 4417 "EditingTools.c"
+#line 4426 "EditingTools.c"
}
void editing_tools_editing_tool_activate (EditingToolsEditingTool* self, EditingToolsPhotoCanvas* canvas) {
-#line 493 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 498 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_EDITING_TOOL (self));
-#line 493 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 498 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
EDITING_TOOLS_EDITING_TOOL_GET_CLASS (self)->activate (self, canvas);
-#line 4426 "EditingTools.c"
+#line 4435 "EditingTools.c"
}
@@ -4430,129 +4439,129 @@ static void editing_tools_editing_tool_real_deactivate (EditingToolsEditingTool*
gboolean _tmp0_ = FALSE;
EditingToolsPhotoCanvas* _tmp1_ = NULL;
EditingToolsEditingToolWindow* _tmp3_ = NULL;
-#line 510 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 515 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = self->canvas;
-#line 510 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 515 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp1_ == NULL) {
-#line 4438 "EditingTools.c"
+#line 4447 "EditingTools.c"
EditingToolsEditingToolWindow* _tmp2_ = NULL;
-#line 510 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 515 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = self->priv->tool_window;
-#line 510 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 515 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = _tmp2_ == NULL;
-#line 4444 "EditingTools.c"
+#line 4453 "EditingTools.c"
} else {
-#line 510 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 515 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = FALSE;
-#line 4448 "EditingTools.c"
+#line 4457 "EditingTools.c"
}
-#line 510 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 515 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp0_) {
-#line 511 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 516 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return;
-#line 4454 "EditingTools.c"
+#line 4463 "EditingTools.c"
}
-#line 513 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 518 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_editing_tools_photo_canvas_unref0 (self->canvas);
-#line 513 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 518 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->canvas = NULL;
-#line 515 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 520 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = self->priv->tool_window;
-#line 515 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 520 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp3_ != NULL) {
-#line 4464 "EditingTools.c"
+#line 4473 "EditingTools.c"
EditingToolsEditingToolWindow* _tmp4_ = NULL;
guint _tmp5_ = 0U;
-#line 516 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 521 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = self->priv->tool_window;
-#line 516 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 521 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_parse_name ("key-press-event", gtk_widget_get_type (), &_tmp5_, NULL, FALSE);
-#line 516 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 521 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_widget_get_type (), GtkWidget), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp5_, 0, NULL, (GCallback) _editing_tools_editing_tool_on_keypress_gtk_widget_key_press_event, self);
-#line 517 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 522 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (self->priv->tool_window);
-#line 517 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 522 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->tool_window = NULL;
-#line 4477 "EditingTools.c"
+#line 4486 "EditingTools.c"
}
-#line 520 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 525 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_emit_by_name (self, "deactivated");
-#line 4481 "EditingTools.c"
+#line 4490 "EditingTools.c"
}
void editing_tools_editing_tool_deactivate (EditingToolsEditingTool* self) {
-#line 508 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 513 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_EDITING_TOOL (self));
-#line 508 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 513 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
EDITING_TOOLS_EDITING_TOOL_GET_CLASS (self)->deactivate (self);
-#line 4490 "EditingTools.c"
+#line 4499 "EditingTools.c"
}
gboolean editing_tools_editing_tool_is_activated (EditingToolsEditingTool* self) {
gboolean result = FALSE;
EditingToolsPhotoCanvas* _tmp0_ = NULL;
-#line 523 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 528 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (EDITING_TOOLS_IS_EDITING_TOOL (self), FALSE);
-#line 524 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 529 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = self->canvas;
-#line 524 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 529 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
result = _tmp0_ != NULL;
-#line 524 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 529 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return result;
-#line 4505 "EditingTools.c"
+#line 4514 "EditingTools.c"
}
static EditingToolsEditingToolWindow* editing_tools_editing_tool_real_get_tool_window (EditingToolsEditingTool* self) {
EditingToolsEditingToolWindow* result = NULL;
-#line 528 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 533 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
result = NULL;
-#line 528 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 533 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return result;
-#line 4515 "EditingTools.c"
+#line 4524 "EditingTools.c"
}
EditingToolsEditingToolWindow* editing_tools_editing_tool_get_tool_window (EditingToolsEditingTool* self) {
-#line 527 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 532 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (EDITING_TOOLS_IS_EDITING_TOOL (self), NULL);
-#line 527 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 532 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return EDITING_TOOLS_EDITING_TOOL_GET_CLASS (self)->get_tool_window (self);
-#line 4524 "EditingTools.c"
+#line 4533 "EditingTools.c"
}
static GdkPixbuf* editing_tools_editing_tool_real_get_display_pixbuf (EditingToolsEditingTool* self, Scaling* scaling, Photo* photo, Dimensions* max_dim, GError** error) {
Dimensions _vala_max_dim = {0};
GdkPixbuf* result = NULL;
-#line 542 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 547 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (scaling != NULL, NULL);
-#line 542 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 547 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (IS_PHOTO (photo), NULL);
-#line 544 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 549 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
dimensions_init (&_vala_max_dim, 0, 0);
-#line 546 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 551 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
result = NULL;
-#line 546 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 551 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (max_dim) {
-#line 546 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 551 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*max_dim = _vala_max_dim;
-#line 4543 "EditingTools.c"
+#line 4552 "EditingTools.c"
}
-#line 546 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 551 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return result;
-#line 4547 "EditingTools.c"
+#line 4556 "EditingTools.c"
}
GdkPixbuf* editing_tools_editing_tool_get_display_pixbuf (EditingToolsEditingTool* self, Scaling* scaling, Photo* photo, Dimensions* max_dim, GError** error) {
-#line 542 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 547 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (EDITING_TOOLS_IS_EDITING_TOOL (self), NULL);
-#line 542 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 547 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return EDITING_TOOLS_EDITING_TOOL_GET_CLASS (self)->get_display_pixbuf (self, scaling, photo, max_dim, error);
-#line 4556 "EditingTools.c"
+#line 4565 "EditingTools.c"
}
@@ -4561,11 +4570,11 @@ static void editing_tools_editing_tool_real_on_left_click (EditingToolsEditingTo
void editing_tools_editing_tool_on_left_click (EditingToolsEditingTool* self, gint x, gint y) {
-#line 549 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 554 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_EDITING_TOOL (self));
-#line 549 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 554 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
EDITING_TOOLS_EDITING_TOOL_GET_CLASS (self)->on_left_click (self, x, y);
-#line 4569 "EditingTools.c"
+#line 4578 "EditingTools.c"
}
@@ -4574,11 +4583,11 @@ static void editing_tools_editing_tool_real_on_left_released (EditingToolsEditin
void editing_tools_editing_tool_on_left_released (EditingToolsEditingTool* self, gint x, gint y) {
-#line 552 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 557 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_EDITING_TOOL (self));
-#line 552 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 557 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
EDITING_TOOLS_EDITING_TOOL_GET_CLASS (self)->on_left_released (self, x, y);
-#line 4582 "EditingTools.c"
+#line 4591 "EditingTools.c"
}
@@ -4587,30 +4596,30 @@ static void editing_tools_editing_tool_real_on_motion (EditingToolsEditingTool*
void editing_tools_editing_tool_on_motion (EditingToolsEditingTool* self, gint x, gint y, GdkModifierType mask) {
-#line 555 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 560 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_EDITING_TOOL (self));
-#line 555 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 560 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
EDITING_TOOLS_EDITING_TOOL_GET_CLASS (self)->on_motion (self, x, y, mask);
-#line 4595 "EditingTools.c"
+#line 4604 "EditingTools.c"
}
static gboolean editing_tools_editing_tool_real_on_leave_notify_event (EditingToolsEditingTool* self) {
gboolean result = FALSE;
-#line 559 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 564 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
result = FALSE;
-#line 559 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 564 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return result;
-#line 4605 "EditingTools.c"
+#line 4614 "EditingTools.c"
}
gboolean editing_tools_editing_tool_on_leave_notify_event (EditingToolsEditingTool* self) {
-#line 558 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 563 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (EDITING_TOOLS_IS_EDITING_TOOL (self), FALSE);
-#line 558 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 563 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return EDITING_TOOLS_EDITING_TOOL_GET_CLASS (self)->on_leave_notify_event (self);
-#line 4614 "EditingTools.c"
+#line 4623 "EditingTools.c"
}
@@ -4619,63 +4628,63 @@ static gboolean editing_tools_editing_tool_real_on_keypress (EditingToolsEditing
GdkEventKey* _tmp0_ = NULL;
guint _tmp1_ = 0U;
const gchar* _tmp2_ = NULL;
-#line 562 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 567 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 564 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 569 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = event;
-#line 564 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 569 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = _tmp0_->keyval;
-#line 564 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 569 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = gdk_keyval_name (_tmp1_);
-#line 564 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 569 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (g_strcmp0 (_tmp2_, "Escape") == 0) {
-#line 565 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 570 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_editing_tool_notify_cancel (self);
-#line 567 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 572 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
result = TRUE;
-#line 567 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 572 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return result;
-#line 4639 "EditingTools.c"
+#line 4648 "EditingTools.c"
}
-#line 570 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 575 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
result = FALSE;
-#line 570 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 575 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return result;
-#line 4645 "EditingTools.c"
+#line 4654 "EditingTools.c"
}
gboolean editing_tools_editing_tool_on_keypress (EditingToolsEditingTool* self, GdkEventKey* event) {
-#line 562 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 567 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (EDITING_TOOLS_IS_EDITING_TOOL (self), FALSE);
-#line 562 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 567 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return EDITING_TOOLS_EDITING_TOOL_GET_CLASS (self)->on_keypress (self, event);
-#line 4654 "EditingTools.c"
+#line 4663 "EditingTools.c"
}
static void editing_tools_editing_tool_real_paint (EditingToolsEditingTool* self, cairo_t* ctx) {
-#line 573 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 578 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (ctx != NULL);
-#line 4661 "EditingTools.c"
+#line 4670 "EditingTools.c"
}
void editing_tools_editing_tool_paint (EditingToolsEditingTool* self, cairo_t* ctx) {
-#line 573 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 578 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_EDITING_TOOL (self));
-#line 573 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 578 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
EDITING_TOOLS_EDITING_TOOL_GET_CLASS (self)->paint (self, ctx);
-#line 4670 "EditingTools.c"
+#line 4679 "EditingTools.c"
}
void editing_tools_editing_tool_notify_cancel (EditingToolsEditingTool* self) {
-#line 577 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 582 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_EDITING_TOOL (self));
-#line 578 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 583 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_emit_by_name (self, "cancelled");
-#line 4679 "EditingTools.c"
+#line 4688 "EditingTools.c"
}
@@ -4686,279 +4695,279 @@ static void g_cclosure_user_marshal_VOID__OBJECT_OBJECT_BOXED_BOOLEAN (GClosure
register gpointer data1;
register gpointer data2;
cc = (GCClosure *) closure;
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (n_param_values == 5);
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (G_CCLOSURE_SWAP_DATA (closure)) {
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
data1 = closure->data;
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
data2 = param_values->data[0].v_pointer;
-#line 4698 "EditingTools.c"
+#line 4707 "EditingTools.c"
} else {
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
data1 = param_values->data[0].v_pointer;
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
data2 = closure->data;
-#line 4704 "EditingTools.c"
+#line 4713 "EditingTools.c"
}
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
callback = (GMarshalFunc_VOID__OBJECT_OBJECT_BOXED_BOOLEAN) (marshal_data ? marshal_data : cc->callback);
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
callback (data1, g_value_get_object (param_values + 1), g_value_get_object (param_values + 2), g_value_get_boxed (param_values + 3), g_value_get_boolean (param_values + 4), data2);
-#line 4710 "EditingTools.c"
+#line 4719 "EditingTools.c"
}
static void editing_tools_value_editing_tool_init (GValue* value) {
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
value->data[0].v_pointer = NULL;
-#line 4717 "EditingTools.c"
+#line 4726 "EditingTools.c"
}
static void editing_tools_value_editing_tool_free_value (GValue* value) {
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (value->data[0].v_pointer) {
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_editing_tool_unref (value->data[0].v_pointer);
-#line 4726 "EditingTools.c"
+#line 4735 "EditingTools.c"
}
}
static void editing_tools_value_editing_tool_copy_value (const GValue* src_value, GValue* dest_value) {
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (src_value->data[0].v_pointer) {
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
dest_value->data[0].v_pointer = editing_tools_editing_tool_ref (src_value->data[0].v_pointer);
-#line 4736 "EditingTools.c"
+#line 4745 "EditingTools.c"
} else {
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
dest_value->data[0].v_pointer = NULL;
-#line 4740 "EditingTools.c"
+#line 4749 "EditingTools.c"
}
}
static gpointer editing_tools_value_editing_tool_peek_pointer (const GValue* value) {
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return value->data[0].v_pointer;
-#line 4748 "EditingTools.c"
+#line 4757 "EditingTools.c"
}
static gchar* editing_tools_value_editing_tool_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (collect_values[0].v_pointer) {
-#line 4755 "EditingTools.c"
+#line 4764 "EditingTools.c"
EditingToolsEditingTool* object;
object = collect_values[0].v_pointer;
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (object->parent_instance.g_class == NULL) {
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 4762 "EditingTools.c"
+#line 4771 "EditingTools.c"
} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.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 4766 "EditingTools.c"
+#line 4775 "EditingTools.c"
}
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
value->data[0].v_pointer = editing_tools_editing_tool_ref (object);
-#line 4770 "EditingTools.c"
+#line 4779 "EditingTools.c"
} else {
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
value->data[0].v_pointer = NULL;
-#line 4774 "EditingTools.c"
+#line 4783 "EditingTools.c"
}
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return NULL;
-#line 4778 "EditingTools.c"
+#line 4787 "EditingTools.c"
}
static gchar* editing_tools_value_editing_tool_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
EditingToolsEditingTool** object_p;
object_p = collect_values[0].v_pointer;
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (!object_p) {
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
-#line 4789 "EditingTools.c"
+#line 4798 "EditingTools.c"
}
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (!value->data[0].v_pointer) {
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*object_p = NULL;
-#line 4795 "EditingTools.c"
+#line 4804 "EditingTools.c"
} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*object_p = value->data[0].v_pointer;
-#line 4799 "EditingTools.c"
+#line 4808 "EditingTools.c"
} else {
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*object_p = editing_tools_editing_tool_ref (value->data[0].v_pointer);
-#line 4803 "EditingTools.c"
+#line 4812 "EditingTools.c"
}
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return NULL;
-#line 4807 "EditingTools.c"
+#line 4816 "EditingTools.c"
}
GParamSpec* editing_tools_param_spec_editing_tool (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) {
EditingToolsParamSpecEditingTool* spec;
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (g_type_is_a (object_type, EDITING_TOOLS_TYPE_EDITING_TOOL), NULL);
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags);
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
G_PARAM_SPEC (spec)->value_type = object_type;
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return G_PARAM_SPEC (spec);
-#line 4821 "EditingTools.c"
+#line 4830 "EditingTools.c"
}
gpointer editing_tools_value_get_editing_tool (const GValue* value) {
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, EDITING_TOOLS_TYPE_EDITING_TOOL), NULL);
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return value->data[0].v_pointer;
-#line 4830 "EditingTools.c"
+#line 4839 "EditingTools.c"
}
void editing_tools_value_set_editing_tool (GValue* value, gpointer v_object) {
EditingToolsEditingTool* old;
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, EDITING_TOOLS_TYPE_EDITING_TOOL));
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
old = value->data[0].v_pointer;
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (v_object) {
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, EDITING_TOOLS_TYPE_EDITING_TOOL));
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
value->data[0].v_pointer = v_object;
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_editing_tool_ref (value->data[0].v_pointer);
-#line 4850 "EditingTools.c"
+#line 4859 "EditingTools.c"
} else {
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
value->data[0].v_pointer = NULL;
-#line 4854 "EditingTools.c"
+#line 4863 "EditingTools.c"
}
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (old) {
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_editing_tool_unref (old);
-#line 4860 "EditingTools.c"
+#line 4869 "EditingTools.c"
}
}
void editing_tools_value_take_editing_tool (GValue* value, gpointer v_object) {
EditingToolsEditingTool* old;
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, EDITING_TOOLS_TYPE_EDITING_TOOL));
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
old = value->data[0].v_pointer;
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (v_object) {
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, EDITING_TOOLS_TYPE_EDITING_TOOL));
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
value->data[0].v_pointer = v_object;
-#line 4879 "EditingTools.c"
+#line 4888 "EditingTools.c"
} else {
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
value->data[0].v_pointer = NULL;
-#line 4883 "EditingTools.c"
+#line 4892 "EditingTools.c"
}
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (old) {
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_editing_tool_unref (old);
-#line 4889 "EditingTools.c"
+#line 4898 "EditingTools.c"
}
}
static void editing_tools_editing_tool_class_init (EditingToolsEditingToolClass * klass) {
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_editing_tool_parent_class = g_type_class_peek_parent (klass);
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
((EditingToolsEditingToolClass *) klass)->finalize = editing_tools_editing_tool_finalize;
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_type_class_add_private (klass, sizeof (EditingToolsEditingToolPrivate));
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
((EditingToolsEditingToolClass *) klass)->activate = editing_tools_editing_tool_real_activate;
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
((EditingToolsEditingToolClass *) klass)->deactivate = editing_tools_editing_tool_real_deactivate;
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
((EditingToolsEditingToolClass *) klass)->get_tool_window = editing_tools_editing_tool_real_get_tool_window;
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
((EditingToolsEditingToolClass *) klass)->get_display_pixbuf = editing_tools_editing_tool_real_get_display_pixbuf;
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
((EditingToolsEditingToolClass *) klass)->on_left_click = editing_tools_editing_tool_real_on_left_click;
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
((EditingToolsEditingToolClass *) klass)->on_left_released = editing_tools_editing_tool_real_on_left_released;
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
((EditingToolsEditingToolClass *) klass)->on_motion = editing_tools_editing_tool_real_on_motion;
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
((EditingToolsEditingToolClass *) klass)->on_leave_notify_event = editing_tools_editing_tool_real_on_leave_notify_event;
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
((EditingToolsEditingToolClass *) klass)->on_keypress = editing_tools_editing_tool_real_on_keypress;
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
((EditingToolsEditingToolClass *) klass)->paint = editing_tools_editing_tool_real_paint;
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_new ("activated", EDITING_TOOLS_TYPE_EDITING_TOOL, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_new ("deactivated", EDITING_TOOLS_TYPE_EDITING_TOOL, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
- g_signal_new ("applied", EDITING_TOOLS_TYPE_EDITING_TOOL, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_user_marshal_VOID__OBJECT_OBJECT_BOXED_BOOLEAN, G_TYPE_NONE, 4, TYPE_COMMAND, gdk_pixbuf_get_type (), TYPE_DIMENSIONS, G_TYPE_BOOLEAN);
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+ g_signal_new ("applied", EDITING_TOOLS_TYPE_EDITING_TOOL, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_user_marshal_VOID__OBJECT_OBJECT_BOXED_BOOLEAN, G_TYPE_NONE, 4, TYPE_COMMAND, GDK_TYPE_PIXBUF, TYPE_DIMENSIONS, G_TYPE_BOOLEAN);
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_new ("cancelled", EDITING_TOOLS_TYPE_EDITING_TOOL, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_new ("aborted", EDITING_TOOLS_TYPE_EDITING_TOOL, G_SIGNAL_RUN_LAST, 0, NULL, NULL, g_cclosure_marshal_VOID__VOID, G_TYPE_NONE, 0);
-#line 4931 "EditingTools.c"
+#line 4940 "EditingTools.c"
}
static void editing_tools_editing_tool_instance_init (EditingToolsEditingTool * self) {
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv = EDITING_TOOLS_EDITING_TOOL_GET_PRIVATE (self);
-#line 465 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 470 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->canvas = NULL;
-#line 467 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 472 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->tool_window = NULL;
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->ref_count = 1;
-#line 4944 "EditingTools.c"
+#line 4953 "EditingTools.c"
}
static void editing_tools_editing_tool_finalize (EditingToolsEditingTool* obj) {
EditingToolsEditingTool * self;
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool);
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_handlers_destroy (self);
-#line 465 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 470 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_editing_tools_photo_canvas_unref0 (self->canvas);
-#line 467 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 472 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (self->priv->tool_window);
-#line 468 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 473 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_cairo_surface_destroy0 (self->surface);
-#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 474 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_free0 (self->name);
-#line 4962 "EditingTools.c"
+#line 4971 "EditingTools.c"
}
@@ -4979,24 +4988,24 @@ GType editing_tools_editing_tool_get_type (void) {
gpointer editing_tools_editing_tool_ref (gpointer instance) {
EditingToolsEditingTool* self;
self = instance;
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_atomic_int_inc (&self->ref_count);
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return instance;
-#line 4987 "EditingTools.c"
+#line 4996 "EditingTools.c"
}
void editing_tools_editing_tool_unref (gpointer instance) {
EditingToolsEditingTool* self;
self = instance;
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (g_atomic_int_dec_and_test (&self->ref_count)) {
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
EDITING_TOOLS_EDITING_TOOL_GET_CLASS (self)->finalize (self);
-#line 464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_type_free_instance ((GTypeInstance *) self);
-#line 5000 "EditingTools.c"
+#line 5009 "EditingTools.c"
}
}
@@ -5004,21 +5013,21 @@ void editing_tools_editing_tool_unref (gpointer instance) {
static EditingToolsCropToolReticleOrientation editing_tools_crop_tool_reticle_orientation_toggle (EditingToolsCropToolReticleOrientation self) {
EditingToolsCropToolReticleOrientation result = 0;
EditingToolsCropToolReticleOrientation _tmp0_ = 0;
-#line 632 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 637 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (self == EDITING_TOOLS_CROP_TOOL_RETICLE_ORIENTATION_LANDSCAPE) {
-#line 632 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 637 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = EDITING_TOOLS_CROP_TOOL_RETICLE_ORIENTATION_PORTRAIT;
-#line 5012 "EditingTools.c"
+#line 5021 "EditingTools.c"
} else {
-#line 633 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 638 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = EDITING_TOOLS_CROP_TOOL_RETICLE_ORIENTATION_LANDSCAPE;
-#line 5016 "EditingTools.c"
+#line 5025 "EditingTools.c"
}
-#line 632 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 637 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
result = _tmp0_;
-#line 632 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 637 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return result;
-#line 5022 "EditingTools.c"
+#line 5031 "EditingTools.c"
}
@@ -5048,31 +5057,31 @@ static GType editing_tools_crop_tool_constraint_mode_get_type (void) {
static EditingToolsCropTool* editing_tools_crop_tool_construct (GType object_type) {
EditingToolsCropTool* self = NULL;
-#line 733 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 738 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self = (EditingToolsCropTool*) editing_tools_editing_tool_construct (object_type, "CropTool");
-#line 732 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 737 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return self;
-#line 5056 "EditingTools.c"
+#line 5065 "EditingTools.c"
}
static EditingToolsCropTool* editing_tools_crop_tool_new (void) {
-#line 732 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 737 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return editing_tools_crop_tool_construct (EDITING_TOOLS_TYPE_CROP_TOOL);
-#line 5063 "EditingTools.c"
+#line 5072 "EditingTools.c"
}
EditingToolsCropTool* editing_tools_crop_tool_factory (void) {
EditingToolsCropTool* result = NULL;
EditingToolsCropTool* _tmp0_ = NULL;
-#line 737 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 742 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = editing_tools_crop_tool_new ();
-#line 737 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 742 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
result = _tmp0_;
-#line 737 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 742 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return result;
-#line 5076 "EditingTools.c"
+#line 5085 "EditingTools.c"
}
@@ -5085,537 +5094,537 @@ gboolean editing_tools_crop_tool_is_available (Photo* photo, Scaling* scaling) {
gboolean _tmp3_ = FALSE;
Dimensions _tmp4_ = {0};
gint _tmp5_ = 0;
-#line 740 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 745 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (IS_PHOTO (photo), FALSE);
-#line 740 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 745 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (scaling != NULL, FALSE);
-#line 741 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 746 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = photo;
-#line 741 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 746 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
photo_get_original_dimensions (_tmp0_, &_tmp1_);
-#line 741 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 746 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
scaling_get_scaled_dimensions (scaling, &_tmp1_, &_tmp2_);
-#line 741 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 746 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
dim = _tmp2_;
-#line 743 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 748 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = dim;
-#line 743 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 748 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = _tmp4_.width;
-#line 743 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 748 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp5_ > EDITING_TOOLS_CROP_TOOL_CROP_MIN_SIZE) {
-#line 5107 "EditingTools.c"
+#line 5116 "EditingTools.c"
Dimensions _tmp6_ = {0};
gint _tmp7_ = 0;
-#line 743 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 748 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = dim;
-#line 743 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 748 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = _tmp6_.height;
-#line 743 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 748 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = _tmp7_ > EDITING_TOOLS_CROP_TOOL_CROP_MIN_SIZE;
-#line 5116 "EditingTools.c"
+#line 5125 "EditingTools.c"
} else {
-#line 743 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 748 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = FALSE;
-#line 5120 "EditingTools.c"
+#line 5129 "EditingTools.c"
}
-#line 743 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 748 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
result = _tmp3_;
-#line 743 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 748 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return result;
-#line 5126 "EditingTools.c"
+#line 5135 "EditingTools.c"
}
static void _vala_array_add4 (EditingToolsCropToolConstraintDescription*** array, int* length, int* size, EditingToolsCropToolConstraintDescription* value) {
-#line 749 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
- if ((*length) == (*size)) {
-#line 749 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
- *size = (*size) ? (2 * (*size)) : 4;
-#line 749 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
- *array = g_renew (EditingToolsCropToolConstraintDescription*, *array, (*size) + 1);
-#line 5137 "EditingTools.c"
- }
-#line 749 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
- (*array)[(*length)++] = value;
-#line 749 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
- (*array)[*length] = NULL;
-#line 5143 "EditingTools.c"
-}
-
-
-static void _vala_array_add5 (EditingToolsCropToolConstraintDescription*** array, int* length, int* size, EditingToolsCropToolConstraintDescription* value) {
-#line 750 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
- if ((*length) == (*size)) {
-#line 750 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
- *size = (*size) ? (2 * (*size)) : 4;
-#line 750 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
- *array = g_renew (EditingToolsCropToolConstraintDescription*, *array, (*size) + 1);
-#line 5154 "EditingTools.c"
- }
-#line 750 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
- (*array)[(*length)++] = value;
-#line 750 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
- (*array)[*length] = NULL;
-#line 5160 "EditingTools.c"
-}
-
-
-static void _vala_array_add6 (EditingToolsCropToolConstraintDescription*** array, int* length, int* size, EditingToolsCropToolConstraintDescription* value) {
-#line 751 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
- if ((*length) == (*size)) {
-#line 751 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
- *size = (*size) ? (2 * (*size)) : 4;
-#line 751 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
- *array = g_renew (EditingToolsCropToolConstraintDescription*, *array, (*size) + 1);
-#line 5171 "EditingTools.c"
- }
-#line 751 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
- (*array)[(*length)++] = value;
-#line 751 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
- (*array)[*length] = NULL;
-#line 5177 "EditingTools.c"
-}
-
-
-static void _vala_array_add7 (EditingToolsCropToolConstraintDescription*** array, int* length, int* size, EditingToolsCropToolConstraintDescription* value) {
-#line 752 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
- if ((*length) == (*size)) {
-#line 752 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
- *size = (*size) ? (2 * (*size)) : 4;
-#line 752 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
- *array = g_renew (EditingToolsCropToolConstraintDescription*, *array, (*size) + 1);
-#line 5188 "EditingTools.c"
- }
-#line 752 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
- (*array)[(*length)++] = value;
-#line 752 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
- (*array)[*length] = NULL;
-#line 5194 "EditingTools.c"
-}
-
-
-static void _vala_array_add8 (EditingToolsCropToolConstraintDescription*** array, int* length, int* size, EditingToolsCropToolConstraintDescription* value) {
-#line 753 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
- if ((*length) == (*size)) {
-#line 753 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
- *size = (*size) ? (2 * (*size)) : 4;
-#line 753 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
- *array = g_renew (EditingToolsCropToolConstraintDescription*, *array, (*size) + 1);
-#line 5205 "EditingTools.c"
- }
-#line 753 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
- (*array)[(*length)++] = value;
-#line 753 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
- (*array)[*length] = NULL;
-#line 5211 "EditingTools.c"
-}
-
-
-static void _vala_array_add9 (EditingToolsCropToolConstraintDescription*** array, int* length, int* size, EditingToolsCropToolConstraintDescription* value) {
#line 754 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if ((*length) == (*size)) {
#line 754 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*size = (*size) ? (2 * (*size)) : 4;
#line 754 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*array = g_renew (EditingToolsCropToolConstraintDescription*, *array, (*size) + 1);
-#line 5222 "EditingTools.c"
+#line 5146 "EditingTools.c"
}
#line 754 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
(*array)[(*length)++] = value;
#line 754 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
(*array)[*length] = NULL;
-#line 5228 "EditingTools.c"
+#line 5152 "EditingTools.c"
}
-static void _vala_array_add10 (EditingToolsCropToolConstraintDescription*** array, int* length, int* size, EditingToolsCropToolConstraintDescription* value) {
+static void _vala_array_add5 (EditingToolsCropToolConstraintDescription*** array, int* length, int* size, EditingToolsCropToolConstraintDescription* value) {
#line 755 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if ((*length) == (*size)) {
#line 755 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*size = (*size) ? (2 * (*size)) : 4;
#line 755 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*array = g_renew (EditingToolsCropToolConstraintDescription*, *array, (*size) + 1);
-#line 5239 "EditingTools.c"
+#line 5163 "EditingTools.c"
}
#line 755 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
(*array)[(*length)++] = value;
#line 755 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
(*array)[*length] = NULL;
-#line 5245 "EditingTools.c"
+#line 5169 "EditingTools.c"
}
-static void _vala_array_add11 (EditingToolsCropToolConstraintDescription*** array, int* length, int* size, EditingToolsCropToolConstraintDescription* value) {
+static void _vala_array_add6 (EditingToolsCropToolConstraintDescription*** array, int* length, int* size, EditingToolsCropToolConstraintDescription* value) {
#line 756 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if ((*length) == (*size)) {
#line 756 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*size = (*size) ? (2 * (*size)) : 4;
#line 756 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*array = g_renew (EditingToolsCropToolConstraintDescription*, *array, (*size) + 1);
-#line 5256 "EditingTools.c"
+#line 5180 "EditingTools.c"
}
#line 756 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
(*array)[(*length)++] = value;
#line 756 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
(*array)[*length] = NULL;
-#line 5262 "EditingTools.c"
+#line 5186 "EditingTools.c"
}
-static void _vala_array_add12 (EditingToolsCropToolConstraintDescription*** array, int* length, int* size, EditingToolsCropToolConstraintDescription* value) {
+static void _vala_array_add7 (EditingToolsCropToolConstraintDescription*** array, int* length, int* size, EditingToolsCropToolConstraintDescription* value) {
#line 757 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if ((*length) == (*size)) {
#line 757 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*size = (*size) ? (2 * (*size)) : 4;
#line 757 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*array = g_renew (EditingToolsCropToolConstraintDescription*, *array, (*size) + 1);
-#line 5273 "EditingTools.c"
+#line 5197 "EditingTools.c"
}
#line 757 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
(*array)[(*length)++] = value;
#line 757 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
(*array)[*length] = NULL;
-#line 5279 "EditingTools.c"
+#line 5203 "EditingTools.c"
}
-static void _vala_array_add13 (EditingToolsCropToolConstraintDescription*** array, int* length, int* size, EditingToolsCropToolConstraintDescription* value) {
+static void _vala_array_add8 (EditingToolsCropToolConstraintDescription*** array, int* length, int* size, EditingToolsCropToolConstraintDescription* value) {
#line 758 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if ((*length) == (*size)) {
#line 758 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*size = (*size) ? (2 * (*size)) : 4;
#line 758 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*array = g_renew (EditingToolsCropToolConstraintDescription*, *array, (*size) + 1);
-#line 5290 "EditingTools.c"
+#line 5214 "EditingTools.c"
}
#line 758 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
(*array)[(*length)++] = value;
#line 758 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
(*array)[*length] = NULL;
-#line 5296 "EditingTools.c"
+#line 5220 "EditingTools.c"
}
-static void _vala_array_add14 (EditingToolsCropToolConstraintDescription*** array, int* length, int* size, EditingToolsCropToolConstraintDescription* value) {
+static void _vala_array_add9 (EditingToolsCropToolConstraintDescription*** array, int* length, int* size, EditingToolsCropToolConstraintDescription* value) {
#line 759 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if ((*length) == (*size)) {
#line 759 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*size = (*size) ? (2 * (*size)) : 4;
#line 759 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*array = g_renew (EditingToolsCropToolConstraintDescription*, *array, (*size) + 1);
-#line 5307 "EditingTools.c"
+#line 5231 "EditingTools.c"
}
#line 759 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
(*array)[(*length)++] = value;
#line 759 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
(*array)[*length] = NULL;
-#line 5313 "EditingTools.c"
+#line 5237 "EditingTools.c"
}
-static void _vala_array_add15 (EditingToolsCropToolConstraintDescription*** array, int* length, int* size, EditingToolsCropToolConstraintDescription* value) {
+static void _vala_array_add10 (EditingToolsCropToolConstraintDescription*** array, int* length, int* size, EditingToolsCropToolConstraintDescription* value) {
#line 760 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if ((*length) == (*size)) {
#line 760 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*size = (*size) ? (2 * (*size)) : 4;
#line 760 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*array = g_renew (EditingToolsCropToolConstraintDescription*, *array, (*size) + 1);
-#line 5324 "EditingTools.c"
+#line 5248 "EditingTools.c"
}
#line 760 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
(*array)[(*length)++] = value;
#line 760 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
(*array)[*length] = NULL;
-#line 5330 "EditingTools.c"
+#line 5254 "EditingTools.c"
}
-static void _vala_array_add16 (EditingToolsCropToolConstraintDescription*** array, int* length, int* size, EditingToolsCropToolConstraintDescription* value) {
+static void _vala_array_add11 (EditingToolsCropToolConstraintDescription*** array, int* length, int* size, EditingToolsCropToolConstraintDescription* value) {
#line 761 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if ((*length) == (*size)) {
#line 761 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*size = (*size) ? (2 * (*size)) : 4;
#line 761 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*array = g_renew (EditingToolsCropToolConstraintDescription*, *array, (*size) + 1);
-#line 5341 "EditingTools.c"
+#line 5265 "EditingTools.c"
}
#line 761 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
(*array)[(*length)++] = value;
#line 761 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
(*array)[*length] = NULL;
-#line 5347 "EditingTools.c"
+#line 5271 "EditingTools.c"
}
-static void _vala_array_add17 (EditingToolsCropToolConstraintDescription*** array, int* length, int* size, EditingToolsCropToolConstraintDescription* value) {
+static void _vala_array_add12 (EditingToolsCropToolConstraintDescription*** array, int* length, int* size, EditingToolsCropToolConstraintDescription* value) {
#line 762 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if ((*length) == (*size)) {
#line 762 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*size = (*size) ? (2 * (*size)) : 4;
#line 762 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*array = g_renew (EditingToolsCropToolConstraintDescription*, *array, (*size) + 1);
-#line 5358 "EditingTools.c"
+#line 5282 "EditingTools.c"
}
#line 762 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
(*array)[(*length)++] = value;
#line 762 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
(*array)[*length] = NULL;
-#line 5364 "EditingTools.c"
+#line 5288 "EditingTools.c"
}
-static void _vala_array_add18 (EditingToolsCropToolConstraintDescription*** array, int* length, int* size, EditingToolsCropToolConstraintDescription* value) {
+static void _vala_array_add13 (EditingToolsCropToolConstraintDescription*** array, int* length, int* size, EditingToolsCropToolConstraintDescription* value) {
#line 763 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if ((*length) == (*size)) {
#line 763 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*size = (*size) ? (2 * (*size)) : 4;
#line 763 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*array = g_renew (EditingToolsCropToolConstraintDescription*, *array, (*size) + 1);
-#line 5375 "EditingTools.c"
+#line 5299 "EditingTools.c"
}
#line 763 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
(*array)[(*length)++] = value;
#line 763 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
(*array)[*length] = NULL;
-#line 5381 "EditingTools.c"
+#line 5305 "EditingTools.c"
}
-static void _vala_array_add19 (EditingToolsCropToolConstraintDescription*** array, int* length, int* size, EditingToolsCropToolConstraintDescription* value) {
+static void _vala_array_add14 (EditingToolsCropToolConstraintDescription*** array, int* length, int* size, EditingToolsCropToolConstraintDescription* value) {
#line 764 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if ((*length) == (*size)) {
#line 764 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*size = (*size) ? (2 * (*size)) : 4;
#line 764 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*array = g_renew (EditingToolsCropToolConstraintDescription*, *array, (*size) + 1);
-#line 5392 "EditingTools.c"
+#line 5316 "EditingTools.c"
}
#line 764 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
(*array)[(*length)++] = value;
#line 764 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
(*array)[*length] = NULL;
-#line 5398 "EditingTools.c"
+#line 5322 "EditingTools.c"
}
-static void _vala_array_add20 (EditingToolsCropToolConstraintDescription*** array, int* length, int* size, EditingToolsCropToolConstraintDescription* value) {
+static void _vala_array_add15 (EditingToolsCropToolConstraintDescription*** array, int* length, int* size, EditingToolsCropToolConstraintDescription* value) {
#line 765 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if ((*length) == (*size)) {
#line 765 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*size = (*size) ? (2 * (*size)) : 4;
#line 765 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*array = g_renew (EditingToolsCropToolConstraintDescription*, *array, (*size) + 1);
-#line 5409 "EditingTools.c"
+#line 5333 "EditingTools.c"
}
#line 765 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
(*array)[(*length)++] = value;
#line 765 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
(*array)[*length] = NULL;
-#line 5415 "EditingTools.c"
+#line 5339 "EditingTools.c"
}
-static void _vala_array_add21 (EditingToolsCropToolConstraintDescription*** array, int* length, int* size, EditingToolsCropToolConstraintDescription* value) {
+static void _vala_array_add16 (EditingToolsCropToolConstraintDescription*** array, int* length, int* size, EditingToolsCropToolConstraintDescription* value) {
#line 766 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if ((*length) == (*size)) {
#line 766 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*size = (*size) ? (2 * (*size)) : 4;
#line 766 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*array = g_renew (EditingToolsCropToolConstraintDescription*, *array, (*size) + 1);
-#line 5426 "EditingTools.c"
+#line 5350 "EditingTools.c"
}
#line 766 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
(*array)[(*length)++] = value;
#line 766 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
(*array)[*length] = NULL;
-#line 5432 "EditingTools.c"
+#line 5356 "EditingTools.c"
}
-static void _vala_array_add22 (EditingToolsCropToolConstraintDescription*** array, int* length, int* size, EditingToolsCropToolConstraintDescription* value) {
+static void _vala_array_add17 (EditingToolsCropToolConstraintDescription*** array, int* length, int* size, EditingToolsCropToolConstraintDescription* value) {
#line 767 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if ((*length) == (*size)) {
#line 767 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*size = (*size) ? (2 * (*size)) : 4;
#line 767 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*array = g_renew (EditingToolsCropToolConstraintDescription*, *array, (*size) + 1);
-#line 5443 "EditingTools.c"
+#line 5367 "EditingTools.c"
}
#line 767 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
(*array)[(*length)++] = value;
#line 767 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
(*array)[*length] = NULL;
-#line 5449 "EditingTools.c"
+#line 5373 "EditingTools.c"
}
-static void _vala_array_add23 (EditingToolsCropToolConstraintDescription*** array, int* length, int* size, EditingToolsCropToolConstraintDescription* value) {
+static void _vala_array_add18 (EditingToolsCropToolConstraintDescription*** array, int* length, int* size, EditingToolsCropToolConstraintDescription* value) {
#line 768 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if ((*length) == (*size)) {
#line 768 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*size = (*size) ? (2 * (*size)) : 4;
#line 768 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*array = g_renew (EditingToolsCropToolConstraintDescription*, *array, (*size) + 1);
-#line 5460 "EditingTools.c"
+#line 5384 "EditingTools.c"
}
#line 768 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
(*array)[(*length)++] = value;
#line 768 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
(*array)[*length] = NULL;
-#line 5466 "EditingTools.c"
+#line 5390 "EditingTools.c"
}
-static void _vala_array_add24 (EditingToolsCropToolConstraintDescription*** array, int* length, int* size, EditingToolsCropToolConstraintDescription* value) {
+static void _vala_array_add19 (EditingToolsCropToolConstraintDescription*** array, int* length, int* size, EditingToolsCropToolConstraintDescription* value) {
#line 769 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if ((*length) == (*size)) {
#line 769 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*size = (*size) ? (2 * (*size)) : 4;
#line 769 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*array = g_renew (EditingToolsCropToolConstraintDescription*, *array, (*size) + 1);
-#line 5477 "EditingTools.c"
+#line 5401 "EditingTools.c"
}
#line 769 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
(*array)[(*length)++] = value;
#line 769 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
(*array)[*length] = NULL;
-#line 5483 "EditingTools.c"
+#line 5407 "EditingTools.c"
}
-static void _vala_array_add25 (EditingToolsCropToolConstraintDescription*** array, int* length, int* size, EditingToolsCropToolConstraintDescription* value) {
+static void _vala_array_add20 (EditingToolsCropToolConstraintDescription*** array, int* length, int* size, EditingToolsCropToolConstraintDescription* value) {
#line 770 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if ((*length) == (*size)) {
#line 770 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*size = (*size) ? (2 * (*size)) : 4;
#line 770 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*array = g_renew (EditingToolsCropToolConstraintDescription*, *array, (*size) + 1);
-#line 5494 "EditingTools.c"
+#line 5418 "EditingTools.c"
}
#line 770 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
(*array)[(*length)++] = value;
#line 770 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
(*array)[*length] = NULL;
-#line 5500 "EditingTools.c"
+#line 5424 "EditingTools.c"
}
-static void _vala_array_add26 (EditingToolsCropToolConstraintDescription*** array, int* length, int* size, EditingToolsCropToolConstraintDescription* value) {
+static void _vala_array_add21 (EditingToolsCropToolConstraintDescription*** array, int* length, int* size, EditingToolsCropToolConstraintDescription* value) {
#line 771 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if ((*length) == (*size)) {
#line 771 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*size = (*size) ? (2 * (*size)) : 4;
#line 771 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*array = g_renew (EditingToolsCropToolConstraintDescription*, *array, (*size) + 1);
-#line 5511 "EditingTools.c"
+#line 5435 "EditingTools.c"
}
#line 771 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
(*array)[(*length)++] = value;
#line 771 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
(*array)[*length] = NULL;
-#line 5517 "EditingTools.c"
+#line 5441 "EditingTools.c"
}
-static void _vala_array_add27 (EditingToolsCropToolConstraintDescription*** array, int* length, int* size, EditingToolsCropToolConstraintDescription* value) {
+static void _vala_array_add22 (EditingToolsCropToolConstraintDescription*** array, int* length, int* size, EditingToolsCropToolConstraintDescription* value) {
#line 772 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if ((*length) == (*size)) {
#line 772 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*size = (*size) ? (2 * (*size)) : 4;
#line 772 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*array = g_renew (EditingToolsCropToolConstraintDescription*, *array, (*size) + 1);
-#line 5528 "EditingTools.c"
+#line 5452 "EditingTools.c"
}
#line 772 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
(*array)[(*length)++] = value;
#line 772 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
(*array)[*length] = NULL;
-#line 5534 "EditingTools.c"
+#line 5458 "EditingTools.c"
}
-static void _vala_array_add28 (EditingToolsCropToolConstraintDescription*** array, int* length, int* size, EditingToolsCropToolConstraintDescription* value) {
+static void _vala_array_add23 (EditingToolsCropToolConstraintDescription*** array, int* length, int* size, EditingToolsCropToolConstraintDescription* value) {
#line 773 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if ((*length) == (*size)) {
#line 773 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*size = (*size) ? (2 * (*size)) : 4;
#line 773 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*array = g_renew (EditingToolsCropToolConstraintDescription*, *array, (*size) + 1);
-#line 5545 "EditingTools.c"
+#line 5469 "EditingTools.c"
}
#line 773 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
(*array)[(*length)++] = value;
#line 773 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
(*array)[*length] = NULL;
-#line 5551 "EditingTools.c"
+#line 5475 "EditingTools.c"
}
-static void _vala_array_add29 (EditingToolsCropToolConstraintDescription*** array, int* length, int* size, EditingToolsCropToolConstraintDescription* value) {
+static void _vala_array_add24 (EditingToolsCropToolConstraintDescription*** array, int* length, int* size, EditingToolsCropToolConstraintDescription* value) {
#line 774 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if ((*length) == (*size)) {
#line 774 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*size = (*size) ? (2 * (*size)) : 4;
#line 774 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*array = g_renew (EditingToolsCropToolConstraintDescription*, *array, (*size) + 1);
-#line 5562 "EditingTools.c"
+#line 5486 "EditingTools.c"
}
#line 774 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
(*array)[(*length)++] = value;
#line 774 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
(*array)[*length] = NULL;
-#line 5568 "EditingTools.c"
+#line 5492 "EditingTools.c"
}
-static void _vala_array_add30 (EditingToolsCropToolConstraintDescription*** array, int* length, int* size, EditingToolsCropToolConstraintDescription* value) {
+static void _vala_array_add25 (EditingToolsCropToolConstraintDescription*** array, int* length, int* size, EditingToolsCropToolConstraintDescription* value) {
#line 775 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if ((*length) == (*size)) {
#line 775 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*size = (*size) ? (2 * (*size)) : 4;
#line 775 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*array = g_renew (EditingToolsCropToolConstraintDescription*, *array, (*size) + 1);
-#line 5579 "EditingTools.c"
+#line 5503 "EditingTools.c"
}
#line 775 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
(*array)[(*length)++] = value;
#line 775 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
(*array)[*length] = NULL;
-#line 5585 "EditingTools.c"
+#line 5509 "EditingTools.c"
}
-static void _vala_array_add31 (EditingToolsCropToolConstraintDescription*** array, int* length, int* size, EditingToolsCropToolConstraintDescription* value) {
+static void _vala_array_add26 (EditingToolsCropToolConstraintDescription*** array, int* length, int* size, EditingToolsCropToolConstraintDescription* value) {
#line 776 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if ((*length) == (*size)) {
#line 776 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*size = (*size) ? (2 * (*size)) : 4;
#line 776 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*array = g_renew (EditingToolsCropToolConstraintDescription*, *array, (*size) + 1);
-#line 5596 "EditingTools.c"
+#line 5520 "EditingTools.c"
}
#line 776 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
(*array)[(*length)++] = value;
#line 776 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
(*array)[*length] = NULL;
-#line 5602 "EditingTools.c"
+#line 5526 "EditingTools.c"
}
-static void _vala_array_add32 (EditingToolsCropToolConstraintDescription*** array, int* length, int* size, EditingToolsCropToolConstraintDescription* value) {
+static void _vala_array_add27 (EditingToolsCropToolConstraintDescription*** array, int* length, int* size, EditingToolsCropToolConstraintDescription* value) {
#line 777 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if ((*length) == (*size)) {
#line 777 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*size = (*size) ? (2 * (*size)) : 4;
#line 777 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*array = g_renew (EditingToolsCropToolConstraintDescription*, *array, (*size) + 1);
-#line 5613 "EditingTools.c"
+#line 5537 "EditingTools.c"
}
#line 777 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
(*array)[(*length)++] = value;
#line 777 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
(*array)[*length] = NULL;
-#line 5619 "EditingTools.c"
+#line 5543 "EditingTools.c"
+}
+
+
+static void _vala_array_add28 (EditingToolsCropToolConstraintDescription*** array, int* length, int* size, EditingToolsCropToolConstraintDescription* value) {
+#line 778 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+ if ((*length) == (*size)) {
+#line 778 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+ *size = (*size) ? (2 * (*size)) : 4;
+#line 778 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+ *array = g_renew (EditingToolsCropToolConstraintDescription*, *array, (*size) + 1);
+#line 5554 "EditingTools.c"
+ }
+#line 778 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+ (*array)[(*length)++] = value;
+#line 778 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+ (*array)[*length] = NULL;
+#line 5560 "EditingTools.c"
+}
+
+
+static void _vala_array_add29 (EditingToolsCropToolConstraintDescription*** array, int* length, int* size, EditingToolsCropToolConstraintDescription* value) {
+#line 779 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+ if ((*length) == (*size)) {
+#line 779 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+ *size = (*size) ? (2 * (*size)) : 4;
+#line 779 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+ *array = g_renew (EditingToolsCropToolConstraintDescription*, *array, (*size) + 1);
+#line 5571 "EditingTools.c"
+ }
+#line 779 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+ (*array)[(*length)++] = value;
+#line 779 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+ (*array)[*length] = NULL;
+#line 5577 "EditingTools.c"
+}
+
+
+static void _vala_array_add30 (EditingToolsCropToolConstraintDescription*** array, int* length, int* size, EditingToolsCropToolConstraintDescription* value) {
+#line 780 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+ if ((*length) == (*size)) {
+#line 780 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+ *size = (*size) ? (2 * (*size)) : 4;
+#line 780 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+ *array = g_renew (EditingToolsCropToolConstraintDescription*, *array, (*size) + 1);
+#line 5588 "EditingTools.c"
+ }
+#line 780 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+ (*array)[(*length)++] = value;
+#line 780 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+ (*array)[*length] = NULL;
+#line 5594 "EditingTools.c"
+}
+
+
+static void _vala_array_add31 (EditingToolsCropToolConstraintDescription*** array, int* length, int* size, EditingToolsCropToolConstraintDescription* value) {
+#line 781 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+ if ((*length) == (*size)) {
+#line 781 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+ *size = (*size) ? (2 * (*size)) : 4;
+#line 781 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+ *array = g_renew (EditingToolsCropToolConstraintDescription*, *array, (*size) + 1);
+#line 5605 "EditingTools.c"
+ }
+#line 781 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+ (*array)[(*length)++] = value;
+#line 781 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+ (*array)[*length] = NULL;
+#line 5611 "EditingTools.c"
+}
+
+
+static void _vala_array_add32 (EditingToolsCropToolConstraintDescription*** array, int* length, int* size, EditingToolsCropToolConstraintDescription* value) {
+#line 782 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+ if ((*length) == (*size)) {
+#line 782 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+ *size = (*size) ? (2 * (*size)) : 4;
+#line 782 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+ *array = g_renew (EditingToolsCropToolConstraintDescription*, *array, (*size) + 1);
+#line 5622 "EditingTools.c"
+ }
+#line 782 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+ (*array)[(*length)++] = value;
+#line 782 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+ (*array)[*length] = NULL;
+#line 5628 "EditingTools.c"
}
@@ -5743,326 +5752,326 @@ static EditingToolsCropToolConstraintDescription** editing_tools_crop_tool_creat
EditingToolsCropToolConstraintDescription* _tmp87_ = NULL;
EditingToolsCropToolConstraintDescription** _tmp88_ = NULL;
gint _tmp88__length1 = 0;
-#line 747 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 752 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = g_new0 (EditingToolsCropToolConstraintDescription*, 0 + 1);
-#line 747 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 752 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_result_ = _tmp0_;
-#line 747 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 752 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_result__length1 = 0;
-#line 747 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 752 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
__result__size_ = _result__length1;
-#line 749 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 754 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = _result_;
-#line 749 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 754 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1__length1 = _result__length1;
-#line 749 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 754 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = _ ("Unconstrained");
-#line 749 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 754 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = editing_tools_crop_tool_constraint_description_new (_tmp2_, 0, 0, FALSE, EDITING_TOOLS_CROP_TOOL_ANY_ASPECT_RATIO);
-#line 749 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 754 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_vala_array_add4 (&_result_, &_result__length1, &__result__size_, _tmp3_);
-#line 750 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 755 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = _result_;
-#line 750 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 755 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4__length1 = _result__length1;
-#line 750 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 755 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = _ ("Square");
-#line 750 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 755 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = editing_tools_crop_tool_constraint_description_new (_tmp5_, 1, 1, FALSE, EDITING_TOOLS_CROP_TOOL_COMPUTE_FROM_BASIS);
-#line 750 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 755 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_vala_array_add5 (&_result_, &_result__length1, &__result__size_, _tmp6_);
-#line 751 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 756 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = _result_;
-#line 751 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 756 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7__length1 = _result__length1;
-#line 751 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 756 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = _ ("Screen");
-#line 751 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 756 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = editing_tools_crop_tool_constraint_description_new (_tmp8_, 0, 0, TRUE, EDITING_TOOLS_CROP_TOOL_SCREEN_ASPECT_RATIO);
-#line 751 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 756 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_vala_array_add6 (&_result_, &_result__length1, &__result__size_, _tmp9_);
-#line 752 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 757 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp10_ = _result_;
-#line 752 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 757 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp10__length1 = _result__length1;
-#line 752 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 757 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp11_ = _ ("Original Size");
-#line 752 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 757 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp12_ = editing_tools_crop_tool_constraint_description_new (_tmp11_, 0, 0, TRUE, EDITING_TOOLS_CROP_TOOL_ORIGINAL_ASPECT_RATIO);
-#line 752 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 757 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_vala_array_add7 (&_result_, &_result__length1, &__result__size_, _tmp12_);
-#line 753 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 758 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp13_ = _result_;
-#line 753 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 758 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp13__length1 = _result__length1;
-#line 753 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 758 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp14_ = _ ("-");
-#line 753 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 758 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp15_ = editing_tools_crop_tool_constraint_description_new (_tmp14_, 0, 0, FALSE, EDITING_TOOLS_CROP_TOOL_SEPARATOR);
-#line 753 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 758 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_vala_array_add8 (&_result_, &_result__length1, &__result__size_, _tmp15_);
-#line 754 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 759 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp16_ = _result_;
-#line 754 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 759 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp16__length1 = _result__length1;
-#line 754 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 759 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp17_ = _ ("SD Video (4 ∶ 3)");
-#line 754 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 759 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp18_ = editing_tools_crop_tool_constraint_description_new (_tmp17_, 4, 3, TRUE, EDITING_TOOLS_CROP_TOOL_COMPUTE_FROM_BASIS);
-#line 754 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 759 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_vala_array_add9 (&_result_, &_result__length1, &__result__size_, _tmp18_);
-#line 755 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 760 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp19_ = _result_;
-#line 755 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 760 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp19__length1 = _result__length1;
-#line 755 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 760 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp20_ = _ ("HD Video (16 ∶ 9)");
-#line 755 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 760 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp21_ = editing_tools_crop_tool_constraint_description_new (_tmp20_, 16, 9, TRUE, EDITING_TOOLS_CROP_TOOL_COMPUTE_FROM_BASIS);
-#line 755 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 760 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_vala_array_add10 (&_result_, &_result__length1, &__result__size_, _tmp21_);
-#line 756 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 761 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp22_ = _result_;
-#line 756 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 761 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp22__length1 = _result__length1;
-#line 756 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 761 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp23_ = _ ("-");
-#line 756 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 761 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp24_ = editing_tools_crop_tool_constraint_description_new (_tmp23_, 0, 0, FALSE, EDITING_TOOLS_CROP_TOOL_SEPARATOR);
-#line 756 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 761 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_vala_array_add11 (&_result_, &_result__length1, &__result__size_, _tmp24_);
-#line 757 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 762 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp25_ = _result_;
-#line 757 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 762 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp25__length1 = _result__length1;
-#line 757 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 762 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp26_ = _ ("Wallet (2 × 3 in.)");
-#line 757 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 762 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp27_ = editing_tools_crop_tool_constraint_description_new (_tmp26_, 3, 2, TRUE, EDITING_TOOLS_CROP_TOOL_COMPUTE_FROM_BASIS);
-#line 757 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 762 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_vala_array_add12 (&_result_, &_result__length1, &__result__size_, _tmp27_);
-#line 758 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 763 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp28_ = _result_;
-#line 758 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 763 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp28__length1 = _result__length1;
-#line 758 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 763 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp29_ = _ ("Notecard (3 × 5 in.)");
-#line 758 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 763 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp30_ = editing_tools_crop_tool_constraint_description_new (_tmp29_, 5, 3, TRUE, EDITING_TOOLS_CROP_TOOL_COMPUTE_FROM_BASIS);
-#line 758 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 763 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_vala_array_add13 (&_result_, &_result__length1, &__result__size_, _tmp30_);
-#line 759 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 764 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp31_ = _result_;
-#line 759 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 764 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp31__length1 = _result__length1;
-#line 759 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 764 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp32_ = _ ("4 × 6 in.");
-#line 759 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 764 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp33_ = editing_tools_crop_tool_constraint_description_new (_tmp32_, 6, 4, TRUE, EDITING_TOOLS_CROP_TOOL_COMPUTE_FROM_BASIS);
-#line 759 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 764 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_vala_array_add14 (&_result_, &_result__length1, &__result__size_, _tmp33_);
-#line 760 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 765 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp34_ = _result_;
-#line 760 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 765 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp34__length1 = _result__length1;
-#line 760 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 765 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp35_ = _ ("5 × 7 in.");
-#line 760 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 765 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp36_ = editing_tools_crop_tool_constraint_description_new (_tmp35_, 7, 5, TRUE, EDITING_TOOLS_CROP_TOOL_COMPUTE_FROM_BASIS);
-#line 760 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 765 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_vala_array_add15 (&_result_, &_result__length1, &__result__size_, _tmp36_);
-#line 761 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 766 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp37_ = _result_;
-#line 761 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 766 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp37__length1 = _result__length1;
-#line 761 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 766 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp38_ = _ ("8 × 10 in.");
-#line 761 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 766 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp39_ = editing_tools_crop_tool_constraint_description_new (_tmp38_, 10, 8, TRUE, EDITING_TOOLS_CROP_TOOL_COMPUTE_FROM_BASIS);
-#line 761 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 766 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_vala_array_add16 (&_result_, &_result__length1, &__result__size_, _tmp39_);
-#line 762 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 767 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp40_ = _result_;
-#line 762 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 767 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp40__length1 = _result__length1;
-#line 762 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 767 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp41_ = _ ("Letter (8.5 × 11 in.)");
-#line 762 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 767 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp42_ = editing_tools_crop_tool_constraint_description_new (_tmp41_, 85, 110, TRUE, EDITING_TOOLS_CROP_TOOL_COMPUTE_FROM_BASIS);
-#line 762 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 767 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_vala_array_add17 (&_result_, &_result__length1, &__result__size_, _tmp42_);
-#line 763 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 768 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp43_ = _result_;
-#line 763 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 768 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp43__length1 = _result__length1;
-#line 763 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 768 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp44_ = _ ("11 × 14 in.");
-#line 763 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 768 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp45_ = editing_tools_crop_tool_constraint_description_new (_tmp44_, 14, 11, TRUE, EDITING_TOOLS_CROP_TOOL_COMPUTE_FROM_BASIS);
-#line 763 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 768 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_vala_array_add18 (&_result_, &_result__length1, &__result__size_, _tmp45_);
-#line 764 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 769 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp46_ = _result_;
-#line 764 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 769 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp46__length1 = _result__length1;
-#line 764 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 769 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp47_ = _ ("Tabloid (11 × 17 in.)");
-#line 764 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 769 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp48_ = editing_tools_crop_tool_constraint_description_new (_tmp47_, 17, 11, TRUE, EDITING_TOOLS_CROP_TOOL_COMPUTE_FROM_BASIS);
-#line 764 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 769 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_vala_array_add19 (&_result_, &_result__length1, &__result__size_, _tmp48_);
-#line 765 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 770 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp49_ = _result_;
-#line 765 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 770 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp49__length1 = _result__length1;
-#line 765 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 770 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp50_ = _ ("16 × 20 in.");
-#line 765 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 770 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp51_ = editing_tools_crop_tool_constraint_description_new (_tmp50_, 20, 16, TRUE, EDITING_TOOLS_CROP_TOOL_COMPUTE_FROM_BASIS);
-#line 765 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 770 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_vala_array_add20 (&_result_, &_result__length1, &__result__size_, _tmp51_);
-#line 766 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 771 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp52_ = _result_;
-#line 766 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 771 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp52__length1 = _result__length1;
-#line 766 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 771 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp53_ = _ ("-");
-#line 766 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 771 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp54_ = editing_tools_crop_tool_constraint_description_new (_tmp53_, 0, 0, FALSE, EDITING_TOOLS_CROP_TOOL_SEPARATOR);
-#line 766 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 771 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_vala_array_add21 (&_result_, &_result__length1, &__result__size_, _tmp54_);
-#line 767 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 772 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp55_ = _result_;
-#line 767 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 772 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp55__length1 = _result__length1;
-#line 767 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 772 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp56_ = _ ("Metric Wallet (9 × 13 cm)");
-#line 767 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 772 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp57_ = editing_tools_crop_tool_constraint_description_new (_tmp56_, 13, 9, TRUE, EDITING_TOOLS_CROP_TOOL_COMPUTE_FROM_BASIS);
-#line 767 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 772 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_vala_array_add22 (&_result_, &_result__length1, &__result__size_, _tmp57_);
-#line 768 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 773 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp58_ = _result_;
-#line 768 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 773 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp58__length1 = _result__length1;
-#line 768 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 773 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp59_ = _ ("Postcard (10 × 15 cm)");
-#line 768 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 773 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp60_ = editing_tools_crop_tool_constraint_description_new (_tmp59_, 15, 10, TRUE, EDITING_TOOLS_CROP_TOOL_COMPUTE_FROM_BASIS);
-#line 768 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 773 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_vala_array_add23 (&_result_, &_result__length1, &__result__size_, _tmp60_);
-#line 769 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 774 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp61_ = _result_;
-#line 769 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 774 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp61__length1 = _result__length1;
-#line 769 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 774 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp62_ = _ ("13 × 18 cm");
-#line 769 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 774 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp63_ = editing_tools_crop_tool_constraint_description_new (_tmp62_, 18, 13, TRUE, EDITING_TOOLS_CROP_TOOL_COMPUTE_FROM_BASIS);
-#line 769 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 774 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_vala_array_add24 (&_result_, &_result__length1, &__result__size_, _tmp63_);
-#line 770 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 775 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp64_ = _result_;
-#line 770 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 775 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp64__length1 = _result__length1;
-#line 770 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 775 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp65_ = _ ("18 × 24 cm");
-#line 770 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 775 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp66_ = editing_tools_crop_tool_constraint_description_new (_tmp65_, 24, 18, TRUE, EDITING_TOOLS_CROP_TOOL_COMPUTE_FROM_BASIS);
-#line 770 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 775 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_vala_array_add25 (&_result_, &_result__length1, &__result__size_, _tmp66_);
-#line 771 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 776 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp67_ = _result_;
-#line 771 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 776 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp67__length1 = _result__length1;
-#line 771 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 776 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp68_ = _ ("A4 (210 × 297 mm)");
-#line 771 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 776 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp69_ = editing_tools_crop_tool_constraint_description_new (_tmp68_, 210, 297, TRUE, EDITING_TOOLS_CROP_TOOL_COMPUTE_FROM_BASIS);
-#line 771 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 776 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_vala_array_add26 (&_result_, &_result__length1, &__result__size_, _tmp69_);
-#line 772 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 777 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp70_ = _result_;
-#line 772 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 777 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp70__length1 = _result__length1;
-#line 772 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 777 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp71_ = _ ("20 × 30 cm");
-#line 772 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 777 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp72_ = editing_tools_crop_tool_constraint_description_new (_tmp71_, 30, 20, TRUE, EDITING_TOOLS_CROP_TOOL_COMPUTE_FROM_BASIS);
-#line 772 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 777 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_vala_array_add27 (&_result_, &_result__length1, &__result__size_, _tmp72_);
-#line 773 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 778 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp73_ = _result_;
-#line 773 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 778 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp73__length1 = _result__length1;
-#line 773 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 778 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp74_ = _ ("24 × 40 cm");
-#line 773 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 778 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp75_ = editing_tools_crop_tool_constraint_description_new (_tmp74_, 40, 24, TRUE, EDITING_TOOLS_CROP_TOOL_COMPUTE_FROM_BASIS);
-#line 773 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 778 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_vala_array_add28 (&_result_, &_result__length1, &__result__size_, _tmp75_);
-#line 774 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 779 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp76_ = _result_;
-#line 774 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 779 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp76__length1 = _result__length1;
-#line 774 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 779 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp77_ = _ ("30 × 40 cm");
-#line 774 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 779 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp78_ = editing_tools_crop_tool_constraint_description_new (_tmp77_, 40, 30, TRUE, EDITING_TOOLS_CROP_TOOL_COMPUTE_FROM_BASIS);
-#line 774 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 779 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_vala_array_add29 (&_result_, &_result__length1, &__result__size_, _tmp78_);
-#line 775 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 780 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp79_ = _result_;
-#line 775 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 780 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp79__length1 = _result__length1;
-#line 775 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 780 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp80_ = _ ("A3 (297 × 420 mm)");
-#line 775 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 780 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp81_ = editing_tools_crop_tool_constraint_description_new (_tmp80_, 420, 297, TRUE, EDITING_TOOLS_CROP_TOOL_COMPUTE_FROM_BASIS);
-#line 775 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 780 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_vala_array_add30 (&_result_, &_result__length1, &__result__size_, _tmp81_);
-#line 776 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 781 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp82_ = _result_;
-#line 776 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 781 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp82__length1 = _result__length1;
-#line 776 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 781 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp83_ = _ ("-");
-#line 776 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 781 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp84_ = editing_tools_crop_tool_constraint_description_new (_tmp83_, 0, 0, FALSE, EDITING_TOOLS_CROP_TOOL_SEPARATOR);
-#line 776 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 781 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_vala_array_add31 (&_result_, &_result__length1, &__result__size_, _tmp84_);
-#line 777 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 782 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp85_ = _result_;
-#line 777 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 782 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp85__length1 = _result__length1;
-#line 777 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 782 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp86_ = _ ("Custom");
-#line 777 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 782 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp87_ = editing_tools_crop_tool_constraint_description_new (_tmp86_, 0, 0, TRUE, EDITING_TOOLS_CROP_TOOL_CUSTOM_ASPECT_RATIO);
-#line 777 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 782 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_vala_array_add32 (&_result_, &_result__length1, &__result__size_, _tmp87_);
-#line 779 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 784 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp88_ = _result_;
-#line 779 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 784 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp88__length1 = _result__length1;
-#line 779 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 784 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (result_length1) {
-#line 779 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 784 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*result_length1 = _tmp88__length1;
-#line 6053 "EditingTools.c"
+#line 6062 "EditingTools.c"
}
-#line 779 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 784 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
result = _tmp88_;
-#line 779 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 784 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return result;
-#line 6059 "EditingTools.c"
+#line 6068 "EditingTools.c"
}
static gpointer _editing_tools_crop_tool_constraint_description_ref0 (gpointer self) {
-#line 786 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 791 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return self ? editing_tools_crop_tool_constraint_description_ref (self) : NULL;
-#line 6066 "EditingTools.c"
+#line 6075 "EditingTools.c"
}
@@ -6073,34 +6082,34 @@ static GtkListStore* editing_tools_crop_tool_create_constraint_list (EditingTool
GtkTreeIter iter = {0};
EditingToolsCropToolConstraintDescription** _tmp1_ = NULL;
gint _tmp1__length1 = 0;
-#line 783 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 788 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = gtk_list_store_new (1, G_TYPE_STRING, G_TYPE_STRING, -1);
-#line 783 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 788 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_result_ = _tmp0_;
-#line 786 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 791 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = constraint_data;
-#line 786 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 791 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1__length1 = constraint_data_length1;
-#line 6085 "EditingTools.c"
+#line 6094 "EditingTools.c"
{
EditingToolsCropToolConstraintDescription** constraint_collection = NULL;
gint constraint_collection_length1 = 0;
gint _constraint_collection_size_ = 0;
gint constraint_it = 0;
-#line 786 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 791 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
constraint_collection = _tmp1_;
-#line 786 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 791 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
constraint_collection_length1 = _tmp1__length1;
-#line 786 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 791 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
for (constraint_it = 0; constraint_it < _tmp1__length1; constraint_it = constraint_it + 1) {
-#line 6097 "EditingTools.c"
+#line 6106 "EditingTools.c"
EditingToolsCropToolConstraintDescription* _tmp2_ = NULL;
EditingToolsCropToolConstraintDescription* constraint = NULL;
-#line 786 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 791 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = _editing_tools_crop_tool_constraint_description_ref0 (constraint_collection[constraint_it]);
-#line 786 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 791 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
constraint = _tmp2_;
-#line 6104 "EditingTools.c"
+#line 6113 "EditingTools.c"
{
GtkListStore* _tmp3_ = NULL;
GtkTreeIter _tmp4_ = {0};
@@ -6109,39 +6118,39 @@ static GtkListStore* editing_tools_crop_tool_create_constraint_list (EditingTool
EditingToolsCropToolConstraintDescription* _tmp7_ = NULL;
const gchar* _tmp8_ = NULL;
GValue _tmp9_ = {0};
-#line 787 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 792 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = _result_;
-#line 787 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 792 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_list_store_append (_tmp3_, &_tmp4_);
-#line 787 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 792 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
iter = _tmp4_;
-#line 788 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 793 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = _result_;
-#line 788 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 793 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = iter;
-#line 788 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 793 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = constraint;
-#line 788 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 793 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = _tmp7_->name;
-#line 788 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 793 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_value_init (&_tmp9_, G_TYPE_STRING);
-#line 788 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 793 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_value_set_string (&_tmp9_, _tmp8_);
-#line 788 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 793 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_list_store_set_value (_tmp5_, &_tmp6_, 0, &_tmp9_);
-#line 788 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 793 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
G_IS_VALUE (&_tmp9_) ? (g_value_unset (&_tmp9_), NULL) : NULL;
-#line 786 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 791 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_editing_tools_crop_tool_constraint_description_unref0 (constraint);
-#line 6137 "EditingTools.c"
+#line 6146 "EditingTools.c"
}
}
}
-#line 791 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 796 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
result = _result_;
-#line 791 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 796 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return result;
-#line 6145 "EditingTools.c"
+#line 6154 "EditingTools.c"
}
@@ -6151,23 +6160,23 @@ static void editing_tools_crop_tool_update_pivot_button_state (EditingToolsCropT
EditingToolsCropToolConstraintDescription* _tmp2_ = NULL;
EditingToolsCropToolConstraintDescription* _tmp3_ = NULL;
gboolean _tmp4_ = FALSE;
-#line 794 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 799 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_CROP_TOOL (self));
-#line 795 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 800 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = self->priv->crop_tool_window;
-#line 795 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 800 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = _tmp0_->pivot_reticle_button;
-#line 795 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 800 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = editing_tools_crop_tool_get_selected_constraint (self);
-#line 795 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 800 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = _tmp2_;
-#line 795 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 800 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = _tmp3_->is_pivotable;
-#line 795 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 800 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_widget_set_sensitive (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_widget_get_type (), GtkWidget), _tmp4_);
-#line 795 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 800 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_editing_tools_crop_tool_constraint_description_unref0 (_tmp3_);
-#line 6171 "EditingTools.c"
+#line 6180 "EditingTools.c"
}
@@ -6183,31 +6192,31 @@ static EditingToolsCropToolConstraintDescription* editing_tools_crop_tool_get_se
EditingToolsCropToolConstraintDescription* _tmp5_ = NULL;
EditingToolsCropToolConstraintDescription* _tmp6_ = NULL;
gfloat _tmp7_ = 0.0F;
-#line 799 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 804 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (EDITING_TOOLS_IS_CROP_TOOL (self), NULL);
-#line 800 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 805 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = self->priv->constraints;
-#line 800 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 805 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0__length1 = self->priv->constraints_length1;
-#line 800 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 805 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = self->priv->crop_tool_window;
-#line 800 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 805 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = _tmp1_->constraint_combo;
-#line 800 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 805 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = gtk_combo_box_get_active (_tmp2_);
-#line 800 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 805 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = _tmp0_[_tmp3_];
-#line 800 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 805 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = _editing_tools_crop_tool_constraint_description_ref0 (_tmp4_);
-#line 800 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 805 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_result_ = _tmp5_;
-#line 802 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 807 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = _result_;
-#line 802 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 807 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = _tmp6_->aspect_ratio;
-#line 802 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 807 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp7_ == EDITING_TOOLS_CROP_TOOL_ORIGINAL_ASPECT_RATIO) {
-#line 6211 "EditingTools.c"
+#line 6220 "EditingTools.c"
EditingToolsCropToolConstraintDescription* _tmp8_ = NULL;
EditingToolsPhotoCanvas* _tmp9_ = NULL;
GdkRectangle _tmp10_ = {0};
@@ -6216,37 +6225,37 @@ static EditingToolsCropToolConstraintDescription* editing_tools_crop_tool_get_se
EditingToolsPhotoCanvas* _tmp13_ = NULL;
GdkRectangle _tmp14_ = {0};
gint _tmp15_ = 0;
-#line 803 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 808 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = _result_;
-#line 803 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 808 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 803 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 808 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_photo_canvas_get_scaled_pixbuf_position (_tmp9_, &_tmp10_);
-#line 803 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 808 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp11_ = _tmp10_.width;
-#line 803 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 808 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_->basis_width = _tmp11_;
-#line 804 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 809 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp12_ = _result_;
-#line 804 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 809 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp13_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 804 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 809 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_photo_canvas_get_scaled_pixbuf_position (_tmp13_, &_tmp14_);
-#line 804 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 809 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp15_ = _tmp14_.height;
-#line 804 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 809 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp12_->basis_height = _tmp15_;
-#line 6240 "EditingTools.c"
+#line 6249 "EditingTools.c"
} else {
EditingToolsCropToolConstraintDescription* _tmp16_ = NULL;
gfloat _tmp17_ = 0.0F;
-#line 805 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 810 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp16_ = _result_;
-#line 805 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 810 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp17_ = _tmp16_->aspect_ratio;
-#line 805 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 810 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp17_ == EDITING_TOOLS_CROP_TOOL_SCREEN_ASPECT_RATIO) {
-#line 6250 "EditingTools.c"
+#line 6259 "EditingTools.c"
GdkScreen* screen = NULL;
GdkScreen* _tmp18_ = NULL;
GdkScreen* _tmp19_ = NULL;
@@ -6256,38 +6265,38 @@ static EditingToolsCropToolConstraintDescription* editing_tools_crop_tool_get_se
EditingToolsCropToolConstraintDescription* _tmp23_ = NULL;
GdkScreen* _tmp24_ = NULL;
gint _tmp25_ = 0;
-#line 806 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 811 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp18_ = gdk_screen_get_default ();
-#line 806 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 811 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp19_ = _g_object_ref0 (_tmp18_);
-#line 806 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 811 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
screen = _tmp19_;
-#line 807 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 812 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp20_ = _result_;
-#line 807 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 812 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp21_ = screen;
-#line 807 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 812 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp22_ = gdk_screen_get_width (_tmp21_);
-#line 807 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 812 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp20_->basis_width = _tmp22_;
-#line 808 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 813 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp23_ = _result_;
-#line 808 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 813 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp24_ = screen;
-#line 808 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 813 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp25_ = gdk_screen_get_height (_tmp24_);
-#line 808 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 813 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp23_->basis_height = _tmp25_;
-#line 805 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 810 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (screen);
-#line 6284 "EditingTools.c"
+#line 6293 "EditingTools.c"
}
}
-#line 811 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 816 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
result = _result_;
-#line 811 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 816 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return result;
-#line 6291 "EditingTools.c"
+#line 6300 "EditingTools.c"
}
@@ -6299,31 +6308,31 @@ static gboolean editing_tools_crop_tool_on_width_entry_focus_out (EditingToolsCr
GtkEntry* _tmp3_ = NULL;
GdkEventFocus* _tmp4_ = NULL;
gboolean _tmp5_ = FALSE;
-#line 814 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 819 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (EDITING_TOOLS_IS_CROP_TOOL (self), FALSE);
-#line 814 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 819 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 815 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 820 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = self->priv->crop_tool_window;
-#line 815 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 820 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = self->priv->crop_tool_window;
-#line 815 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 820 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = _tmp1_->custom_width_entry;
-#line 815 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 820 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = _g_object_ref0 (_tmp2_);
-#line 815 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 820 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (_tmp0_->most_recently_edited);
-#line 815 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 820 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_->most_recently_edited = _tmp3_;
-#line 816 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 821 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = event;
-#line 816 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 821 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = editing_tools_crop_tool_on_custom_entry_focus_out (self, _tmp4_);
-#line 816 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 821 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
result = _tmp5_;
-#line 816 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 821 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return result;
-#line 6327 "EditingTools.c"
+#line 6336 "EditingTools.c"
}
@@ -6335,31 +6344,31 @@ static gboolean editing_tools_crop_tool_on_height_entry_focus_out (EditingToolsC
GtkEntry* _tmp3_ = NULL;
GdkEventFocus* _tmp4_ = NULL;
gboolean _tmp5_ = FALSE;
-#line 819 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 824 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (EDITING_TOOLS_IS_CROP_TOOL (self), FALSE);
-#line 819 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 824 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 820 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 825 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = self->priv->crop_tool_window;
-#line 820 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 825 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = self->priv->crop_tool_window;
-#line 820 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 825 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = _tmp1_->custom_height_entry;
-#line 820 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 825 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = _g_object_ref0 (_tmp2_);
-#line 820 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 825 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (_tmp0_->most_recently_edited);
-#line 820 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 825 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_->most_recently_edited = _tmp3_;
-#line 821 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 826 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = event;
-#line 821 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 826 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = editing_tools_crop_tool_on_custom_entry_focus_out (self, _tmp4_);
-#line 821 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 826 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
result = _tmp5_;
-#line 821 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 826 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return result;
-#line 6363 "EditingTools.c"
+#line 6372 "EditingTools.c"
}
@@ -6397,170 +6406,170 @@ static gboolean editing_tools_crop_tool_on_custom_entry_focus_out (EditingToolsC
EditingToolsPhotoCanvas* _tmp71_ = NULL;
gint _tmp72_ = 0;
gint _tmp73_ = 0;
-#line 824 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 829 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (EDITING_TOOLS_IS_CROP_TOOL (self), FALSE);
-#line 824 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 829 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 825 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 830 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = self->priv->crop_tool_window;
-#line 825 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 830 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = _tmp0_->custom_width_entry;
-#line 825 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 830 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = gtk_entry_get_text (_tmp1_);
-#line 825 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 830 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = _tmp2_;
-#line 825 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 830 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = atoi (_tmp3_);
-#line 825 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 830 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
width = _tmp4_;
-#line 826 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 831 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = self->priv->crop_tool_window;
-#line 826 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 831 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = _tmp5_->custom_height_entry;
-#line 826 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 831 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = gtk_entry_get_text (_tmp6_);
-#line 826 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 831 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = _tmp7_;
-#line 826 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 831 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = atoi (_tmp8_);
-#line 826 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 831 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
height = _tmp9_;
-#line 828 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 833 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp10_ = width;
-#line 828 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 833 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp10_ < 1) {
-#line 6433 "EditingTools.c"
+#line 6442 "EditingTools.c"
EditingToolsCropToolCropToolWindow* _tmp11_ = NULL;
GtkEntry* _tmp12_ = NULL;
gint _tmp13_ = 0;
gchar* _tmp14_ = NULL;
gchar* _tmp15_ = NULL;
-#line 829 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 834 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
width = 1;
-#line 830 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 835 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp11_ = self->priv->crop_tool_window;
-#line 830 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 835 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp12_ = _tmp11_->custom_width_entry;
-#line 830 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 835 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp13_ = width;
-#line 830 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 835 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp14_ = g_strdup_printf ("%d", _tmp13_);
-#line 830 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 835 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp15_ = _tmp14_;
-#line 830 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 835 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_entry_set_text (_tmp12_, _tmp15_);
-#line 830 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 835 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_free0 (_tmp15_);
-#line 6455 "EditingTools.c"
+#line 6464 "EditingTools.c"
}
-#line 833 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 838 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp16_ = height;
-#line 833 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 838 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp16_ < 1) {
-#line 6461 "EditingTools.c"
+#line 6470 "EditingTools.c"
EditingToolsCropToolCropToolWindow* _tmp17_ = NULL;
GtkEntry* _tmp18_ = NULL;
gint _tmp19_ = 0;
gchar* _tmp20_ = NULL;
gchar* _tmp21_ = NULL;
-#line 834 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 839 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
height = 1;
-#line 835 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 840 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp17_ = self->priv->crop_tool_window;
-#line 835 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 840 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp18_ = _tmp17_->custom_height_entry;
-#line 835 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 840 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp19_ = height;
-#line 835 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 840 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp20_ = g_strdup_printf ("%d", _tmp19_);
-#line 835 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 840 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp21_ = _tmp20_;
-#line 835 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 840 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_entry_set_text (_tmp18_, _tmp21_);
-#line 835 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 840 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_free0 (_tmp21_);
-#line 6483 "EditingTools.c"
+#line 6492 "EditingTools.c"
}
-#line 838 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 843 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp23_ = width;
-#line 838 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 843 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp24_ = self->priv->custom_width;
-#line 838 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 843 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp23_ == _tmp24_) {
-#line 6491 "EditingTools.c"
+#line 6500 "EditingTools.c"
gint _tmp25_ = 0;
gint _tmp26_ = 0;
-#line 838 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 843 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp25_ = height;
-#line 838 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 843 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp26_ = self->priv->custom_height;
-#line 838 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 843 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp22_ = _tmp25_ == _tmp26_;
-#line 6500 "EditingTools.c"
+#line 6509 "EditingTools.c"
} else {
-#line 838 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 843 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp22_ = FALSE;
-#line 6504 "EditingTools.c"
+#line 6513 "EditingTools.c"
}
-#line 838 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 843 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp22_) {
-#line 839 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 844 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
result = FALSE;
-#line 839 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 844 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return result;
-#line 6512 "EditingTools.c"
+#line 6521 "EditingTools.c"
}
-#line 841 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 846 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp27_ = width;
-#line 841 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 846 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp28_ = height;
-#line 841 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 846 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->custom_aspect_ratio = ((gfloat) _tmp27_) / ((gfloat) _tmp28_);
-#line 843 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 848 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp29_ = self->priv->custom_aspect_ratio;
-#line 843 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 848 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp29_ < EDITING_TOOLS_CROP_TOOL_MIN_ASPECT_RATIO) {
-#line 6524 "EditingTools.c"
+#line 6533 "EditingTools.c"
EditingToolsCropToolCropToolWindow* _tmp30_ = NULL;
GtkEntry* _tmp31_ = NULL;
EditingToolsCropToolCropToolWindow* _tmp32_ = NULL;
GtkEntry* _tmp33_ = NULL;
-#line 844 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 849 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp30_ = self->priv->crop_tool_window;
-#line 844 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 849 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp31_ = _tmp30_->most_recently_edited;
-#line 844 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 849 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp32_ = self->priv->crop_tool_window;
-#line 844 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 849 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp33_ = _tmp32_->custom_height_entry;
-#line 844 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 849 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp31_ == _tmp33_) {
-#line 6539 "EditingTools.c"
+#line 6548 "EditingTools.c"
gint _tmp34_ = 0;
EditingToolsCropToolCropToolWindow* _tmp35_ = NULL;
GtkEntry* _tmp36_ = NULL;
gint _tmp37_ = 0;
gchar* _tmp38_ = NULL;
gchar* _tmp39_ = NULL;
-#line 845 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 850 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp34_ = width;
-#line 845 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 850 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
height = (gint) (_tmp34_ / EDITING_TOOLS_CROP_TOOL_MIN_ASPECT_RATIO);
-#line 846 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 851 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp35_ = self->priv->crop_tool_window;
-#line 846 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 851 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp36_ = _tmp35_->custom_height_entry;
-#line 846 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 851 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp37_ = height;
-#line 846 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 851 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp38_ = g_strdup_printf ("%d", _tmp37_);
-#line 846 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 851 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp39_ = _tmp38_;
-#line 846 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 851 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_entry_set_text (_tmp36_, _tmp39_);
-#line 846 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 851 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_free0 (_tmp39_);
-#line 6564 "EditingTools.c"
+#line 6573 "EditingTools.c"
} else {
gint _tmp40_ = 0;
EditingToolsCropToolCropToolWindow* _tmp41_ = NULL;
@@ -6568,73 +6577,73 @@ static gboolean editing_tools_crop_tool_on_custom_entry_focus_out (EditingToolsC
gint _tmp43_ = 0;
gchar* _tmp44_ = NULL;
gchar* _tmp45_ = NULL;
-#line 848 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 853 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp40_ = height;
-#line 848 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 853 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
width = (gint) (_tmp40_ * EDITING_TOOLS_CROP_TOOL_MIN_ASPECT_RATIO);
-#line 849 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 854 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp41_ = self->priv->crop_tool_window;
-#line 849 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 854 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp42_ = _tmp41_->custom_width_entry;
-#line 849 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 854 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp43_ = width;
-#line 849 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 854 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp44_ = g_strdup_printf ("%d", _tmp43_);
-#line 849 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 854 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp45_ = _tmp44_;
-#line 849 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 854 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_entry_set_text (_tmp42_, _tmp45_);
-#line 849 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 854 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_free0 (_tmp45_);
-#line 6590 "EditingTools.c"
+#line 6599 "EditingTools.c"
}
} else {
gfloat _tmp46_ = 0.0F;
-#line 851 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 856 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp46_ = self->priv->custom_aspect_ratio;
-#line 851 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 856 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp46_ > EDITING_TOOLS_CROP_TOOL_MAX_ASPECT_RATIO) {
-#line 6598 "EditingTools.c"
+#line 6607 "EditingTools.c"
EditingToolsCropToolCropToolWindow* _tmp47_ = NULL;
GtkEntry* _tmp48_ = NULL;
EditingToolsCropToolCropToolWindow* _tmp49_ = NULL;
GtkEntry* _tmp50_ = NULL;
-#line 852 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 857 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp47_ = self->priv->crop_tool_window;
-#line 852 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 857 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp48_ = _tmp47_->most_recently_edited;
-#line 852 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 857 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp49_ = self->priv->crop_tool_window;
-#line 852 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 857 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp50_ = _tmp49_->custom_height_entry;
-#line 852 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 857 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp48_ == _tmp50_) {
-#line 6613 "EditingTools.c"
+#line 6622 "EditingTools.c"
gint _tmp51_ = 0;
EditingToolsCropToolCropToolWindow* _tmp52_ = NULL;
GtkEntry* _tmp53_ = NULL;
gint _tmp54_ = 0;
gchar* _tmp55_ = NULL;
gchar* _tmp56_ = NULL;
-#line 853 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 858 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp51_ = width;
-#line 853 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 858 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
height = (gint) (_tmp51_ / EDITING_TOOLS_CROP_TOOL_MAX_ASPECT_RATIO);
-#line 854 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 859 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp52_ = self->priv->crop_tool_window;
-#line 854 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 859 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp53_ = _tmp52_->custom_height_entry;
-#line 854 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 859 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp54_ = height;
-#line 854 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 859 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp55_ = g_strdup_printf ("%d", _tmp54_);
-#line 854 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 859 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp56_ = _tmp55_;
-#line 854 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 859 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_entry_set_text (_tmp53_, _tmp56_);
-#line 854 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 859 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_free0 (_tmp56_);
-#line 6638 "EditingTools.c"
+#line 6647 "EditingTools.c"
} else {
gint _tmp57_ = 0;
EditingToolsCropToolCropToolWindow* _tmp58_ = NULL;
@@ -6642,71 +6651,71 @@ static gboolean editing_tools_crop_tool_on_custom_entry_focus_out (EditingToolsC
gint _tmp60_ = 0;
gchar* _tmp61_ = NULL;
gchar* _tmp62_ = NULL;
-#line 856 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 861 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp57_ = height;
-#line 856 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 861 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
width = (gint) (_tmp57_ * EDITING_TOOLS_CROP_TOOL_MAX_ASPECT_RATIO);
-#line 857 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 862 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp58_ = self->priv->crop_tool_window;
-#line 857 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 862 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp59_ = _tmp58_->custom_width_entry;
-#line 857 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 862 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp60_ = width;
-#line 857 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 862 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp61_ = g_strdup_printf ("%d", _tmp60_);
-#line 857 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 862 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp62_ = _tmp61_;
-#line 857 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 862 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_entry_set_text (_tmp59_, _tmp62_);
-#line 857 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 862 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_free0 (_tmp62_);
-#line 6664 "EditingTools.c"
+#line 6673 "EditingTools.c"
}
}
}
-#line 861 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 866 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp63_ = width;
-#line 861 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 866 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp64_ = height;
-#line 861 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 866 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->custom_aspect_ratio = ((gfloat) _tmp63_) / ((gfloat) _tmp64_);
-#line 863 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 868 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp65_ = self->priv->scaled_crop;
-#line 863 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 868 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_crop_tool_constrain_crop (self, &_tmp65_, &_tmp66_);
-#line 863 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 868 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
new_crop = _tmp66_;
-#line 865 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 870 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp67_ = new_crop;
-#line 865 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 870 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_crop_tool_crop_resized (self, &_tmp67_);
-#line 866 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 871 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp68_ = new_crop;
-#line 866 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 871 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->scaled_crop = _tmp68_;
-#line 867 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 872 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp69_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 867 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 872 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp70_ = new_crop;
-#line 867 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 872 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_photo_canvas_invalidate_area (_tmp69_, &_tmp70_);
-#line 868 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 873 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp71_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 868 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 873 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_photo_canvas_repaint (_tmp71_);
-#line 870 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 875 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp72_ = width;
-#line 870 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 875 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->custom_width = _tmp72_;
-#line 871 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 876 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp73_ = height;
-#line 871 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 876 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->custom_height = _tmp73_;
-#line 873 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 878 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
result = FALSE;
-#line 873 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 878 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return result;
-#line 6710 "EditingTools.c"
+#line 6719 "EditingTools.c"
}
@@ -6715,21 +6724,21 @@ static void editing_tools_crop_tool_on_width_insert_text (EditingToolsCropTool*
GtkEntry* _tmp1_ = NULL;
const gchar* _tmp2_ = NULL;
gint _tmp3_ = 0;
-#line 876 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 881 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_CROP_TOOL (self));
-#line 876 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 881 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (text != NULL);
-#line 877 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 882 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = self->priv->crop_tool_window;
-#line 877 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 882 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = _tmp0_->custom_width_entry;
-#line 877 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 882 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = text;
-#line 877 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 882 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = length;
-#line 877 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 882 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_crop_tool_on_entry_insert_text (self, _tmp1_, _tmp2_, _tmp3_, position);
-#line 6733 "EditingTools.c"
+#line 6742 "EditingTools.c"
}
@@ -6738,21 +6747,21 @@ static void editing_tools_crop_tool_on_height_insert_text (EditingToolsCropTool*
GtkEntry* _tmp1_ = NULL;
const gchar* _tmp2_ = NULL;
gint _tmp3_ = 0;
-#line 880 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 885 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_CROP_TOOL (self));
-#line 880 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 885 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (text != NULL);
-#line 881 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 886 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = self->priv->crop_tool_window;
-#line 881 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 886 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = _tmp0_->custom_height_entry;
-#line 881 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 886 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = text;
-#line 881 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 886 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = length;
-#line 881 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 886 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_crop_tool_on_entry_insert_text (self, _tmp1_, _tmp2_, _tmp3_, position);
-#line 6756 "EditingTools.c"
+#line 6765 "EditingTools.c"
}
@@ -6760,17 +6769,17 @@ static gchar string_get (const gchar* self, glong index) {
gchar result = '\0';
glong _tmp0_ = 0L;
gchar _tmp1_ = '\0';
-#line 1086 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1086 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, '\0');
-#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = index;
-#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = ((gchar*) self)[_tmp0_];
-#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp1_;
-#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
-#line 6774 "EditingTools.c"
+#line 6783 "EditingTools.c"
}
@@ -6783,96 +6792,96 @@ static void editing_tools_crop_tool_on_entry_insert_text (EditingToolsCropTool*
gint _tmp22_ = 0;
gint _tmp23_ = 0;
GtkEntry* _tmp29_ = NULL;
-#line 884 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 889 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_CROP_TOOL (self));
-#line 884 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 889 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (GTK_IS_ENTRY (sender));
-#line 884 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 889 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (text != NULL);
-#line 885 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 890 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = self->priv->entry_insert_in_progress;
-#line 885 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 890 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp0_) {
-#line 886 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 891 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return;
-#line 6799 "EditingTools.c"
+#line 6808 "EditingTools.c"
}
-#line 888 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 893 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->entry_insert_in_progress = TRUE;
-#line 890 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 895 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = length;
-#line 890 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 895 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp1_ == -1) {
-#line 6807 "EditingTools.c"
+#line 6816 "EditingTools.c"
const gchar* _tmp2_ = NULL;
gint _tmp3_ = 0;
gint _tmp4_ = 0;
-#line 891 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 896 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = text;
-#line 891 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 896 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = strlen (_tmp2_);
-#line 891 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 896 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = _tmp3_;
-#line 891 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 896 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
length = (gint) _tmp4_;
-#line 6819 "EditingTools.c"
+#line 6828 "EditingTools.c"
}
-#line 894 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 899 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = g_strdup ("");
-#line 894 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 899 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
new_text = _tmp5_;
-#line 6825 "EditingTools.c"
+#line 6834 "EditingTools.c"
{
gint ctr = 0;
-#line 895 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 900 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
ctr = 0;
-#line 6830 "EditingTools.c"
+#line 6839 "EditingTools.c"
{
gboolean _tmp6_ = FALSE;
-#line 895 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 900 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = TRUE;
-#line 895 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 900 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
while (TRUE) {
-#line 6837 "EditingTools.c"
+#line 6846 "EditingTools.c"
gint _tmp8_ = 0;
gint _tmp9_ = 0;
const gchar* _tmp10_ = NULL;
gint _tmp11_ = 0;
gchar _tmp12_ = '\0';
gboolean _tmp13_ = FALSE;
-#line 895 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 900 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (!_tmp6_) {
-#line 6846 "EditingTools.c"
+#line 6855 "EditingTools.c"
gint _tmp7_ = 0;
-#line 895 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 900 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = ctr;
-#line 895 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 900 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
ctr = _tmp7_ + 1;
-#line 6852 "EditingTools.c"
+#line 6861 "EditingTools.c"
}
-#line 895 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 900 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = FALSE;
-#line 895 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 900 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = ctr;
-#line 895 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 900 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = length;
-#line 895 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 900 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (!(_tmp8_ < _tmp9_)) {
-#line 895 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 900 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
break;
-#line 6864 "EditingTools.c"
+#line 6873 "EditingTools.c"
}
-#line 896 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 901 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp10_ = text;
-#line 896 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 901 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp11_ = ctr;
-#line 896 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 901 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp12_ = string_get (_tmp10_, (glong) _tmp11_);
-#line 896 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 901 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp13_ = g_ascii_isdigit (_tmp12_);
-#line 896 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 901 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp13_) {
-#line 6876 "EditingTools.c"
+#line 6885 "EditingTools.c"
const gchar* _tmp14_ = NULL;
const gchar* _tmp15_ = NULL;
gint _tmp16_ = 0;
@@ -6880,68 +6889,68 @@ static void editing_tools_crop_tool_on_entry_insert_text (EditingToolsCropTool*
gchar* _tmp18_ = NULL;
gchar* _tmp19_ = NULL;
gchar* _tmp20_ = NULL;
-#line 897 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 902 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp14_ = new_text;
-#line 897 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 902 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp15_ = text;
-#line 897 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 902 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp16_ = ctr;
-#line 897 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 902 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp17_ = string_get (_tmp15_, (glong) _tmp16_);
-#line 897 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 902 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp18_ = g_strdup_printf ("%c", (gchar) _tmp17_);
-#line 897 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 902 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp19_ = _tmp18_;
-#line 897 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 902 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp20_ = g_strconcat (_tmp14_, _tmp19_, NULL);
-#line 897 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 902 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_free0 (new_text);
-#line 897 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 902 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
new_text = _tmp20_;
-#line 897 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 902 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_free0 (_tmp19_);
-#line 6904 "EditingTools.c"
+#line 6913 "EditingTools.c"
}
}
}
}
-#line 901 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 906 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp21_ = new_text;
-#line 901 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 906 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp22_ = strlen (_tmp21_);
-#line 901 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 906 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp23_ = _tmp22_;
-#line 901 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 906 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp23_ > 0) {
-#line 6917 "EditingTools.c"
+#line 6926 "EditingTools.c"
GtkEntry* _tmp24_ = NULL;
const gchar* _tmp25_ = NULL;
const gchar* _tmp26_ = NULL;
gint _tmp27_ = 0;
gint _tmp28_ = 0;
-#line 902 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 907 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp24_ = sender;
-#line 902 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 907 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp25_ = new_text;
-#line 902 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 907 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp26_ = new_text;
-#line 902 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 907 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp27_ = strlen (_tmp26_);
-#line 902 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 907 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp28_ = _tmp27_;
-#line 902 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 907 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_editable_insert_text (G_TYPE_CHECK_INSTANCE_CAST (_tmp24_, GTK_TYPE_EDITABLE, GtkEditable), _tmp25_, (gint) _tmp28_, position);
-#line 6935 "EditingTools.c"
+#line 6944 "EditingTools.c"
}
-#line 904 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 909 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp29_ = sender;
-#line 904 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 909 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_stop_emission_by_name (_tmp29_, "insert-text");
-#line 906 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 911 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->entry_insert_in_progress = FALSE;
-#line 884 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 889 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_free0 (new_text);
-#line 6945 "EditingTools.c"
+#line 6954 "EditingTools.c"
}
@@ -6954,53 +6963,53 @@ static gfloat editing_tools_crop_tool_get_constraint_aspect_ratio (EditingToolsC
gfloat _tmp3_ = 0.0F;
gfloat _tmp4_ = 0.0F;
EditingToolsCropToolReticleOrientation _tmp20_ = 0;
-#line 909 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 914 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (EDITING_TOOLS_IS_CROP_TOOL (self), 0.0F);
-#line 910 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 915 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = editing_tools_crop_tool_get_selected_constraint (self);
-#line 910 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 915 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = _tmp0_;
-#line 910 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 915 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = _tmp1_->aspect_ratio;
-#line 910 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 915 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = _tmp2_;
-#line 910 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 915 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_editing_tools_crop_tool_constraint_description_unref0 (_tmp1_);
-#line 910 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 915 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_result_ = _tmp3_;
-#line 912 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 917 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = _result_;
-#line 912 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 917 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp4_ == EDITING_TOOLS_CROP_TOOL_ORIGINAL_ASPECT_RATIO) {
-#line 6976 "EditingTools.c"
+#line 6985 "EditingTools.c"
EditingToolsPhotoCanvas* _tmp5_ = NULL;
GdkRectangle _tmp6_ = {0};
gint _tmp7_ = 0;
EditingToolsPhotoCanvas* _tmp8_ = NULL;
GdkRectangle _tmp9_ = {0};
gint _tmp10_ = 0;
-#line 913 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 918 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 913 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 918 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_photo_canvas_get_scaled_pixbuf_position (_tmp5_, &_tmp6_);
-#line 913 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 918 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = _tmp6_.width;
-#line 913 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 918 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 913 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 918 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_photo_canvas_get_scaled_pixbuf_position (_tmp8_, &_tmp9_);
-#line 913 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 918 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp10_ = _tmp9_.height;
-#line 913 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 918 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_result_ = ((gfloat) _tmp7_) / ((gfloat) _tmp10_);
-#line 6997 "EditingTools.c"
+#line 7006 "EditingTools.c"
} else {
gfloat _tmp11_ = 0.0F;
-#line 915 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 920 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp11_ = _result_;
-#line 915 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 920 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp11_ == EDITING_TOOLS_CROP_TOOL_SCREEN_ASPECT_RATIO) {
-#line 7004 "EditingTools.c"
+#line 7013 "EditingTools.c"
GdkScreen* screen = NULL;
GdkScreen* _tmp12_ = NULL;
GdkScreen* _tmp13_ = NULL;
@@ -7008,58 +7017,58 @@ static gfloat editing_tools_crop_tool_get_constraint_aspect_ratio (EditingToolsC
gint _tmp15_ = 0;
GdkScreen* _tmp16_ = NULL;
gint _tmp17_ = 0;
-#line 916 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 921 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp12_ = gdk_screen_get_default ();
-#line 916 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 921 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp13_ = _g_object_ref0 (_tmp12_);
-#line 916 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 921 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
screen = _tmp13_;
-#line 917 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 922 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp14_ = screen;
-#line 917 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 922 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp15_ = gdk_screen_get_width (_tmp14_);
-#line 917 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 922 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp16_ = screen;
-#line 917 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 922 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp17_ = gdk_screen_get_height (_tmp16_);
-#line 917 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 922 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_result_ = ((gfloat) _tmp15_) / ((gfloat) _tmp17_);
-#line 915 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 920 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (screen);
-#line 7030 "EditingTools.c"
+#line 7039 "EditingTools.c"
} else {
gfloat _tmp18_ = 0.0F;
-#line 918 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 923 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp18_ = _result_;
-#line 918 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 923 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp18_ == EDITING_TOOLS_CROP_TOOL_CUSTOM_ASPECT_RATIO) {
-#line 7037 "EditingTools.c"
+#line 7046 "EditingTools.c"
gfloat _tmp19_ = 0.0F;
-#line 919 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 924 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp19_ = self->priv->custom_aspect_ratio;
-#line 919 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 924 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_result_ = _tmp19_;
-#line 7043 "EditingTools.c"
+#line 7052 "EditingTools.c"
}
}
}
-#line 921 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 926 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp20_ = self->priv->reticle_orientation;
-#line 921 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 926 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp20_ == EDITING_TOOLS_CROP_TOOL_RETICLE_ORIENTATION_PORTRAIT) {
-#line 7051 "EditingTools.c"
+#line 7060 "EditingTools.c"
gfloat _tmp21_ = 0.0F;
-#line 922 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 927 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp21_ = _result_;
-#line 922 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 927 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_result_ = 1.0f / _tmp21_;
-#line 7057 "EditingTools.c"
+#line 7066 "EditingTools.c"
}
-#line 924 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 929 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
result = _result_;
-#line 924 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 929 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return result;
-#line 7063 "EditingTools.c"
+#line 7072 "EditingTools.c"
}
@@ -7070,23 +7079,23 @@ static gfloat editing_tools_crop_tool_get_constraint_aspect_ratio_for_constraint
gfloat _tmp1_ = 0.0F;
gfloat _tmp2_ = 0.0F;
EditingToolsCropToolReticleOrientation _tmp18_ = 0;
-#line 927 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 932 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (EDITING_TOOLS_IS_CROP_TOOL (self), 0.0F);
-#line 927 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 932 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (EDITING_TOOLS_CROP_TOOL_IS_CONSTRAINT_DESCRIPTION (constraint), 0.0F);
-#line 927 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 932 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (IS_PHOTO (photo), 0.0F);
-#line 928 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 933 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = constraint;
-#line 928 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 933 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = _tmp0_->aspect_ratio;
-#line 928 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 933 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_result_ = _tmp1_;
-#line 930 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 935 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = _result_;
-#line 930 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 935 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp2_ == EDITING_TOOLS_CROP_TOOL_ORIGINAL_ASPECT_RATIO) {
-#line 7090 "EditingTools.c"
+#line 7099 "EditingTools.c"
Dimensions orig_dim = {0};
Photo* _tmp3_ = NULL;
Dimensions _tmp4_ = {0};
@@ -7094,30 +7103,30 @@ static gfloat editing_tools_crop_tool_get_constraint_aspect_ratio_for_constraint
gint _tmp6_ = 0;
Dimensions _tmp7_ = {0};
gint _tmp8_ = 0;
-#line 931 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 936 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = photo;
-#line 931 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 936 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
photo_get_original_dimensions (_tmp3_, &_tmp4_);
-#line 931 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 936 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
orig_dim = _tmp4_;
-#line 932 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 937 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = orig_dim;
-#line 932 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 937 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = _tmp5_.width;
-#line 932 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 937 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = orig_dim;
-#line 932 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 937 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = _tmp7_.height;
-#line 932 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 937 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_result_ = ((gfloat) _tmp6_) / ((gfloat) _tmp8_);
-#line 7114 "EditingTools.c"
+#line 7123 "EditingTools.c"
} else {
gfloat _tmp9_ = 0.0F;
-#line 933 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 938 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = _result_;
-#line 933 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 938 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp9_ == EDITING_TOOLS_CROP_TOOL_SCREEN_ASPECT_RATIO) {
-#line 7121 "EditingTools.c"
+#line 7130 "EditingTools.c"
GdkScreen* screen = NULL;
GdkScreen* _tmp10_ = NULL;
GdkScreen* _tmp11_ = NULL;
@@ -7125,58 +7134,58 @@ static gfloat editing_tools_crop_tool_get_constraint_aspect_ratio_for_constraint
gint _tmp13_ = 0;
GdkScreen* _tmp14_ = NULL;
gint _tmp15_ = 0;
-#line 934 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 939 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp10_ = gdk_screen_get_default ();
-#line 934 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 939 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp11_ = _g_object_ref0 (_tmp10_);
-#line 934 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 939 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
screen = _tmp11_;
-#line 935 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 940 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp12_ = screen;
-#line 935 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 940 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp13_ = gdk_screen_get_width (_tmp12_);
-#line 935 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 940 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp14_ = screen;
-#line 935 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 940 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp15_ = gdk_screen_get_height (_tmp14_);
-#line 935 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 940 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_result_ = ((gfloat) _tmp13_) / ((gfloat) _tmp15_);
-#line 933 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 938 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (screen);
-#line 7147 "EditingTools.c"
+#line 7156 "EditingTools.c"
} else {
gfloat _tmp16_ = 0.0F;
-#line 936 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 941 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp16_ = _result_;
-#line 936 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 941 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp16_ == EDITING_TOOLS_CROP_TOOL_CUSTOM_ASPECT_RATIO) {
-#line 7154 "EditingTools.c"
+#line 7163 "EditingTools.c"
gfloat _tmp17_ = 0.0F;
-#line 937 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 942 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp17_ = self->priv->custom_aspect_ratio;
-#line 937 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 942 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_result_ = _tmp17_;
-#line 7160 "EditingTools.c"
+#line 7169 "EditingTools.c"
}
}
}
-#line 939 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 944 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp18_ = self->priv->reticle_orientation;
-#line 939 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 944 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp18_ == EDITING_TOOLS_CROP_TOOL_RETICLE_ORIENTATION_PORTRAIT) {
-#line 7168 "EditingTools.c"
+#line 7177 "EditingTools.c"
gfloat _tmp19_ = 0.0F;
-#line 940 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 945 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp19_ = _result_;
-#line 940 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 945 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_result_ = 1.0f / _tmp19_;
-#line 7174 "EditingTools.c"
+#line 7183 "EditingTools.c"
}
-#line 942 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 947 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
result = _result_;
-#line 942 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 947 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return result;
-#line 7180 "EditingTools.c"
+#line 7189 "EditingTools.c"
}
@@ -7191,33 +7200,33 @@ static void editing_tools_crop_tool_constraint_changed (EditingToolsCropTool* se
gboolean _tmp16_ = FALSE;
gfloat _tmp17_ = 0.0F;
gfloat _tmp18_ = 0.0F;
-#line 946 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 951 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_CROP_TOOL (self));
-#line 947 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 952 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = editing_tools_crop_tool_get_selected_constraint (self);
-#line 947 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 952 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
selected_constraint = _tmp0_;
-#line 948 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 953 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = selected_constraint;
-#line 948 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 953 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = _tmp1_->aspect_ratio;
-#line 948 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 953 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp2_ == EDITING_TOOLS_CROP_TOOL_CUSTOM_ASPECT_RATIO) {
-#line 949 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 954 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_crop_tool_set_custom_constraint_mode (self);
-#line 7209 "EditingTools.c"
+#line 7218 "EditingTools.c"
} else {
EditingToolsCropToolConstraintDescription* _tmp3_ = NULL;
gfloat _tmp4_ = 0.0F;
-#line 951 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 956 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_crop_tool_set_normal_constraint_mode (self);
-#line 953 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 958 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = selected_constraint;
-#line 953 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 958 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = _tmp3_->aspect_ratio;
-#line 953 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 958 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp4_ != EDITING_TOOLS_CROP_TOOL_ANY_ASPECT_RATIO) {
-#line 7221 "EditingTools.c"
+#line 7230 "EditingTools.c"
ConfigFacade* _tmp5_ = NULL;
ConfigFacade* _tmp6_ = NULL;
gint _tmp7_ = 0;
@@ -7226,60 +7235,60 @@ static void editing_tools_crop_tool_constraint_changed (EditingToolsCropTool* se
gint _tmp10_ = 0;
gint _tmp11_ = 0;
gint _tmp12_ = 0;
-#line 957 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 962 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = config_facade_get_instance ();
-#line 957 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 962 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = _tmp5_;
-#line 957 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 962 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = configuration_facade_get_last_crop_width (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
-#line 957 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 962 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->custom_init_width = _tmp7_;
-#line 957 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 962 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (_tmp6_);
-#line 958 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 963 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = config_facade_get_instance ();
-#line 958 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 963 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = _tmp8_;
-#line 958 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 963 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp10_ = configuration_facade_get_last_crop_height (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
-#line 958 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 963 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->custom_init_height = _tmp10_;
-#line 958 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 963 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (_tmp9_);
-#line 959 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 964 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp11_ = self->priv->custom_init_width;
-#line 959 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 964 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp12_ = self->priv->custom_init_height;
-#line 959 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 964 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->custom_aspect_ratio = ((gfloat) _tmp11_) / ((gfloat) _tmp12_);
-#line 7256 "EditingTools.c"
+#line 7265 "EditingTools.c"
}
}
-#line 963 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 968 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_crop_tool_update_pivot_button_state (self);
-#line 965 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 970 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp13_ = editing_tools_crop_tool_get_selected_constraint (self);
-#line 965 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 970 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp14_ = _tmp13_;
-#line 965 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 970 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp15_ = _tmp14_->is_pivotable;
-#line 965 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 970 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp16_ = !_tmp15_;
-#line 965 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 970 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_editing_tools_crop_tool_constraint_description_unref0 (_tmp14_);
-#line 965 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 970 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp16_) {
-#line 966 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 971 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->reticle_orientation = EDITING_TOOLS_CROP_TOOL_RETICLE_ORIENTATION_LANDSCAPE;
-#line 7275 "EditingTools.c"
+#line 7284 "EditingTools.c"
}
-#line 968 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 973 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp17_ = editing_tools_crop_tool_get_constraint_aspect_ratio (self);
-#line 968 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 973 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp18_ = self->priv->pre_aspect_ratio;
-#line 968 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 973 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp17_ != _tmp18_) {
-#line 7283 "EditingTools.c"
+#line 7292 "EditingTools.c"
Box new_crop = {0};
Box _tmp19_ = {0};
Box _tmp20_ = {0};
@@ -7289,39 +7298,39 @@ static void editing_tools_crop_tool_constraint_changed (EditingToolsCropTool* se
Box _tmp24_ = {0};
EditingToolsPhotoCanvas* _tmp25_ = NULL;
gfloat _tmp26_ = 0.0F;
-#line 969 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 974 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp19_ = self->priv->scaled_crop;
-#line 969 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 974 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_crop_tool_constrain_crop (self, &_tmp19_, &_tmp20_);
-#line 969 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 974 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
new_crop = _tmp20_;
-#line 971 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 976 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp21_ = new_crop;
-#line 971 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 976 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_crop_tool_crop_resized (self, &_tmp21_);
-#line 972 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 977 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp22_ = new_crop;
-#line 972 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 977 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->scaled_crop = _tmp22_;
-#line 973 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 978 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp23_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 973 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 978 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp24_ = new_crop;
-#line 973 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 978 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_photo_canvas_invalidate_area (_tmp23_, &_tmp24_);
-#line 974 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 979 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp25_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 974 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 979 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_photo_canvas_repaint (_tmp25_);
-#line 976 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 981 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp26_ = editing_tools_crop_tool_get_constraint_aspect_ratio (self);
-#line 976 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 981 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->pre_aspect_ratio = _tmp26_;
-#line 7321 "EditingTools.c"
+#line 7330 "EditingTools.c"
}
-#line 946 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 951 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_editing_tools_crop_tool_constraint_description_unref0 (selected_constraint);
-#line 7325 "EditingTools.c"
+#line 7334 "EditingTools.c"
}
@@ -7370,153 +7379,153 @@ static void editing_tools_crop_tool_set_custom_constraint_mode (EditingToolsCrop
gint _tmp68_ = 0;
gint _tmp69_ = 0;
EditingToolsCropToolCropToolWindow* _tmp70_ = NULL;
-#line 980 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 985 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_CROP_TOOL (self));
-#line 981 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 986 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = self->priv->constraint_mode;
-#line 981 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 986 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp0_ == EDITING_TOOLS_CROP_TOOL_CONSTRAINT_MODE_CUSTOM) {
-#line 982 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 987 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return;
-#line 7382 "EditingTools.c"
+#line 7391 "EditingTools.c"
}
-#line 984 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 989 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = self->priv->crop_tool_window;
-#line 984 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 989 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = _tmp2_->normal_width;
-#line 984 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 989 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp3_ == -1) {
-#line 984 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 989 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = TRUE;
-#line 7392 "EditingTools.c"
+#line 7401 "EditingTools.c"
} else {
EditingToolsCropToolCropToolWindow* _tmp4_ = NULL;
gint _tmp5_ = 0;
-#line 984 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 989 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = self->priv->crop_tool_window;
-#line 984 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 989 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = _tmp4_->normal_height;
-#line 984 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 989 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = _tmp5_ == -1;
-#line 7402 "EditingTools.c"
+#line 7411 "EditingTools.c"
}
-#line 984 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 989 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp1_) {
-#line 7406 "EditingTools.c"
+#line 7415 "EditingTools.c"
EditingToolsCropToolCropToolWindow* _tmp6_ = NULL;
EditingToolsCropToolCropToolWindow* _tmp7_ = NULL;
EditingToolsCropToolCropToolWindow* _tmp8_ = NULL;
gint _tmp9_ = 0;
gint _tmp10_ = 0;
-#line 985 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 990 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = self->priv->crop_tool_window;
-#line 985 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 990 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = self->priv->crop_tool_window;
-#line 985 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 990 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = self->priv->crop_tool_window;
-#line 985 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 990 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_window_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, gtk_window_get_type (), GtkWindow), &_tmp9_, &_tmp10_);
-#line 985 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 990 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_->normal_width = _tmp9_;
-#line 985 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 990 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_->normal_height = _tmp10_;
-#line 7424 "EditingTools.c"
+#line 7433 "EditingTools.c"
}
-#line 988 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 993 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp11_ = self->priv->crop_tool_window;
-#line 988 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 993 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp12_ = _tmp11_->layout;
-#line 988 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 993 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp13_ = self->priv->crop_tool_window;
-#line 988 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 993 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp14_ = _tmp13_->constraint_combo;
-#line 988 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 993 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_container_remove (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, gtk_widget_get_type (), GtkWidget));
-#line 989 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 994 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp15_ = self->priv->crop_tool_window;
-#line 989 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 994 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp16_ = _tmp15_->layout;
-#line 989 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 994 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp17_ = self->priv->crop_tool_window;
-#line 989 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 994 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp18_ = _tmp17_->pivot_reticle_button;
-#line 989 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 994 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_container_remove (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, gtk_widget_get_type (), GtkWidget));
-#line 990 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 995 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp19_ = self->priv->crop_tool_window;
-#line 990 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 995 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp20_ = _tmp19_->layout;
-#line 990 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 995 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp21_ = self->priv->crop_tool_window;
-#line 990 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 995 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp22_ = _tmp21_->response_layout;
-#line 990 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 995 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_container_remove (G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, gtk_widget_get_type (), GtkWidget));
-#line 992 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 997 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp23_ = self->priv->crop_tool_window;
-#line 992 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 997 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp24_ = _tmp23_->layout;
-#line 992 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 997 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp25_ = self->priv->crop_tool_window;
-#line 992 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 997 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp26_ = _tmp25_->constraint_combo;
-#line 992 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 997 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp24_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp26_, gtk_widget_get_type (), GtkWidget));
-#line 993 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 998 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp27_ = self->priv->crop_tool_window;
-#line 993 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 998 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp28_ = _tmp27_->layout;
-#line 993 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 998 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp29_ = self->priv->crop_tool_window;
-#line 993 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 998 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp30_ = _tmp29_->custom_width_entry;
-#line 993 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 998 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp28_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp30_, gtk_widget_get_type (), GtkWidget));
-#line 994 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 999 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp31_ = self->priv->crop_tool_window;
-#line 994 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 999 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp32_ = _tmp31_->layout;
-#line 994 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 999 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp33_ = self->priv->crop_tool_window;
-#line 994 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 999 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp34_ = _tmp33_->custom_mulsign_label;
-#line 994 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 999 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp32_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp34_, gtk_widget_get_type (), GtkWidget));
-#line 995 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1000 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp35_ = self->priv->crop_tool_window;
-#line 995 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1000 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp36_ = _tmp35_->layout;
-#line 995 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1000 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp37_ = self->priv->crop_tool_window;
-#line 995 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1000 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp38_ = _tmp37_->custom_height_entry;
-#line 995 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1000 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp36_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp38_, gtk_widget_get_type (), GtkWidget));
-#line 996 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1001 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp39_ = self->priv->crop_tool_window;
-#line 996 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1001 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp40_ = _tmp39_->layout;
-#line 996 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1001 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp41_ = self->priv->crop_tool_window;
-#line 996 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1001 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp42_ = _tmp41_->pivot_reticle_button;
-#line 996 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1001 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp40_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp42_, gtk_widget_get_type (), GtkWidget));
-#line 997 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1002 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp43_ = self->priv->crop_tool_window;
-#line 997 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1002 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp44_ = _tmp43_->layout;
-#line 997 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1002 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp45_ = self->priv->crop_tool_window;
-#line 997 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1002 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp46_ = _tmp45_->response_layout;
-#line 997 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1002 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp44_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp46_, gtk_widget_get_type (), GtkWidget));
-#line 999 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1004 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp47_ = self->priv->reticle_orientation;
-#line 999 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1004 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp47_ == EDITING_TOOLS_CROP_TOOL_RETICLE_ORIENTATION_LANDSCAPE) {
-#line 7520 "EditingTools.c"
+#line 7529 "EditingTools.c"
EditingToolsCropToolCropToolWindow* _tmp48_ = NULL;
GtkEntry* _tmp49_ = NULL;
gint _tmp50_ = 0;
@@ -7527,35 +7536,35 @@ static void editing_tools_crop_tool_set_custom_constraint_mode (EditingToolsCrop
gint _tmp55_ = 0;
gchar* _tmp56_ = NULL;
gchar* _tmp57_ = NULL;
-#line 1000 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1005 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp48_ = self->priv->crop_tool_window;
-#line 1000 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1005 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp49_ = _tmp48_->custom_width_entry;
-#line 1000 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1005 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp50_ = self->priv->custom_init_width;
-#line 1000 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1005 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp51_ = g_strdup_printf ("%d", _tmp50_);
-#line 1000 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1005 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp52_ = _tmp51_;
-#line 1000 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1005 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_entry_set_text (_tmp49_, _tmp52_);
-#line 1000 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1005 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_free0 (_tmp52_);
-#line 1001 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1006 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp53_ = self->priv->crop_tool_window;
-#line 1001 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1006 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp54_ = _tmp53_->custom_height_entry;
-#line 1001 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1006 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp55_ = self->priv->custom_init_height;
-#line 1001 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1006 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp56_ = g_strdup_printf ("%d", _tmp55_);
-#line 1001 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1006 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp57_ = _tmp56_;
-#line 1001 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1006 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_entry_set_text (_tmp54_, _tmp57_);
-#line 1001 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1006 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_free0 (_tmp57_);
-#line 7559 "EditingTools.c"
+#line 7568 "EditingTools.c"
} else {
EditingToolsCropToolCropToolWindow* _tmp58_ = NULL;
GtkEntry* _tmp59_ = NULL;
@@ -7567,49 +7576,49 @@ static void editing_tools_crop_tool_set_custom_constraint_mode (EditingToolsCrop
gint _tmp65_ = 0;
gchar* _tmp66_ = NULL;
gchar* _tmp67_ = NULL;
-#line 1003 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1008 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp58_ = self->priv->crop_tool_window;
-#line 1003 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1008 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp59_ = _tmp58_->custom_width_entry;
-#line 1003 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1008 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp60_ = self->priv->custom_init_height;
-#line 1003 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1008 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp61_ = g_strdup_printf ("%d", _tmp60_);
-#line 1003 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1008 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp62_ = _tmp61_;
-#line 1003 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1008 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_entry_set_text (_tmp59_, _tmp62_);
-#line 1003 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1008 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_free0 (_tmp62_);
-#line 1004 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1009 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp63_ = self->priv->crop_tool_window;
-#line 1004 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1009 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp64_ = _tmp63_->custom_height_entry;
-#line 1004 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1009 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp65_ = self->priv->custom_init_width;
-#line 1004 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1009 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp66_ = g_strdup_printf ("%d", _tmp65_);
-#line 1004 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1009 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp67_ = _tmp66_;
-#line 1004 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1009 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_entry_set_text (_tmp64_, _tmp67_);
-#line 1004 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1009 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_free0 (_tmp67_);
-#line 7599 "EditingTools.c"
+#line 7608 "EditingTools.c"
}
-#line 1006 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1011 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp68_ = self->priv->custom_init_width;
-#line 1006 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1011 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp69_ = self->priv->custom_init_height;
-#line 1006 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1011 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->custom_aspect_ratio = ((gfloat) _tmp68_) / ((gfloat) _tmp69_);
-#line 1008 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1013 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp70_ = self->priv->crop_tool_window;
-#line 1008 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1013 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (_tmp70_, gtk_widget_get_type (), GtkWidget));
-#line 1010 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1015 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->constraint_mode = EDITING_TOOLS_CROP_TOOL_CONSTRAINT_MODE_CUSTOM;
-#line 7613 "EditingTools.c"
+#line 7622 "EditingTools.c"
}
@@ -7657,125 +7666,125 @@ static void editing_tools_crop_tool_set_normal_constraint_mode (EditingToolsCrop
EditingToolsCropToolCropToolWindow* _tmp40_ = NULL;
gint _tmp41_ = 0;
EditingToolsCropToolCropToolWindow* _tmp42_ = NULL;
-#line 1013 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1018 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_CROP_TOOL (self));
-#line 1014 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1019 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = self->priv->constraint_mode;
-#line 1014 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1019 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp0_ == EDITING_TOOLS_CROP_TOOL_CONSTRAINT_MODE_NORMAL) {
-#line 1015 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1020 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return;
-#line 7669 "EditingTools.c"
+#line 7678 "EditingTools.c"
}
-#line 1017 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1022 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = self->priv->crop_tool_window;
-#line 1017 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1022 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = _tmp1_->layout;
-#line 1017 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1022 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = self->priv->crop_tool_window;
-#line 1017 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1022 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = _tmp3_->constraint_combo;
-#line 1017 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1022 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_container_remove (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_widget_get_type (), GtkWidget));
-#line 1018 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1023 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = self->priv->crop_tool_window;
-#line 1018 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1023 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = _tmp5_->layout;
-#line 1018 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1023 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = self->priv->crop_tool_window;
-#line 1018 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1023 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = _tmp7_->custom_width_entry;
-#line 1018 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1023 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_container_remove (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, gtk_widget_get_type (), GtkWidget));
-#line 1019 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1024 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = self->priv->crop_tool_window;
-#line 1019 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1024 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp10_ = _tmp9_->layout;
-#line 1019 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1024 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp11_ = self->priv->crop_tool_window;
-#line 1019 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1024 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp12_ = _tmp11_->custom_mulsign_label;
-#line 1019 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1024 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_container_remove (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, gtk_widget_get_type (), GtkWidget));
-#line 1020 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1025 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp13_ = self->priv->crop_tool_window;
-#line 1020 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1025 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp14_ = _tmp13_->layout;
-#line 1020 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1025 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp15_ = self->priv->crop_tool_window;
-#line 1020 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1025 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp16_ = _tmp15_->custom_height_entry;
-#line 1020 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1025 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_container_remove (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, gtk_widget_get_type (), GtkWidget));
-#line 1021 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1026 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp17_ = self->priv->crop_tool_window;
-#line 1021 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1026 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp18_ = _tmp17_->layout;
-#line 1021 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1026 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp19_ = self->priv->crop_tool_window;
-#line 1021 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1026 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp20_ = _tmp19_->pivot_reticle_button;
-#line 1021 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1026 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_container_remove (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, gtk_widget_get_type (), GtkWidget));
-#line 1022 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1027 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp21_ = self->priv->crop_tool_window;
-#line 1022 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1027 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp22_ = _tmp21_->layout;
-#line 1022 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1027 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp23_ = self->priv->crop_tool_window;
-#line 1022 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1027 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp24_ = _tmp23_->response_layout;
-#line 1022 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1027 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_container_remove (G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp24_, gtk_widget_get_type (), GtkWidget));
-#line 1024 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1029 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp25_ = self->priv->crop_tool_window;
-#line 1024 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1029 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp26_ = _tmp25_->layout;
-#line 1024 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1029 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp27_ = self->priv->crop_tool_window;
-#line 1024 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1029 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp28_ = _tmp27_->constraint_combo;
-#line 1024 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1029 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp26_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp28_, gtk_widget_get_type (), GtkWidget));
-#line 1025 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1030 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp29_ = self->priv->crop_tool_window;
-#line 1025 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1030 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp30_ = _tmp29_->layout;
-#line 1025 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1030 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp31_ = self->priv->crop_tool_window;
-#line 1025 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1030 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp32_ = _tmp31_->pivot_reticle_button;
-#line 1025 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1030 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp30_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp32_, gtk_widget_get_type (), GtkWidget));
-#line 1026 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1031 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp33_ = self->priv->crop_tool_window;
-#line 1026 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1031 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp34_ = _tmp33_->layout;
-#line 1026 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1031 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp35_ = self->priv->crop_tool_window;
-#line 1026 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1031 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp36_ = _tmp35_->response_layout;
-#line 1026 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1031 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp34_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp36_, gtk_widget_get_type (), GtkWidget));
-#line 1028 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1033 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp37_ = self->priv->crop_tool_window;
-#line 1028 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1033 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp38_ = self->priv->crop_tool_window;
-#line 1028 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1033 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp39_ = _tmp38_->normal_width;
-#line 1028 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1033 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp40_ = self->priv->crop_tool_window;
-#line 1028 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1033 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp41_ = _tmp40_->normal_height;
-#line 1028 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1033 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_window_resize (G_TYPE_CHECK_INSTANCE_CAST (_tmp37_, gtk_window_get_type (), GtkWindow), _tmp39_, _tmp41_);
-#line 1031 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1036 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp42_ = self->priv->crop_tool_window;
-#line 1031 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1036 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (_tmp42_, gtk_widget_get_type (), GtkWidget));
-#line 1033 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1038 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->constraint_mode = EDITING_TOOLS_CROP_TOOL_CONSTRAINT_MODE_NORMAL;
-#line 7779 "EditingTools.c"
+#line 7788 "EditingTools.c"
}
@@ -7810,118 +7819,118 @@ static void editing_tools_crop_tool_constrain_crop (EditingToolsCropTool* self,
gint _tmp24_ = 0;
gfloat _tmp25_ = 0.0F;
Box _tmp30_ = {0};
-#line 1036 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1041 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_CROP_TOOL (self));
-#line 1036 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1041 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (crop != NULL);
-#line 1037 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1042 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = editing_tools_crop_tool_get_constraint_aspect_ratio (self);
-#line 1037 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1042 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
user_aspect_ratio = _tmp0_;
-#line 1038 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1043 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = user_aspect_ratio;
-#line 1038 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1043 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp1_ == EDITING_TOOLS_CROP_TOOL_ANY_ASPECT_RATIO) {
-#line 7826 "EditingTools.c"
+#line 7835 "EditingTools.c"
Box _tmp2_ = {0};
-#line 1039 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1044 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = *crop;
-#line 1039 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1044 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*result = _tmp2_;
-#line 1039 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1044 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return;
-#line 7834 "EditingTools.c"
+#line 7843 "EditingTools.c"
}
-#line 1042 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1047 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = box_get_width (crop);
-#line 1042 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1047 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = box_get_height (crop);
-#line 1042 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1047 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
old_area = (gfloat) (_tmp3_ * _tmp4_);
-#line 1043 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1048 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = old_area;
-#line 1043 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1048 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = user_aspect_ratio;
-#line 1043 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1048 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = sqrt ((gdouble) (_tmp5_ / _tmp6_));
-#line 1043 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1048 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
box_adjust_height (crop, (gint) _tmp7_);
-#line 1044 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1049 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = old_area;
-#line 1044 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1049 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = user_aspect_ratio;
-#line 1044 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1049 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp10_ = sqrt ((gdouble) (_tmp8_ * _tmp9_));
-#line 1044 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1049 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
box_adjust_width (crop, (gint) _tmp10_);
-#line 1047 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1052 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_crop_tool_get_photo_dimensions (self, &_tmp11_);
-#line 1047 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1052 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
image_size = _tmp11_;
-#line 1049 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1054 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp12_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 1049 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1054 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp13_ = editing_tools_photo_canvas_get_photo (_tmp12_);
-#line 1049 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1054 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp14_ = _tmp13_;
-#line 1049 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1054 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
photo_get_straighten (_tmp14_, &_tmp15_);
-#line 1049 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1054 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
angle = _tmp15_;
-#line 1049 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1054 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (_tmp14_);
-#line 1050 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1055 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp16_ = *crop;
-#line 1050 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1055 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp17_ = image_size;
-#line 1050 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1055 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp18_ = _tmp17_.width;
-#line 1050 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1055 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp19_ = image_size;
-#line 1050 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1055 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp20_ = _tmp19_.height;
-#line 1050 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1055 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp21_ = angle;
-#line 1050 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1055 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
clamp_inside_rotated_image (&_tmp16_, _tmp18_, _tmp20_, _tmp21_, FALSE, &_tmp22_);
-#line 1050 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1055 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*crop = _tmp22_;
-#line 1053 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1058 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp23_ = box_get_width (crop);
-#line 1053 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1058 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp24_ = box_get_height (crop);
-#line 1053 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1058 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp25_ = user_aspect_ratio;
-#line 1053 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1058 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (((gfloat) _tmp23_) >= (_tmp24_ * _tmp25_)) {
-#line 7898 "EditingTools.c"
+#line 7907 "EditingTools.c"
gint _tmp26_ = 0;
gfloat _tmp27_ = 0.0F;
-#line 1054 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1059 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp26_ = box_get_height (crop);
-#line 1054 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1059 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp27_ = user_aspect_ratio;
-#line 1054 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1059 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
box_adjust_width (crop, (gint) (_tmp26_ * _tmp27_));
-#line 7907 "EditingTools.c"
+#line 7916 "EditingTools.c"
} else {
gint _tmp28_ = 0;
gfloat _tmp29_ = 0.0F;
-#line 1056 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1061 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp28_ = box_get_width (crop);
-#line 1056 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1061 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp29_ = user_aspect_ratio;
-#line 1056 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1061 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
box_adjust_height (crop, (gint) (_tmp28_ / _tmp29_));
-#line 7917 "EditingTools.c"
+#line 7926 "EditingTools.c"
}
-#line 1058 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1063 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp30_ = *crop;
-#line 1058 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1063 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*result = _tmp30_;
-#line 1058 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1063 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return;
-#line 7925 "EditingTools.c"
+#line 7934 "EditingTools.c"
}
@@ -7936,60 +7945,60 @@ static EditingToolsCropToolConstraintDescription* editing_tools_crop_tool_get_la
EditingToolsCropToolConstraintDescription** _tmp5_ = NULL;
gint _tmp5__length1 = 0;
EditingToolsCropToolConstraintDescription* _tmp9_ = NULL;
-#line 1061 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1066 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (EDITING_TOOLS_IS_CROP_TOOL (self), NULL);
-#line 1062 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1067 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = config_facade_get_instance ();
-#line 1062 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1067 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = _tmp0_;
-#line 1062 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1067 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = configuration_facade_get_last_crop_menu_choice (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
-#line 1062 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1067 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_vala_index = _tmp2_;
-#line 1062 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1067 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (_tmp1_);
-#line 1064 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1069 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = _vala_index;
-#line 1064 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1069 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = self->priv->constraints;
-#line 1064 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1069 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5__length1 = self->priv->constraints_length1;
-#line 1064 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1069 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp4_ < _tmp5__length1) {
-#line 7960 "EditingTools.c"
+#line 7969 "EditingTools.c"
EditingToolsCropToolConstraintDescription** _tmp6_ = NULL;
gint _tmp6__length1 = 0;
gint _tmp7_ = 0;
EditingToolsCropToolConstraintDescription* _tmp8_ = NULL;
-#line 1064 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1069 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = self->priv->constraints;
-#line 1064 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1069 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6__length1 = self->priv->constraints_length1;
-#line 1064 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1069 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = _vala_index;
-#line 1064 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1069 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = _tmp6_[_tmp7_];
-#line 1064 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1069 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = _tmp8_;
-#line 7975 "EditingTools.c"
+#line 7984 "EditingTools.c"
} else {
-#line 1064 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1069 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = NULL;
-#line 7979 "EditingTools.c"
+#line 7988 "EditingTools.c"
}
-#line 1064 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1069 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = _editing_tools_crop_tool_constraint_description_ref0 (_tmp3_);
-#line 1064 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1069 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
result = _tmp9_;
-#line 1064 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1069 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (index) {
-#line 1064 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1069 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*index = _vala_index;
-#line 7989 "EditingTools.c"
+#line 7998 "EditingTools.c"
}
-#line 1064 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1069 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return result;
-#line 7993 "EditingTools.c"
+#line 8002 "EditingTools.c"
}
@@ -8070,159 +8079,159 @@ static void editing_tools_crop_tool_real_activate (EditingToolsEditingTool* base
Box _tmp119_ = {0};
EditingToolsPhotoCanvas* _tmp120_ = NULL;
gfloat _tmp121_ = 0.0F;
-#line 1067 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1072 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, EDITING_TOOLS_TYPE_CROP_TOOL, EditingToolsCropTool);
-#line 1067 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1072 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_PHOTO_CANVAS (canvas));
-#line 1068 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1073 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = canvas;
-#line 1068 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1073 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_crop_tool_bind_canvas_handlers (self, _tmp0_);
-#line 1070 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1075 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = canvas;
-#line 1070 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1075 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = editing_tools_photo_canvas_get_default_ctx (_tmp1_);
-#line 1070 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1075 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = _tmp2_;
-#line 1070 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1075 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = canvas;
-#line 1070 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1075 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_photo_canvas_get_surface_dim (_tmp4_, &_tmp5_);
-#line 1070 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1075 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_crop_tool_prepare_ctx (self, _tmp3_, &_tmp5_);
-#line 1070 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1075 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_cairo_destroy0 (_tmp3_);
-#line 1072 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1077 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = self->priv->crop_surface;
-#line 1072 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1077 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp6_ != NULL) {
-#line 1073 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1078 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_cairo_surface_destroy0 (self->priv->crop_surface);
-#line 1073 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1078 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->crop_surface = NULL;
-#line 8104 "EditingTools.c"
+#line 8113 "EditingTools.c"
}
-#line 1075 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1080 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = canvas;
-#line 1075 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1080 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_photo_canvas_get_scaled_pixbuf_position (_tmp7_, &_tmp8_);
-#line 1075 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1080 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = _tmp8_.width;
-#line 1075 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1080 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp10_ = canvas;
-#line 1075 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1080 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_photo_canvas_get_scaled_pixbuf_position (_tmp10_, &_tmp11_);
-#line 1075 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1080 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp12_ = _tmp11_.height;
-#line 1075 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1080 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp13_ = cairo_image_surface_create (CAIRO_FORMAT_ARGB32, _tmp9_, _tmp12_);
-#line 1075 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1080 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_cairo_surface_destroy0 (self->priv->crop_surface);
-#line 1075 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1080 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->crop_surface = _tmp13_;
-#line 1079 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1084 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp14_ = self->priv->crop_surface;
-#line 1079 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1084 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp15_ = cairo_create (_tmp14_);
-#line 1079 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1084 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
ctx = _tmp15_;
-#line 1080 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1085 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp16_ = ctx;
-#line 1080 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1085 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_set_source_rgba (_tmp16_, 0.0, 0.0, 0.0, 1.0);
-#line 1081 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1086 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp17_ = ctx;
-#line 1081 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1086 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_paint (_tmp17_);
-#line 1084 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1089 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp18_ = canvas;
-#line 1084 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1089 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp19_ = editing_tools_photo_canvas_get_container (_tmp18_);
-#line 1084 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1089 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp20_ = _tmp19_;
-#line 1084 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1089 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp21_ = editing_tools_crop_tool_crop_tool_window_new (_tmp20_);
-#line 1084 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1089 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_object_ref_sink (_tmp21_);
-#line 1084 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1089 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (self->priv->crop_tool_window);
-#line 1084 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1089 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->crop_tool_window = _tmp21_;
-#line 1084 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1089 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (_tmp20_);
-#line 1087 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1092 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp22_ = self->priv->crop_tool_window;
-#line 1087 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1092 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp23_ = _tmp22_->constraint_combo;
-#line 1087 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1092 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp24_ = self->priv->constraint_list;
-#line 1087 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1092 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_combo_box_set_model (_tmp23_, G_TYPE_CHECK_INSTANCE_CAST (_tmp24_, GTK_TYPE_TREE_MODEL, GtkTreeModel));
-#line 1088 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1093 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp25_ = canvas;
-#line 1088 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1093 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp26_ = editing_tools_photo_canvas_get_photo (_tmp25_);
-#line 1088 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1093 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp27_ = _tmp26_;
-#line 1088 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1093 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp28_ = photo_has_crop (_tmp27_);
-#line 1088 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1093 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp29_ = !_tmp28_;
-#line 1088 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1093 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (_tmp27_);
-#line 1088 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1093 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp29_) {
-#line 8176 "EditingTools.c"
+#line 8185 "EditingTools.c"
gint index = 0;
EditingToolsCropToolConstraintDescription* desc = NULL;
gint _tmp30_ = 0;
EditingToolsCropToolConstraintDescription* _tmp31_ = NULL;
gboolean _tmp32_ = FALSE;
EditingToolsCropToolConstraintDescription* _tmp33_ = NULL;
-#line 1090 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1095 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp31_ = editing_tools_crop_tool_get_last_constraint (self, &_tmp30_);
-#line 1090 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1095 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
index = _tmp30_;
-#line 1090 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1095 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
desc = _tmp31_;
-#line 1091 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1096 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp33_ = desc;
-#line 1091 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1096 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp33_ != NULL) {
-#line 8193 "EditingTools.c"
+#line 8202 "EditingTools.c"
EditingToolsCropToolConstraintDescription* _tmp34_ = NULL;
gboolean _tmp35_ = FALSE;
-#line 1091 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1096 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp34_ = desc;
-#line 1091 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1096 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp35_ = editing_tools_crop_tool_constraint_description_is_separator (_tmp34_);
-#line 1091 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1096 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp32_ = !_tmp35_;
-#line 8202 "EditingTools.c"
+#line 8211 "EditingTools.c"
} else {
-#line 1091 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1096 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp32_ = FALSE;
-#line 8206 "EditingTools.c"
+#line 8215 "EditingTools.c"
}
-#line 1091 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1096 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp32_) {
-#line 8210 "EditingTools.c"
+#line 8219 "EditingTools.c"
EditingToolsCropToolCropToolWindow* _tmp36_ = NULL;
GtkComboBox* _tmp37_ = NULL;
gint _tmp38_ = 0;
-#line 1092 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1097 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp36_ = self->priv->crop_tool_window;
-#line 1092 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1097 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp37_ = _tmp36_->constraint_combo;
-#line 1092 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1097 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp38_ = index;
-#line 1092 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1097 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_combo_box_set_active (_tmp37_, _tmp38_);
-#line 8222 "EditingTools.c"
+#line 8231 "EditingTools.c"
}
-#line 1088 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1093 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_editing_tools_crop_tool_constraint_description_unref0 (desc);
-#line 8226 "EditingTools.c"
+#line 8235 "EditingTools.c"
} else {
Photo* photo = NULL;
EditingToolsPhotoCanvas* _tmp39_ = NULL;
@@ -8235,41 +8244,41 @@ static void editing_tools_crop_tool_real_activate (EditingToolsEditingTool* base
gint _tmp44_ = 0;
Dimensions _tmp45_ = {0};
gint _tmp46_ = 0;
-#line 1096 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1101 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp39_ = canvas;
-#line 1096 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1101 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp40_ = editing_tools_photo_canvas_get_photo (_tmp39_);
-#line 1096 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1101 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
photo = _tmp40_;
-#line 1097 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1102 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp41_ = photo;
-#line 1097 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1102 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
media_source_get_dimensions (G_TYPE_CHECK_INSTANCE_CAST (_tmp41_, TYPE_MEDIA_SOURCE, MediaSource), PHOTO_EXCEPTION_NONE, &_tmp42_);
-#line 1097 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1102 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cropped_dim = _tmp42_;
-#line 1098 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp43_ = cropped_dim;
-#line 1098 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp44_ = _tmp43_.width;
-#line 1098 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp45_ = cropped_dim;
-#line 1098 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp46_ = _tmp45_.height;
-#line 1098 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1103 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
ratio = ((gfloat) _tmp44_) / ((gfloat) _tmp46_);
-#line 8261 "EditingTools.c"
+#line 8270 "EditingTools.c"
{
gint index = 0;
-#line 1099 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1104 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
index = 1;
-#line 8266 "EditingTools.c"
+#line 8275 "EditingTools.c"
{
gboolean _tmp47_ = FALSE;
-#line 1099 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1104 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp47_ = TRUE;
-#line 1099 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1104 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
while (TRUE) {
-#line 8273 "EditingTools.c"
+#line 8282 "EditingTools.c"
gint _tmp49_ = 0;
EditingToolsCropToolConstraintDescription** _tmp50_ = NULL;
gint _tmp50__length1 = 0;
@@ -8281,106 +8290,106 @@ static void editing_tools_crop_tool_real_activate (EditingToolsEditingTool* base
Photo* _tmp55_ = NULL;
gfloat _tmp56_ = 0.0F;
gdouble _tmp57_ = 0.0;
-#line 1099 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1104 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (!_tmp47_) {
-#line 8287 "EditingTools.c"
+#line 8296 "EditingTools.c"
gint _tmp48_ = 0;
-#line 1099 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1104 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp48_ = index;
-#line 1099 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1104 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
index = _tmp48_ + 1;
-#line 8293 "EditingTools.c"
+#line 8302 "EditingTools.c"
}
-#line 1099 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1104 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp47_ = FALSE;
-#line 1099 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1104 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp49_ = index;
-#line 1099 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1104 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp50_ = self->priv->constraints;
-#line 1099 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1104 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp50__length1 = self->priv->constraints_length1;
-#line 1099 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1104 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (!(_tmp49_ < _tmp50__length1)) {
-#line 1099 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1104 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
break;
-#line 8307 "EditingTools.c"
+#line 8316 "EditingTools.c"
}
-#line 1100 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1105 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp51_ = ratio;
-#line 1100 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1105 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp52_ = self->priv->constraints;
-#line 1100 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1105 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp52__length1 = self->priv->constraints_length1;
-#line 1100 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1105 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp53_ = index;
-#line 1100 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1105 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp54_ = _tmp52_[_tmp53_];
-#line 1100 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1105 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp55_ = photo;
-#line 1100 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1105 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp56_ = editing_tools_crop_tool_get_constraint_aspect_ratio_for_constraint (self, _tmp54_, _tmp55_);
-#line 1100 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1105 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp57_ = fabs ((gdouble) (_tmp51_ - _tmp56_));
-#line 1100 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1105 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp57_ < 0.005) {
-#line 8327 "EditingTools.c"
+#line 8336 "EditingTools.c"
EditingToolsCropToolCropToolWindow* _tmp58_ = NULL;
GtkComboBox* _tmp59_ = NULL;
gint _tmp60_ = 0;
-#line 1101 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1106 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp58_ = self->priv->crop_tool_window;
-#line 1101 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1106 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp59_ = _tmp58_->constraint_combo;
-#line 1101 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1106 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp60_ = index;
-#line 1101 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1106 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_combo_box_set_active (_tmp59_, _tmp60_);
-#line 8339 "EditingTools.c"
+#line 8348 "EditingTools.c"
}
}
}
}
-#line 1088 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1093 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (photo);
-#line 8346 "EditingTools.c"
+#line 8355 "EditingTools.c"
}
-#line 1106 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1111 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_crop_tool_update_pivot_button_state (self);
-#line 1107 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1112 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->reticle_orientation = EDITING_TOOLS_CROP_TOOL_RETICLE_ORIENTATION_LANDSCAPE;
-#line 1109 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1114 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_crop_tool_bind_window_handlers (self);
-#line 1112 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1117 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp61_ = canvas;
-#line 1112 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1117 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp62_ = editing_tools_photo_canvas_get_photo (_tmp61_);
-#line 1112 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1117 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp63_ = _tmp62_;
-#line 1112 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1117 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
media_source_get_dimensions (G_TYPE_CHECK_INSTANCE_CAST (_tmp63_, TYPE_MEDIA_SOURCE, MediaSource), PHOTO_EXCEPTION_CROP, &_tmp64_);
-#line 1112 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1117 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp65_ = _tmp64_;
-#line 1112 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1117 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (_tmp63_);
-#line 1112 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1117 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
uncropped_dim = _tmp65_;
-#line 1115 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1120 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp66_ = canvas;
-#line 1115 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1120 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp67_ = editing_tools_photo_canvas_get_photo (_tmp66_);
-#line 1115 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1120 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp68_ = _tmp67_;
-#line 1115 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1120 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp70_ = photo_get_crop (_tmp68_, &_tmp69_, PHOTO_EXCEPTION_NONE);
-#line 1115 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1120 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
crop = _tmp69_;
-#line 1115 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1120 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp71_ = !_tmp70_;
-#line 1115 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1120 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (_tmp68_);
-#line 1115 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1120 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp71_) {
-#line 8384 "EditingTools.c"
+#line 8393 "EditingTools.c"
gint xofs = 0;
Dimensions _tmp72_ = {0};
gint _tmp73_ = 0;
@@ -8395,228 +8404,228 @@ static void editing_tools_crop_tool_real_activate (EditingToolsEditingTool* base
Dimensions _tmp81_ = {0};
gint _tmp82_ = 0;
gint _tmp83_ = 0;
-#line 1116 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1121 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp72_ = uncropped_dim;
-#line 1116 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1121 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp73_ = _tmp72_.width;
-#line 1116 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1121 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
xofs = (gint) (_tmp73_ * EDITING_TOOLS_CROP_TOOL_CROP_INIT_X_PCT);
-#line 1117 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1122 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp74_ = uncropped_dim;
-#line 1117 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1122 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp75_ = _tmp74_.height;
-#line 1117 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1122 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
yofs = (gint) (_tmp75_ * EDITING_TOOLS_CROP_TOOL_CROP_INIT_Y_PCT);
-#line 1121 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1126 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp76_ = xofs;
-#line 1121 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1126 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp77_ = yofs;
-#line 1121 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1126 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp78_ = uncropped_dim;
-#line 1121 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1126 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp79_ = _tmp78_.width;
-#line 1121 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1126 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp80_ = xofs;
-#line 1121 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1126 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp81_ = uncropped_dim;
-#line 1121 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1126 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp82_ = _tmp81_.height;
-#line 1121 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1126 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp83_ = yofs;
-#line 1121 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1126 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
box_init (&crop, _tmp76_, _tmp77_, _tmp79_ - _tmp80_, _tmp82_ - _tmp83_);
-#line 8429 "EditingTools.c"
+#line 8438 "EditingTools.c"
}
-#line 1126 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1131 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp84_ = uncropped_dim;
-#line 1126 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1131 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp85_ = canvas;
-#line 1126 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1131 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_photo_canvas_get_scaled_pixbuf_position (_tmp85_, &_tmp86_);
-#line 1126 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1131 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
dimensions_for_rectangle (&_tmp86_, &_tmp87_);
-#line 1126 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1131 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
box_get_scaled_similar (&crop, &_tmp84_, &_tmp87_, &_tmp88_);
-#line 1126 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
- self->priv->scaled_crop = _tmp88_;
#line 1131 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+ self->priv->scaled_crop = _tmp88_;
+#line 1136 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp89_ = config_facade_get_instance ();
-#line 1131 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1136 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp90_ = _tmp89_;
-#line 1131 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1136 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp91_ = configuration_facade_get_last_crop_width (G_TYPE_CHECK_INSTANCE_CAST (_tmp90_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
-#line 1131 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1136 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->custom_width = _tmp91_;
-#line 1131 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1136 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (_tmp90_);
-#line 1132 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1137 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp92_ = config_facade_get_instance ();
-#line 1132 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1137 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp93_ = _tmp92_;
-#line 1132 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1137 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp94_ = configuration_facade_get_last_crop_height (G_TYPE_CHECK_INSTANCE_CAST (_tmp93_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
-#line 1132 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1137 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->custom_height = _tmp94_;
-#line 1132 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1137 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (_tmp93_);
-#line 1133 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1138 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp95_ = self->priv->custom_width;
-#line 1133 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1138 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->custom_init_width = _tmp95_;
-#line 1134 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1139 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp96_ = self->priv->custom_height;
-#line 1134 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1139 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->custom_init_height = _tmp96_;
-#line 1135 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1140 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp97_ = self->priv->custom_init_width;
-#line 1135 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1140 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp98_ = self->priv->custom_init_height;
-#line 1135 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1140 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->pre_aspect_ratio = ((gfloat) _tmp97_) / ((gfloat) _tmp98_);
-#line 1137 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1142 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->constraint_mode = EDITING_TOOLS_CROP_TOOL_CONSTRAINT_MODE_NORMAL;
-#line 1139 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1144 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp99_ = canvas;
-#line 1139 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1144 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
EDITING_TOOLS_EDITING_TOOL_CLASS (editing_tools_crop_tool_parent_class)->activate (G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool), _tmp99_);
-#line 1141 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1146 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp100_ = self->priv->crop_tool_window;
-#line 1141 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1146 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (_tmp100_, gtk_widget_get_type (), GtkWidget));
-#line 1144 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1149 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp101_ = canvas;
-#line 1144 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1149 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp102_ = editing_tools_photo_canvas_get_photo (_tmp101_);
-#line 1144 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1149 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp103_ = _tmp102_;
-#line 1144 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1149 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp104_ = photo_has_crop (_tmp103_);
-#line 1144 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1149 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp105_ = !_tmp104_;
-#line 1144 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1149 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (_tmp103_);
-#line 1144 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1149 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp105_) {
-#line 8501 "EditingTools.c"
+#line 8510 "EditingTools.c"
EditingToolsCropToolConstraintDescription* desc = NULL;
EditingToolsCropToolConstraintDescription* _tmp106_ = NULL;
gboolean _tmp107_ = FALSE;
gboolean _tmp108_ = FALSE;
EditingToolsCropToolConstraintDescription* _tmp109_ = NULL;
-#line 1145 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1150 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp106_ = editing_tools_crop_tool_get_last_constraint (self, NULL);
-#line 1145 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1150 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
desc = _tmp106_;
-#line 1146 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1151 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp109_ = desc;
-#line 1146 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1151 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp109_ != NULL) {
-#line 8515 "EditingTools.c"
+#line 8524 "EditingTools.c"
EditingToolsCropToolConstraintDescription* _tmp110_ = NULL;
gboolean _tmp111_ = FALSE;
-#line 1146 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1151 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp110_ = desc;
-#line 1146 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1151 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp111_ = editing_tools_crop_tool_constraint_description_is_separator (_tmp110_);
-#line 1146 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1151 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp108_ = !_tmp111_;
-#line 8524 "EditingTools.c"
+#line 8533 "EditingTools.c"
} else {
-#line 1146 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1151 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp108_ = FALSE;
-#line 8528 "EditingTools.c"
+#line 8537 "EditingTools.c"
}
-#line 1146 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1151 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp108_) {
-#line 8532 "EditingTools.c"
+#line 8541 "EditingTools.c"
EditingToolsCropToolConstraintDescription* _tmp112_ = NULL;
gfloat _tmp113_ = 0.0F;
-#line 1146 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1151 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp112_ = desc;
-#line 1146 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1151 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp113_ = _tmp112_->aspect_ratio;
-#line 1146 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1151 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp107_ = _tmp113_ == EDITING_TOOLS_CROP_TOOL_CUSTOM_ASPECT_RATIO;
-#line 8541 "EditingTools.c"
+#line 8550 "EditingTools.c"
} else {
-#line 1146 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1151 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp107_ = FALSE;
-#line 8545 "EditingTools.c"
+#line 8554 "EditingTools.c"
}
-#line 1146 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1151 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp107_) {
-#line 1147 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1152 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_crop_tool_set_custom_constraint_mode (self);
-#line 8551 "EditingTools.c"
+#line 8560 "EditingTools.c"
}
-#line 1144 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1149 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_editing_tools_crop_tool_constraint_description_unref0 (desc);
-#line 8555 "EditingTools.c"
+#line 8564 "EditingTools.c"
}
-#line 1154 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1159 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp114_ = self->priv->scaled_crop;
-#line 1154 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1159 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_crop_tool_constrain_crop (self, &_tmp114_, &_tmp115_);
-#line 1154 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1159 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
new_crop = _tmp115_;
-#line 1156 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1161 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp116_ = new_crop;
-#line 1156 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1161 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_crop_tool_crop_resized (self, &_tmp116_);
-#line 1157 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1162 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp117_ = new_crop;
-#line 1157 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1162 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->scaled_crop = _tmp117_;
-#line 1158 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1163 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp118_ = canvas;
-#line 1158 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1163 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp119_ = new_crop;
-#line 1158 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1163 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_photo_canvas_invalidate_area (_tmp118_, &_tmp119_);
-#line 1159 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1164 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp120_ = canvas;
-#line 1159 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1164 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_photo_canvas_repaint (_tmp120_);
-#line 1161 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1166 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp121_ = editing_tools_crop_tool_get_constraint_aspect_ratio (self);
-#line 1161 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1166 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->pre_aspect_ratio = _tmp121_;
-#line 1067 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1072 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_cairo_destroy0 (ctx);
-#line 8587 "EditingTools.c"
+#line 8596 "EditingTools.c"
}
static void _editing_tools_crop_tool_prepare_ctx_editing_tools_photo_canvas_new_surface (EditingToolsPhotoCanvas* _sender, cairo_t* ctx, Dimensions* dim, gpointer self) {
-#line 1165 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1170 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_crop_tool_prepare_ctx ((EditingToolsCropTool*) self, ctx, dim);
-#line 8594 "EditingTools.c"
+#line 8603 "EditingTools.c"
}
static void _editing_tools_crop_tool_on_resized_pixbuf_editing_tools_photo_canvas_resized_scaled_pixbuf (EditingToolsPhotoCanvas* _sender, Dimensions* old_dim, GdkPixbuf* scaled, GdkRectangle* scaled_position, gpointer self) {
-#line 1166 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1171 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_crop_tool_on_resized_pixbuf ((EditingToolsCropTool*) self, old_dim, scaled, scaled_position);
-#line 8601 "EditingTools.c"
+#line 8610 "EditingTools.c"
}
static void editing_tools_crop_tool_bind_canvas_handlers (EditingToolsCropTool* self, EditingToolsPhotoCanvas* canvas) {
EditingToolsPhotoCanvas* _tmp0_ = NULL;
EditingToolsPhotoCanvas* _tmp1_ = NULL;
-#line 1164 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1169 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_CROP_TOOL (self));
-#line 1164 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1169 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_PHOTO_CANVAS (canvas));
-#line 1165 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1170 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = canvas;
-#line 1165 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1170 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_connect (_tmp0_, "new-surface", (GCallback) _editing_tools_crop_tool_prepare_ctx_editing_tools_photo_canvas_new_surface, self);
-#line 1166 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1171 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = canvas;
-#line 1166 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1171 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_connect (_tmp1_, "resized-scaled-pixbuf", (GCallback) _editing_tools_crop_tool_on_resized_pixbuf_editing_tools_photo_canvas_resized_scaled_pixbuf, self);
-#line 8620 "EditingTools.c"
+#line 8629 "EditingTools.c"
}
@@ -8625,83 +8634,83 @@ static void editing_tools_crop_tool_unbind_canvas_handlers (EditingToolsCropTool
guint _tmp1_ = 0U;
EditingToolsPhotoCanvas* _tmp2_ = NULL;
guint _tmp3_ = 0U;
-#line 1169 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1174 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_CROP_TOOL (self));
-#line 1169 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1174 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_PHOTO_CANVAS (canvas));
-#line 1170 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1175 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = canvas;
-#line 1170 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1175 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_parse_name ("new-surface", EDITING_TOOLS_TYPE_PHOTO_CANVAS, &_tmp1_, NULL, FALSE);
-#line 1170 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1175 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_handlers_disconnect_matched (_tmp0_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp1_, 0, NULL, (GCallback) _editing_tools_crop_tool_prepare_ctx_editing_tools_photo_canvas_new_surface, self);
-#line 1171 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1176 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = canvas;
-#line 1171 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1176 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_parse_name ("resized-scaled-pixbuf", EDITING_TOOLS_TYPE_PHOTO_CANVAS, &_tmp3_, NULL, FALSE);
-#line 1171 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1176 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_handlers_disconnect_matched (_tmp2_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp3_, 0, NULL, (GCallback) _editing_tools_crop_tool_on_resized_pixbuf_editing_tools_photo_canvas_resized_scaled_pixbuf, self);
-#line 8645 "EditingTools.c"
+#line 8654 "EditingTools.c"
}
static void _editing_tools_crop_tool_on_crop_ok_gtk_button_clicked (GtkButton* _sender, gpointer self) {
-#line 1176 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1181 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_crop_tool_on_crop_ok ((EditingToolsCropTool*) self);
-#line 8652 "EditingTools.c"
+#line 8661 "EditingTools.c"
}
static void _editing_tools_editing_tool_notify_cancel_gtk_button_clicked (GtkButton* _sender, gpointer self) {
-#line 1177 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1182 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_editing_tool_notify_cancel ((EditingToolsEditingTool*) self);
-#line 8659 "EditingTools.c"
+#line 8668 "EditingTools.c"
}
static void _editing_tools_crop_tool_constraint_changed_gtk_combo_box_changed (GtkComboBox* _sender, gpointer self) {
-#line 1178 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1183 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_crop_tool_constraint_changed ((EditingToolsCropTool*) self);
-#line 8666 "EditingTools.c"
+#line 8675 "EditingTools.c"
}
static void _editing_tools_crop_tool_on_pivot_button_clicked_gtk_button_clicked (GtkButton* _sender, gpointer self) {
-#line 1179 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1184 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_crop_tool_on_pivot_button_clicked ((EditingToolsCropTool*) self);
-#line 8673 "EditingTools.c"
+#line 8682 "EditingTools.c"
}
static gboolean _editing_tools_crop_tool_on_width_entry_focus_out_gtk_widget_focus_out_event (GtkWidget* _sender, GdkEventFocus* event, gpointer self) {
gboolean result;
result = editing_tools_crop_tool_on_width_entry_focus_out ((EditingToolsCropTool*) self, event);
-#line 1182 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1187 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return result;
-#line 8682 "EditingTools.c"
+#line 8691 "EditingTools.c"
}
static gboolean _editing_tools_crop_tool_on_height_entry_focus_out_gtk_widget_focus_out_event (GtkWidget* _sender, GdkEventFocus* event, gpointer self) {
gboolean result;
result = editing_tools_crop_tool_on_height_entry_focus_out ((EditingToolsCropTool*) self, event);
-#line 1183 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1188 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return result;
-#line 8691 "EditingTools.c"
+#line 8700 "EditingTools.c"
}
static void _editing_tools_crop_tool_on_width_insert_text_gtk_editable_insert_text (GtkEditable* _sender, const gchar* new_text, gint new_text_length, gint* position, gpointer self) {
-#line 1184 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1189 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_crop_tool_on_width_insert_text ((EditingToolsCropTool*) self, new_text, new_text_length, position);
-#line 8698 "EditingTools.c"
+#line 8707 "EditingTools.c"
}
static void _editing_tools_crop_tool_on_height_insert_text_gtk_editable_insert_text (GtkEditable* _sender, const gchar* new_text, gint new_text_length, gint* position, gpointer self) {
-#line 1185 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1190 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_crop_tool_on_height_insert_text ((EditingToolsCropTool*) self, new_text, new_text_length, position);
-#line 8705 "EditingTools.c"
+#line 8714 "EditingTools.c"
}
@@ -8723,61 +8732,61 @@ static void editing_tools_crop_tool_bind_window_handlers (EditingToolsCropTool*
GtkEntry* _tmp14_ = NULL;
EditingToolsCropToolCropToolWindow* _tmp15_ = NULL;
GtkEntry* _tmp16_ = NULL;
-#line 1174 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1179 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_CROP_TOOL (self));
-#line 1175 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1180 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = self->priv->crop_tool_window;
-#line 1175 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1180 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget), "key-press-event", (GCallback) _editing_tools_editing_tool_on_keypress_gtk_widget_key_press_event, G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool));
-#line 1176 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1181 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = self->priv->crop_tool_window;
-#line 1176 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1181 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = _tmp1_->ok_button;
-#line 1176 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1181 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_connect (_tmp2_, "clicked", (GCallback) _editing_tools_crop_tool_on_crop_ok_gtk_button_clicked, self);
-#line 1177 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1182 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = self->priv->crop_tool_window;
-#line 1177 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1182 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = _tmp3_->cancel_button;
-#line 1177 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1182 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_connect (_tmp4_, "clicked", (GCallback) _editing_tools_editing_tool_notify_cancel_gtk_button_clicked, G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool));
-#line 1178 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1183 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = self->priv->crop_tool_window;
-#line 1178 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1183 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = _tmp5_->constraint_combo;
-#line 1178 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1183 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_connect (_tmp6_, "changed", (GCallback) _editing_tools_crop_tool_constraint_changed_gtk_combo_box_changed, self);
-#line 1179 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1184 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = self->priv->crop_tool_window;
-#line 1179 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1184 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = _tmp7_->pivot_reticle_button;
-#line 1179 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1184 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_connect (_tmp8_, "clicked", (GCallback) _editing_tools_crop_tool_on_pivot_button_clicked_gtk_button_clicked, self);
-#line 1182 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1187 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = self->priv->crop_tool_window;
-#line 1182 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1187 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp10_ = _tmp9_->custom_width_entry;
-#line 1182 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1187 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, gtk_widget_get_type (), GtkWidget), "focus-out-event", (GCallback) _editing_tools_crop_tool_on_width_entry_focus_out_gtk_widget_focus_out_event, self);
-#line 1183 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1188 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp11_ = self->priv->crop_tool_window;
-#line 1183 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1188 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp12_ = _tmp11_->custom_height_entry;
-#line 1183 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1188 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, gtk_widget_get_type (), GtkWidget), "focus-out-event", (GCallback) _editing_tools_crop_tool_on_height_entry_focus_out_gtk_widget_focus_out_event, self);
-#line 1184 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1189 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp13_ = self->priv->crop_tool_window;
-#line 1184 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1189 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp14_ = _tmp13_->custom_width_entry;
-#line 1184 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1189 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, GTK_TYPE_EDITABLE, GtkEditable), "insert-text", (GCallback) _editing_tools_crop_tool_on_width_insert_text_gtk_editable_insert_text, self);
-#line 1185 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1190 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp15_ = self->priv->crop_tool_window;
-#line 1185 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1190 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp16_ = _tmp15_->custom_height_entry;
-#line 1185 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1190 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, GTK_TYPE_EDITABLE, GtkEditable), "insert-text", (GCallback) _editing_tools_crop_tool_on_height_insert_text_gtk_editable_insert_text, self);
-#line 8781 "EditingTools.c"
+#line 8790 "EditingTools.c"
}
@@ -8805,71 +8814,71 @@ static void editing_tools_crop_tool_unbind_window_handlers (EditingToolsCropTool
EditingToolsCropToolCropToolWindow* _tmp20_ = NULL;
GtkEntry* _tmp21_ = NULL;
guint _tmp22_ = 0U;
-#line 1188 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1193 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_CROP_TOOL (self));
-#line 1189 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1194 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = self->priv->crop_tool_window;
-#line 1189 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1194 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_parse_name ("key-press-event", gtk_widget_get_type (), &_tmp1_, NULL, FALSE);
-#line 1189 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1194 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp1_, 0, NULL, (GCallback) _editing_tools_editing_tool_on_keypress_gtk_widget_key_press_event, G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool));
-#line 1190 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1195 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = self->priv->crop_tool_window;
-#line 1190 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1195 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = _tmp2_->ok_button;
-#line 1190 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1195 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_parse_name ("clicked", gtk_button_get_type (), &_tmp4_, NULL, FALSE);
-#line 1190 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1195 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_handlers_disconnect_matched (_tmp3_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp4_, 0, NULL, (GCallback) _editing_tools_crop_tool_on_crop_ok_gtk_button_clicked, self);
-#line 1191 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1196 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = self->priv->crop_tool_window;
-#line 1191 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1196 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = _tmp5_->cancel_button;
-#line 1191 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1196 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_parse_name ("clicked", gtk_button_get_type (), &_tmp7_, NULL, FALSE);
-#line 1191 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1196 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_handlers_disconnect_matched (_tmp6_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp7_, 0, NULL, (GCallback) _editing_tools_editing_tool_notify_cancel_gtk_button_clicked, G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool));
-#line 1192 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1197 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = self->priv->crop_tool_window;
-#line 1192 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1197 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = _tmp8_->constraint_combo;
-#line 1192 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1197 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_parse_name ("changed", gtk_combo_box_get_type (), &_tmp10_, NULL, FALSE);
-#line 1192 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1197 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_handlers_disconnect_matched (_tmp9_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp10_, 0, NULL, (GCallback) _editing_tools_crop_tool_constraint_changed_gtk_combo_box_changed, self);
-#line 1193 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1198 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp11_ = self->priv->crop_tool_window;
-#line 1193 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1198 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp12_ = _tmp11_->pivot_reticle_button;
-#line 1193 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1198 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_parse_name ("clicked", gtk_button_get_type (), &_tmp13_, NULL, FALSE);
-#line 1193 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1198 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_handlers_disconnect_matched (_tmp12_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp13_, 0, NULL, (GCallback) _editing_tools_crop_tool_on_pivot_button_clicked_gtk_button_clicked, self);
-#line 1196 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1201 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp14_ = self->priv->crop_tool_window;
-#line 1196 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1201 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp15_ = _tmp14_->custom_width_entry;
-#line 1196 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1201 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_parse_name ("focus-out-event", gtk_widget_get_type (), &_tmp16_, NULL, FALSE);
-#line 1196 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1201 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, gtk_widget_get_type (), GtkWidget), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp16_, 0, NULL, (GCallback) _editing_tools_crop_tool_on_width_entry_focus_out_gtk_widget_focus_out_event, self);
-#line 1197 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1202 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp17_ = self->priv->crop_tool_window;
-#line 1197 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1202 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp18_ = _tmp17_->custom_height_entry;
-#line 1197 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1202 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_parse_name ("focus-out-event", gtk_widget_get_type (), &_tmp19_, NULL, FALSE);
-#line 1197 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1202 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, gtk_widget_get_type (), GtkWidget), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp19_, 0, NULL, (GCallback) _editing_tools_crop_tool_on_height_entry_focus_out_gtk_widget_focus_out_event, self);
-#line 1198 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1203 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp20_ = self->priv->crop_tool_window;
-#line 1198 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1203 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp21_ = _tmp20_->custom_width_entry;
-#line 1198 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1203 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_parse_name ("insert-text", GTK_TYPE_EDITABLE, &_tmp22_, NULL, FALSE);
-#line 1198 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1203 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp21_, GTK_TYPE_EDITABLE, GtkEditable), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp22_, 0, NULL, (GCallback) _editing_tools_crop_tool_on_width_insert_text_gtk_editable_insert_text, self);
-#line 8873 "EditingTools.c"
+#line 8882 "EditingTools.c"
}
@@ -8883,73 +8892,73 @@ static gboolean editing_tools_crop_tool_real_on_keypress (EditingToolsEditingToo
const gchar* _tmp4_ = NULL;
GdkEventKey* _tmp11_ = NULL;
gboolean _tmp12_ = FALSE;
-#line 1201 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1206 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, EDITING_TOOLS_TYPE_CROP_TOOL, EditingToolsCropTool);
-#line 1201 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1206 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 1202 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1207 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = event;
-#line 1202 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1207 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = _tmp2_->keyval;
-#line 1202 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1207 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = gdk_keyval_name (_tmp3_);
-#line 1202 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1207 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (g_strcmp0 (_tmp4_, "KP_Enter") == 0) {
-#line 1202 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1207 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = TRUE;
-#line 8901 "EditingTools.c"
+#line 8910 "EditingTools.c"
} else {
GdkEventKey* _tmp5_ = NULL;
guint _tmp6_ = 0U;
const gchar* _tmp7_ = NULL;
-#line 1203 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1208 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = event;
-#line 1203 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1208 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = _tmp5_->keyval;
-#line 1203 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1208 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = gdk_keyval_name (_tmp6_);
-#line 1203 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1208 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = g_strcmp0 (_tmp7_, "Enter") == 0;
-#line 8914 "EditingTools.c"
+#line 8923 "EditingTools.c"
}
-#line 1202 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1207 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp1_) {
-#line 1202 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1207 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = TRUE;
-#line 8920 "EditingTools.c"
+#line 8929 "EditingTools.c"
} else {
GdkEventKey* _tmp8_ = NULL;
guint _tmp9_ = 0U;
const gchar* _tmp10_ = NULL;
-#line 1204 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1209 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = event;
-#line 1204 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1209 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = _tmp8_->keyval;
-#line 1204 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1209 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp10_ = gdk_keyval_name (_tmp9_);
-#line 1204 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1209 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = g_strcmp0 (_tmp10_, "Return") == 0;
-#line 8933 "EditingTools.c"
+#line 8942 "EditingTools.c"
}
-#line 1202 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1207 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp0_) {
-#line 1205 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1210 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_crop_tool_on_crop_ok (self);
-#line 1206 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1211 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
result = TRUE;
-#line 1206 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1211 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return result;
-#line 8943 "EditingTools.c"
+#line 8952 "EditingTools.c"
}
-#line 1209 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1214 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp11_ = event;
-#line 1209 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1214 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp12_ = EDITING_TOOLS_EDITING_TOOL_CLASS (editing_tools_crop_tool_parent_class)->on_keypress (G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool), _tmp11_);
-#line 1209 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1214 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
result = _tmp12_;
-#line 1209 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1214 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return result;
-#line 8953 "EditingTools.c"
+#line 8962 "EditingTools.c"
}
@@ -8960,21 +8969,21 @@ static void editing_tools_crop_tool_on_pivot_button_clicked (EditingToolsCropToo
gboolean _tmp3_ = FALSE;
EditingToolsCropToolReticleOrientation _tmp21_ = 0;
EditingToolsCropToolReticleOrientation _tmp22_ = 0;
-#line 1212 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1217 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_CROP_TOOL (self));
-#line 1213 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1218 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = editing_tools_crop_tool_get_selected_constraint (self);
-#line 1213 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1218 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = _tmp0_;
-#line 1213 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1218 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = _tmp1_->aspect_ratio;
-#line 1213 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1218 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = _tmp2_ == EDITING_TOOLS_CROP_TOOL_CUSTOM_ASPECT_RATIO;
-#line 1213 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1218 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_editing_tools_crop_tool_constraint_description_unref0 (_tmp1_);
-#line 1213 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1218 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp3_) {
-#line 8978 "EditingTools.c"
+#line 8987 "EditingTools.c"
gchar* width_text = NULL;
EditingToolsCropToolCropToolWindow* _tmp4_ = NULL;
GtkEntry* _tmp5_ = NULL;
@@ -8995,69 +9004,69 @@ static void editing_tools_crop_tool_on_pivot_button_clicked (EditingToolsCropToo
gint _tmp18_ = 0;
gint _tmp19_ = 0;
gint _tmp20_ = 0;
-#line 1214 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1219 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = self->priv->crop_tool_window;
-#line 1214 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1219 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = _tmp4_->custom_width_entry;
-#line 1214 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1219 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = gtk_entry_get_text (_tmp5_);
-#line 1214 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1219 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = g_strdup (_tmp6_);
-#line 1214 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1219 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
width_text = _tmp7_;
-#line 1215 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1220 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = self->priv->crop_tool_window;
-#line 1215 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1220 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = _tmp8_->custom_height_entry;
-#line 1215 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1220 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp10_ = gtk_entry_get_text (_tmp9_);
-#line 1215 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1220 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp11_ = g_strdup (_tmp10_);
-#line 1215 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1220 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
height_text = _tmp11_;
-#line 1216 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1221 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp12_ = self->priv->crop_tool_window;
-#line 1216 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1221 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp13_ = _tmp12_->custom_width_entry;
-#line 1216 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1221 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp14_ = height_text;
-#line 1216 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1221 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_entry_set_text (_tmp13_, _tmp14_);
-#line 1217 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1222 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp15_ = self->priv->crop_tool_window;
-#line 1217 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1222 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp16_ = _tmp15_->custom_height_entry;
-#line 1217 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1222 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp17_ = width_text;
-#line 1217 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1222 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_entry_set_text (_tmp16_, _tmp17_);
-#line 1219 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1224 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp18_ = self->priv->custom_width;
-#line 1219 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1224 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
temp = _tmp18_;
-#line 1220 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1225 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp19_ = self->priv->custom_height;
-#line 1220 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1225 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->custom_width = _tmp19_;
-#line 1221 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1226 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp20_ = temp;
-#line 1221 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1226 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->custom_height = _tmp20_;
-#line 1213 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1218 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_free0 (height_text);
-#line 1213 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1218 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_free0 (width_text);
-#line 9051 "EditingTools.c"
+#line 9060 "EditingTools.c"
}
-#line 1223 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1228 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp21_ = self->priv->reticle_orientation;
-#line 1223 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1228 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp22_ = editing_tools_crop_tool_reticle_orientation_toggle (_tmp21_);
-#line 1223 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1228 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->reticle_orientation = _tmp22_;
-#line 1224 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1229 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_crop_tool_constraint_changed (self);
-#line 9061 "EditingTools.c"
+#line 9070 "EditingTools.c"
}
@@ -9066,48 +9075,48 @@ static void editing_tools_crop_tool_real_deactivate (EditingToolsEditingTool* ba
EditingToolsPhotoCanvas* _tmp0_ = NULL;
EditingToolsCropToolCropToolWindow* _tmp2_ = NULL;
EditingToolsPhotoCanvas* _tmp5_ = NULL;
-#line 1227 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1232 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, EDITING_TOOLS_TYPE_CROP_TOOL, EditingToolsCropTool);
-#line 1228 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1233 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 1228 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1233 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp0_ != NULL) {
-#line 9076 "EditingTools.c"
+#line 9085 "EditingTools.c"
EditingToolsPhotoCanvas* _tmp1_ = NULL;
-#line 1229 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1234 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 1229 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1234 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_crop_tool_unbind_canvas_handlers (self, _tmp1_);
-#line 9082 "EditingTools.c"
+#line 9091 "EditingTools.c"
}
-#line 1231 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1236 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = self->priv->crop_tool_window;
-#line 1231 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1236 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp2_ != NULL) {
-#line 9088 "EditingTools.c"
+#line 9097 "EditingTools.c"
EditingToolsCropToolCropToolWindow* _tmp3_ = NULL;
EditingToolsCropToolCropToolWindow* _tmp4_ = NULL;
-#line 1232 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1237 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_crop_tool_unbind_window_handlers (self);
-#line 1233 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1238 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = self->priv->crop_tool_window;
-#line 1233 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1238 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_widget_hide (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_widget_get_type (), GtkWidget));
-#line 1234 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1239 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = self->priv->crop_tool_window;
-#line 1234 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1239 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_widget_get_type (), GtkWidget));
-#line 1235 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1240 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (self->priv->crop_tool_window);
-#line 1235 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1240 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->crop_tool_window = NULL;
-#line 9105 "EditingTools.c"
+#line 9114 "EditingTools.c"
}
-#line 1239 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1244 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 1239 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1244 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp5_ != NULL) {
-#line 9111 "EditingTools.c"
+#line 9120 "EditingTools.c"
GdkWindow* drawing_window = NULL;
EditingToolsPhotoCanvas* _tmp6_ = NULL;
GdkWindow* _tmp7_ = NULL;
@@ -9120,47 +9129,47 @@ static void editing_tools_crop_tool_real_deactivate (EditingToolsEditingTool* ba
GdkCursor* _tmp12_ = NULL;
GdkWindow* _tmp13_ = NULL;
GdkCursor* _tmp14_ = NULL;
-#line 1240 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1245 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 1240 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1245 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = editing_tools_photo_canvas_get_drawing_window (_tmp6_);
-#line 1240 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1245 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
drawing_window = _tmp7_;
-#line 1241 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1246 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = drawing_window;
-#line 1241 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1246 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = gdk_window_get_display (_tmp8_);
-#line 1241 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1246 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp10_ = _g_object_ref0 (_tmp9_);
-#line 1241 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1246 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
display = _tmp10_;
-#line 1242 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1247 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp11_ = display;
-#line 1242 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1247 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp12_ = gdk_cursor_new_for_display (_tmp11_, GDK_LEFT_PTR);
-#line 1242 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1247 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cursor = _tmp12_;
-#line 1244 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1249 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp13_ = drawing_window;
-#line 1244 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1249 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp14_ = cursor;
-#line 1244 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1249 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gdk_window_set_cursor (_tmp13_, _tmp14_);
-#line 1239 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1244 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (cursor);
-#line 1239 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1244 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (display);
-#line 1239 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1244 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (drawing_window);
-#line 9156 "EditingTools.c"
+#line 9165 "EditingTools.c"
}
-#line 1247 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1252 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_cairo_surface_destroy0 (self->priv->crop_surface);
-#line 1247 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1252 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->crop_surface = NULL;
-#line 1249 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1254 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
EDITING_TOOLS_EDITING_TOOL_CLASS (editing_tools_crop_tool_parent_class)->deactivate (G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool));
-#line 9164 "EditingTools.c"
+#line 9173 "EditingTools.c"
}
@@ -9169,17 +9178,17 @@ static EditingToolsEditingToolWindow* editing_tools_crop_tool_real_get_tool_wind
EditingToolsEditingToolWindow* result = NULL;
EditingToolsCropToolCropToolWindow* _tmp0_ = NULL;
EditingToolsEditingToolWindow* _tmp1_ = NULL;
-#line 1252 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1257 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, EDITING_TOOLS_TYPE_CROP_TOOL, EditingToolsCropTool);
-#line 1253 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1258 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = self->priv->crop_tool_window;
-#line 1253 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1258 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, EDITING_TOOLS_TYPE_EDITING_TOOL_WINDOW, EditingToolsEditingToolWindow));
-#line 1253 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1258 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
result = _tmp1_;
-#line 1253 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1258 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return result;
-#line 9183 "EditingTools.c"
+#line 9192 "EditingTools.c"
}
@@ -9195,51 +9204,51 @@ static GdkPixbuf* editing_tools_crop_tool_real_get_display_pixbuf (EditingToolsE
GdkPixbuf* _tmp5_ = NULL;
GdkPixbuf* _tmp6_ = NULL;
GError * _inner_error_ = NULL;
-#line 1256 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1261 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, EDITING_TOOLS_TYPE_CROP_TOOL, EditingToolsCropTool);
-#line 1256 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1261 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (scaling != NULL, NULL);
-#line 1256 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1261 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (IS_PHOTO (photo), NULL);
-#line 1258 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1263 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = photo;
-#line 1258 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1263 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
media_source_get_dimensions (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_MEDIA_SOURCE, MediaSource), PHOTO_EXCEPTION_CROP, &_tmp1_);
-#line 1258 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1263 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_vala_max_dim = _tmp1_;
-#line 1260 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1265 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = photo;
-#line 1260 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1265 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = *scaling;
-#line 1260 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1265 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = photo_get_pixbuf_with_options (_tmp3_, &_tmp4_, PHOTO_EXCEPTION_CROP, BACKING_FETCH_MODE_BASELINE, &_inner_error_);
-#line 1260 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1265 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = _tmp5_;
-#line 1260 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1265 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1260 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1265 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_propagate_error (error, _inner_error_);
-#line 1260 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1265 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return NULL;
-#line 9225 "EditingTools.c"
+#line 9234 "EditingTools.c"
}
-#line 1260 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1265 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = _tmp2_;
-#line 1260 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1265 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = NULL;
-#line 1260 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1265 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
result = _tmp6_;
-#line 1260 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1265 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (_tmp2_);
-#line 1260 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1265 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (max_dim) {
-#line 1260 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1265 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*max_dim = _vala_max_dim;
-#line 9239 "EditingTools.c"
+#line 9248 "EditingTools.c"
}
-#line 1260 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1265 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return result;
-#line 9243 "EditingTools.c"
+#line 9252 "EditingTools.c"
}
@@ -9263,81 +9272,81 @@ static void editing_tools_crop_tool_prepare_ctx (EditingToolsCropTool* self, cai
cairo_surface_t* _tmp16_ = NULL;
cairo_t* _tmp17_ = NULL;
cairo_t* _tmp18_ = NULL;
-#line 1263 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1268 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_CROP_TOOL (self));
-#line 1263 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1268 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (ctx != NULL);
-#line 1263 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1268 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (dim != NULL);
-#line 1264 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1269 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = ctx;
-#line 1264 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1269 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = cairo_get_target (_tmp0_);
-#line 1264 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1269 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = cairo_create (_tmp1_);
-#line 1264 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1269 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_cairo_destroy0 (self->priv->wide_black_ctx);
-#line 1264 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1269 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->wide_black_ctx = _tmp2_;
-#line 1265 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1270 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = self->priv->wide_black_ctx;
-#line 1265 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1270 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
set_source_color_from_string (_tmp3_, "#000");
-#line 1266 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1271 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = self->priv->wide_black_ctx;
-#line 1266 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1271 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_set_line_width (_tmp4_, (gdouble) 1);
-#line 1268 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1273 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = ctx;
-#line 1268 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1273 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = cairo_get_target (_tmp5_);
-#line 1268 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1273 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = cairo_create (_tmp6_);
-#line 1268 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1273 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_cairo_destroy0 (self->priv->wide_white_ctx);
-#line 1268 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1273 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->wide_white_ctx = _tmp7_;
-#line 1269 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1274 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = self->priv->wide_white_ctx;
-#line 1269 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1274 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
set_source_color_from_string (_tmp8_, "#FFF");
-#line 1270 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1275 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = self->priv->wide_white_ctx;
-#line 1270 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1275 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_set_line_width (_tmp9_, (gdouble) 1);
-#line 1272 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1277 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp10_ = ctx;
-#line 1272 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1277 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp11_ = cairo_get_target (_tmp10_);
-#line 1272 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1277 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp12_ = cairo_create (_tmp11_);
-#line 1272 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1277 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_cairo_destroy0 (self->priv->thin_white_ctx);
-#line 1272 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1277 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->thin_white_ctx = _tmp12_;
-#line 1273 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1278 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp13_ = self->priv->thin_white_ctx;
-#line 1273 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1278 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
set_source_color_from_string (_tmp13_, "#FFF");
-#line 1274 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1279 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp14_ = self->priv->thin_white_ctx;
-#line 1274 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1279 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_set_line_width (_tmp14_, 0.5);
-#line 1276 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1281 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp15_ = ctx;
-#line 1276 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1281 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp16_ = cairo_get_target (_tmp15_);
-#line 1276 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1281 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp17_ = cairo_create (_tmp16_);
-#line 1276 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1281 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_cairo_destroy0 (self->priv->text_ctx);
-#line 1276 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1281 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->text_ctx = _tmp17_;
-#line 1277 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1282 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp18_ = self->priv->text_ctx;
-#line 1277 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1282 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_select_font_face (_tmp18_, "Sans", CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_NORMAL);
-#line 9341 "EditingTools.c"
+#line 9350 "EditingTools.c"
}
@@ -9369,91 +9378,91 @@ static void editing_tools_crop_tool_on_resized_pixbuf (EditingToolsCropTool* sel
cairo_t* ctx = NULL;
cairo_surface_t* _tmp21_ = NULL;
cairo_t* _tmp22_ = NULL;
-#line 1280 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1285 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_CROP_TOOL (self));
-#line 1280 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1285 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (old_dim != NULL);
-#line 1280 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1285 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (GDK_IS_PIXBUF (scaled));
-#line 1280 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1285 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (scaled_position != NULL);
-#line 1281 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1286 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = scaled;
-#line 1281 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1286 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
dimensions_for_pixbuf (_tmp0_, &_tmp1_);
-#line 1281 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1286 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
new_dim = _tmp1_;
-#line 1282 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1287 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 1282 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1287 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = editing_tools_photo_canvas_get_photo (_tmp2_);
-#line 1282 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1287 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = _tmp3_;
-#line 1282 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1287 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
media_source_get_dimensions (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, TYPE_MEDIA_SOURCE, MediaSource), PHOTO_EXCEPTION_CROP, &_tmp5_);
-#line 1282 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1287 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = _tmp5_;
-#line 1282 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1287 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (_tmp4_);
-#line 1282 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1287 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
uncropped_dim = _tmp6_;
-#line 1285 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1290 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = *old_dim;
-#line 1285 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1290 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = uncropped_dim;
-#line 1285 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1290 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
box_get_scaled_similar (&self->priv->scaled_crop, &_tmp7_, &_tmp8_, &_tmp9_);
-#line 1285 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1290 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
crop = _tmp9_;
-#line 1288 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1293 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp10_ = uncropped_dim;
-#line 1288 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1293 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp11_ = new_dim;
-#line 1288 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1293 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
box_get_scaled_similar (&crop, &_tmp10_, &_tmp11_, &_tmp12_);
-#line 1288 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1293 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->scaled_crop = _tmp12_;
-#line 1289 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1294 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp13_ = self->priv->crop_surface;
-#line 1289 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1294 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp13_ != NULL) {
-#line 1290 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1295 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_cairo_surface_destroy0 (self->priv->crop_surface);
-#line 1290 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1295 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->crop_surface = NULL;
-#line 9425 "EditingTools.c"
+#line 9434 "EditingTools.c"
}
-#line 1292 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1297 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp14_ = scaled;
-#line 1292 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1297 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp15_ = gdk_pixbuf_get_width (_tmp14_);
-#line 1292 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1297 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp16_ = _tmp15_;
-#line 1292 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1297 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp17_ = scaled;
-#line 1292 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1297 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp18_ = gdk_pixbuf_get_height (_tmp17_);
-#line 1292 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1297 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp19_ = _tmp18_;
-#line 1292 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1297 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp20_ = cairo_image_surface_create (CAIRO_FORMAT_ARGB32, _tmp16_, _tmp19_);
-#line 1292 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1297 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_cairo_surface_destroy0 (self->priv->crop_surface);
-#line 1292 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1297 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->crop_surface = _tmp20_;
-#line 1293 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1298 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp21_ = self->priv->crop_surface;
-#line 1293 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1298 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp22_ = cairo_create (_tmp21_);
-#line 1293 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1298 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
ctx = _tmp22_;
-#line 1294 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1299 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_set_source_rgba (ctx, 0.0, 0.0, 0.0, 1.0);
-#line 1295 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1300 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_paint (ctx);
-#line 1280 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1285 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_cairo_destroy0 (ctx);
-#line 9457 "EditingTools.c"
+#line 9466 "EditingTools.c"
}
@@ -9480,63 +9489,63 @@ static void editing_tools_crop_tool_real_on_left_click (EditingToolsEditingTool*
gint _tmp16_ = 0;
gint _tmp17_ = 0;
EditingToolsPhotoCanvas* _tmp18_ = NULL;
-#line 1299 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1304 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, EDITING_TOOLS_TYPE_CROP_TOOL, EditingToolsCropTool);
-#line 1300 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1305 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 1300 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1305 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_photo_canvas_get_scaled_pixbuf_position (_tmp0_, &_tmp1_);
-#line 1300 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1305 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
scaled_pixbuf_pos = _tmp1_;
-#line 1303 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1308 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = scaled_pixbuf_pos;
-#line 1303 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1308 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = _tmp2_.x;
-#line 1303 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1308 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = scaled_pixbuf_pos;
-#line 1303 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1308 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = _tmp4_.y;
-#line 1303 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1308 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
box_get_offset (&self->priv->scaled_crop, _tmp3_, _tmp5_, &_tmp6_);
-#line 1303 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1308 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
offset_scaled_crop = _tmp6_;
-#line 1306 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1311 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = x;
-#line 1306 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1311 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = y;
-#line 1306 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1311 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = box_approx_location (&offset_scaled_crop, _tmp7_, _tmp8_);
-#line 1306 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1311 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->in_manipulation = _tmp9_;
-#line 1307 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1312 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp10_ = x;
-#line 1307 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1312 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp11_ = scaled_pixbuf_pos;
-#line 1307 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1312 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp12_ = _tmp11_.x;
-#line 1307 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1312 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
x = _tmp10_ - _tmp12_;
-#line 1307 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1312 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp13_ = x;
-#line 1307 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1312 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->last_grab_x = _tmp13_;
-#line 1308 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1313 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp14_ = y;
-#line 1308 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1313 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp15_ = scaled_pixbuf_pos;
-#line 1308 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1313 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp16_ = _tmp15_.y;
-#line 1308 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1313 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
y = _tmp14_ - _tmp16_;
-#line 1308 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1313 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp17_ = y;
-#line 1308 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1313 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->last_grab_y = _tmp17_;
-#line 1311 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1316 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp18_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 1311 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1316 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_photo_canvas_repaint (_tmp18_);
-#line 9540 "EditingTools.c"
+#line 9549 "EditingTools.c"
}
@@ -9546,33 +9555,33 @@ static void editing_tools_crop_tool_real_on_left_released (EditingToolsEditingTo
gint _tmp1_ = 0;
gint _tmp2_ = 0;
EditingToolsPhotoCanvas* _tmp3_ = NULL;
-#line 1314 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1319 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, EDITING_TOOLS_TYPE_CROP_TOOL, EditingToolsCropTool);
-#line 1316 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1321 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = self->priv->in_manipulation;
-#line 1316 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1321 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp0_ == BOX_LOCATION_OUTSIDE) {
-#line 1317 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1322 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return;
-#line 9558 "EditingTools.c"
+#line 9567 "EditingTools.c"
}
-#line 1320 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1325 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->in_manipulation = BOX_LOCATION_OUTSIDE;
-#line 1321 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1326 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->last_grab_x = -1;
-#line 1322 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1327 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->last_grab_y = -1;
-#line 1324 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1329 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = x;
-#line 1324 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1329 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = y;
-#line 1324 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1329 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_crop_tool_update_cursor (self, _tmp1_, _tmp2_);
-#line 1327 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1332 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 1327 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1332 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_photo_canvas_repaint (_tmp3_);
-#line 9576 "EditingTools.c"
+#line 9585 "EditingTools.c"
}
@@ -9582,34 +9591,34 @@ static void editing_tools_crop_tool_real_on_motion (EditingToolsEditingTool* bas
gint _tmp3_ = 0;
gint _tmp4_ = 0;
EditingToolsPhotoCanvas* _tmp5_ = NULL;
-#line 1330 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1335 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, EDITING_TOOLS_TYPE_CROP_TOOL, EditingToolsCropTool);
-#line 1333 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1338 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = self->priv->in_manipulation;
-#line 1333 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1338 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp0_ != BOX_LOCATION_OUTSIDE) {
-#line 9592 "EditingTools.c"
+#line 9601 "EditingTools.c"
gint _tmp1_ = 0;
gint _tmp2_ = 0;
-#line 1334 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1339 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = x;
-#line 1334 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1339 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = y;
-#line 1334 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1339 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_crop_tool_on_canvas_manipulation (self, _tmp1_, _tmp2_);
-#line 9601 "EditingTools.c"
+#line 9610 "EditingTools.c"
}
-#line 1336 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1341 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = x;
-#line 1336 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1341 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = y;
-#line 1336 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1341 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_crop_tool_update_cursor (self, _tmp3_, _tmp4_);
-#line 1337 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1342 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 1337 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1342 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_photo_canvas_repaint (_tmp5_);
-#line 9613 "EditingTools.c"
+#line 9622 "EditingTools.c"
}
@@ -9643,97 +9652,97 @@ static void editing_tools_crop_tool_real_paint (EditingToolsEditingTool* base, c
EditingToolsPhotoCanvas* _tmp22_ = NULL;
cairo_surface_t* _tmp23_ = NULL;
Box _tmp24_ = {0};
-#line 1340 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1345 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, EDITING_TOOLS_TYPE_CROP_TOOL, EditingToolsCropTool);
-#line 1340 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1345 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (default_ctx != NULL);
-#line 1342 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1347 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 1342 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1347 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = editing_tools_photo_canvas_get_drawing_window (_tmp0_);
-#line 1342 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1347 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = _tmp1_;
-#line 1342 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1347 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = gdk_window_get_width (_tmp2_);
-#line 1342 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1347 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = _tmp3_;
-#line 1342 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1347 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (_tmp2_);
-#line 1342 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1347 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
w = _tmp4_;
-#line 1343 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1348 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 1343 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1348 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = editing_tools_photo_canvas_get_drawing_window (_tmp5_);
-#line 1343 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1348 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = _tmp6_;
-#line 1343 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1348 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = gdk_window_get_height (_tmp7_);
-#line 1343 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1348 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = _tmp8_;
-#line 1343 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1348 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (_tmp7_);
-#line 1343 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1348 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
h = _tmp9_;
-#line 1345 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1350 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp10_ = default_ctx;
-#line 1345 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1350 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_set_source_rgba (_tmp10_, 0.0, 0.0, 0.0, 1.0);
-#line 1346 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1351 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp11_ = default_ctx;
-#line 1346 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1351 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_rectangle (_tmp11_, (gdouble) 0, (gdouble) 0, (gdouble) w, (gdouble) h);
-#line 1347 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1352 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp12_ = default_ctx;
-#line 1347 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1352 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_fill (_tmp12_);
-#line 1348 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1353 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp13_ = default_ctx;
-#line 1348 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1353 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_paint (_tmp13_);
-#line 1350 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1355 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp14_ = self->priv->crop_surface;
-#line 1350 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1355 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp15_ = cairo_create (_tmp14_);
-#line 1350 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1355 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
ctx = _tmp15_;
-#line 1351 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1356 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_set_operator (ctx, CAIRO_OPERATOR_SOURCE);
-#line 1352 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1357 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_set_source_rgba (ctx, 0.0, 0.0, 0.0, 0.5);
-#line 1353 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1358 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_paint (ctx);
-#line 1356 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1361 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_set_source_rgba (ctx, 0.0, 0.0, 0.0, 0.0);
-#line 1357 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1362 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp16_ = self->priv->scaled_crop;
-#line 1357 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1362 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp17_ = _tmp16_.left;
-#line 1357 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1362 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp18_ = self->priv->scaled_crop;
-#line 1357 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1362 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp19_ = _tmp18_.top;
-#line 1357 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1362 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp20_ = box_get_width (&self->priv->scaled_crop);
-#line 1357 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1362 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp21_ = box_get_height (&self->priv->scaled_crop);
-#line 1357 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1362 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_rectangle (ctx, (gdouble) _tmp17_, (gdouble) _tmp19_, (gdouble) _tmp20_, (gdouble) _tmp21_);
-#line 1359 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1364 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_fill (ctx);
-#line 1360 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1365 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp22_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 1360 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1365 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp23_ = self->priv->crop_surface;
-#line 1360 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1365 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_photo_canvas_paint_surface (_tmp22_, _tmp23_, TRUE);
-#line 1363 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1368 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp24_ = self->priv->scaled_crop;
-#line 1363 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1368 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_crop_tool_paint_crop_tool (self, &_tmp24_);
-#line 1340 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1345 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_cairo_destroy0 (ctx);
-#line 9737 "EditingTools.c"
+#line 9746 "EditingTools.c"
}
@@ -9778,113 +9787,113 @@ static void editing_tools_crop_tool_on_crop_ok (EditingToolsCropTool* self) {
CropCommand* _tmp35_ = NULL;
CropCommand* _tmp36_ = NULL;
Dimensions _tmp37_ = {0};
-#line 1366 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1371 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_CROP_TOOL (self));
-#line 1370 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1375 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = config_facade_get_instance ();
-#line 1370 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1375 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = _tmp0_;
-#line 1370 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1375 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = self->priv->crop_tool_window;
-#line 1370 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1375 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = _tmp2_->constraint_combo;
-#line 1370 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1375 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = gtk_combo_box_get_active (_tmp3_);
-#line 1370 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1375 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
configuration_facade_set_last_crop_menu_choice (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp4_);
-#line 1370 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1375 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (_tmp1_);
-#line 1372 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1377 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = config_facade_get_instance ();
-#line 1372 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1377 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = _tmp5_;
-#line 1372 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1377 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = self->priv->custom_width;
-#line 1372 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1377 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
configuration_facade_set_last_crop_width (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp7_);
-#line 1372 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1377 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (_tmp6_);
-#line 1373 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1378 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = config_facade_get_instance ();
-#line 1373 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1378 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = _tmp8_;
-#line 1373 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1378 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp10_ = self->priv->custom_height;
-#line 1373 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1378 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
configuration_facade_set_last_crop_height (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp10_);
-#line 1373 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1378 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (_tmp9_);
-#line 1376 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1381 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp11_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 1376 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1381 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_photo_canvas_get_scaled_pixbuf_position (_tmp11_, &_tmp12_);
-#line 1376 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1381 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
dimensions_for_rectangle (&_tmp12_, &_tmp13_);
-#line 1376 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1381 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp14_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 1376 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1381 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp15_ = editing_tools_photo_canvas_get_photo (_tmp14_);
-#line 1376 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1381 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp16_ = _tmp15_;
-#line 1376 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1381 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
media_source_get_dimensions (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, TYPE_MEDIA_SOURCE, MediaSource), PHOTO_EXCEPTION_CROP, &_tmp17_);
-#line 1376 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1381 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
box_get_scaled_similar (&self->priv->scaled_crop, &_tmp13_, &_tmp17_, &_tmp18_);
-#line 1376 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1381 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp19_ = _tmp18_;
-#line 1376 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1381 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (_tmp16_);
-#line 1376 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
- crop = _tmp19_;
#line 1381 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+ crop = _tmp19_;
+#line 1386 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp20_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 1381 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1386 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp21_ = editing_tools_photo_canvas_get_scaled_pixbuf (_tmp20_);
-#line 1381 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1386 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp22_ = _tmp21_;
-#line 1381 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1386 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp23_ = self->priv->scaled_crop;
-#line 1381 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1386 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp24_ = _tmp23_.left;
-#line 1381 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1386 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp25_ = self->priv->scaled_crop;
-#line 1381 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1386 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp26_ = _tmp25_.top;
-#line 1381 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1386 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp27_ = box_get_width (&self->priv->scaled_crop);
-#line 1381 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1386 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp28_ = box_get_height (&self->priv->scaled_crop);
-#line 1381 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1386 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp29_ = gdk_pixbuf_new_subpixbuf (_tmp22_, _tmp24_, _tmp26_, _tmp27_, _tmp28_);
-#line 1381 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1386 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp30_ = _tmp29_;
-#line 1381 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1386 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (_tmp22_);
-#line 1381 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
- cropped = _tmp30_;
#line 1386 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+ cropped = _tmp30_;
+#line 1391 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp31_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 1386 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1391 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp32_ = editing_tools_photo_canvas_get_photo (_tmp31_);
-#line 1386 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1391 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp33_ = _tmp32_;
-#line 1386 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1391 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp34_ = crop;
-#line 1386 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1391 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp35_ = crop_command_new (_tmp33_, &_tmp34_, RESOURCES_CROP_LABEL, RESOURCES_CROP_TOOLTIP);
-#line 1386 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1391 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp36_ = _tmp35_;
-#line 1386 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1391 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
box_get_dimensions (&crop, &_tmp37_);
-#line 1386 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1391 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_emit_by_name (G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool), "applied", G_TYPE_CHECK_INSTANCE_CAST (_tmp36_, TYPE_COMMAND, Command), cropped, &_tmp37_, TRUE);
-#line 1386 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1391 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (_tmp36_);
-#line 1386 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1391 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (_tmp33_);
-#line 1366 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1371 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (cropped);
-#line 9888 "EditingTools.c"
+#line 9897 "EditingTools.c"
}
@@ -9904,140 +9913,140 @@ static void editing_tools_crop_tool_update_cursor (EditingToolsCropTool* self, g
BoxLocation _tmp9_ = 0;
GdkCursorType _tmp10_ = 0;
GdkCursorType _tmp11_ = 0;
-#line 1390 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1395 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_CROP_TOOL (self));
-#line 1392 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1397 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 1392 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1397 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_photo_canvas_get_scaled_pixbuf_position (_tmp0_, &_tmp1_);
-#line 1392 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1397 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
scaled_pos = _tmp1_;
-#line 1393 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1398 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = scaled_pos;
-#line 1393 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1398 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = _tmp2_.x;
-#line 1393 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1398 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = scaled_pos;
-#line 1393 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1398 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = _tmp4_.y;
-#line 1393 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1398 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
box_get_offset (&self->priv->scaled_crop, _tmp3_, _tmp5_, &_tmp6_);
-#line 1393 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1398 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
offset_scaled_crop = _tmp6_;
-#line 1395 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1400 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cursor_type = GDK_LEFT_PTR;
-#line 1396 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1401 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = x;
-#line 1396 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1401 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = y;
-#line 1396 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1401 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = box_approx_location (&offset_scaled_crop, _tmp7_, _tmp8_);
-#line 1396 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1401 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
switch (_tmp9_) {
-#line 1396 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1401 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
case BOX_LOCATION_LEFT_SIDE:
-#line 9940 "EditingTools.c"
+#line 9949 "EditingTools.c"
{
-#line 1398 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1403 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cursor_type = GDK_LEFT_SIDE;
-#line 1399 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1404 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
break;
-#line 9946 "EditingTools.c"
+#line 9955 "EditingTools.c"
}
-#line 1396 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1401 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
case BOX_LOCATION_TOP_SIDE:
-#line 9950 "EditingTools.c"
+#line 9959 "EditingTools.c"
{
-#line 1402 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1407 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cursor_type = GDK_TOP_SIDE;
-#line 1403 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1408 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
break;
-#line 9956 "EditingTools.c"
+#line 9965 "EditingTools.c"
}
-#line 1396 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1401 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
case BOX_LOCATION_RIGHT_SIDE:
-#line 9960 "EditingTools.c"
+#line 9969 "EditingTools.c"
{
-#line 1406 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1411 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cursor_type = GDK_RIGHT_SIDE;
-#line 1407 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1412 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
break;
-#line 9966 "EditingTools.c"
+#line 9975 "EditingTools.c"
}
-#line 1396 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1401 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
case BOX_LOCATION_BOTTOM_SIDE:
-#line 9970 "EditingTools.c"
+#line 9979 "EditingTools.c"
{
-#line 1410 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1415 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cursor_type = GDK_BOTTOM_SIDE;
-#line 1411 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1416 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
break;
-#line 9976 "EditingTools.c"
+#line 9985 "EditingTools.c"
}
-#line 1396 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1401 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
case BOX_LOCATION_TOP_LEFT:
-#line 9980 "EditingTools.c"
+#line 9989 "EditingTools.c"
{
-#line 1414 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1419 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cursor_type = GDK_TOP_LEFT_CORNER;
-#line 1415 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1420 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
break;
-#line 9986 "EditingTools.c"
+#line 9995 "EditingTools.c"
}
-#line 1396 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1401 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
case BOX_LOCATION_BOTTOM_LEFT:
-#line 9990 "EditingTools.c"
+#line 9999 "EditingTools.c"
{
-#line 1418 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1423 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cursor_type = GDK_BOTTOM_LEFT_CORNER;
-#line 1419 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1424 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
break;
-#line 9996 "EditingTools.c"
+#line 10005 "EditingTools.c"
}
-#line 1396 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1401 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
case BOX_LOCATION_TOP_RIGHT:
-#line 10000 "EditingTools.c"
+#line 10009 "EditingTools.c"
{
-#line 1422 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1427 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cursor_type = GDK_TOP_RIGHT_CORNER;
-#line 1423 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1428 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
break;
-#line 10006 "EditingTools.c"
+#line 10015 "EditingTools.c"
}
-#line 1396 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1401 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
case BOX_LOCATION_BOTTOM_RIGHT:
-#line 10010 "EditingTools.c"
+#line 10019 "EditingTools.c"
{
-#line 1426 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1431 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cursor_type = GDK_BOTTOM_RIGHT_CORNER;
-#line 1427 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1432 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
break;
-#line 10016 "EditingTools.c"
+#line 10025 "EditingTools.c"
}
-#line 1396 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1401 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
case BOX_LOCATION_INSIDE:
-#line 10020 "EditingTools.c"
+#line 10029 "EditingTools.c"
{
-#line 1430 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1435 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cursor_type = GDK_FLEUR;
-#line 1431 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1436 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
break;
-#line 10026 "EditingTools.c"
+#line 10035 "EditingTools.c"
}
default:
{
-#line 1435 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1440 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
break;
-#line 10032 "EditingTools.c"
+#line 10041 "EditingTools.c"
}
}
-#line 1438 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1443 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp10_ = cursor_type;
-#line 1438 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1443 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp11_ = self->priv->current_cursor_type;
-#line 1438 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1443 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp10_ != _tmp11_) {
-#line 10041 "EditingTools.c"
+#line 10050 "EditingTools.c"
GdkWindow* drawing_window = NULL;
EditingToolsPhotoCanvas* _tmp12_ = NULL;
GdkWindow* _tmp13_ = NULL;
@@ -10052,45 +10061,45 @@ static void editing_tools_crop_tool_update_cursor (EditingToolsCropTool* self, g
GdkWindow* _tmp20_ = NULL;
GdkCursor* _tmp21_ = NULL;
GdkCursorType _tmp22_ = 0;
-#line 1439 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1444 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp12_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 1439 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1444 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp13_ = editing_tools_photo_canvas_get_drawing_window (_tmp12_);
-#line 1439 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1444 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
drawing_window = _tmp13_;
-#line 1440 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1445 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp14_ = drawing_window;
-#line 1440 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1445 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp15_ = gdk_window_get_display (_tmp14_);
-#line 1440 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1445 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp16_ = _g_object_ref0 (_tmp15_);
-#line 1440 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1445 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
display = _tmp16_;
-#line 1441 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1446 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp17_ = display;
-#line 1441 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1446 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp18_ = cursor_type;
-#line 1441 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1446 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp19_ = gdk_cursor_new_for_display (_tmp17_, _tmp18_);
-#line 1441 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1446 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cursor = _tmp19_;
-#line 1442 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1447 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp20_ = drawing_window;
-#line 1442 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1447 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp21_ = cursor;
-#line 1442 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1447 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gdk_window_set_cursor (_tmp20_, _tmp21_);
-#line 1443 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1448 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp22_ = cursor_type;
-#line 1443 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1448 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->current_cursor_type = _tmp22_;
-#line 1438 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1443 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (cursor);
-#line 1438 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1443 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (display);
-#line 1438 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1443 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (drawing_window);
-#line 10094 "EditingTools.c"
+#line 10103 "EditingTools.c"
}
}
@@ -10106,31 +10115,31 @@ static gint editing_tools_crop_tool_eval_radial_line (EditingToolsCropTool* self
gdouble _tmp4_ = 0.0;
gdouble _tmp5_ = 0.0;
gdouble _tmp6_ = 0.0;
-#line 1447 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1452 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (EDITING_TOOLS_IS_CROP_TOOL (self), 0);
-#line 1449 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1454 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = bounds_y;
-#line 1449 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1454 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = center_y;
-#line 1449 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1454 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = bounds_x;
-#line 1449 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1454 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = center_x;
-#line 1449 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1454 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
decision_slope = (_tmp0_ - _tmp1_) / (_tmp2_ - _tmp3_);
-#line 1450 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1455 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = bounds_y;
-#line 1450 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1455 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = bounds_x;
-#line 1450 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1455 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
decision_intercept = _tmp4_ - (decision_slope * _tmp5_);
-#line 1452 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1457 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = user_x;
-#line 1452 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1457 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
result = (gint) ((decision_slope * _tmp6_) + decision_intercept);
-#line 1452 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1457 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return result;
-#line 10134 "EditingTools.c"
+#line 10143 "EditingTools.c"
}
@@ -10167,136 +10176,136 @@ static void editing_tools_crop_tool_get_photo_dimensions (EditingToolsCropTool*
gint _tmp26_ = 0;
gdouble _tmp27_ = 0.0;
Dimensions _tmp28_ = {0};
-#line 1456 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1461 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_CROP_TOOL (self));
-#line 1457 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1462 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 1457 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1462 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = editing_tools_photo_canvas_get_photo (_tmp0_);
-#line 1457 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1462 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = _tmp1_;
-#line 1457 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1462 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
media_source_get_dimensions (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, TYPE_MEDIA_SOURCE, MediaSource), PHOTO_EXCEPTION_CROP, &_tmp3_);
-#line 1457 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1462 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = _tmp3_;
-#line 1457 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1462 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (_tmp2_);
-#line 1457 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1462 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
photo_dims = _tmp4_;
-#line 1458 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1463 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 1458 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1463 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_photo_canvas_get_surface_dim (_tmp5_, &_tmp6_);
-#line 1458 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1463 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
surface_dims = _tmp6_;
-#line 1459 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = surface_dims;
-#line 1459 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = _tmp7_.width;
-#line 1459 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = photo_dims;
-#line 1459 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp10_ = _tmp9_.width;
-#line 1459 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp11_ = surface_dims;
-#line 1459 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp12_ = _tmp11_.height;
-#line 1459 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp13_ = photo_dims;
-#line 1459 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp14_ = _tmp13_.height;
-#line 1459 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp15_ = MIN (((gdouble) _tmp8_) / _tmp10_, ((gdouble) _tmp12_) / _tmp14_);
-#line 1459 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
scale_factor = _tmp15_;
-#line 1461 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1466 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp16_ = scale_factor;
-#line 1461 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1466 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp17_ = MIN (_tmp16_, 1.0);
-#line 1461 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1466 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
scale_factor = _tmp17_;
-#line 1463 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1468 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp18_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 1463 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1468 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp19_ = editing_tools_photo_canvas_get_photo (_tmp18_);
-#line 1463 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1468 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp20_ = _tmp19_;
-#line 1463 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1468 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
media_source_get_dimensions (G_TYPE_CHECK_INSTANCE_CAST (_tmp20_, TYPE_MEDIA_SOURCE, MediaSource), PHOTO_EXCEPTION_CROP | PHOTO_EXCEPTION_STRAIGHTEN, &_tmp21_);
-#line 1463 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1468 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
photo_dims = _tmp21_;
-#line 1463 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1468 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (_tmp20_);
-#line 1466 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1471 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp22_ = photo_dims;
-#line 1466 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1471 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp23_ = _tmp22_.width;
-#line 1466 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1471 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp24_ = scale_factor;
-#line 1466 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1471 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp25_ = photo_dims;
-#line 1466 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1471 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp26_ = _tmp25_.height;
-#line 1466 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1471 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp27_ = scale_factor;
-#line 1466 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1471 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp28_.width = (gint) (_tmp23_ * _tmp24_);
-#line 1466 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1471 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp28_.height = (gint) (_tmp26_ * _tmp27_);
-#line 1466 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1471 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*result = _tmp28_;
-#line 1466 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1471 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return;
-#line 10251 "EditingTools.c"
+#line 10260 "EditingTools.c"
}
static gboolean _box_equal (const Box* s1, const Box* s2) {
-#line 1728 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1733 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (s1 == s2) {
-#line 1728 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1733 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return TRUE;
-#line 10260 "EditingTools.c"
+#line 10269 "EditingTools.c"
}
-#line 1728 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1733 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (s1 == NULL) {
-#line 1728 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1733 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return FALSE;
-#line 10266 "EditingTools.c"
+#line 10275 "EditingTools.c"
}
-#line 1728 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1733 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (s2 == NULL) {
-#line 1728 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1733 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return FALSE;
-#line 10272 "EditingTools.c"
+#line 10281 "EditingTools.c"
}
-#line 1728 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1733 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (s1->left != s2->left) {
-#line 1728 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1733 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return FALSE;
-#line 10278 "EditingTools.c"
+#line 10287 "EditingTools.c"
}
-#line 1728 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1733 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (s1->top != s2->top) {
-#line 1728 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1733 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return FALSE;
-#line 10284 "EditingTools.c"
+#line 10293 "EditingTools.c"
}
-#line 1728 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1733 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (s1->right != s2->right) {
-#line 1728 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1733 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return FALSE;
-#line 10290 "EditingTools.c"
+#line 10299 "EditingTools.c"
}
-#line 1728 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1733 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (s1->bottom != s2->bottom) {
-#line 1728 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1733 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return FALSE;
-#line 10296 "EditingTools.c"
+#line 10305 "EditingTools.c"
}
-#line 1728 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1733 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return TRUE;
-#line 10300 "EditingTools.c"
+#line 10309 "EditingTools.c"
}
@@ -10350,317 +10359,317 @@ static gboolean editing_tools_crop_tool_on_canvas_manipulation (EditingToolsCrop
BoxLocation _tmp254_ = 0;
Box _tmp257_ = {0};
gfloat _tmp258_ = 0.0F;
-#line 1470 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1475 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (EDITING_TOOLS_IS_CROP_TOOL (self), FALSE);
-#line 1471 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1476 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 1471 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1476 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_photo_canvas_get_scaled_pixbuf_position (_tmp0_, &_tmp1_);
-#line 1471 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1476 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
scaled_pos = _tmp1_;
-#line 1475 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1480 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = x;
-#line 1475 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1480 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = scaled_pos;
-#line 1475 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1480 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = _tmp3_.x;
-#line 1475 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1480 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
x = _tmp2_ - _tmp4_;
-#line 1476 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1481 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = x;
-#line 1476 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1481 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp5_ < 0) {
-#line 1477 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1482 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
x = 0;
-#line 10376 "EditingTools.c"
+#line 10385 "EditingTools.c"
} else {
gint _tmp6_ = 0;
GdkRectangle _tmp7_ = {0};
gint _tmp8_ = 0;
-#line 1478 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1483 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = x;
-#line 1478 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1483 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = scaled_pos;
-#line 1478 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1483 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = _tmp7_.width;
-#line 1478 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1483 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp6_ >= _tmp8_) {
-#line 10389 "EditingTools.c"
+#line 10398 "EditingTools.c"
GdkRectangle _tmp9_ = {0};
gint _tmp10_ = 0;
-#line 1479 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1484 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = scaled_pos;
-#line 1479 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1484 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp10_ = _tmp9_.width;
-#line 1479 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1484 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
x = _tmp10_ - 1;
-#line 10398 "EditingTools.c"
+#line 10407 "EditingTools.c"
}
}
-#line 1481 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1486 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp11_ = y;
-#line 1481 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1486 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp12_ = scaled_pos;
-#line 1481 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1486 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp13_ = _tmp12_.y;
-#line 1481 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1486 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
y = _tmp11_ - _tmp13_;
-#line 1482 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1487 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp14_ = y;
-#line 1482 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1487 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp14_ < 0) {
-#line 1483 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1488 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
y = 0;
-#line 10415 "EditingTools.c"
+#line 10424 "EditingTools.c"
} else {
gint _tmp15_ = 0;
GdkRectangle _tmp16_ = {0};
gint _tmp17_ = 0;
-#line 1484 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1489 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp15_ = y;
-#line 1484 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1489 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp16_ = scaled_pos;
-#line 1484 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1489 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp17_ = _tmp16_.height;
-#line 1484 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1489 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp15_ >= _tmp17_) {
-#line 10428 "EditingTools.c"
+#line 10437 "EditingTools.c"
GdkRectangle _tmp18_ = {0};
gint _tmp19_ = 0;
-#line 1485 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1490 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp18_ = scaled_pos;
-#line 1485 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1490 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp19_ = _tmp18_.height;
-#line 1485 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1490 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
y = _tmp19_ - 1;
-#line 10437 "EditingTools.c"
+#line 10446 "EditingTools.c"
}
}
-#line 1489 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1494 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp20_ = self->priv->scaled_crop;
-#line 1489 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1494 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp21_ = _tmp20_.left;
-#line 1489 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1494 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
left = _tmp21_;
-#line 1490 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1495 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp22_ = self->priv->scaled_crop;
-#line 1490 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1495 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp23_ = _tmp22_.top;
-#line 1490 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1495 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
top = _tmp23_;
-#line 1491 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1496 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp24_ = self->priv->scaled_crop;
-#line 1491 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1496 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp25_ = _tmp24_.right;
-#line 1491 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1496 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
right = _tmp25_;
-#line 1492 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1497 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp26_ = self->priv->scaled_crop;
-#line 1492 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1497 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp27_ = _tmp26_.bottom;
-#line 1492 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1497 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
bottom = _tmp27_;
-#line 1495 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1500 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp28_ = left;
-#line 1495 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1500 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp29_ = right;
-#line 1495 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1500 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
center_x = (_tmp28_ + _tmp29_) / 2;
-#line 1496 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1501 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp30_ = top;
-#line 1496 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1501 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp31_ = bottom;
-#line 1496 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1501 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
center_y = (_tmp30_ + _tmp31_) / 2;
-#line 1498 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1503 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp32_ = self->priv->in_manipulation;
-#line 1498 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1503 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
switch (_tmp32_) {
-#line 1498 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1503 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
case BOX_LOCATION_LEFT_SIDE:
-#line 10482 "EditingTools.c"
+#line 10491 "EditingTools.c"
{
gint _tmp33_ = 0;
gfloat _tmp34_ = 0.0F;
-#line 1500 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1505 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp33_ = x;
-#line 1500 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1505 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
left = _tmp33_;
-#line 1501 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1506 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp34_ = editing_tools_crop_tool_get_constraint_aspect_ratio (self);
-#line 1501 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1506 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp34_ != EDITING_TOOLS_CROP_TOOL_ANY_ASPECT_RATIO) {
-#line 10494 "EditingTools.c"
+#line 10503 "EditingTools.c"
gfloat new_height = 0.0F;
gint _tmp35_ = 0;
gint _tmp36_ = 0;
gfloat _tmp37_ = 0.0F;
gint _tmp38_ = 0;
gfloat _tmp39_ = 0.0F;
-#line 1502 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1507 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp35_ = right;
-#line 1502 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1507 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp36_ = left;
-#line 1502 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1507 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp37_ = editing_tools_crop_tool_get_constraint_aspect_ratio (self);
-#line 1502 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1507 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
new_height = ((gfloat) (_tmp35_ - _tmp36_)) / _tmp37_;
-#line 1503 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1508 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp38_ = top;
-#line 1503 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1508 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp39_ = new_height;
-#line 1503 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1508 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
bottom = _tmp38_ + ((gint) _tmp39_);
-#line 10515 "EditingTools.c"
+#line 10524 "EditingTools.c"
}
-#line 1505 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1510 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
break;
-#line 10519 "EditingTools.c"
+#line 10528 "EditingTools.c"
}
-#line 1498 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1503 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
case BOX_LOCATION_TOP_SIDE:
-#line 10523 "EditingTools.c"
+#line 10532 "EditingTools.c"
{
gint _tmp40_ = 0;
gfloat _tmp41_ = 0.0F;
-#line 1508 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1513 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp40_ = y;
-#line 1508 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1513 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
top = _tmp40_;
-#line 1509 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1514 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp41_ = editing_tools_crop_tool_get_constraint_aspect_ratio (self);
-#line 1509 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1514 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp41_ != EDITING_TOOLS_CROP_TOOL_ANY_ASPECT_RATIO) {
-#line 10535 "EditingTools.c"
+#line 10544 "EditingTools.c"
gfloat new_width = 0.0F;
gint _tmp42_ = 0;
gint _tmp43_ = 0;
gfloat _tmp44_ = 0.0F;
gint _tmp45_ = 0;
gfloat _tmp46_ = 0.0F;
-#line 1510 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1515 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp42_ = bottom;
-#line 1510 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1515 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp43_ = top;
-#line 1510 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1515 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp44_ = editing_tools_crop_tool_get_constraint_aspect_ratio (self);
-#line 1510 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1515 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
new_width = ((gfloat) (_tmp42_ - _tmp43_)) * _tmp44_;
-#line 1511 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1516 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp45_ = left;
-#line 1511 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1516 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp46_ = new_width;
-#line 1511 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1516 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
right = _tmp45_ + ((gint) _tmp46_);
-#line 10556 "EditingTools.c"
+#line 10565 "EditingTools.c"
}
-#line 1513 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1518 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
break;
-#line 10560 "EditingTools.c"
+#line 10569 "EditingTools.c"
}
-#line 1498 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1503 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
case BOX_LOCATION_RIGHT_SIDE:
-#line 10564 "EditingTools.c"
+#line 10573 "EditingTools.c"
{
gint _tmp47_ = 0;
gfloat _tmp48_ = 0.0F;
-#line 1516 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1521 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp47_ = x;
-#line 1516 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1521 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
right = _tmp47_;
-#line 1517 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1522 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp48_ = editing_tools_crop_tool_get_constraint_aspect_ratio (self);
-#line 1517 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1522 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp48_ != EDITING_TOOLS_CROP_TOOL_ANY_ASPECT_RATIO) {
-#line 10576 "EditingTools.c"
+#line 10585 "EditingTools.c"
gfloat new_height = 0.0F;
gint _tmp49_ = 0;
gint _tmp50_ = 0;
gfloat _tmp51_ = 0.0F;
gint _tmp52_ = 0;
gfloat _tmp53_ = 0.0F;
-#line 1518 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1523 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp49_ = right;
-#line 1518 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1523 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp50_ = left;
-#line 1518 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1523 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp51_ = editing_tools_crop_tool_get_constraint_aspect_ratio (self);
-#line 1518 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1523 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
new_height = ((gfloat) (_tmp49_ - _tmp50_)) / _tmp51_;
-#line 1519 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1524 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp52_ = top;
-#line 1519 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1524 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp53_ = new_height;
-#line 1519 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1524 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
bottom = _tmp52_ + ((gint) _tmp53_);
-#line 10597 "EditingTools.c"
+#line 10606 "EditingTools.c"
}
-#line 1521 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1526 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
break;
-#line 10601 "EditingTools.c"
+#line 10610 "EditingTools.c"
}
-#line 1498 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1503 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
case BOX_LOCATION_BOTTOM_SIDE:
-#line 10605 "EditingTools.c"
+#line 10614 "EditingTools.c"
{
gint _tmp54_ = 0;
gfloat _tmp55_ = 0.0F;
-#line 1524 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1529 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp54_ = y;
-#line 1524 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1529 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
bottom = _tmp54_;
-#line 1525 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1530 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp55_ = editing_tools_crop_tool_get_constraint_aspect_ratio (self);
-#line 1525 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1530 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp55_ != EDITING_TOOLS_CROP_TOOL_ANY_ASPECT_RATIO) {
-#line 10617 "EditingTools.c"
+#line 10626 "EditingTools.c"
gfloat new_width = 0.0F;
gint _tmp56_ = 0;
gint _tmp57_ = 0;
gfloat _tmp58_ = 0.0F;
gint _tmp59_ = 0;
gfloat _tmp60_ = 0.0F;
-#line 1526 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1531 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp56_ = bottom;
-#line 1526 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1531 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp57_ = top;
-#line 1526 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1531 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp58_ = editing_tools_crop_tool_get_constraint_aspect_ratio (self);
-#line 1526 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1531 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
new_width = ((gfloat) (_tmp56_ - _tmp57_)) * _tmp58_;
-#line 1527 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1532 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp59_ = left;
-#line 1527 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1532 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp60_ = new_width;
-#line 1527 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1532 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
right = _tmp59_ + ((gint) _tmp60_);
-#line 10638 "EditingTools.c"
+#line 10647 "EditingTools.c"
}
-#line 1529 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1534 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
break;
-#line 10642 "EditingTools.c"
+#line 10651 "EditingTools.c"
}
-#line 1498 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1503 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
case BOX_LOCATION_TOP_LEFT:
-#line 10646 "EditingTools.c"
+#line 10655 "EditingTools.c"
{
gfloat _tmp61_ = 0.0F;
-#line 1532 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1537 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp61_ = editing_tools_crop_tool_get_constraint_aspect_ratio (self);
-#line 1532 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1537 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp61_ == EDITING_TOOLS_CROP_TOOL_ANY_ASPECT_RATIO) {
-#line 10653 "EditingTools.c"
+#line 10662 "EditingTools.c"
gint _tmp62_ = 0;
gint _tmp63_ = 0;
-#line 1533 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1538 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp62_ = y;
-#line 1533 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1538 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
top = _tmp62_;
-#line 1534 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1539 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp63_ = x;
-#line 1534 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1539 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
left = _tmp63_;
-#line 10664 "EditingTools.c"
+#line 10673 "EditingTools.c"
} else {
gint _tmp64_ = 0;
gint _tmp65_ = 0;
@@ -10669,23 +10678,23 @@ static gboolean editing_tools_crop_tool_on_canvas_manipulation (EditingToolsCrop
gint _tmp68_ = 0;
gint _tmp69_ = 0;
gint _tmp70_ = 0;
-#line 1536 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1541 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp64_ = y;
-#line 1536 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1541 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp65_ = center_x;
-#line 1536 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1541 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp66_ = center_y;
-#line 1536 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1541 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp67_ = left;
-#line 1536 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1541 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp68_ = top;
-#line 1536 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1541 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp69_ = x;
-#line 1536 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1541 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp70_ = editing_tools_crop_tool_eval_radial_line (self, (gdouble) _tmp65_, (gdouble) _tmp66_, (gdouble) _tmp67_, (gdouble) _tmp68_, (gdouble) _tmp69_);
-#line 1536 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1541 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp64_ < _tmp70_) {
-#line 10689 "EditingTools.c"
+#line 10698 "EditingTools.c"
gint _tmp71_ = 0;
gfloat new_width = 0.0F;
gint _tmp72_ = 0;
@@ -10693,25 +10702,25 @@ static gboolean editing_tools_crop_tool_on_canvas_manipulation (EditingToolsCrop
gfloat _tmp74_ = 0.0F;
gint _tmp75_ = 0;
gfloat _tmp76_ = 0.0F;
-#line 1537 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1542 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp71_ = y;
-#line 1537 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1542 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
top = _tmp71_;
-#line 1538 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1543 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp72_ = bottom;
-#line 1538 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1543 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp73_ = top;
-#line 1538 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1543 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp74_ = editing_tools_crop_tool_get_constraint_aspect_ratio (self);
-#line 1538 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1543 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
new_width = ((gfloat) (_tmp72_ - _tmp73_)) * _tmp74_;
-#line 1539 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1544 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp75_ = right;
-#line 1539 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1544 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp76_ = new_width;
-#line 1539 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1544 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
left = _tmp75_ - ((gint) _tmp76_);
-#line 10715 "EditingTools.c"
+#line 10724 "EditingTools.c"
} else {
gint _tmp77_ = 0;
gfloat new_height = 0.0F;
@@ -10720,52 +10729,52 @@ static gboolean editing_tools_crop_tool_on_canvas_manipulation (EditingToolsCrop
gfloat _tmp80_ = 0.0F;
gint _tmp81_ = 0;
gfloat _tmp82_ = 0.0F;
-#line 1541 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1546 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp77_ = x;
-#line 1541 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1546 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
left = _tmp77_;
-#line 1542 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1547 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp78_ = right;
-#line 1542 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1547 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp79_ = left;
-#line 1542 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1547 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp80_ = editing_tools_crop_tool_get_constraint_aspect_ratio (self);
-#line 1542 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1547 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
new_height = ((gfloat) (_tmp78_ - _tmp79_)) / _tmp80_;
-#line 1543 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1548 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp81_ = bottom;
-#line 1543 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1548 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp82_ = new_height;
-#line 1543 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1548 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
top = _tmp81_ - ((gint) _tmp82_);
-#line 10742 "EditingTools.c"
+#line 10751 "EditingTools.c"
}
}
-#line 1546 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1551 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
break;
-#line 10747 "EditingTools.c"
+#line 10756 "EditingTools.c"
}
-#line 1498 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1503 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
case BOX_LOCATION_BOTTOM_LEFT:
-#line 10751 "EditingTools.c"
+#line 10760 "EditingTools.c"
{
gfloat _tmp83_ = 0.0F;
-#line 1549 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1554 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp83_ = editing_tools_crop_tool_get_constraint_aspect_ratio (self);
-#line 1549 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1554 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp83_ == EDITING_TOOLS_CROP_TOOL_ANY_ASPECT_RATIO) {
-#line 10758 "EditingTools.c"
+#line 10767 "EditingTools.c"
gint _tmp84_ = 0;
gint _tmp85_ = 0;
-#line 1550 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1555 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp84_ = y;
-#line 1550 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1555 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
bottom = _tmp84_;
-#line 1551 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1556 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp85_ = x;
-#line 1551 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1556 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
left = _tmp85_;
-#line 10769 "EditingTools.c"
+#line 10778 "EditingTools.c"
} else {
gint _tmp86_ = 0;
gint _tmp87_ = 0;
@@ -10774,23 +10783,23 @@ static gboolean editing_tools_crop_tool_on_canvas_manipulation (EditingToolsCrop
gint _tmp90_ = 0;
gint _tmp91_ = 0;
gint _tmp92_ = 0;
-#line 1553 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1558 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp86_ = y;
-#line 1553 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1558 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp87_ = center_x;
-#line 1553 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1558 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp88_ = center_y;
-#line 1553 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1558 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp89_ = left;
-#line 1553 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1558 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp90_ = bottom;
-#line 1553 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1558 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp91_ = x;
-#line 1553 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1558 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp92_ = editing_tools_crop_tool_eval_radial_line (self, (gdouble) _tmp87_, (gdouble) _tmp88_, (gdouble) _tmp89_, (gdouble) _tmp90_, (gdouble) _tmp91_);
-#line 1553 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1558 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp86_ < _tmp92_) {
-#line 10794 "EditingTools.c"
+#line 10803 "EditingTools.c"
gint _tmp93_ = 0;
gfloat new_height = 0.0F;
gint _tmp94_ = 0;
@@ -10798,25 +10807,25 @@ static gboolean editing_tools_crop_tool_on_canvas_manipulation (EditingToolsCrop
gfloat _tmp96_ = 0.0F;
gint _tmp97_ = 0;
gfloat _tmp98_ = 0.0F;
-#line 1554 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1559 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp93_ = x;
-#line 1554 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1559 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
left = _tmp93_;
-#line 1555 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1560 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp94_ = right;
-#line 1555 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1560 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp95_ = left;
-#line 1555 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1560 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp96_ = editing_tools_crop_tool_get_constraint_aspect_ratio (self);
-#line 1555 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1560 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
new_height = ((gfloat) (_tmp94_ - _tmp95_)) / _tmp96_;
-#line 1556 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1561 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp97_ = top;
-#line 1556 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1561 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp98_ = new_height;
-#line 1556 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1561 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
bottom = _tmp97_ + ((gint) _tmp98_);
-#line 10820 "EditingTools.c"
+#line 10829 "EditingTools.c"
} else {
gint _tmp99_ = 0;
gfloat new_width = 0.0F;
@@ -10825,52 +10834,52 @@ static gboolean editing_tools_crop_tool_on_canvas_manipulation (EditingToolsCrop
gfloat _tmp102_ = 0.0F;
gint _tmp103_ = 0;
gfloat _tmp104_ = 0.0F;
-#line 1558 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1563 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp99_ = y;
-#line 1558 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1563 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
bottom = _tmp99_;
-#line 1559 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1564 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp100_ = bottom;
-#line 1559 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1564 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp101_ = top;
-#line 1559 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1564 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp102_ = editing_tools_crop_tool_get_constraint_aspect_ratio (self);
-#line 1559 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1564 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
new_width = ((gfloat) (_tmp100_ - _tmp101_)) * _tmp102_;
-#line 1560 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1565 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp103_ = right;
-#line 1560 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1565 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp104_ = new_width;
-#line 1560 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1565 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
left = _tmp103_ - ((gint) _tmp104_);
-#line 10847 "EditingTools.c"
+#line 10856 "EditingTools.c"
}
}
-#line 1563 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1568 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
break;
-#line 10852 "EditingTools.c"
+#line 10861 "EditingTools.c"
}
-#line 1498 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1503 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
case BOX_LOCATION_TOP_RIGHT:
-#line 10856 "EditingTools.c"
+#line 10865 "EditingTools.c"
{
gfloat _tmp105_ = 0.0F;
-#line 1566 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1571 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp105_ = editing_tools_crop_tool_get_constraint_aspect_ratio (self);
-#line 1566 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1571 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp105_ == EDITING_TOOLS_CROP_TOOL_ANY_ASPECT_RATIO) {
-#line 10863 "EditingTools.c"
+#line 10872 "EditingTools.c"
gint _tmp106_ = 0;
gint _tmp107_ = 0;
-#line 1567 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1572 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp106_ = y;
-#line 1567 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1572 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
top = _tmp106_;
-#line 1568 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1573 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp107_ = x;
-#line 1568 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1573 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
right = _tmp107_;
-#line 10874 "EditingTools.c"
+#line 10883 "EditingTools.c"
} else {
gint _tmp108_ = 0;
gint _tmp109_ = 0;
@@ -10879,23 +10888,23 @@ static gboolean editing_tools_crop_tool_on_canvas_manipulation (EditingToolsCrop
gint _tmp112_ = 0;
gint _tmp113_ = 0;
gint _tmp114_ = 0;
-#line 1570 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1575 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp108_ = y;
-#line 1570 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1575 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp109_ = center_x;
-#line 1570 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1575 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp110_ = center_y;
-#line 1570 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1575 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp111_ = right;
-#line 1570 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1575 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp112_ = top;
-#line 1570 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1575 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp113_ = x;
-#line 1570 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1575 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp114_ = editing_tools_crop_tool_eval_radial_line (self, (gdouble) _tmp109_, (gdouble) _tmp110_, (gdouble) _tmp111_, (gdouble) _tmp112_, (gdouble) _tmp113_);
-#line 1570 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1575 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp108_ < _tmp114_) {
-#line 10899 "EditingTools.c"
+#line 10908 "EditingTools.c"
gint _tmp115_ = 0;
gfloat new_width = 0.0F;
gint _tmp116_ = 0;
@@ -10903,25 +10912,25 @@ static gboolean editing_tools_crop_tool_on_canvas_manipulation (EditingToolsCrop
gfloat _tmp118_ = 0.0F;
gint _tmp119_ = 0;
gfloat _tmp120_ = 0.0F;
-#line 1571 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1576 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp115_ = y;
-#line 1571 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1576 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
top = _tmp115_;
-#line 1572 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1577 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp116_ = bottom;
-#line 1572 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1577 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp117_ = top;
-#line 1572 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1577 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp118_ = editing_tools_crop_tool_get_constraint_aspect_ratio (self);
-#line 1572 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1577 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
new_width = ((gfloat) (_tmp116_ - _tmp117_)) * _tmp118_;
-#line 1573 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1578 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp119_ = left;
-#line 1573 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1578 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp120_ = new_width;
-#line 1573 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1578 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
right = _tmp119_ + ((gint) _tmp120_);
-#line 10925 "EditingTools.c"
+#line 10934 "EditingTools.c"
} else {
gint _tmp121_ = 0;
gfloat new_height = 0.0F;
@@ -10930,52 +10939,52 @@ static gboolean editing_tools_crop_tool_on_canvas_manipulation (EditingToolsCrop
gfloat _tmp124_ = 0.0F;
gint _tmp125_ = 0;
gfloat _tmp126_ = 0.0F;
-#line 1575 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1580 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp121_ = x;
-#line 1575 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1580 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
right = _tmp121_;
-#line 1576 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1581 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp122_ = right;
-#line 1576 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1581 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp123_ = left;
-#line 1576 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1581 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp124_ = editing_tools_crop_tool_get_constraint_aspect_ratio (self);
-#line 1576 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1581 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
new_height = ((gfloat) (_tmp122_ - _tmp123_)) / _tmp124_;
-#line 1577 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1582 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp125_ = bottom;
-#line 1577 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1582 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp126_ = new_height;
-#line 1577 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1582 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
top = _tmp125_ - ((gint) _tmp126_);
-#line 10952 "EditingTools.c"
+#line 10961 "EditingTools.c"
}
}
-#line 1580 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1585 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
break;
-#line 10957 "EditingTools.c"
+#line 10966 "EditingTools.c"
}
-#line 1498 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1503 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
case BOX_LOCATION_BOTTOM_RIGHT:
-#line 10961 "EditingTools.c"
+#line 10970 "EditingTools.c"
{
gfloat _tmp127_ = 0.0F;
-#line 1583 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1588 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp127_ = editing_tools_crop_tool_get_constraint_aspect_ratio (self);
-#line 1583 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1588 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp127_ == EDITING_TOOLS_CROP_TOOL_ANY_ASPECT_RATIO) {
-#line 10968 "EditingTools.c"
+#line 10977 "EditingTools.c"
gint _tmp128_ = 0;
gint _tmp129_ = 0;
-#line 1584 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1589 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp128_ = y;
-#line 1584 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1589 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
bottom = _tmp128_;
-#line 1585 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1590 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp129_ = x;
-#line 1585 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1590 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
right = _tmp129_;
-#line 10979 "EditingTools.c"
+#line 10988 "EditingTools.c"
} else {
gint _tmp130_ = 0;
gint _tmp131_ = 0;
@@ -10984,23 +10993,23 @@ static gboolean editing_tools_crop_tool_on_canvas_manipulation (EditingToolsCrop
gint _tmp134_ = 0;
gint _tmp135_ = 0;
gint _tmp136_ = 0;
-#line 1587 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1592 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp130_ = y;
-#line 1587 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1592 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp131_ = center_x;
-#line 1587 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1592 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp132_ = center_y;
-#line 1587 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1592 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp133_ = right;
-#line 1587 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1592 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp134_ = bottom;
-#line 1587 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1592 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp135_ = x;
-#line 1587 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1592 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp136_ = editing_tools_crop_tool_eval_radial_line (self, (gdouble) _tmp131_, (gdouble) _tmp132_, (gdouble) _tmp133_, (gdouble) _tmp134_, (gdouble) _tmp135_);
-#line 1587 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1592 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp130_ < _tmp136_) {
-#line 11004 "EditingTools.c"
+#line 11013 "EditingTools.c"
gint _tmp137_ = 0;
gfloat new_height = 0.0F;
gint _tmp138_ = 0;
@@ -11008,25 +11017,25 @@ static gboolean editing_tools_crop_tool_on_canvas_manipulation (EditingToolsCrop
gfloat _tmp140_ = 0.0F;
gint _tmp141_ = 0;
gfloat _tmp142_ = 0.0F;
-#line 1588 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1593 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp137_ = x;
-#line 1588 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1593 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
right = _tmp137_;
-#line 1589 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1594 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp138_ = right;
-#line 1589 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1594 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp139_ = left;
-#line 1589 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1594 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp140_ = editing_tools_crop_tool_get_constraint_aspect_ratio (self);
-#line 1589 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1594 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
new_height = ((gfloat) (_tmp138_ - _tmp139_)) / _tmp140_;
-#line 1590 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1595 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp141_ = top;
-#line 1590 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1595 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp142_ = new_height;
-#line 1590 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1595 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
bottom = _tmp141_ + ((gint) _tmp142_);
-#line 11030 "EditingTools.c"
+#line 11039 "EditingTools.c"
} else {
gint _tmp143_ = 0;
gfloat new_width = 0.0F;
@@ -11035,34 +11044,34 @@ static gboolean editing_tools_crop_tool_on_canvas_manipulation (EditingToolsCrop
gfloat _tmp146_ = 0.0F;
gint _tmp147_ = 0;
gfloat _tmp148_ = 0.0F;
-#line 1592 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1597 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp143_ = y;
-#line 1592 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1597 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
bottom = _tmp143_;
-#line 1593 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1598 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp144_ = bottom;
-#line 1593 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1598 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp145_ = top;
-#line 1593 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1598 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp146_ = editing_tools_crop_tool_get_constraint_aspect_ratio (self);
-#line 1593 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1598 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
new_width = ((gfloat) (_tmp144_ - _tmp145_)) * _tmp146_;
-#line 1594 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1599 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp147_ = left;
-#line 1594 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1599 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp148_ = new_width;
-#line 1594 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1599 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
right = _tmp147_ + ((gint) _tmp148_);
-#line 11057 "EditingTools.c"
+#line 11066 "EditingTools.c"
}
}
-#line 1597 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1602 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
break;
-#line 11062 "EditingTools.c"
+#line 11071 "EditingTools.c"
}
-#line 1498 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1503 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
case BOX_LOCATION_INSIDE:
-#line 11066 "EditingTools.c"
+#line 11075 "EditingTools.c"
{
gint _tmp149_ = 0;
gint _tmp150_ = 0;
@@ -11106,250 +11115,250 @@ static gboolean editing_tools_crop_tool_on_canvas_manipulation (EditingToolsCrop
gint _tmp186_ = 0;
gint _tmp192_ = 0;
gint _tmp193_ = 0;
-#line 1600 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1605 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp149_ = self->priv->last_grab_x;
-#line 1600 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1605 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_vala_assert (_tmp149_ >= 0, "last_grab_x >= 0");
-#line 1601 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1606 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp150_ = self->priv->last_grab_y;
-#line 1601 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1606 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_vala_assert (_tmp150_ >= 0, "last_grab_y >= 0");
-#line 1603 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp151_ = x;
-#line 1603 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp152_ = self->priv->last_grab_x;
-#line 1603 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
delta_x = _tmp151_ - _tmp152_;
-#line 1604 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1609 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp153_ = y;
-#line 1604 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1609 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp154_ = self->priv->last_grab_y;
-#line 1604 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1609 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
delta_y = _tmp153_ - _tmp154_;
-#line 1606 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1611 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp155_ = x;
-#line 1606 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1611 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->last_grab_x = _tmp155_;
-#line 1607 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1612 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp156_ = y;
-#line 1607 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1612 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->last_grab_y = _tmp156_;
-#line 1609 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1614 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp157_ = right;
-#line 1609 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1614 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp158_ = left;
-#line 1609 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1614 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
width = (_tmp157_ - _tmp158_) + 1;
-#line 1610 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1615 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp159_ = bottom;
-#line 1610 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1615 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp160_ = top;
-#line 1610 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1615 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
height = (_tmp159_ - _tmp160_) + 1;
-#line 1612 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1617 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp161_ = left;
-#line 1612 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1617 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp162_ = delta_x;
-#line 1612 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1617 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
left = _tmp161_ + _tmp162_;
-#line 1613 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1618 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp163_ = top;
-#line 1613 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1618 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp164_ = delta_y;
-#line 1613 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1618 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
top = _tmp163_ + _tmp164_;
-#line 1614 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1619 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp165_ = right;
-#line 1614 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1619 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp166_ = delta_x;
-#line 1614 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1619 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
right = _tmp165_ + _tmp166_;
-#line 1615 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1620 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp167_ = bottom;
-#line 1615 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1620 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp168_ = delta_y;
-#line 1615 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1620 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
bottom = _tmp167_ + _tmp168_;
-#line 1618 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1623 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp169_ = left;
-#line 1618 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1623 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp169_ < 0) {
-#line 1619 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1624 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
left = 0;
-#line 11180 "EditingTools.c"
+#line 11189 "EditingTools.c"
}
-#line 1621 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1626 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp170_ = top;
-#line 1621 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1626 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp170_ < 0) {
-#line 1622 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1627 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
top = 0;
-#line 11188 "EditingTools.c"
+#line 11197 "EditingTools.c"
}
-#line 1624 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1629 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp171_ = right;
-#line 1624 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1629 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp172_ = scaled_pos;
-#line 1624 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1629 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp173_ = _tmp172_.width;
-#line 1624 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1629 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp171_ >= _tmp173_) {
-#line 11198 "EditingTools.c"
+#line 11207 "EditingTools.c"
GdkRectangle _tmp174_ = {0};
gint _tmp175_ = 0;
-#line 1625 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1630 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp174_ = scaled_pos;
-#line 1625 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1630 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp175_ = _tmp174_.width;
-#line 1625 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1630 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
right = _tmp175_ - 1;
-#line 11207 "EditingTools.c"
+#line 11216 "EditingTools.c"
}
-#line 1627 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1632 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp176_ = bottom;
-#line 1627 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1632 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp177_ = scaled_pos;
-#line 1627 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1632 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp178_ = _tmp177_.height;
-#line 1627 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1632 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp176_ >= _tmp178_) {
-#line 11217 "EditingTools.c"
+#line 11226 "EditingTools.c"
GdkRectangle _tmp179_ = {0};
gint _tmp180_ = 0;
-#line 1628 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1633 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp179_ = scaled_pos;
-#line 1628 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1633 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp180_ = _tmp179_.height;
-#line 1628 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1633 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
bottom = _tmp180_ - 1;
-#line 11226 "EditingTools.c"
+#line 11235 "EditingTools.c"
}
-#line 1630 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1635 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp181_ = right;
-#line 1630 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1635 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp182_ = left;
-#line 1630 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1635 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
adj_width = (_tmp181_ - _tmp182_) + 1;
-#line 1631 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1636 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp183_ = bottom;
-#line 1631 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1636 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp184_ = top;
-#line 1631 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1636 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
adj_height = (_tmp183_ - _tmp184_) + 1;
-#line 1634 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1639 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp185_ = adj_width;
-#line 1634 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1639 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp186_ = width;
-#line 1634 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1639 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp185_ != _tmp186_) {
-#line 11246 "EditingTools.c"
+#line 11255 "EditingTools.c"
gint _tmp187_ = 0;
-#line 1635 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1640 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp187_ = delta_x;
-#line 1635 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1640 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp187_ < 0) {
-#line 11252 "EditingTools.c"
+#line 11261 "EditingTools.c"
gint _tmp188_ = 0;
gint _tmp189_ = 0;
-#line 1636 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1641 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp188_ = left;
-#line 1636 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1641 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp189_ = width;
-#line 1636 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1641 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
right = (_tmp188_ + _tmp189_) - 1;
-#line 11261 "EditingTools.c"
+#line 11270 "EditingTools.c"
} else {
gint _tmp190_ = 0;
gint _tmp191_ = 0;
-#line 1638 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1643 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp190_ = right;
-#line 1638 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1643 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp191_ = width;
-#line 1638 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1643 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
left = (_tmp190_ - _tmp191_) + 1;
-#line 11271 "EditingTools.c"
+#line 11280 "EditingTools.c"
}
}
-#line 1641 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1646 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp192_ = adj_height;
-#line 1641 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1646 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp193_ = height;
-#line 1641 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1646 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp192_ != _tmp193_) {
-#line 11280 "EditingTools.c"
+#line 11289 "EditingTools.c"
gint _tmp194_ = 0;
-#line 1642 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1647 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp194_ = delta_y;
-#line 1642 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1647 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp194_ < 0) {
-#line 11286 "EditingTools.c"
+#line 11295 "EditingTools.c"
gint _tmp195_ = 0;
gint _tmp196_ = 0;
-#line 1643 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1648 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp195_ = top;
-#line 1643 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1648 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp196_ = height;
-#line 1643 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1648 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
bottom = (_tmp195_ + _tmp196_) - 1;
-#line 11295 "EditingTools.c"
+#line 11304 "EditingTools.c"
} else {
gint _tmp197_ = 0;
gint _tmp198_ = 0;
-#line 1645 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1650 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp197_ = bottom;
-#line 1645 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1650 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp198_ = height;
-#line 1645 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1650 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
top = (_tmp197_ - _tmp198_) + 1;
-#line 11305 "EditingTools.c"
+#line 11314 "EditingTools.c"
}
}
-#line 1647 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1652 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
break;
-#line 11310 "EditingTools.c"
+#line 11319 "EditingTools.c"
}
default:
{
-#line 1651 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1656 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
result = FALSE;
-#line 1651 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1656 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return result;
-#line 11318 "EditingTools.c"
+#line 11327 "EditingTools.c"
}
}
-#line 1661 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1666 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp199_ = right;
-#line 1661 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1666 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp200_ = left;
-#line 1661 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1666 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
width = (_tmp199_ - _tmp200_) + 1;
-#line 1662 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1667 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp201_ = bottom;
-#line 1662 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1667 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp202_ = top;
-#line 1662 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1667 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
height = (_tmp201_ - _tmp202_) + 1;
-#line 1664 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1669 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_crop_tool_get_photo_dimensions (self, &_tmp203_);
-#line 1664 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1669 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
photo_dims = _tmp203_;
-#line 1666 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1671 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp204_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 1666 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1671 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp205_ = editing_tools_photo_canvas_get_photo (_tmp204_);
-#line 1666 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1671 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp206_ = _tmp205_;
-#line 1666 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1671 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
photo_get_straighten (_tmp206_, &_tmp207_);
-#line 1666 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1671 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
angle = _tmp207_;
-#line 1666 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1671 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (_tmp206_);
-#line 1669 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1674 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp208_ = editing_tools_crop_tool_get_constraint_aspect_ratio (self);
-#line 1669 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1674 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp208_ == EDITING_TOOLS_CROP_TOOL_ANY_ASPECT_RATIO) {
-#line 11353 "EditingTools.c"
+#line 11362 "EditingTools.c"
gint _tmp209_ = 0;
gint _tmp210_ = 0;
gint _tmp211_ = 0;
@@ -11368,167 +11377,167 @@ static gboolean editing_tools_crop_tool_on_canvas_manipulation (EditingToolsCrop
gdouble _tmp232_ = 0.0;
BoxLocation _tmp233_ = 0;
Box _tmp234_ = {0};
-#line 1670 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1675 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp209_ = right;
-#line 1670 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1675 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp210_ = left;
-#line 1670 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1675 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
width = (_tmp209_ - _tmp210_) + 1;
-#line 1671 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1676 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp211_ = bottom;
-#line 1671 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1676 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp212_ = top;
-#line 1671 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1676 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
height = (_tmp211_ - _tmp212_) + 1;
-#line 1673 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1678 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp213_ = self->priv->in_manipulation;
-#line 1673 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1678 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
switch (_tmp213_) {
-#line 1673 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1678 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
case BOX_LOCATION_LEFT_SIDE:
-#line 1673 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1678 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
case BOX_LOCATION_TOP_LEFT:
-#line 1673 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1678 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
case BOX_LOCATION_BOTTOM_LEFT:
-#line 11394 "EditingTools.c"
+#line 11403 "EditingTools.c"
{
gint _tmp214_ = 0;
-#line 1677 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1682 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp214_ = width;
-#line 1677 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1682 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp214_ < EDITING_TOOLS_CROP_TOOL_CROP_MIN_SIZE) {
-#line 11401 "EditingTools.c"
+#line 11410 "EditingTools.c"
gint _tmp215_ = 0;
-#line 1678 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1683 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp215_ = right;
-#line 1678 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1683 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
left = _tmp215_ - EDITING_TOOLS_CROP_TOOL_CROP_MIN_SIZE;
-#line 11407 "EditingTools.c"
+#line 11416 "EditingTools.c"
}
-#line 1679 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1684 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
break;
-#line 11411 "EditingTools.c"
+#line 11420 "EditingTools.c"
}
-#line 1673 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1678 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
case BOX_LOCATION_RIGHT_SIDE:
-#line 1673 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1678 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
case BOX_LOCATION_TOP_RIGHT:
-#line 1673 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1678 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
case BOX_LOCATION_BOTTOM_RIGHT:
-#line 11419 "EditingTools.c"
+#line 11428 "EditingTools.c"
{
gint _tmp216_ = 0;
-#line 1684 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1689 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp216_ = width;
-#line 1684 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1689 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp216_ < EDITING_TOOLS_CROP_TOOL_CROP_MIN_SIZE) {
-#line 11426 "EditingTools.c"
+#line 11435 "EditingTools.c"
gint _tmp217_ = 0;
-#line 1685 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1690 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp217_ = left;
-#line 1685 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1690 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
right = _tmp217_ + EDITING_TOOLS_CROP_TOOL_CROP_MIN_SIZE;
-#line 11432 "EditingTools.c"
+#line 11441 "EditingTools.c"
}
-#line 1686 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1691 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
break;
-#line 11436 "EditingTools.c"
+#line 11445 "EditingTools.c"
}
default:
{
-#line 1689 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1694 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
break;
-#line 11442 "EditingTools.c"
+#line 11451 "EditingTools.c"
}
}
-#line 1692 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1697 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp218_ = self->priv->in_manipulation;
-#line 1692 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1697 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
switch (_tmp218_) {
-#line 1692 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1697 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
case BOX_LOCATION_TOP_SIDE:
-#line 1692 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1697 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
case BOX_LOCATION_TOP_LEFT:
-#line 1692 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1697 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
case BOX_LOCATION_TOP_RIGHT:
-#line 11455 "EditingTools.c"
+#line 11464 "EditingTools.c"
{
gint _tmp219_ = 0;
-#line 1696 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1701 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp219_ = height;
-#line 1696 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1701 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp219_ < EDITING_TOOLS_CROP_TOOL_CROP_MIN_SIZE) {
-#line 11462 "EditingTools.c"
+#line 11471 "EditingTools.c"
gint _tmp220_ = 0;
-#line 1697 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1702 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp220_ = bottom;
-#line 1697 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1702 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
top = _tmp220_ - EDITING_TOOLS_CROP_TOOL_CROP_MIN_SIZE;
-#line 11468 "EditingTools.c"
+#line 11477 "EditingTools.c"
}
-#line 1698 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1703 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
break;
-#line 11472 "EditingTools.c"
+#line 11481 "EditingTools.c"
}
-#line 1692 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1697 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
case BOX_LOCATION_BOTTOM_SIDE:
-#line 1692 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1697 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
case BOX_LOCATION_BOTTOM_LEFT:
-#line 1692 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1697 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
case BOX_LOCATION_BOTTOM_RIGHT:
-#line 11480 "EditingTools.c"
+#line 11489 "EditingTools.c"
{
gint _tmp221_ = 0;
-#line 1703 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1708 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp221_ = height;
-#line 1703 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1708 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp221_ < EDITING_TOOLS_CROP_TOOL_CROP_MIN_SIZE) {
-#line 11487 "EditingTools.c"
+#line 11496 "EditingTools.c"
gint _tmp222_ = 0;
-#line 1704 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1709 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp222_ = top;
-#line 1704 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1709 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
bottom = _tmp222_ + EDITING_TOOLS_CROP_TOOL_CROP_MIN_SIZE;
-#line 11493 "EditingTools.c"
+#line 11502 "EditingTools.c"
}
-#line 1705 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1710 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
break;
-#line 11497 "EditingTools.c"
+#line 11506 "EditingTools.c"
}
default:
{
-#line 1708 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1713 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
break;
-#line 11503 "EditingTools.c"
+#line 11512 "EditingTools.c"
}
}
-#line 1714 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1719 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp223_ = left;
-#line 1714 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1719 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp224_ = top;
-#line 1714 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1719 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp225_ = right;
-#line 1714 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1719 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp226_ = bottom;
-#line 1714 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1719 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
box_init (&_tmp227_, _tmp223_, _tmp224_, _tmp225_, _tmp226_);
-#line 1714 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1719 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp228_ = photo_dims;
-#line 1714 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1719 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp229_ = _tmp228_.width;
-#line 1714 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1719 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp230_ = photo_dims;
-#line 1714 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1719 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp231_ = _tmp230_.height;
-#line 1714 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1719 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp232_ = angle;
-#line 1714 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1719 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp233_ = self->priv->in_manipulation;
-#line 1714 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1719 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
clamp_inside_rotated_image (&_tmp227_, _tmp229_, _tmp231_, _tmp232_, _tmp233_ == BOX_LOCATION_INSIDE, &_tmp234_);
-#line 1714 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1719 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
new_crop = _tmp234_;
-#line 11532 "EditingTools.c"
+#line 11541 "EditingTools.c"
} else {
gint _tmp235_ = 0;
gint _tmp236_ = 0;
@@ -11547,128 +11556,128 @@ static gboolean editing_tools_crop_tool_on_canvas_manipulation (EditingToolsCrop
gboolean _tmp248_ = FALSE;
Box _tmp249_ = {0};
Box _tmp250_ = {0};
-#line 1723 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1728 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp235_ = left;
-#line 1723 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1728 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp236_ = top;
-#line 1723 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1728 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp237_ = right;
-#line 1723 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1728 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp238_ = bottom;
-#line 1723 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1728 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
box_init (&new_crop, _tmp235_, _tmp236_, _tmp237_, _tmp238_);
-#line 1724 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1729 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp239_ = new_crop;
-#line 1724 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1729 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp240_ = photo_dims;
-#line 1724 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1729 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp241_ = _tmp240_.width;
-#line 1724 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1729 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp242_ = photo_dims;
-#line 1724 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1729 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp243_ = _tmp242_.height;
-#line 1724 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1729 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp244_ = angle;
-#line 1724 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1729 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp245_ = self->priv->in_manipulation;
-#line 1724 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1729 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
clamp_inside_rotated_image (&_tmp239_, _tmp241_, _tmp243_, _tmp244_, _tmp245_ == BOX_LOCATION_INSIDE, &_tmp246_);
-#line 1724 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1729 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
adjusted = _tmp246_;
-#line 1728 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1733 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp249_ = adjusted;
-#line 1728 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1733 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp250_ = new_crop;
-#line 1728 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1733 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_box_equal (&_tmp249_, &_tmp250_) != TRUE) {
-#line 1728 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1733 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp248_ = TRUE;
-#line 11587 "EditingTools.c"
+#line 11596 "EditingTools.c"
} else {
gint _tmp251_ = 0;
-#line 1728 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1733 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp251_ = width;
-#line 1728 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1733 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp248_ = _tmp251_ < EDITING_TOOLS_CROP_TOOL_CROP_MIN_SIZE;
-#line 11594 "EditingTools.c"
+#line 11603 "EditingTools.c"
}
-#line 1728 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1733 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp248_) {
-#line 1728 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1733 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp247_ = TRUE;
-#line 11600 "EditingTools.c"
+#line 11609 "EditingTools.c"
} else {
gint _tmp252_ = 0;
-#line 1728 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1733 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp252_ = height;
-#line 1728 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1733 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp247_ = _tmp252_ < EDITING_TOOLS_CROP_TOOL_CROP_MIN_SIZE;
-#line 11607 "EditingTools.c"
+#line 11616 "EditingTools.c"
}
-#line 1728 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1733 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp247_) {
-#line 11611 "EditingTools.c"
+#line 11620 "EditingTools.c"
Box _tmp253_ = {0};
-#line 1729 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1734 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp253_ = self->priv->scaled_crop;
-#line 1729 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1734 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
new_crop = _tmp253_;
-#line 11617 "EditingTools.c"
+#line 11626 "EditingTools.c"
}
}
-#line 1733 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1738 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp254_ = self->priv->in_manipulation;
-#line 1733 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1738 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp254_ != BOX_LOCATION_INSIDE) {
-#line 11624 "EditingTools.c"
+#line 11633 "EditingTools.c"
Box _tmp255_ = {0};
-#line 1734 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1739 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp255_ = new_crop;
-#line 1734 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1739 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_crop_tool_crop_resized (self, &_tmp255_);
-#line 11630 "EditingTools.c"
+#line 11639 "EditingTools.c"
} else {
Box _tmp256_ = {0};
-#line 1736 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1741 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp256_ = new_crop;
-#line 1736 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1741 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_crop_tool_crop_moved (self, &_tmp256_);
-#line 11637 "EditingTools.c"
+#line 11646 "EditingTools.c"
}
-#line 1739 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1744 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp257_ = new_crop;
-#line 1739 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1744 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->scaled_crop = _tmp257_;
-#line 1741 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1746 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp258_ = editing_tools_crop_tool_get_constraint_aspect_ratio (self);
-#line 1741 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1746 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp258_ == EDITING_TOOLS_CROP_TOOL_ANY_ASPECT_RATIO) {
-#line 11647 "EditingTools.c"
+#line 11656 "EditingTools.c"
gint _tmp259_ = 0;
gint _tmp260_ = 0;
gint _tmp261_ = 0;
gint _tmp262_ = 0;
-#line 1742 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1747 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp259_ = box_get_width (&self->priv->scaled_crop);
-#line 1742 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1747 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->custom_init_width = _tmp259_;
-#line 1743 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1748 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp260_ = box_get_height (&self->priv->scaled_crop);
-#line 1743 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1748 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->custom_init_height = _tmp260_;
-#line 1744 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1749 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp261_ = self->priv->custom_init_width;
-#line 1744 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1749 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp262_ = self->priv->custom_init_height;
-#line 1744 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1749 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->custom_aspect_ratio = ((gfloat) _tmp261_) / ((gfloat) _tmp262_);
-#line 11666 "EditingTools.c"
+#line 11675 "EditingTools.c"
}
-#line 1747 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1752 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
result = FALSE;
-#line 1747 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1752 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return result;
-#line 11672 "EditingTools.c"
+#line 11681 "EditingTools.c"
}
@@ -11696,133 +11705,133 @@ static void editing_tools_crop_tool_crop_resized (EditingToolsCropTool* self, Bo
Box _tmp23_ = {0};
EditingToolsPhotoCanvas* _tmp24_ = NULL;
Box _tmp25_ = {0};
-#line 1750 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1755 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_CROP_TOOL (self));
-#line 1750 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1755 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (new_crop != NULL);
-#line 1751 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1756 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = *new_crop;
-#line 1751 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1756 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = box_equals (&self->priv->scaled_crop, &_tmp0_);
-#line 1751 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1756 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp1_) {
-#line 1753 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1758 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return;
-#line 11712 "EditingTools.c"
+#line 11721 "EditingTools.c"
}
-#line 1756 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1761 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 1756 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1761 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = self->priv->scaled_crop;
-#line 1756 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1761 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_photo_canvas_invalidate_area (_tmp2_, &_tmp3_);
-#line 1762 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1767 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = *new_crop;
-#line 1762 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1767 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = box_resized_complements (&self->priv->scaled_crop, &_tmp4_, &_tmp5_, &_tmp6_, &_tmp7_, &_tmp8_);
-#line 1762 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1767 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
horizontal = _tmp5_;
-#line 1762 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1767 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
horizontal_enlarged = _tmp6_;
-#line 1762 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1767 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
vertical = _tmp7_;
-#line 1762 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1767 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
vertical_enlarged = _tmp8_;
-#line 1762 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1767 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
complements = _tmp9_;
-#line 1766 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1771 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp10_ = complements;
-#line 1766 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1771 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_vala_assert (_tmp10_ != BOX_COMPLEMENTS_NONE, "complements != BoxComplements.NONE");
-#line 1768 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1773 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp12_ = complements;
-#line 1768 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1773 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp12_ == BOX_COMPLEMENTS_HORIZONTAL) {
-#line 1768 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1773 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp11_ = TRUE;
-#line 11744 "EditingTools.c"
+#line 11753 "EditingTools.c"
} else {
BoxComplements _tmp13_ = 0;
-#line 1768 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1773 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp13_ = complements;
-#line 1768 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1773 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp11_ = _tmp13_ == BOX_COMPLEMENTS_BOTH;
-#line 11751 "EditingTools.c"
+#line 11760 "EditingTools.c"
}
-#line 1768 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1773 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp11_) {
-#line 11755 "EditingTools.c"
+#line 11764 "EditingTools.c"
gdouble _tmp14_ = 0.0;
gboolean _tmp15_ = FALSE;
Box _tmp16_ = {0};
-#line 1769 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1774 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp15_ = horizontal_enlarged;
-#line 1769 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1774 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp15_) {
-#line 1769 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1774 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp14_ = 0.0;
-#line 11765 "EditingTools.c"
+#line 11774 "EditingTools.c"
} else {
-#line 1769 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1774 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp14_ = 0.5;
-#line 11769 "EditingTools.c"
+#line 11778 "EditingTools.c"
}
-#line 1769 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1774 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp16_ = horizontal;
-#line 1769 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1774 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_crop_tool_set_area_alpha (self, &_tmp16_, _tmp14_);
-#line 11775 "EditingTools.c"
+#line 11784 "EditingTools.c"
}
-#line 1771 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1776 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp18_ = complements;
-#line 1771 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1776 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp18_ == BOX_COMPLEMENTS_VERTICAL) {
-#line 1771 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1776 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp17_ = TRUE;
-#line 11783 "EditingTools.c"
+#line 11792 "EditingTools.c"
} else {
BoxComplements _tmp19_ = 0;
-#line 1771 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1776 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp19_ = complements;
-#line 1771 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1776 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp17_ = _tmp19_ == BOX_COMPLEMENTS_BOTH;
-#line 11790 "EditingTools.c"
+#line 11799 "EditingTools.c"
}
-#line 1771 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1776 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp17_) {
-#line 11794 "EditingTools.c"
+#line 11803 "EditingTools.c"
gdouble _tmp20_ = 0.0;
gboolean _tmp21_ = FALSE;
Box _tmp22_ = {0};
-#line 1772 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1777 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp21_ = vertical_enlarged;
-#line 1772 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1777 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp21_) {
-#line 1772 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1777 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp20_ = 0.0;
-#line 11804 "EditingTools.c"
+#line 11813 "EditingTools.c"
} else {
-#line 1772 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1777 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp20_ = 0.5;
-#line 11808 "EditingTools.c"
+#line 11817 "EditingTools.c"
}
-#line 1772 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1777 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp22_ = vertical;
-#line 1772 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1777 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_crop_tool_set_area_alpha (self, &_tmp22_, _tmp20_);
-#line 11814 "EditingTools.c"
+#line 11823 "EditingTools.c"
}
-#line 1774 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1779 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp23_ = *new_crop;
-#line 1774 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1779 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_crop_tool_paint_crop_tool (self, &_tmp23_);
-#line 1775 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1780 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp24_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 1775 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1780 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp25_ = *new_crop;
-#line 1775 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1780 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_photo_canvas_invalidate_area (_tmp24_, &_tmp25_);
-#line 11826 "EditingTools.c"
+#line 11835 "EditingTools.c"
}
@@ -11836,45 +11845,45 @@ static void editing_tools_crop_tool_crop_moved (EditingToolsCropTool* self, Box*
Box _tmp6_ = {0};
EditingToolsPhotoCanvas* _tmp7_ = NULL;
Box _tmp8_ = {0};
-#line 1778 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1783 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_CROP_TOOL (self));
-#line 1778 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1783 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (new_crop != NULL);
-#line 1779 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1784 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = *new_crop;
-#line 1779 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1784 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = box_equals (&self->priv->scaled_crop, &_tmp0_);
-#line 1779 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1784 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp1_) {
-#line 1781 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1786 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return;
-#line 11852 "EditingTools.c"
+#line 11861 "EditingTools.c"
}
-#line 1784 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1789 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 1784 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1789 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = self->priv->scaled_crop;
-#line 1784 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1789 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_photo_canvas_invalidate_area (_tmp2_, &_tmp3_);
-#line 1786 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1791 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = self->priv->scaled_crop;
-#line 1786 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1791 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_crop_tool_set_area_alpha (self, &_tmp4_, 0.5);
-#line 1787 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1792 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = *new_crop;
-#line 1787 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1792 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_crop_tool_set_area_alpha (self, &_tmp5_, 0.0);
-#line 1791 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1796 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = *new_crop;
-#line 1791 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1796 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_crop_tool_paint_crop_tool (self, &_tmp6_);
-#line 1792 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1797 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 1792 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1797 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = *new_crop;
-#line 1792 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1797 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_photo_canvas_invalidate_area (_tmp7_, &_tmp8_);
-#line 11878 "EditingTools.c"
+#line 11887 "EditingTools.c"
}
@@ -11892,49 +11901,49 @@ static void editing_tools_crop_tool_set_area_alpha (EditingToolsCropTool* self,
EditingToolsPhotoCanvas* _tmp9_ = NULL;
cairo_surface_t* _tmp10_ = NULL;
Box _tmp11_ = {0};
-#line 1795 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1800 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_CROP_TOOL (self));
-#line 1795 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1800 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (area != NULL);
-#line 1796 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1801 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = self->priv->crop_surface;
-#line 1796 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1801 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = cairo_create (_tmp0_);
-#line 1796 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1801 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
ctx = _tmp1_;
-#line 1797 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1802 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_set_operator (ctx, CAIRO_OPERATOR_SOURCE);
-#line 1798 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1803 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = alpha;
-#line 1798 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1803 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_set_source_rgba (ctx, 0.0, 0.0, 0.0, _tmp2_);
-#line 1799 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1804 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = *area;
-#line 1799 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1804 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = _tmp3_.left;
-#line 1799 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1804 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = *area;
-#line 1799 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1804 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = _tmp5_.top;
-#line 1799 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1804 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = box_get_width (area);
-#line 1799 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1804 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = box_get_height (area);
-#line 1799 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1804 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_rectangle (ctx, (gdouble) _tmp4_, (gdouble) _tmp6_, (gdouble) _tmp7_, (gdouble) _tmp8_);
-#line 1800 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1805 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_fill (ctx);
-#line 1801 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1806 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 1801 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1806 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp10_ = self->priv->crop_surface;
-#line 1801 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1806 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp11_ = *area;
-#line 1801 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1806 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_photo_canvas_paint_surface_area (_tmp9_, _tmp10_, &_tmp11_, TRUE);
-#line 1795 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1800 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_cairo_destroy0 (ctx);
-#line 11938 "EditingTools.c"
+#line 11947 "EditingTools.c"
}
@@ -11949,15 +11958,15 @@ static void editing_tools_crop_tool_paint_crop_tool (EditingToolsCropTool* self,
EditingToolsPhotoCanvas* _tmp71_ = NULL;
cairo_t* _tmp72_ = NULL;
Box _tmp73_ = {0};
-#line 1804 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1809 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_CROP_TOOL (self));
-#line 1804 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1809 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (crop != NULL);
-#line 1806 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1811 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = self->priv->in_manipulation;
-#line 1806 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1811 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp0_ != BOX_LOCATION_OUTSIDE) {
-#line 11961 "EditingTools.c"
+#line 11970 "EditingTools.c"
gint one_third_x = 0;
gint _tmp1_ = 0;
gint one_third_y = 0;
@@ -12028,193 +12037,193 @@ static void editing_tools_crop_tool_paint_crop_tool (EditingToolsCropTool* self,
const gchar* _tmp62_ = NULL;
gint _tmp63_ = 0;
gint _tmp64_ = 0;
-#line 1807 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1812 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = box_get_width (crop);
-#line 1807 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1812 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
one_third_x = _tmp1_ / 3;
-#line 1808 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1813 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = box_get_height (crop);
-#line 1808 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1813 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
one_third_y = _tmp2_ / 3;
-#line 1810 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1815 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 1810 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1815 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = self->priv->thin_white_ctx;
-#line 1810 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1815 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = *crop;
-#line 1810 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1815 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = _tmp5_.left;
-#line 1810 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1815 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = *crop;
-#line 1810 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1815 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = _tmp7_.top;
-#line 1810 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1815 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = one_third_y;
-#line 1810 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1815 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp10_ = box_get_width (crop);
-#line 1810 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1815 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_photo_canvas_draw_horizontal_line (_tmp3_, _tmp4_, _tmp6_, _tmp8_ + _tmp9_, _tmp10_, TRUE);
-#line 1811 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1816 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp11_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 1811 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1816 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp12_ = self->priv->thin_white_ctx;
-#line 1811 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1816 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp13_ = *crop;
-#line 1811 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1816 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp14_ = _tmp13_.left;
-#line 1811 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1816 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp15_ = *crop;
-#line 1811 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1816 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp16_ = _tmp15_.top;
-#line 1811 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1816 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp17_ = one_third_y;
-#line 1811 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1816 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp18_ = box_get_width (crop);
-#line 1811 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1816 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_photo_canvas_draw_horizontal_line (_tmp11_, _tmp12_, _tmp14_, _tmp16_ + (_tmp17_ * 2), _tmp18_, TRUE);
-#line 1813 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1818 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp19_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 1813 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1818 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp20_ = self->priv->thin_white_ctx;
-#line 1813 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1818 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp21_ = *crop;
-#line 1813 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1818 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp22_ = _tmp21_.left;
-#line 1813 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1818 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp23_ = one_third_x;
-#line 1813 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1818 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp24_ = *crop;
-#line 1813 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1818 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp25_ = _tmp24_.top;
-#line 1813 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1818 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp26_ = box_get_height (crop);
-#line 1813 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1818 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_photo_canvas_draw_vertical_line (_tmp19_, _tmp20_, _tmp22_ + _tmp23_, _tmp25_, _tmp26_, TRUE);
-#line 1814 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1819 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp27_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 1814 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1819 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp28_ = self->priv->thin_white_ctx;
-#line 1814 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1819 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp29_ = *crop;
-#line 1814 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1819 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp30_ = _tmp29_.left;
-#line 1814 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1819 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp31_ = one_third_x;
-#line 1814 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1819 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp32_ = *crop;
-#line 1814 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1819 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp33_ = _tmp32_.top;
-#line 1814 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1819 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp34_ = box_get_height (crop);
-#line 1814 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1819 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_photo_canvas_draw_vertical_line (_tmp27_, _tmp28_, _tmp30_ + (_tmp31_ * 2), _tmp33_, _tmp34_, TRUE);
-#line 1818 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1823 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp35_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 1818 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1823 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_photo_canvas_get_scaled_pixbuf_position (_tmp35_, &_tmp36_);
-#line 1818 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1823 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
dimensions_for_rectangle (&_tmp36_, &_tmp37_);
-#line 1818 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1823 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp38_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 1818 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1823 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp39_ = editing_tools_photo_canvas_get_photo (_tmp38_);
-#line 1818 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1823 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp40_ = _tmp39_;
-#line 1818 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1823 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
media_source_get_dimensions (G_TYPE_CHECK_INSTANCE_CAST (_tmp40_, TYPE_MEDIA_SOURCE, MediaSource), PHOTO_EXCEPTION_CROP, &_tmp41_);
-#line 1818 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1823 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
box_get_scaled_similar (&self->priv->scaled_crop, &_tmp37_, &_tmp41_, &_tmp42_);
-#line 1818 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1823 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp43_ = _tmp42_;
-#line 1818 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1823 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (_tmp40_);
-#line 1818 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1823 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
adj_crop = _tmp43_;
-#line 1821 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1826 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp44_ = box_get_width (&adj_crop);
-#line 1821 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1826 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp45_ = g_strdup_printf ("%i", _tmp44_);
-#line 1821 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1826 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp46_ = _tmp45_;
-#line 1821 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1826 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp47_ = g_strconcat (_tmp46_, "x", NULL);
-#line 1821 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1826 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp48_ = _tmp47_;
-#line 1821 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1826 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp49_ = box_get_height (&adj_crop);
-#line 1821 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1826 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp50_ = g_strdup_printf ("%i", _tmp49_);
-#line 1821 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1826 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp51_ = _tmp50_;
-#line 1821 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1826 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp52_ = g_strconcat (_tmp48_, _tmp51_, NULL);
-#line 1821 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1826 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp53_ = _tmp52_;
-#line 1821 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1826 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_free0 (_tmp51_);
-#line 1821 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1826 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_free0 (_tmp48_);
-#line 1821 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1826 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_free0 (_tmp46_);
-#line 1821 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1826 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
text = _tmp53_;
-#line 1822 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1827 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp54_ = *crop;
-#line 1822 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1827 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp55_ = _tmp54_.left;
-#line 1822 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1827 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp56_ = box_get_width (crop);
-#line 1822 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1827 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
x = _tmp55_ + (_tmp56_ / 2);
-#line 1823 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1828 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp57_ = *crop;
-#line 1823 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1828 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp58_ = _tmp57_.top;
-#line 1823 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1828 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp59_ = box_get_height (crop);
-#line 1823 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1828 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
y = _tmp58_ + (_tmp59_ / 2);
-#line 1824 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1829 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp60_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 1824 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1829 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp61_ = self->priv->text_ctx;
-#line 1824 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1829 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp62_ = text;
-#line 1824 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1829 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp63_ = x;
-#line 1824 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1829 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp64_ = y;
-#line 1824 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1829 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_photo_canvas_draw_text (_tmp60_, _tmp61_, _tmp62_, _tmp63_, _tmp64_, TRUE);
-#line 1806 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1811 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_free0 (text);
-#line 12192 "EditingTools.c"
+#line 12201 "EditingTools.c"
}
-#line 1828 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1833 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp65_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 1828 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1833 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp66_ = self->priv->wide_black_ctx;
-#line 1828 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1833 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp67_ = *crop;
-#line 1828 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1833 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_photo_canvas_draw_box (_tmp65_, _tmp66_, &_tmp67_);
-#line 1829 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1834 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp68_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 1829 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1834 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp69_ = self->priv->wide_white_ctx;
-#line 1829 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1834 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
box_get_reduced (crop, 1, &_tmp70_);
-#line 1829 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1834 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_photo_canvas_draw_box (_tmp68_, _tmp69_, &_tmp70_);
-#line 1830 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1835 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp71_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 1830 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1835 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp72_ = self->priv->wide_white_ctx;
-#line 1830 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1835 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
box_get_reduced (crop, 2, &_tmp73_);
-#line 1830 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1835 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_photo_canvas_draw_box (_tmp71_, _tmp72_, &_tmp73_);
-#line 12218 "EditingTools.c"
+#line 12227 "EditingTools.c"
}
@@ -12226,62 +12235,62 @@ static EditingToolsCropToolConstraintDescription* editing_tools_crop_tool_constr
gint _tmp3_ = 0;
gfloat _tmp4_ = 0.0F;
gboolean _tmp8_ = FALSE;
-#line 610 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 615 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (new_name != NULL, NULL);
-#line 610 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 615 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self = (EditingToolsCropToolConstraintDescription*) g_type_create_instance (object_type);
-#line 612 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 617 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = new_name;
-#line 612 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 617 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = g_strdup (_tmp0_);
-#line 612 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 617 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_free0 (self->name);
-#line 612 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 617 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->name = _tmp1_;
-#line 613 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 618 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = new_basis_width;
-#line 613 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 618 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->basis_width = _tmp2_;
-#line 614 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 619 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = new_basis_height;
-#line 614 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 619 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->basis_height = _tmp3_;
-#line 615 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 620 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = new_aspect_ratio;
-#line 615 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 620 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp4_ == EDITING_TOOLS_CROP_TOOL_COMPUTE_FROM_BASIS) {
-#line 12254 "EditingTools.c"
+#line 12263 "EditingTools.c"
gint _tmp5_ = 0;
gint _tmp6_ = 0;
-#line 616 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 621 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = self->basis_width;
-#line 616 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 621 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = self->basis_height;
-#line 616 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 621 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->aspect_ratio = ((gfloat) _tmp5_) / ((gfloat) _tmp6_);
-#line 12263 "EditingTools.c"
+#line 12272 "EditingTools.c"
} else {
gfloat _tmp7_ = 0.0F;
-#line 618 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 623 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = new_aspect_ratio;
-#line 618 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 623 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->aspect_ratio = _tmp7_;
-#line 12270 "EditingTools.c"
+#line 12279 "EditingTools.c"
}
-#line 619 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 624 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = new_pivotable;
-#line 619 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 624 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->is_pivotable = _tmp8_;
-#line 610 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 615 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return self;
-#line 12278 "EditingTools.c"
+#line 12287 "EditingTools.c"
}
static EditingToolsCropToolConstraintDescription* editing_tools_crop_tool_constraint_description_new (const gchar* new_name, gint new_basis_width, gint new_basis_height, gboolean new_pivotable, gfloat new_aspect_ratio) {
-#line 610 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 615 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return editing_tools_crop_tool_constraint_description_construct (EDITING_TOOLS_CROP_TOOL_TYPE_CONSTRAINT_DESCRIPTION, new_name, new_basis_width, new_basis_height, new_pivotable, new_aspect_ratio);
-#line 12285 "EditingTools.c"
+#line 12294 "EditingTools.c"
}
@@ -12289,237 +12298,237 @@ static gboolean editing_tools_crop_tool_constraint_description_is_separator (Edi
gboolean result = FALSE;
gboolean _tmp0_ = FALSE;
gboolean _tmp1_ = FALSE;
-#line 622 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 627 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (EDITING_TOOLS_CROP_TOOL_IS_CONSTRAINT_DESCRIPTION (self), FALSE);
-#line 623 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 628 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = self->is_pivotable;
-#line 623 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 628 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (!_tmp1_) {
-#line 12299 "EditingTools.c"
+#line 12308 "EditingTools.c"
gfloat _tmp2_ = 0.0F;
-#line 623 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 628 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = self->aspect_ratio;
-#line 623 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 628 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = _tmp2_ == EDITING_TOOLS_CROP_TOOL_SEPARATOR;
-#line 12305 "EditingTools.c"
+#line 12314 "EditingTools.c"
} else {
-#line 623 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 628 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = FALSE;
-#line 12309 "EditingTools.c"
+#line 12318 "EditingTools.c"
}
-#line 623 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 628 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
result = _tmp0_;
-#line 623 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 628 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return result;
-#line 12315 "EditingTools.c"
+#line 12324 "EditingTools.c"
}
static void editing_tools_crop_tool_value_constraint_description_init (GValue* value) {
-#line 603 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
value->data[0].v_pointer = NULL;
-#line 12322 "EditingTools.c"
+#line 12331 "EditingTools.c"
}
static void editing_tools_crop_tool_value_constraint_description_free_value (GValue* value) {
-#line 603 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (value->data[0].v_pointer) {
-#line 603 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_crop_tool_constraint_description_unref (value->data[0].v_pointer);
-#line 12331 "EditingTools.c"
+#line 12340 "EditingTools.c"
}
}
static void editing_tools_crop_tool_value_constraint_description_copy_value (const GValue* src_value, GValue* dest_value) {
-#line 603 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (src_value->data[0].v_pointer) {
-#line 603 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
dest_value->data[0].v_pointer = editing_tools_crop_tool_constraint_description_ref (src_value->data[0].v_pointer);
-#line 12341 "EditingTools.c"
+#line 12350 "EditingTools.c"
} else {
-#line 603 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
dest_value->data[0].v_pointer = NULL;
-#line 12345 "EditingTools.c"
+#line 12354 "EditingTools.c"
}
}
static gpointer editing_tools_crop_tool_value_constraint_description_peek_pointer (const GValue* value) {
-#line 603 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return value->data[0].v_pointer;
-#line 12353 "EditingTools.c"
+#line 12362 "EditingTools.c"
}
static gchar* editing_tools_crop_tool_value_constraint_description_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
-#line 603 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (collect_values[0].v_pointer) {
-#line 12360 "EditingTools.c"
+#line 12369 "EditingTools.c"
EditingToolsCropToolConstraintDescription* object;
object = collect_values[0].v_pointer;
-#line 603 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (object->parent_instance.g_class == NULL) {
-#line 603 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 12367 "EditingTools.c"
+#line 12376 "EditingTools.c"
} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
-#line 603 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.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 12371 "EditingTools.c"
+#line 12380 "EditingTools.c"
}
-#line 603 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
value->data[0].v_pointer = editing_tools_crop_tool_constraint_description_ref (object);
-#line 12375 "EditingTools.c"
+#line 12384 "EditingTools.c"
} else {
-#line 603 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
value->data[0].v_pointer = NULL;
-#line 12379 "EditingTools.c"
+#line 12388 "EditingTools.c"
}
-#line 603 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return NULL;
-#line 12383 "EditingTools.c"
+#line 12392 "EditingTools.c"
}
static gchar* editing_tools_crop_tool_value_constraint_description_lcopy_value (const GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
EditingToolsCropToolConstraintDescription** object_p;
object_p = collect_values[0].v_pointer;
-#line 603 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (!object_p) {
-#line 603 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
-#line 12394 "EditingTools.c"
+#line 12403 "EditingTools.c"
}
-#line 603 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (!value->data[0].v_pointer) {
-#line 603 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*object_p = NULL;
-#line 12400 "EditingTools.c"
+#line 12409 "EditingTools.c"
} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
-#line 603 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*object_p = value->data[0].v_pointer;
-#line 12404 "EditingTools.c"
+#line 12413 "EditingTools.c"
} else {
-#line 603 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*object_p = editing_tools_crop_tool_constraint_description_ref (value->data[0].v_pointer);
-#line 12408 "EditingTools.c"
+#line 12417 "EditingTools.c"
}
-#line 603 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return NULL;
-#line 12412 "EditingTools.c"
+#line 12421 "EditingTools.c"
}
static GParamSpec* editing_tools_crop_tool_param_spec_constraint_description (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags) {
EditingToolsCropToolParamSpecConstraintDescription* spec;
-#line 603 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (g_type_is_a (object_type, EDITING_TOOLS_CROP_TOOL_TYPE_CONSTRAINT_DESCRIPTION), NULL);
-#line 603 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
spec = g_param_spec_internal (G_TYPE_PARAM_OBJECT, name, nick, blurb, flags);
-#line 603 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
G_PARAM_SPEC (spec)->value_type = object_type;
-#line 603 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return G_PARAM_SPEC (spec);
-#line 12426 "EditingTools.c"
+#line 12435 "EditingTools.c"
}
static gpointer editing_tools_crop_tool_value_get_constraint_description (const GValue* value) {
-#line 603 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, EDITING_TOOLS_CROP_TOOL_TYPE_CONSTRAINT_DESCRIPTION), NULL);
-#line 603 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return value->data[0].v_pointer;
-#line 12435 "EditingTools.c"
+#line 12444 "EditingTools.c"
}
static void editing_tools_crop_tool_value_set_constraint_description (GValue* value, gpointer v_object) {
EditingToolsCropToolConstraintDescription* old;
-#line 603 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, EDITING_TOOLS_CROP_TOOL_TYPE_CONSTRAINT_DESCRIPTION));
-#line 603 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
old = value->data[0].v_pointer;
-#line 603 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (v_object) {
-#line 603 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, EDITING_TOOLS_CROP_TOOL_TYPE_CONSTRAINT_DESCRIPTION));
-#line 603 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
-#line 603 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
value->data[0].v_pointer = v_object;
-#line 603 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_crop_tool_constraint_description_ref (value->data[0].v_pointer);
-#line 12455 "EditingTools.c"
+#line 12464 "EditingTools.c"
} else {
-#line 603 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
value->data[0].v_pointer = NULL;
-#line 12459 "EditingTools.c"
+#line 12468 "EditingTools.c"
}
-#line 603 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (old) {
-#line 603 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_crop_tool_constraint_description_unref (old);
-#line 12465 "EditingTools.c"
+#line 12474 "EditingTools.c"
}
}
static void editing_tools_crop_tool_value_take_constraint_description (GValue* value, gpointer v_object) {
EditingToolsCropToolConstraintDescription* old;
-#line 603 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, EDITING_TOOLS_CROP_TOOL_TYPE_CONSTRAINT_DESCRIPTION));
-#line 603 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
old = value->data[0].v_pointer;
-#line 603 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (v_object) {
-#line 603 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (G_TYPE_CHECK_INSTANCE_TYPE (v_object, EDITING_TOOLS_CROP_TOOL_TYPE_CONSTRAINT_DESCRIPTION));
-#line 603 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
-#line 603 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
value->data[0].v_pointer = v_object;
-#line 12484 "EditingTools.c"
+#line 12493 "EditingTools.c"
} else {
-#line 603 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
value->data[0].v_pointer = NULL;
-#line 12488 "EditingTools.c"
+#line 12497 "EditingTools.c"
}
-#line 603 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (old) {
-#line 603 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_crop_tool_constraint_description_unref (old);
-#line 12494 "EditingTools.c"
+#line 12503 "EditingTools.c"
}
}
static void editing_tools_crop_tool_constraint_description_class_init (EditingToolsCropToolConstraintDescriptionClass * klass) {
-#line 603 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_crop_tool_constraint_description_parent_class = g_type_class_peek_parent (klass);
-#line 603 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
((EditingToolsCropToolConstraintDescriptionClass *) klass)->finalize = editing_tools_crop_tool_constraint_description_finalize;
-#line 12504 "EditingTools.c"
+#line 12513 "EditingTools.c"
}
static void editing_tools_crop_tool_constraint_description_instance_init (EditingToolsCropToolConstraintDescription * self) {
-#line 603 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->ref_count = 1;
-#line 12511 "EditingTools.c"
+#line 12520 "EditingTools.c"
}
static void editing_tools_crop_tool_constraint_description_finalize (EditingToolsCropToolConstraintDescription* obj) {
EditingToolsCropToolConstraintDescription * self;
-#line 603 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, EDITING_TOOLS_CROP_TOOL_TYPE_CONSTRAINT_DESCRIPTION, EditingToolsCropToolConstraintDescription);
-#line 603 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_handlers_destroy (self);
-#line 604 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 609 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_free0 (self->name);
-#line 12523 "EditingTools.c"
+#line 12532 "EditingTools.c"
}
@@ -12540,24 +12549,24 @@ static GType editing_tools_crop_tool_constraint_description_get_type (void) {
static gpointer editing_tools_crop_tool_constraint_description_ref (gpointer instance) {
EditingToolsCropToolConstraintDescription* self;
self = instance;
-#line 603 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_atomic_int_inc (&self->ref_count);
-#line 603 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return instance;
-#line 12548 "EditingTools.c"
+#line 12557 "EditingTools.c"
}
static void editing_tools_crop_tool_constraint_description_unref (gpointer instance) {
EditingToolsCropToolConstraintDescription* self;
self = instance;
-#line 603 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (g_atomic_int_dec_and_test (&self->ref_count)) {
-#line 603 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
EDITING_TOOLS_CROP_TOOL_CONSTRAINT_DESCRIPTION_GET_CLASS (self)->finalize (self);
-#line 603 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_type_free_instance ((GTypeInstance *) self);
-#line 12561 "EditingTools.c"
+#line 12570 "EditingTools.c"
}
}
@@ -12565,9 +12574,9 @@ static void editing_tools_crop_tool_constraint_description_unref (gpointer insta
static gboolean _editing_tools_crop_tool_crop_tool_window_constraint_combo_separator_func_gtk_tree_view_row_separator_func (GtkTreeModel* model, GtkTreeIter* iter, gpointer self) {
gboolean result;
result = editing_tools_crop_tool_crop_tool_window_constraint_combo_separator_func (model, iter);
-#line 671 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 676 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return result;
-#line 12571 "EditingTools.c"
+#line 12580 "EditingTools.c"
}
@@ -12610,162 +12619,162 @@ static EditingToolsCropToolCropToolWindow* editing_tools_crop_tool_crop_tool_win
GtkBox* _tmp32_ = NULL;
GtkBox* _tmp33_ = NULL;
GtkBox* _tmp34_ = NULL;
-#line 658 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 663 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (GTK_IS_WINDOW (container), NULL);
-#line 659 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 664 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = container;
-#line 659 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 664 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self = (EditingToolsCropToolCropToolWindow*) editing_tools_editing_tool_window_construct (object_type, _tmp0_);
-#line 661 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 666 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = self->cancel_button;
-#line 661 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 666 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = _ ("Return to current photo dimensions");
-#line 661 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 666 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_widget_set_tooltip_text (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_widget_get_type (), GtkWidget), _tmp2_);
-#line 662 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 667 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = self->cancel_button;
-#line 662 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 667 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_button_set_image_position (_tmp3_, GTK_POS_LEFT);
-#line 664 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 669 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = self->ok_button;
-#line 664 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 669 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = _ ("Set the crop for this photo");
-#line 664 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 669 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_widget_set_tooltip_text (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_widget_get_type (), GtkWidget), _tmp5_);
-#line 665 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 670 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = self->ok_button;
-#line 665 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 670 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_button_set_image_position (_tmp6_, GTK_POS_LEFT);
-#line 667 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 672 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = (GtkComboBox*) gtk_combo_box_new ();
-#line 667 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 672 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_object_ref_sink (_tmp7_);
-#line 667 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 672 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (self->constraint_combo);
-#line 667 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 672 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->constraint_combo = _tmp7_;
-#line 668 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 673 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = (GtkCellRendererText*) gtk_cell_renderer_text_new ();
-#line 668 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 673 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_object_ref_sink (_tmp8_);
-#line 668 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 673 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
combo_text_renderer = _tmp8_;
-#line 669 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 674 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = self->constraint_combo;
-#line 669 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 674 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_cell_layout_pack_start (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, GTK_TYPE_CELL_LAYOUT, GtkCellLayout), G_TYPE_CHECK_INSTANCE_CAST (combo_text_renderer, gtk_cell_renderer_get_type (), GtkCellRenderer), TRUE);
-#line 670 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 675 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp10_ = self->constraint_combo;
-#line 670 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 675 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_cell_layout_add_attribute (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, GTK_TYPE_CELL_LAYOUT, GtkCellLayout), G_TYPE_CHECK_INSTANCE_CAST (combo_text_renderer, gtk_cell_renderer_get_type (), GtkCellRenderer), "text", 0);
-#line 671 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 676 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp11_ = self->constraint_combo;
-#line 671 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 676 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_combo_box_set_row_separator_func (_tmp11_, _editing_tools_crop_tool_crop_tool_window_constraint_combo_separator_func_gtk_tree_view_row_separator_func, NULL, NULL);
-#line 672 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 677 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp12_ = self->constraint_combo;
-#line 672 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 677 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_combo_box_set_active (_tmp12_, 0);
-#line 674 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 679 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp13_ = (GtkImage*) gtk_image_new_from_resource ("/org/gnome/Shotwell/crop-pivot-reticle.png");
-#line 674 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 679 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_object_ref_sink (_tmp13_);
-#line 674 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 679 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
image = _tmp13_;
-#line 675 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 680 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp14_ = self->pivot_reticle_button;
-#line 675 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 680 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_button_set_image (_tmp14_, G_TYPE_CHECK_INSTANCE_CAST (image, gtk_widget_get_type (), GtkWidget));
-#line 676 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 681 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp15_ = self->pivot_reticle_button;
-#line 676 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 681 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp16_ = _ ("Pivot the crop rectangle between portrait and landscape orientations");
-#line 676 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 681 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_widget_set_tooltip_text (G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, gtk_widget_get_type (), GtkWidget), _tmp16_);
-#line 678 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 683 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp17_ = self->custom_width_entry;
-#line 678 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 683 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_entry_set_width_chars (_tmp17_, 4);
-#line 679 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 684 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp18_ = self->custom_width_entry;
-#line 679 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 684 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_object_set (_tmp18_, "editable", TRUE, NULL);
-#line 680 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 685 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp19_ = self->custom_height_entry;
-#line 680 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 685 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_entry_set_width_chars (_tmp19_, 4);
-#line 681 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 686 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp20_ = self->custom_height_entry;
-#line 681 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 686 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_object_set (_tmp20_, "editable", TRUE, NULL);
-#line 683 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 688 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp21_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, EDITING_TOOLS_CROP_TOOL_CROP_TOOL_WINDOW_CONTROL_SPACING);
-#line 683 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 688 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_object_ref_sink (_tmp21_);
-#line 683 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 688 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (self->response_layout);
-#line 683 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 688 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->response_layout = _tmp21_;
-#line 684 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 689 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp22_ = self->response_layout;
-#line 684 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 689 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_box_set_homogeneous (_tmp22_, TRUE);
-#line 685 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 690 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp23_ = self->response_layout;
-#line 685 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 690 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp24_ = self->cancel_button;
-#line 685 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 690 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp24_, gtk_widget_get_type (), GtkWidget));
-#line 686 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 691 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp25_ = self->response_layout;
-#line 686 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 691 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp26_ = self->ok_button;
-#line 686 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 691 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp25_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp26_, gtk_widget_get_type (), GtkWidget));
-#line 688 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 693 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp27_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, EDITING_TOOLS_CROP_TOOL_CROP_TOOL_WINDOW_CONTROL_SPACING);
-#line 688 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 693 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_object_ref_sink (_tmp27_);
-#line 688 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 693 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (self->layout);
-#line 688 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 693 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->layout = _tmp27_;
-#line 689 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 694 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp28_ = self->layout;
-#line 689 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 694 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp29_ = self->constraint_combo;
-#line 689 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 694 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp28_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp29_, gtk_widget_get_type (), GtkWidget));
-#line 690 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 695 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp30_ = self->layout;
-#line 690 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 695 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp31_ = self->pivot_reticle_button;
-#line 690 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 695 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp30_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp31_, gtk_widget_get_type (), GtkWidget));
-#line 691 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 696 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp32_ = self->layout;
-#line 691 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 696 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp33_ = self->response_layout;
-#line 691 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 696 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp32_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp33_, gtk_widget_get_type (), GtkWidget));
-#line 693 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 698 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp34_ = self->layout;
-#line 693 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 698 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp34_, gtk_widget_get_type (), GtkWidget));
-#line 658 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 663 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (image);
-#line 658 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 663 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (combo_text_renderer);
-#line 658 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 663 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return self;
-#line 12762 "EditingTools.c"
+#line 12771 "EditingTools.c"
}
static EditingToolsCropToolCropToolWindow* editing_tools_crop_tool_crop_tool_window_new (GtkWindow* container) {
-#line 658 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 663 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return editing_tools_crop_tool_crop_tool_window_construct (EDITING_TOOLS_CROP_TOOL_TYPE_CROP_TOOL_WINDOW, container);
-#line 12769 "EditingTools.c"
+#line 12778 "EditingTools.c"
}
@@ -12778,44 +12787,44 @@ static gboolean editing_tools_crop_tool_crop_tool_window_constraint_combo_separa
gchar* _tmp3_ = NULL;
gchar* _tmp4_ = NULL;
gboolean _tmp5_ = FALSE;
-#line 696 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 701 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (GTK_IS_TREE_MODEL (model), FALSE);
-#line 696 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 701 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (iter != NULL, FALSE);
-#line 698 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 703 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = model;
-#line 698 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 703 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = *iter;
-#line 698 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 703 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_tree_model_get_value (_tmp0_, &_tmp1_, 0, &_tmp2_);
-#line 698 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 703 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
G_IS_VALUE (&val) ? (g_value_unset (&val), NULL) : NULL;
-#line 698 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 703 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
val = _tmp2_;
-#line 700 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 705 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = g_value_dup_string (&val);
-#line 700 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 705 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = _tmp3_;
-#line 700 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 705 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = g_strcmp0 (_tmp4_, "-") == 0;
-#line 700 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 705 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_free0 (_tmp4_);
-#line 700 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 705 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
result = _tmp5_;
-#line 700 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 705 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
G_IS_VALUE (&val) ? (g_value_unset (&val), NULL) : NULL;
-#line 700 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 705 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return result;
-#line 12810 "EditingTools.c"
+#line 12819 "EditingTools.c"
}
static void editing_tools_crop_tool_crop_tool_window_class_init (EditingToolsCropToolCropToolWindowClass * klass) {
-#line 642 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 647 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_crop_tool_crop_tool_window_parent_class = g_type_class_peek_parent (klass);
-#line 642 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 647 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
G_OBJECT_CLASS (klass)->finalize = editing_tools_crop_tool_crop_tool_window_finalize;
-#line 12819 "EditingTools.c"
+#line 12828 "EditingTools.c"
}
@@ -12826,83 +12835,83 @@ static void editing_tools_crop_tool_crop_tool_window_instance_init (EditingTools
GtkEntry* _tmp3_ = NULL;
GtkEntry* _tmp4_ = NULL;
GtkLabel* _tmp5_ = NULL;
-#line 645 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 650 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = (GtkButton*) gtk_button_new_with_label (RESOURCES_CROP_LABEL);
-#line 645 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 650 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_object_ref_sink (_tmp0_);
-#line 645 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 650 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->ok_button = _tmp0_;
-#line 646 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 651 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = (GtkButton*) gtk_button_new_with_mnemonic (RESOURCES_CANCEL_LABEL);
-#line 646 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 651 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_object_ref_sink (_tmp1_);
-#line 646 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 651 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->cancel_button = _tmp1_;
-#line 648 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 653 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = (GtkButton*) gtk_button_new ();
-#line 648 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 653 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_object_ref_sink (_tmp2_);
-#line 648 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 653 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->pivot_reticle_button = _tmp2_;
-#line 649 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 654 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = (GtkEntry*) gtk_entry_new ();
-#line 649 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 654 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_object_ref_sink (_tmp3_);
-#line 649 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 654 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->custom_width_entry = _tmp3_;
-#line 650 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 655 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = (GtkEntry*) gtk_entry_new ();
-#line 650 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 655 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_object_ref_sink (_tmp4_);
-#line 650 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 655 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->custom_height_entry = _tmp4_;
-#line 651 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 656 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = (GtkLabel*) gtk_label_new_with_mnemonic ("x");
-#line 651 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 656 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_object_ref_sink (_tmp5_);
-#line 651 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 656 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->custom_mulsign_label = _tmp5_;
-#line 652 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 657 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->most_recently_edited = NULL;
-#line 653 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 658 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->response_layout = NULL;
-#line 654 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 659 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->layout = NULL;
-#line 655 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 660 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->normal_width = -1;
-#line 656 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 661 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->normal_height = -1;
-#line 12876 "EditingTools.c"
+#line 12885 "EditingTools.c"
}
static void editing_tools_crop_tool_crop_tool_window_finalize (GObject* obj) {
EditingToolsCropToolCropToolWindow * self;
-#line 642 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 647 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, EDITING_TOOLS_CROP_TOOL_TYPE_CROP_TOOL_WINDOW, EditingToolsCropToolCropToolWindow);
-#line 645 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 650 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (self->ok_button);
-#line 646 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 651 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (self->cancel_button);
-#line 647 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 652 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (self->constraint_combo);
-#line 648 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 653 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (self->pivot_reticle_button);
-#line 649 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 654 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (self->custom_width_entry);
-#line 650 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 655 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (self->custom_height_entry);
-#line 651 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 656 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (self->custom_mulsign_label);
-#line 652 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 657 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (self->most_recently_edited);
-#line 653 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 658 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (self->response_layout);
-#line 654 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 659 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (self->layout);
-#line 642 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 647 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
G_OBJECT_CLASS (editing_tools_crop_tool_crop_tool_window_parent_class)->finalize (obj);
-#line 12906 "EditingTools.c"
+#line 12915 "EditingTools.c"
}
@@ -12919,31 +12928,31 @@ static GType editing_tools_crop_tool_crop_tool_window_get_type (void) {
static void editing_tools_crop_tool_class_init (EditingToolsCropToolClass * klass) {
-#line 582 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 587 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_crop_tool_parent_class = g_type_class_peek_parent (klass);
-#line 582 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 587 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
((EditingToolsEditingToolClass *) klass)->finalize = editing_tools_crop_tool_finalize;
-#line 582 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 587 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_type_class_add_private (klass, sizeof (EditingToolsCropToolPrivate));
-#line 582 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 587 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
((EditingToolsEditingToolClass *) klass)->activate = editing_tools_crop_tool_real_activate;
-#line 582 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 587 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
((EditingToolsEditingToolClass *) klass)->on_keypress = editing_tools_crop_tool_real_on_keypress;
-#line 582 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 587 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
((EditingToolsEditingToolClass *) klass)->deactivate = editing_tools_crop_tool_real_deactivate;
-#line 582 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 587 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
((EditingToolsEditingToolClass *) klass)->get_tool_window = editing_tools_crop_tool_real_get_tool_window;
-#line 582 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 587 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
((EditingToolsEditingToolClass *) klass)->get_display_pixbuf = editing_tools_crop_tool_real_get_display_pixbuf;
-#line 582 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 587 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
((EditingToolsEditingToolClass *) klass)->on_left_click = editing_tools_crop_tool_real_on_left_click;
-#line 582 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 587 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
((EditingToolsEditingToolClass *) klass)->on_left_released = editing_tools_crop_tool_real_on_left_released;
-#line 582 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 587 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
((EditingToolsEditingToolClass *) klass)->on_motion = editing_tools_crop_tool_real_on_motion;
-#line 582 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 587 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
((EditingToolsEditingToolClass *) klass)->paint = editing_tools_crop_tool_real_paint;
-#line 12947 "EditingTools.c"
+#line 12956 "EditingTools.c"
}
@@ -12955,93 +12964,93 @@ static void editing_tools_crop_tool_instance_init (EditingToolsCropTool * self)
EditingToolsCropToolConstraintDescription** _tmp4_ = NULL;
gint _tmp4__length1 = 0;
GtkListStore* _tmp5_ = NULL;
-#line 582 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 587 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv = EDITING_TOOLS_CROP_TOOL_GET_PRIVATE (self);
-#line 704 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 709 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->crop_tool_window = NULL;
-#line 705 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 710 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->current_cursor_type = GDK_LEFT_PTR;
-#line 706 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 711 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->in_manipulation = BOX_LOCATION_OUTSIDE;
-#line 707 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 712 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->wide_black_ctx = NULL;
-#line 708 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 713 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->wide_white_ctx = NULL;
-#line 709 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 714 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->thin_white_ctx = NULL;
-#line 710 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 715 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->text_ctx = NULL;
-#line 713 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 718 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->crop_surface = NULL;
-#line 717 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 722 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->last_grab_x = -1;
-#line 718 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 723 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->last_grab_y = -1;
-#line 720 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 725 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = editing_tools_crop_tool_create_constraints (&_tmp0_);
-#line 720 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 725 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->constraints = _tmp1_;
-#line 720 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 725 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->constraints_length1 = _tmp0_;
-#line 720 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 725 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->_constraints_size_ = self->priv->constraints_length1;
-#line 721 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 726 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = editing_tools_crop_tool_create_constraints (&_tmp2_);
-#line 721 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 726 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = _tmp3_;
-#line 721 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 726 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4__length1 = _tmp2_;
-#line 721 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 726 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = editing_tools_crop_tool_create_constraint_list (_tmp4_, _tmp2_);
-#line 721 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 726 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->constraint_list = _tmp5_;
-#line 721 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 726 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = (_vala_array_free (_tmp4_, _tmp4__length1, (GDestroyNotify) editing_tools_crop_tool_constraint_description_unref), NULL);
-#line 722 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 727 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->reticle_orientation = EDITING_TOOLS_CROP_TOOL_RETICLE_ORIENTATION_LANDSCAPE;
-#line 723 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 728 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->constraint_mode = EDITING_TOOLS_CROP_TOOL_CONSTRAINT_MODE_NORMAL;
-#line 724 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 729 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->entry_insert_in_progress = FALSE;
-#line 725 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 730 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->custom_aspect_ratio = 1.0f;
-#line 726 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 731 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->custom_width = -1;
-#line 727 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 732 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->custom_height = -1;
-#line 728 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 733 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->custom_init_width = -1;
-#line 729 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 734 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->custom_init_height = -1;
-#line 730 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 735 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->pre_aspect_ratio = EDITING_TOOLS_CROP_TOOL_ANY_ASPECT_RATIO;
-#line 13019 "EditingTools.c"
+#line 13028 "EditingTools.c"
}
static void editing_tools_crop_tool_finalize (EditingToolsEditingTool* obj) {
EditingToolsCropTool * self;
-#line 582 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 587 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, EDITING_TOOLS_TYPE_CROP_TOOL, EditingToolsCropTool);
-#line 704 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 709 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (self->priv->crop_tool_window);
-#line 707 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 712 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_cairo_destroy0 (self->priv->wide_black_ctx);
-#line 708 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 713 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_cairo_destroy0 (self->priv->wide_white_ctx);
-#line 709 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 714 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_cairo_destroy0 (self->priv->thin_white_ctx);
-#line 710 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 715 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_cairo_destroy0 (self->priv->text_ctx);
-#line 713 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 718 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_cairo_surface_destroy0 (self->priv->crop_surface);
-#line 720 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 725 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->constraints = (_vala_array_free (self->priv->constraints, self->priv->constraints_length1, (GDestroyNotify) editing_tools_crop_tool_constraint_description_unref), NULL);
-#line 721 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 726 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (self->priv->constraint_list);
-#line 582 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 587 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
EDITING_TOOLS_EDITING_TOOL_CLASS (editing_tools_crop_tool_parent_class)->finalize (obj);
-#line 13045 "EditingTools.c"
+#line 13054 "EditingTools.c"
}
@@ -13060,17 +13069,17 @@ GType editing_tools_crop_tool_get_type (void) {
static void editing_tools_redeye_instance_init (EditingToolsRedeyeInstance *self) {
GdkPoint default_center = {0};
GdkPoint _tmp0_ = {0};
-#line 1843 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1848 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
memset (self, 0, sizeof (EditingToolsRedeyeInstance));
-#line 1844 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1849 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
memset (&default_center, 0, sizeof (GdkPoint));
-#line 1845 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1850 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = default_center;
-#line 1845 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1850 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
(*self).center = _tmp0_;
-#line 1846 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1851 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
(*self).radius = EDITING_TOOLS_REDEYE_INSTANCE_DEFAULT_RADIUS;
-#line 13074 "EditingTools.c"
+#line 13083 "EditingTools.c"
}
@@ -13090,51 +13099,51 @@ void editing_tools_redeye_instance_to_bounds_rect (EditingToolsRedeyeInstance* i
gint _tmp11_ = 0;
GdkRectangle _tmp12_ = {0};
gint _tmp13_ = 0;
-#line 1849 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1854 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (inst != NULL);
-#line 1850 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1855 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
memset (&_result_, 0, sizeof (GdkRectangle));
-#line 1851 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1856 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = *inst;
-#line 1851 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1856 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = _tmp0_.center;
-#line 1851 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1856 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = _tmp1_.x;
-#line 1851 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1856 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = *inst;
-#line 1851 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1856 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = _tmp3_.radius;
-#line 1851 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1856 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_result_.x = _tmp2_ - _tmp4_;
-#line 1852 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1857 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = *inst;
-#line 1852 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1857 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = _tmp5_.center;
-#line 1852 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1857 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = _tmp6_.y;
-#line 1852 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1857 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = *inst;
-#line 1852 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1857 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = _tmp8_.radius;
-#line 1852 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1857 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_result_.y = _tmp7_ - _tmp9_;
-#line 1853 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1858 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp10_ = *inst;
-#line 1853 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1858 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp11_ = _tmp10_.radius;
-#line 1853 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1858 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_result_.width = 2 * _tmp11_;
-#line 1854 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1859 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp12_ = _result_;
-#line 1854 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1859 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp13_ = _tmp12_.width;
-#line 1854 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1859 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_result_.height = _tmp13_;
-#line 1856 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1861 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*result = _result_;
-#line 1856 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1861 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return;
-#line 13138 "EditingTools.c"
+#line 13147 "EditingTools.c"
}
@@ -13154,68 +13163,68 @@ void editing_tools_redeye_instance_from_bounds_rect (GdkRectangle* rect, Editing
gint _tmp10_ = 0;
EditingToolsRedeyeInstance _tmp11_ = {0};
gint _tmp12_ = 0;
-#line 1859 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1864 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (rect != NULL);
-#line 1860 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1865 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = *rect;
-#line 1860 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1865 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
in_rect = _tmp0_;
-#line 1862 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1867 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_redeye_instance_init (&_result_);
-#line 1863 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1868 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = in_rect;
-#line 1863 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1868 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = _tmp1_.width;
-#line 1863 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1868 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = in_rect;
-#line 1863 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1868 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = _tmp3_.height;
-#line 1863 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1868 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_result_.radius = (_tmp2_ + _tmp4_) / 4;
-#line 1864 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1869 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = in_rect;
-#line 1864 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1869 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = _tmp5_.x;
-#line 1864 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1869 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = _result_;
-#line 1864 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1869 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = _tmp7_.radius;
-#line 1864 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1869 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_result_.center.x = _tmp6_ + _tmp8_;
-#line 1865 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1870 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = in_rect;
-#line 1865 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1870 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp10_ = _tmp9_.y;
-#line 1865 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1870 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp11_ = _result_;
-#line 1865 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1870 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp12_ = _tmp11_.radius;
-#line 1865 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1870 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_result_.center.y = _tmp10_ + _tmp12_;
-#line 1867 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1872 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*result = _result_;
-#line 1867 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1872 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return;
-#line 13200 "EditingTools.c"
+#line 13209 "EditingTools.c"
}
EditingToolsRedeyeInstance* editing_tools_redeye_instance_dup (const EditingToolsRedeyeInstance* self) {
EditingToolsRedeyeInstance* dup;
-#line 1835 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1840 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
dup = g_new0 (EditingToolsRedeyeInstance, 1);
-#line 1835 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1840 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
memcpy (dup, self, sizeof (EditingToolsRedeyeInstance));
-#line 1835 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1840 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return dup;
-#line 13212 "EditingTools.c"
+#line 13221 "EditingTools.c"
}
void editing_tools_redeye_instance_free (EditingToolsRedeyeInstance* self) {
-#line 1835 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1840 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_free (self);
-#line 13219 "EditingTools.c"
+#line 13228 "EditingTools.c"
}
@@ -13232,31 +13241,31 @@ GType editing_tools_redeye_instance_get_type (void) {
static EditingToolsRedeyeTool* editing_tools_redeye_tool_construct (GType object_type) {
EditingToolsRedeyeTool* self = NULL;
-#line 1919 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1924 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self = (EditingToolsRedeyeTool*) editing_tools_editing_tool_construct (object_type, "RedeyeTool");
-#line 1918 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1923 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return self;
-#line 13240 "EditingTools.c"
+#line 13249 "EditingTools.c"
}
static EditingToolsRedeyeTool* editing_tools_redeye_tool_new (void) {
-#line 1918 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1923 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return editing_tools_redeye_tool_construct (EDITING_TOOLS_TYPE_REDEYE_TOOL);
-#line 13247 "EditingTools.c"
+#line 13256 "EditingTools.c"
}
EditingToolsRedeyeTool* editing_tools_redeye_tool_factory (void) {
EditingToolsRedeyeTool* result = NULL;
EditingToolsRedeyeTool* _tmp0_ = NULL;
-#line 1923 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1928 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = editing_tools_redeye_tool_new ();
-#line 1923 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1928 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
result = _tmp0_;
-#line 1923 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1928 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return result;
-#line 13260 "EditingTools.c"
+#line 13269 "EditingTools.c"
}
@@ -13269,44 +13278,44 @@ gboolean editing_tools_redeye_tool_is_available (Photo* photo, Scaling* scaling)
gboolean _tmp3_ = FALSE;
Dimensions _tmp4_ = {0};
gint _tmp5_ = 0;
-#line 1926 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1931 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (IS_PHOTO (photo), FALSE);
-#line 1926 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1931 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (scaling != NULL, FALSE);
-#line 1927 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1932 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = photo;
-#line 1927 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1932 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
media_source_get_dimensions (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_MEDIA_SOURCE, MediaSource), PHOTO_EXCEPTION_NONE, &_tmp1_);
-#line 1927 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1932 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
scaling_get_scaled_dimensions (scaling, &_tmp1_, &_tmp2_);
-#line 1927 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1932 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
dim = _tmp2_;
-#line 1929 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1934 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = dim;
-#line 1929 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1934 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = _tmp4_.width;
-#line 1929 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1934 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp5_ >= (EDITING_TOOLS_REDEYE_INSTANCE_MAX_RADIUS * 2)) {
-#line 13291 "EditingTools.c"
+#line 13300 "EditingTools.c"
Dimensions _tmp6_ = {0};
gint _tmp7_ = 0;
-#line 1930 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1935 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = dim;
-#line 1930 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1935 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = _tmp6_.height;
-#line 1930 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1935 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = _tmp7_ >= (EDITING_TOOLS_REDEYE_INSTANCE_MAX_RADIUS * 2);
-#line 13300 "EditingTools.c"
+#line 13309 "EditingTools.c"
} else {
-#line 1929 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1934 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = FALSE;
-#line 13304 "EditingTools.c"
+#line 13313 "EditingTools.c"
}
-#line 1929 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1934 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
result = _tmp3_;
-#line 1929 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1934 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return result;
-#line 13310 "EditingTools.c"
+#line 13319 "EditingTools.c"
}
@@ -13329,61 +13338,61 @@ static void editing_tools_redeye_tool_new_interaction_instance (EditingToolsRede
gint _tmp12_ = 0;
GdkPoint _tmp13_ = {0};
gint _tmp14_ = 0;
-#line 1933 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1938 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_REDEYE_TOOL (self));
-#line 1933 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1938 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_PHOTO_CANVAS (canvas));
-#line 1934 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1939 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = canvas;
-#line 1934 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1939 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_photo_canvas_get_scaled_pixbuf_position (_tmp0_, &_tmp1_);
-#line 1934 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1939 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
photo_bounds = _tmp1_;
-#line 1935 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1940 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_.x = 0;
-#line 1935 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1940 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
photo_center = _tmp2_;
-#line 1936 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1941 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = photo_bounds;
-#line 1936 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1941 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = _tmp3_.x;
-#line 1936 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1941 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = photo_bounds;
-#line 1936 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1941 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = _tmp5_.width;
-#line 1936 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1941 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
photo_center.x = _tmp4_ + (_tmp6_ / 2);
-#line 1937 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1942 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = photo_bounds;
-#line 1937 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1942 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = _tmp7_.y;
-#line 1937 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1942 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = photo_bounds;
-#line 1937 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1942 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp10_ = _tmp9_.height;
-#line 1937 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1942 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
photo_center.y = _tmp8_ + (_tmp10_ / 2);
-#line 1939 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1944 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_redeye_instance_init (&_result_);
-#line 1940 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1945 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp11_ = photo_center;
-#line 1940 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1945 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp12_ = _tmp11_.x;
-#line 1940 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1945 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_result_.center.x = _tmp12_;
-#line 1941 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1946 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp13_ = photo_center;
-#line 1941 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1946 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp14_ = _tmp13_.y;
-#line 1941 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1946 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_result_.center.y = _tmp14_;
-#line 1942 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1947 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_result_.radius = EDITING_TOOLS_REDEYE_INSTANCE_DEFAULT_RADIUS;
-#line 1944 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1949 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*result = _result_;
-#line 1944 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1949 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return;
-#line 13387 "EditingTools.c"
+#line 13396 "EditingTools.c"
}
@@ -13398,49 +13407,49 @@ static void editing_tools_redeye_tool_prepare_ctx (EditingToolsRedeyeTool* self,
cairo_t* _tmp7_ = NULL;
cairo_t* _tmp8_ = NULL;
cairo_t* _tmp9_ = NULL;
-#line 1947 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1952 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_REDEYE_TOOL (self));
-#line 1947 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1952 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (ctx != NULL);
-#line 1947 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1952 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (dim != NULL);
-#line 1948 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1953 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = ctx;
-#line 1948 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1953 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = cairo_get_target (_tmp0_);
-#line 1948 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1953 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = cairo_create (_tmp1_);
-#line 1948 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1953 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_cairo_destroy0 (self->priv->wider_gray_ctx);
-#line 1948 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1953 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->wider_gray_ctx = _tmp2_;
-#line 1949 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1954 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = self->priv->wider_gray_ctx;
-#line 1949 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1954 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
set_source_color_from_string (_tmp3_, "#111");
-#line 1950 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1955 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = self->priv->wider_gray_ctx;
-#line 1950 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1955 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_set_line_width (_tmp4_, (gdouble) 3);
-#line 1952 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1957 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = ctx;
-#line 1952 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1957 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = cairo_get_target (_tmp5_);
-#line 1952 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1957 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = cairo_create (_tmp6_);
-#line 1952 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1957 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_cairo_destroy0 (self->priv->thin_white_ctx);
-#line 1952 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1957 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->thin_white_ctx = _tmp7_;
-#line 1953 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1958 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = self->priv->thin_white_ctx;
-#line 1953 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1958 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
set_source_color_from_string (_tmp8_, "#FFF");
-#line 1954 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1959 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = self->priv->thin_white_ctx;
-#line 1954 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1959 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cairo_set_line_width (_tmp9_, (gdouble) 1);
-#line 13444 "EditingTools.c"
+#line 13453 "EditingTools.c"
}
@@ -13465,55 +13474,55 @@ static void editing_tools_redeye_tool_draw_redeye_instance (EditingToolsRedeyeTo
gint _tmp17_ = 0;
EditingToolsRedeyeInstance _tmp18_ = {0};
gint _tmp19_ = 0;
-#line 1957 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1962 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_REDEYE_TOOL (self));
-#line 1957 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1962 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (inst != NULL);
-#line 1958 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1963 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 1958 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1963 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = self->priv->wider_gray_ctx;
-#line 1958 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1963 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = *inst;
-#line 1958 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1963 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = _tmp2_.center;
-#line 1958 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1963 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = _tmp3_.x;
-#line 1958 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1963 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = *inst;
-#line 1958 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1963 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = _tmp5_.center;
-#line 1958 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1963 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = _tmp6_.y;
-#line 1958 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1963 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = *inst;
-#line 1958 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1963 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = _tmp8_.radius;
-#line 1958 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1963 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_photo_canvas_draw_circle (_tmp0_, _tmp1_, _tmp4_, _tmp7_, _tmp9_);
-#line 1960 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1965 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp10_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 1960 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1965 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp11_ = self->priv->thin_white_ctx;
-#line 1960 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1965 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp12_ = *inst;
-#line 1960 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1965 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp13_ = _tmp12_.center;
-#line 1960 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1965 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp14_ = _tmp13_.x;
-#line 1960 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1965 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp15_ = *inst;
-#line 1960 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1965 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp16_ = _tmp15_.center;
-#line 1960 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1965 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp17_ = _tmp16_.y;
-#line 1960 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1965 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp18_ = *inst;
-#line 1960 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1965 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp19_ = _tmp18_.radius;
-#line 1960 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1965 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_photo_canvas_draw_circle (_tmp10_, _tmp11_, _tmp14_, _tmp17_, _tmp19_);
-#line 13517 "EditingTools.c"
+#line 13526 "EditingTools.c"
}
@@ -13523,25 +13532,25 @@ static gboolean editing_tools_redeye_tool_on_size_slider_adjust (EditingToolsRed
GtkScale* _tmp1_ = NULL;
gdouble _tmp2_ = 0.0;
EditingToolsPhotoCanvas* _tmp3_ = NULL;
-#line 1964 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1969 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (EDITING_TOOLS_IS_REDEYE_TOOL (self), FALSE);
-#line 1965 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1970 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = self->priv->redeye_tool_window;
-#line 1965 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1970 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = _tmp0_->slider;
-#line 1965 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1970 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = gtk_range_get_value (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_range_get_type (), GtkRange));
-#line 1965 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1970 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->user_interaction_instance.radius = (gint) _tmp2_;
-#line 1968 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1973 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 1968 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1973 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_photo_canvas_repaint (_tmp3_);
-#line 1970 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1975 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
result = FALSE;
-#line 1970 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1975 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return result;
-#line 13545 "EditingTools.c"
+#line 13554 "EditingTools.c"
}
@@ -13592,117 +13601,117 @@ static void editing_tools_redeye_tool_on_apply (EditingToolsRedeyeTool* self) {
RedeyeCommand* _tmp35_ = NULL;
CommandManager* _tmp36_ = NULL;
CommandManager* _tmp37_ = NULL;
-#line 1973 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1978 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_REDEYE_TOOL (self));
-#line 1974 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1979 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = self->priv->user_interaction_instance;
-#line 1974 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1979 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_redeye_instance_to_bounds_rect (&_tmp0_, &_tmp1_);
-#line 1974 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1979 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
bounds_rect_user = _tmp1_;
-#line 1977 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1982 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 1977 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1982 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = bounds_rect_user;
-#line 1977 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1982 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_photo_canvas_user_to_active_rect (_tmp2_, &_tmp3_, &_tmp4_);
-#line 1977 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1982 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
bounds_rect_active = _tmp4_;
-#line 1979 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1984 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 1979 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1984 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = bounds_rect_active;
-#line 1979 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1984 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_photo_canvas_active_to_unscaled_rect (_tmp5_, &_tmp6_, &_tmp7_);
-#line 1979 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1984 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
bounds_rect_unscaled = _tmp7_;
-#line 1981 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1986 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 1981 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1986 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = bounds_rect_unscaled;
-#line 1981 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1986 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_photo_canvas_unscaled_to_raw_rect (_tmp8_, &_tmp9_, &_tmp10_);
-#line 1981 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1986 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
bounds_rect_raw = _tmp10_;
-#line 1984 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1989 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp11_ = bounds_rect_raw;
-#line 1984 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1989 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_redeye_instance_from_bounds_rect (&_tmp11_, &_tmp12_);
-#line 1984 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
- instance_raw = _tmp12_;
#line 1989 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+ instance_raw = _tmp12_;
+#line 1994 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp13_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 1989 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1994 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp14_ = editing_tools_photo_canvas_get_photo (_tmp13_);
-#line 1989 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1994 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp15_ = _tmp14_;
-#line 1989 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1994 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
media_source_get_dimensions (G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, TYPE_MEDIA_SOURCE, MediaSource), PHOTO_EXCEPTION_STRAIGHTEN | PHOTO_EXCEPTION_CROP, &_tmp16_);
-#line 1989 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1994 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp17_ = _tmp16_;
-#line 1989 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1994 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (_tmp15_);
-#line 1989 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1994 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
dimensions = _tmp17_;
-#line 1992 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1997 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
theta = 0.0;
-#line 1994 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1999 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp18_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 1994 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1999 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp19_ = editing_tools_photo_canvas_get_photo (_tmp18_);
-#line 1994 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1999 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp20_ = _tmp19_;
-#line 1994 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1999 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
photo_get_straighten (_tmp20_, &_tmp21_);
-#line 1994 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1999 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
theta = _tmp21_;
-#line 1994 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1999 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (_tmp20_);
-#line 1996 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2001 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp22_ = instance_raw;
-#line 1996 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2001 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp23_ = _tmp22_.center;
-#line 1996 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2001 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp24_ = dimensions;
-#line 1996 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2001 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp25_ = _tmp24_.width;
-#line 1996 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2001 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp26_ = dimensions;
-#line 1996 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2001 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp27_ = _tmp26_.height;
-#line 1996 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2001 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp28_ = theta;
-#line 1996 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2001 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
derotate_point_arb (&_tmp23_, _tmp25_, _tmp27_, _tmp28_, &_tmp29_);
-#line 1996 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2001 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
instance_raw.center = _tmp29_;
-#line 1999 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2004 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp30_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 1999 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2004 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp31_ = editing_tools_photo_canvas_get_photo (_tmp30_);
-#line 1999 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2004 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp32_ = _tmp31_;
-#line 1999 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2004 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp33_ = instance_raw;
-#line 1999 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2004 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp34_ = redeye_command_new (_tmp32_, &_tmp33_, RESOURCES_RED_EYE_LABEL, RESOURCES_RED_EYE_TOOLTIP);
-#line 1999 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2004 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp35_ = _tmp34_;
-#line 1999 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2004 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (_tmp32_);
-#line 1999 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2004 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
command = _tmp35_;
-#line 2001 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2006 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp36_ = app_window_get_command_manager ();
-#line 2001 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2006 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp37_ = _tmp36_;
-#line 2001 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2006 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
command_manager_execute (_tmp37_, G_TYPE_CHECK_INSTANCE_CAST (command, TYPE_COMMAND, Command));
-#line 2001 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2006 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_command_manager_unref0 (_tmp37_);
-#line 1973 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1978 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (command);
-#line 13706 "EditingTools.c"
+#line 13715 "EditingTools.c"
}
@@ -13715,29 +13724,29 @@ static void editing_tools_redeye_tool_on_photos_altered (EditingToolsRedeyeTool*
gboolean _tmp5_ = FALSE;
EditingToolsPhotoCanvas* _tmp17_ = NULL;
GError * _inner_error_ = NULL;
-#line 2004 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2009 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_REDEYE_TOOL (self));
-#line 2004 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2009 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (GEE_IS_MAP (map));
-#line 2005 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2010 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = map;
-#line 2005 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2010 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 2005 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2010 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = editing_tools_photo_canvas_get_photo (_tmp1_);
-#line 2005 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2010 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = _tmp2_;
-#line 2005 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2010 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = gee_map_has_key (_tmp0_, G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, TYPE_DATA_OBJECT, DataObject));
-#line 2005 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2010 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = !_tmp4_;
-#line 2005 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2010 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (_tmp3_);
-#line 2005 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2010 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp5_) {
-#line 2006 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2011 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return;
-#line 13741 "EditingTools.c"
+#line 13750 "EditingTools.c"
}
{
GdkPixbuf* _tmp6_ = NULL;
@@ -13749,40 +13758,40 @@ static void editing_tools_redeye_tool_on_photos_altered (EditingToolsRedeyeTool*
GdkPixbuf* _tmp12_ = NULL;
GdkPixbuf* _tmp13_ = NULL;
GdkPixbuf* _tmp14_ = NULL;
-#line 2009 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2014 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 2009 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2014 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = editing_tools_photo_canvas_get_photo (_tmp7_);
-#line 2009 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2014 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = _tmp8_;
-#line 2009 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2014 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp10_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 2009 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2014 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_photo_canvas_get_scaling (_tmp10_, &_tmp11_);
-#line 2009 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2014 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp12_ = photo_source_get_pixbuf (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, TYPE_PHOTO_SOURCE, PhotoSource), &_tmp11_, &_inner_error_);
-#line 2009 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2014 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp13_ = _tmp12_;
-#line 2009 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2014 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (_tmp9_);
-#line 2009 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2014 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = _tmp13_;
-#line 2009 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2014 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 13773 "EditingTools.c"
+#line 13782 "EditingTools.c"
goto __catch20_g_error;
}
-#line 2009 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2014 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp14_ = _tmp6_;
-#line 2009 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2014 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = NULL;
-#line 2009 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2014 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (self->priv->current_pixbuf);
-#line 2009 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2014 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->current_pixbuf = _tmp14_;
-#line 2008 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2013 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (_tmp6_);
-#line 13786 "EditingTools.c"
+#line 13795 "EditingTools.c"
}
goto __finally20;
__catch20_g_error:
@@ -13790,40 +13799,40 @@ static void editing_tools_redeye_tool_on_photos_altered (EditingToolsRedeyeTool*
GError* err = NULL;
GError* _tmp15_ = NULL;
const gchar* _tmp16_ = NULL;
-#line 2008 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2013 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
err = _inner_error_;
-#line 2008 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2013 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_inner_error_ = NULL;
-#line 2011 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2016 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp15_ = err;
-#line 2011 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2016 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp16_ = _tmp15_->message;
-#line 2011 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
- g_warning ("EditingTools.vala:2011: %s", _tmp16_);
-#line 2012 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2016 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+ g_warning ("EditingTools.vala:2016: %s", _tmp16_);
+#line 2017 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_emit_by_name (G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool), "aborted");
-#line 2014 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2019 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_error_free0 (err);
-#line 2014 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2019 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return;
-#line 13810 "EditingTools.c"
+#line 13819 "EditingTools.c"
}
__finally20:
-#line 2008 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2013 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 2008 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2013 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.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 2008 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2013 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_clear_error (&_inner_error_);
-#line 2008 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2013 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return;
-#line 13821 "EditingTools.c"
+#line 13830 "EditingTools.c"
}
-#line 2017 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2022 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp17_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 2017 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2022 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_photo_canvas_repaint (_tmp17_);
-#line 13827 "EditingTools.c"
+#line 13836 "EditingTools.c"
}
@@ -13833,23 +13842,23 @@ static void editing_tools_redeye_tool_on_close (EditingToolsRedeyeTool* self) {
Photo* _tmp2_ = NULL;
Photo* _tmp3_ = NULL;
Dimensions _tmp4_ = {0};
-#line 2020 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2025 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_REDEYE_TOOL (self));
-#line 2021 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2026 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = self->priv->current_pixbuf;
-#line 2021 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2026 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 2021 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2026 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = editing_tools_photo_canvas_get_photo (_tmp1_);
-#line 2021 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2026 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = _tmp2_;
-#line 2021 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2026 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
media_source_get_dimensions (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, TYPE_MEDIA_SOURCE, MediaSource), PHOTO_EXCEPTION_NONE, &_tmp4_);
-#line 2021 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2026 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_emit_by_name (G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool), "applied", NULL, _tmp0_, &_tmp4_, FALSE);
-#line 2021 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2026 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (_tmp3_);
-#line 13853 "EditingTools.c"
+#line 13862 "EditingTools.c"
}
@@ -13881,88 +13890,88 @@ static void editing_tools_redeye_tool_on_canvas_resize (EditingToolsRedeyeTool*
GdkRectangle _tmp22_ = {0};
gint _tmp23_ = 0;
GdkRectangle _tmp24_ = {0};
-#line 2024 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2029 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_REDEYE_TOOL (self));
-#line 2025 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2030 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 2025 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2030 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_photo_canvas_get_scaled_pixbuf_position (_tmp0_, &_tmp1_);
-#line 2025 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2030 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
scaled_pixbuf_position = _tmp1_;
-#line 2028 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2033 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = self->priv->user_interaction_instance.center.x;
-#line 2028 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2033 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = self->priv->old_scaled_pixbuf_position;
-#line 2028 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2033 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = _tmp3_.x;
-#line 2028 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2033 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->user_interaction_instance.center.x = _tmp2_ - _tmp4_;
-#line 2029 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2034 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = self->priv->user_interaction_instance.center.y;
-#line 2029 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2034 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = self->priv->old_scaled_pixbuf_position;
-#line 2029 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2034 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = _tmp6_.y;
-#line 2029 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2034 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->user_interaction_instance.center.y = _tmp5_ - _tmp7_;
-#line 2031 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2036 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = scaled_pixbuf_position;
-#line 2031 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2036 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = _tmp8_.width;
-#line 2031 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2036 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp10_ = self->priv->old_scaled_pixbuf_position;
-#line 2031 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2036 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp11_ = _tmp10_.width;
-#line 2031 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2036 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
scale_factor = ((gdouble) _tmp9_) / ((gdouble) _tmp11_);
-#line 2034 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2039 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp12_ = self->priv->user_interaction_instance;
-#line 2034 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2039 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp13_ = _tmp12_.center;
-#line 2034 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2039 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp14_ = _tmp13_.x;
-#line 2034 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2039 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->user_interaction_instance.center.x = (gint) ((((gdouble) _tmp14_) * scale_factor) + 0.5);
-#line 2037 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2042 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp15_ = self->priv->user_interaction_instance;
-#line 2037 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2042 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp16_ = _tmp15_.center;
-#line 2037 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2042 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp17_ = _tmp16_.y;
-#line 2037 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2042 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->user_interaction_instance.center.y = (gint) ((((gdouble) _tmp17_) * scale_factor) + 0.5);
-#line 2041 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2046 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp18_ = self->priv->user_interaction_instance.center.x;
-#line 2041 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2046 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp19_ = scaled_pixbuf_position;
-#line 2041 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2046 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp20_ = _tmp19_.x;
-#line 2041 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2046 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->user_interaction_instance.center.x = _tmp18_ + _tmp20_;
-#line 2042 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2047 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp21_ = self->priv->user_interaction_instance.center.y;
-#line 2042 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2047 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp22_ = scaled_pixbuf_position;
-#line 2042 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2047 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp23_ = _tmp22_.y;
-#line 2042 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2047 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->user_interaction_instance.center.y = _tmp21_ + _tmp23_;
-#line 2044 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2049 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp24_ = scaled_pixbuf_position;
-#line 2044 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2049 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->old_scaled_pixbuf_position = _tmp24_;
-#line 2046 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2051 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (self->priv->current_pixbuf);
-#line 2046 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2051 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->current_pixbuf = NULL;
-#line 13959 "EditingTools.c"
+#line 13968 "EditingTools.c"
}
static void _editing_tools_redeye_tool_on_photos_altered_data_collection_items_altered (DataCollection* _sender, GeeMap* items, gpointer self) {
-#line 2070 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2075 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_redeye_tool_on_photos_altered ((EditingToolsRedeyeTool*) self, items);
-#line 13966 "EditingTools.c"
+#line 13975 "EditingTools.c"
}
@@ -14007,143 +14016,143 @@ static void editing_tools_redeye_tool_real_activate (EditingToolsEditingTool* ba
DataCollection* _tmp34_ = NULL;
DataCollection* _tmp35_ = NULL;
EditingToolsPhotoCanvas* _tmp37_ = NULL;
-#line 2049 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2054 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, EDITING_TOOLS_TYPE_REDEYE_TOOL, EditingToolsRedeyeTool);
-#line 2049 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2054 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_PHOTO_CANVAS (canvas));
-#line 2050 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2055 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = canvas;
-#line 2050 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2055 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_redeye_tool_new_interaction_instance (self, _tmp0_, &_tmp1_);
-#line 2050 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2055 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->user_interaction_instance = _tmp1_;
-#line 2052 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2057 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = canvas;
-#line 2052 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2057 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = editing_tools_photo_canvas_get_default_ctx (_tmp2_);
-#line 2052 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2057 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = _tmp3_;
-#line 2052 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2057 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = canvas;
-#line 2052 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2057 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_photo_canvas_get_surface_dim (_tmp5_, &_tmp6_);
-#line 2052 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2057 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_redeye_tool_prepare_ctx (self, _tmp4_, &_tmp6_);
-#line 2052 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2057 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_cairo_destroy0 (_tmp4_);
-#line 2054 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2059 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = canvas;
-#line 2054 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2059 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_redeye_tool_bind_canvas_handlers (self, _tmp7_);
-#line 2056 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2061 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = canvas;
-#line 2056 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2061 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_photo_canvas_get_scaled_pixbuf_position (_tmp8_, &_tmp9_);
-#line 2056 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2061 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->old_scaled_pixbuf_position = _tmp9_;
-#line 2057 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2062 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp10_ = canvas;
-#line 2057 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2062 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp11_ = editing_tools_photo_canvas_get_scaled_pixbuf (_tmp10_);
-#line 2057 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2062 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (self->priv->current_pixbuf);
-#line 2057 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2062 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->current_pixbuf = _tmp11_;
-#line 2059 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2064 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp12_ = canvas;
-#line 2059 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2064 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp13_ = editing_tools_photo_canvas_get_container (_tmp12_);
-#line 2059 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2064 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp14_ = _tmp13_;
-#line 2059 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2064 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp15_ = editing_tools_redeye_tool_redeye_tool_window_new (_tmp14_);
-#line 2059 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2064 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_object_ref_sink (_tmp15_);
-#line 2059 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2064 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (self->priv->redeye_tool_window);
-#line 2059 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2064 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->redeye_tool_window = _tmp15_;
-#line 2059 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2064 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (_tmp14_);
-#line 2060 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2065 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp16_ = self->priv->redeye_tool_window;
-#line 2060 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2065 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp17_ = _tmp16_->slider;
-#line 2060 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2065 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp18_ = self->priv->user_interaction_instance;
-#line 2060 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2065 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp19_ = _tmp18_.radius;
-#line 2060 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2065 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_range_set_value (G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, gtk_range_get_type (), GtkRange), (gdouble) _tmp19_);
-#line 2062 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2067 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_redeye_tool_bind_window_handlers (self);
-#line 2064 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2069 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp20_ = canvas;
-#line 2064 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2069 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp21_ = editing_tools_photo_canvas_get_drawing_window (_tmp20_);
-#line 2064 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2069 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp22_ = _tmp21_;
-#line 2064 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2069 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp23_ = gdk_window_get_display (_tmp22_);
-#line 2064 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2069 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp24_ = _g_object_ref0 (_tmp23_);
-#line 2064 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2069 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp25_ = _tmp24_;
-#line 2064 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2069 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (_tmp22_);
-#line 2064 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2069 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
display = _tmp25_;
-#line 2065 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2070 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp26_ = display;
-#line 2065 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2070 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp27_ = gdk_cursor_new_for_display (_tmp26_, GDK_LEFT_PTR);
-#line 2065 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2070 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (self->priv->cached_arrow_cursor);
-#line 2065 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2070 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->cached_arrow_cursor = _tmp27_;
-#line 2066 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2071 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp28_ = display;
-#line 2066 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2071 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp29_ = gdk_cursor_new_for_display (_tmp28_, GDK_FLEUR);
-#line 2066 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2071 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (self->priv->cached_grab_cursor);
-#line 2066 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2071 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->cached_grab_cursor = _tmp29_;
-#line 2068 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2073 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp30_ = canvas;
-#line 2068 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2073 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp31_ = editing_tools_photo_canvas_get_photo (_tmp30_);
-#line 2068 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2073 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp32_ = _tmp31_;
-#line 2068 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2073 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp33_ = data_object_get_membership (G_TYPE_CHECK_INSTANCE_CAST (_tmp32_, TYPE_DATA_OBJECT, DataObject));
-#line 2068 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2073 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp34_ = _tmp33_;
-#line 2068 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2073 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (_tmp32_);
-#line 2068 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2073 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
owner = _tmp34_;
-#line 2069 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2074 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp35_ = owner;
-#line 2069 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2074 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp35_ != NULL) {
-#line 14131 "EditingTools.c"
+#line 14140 "EditingTools.c"
DataCollection* _tmp36_ = NULL;
-#line 2070 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2075 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp36_ = owner;
-#line 2070 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2075 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_connect (_tmp36_, "items-altered", (GCallback) _editing_tools_redeye_tool_on_photos_altered_data_collection_items_altered, self);
-#line 14137 "EditingTools.c"
+#line 14146 "EditingTools.c"
}
-#line 2072 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2077 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp37_ = canvas;
-#line 2072 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2077 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
EDITING_TOOLS_EDITING_TOOL_CLASS (editing_tools_redeye_tool_parent_class)->activate (G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool), _tmp37_);
-#line 2049 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2054 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_data_collection_unref0 (owner);
-#line 2049 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2054 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (display);
-#line 14147 "EditingTools.c"
+#line 14156 "EditingTools.c"
}
@@ -14151,13 +14160,13 @@ static void editing_tools_redeye_tool_real_deactivate (EditingToolsEditingTool*
EditingToolsRedeyeTool * self;
EditingToolsPhotoCanvas* _tmp0_ = NULL;
EditingToolsRedeyeToolRedeyeToolWindow* _tmp10_ = NULL;
-#line 2075 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2080 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, EDITING_TOOLS_TYPE_REDEYE_TOOL, EditingToolsRedeyeTool);
-#line 2076 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2081 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 2076 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2081 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp0_ != NULL) {
-#line 14161 "EditingTools.c"
+#line 14170 "EditingTools.c"
DataCollection* owner = NULL;
EditingToolsPhotoCanvas* _tmp1_ = NULL;
Photo* _tmp2_ = NULL;
@@ -14166,102 +14175,102 @@ static void editing_tools_redeye_tool_real_deactivate (EditingToolsEditingTool*
DataCollection* _tmp5_ = NULL;
DataCollection* _tmp6_ = NULL;
EditingToolsPhotoCanvas* _tmp9_ = NULL;
-#line 2077 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2082 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 2077 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2082 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = editing_tools_photo_canvas_get_photo (_tmp1_);
-#line 2077 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2082 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = _tmp2_;
-#line 2077 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2082 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = data_object_get_membership (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, TYPE_DATA_OBJECT, DataObject));
-#line 2077 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2082 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = _tmp4_;
-#line 2077 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2082 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (_tmp3_);
-#line 2077 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2082 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
owner = _tmp5_;
-#line 2078 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2083 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = owner;
-#line 2078 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2083 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp6_ != NULL) {
-#line 14188 "EditingTools.c"
+#line 14197 "EditingTools.c"
DataCollection* _tmp7_ = NULL;
guint _tmp8_ = 0U;
-#line 2079 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2084 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = owner;
-#line 2079 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2084 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_parse_name ("items-altered", TYPE_DATA_COLLECTION, &_tmp8_, NULL, FALSE);
-#line 2079 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2084 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_handlers_disconnect_matched (_tmp7_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp8_, 0, NULL, (GCallback) _editing_tools_redeye_tool_on_photos_altered_data_collection_items_altered, self);
-#line 14197 "EditingTools.c"
+#line 14206 "EditingTools.c"
}
-#line 2081 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2086 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 2081 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2086 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_redeye_tool_unbind_canvas_handlers (self, _tmp9_);
-#line 2076 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2081 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_data_collection_unref0 (owner);
-#line 14205 "EditingTools.c"
+#line 14214 "EditingTools.c"
}
-#line 2084 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2089 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp10_ = self->priv->redeye_tool_window;
-#line 2084 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2089 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp10_ != NULL) {
-#line 14211 "EditingTools.c"
+#line 14220 "EditingTools.c"
EditingToolsRedeyeToolRedeyeToolWindow* _tmp11_ = NULL;
EditingToolsRedeyeToolRedeyeToolWindow* _tmp12_ = NULL;
-#line 2085 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2090 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_redeye_tool_unbind_window_handlers (self);
-#line 2086 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2091 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp11_ = self->priv->redeye_tool_window;
-#line 2086 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2091 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_widget_hide (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, gtk_widget_get_type (), GtkWidget));
-#line 2087 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2092 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp12_ = self->priv->redeye_tool_window;
-#line 2087 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2092 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, gtk_widget_get_type (), GtkWidget));
-#line 2088 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2093 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (self->priv->redeye_tool_window);
-#line 2088 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2093 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->redeye_tool_window = NULL;
-#line 14228 "EditingTools.c"
+#line 14237 "EditingTools.c"
}
-#line 2091 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2096 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
EDITING_TOOLS_EDITING_TOOL_CLASS (editing_tools_redeye_tool_parent_class)->deactivate (G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool));
-#line 14232 "EditingTools.c"
+#line 14241 "EditingTools.c"
}
static void _editing_tools_redeye_tool_prepare_ctx_editing_tools_photo_canvas_new_surface (EditingToolsPhotoCanvas* _sender, cairo_t* ctx, Dimensions* dim, gpointer self) {
-#line 2095 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2100 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_redeye_tool_prepare_ctx ((EditingToolsRedeyeTool*) self, ctx, dim);
-#line 14239 "EditingTools.c"
+#line 14248 "EditingTools.c"
}
static void _editing_tools_redeye_tool_on_canvas_resize_editing_tools_photo_canvas_resized_scaled_pixbuf (EditingToolsPhotoCanvas* _sender, Dimensions* old_dim, GdkPixbuf* scaled, GdkRectangle* scaled_position, gpointer self) {
-#line 2096 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2101 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_redeye_tool_on_canvas_resize ((EditingToolsRedeyeTool*) self);
-#line 14246 "EditingTools.c"
+#line 14255 "EditingTools.c"
}
static void editing_tools_redeye_tool_bind_canvas_handlers (EditingToolsRedeyeTool* self, EditingToolsPhotoCanvas* canvas) {
EditingToolsPhotoCanvas* _tmp0_ = NULL;
EditingToolsPhotoCanvas* _tmp1_ = NULL;
-#line 2094 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2099 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_REDEYE_TOOL (self));
-#line 2094 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2099 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_PHOTO_CANVAS (canvas));
-#line 2095 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2100 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = canvas;
-#line 2095 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2100 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_connect (_tmp0_, "new-surface", (GCallback) _editing_tools_redeye_tool_prepare_ctx_editing_tools_photo_canvas_new_surface, self);
-#line 2096 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2101 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = canvas;
-#line 2096 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2101 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_connect (_tmp1_, "resized-scaled-pixbuf", (GCallback) _editing_tools_redeye_tool_on_canvas_resize_editing_tools_photo_canvas_resized_scaled_pixbuf, self);
-#line 14265 "EditingTools.c"
+#line 14274 "EditingTools.c"
}
@@ -14270,46 +14279,46 @@ static void editing_tools_redeye_tool_unbind_canvas_handlers (EditingToolsRedeye
guint _tmp1_ = 0U;
EditingToolsPhotoCanvas* _tmp2_ = NULL;
guint _tmp3_ = 0U;
-#line 2099 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2104 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_REDEYE_TOOL (self));
-#line 2099 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2104 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_PHOTO_CANVAS (canvas));
-#line 2100 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2105 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = canvas;
-#line 2100 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2105 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_parse_name ("new-surface", EDITING_TOOLS_TYPE_PHOTO_CANVAS, &_tmp1_, NULL, FALSE);
-#line 2100 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2105 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_handlers_disconnect_matched (_tmp0_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp1_, 0, NULL, (GCallback) _editing_tools_redeye_tool_prepare_ctx_editing_tools_photo_canvas_new_surface, self);
-#line 2101 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2106 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = canvas;
-#line 2101 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2106 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_parse_name ("resized-scaled-pixbuf", EDITING_TOOLS_TYPE_PHOTO_CANVAS, &_tmp3_, NULL, FALSE);
-#line 2101 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2106 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_handlers_disconnect_matched (_tmp2_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp3_, 0, NULL, (GCallback) _editing_tools_redeye_tool_on_canvas_resize_editing_tools_photo_canvas_resized_scaled_pixbuf, self);
-#line 14290 "EditingTools.c"
+#line 14299 "EditingTools.c"
}
static void _editing_tools_redeye_tool_on_apply_gtk_button_clicked (GtkButton* _sender, gpointer self) {
-#line 2105 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2110 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_redeye_tool_on_apply ((EditingToolsRedeyeTool*) self);
-#line 14297 "EditingTools.c"
+#line 14306 "EditingTools.c"
}
static void _editing_tools_redeye_tool_on_close_gtk_button_clicked (GtkButton* _sender, gpointer self) {
-#line 2106 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2111 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_redeye_tool_on_close ((EditingToolsRedeyeTool*) self);
-#line 14304 "EditingTools.c"
+#line 14313 "EditingTools.c"
}
static gboolean _editing_tools_redeye_tool_on_size_slider_adjust_gtk_range_change_value (GtkRange* _sender, GtkScrollType scroll, gdouble new_value, gpointer self) {
gboolean result;
result = editing_tools_redeye_tool_on_size_slider_adjust ((EditingToolsRedeyeTool*) self, scroll);
-#line 2107 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2112 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return result;
-#line 14313 "EditingTools.c"
+#line 14322 "EditingTools.c"
}
@@ -14320,27 +14329,27 @@ static void editing_tools_redeye_tool_bind_window_handlers (EditingToolsRedeyeTo
GtkButton* _tmp3_ = NULL;
EditingToolsRedeyeToolRedeyeToolWindow* _tmp4_ = NULL;
GtkScale* _tmp5_ = NULL;
-#line 2104 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2109 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_REDEYE_TOOL (self));
-#line 2105 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2110 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = self->priv->redeye_tool_window;
-#line 2105 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2110 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = _tmp0_->apply_button;
-#line 2105 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2110 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_connect (_tmp1_, "clicked", (GCallback) _editing_tools_redeye_tool_on_apply_gtk_button_clicked, self);
-#line 2106 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2111 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = self->priv->redeye_tool_window;
-#line 2106 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2111 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = _tmp2_->close_button;
-#line 2106 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2111 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_connect (_tmp3_, "clicked", (GCallback) _editing_tools_redeye_tool_on_close_gtk_button_clicked, self);
-#line 2107 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2112 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = self->priv->redeye_tool_window;
-#line 2107 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2112 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = _tmp4_->slider;
-#line 2107 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2112 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_range_get_type (), GtkRange), "change-value", (GCallback) _editing_tools_redeye_tool_on_size_slider_adjust_gtk_range_change_value, self);
-#line 14344 "EditingTools.c"
+#line 14353 "EditingTools.c"
}
@@ -14354,33 +14363,33 @@ static void editing_tools_redeye_tool_unbind_window_handlers (EditingToolsRedeye
EditingToolsRedeyeToolRedeyeToolWindow* _tmp6_ = NULL;
GtkScale* _tmp7_ = NULL;
guint _tmp8_ = 0U;
-#line 2110 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2115 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_REDEYE_TOOL (self));
-#line 2111 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2116 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = self->priv->redeye_tool_window;
-#line 2111 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2116 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = _tmp0_->apply_button;
-#line 2111 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2116 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_parse_name ("clicked", gtk_button_get_type (), &_tmp2_, NULL, FALSE);
-#line 2111 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2116 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_handlers_disconnect_matched (_tmp1_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp2_, 0, NULL, (GCallback) _editing_tools_redeye_tool_on_apply_gtk_button_clicked, self);
-#line 2112 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2117 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = self->priv->redeye_tool_window;
-#line 2112 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2117 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = _tmp3_->close_button;
-#line 2112 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2117 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_parse_name ("clicked", gtk_button_get_type (), &_tmp5_, NULL, FALSE);
-#line 2112 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2117 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_handlers_disconnect_matched (_tmp4_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp5_, 0, NULL, (GCallback) _editing_tools_redeye_tool_on_close_gtk_button_clicked, self);
-#line 2113 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2118 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = self->priv->redeye_tool_window;
-#line 2113 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2118 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = _tmp6_->slider;
-#line 2113 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2118 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_parse_name ("change-value", gtk_range_get_type (), &_tmp8_, NULL, FALSE);
-#line 2113 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2118 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_range_get_type (), GtkRange), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp8_, 0, NULL, (GCallback) _editing_tools_redeye_tool_on_size_slider_adjust_gtk_range_change_value, self);
-#line 14384 "EditingTools.c"
+#line 14393 "EditingTools.c"
}
@@ -14389,17 +14398,17 @@ static EditingToolsEditingToolWindow* editing_tools_redeye_tool_real_get_tool_wi
EditingToolsEditingToolWindow* result = NULL;
EditingToolsRedeyeToolRedeyeToolWindow* _tmp0_ = NULL;
EditingToolsEditingToolWindow* _tmp1_ = NULL;
-#line 2116 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2121 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, EDITING_TOOLS_TYPE_REDEYE_TOOL, EditingToolsRedeyeTool);
-#line 2117 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2122 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = self->priv->redeye_tool_window;
-#line 2117 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2122 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, EDITING_TOOLS_TYPE_EDITING_TOOL_WINDOW, EditingToolsEditingToolWindow));
-#line 2117 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2122 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
result = _tmp1_;
-#line 2117 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2122 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return result;
-#line 14403 "EditingTools.c"
+#line 14412 "EditingTools.c"
}
@@ -14415,64 +14424,64 @@ static void editing_tools_redeye_tool_real_paint (EditingToolsEditingTool* base,
GdkPoint _tmp10_ = {0};
GdkPoint _tmp11_ = {0};
EditingToolsRedeyeInstance _tmp12_ = {0};
-#line 2120 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2125 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, EDITING_TOOLS_TYPE_REDEYE_TOOL, EditingToolsRedeyeTool);
-#line 2120 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2125 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (ctx != NULL);
-#line 2121 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2126 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = self->priv->current_pixbuf;
-#line 2121 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2126 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp1_ != NULL) {
-#line 14427 "EditingTools.c"
+#line 14436 "EditingTools.c"
GdkPixbuf* _tmp2_ = NULL;
GdkPixbuf* _tmp3_ = NULL;
-#line 2121 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2126 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = self->priv->current_pixbuf;
-#line 2121 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2126 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = _g_object_ref0 (_tmp2_);
-#line 2121 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2126 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (_tmp0_);
-#line 2121 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2126 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = _tmp3_;
-#line 14438 "EditingTools.c"
+#line 14447 "EditingTools.c"
} else {
EditingToolsPhotoCanvas* _tmp4_ = NULL;
GdkPixbuf* _tmp5_ = NULL;
-#line 2121 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2126 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 2121 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2126 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = editing_tools_photo_canvas_get_scaled_pixbuf (_tmp4_);
-#line 2121 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2126 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (_tmp0_);
-#line 2121 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2126 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = _tmp5_;
-#line 14450 "EditingTools.c"
+#line 14459 "EditingTools.c"
}
-#line 2121 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2126 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 2121 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2126 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_photo_canvas_paint_pixbuf (_tmp6_, _tmp0_);
-#line 2125 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2130 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = self->priv->user_interaction_instance;
-#line 2125 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2130 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
active_inst = _tmp7_;
-#line 2126 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2131 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 2126 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2131 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = self->priv->user_interaction_instance;
-#line 2126 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2131 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp10_ = _tmp9_.center;
-#line 2126 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2131 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_photo_canvas_user_to_active_point (_tmp8_, &_tmp10_, &_tmp11_);
-#line 2126 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2131 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
active_inst.center = _tmp11_;
-#line 2128 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2133 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp12_ = active_inst;
-#line 2128 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2133 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_redeye_tool_draw_redeye_instance (self, &_tmp12_);
-#line 2120 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2125 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (_tmp0_);
-#line 14476 "EditingTools.c"
+#line 14485 "EditingTools.c"
}
@@ -14485,70 +14494,70 @@ static void editing_tools_redeye_tool_real_on_left_click (EditingToolsEditingToo
gint _tmp3_ = 0;
GdkRectangle _tmp4_ = {0};
gboolean _tmp5_ = FALSE;
-#line 2131 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2136 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, EDITING_TOOLS_TYPE_REDEYE_TOOL, EditingToolsRedeyeTool);
-#line 2132 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2137 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = self->priv->user_interaction_instance;
-#line 2132 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2137 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_redeye_instance_to_bounds_rect (&_tmp0_, &_tmp1_);
-#line 2132 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2137 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
bounds_rect = _tmp1_;
-#line 2135 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2140 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = x;
-#line 2135 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2140 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = y;
-#line 2135 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2140 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = bounds_rect;
-#line 2135 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2140 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = coord_in_rectangle (_tmp2_, _tmp3_, &_tmp4_);
-#line 2135 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2140 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp5_) {
-#line 14507 "EditingTools.c"
+#line 14516 "EditingTools.c"
gint _tmp6_ = 0;
gint _tmp7_ = 0;
EditingToolsRedeyeInstance _tmp8_ = {0};
GdkPoint _tmp9_ = {0};
-#line 2136 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2141 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->is_reticle_move_in_progress = TRUE;
-#line 2137 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2142 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = x;
-#line 2137 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2142 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->reticle_move_mouse_start_point.x = _tmp6_;
-#line 2138 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2143 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = y;
-#line 2138 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2143 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->reticle_move_mouse_start_point.y = _tmp7_;
-#line 2139 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2144 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = self->priv->user_interaction_instance;
-#line 2139 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2144 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = _tmp8_.center;
-#line 2139 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2144 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->reticle_move_anchor = _tmp9_;
-#line 14528 "EditingTools.c"
+#line 14537 "EditingTools.c"
}
}
static void editing_tools_redeye_tool_real_on_left_released (EditingToolsEditingTool* base, gint x, gint y) {
EditingToolsRedeyeTool * self;
-#line 2143 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2148 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, EDITING_TOOLS_TYPE_REDEYE_TOOL, EditingToolsRedeyeTool);
-#line 2144 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2149 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->is_reticle_move_in_progress = FALSE;
-#line 14539 "EditingTools.c"
+#line 14548 "EditingTools.c"
}
static void editing_tools_redeye_tool_real_on_motion (EditingToolsEditingTool* base, gint x, gint y, GdkModifierType mask) {
EditingToolsRedeyeTool * self;
gboolean _tmp0_ = FALSE;
-#line 2147 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2152 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, EDITING_TOOLS_TYPE_REDEYE_TOOL, EditingToolsRedeyeTool);
-#line 2148 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2153 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = self->priv->is_reticle_move_in_progress;
-#line 2148 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2153 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp0_) {
-#line 14552 "EditingTools.c"
+#line 14561 "EditingTools.c"
GdkRectangle active_region_rect = {0};
EditingToolsPhotoCanvas* _tmp1_ = NULL;
GdkRectangle _tmp2_ = {0};
@@ -14603,125 +14612,125 @@ static void editing_tools_redeye_tool_real_on_motion (EditingToolsEditingTool* b
gint _tmp45_ = 0;
gint _tmp46_ = 0;
EditingToolsPhotoCanvas* _tmp47_ = NULL;
-#line 2150 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2155 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 2150 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2155 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_photo_canvas_get_scaled_pixbuf_position (_tmp1_, &_tmp2_);
-#line 2150 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2155 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
active_region_rect = _tmp2_;
-#line 2153 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2158 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = active_region_rect;
-#line 2153 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2158 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = _tmp3_.x;
-#line 2153 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2158 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = self->priv->user_interaction_instance;
-#line 2153 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2158 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = _tmp5_.radius;
-#line 2153 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2158 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
x_clamp_low = (_tmp4_ + _tmp6_) + 1;
-#line 2155 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2160 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = active_region_rect;
-#line 2155 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2160 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = _tmp7_.y;
-#line 2155 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2160 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = self->priv->user_interaction_instance;
-#line 2155 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2160 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp10_ = _tmp9_.radius;
-#line 2155 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2160 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
y_clamp_low = (_tmp8_ + _tmp10_) + 1;
-#line 2157 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2162 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp11_ = active_region_rect;
-#line 2157 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2162 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp12_ = _tmp11_.x;
-#line 2157 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2162 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp13_ = active_region_rect;
-#line 2157 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2162 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp14_ = _tmp13_.width;
-#line 2157 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2162 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp15_ = self->priv->user_interaction_instance;
-#line 2157 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2162 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp16_ = _tmp15_.radius;
-#line 2157 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2162 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
x_clamp_high = ((_tmp12_ + _tmp14_) - _tmp16_) - 1;
-#line 2160 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2165 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp17_ = active_region_rect;
-#line 2160 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2165 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp18_ = _tmp17_.y;
-#line 2160 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2165 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp19_ = active_region_rect;
-#line 2160 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2165 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp20_ = _tmp19_.height;
-#line 2160 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2165 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp21_ = self->priv->user_interaction_instance;
-#line 2160 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2165 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp22_ = _tmp21_.radius;
-#line 2160 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2165 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
y_clamp_high = ((_tmp18_ + _tmp20_) - _tmp22_) - 1;
-#line 2164 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2169 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp23_ = x;
-#line 2164 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2169 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp24_ = self->priv->reticle_move_mouse_start_point;
-#line 2164 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2169 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp25_ = _tmp24_.x;
-#line 2164 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2169 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
delta_x = _tmp23_ - _tmp25_;
-#line 2165 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2170 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp26_ = y;
-#line 2165 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2170 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp27_ = self->priv->reticle_move_mouse_start_point;
-#line 2165 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2170 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp28_ = _tmp27_.y;
-#line 2165 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2170 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
delta_y = _tmp26_ - _tmp28_;
-#line 2167 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2172 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp29_ = self->priv->reticle_move_anchor;
-#line 2167 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2172 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp30_ = _tmp29_.x;
-#line 2167 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2172 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp31_ = delta_x;
-#line 2167 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2172 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->user_interaction_instance.center.x = _tmp30_ + _tmp31_;
-#line 2169 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2174 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp32_ = self->priv->reticle_move_anchor;
-#line 2169 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2174 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp33_ = _tmp32_.y;
-#line 2169 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2174 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp34_ = delta_y;
-#line 2169 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2174 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->user_interaction_instance.center.y = _tmp33_ + _tmp34_;
-#line 2172 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2177 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp35_ = self->priv->reticle_move_anchor;
-#line 2172 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2177 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp36_ = _tmp35_.x;
-#line 2172 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2177 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp37_ = delta_x;
-#line 2172 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2177 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp38_ = x_clamp_low;
-#line 2172 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2177 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp39_ = x_clamp_high;
-#line 2172 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2177 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp40_ = CLAMP (_tmp36_ + _tmp37_, _tmp38_, _tmp39_);
-#line 2172 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2177 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->user_interaction_instance.center.x = _tmp40_;
-#line 2175 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2180 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp41_ = self->priv->reticle_move_anchor;
-#line 2175 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2180 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp42_ = _tmp41_.y;
-#line 2175 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2180 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp43_ = delta_y;
-#line 2175 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2180 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp44_ = y_clamp_low;
-#line 2175 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2180 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp45_ = y_clamp_high;
-#line 2175 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2180 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp46_ = CLAMP (_tmp42_ + _tmp43_, _tmp44_, _tmp45_);
-#line 2175 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2180 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->user_interaction_instance.center.y = _tmp46_;
-#line 2179 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2184 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp47_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 2179 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2184 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_photo_canvas_repaint (_tmp47_);
-#line 14725 "EditingTools.c"
+#line 14734 "EditingTools.c"
} else {
GdkRectangle bounds = {0};
EditingToolsRedeyeInstance _tmp48_ = {0};
@@ -14730,58 +14739,58 @@ static void editing_tools_redeye_tool_real_on_motion (EditingToolsEditingTool* b
gint _tmp51_ = 0;
GdkRectangle _tmp52_ = {0};
gboolean _tmp53_ = FALSE;
-#line 2181 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2186 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp48_ = self->priv->user_interaction_instance;
-#line 2181 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2186 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_redeye_instance_to_bounds_rect (&_tmp48_, &_tmp49_);
-#line 2181 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2186 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
bounds = _tmp49_;
-#line 2184 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2189 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp50_ = x;
-#line 2184 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2189 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp51_ = y;
-#line 2184 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2189 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp52_ = bounds;
-#line 2184 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2189 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp53_ = coord_in_rectangle (_tmp50_, _tmp51_, &_tmp52_);
-#line 2184 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2189 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp53_) {
-#line 14750 "EditingTools.c"
+#line 14759 "EditingTools.c"
EditingToolsPhotoCanvas* _tmp54_ = NULL;
GdkWindow* _tmp55_ = NULL;
GdkWindow* _tmp56_ = NULL;
GdkCursor* _tmp57_ = NULL;
-#line 2185 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2190 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp54_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 2185 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2190 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp55_ = editing_tools_photo_canvas_get_drawing_window (_tmp54_);
-#line 2185 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2190 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp56_ = _tmp55_;
-#line 2185 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2190 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp57_ = self->priv->cached_grab_cursor;
-#line 2185 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2190 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gdk_window_set_cursor (_tmp56_, _tmp57_);
-#line 2185 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2190 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (_tmp56_);
-#line 14767 "EditingTools.c"
+#line 14776 "EditingTools.c"
} else {
EditingToolsPhotoCanvas* _tmp58_ = NULL;
GdkWindow* _tmp59_ = NULL;
GdkWindow* _tmp60_ = NULL;
GdkCursor* _tmp61_ = NULL;
-#line 2187 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2192 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp58_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 2187 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2192 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp59_ = editing_tools_photo_canvas_get_drawing_window (_tmp58_);
-#line 2187 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2192 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp60_ = _tmp59_;
-#line 2187 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2192 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp61_ = self->priv->cached_arrow_cursor;
-#line 2187 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2192 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gdk_window_set_cursor (_tmp60_, _tmp61_);
-#line 2187 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2192 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (_tmp60_);
-#line 14785 "EditingTools.c"
+#line 14794 "EditingTools.c"
}
}
}
@@ -14797,73 +14806,73 @@ static gboolean editing_tools_redeye_tool_real_on_keypress (EditingToolsEditingT
const gchar* _tmp4_ = NULL;
GdkEventKey* _tmp11_ = NULL;
gboolean _tmp12_ = FALSE;
-#line 2192 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2197 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, EDITING_TOOLS_TYPE_REDEYE_TOOL, EditingToolsRedeyeTool);
-#line 2192 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2197 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 2193 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2198 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = event;
-#line 2193 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2198 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = _tmp2_->keyval;
-#line 2193 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2198 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = gdk_keyval_name (_tmp3_);
-#line 2193 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2198 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (g_strcmp0 (_tmp4_, "KP_Enter") == 0) {
-#line 2193 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2198 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = TRUE;
-#line 14815 "EditingTools.c"
+#line 14824 "EditingTools.c"
} else {
GdkEventKey* _tmp5_ = NULL;
guint _tmp6_ = 0U;
const gchar* _tmp7_ = NULL;
-#line 2194 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2199 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = event;
-#line 2194 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2199 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = _tmp5_->keyval;
-#line 2194 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2199 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = gdk_keyval_name (_tmp6_);
-#line 2194 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2199 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = g_strcmp0 (_tmp7_, "Enter") == 0;
-#line 14828 "EditingTools.c"
+#line 14837 "EditingTools.c"
}
-#line 2193 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2198 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp1_) {
-#line 2193 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2198 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = TRUE;
-#line 14834 "EditingTools.c"
+#line 14843 "EditingTools.c"
} else {
GdkEventKey* _tmp8_ = NULL;
guint _tmp9_ = 0U;
const gchar* _tmp10_ = NULL;
-#line 2195 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2200 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = event;
-#line 2195 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2200 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = _tmp8_->keyval;
-#line 2195 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2200 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp10_ = gdk_keyval_name (_tmp9_);
-#line 2195 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2200 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = g_strcmp0 (_tmp10_, "Return") == 0;
-#line 14847 "EditingTools.c"
+#line 14856 "EditingTools.c"
}
-#line 2193 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2198 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp0_) {
-#line 2196 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2201 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_redeye_tool_on_close (self);
-#line 2197 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2202 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
result = TRUE;
-#line 2197 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2202 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return result;
-#line 14857 "EditingTools.c"
+#line 14866 "EditingTools.c"
}
-#line 2200 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2205 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp11_ = event;
-#line 2200 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2205 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp12_ = EDITING_TOOLS_EDITING_TOOL_CLASS (editing_tools_redeye_tool_parent_class)->on_keypress (G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool), _tmp11_);
-#line 2200 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2205 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
result = _tmp12_;
-#line 2200 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2205 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return result;
-#line 14867 "EditingTools.c"
+#line 14876 "EditingTools.c"
}
@@ -14884,87 +14893,87 @@ static EditingToolsRedeyeToolRedeyeToolWindow* editing_tools_redeye_tool_redeye_
GtkScale* _tmp11_ = NULL;
GtkButton* _tmp12_ = NULL;
GtkButton* _tmp13_ = NULL;
-#line 1884 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1889 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (GTK_IS_WINDOW (container), NULL);
-#line 1885 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1890 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = container;
-#line 1885 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1890 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self = (EditingToolsRedeyeToolRedeyeToolWindow*) editing_tools_editing_tool_window_construct (object_type, _tmp0_);
-#line 1887 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1892 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = self->slider;
-#line 1887 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1892 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_widget_set_size_request (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_widget_get_type (), GtkWidget), 80, -1);
-#line 1888 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1893 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = self->slider;
-#line 1888 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1893 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_scale_set_draw_value (_tmp2_, FALSE);
-#line 1890 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1895 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = self->close_button;
-#line 1890 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1895 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = _ ("Close the red-eye tool");
-#line 1890 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1895 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_widget_set_tooltip_text (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_widget_get_type (), GtkWidget), _tmp4_);
-#line 1891 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1896 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = self->close_button;
-#line 1891 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1896 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_button_set_image_position (_tmp5_, GTK_POS_LEFT);
-#line 1893 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1898 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = self->apply_button;
-#line 1893 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1898 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = _ ("Remove any red-eye effects in the selected region");
-#line 1893 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1898 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_widget_set_tooltip_text (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, gtk_widget_get_type (), GtkWidget), _tmp7_);
-#line 1894 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1899 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = self->apply_button;
-#line 1894 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1899 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_button_set_image_position (_tmp8_, GTK_POS_LEFT);
-#line 1896 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1901 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, EDITING_TOOLS_REDEYE_TOOL_REDEYE_TOOL_WINDOW_CONTROL_SPACING);
-#line 1896 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1901 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_object_ref_sink (_tmp9_);
-#line 1896 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1901 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
layout = _tmp9_;
-#line 1897 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1902 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp10_ = self->priv->slider_label;
-#line 1897 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1902 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (layout, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, gtk_widget_get_type (), GtkWidget));
-#line 1898 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1903 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp11_ = self->slider;
-#line 1898 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1903 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (layout, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, gtk_widget_get_type (), GtkWidget));
-#line 1899 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1904 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp12_ = self->close_button;
-#line 1899 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1904 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (layout, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, gtk_widget_get_type (), GtkWidget));
-#line 1900 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1905 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp13_ = self->apply_button;
-#line 1900 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1905 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (layout, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, gtk_widget_get_type (), GtkWidget));
-#line 1902 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1907 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (layout, gtk_widget_get_type (), GtkWidget));
-#line 1884 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1889 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (layout);
-#line 1884 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1889 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return self;
-#line 14950 "EditingTools.c"
+#line 14959 "EditingTools.c"
}
static EditingToolsRedeyeToolRedeyeToolWindow* editing_tools_redeye_tool_redeye_tool_window_new (GtkWindow* container) {
-#line 1884 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1889 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return editing_tools_redeye_tool_redeye_tool_window_construct (EDITING_TOOLS_REDEYE_TOOL_TYPE_REDEYE_TOOL_WINDOW, container);
-#line 14957 "EditingTools.c"
+#line 14966 "EditingTools.c"
}
static void editing_tools_redeye_tool_redeye_tool_window_class_init (EditingToolsRedeyeToolRedeyeToolWindowClass * klass) {
-#line 1872 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1877 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_redeye_tool_redeye_tool_window_parent_class = g_type_class_peek_parent (klass);
-#line 1872 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1877 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_type_class_add_private (klass, sizeof (EditingToolsRedeyeToolRedeyeToolWindowPrivate));
-#line 1872 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1877 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
G_OBJECT_CLASS (klass)->finalize = editing_tools_redeye_tool_redeye_tool_window_finalize;
-#line 14968 "EditingTools.c"
+#line 14977 "EditingTools.c"
}
@@ -14974,53 +14983,53 @@ static void editing_tools_redeye_tool_redeye_tool_window_instance_init (EditingT
GtkButton* _tmp2_ = NULL;
GtkButton* _tmp3_ = NULL;
GtkScale* _tmp4_ = NULL;
-#line 1872 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1877 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv = EDITING_TOOLS_REDEYE_TOOL_REDEYE_TOOL_WINDOW_GET_PRIVATE (self);
-#line 1875 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1880 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = _ ("Size:");
-#line 1875 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1880 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = (GtkLabel*) gtk_label_new_with_mnemonic (_tmp0_);
-#line 1875 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1880 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_object_ref_sink (_tmp1_);
-#line 1875 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1880 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->slider_label = _tmp1_;
-#line 1877 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1882 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = (GtkButton*) gtk_button_new_with_mnemonic (RESOURCES_APPLY_LABEL);
-#line 1877 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1882 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_object_ref_sink (_tmp2_);
-#line 1877 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1882 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->apply_button = _tmp2_;
-#line 1879 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1884 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = (GtkButton*) gtk_button_new_with_mnemonic (RESOURCES_CANCEL_LABEL);
-#line 1879 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1884 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_object_ref_sink (_tmp3_);
-#line 1879 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1884 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->close_button = _tmp3_;
-#line 1881 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1886 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = (GtkScale*) gtk_scale_new_with_range (GTK_ORIENTATION_HORIZONTAL, (gdouble) EDITING_TOOLS_REDEYE_INSTANCE_MIN_RADIUS, (gdouble) EDITING_TOOLS_REDEYE_INSTANCE_MAX_RADIUS, 1.0);
-#line 1881 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1886 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_object_ref_sink (_tmp4_);
-#line 1881 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1886 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->slider = _tmp4_;
-#line 15006 "EditingTools.c"
+#line 15015 "EditingTools.c"
}
static void editing_tools_redeye_tool_redeye_tool_window_finalize (GObject* obj) {
EditingToolsRedeyeToolRedeyeToolWindow * self;
-#line 1872 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1877 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, EDITING_TOOLS_REDEYE_TOOL_TYPE_REDEYE_TOOL_WINDOW, EditingToolsRedeyeToolRedeyeToolWindow);
-#line 1875 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1880 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (self->priv->slider_label);
-#line 1877 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1882 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (self->apply_button);
-#line 1879 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1884 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (self->close_button);
-#line 1881 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1886 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (self->slider);
-#line 1872 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1877 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
G_OBJECT_CLASS (editing_tools_redeye_tool_redeye_tool_window_parent_class)->finalize (obj);
-#line 15024 "EditingTools.c"
+#line 15033 "EditingTools.c"
}
@@ -15037,68 +15046,68 @@ static GType editing_tools_redeye_tool_redeye_tool_window_get_type (void) {
static void editing_tools_redeye_tool_class_init (EditingToolsRedeyeToolClass * klass) {
-#line 1871 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1876 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_redeye_tool_parent_class = g_type_class_peek_parent (klass);
-#line 1871 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1876 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
((EditingToolsEditingToolClass *) klass)->finalize = editing_tools_redeye_tool_finalize;
-#line 1871 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1876 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_type_class_add_private (klass, sizeof (EditingToolsRedeyeToolPrivate));
-#line 1871 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1876 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
((EditingToolsEditingToolClass *) klass)->activate = editing_tools_redeye_tool_real_activate;
-#line 1871 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1876 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
((EditingToolsEditingToolClass *) klass)->deactivate = editing_tools_redeye_tool_real_deactivate;
-#line 1871 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1876 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
((EditingToolsEditingToolClass *) klass)->get_tool_window = editing_tools_redeye_tool_real_get_tool_window;
-#line 1871 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1876 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
((EditingToolsEditingToolClass *) klass)->paint = editing_tools_redeye_tool_real_paint;
-#line 1871 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1876 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
((EditingToolsEditingToolClass *) klass)->on_left_click = editing_tools_redeye_tool_real_on_left_click;
-#line 1871 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1876 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
((EditingToolsEditingToolClass *) klass)->on_left_released = editing_tools_redeye_tool_real_on_left_released;
-#line 1871 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1876 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
((EditingToolsEditingToolClass *) klass)->on_motion = editing_tools_redeye_tool_real_on_motion;
-#line 1871 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1876 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
((EditingToolsEditingToolClass *) klass)->on_keypress = editing_tools_redeye_tool_real_on_keypress;
-#line 15063 "EditingTools.c"
+#line 15072 "EditingTools.c"
}
static void editing_tools_redeye_tool_instance_init (EditingToolsRedeyeTool * self) {
-#line 1871 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1876 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv = EDITING_TOOLS_REDEYE_TOOL_GET_PRIVATE (self);
-#line 1906 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1911 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->thin_white_ctx = NULL;
-#line 1907 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1912 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->wider_gray_ctx = NULL;
-#line 1908 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1913 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->redeye_tool_window = NULL;
-#line 1910 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1915 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->is_reticle_move_in_progress = FALSE;
-#line 1916 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1921 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->current_pixbuf = NULL;
-#line 15080 "EditingTools.c"
+#line 15089 "EditingTools.c"
}
static void editing_tools_redeye_tool_finalize (EditingToolsEditingTool* obj) {
EditingToolsRedeyeTool * self;
-#line 1871 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1876 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, EDITING_TOOLS_TYPE_REDEYE_TOOL, EditingToolsRedeyeTool);
-#line 1906 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1911 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_cairo_destroy0 (self->priv->thin_white_ctx);
-#line 1907 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1912 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_cairo_destroy0 (self->priv->wider_gray_ctx);
-#line 1908 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
- _g_object_unref0 (self->priv->redeye_tool_window);
#line 1913 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+ _g_object_unref0 (self->priv->redeye_tool_window);
+#line 1918 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (self->priv->cached_arrow_cursor);
-#line 1914 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1919 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (self->priv->cached_grab_cursor);
-#line 1916 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1921 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (self->priv->current_pixbuf);
-#line 1871 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 1876 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
EDITING_TOOLS_EDITING_TOOL_CLASS (editing_tools_redeye_tool_parent_class)->finalize (obj);
-#line 15102 "EditingTools.c"
+#line 15111 "EditingTools.c"
}
@@ -15116,52 +15125,52 @@ GType editing_tools_redeye_tool_get_type (void) {
static EditingToolsAdjustTool* editing_tools_adjust_tool_construct (GType object_type) {
EditingToolsAdjustTool* self = NULL;
-#line 2515 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2520 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self = (EditingToolsAdjustTool*) editing_tools_editing_tool_construct (object_type, "AdjustTool");
-#line 2514 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2519 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return self;
-#line 15124 "EditingTools.c"
+#line 15133 "EditingTools.c"
}
static EditingToolsAdjustTool* editing_tools_adjust_tool_new (void) {
-#line 2514 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2519 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return editing_tools_adjust_tool_construct (EDITING_TOOLS_TYPE_ADJUST_TOOL);
-#line 15131 "EditingTools.c"
+#line 15140 "EditingTools.c"
}
EditingToolsAdjustTool* editing_tools_adjust_tool_factory (void) {
EditingToolsAdjustTool* result = NULL;
EditingToolsAdjustTool* _tmp0_ = NULL;
-#line 2519 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2524 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = editing_tools_adjust_tool_new ();
-#line 2519 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2524 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
result = _tmp0_;
-#line 2519 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2524 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return result;
-#line 15144 "EditingTools.c"
+#line 15153 "EditingTools.c"
}
gboolean editing_tools_adjust_tool_is_available (Photo* photo, Scaling* scaling) {
gboolean result = FALSE;
-#line 2522 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2527 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (IS_PHOTO (photo), FALSE);
-#line 2522 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2527 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (scaling != NULL, FALSE);
-#line 2523 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2528 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
result = TRUE;
-#line 2523 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2528 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return result;
-#line 15158 "EditingTools.c"
+#line 15167 "EditingTools.c"
}
static void _editing_tools_adjust_tool_on_photos_altered_data_collection_items_altered (DataCollection* _sender, GeeMap* items, gpointer self) {
-#line 2612 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2617 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_adjust_tool_on_photos_altered ((EditingToolsAdjustTool*) self, items);
-#line 15165 "EditingTools.c"
+#line 15174 "EditingTools.c"
}
@@ -15283,351 +15292,351 @@ static void editing_tools_adjust_tool_real_activate (EditingToolsEditingTool* ba
DataCollection* _tmp122_ = NULL;
DataCollection* _tmp123_ = NULL;
EditingToolsPhotoCanvas* _tmp125_ = NULL;
-#line 2526 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2531 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, EDITING_TOOLS_TYPE_ADJUST_TOOL, EditingToolsAdjustTool);
-#line 2526 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2531 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_PHOTO_CANVAS (canvas));
-#line 2527 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2532 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = canvas;
-#line 2527 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2532 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = editing_tools_photo_canvas_get_container (_tmp0_);
-#line 2527 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2532 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = _tmp1_;
-#line 2527 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2532 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = editing_tools_adjust_tool_adjust_tool_window_new (_tmp2_);
-#line 2527 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2532 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_object_ref_sink (_tmp3_);
-#line 2527 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2532 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (self->priv->adjust_tool_window);
-#line 2527 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2532 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->adjust_tool_window = _tmp3_;
-#line 2527 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2532 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (_tmp2_);
-#line 2529 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2534 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = canvas;
-#line 2529 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2534 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = editing_tools_photo_canvas_get_photo (_tmp4_);
-#line 2529 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2534 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
photo = _tmp5_;
-#line 2530 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2535 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = photo;
-#line 2530 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2535 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = photo_get_color_adjustments (_tmp6_);
-#line 2530 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2535 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_pixel_transformation_bundle_unref0 (self->priv->transformations);
-#line 2530 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2535 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->transformations = _tmp7_;
-#line 2531 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2536 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = self->priv->transformations;
-#line 2531 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2536 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = pixel_transformation_bundle_generate_transformer (_tmp8_);
-#line 2531 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2536 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_pixel_transformer_unref0 (self->priv->transformer);
-#line 2531 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2536 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->transformer = _tmp9_;
-#line 2534 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2539 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp10_ = pixel_transformer_new ();
-#line 2534 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2539 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_pixel_transformer_unref0 (self->priv->histogram_transformer);
-#line 2534 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2539 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->histogram_transformer = _tmp10_;
-#line 2537 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2542 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp11_ = self->priv->transformations;
-#line 2537 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2542 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp12_ = pixel_transformation_bundle_get_transformation (_tmp11_, PIXEL_TRANSFORMATION_TYPE_TONE_EXPANSION);
-#line 2537 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2542 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
expansion_trans = G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, TYPE_EXPANSION_TRANSFORMATION, ExpansionTransformation);
-#line 2539 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2544 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp13_ = self->priv->adjust_tool_window;
-#line 2539 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2544 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp14_ = _tmp13_->histogram_manipulator;
-#line 2539 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2544 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp15_ = expansion_trans;
-#line 2539 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2544 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp16_ = expansion_transformation_get_black_point (_tmp15_);
-#line 2539 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2544 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
rgb_histogram_manipulator_set_left_nub_position (_tmp14_, _tmp16_);
-#line 2541 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2546 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp17_ = self->priv->adjust_tool_window;
-#line 2541 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2546 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp18_ = _tmp17_->histogram_manipulator;
-#line 2541 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2546 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp19_ = expansion_trans;
-#line 2541 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2546 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp20_ = expansion_transformation_get_white_point (_tmp19_);
-#line 2541 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2546 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
rgb_histogram_manipulator_set_right_nub_position (_tmp18_, _tmp20_);
-#line 2545 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2550 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp21_ = self->priv->transformations;
-#line 2545 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2550 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp22_ = pixel_transformation_bundle_get_transformation (_tmp21_, PIXEL_TRANSFORMATION_TYPE_SHADOWS);
-#line 2545 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2550 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
shadows_trans = G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, TYPE_SHADOW_DETAIL_TRANSFORMATION, ShadowDetailTransformation);
-#line 2547 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2552 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp23_ = self->priv->histogram_transformer;
-#line 2547 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2552 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp24_ = shadows_trans;
-#line 2547 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2552 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
pixel_transformer_attach_transformation (_tmp23_, G_TYPE_CHECK_INSTANCE_CAST (_tmp24_, TYPE_PIXEL_TRANSFORMATION, PixelTransformation));
-#line 2548 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2553 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp25_ = self->priv->adjust_tool_window;
-#line 2548 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2553 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp26_ = _tmp25_->shadows_slider;
-#line 2548 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2553 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp27_ = shadows_trans;
-#line 2548 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2553 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp28_ = shadow_detail_transformation_get_parameter (_tmp27_);
-#line 2548 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2553 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_range_set_value (G_TYPE_CHECK_INSTANCE_CAST (_tmp26_, gtk_range_get_type (), GtkRange), (gdouble) _tmp28_);
-#line 2551 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2556 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp29_ = self->priv->transformations;
-#line 2551 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2556 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp30_ = pixel_transformation_bundle_get_transformation (_tmp29_, PIXEL_TRANSFORMATION_TYPE_HIGHLIGHTS);
-#line 2551 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2556 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
highlights_trans = G_TYPE_CHECK_INSTANCE_CAST (_tmp30_, TYPE_HIGHLIGHT_DETAIL_TRANSFORMATION, HighlightDetailTransformation);
-#line 2553 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2558 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp31_ = self->priv->histogram_transformer;
-#line 2553 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2558 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp32_ = highlights_trans;
-#line 2553 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2558 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
pixel_transformer_attach_transformation (_tmp31_, G_TYPE_CHECK_INSTANCE_CAST (_tmp32_, TYPE_PIXEL_TRANSFORMATION, PixelTransformation));
-#line 2554 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2559 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp33_ = self->priv->adjust_tool_window;
-#line 2554 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2559 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp34_ = _tmp33_->highlights_slider;
-#line 2554 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2559 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp35_ = highlights_trans;
-#line 2554 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2559 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp36_ = highlight_detail_transformation_get_parameter (_tmp35_);
-#line 2554 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2559 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_range_set_value (G_TYPE_CHECK_INSTANCE_CAST (_tmp34_, gtk_range_get_type (), GtkRange), (gdouble) _tmp36_);
-#line 2557 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2562 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp37_ = self->priv->transformations;
-#line 2557 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2562 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp38_ = pixel_transformation_bundle_get_transformation (_tmp37_, PIXEL_TRANSFORMATION_TYPE_TEMPERATURE);
-#line 2557 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2562 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
temp_trans = G_TYPE_CHECK_INSTANCE_CAST (_tmp38_, TYPE_TEMPERATURE_TRANSFORMATION, TemperatureTransformation);
-#line 2559 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2564 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp39_ = self->priv->histogram_transformer;
-#line 2559 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2564 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp40_ = temp_trans;
-#line 2559 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2564 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
pixel_transformer_attach_transformation (_tmp39_, G_TYPE_CHECK_INSTANCE_CAST (_tmp40_, TYPE_PIXEL_TRANSFORMATION, PixelTransformation));
-#line 2560 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2565 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp41_ = self->priv->adjust_tool_window;
-#line 2560 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2565 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp42_ = _tmp41_->temperature_slider;
-#line 2560 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2565 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp43_ = temp_trans;
-#line 2560 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2565 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp44_ = temperature_transformation_get_parameter (_tmp43_);
-#line 2560 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2565 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_range_set_value (G_TYPE_CHECK_INSTANCE_CAST (_tmp42_, gtk_range_get_type (), GtkRange), (gdouble) _tmp44_);
-#line 2562 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2567 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp45_ = self->priv->transformations;
-#line 2562 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2567 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp46_ = pixel_transformation_bundle_get_transformation (_tmp45_, PIXEL_TRANSFORMATION_TYPE_TINT);
-#line 2562 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2567 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
tint_trans = G_TYPE_CHECK_INSTANCE_CAST (_tmp46_, TYPE_TINT_TRANSFORMATION, TintTransformation);
-#line 2564 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2569 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp47_ = self->priv->histogram_transformer;
-#line 2564 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2569 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp48_ = tint_trans;
-#line 2564 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2569 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
pixel_transformer_attach_transformation (_tmp47_, G_TYPE_CHECK_INSTANCE_CAST (_tmp48_, TYPE_PIXEL_TRANSFORMATION, PixelTransformation));
-#line 2565 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2570 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp49_ = self->priv->adjust_tool_window;
-#line 2565 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2570 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp50_ = _tmp49_->tint_slider;
-#line 2565 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2570 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp51_ = tint_trans;
-#line 2565 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2570 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp52_ = tint_transformation_get_parameter (_tmp51_);
-#line 2565 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2570 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_range_set_value (G_TYPE_CHECK_INSTANCE_CAST (_tmp50_, gtk_range_get_type (), GtkRange), (gdouble) _tmp52_);
-#line 2568 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2573 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp53_ = self->priv->transformations;
-#line 2568 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2573 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp54_ = pixel_transformation_bundle_get_transformation (_tmp53_, PIXEL_TRANSFORMATION_TYPE_SATURATION);
-#line 2568 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2573 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
sat_trans = G_TYPE_CHECK_INSTANCE_CAST (_tmp54_, TYPE_SATURATION_TRANSFORMATION, SaturationTransformation);
-#line 2570 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2575 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp55_ = self->priv->histogram_transformer;
-#line 2570 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2575 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp56_ = sat_trans;
-#line 2570 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2575 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
pixel_transformer_attach_transformation (_tmp55_, G_TYPE_CHECK_INSTANCE_CAST (_tmp56_, TYPE_PIXEL_TRANSFORMATION, PixelTransformation));
-#line 2571 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2576 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp57_ = self->priv->adjust_tool_window;
-#line 2571 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2576 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp58_ = _tmp57_->saturation_slider;
-#line 2571 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2576 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp59_ = sat_trans;
-#line 2571 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2576 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp60_ = saturation_transformation_get_parameter (_tmp59_);
-#line 2571 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2576 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_range_set_value (G_TYPE_CHECK_INSTANCE_CAST (_tmp58_, gtk_range_get_type (), GtkRange), (gdouble) _tmp60_);
-#line 2574 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2579 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp61_ = self->priv->transformations;
-#line 2574 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2579 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp62_ = pixel_transformation_bundle_get_transformation (_tmp61_, PIXEL_TRANSFORMATION_TYPE_EXPOSURE);
-#line 2574 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2579 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
exposure_trans = G_TYPE_CHECK_INSTANCE_CAST (_tmp62_, TYPE_EXPOSURE_TRANSFORMATION, ExposureTransformation);
-#line 2576 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2581 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp63_ = self->priv->histogram_transformer;
-#line 2576 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2581 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp64_ = exposure_trans;
-#line 2576 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2581 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
pixel_transformer_attach_transformation (_tmp63_, G_TYPE_CHECK_INSTANCE_CAST (_tmp64_, TYPE_PIXEL_TRANSFORMATION, PixelTransformation));
-#line 2577 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2582 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp65_ = self->priv->adjust_tool_window;
-#line 2577 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2582 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp66_ = _tmp65_->exposure_slider;
-#line 2577 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2582 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp67_ = exposure_trans;
-#line 2577 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2582 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp68_ = exposure_transformation_get_parameter (_tmp67_);
-#line 2577 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2582 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_range_set_value (G_TYPE_CHECK_INSTANCE_CAST (_tmp66_, gtk_range_get_type (), GtkRange), (gdouble) _tmp68_);
-#line 2580 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2585 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp69_ = self->priv->transformations;
-#line 2580 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2585 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp70_ = pixel_transformation_bundle_get_transformation (_tmp69_, PIXEL_TRANSFORMATION_TYPE_CONTRAST);
-#line 2580 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2585 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
contrast_trans = G_TYPE_CHECK_INSTANCE_CAST (_tmp70_, TYPE_CONTRAST_TRANSFORMATION, ContrastTransformation);
-#line 2582 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2587 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp71_ = self->priv->histogram_transformer;
-#line 2582 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2587 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp72_ = contrast_trans;
-#line 2582 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2587 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
pixel_transformer_attach_transformation (_tmp71_, G_TYPE_CHECK_INSTANCE_CAST (_tmp72_, TYPE_PIXEL_TRANSFORMATION, PixelTransformation));
-#line 2583 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2588 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp73_ = self->priv->adjust_tool_window;
-#line 2583 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2588 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp74_ = _tmp73_->contrast_slider;
-#line 2583 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2588 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp75_ = contrast_trans;
-#line 2583 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2588 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp76_ = contrast_transformation_get_parameter (_tmp75_);
-#line 2583 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2588 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_range_set_value (G_TYPE_CHECK_INSTANCE_CAST (_tmp74_, gtk_range_get_type (), GtkRange), (gdouble) _tmp76_);
-#line 2585 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2590 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp77_ = canvas;
-#line 2585 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2590 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_adjust_tool_bind_canvas_handlers (self, _tmp77_);
-#line 2586 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2591 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_adjust_tool_bind_window_handlers (self);
-#line 2588 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2593 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp78_ = canvas;
-#line 2588 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2593 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp79_ = editing_tools_photo_canvas_get_scaled_pixbuf (_tmp78_);
-#line 2588 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2593 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp80_ = _tmp79_;
-#line 2588 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2593 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp81_ = gdk_pixbuf_copy (_tmp80_);
-#line 2588 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2593 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (self->priv->draw_to_pixbuf);
-#line 2588 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2593 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->draw_to_pixbuf = _tmp81_;
-#line 2588 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2593 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (_tmp80_);
-#line 2589 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2594 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp82_ = canvas;
-#line 2589 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2594 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp83_ = editing_tools_photo_canvas_get_scaled_pixbuf (_tmp82_);
-#line 2589 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2594 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp84_ = _tmp83_;
-#line 2589 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2594 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_adjust_tool_init_fp_pixel_cache (self, _tmp84_);
-#line 2589 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2594 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (_tmp84_);
-#line 2595 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2600 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp86_ = self->priv->draw_to_pixbuf;
-#line 2595 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2600 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp87_ = gdk_pixbuf_get_width (_tmp86_);
-#line 2595 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2600 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp88_ = _tmp87_;
-#line 2595 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2600 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp88_ == 1) {
-#line 15553 "EditingTools.c"
+#line 15562 "EditingTools.c"
GdkPixbuf* _tmp89_ = NULL;
gint _tmp90_ = 0;
gint _tmp91_ = 0;
-#line 2595 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2600 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp89_ = self->priv->draw_to_pixbuf;
-#line 2595 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2600 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp90_ = gdk_pixbuf_get_height (_tmp89_);
-#line 2595 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2600 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp91_ = _tmp90_;
-#line 2595 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2600 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp85_ = _tmp91_ == 1;
-#line 15565 "EditingTools.c"
+#line 15574 "EditingTools.c"
} else {
-#line 2595 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2600 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp85_ = FALSE;
-#line 15569 "EditingTools.c"
+#line 15578 "EditingTools.c"
}
-#line 2595 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2600 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp85_) {
-#line 2596 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2601 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->disable_histogram_refresh = TRUE;
-#line 15575 "EditingTools.c"
+#line 15584 "EditingTools.c"
}
-#line 2601 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2606 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp94_ = self->priv->draw_to_pixbuf;
-#line 2601 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2606 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp95_ = gdk_pixbuf_get_width (_tmp94_);
-#line 2601 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2606 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp96_ = _tmp95_;
-#line 2601 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2606 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp97_ = self->priv->draw_to_pixbuf;
-#line 2601 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2606 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp98_ = gdk_pixbuf_get_height (_tmp97_);
-#line 2601 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2606 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp99_ = _tmp98_;
-#line 2601 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2606 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if ((_tmp96_ * _tmp99_) > 8192) {
-#line 15591 "EditingTools.c"
+#line 15600 "EditingTools.c"
GdkPixbuf* _tmp100_ = NULL;
gint _tmp101_ = 0;
gint _tmp102_ = 0;
-#line 2601 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2606 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp100_ = self->priv->draw_to_pixbuf;
-#line 2601 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2606 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp101_ = gdk_pixbuf_get_width (_tmp100_);
-#line 2601 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2606 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp102_ = _tmp101_;
-#line 2601 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2606 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp93_ = _tmp102_ > 1;
-#line 15603 "EditingTools.c"
+#line 15612 "EditingTools.c"
} else {
-#line 2601 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2606 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp93_ = FALSE;
-#line 15607 "EditingTools.c"
+#line 15616 "EditingTools.c"
}
-#line 2601 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2606 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp93_) {
-#line 15611 "EditingTools.c"
+#line 15620 "EditingTools.c"
GdkPixbuf* _tmp103_ = NULL;
gint _tmp104_ = 0;
gint _tmp105_ = 0;
-#line 2602 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2607 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp103_ = self->priv->draw_to_pixbuf;
-#line 2602 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2607 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp104_ = gdk_pixbuf_get_height (_tmp103_);
-#line 2602 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2607 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp105_ = _tmp104_;
-#line 2602 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2607 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp92_ = _tmp105_ > 1;
-#line 15623 "EditingTools.c"
+#line 15632 "EditingTools.c"
} else {
-#line 2601 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2606 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp92_ = FALSE;
-#line 15627 "EditingTools.c"
+#line 15636 "EditingTools.c"
}
-#line 2601 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2606 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp92_) {
-#line 15631 "EditingTools.c"
+#line 15640 "EditingTools.c"
GdkPixbuf* _tmp106_ = NULL;
GdkPixbuf* _tmp107_ = NULL;
gint _tmp108_ = 0;
@@ -15636,99 +15645,99 @@ static void editing_tools_adjust_tool_real_activate (EditingToolsEditingTool* ba
gint _tmp111_ = 0;
gint _tmp112_ = 0;
GdkPixbuf* _tmp113_ = NULL;
-#line 2603 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp106_ = self->priv->draw_to_pixbuf;
-#line 2603 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp107_ = self->priv->draw_to_pixbuf;
-#line 2603 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp108_ = gdk_pixbuf_get_width (_tmp107_);
-#line 2603 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp109_ = _tmp108_;
-#line 2603 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp110_ = self->priv->draw_to_pixbuf;
-#line 2603 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp111_ = gdk_pixbuf_get_height (_tmp110_);
-#line 2603 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp112_ = _tmp111_;
-#line 2603 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp113_ = gdk_pixbuf_scale_simple (_tmp106_, _tmp109_ / 2, _tmp112_ / 2, GDK_INTERP_HYPER);
-#line 2603 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (self->priv->histogram_pixbuf);
-#line 2603 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->histogram_pixbuf = _tmp113_;
-#line 15660 "EditingTools.c"
+#line 15669 "EditingTools.c"
} else {
GdkPixbuf* _tmp114_ = NULL;
GdkPixbuf* _tmp115_ = NULL;
-#line 2606 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2611 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp114_ = self->priv->draw_to_pixbuf;
-#line 2606 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2611 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp115_ = gdk_pixbuf_copy (_tmp114_);
-#line 2606 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2611 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (self->priv->histogram_pixbuf);
-#line 2606 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2611 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->histogram_pixbuf = _tmp115_;
-#line 15672 "EditingTools.c"
+#line 15681 "EditingTools.c"
}
-#line 2608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2613 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp116_ = self->priv->histogram_pixbuf;
-#line 2608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2613 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp117_ = gdk_pixbuf_copy (_tmp116_);
-#line 2608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2613 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (self->priv->virgin_histogram_pixbuf);
-#line 2608 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2613 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->virgin_histogram_pixbuf = _tmp117_;
-#line 2610 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2615 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp118_ = canvas;
-#line 2610 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2615 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp119_ = editing_tools_photo_canvas_get_photo (_tmp118_);
-#line 2610 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2615 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp120_ = _tmp119_;
-#line 2610 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2615 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp121_ = data_object_get_membership (G_TYPE_CHECK_INSTANCE_CAST (_tmp120_, TYPE_DATA_OBJECT, DataObject));
-#line 2610 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2615 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp122_ = _tmp121_;
-#line 2610 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2615 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (_tmp120_);
-#line 2610 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2615 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
owner = _tmp122_;
-#line 2611 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2616 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp123_ = owner;
-#line 2611 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2616 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp123_ != NULL) {
-#line 15700 "EditingTools.c"
+#line 15709 "EditingTools.c"
DataCollection* _tmp124_ = NULL;
-#line 2612 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2617 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp124_ = owner;
-#line 2612 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2617 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_connect (_tmp124_, "items-altered", (GCallback) _editing_tools_adjust_tool_on_photos_altered_data_collection_items_altered, self);
-#line 15706 "EditingTools.c"
+#line 15715 "EditingTools.c"
}
-#line 2614 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2619 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp125_ = canvas;
-#line 2614 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2619 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
EDITING_TOOLS_EDITING_TOOL_CLASS (editing_tools_adjust_tool_parent_class)->activate (G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool), _tmp125_);
-#line 2526 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2531 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_data_collection_unref0 (owner);
-#line 2526 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2531 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_pixel_transformation_unref0 (contrast_trans);
-#line 2526 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2531 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_pixel_transformation_unref0 (exposure_trans);
-#line 2526 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2531 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_pixel_transformation_unref0 (sat_trans);
-#line 2526 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2531 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_pixel_transformation_unref0 (tint_trans);
-#line 2526 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2531 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_pixel_transformation_unref0 (temp_trans);
-#line 2526 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2531 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_pixel_transformation_unref0 (highlights_trans);
-#line 2526 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2531 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_pixel_transformation_unref0 (shadows_trans);
-#line 2526 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2531 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_pixel_transformation_unref0 (expansion_trans);
-#line 2526 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2531 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (photo);
-#line 15732 "EditingTools.c"
+#line 15741 "EditingTools.c"
}
@@ -15737,17 +15746,17 @@ static EditingToolsEditingToolWindow* editing_tools_adjust_tool_real_get_tool_wi
EditingToolsEditingToolWindow* result = NULL;
EditingToolsAdjustToolAdjustToolWindow* _tmp0_ = NULL;
EditingToolsEditingToolWindow* _tmp1_ = NULL;
-#line 2617 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2622 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, EDITING_TOOLS_TYPE_ADJUST_TOOL, EditingToolsAdjustTool);
-#line 2618 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2623 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = self->priv->adjust_tool_window;
-#line 2618 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2623 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, EDITING_TOOLS_TYPE_EDITING_TOOL_WINDOW, EditingToolsEditingToolWindow));
-#line 2618 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2623 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
result = _tmp1_;
-#line 2618 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2623 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return result;
-#line 15751 "EditingTools.c"
+#line 15760 "EditingTools.c"
}
@@ -15755,13 +15764,13 @@ static void editing_tools_adjust_tool_real_deactivate (EditingToolsEditingTool*
EditingToolsAdjustTool * self;
EditingToolsPhotoCanvas* _tmp0_ = NULL;
EditingToolsAdjustToolAdjustToolWindow* _tmp10_ = NULL;
-#line 2621 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2626 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, EDITING_TOOLS_TYPE_ADJUST_TOOL, EditingToolsAdjustTool);
-#line 2622 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2627 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 2622 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2627 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp0_ != NULL) {
-#line 15765 "EditingTools.c"
+#line 15774 "EditingTools.c"
DataCollection* owner = NULL;
EditingToolsPhotoCanvas* _tmp1_ = NULL;
Photo* _tmp2_ = NULL;
@@ -15770,81 +15779,81 @@ static void editing_tools_adjust_tool_real_deactivate (EditingToolsEditingTool*
DataCollection* _tmp5_ = NULL;
DataCollection* _tmp6_ = NULL;
EditingToolsPhotoCanvas* _tmp9_ = NULL;
-#line 2623 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2628 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 2623 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2628 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = editing_tools_photo_canvas_get_photo (_tmp1_);
-#line 2623 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2628 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = _tmp2_;
-#line 2623 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2628 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = data_object_get_membership (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, TYPE_DATA_OBJECT, DataObject));
-#line 2623 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2628 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = _tmp4_;
-#line 2623 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2628 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (_tmp3_);
-#line 2623 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2628 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
owner = _tmp5_;
-#line 2624 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2629 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = owner;
-#line 2624 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2629 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp6_ != NULL) {
-#line 15792 "EditingTools.c"
+#line 15801 "EditingTools.c"
DataCollection* _tmp7_ = NULL;
guint _tmp8_ = 0U;
-#line 2625 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2630 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = owner;
-#line 2625 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2630 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_parse_name ("items-altered", TYPE_DATA_COLLECTION, &_tmp8_, NULL, FALSE);
-#line 2625 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2630 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_handlers_disconnect_matched (_tmp7_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp8_, 0, NULL, (GCallback) _editing_tools_adjust_tool_on_photos_altered_data_collection_items_altered, self);
-#line 15801 "EditingTools.c"
+#line 15810 "EditingTools.c"
}
-#line 2627 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2632 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 2627 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2632 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_adjust_tool_unbind_canvas_handlers (self, _tmp9_);
-#line 2622 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2627 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_data_collection_unref0 (owner);
-#line 15809 "EditingTools.c"
+#line 15818 "EditingTools.c"
}
-#line 2630 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2635 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp10_ = self->priv->adjust_tool_window;
-#line 2630 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2635 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp10_ != NULL) {
-#line 15815 "EditingTools.c"
+#line 15824 "EditingTools.c"
EditingToolsAdjustToolAdjustToolWindow* _tmp11_ = NULL;
EditingToolsAdjustToolAdjustToolWindow* _tmp12_ = NULL;
-#line 2631 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2636 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_adjust_tool_unbind_window_handlers (self);
-#line 2632 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2637 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp11_ = self->priv->adjust_tool_window;
-#line 2632 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2637 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_widget_hide (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, gtk_widget_get_type (), GtkWidget));
-#line 2633 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2638 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp12_ = self->priv->adjust_tool_window;
-#line 2633 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2638 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, gtk_widget_get_type (), GtkWidget));
-#line 2634 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2639 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (self->priv->adjust_tool_window);
-#line 2634 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2639 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->adjust_tool_window = NULL;
-#line 15832 "EditingTools.c"
+#line 15841 "EditingTools.c"
}
-#line 2637 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2642 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (self->priv->draw_to_pixbuf);
-#line 2637 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2642 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->draw_to_pixbuf = NULL;
-#line 2638 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2643 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->fp_pixel_cache = (g_free (self->priv->fp_pixel_cache), NULL);
-#line 2638 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2643 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->fp_pixel_cache = NULL;
-#line 2638 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2643 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->fp_pixel_cache_length1 = 0;
-#line 2638 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2643 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->_fp_pixel_cache_size_ = self->priv->fp_pixel_cache_length1;
-#line 2640 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2645 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
EDITING_TOOLS_EDITING_TOOL_CLASS (editing_tools_adjust_tool_parent_class)->deactivate (G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool));
-#line 15848 "EditingTools.c"
+#line 15857 "EditingTools.c"
}
@@ -15853,61 +15862,61 @@ static void editing_tools_adjust_tool_real_paint (EditingToolsEditingTool* base,
gboolean _tmp0_ = FALSE;
EditingToolsPhotoCanvas* _tmp10_ = NULL;
GdkPixbuf* _tmp11_ = NULL;
-#line 2643 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2648 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, EDITING_TOOLS_TYPE_ADJUST_TOOL, EditingToolsAdjustTool);
-#line 2643 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2648 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (ctx != NULL);
-#line 2644 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2649 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = self->priv->suppress_effect_redraw;
-#line 2644 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2649 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (!_tmp0_) {
-#line 15865 "EditingTools.c"
+#line 15874 "EditingTools.c"
PixelTransformer* _tmp1_ = NULL;
GdkPixbuf* _tmp2_ = NULL;
PixelTransformer* _tmp3_ = NULL;
GdkPixbuf* _tmp4_ = NULL;
GdkPixbuf* _tmp5_ = NULL;
gboolean _tmp6_ = FALSE;
-#line 2645 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2650 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = self->priv->transformer;
-#line 2645 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2650 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = self->priv->draw_to_pixbuf;
-#line 2645 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2650 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
pixel_transformer_transform_from_fp (_tmp1_, &self->priv->fp_pixel_cache, &self->priv->fp_pixel_cache_length1, _tmp2_);
-#line 2646 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2651 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = self->priv->histogram_transformer;
-#line 2646 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2651 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = self->priv->virgin_histogram_pixbuf;
-#line 2646 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2651 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = self->priv->histogram_pixbuf;
-#line 2646 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2651 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
pixel_transformer_transform_to_other_pixbuf (_tmp3_, _tmp4_, _tmp5_, NULL);
-#line 2648 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2653 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = self->priv->disable_histogram_refresh;
-#line 2648 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2653 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (!_tmp6_) {
-#line 15890 "EditingTools.c"
+#line 15899 "EditingTools.c"
EditingToolsAdjustToolAdjustToolWindow* _tmp7_ = NULL;
RGBHistogramManipulator* _tmp8_ = NULL;
GdkPixbuf* _tmp9_ = NULL;
-#line 2649 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2654 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = self->priv->adjust_tool_window;
-#line 2649 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2654 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = _tmp7_->histogram_manipulator;
-#line 2649 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2654 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = self->priv->histogram_pixbuf;
-#line 2649 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2654 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
rgb_histogram_manipulator_update_histogram (_tmp8_, _tmp9_);
-#line 15902 "EditingTools.c"
+#line 15911 "EditingTools.c"
}
}
-#line 2652 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2657 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp10_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 2652 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2657 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp11_ = self->priv->draw_to_pixbuf;
-#line 2652 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2657 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_photo_canvas_paint_pixbuf (_tmp10_, _tmp11_);
-#line 15911 "EditingTools.c"
+#line 15920 "EditingTools.c"
}
@@ -15925,71 +15934,71 @@ static GdkPixbuf* editing_tools_adjust_tool_real_get_display_pixbuf (EditingTool
GdkPixbuf* _tmp7_ = NULL;
GdkPixbuf* _tmp8_ = NULL;
GError * _inner_error_ = NULL;
-#line 2655 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2660 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, EDITING_TOOLS_TYPE_ADJUST_TOOL, EditingToolsAdjustTool);
-#line 2655 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2660 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (scaling != NULL, NULL);
-#line 2655 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2660 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (IS_PHOTO (photo), NULL);
-#line 2657 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2662 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = photo;
-#line 2657 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2662 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = photo_has_color_adjustments (_tmp0_);
-#line 2657 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2662 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (!_tmp1_) {
-#line 2658 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2663 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
dimensions_init (&_vala_max_dim, 0, 0);
-#line 2660 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2665 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
result = NULL;
-#line 2660 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2665 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (max_dim) {
-#line 2660 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2665 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*max_dim = _vala_max_dim;
-#line 15949 "EditingTools.c"
+#line 15958 "EditingTools.c"
}
-#line 2660 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2665 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return result;
-#line 15953 "EditingTools.c"
+#line 15962 "EditingTools.c"
}
-#line 2663 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2668 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = photo;
-#line 2663 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2668 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
media_source_get_dimensions (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, TYPE_MEDIA_SOURCE, MediaSource), PHOTO_EXCEPTION_NONE, &_tmp3_);
-#line 2663 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2668 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_vala_max_dim = _tmp3_;
-#line 2665 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2670 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = photo;
-#line 2665 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2670 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = *scaling;
-#line 2665 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2670 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = photo_get_pixbuf_with_options (_tmp5_, &_tmp6_, PHOTO_EXCEPTION_ADJUST, BACKING_FETCH_MODE_BASELINE, &_inner_error_);
-#line 2665 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2670 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = _tmp7_;
-#line 2665 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2670 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 2665 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2670 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_propagate_error (error, _inner_error_);
-#line 2665 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2670 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return NULL;
-#line 15975 "EditingTools.c"
+#line 15984 "EditingTools.c"
}
-#line 2665 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2670 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = _tmp4_;
-#line 2665 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2670 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = NULL;
-#line 2665 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2670 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
result = _tmp8_;
-#line 2665 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2670 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (_tmp4_);
-#line 2665 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2670 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (max_dim) {
-#line 2665 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2670 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
*max_dim = _vala_max_dim;
-#line 15989 "EditingTools.c"
+#line 15998 "EditingTools.c"
}
-#line 2665 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2670 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return result;
-#line 15993 "EditingTools.c"
+#line 16002 "EditingTools.c"
}
@@ -15999,25 +16008,25 @@ static void editing_tools_adjust_tool_on_reset (EditingToolsAdjustTool* self) {
EditingToolsAdjustToolAdjustResetCommand* _tmp1_ = NULL;
CommandManager* _tmp2_ = NULL;
CommandManager* _tmp3_ = NULL;
-#line 2668 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2673 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_ADJUST_TOOL (self));
-#line 2669 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2674 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = self->priv->transformations;
-#line 2669 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2674 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = editing_tools_adjust_tool_adjust_reset_command_new (self, _tmp0_);
-#line 2669 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2674 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
command = _tmp1_;
-#line 2670 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2675 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = app_window_get_command_manager ();
-#line 2670 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2675 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = _tmp2_;
-#line 2670 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2675 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
command_manager_execute (_tmp3_, G_TYPE_CHECK_INSTANCE_CAST (command, TYPE_COMMAND, Command));
-#line 2670 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2675 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_command_manager_unref0 (_tmp3_);
-#line 2668 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2673 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (command);
-#line 16021 "EditingTools.c"
+#line 16030 "EditingTools.c"
}
@@ -16035,58 +16044,58 @@ static void editing_tools_adjust_tool_on_ok (EditingToolsAdjustTool* self) {
Photo* _tmp10_ = NULL;
Photo* _tmp11_ = NULL;
Dimensions _tmp12_ = {0};
-#line 2673 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2678 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_ADJUST_TOOL (self));
-#line 2674 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2679 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->suppress_effect_redraw = TRUE;
-#line 2676 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2681 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = editing_tools_editing_tool_get_tool_window (G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool));
-#line 2676 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2681 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = _tmp0_;
-#line 2676 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2681 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_widget_hide (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_widget_get_type (), GtkWidget));
-#line 2676 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2681 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (_tmp1_);
-#line 2678 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2683 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 2678 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2683 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = editing_tools_photo_canvas_get_photo (_tmp2_);
-#line 2678 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2683 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = _tmp3_;
-#line 2678 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2683 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = self->priv->transformations;
-#line 2678 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2683 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = adjust_colors_single_command_new (_tmp4_, _tmp5_, RESOURCES_ADJUST_LABEL, RESOURCES_ADJUST_TOOLTIP);
-#line 2678 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2683 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = _tmp6_;
-#line 2678 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2683 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = self->priv->draw_to_pixbuf;
-#line 2678 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2683 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 2678 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2683 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp10_ = editing_tools_photo_canvas_get_photo (_tmp9_);
-#line 2678 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2683 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp11_ = _tmp10_;
-#line 2678 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2683 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
media_source_get_dimensions (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, TYPE_MEDIA_SOURCE, MediaSource), PHOTO_EXCEPTION_NONE, &_tmp12_);
-#line 2678 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2683 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_emit_by_name (G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool), "applied", G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, TYPE_COMMAND, Command), _tmp8_, &_tmp12_, FALSE);
-#line 2678 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2683 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (_tmp11_);
-#line 2678 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2683 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (_tmp7_);
-#line 2678 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2683 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (_tmp4_);
-#line 16081 "EditingTools.c"
+#line 16090 "EditingTools.c"
}
static void editing_tools_adjust_tool_update_transformations (EditingToolsAdjustTool* self, PixelTransformationBundle* new_transformations) {
-#line 2683 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2688 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_ADJUST_TOOL (self));
-#line 2683 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2688 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (IS_PIXEL_TRANSFORMATION_BUNDLE (new_transformations));
-#line 16090 "EditingTools.c"
+#line 16099 "EditingTools.c"
{
GeeIterator* _transformation_it = NULL;
PixelTransformationBundle* _tmp0_ = NULL;
@@ -16094,56 +16103,56 @@ static void editing_tools_adjust_tool_update_transformations (EditingToolsAdjust
GeeIterable* _tmp2_ = NULL;
GeeIterator* _tmp3_ = NULL;
GeeIterator* _tmp4_ = NULL;
-#line 2684 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2689 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = new_transformations;
-#line 2684 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2689 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = pixel_transformation_bundle_get_transformations (_tmp0_);
-#line 2684 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2689 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = _tmp1_;
-#line 2684 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2689 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = gee_iterable_iterator (_tmp2_);
-#line 2684 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2689 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = _tmp3_;
-#line 2684 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2689 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (_tmp2_);
-#line 2684 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2689 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_transformation_it = _tmp4_;
-#line 2684 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2689 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
while (TRUE) {
-#line 16114 "EditingTools.c"
+#line 16123 "EditingTools.c"
GeeIterator* _tmp5_ = NULL;
gboolean _tmp6_ = FALSE;
PixelTransformation* transformation = NULL;
GeeIterator* _tmp7_ = NULL;
gpointer _tmp8_ = NULL;
PixelTransformation* _tmp9_ = NULL;
-#line 2684 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2689 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = _transformation_it;
-#line 2684 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2689 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = gee_iterator_next (_tmp5_);
-#line 2684 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2689 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (!_tmp6_) {
-#line 2684 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2689 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
break;
-#line 16129 "EditingTools.c"
+#line 16138 "EditingTools.c"
}
-#line 2684 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2689 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = _transformation_it;
-#line 2684 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2689 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = gee_iterator_get (_tmp7_);
-#line 2684 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2689 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
transformation = (PixelTransformation*) _tmp8_;
-#line 2685 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2690 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = transformation;
-#line 2685 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2690 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_adjust_tool_update_transformation (self, _tmp9_);
-#line 2684 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2689 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_pixel_transformation_unref0 (transformation);
-#line 16143 "EditingTools.c"
+#line 16152 "EditingTools.c"
}
-#line 2684 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2689 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (_transformation_it);
-#line 16147 "EditingTools.c"
+#line 16156 "EditingTools.c"
}
}
@@ -16161,57 +16170,57 @@ static void editing_tools_adjust_tool_update_transformation (EditingToolsAdjustT
PixelTransformationType _tmp8_ = 0;
PixelTransformationBundle* _tmp12_ = NULL;
PixelTransformation* _tmp13_ = NULL;
-#line 2688 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2693 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_ADJUST_TOOL (self));
-#line 2688 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2693 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (IS_PIXEL_TRANSFORMATION (new_transformation));
-#line 2689 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2694 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = self->priv->transformations;
-#line 2689 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2694 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = new_transformation;
-#line 2689 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2694 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = pixel_transformation_get_transformation_type (_tmp1_);
-#line 2689 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2694 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = pixel_transformation_bundle_get_transformation (_tmp0_, _tmp2_);
-#line 2689 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2694 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
old_transformation = _tmp3_;
-#line 2692 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2697 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = self->priv->transformer;
-#line 2692 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2697 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = old_transformation;
-#line 2692 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2697 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = new_transformation;
-#line 2692 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2697 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
pixel_transformer_replace_transformation (_tmp4_, _tmp5_, _tmp6_);
-#line 2693 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2698 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = new_transformation;
-#line 2693 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2698 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = pixel_transformation_get_transformation_type (_tmp7_);
-#line 2693 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2698 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp8_ != PIXEL_TRANSFORMATION_TYPE_TONE_EXPANSION) {
-#line 16193 "EditingTools.c"
+#line 16202 "EditingTools.c"
PixelTransformer* _tmp9_ = NULL;
PixelTransformation* _tmp10_ = NULL;
PixelTransformation* _tmp11_ = NULL;
-#line 2694 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2699 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = self->priv->histogram_transformer;
-#line 2694 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2699 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp10_ = old_transformation;
-#line 2694 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2699 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp11_ = new_transformation;
-#line 2694 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2699 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
pixel_transformer_replace_transformation (_tmp9_, _tmp10_, _tmp11_);
-#line 16205 "EditingTools.c"
+#line 16214 "EditingTools.c"
}
-#line 2696 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2701 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp12_ = self->priv->transformations;
-#line 2696 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2701 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp13_ = new_transformation;
-#line 2696 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2701 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
pixel_transformation_bundle_set (_tmp12_, _tmp13_);
-#line 2688 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2693 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_pixel_transformation_unref0 (old_transformation);
-#line 16215 "EditingTools.c"
+#line 16224 "EditingTools.c"
}
@@ -16227,77 +16236,77 @@ static void editing_tools_adjust_tool_slider_updated (EditingToolsAdjustTool* se
EditingToolsAdjustToolSliderAdjustmentCommand* _tmp6_ = NULL;
CommandManager* _tmp7_ = NULL;
CommandManager* _tmp8_ = NULL;
-#line 2699 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2704 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_ADJUST_TOOL (self));
-#line 2699 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2704 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (IS_PIXEL_TRANSFORMATION (new_transformation));
-#line 2699 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2704 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (name != NULL);
-#line 2700 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2705 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = self->priv->transformations;
-#line 2700 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2705 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = new_transformation;
-#line 2700 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2705 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = pixel_transformation_get_transformation_type (_tmp1_);
-#line 2700 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2705 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = pixel_transformation_bundle_get_transformation (_tmp0_, _tmp2_);
-#line 2700 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2705 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
old_transformation = _tmp3_;
-#line 2702 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2707 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = new_transformation;
-#line 2702 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2707 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = name;
-#line 2702 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2707 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = editing_tools_adjust_tool_slider_adjustment_command_new (self, old_transformation, _tmp4_, _tmp5_);
-#line 2702 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2707 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
command = _tmp6_;
-#line 2704 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2709 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = app_window_get_command_manager ();
-#line 2704 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2709 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = _tmp7_;
-#line 2704 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2709 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
command_manager_execute (_tmp8_, G_TYPE_CHECK_INSTANCE_CAST (command, TYPE_COMMAND, Command));
-#line 2704 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2709 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_command_manager_unref0 (_tmp8_);
-#line 2699 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2704 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (command);
-#line 2699 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2704 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_pixel_transformation_unref0 (old_transformation);
-#line 16267 "EditingTools.c"
+#line 16276 "EditingTools.c"
}
static void _editing_tools_adjust_tool_on_delayed_temperature_adjustment_one_shot_callback (gpointer self) {
-#line 2709 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2714 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_adjust_tool_on_delayed_temperature_adjustment ((EditingToolsAdjustTool*) self);
-#line 16274 "EditingTools.c"
+#line 16283 "EditingTools.c"
}
static void editing_tools_adjust_tool_on_temperature_adjustment (EditingToolsAdjustTool* self) {
OneShotScheduler* _tmp0_ = NULL;
OneShotScheduler* _tmp2_ = NULL;
-#line 2707 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2712 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_ADJUST_TOOL (self));
-#line 2708 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2713 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = self->priv->temperature_scheduler;
-#line 2708 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2713 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp0_ == NULL) {
-#line 16287 "EditingTools.c"
+#line 16296 "EditingTools.c"
OneShotScheduler* _tmp1_ = NULL;
-#line 2709 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2714 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = one_shot_scheduler_new ("temperature", _editing_tools_adjust_tool_on_delayed_temperature_adjustment_one_shot_callback, self);
-#line 2709 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2714 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_one_shot_scheduler_unref0 (self->priv->temperature_scheduler);
-#line 2709 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2714 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->temperature_scheduler = _tmp1_;
-#line 16295 "EditingTools.c"
+#line 16304 "EditingTools.c"
}
-#line 2711 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2716 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = self->priv->temperature_scheduler;
-#line 2711 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2716 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
one_shot_scheduler_after_timeout (_tmp2_, EDITING_TOOLS_ADJUST_TOOL_SLIDER_DELAY_MSEC, TRUE);
-#line 16301 "EditingTools.c"
+#line 16310 "EditingTools.c"
}
@@ -16308,59 +16317,59 @@ static void editing_tools_adjust_tool_on_delayed_temperature_adjustment (Editing
gdouble _tmp2_ = 0.0;
TemperatureTransformation* _tmp3_ = NULL;
const gchar* _tmp4_ = NULL;
-#line 2714 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2719 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_ADJUST_TOOL (self));
-#line 2715 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2720 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = self->priv->adjust_tool_window;
-#line 2715 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2720 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = _tmp0_->temperature_slider;
-#line 2715 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2720 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = gtk_range_get_value (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_range_get_type (), GtkRange));
-#line 2715 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2720 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = temperature_transformation_new ((gfloat) _tmp2_);
-#line 2715 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2720 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
new_temp_trans = _tmp3_;
-#line 2717 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2722 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = _ ("Temperature");
-#line 2717 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2722 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_adjust_tool_slider_updated (self, G_TYPE_CHECK_INSTANCE_CAST (new_temp_trans, TYPE_PIXEL_TRANSFORMATION, PixelTransformation), _tmp4_);
-#line 2714 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2719 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_pixel_transformation_unref0 (new_temp_trans);
-#line 16330 "EditingTools.c"
+#line 16339 "EditingTools.c"
}
static void _editing_tools_adjust_tool_on_delayed_tint_adjustment_one_shot_callback (gpointer self) {
-#line 2722 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2727 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_adjust_tool_on_delayed_tint_adjustment ((EditingToolsAdjustTool*) self);
-#line 16337 "EditingTools.c"
+#line 16346 "EditingTools.c"
}
static void editing_tools_adjust_tool_on_tint_adjustment (EditingToolsAdjustTool* self) {
OneShotScheduler* _tmp0_ = NULL;
OneShotScheduler* _tmp2_ = NULL;
-#line 2720 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2725 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_ADJUST_TOOL (self));
-#line 2721 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2726 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = self->priv->tint_scheduler;
-#line 2721 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2726 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp0_ == NULL) {
-#line 16350 "EditingTools.c"
+#line 16359 "EditingTools.c"
OneShotScheduler* _tmp1_ = NULL;
-#line 2722 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2727 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = one_shot_scheduler_new ("tint", _editing_tools_adjust_tool_on_delayed_tint_adjustment_one_shot_callback, self);
-#line 2722 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2727 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_one_shot_scheduler_unref0 (self->priv->tint_scheduler);
-#line 2722 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2727 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->tint_scheduler = _tmp1_;
-#line 16358 "EditingTools.c"
+#line 16367 "EditingTools.c"
}
-#line 2723 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2728 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = self->priv->tint_scheduler;
-#line 2723 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2728 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
one_shot_scheduler_after_timeout (_tmp2_, EDITING_TOOLS_ADJUST_TOOL_SLIDER_DELAY_MSEC, TRUE);
-#line 16364 "EditingTools.c"
+#line 16373 "EditingTools.c"
}
@@ -16371,59 +16380,59 @@ static void editing_tools_adjust_tool_on_delayed_tint_adjustment (EditingToolsAd
gdouble _tmp2_ = 0.0;
TintTransformation* _tmp3_ = NULL;
const gchar* _tmp4_ = NULL;
-#line 2726 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2731 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_ADJUST_TOOL (self));
-#line 2727 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2732 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = self->priv->adjust_tool_window;
-#line 2727 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2732 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = _tmp0_->tint_slider;
-#line 2727 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2732 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = gtk_range_get_value (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_range_get_type (), GtkRange));
-#line 2727 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2732 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = tint_transformation_new ((gfloat) _tmp2_);
-#line 2727 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2732 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
new_tint_trans = _tmp3_;
-#line 2729 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2734 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = _ ("Tint");
-#line 2729 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2734 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_adjust_tool_slider_updated (self, G_TYPE_CHECK_INSTANCE_CAST (new_tint_trans, TYPE_PIXEL_TRANSFORMATION, PixelTransformation), _tmp4_);
-#line 2726 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2731 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_pixel_transformation_unref0 (new_tint_trans);
-#line 16393 "EditingTools.c"
+#line 16402 "EditingTools.c"
}
static void _editing_tools_adjust_tool_on_delayed_contrast_adjustment_one_shot_callback (gpointer self) {
-#line 2734 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2739 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_adjust_tool_on_delayed_contrast_adjustment ((EditingToolsAdjustTool*) self);
-#line 16400 "EditingTools.c"
+#line 16409 "EditingTools.c"
}
static void editing_tools_adjust_tool_on_contrast_adjustment (EditingToolsAdjustTool* self) {
OneShotScheduler* _tmp0_ = NULL;
OneShotScheduler* _tmp2_ = NULL;
-#line 2732 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2737 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_ADJUST_TOOL (self));
-#line 2733 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2738 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = self->priv->contrast_scheduler;
-#line 2733 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2738 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp0_ == NULL) {
-#line 16413 "EditingTools.c"
+#line 16422 "EditingTools.c"
OneShotScheduler* _tmp1_ = NULL;
-#line 2734 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2739 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = one_shot_scheduler_new ("contrast", _editing_tools_adjust_tool_on_delayed_contrast_adjustment_one_shot_callback, self);
-#line 2734 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2739 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_one_shot_scheduler_unref0 (self->priv->contrast_scheduler);
-#line 2734 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2739 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->contrast_scheduler = _tmp1_;
-#line 16421 "EditingTools.c"
+#line 16430 "EditingTools.c"
}
-#line 2735 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2740 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = self->priv->contrast_scheduler;
-#line 2735 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2740 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
one_shot_scheduler_after_timeout (_tmp2_, EDITING_TOOLS_ADJUST_TOOL_SLIDER_DELAY_MSEC, TRUE);
-#line 16427 "EditingTools.c"
+#line 16436 "EditingTools.c"
}
@@ -16434,59 +16443,59 @@ static void editing_tools_adjust_tool_on_delayed_contrast_adjustment (EditingToo
gdouble _tmp2_ = 0.0;
ContrastTransformation* _tmp3_ = NULL;
const gchar* _tmp4_ = NULL;
-#line 2738 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2743 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_ADJUST_TOOL (self));
-#line 2739 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2744 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = self->priv->adjust_tool_window;
-#line 2739 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2744 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = _tmp0_->contrast_slider;
-#line 2739 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2744 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = gtk_range_get_value (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_range_get_type (), GtkRange));
-#line 2739 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2744 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = contrast_transformation_new ((gfloat) _tmp2_);
-#line 2739 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2744 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
new_exp_trans = _tmp3_;
-#line 2741 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2746 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = _ ("Contrast");
-#line 2741 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2746 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_adjust_tool_slider_updated (self, G_TYPE_CHECK_INSTANCE_CAST (new_exp_trans, TYPE_PIXEL_TRANSFORMATION, PixelTransformation), _tmp4_);
-#line 2738 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2743 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_pixel_transformation_unref0 (new_exp_trans);
-#line 16456 "EditingTools.c"
+#line 16465 "EditingTools.c"
}
static void _editing_tools_adjust_tool_on_delayed_saturation_adjustment_one_shot_callback (gpointer self) {
-#line 2747 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2752 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_adjust_tool_on_delayed_saturation_adjustment ((EditingToolsAdjustTool*) self);
-#line 16463 "EditingTools.c"
+#line 16472 "EditingTools.c"
}
static void editing_tools_adjust_tool_on_saturation_adjustment (EditingToolsAdjustTool* self) {
OneShotScheduler* _tmp0_ = NULL;
OneShotScheduler* _tmp2_ = NULL;
-#line 2745 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2750 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_ADJUST_TOOL (self));
-#line 2746 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2751 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = self->priv->saturation_scheduler;
-#line 2746 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2751 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp0_ == NULL) {
-#line 16476 "EditingTools.c"
+#line 16485 "EditingTools.c"
OneShotScheduler* _tmp1_ = NULL;
-#line 2747 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2752 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = one_shot_scheduler_new ("saturation", _editing_tools_adjust_tool_on_delayed_saturation_adjustment_one_shot_callback, self);
-#line 2747 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2752 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_one_shot_scheduler_unref0 (self->priv->saturation_scheduler);
-#line 2747 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2752 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->saturation_scheduler = _tmp1_;
-#line 16484 "EditingTools.c"
+#line 16493 "EditingTools.c"
}
-#line 2749 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2754 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = self->priv->saturation_scheduler;
-#line 2749 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2754 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
one_shot_scheduler_after_timeout (_tmp2_, EDITING_TOOLS_ADJUST_TOOL_SLIDER_DELAY_MSEC, TRUE);
-#line 16490 "EditingTools.c"
+#line 16499 "EditingTools.c"
}
@@ -16497,59 +16506,59 @@ static void editing_tools_adjust_tool_on_delayed_saturation_adjustment (EditingT
gdouble _tmp2_ = 0.0;
SaturationTransformation* _tmp3_ = NULL;
const gchar* _tmp4_ = NULL;
-#line 2752 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2757 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_ADJUST_TOOL (self));
-#line 2753 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2758 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = self->priv->adjust_tool_window;
-#line 2753 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2758 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = _tmp0_->saturation_slider;
-#line 2753 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2758 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = gtk_range_get_value (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_range_get_type (), GtkRange));
-#line 2753 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2758 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = saturation_transformation_new ((gfloat) _tmp2_);
-#line 2753 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2758 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
new_sat_trans = _tmp3_;
-#line 2755 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2760 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = _ ("Saturation");
-#line 2755 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2760 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_adjust_tool_slider_updated (self, G_TYPE_CHECK_INSTANCE_CAST (new_sat_trans, TYPE_PIXEL_TRANSFORMATION, PixelTransformation), _tmp4_);
-#line 2752 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2757 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_pixel_transformation_unref0 (new_sat_trans);
-#line 16519 "EditingTools.c"
+#line 16528 "EditingTools.c"
}
static void _editing_tools_adjust_tool_on_delayed_exposure_adjustment_one_shot_callback (gpointer self) {
-#line 2760 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2765 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_adjust_tool_on_delayed_exposure_adjustment ((EditingToolsAdjustTool*) self);
-#line 16526 "EditingTools.c"
+#line 16535 "EditingTools.c"
}
static void editing_tools_adjust_tool_on_exposure_adjustment (EditingToolsAdjustTool* self) {
OneShotScheduler* _tmp0_ = NULL;
OneShotScheduler* _tmp2_ = NULL;
-#line 2758 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2763 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_ADJUST_TOOL (self));
-#line 2759 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2764 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = self->priv->exposure_scheduler;
-#line 2759 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2764 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp0_ == NULL) {
-#line 16539 "EditingTools.c"
+#line 16548 "EditingTools.c"
OneShotScheduler* _tmp1_ = NULL;
-#line 2760 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2765 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = one_shot_scheduler_new ("exposure", _editing_tools_adjust_tool_on_delayed_exposure_adjustment_one_shot_callback, self);
-#line 2760 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2765 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_one_shot_scheduler_unref0 (self->priv->exposure_scheduler);
-#line 2760 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2765 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->exposure_scheduler = _tmp1_;
-#line 16547 "EditingTools.c"
+#line 16556 "EditingTools.c"
}
-#line 2762 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2767 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = self->priv->exposure_scheduler;
-#line 2762 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2767 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
one_shot_scheduler_after_timeout (_tmp2_, EDITING_TOOLS_ADJUST_TOOL_SLIDER_DELAY_MSEC, TRUE);
-#line 16553 "EditingTools.c"
+#line 16562 "EditingTools.c"
}
@@ -16560,59 +16569,59 @@ static void editing_tools_adjust_tool_on_delayed_exposure_adjustment (EditingToo
gdouble _tmp2_ = 0.0;
ExposureTransformation* _tmp3_ = NULL;
const gchar* _tmp4_ = NULL;
-#line 2765 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2770 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_ADJUST_TOOL (self));
-#line 2766 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2771 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = self->priv->adjust_tool_window;
-#line 2766 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2771 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = _tmp0_->exposure_slider;
-#line 2766 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2771 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = gtk_range_get_value (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_range_get_type (), GtkRange));
-#line 2766 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2771 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = exposure_transformation_new ((gfloat) _tmp2_);
-#line 2766 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2771 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
new_exp_trans = _tmp3_;
-#line 2768 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2773 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = _ ("Exposure");
-#line 2768 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2773 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_adjust_tool_slider_updated (self, G_TYPE_CHECK_INSTANCE_CAST (new_exp_trans, TYPE_PIXEL_TRANSFORMATION, PixelTransformation), _tmp4_);
-#line 2765 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2770 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_pixel_transformation_unref0 (new_exp_trans);
-#line 16582 "EditingTools.c"
+#line 16591 "EditingTools.c"
}
static void _editing_tools_adjust_tool_on_delayed_shadows_adjustment_one_shot_callback (gpointer self) {
-#line 2773 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2778 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_adjust_tool_on_delayed_shadows_adjustment ((EditingToolsAdjustTool*) self);
-#line 16589 "EditingTools.c"
+#line 16598 "EditingTools.c"
}
static void editing_tools_adjust_tool_on_shadows_adjustment (EditingToolsAdjustTool* self) {
OneShotScheduler* _tmp0_ = NULL;
OneShotScheduler* _tmp2_ = NULL;
-#line 2771 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2776 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_ADJUST_TOOL (self));
-#line 2772 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2777 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = self->priv->shadows_scheduler;
-#line 2772 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2777 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp0_ == NULL) {
-#line 16602 "EditingTools.c"
+#line 16611 "EditingTools.c"
OneShotScheduler* _tmp1_ = NULL;
-#line 2773 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2778 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = one_shot_scheduler_new ("shadows", _editing_tools_adjust_tool_on_delayed_shadows_adjustment_one_shot_callback, self);
-#line 2773 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2778 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_one_shot_scheduler_unref0 (self->priv->shadows_scheduler);
-#line 2773 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2778 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->shadows_scheduler = _tmp1_;
-#line 16610 "EditingTools.c"
+#line 16619 "EditingTools.c"
}
-#line 2775 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2780 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = self->priv->shadows_scheduler;
-#line 2775 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2780 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
one_shot_scheduler_after_timeout (_tmp2_, EDITING_TOOLS_ADJUST_TOOL_SLIDER_DELAY_MSEC, TRUE);
-#line 16616 "EditingTools.c"
+#line 16625 "EditingTools.c"
}
@@ -16623,59 +16632,59 @@ static void editing_tools_adjust_tool_on_delayed_shadows_adjustment (EditingTool
gdouble _tmp2_ = 0.0;
ShadowDetailTransformation* _tmp3_ = NULL;
const gchar* _tmp4_ = NULL;
-#line 2778 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2783 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_ADJUST_TOOL (self));
-#line 2779 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2784 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = self->priv->adjust_tool_window;
-#line 2779 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2784 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = _tmp0_->shadows_slider;
-#line 2779 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2784 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = gtk_range_get_value (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_range_get_type (), GtkRange));
-#line 2779 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2784 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = shadow_detail_transformation_new ((gfloat) _tmp2_);
-#line 2779 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2784 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
new_shadows_trans = _tmp3_;
-#line 2781 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2786 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = _ ("Shadows");
-#line 2781 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2786 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_adjust_tool_slider_updated (self, G_TYPE_CHECK_INSTANCE_CAST (new_shadows_trans, TYPE_PIXEL_TRANSFORMATION, PixelTransformation), _tmp4_);
-#line 2778 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2783 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_pixel_transformation_unref0 (new_shadows_trans);
-#line 16645 "EditingTools.c"
+#line 16654 "EditingTools.c"
}
static void _editing_tools_adjust_tool_on_delayed_highlights_adjustment_one_shot_callback (gpointer self) {
-#line 2786 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2791 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_adjust_tool_on_delayed_highlights_adjustment ((EditingToolsAdjustTool*) self);
-#line 16652 "EditingTools.c"
+#line 16661 "EditingTools.c"
}
static void editing_tools_adjust_tool_on_highlights_adjustment (EditingToolsAdjustTool* self) {
OneShotScheduler* _tmp0_ = NULL;
OneShotScheduler* _tmp2_ = NULL;
-#line 2784 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2789 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_ADJUST_TOOL (self));
-#line 2785 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2790 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = self->priv->highlights_scheduler;
-#line 2785 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2790 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp0_ == NULL) {
-#line 16665 "EditingTools.c"
+#line 16674 "EditingTools.c"
OneShotScheduler* _tmp1_ = NULL;
-#line 2786 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2791 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = one_shot_scheduler_new ("highlights", _editing_tools_adjust_tool_on_delayed_highlights_adjustment_one_shot_callback, self);
-#line 2786 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2791 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_one_shot_scheduler_unref0 (self->priv->highlights_scheduler);
-#line 2786 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2791 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->highlights_scheduler = _tmp1_;
-#line 16673 "EditingTools.c"
+#line 16682 "EditingTools.c"
}
-#line 2788 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2793 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = self->priv->highlights_scheduler;
-#line 2788 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2793 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
one_shot_scheduler_after_timeout (_tmp2_, EDITING_TOOLS_ADJUST_TOOL_SLIDER_DELAY_MSEC, TRUE);
-#line 16679 "EditingTools.c"
+#line 16688 "EditingTools.c"
}
@@ -16686,25 +16695,25 @@ static void editing_tools_adjust_tool_on_delayed_highlights_adjustment (EditingT
gdouble _tmp2_ = 0.0;
HighlightDetailTransformation* _tmp3_ = NULL;
const gchar* _tmp4_ = NULL;
-#line 2791 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2796 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_ADJUST_TOOL (self));
-#line 2792 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2797 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = self->priv->adjust_tool_window;
-#line 2792 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2797 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = _tmp0_->highlights_slider;
-#line 2792 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2797 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = gtk_range_get_value (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_range_get_type (), GtkRange));
-#line 2792 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2797 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = highlight_detail_transformation_new ((gfloat) _tmp2_);
-#line 2792 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2797 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
new_highlights_trans = _tmp3_;
-#line 2794 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2799 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = _ ("Highlights");
-#line 2794 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2799 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_adjust_tool_slider_updated (self, G_TYPE_CHECK_INSTANCE_CAST (new_highlights_trans, TYPE_PIXEL_TRANSFORMATION, PixelTransformation), _tmp4_);
-#line 2791 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2796 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_pixel_transformation_unref0 (new_highlights_trans);
-#line 16708 "EditingTools.c"
+#line 16717 "EditingTools.c"
}
@@ -16720,35 +16729,35 @@ static void editing_tools_adjust_tool_on_histogram_constraint (EditingToolsAdjus
ExpansionTransformation* new_exp_trans = NULL;
ExpansionTransformation* _tmp6_ = NULL;
const gchar* _tmp7_ = NULL;
-#line 2797 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2802 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_ADJUST_TOOL (self));
-#line 2798 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2803 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = self->priv->adjust_tool_window;
-#line 2798 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2803 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = _tmp0_->histogram_manipulator;
-#line 2798 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2803 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = rgb_histogram_manipulator_get_left_nub_position (_tmp1_);
-#line 2798 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2803 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
expansion_black_point = _tmp2_;
-#line 2800 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2805 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = self->priv->adjust_tool_window;
-#line 2800 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2805 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = _tmp3_->histogram_manipulator;
-#line 2800 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2805 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = rgb_histogram_manipulator_get_right_nub_position (_tmp4_);
-#line 2800 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2805 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
expansion_white_point = _tmp5_;
-#line 2802 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2807 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = expansion_transformation_new_from_extrema (expansion_black_point, expansion_white_point);
-#line 2802 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2807 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
new_exp_trans = _tmp6_;
-#line 2804 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2809 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = _ ("Contrast Expansion");
-#line 2804 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2809 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_adjust_tool_slider_updated (self, G_TYPE_CHECK_INSTANCE_CAST (new_exp_trans, TYPE_PIXEL_TRANSFORMATION, PixelTransformation), _tmp7_);
-#line 2797 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2802 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_pixel_transformation_unref0 (new_exp_trans);
-#line 16752 "EditingTools.c"
+#line 16761 "EditingTools.c"
}
@@ -16760,33 +16769,33 @@ static void editing_tools_adjust_tool_on_canvas_resize (EditingToolsAdjustTool*
EditingToolsPhotoCanvas* _tmp4_ = NULL;
GdkPixbuf* _tmp5_ = NULL;
GdkPixbuf* _tmp6_ = NULL;
-#line 2807 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2812 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_ADJUST_TOOL (self));
-#line 2808 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2813 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 2808 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2813 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = editing_tools_photo_canvas_get_scaled_pixbuf (_tmp0_);
-#line 2808 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2813 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = _tmp1_;
-#line 2808 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2813 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = gdk_pixbuf_copy (_tmp2_);
-#line 2808 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2813 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (self->priv->draw_to_pixbuf);
-#line 2808 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2813 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->draw_to_pixbuf = _tmp3_;
-#line 2808 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2813 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (_tmp2_);
-#line 2809 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2814 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 2809 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2814 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = editing_tools_photo_canvas_get_scaled_pixbuf (_tmp4_);
-#line 2809 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2814 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = _tmp5_;
-#line 2809 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2814 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_adjust_tool_init_fp_pixel_cache (self, _tmp6_);
-#line 2809 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2814 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (_tmp6_);
-#line 16790 "EditingTools.c"
+#line 16799 "EditingTools.c"
}
@@ -16799,199 +16808,199 @@ static gboolean editing_tools_adjust_tool_on_hscale_reset (EditingToolsAdjustToo
gboolean _tmp3_ = FALSE;
GdkEventButton* _tmp4_ = NULL;
guint _tmp5_ = 0U;
-#line 2812 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2817 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (EDITING_TOOLS_IS_ADJUST_TOOL (self), FALSE);
-#line 2812 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2817 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (GTK_IS_WIDGET (widget), FALSE);
-#line 2812 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2817 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 2813 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2818 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = widget;
-#line 2813 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2818 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_scale_get_type (), GtkScale));
-#line 2813 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2818 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
source = _tmp1_;
-#line 2815 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2820 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = event;
-#line 2815 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2820 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = _tmp4_->button;
-#line 2815 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2820 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp5_ == ((guint) 1)) {
-#line 16821 "EditingTools.c"
+#line 16830 "EditingTools.c"
GdkEventButton* _tmp6_ = NULL;
GdkEventType _tmp7_ = 0;
-#line 2815 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2820 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = event;
-#line 2815 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2820 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = _tmp6_->type;
-#line 2815 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2820 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = _tmp7_ == GDK_BUTTON_PRESS;
-#line 16830 "EditingTools.c"
+#line 16839 "EditingTools.c"
} else {
-#line 2815 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2820 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = FALSE;
-#line 16834 "EditingTools.c"
+#line 16843 "EditingTools.c"
}
-#line 2815 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2820 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp3_) {
-#line 16838 "EditingTools.c"
+#line 16847 "EditingTools.c"
GdkEventButton* _tmp8_ = NULL;
GdkModifierType _tmp9_ = 0;
gboolean _tmp10_ = FALSE;
-#line 2816 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2821 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = event;
-#line 2816 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2821 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = _tmp8_->state;
-#line 2816 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2821 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp10_ = has_only_key_modifier (_tmp9_, GDK_CONTROL_MASK);
-#line 2816 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2821 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = _tmp10_;
-#line 16850 "EditingTools.c"
+#line 16859 "EditingTools.c"
} else {
-#line 2815 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2820 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = FALSE;
-#line 16854 "EditingTools.c"
+#line 16863 "EditingTools.c"
}
-#line 2815 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2820 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp2_) {
-#line 16858 "EditingTools.c"
+#line 16867 "EditingTools.c"
GtkScale* _tmp11_ = NULL;
-#line 2818 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2823 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp11_ = source;
-#line 2818 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2823 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_range_set_value (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, gtk_range_get_type (), GtkRange), (gdouble) 0);
-#line 2820 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2825 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
result = TRUE;
-#line 2820 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2825 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (source);
-#line 2820 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2825 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return result;
-#line 16870 "EditingTools.c"
+#line 16879 "EditingTools.c"
}
-#line 2823 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2828 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
result = FALSE;
-#line 2823 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2828 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (source);
-#line 2823 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2828 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return result;
-#line 16878 "EditingTools.c"
+#line 16887 "EditingTools.c"
}
static void _editing_tools_adjust_tool_on_canvas_resize_editing_tools_photo_canvas_resized_scaled_pixbuf (EditingToolsPhotoCanvas* _sender, Dimensions* old_dim, GdkPixbuf* scaled, GdkRectangle* scaled_position, gpointer self) {
-#line 2827 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2832 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_adjust_tool_on_canvas_resize ((EditingToolsAdjustTool*) self);
-#line 16885 "EditingTools.c"
+#line 16894 "EditingTools.c"
}
static void editing_tools_adjust_tool_bind_canvas_handlers (EditingToolsAdjustTool* self, EditingToolsPhotoCanvas* canvas) {
EditingToolsPhotoCanvas* _tmp0_ = NULL;
-#line 2826 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2831 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_ADJUST_TOOL (self));
-#line 2826 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2831 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_PHOTO_CANVAS (canvas));
-#line 2827 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2832 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = canvas;
-#line 2827 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2832 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_connect (_tmp0_, "resized-scaled-pixbuf", (GCallback) _editing_tools_adjust_tool_on_canvas_resize_editing_tools_photo_canvas_resized_scaled_pixbuf, self);
-#line 16899 "EditingTools.c"
+#line 16908 "EditingTools.c"
}
static void editing_tools_adjust_tool_unbind_canvas_handlers (EditingToolsAdjustTool* self, EditingToolsPhotoCanvas* canvas) {
EditingToolsPhotoCanvas* _tmp0_ = NULL;
guint _tmp1_ = 0U;
-#line 2830 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2835 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_ADJUST_TOOL (self));
-#line 2830 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2835 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_PHOTO_CANVAS (canvas));
-#line 2831 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2836 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = canvas;
-#line 2831 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2836 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_parse_name ("resized-scaled-pixbuf", EDITING_TOOLS_TYPE_PHOTO_CANVAS, &_tmp1_, NULL, FALSE);
-#line 2831 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2836 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_handlers_disconnect_matched (_tmp0_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp1_, 0, NULL, (GCallback) _editing_tools_adjust_tool_on_canvas_resize_editing_tools_photo_canvas_resized_scaled_pixbuf, self);
-#line 16916 "EditingTools.c"
+#line 16925 "EditingTools.c"
}
static void _editing_tools_adjust_tool_on_ok_gtk_button_clicked (GtkButton* _sender, gpointer self) {
-#line 2835 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2840 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_adjust_tool_on_ok ((EditingToolsAdjustTool*) self);
-#line 16923 "EditingTools.c"
+#line 16932 "EditingTools.c"
}
static void _editing_tools_adjust_tool_on_reset_gtk_button_clicked (GtkButton* _sender, gpointer self) {
-#line 2836 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2841 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_adjust_tool_on_reset ((EditingToolsAdjustTool*) self);
-#line 16930 "EditingTools.c"
+#line 16939 "EditingTools.c"
}
static void _editing_tools_adjust_tool_on_exposure_adjustment_gtk_range_value_changed (GtkRange* _sender, gpointer self) {
-#line 2838 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2843 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_adjust_tool_on_exposure_adjustment ((EditingToolsAdjustTool*) self);
-#line 16937 "EditingTools.c"
+#line 16946 "EditingTools.c"
}
static void _editing_tools_adjust_tool_on_contrast_adjustment_gtk_range_value_changed (GtkRange* _sender, gpointer self) {
-#line 2839 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2844 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_adjust_tool_on_contrast_adjustment ((EditingToolsAdjustTool*) self);
-#line 16944 "EditingTools.c"
+#line 16953 "EditingTools.c"
}
static void _editing_tools_adjust_tool_on_saturation_adjustment_gtk_range_value_changed (GtkRange* _sender, gpointer self) {
-#line 2840 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2845 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_adjust_tool_on_saturation_adjustment ((EditingToolsAdjustTool*) self);
-#line 16951 "EditingTools.c"
+#line 16960 "EditingTools.c"
}
static void _editing_tools_adjust_tool_on_tint_adjustment_gtk_range_value_changed (GtkRange* _sender, gpointer self) {
-#line 2841 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2846 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_adjust_tool_on_tint_adjustment ((EditingToolsAdjustTool*) self);
-#line 16958 "EditingTools.c"
+#line 16967 "EditingTools.c"
}
static void _editing_tools_adjust_tool_on_temperature_adjustment_gtk_range_value_changed (GtkRange* _sender, gpointer self) {
-#line 2842 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2847 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_adjust_tool_on_temperature_adjustment ((EditingToolsAdjustTool*) self);
-#line 16965 "EditingTools.c"
+#line 16974 "EditingTools.c"
}
static void _editing_tools_adjust_tool_on_shadows_adjustment_gtk_range_value_changed (GtkRange* _sender, gpointer self) {
-#line 2843 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2848 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_adjust_tool_on_shadows_adjustment ((EditingToolsAdjustTool*) self);
-#line 16972 "EditingTools.c"
+#line 16981 "EditingTools.c"
}
static void _editing_tools_adjust_tool_on_highlights_adjustment_gtk_range_value_changed (GtkRange* _sender, gpointer self) {
-#line 2844 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2849 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_adjust_tool_on_highlights_adjustment ((EditingToolsAdjustTool*) self);
-#line 16979 "EditingTools.c"
+#line 16988 "EditingTools.c"
}
static void _editing_tools_adjust_tool_on_histogram_constraint_rgb_histogram_manipulator_nub_position_changed (RGBHistogramManipulator* _sender, gpointer self) {
-#line 2845 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2850 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_adjust_tool_on_histogram_constraint ((EditingToolsAdjustTool*) self);
-#line 16986 "EditingTools.c"
+#line 16995 "EditingTools.c"
}
static gboolean _editing_tools_adjust_tool_on_hscale_reset_gtk_widget_button_press_event (GtkWidget* _sender, GdkEventButton* event, gpointer self) {
gboolean result;
result = editing_tools_adjust_tool_on_hscale_reset ((EditingToolsAdjustTool*) self, _sender, event);
-#line 2847 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2852 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return result;
-#line 16995 "EditingTools.c"
+#line 17004 "EditingTools.c"
}
@@ -17032,117 +17041,117 @@ static void editing_tools_adjust_tool_bind_window_handlers (EditingToolsAdjustTo
GtkScale* _tmp33_ = NULL;
EditingToolsAdjustToolAdjustToolWindow* _tmp34_ = NULL;
GtkScale* _tmp35_ = NULL;
-#line 2834 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2839 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_ADJUST_TOOL (self));
-#line 2835 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2840 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = self->priv->adjust_tool_window;
-#line 2835 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2840 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = _tmp0_->ok_button;
-#line 2835 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2840 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_connect (_tmp1_, "clicked", (GCallback) _editing_tools_adjust_tool_on_ok_gtk_button_clicked, self);
-#line 2836 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2841 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = self->priv->adjust_tool_window;
-#line 2836 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2841 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = _tmp2_->reset_button;
-#line 2836 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2841 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_connect (_tmp3_, "clicked", (GCallback) _editing_tools_adjust_tool_on_reset_gtk_button_clicked, self);
-#line 2837 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2842 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = self->priv->adjust_tool_window;
-#line 2837 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2842 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = _tmp4_->cancel_button;
-#line 2837 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2842 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_connect (_tmp5_, "clicked", (GCallback) _editing_tools_editing_tool_notify_cancel_gtk_button_clicked, G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool));
-#line 2838 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2843 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = self->priv->adjust_tool_window;
-#line 2838 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2843 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = _tmp6_->exposure_slider;
-#line 2838 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2843 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_range_get_type (), GtkRange), "value-changed", (GCallback) _editing_tools_adjust_tool_on_exposure_adjustment_gtk_range_value_changed, self);
-#line 2839 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2844 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = self->priv->adjust_tool_window;
-#line 2839 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2844 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = _tmp8_->contrast_slider;
-#line 2839 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2844 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_range_get_type (), GtkRange), "value-changed", (GCallback) _editing_tools_adjust_tool_on_contrast_adjustment_gtk_range_value_changed, self);
-#line 2840 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2845 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp10_ = self->priv->adjust_tool_window;
-#line 2840 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2845 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp11_ = _tmp10_->saturation_slider;
-#line 2840 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2845 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, gtk_range_get_type (), GtkRange), "value-changed", (GCallback) _editing_tools_adjust_tool_on_saturation_adjustment_gtk_range_value_changed, self);
-#line 2841 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2846 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp12_ = self->priv->adjust_tool_window;
-#line 2841 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2846 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp13_ = _tmp12_->tint_slider;
-#line 2841 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2846 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, gtk_range_get_type (), GtkRange), "value-changed", (GCallback) _editing_tools_adjust_tool_on_tint_adjustment_gtk_range_value_changed, self);
-#line 2842 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2847 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp14_ = self->priv->adjust_tool_window;
-#line 2842 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2847 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp15_ = _tmp14_->temperature_slider;
-#line 2842 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2847 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, gtk_range_get_type (), GtkRange), "value-changed", (GCallback) _editing_tools_adjust_tool_on_temperature_adjustment_gtk_range_value_changed, self);
-#line 2843 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2848 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp16_ = self->priv->adjust_tool_window;
-#line 2843 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2848 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp17_ = _tmp16_->shadows_slider;
-#line 2843 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2848 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, gtk_range_get_type (), GtkRange), "value-changed", (GCallback) _editing_tools_adjust_tool_on_shadows_adjustment_gtk_range_value_changed, self);
-#line 2844 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2849 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp18_ = self->priv->adjust_tool_window;
-#line 2844 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2849 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp19_ = _tmp18_->highlights_slider;
-#line 2844 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2849 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, gtk_range_get_type (), GtkRange), "value-changed", (GCallback) _editing_tools_adjust_tool_on_highlights_adjustment_gtk_range_value_changed, self);
-#line 2845 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2850 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp20_ = self->priv->adjust_tool_window;
-#line 2845 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2850 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp21_ = _tmp20_->histogram_manipulator;
-#line 2845 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2850 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_connect (_tmp21_, "nub-position-changed", (GCallback) _editing_tools_adjust_tool_on_histogram_constraint_rgb_histogram_manipulator_nub_position_changed, self);
-#line 2847 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2852 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp22_ = self->priv->adjust_tool_window;
-#line 2847 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2852 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp23_ = _tmp22_->saturation_slider;
-#line 2847 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2852 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, gtk_widget_get_type (), GtkWidget), "button-press-event", (GCallback) _editing_tools_adjust_tool_on_hscale_reset_gtk_widget_button_press_event, self);
-#line 2848 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2853 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp24_ = self->priv->adjust_tool_window;
-#line 2848 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2853 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp25_ = _tmp24_->exposure_slider;
-#line 2848 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2853 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp25_, gtk_widget_get_type (), GtkWidget), "button-press-event", (GCallback) _editing_tools_adjust_tool_on_hscale_reset_gtk_widget_button_press_event, self);
-#line 2849 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2854 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp26_ = self->priv->adjust_tool_window;
-#line 2849 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2854 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp27_ = _tmp26_->contrast_slider;
-#line 2849 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2854 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp27_, gtk_widget_get_type (), GtkWidget), "button-press-event", (GCallback) _editing_tools_adjust_tool_on_hscale_reset_gtk_widget_button_press_event, self);
-#line 2850 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2855 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp28_ = self->priv->adjust_tool_window;
-#line 2850 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2855 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp29_ = _tmp28_->tint_slider;
-#line 2850 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2855 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp29_, gtk_widget_get_type (), GtkWidget), "button-press-event", (GCallback) _editing_tools_adjust_tool_on_hscale_reset_gtk_widget_button_press_event, self);
-#line 2851 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2856 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp30_ = self->priv->adjust_tool_window;
-#line 2851 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2856 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp31_ = _tmp30_->temperature_slider;
-#line 2851 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2856 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp31_, gtk_widget_get_type (), GtkWidget), "button-press-event", (GCallback) _editing_tools_adjust_tool_on_hscale_reset_gtk_widget_button_press_event, self);
-#line 2852 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2857 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp32_ = self->priv->adjust_tool_window;
-#line 2852 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2857 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp33_ = _tmp32_->shadows_slider;
-#line 2852 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2857 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp33_, gtk_widget_get_type (), GtkWidget), "button-press-event", (GCallback) _editing_tools_adjust_tool_on_hscale_reset_gtk_widget_button_press_event, self);
-#line 2853 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2858 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp34_ = self->priv->adjust_tool_window;
-#line 2853 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2858 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp35_ = _tmp34_->highlights_slider;
-#line 2853 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2858 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_connect (G_TYPE_CHECK_INSTANCE_CAST (_tmp35_, gtk_widget_get_type (), GtkWidget), "button-press-event", (GCallback) _editing_tools_adjust_tool_on_hscale_reset_gtk_widget_button_press_event, self);
-#line 17146 "EditingTools.c"
+#line 17155 "EditingTools.c"
}
@@ -17201,153 +17210,153 @@ static void editing_tools_adjust_tool_unbind_window_handlers (EditingToolsAdjust
EditingToolsAdjustToolAdjustToolWindow* _tmp51_ = NULL;
GtkScale* _tmp52_ = NULL;
guint _tmp53_ = 0U;
-#line 2856 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2861 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_ADJUST_TOOL (self));
-#line 2857 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2862 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = self->priv->adjust_tool_window;
-#line 2857 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2862 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = _tmp0_->ok_button;
-#line 2857 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2862 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_parse_name ("clicked", gtk_button_get_type (), &_tmp2_, NULL, FALSE);
-#line 2857 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2862 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_handlers_disconnect_matched (_tmp1_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp2_, 0, NULL, (GCallback) _editing_tools_adjust_tool_on_ok_gtk_button_clicked, self);
-#line 2858 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2863 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = self->priv->adjust_tool_window;
-#line 2858 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2863 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = _tmp3_->reset_button;
-#line 2858 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2863 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_parse_name ("clicked", gtk_button_get_type (), &_tmp5_, NULL, FALSE);
-#line 2858 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2863 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_handlers_disconnect_matched (_tmp4_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp5_, 0, NULL, (GCallback) _editing_tools_adjust_tool_on_reset_gtk_button_clicked, self);
-#line 2859 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2864 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = self->priv->adjust_tool_window;
-#line 2859 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2864 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = _tmp6_->cancel_button;
-#line 2859 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2864 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_parse_name ("clicked", gtk_button_get_type (), &_tmp8_, NULL, FALSE);
-#line 2859 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2864 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_handlers_disconnect_matched (_tmp7_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp8_, 0, NULL, (GCallback) _editing_tools_editing_tool_notify_cancel_gtk_button_clicked, G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool));
-#line 2860 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2865 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = self->priv->adjust_tool_window;
-#line 2860 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2865 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp10_ = _tmp9_->exposure_slider;
-#line 2860 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2865 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_parse_name ("value-changed", gtk_range_get_type (), &_tmp11_, NULL, FALSE);
-#line 2860 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2865 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, gtk_range_get_type (), GtkRange), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp11_, 0, NULL, (GCallback) _editing_tools_adjust_tool_on_exposure_adjustment_gtk_range_value_changed, self);
-#line 2861 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2866 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp12_ = self->priv->adjust_tool_window;
-#line 2861 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2866 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp13_ = _tmp12_->contrast_slider;
-#line 2861 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2866 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_parse_name ("value-changed", gtk_range_get_type (), &_tmp14_, NULL, FALSE);
-#line 2861 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2866 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, gtk_range_get_type (), GtkRange), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp14_, 0, NULL, (GCallback) _editing_tools_adjust_tool_on_contrast_adjustment_gtk_range_value_changed, self);
-#line 2862 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2867 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp15_ = self->priv->adjust_tool_window;
-#line 2862 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2867 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp16_ = _tmp15_->saturation_slider;
-#line 2862 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2867 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_parse_name ("value-changed", gtk_range_get_type (), &_tmp17_, NULL, FALSE);
-#line 2862 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2867 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, gtk_range_get_type (), GtkRange), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp17_, 0, NULL, (GCallback) _editing_tools_adjust_tool_on_saturation_adjustment_gtk_range_value_changed, self);
-#line 2863 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2868 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp18_ = self->priv->adjust_tool_window;
-#line 2863 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2868 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp19_ = _tmp18_->tint_slider;
-#line 2863 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2868 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_parse_name ("value-changed", gtk_range_get_type (), &_tmp20_, NULL, FALSE);
-#line 2863 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2868 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, gtk_range_get_type (), GtkRange), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp20_, 0, NULL, (GCallback) _editing_tools_adjust_tool_on_tint_adjustment_gtk_range_value_changed, self);
-#line 2864 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2869 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp21_ = self->priv->adjust_tool_window;
-#line 2864 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2869 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp22_ = _tmp21_->temperature_slider;
-#line 2864 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2869 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_parse_name ("value-changed", gtk_range_get_type (), &_tmp23_, NULL, FALSE);
-#line 2864 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2869 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, gtk_range_get_type (), GtkRange), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp23_, 0, NULL, (GCallback) _editing_tools_adjust_tool_on_temperature_adjustment_gtk_range_value_changed, self);
-#line 2865 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2870 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp24_ = self->priv->adjust_tool_window;
-#line 2865 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2870 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp25_ = _tmp24_->shadows_slider;
-#line 2865 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2870 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_parse_name ("value-changed", gtk_range_get_type (), &_tmp26_, NULL, FALSE);
-#line 2865 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2870 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp25_, gtk_range_get_type (), GtkRange), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp26_, 0, NULL, (GCallback) _editing_tools_adjust_tool_on_shadows_adjustment_gtk_range_value_changed, self);
-#line 2866 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2871 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp27_ = self->priv->adjust_tool_window;
-#line 2866 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2871 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp28_ = _tmp27_->highlights_slider;
-#line 2866 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2871 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_parse_name ("value-changed", gtk_range_get_type (), &_tmp29_, NULL, FALSE);
-#line 2866 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2871 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp28_, gtk_range_get_type (), GtkRange), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp29_, 0, NULL, (GCallback) _editing_tools_adjust_tool_on_highlights_adjustment_gtk_range_value_changed, self);
-#line 2867 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2872 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp30_ = self->priv->adjust_tool_window;
-#line 2867 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2872 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp31_ = _tmp30_->histogram_manipulator;
-#line 2867 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2872 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_parse_name ("nub-position-changed", TYPE_RGB_HISTOGRAM_MANIPULATOR, &_tmp32_, NULL, FALSE);
-#line 2867 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2872 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_handlers_disconnect_matched (_tmp31_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp32_, 0, NULL, (GCallback) _editing_tools_adjust_tool_on_histogram_constraint_rgb_histogram_manipulator_nub_position_changed, self);
-#line 2869 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2874 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp33_ = self->priv->adjust_tool_window;
-#line 2869 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2874 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp34_ = _tmp33_->saturation_slider;
-#line 2869 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2874 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_parse_name ("button-press-event", gtk_widget_get_type (), &_tmp35_, NULL, FALSE);
-#line 2869 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2874 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp34_, gtk_widget_get_type (), GtkWidget), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp35_, 0, NULL, (GCallback) _editing_tools_adjust_tool_on_hscale_reset_gtk_widget_button_press_event, self);
-#line 2870 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2875 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp36_ = self->priv->adjust_tool_window;
-#line 2870 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2875 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp37_ = _tmp36_->exposure_slider;
-#line 2870 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2875 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_parse_name ("button-press-event", gtk_widget_get_type (), &_tmp38_, NULL, FALSE);
-#line 2870 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2875 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp37_, gtk_widget_get_type (), GtkWidget), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp38_, 0, NULL, (GCallback) _editing_tools_adjust_tool_on_hscale_reset_gtk_widget_button_press_event, self);
-#line 2871 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2876 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp39_ = self->priv->adjust_tool_window;
-#line 2871 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2876 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp40_ = _tmp39_->contrast_slider;
-#line 2871 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2876 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_parse_name ("button-press-event", gtk_widget_get_type (), &_tmp41_, NULL, FALSE);
-#line 2871 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2876 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp40_, gtk_widget_get_type (), GtkWidget), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp41_, 0, NULL, (GCallback) _editing_tools_adjust_tool_on_hscale_reset_gtk_widget_button_press_event, self);
-#line 2872 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2877 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp42_ = self->priv->adjust_tool_window;
-#line 2872 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2877 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp43_ = _tmp42_->tint_slider;
-#line 2872 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2877 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_parse_name ("button-press-event", gtk_widget_get_type (), &_tmp44_, NULL, FALSE);
-#line 2872 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2877 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp43_, gtk_widget_get_type (), GtkWidget), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp44_, 0, NULL, (GCallback) _editing_tools_adjust_tool_on_hscale_reset_gtk_widget_button_press_event, self);
-#line 2873 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2878 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp45_ = self->priv->adjust_tool_window;
-#line 2873 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2878 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp46_ = _tmp45_->temperature_slider;
-#line 2873 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2878 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_parse_name ("button-press-event", gtk_widget_get_type (), &_tmp47_, NULL, FALSE);
-#line 2873 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2878 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp46_, gtk_widget_get_type (), GtkWidget), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp47_, 0, NULL, (GCallback) _editing_tools_adjust_tool_on_hscale_reset_gtk_widget_button_press_event, self);
-#line 2874 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2879 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp48_ = self->priv->adjust_tool_window;
-#line 2874 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2879 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp49_ = _tmp48_->shadows_slider;
-#line 2874 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2879 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_parse_name ("button-press-event", gtk_widget_get_type (), &_tmp50_, NULL, FALSE);
-#line 2874 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2879 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp49_, gtk_widget_get_type (), GtkWidget), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp50_, 0, NULL, (GCallback) _editing_tools_adjust_tool_on_hscale_reset_gtk_widget_button_press_event, self);
-#line 2875 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2880 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp51_ = self->priv->adjust_tool_window;
-#line 2875 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2880 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp52_ = _tmp51_->highlights_slider;
-#line 2875 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2880 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_parse_name ("button-press-event", gtk_widget_get_type (), &_tmp53_, NULL, FALSE);
-#line 2875 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2880 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp52_, gtk_widget_get_type (), GtkWidget), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp53_, 0, NULL, (GCallback) _editing_tools_adjust_tool_on_hscale_reset_gtk_widget_button_press_event, self);
-#line 17351 "EditingTools.c"
+#line 17360 "EditingTools.c"
}
@@ -17361,37 +17370,37 @@ gboolean editing_tools_adjust_tool_enhance (EditingToolsAdjustTool* self) {
EditingToolsAdjustToolAdjustEnhanceCommand* _tmp4_ = NULL;
CommandManager* _tmp5_ = NULL;
CommandManager* _tmp6_ = NULL;
-#line 2878 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2883 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (EDITING_TOOLS_IS_ADJUST_TOOL (self), FALSE);
-#line 2879 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2884 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 2879 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2884 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = editing_tools_photo_canvas_get_photo (_tmp0_);
-#line 2879 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2884 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = _tmp1_;
-#line 2879 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2884 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = editing_tools_adjust_tool_adjust_enhance_command_new (self, _tmp2_);
-#line 2879 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2884 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = _tmp3_;
-#line 2879 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2884 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (_tmp2_);
-#line 2879 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2884 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
command = _tmp4_;
-#line 2880 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2885 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = app_window_get_command_manager ();
-#line 2880 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2885 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = _tmp5_;
-#line 2880 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2885 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
command_manager_execute (_tmp6_, G_TYPE_CHECK_INSTANCE_CAST (command, TYPE_COMMAND, Command));
-#line 2880 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2885 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_command_manager_unref0 (_tmp6_);
-#line 2882 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2887 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
result = TRUE;
-#line 2882 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2887 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (command);
-#line 2882 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2887 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return result;
-#line 17395 "EditingTools.c"
+#line 17404 "EditingTools.c"
}
@@ -17409,68 +17418,68 @@ static void editing_tools_adjust_tool_on_photos_altered (EditingToolsAdjustTool*
PixelTransformationBundle* _tmp9_ = NULL;
PixelTransformationBundle* _tmp10_ = NULL;
PixelTransformationBundle* _tmp11_ = NULL;
-#line 2885 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2890 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_ADJUST_TOOL (self));
-#line 2885 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2890 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (GEE_IS_MAP (map));
-#line 2886 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2891 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = map;
-#line 2886 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2891 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 2886 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2891 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = editing_tools_photo_canvas_get_photo (_tmp1_);
-#line 2886 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2891 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = _tmp2_;
-#line 2886 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2891 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = gee_map_has_key (_tmp0_, G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, TYPE_DATA_OBJECT, DataObject));
-#line 2886 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2891 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = !_tmp4_;
-#line 2886 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2891 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (_tmp3_);
-#line 2886 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2891 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp5_) {
-#line 2887 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2892 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return;
-#line 17435 "EditingTools.c"
+#line 17444 "EditingTools.c"
}
-#line 2889 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2894 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 2889 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2894 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = editing_tools_photo_canvas_get_photo (_tmp6_);
-#line 2889 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2894 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = _tmp7_;
-#line 2889 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2894 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = photo_get_color_adjustments (_tmp8_);
-#line 2889 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2894 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp10_ = _tmp9_;
-#line 2889 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2894 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (_tmp8_);
-#line 2889 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2894 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
adjustments = _tmp10_;
-#line 2890 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2895 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp11_ = adjustments;
-#line 2890 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2895 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_adjust_tool_set_adjustments (self, _tmp11_);
-#line 2885 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2890 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_pixel_transformation_bundle_unref0 (adjustments);
-#line 17457 "EditingTools.c"
+#line 17466 "EditingTools.c"
}
static void editing_tools_adjust_tool_set_adjustments (EditingToolsAdjustTool* self, PixelTransformationBundle* new_adjustments) {
PixelTransformationBundle* _tmp0_ = NULL;
EditingToolsPhotoCanvas* _tmp11_ = NULL;
-#line 2893 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2898 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_ADJUST_TOOL (self));
-#line 2893 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2898 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (IS_PIXEL_TRANSFORMATION_BUNDLE (new_adjustments));
-#line 2894 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2899 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_adjust_tool_unbind_window_handlers (self);
-#line 2896 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2901 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = new_adjustments;
-#line 2896 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2901 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_adjust_tool_update_transformations (self, _tmp0_);
-#line 17474 "EditingTools.c"
+#line 17483 "EditingTools.c"
{
GeeIterator* _adjustment_it = NULL;
PixelTransformationBundle* _tmp1_ = NULL;
@@ -17478,106 +17487,106 @@ static void editing_tools_adjust_tool_set_adjustments (EditingToolsAdjustTool* s
GeeIterable* _tmp3_ = NULL;
GeeIterator* _tmp4_ = NULL;
GeeIterator* _tmp5_ = NULL;
-#line 2898 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2903 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = new_adjustments;
-#line 2898 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2903 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = pixel_transformation_bundle_get_transformations (_tmp1_);
-#line 2898 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2903 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = _tmp2_;
-#line 2898 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2903 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = gee_iterable_iterator (_tmp3_);
-#line 2898 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2903 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = _tmp4_;
-#line 2898 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2903 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (_tmp3_);
-#line 2898 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2903 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_adjustment_it = _tmp5_;
-#line 2898 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2903 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
while (TRUE) {
-#line 17498 "EditingTools.c"
+#line 17507 "EditingTools.c"
GeeIterator* _tmp6_ = NULL;
gboolean _tmp7_ = FALSE;
PixelTransformation* adjustment = NULL;
GeeIterator* _tmp8_ = NULL;
gpointer _tmp9_ = NULL;
PixelTransformation* _tmp10_ = NULL;
-#line 2898 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2903 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = _adjustment_it;
-#line 2898 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2903 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = gee_iterator_next (_tmp6_);
-#line 2898 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2903 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (!_tmp7_) {
-#line 2898 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2903 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
break;
-#line 17513 "EditingTools.c"
+#line 17522 "EditingTools.c"
}
-#line 2898 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2903 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = _adjustment_it;
-#line 2898 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2903 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = gee_iterator_get (_tmp8_);
-#line 2898 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2903 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
adjustment = (PixelTransformation*) _tmp9_;
-#line 2899 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2904 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp10_ = adjustment;
-#line 2899 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2904 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_adjust_tool_update_slider (self, _tmp10_);
-#line 2898 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2903 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_pixel_transformation_unref0 (adjustment);
-#line 17527 "EditingTools.c"
+#line 17536 "EditingTools.c"
}
-#line 2898 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2903 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (_adjustment_it);
-#line 17531 "EditingTools.c"
+#line 17540 "EditingTools.c"
}
-#line 2901 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2906 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_adjust_tool_bind_window_handlers (self);
-#line 2902 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2907 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp11_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 2902 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2907 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_photo_canvas_repaint (_tmp11_);
-#line 17539 "EditingTools.c"
+#line 17548 "EditingTools.c"
}
static gpointer _pixel_transformation_ref0 (gpointer self) {
-#line 2910 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2915 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return self ? pixel_transformation_ref (self) : NULL;
-#line 17546 "EditingTools.c"
+#line 17555 "EditingTools.c"
}
static void editing_tools_adjust_tool_update_slider (EditingToolsAdjustTool* self, PixelTransformation* transformation) {
PixelTransformation* _tmp0_ = NULL;
PixelTransformationType _tmp1_ = 0;
-#line 2907 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2912 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_ADJUST_TOOL (self));
-#line 2907 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2912 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (IS_PIXEL_TRANSFORMATION (transformation));
-#line 2908 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2913 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = transformation;
-#line 2908 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2913 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = pixel_transformation_get_transformation_type (_tmp0_);
-#line 2908 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2913 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
switch (_tmp1_) {
-#line 2908 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2913 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
case PIXEL_TRANSFORMATION_TYPE_TONE_EXPANSION:
-#line 17565 "EditingTools.c"
+#line 17574 "EditingTools.c"
{
ExpansionTransformation* expansion = NULL;
PixelTransformation* _tmp2_ = NULL;
ExpansionTransformation* _tmp3_ = NULL;
gboolean _tmp4_ = FALSE;
-#line 2910 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2915 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = transformation;
-#line 2910 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2915 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = _pixel_transformation_ref0 (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, TYPE_EXPANSION_TRANSFORMATION, ExpansionTransformation));
-#line 2910 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2915 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
expansion = _tmp3_;
-#line 2912 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2917 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = self->priv->disable_histogram_refresh;
-#line 2912 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2917 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (!_tmp4_) {
-#line 17581 "EditingTools.c"
+#line 17590 "EditingTools.c"
EditingToolsAdjustToolAdjustToolWindow* _tmp5_ = NULL;
RGBHistogramManipulator* _tmp6_ = NULL;
ExpansionTransformation* _tmp7_ = NULL;
@@ -17586,199 +17595,199 @@ static void editing_tools_adjust_tool_update_slider (EditingToolsAdjustTool* sel
RGBHistogramManipulator* _tmp10_ = NULL;
ExpansionTransformation* _tmp11_ = NULL;
gint _tmp12_ = 0;
-#line 2913 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2918 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = self->priv->adjust_tool_window;
-#line 2913 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2918 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = _tmp5_->histogram_manipulator;
-#line 2913 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2918 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = expansion;
-#line 2913 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2918 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = expansion_transformation_get_black_point (_tmp7_);
-#line 2913 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2918 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
rgb_histogram_manipulator_set_left_nub_position (_tmp6_, _tmp8_);
-#line 2915 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2920 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = self->priv->adjust_tool_window;
-#line 2915 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2920 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp10_ = _tmp9_->histogram_manipulator;
-#line 2915 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2920 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp11_ = expansion;
-#line 2915 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2920 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp12_ = expansion_transformation_get_white_point (_tmp11_);
-#line 2915 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2920 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
rgb_histogram_manipulator_set_right_nub_position (_tmp10_, _tmp12_);
-#line 17610 "EditingTools.c"
+#line 17619 "EditingTools.c"
}
-#line 2918 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2923 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_pixel_transformation_unref0 (expansion);
-#line 2918 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2923 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
break;
-#line 17616 "EditingTools.c"
+#line 17625 "EditingTools.c"
}
-#line 2908 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2913 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
case PIXEL_TRANSFORMATION_TYPE_SHADOWS:
-#line 17620 "EditingTools.c"
+#line 17629 "EditingTools.c"
{
EditingToolsAdjustToolAdjustToolWindow* _tmp13_ = NULL;
GtkScale* _tmp14_ = NULL;
PixelTransformation* _tmp15_ = NULL;
gfloat _tmp16_ = 0.0F;
-#line 2921 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2926 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp13_ = self->priv->adjust_tool_window;
-#line 2921 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2926 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp14_ = _tmp13_->shadows_slider;
-#line 2921 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2926 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp15_ = transformation;
-#line 2921 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2926 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp16_ = shadow_detail_transformation_get_parameter (G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, TYPE_SHADOW_DETAIL_TRANSFORMATION, ShadowDetailTransformation));
-#line 2921 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2926 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_range_set_value (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, gtk_range_get_type (), GtkRange), (gdouble) _tmp16_);
-#line 2923 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2928 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
break;
-#line 17638 "EditingTools.c"
+#line 17647 "EditingTools.c"
}
-#line 2908 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2913 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
case PIXEL_TRANSFORMATION_TYPE_CONTRAST:
-#line 17642 "EditingTools.c"
+#line 17651 "EditingTools.c"
{
EditingToolsAdjustToolAdjustToolWindow* _tmp17_ = NULL;
GtkScale* _tmp18_ = NULL;
PixelTransformation* _tmp19_ = NULL;
gfloat _tmp20_ = 0.0F;
-#line 2926 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2931 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp17_ = self->priv->adjust_tool_window;
-#line 2926 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2931 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp18_ = _tmp17_->contrast_slider;
-#line 2926 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2931 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp19_ = transformation;
-#line 2926 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2931 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp20_ = contrast_transformation_get_parameter (G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, TYPE_CONTRAST_TRANSFORMATION, ContrastTransformation));
-#line 2926 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2931 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_range_set_value (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, gtk_range_get_type (), GtkRange), (gdouble) _tmp20_);
-#line 2928 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2933 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
break;
-#line 17660 "EditingTools.c"
+#line 17669 "EditingTools.c"
}
-#line 2908 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2913 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
case PIXEL_TRANSFORMATION_TYPE_HIGHLIGHTS:
-#line 17664 "EditingTools.c"
+#line 17673 "EditingTools.c"
{
EditingToolsAdjustToolAdjustToolWindow* _tmp21_ = NULL;
GtkScale* _tmp22_ = NULL;
PixelTransformation* _tmp23_ = NULL;
gfloat _tmp24_ = 0.0F;
-#line 2931 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2936 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp21_ = self->priv->adjust_tool_window;
-#line 2931 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2936 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp22_ = _tmp21_->highlights_slider;
-#line 2931 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2936 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp23_ = transformation;
-#line 2931 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2936 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp24_ = highlight_detail_transformation_get_parameter (G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, TYPE_HIGHLIGHT_DETAIL_TRANSFORMATION, HighlightDetailTransformation));
-#line 2931 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2936 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_range_set_value (G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, gtk_range_get_type (), GtkRange), (gdouble) _tmp24_);
-#line 2933 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2938 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
break;
-#line 17682 "EditingTools.c"
+#line 17691 "EditingTools.c"
}
-#line 2908 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2913 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
case PIXEL_TRANSFORMATION_TYPE_EXPOSURE:
-#line 17686 "EditingTools.c"
+#line 17695 "EditingTools.c"
{
EditingToolsAdjustToolAdjustToolWindow* _tmp25_ = NULL;
GtkScale* _tmp26_ = NULL;
PixelTransformation* _tmp27_ = NULL;
gfloat _tmp28_ = 0.0F;
-#line 2936 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2941 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp25_ = self->priv->adjust_tool_window;
-#line 2936 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2941 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp26_ = _tmp25_->exposure_slider;
-#line 2936 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2941 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp27_ = transformation;
-#line 2936 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2941 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp28_ = exposure_transformation_get_parameter (G_TYPE_CHECK_INSTANCE_CAST (_tmp27_, TYPE_EXPOSURE_TRANSFORMATION, ExposureTransformation));
-#line 2936 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2941 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_range_set_value (G_TYPE_CHECK_INSTANCE_CAST (_tmp26_, gtk_range_get_type (), GtkRange), (gdouble) _tmp28_);
-#line 2938 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2943 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
break;
-#line 17704 "EditingTools.c"
+#line 17713 "EditingTools.c"
}
-#line 2908 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2913 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
case PIXEL_TRANSFORMATION_TYPE_SATURATION:
-#line 17708 "EditingTools.c"
+#line 17717 "EditingTools.c"
{
EditingToolsAdjustToolAdjustToolWindow* _tmp29_ = NULL;
GtkScale* _tmp30_ = NULL;
PixelTransformation* _tmp31_ = NULL;
gfloat _tmp32_ = 0.0F;
-#line 2941 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2946 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp29_ = self->priv->adjust_tool_window;
-#line 2941 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2946 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp30_ = _tmp29_->saturation_slider;
-#line 2941 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2946 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp31_ = transformation;
-#line 2941 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2946 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp32_ = saturation_transformation_get_parameter (G_TYPE_CHECK_INSTANCE_CAST (_tmp31_, TYPE_SATURATION_TRANSFORMATION, SaturationTransformation));
-#line 2941 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2946 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_range_set_value (G_TYPE_CHECK_INSTANCE_CAST (_tmp30_, gtk_range_get_type (), GtkRange), (gdouble) _tmp32_);
-#line 2943 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2948 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
break;
-#line 17726 "EditingTools.c"
+#line 17735 "EditingTools.c"
}
-#line 2908 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2913 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
case PIXEL_TRANSFORMATION_TYPE_TINT:
-#line 17730 "EditingTools.c"
+#line 17739 "EditingTools.c"
{
EditingToolsAdjustToolAdjustToolWindow* _tmp33_ = NULL;
GtkScale* _tmp34_ = NULL;
PixelTransformation* _tmp35_ = NULL;
gfloat _tmp36_ = 0.0F;
-#line 2946 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2951 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp33_ = self->priv->adjust_tool_window;
-#line 2946 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2951 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp34_ = _tmp33_->tint_slider;
-#line 2946 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2951 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp35_ = transformation;
-#line 2946 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2951 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp36_ = tint_transformation_get_parameter (G_TYPE_CHECK_INSTANCE_CAST (_tmp35_, TYPE_TINT_TRANSFORMATION, TintTransformation));
-#line 2946 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2951 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_range_set_value (G_TYPE_CHECK_INSTANCE_CAST (_tmp34_, gtk_range_get_type (), GtkRange), (gdouble) _tmp36_);
-#line 2948 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2953 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
break;
-#line 17748 "EditingTools.c"
+#line 17757 "EditingTools.c"
}
-#line 2908 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2913 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
case PIXEL_TRANSFORMATION_TYPE_TEMPERATURE:
-#line 17752 "EditingTools.c"
+#line 17761 "EditingTools.c"
{
EditingToolsAdjustToolAdjustToolWindow* _tmp37_ = NULL;
GtkScale* _tmp38_ = NULL;
PixelTransformation* _tmp39_ = NULL;
gfloat _tmp40_ = 0.0F;
-#line 2951 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2956 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp37_ = self->priv->adjust_tool_window;
-#line 2951 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2956 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp38_ = _tmp37_->temperature_slider;
-#line 2951 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2956 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp39_ = transformation;
-#line 2951 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2956 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp40_ = temperature_transformation_get_parameter (G_TYPE_CHECK_INSTANCE_CAST (_tmp39_, TYPE_TEMPERATURE_TRANSFORMATION, TemperatureTransformation));
-#line 2951 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2956 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_range_set_value (G_TYPE_CHECK_INSTANCE_CAST (_tmp38_, gtk_range_get_type (), GtkRange), (gdouble) _tmp40_);
-#line 2953 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2958 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
break;
-#line 17770 "EditingTools.c"
+#line 17779 "EditingTools.c"
}
default:
{
PixelTransformation* _tmp41_ = NULL;
PixelTransformationType _tmp42_ = 0;
-#line 2956 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2961 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp41_ = transformation;
-#line 2956 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2961 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp42_ = pixel_transformation_get_transformation_type (_tmp41_);
-#line 2956 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
- g_error ("EditingTools.vala:2956: Unknown adjustment: %d", (gint) _tmp42_);
-#line 17782 "EditingTools.c"
+#line 2961 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+ g_error ("EditingTools.vala:2961: Unknown adjustment: %d", (gint) _tmp42_);
+#line 17791 "EditingTools.c"
}
}
}
@@ -17807,75 +17816,75 @@ static void editing_tools_adjust_tool_init_fp_pixel_cache (EditingToolsAdjustToo
gfloat* _tmp12_ = NULL;
gint cache_pixel_index = 0;
gfloat INV_255 = 0.0F;
-#line 2960 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2965 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_IS_ADJUST_TOOL (self));
-#line 2960 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2965 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (GDK_IS_PIXBUF (source));
-#line 2961 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2966 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = source;
-#line 2961 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2966 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = gdk_pixbuf_get_width (_tmp0_);
-#line 2961 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2966 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
source_width = _tmp1_;
-#line 2962 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2967 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = source;
-#line 2962 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2967 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = gdk_pixbuf_get_height (_tmp2_);
-#line 2962 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2967 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
source_height = _tmp3_;
-#line 2963 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2968 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = source;
-#line 2963 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2968 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = gdk_pixbuf_get_n_channels (_tmp4_);
-#line 2963 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2968 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
source_num_channels = _tmp5_;
-#line 2964 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2969 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = source;
-#line 2964 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2969 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = gdk_pixbuf_get_rowstride (_tmp6_);
-#line 2964 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2969 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
source_rowstride = _tmp7_;
-#line 2965 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2970 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = source;
-#line 2965 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2970 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = gdk_pixbuf_get_pixels (_tmp8_);
-#line 2965 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2970 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
source_pixels = _tmp9_;
-#line 2965 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2970 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
source_pixels_length1 = -1;
-#line 2965 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2970 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_source_pixels_size_ = source_pixels_length1;
-#line 2967 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2972 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp10_ = source_width;
-#line 2967 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2972 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp11_ = source_height;
-#line 2967 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2972 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp12_ = g_new0 (gfloat, (3 * _tmp10_) * _tmp11_);
-#line 2967 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2972 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->fp_pixel_cache = (g_free (self->priv->fp_pixel_cache), NULL);
-#line 2967 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2972 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->fp_pixel_cache = _tmp12_;
-#line 2967 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2972 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->fp_pixel_cache_length1 = (3 * _tmp10_) * _tmp11_;
-#line 2967 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2972 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->_fp_pixel_cache_size_ = self->priv->fp_pixel_cache_length1;
-#line 2968 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2973 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cache_pixel_index = 0;
-#line 2969 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2974 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
INV_255 = 1.0f / 255.0f;
-#line 17867 "EditingTools.c"
+#line 17876 "EditingTools.c"
{
gint j = 0;
-#line 2971 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2976 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
j = 0;
-#line 17872 "EditingTools.c"
+#line 17881 "EditingTools.c"
{
gboolean _tmp13_ = FALSE;
-#line 2971 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2976 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp13_ = TRUE;
-#line 2971 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2976 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
while (TRUE) {
-#line 17879 "EditingTools.c"
+#line 17888 "EditingTools.c"
gint _tmp15_ = 0;
gint _tmp16_ = 0;
gint row_start_index = 0;
@@ -17885,58 +17894,58 @@ static void editing_tools_adjust_tool_init_fp_pixel_cache (EditingToolsAdjustToo
gint _tmp19_ = 0;
gint _tmp20_ = 0;
gint _tmp21_ = 0;
-#line 2971 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2976 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (!_tmp13_) {
-#line 17891 "EditingTools.c"
+#line 17900 "EditingTools.c"
gint _tmp14_ = 0;
-#line 2971 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2976 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp14_ = j;
-#line 2971 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2976 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
j = _tmp14_ + 1;
-#line 17897 "EditingTools.c"
+#line 17906 "EditingTools.c"
}
-#line 2971 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2976 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp13_ = FALSE;
-#line 2971 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2976 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp15_ = j;
-#line 2971 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2976 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp16_ = source_height;
-#line 2971 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2976 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (!(_tmp15_ < _tmp16_)) {
-#line 2971 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2976 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
break;
-#line 17909 "EditingTools.c"
+#line 17918 "EditingTools.c"
}
-#line 2972 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2977 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp17_ = j;
-#line 2972 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2977 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp18_ = source_rowstride;
-#line 2972 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2977 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
row_start_index = _tmp17_ * _tmp18_;
-#line 2973 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2978 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp19_ = row_start_index;
-#line 2973 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2978 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp20_ = source_width;
-#line 2973 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2978 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp21_ = source_num_channels;
-#line 2973 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2978 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
row_end_index = _tmp19_ + (_tmp20_ * _tmp21_);
-#line 17925 "EditingTools.c"
+#line 17934 "EditingTools.c"
{
gint i = 0;
gint _tmp22_ = 0;
-#line 2974 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2979 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp22_ = row_start_index;
-#line 2974 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2979 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
i = _tmp22_;
-#line 17933 "EditingTools.c"
+#line 17942 "EditingTools.c"
{
gboolean _tmp23_ = FALSE;
-#line 2974 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2979 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp23_ = TRUE;
-#line 2974 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2979 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
while (TRUE) {
-#line 17940 "EditingTools.c"
+#line 17949 "EditingTools.c"
gint _tmp26_ = 0;
gint _tmp27_ = 0;
gfloat* _tmp28_ = NULL;
@@ -17966,98 +17975,98 @@ static void editing_tools_adjust_tool_init_fp_pixel_cache (EditingToolsAdjustToo
guchar _tmp46_ = '\0';
gfloat _tmp47_ = 0.0F;
gfloat _tmp48_ = 0.0F;
-#line 2974 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2979 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (!_tmp23_) {
-#line 17972 "EditingTools.c"
+#line 17981 "EditingTools.c"
gint _tmp24_ = 0;
gint _tmp25_ = 0;
-#line 2974 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2979 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp24_ = i;
-#line 2974 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2979 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp25_ = source_num_channels;
-#line 2974 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2979 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
i = _tmp24_ + _tmp25_;
-#line 17981 "EditingTools.c"
+#line 17990 "EditingTools.c"
}
-#line 2974 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2979 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp23_ = FALSE;
-#line 2974 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2979 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp26_ = i;
-#line 2974 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2979 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp27_ = row_end_index;
-#line 2974 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2979 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (!(_tmp26_ < _tmp27_)) {
-#line 2974 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2979 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
break;
-#line 17993 "EditingTools.c"
+#line 18002 "EditingTools.c"
}
-#line 2975 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2980 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp28_ = self->priv->fp_pixel_cache;
-#line 2975 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2980 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp28__length1 = self->priv->fp_pixel_cache_length1;
-#line 2975 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2980 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp29_ = cache_pixel_index;
-#line 2975 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2980 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cache_pixel_index = _tmp29_ + 1;
-#line 2975 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2980 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp30_ = source_pixels;
-#line 2975 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2980 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp30__length1 = source_pixels_length1;
-#line 2975 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2980 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp31_ = i;
-#line 2975 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2980 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp32_ = _tmp30_[_tmp31_];
-#line 2975 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2980 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp33_ = INV_255;
-#line 2975 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2980 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp28_[_tmp29_] = ((gfloat) _tmp32_) * _tmp33_;
-#line 2975 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2980 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp34_ = _tmp28_[_tmp29_];
-#line 2976 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2981 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp35_ = self->priv->fp_pixel_cache;
-#line 2976 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2981 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp35__length1 = self->priv->fp_pixel_cache_length1;
-#line 2976 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2981 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp36_ = cache_pixel_index;
-#line 2976 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2981 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cache_pixel_index = _tmp36_ + 1;
-#line 2976 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2981 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp37_ = source_pixels;
-#line 2976 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2981 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp37__length1 = source_pixels_length1;
-#line 2976 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2981 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp38_ = i;
-#line 2976 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2981 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp39_ = _tmp37_[_tmp38_ + 1];
-#line 2976 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2981 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp40_ = INV_255;
-#line 2976 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2981 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp35_[_tmp36_] = ((gfloat) _tmp39_) * _tmp40_;
-#line 2976 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2981 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp41_ = _tmp35_[_tmp36_];
-#line 2977 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2982 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp42_ = self->priv->fp_pixel_cache;
-#line 2977 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2982 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp42__length1 = self->priv->fp_pixel_cache_length1;
-#line 2977 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2982 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp43_ = cache_pixel_index;
-#line 2977 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2982 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
cache_pixel_index = _tmp43_ + 1;
-#line 2977 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2982 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp44_ = source_pixels;
-#line 2977 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2982 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp44__length1 = source_pixels_length1;
-#line 2977 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2982 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp45_ = i;
-#line 2977 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2982 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp46_ = _tmp44_[_tmp45_ + 2];
-#line 2977 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2982 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp47_ = INV_255;
-#line 2977 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2982 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp42_[_tmp43_] = ((gfloat) _tmp46_) * _tmp47_;
-#line 2977 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2982 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp48_ = _tmp42_[_tmp43_];
-#line 18061 "EditingTools.c"
+#line 18070 "EditingTools.c"
}
}
}
@@ -18077,73 +18086,73 @@ static gboolean editing_tools_adjust_tool_real_on_keypress (EditingToolsEditingT
const gchar* _tmp4_ = NULL;
GdkEventKey* _tmp11_ = NULL;
gboolean _tmp12_ = FALSE;
-#line 2982 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2987 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, EDITING_TOOLS_TYPE_ADJUST_TOOL, EditingToolsAdjustTool);
-#line 2982 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2987 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 2983 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2988 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = event;
-#line 2983 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2988 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = _tmp2_->keyval;
-#line 2983 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2988 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = gdk_keyval_name (_tmp3_);
-#line 2983 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2988 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (g_strcmp0 (_tmp4_, "KP_Enter") == 0) {
-#line 2983 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2988 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = TRUE;
-#line 18095 "EditingTools.c"
+#line 18104 "EditingTools.c"
} else {
GdkEventKey* _tmp5_ = NULL;
guint _tmp6_ = 0U;
const gchar* _tmp7_ = NULL;
-#line 2984 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2989 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = event;
-#line 2984 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2989 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = _tmp5_->keyval;
-#line 2984 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2989 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = gdk_keyval_name (_tmp6_);
-#line 2984 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2989 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = g_strcmp0 (_tmp7_, "Enter") == 0;
-#line 18108 "EditingTools.c"
+#line 18117 "EditingTools.c"
}
-#line 2983 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2988 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp1_) {
-#line 2983 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2988 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = TRUE;
-#line 18114 "EditingTools.c"
+#line 18123 "EditingTools.c"
} else {
GdkEventKey* _tmp8_ = NULL;
guint _tmp9_ = 0U;
const gchar* _tmp10_ = NULL;
-#line 2985 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2990 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = event;
-#line 2985 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2990 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = _tmp8_->keyval;
-#line 2985 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2990 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp10_ = gdk_keyval_name (_tmp9_);
-#line 2985 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2990 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = g_strcmp0 (_tmp10_, "Return") == 0;
-#line 18127 "EditingTools.c"
+#line 18136 "EditingTools.c"
}
-#line 2983 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2988 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp0_) {
-#line 2986 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2991 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_adjust_tool_on_ok (self);
-#line 2987 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2992 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
result = TRUE;
-#line 2987 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2992 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return result;
-#line 18137 "EditingTools.c"
+#line 18146 "EditingTools.c"
}
-#line 2990 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2995 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp11_ = event;
-#line 2990 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2995 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp12_ = EDITING_TOOLS_EDITING_TOOL_CLASS (editing_tools_adjust_tool_parent_class)->on_keypress (G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool), _tmp11_);
-#line 2990 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2995 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
result = _tmp12_;
-#line 2990 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2995 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return result;
-#line 18147 "EditingTools.c"
+#line 18156 "EditingTools.c"
}
@@ -18213,329 +18222,329 @@ static EditingToolsAdjustToolAdjustToolWindow* editing_tools_adjust_tool_adjust_
GtkBox* _tmp51_ = NULL;
RGBHistogramManipulator* _tmp52_ = NULL;
RGBHistogramManipulator* _tmp53_ = NULL;
-#line 2237 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2242 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (GTK_IS_WINDOW (container), NULL);
-#line 2238 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2243 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = container;
-#line 2238 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2243 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self = (EditingToolsAdjustToolAdjustToolWindow*) editing_tools_editing_tool_window_construct (object_type, _tmp0_);
-#line 2240 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2245 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = (GtkGrid*) gtk_grid_new ();
-#line 2240 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2245 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_object_ref_sink (_tmp1_);
-#line 2240 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2245 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
slider_organizer = _tmp1_;
-#line 2241 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2246 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_grid_set_column_homogeneous (slider_organizer, FALSE);
-#line 2242 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2247 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_grid_set_row_spacing (slider_organizer, (guint) 12);
-#line 2243 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2248 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_grid_set_column_spacing (slider_organizer, (guint) 12);
-#line 2244 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2249 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_widget_set_margin_start (G_TYPE_CHECK_INSTANCE_CAST (slider_organizer, gtk_widget_get_type (), GtkWidget), 12);
-#line 2245 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2250 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_widget_set_margin_bottom (G_TYPE_CHECK_INSTANCE_CAST (slider_organizer, gtk_widget_get_type (), GtkWidget), 12);
-#line 2247 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2252 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = _ ("Exposure:");
-#line 2247 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2252 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = (GtkLabel*) gtk_label_new_with_mnemonic (_tmp2_);
-#line 2247 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2252 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_object_ref_sink (_tmp3_);
-#line 2247 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2252 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
exposure_label = _tmp3_;
-#line 2248 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2253 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_widget_set_halign (G_TYPE_CHECK_INSTANCE_CAST (exposure_label, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_START);
-#line 2249 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2254 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_widget_set_valign (G_TYPE_CHECK_INSTANCE_CAST (exposure_label, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_CENTER);
-#line 2250 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2255 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_grid_attach (slider_organizer, G_TYPE_CHECK_INSTANCE_CAST (exposure_label, gtk_widget_get_type (), GtkWidget), 0, 0, 1, 1);
-#line 2251 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2256 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = self->exposure_slider;
-#line 2251 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2256 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_grid_attach (slider_organizer, G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_widget_get_type (), GtkWidget), 1, 0, 1, 1);
-#line 2252 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2257 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = self->exposure_slider;
-#line 2252 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2257 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_widget_set_size_request (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_widget_get_type (), GtkWidget), EDITING_TOOLS_ADJUST_TOOL_SLIDER_WIDTH, -1);
-#line 2253 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2258 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = self->exposure_slider;
-#line 2253 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2258 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_scale_set_draw_value (_tmp6_, FALSE);
-#line 2254 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2259 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = self->exposure_slider;
-#line 2254 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2259 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_widget_set_margin_end (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_widget_get_type (), GtkWidget), 0);
-#line 2256 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2261 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = _ ("Contrast:");
-#line 2256 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2261 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = (GtkLabel*) gtk_label_new_with_mnemonic (_tmp8_);
-#line 2256 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2261 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_object_ref_sink (_tmp9_);
-#line 2256 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2261 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
contrast_label = _tmp9_;
-#line 2257 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2262 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_widget_set_halign (G_TYPE_CHECK_INSTANCE_CAST (contrast_label, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_START);
-#line 2258 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2263 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_widget_set_valign (G_TYPE_CHECK_INSTANCE_CAST (contrast_label, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_CENTER);
-#line 2259 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2264 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_grid_attach (slider_organizer, G_TYPE_CHECK_INSTANCE_CAST (contrast_label, gtk_widget_get_type (), GtkWidget), 0, 1, 1, 1);
-#line 2260 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2265 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp10_ = self->contrast_slider;
-#line 2260 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2265 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_grid_attach (slider_organizer, G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, gtk_widget_get_type (), GtkWidget), 1, 1, 1, 1);
-#line 2261 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2266 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp11_ = self->contrast_slider;
-#line 2261 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2266 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_widget_set_size_request (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, gtk_widget_get_type (), GtkWidget), EDITING_TOOLS_ADJUST_TOOL_SLIDER_WIDTH, -1);
-#line 2262 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2267 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp12_ = self->contrast_slider;
-#line 2262 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2267 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_scale_set_draw_value (_tmp12_, FALSE);
-#line 2263 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2268 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp13_ = self->contrast_slider;
-#line 2263 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2268 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_widget_set_margin_end (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, gtk_widget_get_type (), GtkWidget), 0);
-#line 2265 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2270 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp14_ = _ ("Saturation:");
-#line 2265 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2270 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp15_ = (GtkLabel*) gtk_label_new_with_mnemonic (_tmp14_);
-#line 2265 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2270 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_object_ref_sink (_tmp15_);
-#line 2265 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2270 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
saturation_label = _tmp15_;
-#line 2266 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2271 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_widget_set_halign (G_TYPE_CHECK_INSTANCE_CAST (saturation_label, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_START);
-#line 2267 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2272 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_widget_set_valign (G_TYPE_CHECK_INSTANCE_CAST (saturation_label, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_CENTER);
-#line 2268 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2273 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_grid_attach (slider_organizer, G_TYPE_CHECK_INSTANCE_CAST (saturation_label, gtk_widget_get_type (), GtkWidget), 0, 2, 1, 1);
-#line 2269 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2274 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp16_ = self->saturation_slider;
-#line 2269 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2274 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_grid_attach (slider_organizer, G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, gtk_widget_get_type (), GtkWidget), 1, 2, 1, 1);
-#line 2270 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2275 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp17_ = self->saturation_slider;
-#line 2270 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2275 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_widget_set_size_request (G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, gtk_widget_get_type (), GtkWidget), EDITING_TOOLS_ADJUST_TOOL_SLIDER_WIDTH, -1);
-#line 2271 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2276 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp18_ = self->saturation_slider;
-#line 2271 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2276 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_scale_set_draw_value (_tmp18_, FALSE);
-#line 2272 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2277 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp19_ = self->saturation_slider;
-#line 2272 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2277 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_widget_set_margin_end (G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, gtk_widget_get_type (), GtkWidget), 0);
-#line 2274 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2279 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp20_ = _ ("Tint:");
-#line 2274 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2279 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp21_ = (GtkLabel*) gtk_label_new_with_mnemonic (_tmp20_);
-#line 2274 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2279 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_object_ref_sink (_tmp21_);
-#line 2274 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2279 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
tint_label = _tmp21_;
-#line 2275 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2280 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_widget_set_halign (G_TYPE_CHECK_INSTANCE_CAST (tint_label, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_START);
-#line 2276 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2281 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_widget_set_valign (G_TYPE_CHECK_INSTANCE_CAST (tint_label, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_CENTER);
-#line 2277 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2282 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_grid_attach (slider_organizer, G_TYPE_CHECK_INSTANCE_CAST (tint_label, gtk_widget_get_type (), GtkWidget), 0, 3, 1, 1);
-#line 2278 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2283 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp22_ = self->tint_slider;
-#line 2278 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2283 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_grid_attach (slider_organizer, G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, gtk_widget_get_type (), GtkWidget), 1, 3, 1, 1);
-#line 2279 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2284 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp23_ = self->tint_slider;
-#line 2279 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2284 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_widget_set_size_request (G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, gtk_widget_get_type (), GtkWidget), EDITING_TOOLS_ADJUST_TOOL_SLIDER_WIDTH, -1);
-#line 2280 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2285 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp24_ = self->tint_slider;
-#line 2280 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2285 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_scale_set_draw_value (_tmp24_, FALSE);
-#line 2281 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2286 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp25_ = self->tint_slider;
-#line 2281 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2286 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_widget_set_margin_end (G_TYPE_CHECK_INSTANCE_CAST (_tmp25_, gtk_widget_get_type (), GtkWidget), 0);
-#line 2283 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2288 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp26_ = _ ("Temperature:");
-#line 2283 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2288 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp27_ = (GtkLabel*) gtk_label_new_with_mnemonic (_tmp26_);
-#line 2283 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2288 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_object_ref_sink (_tmp27_);
-#line 2283 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2288 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
temperature_label = _tmp27_;
-#line 2285 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2290 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_widget_set_halign (G_TYPE_CHECK_INSTANCE_CAST (temperature_label, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_START);
-#line 2286 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2291 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_widget_set_valign (G_TYPE_CHECK_INSTANCE_CAST (temperature_label, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_CENTER);
-#line 2287 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2292 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_grid_attach (slider_organizer, G_TYPE_CHECK_INSTANCE_CAST (temperature_label, gtk_widget_get_type (), GtkWidget), 0, 4, 1, 1);
-#line 2288 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2293 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp28_ = self->temperature_slider;
-#line 2288 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2293 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_grid_attach (slider_organizer, G_TYPE_CHECK_INSTANCE_CAST (_tmp28_, gtk_widget_get_type (), GtkWidget), 1, 4, 1, 1);
-#line 2289 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2294 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp29_ = self->temperature_slider;
-#line 2289 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2294 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_widget_set_size_request (G_TYPE_CHECK_INSTANCE_CAST (_tmp29_, gtk_widget_get_type (), GtkWidget), EDITING_TOOLS_ADJUST_TOOL_SLIDER_WIDTH, -1);
-#line 2290 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2295 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp30_ = self->temperature_slider;
-#line 2290 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2295 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_scale_set_draw_value (_tmp30_, FALSE);
-#line 2291 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2296 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp31_ = self->temperature_slider;
-#line 2291 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2296 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_widget_set_margin_end (G_TYPE_CHECK_INSTANCE_CAST (_tmp31_, gtk_widget_get_type (), GtkWidget), 0);
-#line 2293 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2298 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp32_ = _ ("Shadows:");
-#line 2293 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2298 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp33_ = (GtkLabel*) gtk_label_new_with_mnemonic (_tmp32_);
-#line 2293 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2298 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_object_ref_sink (_tmp33_);
-#line 2293 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2298 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
shadows_label = _tmp33_;
-#line 2294 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2299 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_widget_set_halign (G_TYPE_CHECK_INSTANCE_CAST (shadows_label, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_START);
-#line 2295 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2300 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_widget_set_valign (G_TYPE_CHECK_INSTANCE_CAST (shadows_label, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_CENTER);
-#line 2296 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2301 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_grid_attach (slider_organizer, G_TYPE_CHECK_INSTANCE_CAST (shadows_label, gtk_widget_get_type (), GtkWidget), 0, 5, 1, 1);
-#line 2297 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2302 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp34_ = self->shadows_slider;
-#line 2297 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2302 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_grid_attach (slider_organizer, G_TYPE_CHECK_INSTANCE_CAST (_tmp34_, gtk_widget_get_type (), GtkWidget), 1, 5, 1, 1);
-#line 2298 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2303 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp35_ = self->shadows_slider;
-#line 2298 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2303 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_widget_set_size_request (G_TYPE_CHECK_INSTANCE_CAST (_tmp35_, gtk_widget_get_type (), GtkWidget), EDITING_TOOLS_ADJUST_TOOL_SLIDER_WIDTH, -1);
-#line 2299 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2304 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp36_ = self->shadows_slider;
-#line 2299 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2304 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_scale_set_draw_value (_tmp36_, FALSE);
-#line 2300 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2305 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp37_ = self->shadows_slider;
-#line 2300 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2305 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_widget_set_margin_end (G_TYPE_CHECK_INSTANCE_CAST (_tmp37_, gtk_widget_get_type (), GtkWidget), 0);
-#line 2302 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2307 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp38_ = _ ("Highlights:");
-#line 2302 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2307 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp39_ = (GtkLabel*) gtk_label_new_with_mnemonic (_tmp38_);
-#line 2302 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2307 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_object_ref_sink (_tmp39_);
-#line 2302 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2307 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
highlights_label = _tmp39_;
-#line 2303 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2308 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_widget_set_halign (G_TYPE_CHECK_INSTANCE_CAST (highlights_label, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_START);
-#line 2304 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2309 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_widget_set_valign (G_TYPE_CHECK_INSTANCE_CAST (highlights_label, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_CENTER);
-#line 2305 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2310 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_grid_attach (slider_organizer, G_TYPE_CHECK_INSTANCE_CAST (highlights_label, gtk_widget_get_type (), GtkWidget), 0, 6, 1, 1);
-#line 2306 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2311 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp40_ = self->highlights_slider;
-#line 2306 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2311 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_grid_attach (slider_organizer, G_TYPE_CHECK_INSTANCE_CAST (_tmp40_, gtk_widget_get_type (), GtkWidget), 1, 6, 1, 1);
-#line 2307 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2312 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp41_ = self->highlights_slider;
-#line 2307 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2312 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_widget_set_size_request (G_TYPE_CHECK_INSTANCE_CAST (_tmp41_, gtk_widget_get_type (), GtkWidget), EDITING_TOOLS_ADJUST_TOOL_SLIDER_WIDTH, -1);
-#line 2308 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2313 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp42_ = self->highlights_slider;
-#line 2308 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2313 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_scale_set_draw_value (_tmp42_, FALSE);
-#line 2310 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2315 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp43_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 8);
-#line 2310 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2315 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_object_ref_sink (_tmp43_);
-#line 2310 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2315 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
button_layouter = _tmp43_;
-#line 2311 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2316 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_box_set_homogeneous (button_layouter, TRUE);
-#line 2312 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2317 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp44_ = self->cancel_button;
-#line 2312 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2317 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_box_pack_start (button_layouter, G_TYPE_CHECK_INSTANCE_CAST (_tmp44_, gtk_widget_get_type (), GtkWidget), TRUE, TRUE, (guint) 1);
-#line 2313 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2318 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp45_ = self->reset_button;
-#line 2313 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2318 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_box_pack_start (button_layouter, G_TYPE_CHECK_INSTANCE_CAST (_tmp45_, gtk_widget_get_type (), GtkWidget), TRUE, TRUE, (guint) 1);
-#line 2314 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2319 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp46_ = self->ok_button;
-#line 2314 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2319 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_box_pack_start (button_layouter, G_TYPE_CHECK_INSTANCE_CAST (_tmp46_, gtk_widget_get_type (), GtkWidget), TRUE, TRUE, (guint) 1);
-#line 2316 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2321 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp47_ = self->histogram_manipulator;
-#line 2316 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2321 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_widget_set_margin_start (G_TYPE_CHECK_INSTANCE_CAST (_tmp47_, gtk_widget_get_type (), GtkWidget), 12);
-#line 2317 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2322 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp48_ = self->histogram_manipulator;
-#line 2317 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2322 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_widget_set_margin_end (G_TYPE_CHECK_INSTANCE_CAST (_tmp48_, gtk_widget_get_type (), GtkWidget), 12);
-#line 2318 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2323 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp49_ = self->histogram_manipulator;
-#line 2318 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2323 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_widget_set_margin_top (G_TYPE_CHECK_INSTANCE_CAST (_tmp49_, gtk_widget_get_type (), GtkWidget), 12);
-#line 2319 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2324 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp50_ = self->histogram_manipulator;
-#line 2319 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2324 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_widget_set_margin_bottom (G_TYPE_CHECK_INSTANCE_CAST (_tmp50_, gtk_widget_get_type (), GtkWidget), 8);
-#line 2321 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2326 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp51_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 8);
-#line 2321 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2326 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_object_ref_sink (_tmp51_);
-#line 2321 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2326 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
pane_layouter = _tmp51_;
-#line 2322 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2327 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp52_ = self->histogram_manipulator;
-#line 2322 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2327 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (pane_layouter, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp52_, gtk_widget_get_type (), GtkWidget));
-#line 2323 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2328 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (pane_layouter, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (slider_organizer, gtk_widget_get_type (), GtkWidget));
-#line 2324 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2329 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (pane_layouter, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (button_layouter, gtk_widget_get_type (), GtkWidget));
-#line 2325 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2330 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp53_ = self->histogram_manipulator;
-#line 2325 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2330 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_box_set_child_packing (pane_layouter, G_TYPE_CHECK_INSTANCE_CAST (_tmp53_, gtk_widget_get_type (), GtkWidget), TRUE, TRUE, (guint) 0, GTK_PACK_START);
-#line 2327 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2332 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (pane_layouter, gtk_widget_get_type (), GtkWidget));
-#line 2237 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2242 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (pane_layouter);
-#line 2237 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2242 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (button_layouter);
-#line 2237 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2242 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (highlights_label);
-#line 2237 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2242 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (shadows_label);
-#line 2237 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2242 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (temperature_label);
-#line 2237 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2242 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (tint_label);
-#line 2237 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2242 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (saturation_label);
-#line 2237 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2242 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (contrast_label);
-#line 2237 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2242 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (exposure_label);
-#line 2237 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2242 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (slider_organizer);
-#line 2237 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2242 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return self;
-#line 18523 "EditingTools.c"
+#line 18532 "EditingTools.c"
}
static EditingToolsAdjustToolAdjustToolWindow* editing_tools_adjust_tool_adjust_tool_window_new (GtkWindow* container) {
-#line 2237 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2242 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return editing_tools_adjust_tool_adjust_tool_window_construct (EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_TOOL_WINDOW, container);
-#line 18530 "EditingTools.c"
+#line 18539 "EditingTools.c"
}
static void editing_tools_adjust_tool_adjust_tool_window_class_init (EditingToolsAdjustToolAdjustToolWindowClass * klass) {
-#line 2208 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2213 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_adjust_tool_adjust_tool_window_parent_class = g_type_class_peek_parent (klass);
-#line 2208 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2213 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
G_OBJECT_CLASS (klass)->finalize = editing_tools_adjust_tool_adjust_tool_window_finalize;
-#line 18539 "EditingTools.c"
+#line 18548 "EditingTools.c"
}
@@ -18552,107 +18561,107 @@ static void editing_tools_adjust_tool_adjust_tool_window_instance_init (EditingT
GtkButton* _tmp9_ = NULL;
GtkButton* _tmp10_ = NULL;
RGBHistogramManipulator* _tmp11_ = NULL;
-#line 2209 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2214 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = (GtkScale*) gtk_scale_new_with_range (GTK_ORIENTATION_HORIZONTAL, (gdouble) EXPOSURE_TRANSFORMATION_MIN_PARAMETER, (gdouble) EXPOSURE_TRANSFORMATION_MAX_PARAMETER, 1.0);
-#line 2209 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2214 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_object_ref_sink (_tmp0_);
-#line 2209 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2214 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->exposure_slider = _tmp0_;
-#line 2212 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2217 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = (GtkScale*) gtk_scale_new_with_range (GTK_ORIENTATION_HORIZONTAL, (gdouble) CONTRAST_TRANSFORMATION_MIN_PARAMETER, (gdouble) CONTRAST_TRANSFORMATION_MAX_PARAMETER, 1.0);
-#line 2212 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2217 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_object_ref_sink (_tmp1_);
-#line 2212 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2217 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->contrast_slider = _tmp1_;
-#line 2215 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2220 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = (GtkScale*) gtk_scale_new_with_range (GTK_ORIENTATION_HORIZONTAL, (gdouble) SATURATION_TRANSFORMATION_MIN_PARAMETER, (gdouble) SATURATION_TRANSFORMATION_MAX_PARAMETER, 1.0);
-#line 2215 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2220 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_object_ref_sink (_tmp2_);
-#line 2215 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2220 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->saturation_slider = _tmp2_;
-#line 2218 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2223 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = (GtkScale*) gtk_scale_new_with_range (GTK_ORIENTATION_HORIZONTAL, (gdouble) TINT_TRANSFORMATION_MIN_PARAMETER, (gdouble) TINT_TRANSFORMATION_MAX_PARAMETER, 1.0);
-#line 2218 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2223 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_object_ref_sink (_tmp3_);
-#line 2218 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2223 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->tint_slider = _tmp3_;
-#line 2220 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2225 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = (GtkScale*) gtk_scale_new_with_range (GTK_ORIENTATION_HORIZONTAL, (gdouble) TEMPERATURE_TRANSFORMATION_MIN_PARAMETER, (gdouble) TEMPERATURE_TRANSFORMATION_MAX_PARAMETER, 1.0);
-#line 2220 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2225 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_object_ref_sink (_tmp4_);
-#line 2220 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2225 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->temperature_slider = _tmp4_;
-#line 2224 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2229 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = (GtkScale*) gtk_scale_new_with_range (GTK_ORIENTATION_HORIZONTAL, (gdouble) SHADOW_DETAIL_TRANSFORMATION_MIN_PARAMETER, (gdouble) SHADOW_DETAIL_TRANSFORMATION_MAX_PARAMETER, 1.0);
-#line 2224 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2229 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_object_ref_sink (_tmp5_);
-#line 2224 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2229 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->shadows_slider = _tmp5_;
-#line 2228 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2233 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = (GtkScale*) gtk_scale_new_with_range (GTK_ORIENTATION_HORIZONTAL, (gdouble) HIGHLIGHT_DETAIL_TRANSFORMATION_MIN_PARAMETER, (gdouble) HIGHLIGHT_DETAIL_TRANSFORMATION_MAX_PARAMETER, 1.0);
-#line 2228 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2233 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_object_ref_sink (_tmp6_);
-#line 2228 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2233 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->highlights_slider = _tmp6_;
-#line 2232 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2237 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = (GtkButton*) gtk_button_new_with_mnemonic (RESOURCES_OK_LABEL);
-#line 2232 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2237 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_object_ref_sink (_tmp7_);
-#line 2232 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2237 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->ok_button = _tmp7_;
-#line 2233 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2238 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = _ ("_Reset");
-#line 2233 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2238 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = (GtkButton*) gtk_button_new_with_mnemonic (_tmp8_);
-#line 2233 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2238 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_object_ref_sink (_tmp9_);
-#line 2233 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2238 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->reset_button = _tmp9_;
-#line 2234 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2239 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp10_ = (GtkButton*) gtk_button_new_with_mnemonic (RESOURCES_CANCEL_LABEL);
-#line 2234 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2239 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_object_ref_sink (_tmp10_);
-#line 2234 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2239 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->cancel_button = _tmp10_;
-#line 2235 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2240 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp11_ = rgb_histogram_manipulator_new ();
-#line 2235 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2240 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_object_ref_sink (_tmp11_);
-#line 2235 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2240 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->histogram_manipulator = _tmp11_;
-#line 18624 "EditingTools.c"
+#line 18633 "EditingTools.c"
}
static void editing_tools_adjust_tool_adjust_tool_window_finalize (GObject* obj) {
EditingToolsAdjustToolAdjustToolWindow * self;
-#line 2208 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2213 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_TOOL_WINDOW, EditingToolsAdjustToolAdjustToolWindow);
-#line 2209 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2214 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (self->exposure_slider);
-#line 2212 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2217 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (self->contrast_slider);
-#line 2215 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2220 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (self->saturation_slider);
-#line 2218 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2223 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (self->tint_slider);
-#line 2220 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2225 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (self->temperature_slider);
-#line 2224 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2229 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (self->shadows_slider);
-#line 2228 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2233 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (self->highlights_slider);
-#line 2232 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2237 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (self->ok_button);
-#line 2233 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2238 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (self->reset_button);
-#line 2234 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2239 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (self->cancel_button);
-#line 2235 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2240 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (self->histogram_manipulator);
-#line 2208 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2213 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
G_OBJECT_CLASS (editing_tools_adjust_tool_adjust_tool_window_parent_class)->finalize (obj);
-#line 18656 "EditingTools.c"
+#line 18665 "EditingTools.c"
}
@@ -18669,9 +18678,9 @@ static GType editing_tools_adjust_tool_adjust_tool_window_get_type (void) {
static void _editing_tools_adjust_tool_adjust_tool_command_on_owner_deactivated_editing_tools_editing_tool_deactivated (EditingToolsEditingTool* _sender, gpointer self) {
-#line 2343 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2348 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_adjust_tool_adjust_tool_command_on_owner_deactivated ((EditingToolsAdjustToolAdjustToolCommand*) self);
-#line 18675 "EditingTools.c"
+#line 18684 "EditingTools.c"
}
@@ -18681,55 +18690,55 @@ static EditingToolsAdjustToolAdjustToolCommand* editing_tools_adjust_tool_adjust
const gchar* _tmp1_ = NULL;
EditingToolsAdjustTool* _tmp2_ = NULL;
EditingToolsAdjustTool* _tmp3_ = NULL;
-#line 2334 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2339 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (EDITING_TOOLS_IS_ADJUST_TOOL (owner), NULL);
-#line 2334 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2339 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (name != NULL, NULL);
-#line 2334 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2339 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (explanation != NULL, NULL);
-#line 2335 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2340 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = name;
-#line 2335 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2340 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = explanation;
-#line 2335 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2340 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self = (EditingToolsAdjustToolAdjustToolCommand*) command_construct (object_type, _tmp0_, _tmp1_);
-#line 2337 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2342 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = owner;
-#line 2337 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2342 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->owner = _tmp2_;
-#line 2338 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2343 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = owner;
-#line 2338 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2343 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool), "deactivated", (GCallback) _editing_tools_adjust_tool_adjust_tool_command_on_owner_deactivated_editing_tools_editing_tool_deactivated, self, 0);
-#line 2334 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2339 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return self;
-#line 18707 "EditingTools.c"
+#line 18716 "EditingTools.c"
}
static void editing_tools_adjust_tool_adjust_tool_command_on_owner_deactivated (EditingToolsAdjustToolAdjustToolCommand* self) {
CommandManager* _tmp0_ = NULL;
CommandManager* _tmp1_ = NULL;
-#line 2346 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2351 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_if_fail (EDITING_TOOLS_ADJUST_TOOL_IS_ADJUST_TOOL_COMMAND (self));
-#line 2349 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2354 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = app_window_get_command_manager ();
-#line 2349 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2354 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = _tmp0_;
-#line 2349 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2354 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
command_manager_reset (_tmp1_);
-#line 2349 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2354 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_command_manager_unref0 (_tmp1_);
-#line 18724 "EditingTools.c"
+#line 18733 "EditingTools.c"
}
static void editing_tools_adjust_tool_adjust_tool_command_class_init (EditingToolsAdjustToolAdjustToolCommandClass * klass) {
-#line 2331 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2336 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_adjust_tool_adjust_tool_command_parent_class = g_type_class_peek_parent (klass);
-#line 2331 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2336 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
G_OBJECT_CLASS (klass)->finalize = editing_tools_adjust_tool_adjust_tool_command_finalize;
-#line 18733 "EditingTools.c"
+#line 18742 "EditingTools.c"
}
@@ -18740,26 +18749,26 @@ static void editing_tools_adjust_tool_adjust_tool_command_instance_init (Editing
static void editing_tools_adjust_tool_adjust_tool_command_finalize (GObject* obj) {
EditingToolsAdjustToolAdjustToolCommand * self;
EditingToolsAdjustTool* _tmp0_ = NULL;
-#line 2331 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2336 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_TOOL_COMMAND, EditingToolsAdjustToolAdjustToolCommand);
-#line 2342 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2347 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = self->owner;
-#line 2342 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2347 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp0_ != NULL) {
-#line 18750 "EditingTools.c"
+#line 18759 "EditingTools.c"
EditingToolsAdjustTool* _tmp1_ = NULL;
guint _tmp2_ = 0U;
-#line 2343 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2348 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = self->owner;
-#line 2343 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2348 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_parse_name ("deactivated", EDITING_TOOLS_TYPE_EDITING_TOOL, &_tmp2_, NULL, FALSE);
-#line 2343 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2348 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp2_, 0, NULL, (GCallback) _editing_tools_adjust_tool_adjust_tool_command_on_owner_deactivated_editing_tools_editing_tool_deactivated, self);
-#line 18759 "EditingTools.c"
+#line 18768 "EditingTools.c"
}
-#line 2331 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2336 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
G_OBJECT_CLASS (editing_tools_adjust_tool_adjust_tool_command_parent_class)->finalize (obj);
-#line 18763 "EditingTools.c"
+#line 18772 "EditingTools.c"
}
@@ -18784,46 +18793,46 @@ static EditingToolsAdjustToolAdjustResetCommand* editing_tools_adjust_tool_adjus
PixelTransformationBundle* _tmp4_ = NULL;
PixelTransformationBundle* _tmp5_ = NULL;
PixelTransformationBundle* _tmp6_ = NULL;
-#line 2357 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2362 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (EDITING_TOOLS_IS_ADJUST_TOOL (owner), NULL);
-#line 2357 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2362 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (IS_PIXEL_TRANSFORMATION_BUNDLE (current), NULL);
-#line 2358 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2363 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = owner;
-#line 2358 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2363 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = _ ("Reset Colors");
-#line 2358 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2363 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = _ ("Reset all color adjustments to original");
-#line 2358 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2363 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self = (EditingToolsAdjustToolAdjustResetCommand*) editing_tools_adjust_tool_adjust_tool_command_construct (object_type, _tmp0_, _tmp1_, _tmp2_);
-#line 2360 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2365 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = current;
-#line 2360 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2365 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = pixel_transformation_bundle_copy (_tmp3_);
-#line 2360 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2365 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_pixel_transformation_bundle_unref0 (self->priv->original);
-#line 2360 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2365 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->original = _tmp4_;
-#line 2361 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2366 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = pixel_transformation_bundle_new ();
-#line 2361 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2366 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_pixel_transformation_bundle_unref0 (self->priv->reset);
-#line 2361 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2366 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->reset = _tmp5_;
-#line 2362 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2367 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = self->priv->reset;
-#line 2362 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2367 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
pixel_transformation_bundle_set_to_identity (_tmp6_);
-#line 2357 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2362 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return self;
-#line 18820 "EditingTools.c"
+#line 18829 "EditingTools.c"
}
static EditingToolsAdjustToolAdjustResetCommand* editing_tools_adjust_tool_adjust_reset_command_new (EditingToolsAdjustTool* owner, PixelTransformationBundle* current) {
-#line 2357 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2362 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return editing_tools_adjust_tool_adjust_reset_command_construct (EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_RESET_COMMAND, owner, current);
-#line 18827 "EditingTools.c"
+#line 18836 "EditingTools.c"
}
@@ -18831,15 +18840,15 @@ static void editing_tools_adjust_tool_adjust_reset_command_real_execute (Command
EditingToolsAdjustToolAdjustResetCommand * self;
EditingToolsAdjustTool* _tmp0_ = NULL;
PixelTransformationBundle* _tmp1_ = NULL;
-#line 2365 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2370 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_RESET_COMMAND, EditingToolsAdjustToolAdjustResetCommand);
-#line 2366 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2371 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_TOOL_COMMAND, EditingToolsAdjustToolAdjustToolCommand)->owner;
-#line 2366 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2371 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = self->priv->reset;
-#line 2366 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2371 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_adjust_tool_set_adjustments (_tmp0_, _tmp1_);
-#line 18843 "EditingTools.c"
+#line 18852 "EditingTools.c"
}
@@ -18847,15 +18856,15 @@ static void editing_tools_adjust_tool_adjust_reset_command_real_undo (Command* b
EditingToolsAdjustToolAdjustResetCommand * self;
EditingToolsAdjustTool* _tmp0_ = NULL;
PixelTransformationBundle* _tmp1_ = NULL;
-#line 2369 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2374 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_RESET_COMMAND, EditingToolsAdjustToolAdjustResetCommand);
-#line 2370 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2375 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_TOOL_COMMAND, EditingToolsAdjustToolAdjustToolCommand)->owner;
-#line 2370 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2375 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = self->priv->original;
-#line 2370 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2375 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_adjust_tool_set_adjustments (_tmp0_, _tmp1_);
-#line 18859 "EditingTools.c"
+#line 18868 "EditingTools.c"
}
@@ -18869,89 +18878,89 @@ static gboolean editing_tools_adjust_tool_adjust_reset_command_real_compress (Co
EditingToolsAdjustToolAdjustResetCommand* _tmp3_ = NULL;
EditingToolsAdjustTool* _tmp4_ = NULL;
EditingToolsAdjustTool* _tmp5_ = NULL;
-#line 2373 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2378 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_RESET_COMMAND, EditingToolsAdjustToolAdjustResetCommand);
-#line 2373 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2378 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (IS_COMMAND (command), FALSE);
-#line 2374 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2379 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = command;
-#line 2374 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2379 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp0_, EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_RESET_COMMAND) ? ((EditingToolsAdjustToolAdjustResetCommand*) _tmp0_) : NULL);
-#line 2374 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2379 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
reset_command = _tmp1_;
-#line 2375 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2380 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = reset_command;
-#line 2375 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2380 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp2_ == NULL) {
-#line 2376 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2381 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
result = FALSE;
-#line 2376 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2381 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (reset_command);
-#line 2376 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2381 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return result;
-#line 18893 "EditingTools.c"
+#line 18902 "EditingTools.c"
}
-#line 2378 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2383 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = reset_command;
-#line 2378 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2383 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_TOOL_COMMAND, EditingToolsAdjustToolAdjustToolCommand)->owner;
-#line 2378 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2383 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_TOOL_COMMAND, EditingToolsAdjustToolAdjustToolCommand)->owner;
-#line 2378 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2383 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp4_ != _tmp5_) {
-#line 2379 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2384 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
result = FALSE;
-#line 2379 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2384 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (reset_command);
-#line 2379 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2384 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return result;
-#line 18909 "EditingTools.c"
+#line 18918 "EditingTools.c"
}
-#line 2382 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2387 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
result = TRUE;
-#line 2382 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2387 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (reset_command);
-#line 2382 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2387 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return result;
-#line 18917 "EditingTools.c"
+#line 18926 "EditingTools.c"
}
static void editing_tools_adjust_tool_adjust_reset_command_class_init (EditingToolsAdjustToolAdjustResetCommandClass * klass) {
-#line 2353 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2358 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_adjust_tool_adjust_reset_command_parent_class = g_type_class_peek_parent (klass);
-#line 2353 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2358 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_type_class_add_private (klass, sizeof (EditingToolsAdjustToolAdjustResetCommandPrivate));
-#line 2353 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2358 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
((CommandClass *) klass)->execute = editing_tools_adjust_tool_adjust_reset_command_real_execute;
-#line 2353 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2358 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
((CommandClass *) klass)->undo = editing_tools_adjust_tool_adjust_reset_command_real_undo;
-#line 2353 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2358 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
((CommandClass *) klass)->compress = editing_tools_adjust_tool_adjust_reset_command_real_compress;
-#line 2353 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2358 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
G_OBJECT_CLASS (klass)->finalize = editing_tools_adjust_tool_adjust_reset_command_finalize;
-#line 18934 "EditingTools.c"
+#line 18943 "EditingTools.c"
}
static void editing_tools_adjust_tool_adjust_reset_command_instance_init (EditingToolsAdjustToolAdjustResetCommand * self) {
-#line 2353 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2358 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv = EDITING_TOOLS_ADJUST_TOOL_ADJUST_RESET_COMMAND_GET_PRIVATE (self);
-#line 18941 "EditingTools.c"
+#line 18950 "EditingTools.c"
}
static void editing_tools_adjust_tool_adjust_reset_command_finalize (GObject* obj) {
EditingToolsAdjustToolAdjustResetCommand * self;
-#line 2353 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2358 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_RESET_COMMAND, EditingToolsAdjustToolAdjustResetCommand);
-#line 2354 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2359 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_pixel_transformation_bundle_unref0 (self->priv->original);
-#line 2355 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2360 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_pixel_transformation_bundle_unref0 (self->priv->reset);
-#line 2353 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2358 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
G_OBJECT_CLASS (editing_tools_adjust_tool_adjust_reset_command_parent_class)->finalize (obj);
-#line 18955 "EditingTools.c"
+#line 18964 "EditingTools.c"
}
@@ -18981,62 +18990,62 @@ static EditingToolsAdjustToolSliderAdjustmentCommand* editing_tools_adjust_tool_
PixelTransformation* _tmp9_ = NULL;
PixelTransformationType _tmp10_ = 0;
PixelTransformationType _tmp11_ = 0;
-#line 2391 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2396 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (EDITING_TOOLS_IS_ADJUST_TOOL (owner), NULL);
-#line 2391 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2396 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (IS_PIXEL_TRANSFORMATION (old_transformation), NULL);
-#line 2391 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2396 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (IS_PIXEL_TRANSFORMATION (new_transformation), NULL);
-#line 2391 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2396 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (name != NULL, NULL);
-#line 2393 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2398 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = owner;
-#line 2393 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2398 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = name;
-#line 2393 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2398 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = name;
-#line 2393 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2398 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self = (EditingToolsAdjustToolSliderAdjustmentCommand*) editing_tools_adjust_tool_adjust_tool_command_construct (object_type, _tmp0_, _tmp1_, _tmp2_);
-#line 2395 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2400 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = old_transformation;
-#line 2395 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2400 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = _pixel_transformation_ref0 (_tmp3_);
-#line 2395 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2400 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_pixel_transformation_unref0 (self->priv->old_transformation);
-#line 2395 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2400 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->old_transformation = _tmp4_;
-#line 2396 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2401 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = new_transformation;
-#line 2396 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2401 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = _pixel_transformation_ref0 (_tmp5_);
-#line 2396 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2401 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_pixel_transformation_unref0 (self->priv->new_transformation);
-#line 2396 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2401 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->new_transformation = _tmp6_;
-#line 2397 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2402 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = old_transformation;
-#line 2397 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2402 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = pixel_transformation_get_transformation_type (_tmp7_);
-#line 2397 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2402 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->transformation_type = _tmp8_;
-#line 2398 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2403 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = new_transformation;
-#line 2398 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2403 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp10_ = pixel_transformation_get_transformation_type (_tmp9_);
-#line 2398 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2403 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp11_ = self->priv->transformation_type;
-#line 2398 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2403 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_vala_assert (_tmp10_ == _tmp11_, "new_transformation.get_transformation_type() == transformation_type");
-#line 2391 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2396 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return self;
-#line 19033 "EditingTools.c"
+#line 19042 "EditingTools.c"
}
static EditingToolsAdjustToolSliderAdjustmentCommand* editing_tools_adjust_tool_slider_adjustment_command_new (EditingToolsAdjustTool* owner, PixelTransformation* old_transformation, PixelTransformation* new_transformation, const gchar* name) {
-#line 2391 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2396 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return editing_tools_adjust_tool_slider_adjustment_command_construct (EDITING_TOOLS_ADJUST_TOOL_TYPE_SLIDER_ADJUSTMENT_COMMAND, owner, old_transformation, new_transformation, name);
-#line 19040 "EditingTools.c"
+#line 19049 "EditingTools.c"
}
@@ -19046,21 +19055,21 @@ static void editing_tools_adjust_tool_slider_adjustment_command_real_execute (Co
PixelTransformation* _tmp1_ = NULL;
EditingToolsAdjustTool* _tmp2_ = NULL;
EditingToolsPhotoCanvas* _tmp3_ = NULL;
-#line 2401 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2406 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, EDITING_TOOLS_ADJUST_TOOL_TYPE_SLIDER_ADJUSTMENT_COMMAND, EditingToolsAdjustToolSliderAdjustmentCommand);
-#line 2403 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2408 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_TOOL_COMMAND, EditingToolsAdjustToolAdjustToolCommand)->owner;
-#line 2403 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2408 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = self->priv->new_transformation;
-#line 2403 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2408 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_adjust_tool_update_transformation (_tmp0_, _tmp1_);
-#line 2404 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2409 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_TOOL_COMMAND, EditingToolsAdjustToolAdjustToolCommand)->owner;
-#line 2404 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2409 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 2404 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2409 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_photo_canvas_repaint (_tmp3_);
-#line 19064 "EditingTools.c"
+#line 19073 "EditingTools.c"
}
@@ -19074,35 +19083,35 @@ static void editing_tools_adjust_tool_slider_adjustment_command_real_undo (Comma
EditingToolsAdjustTool* _tmp5_ = NULL;
EditingToolsAdjustTool* _tmp6_ = NULL;
EditingToolsPhotoCanvas* _tmp7_ = NULL;
-#line 2407 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2412 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, EDITING_TOOLS_ADJUST_TOOL_TYPE_SLIDER_ADJUSTMENT_COMMAND, EditingToolsAdjustToolSliderAdjustmentCommand);
-#line 2408 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2413 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_TOOL_COMMAND, EditingToolsAdjustToolAdjustToolCommand)->owner;
-#line 2408 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2413 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = self->priv->old_transformation;
-#line 2408 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2413 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_adjust_tool_update_transformation (_tmp0_, _tmp1_);
-#line 2410 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2415 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_TOOL_COMMAND, EditingToolsAdjustToolAdjustToolCommand)->owner;
-#line 2410 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2415 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_adjust_tool_unbind_window_handlers (_tmp2_);
-#line 2411 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2416 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_TOOL_COMMAND, EditingToolsAdjustToolAdjustToolCommand)->owner;
-#line 2411 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2416 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = self->priv->old_transformation;
-#line 2411 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2416 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_adjust_tool_update_slider (_tmp3_, _tmp4_);
-#line 2412 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2417 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_TOOL_COMMAND, EditingToolsAdjustToolAdjustToolCommand)->owner;
-#line 2412 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2417 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_adjust_tool_bind_window_handlers (_tmp5_);
-#line 2414 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2419 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_TOOL_COMMAND, EditingToolsAdjustToolAdjustToolCommand)->owner;
-#line 2414 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2419 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 2414 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2419 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_photo_canvas_repaint (_tmp7_);
-#line 19106 "EditingTools.c"
+#line 19115 "EditingTools.c"
}
@@ -19116,35 +19125,35 @@ static void editing_tools_adjust_tool_slider_adjustment_command_real_redo (Comma
EditingToolsAdjustTool* _tmp5_ = NULL;
EditingToolsAdjustTool* _tmp6_ = NULL;
EditingToolsPhotoCanvas* _tmp7_ = NULL;
-#line 2417 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2422 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, EDITING_TOOLS_ADJUST_TOOL_TYPE_SLIDER_ADJUSTMENT_COMMAND, EditingToolsAdjustToolSliderAdjustmentCommand);
-#line 2418 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2423 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_TOOL_COMMAND, EditingToolsAdjustToolAdjustToolCommand)->owner;
-#line 2418 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2423 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = self->priv->new_transformation;
-#line 2418 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2423 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_adjust_tool_update_transformation (_tmp0_, _tmp1_);
-#line 2420 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2425 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_TOOL_COMMAND, EditingToolsAdjustToolAdjustToolCommand)->owner;
-#line 2420 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2425 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_adjust_tool_unbind_window_handlers (_tmp2_);
-#line 2421 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2426 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_TOOL_COMMAND, EditingToolsAdjustToolAdjustToolCommand)->owner;
-#line 2421 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2426 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = self->priv->new_transformation;
-#line 2421 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2426 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_adjust_tool_update_slider (_tmp3_, _tmp4_);
-#line 2422 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2427 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_TOOL_COMMAND, EditingToolsAdjustToolAdjustToolCommand)->owner;
-#line 2422 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2427 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_adjust_tool_bind_window_handlers (_tmp5_);
-#line 2424 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2429 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_TOOL_COMMAND, EditingToolsAdjustToolAdjustToolCommand)->owner;
-#line 2424 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2429 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 2424 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2429 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_photo_canvas_repaint (_tmp7_);
-#line 19148 "EditingTools.c"
+#line 19157 "EditingTools.c"
}
@@ -19165,121 +19174,121 @@ static gboolean editing_tools_adjust_tool_slider_adjustment_command_real_compres
EditingToolsAdjustToolSliderAdjustmentCommand* _tmp10_ = NULL;
PixelTransformation* _tmp11_ = NULL;
PixelTransformation* _tmp12_ = NULL;
-#line 2427 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2432 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, EDITING_TOOLS_ADJUST_TOOL_TYPE_SLIDER_ADJUSTMENT_COMMAND, EditingToolsAdjustToolSliderAdjustmentCommand);
-#line 2427 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2432 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (IS_COMMAND (command), FALSE);
-#line 2428 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2433 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = command;
-#line 2428 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2433 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp0_, EDITING_TOOLS_ADJUST_TOOL_TYPE_SLIDER_ADJUSTMENT_COMMAND) ? ((EditingToolsAdjustToolSliderAdjustmentCommand*) _tmp0_) : NULL);
-#line 2428 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2433 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
slider_adjustment = _tmp1_;
-#line 2429 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2434 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = slider_adjustment;
-#line 2429 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2434 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp2_ == NULL) {
-#line 2430 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2435 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
result = FALSE;
-#line 2430 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2435 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (slider_adjustment);
-#line 2430 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2435 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return result;
-#line 19189 "EditingTools.c"
+#line 19198 "EditingTools.c"
}
-#line 2433 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2438 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = slider_adjustment;
-#line 2433 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2438 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_TOOL_COMMAND, EditingToolsAdjustToolAdjustToolCommand)->owner;
-#line 2433 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2438 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_TOOL_COMMAND, EditingToolsAdjustToolAdjustToolCommand)->owner;
-#line 2433 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2438 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp4_ != _tmp5_) {
-#line 2434 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2439 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
result = FALSE;
-#line 2434 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2439 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (slider_adjustment);
-#line 2434 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2439 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return result;
-#line 19205 "EditingTools.c"
+#line 19214 "EditingTools.c"
}
-#line 2437 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2442 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = slider_adjustment;
-#line 2437 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2442 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = _tmp6_->priv->transformation_type;
-#line 2437 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2442 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = self->priv->transformation_type;
-#line 2437 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2442 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp7_ != _tmp8_) {
-#line 2438 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2443 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
result = FALSE;
-#line 2438 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2443 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (slider_adjustment);
-#line 2438 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2443 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return result;
-#line 19221 "EditingTools.c"
+#line 19230 "EditingTools.c"
}
-#line 2441 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2446 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = slider_adjustment;
-#line 2441 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2446 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
command_execute (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, TYPE_COMMAND, Command));
-#line 2444 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2449 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp10_ = slider_adjustment;
-#line 2444 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2449 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp11_ = _tmp10_->priv->new_transformation;
-#line 2444 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2449 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp12_ = _pixel_transformation_ref0 (_tmp11_);
-#line 2444 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2449 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_pixel_transformation_unref0 (self->priv->new_transformation);
-#line 2444 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2449 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->new_transformation = _tmp12_;
-#line 2446 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2451 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
result = TRUE;
-#line 2446 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2451 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (slider_adjustment);
-#line 2446 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2451 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return result;
-#line 19243 "EditingTools.c"
+#line 19252 "EditingTools.c"
}
static void editing_tools_adjust_tool_slider_adjustment_command_class_init (EditingToolsAdjustToolSliderAdjustmentCommandClass * klass) {
-#line 2386 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2391 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_adjust_tool_slider_adjustment_command_parent_class = g_type_class_peek_parent (klass);
-#line 2386 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2391 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_type_class_add_private (klass, sizeof (EditingToolsAdjustToolSliderAdjustmentCommandPrivate));
-#line 2386 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2391 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
((CommandClass *) klass)->execute = editing_tools_adjust_tool_slider_adjustment_command_real_execute;
-#line 2386 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2391 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
((CommandClass *) klass)->undo = editing_tools_adjust_tool_slider_adjustment_command_real_undo;
-#line 2386 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2391 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
((CommandClass *) klass)->redo = editing_tools_adjust_tool_slider_adjustment_command_real_redo;
-#line 2386 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2391 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
((CommandClass *) klass)->compress = editing_tools_adjust_tool_slider_adjustment_command_real_compress;
-#line 2386 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2391 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
G_OBJECT_CLASS (klass)->finalize = editing_tools_adjust_tool_slider_adjustment_command_finalize;
-#line 19262 "EditingTools.c"
+#line 19271 "EditingTools.c"
}
static void editing_tools_adjust_tool_slider_adjustment_command_instance_init (EditingToolsAdjustToolSliderAdjustmentCommand * self) {
-#line 2386 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2391 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv = EDITING_TOOLS_ADJUST_TOOL_SLIDER_ADJUSTMENT_COMMAND_GET_PRIVATE (self);
-#line 19269 "EditingTools.c"
+#line 19278 "EditingTools.c"
}
static void editing_tools_adjust_tool_slider_adjustment_command_finalize (GObject* obj) {
EditingToolsAdjustToolSliderAdjustmentCommand * self;
-#line 2386 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2391 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, EDITING_TOOLS_ADJUST_TOOL_TYPE_SLIDER_ADJUSTMENT_COMMAND, EditingToolsAdjustToolSliderAdjustmentCommand);
-#line 2388 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2393 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_pixel_transformation_unref0 (self->priv->new_transformation);
-#line 2389 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2394 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_pixel_transformation_unref0 (self->priv->old_transformation);
-#line 2386 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2391 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
G_OBJECT_CLASS (editing_tools_adjust_tool_slider_adjustment_command_parent_class)->finalize (obj);
-#line 19283 "EditingTools.c"
+#line 19292 "EditingTools.c"
}
@@ -19302,40 +19311,40 @@ static EditingToolsAdjustToolAdjustEnhanceCommand* editing_tools_adjust_tool_adj
Photo* _tmp2_ = NULL;
Photo* _tmp3_ = NULL;
PixelTransformationBundle* _tmp4_ = NULL;
-#line 2455 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2460 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (EDITING_TOOLS_IS_ADJUST_TOOL (owner), NULL);
-#line 2455 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2460 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (IS_PHOTO (photo), NULL);
-#line 2456 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2461 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = owner;
-#line 2456 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2461 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self = (EditingToolsAdjustToolAdjustEnhanceCommand*) editing_tools_adjust_tool_adjust_tool_command_construct (object_type, _tmp0_, RESOURCES_ENHANCE_LABEL, RESOURCES_ENHANCE_TOOLTIP);
-#line 2458 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2463 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = photo;
-#line 2458 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2463 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = _g_object_ref0 (_tmp1_);
-#line 2458 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2463 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (self->priv->photo);
-#line 2458 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2463 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->photo = _tmp2_;
-#line 2459 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = photo;
-#line 2459 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = photo_get_color_adjustments (_tmp3_);
-#line 2459 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_pixel_transformation_bundle_unref0 (self->priv->original);
-#line 2459 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->original = _tmp4_;
-#line 2455 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2460 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return self;
-#line 19332 "EditingTools.c"
+#line 19341 "EditingTools.c"
}
static EditingToolsAdjustToolAdjustEnhanceCommand* editing_tools_adjust_tool_adjust_enhance_command_new (EditingToolsAdjustTool* owner, Photo* photo) {
-#line 2455 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2460 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return editing_tools_adjust_tool_adjust_enhance_command_construct (EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_ENHANCE_COMMAND, owner, photo);
-#line 19339 "EditingTools.c"
+#line 19348 "EditingTools.c"
}
@@ -19344,32 +19353,32 @@ static void editing_tools_adjust_tool_adjust_enhance_command_real_execute (Comma
PixelTransformationBundle* _tmp0_ = NULL;
EditingToolsAdjustTool* _tmp3_ = NULL;
PixelTransformationBundle* _tmp4_ = NULL;
-#line 2462 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2467 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_ENHANCE_COMMAND, EditingToolsAdjustToolAdjustEnhanceCommand);
-#line 2463 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2468 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = self->priv->enhanced;
-#line 2463 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2468 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp0_ == NULL) {
-#line 19354 "EditingTools.c"
+#line 19363 "EditingTools.c"
Photo* _tmp1_ = NULL;
PixelTransformationBundle* _tmp2_ = NULL;
-#line 2464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = self->priv->photo;
-#line 2464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = photo_get_enhance_transformations (_tmp1_);
-#line 2464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_pixel_transformation_bundle_unref0 (self->priv->enhanced);
-#line 2464 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->enhanced = _tmp2_;
-#line 19365 "EditingTools.c"
+#line 19374 "EditingTools.c"
}
-#line 2466 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2471 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_TOOL_COMMAND, EditingToolsAdjustToolAdjustToolCommand)->owner;
-#line 2466 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2471 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = self->priv->enhanced;
-#line 2466 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2471 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_adjust_tool_set_adjustments (_tmp3_, _tmp4_);
-#line 19373 "EditingTools.c"
+#line 19382 "EditingTools.c"
}
@@ -19377,15 +19386,15 @@ static void editing_tools_adjust_tool_adjust_enhance_command_real_undo (Command*
EditingToolsAdjustToolAdjustEnhanceCommand * self;
EditingToolsAdjustTool* _tmp0_ = NULL;
PixelTransformationBundle* _tmp1_ = NULL;
-#line 2469 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2474 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_ENHANCE_COMMAND, EditingToolsAdjustToolAdjustEnhanceCommand);
-#line 2470 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2475 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_TOOL_COMMAND, EditingToolsAdjustToolAdjustToolCommand)->owner;
-#line 2470 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2475 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = self->priv->original;
-#line 2470 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2475 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_adjust_tool_set_adjustments (_tmp0_, _tmp1_);
-#line 19389 "EditingTools.c"
+#line 19398 "EditingTools.c"
}
@@ -19403,21 +19412,21 @@ static gboolean editing_tools_adjust_tool_adjust_enhance_command_real_compress (
EditingToolsAdjustToolAdjustEnhanceCommand* _tmp15_ = NULL;
EditingToolsAdjustTool* _tmp16_ = NULL;
EditingToolsAdjustTool* _tmp17_ = NULL;
-#line 2473 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2478 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_ENHANCE_COMMAND, EditingToolsAdjustToolAdjustEnhanceCommand);
-#line 2473 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2478 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_return_val_if_fail (IS_COMMAND (command), FALSE);
-#line 2475 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2480 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp0_ = command;
-#line 2475 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2480 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp0_, TYPE_ENHANCE_SINGLE_COMMAND) ? ((EnhanceSingleCommand*) _tmp0_) : NULL);
-#line 2475 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2480 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
enhance_single = _tmp1_;
-#line 2476 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2481 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp2_ = enhance_single;
-#line 2476 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2481 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp2_ != NULL) {
-#line 19421 "EditingTools.c"
+#line 19430 "EditingTools.c"
Photo* photo = NULL;
EnhanceSingleCommand* _tmp3_ = NULL;
DataSource* _tmp4_ = NULL;
@@ -19428,127 +19437,127 @@ static gboolean editing_tools_adjust_tool_adjust_enhance_command_real_compress (
Photo* _tmp9_ = NULL;
gboolean _tmp10_ = FALSE;
gboolean _tmp11_ = FALSE;
-#line 2477 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2482 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp3_ = enhance_single;
-#line 2477 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2482 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp4_ = single_data_source_command_get_source (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, TYPE_SINGLE_DATA_SOURCE_COMMAND, SingleDataSourceCommand));
-#line 2477 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2482 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
photo = G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, TYPE_PHOTO, Photo);
-#line 2481 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2486 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp5_ = photo;
-#line 2481 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2486 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp6_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_TOOL_COMMAND, EditingToolsAdjustToolAdjustToolCommand)->owner;
-#line 2481 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2486 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp7_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, EDITING_TOOLS_TYPE_EDITING_TOOL, EditingToolsEditingTool)->canvas;
-#line 2481 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2486 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp8_ = editing_tools_photo_canvas_get_photo (_tmp7_);
-#line 2481 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2486 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp9_ = _tmp8_;
-#line 2481 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2486 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp10_ = data_source_equals (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, TYPE_DATA_SOURCE, DataSource), G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, TYPE_DATA_SOURCE, DataSource));
-#line 2481 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2486 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp11_ = _tmp10_;
-#line 2481 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2486 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (_tmp9_);
-#line 2481 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2486 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
result = _tmp11_;
-#line 2481 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2486 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (photo);
-#line 2481 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2486 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (enhance_single);
-#line 2481 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2486 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return result;
-#line 19462 "EditingTools.c"
+#line 19471 "EditingTools.c"
}
-#line 2484 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2489 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp12_ = command;
-#line 2484 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2489 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp13_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp12_, EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_ENHANCE_COMMAND) ? ((EditingToolsAdjustToolAdjustEnhanceCommand*) _tmp12_) : NULL);
-#line 2484 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2489 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
enhance_command = _tmp13_;
-#line 2485 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2490 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp14_ = enhance_command;
-#line 2485 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2490 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp14_ == NULL) {
-#line 2486 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2491 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
result = FALSE;
-#line 2486 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2491 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (enhance_command);
-#line 2486 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2491 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (enhance_single);
-#line 2486 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2491 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return result;
-#line 19482 "EditingTools.c"
+#line 19491 "EditingTools.c"
}
-#line 2488 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2493 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp15_ = enhance_command;
-#line 2488 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2493 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp16_ = G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_TOOL_COMMAND, EditingToolsAdjustToolAdjustToolCommand)->owner;
-#line 2488 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2493 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_tmp17_ = G_TYPE_CHECK_INSTANCE_CAST (self, EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_TOOL_COMMAND, EditingToolsAdjustToolAdjustToolCommand)->owner;
-#line 2488 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2493 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
if (_tmp16_ != _tmp17_) {
-#line 2489 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2494 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
result = FALSE;
-#line 2489 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2494 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (enhance_command);
-#line 2489 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2494 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (enhance_single);
-#line 2489 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2494 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return result;
-#line 19500 "EditingTools.c"
+#line 19509 "EditingTools.c"
}
-#line 2492 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2497 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
result = TRUE;
-#line 2492 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2497 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (enhance_command);
-#line 2492 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2497 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (enhance_single);
-#line 2492 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2497 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
return result;
-#line 19510 "EditingTools.c"
+#line 19519 "EditingTools.c"
}
static void editing_tools_adjust_tool_adjust_enhance_command_class_init (EditingToolsAdjustToolAdjustEnhanceCommandClass * klass) {
-#line 2450 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2455 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_adjust_tool_adjust_enhance_command_parent_class = g_type_class_peek_parent (klass);
-#line 2450 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2455 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_type_class_add_private (klass, sizeof (EditingToolsAdjustToolAdjustEnhanceCommandPrivate));
-#line 2450 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2455 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
((CommandClass *) klass)->execute = editing_tools_adjust_tool_adjust_enhance_command_real_execute;
-#line 2450 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2455 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
((CommandClass *) klass)->undo = editing_tools_adjust_tool_adjust_enhance_command_real_undo;
-#line 2450 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2455 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
((CommandClass *) klass)->compress = editing_tools_adjust_tool_adjust_enhance_command_real_compress;
-#line 2450 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2455 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
G_OBJECT_CLASS (klass)->finalize = editing_tools_adjust_tool_adjust_enhance_command_finalize;
-#line 19527 "EditingTools.c"
+#line 19536 "EditingTools.c"
}
static void editing_tools_adjust_tool_adjust_enhance_command_instance_init (EditingToolsAdjustToolAdjustEnhanceCommand * self) {
-#line 2450 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2455 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv = EDITING_TOOLS_ADJUST_TOOL_ADJUST_ENHANCE_COMMAND_GET_PRIVATE (self);
-#line 2453 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2458 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->enhanced = NULL;
-#line 19536 "EditingTools.c"
+#line 19545 "EditingTools.c"
}
static void editing_tools_adjust_tool_adjust_enhance_command_finalize (GObject* obj) {
EditingToolsAdjustToolAdjustEnhanceCommand * self;
-#line 2450 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2455 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, EDITING_TOOLS_ADJUST_TOOL_TYPE_ADJUST_ENHANCE_COMMAND, EditingToolsAdjustToolAdjustEnhanceCommand);
-#line 2451 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2456 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (self->priv->photo);
-#line 2452 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2457 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_pixel_transformation_bundle_unref0 (self->priv->original);
-#line 2453 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2458 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_pixel_transformation_bundle_unref0 (self->priv->enhanced);
-#line 2450 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2455 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
G_OBJECT_CLASS (editing_tools_adjust_tool_adjust_enhance_command_parent_class)->finalize (obj);
-#line 19552 "EditingTools.c"
+#line 19561 "EditingTools.c"
}
@@ -19565,110 +19574,110 @@ static GType editing_tools_adjust_tool_adjust_enhance_command_get_type (void) {
static void editing_tools_adjust_tool_class_init (EditingToolsAdjustToolClass * klass) {
-#line 2204 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2209 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
editing_tools_adjust_tool_parent_class = g_type_class_peek_parent (klass);
-#line 2204 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2209 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
((EditingToolsEditingToolClass *) klass)->finalize = editing_tools_adjust_tool_finalize;
-#line 2204 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2209 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
g_type_class_add_private (klass, sizeof (EditingToolsAdjustToolPrivate));
-#line 2204 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2209 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
((EditingToolsEditingToolClass *) klass)->activate = editing_tools_adjust_tool_real_activate;
-#line 2204 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2209 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
((EditingToolsEditingToolClass *) klass)->get_tool_window = editing_tools_adjust_tool_real_get_tool_window;
-#line 2204 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2209 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
((EditingToolsEditingToolClass *) klass)->deactivate = editing_tools_adjust_tool_real_deactivate;
-#line 2204 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2209 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
((EditingToolsEditingToolClass *) klass)->paint = editing_tools_adjust_tool_real_paint;
-#line 2204 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2209 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
((EditingToolsEditingToolClass *) klass)->get_display_pixbuf = editing_tools_adjust_tool_real_get_display_pixbuf;
-#line 2204 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2209 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
((EditingToolsEditingToolClass *) klass)->on_keypress = editing_tools_adjust_tool_real_on_keypress;
-#line 19587 "EditingTools.c"
+#line 19596 "EditingTools.c"
}
static void editing_tools_adjust_tool_instance_init (EditingToolsAdjustTool * self) {
-#line 2204 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2209 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv = EDITING_TOOLS_ADJUST_TOOL_GET_PRIVATE (self);
-#line 2496 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2501 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->adjust_tool_window = NULL;
-#line 2497 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2502 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->suppress_effect_redraw = FALSE;
-#line 2498 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2503 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->draw_to_pixbuf = NULL;
-#line 2499 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2504 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->histogram_pixbuf = NULL;
-#line 2500 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2505 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->virgin_histogram_pixbuf = NULL;
-#line 2501 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2506 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->transformer = NULL;
-#line 2502 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2507 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->histogram_transformer = NULL;
-#line 2503 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2508 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->transformations = NULL;
-#line 2504 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2509 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->fp_pixel_cache = NULL;
-#line 2504 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2509 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->fp_pixel_cache_length1 = 0;
-#line 2504 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2509 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->_fp_pixel_cache_size_ = self->priv->fp_pixel_cache_length1;
-#line 2505 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2510 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->disable_histogram_refresh = FALSE;
-#line 2506 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2511 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->temperature_scheduler = NULL;
-#line 2507 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2512 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->tint_scheduler = NULL;
-#line 2508 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2513 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->contrast_scheduler = NULL;
-#line 2509 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2514 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->saturation_scheduler = NULL;
-#line 2510 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2515 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->exposure_scheduler = NULL;
-#line 2511 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2516 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->shadows_scheduler = NULL;
-#line 2512 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2517 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->highlights_scheduler = NULL;
-#line 19632 "EditingTools.c"
+#line 19641 "EditingTools.c"
}
static void editing_tools_adjust_tool_finalize (EditingToolsEditingTool* obj) {
EditingToolsAdjustTool * self;
-#line 2204 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2209 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, EDITING_TOOLS_TYPE_ADJUST_TOOL, EditingToolsAdjustTool);
-#line 2496 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2501 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (self->priv->adjust_tool_window);
-#line 2498 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2503 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (self->priv->draw_to_pixbuf);
-#line 2499 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2504 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (self->priv->histogram_pixbuf);
-#line 2500 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2505 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_g_object_unref0 (self->priv->virgin_histogram_pixbuf);
-#line 2501 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2506 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_pixel_transformer_unref0 (self->priv->transformer);
-#line 2502 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2507 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_pixel_transformer_unref0 (self->priv->histogram_transformer);
-#line 2503 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2508 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_pixel_transformation_bundle_unref0 (self->priv->transformations);
-#line 2504 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2509 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
self->priv->fp_pixel_cache = (g_free (self->priv->fp_pixel_cache), NULL);
-#line 2506 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2511 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_one_shot_scheduler_unref0 (self->priv->temperature_scheduler);
-#line 2507 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2512 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_one_shot_scheduler_unref0 (self->priv->tint_scheduler);
-#line 2508 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2513 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_one_shot_scheduler_unref0 (self->priv->contrast_scheduler);
-#line 2509 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2514 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_one_shot_scheduler_unref0 (self->priv->saturation_scheduler);
-#line 2510 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2515 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_one_shot_scheduler_unref0 (self->priv->exposure_scheduler);
-#line 2511 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2516 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_one_shot_scheduler_unref0 (self->priv->shadows_scheduler);
-#line 2512 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2517 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
_one_shot_scheduler_unref0 (self->priv->highlights_scheduler);
-#line 2204 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
+#line 2209 "/home/jens/Source/shotwell/src/editing_tools/EditingTools.vala"
EDITING_TOOLS_EDITING_TOOL_CLASS (editing_tools_adjust_tool_parent_class)->finalize (obj);
-#line 19672 "EditingTools.c"
+#line 19681 "EditingTools.c"
}
diff --git a/src/editing_tools/EditingTools.vala b/src/editing_tools/EditingTools.vala
index e0cf727..c3c79f6 100644
--- a/src/editing_tools/EditingTools.vala
+++ b/src/editing_tools/EditingTools.vala
@@ -52,6 +52,7 @@ public abstract class EditingToolWindow : Gtk.Window {
// Needed to prevent the (spurious) 'This event was synthesised outside of GDK'
// warnings after a keypress.
+ // TODO: Check if really still necessary
Log.set_handler("Gdk", LogLevelFlags.LEVEL_WARNING, suppress_warnings);
}
@@ -90,6 +91,10 @@ public abstract class EditingToolWindow : Gtk.Window {
base.realize();
}
+
+ private void suppress_warnings(string? log_domain, LogLevelFlags log_levels, string message) {
+ // do nothing.
+ }
}
// The PhotoCanvas is an interface object between an EditingTool and its host. It provides objects
diff --git a/src/editing_tools/StraightenTool.c b/src/editing_tools/StraightenTool.c
index d795f0c..cd0a017 100644
--- a/src/editing_tools/StraightenTool.c
+++ b/src/editing_tools/StraightenTool.c
@@ -1,4 +1,4 @@
-/* StraightenTool.c generated by valac 0.34.2, the Vala compiler
+/* StraightenTool.c generated by valac 0.32.1, the Vala compiler
* generated from StraightenTool.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/events/Branch.c b/src/events/Branch.c
index dba14ee..193a8ee 100644
--- a/src/events/Branch.c
+++ b/src/events/Branch.c
@@ -1,4 +1,4 @@
-/* Branch.c generated by valac 0.34.2, the Vala compiler
+/* Branch.c generated by valac 0.32.1, the Vala compiler
* generated from Branch.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -2140,13 +2140,13 @@ static void events_branch_on_no_event_collection_altered (EventsBranch* self) {
static void g_time_local (time_t time, struct tm* result) {
struct tm _result_ = {0};
struct tm _tmp0_ = {0};
-#line 2750 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2701 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
localtime_r (&time, &_tmp0_);
-#line 2750 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2701 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_result_ = _tmp0_;
-#line 2751 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2702 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
*result = _result_;
-#line 2751 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2702 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return;
#line 2152 "Branch.c"
}
@@ -2173,35 +2173,35 @@ static gchar* g_time_format (struct tm *self, const gchar* format) {
gchar* _tmp3_ = NULL;
gint _tmp3__length1 = 0;
gchar* _tmp4_ = NULL;
-#line 2758 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2709 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (format != NULL, NULL);
-#line 2759 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2710 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = g_new0 (gchar, 64);
-#line 2759 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2710 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
buffer = _tmp0_;
-#line 2759 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2710 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
buffer_length1 = 64;
-#line 2759 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2710 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_buffer_size_ = buffer_length1;
-#line 2760 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2711 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = buffer;
-#line 2760 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2711 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1__length1 = buffer_length1;
-#line 2760 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2711 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = format;
-#line 2760 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2711 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
strftime (_tmp1_, _tmp1__length1, _tmp2_, &(*self));
-#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = buffer;
-#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3__length1 = buffer_length1;
-#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = g_strdup ((const gchar*) _tmp3_);
-#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp4_;
-#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
buffer = (g_free (buffer), NULL);
-#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 2207 "Branch.c"
}
diff --git a/src/events/EventDirectoryItem.c b/src/events/EventDirectoryItem.c
index 4ee60a9..f63d633 100644
--- a/src/events/EventDirectoryItem.c
+++ b/src/events/EventDirectoryItem.c
@@ -1,4 +1,4 @@
-/* EventDirectoryItem.c generated by valac 0.34.2, the Vala compiler
+/* EventDirectoryItem.c generated by valac 0.32.1, the Vala compiler
* generated from EventDirectoryItem.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/events/EventPage.c b/src/events/EventPage.c
index e5a8d6a..04ee3ff 100644
--- a/src/events/EventPage.c
+++ b/src/events/EventPage.c
@@ -1,4 +1,4 @@
-/* EventPage.c generated by valac 0.34.2, the Vala compiler
+/* EventPage.c generated by valac 0.32.1, the Vala compiler
* generated from EventPage.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/events/Events.c b/src/events/Events.c
index d1d1ee2..d99ab32 100644
--- a/src/events/Events.c
+++ b/src/events/Events.c
@@ -1,4 +1,4 @@
-/* Events.c generated by valac 0.34.2, the Vala compiler
+/* Events.c generated by valac 0.32.1, the Vala compiler
* generated from Events.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/events/EventsDirectoryPage.c b/src/events/EventsDirectoryPage.c
index ca566b4..bf6b264 100644
--- a/src/events/EventsDirectoryPage.c
+++ b/src/events/EventsDirectoryPage.c
@@ -1,4 +1,4 @@
-/* EventsDirectoryPage.c generated by valac 0.34.2, the Vala compiler
+/* EventsDirectoryPage.c generated by valac 0.32.1, the Vala compiler
* generated from EventsDirectoryPage.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -1000,7 +1000,7 @@ static void events_directory_page_real_add_actions (Page* base);
void page_add_actions (Page* self);
GType app_window_get_type (void) G_GNUC_CONST;
AppWindow* app_window_get_instance (void);
-static GVariant* _variant_new10 (gboolean value);
+static GVariant* _variant_new14 (gboolean value);
static void events_directory_page_real_init_actions (Page* base, gint selected_count, gint count);
void page_init_actions (Page* self, gint selected_count, gint count);
static void events_directory_page_real_update_actions (Page* base, gint selected_count, gint count);
@@ -1500,8 +1500,8 @@ static Comparator events_directory_page_get_event_comparator (gboolean ascending
}
-static GVariant* _variant_new10 (gboolean value) {
-#line 121 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
+static GVariant* _variant_new14 (gboolean value) {
+#line 122 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
return g_variant_ref_sink (g_variant_new_boolean (value));
#line 1507 "EventsDirectoryPage.c"
}
@@ -1511,12 +1511,13 @@ static void events_directory_page_real_add_actions (Page* base) {
EventsDirectoryPage * self;
AppWindow* _tmp0_ = NULL;
AppWindow* _tmp1_ = NULL;
- GAction* _tmp2_ = NULL;
- GSimpleAction* _tmp3_ = NULL;
- GSimpleAction* _tmp4_ = NULL;
- ConfigFacade* _tmp5_ = NULL;
- ConfigFacade* _tmp6_ = NULL;
- gboolean _tmp7_ = FALSE;
+ gboolean display_comments = FALSE;
+ ConfigFacade* _tmp2_ = NULL;
+ ConfigFacade* _tmp3_ = NULL;
+ gboolean _tmp4_ = FALSE;
+ gboolean _tmp5_ = FALSE;
+ GAction* _tmp6_ = NULL;
+ GAction* _tmp7_ = NULL;
GVariant* _tmp8_ = NULL;
#line 117 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_EVENTS_DIRECTORY_PAGE, EventsDirectoryPage);
@@ -1531,34 +1532,30 @@ static void events_directory_page_real_add_actions (Page* base) {
#line 119 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
_g_object_unref0 (_tmp1_);
#line 121 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
- _tmp2_ = page_get_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "ViewComment");
-#line 121 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
- _tmp3_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp2_, g_simple_action_get_type ()) ? ((GSimpleAction*) _tmp2_) : NULL;
-#line 121 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
- if (_tmp3_ == NULL) {
-#line 121 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
- _g_object_unref0 (_tmp2_);
-#line 1542 "EventsDirectoryPage.c"
- }
-#line 121 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
- _tmp4_ = _tmp3_;
-#line 121 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
- _tmp5_ = config_facade_get_instance ();
+ _tmp2_ = config_facade_get_instance ();
#line 121 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
- _tmp6_ = _tmp5_;
+ _tmp3_ = _tmp2_;
#line 121 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
- _tmp7_ = configuration_facade_get_display_event_comments (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
+ _tmp4_ = configuration_facade_get_display_event_comments (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
#line 121 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
- _tmp8_ = _variant_new10 (_tmp7_);
+ _tmp5_ = _tmp4_;
#line 121 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
- g_simple_action_set_state (_tmp4_, _tmp8_);
+ _g_object_unref0 (_tmp3_);
#line 121 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
+ display_comments = _tmp5_;
+#line 122 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
+ _tmp6_ = page_get_action (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page), "ViewComment");
+#line 122 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
+ _tmp7_ = _tmp6_;
+#line 122 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
+ _tmp8_ = _variant_new14 (display_comments);
+#line 122 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
+ g_action_change_state (_tmp7_, _tmp8_);
+#line 122 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
_g_variant_unref0 (_tmp8_);
-#line 121 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
- _g_object_unref0 (_tmp6_);
-#line 121 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
- _g_object_unref0 (_tmp4_);
-#line 1562 "EventsDirectoryPage.c"
+#line 122 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
+ _g_object_unref0 (_tmp7_);
+#line 1559 "EventsDirectoryPage.c"
}
@@ -1585,7 +1582,7 @@ static void events_directory_page_real_init_actions (Page* base, gint selected_c
if (_tmp3_ == NULL) {
#line 128 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
_g_object_unref0 (_tmp2_);
-#line 1589 "EventsDirectoryPage.c"
+#line 1586 "EventsDirectoryPage.c"
}
#line 128 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
action = _tmp3_;
@@ -1595,7 +1592,7 @@ static void events_directory_page_real_init_actions (Page* base, gint selected_c
g_signal_connect_object (action, "change-state", (GCallback) _events_directory_page_on_sort_changed_g_simple_action_change_state, self, 0);
#line 125 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
_g_object_unref0 (action);
-#line 1599 "EventsDirectoryPage.c"
+#line 1596 "EventsDirectoryPage.c"
}
@@ -1628,7 +1625,7 @@ static void events_directory_page_real_update_actions (Page* base, gint selected
_tmp4_ = count;
#line 139 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
PAGE_CLASS (events_directory_page_parent_class)->update_actions (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_CHECKERBOARD_PAGE, CheckerboardPage), TYPE_PAGE, Page), _tmp3_, _tmp4_);
-#line 1632 "EventsDirectoryPage.c"
+#line 1629 "EventsDirectoryPage.c"
}
@@ -1647,7 +1644,7 @@ static gchar* events_directory_page_real_get_view_empty_message (CheckerboardPag
result = _tmp1_;
#line 143 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
return result;
-#line 1651 "EventsDirectoryPage.c"
+#line 1648 "EventsDirectoryPage.c"
}
@@ -1666,14 +1663,14 @@ static gchar* events_directory_page_real_get_filter_no_match_message (Checkerboa
result = _tmp1_;
#line 147 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
return result;
-#line 1670 "EventsDirectoryPage.c"
+#line 1667 "EventsDirectoryPage.c"
}
static gpointer _g_object_ref0 (gpointer self) {
#line 152 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
return self ? g_object_ref (self) : NULL;
-#line 1677 "EventsDirectoryPage.c"
+#line 1674 "EventsDirectoryPage.c"
}
@@ -1709,7 +1706,7 @@ static void events_directory_page_real_on_item_activated (CheckerboardPage* base
_g_object_unref0 (_tmp3_);
#line 150 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
_g_object_unref0 (event);
-#line 1713 "EventsDirectoryPage.c"
+#line 1710 "EventsDirectoryPage.c"
}
@@ -1764,7 +1761,7 @@ static void events_directory_page_on_sort_changed (EventsDirectoryPage* self, GS
_tmp9_ = value;
#line 161 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
g_simple_action_set_state (_tmp8_, _tmp9_);
-#line 1768 "EventsDirectoryPage.c"
+#line 1765 "EventsDirectoryPage.c"
}
@@ -1813,7 +1810,7 @@ static void events_directory_page_on_rename (EventsDirectoryPage* self) {
if (_tmp3_) {
#line 167 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
return;
-#line 1817 "EventsDirectoryPage.c"
+#line 1814 "EventsDirectoryPage.c"
}
#line 169 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
@@ -1861,7 +1858,7 @@ static void events_directory_page_on_rename (EventsDirectoryPage* self) {
_g_object_unref0 (item);
#line 174 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
return;
-#line 1865 "EventsDirectoryPage.c"
+#line 1862 "EventsDirectoryPage.c"
}
#line 176 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
_tmp17_ = item;
@@ -1891,7 +1888,7 @@ static void events_directory_page_on_rename (EventsDirectoryPage* self) {
_text_entry_dialog_mediator_unref0 (rename_dialog);
#line 164 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
_g_object_unref0 (item);
-#line 1895 "EventsDirectoryPage.c"
+#line 1892 "EventsDirectoryPage.c"
}
@@ -1940,7 +1937,7 @@ void events_directory_page_on_edit_comment (EventsDirectoryPage* self) {
if (_tmp3_) {
#line 183 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
return;
-#line 1944 "EventsDirectoryPage.c"
+#line 1941 "EventsDirectoryPage.c"
}
#line 185 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
@@ -1988,7 +1985,7 @@ void events_directory_page_on_edit_comment (EventsDirectoryPage* self) {
_g_object_unref0 (item);
#line 190 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
return;
-#line 1992 "EventsDirectoryPage.c"
+#line 1989 "EventsDirectoryPage.c"
}
#line 192 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
_tmp17_ = item;
@@ -2018,7 +2015,7 @@ void events_directory_page_on_edit_comment (EventsDirectoryPage* self) {
_multi_text_entry_dialog_mediator_unref0 (edit_comment_dialog);
#line 180 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
_g_object_unref0 (item);
-#line 2022 "EventsDirectoryPage.c"
+#line 2019 "EventsDirectoryPage.c"
}
@@ -2053,7 +2050,7 @@ static void events_directory_page_on_merge (EventsDirectoryPage* self) {
if (_tmp3_) {
#line 198 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
return;
-#line 2057 "EventsDirectoryPage.c"
+#line 2054 "EventsDirectoryPage.c"
}
#line 200 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
_tmp4_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE, Page));
@@ -2085,7 +2082,7 @@ static void events_directory_page_on_merge (EventsDirectoryPage* self) {
_command_manager_unref0 (_tmp11_);
#line 196 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
_g_object_unref0 (command);
-#line 2089 "EventsDirectoryPage.c"
+#line 2086 "EventsDirectoryPage.c"
}
@@ -2123,14 +2120,14 @@ static void events_directory_page_on_display_comments (EventsDirectoryPage* self
_tmp5_ = value;
#line 211 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
g_simple_action_set_state (_tmp4_, _tmp5_);
-#line 2127 "EventsDirectoryPage.c"
+#line 2124 "EventsDirectoryPage.c"
}
static gpointer _view_filter_ref0 (gpointer self) {
#line 215 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
return self ? view_filter_ref (self) : NULL;
-#line 2134 "EventsDirectoryPage.c"
+#line 2131 "EventsDirectoryPage.c"
}
@@ -2149,7 +2146,7 @@ static SearchViewFilter* events_directory_page_real_get_search_view_filter (Chec
result = _tmp1_;
#line 215 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
return result;
-#line 2153 "EventsDirectoryPage.c"
+#line 2150 "EventsDirectoryPage.c"
}
@@ -2170,7 +2167,7 @@ static DataView* events_directory_page_event_directory_manager_real_create_view
result = G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_DATA_VIEW, DataView);
#line 10 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
return result;
-#line 2174 "EventsDirectoryPage.c"
+#line 2171 "EventsDirectoryPage.c"
}
@@ -2180,14 +2177,14 @@ EventsDirectoryPageEventDirectoryManager* events_directory_page_event_directory_
self = (EventsDirectoryPageEventDirectoryManager*) view_manager_construct (object_type);
#line 8 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
return self;
-#line 2184 "EventsDirectoryPage.c"
+#line 2181 "EventsDirectoryPage.c"
}
EventsDirectoryPageEventDirectoryManager* events_directory_page_event_directory_manager_new (void) {
#line 8 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
return events_directory_page_event_directory_manager_construct (EVENTS_DIRECTORY_PAGE_TYPE_EVENT_DIRECTORY_MANAGER);
-#line 2191 "EventsDirectoryPage.c"
+#line 2188 "EventsDirectoryPage.c"
}
@@ -2196,7 +2193,7 @@ static void events_directory_page_event_directory_manager_class_init (EventsDire
events_directory_page_event_directory_manager_parent_class = g_type_class_peek_parent (klass);
#line 8 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
((ViewManagerClass *) klass)->create_view = events_directory_page_event_directory_manager_real_create_view;
-#line 2200 "EventsDirectoryPage.c"
+#line 2197 "EventsDirectoryPage.c"
}
@@ -2225,7 +2222,7 @@ static guint events_directory_page_events_directory_search_view_filter_real_get_
result = (guint) SEARCH_FILTER_CRITERIA_TEXT;
#line 16 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
return result;
-#line 2229 "EventsDirectoryPage.c"
+#line 2226 "EventsDirectoryPage.c"
}
@@ -2233,19 +2230,19 @@ static gboolean string_contains (const gchar* self, const gchar* needle) {
gboolean result = FALSE;
const gchar* _tmp0_ = NULL;
gchar* _tmp1_ = NULL;
-#line 1376 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1376 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, FALSE);
-#line 1376 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1376 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (needle != NULL, FALSE);
-#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = needle;
-#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = strstr ((gchar*) self, (gchar*) _tmp0_);
-#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp1_ != NULL;
-#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
-#line 2249 "EventsDirectoryPage.c"
+#line 2246 "EventsDirectoryPage.c"
}
@@ -2291,7 +2288,7 @@ static gboolean events_directory_page_events_directory_search_view_filter_real_p
result = TRUE;
#line 22 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
return result;
-#line 2295 "EventsDirectoryPage.c"
+#line 2292 "EventsDirectoryPage.c"
}
#line 24 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
_tmp5_ = view;
@@ -2317,11 +2314,11 @@ static gboolean events_directory_page_events_directory_search_view_filter_real_p
_g_object_unref0 (source);
#line 27 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
return result;
-#line 2321 "EventsDirectoryPage.c"
+#line 2318 "EventsDirectoryPage.c"
}
#line 30 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
_tmp12_ = search_view_filter_get_search_filter_words (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_SEARCH_VIEW_FILTER, SearchViewFilter), &_tmp11_);
-#line 2325 "EventsDirectoryPage.c"
+#line 2322 "EventsDirectoryPage.c"
{
gchar** word_collection = NULL;
gint word_collection_length1 = 0;
@@ -2333,11 +2330,11 @@ static gboolean events_directory_page_events_directory_search_view_filter_real_p
word_collection_length1 = _tmp11_;
#line 30 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
for (word_it = 0; word_it < _tmp11_; word_it = word_it + 1) {
-#line 2337 "EventsDirectoryPage.c"
+#line 2334 "EventsDirectoryPage.c"
const gchar* word = NULL;
#line 30 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
word = word_collection[word_it];
-#line 2341 "EventsDirectoryPage.c"
+#line 2338 "EventsDirectoryPage.c"
{
const gchar* _tmp13_ = NULL;
const gchar* _tmp14_ = NULL;
@@ -2356,7 +2353,7 @@ static gboolean events_directory_page_events_directory_search_view_filter_real_p
_g_object_unref0 (source);
#line 32 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
return result;
-#line 2360 "EventsDirectoryPage.c"
+#line 2357 "EventsDirectoryPage.c"
}
}
}
@@ -2367,7 +2364,7 @@ static gboolean events_directory_page_events_directory_search_view_filter_real_p
_g_object_unref0 (source);
#line 35 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
return result;
-#line 2371 "EventsDirectoryPage.c"
+#line 2368 "EventsDirectoryPage.c"
}
@@ -2377,14 +2374,14 @@ static EventsDirectoryPageEventsDirectorySearchViewFilter* events_directory_page
self = (EventsDirectoryPageEventsDirectorySearchViewFilter*) search_view_filter_construct (object_type);
#line 14 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
return self;
-#line 2381 "EventsDirectoryPage.c"
+#line 2378 "EventsDirectoryPage.c"
}
static EventsDirectoryPageEventsDirectorySearchViewFilter* events_directory_page_events_directory_search_view_filter_new (void) {
#line 14 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
return events_directory_page_events_directory_search_view_filter_construct (EVENTS_DIRECTORY_PAGE_TYPE_EVENTS_DIRECTORY_SEARCH_VIEW_FILTER);
-#line 2388 "EventsDirectoryPage.c"
+#line 2385 "EventsDirectoryPage.c"
}
@@ -2395,7 +2392,7 @@ static void events_directory_page_events_directory_search_view_filter_class_init
((SearchViewFilterClass *) klass)->get_criteria = events_directory_page_events_directory_search_view_filter_real_get_criteria;
#line 14 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
((ViewFilterClass *) klass)->predicate = events_directory_page_events_directory_search_view_filter_real_predicate;
-#line 2399 "EventsDirectoryPage.c"
+#line 2396 "EventsDirectoryPage.c"
}
@@ -2438,7 +2435,7 @@ static void events_directory_page_class_init (EventsDirectoryPageClass * klass)
((CheckerboardPageClass *) klass)->get_search_view_filter = events_directory_page_real_get_search_view_filter;
#line 7 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
G_OBJECT_CLASS (klass)->finalize = events_directory_page_finalize;
-#line 2442 "EventsDirectoryPage.c"
+#line 2439 "EventsDirectoryPage.c"
}
@@ -2450,7 +2447,7 @@ static void events_directory_page_instance_init (EventsDirectoryPage * self) {
_tmp0_ = events_directory_page_events_directory_search_view_filter_new ();
#line 43 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
self->priv->search_filter = _tmp0_;
-#line 2454 "EventsDirectoryPage.c"
+#line 2451 "EventsDirectoryPage.c"
}
@@ -2472,7 +2469,7 @@ static void events_directory_page_finalize (GObject* obj) {
if (_tmp1_ == NULL) {
#line 75 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
_g_object_unref0 (_tmp0_);
-#line 2476 "EventsDirectoryPage.c"
+#line 2473 "EventsDirectoryPage.c"
}
#line 75 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
action = _tmp1_;
@@ -2494,7 +2491,7 @@ static void events_directory_page_finalize (GObject* obj) {
_view_filter_unref0 (self->priv->search_filter);
#line 7 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
G_OBJECT_CLASS (events_directory_page_parent_class)->finalize (obj);
-#line 2498 "EventsDirectoryPage.c"
+#line 2495 "EventsDirectoryPage.c"
}
@@ -2535,21 +2532,21 @@ MasterEventsDirectoryPage* master_events_directory_page_construct (GType object_
_view_manager_unref0 (_tmp1_);
#line 222 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
return self;
-#line 2539 "EventsDirectoryPage.c"
+#line 2536 "EventsDirectoryPage.c"
}
MasterEventsDirectoryPage* master_events_directory_page_new (void) {
#line 222 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
return master_events_directory_page_construct (TYPE_MASTER_EVENTS_DIRECTORY_PAGE);
-#line 2546 "EventsDirectoryPage.c"
+#line 2543 "EventsDirectoryPage.c"
}
static void master_events_directory_page_class_init (MasterEventsDirectoryPageClass * klass) {
#line 219 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
master_events_directory_page_parent_class = g_type_class_peek_parent (klass);
-#line 2553 "EventsDirectoryPage.c"
+#line 2550 "EventsDirectoryPage.c"
}
@@ -2593,37 +2590,37 @@ static gchar* g_time_format (struct tm *self, const gchar* format) {
gchar* _tmp3_ = NULL;
gint _tmp3__length1 = 0;
gchar* _tmp4_ = NULL;
-#line 2758 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2709 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (format != NULL, NULL);
-#line 2759 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2710 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = g_new0 (gchar, 64);
-#line 2759 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2710 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
buffer = _tmp0_;
-#line 2759 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2710 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
buffer_length1 = 64;
-#line 2759 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2710 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_buffer_size_ = buffer_length1;
-#line 2760 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2711 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = buffer;
-#line 2760 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2711 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1__length1 = buffer_length1;
-#line 2760 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2711 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = format;
-#line 2760 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2711 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
strftime (_tmp1_, _tmp1__length1, _tmp2_, &(*self));
-#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = buffer;
-#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3__length1 = buffer_length1;
-#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = g_strdup ((const gchar*) _tmp3_);
-#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp4_;
-#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
buffer = (g_free (buffer), NULL);
-#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
-#line 2627 "EventsDirectoryPage.c"
+#line 2624 "EventsDirectoryPage.c"
}
@@ -2642,7 +2639,7 @@ SubEventsDirectoryPage* sub_events_directory_page_construct (GType object_type,
_tmp0_ = type;
#line 282 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
if (_tmp0_ == SUB_EVENTS_DIRECTORY_PAGE_DIRECTORY_TYPE_UNDATED) {
-#line 2646 "EventsDirectoryPage.c"
+#line 2643 "EventsDirectoryPage.c"
gchar* _tmp1_ = NULL;
#line 283 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
_tmp1_ = g_strdup (SUB_EVENTS_DIRECTORY_PAGE_UNDATED_PAGE_NAME);
@@ -2650,7 +2647,7 @@ SubEventsDirectoryPage* sub_events_directory_page_construct (GType object_type,
_g_free0 (page_name);
#line 283 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
page_name = _tmp1_;
-#line 2654 "EventsDirectoryPage.c"
+#line 2651 "EventsDirectoryPage.c"
} else {
const gchar* _tmp2_ = NULL;
SubEventsDirectoryPageDirectoryType _tmp3_ = 0;
@@ -2661,11 +2658,11 @@ SubEventsDirectoryPage* sub_events_directory_page_construct (GType object_type,
if (_tmp3_ == SUB_EVENTS_DIRECTORY_PAGE_DIRECTORY_TYPE_YEAR) {
#line 285 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
_tmp2_ = SUB_EVENTS_DIRECTORY_PAGE_YEAR_FORMAT;
-#line 2665 "EventsDirectoryPage.c"
+#line 2662 "EventsDirectoryPage.c"
} else {
#line 285 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
_tmp2_ = SUB_EVENTS_DIRECTORY_PAGE_MONTH_FORMAT;
-#line 2669 "EventsDirectoryPage.c"
+#line 2666 "EventsDirectoryPage.c"
}
#line 285 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
_tmp4_ = g_time_format (time, _tmp2_);
@@ -2673,7 +2670,7 @@ SubEventsDirectoryPage* sub_events_directory_page_construct (GType object_type,
_g_free0 (page_name);
#line 285 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
page_name = _tmp4_;
-#line 2677 "EventsDirectoryPage.c"
+#line 2674 "EventsDirectoryPage.c"
}
#line 288 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
_tmp5_ = page_name;
@@ -2693,14 +2690,14 @@ SubEventsDirectoryPage* sub_events_directory_page_construct (GType object_type,
_g_free0 (page_name);
#line 280 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
return self;
-#line 2697 "EventsDirectoryPage.c"
+#line 2694 "EventsDirectoryPage.c"
}
SubEventsDirectoryPage* sub_events_directory_page_new (SubEventsDirectoryPageDirectoryType type, struct tm* time) {
#line 280 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
return sub_events_directory_page_construct (TYPE_SUB_EVENTS_DIRECTORY_PAGE, type, time);
-#line 2704 "EventsDirectoryPage.c"
+#line 2701 "EventsDirectoryPage.c"
}
@@ -2718,7 +2715,7 @@ gint sub_events_directory_page_get_month (SubEventsDirectoryPage* self) {
result = _tmp1_;
#line 292 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
return result;
-#line 2722 "EventsDirectoryPage.c"
+#line 2719 "EventsDirectoryPage.c"
}
@@ -2736,7 +2733,7 @@ gint sub_events_directory_page_get_year (SubEventsDirectoryPage* self) {
result = _tmp1_;
#line 296 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
return result;
-#line 2740 "EventsDirectoryPage.c"
+#line 2737 "EventsDirectoryPage.c"
}
@@ -2754,7 +2751,7 @@ SubEventsDirectoryPageDirectoryType sub_events_directory_page_get_event_director
result = _tmp1_;
#line 300 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
return result;
-#line 2758 "EventsDirectoryPage.c"
+#line 2755 "EventsDirectoryPage.c"
}
@@ -2772,7 +2769,7 @@ static SubEventsDirectoryPageSubEventDirectoryManager* sub_events_directory_page
_tmp0_ = type;
#line 246 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
if (_tmp0_ == SUB_EVENTS_DIRECTORY_PAGE_DIRECTORY_TYPE_MONTH) {
-#line 2776 "EventsDirectoryPage.c"
+#line 2773 "EventsDirectoryPage.c"
struct tm _tmp1_ = {0};
gint _tmp2_ = 0;
#line 247 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
@@ -2781,7 +2778,7 @@ static SubEventsDirectoryPageSubEventDirectoryManager* sub_events_directory_page
_tmp2_ = _tmp1_.tm_mon;
#line 247 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
self->priv->month = _tmp2_;
-#line 2785 "EventsDirectoryPage.c"
+#line 2782 "EventsDirectoryPage.c"
}
#line 248 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
_tmp3_ = type;
@@ -2795,29 +2792,29 @@ static SubEventsDirectoryPageSubEventDirectoryManager* sub_events_directory_page
self->priv->year = _tmp5_;
#line 243 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
return self;
-#line 2799 "EventsDirectoryPage.c"
+#line 2796 "EventsDirectoryPage.c"
}
static SubEventsDirectoryPageSubEventDirectoryManager* sub_events_directory_page_sub_event_directory_manager_new (SubEventsDirectoryPageDirectoryType type, struct tm* time) {
#line 243 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
return sub_events_directory_page_sub_event_directory_manager_construct (SUB_EVENTS_DIRECTORY_PAGE_TYPE_SUB_EVENT_DIRECTORY_MANAGER, type, time);
-#line 2806 "EventsDirectoryPage.c"
+#line 2803 "EventsDirectoryPage.c"
}
static void g_time_local (time_t time, struct tm* result) {
struct tm _result_ = {0};
struct tm _tmp0_ = {0};
-#line 2750 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2701 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
localtime_r (&time, &_tmp0_);
-#line 2750 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2701 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_result_ = _tmp0_;
-#line 2751 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2702 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
*result = _result_;
-#line 2751 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2702 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return;
-#line 2821 "EventsDirectoryPage.c"
+#line 2818 "EventsDirectoryPage.c"
}
@@ -2850,7 +2847,7 @@ static gboolean sub_events_directory_page_sub_event_directory_manager_real_inclu
result = FALSE;
#line 254 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
return result;
-#line 2854 "EventsDirectoryPage.c"
+#line 2851 "EventsDirectoryPage.c"
}
#line 256 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
_tmp2_ = source;
@@ -2874,13 +2871,13 @@ static gboolean sub_events_directory_page_sub_event_directory_manager_real_inclu
_tmp9_ = self->priv->year;
#line 258 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
if (_tmp8_ == _tmp9_) {
-#line 2878 "EventsDirectoryPage.c"
+#line 2875 "EventsDirectoryPage.c"
SubEventsDirectoryPageDirectoryType _tmp10_ = 0;
#line 259 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
_tmp10_ = self->priv->type;
#line 259 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
if (_tmp10_ == SUB_EVENTS_DIRECTORY_PAGE_DIRECTORY_TYPE_MONTH) {
-#line 2884 "EventsDirectoryPage.c"
+#line 2881 "EventsDirectoryPage.c"
struct tm _tmp11_ = {0};
gint _tmp12_ = 0;
gint _tmp13_ = 0;
@@ -2896,7 +2893,7 @@ static gboolean sub_events_directory_page_sub_event_directory_manager_real_inclu
_g_object_unref0 (event);
#line 260 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
return result;
-#line 2900 "EventsDirectoryPage.c"
+#line 2897 "EventsDirectoryPage.c"
}
#line 262 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
result = TRUE;
@@ -2904,7 +2901,7 @@ static gboolean sub_events_directory_page_sub_event_directory_manager_real_inclu
_g_object_unref0 (event);
#line 262 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
return result;
-#line 2908 "EventsDirectoryPage.c"
+#line 2905 "EventsDirectoryPage.c"
}
#line 264 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
result = FALSE;
@@ -2912,7 +2909,7 @@ static gboolean sub_events_directory_page_sub_event_directory_manager_real_inclu
_g_object_unref0 (event);
#line 264 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
return result;
-#line 2916 "EventsDirectoryPage.c"
+#line 2913 "EventsDirectoryPage.c"
}
@@ -2927,7 +2924,7 @@ static gint sub_events_directory_page_sub_event_directory_manager_get_month (Sub
result = _tmp0_;
#line 268 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
return result;
-#line 2931 "EventsDirectoryPage.c"
+#line 2928 "EventsDirectoryPage.c"
}
@@ -2942,7 +2939,7 @@ static gint sub_events_directory_page_sub_event_directory_manager_get_year (SubE
result = _tmp0_;
#line 272 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
return result;
-#line 2946 "EventsDirectoryPage.c"
+#line 2943 "EventsDirectoryPage.c"
}
@@ -2957,7 +2954,7 @@ static SubEventsDirectoryPageDirectoryType sub_events_directory_page_sub_event_d
result = _tmp0_;
#line 276 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
return result;
-#line 2961 "EventsDirectoryPage.c"
+#line 2958 "EventsDirectoryPage.c"
}
@@ -2970,7 +2967,7 @@ static void sub_events_directory_page_sub_event_directory_manager_class_init (Su
g_type_class_add_private (klass, sizeof (SubEventsDirectoryPageSubEventDirectoryManagerPrivate));
#line 238 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
((ViewManagerClass *) klass)->include_in_view = sub_events_directory_page_sub_event_directory_manager_real_include_in_view;
-#line 2974 "EventsDirectoryPage.c"
+#line 2971 "EventsDirectoryPage.c"
}
@@ -2981,7 +2978,7 @@ static void sub_events_directory_page_sub_event_directory_manager_instance_init
self->priv->month = 0;
#line 240 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
self->priv->year = 0;
-#line 2985 "EventsDirectoryPage.c"
+#line 2982 "EventsDirectoryPage.c"
}
@@ -2991,7 +2988,7 @@ static void sub_events_directory_page_sub_event_directory_manager_finalize (View
self = G_TYPE_CHECK_INSTANCE_CAST (obj, SUB_EVENTS_DIRECTORY_PAGE_TYPE_SUB_EVENT_DIRECTORY_MANAGER, SubEventsDirectoryPageSubEventDirectoryManager);
#line 238 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
VIEW_MANAGER_CLASS (sub_events_directory_page_sub_event_directory_manager_parent_class)->finalize (obj);
-#line 2995 "EventsDirectoryPage.c"
+#line 2992 "EventsDirectoryPage.c"
}
@@ -3010,7 +3007,7 @@ static GType sub_events_directory_page_sub_event_directory_manager_get_type (voi
static void sub_events_directory_page_class_init (SubEventsDirectoryPageClass * klass) {
#line 227 "/home/jens/Source/shotwell/src/events/EventsDirectoryPage.vala"
sub_events_directory_page_parent_class = g_type_class_peek_parent (klass);
-#line 3014 "EventsDirectoryPage.c"
+#line 3011 "EventsDirectoryPage.c"
}
diff --git a/src/events/EventsDirectoryPage.vala b/src/events/EventsDirectoryPage.vala
index 46fabe3..af20d99 100644
--- a/src/events/EventsDirectoryPage.vala
+++ b/src/events/EventsDirectoryPage.vala
@@ -118,8 +118,8 @@ public abstract class EventsDirectoryPage : CheckerboardPage {
base.add_actions ();
AppWindow.get_instance ().add_action_entries (entries, this);
- (get_action ("ViewComment") as GLib.SimpleAction).set_state
- (Config.Facade.get_instance().get_display_event_comments());
+ var display_comments = Config.Facade.get_instance().get_display_event_comments();
+ get_action ("ViewComment").change_state (display_comments);
}
protected override void init_actions(int selected_count, int count) {
diff --git a/src/folders/Branch.c b/src/folders/Branch.c
index 6a51126..d44aff9 100644
--- a/src/folders/Branch.c
+++ b/src/folders/Branch.c
@@ -1,4 +1,4 @@
-/* Branch.c generated by valac 0.34.2, the Vala compiler
+/* Branch.c generated by valac 0.32.1, the Vala compiler
* generated from Branch.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -998,7 +998,7 @@ static void folders_branch_add_entry (FoldersBranch* self, MediaSource* media) {
#line 73 "/home/jens/Source/shotwell/src/folders/Branch.vala"
file = _tmp1_;
#line 75 "/home/jens/Source/shotwell/src/folders/Branch.vala"
- _tmp2_ = gee_array_list_new (g_file_get_type (), (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL);
+ _tmp2_ = gee_array_list_new (G_TYPE_FILE, (GBoxedCopyFunc) g_object_ref, g_object_unref, NULL, NULL, NULL);
#line 75 "/home/jens/Source/shotwell/src/folders/Branch.vala"
elements = _tmp2_;
#line 78 "/home/jens/Source/shotwell/src/folders/Branch.vala"
@@ -1497,7 +1497,7 @@ static void folders_branch_instance_init (FoldersBranch * self) {
#line 7 "/home/jens/Source/shotwell/src/folders/Branch.vala"
self->priv = FOLDERS_BRANCH_GET_PRIVATE (self);
#line 8 "/home/jens/Source/shotwell/src/folders/Branch.vala"
- _tmp0_ = gee_hash_map_new (g_file_get_type (), (GBoxedCopyFunc) g_object_ref, g_object_unref, FOLDERS_TYPE_SIDEBAR_ENTRY, (GBoxedCopyFunc) g_object_ref, g_object_unref, _file_hash_gee_hash_data_func, NULL, NULL, _file_equal_gee_equal_data_func, NULL, NULL, NULL, NULL, NULL);
+ _tmp0_ = gee_hash_map_new (G_TYPE_FILE, (GBoxedCopyFunc) g_object_ref, g_object_unref, FOLDERS_TYPE_SIDEBAR_ENTRY, (GBoxedCopyFunc) g_object_ref, g_object_unref, _file_hash_gee_hash_data_func, NULL, NULL, _file_equal_gee_equal_data_func, NULL, NULL, NULL, NULL, NULL);
#line 8 "/home/jens/Source/shotwell/src/folders/Branch.vala"
self->priv->entries = _tmp0_;
#line 1504 "Branch.c"
@@ -1982,7 +1982,7 @@ static void folders_sidebar_entry_class_init (FoldersSidebarEntryClass * klass)
#line 148 "/home/jens/Source/shotwell/src/folders/Branch.vala"
G_OBJECT_CLASS (klass)->finalize = folders_sidebar_entry_finalize;
#line 148 "/home/jens/Source/shotwell/src/folders/Branch.vala"
- g_object_class_install_property (G_OBJECT_CLASS (klass), FOLDERS_SIDEBAR_ENTRY_DIR, g_param_spec_object ("dir", "dir", "dir", g_file_get_type (), G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
+ g_object_class_install_property (G_OBJECT_CLASS (klass), FOLDERS_SIDEBAR_ENTRY_DIR, g_param_spec_object ("dir", "dir", "dir", G_TYPE_FILE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 148 "/home/jens/Source/shotwell/src/folders/Branch.vala"
g_object_class_install_property (G_OBJECT_CLASS (klass), FOLDERS_SIDEBAR_ENTRY_COLLATION, g_param_spec_string ("collation", "collation", "collation", NULL, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 148 "/home/jens/Source/shotwell/src/folders/Branch.vala"
diff --git a/src/folders/Folders.c b/src/folders/Folders.c
index e400ed6..d9af95a 100644
--- a/src/folders/Folders.c
+++ b/src/folders/Folders.c
@@ -1,4 +1,4 @@
-/* Folders.c generated by valac 0.34.2, the Vala compiler
+/* Folders.c generated by valac 0.32.1, the Vala compiler
* generated from Folders.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/folders/Page.c b/src/folders/Page.c
index f7d484f..03bbd48 100644
--- a/src/folders/Page.c
+++ b/src/folders/Page.c
@@ -1,4 +1,4 @@
-/* Page.c generated by valac 0.34.2, the Vala compiler
+/* Page.c generated by valac 0.32.1, the Vala compiler
* generated from Page.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/library/Branch.c b/src/library/Branch.c
index 097a951..e7131b0 100644
--- a/src/library/Branch.c
+++ b/src/library/Branch.c
@@ -1,4 +1,4 @@
-/* Branch.c generated by valac 0.34.2, the Vala compiler
+/* Branch.c generated by valac 0.32.1, the Vala compiler
* generated from Branch.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/library/FlaggedPage.c b/src/library/FlaggedPage.c
index 5cd3d40..16cef0f 100644
--- a/src/library/FlaggedPage.c
+++ b/src/library/FlaggedPage.c
@@ -1,4 +1,4 @@
-/* FlaggedPage.c generated by valac 0.34.2, the Vala compiler
+/* FlaggedPage.c generated by valac 0.32.1, the Vala compiler
* generated from FlaggedPage.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/library/FlaggedSidebarEntry.c b/src/library/FlaggedSidebarEntry.c
index 7bcb9af..7eb90aa 100644
--- a/src/library/FlaggedSidebarEntry.c
+++ b/src/library/FlaggedSidebarEntry.c
@@ -1,4 +1,4 @@
-/* FlaggedSidebarEntry.c generated by valac 0.34.2, the Vala compiler
+/* FlaggedSidebarEntry.c generated by valac 0.32.1, the Vala compiler
* generated from FlaggedSidebarEntry.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/library/ImportQueuePage.c b/src/library/ImportQueuePage.c
index 261796a..b46e179 100644
--- a/src/library/ImportQueuePage.c
+++ b/src/library/ImportQueuePage.c
@@ -1,4 +1,4 @@
-/* ImportQueuePage.c generated by valac 0.34.2, the Vala compiler
+/* ImportQueuePage.c generated by valac 0.32.1, the Vala compiler
* generated from ImportQueuePage.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/library/ImportQueueSidebarEntry.c b/src/library/ImportQueueSidebarEntry.c
index e756a2f..8b71718 100644
--- a/src/library/ImportQueueSidebarEntry.c
+++ b/src/library/ImportQueueSidebarEntry.c
@@ -1,4 +1,4 @@
-/* ImportQueueSidebarEntry.c generated by valac 0.34.2, the Vala compiler
+/* ImportQueueSidebarEntry.c generated by valac 0.32.1, the Vala compiler
* generated from ImportQueueSidebarEntry.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/library/LastImportPage.c b/src/library/LastImportPage.c
index 38da28c..fbec432 100644
--- a/src/library/LastImportPage.c
+++ b/src/library/LastImportPage.c
@@ -1,4 +1,4 @@
-/* LastImportPage.c generated by valac 0.34.2, the Vala compiler
+/* LastImportPage.c generated by valac 0.32.1, the Vala compiler
* generated from LastImportPage.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/library/LastImportSidebarEntry.c b/src/library/LastImportSidebarEntry.c
index a1b2eb8..bdf6b91 100644
--- a/src/library/LastImportSidebarEntry.c
+++ b/src/library/LastImportSidebarEntry.c
@@ -1,4 +1,4 @@
-/* LastImportSidebarEntry.c generated by valac 0.34.2, the Vala compiler
+/* LastImportSidebarEntry.c generated by valac 0.32.1, the Vala compiler
* generated from LastImportSidebarEntry.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/library/Library.c b/src/library/Library.c
index b3f58ca..4ce5d56 100644
--- a/src/library/Library.c
+++ b/src/library/Library.c
@@ -1,4 +1,4 @@
-/* Library.c generated by valac 0.34.2, the Vala compiler
+/* Library.c generated by valac 0.32.1, the Vala compiler
* generated from Library.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/library/LibraryWindow.c b/src/library/LibraryWindow.c
index b300d1c..e4d802b 100644
--- a/src/library/LibraryWindow.c
+++ b/src/library/LibraryWindow.c
@@ -1,4 +1,4 @@
-/* LibraryWindow.c generated by valac 0.34.2, the Vala compiler
+/* LibraryWindow.c generated by valac 0.32.1, the Vala compiler
* generated from LibraryWindow.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -456,6 +456,27 @@ typedef struct _SidebarSimplePageEntryClass SidebarSimplePageEntryClass;
typedef struct _LibraryPhotosEntry LibraryPhotosEntry;
typedef struct _LibraryPhotosEntryClass LibraryPhotosEntryClass;
+#define TYPE_CONFIGURATION_FACADE (configuration_facade_get_type ())
+#define CONFIGURATION_FACADE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_CONFIGURATION_FACADE, ConfigurationFacade))
+#define CONFIGURATION_FACADE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_CONFIGURATION_FACADE, ConfigurationFacadeClass))
+#define IS_CONFIGURATION_FACADE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_CONFIGURATION_FACADE))
+#define IS_CONFIGURATION_FACADE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_CONFIGURATION_FACADE))
+#define CONFIGURATION_FACADE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_CONFIGURATION_FACADE, ConfigurationFacadeClass))
+
+typedef struct _ConfigurationFacade ConfigurationFacade;
+typedef struct _ConfigurationFacadeClass ConfigurationFacadeClass;
+
+#define CONFIG_TYPE_FACADE (config_facade_get_type ())
+#define CONFIG_FACADE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CONFIG_TYPE_FACADE, ConfigFacade))
+#define CONFIG_FACADE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CONFIG_TYPE_FACADE, ConfigFacadeClass))
+#define CONFIG_IS_FACADE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CONFIG_TYPE_FACADE))
+#define CONFIG_IS_FACADE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CONFIG_TYPE_FACADE))
+#define CONFIG_FACADE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CONFIG_TYPE_FACADE, ConfigFacadeClass))
+
+typedef struct _ConfigFacade ConfigFacade;
+typedef struct _ConfigFacadeClass ConfigFacadeClass;
+#define _g_variant_unref0(var) ((var == NULL) ? NULL : (var = (g_variant_unref (var), NULL)))
+
#define TYPE_VIEW_COLLECTION (view_collection_get_type ())
#define VIEW_COLLECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_VIEW_COLLECTION, ViewCollection))
#define VIEW_COLLECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_VIEW_COLLECTION, ViewCollectionClass))
@@ -475,7 +496,6 @@ typedef struct _ViewCollectionClass ViewCollectionClass;
typedef struct _ViewFilter ViewFilter;
typedef struct _ViewFilterClass ViewFilterClass;
-#define _g_variant_unref0(var) ((var == NULL) ? NULL : (var = (g_variant_unref (var), NULL)))
#define TYPE_CHECKERBOARD_PAGE (checkerboard_page_get_type ())
#define CHECKERBOARD_PAGE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_CHECKERBOARD_PAGE, CheckerboardPage))
@@ -557,26 +577,6 @@ typedef struct _SavedSearchClass SavedSearchClass;
typedef struct _SearchesSidebarEntry SearchesSidebarEntry;
typedef struct _SearchesSidebarEntryClass SearchesSidebarEntryClass;
-#define TYPE_CONFIGURATION_FACADE (configuration_facade_get_type ())
-#define CONFIGURATION_FACADE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_CONFIGURATION_FACADE, ConfigurationFacade))
-#define CONFIGURATION_FACADE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_CONFIGURATION_FACADE, ConfigurationFacadeClass))
-#define IS_CONFIGURATION_FACADE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_CONFIGURATION_FACADE))
-#define IS_CONFIGURATION_FACADE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_CONFIGURATION_FACADE))
-#define CONFIGURATION_FACADE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_CONFIGURATION_FACADE, ConfigurationFacadeClass))
-
-typedef struct _ConfigurationFacade ConfigurationFacade;
-typedef struct _ConfigurationFacadeClass ConfigurationFacadeClass;
-
-#define CONFIG_TYPE_FACADE (config_facade_get_type ())
-#define CONFIG_FACADE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CONFIG_TYPE_FACADE, ConfigFacade))
-#define CONFIG_FACADE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CONFIG_TYPE_FACADE, ConfigFacadeClass))
-#define CONFIG_IS_FACADE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CONFIG_TYPE_FACADE))
-#define CONFIG_IS_FACADE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CONFIG_TYPE_FACADE))
-#define CONFIG_FACADE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CONFIG_TYPE_FACADE, ConfigFacadeClass))
-
-typedef struct _ConfigFacade ConfigFacade;
-typedef struct _ConfigFacadeClass ConfigFacadeClass;
-
#define TYPE_MEDIA_PAGE (media_page_get_type ())
#define MEDIA_PAGE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_MEDIA_PAGE, MediaPage))
#define MEDIA_PAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_MEDIA_PAGE, MediaPageClass))
@@ -1010,6 +1010,7 @@ struct _LibraryWindowPrivate {
GtkStack* stack;
GtkBox* layout;
GtkBox* right_vbox;
+ GtkRevealer* toolbar_revealer;
gint current_progress_priority;
guint background_progress_pulse_id;
};
@@ -1436,6 +1437,15 @@ static void _library_window_on_library_monitor_auto_import_progress_library_moni
static void library_window_real_add_actions (AppWindow* base);
void app_window_add_actions (AppWindow* self);
GActionEntry* search_filter_actions_get_actions (SearchFilterActions* self, int* result_length1);
+GType configuration_facade_get_type (void) G_GNUC_CONST;
+GType config_facade_get_type (void) G_GNUC_CONST;
+ConfigFacade* config_facade_get_instance (void);
+gboolean configuration_facade_get_display_search_bar (ConfigurationFacade* self);
+static GVariant* _variant_new1 (gboolean value);
+static gboolean library_window_is_sidebar_visible (LibraryWindow* self);
+static GVariant* _variant_new2 (gboolean value);
+static gboolean library_window_is_toolbar_visible (LibraryWindow* self);
+static GVariant* _variant_new3 (gboolean value);
static void library_window_real_switched_pages (PageWindow* base, Page* old_page, Page* new_page);
void page_window_switched_pages (PageWindow* self, Page* old_page, Page* new_page);
GType view_collection_get_type (void) G_GNUC_CONST;
@@ -1455,7 +1465,7 @@ void search_filter_actions_monitor_page_contents (SearchFilterActions* self, Pag
static void library_window_on_view_filter_refreshed (LibraryWindow* self);
static void _library_window_on_view_filter_refreshed_view_filter_refresh (ViewFilter* _sender, gpointer self);
gboolean view_collection_are_items_filtered_out (ViewCollection* self);
-static GVariant* _variant_new1 (gboolean value);
+static GVariant* _variant_new4 (gboolean value);
static void library_window_real_show_all (GtkWidget* base);
GAction* page_get_common_action (Page* self, const gchar* name, gboolean log_warning);
GType checkerboard_page_get_type (void) G_GNUC_CONST;
@@ -1463,7 +1473,6 @@ static void library_window_init_view_filter (LibraryWindow* self, CheckerboardPa
static void library_window_toggle_search_bar (LibraryWindow* self, gboolean show, CheckerboardPage* page);
static gboolean library_window_should_show_search_bar (LibraryWindow* self);
static void library_window_set_sidebar_visible (LibraryWindow* self, gboolean visible);
-static gboolean library_window_is_sidebar_visible (LibraryWindow* self);
LibraryWindow* library_window_get_app (void);
gboolean library_window_is_mount_uri_supported (const gchar* uri);
static gchar* library_window_real_get_app_role (AppWindow* base);
@@ -1483,9 +1492,6 @@ void library_window_rename_search_in_sidebar (LibraryWindow* self, SavedSearch*
GType searches_sidebar_entry_get_type (void) G_GNUC_CONST;
SearchesSidebarEntry* searches_branch_get_entry_for_saved_search (SearchesBranch* self, SavedSearch* search);
static void library_window_real_on_quit (AppWindow* base);
-GType configuration_facade_get_type (void) G_GNUC_CONST;
-GType config_facade_get_type (void) G_GNUC_CONST;
-ConfigFacade* config_facade_get_instance (void);
void configuration_facade_set_library_window_state (ConfigurationFacade* self, gboolean maximize, Dimensions* dimensions);
void configuration_facade_set_sidebar_position (ConfigurationFacade* self, gint position);
void app_window_on_quit (AppWindow* self);
@@ -1557,7 +1563,7 @@ void saved_search_dialog_show (SavedSearchDialog* self);
DataSource* view_collection_get_selected_source_at (ViewCollection* self, gint index);
Event* media_source_get_event (MediaSource* self);
void library_window_switch_to_event (LibraryWindow* self, Event* event);
-static GVariant* _variant_new2 (gboolean value);
+static GVariant* _variant_new5 (gboolean value);
void search_filter_toolbar_take_focus (SearchFilterToolbar* self);
static void library_window_on_clear_search (LibraryWindow* self);
void search_filter_actions_reset (SearchFilterActions* self);
@@ -1566,20 +1572,20 @@ void configuration_facade_set_events_sort_ascending (ConfigurationFacade* self,
void preferences_dialog_show (void);
void properties_update_properties (Properties* self, Page* page);
void configuration_facade_set_display_basic_properties (ConfigurationFacade* self, gboolean display);
-static gboolean _variant_get3 (GVariant* value);
-static GVariant* _variant_new4 (gboolean value);
+static gboolean _variant_get6 (GVariant* value);
+static GVariant* _variant_new7 (gboolean value);
void extended_properties_window_update_properties (ExtendedPropertiesWindow* self, Page* page);
void configuration_facade_set_display_search_bar (ConfigurationFacade* self, gboolean display);
void library_window_show_search_bar (LibraryWindow* self, gboolean display);
+static GVariant* _variant_new8 (gboolean value);
void configuration_facade_set_display_sidebar (ConfigurationFacade* self, gboolean display);
gboolean configuration_facade_get_display_sidebar (ConfigurationFacade* self);
static void library_window_set_toolbar_visible (LibraryWindow* self, gboolean visible);
GtkToolbar* page_get_toolbar (Page* self);
void configuration_facade_set_display_toolbar (ConfigurationFacade* self, gboolean display);
-static gboolean library_window_is_toolbar_visible (LibraryWindow* self);
gboolean configuration_facade_get_display_toolbar (ConfigurationFacade* self);
static void library_window_sync_extended_properties (LibraryWindow* self, gboolean show);
-static GVariant* _variant_new5 (gboolean value);
+static GVariant* _variant_new9 (gboolean value);
void configuration_facade_set_display_extended_properties (ConfigurationFacade* self, gboolean display);
GType batch_import_get_type (void) G_GNUC_CONST;
void library_window_enqueue_batch_import (LibraryWindow* self, BatchImport* batch_import, gboolean allow_user_cancel);
@@ -1648,13 +1654,12 @@ GType import_page_get_type (void) G_GNUC_CONST;
gboolean import_page_unmount_camera (ImportPage* self, GMount* mount);
static void library_window_remove_from_stack (LibraryWindow* self, Page* page);
gboolean configuration_facade_get_display_basic_properties (ConfigurationFacade* self);
-static GVariant* _variant_new6 (gboolean value);
+static GVariant* _variant_new10 (gboolean value);
gboolean configuration_facade_get_display_extended_properties (ConfigurationFacade* self);
-static GVariant* _variant_new7 (gboolean value);
-gboolean configuration_facade_get_display_search_bar (ConfigurationFacade* self);
-static GVariant* _variant_new8 (gboolean value);
+static GVariant* _variant_new11 (gboolean value);
+static GVariant* _variant_new12 (gboolean value);
gboolean configuration_facade_get_events_sort_ascending (ConfigurationFacade* self);
-static GVariant* _variant_new9 (const gchar* value);
+static GVariant* _variant_new13 (const gchar* value);
static void library_window_start_pulse_background_progress_bar (LibraryWindow* self, const gchar* label, gint priority);
static void library_window_stop_pulse_background_progress_bar (LibraryWindow* self, gint priority, gboolean clear);
static void library_window_show_background_progress_bar (LibraryWindow* self);
@@ -1665,6 +1670,7 @@ static void library_window_update_background_progress_bar (LibraryWindow* self,
static void library_window_hide_background_progress_bar (LibraryWindow* self);
gint configuration_facade_get_sidebar_position (ConfigurationFacade* self);
gint library_window_get_PAGE_MIN_WIDTH (void);
+void application_set_appmenu (GMenuModel* model);
static void library_window_real_set_current_page (PageWindow* base, Page* page);
void library_window_set_page_switching_enabled (LibraryWindow* self, gboolean should_enable);
void application_set_menubar (GMenuModel* model);
@@ -1733,89 +1739,89 @@ static gint _vala_array_length (gpointer array);
static const gchar* LIBRARY_WINDOW_SUPPORTED_MOUNT_SCHEMES[3] = {"gphoto2:", "disk:", "file:"};
const GtkTargetEntry LIBRARY_WINDOW_DND_TARGET_ENTRIES[3] = {{"text/uri-list", (guint) GTK_TARGET_OTHER_APP, (guint) LIBRARY_WINDOW_TARGET_TYPE_URI_LIST}, {LIBRARY_WINDOW_MEDIA_LIST_MIME_TYPE, (guint) GTK_TARGET_SAME_APP, (guint) LIBRARY_WINDOW_TARGET_TYPE_MEDIA_LIST}, {LIBRARY_WINDOW_TAG_PATH_MIME_TYPE, (guint) GTK_TARGET_SAME_WIDGET, (guint) LIBRARY_WINDOW_TARGET_TYPE_TAG_PATH}};
-static const GActionEntry LIBRARY_WINDOW_common_actions[13] = {{"CommonFileImport", _library_window_on_file_import_gsimple_action_activate_callback}, {"ExternalLibraryImport", _library_window_on_external_library_import_gsimple_action_activate_callback}, {"CommonPreferences", _library_window_on_preferences_gsimple_action_activate_callback}, {"CommonEmptyTrash", _library_window_on_empty_trash_gsimple_action_activate_callback}, {"CommonJumpToEvent", _library_window_on_jump_to_event_gsimple_action_activate_callback}, {"CommonFind", _library_window_on_find_gsimple_action_activate_callback}, {"CommonNewSearch", _library_window_on_new_search_gsimple_action_activate_callback}, {"CommonDisplayBasicProperties", _library_window_on_action_toggle_gsimple_action_activate_callback, NULL, "false", _library_window_on_display_basic_properties_gsimple_action_change_state_callback}, {"CommonDisplayExtendedProperties", _library_window_on_action_toggle_gsimple_action_activate_callback, NULL, "false", _library_window_on_display_extended_properties_gsimple_action_change_state_callback}, {"CommonDisplaySearchbar", _library_window_on_action_toggle_gsimple_action_activate_callback, NULL, "false", _library_window_on_display_searchbar_gsimple_action_change_state_callback}, {"CommonDisplaySidebar", _library_window_on_action_toggle_gsimple_action_activate_callback, NULL, "true", _library_window_on_display_sidebar_gsimple_action_change_state_callback}, {"CommonDisplayToolbar", _library_window_on_action_toggle_gsimple_action_activate_callback, NULL, "true", _library_window_on_display_toolbar_gsimple_action_change_state_callback}, {"CommonSortEvents", _library_window_on_action_radio_gsimple_action_activate_callback, "s", "'ascending'", _library_window_on_events_sort_changed_gsimple_action_change_state_callback}};
+static const GActionEntry LIBRARY_WINDOW_common_actions[13] = {{"CommonFileImport", _library_window_on_file_import_gsimple_action_activate_callback}, {"ExternalLibraryImport", _library_window_on_external_library_import_gsimple_action_activate_callback}, {"CommonPreferences", _library_window_on_preferences_gsimple_action_activate_callback}, {"CommonEmptyTrash", _library_window_on_empty_trash_gsimple_action_activate_callback}, {"CommonJumpToEvent", _library_window_on_jump_to_event_gsimple_action_activate_callback}, {"CommonFind", _library_window_on_find_gsimple_action_activate_callback}, {"CommonNewSearch", _library_window_on_new_search_gsimple_action_activate_callback}, {"CommonDisplayBasicProperties", _library_window_on_action_toggle_gsimple_action_activate_callback, NULL, "false", _library_window_on_display_basic_properties_gsimple_action_change_state_callback}, {"CommonDisplayExtendedProperties", _library_window_on_action_toggle_gsimple_action_activate_callback, NULL, "false", _library_window_on_display_extended_properties_gsimple_action_change_state_callback}, {"CommonDisplaySearchbar", NULL, NULL, "false", _library_window_on_display_searchbar_gsimple_action_change_state_callback}, {"CommonDisplaySidebar", _library_window_on_action_toggle_gsimple_action_activate_callback, NULL, "true", _library_window_on_display_sidebar_gsimple_action_change_state_callback}, {"CommonDisplayToolbar", NULL, NULL, "true", _library_window_on_display_toolbar_gsimple_action_change_state_callback}, {"CommonSortEvents", _library_window_on_action_radio_gsimple_action_activate_callback, "s", "'ascending'", _library_window_on_events_sort_changed_gsimple_action_change_state_callback}};
static void _library_window_on_page_created_sidebar_tree_page_created (SidebarTree* _sender, SidebarPageRepresentative* entry, Page* page, gpointer self) {
-#line 215 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 216 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_on_page_created ((LibraryWindow*) self, entry, page);
-#line 1742 "LibraryWindow.c"
+#line 1748 "LibraryWindow.c"
}
static void _library_window_on_destroying_page_sidebar_tree_destroying_page (SidebarTree* _sender, SidebarPageRepresentative* entry, Page* page, gpointer self) {
-#line 216 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 217 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_on_destroying_page ((LibraryWindow*) self, entry, page);
-#line 1749 "LibraryWindow.c"
+#line 1755 "LibraryWindow.c"
}
static void _library_window_on_sidebar_entry_selected_sidebar_tree_entry_selected (SidebarTree* _sender, SidebarSelectableEntry* selectable, gpointer self) {
-#line 217 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 218 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_on_sidebar_entry_selected ((LibraryWindow*) self, selectable);
-#line 1756 "LibraryWindow.c"
+#line 1762 "LibraryWindow.c"
}
static void _library_window_on_sidebar_selected_entry_removed_sidebar_tree_selected_entry_removed (SidebarTree* _sender, SidebarSelectableEntry* removed, gpointer self) {
-#line 218 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 219 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_on_sidebar_selected_entry_removed ((LibraryWindow*) self, removed);
-#line 1763 "LibraryWindow.c"
+#line 1769 "LibraryWindow.c"
}
static void _library_window_hide_extended_properties_gtk_widget_hide (GtkWidget* _sender, gpointer self) {
-#line 222 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 223 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_hide_extended_properties ((LibraryWindow*) self);
-#line 1770 "LibraryWindow.c"
+#line 1776 "LibraryWindow.c"
}
static void _library_window_show_extended_properties_gtk_widget_show (GtkWidget* _sender, gpointer self) {
-#line 223 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 224 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_show_extended_properties ((LibraryWindow*) self);
-#line 1777 "LibraryWindow.c"
+#line 1783 "LibraryWindow.c"
}
static void _library_window_on_trashcan_contents_altered_media_source_collection_trashcan_contents_altered (MediaSourceCollection* _sender, GeeCollection* added, GeeCollection* removed, gpointer self) {
-#line 226 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 227 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_on_trashcan_contents_altered ((LibraryWindow*) self);
-#line 1784 "LibraryWindow.c"
+#line 1790 "LibraryWindow.c"
}
static void _library_window_on_media_altered_data_collection_items_altered (DataCollection* _sender, GeeMap* items, gpointer self) {
-#line 227 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 228 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_on_media_altered ((LibraryWindow*) self);
-#line 1791 "LibraryWindow.c"
+#line 1797 "LibraryWindow.c"
}
static void _library_window_on_metadata_writer_progress_metadata_writer_progress (MetadataWriter* _sender, guint completed, guint total, gpointer self) {
-#line 230 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 231 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_on_metadata_writer_progress ((LibraryWindow*) self, completed, total);
-#line 1798 "LibraryWindow.c"
+#line 1804 "LibraryWindow.c"
}
static void _library_window_on_library_monitor_installed_library_monitor_pool_monitor_installed (LibraryMonitorPool* _sender, LibraryMonitor* monitor, gpointer self) {
-#line 236 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 237 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_on_library_monitor_installed ((LibraryWindow*) self, monitor);
-#line 1805 "LibraryWindow.c"
+#line 1811 "LibraryWindow.c"
}
static void _library_window_on_library_monitor_destroyed_library_monitor_pool_monitor_destroyed (LibraryMonitorPool* _sender, LibraryMonitor* monitor, gpointer self) {
-#line 237 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 238 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_on_library_monitor_destroyed ((LibraryWindow*) self, monitor);
-#line 1812 "LibraryWindow.c"
+#line 1818 "LibraryWindow.c"
}
static void _library_window_on_camera_added_camera_table_camera_added (CameraTable* _sender, DiscoveredCamera* camera, gpointer self) {
-#line 239 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 240 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_on_camera_added ((LibraryWindow*) self, camera);
-#line 1819 "LibraryWindow.c"
+#line 1825 "LibraryWindow.c"
}
@@ -1844,121 +1850,121 @@ GType library_window_target_type_get_type (void) {
static void _library_window_on_file_import_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
-#line 264 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 265 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_on_file_import ((LibraryWindow*) self);
-#line 1850 "LibraryWindow.c"
+#line 1856 "LibraryWindow.c"
}
static void _library_window_on_external_library_import_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
-#line 264 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 265 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_on_external_library_import ((LibraryWindow*) self);
-#line 1857 "LibraryWindow.c"
+#line 1863 "LibraryWindow.c"
}
static void _library_window_on_preferences_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
-#line 264 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 265 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_on_preferences ((LibraryWindow*) self);
-#line 1864 "LibraryWindow.c"
+#line 1870 "LibraryWindow.c"
}
static void _library_window_on_empty_trash_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
-#line 264 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 265 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_on_empty_trash ((LibraryWindow*) self);
-#line 1871 "LibraryWindow.c"
+#line 1877 "LibraryWindow.c"
}
static void _library_window_on_jump_to_event_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
-#line 264 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 265 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_on_jump_to_event ((LibraryWindow*) self);
-#line 1878 "LibraryWindow.c"
+#line 1884 "LibraryWindow.c"
}
static void _library_window_on_find_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
-#line 264 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 265 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_on_find ((LibraryWindow*) self);
-#line 1885 "LibraryWindow.c"
+#line 1891 "LibraryWindow.c"
}
static void _library_window_on_new_search_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
-#line 264 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 265 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_on_new_search ((LibraryWindow*) self);
-#line 1892 "LibraryWindow.c"
+#line 1898 "LibraryWindow.c"
}
static void _library_window_on_action_toggle_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
-#line 264 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 265 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_on_action_toggle ((LibraryWindow*) self, action, parameter);
-#line 1899 "LibraryWindow.c"
+#line 1905 "LibraryWindow.c"
}
static void _library_window_on_display_basic_properties_gsimple_action_change_state_callback (GSimpleAction* action, GVariant* value, gpointer self) {
-#line 264 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 265 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_on_display_basic_properties ((LibraryWindow*) self, action, value);
-#line 1906 "LibraryWindow.c"
+#line 1912 "LibraryWindow.c"
}
static void _library_window_on_display_extended_properties_gsimple_action_change_state_callback (GSimpleAction* action, GVariant* value, gpointer self) {
-#line 264 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 265 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_on_display_extended_properties ((LibraryWindow*) self, action, value);
-#line 1913 "LibraryWindow.c"
+#line 1919 "LibraryWindow.c"
}
static void _library_window_on_display_searchbar_gsimple_action_change_state_callback (GSimpleAction* action, GVariant* value, gpointer self) {
-#line 264 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 265 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_on_display_searchbar ((LibraryWindow*) self, action, value);
-#line 1920 "LibraryWindow.c"
+#line 1926 "LibraryWindow.c"
}
static void _library_window_on_display_sidebar_gsimple_action_change_state_callback (GSimpleAction* action, GVariant* value, gpointer self) {
-#line 264 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 265 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_on_display_sidebar ((LibraryWindow*) self, action, value);
-#line 1927 "LibraryWindow.c"
+#line 1933 "LibraryWindow.c"
}
static void _library_window_on_display_toolbar_gsimple_action_change_state_callback (GSimpleAction* action, GVariant* value, gpointer self) {
-#line 264 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 265 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_on_display_toolbar ((LibraryWindow*) self, action, value);
-#line 1934 "LibraryWindow.c"
+#line 1940 "LibraryWindow.c"
}
static void _library_window_on_action_radio_gsimple_action_activate_callback (GSimpleAction* action, GVariant* parameter, gpointer self) {
-#line 264 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 265 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_on_action_radio ((LibraryWindow*) self, action, parameter);
-#line 1941 "LibraryWindow.c"
+#line 1947 "LibraryWindow.c"
}
static void _library_window_on_events_sort_changed_gsimple_action_change_state_callback (GSimpleAction* action, GVariant* value, gpointer self) {
-#line 264 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 265 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_on_events_sort_changed ((LibraryWindow*) self, action, value);
-#line 1948 "LibraryWindow.c"
+#line 1954 "LibraryWindow.c"
}
static void _library_window_external_drop_handler_sidebar_tree_external_drop_handler (GdkDragContext* context, SidebarEntry* entry, GtkSelectionData* data, guint info, guint time, gpointer self) {
-#line 151 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 152 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_external_drop_handler ((LibraryWindow*) self, context, entry, data, info, time);
-#line 1955 "LibraryWindow.c"
+#line 1961 "LibraryWindow.c"
}
static void _library_window_on_update_properties_now_one_shot_callback (gpointer self) {
-#line 171 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 172 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_on_update_properties_now ((LibraryWindow*) self);
-#line 1962 "LibraryWindow.c"
+#line 1968 "LibraryWindow.c"
}
@@ -2015,117 +2021,117 @@ LibraryWindow* library_window_construct (GType object_type, ProgressMonitor prog
CameraTable* _tmp56_ = NULL;
CameraTable* _tmp57_ = NULL;
GtkProgressBar* _tmp58_ = NULL;
-#line 149 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 150 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
self = (LibraryWindow*) app_window_construct (object_type);
-#line 151 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 152 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp0_ = sidebar_tree_new (LIBRARY_WINDOW_DND_TARGET_ENTRIES, G_N_ELEMENTS (LIBRARY_WINDOW_DND_TARGET_ENTRIES), GDK_ACTION_ASK, _library_window_external_drop_handler_sidebar_tree_external_drop_handler, self);
-#line 151 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 152 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_object_ref_sink (_tmp0_);
-#line 151 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 152 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (self->priv->sidebar_tree);
-#line 151 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 152 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
self->priv->sidebar_tree = _tmp0_;
-#line 154 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 155 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp1_ = self->priv->sidebar_tree;
-#line 154 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- g_signal_connect_object (_tmp1_, "page-created", (GCallback) _library_window_on_page_created_sidebar_tree_page_created, self, 0);
#line 155 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ g_signal_connect_object (_tmp1_, "page-created", (GCallback) _library_window_on_page_created_sidebar_tree_page_created, self, 0);
+#line 156 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp2_ = self->priv->sidebar_tree;
-#line 155 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- g_signal_connect_object (_tmp2_, "destroying-page", (GCallback) _library_window_on_destroying_page_sidebar_tree_destroying_page, self, 0);
#line 156 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ g_signal_connect_object (_tmp2_, "destroying-page", (GCallback) _library_window_on_destroying_page_sidebar_tree_destroying_page, self, 0);
+#line 157 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp3_ = self->priv->sidebar_tree;
-#line 156 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- g_signal_connect_object (_tmp3_, "entry-selected", (GCallback) _library_window_on_sidebar_entry_selected_sidebar_tree_entry_selected, self, 0);
#line 157 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ g_signal_connect_object (_tmp3_, "entry-selected", (GCallback) _library_window_on_sidebar_entry_selected_sidebar_tree_entry_selected, self, 0);
+#line 158 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp4_ = self->priv->sidebar_tree;
-#line 157 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 158 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_signal_connect_object (_tmp4_, "selected-entry-removed", (GCallback) _library_window_on_sidebar_selected_entry_removed_sidebar_tree_selected_entry_removed, self, 0);
-#line 159 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 160 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp5_ = self->priv->sidebar_tree;
-#line 159 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 160 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp6_ = self->priv->library_branch;
-#line 159 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- sidebar_tree_graft (_tmp5_, G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, SIDEBAR_TYPE_BRANCH, SidebarBranch), (gint) LIBRARY_WINDOW_SIDEBAR_ROOT_POSITION_LIBRARY);
#line 160 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ sidebar_tree_graft (_tmp5_, G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, SIDEBAR_TYPE_BRANCH, SidebarBranch), (gint) LIBRARY_WINDOW_SIDEBAR_ROOT_POSITION_LIBRARY);
+#line 161 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp7_ = self->priv->sidebar_tree;
-#line 160 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 161 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp8_ = self->priv->tags_branch;
-#line 160 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- sidebar_tree_graft (_tmp7_, G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, SIDEBAR_TYPE_BRANCH, SidebarBranch), (gint) LIBRARY_WINDOW_SIDEBAR_ROOT_POSITION_TAGS);
#line 161 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ sidebar_tree_graft (_tmp7_, G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, SIDEBAR_TYPE_BRANCH, SidebarBranch), (gint) LIBRARY_WINDOW_SIDEBAR_ROOT_POSITION_TAGS);
+#line 162 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp9_ = self->priv->sidebar_tree;
-#line 161 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 162 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp10_ = self->priv->folders_branch;
-#line 161 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- sidebar_tree_graft (_tmp9_, G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, SIDEBAR_TYPE_BRANCH, SidebarBranch), (gint) LIBRARY_WINDOW_SIDEBAR_ROOT_POSITION_FOLDERS);
#line 162 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ sidebar_tree_graft (_tmp9_, G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, SIDEBAR_TYPE_BRANCH, SidebarBranch), (gint) LIBRARY_WINDOW_SIDEBAR_ROOT_POSITION_FOLDERS);
+#line 163 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp11_ = self->priv->sidebar_tree;
-#line 162 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 163 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp12_ = self->priv->events_branch;
-#line 162 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- sidebar_tree_graft (_tmp11_, G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, SIDEBAR_TYPE_BRANCH, SidebarBranch), (gint) LIBRARY_WINDOW_SIDEBAR_ROOT_POSITION_EVENTS);
#line 163 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ sidebar_tree_graft (_tmp11_, G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, SIDEBAR_TYPE_BRANCH, SidebarBranch), (gint) LIBRARY_WINDOW_SIDEBAR_ROOT_POSITION_EVENTS);
+#line 164 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp13_ = self->priv->sidebar_tree;
-#line 163 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 164 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp14_ = self->priv->camera_branch;
-#line 163 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- sidebar_tree_graft (_tmp13_, G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, SIDEBAR_TYPE_BRANCH, SidebarBranch), (gint) LIBRARY_WINDOW_SIDEBAR_ROOT_POSITION_CAMERAS);
#line 164 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ sidebar_tree_graft (_tmp13_, G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, SIDEBAR_TYPE_BRANCH, SidebarBranch), (gint) LIBRARY_WINDOW_SIDEBAR_ROOT_POSITION_CAMERAS);
+#line 165 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp15_ = self->priv->sidebar_tree;
-#line 164 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 165 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp16_ = self->priv->saved_search_branch;
-#line 164 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 165 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
sidebar_tree_graft (_tmp15_, G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, SIDEBAR_TYPE_BRANCH, SidebarBranch), (gint) LIBRARY_WINDOW_SIDEBAR_ROOT_POSITION_SAVED_SEARCH);
-#line 167 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 168 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp17_ = extended_properties_window_new (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow));
-#line 167 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 168 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_object_ref_sink (_tmp17_);
-#line 167 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 168 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (self->priv->extended_properties);
-#line 167 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- self->priv->extended_properties = _tmp17_;
#line 168 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ self->priv->extended_properties = _tmp17_;
+#line 169 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp18_ = self->priv->extended_properties;
-#line 168 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, gtk_widget_get_type (), GtkWidget), "hide", (GCallback) _library_window_hide_extended_properties_gtk_widget_hide, self, 0);
#line 169 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, gtk_widget_get_type (), GtkWidget), "hide", (GCallback) _library_window_hide_extended_properties_gtk_widget_hide, self, 0);
+#line 170 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp19_ = self->priv->extended_properties;
-#line 169 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 170 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, gtk_widget_get_type (), GtkWidget), "show", (GCallback) _library_window_show_extended_properties_gtk_widget_show, self, 0);
-#line 171 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 172 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp20_ = one_shot_scheduler_new ("LibraryWindow properties", _library_window_on_update_properties_now_one_shot_callback, self);
-#line 171 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 172 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_one_shot_scheduler_unref0 (self->priv->properties_scheduler);
-#line 171 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 172 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
self->priv->properties_scheduler = _tmp20_;
-#line 175 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 176 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp21_ = self->priv->search_actions;
-#line 175 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 176 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp22_ = search_filter_toolbar_new (_tmp21_);
-#line 175 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 176 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_object_ref_sink (_tmp22_);
-#line 175 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 176 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (self->priv->search_toolbar);
-#line 175 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 176 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
self->priv->search_toolbar = _tmp22_;
-#line 178 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 179 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp23_ = self->priv->library_branch;
-#line 178 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 179 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp24_ = library_branch_get_photos_entry (_tmp23_);
-#line 178 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 179 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp25_ = _tmp24_;
-#line 178 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 179 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp26_ = sidebar_page_representative_get_page (G_TYPE_CHECK_INSTANCE_CAST (_tmp25_, SIDEBAR_TYPE_PAGE_REPRESENTATIVE, SidebarPageRepresentative));
-#line 178 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 179 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp27_ = _tmp26_;
-#line 178 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 179 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_create_layout (self, _tmp27_);
-#line 178 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 179 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (_tmp27_);
-#line 181 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 182 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_load_configuration (self);
-#line 2129 "LibraryWindow.c"
+#line 2135 "LibraryWindow.c"
{
GeeIterator* _media_sources_it = NULL;
MediaCollectionRegistry* _tmp28_ = NULL;
@@ -2134,27 +2140,27 @@ LibraryWindow* library_window_construct (GType object_type, ProgressMonitor prog
GeeCollection* _tmp31_ = NULL;
GeeIterator* _tmp32_ = NULL;
GeeIterator* _tmp33_ = NULL;
-#line 183 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 184 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp28_ = media_collection_registry_get_instance ();
-#line 183 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 184 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp29_ = _tmp28_;
-#line 183 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 184 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp30_ = media_collection_registry_get_all (_tmp29_);
-#line 183 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 184 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp31_ = _tmp30_;
-#line 183 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 184 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp32_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp31_, GEE_TYPE_ITERABLE, GeeIterable));
-#line 183 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 184 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp33_ = _tmp32_;
-#line 183 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 184 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (_tmp31_);
-#line 183 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 184 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_media_collection_registry_unref0 (_tmp29_);
-#line 183 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 184 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_media_sources_it = _tmp33_;
-#line 183 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 184 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
while (TRUE) {
-#line 2158 "LibraryWindow.c"
+#line 2164 "LibraryWindow.c"
GeeIterator* _tmp34_ = NULL;
gboolean _tmp35_ = FALSE;
MediaSourceCollection* media_sources = NULL;
@@ -2162,176 +2168,176 @@ LibraryWindow* library_window_construct (GType object_type, ProgressMonitor prog
gpointer _tmp37_ = NULL;
MediaSourceCollection* _tmp38_ = NULL;
MediaSourceCollection* _tmp39_ = NULL;
-#line 183 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 184 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp34_ = _media_sources_it;
-#line 183 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 184 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp35_ = gee_iterator_next (_tmp34_);
-#line 183 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 184 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (!_tmp35_) {
-#line 183 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 184 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
break;
-#line 2174 "LibraryWindow.c"
+#line 2180 "LibraryWindow.c"
}
-#line 183 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 184 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp36_ = _media_sources_it;
-#line 183 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 184 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp37_ = gee_iterator_get (_tmp36_);
-#line 183 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- media_sources = (MediaSourceCollection*) _tmp37_;
#line 184 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ media_sources = (MediaSourceCollection*) _tmp37_;
+#line 185 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp38_ = media_sources;
-#line 184 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- g_signal_connect_object (_tmp38_, "trashcan-contents-altered", (GCallback) _library_window_on_trashcan_contents_altered_media_source_collection_trashcan_contents_altered, self, 0);
#line 185 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ g_signal_connect_object (_tmp38_, "trashcan-contents-altered", (GCallback) _library_window_on_trashcan_contents_altered_media_source_collection_trashcan_contents_altered, self, 0);
+#line 186 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp39_ = media_sources;
-#line 185 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 186 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp39_, TYPE_DATA_COLLECTION, DataCollection), "items-altered", (GCallback) _library_window_on_media_altered_data_collection_items_altered, self, 0);
-#line 183 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 184 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_data_collection_unref0 (media_sources);
-#line 2192 "LibraryWindow.c"
+#line 2198 "LibraryWindow.c"
}
-#line 183 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 184 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (_media_sources_it);
-#line 2196 "LibraryWindow.c"
+#line 2202 "LibraryWindow.c"
}
-#line 190 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 191 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp40_ = LIBRARY_WINDOW_DND_TARGET_ENTRIES[LIBRARY_WINDOW_TARGET_TYPE_URI_LIST];
-#line 190 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 191 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp41_ = LIBRARY_WINDOW_DND_TARGET_ENTRIES[LIBRARY_WINDOW_TARGET_TYPE_MEDIA_LIST];
-#line 190 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 191 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp42_ = g_new0 (GtkTargetEntry, 2);
-#line 190 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 191 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp42_[0] = _tmp40_;
-#line 190 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 191 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp42_[1] = _tmp41_;
-#line 190 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 191 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
main_window_dnd_targets = _tmp42_;
-#line 190 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 191 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
main_window_dnd_targets_length1 = 2;
-#line 190 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 191 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_main_window_dnd_targets_size_ = main_window_dnd_targets_length1;
-#line 196 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 197 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp43_ = main_window_dnd_targets;
-#line 196 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 197 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp43__length1 = main_window_dnd_targets_length1;
-#line 196 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 197 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
gtk_drag_dest_set (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), GTK_DEST_DEFAULT_ALL, _tmp43_, _tmp43__length1, (GDK_ACTION_COPY | GDK_ACTION_LINK) | GDK_ACTION_ASK);
-#line 199 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 200 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp44_ = metadata_writer_get_instance ();
-#line 199 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 200 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp45_ = _tmp44_;
-#line 199 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 200 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_signal_connect_object (_tmp45_, "progress", (GCallback) _library_window_on_metadata_writer_progress_metadata_writer_progress, self, 0);
-#line 199 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 200 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (_tmp45_);
-#line 201 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 202 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp46_ = library_monitor_pool_get_instance ();
-#line 201 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 202 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp47_ = _tmp46_;
-#line 201 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 202 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp48_ = library_monitor_pool_get_monitor (_tmp47_);
-#line 201 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 202 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp49_ = _tmp48_;
-#line 201 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 202 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_library_monitor_pool_unref0 (_tmp47_);
-#line 201 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- monitor = _tmp49_;
#line 202 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ monitor = _tmp49_;
+#line 203 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp50_ = monitor;
-#line 202 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 203 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp50_ != NULL) {
-#line 2244 "LibraryWindow.c"
+#line 2250 "LibraryWindow.c"
LibraryMonitor* _tmp51_ = NULL;
-#line 203 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 204 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp51_ = monitor;
-#line 203 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 204 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_on_library_monitor_installed (self, _tmp51_);
-#line 2250 "LibraryWindow.c"
+#line 2256 "LibraryWindow.c"
}
-#line 205 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 206 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp52_ = library_monitor_pool_get_instance ();
-#line 205 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 206 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp53_ = _tmp52_;
-#line 205 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 206 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_signal_connect_object (_tmp53_, "monitor-installed", (GCallback) _library_window_on_library_monitor_installed_library_monitor_pool_monitor_installed, self, 0);
-#line 205 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- _library_monitor_pool_unref0 (_tmp53_);
#line 206 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ _library_monitor_pool_unref0 (_tmp53_);
+#line 207 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp54_ = library_monitor_pool_get_instance ();
-#line 206 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 207 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp55_ = _tmp54_;
-#line 206 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 207 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_signal_connect_object (_tmp55_, "monitor-destroyed", (GCallback) _library_window_on_library_monitor_destroyed_library_monitor_pool_monitor_destroyed, self, 0);
-#line 206 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 207 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_library_monitor_pool_unref0 (_tmp55_);
-#line 208 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 209 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp56_ = camera_table_get_instance ();
-#line 208 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 209 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp57_ = _tmp56_;
-#line 208 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 209 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_signal_connect_object (_tmp57_, "camera-added", (GCallback) _library_window_on_camera_added_camera_table_camera_added, self, 0);
-#line 208 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 209 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_camera_table_unref0 (_tmp57_);
-#line 210 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 211 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp58_ = self->priv->background_progress_bar;
-#line 210 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 211 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
gtk_progress_bar_set_show_text (_tmp58_, TRUE);
-#line 149 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 150 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (monitor);
-#line 149 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 150 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
main_window_dnd_targets = (g_free (main_window_dnd_targets), NULL);
-#line 149 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 150 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return self;
-#line 2286 "LibraryWindow.c"
+#line 2292 "LibraryWindow.c"
}
LibraryWindow* library_window_new (ProgressMonitor progress_monitor, void* progress_monitor_target) {
-#line 149 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 150 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return library_window_construct (TYPE_LIBRARY_WINDOW, progress_monitor, progress_monitor_target);
-#line 2293 "LibraryWindow.c"
+#line 2299 "LibraryWindow.c"
}
static void _library_window_on_library_monitor_discovery_started_directory_monitor_discovery_started (DirectoryMonitor* _sender, gpointer self) {
-#line 245 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 246 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_on_library_monitor_discovery_started ((LibraryWindow*) self);
-#line 2300 "LibraryWindow.c"
+#line 2306 "LibraryWindow.c"
}
static void _library_window_on_library_monitor_discovery_completed_directory_monitor_discovery_completed (DirectoryMonitor* _sender, gpointer self) {
-#line 246 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 247 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_on_library_monitor_discovery_completed ((LibraryWindow*) self);
-#line 2307 "LibraryWindow.c"
+#line 2313 "LibraryWindow.c"
}
static void _library_window_on_library_monitor_discovery_completed_directory_monitor_closed (DirectoryMonitor* _sender, gpointer self) {
-#line 247 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 248 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_on_library_monitor_discovery_completed ((LibraryWindow*) self);
-#line 2314 "LibraryWindow.c"
+#line 2320 "LibraryWindow.c"
}
static void _library_window_on_library_monitor_auto_update_progress_library_monitor_auto_update_progress (LibraryMonitor* _sender, gint completed_files, gint total_files, gpointer self) {
-#line 248 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 249 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_on_library_monitor_auto_update_progress ((LibraryWindow*) self, completed_files, total_files);
-#line 2321 "LibraryWindow.c"
+#line 2327 "LibraryWindow.c"
}
static void _library_window_on_library_monitor_auto_import_preparing_library_monitor_auto_import_preparing (LibraryMonitor* _sender, gpointer self) {
-#line 249 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 250 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_on_library_monitor_auto_import_preparing ((LibraryWindow*) self);
-#line 2328 "LibraryWindow.c"
+#line 2334 "LibraryWindow.c"
}
static void _library_window_on_library_monitor_auto_import_progress_library_monitor_auto_import_progress (LibraryMonitor* _sender, guint64 completed_bytes, guint64 total_bytes, gpointer self) {
-#line 250 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 251 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_on_library_monitor_auto_import_progress ((LibraryWindow*) self, completed_bytes, total_bytes);
-#line 2335 "LibraryWindow.c"
+#line 2341 "LibraryWindow.c"
}
@@ -2347,51 +2353,51 @@ static void library_window_on_library_monitor_installed (LibraryWindow* self, Li
LibraryMonitor* _tmp8_ = NULL;
LibraryMonitor* _tmp9_ = NULL;
LibraryMonitor* _tmp10_ = NULL;
-#line 242 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 243 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (IS_LIBRARY_WINDOW (self));
-#line 242 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- g_return_if_fail (IS_LIBRARY_MONITOR (monitor));
#line 243 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ g_return_if_fail (IS_LIBRARY_MONITOR (monitor));
+#line 244 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp0_ = monitor;
-#line 243 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 244 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp1_ = directory_monitor_get_root (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_DIRECTORY_MONITOR, DirectoryMonitor));
-#line 243 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 244 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp2_ = _tmp1_;
-#line 243 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 244 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp3_ = g_file_get_path (_tmp2_);
-#line 243 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 244 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp4_ = _tmp3_;
-#line 243 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- g_debug ("LibraryWindow.vala:243: on_library_monitor_installed: %s", _tmp4_);
-#line 243 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 244 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ g_debug ("LibraryWindow.vala:244: on_library_monitor_installed: %s", _tmp4_);
+#line 244 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_free0 (_tmp4_);
-#line 243 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 244 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (_tmp2_);
-#line 245 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 246 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp5_ = monitor;
-#line 245 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, TYPE_DIRECTORY_MONITOR, DirectoryMonitor), "discovery-started", (GCallback) _library_window_on_library_monitor_discovery_started_directory_monitor_discovery_started, self, 0);
#line 246 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, TYPE_DIRECTORY_MONITOR, DirectoryMonitor), "discovery-started", (GCallback) _library_window_on_library_monitor_discovery_started_directory_monitor_discovery_started, self, 0);
+#line 247 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp6_ = monitor;
-#line 246 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, TYPE_DIRECTORY_MONITOR, DirectoryMonitor), "discovery-completed", (GCallback) _library_window_on_library_monitor_discovery_completed_directory_monitor_discovery_completed, self, 0);
#line 247 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, TYPE_DIRECTORY_MONITOR, DirectoryMonitor), "discovery-completed", (GCallback) _library_window_on_library_monitor_discovery_completed_directory_monitor_discovery_completed, self, 0);
+#line 248 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp7_ = monitor;
-#line 247 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, TYPE_DIRECTORY_MONITOR, DirectoryMonitor), "closed", (GCallback) _library_window_on_library_monitor_discovery_completed_directory_monitor_closed, self, 0);
#line 248 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, TYPE_DIRECTORY_MONITOR, DirectoryMonitor), "closed", (GCallback) _library_window_on_library_monitor_discovery_completed_directory_monitor_closed, self, 0);
+#line 249 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp8_ = monitor;
-#line 248 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- g_signal_connect_object (_tmp8_, "auto-update-progress", (GCallback) _library_window_on_library_monitor_auto_update_progress_library_monitor_auto_update_progress, self, 0);
#line 249 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ g_signal_connect_object (_tmp8_, "auto-update-progress", (GCallback) _library_window_on_library_monitor_auto_update_progress_library_monitor_auto_update_progress, self, 0);
+#line 250 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp9_ = monitor;
-#line 249 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- g_signal_connect_object (_tmp9_, "auto-import-preparing", (GCallback) _library_window_on_library_monitor_auto_import_preparing_library_monitor_auto_import_preparing, self, 0);
#line 250 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ g_signal_connect_object (_tmp9_, "auto-import-preparing", (GCallback) _library_window_on_library_monitor_auto_import_preparing_library_monitor_auto_import_preparing, self, 0);
+#line 251 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp10_ = monitor;
-#line 250 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 251 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_signal_connect_object (_tmp10_, "auto-import-progress", (GCallback) _library_window_on_library_monitor_auto_import_progress_library_monitor_auto_import_progress, self, 0);
-#line 2395 "LibraryWindow.c"
+#line 2401 "LibraryWindow.c"
}
@@ -2413,63 +2419,84 @@ static void library_window_on_library_monitor_destroyed (LibraryWindow* self, Li
guint _tmp14_ = 0U;
LibraryMonitor* _tmp15_ = NULL;
guint _tmp16_ = 0U;
-#line 253 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 254 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (IS_LIBRARY_WINDOW (self));
-#line 253 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- g_return_if_fail (IS_LIBRARY_MONITOR (monitor));
#line 254 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ g_return_if_fail (IS_LIBRARY_MONITOR (monitor));
+#line 255 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp0_ = monitor;
-#line 254 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 255 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp1_ = directory_monitor_get_root (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_DIRECTORY_MONITOR, DirectoryMonitor));
-#line 254 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 255 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp2_ = _tmp1_;
-#line 254 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 255 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp3_ = g_file_get_path (_tmp2_);
-#line 254 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 255 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp4_ = _tmp3_;
-#line 254 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- g_debug ("LibraryWindow.vala:254: on_library_monitor_destroyed: %s", _tmp4_);
-#line 254 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 255 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ g_debug ("LibraryWindow.vala:255: on_library_monitor_destroyed: %s", _tmp4_);
+#line 255 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_free0 (_tmp4_);
-#line 254 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 255 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (_tmp2_);
-#line 256 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 257 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp5_ = monitor;
-#line 256 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 257 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_signal_parse_name ("discovery-started", TYPE_DIRECTORY_MONITOR, &_tmp6_, NULL, FALSE);
-#line 256 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, TYPE_DIRECTORY_MONITOR, DirectoryMonitor), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp6_, 0, NULL, (GCallback) _library_window_on_library_monitor_discovery_started_directory_monitor_discovery_started, self);
#line 257 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, TYPE_DIRECTORY_MONITOR, DirectoryMonitor), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp6_, 0, NULL, (GCallback) _library_window_on_library_monitor_discovery_started_directory_monitor_discovery_started, self);
+#line 258 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp7_ = monitor;
-#line 257 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 258 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_signal_parse_name ("discovery-completed", TYPE_DIRECTORY_MONITOR, &_tmp8_, NULL, FALSE);
-#line 257 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, TYPE_DIRECTORY_MONITOR, DirectoryMonitor), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp8_, 0, NULL, (GCallback) _library_window_on_library_monitor_discovery_completed_directory_monitor_discovery_completed, self);
#line 258 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, TYPE_DIRECTORY_MONITOR, DirectoryMonitor), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp8_, 0, NULL, (GCallback) _library_window_on_library_monitor_discovery_completed_directory_monitor_discovery_completed, self);
+#line 259 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp9_ = monitor;
-#line 258 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 259 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_signal_parse_name ("closed", TYPE_DIRECTORY_MONITOR, &_tmp10_, NULL, FALSE);
-#line 258 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, TYPE_DIRECTORY_MONITOR, DirectoryMonitor), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp10_, 0, NULL, (GCallback) _library_window_on_library_monitor_discovery_completed_directory_monitor_closed, self);
#line 259 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, TYPE_DIRECTORY_MONITOR, DirectoryMonitor), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp10_, 0, NULL, (GCallback) _library_window_on_library_monitor_discovery_completed_directory_monitor_closed, self);
+#line 260 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp11_ = monitor;
-#line 259 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 260 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_signal_parse_name ("auto-update-progress", TYPE_LIBRARY_MONITOR, &_tmp12_, NULL, FALSE);
-#line 259 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- g_signal_handlers_disconnect_matched (_tmp11_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp12_, 0, NULL, (GCallback) _library_window_on_library_monitor_auto_update_progress_library_monitor_auto_update_progress, self);
#line 260 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ g_signal_handlers_disconnect_matched (_tmp11_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp12_, 0, NULL, (GCallback) _library_window_on_library_monitor_auto_update_progress_library_monitor_auto_update_progress, self);
+#line 261 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp13_ = monitor;
-#line 260 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 261 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_signal_parse_name ("auto-import-preparing", TYPE_LIBRARY_MONITOR, &_tmp14_, NULL, FALSE);
-#line 260 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- g_signal_handlers_disconnect_matched (_tmp13_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp14_, 0, NULL, (GCallback) _library_window_on_library_monitor_auto_import_preparing_library_monitor_auto_import_preparing, self);
#line 261 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ g_signal_handlers_disconnect_matched (_tmp13_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp14_, 0, NULL, (GCallback) _library_window_on_library_monitor_auto_import_preparing_library_monitor_auto_import_preparing, self);
+#line 262 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp15_ = monitor;
-#line 261 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 262 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_signal_parse_name ("auto-import-progress", TYPE_LIBRARY_MONITOR, &_tmp16_, NULL, FALSE);
-#line 261 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 262 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_signal_handlers_disconnect_matched (_tmp15_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp16_, 0, NULL, (GCallback) _library_window_on_library_monitor_auto_import_progress_library_monitor_auto_import_progress, self);
-#line 2473 "LibraryWindow.c"
+#line 2479 "LibraryWindow.c"
+}
+
+
+static GVariant* _variant_new1 (gboolean value) {
+#line 291 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ return g_variant_ref_sink (g_variant_new_boolean (value));
+#line 2486 "LibraryWindow.c"
+}
+
+
+static GVariant* _variant_new2 (gboolean value) {
+#line 292 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ return g_variant_ref_sink (g_variant_new_boolean (value));
+#line 2493 "LibraryWindow.c"
+}
+
+
+static GVariant* _variant_new3 (gboolean value) {
+#line 293 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ return g_variant_ref_sink (g_variant_new_boolean (value));
+#line 2500 "LibraryWindow.c"
}
@@ -2479,35 +2506,82 @@ static void library_window_real_add_actions (AppWindow* base) {
gint _tmp1_ = 0;
GActionEntry* _tmp2_ = NULL;
SearchFilterActions* _tmp3_ = NULL;
-#line 290 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ GAction* _tmp4_ = NULL;
+ ConfigFacade* _tmp5_ = NULL;
+ ConfigFacade* _tmp6_ = NULL;
+ gboolean _tmp7_ = FALSE;
+ GVariant* _tmp8_ = NULL;
+ GAction* _tmp9_ = NULL;
+ gboolean _tmp10_ = FALSE;
+ GVariant* _tmp11_ = NULL;
+ GAction* _tmp12_ = NULL;
+ gboolean _tmp13_ = FALSE;
+ GVariant* _tmp14_ = NULL;
+#line 286 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_LIBRARY_WINDOW, LibraryWindow);
-#line 291 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 287 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
APP_WINDOW_CLASS (library_window_parent_class)->add_actions (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_APP_WINDOW, AppWindow));
-#line 292 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 288 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_action_map_add_action_entries (G_TYPE_CHECK_INSTANCE_CAST (self, g_action_map_get_type (), GActionMap), LIBRARY_WINDOW_common_actions, G_N_ELEMENTS (LIBRARY_WINDOW_common_actions), self);
-#line 293 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 289 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp0_ = self->priv->search_actions;
-#line 293 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 289 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp2_ = search_filter_actions_get_actions (_tmp0_, &_tmp1_);
-#line 293 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 289 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp3_ = self->priv->search_actions;
-#line 293 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 289 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_action_map_add_action_entries (G_TYPE_CHECK_INSTANCE_CAST (self, g_action_map_get_type (), GActionMap), _tmp2_, _tmp1_, _tmp3_);
-#line 2497 "LibraryWindow.c"
+#line 291 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ _tmp4_ = g_action_map_lookup_action (G_TYPE_CHECK_INSTANCE_CAST (self, g_action_map_get_type (), GActionMap), "CommonDisplaySearchbar");
+#line 291 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ _tmp5_ = config_facade_get_instance ();
+#line 291 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ _tmp6_ = _tmp5_;
+#line 291 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ _tmp7_ = configuration_facade_get_display_search_bar (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
+#line 291 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ _tmp8_ = _variant_new1 (_tmp7_);
+#line 291 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ g_action_change_state (_tmp4_, _tmp8_);
+#line 291 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ _g_variant_unref0 (_tmp8_);
+#line 291 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ _g_object_unref0 (_tmp6_);
+#line 292 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ _tmp9_ = g_action_map_lookup_action (G_TYPE_CHECK_INSTANCE_CAST (self, g_action_map_get_type (), GActionMap), "CommonDisplaySidebar");
+#line 292 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ _tmp10_ = library_window_is_sidebar_visible (self);
+#line 292 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ _tmp11_ = _variant_new2 (_tmp10_);
+#line 292 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ g_action_change_state (_tmp9_, _tmp11_);
+#line 292 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ _g_variant_unref0 (_tmp11_);
+#line 293 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ _tmp12_ = g_action_map_lookup_action (G_TYPE_CHECK_INSTANCE_CAST (self, g_action_map_get_type (), GActionMap), "CommonDisplayToolbar");
+#line 293 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ _tmp13_ = library_window_is_toolbar_visible (self);
+#line 293 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ _tmp14_ = _variant_new3 (_tmp13_);
+#line 293 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ g_action_change_state (_tmp12_, _tmp14_);
+#line 293 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ _g_variant_unref0 (_tmp14_);
+#line 2571 "LibraryWindow.c"
}
static void _library_window_on_view_filter_installed_view_collection_view_filter_installed (ViewCollection* _sender, ViewFilter* filer, gpointer self) {
#line 301 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_on_view_filter_installed ((LibraryWindow*) self, filer);
-#line 2504 "LibraryWindow.c"
+#line 2578 "LibraryWindow.c"
}
static void _library_window_on_view_filter_removed_view_collection_view_filter_removed (ViewCollection* _sender, ViewFilter* filer, gpointer self) {
#line 302 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_on_view_filter_removed ((LibraryWindow*) self, filer);
-#line 2511 "LibraryWindow.c"
+#line 2585 "LibraryWindow.c"
}
@@ -2536,7 +2610,7 @@ static void library_window_real_switched_pages (PageWindow* base, Page* old_page
_tmp2_ = old_page;
#line 300 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp2_ != NULL) {
-#line 2540 "LibraryWindow.c"
+#line 2614 "LibraryWindow.c"
Page* _tmp3_ = NULL;
ViewCollection* _tmp4_ = NULL;
ViewCollection* _tmp5_ = NULL;
@@ -2569,13 +2643,13 @@ static void library_window_real_switched_pages (PageWindow* base, Page* old_page
g_signal_handlers_disconnect_matched (_tmp9_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp10_, 0, NULL, (GCallback) _library_window_on_view_filter_removed_view_collection_view_filter_removed, self);
#line 302 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_data_collection_unref0 (_tmp9_);
-#line 2573 "LibraryWindow.c"
+#line 2647 "LibraryWindow.c"
}
#line 305 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp11_ = new_page;
#line 305 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp11_ != NULL) {
-#line 2579 "LibraryWindow.c"
+#line 2653 "LibraryWindow.c"
Page* _tmp12_ = NULL;
ViewCollection* _tmp13_ = NULL;
ViewCollection* _tmp14_ = NULL;
@@ -2602,7 +2676,7 @@ static void library_window_real_switched_pages (PageWindow* base, Page* old_page
g_signal_connect_object (_tmp17_, "view-filter-removed", (GCallback) _library_window_on_view_filter_removed_view_collection_view_filter_removed, self, 0);
#line 307 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_data_collection_unref0 (_tmp17_);
-#line 2606 "LibraryWindow.c"
+#line 2680 "LibraryWindow.c"
}
#line 310 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp18_ = self->priv->search_actions;
@@ -2612,14 +2686,14 @@ static void library_window_real_switched_pages (PageWindow* base, Page* old_page
_tmp20_ = new_page;
#line 310 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
search_filter_actions_monitor_page_contents (_tmp18_, _tmp19_, _tmp20_);
-#line 2616 "LibraryWindow.c"
+#line 2690 "LibraryWindow.c"
}
static void _library_window_on_view_filter_refreshed_view_filter_refresh (ViewFilter* _sender, gpointer self) {
#line 314 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_on_view_filter_refreshed ((LibraryWindow*) self);
-#line 2623 "LibraryWindow.c"
+#line 2697 "LibraryWindow.c"
}
@@ -2633,7 +2707,7 @@ static void library_window_on_view_filter_installed (LibraryWindow* self, ViewFi
_tmp0_ = filter;
#line 314 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_signal_connect_object (_tmp0_, "refresh", (GCallback) _library_window_on_view_filter_refreshed_view_filter_refresh, self, 0);
-#line 2637 "LibraryWindow.c"
+#line 2711 "LibraryWindow.c"
}
@@ -2650,21 +2724,21 @@ static void library_window_on_view_filter_removed (LibraryWindow* self, ViewFilt
g_signal_parse_name ("refresh", TYPE_VIEW_FILTER, &_tmp1_, NULL, FALSE);
#line 318 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_signal_handlers_disconnect_matched (_tmp0_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp1_, 0, NULL, (GCallback) _library_window_on_view_filter_refreshed_view_filter_refresh, self);
-#line 2654 "LibraryWindow.c"
+#line 2728 "LibraryWindow.c"
}
static gpointer _g_object_ref0 (gpointer self) {
#line 328 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return self ? g_object_ref (self) : NULL;
-#line 2661 "LibraryWindow.c"
+#line 2735 "LibraryWindow.c"
}
-static GVariant* _variant_new1 (gboolean value) {
+static GVariant* _variant_new4 (gboolean value) {
#line 331 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return g_variant_ref_sink (g_variant_new_boolean (value));
-#line 2668 "LibraryWindow.c"
+#line 2742 "LibraryWindow.c"
}
@@ -2701,7 +2775,7 @@ static void library_window_on_view_filter_refreshed (LibraryWindow* self) {
if (_tmp5_) {
#line 325 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return;
-#line 2705 "LibraryWindow.c"
+#line 2779 "LibraryWindow.c"
}
#line 328 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp6_ = g_action_map_lookup_action (G_TYPE_CHECK_INSTANCE_CAST (self, g_action_map_get_type (), GActionMap), "CommonDisplaySearchbar");
@@ -2713,22 +2787,22 @@ static void library_window_on_view_filter_refreshed (LibraryWindow* self) {
_tmp8_ = action;
#line 330 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp8_ != NULL) {
-#line 2717 "LibraryWindow.c"
+#line 2791 "LibraryWindow.c"
GAction* _tmp9_ = NULL;
GVariant* _tmp10_ = NULL;
#line 331 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp9_ = action;
#line 331 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- _tmp10_ = _variant_new1 (TRUE);
+ _tmp10_ = _variant_new4 (TRUE);
#line 331 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_action_change_state (_tmp9_, _tmp10_);
#line 331 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_variant_unref0 (_tmp10_);
-#line 2728 "LibraryWindow.c"
+#line 2802 "LibraryWindow.c"
}
#line 321 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (action);
-#line 2732 "LibraryWindow.c"
+#line 2806 "LibraryWindow.c"
}
@@ -2786,13 +2860,13 @@ static void library_window_real_show_all (GtkWidget* base) {
_g_variant_unref0 (_tmp7_);
#line 342 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp9_) {
-#line 2790 "LibraryWindow.c"
+#line 2864 "LibraryWindow.c"
GtkFrame* _tmp10_ = NULL;
#line 343 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp10_ = self->priv->bottom_frame;
#line 343 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
gtk_widget_hide (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, gtk_widget_get_type (), GtkWidget));
-#line 2796 "LibraryWindow.c"
+#line 2870 "LibraryWindow.c"
}
#line 346 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp11_ = page_window_get_current_page (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow));
@@ -2802,7 +2876,7 @@ static void library_window_real_show_all (GtkWidget* base) {
if (_tmp12_ == NULL) {
#line 346 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (_tmp11_);
-#line 2806 "LibraryWindow.c"
+#line 2880 "LibraryWindow.c"
}
#line 346 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
current_page = _tmp12_;
@@ -2810,13 +2884,13 @@ static void library_window_real_show_all (GtkWidget* base) {
_tmp13_ = current_page;
#line 347 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp13_ != NULL) {
-#line 2814 "LibraryWindow.c"
+#line 2888 "LibraryWindow.c"
CheckerboardPage* _tmp14_ = NULL;
#line 348 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp14_ = current_page;
#line 348 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_init_view_filter (self, _tmp14_);
-#line 2820 "LibraryWindow.c"
+#line 2894 "LibraryWindow.c"
}
#line 350 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp15_ = library_window_should_show_search_bar (self);
@@ -2832,7 +2906,7 @@ static void library_window_real_show_all (GtkWidget* base) {
_g_object_unref0 (current_page);
#line 335 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (basic_properties_action);
-#line 2836 "LibraryWindow.c"
+#line 2910 "LibraryWindow.c"
}
@@ -2853,7 +2927,7 @@ LibraryWindow* library_window_get_app (void) {
result = _tmp2_;
#line 359 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return result;
-#line 2857 "LibraryWindow.c"
+#line 2931 "LibraryWindow.c"
}
@@ -2861,7 +2935,7 @@ gboolean library_window_is_mount_uri_supported (const gchar* uri) {
gboolean result = FALSE;
#line 363 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_val_if_fail (uri != NULL, FALSE);
-#line 2865 "LibraryWindow.c"
+#line 2939 "LibraryWindow.c"
{
const gchar** scheme_collection = NULL;
gint scheme_collection_length1 = 0;
@@ -2873,14 +2947,14 @@ gboolean library_window_is_mount_uri_supported (const gchar* uri) {
scheme_collection_length1 = G_N_ELEMENTS (LIBRARY_WINDOW_SUPPORTED_MOUNT_SCHEMES);
#line 364 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
for (scheme_it = 0; scheme_it < G_N_ELEMENTS (LIBRARY_WINDOW_SUPPORTED_MOUNT_SCHEMES); scheme_it = scheme_it + 1) {
-#line 2877 "LibraryWindow.c"
+#line 2951 "LibraryWindow.c"
gchar* _tmp0_ = NULL;
gchar* scheme = NULL;
#line 364 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp0_ = g_strdup (scheme_collection[scheme_it]);
#line 364 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
scheme = _tmp0_;
-#line 2884 "LibraryWindow.c"
+#line 2958 "LibraryWindow.c"
{
const gchar* _tmp1_ = NULL;
const gchar* _tmp2_ = NULL;
@@ -2899,11 +2973,11 @@ gboolean library_window_is_mount_uri_supported (const gchar* uri) {
_g_free0 (scheme);
#line 366 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return result;
-#line 2903 "LibraryWindow.c"
+#line 2977 "LibraryWindow.c"
}
#line 364 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_free0 (scheme);
-#line 2907 "LibraryWindow.c"
+#line 2981 "LibraryWindow.c"
}
}
}
@@ -2911,7 +2985,7 @@ gboolean library_window_is_mount_uri_supported (const gchar* uri) {
result = FALSE;
#line 369 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return result;
-#line 2915 "LibraryWindow.c"
+#line 2989 "LibraryWindow.c"
}
@@ -2927,7 +3001,7 @@ static gchar* library_window_real_get_app_role (AppWindow* base) {
result = _tmp0_;
#line 373 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return result;
-#line 2931 "LibraryWindow.c"
+#line 3005 "LibraryWindow.c"
}
@@ -2953,7 +3027,7 @@ void library_window_rename_tag_in_sidebar (LibraryWindow* self, Tag* tag) {
_tmp3_ = entry;
#line 378 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp3_ != NULL) {
-#line 2957 "LibraryWindow.c"
+#line 3031 "LibraryWindow.c"
SidebarTree* _tmp4_ = NULL;
TagsSidebarEntry* _tmp5_ = NULL;
#line 379 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
@@ -2962,15 +3036,15 @@ void library_window_rename_tag_in_sidebar (LibraryWindow* self, Tag* tag) {
_tmp5_ = entry;
#line 379 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
sidebar_tree_rename_entry_in_place (_tmp4_, G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, SIDEBAR_TYPE_ENTRY, SidebarEntry));
-#line 2966 "LibraryWindow.c"
+#line 3040 "LibraryWindow.c"
} else {
#line 381 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_debug ("LibraryWindow.vala:381: No tag entry found for rename");
-#line 2970 "LibraryWindow.c"
+#line 3044 "LibraryWindow.c"
}
#line 376 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (entry);
-#line 2974 "LibraryWindow.c"
+#line 3048 "LibraryWindow.c"
}
@@ -2996,7 +3070,7 @@ void library_window_rename_event_in_sidebar (LibraryWindow* self, Event* event)
_tmp3_ = entry;
#line 386 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp3_ != NULL) {
-#line 3000 "LibraryWindow.c"
+#line 3074 "LibraryWindow.c"
SidebarTree* _tmp4_ = NULL;
EventsEventEntry* _tmp5_ = NULL;
#line 387 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
@@ -3005,15 +3079,15 @@ void library_window_rename_event_in_sidebar (LibraryWindow* self, Event* event)
_tmp5_ = entry;
#line 387 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
sidebar_tree_rename_entry_in_place (_tmp4_, G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, SIDEBAR_TYPE_ENTRY, SidebarEntry));
-#line 3009 "LibraryWindow.c"
+#line 3083 "LibraryWindow.c"
} else {
#line 389 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_debug ("LibraryWindow.vala:389: No event entry found for rename");
-#line 3013 "LibraryWindow.c"
+#line 3087 "LibraryWindow.c"
}
#line 384 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (entry);
-#line 3017 "LibraryWindow.c"
+#line 3091 "LibraryWindow.c"
}
@@ -3039,7 +3113,7 @@ void library_window_rename_search_in_sidebar (LibraryWindow* self, SavedSearch*
_tmp3_ = entry;
#line 394 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp3_ != NULL) {
-#line 3043 "LibraryWindow.c"
+#line 3117 "LibraryWindow.c"
SidebarTree* _tmp4_ = NULL;
SearchesSidebarEntry* _tmp5_ = NULL;
#line 395 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
@@ -3048,15 +3122,15 @@ void library_window_rename_search_in_sidebar (LibraryWindow* self, SavedSearch*
_tmp5_ = entry;
#line 395 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
sidebar_tree_rename_entry_in_place (_tmp4_, G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, SIDEBAR_TYPE_ENTRY, SidebarEntry));
-#line 3052 "LibraryWindow.c"
+#line 3126 "LibraryWindow.c"
} else {
#line 397 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_debug ("LibraryWindow.vala:397: No search entry found for rename");
-#line 3056 "LibraryWindow.c"
+#line 3130 "LibraryWindow.c"
}
#line 392 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (entry);
-#line 3060 "LibraryWindow.c"
+#line 3134 "LibraryWindow.c"
}
@@ -3101,7 +3175,7 @@ static void library_window_real_on_quit (AppWindow* base) {
_g_object_unref0 (_tmp5_);
#line 405 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
APP_WINDOW_CLASS (library_window_parent_class)->on_quit (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_APP_WINDOW, AppWindow));
-#line 3105 "LibraryWindow.c"
+#line 3179 "LibraryWindow.c"
}
@@ -3134,7 +3208,7 @@ static Photo* library_window_get_start_fullscreen_photo (LibraryWindow* self, Co
_tmp4_ = view_collection_get_selected_count (_tmp3_);
#line 413 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp4_ > 0) {
-#line 3138 "LibraryWindow.c"
+#line 3212 "LibraryWindow.c"
ViewCollection* _tmp5_ = NULL;
GeeList* _tmp6_ = NULL;
#line 414 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
@@ -3145,7 +3219,7 @@ static Photo* library_window_get_start_fullscreen_photo (LibraryWindow* self, Co
_g_object_unref0 (_tmp2_);
#line 414 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp2_ = _tmp6_;
-#line 3149 "LibraryWindow.c"
+#line 3223 "LibraryWindow.c"
} else {
ViewCollection* _tmp7_ = NULL;
GeeList* _tmp8_ = NULL;
@@ -3157,7 +3231,7 @@ static Photo* library_window_get_start_fullscreen_photo (LibraryWindow* self, Co
_g_object_unref0 (_tmp2_);
#line 415 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp2_ = _tmp8_;
-#line 3161 "LibraryWindow.c"
+#line 3235 "LibraryWindow.c"
}
#line 413 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp9_ = _g_object_ref0 (_tmp2_);
@@ -3167,7 +3241,7 @@ static Photo* library_window_get_start_fullscreen_photo (LibraryWindow* self, Co
_tmp12_ = sources;
#line 417 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp12_ != NULL) {
-#line 3171 "LibraryWindow.c"
+#line 3245 "LibraryWindow.c"
GeeList* _tmp13_ = NULL;
gint _tmp14_ = 0;
gint _tmp15_ = 0;
@@ -3179,15 +3253,15 @@ static Photo* library_window_get_start_fullscreen_photo (LibraryWindow* self, Co
_tmp15_ = _tmp14_;
#line 417 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp11_ = _tmp15_ != 0;
-#line 3183 "LibraryWindow.c"
+#line 3257 "LibraryWindow.c"
} else {
#line 417 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp11_ = FALSE;
-#line 3187 "LibraryWindow.c"
+#line 3261 "LibraryWindow.c"
}
#line 417 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp11_) {
-#line 3191 "LibraryWindow.c"
+#line 3265 "LibraryWindow.c"
GeeList* _tmp16_ = NULL;
gpointer _tmp17_ = NULL;
#line 418 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
@@ -3198,13 +3272,13 @@ static Photo* library_window_get_start_fullscreen_photo (LibraryWindow* self, Co
_g_object_unref0 (_tmp10_);
#line 418 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp10_ = G_TYPE_CHECK_INSTANCE_CAST ((DataSource*) _tmp17_, TYPE_PHOTO, Photo);
-#line 3202 "LibraryWindow.c"
+#line 3276 "LibraryWindow.c"
} else {
#line 418 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (_tmp10_);
#line 418 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp10_ = NULL;
-#line 3208 "LibraryWindow.c"
+#line 3282 "LibraryWindow.c"
}
#line 417 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
result = _tmp10_;
@@ -3216,7 +3290,7 @@ static Photo* library_window_get_start_fullscreen_photo (LibraryWindow* self, Co
_data_collection_unref0 (view);
#line 417 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return result;
-#line 3220 "LibraryWindow.c"
+#line 3294 "LibraryWindow.c"
}
@@ -3248,7 +3322,7 @@ static gboolean library_window_get_fullscreen_photo (LibraryWindow* self, Page*
_tmp0_ = page;
#line 428 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp0_, TYPE_COLLECTION_PAGE)) {
-#line 3252 "LibraryWindow.c"
+#line 3326 "LibraryWindow.c"
Page* _tmp1_ = NULL;
CollectionPage* _tmp2_ = NULL;
Photo* photo = NULL;
@@ -3283,35 +3357,35 @@ static gboolean library_window_get_fullscreen_photo (LibraryWindow* self, Page*
if (collection) {
#line 432 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
*collection = _vala_collection;
-#line 3287 "LibraryWindow.c"
+#line 3361 "LibraryWindow.c"
} else {
#line 432 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (_vala_collection);
-#line 3291 "LibraryWindow.c"
+#line 3365 "LibraryWindow.c"
}
#line 432 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (start) {
#line 432 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
*start = _vala_start;
-#line 3297 "LibraryWindow.c"
+#line 3371 "LibraryWindow.c"
} else {
#line 432 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (_vala_start);
-#line 3301 "LibraryWindow.c"
+#line 3375 "LibraryWindow.c"
}
#line 432 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (view_collection) {
#line 432 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
*view_collection = _vala_view_collection;
-#line 3307 "LibraryWindow.c"
+#line 3381 "LibraryWindow.c"
} else {
#line 432 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_data_collection_unref0 (_vala_view_collection);
-#line 3311 "LibraryWindow.c"
+#line 3385 "LibraryWindow.c"
}
#line 432 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return result;
-#line 3315 "LibraryWindow.c"
+#line 3389 "LibraryWindow.c"
}
#line 434 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp6_ = photo;
@@ -3333,41 +3407,41 @@ static gboolean library_window_get_fullscreen_photo (LibraryWindow* self, Page*
if (collection) {
#line 437 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
*collection = _vala_collection;
-#line 3337 "LibraryWindow.c"
+#line 3411 "LibraryWindow.c"
} else {
#line 437 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (_vala_collection);
-#line 3341 "LibraryWindow.c"
+#line 3415 "LibraryWindow.c"
}
#line 437 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (start) {
#line 437 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
*start = _vala_start;
-#line 3347 "LibraryWindow.c"
+#line 3421 "LibraryWindow.c"
} else {
#line 437 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (_vala_start);
-#line 3351 "LibraryWindow.c"
+#line 3425 "LibraryWindow.c"
}
#line 437 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (view_collection) {
#line 437 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
*view_collection = _vala_view_collection;
-#line 3357 "LibraryWindow.c"
+#line 3431 "LibraryWindow.c"
} else {
#line 437 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_data_collection_unref0 (_vala_view_collection);
-#line 3361 "LibraryWindow.c"
+#line 3435 "LibraryWindow.c"
}
#line 437 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return result;
-#line 3365 "LibraryWindow.c"
+#line 3439 "LibraryWindow.c"
}
#line 440 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp8_ = page;
#line 440 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp8_, TYPE_EVENTS_DIRECTORY_PAGE)) {
-#line 3371 "LibraryWindow.c"
+#line 3445 "LibraryWindow.c"
ViewCollection* view = NULL;
Page* _tmp9_ = NULL;
ViewCollection* _tmp10_ = NULL;
@@ -3413,35 +3487,35 @@ static gboolean library_window_get_fullscreen_photo (LibraryWindow* self, Page*
if (collection) {
#line 443 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
*collection = _vala_collection;
-#line 3417 "LibraryWindow.c"
+#line 3491 "LibraryWindow.c"
} else {
#line 443 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (_vala_collection);
-#line 3421 "LibraryWindow.c"
+#line 3495 "LibraryWindow.c"
}
#line 443 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (start) {
#line 443 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
*start = _vala_start;
-#line 3427 "LibraryWindow.c"
+#line 3501 "LibraryWindow.c"
} else {
#line 443 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (_vala_start);
-#line 3431 "LibraryWindow.c"
+#line 3505 "LibraryWindow.c"
}
#line 443 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (view_collection) {
#line 443 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
*view_collection = _vala_view_collection;
-#line 3437 "LibraryWindow.c"
+#line 3511 "LibraryWindow.c"
} else {
#line 443 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_data_collection_unref0 (_vala_view_collection);
-#line 3441 "LibraryWindow.c"
+#line 3515 "LibraryWindow.c"
}
#line 443 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return result;
-#line 3445 "LibraryWindow.c"
+#line 3519 "LibraryWindow.c"
}
#line 445 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp13_ = view;
@@ -3471,35 +3545,35 @@ static gboolean library_window_get_fullscreen_photo (LibraryWindow* self, Page*
if (collection) {
#line 447 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
*collection = _vala_collection;
-#line 3475 "LibraryWindow.c"
+#line 3549 "LibraryWindow.c"
} else {
#line 447 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (_vala_collection);
-#line 3479 "LibraryWindow.c"
+#line 3553 "LibraryWindow.c"
}
#line 447 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (start) {
#line 447 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
*start = _vala_start;
-#line 3485 "LibraryWindow.c"
+#line 3559 "LibraryWindow.c"
} else {
#line 447 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (_vala_start);
-#line 3489 "LibraryWindow.c"
+#line 3563 "LibraryWindow.c"
}
#line 447 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (view_collection) {
#line 447 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
*view_collection = _vala_view_collection;
-#line 3495 "LibraryWindow.c"
+#line 3569 "LibraryWindow.c"
} else {
#line 447 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_data_collection_unref0 (_vala_view_collection);
-#line 3499 "LibraryWindow.c"
+#line 3573 "LibraryWindow.c"
}
#line 447 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return result;
-#line 3503 "LibraryWindow.c"
+#line 3577 "LibraryWindow.c"
}
#line 449 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp19_ = self->priv->events_branch;
@@ -3525,35 +3599,35 @@ static gboolean library_window_get_fullscreen_photo (LibraryWindow* self, Page*
if (collection) {
#line 451 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
*collection = _vala_collection;
-#line 3529 "LibraryWindow.c"
+#line 3603 "LibraryWindow.c"
} else {
#line 451 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (_vala_collection);
-#line 3533 "LibraryWindow.c"
+#line 3607 "LibraryWindow.c"
}
#line 451 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (start) {
#line 451 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
*start = _vala_start;
-#line 3539 "LibraryWindow.c"
+#line 3613 "LibraryWindow.c"
} else {
#line 451 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (_vala_start);
-#line 3543 "LibraryWindow.c"
+#line 3617 "LibraryWindow.c"
}
#line 451 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (view_collection) {
#line 451 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
*view_collection = _vala_view_collection;
-#line 3549 "LibraryWindow.c"
+#line 3623 "LibraryWindow.c"
} else {
#line 451 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_data_collection_unref0 (_vala_view_collection);
-#line 3553 "LibraryWindow.c"
+#line 3627 "LibraryWindow.c"
}
#line 451 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return result;
-#line 3557 "LibraryWindow.c"
+#line 3631 "LibraryWindow.c"
}
#line 453 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp23_ = entry;
@@ -3587,35 +3661,35 @@ static gboolean library_window_get_fullscreen_photo (LibraryWindow* self, Page*
if (collection) {
#line 456 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
*collection = _vala_collection;
-#line 3591 "LibraryWindow.c"
+#line 3665 "LibraryWindow.c"
} else {
#line 456 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (_vala_collection);
-#line 3595 "LibraryWindow.c"
+#line 3669 "LibraryWindow.c"
}
#line 456 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (start) {
#line 456 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
*start = _vala_start;
-#line 3601 "LibraryWindow.c"
+#line 3675 "LibraryWindow.c"
} else {
#line 456 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (_vala_start);
-#line 3605 "LibraryWindow.c"
+#line 3679 "LibraryWindow.c"
}
#line 456 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (view_collection) {
#line 456 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
*view_collection = _vala_view_collection;
-#line 3611 "LibraryWindow.c"
+#line 3685 "LibraryWindow.c"
} else {
#line 456 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_data_collection_unref0 (_vala_view_collection);
-#line 3615 "LibraryWindow.c"
+#line 3689 "LibraryWindow.c"
}
#line 456 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return result;
-#line 3619 "LibraryWindow.c"
+#line 3693 "LibraryWindow.c"
}
#line 458 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp28_ = photo;
@@ -3643,41 +3717,41 @@ static gboolean library_window_get_fullscreen_photo (LibraryWindow* self, Page*
if (collection) {
#line 461 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
*collection = _vala_collection;
-#line 3647 "LibraryWindow.c"
+#line 3721 "LibraryWindow.c"
} else {
#line 461 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (_vala_collection);
-#line 3651 "LibraryWindow.c"
+#line 3725 "LibraryWindow.c"
}
#line 461 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (start) {
#line 461 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
*start = _vala_start;
-#line 3657 "LibraryWindow.c"
+#line 3731 "LibraryWindow.c"
} else {
#line 461 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (_vala_start);
-#line 3661 "LibraryWindow.c"
+#line 3735 "LibraryWindow.c"
}
#line 461 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (view_collection) {
#line 461 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
*view_collection = _vala_view_collection;
-#line 3667 "LibraryWindow.c"
+#line 3741 "LibraryWindow.c"
} else {
#line 461 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_data_collection_unref0 (_vala_view_collection);
-#line 3671 "LibraryWindow.c"
+#line 3745 "LibraryWindow.c"
}
#line 461 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return result;
-#line 3675 "LibraryWindow.c"
+#line 3749 "LibraryWindow.c"
}
#line 464 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp30_ = page;
#line 464 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp30_, TYPE_LIBRARY_PHOTO_PAGE)) {
-#line 3681 "LibraryWindow.c"
+#line 3755 "LibraryWindow.c"
LibraryPhotoPage* photo_page = NULL;
Page* _tmp31_ = NULL;
LibraryPhotoPage* _tmp32_ = NULL;
@@ -3719,35 +3793,35 @@ static gboolean library_window_get_fullscreen_photo (LibraryWindow* self, Page*
if (collection) {
#line 469 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
*collection = _vala_collection;
-#line 3723 "LibraryWindow.c"
+#line 3797 "LibraryWindow.c"
} else {
#line 469 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (_vala_collection);
-#line 3727 "LibraryWindow.c"
+#line 3801 "LibraryWindow.c"
}
#line 469 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (start) {
#line 469 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
*start = _vala_start;
-#line 3733 "LibraryWindow.c"
+#line 3807 "LibraryWindow.c"
} else {
#line 469 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (_vala_start);
-#line 3737 "LibraryWindow.c"
+#line 3811 "LibraryWindow.c"
}
#line 469 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (view_collection) {
#line 469 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
*view_collection = _vala_view_collection;
-#line 3743 "LibraryWindow.c"
+#line 3817 "LibraryWindow.c"
} else {
#line 469 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_data_collection_unref0 (_vala_view_collection);
-#line 3747 "LibraryWindow.c"
+#line 3821 "LibraryWindow.c"
}
#line 469 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return result;
-#line 3751 "LibraryWindow.c"
+#line 3825 "LibraryWindow.c"
}
#line 471 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp36_ = photo_page;
@@ -3765,35 +3839,35 @@ static gboolean library_window_get_fullscreen_photo (LibraryWindow* self, Page*
if (collection) {
#line 472 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
*collection = _vala_collection;
-#line 3769 "LibraryWindow.c"
+#line 3843 "LibraryWindow.c"
} else {
#line 472 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (_vala_collection);
-#line 3773 "LibraryWindow.c"
+#line 3847 "LibraryWindow.c"
}
#line 472 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (start) {
#line 472 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
*start = _vala_start;
-#line 3779 "LibraryWindow.c"
+#line 3853 "LibraryWindow.c"
} else {
#line 472 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (_vala_start);
-#line 3783 "LibraryWindow.c"
+#line 3857 "LibraryWindow.c"
}
#line 472 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (view_collection) {
#line 472 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
*view_collection = _vala_view_collection;
-#line 3789 "LibraryWindow.c"
+#line 3863 "LibraryWindow.c"
} else {
#line 472 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_data_collection_unref0 (_vala_view_collection);
-#line 3793 "LibraryWindow.c"
+#line 3867 "LibraryWindow.c"
}
#line 472 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return result;
-#line 3797 "LibraryWindow.c"
+#line 3871 "LibraryWindow.c"
}
#line 474 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp38_ = controller;
@@ -3829,35 +3903,35 @@ static gboolean library_window_get_fullscreen_photo (LibraryWindow* self, Page*
if (collection) {
#line 478 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
*collection = _vala_collection;
-#line 3833 "LibraryWindow.c"
+#line 3907 "LibraryWindow.c"
} else {
#line 478 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (_vala_collection);
-#line 3837 "LibraryWindow.c"
+#line 3911 "LibraryWindow.c"
}
#line 478 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (start) {
#line 478 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
*start = _vala_start;
-#line 3843 "LibraryWindow.c"
+#line 3917 "LibraryWindow.c"
} else {
#line 478 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (_vala_start);
-#line 3847 "LibraryWindow.c"
+#line 3921 "LibraryWindow.c"
}
#line 478 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (view_collection) {
#line 478 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
*view_collection = _vala_view_collection;
-#line 3853 "LibraryWindow.c"
+#line 3927 "LibraryWindow.c"
} else {
#line 478 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_data_collection_unref0 (_vala_view_collection);
-#line 3857 "LibraryWindow.c"
+#line 3931 "LibraryWindow.c"
}
#line 478 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return result;
-#line 3861 "LibraryWindow.c"
+#line 3935 "LibraryWindow.c"
}
#line 481 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
result = FALSE;
@@ -3865,35 +3939,35 @@ static gboolean library_window_get_fullscreen_photo (LibraryWindow* self, Page*
if (collection) {
#line 481 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
*collection = _vala_collection;
-#line 3869 "LibraryWindow.c"
+#line 3943 "LibraryWindow.c"
} else {
#line 481 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (_vala_collection);
-#line 3873 "LibraryWindow.c"
+#line 3947 "LibraryWindow.c"
}
#line 481 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (start) {
#line 481 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
*start = _vala_start;
-#line 3879 "LibraryWindow.c"
+#line 3953 "LibraryWindow.c"
} else {
#line 481 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (_vala_start);
-#line 3883 "LibraryWindow.c"
+#line 3957 "LibraryWindow.c"
}
#line 481 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (view_collection) {
#line 481 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
*view_collection = _vala_view_collection;
-#line 3889 "LibraryWindow.c"
+#line 3963 "LibraryWindow.c"
} else {
#line 481 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_data_collection_unref0 (_vala_view_collection);
-#line 3893 "LibraryWindow.c"
+#line 3967 "LibraryWindow.c"
}
#line 481 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return result;
-#line 3897 "LibraryWindow.c"
+#line 3971 "LibraryWindow.c"
}
@@ -3930,7 +4004,7 @@ static void library_window_real_on_fullscreen (AppWindow* base) {
_g_object_unref0 (current_page);
#line 487 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return;
-#line 3934 "LibraryWindow.c"
+#line 4008 "LibraryWindow.c"
}
#line 491 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
view = NULL;
@@ -3962,7 +4036,7 @@ static void library_window_real_on_fullscreen (AppWindow* base) {
_g_object_unref0 (current_page);
#line 493 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return;
-#line 3966 "LibraryWindow.c"
+#line 4040 "LibraryWindow.c"
}
#line 495 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp7_ = collection;
@@ -3990,14 +4064,14 @@ static void library_window_real_on_fullscreen (AppWindow* base) {
_g_object_unref0 (collection);
#line 484 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (current_page);
-#line 3994 "LibraryWindow.c"
+#line 4068 "LibraryWindow.c"
}
static void _g_free0_ (gpointer var) {
#line 517 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
var = (g_free (var), NULL);
-#line 4001 "LibraryWindow.c"
+#line 4075 "LibraryWindow.c"
}
@@ -4006,7 +4080,7 @@ static void _g_slist_free__g_free0_ (GSList* self) {
g_slist_foreach (self, (GFunc) _g_free0_, NULL);
#line 517 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_slist_free (self);
-#line 4010 "LibraryWindow.c"
+#line 4084 "LibraryWindow.c"
}
@@ -4059,7 +4133,7 @@ static void library_window_on_file_import (LibraryWindow* self) {
_tmp8_ = response;
#line 510 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp8_ == ((gint) GTK_RESPONSE_OK)) {
-#line 4063 "LibraryWindow.c"
+#line 4137 "LibraryWindow.c"
GtkResponseType _tmp9_ = 0;
GtkFileChooserDialog* _tmp10_ = NULL;
gchar* _tmp11_ = NULL;
@@ -4092,14 +4166,14 @@ static void library_window_on_file_import (LibraryWindow* self) {
if (_tmp16_) {
#line 514 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp9_ = GTK_RESPONSE_REJECT;
-#line 4096 "LibraryWindow.c"
+#line 4170 "LibraryWindow.c"
} else {
GtkResponseType _tmp17_ = 0;
#line 514 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp17_ = copy_files_dialog ();
#line 514 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp9_ = _tmp17_;
-#line 4103 "LibraryWindow.c"
+#line 4177 "LibraryWindow.c"
}
#line 512 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
copy_files_response = _tmp9_;
@@ -4107,7 +4181,7 @@ static void library_window_on_file_import (LibraryWindow* self) {
_tmp18_ = copy_files_response;
#line 516 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp18_ != GTK_RESPONSE_CANCEL) {
-#line 4111 "LibraryWindow.c"
+#line 4185 "LibraryWindow.c"
GtkFileChooserDialog* _tmp19_ = NULL;
GSList* _tmp20_ = NULL;
GSList* _tmp21_ = NULL;
@@ -4124,7 +4198,7 @@ static void library_window_on_file_import (LibraryWindow* self) {
library_window_dispatch_import_jobs (self, _tmp21_, "folders", _tmp22_ == GTK_RESPONSE_ACCEPT);
#line 517 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
__g_slist_free__g_free0_0 (_tmp21_);
-#line 4128 "LibraryWindow.c"
+#line 4202 "LibraryWindow.c"
}
}
#line 522 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
@@ -4141,7 +4215,7 @@ static void library_window_on_file_import (LibraryWindow* self) {
gtk_widget_destroy (G_TYPE_CHECK_INSTANCE_CAST (_tmp25_, gtk_widget_get_type (), GtkWidget));
#line 500 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (import_dialog);
-#line 4145 "LibraryWindow.c"
+#line 4219 "LibraryWindow.c"
}
@@ -4158,7 +4232,7 @@ static void library_window_on_external_library_import (LibraryWindow* self) {
gtk_dialog_run (import_dialog);
#line 526 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (import_dialog);
-#line 4162 "LibraryWindow.c"
+#line 4236 "LibraryWindow.c"
}
@@ -4188,7 +4262,7 @@ static void library_window_real_update_common_action_availability (AppWindow* ba
app_window_set_common_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_APP_WINDOW, AppWindow), "CommonDisplaySearchbar", is_checkerboard);
#line 538 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
app_window_set_common_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_APP_WINDOW, AppWindow), "CommonFind", is_checkerboard);
-#line 4192 "LibraryWindow.c"
+#line 4266 "LibraryWindow.c"
}
@@ -4248,7 +4322,7 @@ static void library_window_real_update_common_actions (AppWindow* base, Page* pa
_g_object_unref0 (start);
#line 541 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (collection);
-#line 4252 "LibraryWindow.c"
+#line 4326 "LibraryWindow.c"
}
@@ -4260,7 +4334,7 @@ static void library_window_on_trashcan_contents_altered (LibraryWindow* self) {
_tmp0_ = library_window_can_empty_trash (self);
#line 558 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
app_window_set_common_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_APP_WINDOW, AppWindow), "CommonEmptyTrash", _tmp0_);
-#line 4264 "LibraryWindow.c"
+#line 4338 "LibraryWindow.c"
}
@@ -4279,7 +4353,7 @@ static gboolean library_window_can_empty_trash (LibraryWindow* self) {
if (_tmp2_ > 0) {
#line 562 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp0_ = TRUE;
-#line 4283 "LibraryWindow.c"
+#line 4357 "LibraryWindow.c"
} else {
VideoSourceCollection* _tmp3_ = NULL;
gint _tmp4_ = 0;
@@ -4289,13 +4363,13 @@ static gboolean library_window_can_empty_trash (LibraryWindow* self) {
_tmp4_ = media_source_collection_get_trashcan_count (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, TYPE_MEDIA_SOURCE_COLLECTION, MediaSourceCollection));
#line 562 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp0_ = _tmp4_ > 0;
-#line 4293 "LibraryWindow.c"
+#line 4367 "LibraryWindow.c"
}
#line 562 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
result = _tmp0_;
#line 562 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return result;
-#line 4299 "LibraryWindow.c"
+#line 4373 "LibraryWindow.c"
}
@@ -4354,7 +4428,7 @@ static void library_window_on_empty_trash (LibraryWindow* self) {
_command_manager_unref0 (_tmp10_);
#line 565 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (to_remove);
-#line 4358 "LibraryWindow.c"
+#line 4432 "LibraryWindow.c"
}
@@ -4371,7 +4445,7 @@ static void library_window_on_new_search (LibraryWindow* self) {
saved_search_dialog_show (_tmp1_);
#line 576 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_saved_search_dialog_unref0 (_tmp1_);
-#line 4375 "LibraryWindow.c"
+#line 4449 "LibraryWindow.c"
}
@@ -4404,7 +4478,7 @@ static gboolean library_window_can_jump_to_event (LibraryWindow* self) {
_tmp5_ = view_collection_get_selected_count (_tmp4_);
#line 581 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp5_ == 1) {
-#line 4408 "LibraryWindow.c"
+#line 4482 "LibraryWindow.c"
DataSource* selected_source = NULL;
ViewCollection* _tmp6_ = NULL;
DataSource* _tmp7_ = NULL;
@@ -4427,14 +4501,14 @@ static gboolean library_window_can_jump_to_event (LibraryWindow* self) {
_data_collection_unref0 (view);
#line 584 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return result;
-#line 4431 "LibraryWindow.c"
+#line 4505 "LibraryWindow.c"
} else {
DataSource* _tmp9_ = NULL;
#line 585 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp9_ = selected_source;
#line 585 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp9_, TYPE_MEDIA_SOURCE)) {
-#line 4438 "LibraryWindow.c"
+#line 4512 "LibraryWindow.c"
ViewCollection* _tmp10_ = NULL;
DataSource* _tmp11_ = NULL;
MediaSource* _tmp12_ = NULL;
@@ -4465,7 +4539,7 @@ static gboolean library_window_can_jump_to_event (LibraryWindow* self) {
_data_collection_unref0 (view);
#line 586 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return result;
-#line 4469 "LibraryWindow.c"
+#line 4543 "LibraryWindow.c"
} else {
#line 588 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
result = FALSE;
@@ -4475,12 +4549,12 @@ static gboolean library_window_can_jump_to_event (LibraryWindow* self) {
_data_collection_unref0 (view);
#line 588 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return result;
-#line 4479 "LibraryWindow.c"
+#line 4553 "LibraryWindow.c"
}
}
#line 581 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (selected_source);
-#line 4484 "LibraryWindow.c"
+#line 4558 "LibraryWindow.c"
} else {
#line 590 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
result = FALSE;
@@ -4488,11 +4562,11 @@ static gboolean library_window_can_jump_to_event (LibraryWindow* self) {
_data_collection_unref0 (view);
#line 590 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return result;
-#line 4492 "LibraryWindow.c"
+#line 4566 "LibraryWindow.c"
}
#line 579 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_data_collection_unref0 (view);
-#line 4496 "LibraryWindow.c"
+#line 4570 "LibraryWindow.c"
}
@@ -4537,7 +4611,7 @@ static void library_window_on_jump_to_event (LibraryWindow* self) {
_data_collection_unref0 (view);
#line 598 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return;
-#line 4541 "LibraryWindow.c"
+#line 4615 "LibraryWindow.c"
}
#line 600 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp6_ = view;
@@ -4549,7 +4623,7 @@ static void library_window_on_jump_to_event (LibraryWindow* self) {
if (_tmp8_ == NULL) {
#line 600 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (_tmp7_);
-#line 4553 "LibraryWindow.c"
+#line 4627 "LibraryWindow.c"
}
#line 600 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
media = _tmp8_;
@@ -4563,7 +4637,7 @@ static void library_window_on_jump_to_event (LibraryWindow* self) {
_data_collection_unref0 (view);
#line 602 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return;
-#line 4567 "LibraryWindow.c"
+#line 4641 "LibraryWindow.c"
}
#line 604 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp10_ = media;
@@ -4577,7 +4651,7 @@ static void library_window_on_jump_to_event (LibraryWindow* self) {
_g_object_unref0 (_tmp12_);
#line 604 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp13_) {
-#line 4581 "LibraryWindow.c"
+#line 4655 "LibraryWindow.c"
MediaSource* _tmp14_ = NULL;
Event* _tmp15_ = NULL;
Event* _tmp16_ = NULL;
@@ -4591,20 +4665,20 @@ static void library_window_on_jump_to_event (LibraryWindow* self) {
library_window_switch_to_event (self, _tmp16_);
#line 605 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (_tmp16_);
-#line 4595 "LibraryWindow.c"
+#line 4669 "LibraryWindow.c"
}
#line 594 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (media);
#line 594 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_data_collection_unref0 (view);
-#line 4601 "LibraryWindow.c"
+#line 4675 "LibraryWindow.c"
}
-static GVariant* _variant_new2 (gboolean value) {
+static GVariant* _variant_new5 (gboolean value) {
#line 610 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return g_variant_ref_sink (g_variant_new_boolean (value));
-#line 4608 "LibraryWindow.c"
+#line 4682 "LibraryWindow.c"
}
@@ -4623,7 +4697,7 @@ static void library_window_on_find (LibraryWindow* self) {
#line 609 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
action = _tmp1_;
#line 610 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- _tmp2_ = _variant_new2 (TRUE);
+ _tmp2_ = _variant_new5 (TRUE);
#line 610 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_action_change_state (action, _tmp2_);
#line 610 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
@@ -4634,7 +4708,7 @@ static void library_window_on_find (LibraryWindow* self) {
search_filter_toolbar_take_focus (_tmp3_);
#line 608 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (action);
-#line 4638 "LibraryWindow.c"
+#line 4712 "LibraryWindow.c"
}
@@ -4646,7 +4720,7 @@ static void library_window_on_media_altered (LibraryWindow* self) {
_tmp0_ = library_window_can_jump_to_event (self);
#line 617 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
app_window_set_common_action_sensitive (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_APP_WINDOW, AppWindow), "CommonJumpToEvent", _tmp0_);
-#line 4650 "LibraryWindow.c"
+#line 4724 "LibraryWindow.c"
}
@@ -4658,13 +4732,13 @@ static void library_window_on_clear_search (LibraryWindow* self) {
_tmp0_ = self->priv->is_search_toolbar_visible;
#line 621 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp0_) {
-#line 4662 "LibraryWindow.c"
+#line 4736 "LibraryWindow.c"
SearchFilterActions* _tmp1_ = NULL;
#line 622 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp1_ = self->priv->search_actions;
#line 622 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
search_filter_actions_reset (_tmp1_);
-#line 4668 "LibraryWindow.c"
+#line 4742 "LibraryWindow.c"
}
}
@@ -4688,7 +4762,7 @@ gint library_window_get_events_sort (LibraryWindow* self) {
_tmp3_ = action;
#line 628 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp3_ != NULL) {
-#line 4692 "LibraryWindow.c"
+#line 4766 "LibraryWindow.c"
gint _tmp4_ = 0;
GSimpleAction* _tmp5_ = NULL;
GVariant* _tmp6_ = NULL;
@@ -4714,19 +4788,19 @@ gint library_window_get_events_sort (LibraryWindow* self) {
if (_tmp10_) {
#line 629 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp4_ = 0;
-#line 4718 "LibraryWindow.c"
+#line 4792 "LibraryWindow.c"
} else {
#line 629 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp4_ = 1;
-#line 4722 "LibraryWindow.c"
+#line 4796 "LibraryWindow.c"
}
#line 628 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp2_ = _tmp4_;
-#line 4726 "LibraryWindow.c"
+#line 4800 "LibraryWindow.c"
} else {
#line 630 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp2_ = 1;
-#line 4730 "LibraryWindow.c"
+#line 4804 "LibraryWindow.c"
}
#line 628 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
result = _tmp2_;
@@ -4734,7 +4808,7 @@ gint library_window_get_events_sort (LibraryWindow* self) {
_g_object_unref0 (action);
#line 628 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return result;
-#line 4738 "LibraryWindow.c"
+#line 4812 "LibraryWindow.c"
}
@@ -4767,7 +4841,7 @@ static void library_window_on_events_sort_changed (LibraryWindow* self, GSimpleA
_tmp5_ = value;
#line 638 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_simple_action_set_state (_tmp4_, _tmp5_);
-#line 4771 "LibraryWindow.c"
+#line 4845 "LibraryWindow.c"
}
@@ -4776,7 +4850,7 @@ static void library_window_on_preferences (LibraryWindow* self) {
g_return_if_fail (IS_LIBRARY_WINDOW (self));
#line 642 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
preferences_dialog_show ();
-#line 4780 "LibraryWindow.c"
+#line 4854 "LibraryWindow.c"
}
@@ -4804,7 +4878,7 @@ static void library_window_on_display_basic_properties (LibraryWindow* self, GSi
_tmp2_ = display;
#line 648 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp2_) {
-#line 4808 "LibraryWindow.c"
+#line 4882 "LibraryWindow.c"
BasicProperties* _tmp3_ = NULL;
Page* _tmp4_ = NULL;
Page* _tmp5_ = NULL;
@@ -4823,7 +4897,7 @@ static void library_window_on_display_basic_properties (LibraryWindow* self, GSi
_tmp6_ = self->priv->bottom_frame;
#line 650 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
gtk_widget_show (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, gtk_widget_get_type (), GtkWidget));
-#line 4827 "LibraryWindow.c"
+#line 4901 "LibraryWindow.c"
} else {
GtkPaned* _tmp7_ = NULL;
GtkWidget* _tmp8_ = NULL;
@@ -4833,13 +4907,13 @@ static void library_window_on_display_basic_properties (LibraryWindow* self, GSi
_tmp8_ = gtk_paned_get_child2 (_tmp7_);
#line 652 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp8_ != NULL) {
-#line 4837 "LibraryWindow.c"
+#line 4911 "LibraryWindow.c"
GtkFrame* _tmp9_ = NULL;
#line 653 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp9_ = self->priv->bottom_frame;
#line 653 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
gtk_widget_hide (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_widget_get_type (), GtkWidget));
-#line 4843 "LibraryWindow.c"
+#line 4917 "LibraryWindow.c"
}
}
#line 658 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
@@ -4858,21 +4932,21 @@ static void library_window_on_display_basic_properties (LibraryWindow* self, GSi
_tmp14_ = value;
#line 659 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_simple_action_set_state (_tmp13_, _tmp14_);
-#line 4862 "LibraryWindow.c"
+#line 4936 "LibraryWindow.c"
}
-static gboolean _variant_get3 (GVariant* value) {
+static gboolean _variant_get6 (GVariant* value) {
#line 663 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return g_variant_get_boolean (value);
-#line 4869 "LibraryWindow.c"
+#line 4943 "LibraryWindow.c"
}
-static GVariant* _variant_new4 (gboolean value) {
+static GVariant* _variant_new7 (gboolean value) {
#line 663 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return g_variant_ref_sink (g_variant_new_boolean (value));
-#line 4876 "LibraryWindow.c"
+#line 4950 "LibraryWindow.c"
}
@@ -4896,9 +4970,9 @@ static void library_window_on_action_toggle (LibraryWindow* self, GAction* actio
#line 663 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp2_ = _tmp1_;
#line 663 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- _tmp3_ = _variant_get3 (_tmp2_);
+ _tmp3_ = _variant_get6 (_tmp2_);
#line 663 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- _tmp4_ = _variant_new4 (!_tmp3_);
+ _tmp4_ = _variant_new7 (!_tmp3_);
#line 663 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp5_ = _tmp4_;
#line 663 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
@@ -4911,7 +4985,7 @@ static void library_window_on_action_toggle (LibraryWindow* self, GAction* actio
g_action_change_state (_tmp6_, new_state);
#line 662 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_variant_unref0 (new_state);
-#line 4915 "LibraryWindow.c"
+#line 4989 "LibraryWindow.c"
}
@@ -4928,7 +5002,7 @@ static void library_window_on_action_radio (LibraryWindow* self, GAction* action
_tmp1_ = value;
#line 668 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_action_change_state (_tmp0_, _tmp1_);
-#line 4932 "LibraryWindow.c"
+#line 5006 "LibraryWindow.c"
}
@@ -4953,7 +5027,7 @@ static void library_window_on_display_extended_properties (LibraryWindow* self,
_tmp2_ = display;
#line 674 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp2_) {
-#line 4957 "LibraryWindow.c"
+#line 5031 "LibraryWindow.c"
ExtendedPropertiesWindow* _tmp3_ = NULL;
Page* _tmp4_ = NULL;
Page* _tmp5_ = NULL;
@@ -4972,14 +5046,14 @@ static void library_window_on_display_extended_properties (LibraryWindow* self,
_tmp6_ = self->priv->extended_properties;
#line 676 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, gtk_widget_get_type (), GtkWidget));
-#line 4976 "LibraryWindow.c"
+#line 5050 "LibraryWindow.c"
} else {
ExtendedPropertiesWindow* _tmp7_ = NULL;
#line 678 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp7_ = self->priv->extended_properties;
#line 678 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
gtk_widget_hide (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_widget_get_type (), GtkWidget));
-#line 4983 "LibraryWindow.c"
+#line 5057 "LibraryWindow.c"
}
#line 681 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp8_ = action;
@@ -4987,7 +5061,14 @@ static void library_window_on_display_extended_properties (LibraryWindow* self,
_tmp9_ = value;
#line 681 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_simple_action_set_state (_tmp8_, _tmp9_);
-#line 4991 "LibraryWindow.c"
+#line 5065 "LibraryWindow.c"
+}
+
+
+static GVariant* _variant_new8 (gboolean value) {
+#line 689 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ return g_variant_ref_sink (g_variant_new_boolean (value));
+#line 5072 "LibraryWindow.c"
}
@@ -5019,13 +5100,15 @@ static void library_window_on_display_searchbar (LibraryWindow* self, GSimpleAct
_g_object_unref0 (_tmp3_);
#line 688 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_show_search_bar (self, is_shown);
-#line 690 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 689 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp4_ = action;
-#line 690 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- _tmp5_ = value;
-#line 690 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 689 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ _tmp5_ = _variant_new8 (is_shown);
+#line 689 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_simple_action_set_state (_tmp4_, _tmp5_);
-#line 5029 "LibraryWindow.c"
+#line 689 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ _g_variant_unref0 (_tmp5_);
+#line 5112 "LibraryWindow.c"
}
@@ -5039,55 +5122,55 @@ void library_window_show_search_bar (LibraryWindow* self, gboolean display) {
CheckerboardPage* _tmp6_ = NULL;
CheckerboardPage* _tmp7_ = NULL;
gboolean _tmp8_ = FALSE;
-#line 693 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 692 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (IS_LIBRARY_WINDOW (self));
-#line 694 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 693 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp0_ = page_window_get_current_page (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow));
-#line 694 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 693 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp1_ = _tmp0_;
-#line 694 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 693 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp2_ = !G_TYPE_CHECK_INSTANCE_TYPE (_tmp1_, TYPE_CHECKERBOARD_PAGE);
-#line 694 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 693 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (_tmp1_);
-#line 694 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 693 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp2_) {
-#line 695 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 694 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return;
-#line 5057 "LibraryWindow.c"
+#line 5140 "LibraryWindow.c"
}
-#line 697 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 696 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp3_ = display;
-#line 697 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 696 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
self->priv->is_search_toolbar_visible = _tmp3_;
-#line 698 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 697 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp4_ = library_window_should_show_search_bar (self);
-#line 698 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 697 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp5_ = page_window_get_current_page (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow));
-#line 698 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 697 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp6_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp5_, TYPE_CHECKERBOARD_PAGE) ? ((CheckerboardPage*) _tmp5_) : NULL;
-#line 698 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 697 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp6_ == NULL) {
-#line 698 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 697 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (_tmp5_);
-#line 5073 "LibraryWindow.c"
+#line 5156 "LibraryWindow.c"
}
-#line 698 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 697 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp7_ = _tmp6_;
-#line 698 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 697 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_toggle_search_bar (self, _tmp4_, _tmp7_);
-#line 698 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 697 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (_tmp7_);
-#line 699 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 698 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp8_ = display;
-#line 699 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 698 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (!_tmp8_) {
-#line 5085 "LibraryWindow.c"
+#line 5168 "LibraryWindow.c"
SearchFilterActions* _tmp9_ = NULL;
-#line 700 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 699 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp9_ = self->priv->search_actions;
-#line 700 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 699 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
search_filter_actions_reset (_tmp9_);
-#line 5091 "LibraryWindow.c"
+#line 5174 "LibraryWindow.c"
}
}
@@ -5097,23 +5180,23 @@ static void library_window_on_display_sidebar (LibraryWindow* self, GSimpleActio
gboolean _tmp1_ = FALSE;
GSimpleAction* _tmp2_ = NULL;
GVariant* _tmp3_ = NULL;
-#line 703 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 702 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (IS_LIBRARY_WINDOW (self));
-#line 703 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 702 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (G_IS_SIMPLE_ACTION (action));
-#line 704 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 703 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp0_ = variant;
-#line 704 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 703 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp1_ = g_variant_get_boolean (_tmp0_);
-#line 704 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 703 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_set_sidebar_visible (self, _tmp1_);
-#line 706 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 705 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp2_ = action;
-#line 706 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 705 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp3_ = variant;
-#line 706 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 705 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_simple_action_set_state (_tmp2_, _tmp3_);
-#line 5117 "LibraryWindow.c"
+#line 5200 "LibraryWindow.c"
}
@@ -5123,25 +5206,25 @@ static void library_window_set_sidebar_visible (LibraryWindow* self, gboolean vi
ConfigFacade* _tmp2_ = NULL;
ConfigFacade* _tmp3_ = NULL;
gboolean _tmp4_ = FALSE;
-#line 709 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 708 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (IS_LIBRARY_WINDOW (self));
-#line 710 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 709 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp0_ = self->priv->sidebar_paned;
-#line 710 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 709 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp1_ = visible;
-#line 710 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 709 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
gtk_widget_set_visible (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget), _tmp1_);
-#line 711 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 710 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp2_ = config_facade_get_instance ();
-#line 711 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 710 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp3_ = _tmp2_;
-#line 711 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 710 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp4_ = visible;
-#line 711 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 710 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
configuration_facade_set_display_sidebar (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp4_);
-#line 711 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 710 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (_tmp3_);
-#line 5145 "LibraryWindow.c"
+#line 5228 "LibraryWindow.c"
}
@@ -5151,23 +5234,23 @@ static gboolean library_window_is_sidebar_visible (LibraryWindow* self) {
ConfigFacade* _tmp1_ = NULL;
gboolean _tmp2_ = FALSE;
gboolean _tmp3_ = FALSE;
-#line 714 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 713 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_val_if_fail (IS_LIBRARY_WINDOW (self), FALSE);
-#line 715 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 714 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp0_ = config_facade_get_instance ();
-#line 715 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 714 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp1_ = _tmp0_;
-#line 715 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 714 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp2_ = configuration_facade_get_display_sidebar (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
-#line 715 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 714 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp3_ = _tmp2_;
-#line 715 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 714 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (_tmp1_);
-#line 715 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 714 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
result = _tmp3_;
-#line 715 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 714 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return result;
-#line 5171 "LibraryWindow.c"
+#line 5254 "LibraryWindow.c"
}
@@ -5176,78 +5259,95 @@ static void library_window_on_display_toolbar (LibraryWindow* self, GSimpleActio
gboolean _tmp1_ = FALSE;
GSimpleAction* _tmp2_ = NULL;
GVariant* _tmp3_ = NULL;
-#line 718 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 717 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (IS_LIBRARY_WINDOW (self));
-#line 718 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 717 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (G_IS_SIMPLE_ACTION (action));
-#line 719 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 718 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp0_ = variant;
-#line 719 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 718 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp1_ = g_variant_get_boolean (_tmp0_);
-#line 719 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 718 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_set_toolbar_visible (self, _tmp1_);
-#line 721 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 720 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp2_ = action;
-#line 721 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 720 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp3_ = variant;
-#line 721 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 720 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_simple_action_set_state (_tmp2_, _tmp3_);
-#line 5196 "LibraryWindow.c"
+#line 5279 "LibraryWindow.c"
}
static void library_window_set_toolbar_visible (LibraryWindow* self, gboolean visible) {
- GtkToolbar* toolbar = NULL;
Page* _tmp0_ = NULL;
Page* _tmp1_ = NULL;
- GtkToolbar* _tmp2_ = NULL;
- GtkToolbar* _tmp3_ = NULL;
- GtkToolbar* _tmp4_ = NULL;
- ConfigFacade* _tmp7_ = NULL;
- ConfigFacade* _tmp8_ = NULL;
- gboolean _tmp9_ = FALSE;
-#line 724 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ gboolean _tmp2_ = FALSE;
+ GtkToolbar* toolbar = NULL;
+ Page* _tmp3_ = NULL;
+ Page* _tmp4_ = NULL;
+ GtkToolbar* _tmp5_ = NULL;
+ GtkToolbar* _tmp6_ = NULL;
+ GtkToolbar* _tmp7_ = NULL;
+ ConfigFacade* _tmp10_ = NULL;
+ ConfigFacade* _tmp11_ = NULL;
+ gboolean _tmp12_ = FALSE;
+#line 723 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (IS_LIBRARY_WINDOW (self));
-#line 725 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 724 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp0_ = page_window_get_current_page (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow));
-#line 725 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 724 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp1_ = _tmp0_;
-#line 725 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- _tmp2_ = page_get_toolbar (_tmp1_);
-#line 725 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- _tmp3_ = _tmp2_;
-#line 725 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 724 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ _tmp2_ = _tmp1_ == NULL;
+#line 724 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (_tmp1_);
+#line 724 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ if (_tmp2_) {
#line 725 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- toolbar = _tmp3_;
-#line 726 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- _tmp4_ = toolbar;
-#line 726 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- if (_tmp4_ != NULL) {
-#line 5228 "LibraryWindow.c"
- GtkToolbar* _tmp5_ = NULL;
- gboolean _tmp6_ = FALSE;
-#line 727 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- _tmp5_ = toolbar;
-#line 727 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- _tmp6_ = visible;
-#line 727 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- gtk_widget_set_visible (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_widget_get_type (), GtkWidget), _tmp6_);
-#line 5237 "LibraryWindow.c"
+ return;
+#line 5310 "LibraryWindow.c"
}
+#line 728 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ _tmp3_ = page_window_get_current_page (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow));
+#line 728 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ _tmp4_ = _tmp3_;
+#line 728 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ _tmp5_ = page_get_toolbar (_tmp4_);
+#line 728 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ _tmp6_ = _tmp5_;
+#line 728 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ _g_object_unref0 (_tmp4_);
+#line 728 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ toolbar = _tmp6_;
#line 729 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- _tmp7_ = config_facade_get_instance ();
-#line 729 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- _tmp8_ = _tmp7_;
-#line 729 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- _tmp9_ = visible;
-#line 729 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- configuration_facade_set_display_toolbar (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp9_);
+ _tmp7_ = toolbar;
#line 729 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- _g_object_unref0 (_tmp8_);
-#line 724 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ if (_tmp7_ != NULL) {
+#line 5328 "LibraryWindow.c"
+ GtkRevealer* _tmp8_ = NULL;
+ gboolean _tmp9_ = FALSE;
+#line 730 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ _tmp8_ = self->priv->toolbar_revealer;
+#line 730 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ _tmp9_ = visible;
+#line 730 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ gtk_revealer_set_reveal_child (_tmp8_, _tmp9_);
+#line 5337 "LibraryWindow.c"
+ }
+#line 732 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ _tmp10_ = config_facade_get_instance ();
+#line 732 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ _tmp11_ = _tmp10_;
+#line 732 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ _tmp12_ = visible;
+#line 732 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ configuration_facade_set_display_toolbar (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp12_);
+#line 732 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ _g_object_unref0 (_tmp11_);
+#line 723 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (toolbar);
-#line 5251 "LibraryWindow.c"
+#line 5351 "LibraryWindow.c"
}
@@ -5257,48 +5357,48 @@ static gboolean library_window_is_toolbar_visible (LibraryWindow* self) {
ConfigFacade* _tmp1_ = NULL;
gboolean _tmp2_ = FALSE;
gboolean _tmp3_ = FALSE;
-#line 732 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 735 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_val_if_fail (IS_LIBRARY_WINDOW (self), FALSE);
-#line 733 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 736 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp0_ = config_facade_get_instance ();
-#line 733 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 736 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp1_ = _tmp0_;
-#line 733 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 736 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp2_ = configuration_facade_get_display_toolbar (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
-#line 733 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 736 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp3_ = _tmp2_;
-#line 733 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 736 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (_tmp1_);
-#line 733 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 736 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
result = _tmp3_;
-#line 733 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 736 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return result;
-#line 5277 "LibraryWindow.c"
+#line 5377 "LibraryWindow.c"
}
static void library_window_show_extended_properties (LibraryWindow* self) {
-#line 736 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 739 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (IS_LIBRARY_WINDOW (self));
-#line 737 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 740 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_sync_extended_properties (self, TRUE);
-#line 5286 "LibraryWindow.c"
+#line 5386 "LibraryWindow.c"
}
static void library_window_hide_extended_properties (LibraryWindow* self) {
-#line 740 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 743 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (IS_LIBRARY_WINDOW (self));
-#line 741 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 744 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_sync_extended_properties (self, FALSE);
-#line 5295 "LibraryWindow.c"
+#line 5395 "LibraryWindow.c"
}
-static GVariant* _variant_new5 (gboolean value) {
-#line 746 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+static GVariant* _variant_new9 (gboolean value) {
+#line 749 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return g_variant_ref_sink (g_variant_new_boolean (value));
-#line 5302 "LibraryWindow.c"
+#line 5402 "LibraryWindow.c"
}
@@ -5311,35 +5411,35 @@ static void library_window_sync_extended_properties (LibraryWindow* self, gboole
ConfigFacade* _tmp4_ = NULL;
ConfigFacade* _tmp5_ = NULL;
gboolean _tmp6_ = FALSE;
-#line 744 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 747 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (IS_LIBRARY_WINDOW (self));
-#line 745 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 748 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp0_ = g_action_map_lookup_action (G_TYPE_CHECK_INSTANCE_CAST (self, g_action_map_get_type (), GActionMap), "CommonDisplayExtendedProperties");
-#line 745 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 748 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp1_ = _g_object_ref0 (_tmp0_);
-#line 745 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 748 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
action = _tmp1_;
-#line 746 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 749 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp2_ = show;
-#line 746 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- _tmp3_ = _variant_new5 (_tmp2_);
-#line 746 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 749 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ _tmp3_ = _variant_new9 (_tmp2_);
+#line 749 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_action_change_state (action, _tmp3_);
-#line 746 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- _g_variant_unref0 (_tmp3_);
#line 749 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ _g_variant_unref0 (_tmp3_);
+#line 752 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp4_ = config_facade_get_instance ();
-#line 749 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 752 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp5_ = _tmp4_;
-#line 749 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 752 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp6_ = show;
-#line 749 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 752 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
configuration_facade_set_display_extended_properties (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade), _tmp6_);
-#line 749 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 752 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (_tmp5_);
-#line 744 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 747 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (action);
-#line 5343 "LibraryWindow.c"
+#line 5443 "LibraryWindow.c"
}
@@ -5349,44 +5449,44 @@ void library_window_enqueue_batch_import (LibraryWindow* self, BatchImport* batc
LibraryImportQueueSidebarEntry* _tmp2_ = NULL;
BatchImport* _tmp3_ = NULL;
gboolean _tmp4_ = FALSE;
-#line 752 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 755 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (IS_LIBRARY_WINDOW (self));
-#line 752 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 755 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (IS_BATCH_IMPORT (batch_import));
-#line 753 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 756 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp0_ = self->priv->library_branch;
-#line 753 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 756 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp1_ = library_branch_get_import_queue_entry (_tmp0_);
-#line 753 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 756 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp2_ = _tmp1_;
-#line 753 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 756 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp3_ = batch_import;
-#line 753 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 756 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp4_ = allow_user_cancel;
-#line 753 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 756 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_import_queue_sidebar_entry_enqueue_and_schedule (_tmp2_, _tmp3_, _tmp4_);
-#line 5369 "LibraryWindow.c"
+#line 5469 "LibraryWindow.c"
}
static void library_window_import_reporter (LibraryWindow* self, ImportManifest* manifest) {
ImportManifest* _tmp0_ = NULL;
-#line 756 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 759 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (IS_LIBRARY_WINDOW (self));
-#line 756 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 759 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (IS_IMPORT_MANIFEST (manifest));
-#line 757 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 760 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp0_ = manifest;
-#line 757 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 760 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
import_ui_report_manifest (_tmp0_, TRUE, NULL);
-#line 5383 "LibraryWindow.c"
+#line 5483 "LibraryWindow.c"
}
static void _library_window_import_reporter_batch_import_import_reporter (ImportManifest* manifest, BatchImportRoll* import_roll, gpointer self) {
-#line 788 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 791 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_import_reporter ((LibraryWindow*) self, manifest);
-#line 5390 "LibraryWindow.c"
+#line 5490 "LibraryWindow.c"
}
@@ -5404,43 +5504,43 @@ static void library_window_dispatch_import_jobs (LibraryWindow* self, GSList* ur
GeeArrayList* _tmp33_ = NULL;
gint _tmp34_ = 0;
gint _tmp35_ = 0;
-#line 760 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 763 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (IS_LIBRARY_WINDOW (self));
-#line 760 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 763 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (job_name != NULL);
-#line 761 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 764 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp1_ = app_dirs_get_import_dir ();
-#line 761 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 764 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp2_ = _tmp1_;
-#line 761 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 764 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp3_ = g_file_get_path (_tmp2_);
-#line 761 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 764 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp4_ = _tmp3_;
-#line 761 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 764 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp5_ = g_get_home_dir ();
-#line 761 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 764 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp6_ = g_strcmp0 (_tmp4_, _tmp5_) == 0;
-#line 761 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 764 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_free0 (_tmp4_);
-#line 761 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 764 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (_tmp2_);
-#line 761 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 764 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp6_) {
-#line 5430 "LibraryWindow.c"
+#line 5530 "LibraryWindow.c"
gboolean _tmp7_ = FALSE;
-#line 761 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 764 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp7_ = self->priv->notify_library_is_home_dir;
-#line 761 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 764 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp0_ = _tmp7_;
-#line 5436 "LibraryWindow.c"
+#line 5536 "LibraryWindow.c"
} else {
-#line 761 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 764 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp0_ = FALSE;
-#line 5440 "LibraryWindow.c"
+#line 5540 "LibraryWindow.c"
}
-#line 761 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 764 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp0_) {
-#line 5444 "LibraryWindow.c"
+#line 5544 "LibraryWindow.c"
GtkResponseType response = 0;
const gchar* _tmp8_ = NULL;
gchar* _tmp9_ = NULL;
@@ -5452,65 +5552,65 @@ static void library_window_dispatch_import_jobs (LibraryWindow* self, GSList* ur
GtkResponseType _tmp15_ = 0;
GtkResponseType _tmp16_ = 0;
GtkResponseType _tmp17_ = 0;
-#line 762 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 765 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp8_ = _ ("Shotwell is configured to import photos to your home directory.\n" "We recommend changing this in <span weight=\"bold\">Edit %s Preference" \
"s</span>.\n" "Do you want to continue importing photos?");
-#line 762 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 765 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp9_ = g_strdup_printf (_tmp8_, "▸");
-#line 762 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 765 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp10_ = _tmp9_;
-#line 762 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 765 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp11_ = _ ("_Import");
-#line 762 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 765 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp12_ = _ ("Library Location");
-#line 762 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 765 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp13_ = app_window_get_instance ();
-#line 762 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 765 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp14_ = _tmp13_;
-#line 762 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 765 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp15_ = app_window_affirm_cancel_question (_tmp10_, _tmp11_, _tmp12_, G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, gtk_window_get_type (), GtkWindow));
-#line 762 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 765 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp16_ = _tmp15_;
-#line 762 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 765 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (_tmp14_);
-#line 762 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 765 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_free0 (_tmp10_);
-#line 762 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 765 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
response = _tmp16_;
-#line 768 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 771 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp17_ = response;
-#line 768 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 771 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp17_ == GTK_RESPONSE_CANCEL) {
-#line 769 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 772 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return;
-#line 5486 "LibraryWindow.c"
+#line 5586 "LibraryWindow.c"
}
-#line 771 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 774 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
self->priv->notify_library_is_home_dir = FALSE;
-#line 5490 "LibraryWindow.c"
+#line 5590 "LibraryWindow.c"
}
-#line 774 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 777 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp18_ = gee_array_list_new (TYPE_FILE_IMPORT_JOB, (GBoxedCopyFunc) batch_import_job_ref, batch_import_job_unref, NULL, NULL, NULL);
-#line 774 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 777 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
jobs = _tmp18_;
-#line 775 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 778 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp19_ = uris;
-#line 5498 "LibraryWindow.c"
+#line 5598 "LibraryWindow.c"
{
GSList* uri_collection = NULL;
GSList* uri_it = NULL;
-#line 775 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 778 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
uri_collection = _tmp19_;
-#line 775 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 778 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
for (uri_it = uri_collection; uri_it != NULL; uri_it = uri_it->next) {
-#line 5506 "LibraryWindow.c"
+#line 5606 "LibraryWindow.c"
gchar* _tmp20_ = NULL;
gchar* uri = NULL;
-#line 775 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 778 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp20_ = g_strdup ((const gchar*) uri_it->data);
-#line 775 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 778 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
uri = _tmp20_;
-#line 5513 "LibraryWindow.c"
+#line 5613 "LibraryWindow.c"
{
GFile* file_or_dir = NULL;
const gchar* _tmp21_ = NULL;
@@ -5524,95 +5624,95 @@ static void library_window_dispatch_import_jobs (LibraryWindow* self, GSList* ur
gboolean _tmp30_ = FALSE;
FileImportJob* _tmp31_ = NULL;
FileImportJob* _tmp32_ = NULL;
-#line 776 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 779 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp21_ = uri;
-#line 776 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 779 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp22_ = g_file_new_for_uri (_tmp21_);
-#line 776 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 779 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
file_or_dir = _tmp22_;
-#line 777 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 780 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp23_ = file_or_dir;
-#line 777 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 780 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp24_ = g_file_get_path (_tmp23_);
-#line 777 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 780 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp25_ = _tmp24_;
-#line 777 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 780 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp26_ = _tmp25_ == NULL;
-#line 777 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 780 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_free0 (_tmp25_);
-#line 777 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 780 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp26_) {
-#line 5545 "LibraryWindow.c"
+#line 5645 "LibraryWindow.c"
const gchar* _tmp27_ = NULL;
-#line 779 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 782 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp27_ = _ ("Photos cannot be imported from this directory.");
-#line 779 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 782 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
app_window_error_message (_tmp27_, NULL);
-#line 781 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 784 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (file_or_dir);
-#line 781 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 784 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_free0 (uri);
-#line 781 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 784 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
continue;
-#line 5557 "LibraryWindow.c"
+#line 5657 "LibraryWindow.c"
}
-#line 784 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 787 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp28_ = jobs;
-#line 784 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 787 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp29_ = file_or_dir;
-#line 784 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 787 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp30_ = copy_to_library;
-#line 784 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 787 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp31_ = file_import_job_new (_tmp29_, _tmp30_);
-#line 784 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 787 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp32_ = _tmp31_;
-#line 784 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 787 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp28_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp32_);
-#line 784 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 787 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_batch_import_job_unref0 (_tmp32_);
-#line 775 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 778 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (file_or_dir);
-#line 775 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 778 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_free0 (uri);
-#line 5577 "LibraryWindow.c"
+#line 5677 "LibraryWindow.c"
}
}
}
-#line 787 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 790 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp33_ = jobs;
-#line 787 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 790 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp34_ = gee_abstract_collection_get_size (G_TYPE_CHECK_INSTANCE_CAST (_tmp33_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 787 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 790 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp35_ = _tmp34_;
-#line 787 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 790 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp35_ > 0) {
-#line 5589 "LibraryWindow.c"
+#line 5689 "LibraryWindow.c"
BatchImport* batch_import = NULL;
GeeArrayList* _tmp36_ = NULL;
const gchar* _tmp37_ = NULL;
BatchImport* _tmp38_ = NULL;
BatchImport* _tmp39_ = NULL;
-#line 788 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 791 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp36_ = jobs;
-#line 788 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 791 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp37_ = job_name;
-#line 788 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 791 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp38_ = batch_import_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp36_, GEE_TYPE_ITERABLE, GeeIterable), _tmp37_, _library_window_import_reporter_batch_import_import_reporter, self, NULL, NULL, NULL, NULL, NULL);
-#line 788 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 791 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
batch_import = _tmp38_;
-#line 789 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 792 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp39_ = batch_import;
-#line 789 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 792 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_enqueue_batch_import (self, _tmp39_, TRUE);
-#line 790 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 793 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_switch_to_import_queue_page (self);
-#line 787 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 790 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (batch_import);
-#line 5611 "LibraryWindow.c"
+#line 5711 "LibraryWindow.c"
}
-#line 760 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 763 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (jobs);
-#line 5615 "LibraryWindow.c"
+#line 5715 "LibraryWindow.c"
}
@@ -5633,157 +5733,157 @@ static GdkDragAction library_window_get_drag_action (LibraryWindow* self) {
gboolean _tmp8_ = FALSE;
gboolean _tmp9_ = FALSE;
gboolean _tmp10_ = FALSE;
-#line 794 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- g_return_val_if_fail (IS_LIBRARY_WINDOW (self), 0);
#line 797 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ g_return_val_if_fail (IS_LIBRARY_WINDOW (self), 0);
+#line 800 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp0_ = gtk_widget_get_window (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
-#line 797 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 800 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp1_ = gdk_display_get_default ();
-#line 797 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 800 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp2_ = gdk_display_get_device_manager (_tmp1_);
-#line 797 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 800 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp3_ = gdk_device_manager_get_client_pointer (_tmp2_);
-#line 797 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 800 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
gdk_window_get_device_position (_tmp0_, _tmp3_, NULL, NULL, &_tmp4_);
-#line 797 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- mask = _tmp4_;
#line 800 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ mask = _tmp4_;
+#line 803 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp5_ = mask;
-#line 800 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 803 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
ctrl = (_tmp5_ & GDK_CONTROL_MASK) != 0;
-#line 801 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 804 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp6_ = mask;
-#line 801 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 804 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
alt = (_tmp6_ & GDK_MOD1_MASK) != 0;
-#line 802 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 805 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp7_ = mask;
-#line 802 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 805 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
shift = (_tmp7_ & GDK_SHIFT_MASK) != 0;
-#line 804 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 807 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp10_ = ctrl;
-#line 804 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 807 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp10_) {
-#line 5666 "LibraryWindow.c"
+#line 5766 "LibraryWindow.c"
gboolean _tmp11_ = FALSE;
-#line 804 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 807 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp11_ = alt;
-#line 804 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 807 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp9_ = !_tmp11_;
-#line 5672 "LibraryWindow.c"
+#line 5772 "LibraryWindow.c"
} else {
-#line 804 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 807 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp9_ = FALSE;
-#line 5676 "LibraryWindow.c"
+#line 5776 "LibraryWindow.c"
}
-#line 804 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 807 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp9_) {
-#line 5680 "LibraryWindow.c"
+#line 5780 "LibraryWindow.c"
gboolean _tmp12_ = FALSE;
-#line 804 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 807 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp12_ = shift;
-#line 804 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 807 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp8_ = !_tmp12_;
-#line 5686 "LibraryWindow.c"
+#line 5786 "LibraryWindow.c"
} else {
-#line 804 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 807 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp8_ = FALSE;
-#line 5690 "LibraryWindow.c"
+#line 5790 "LibraryWindow.c"
}
-#line 804 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 807 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp8_) {
-#line 805 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 808 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
result = GDK_ACTION_COPY;
-#line 805 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 808 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return result;
-#line 5698 "LibraryWindow.c"
+#line 5798 "LibraryWindow.c"
} else {
gboolean _tmp13_ = FALSE;
gboolean _tmp14_ = FALSE;
gboolean _tmp15_ = FALSE;
-#line 806 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 809 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp15_ = ctrl;
-#line 806 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 809 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (!_tmp15_) {
-#line 5707 "LibraryWindow.c"
+#line 5807 "LibraryWindow.c"
gboolean _tmp16_ = FALSE;
-#line 806 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 809 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp16_ = alt;
-#line 806 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 809 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp14_ = _tmp16_;
-#line 5713 "LibraryWindow.c"
+#line 5813 "LibraryWindow.c"
} else {
-#line 806 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 809 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp14_ = FALSE;
-#line 5717 "LibraryWindow.c"
+#line 5817 "LibraryWindow.c"
}
-#line 806 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 809 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp14_) {
-#line 5721 "LibraryWindow.c"
+#line 5821 "LibraryWindow.c"
gboolean _tmp17_ = FALSE;
-#line 806 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 809 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp17_ = shift;
-#line 806 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 809 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp13_ = !_tmp17_;
-#line 5727 "LibraryWindow.c"
+#line 5827 "LibraryWindow.c"
} else {
-#line 806 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 809 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp13_ = FALSE;
-#line 5731 "LibraryWindow.c"
+#line 5831 "LibraryWindow.c"
}
-#line 806 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 809 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp13_) {
-#line 807 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 810 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
result = GDK_ACTION_ASK;
-#line 807 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 810 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return result;
-#line 5739 "LibraryWindow.c"
+#line 5839 "LibraryWindow.c"
} else {
gboolean _tmp18_ = FALSE;
gboolean _tmp19_ = FALSE;
gboolean _tmp20_ = FALSE;
-#line 808 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 811 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp20_ = ctrl;
-#line 808 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 811 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp20_) {
-#line 5748 "LibraryWindow.c"
+#line 5848 "LibraryWindow.c"
gboolean _tmp21_ = FALSE;
-#line 808 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 811 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp21_ = alt;
-#line 808 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 811 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp19_ = !_tmp21_;
-#line 5754 "LibraryWindow.c"
+#line 5854 "LibraryWindow.c"
} else {
-#line 808 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 811 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp19_ = FALSE;
-#line 5758 "LibraryWindow.c"
+#line 5858 "LibraryWindow.c"
}
-#line 808 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 811 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp19_) {
-#line 5762 "LibraryWindow.c"
+#line 5862 "LibraryWindow.c"
gboolean _tmp22_ = FALSE;
-#line 808 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 811 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp22_ = shift;
-#line 808 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 811 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp18_ = _tmp22_;
-#line 5768 "LibraryWindow.c"
+#line 5868 "LibraryWindow.c"
} else {
-#line 808 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 811 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp18_ = FALSE;
-#line 5772 "LibraryWindow.c"
+#line 5872 "LibraryWindow.c"
}
-#line 808 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 811 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp18_) {
-#line 809 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 812 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
result = GDK_ACTION_LINK;
-#line 809 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 812 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return result;
-#line 5780 "LibraryWindow.c"
+#line 5880 "LibraryWindow.c"
} else {
-#line 811 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 814 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
result = GDK_ACTION_DEFAULT;
-#line 811 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 814 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return result;
-#line 5786 "LibraryWindow.c"
+#line 5886 "LibraryWindow.c"
}
}
}
@@ -5807,87 +5907,87 @@ static gboolean library_window_real_drag_motion (GtkWidget* base, GdkDragContext
GdkDragContext* _tmp13_ = NULL;
GdkDragAction _tmp14_ = 0;
guint _tmp15_ = 0U;
-#line 814 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 817 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_LIBRARY_WINDOW, LibraryWindow);
-#line 814 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 817 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_val_if_fail (GDK_IS_DRAG_CONTEXT (context), FALSE);
-#line 815 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 818 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp0_ = context;
-#line 815 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 818 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp1_ = gtk_drag_dest_get_target_list (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget));
-#line 815 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 818 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp2_ = gtk_drag_dest_find_target (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_widget_get_type (), GtkWidget), _tmp0_, _tmp1_);
-#line 815 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 818 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
target = _tmp2_;
-#line 816 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 819 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp3_ = target;
-#line 816 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 819 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp4_ = GDK_NONE;
-#line 816 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 819 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp3_ == _tmp4_) {
-#line 5828 "LibraryWindow.c"
+#line 5928 "LibraryWindow.c"
GdkDragContext* _tmp5_ = NULL;
guint _tmp6_ = 0U;
-#line 817 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- g_debug ("LibraryWindow.vala:817: drag target is GDK_NONE");
-#line 818 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 820 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ g_debug ("LibraryWindow.vala:820: drag target is GDK_NONE");
+#line 821 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp5_ = context;
-#line 818 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 821 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp6_ = time;
-#line 818 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 821 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
gdk_drag_status (_tmp5_, 0, (guint32) _tmp6_);
-#line 820 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 823 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
result = TRUE;
-#line 820 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 823 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return result;
-#line 5843 "LibraryWindow.c"
+#line 5943 "LibraryWindow.c"
}
-#line 824 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 827 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp7_ = context;
-#line 824 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 827 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp8_ = gtk_drag_get_source_widget (_tmp7_);
-#line 824 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 827 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp8_ != NULL) {
-#line 5851 "LibraryWindow.c"
+#line 5951 "LibraryWindow.c"
GdkDragContext* _tmp9_ = NULL;
guint _tmp10_ = 0U;
-#line 825 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 828 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp9_ = context;
-#line 825 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 828 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp10_ = time;
-#line 825 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 828 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
gdk_drag_status (_tmp9_, GDK_ACTION_PRIVATE, (guint32) _tmp10_);
-#line 827 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 830 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
result = TRUE;
-#line 827 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 830 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return result;
-#line 5864 "LibraryWindow.c"
+#line 5964 "LibraryWindow.c"
}
-#line 831 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 834 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp11_ = library_window_get_drag_action (self);
-#line 831 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 834 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
drag_action = _tmp11_;
-#line 833 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 836 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp12_ = drag_action;
-#line 833 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 836 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp12_ == GDK_ACTION_DEFAULT) {
-#line 834 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 837 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
drag_action = GDK_ACTION_ASK;
-#line 5876 "LibraryWindow.c"
+#line 5976 "LibraryWindow.c"
}
-#line 836 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 839 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp13_ = context;
-#line 836 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 839 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp14_ = drag_action;
-#line 836 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 839 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp15_ = time;
-#line 836 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 839 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
gdk_drag_status (_tmp13_, _tmp14_, (guint32) _tmp15_);
-#line 838 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 841 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
result = TRUE;
-#line 838 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 841 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return result;
-#line 5890 "LibraryWindow.c"
+#line 5990 "LibraryWindow.c"
}
@@ -5897,54 +5997,54 @@ static void library_window_real_drag_data_received (GtkWidget* base, GdkDragCont
guchar* _tmp1_ = NULL;
GdkDragContext* _tmp2_ = NULL;
GtkWidget* _tmp3_ = NULL;
-#line 841 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 844 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_LIBRARY_WINDOW, LibraryWindow);
-#line 841 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 844 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (GDK_IS_DRAG_CONTEXT (context));
-#line 841 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 844 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (selection_data != NULL);
-#line 843 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 846 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp0_ = selection_data;
-#line 843 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 846 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp1_ = gtk_selection_data_get_data (_tmp0_);
-#line 843 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 846 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (-1 < 0) {
-#line 844 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- g_debug ("LibraryWindow.vala:844: failed to retrieve SelectionData");
-#line 5914 "LibraryWindow.c"
+#line 847 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ g_debug ("LibraryWindow.vala:847: failed to retrieve SelectionData");
+#line 6014 "LibraryWindow.c"
}
-#line 848 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 851 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp2_ = context;
-#line 848 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 851 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp3_ = gtk_drag_get_source_widget (_tmp2_);
-#line 848 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 851 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp3_ == NULL) {
-#line 5922 "LibraryWindow.c"
+#line 6022 "LibraryWindow.c"
GdkDragContext* _tmp4_ = NULL;
GtkSelectionData* _tmp5_ = NULL;
guint _tmp6_ = 0U;
guint _tmp7_ = 0U;
-#line 849 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 852 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp4_ = context;
-#line 849 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 852 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp5_ = selection_data;
-#line 849 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 852 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp6_ = info;
-#line 849 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 852 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp7_ = time;
-#line 849 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 852 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_external_drop_handler (self, _tmp4_, NULL, _tmp5_, _tmp6_, _tmp7_);
-#line 5937 "LibraryWindow.c"
+#line 6037 "LibraryWindow.c"
} else {
GdkDragContext* _tmp8_ = NULL;
guint _tmp9_ = 0U;
-#line 851 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 854 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp8_ = context;
-#line 851 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 854 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp9_ = time;
-#line 851 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 854 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
gtk_drag_finish (_tmp8_, FALSE, FALSE, (guint32) _tmp9_);
-#line 5947 "LibraryWindow.c"
+#line 6047 "LibraryWindow.c"
}
}
@@ -5967,198 +6067,198 @@ static void library_window_external_drop_handler (LibraryWindow* self, GdkDragCo
GdkDragAction _tmp22_ = 0;
GdkDragContext* _tmp23_ = NULL;
guint _tmp24_ = 0U;
-#line 854 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 857 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (IS_LIBRARY_WINDOW (self));
-#line 854 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 857 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (GDK_IS_DRAG_CONTEXT (context));
-#line 854 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 857 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail ((entry == NULL) || SIDEBAR_IS_ENTRY (entry));
-#line 854 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 857 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (data != NULL);
-#line 856 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 859 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp0_ = data;
-#line 856 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 859 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp2_ = _tmp1_ = gtk_selection_data_get_uris (_tmp0_);
-#line 856 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 859 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
uris_array = _tmp2_;
-#line 856 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 859 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
uris_array_length1 = _vala_array_length (_tmp1_);
-#line 856 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 859 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_uris_array_size_ = uris_array_length1;
-#line 858 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 861 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
uris = NULL;
-#line 859 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 862 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp3_ = uris_array;
-#line 859 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 862 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp3__length1 = uris_array_length1;
-#line 5994 "LibraryWindow.c"
+#line 6094 "LibraryWindow.c"
{
gchar** uri_collection = NULL;
gint uri_collection_length1 = 0;
gint _uri_collection_size_ = 0;
gint uri_it = 0;
-#line 859 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 862 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
uri_collection = _tmp3_;
-#line 859 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 862 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
uri_collection_length1 = _tmp3__length1;
-#line 859 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 862 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
for (uri_it = 0; uri_it < _tmp3__length1; uri_it = uri_it + 1) {
-#line 6006 "LibraryWindow.c"
+#line 6106 "LibraryWindow.c"
gchar* _tmp4_ = NULL;
gchar* uri = NULL;
-#line 859 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 862 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp4_ = g_strdup (uri_collection[uri_it]);
-#line 859 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 862 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
uri = _tmp4_;
-#line 6013 "LibraryWindow.c"
+#line 6113 "LibraryWindow.c"
{
const gchar* _tmp5_ = NULL;
gchar* _tmp6_ = NULL;
-#line 860 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 863 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp5_ = uri;
-#line 860 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 863 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp6_ = g_strdup (_tmp5_);
-#line 860 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 863 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
uris = g_slist_append (uris, _tmp6_);
-#line 859 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 862 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_free0 (uri);
-#line 6025 "LibraryWindow.c"
+#line 6125 "LibraryWindow.c"
}
}
}
-#line 862 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 865 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp7_ = context;
-#line 862 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 865 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp8_ = gdk_drag_context_get_selected_action (_tmp7_);
-#line 862 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 865 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
selected_action = _tmp8_;
-#line 863 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 866 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp9_ = selected_action;
-#line 863 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 866 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp9_ == GDK_ACTION_ASK) {
-#line 6039 "LibraryWindow.c"
+#line 6139 "LibraryWindow.c"
GtkResponseType _result_ = 0;
GSList* _tmp10_ = NULL;
GtkResponseType _tmp18_ = 0;
-#line 865 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 868 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_result_ = GTK_RESPONSE_REJECT;
-#line 866 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 869 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp10_ = uris;
-#line 6047 "LibraryWindow.c"
+#line 6147 "LibraryWindow.c"
{
GSList* uri_collection = NULL;
GSList* uri_it = NULL;
-#line 866 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 869 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
uri_collection = _tmp10_;
-#line 866 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 869 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
for (uri_it = uri_collection; uri_it != NULL; uri_it = uri_it->next) {
-#line 6055 "LibraryWindow.c"
+#line 6155 "LibraryWindow.c"
gchar* _tmp11_ = NULL;
gchar* uri = NULL;
-#line 866 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 869 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp11_ = g_strdup ((const gchar*) uri_it->data);
-#line 866 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 869 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
uri = _tmp11_;
-#line 6062 "LibraryWindow.c"
+#line 6162 "LibraryWindow.c"
{
const gchar* _tmp12_ = NULL;
GFile* _tmp13_ = NULL;
GFile* _tmp14_ = NULL;
gboolean _tmp15_ = FALSE;
gboolean _tmp16_ = FALSE;
-#line 867 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 870 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp12_ = uri;
-#line 867 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 870 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp13_ = g_file_new_for_uri (_tmp12_);
-#line 867 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 870 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp14_ = _tmp13_;
-#line 867 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 870 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp15_ = app_dirs_is_in_import_dir (_tmp14_);
-#line 867 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 870 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp16_ = !_tmp15_;
-#line 867 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 870 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (_tmp14_);
-#line 867 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 870 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp16_) {
-#line 6083 "LibraryWindow.c"
+#line 6183 "LibraryWindow.c"
GtkResponseType _tmp17_ = 0;
-#line 868 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 871 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp17_ = copy_files_dialog ();
-#line 868 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 871 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_result_ = _tmp17_;
-#line 870 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 873 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_free0 (uri);
-#line 870 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 873 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
break;
-#line 6093 "LibraryWindow.c"
+#line 6193 "LibraryWindow.c"
}
-#line 866 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 869 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_free0 (uri);
-#line 6097 "LibraryWindow.c"
+#line 6197 "LibraryWindow.c"
}
}
}
-#line 874 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 877 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp18_ = _result_;
-#line 874 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 877 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
switch (_tmp18_) {
-#line 874 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 877 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
case GTK_RESPONSE_ACCEPT:
-#line 6107 "LibraryWindow.c"
+#line 6207 "LibraryWindow.c"
{
-#line 876 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 879 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
selected_action = GDK_ACTION_COPY;
-#line 877 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 880 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
break;
-#line 6113 "LibraryWindow.c"
+#line 6213 "LibraryWindow.c"
}
-#line 874 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 877 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
case GTK_RESPONSE_REJECT:
-#line 6117 "LibraryWindow.c"
+#line 6217 "LibraryWindow.c"
{
-#line 880 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 883 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
selected_action = GDK_ACTION_LINK;
-#line 881 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 884 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
break;
-#line 6123 "LibraryWindow.c"
+#line 6223 "LibraryWindow.c"
}
default:
{
GdkDragContext* _tmp19_ = NULL;
guint _tmp20_ = 0U;
-#line 885 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 888 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp19_ = context;
-#line 885 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 888 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp20_ = time;
-#line 885 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 888 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
gtk_drag_finish (_tmp19_, FALSE, FALSE, (guint32) _tmp20_);
-#line 887 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 890 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
__g_slist_free__g_free0_0 (uris);
-#line 887 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 890 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
uris_array = (_vala_array_free (uris_array, uris_array_length1, (GDestroyNotify) g_free), NULL);
-#line 887 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 890 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return;
-#line 6141 "LibraryWindow.c"
+#line 6241 "LibraryWindow.c"
}
}
}
-#line 891 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 894 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp21_ = uris;
-#line 891 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 894 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp22_ = selected_action;
-#line 891 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 894 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_dispatch_import_jobs (self, _tmp21_, "drag-and-drop", _tmp22_ == GDK_ACTION_COPY);
-#line 893 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 896 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp23_ = context;
-#line 893 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 896 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp24_ = time;
-#line 893 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 896 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
gtk_drag_finish (_tmp23_, TRUE, FALSE, (guint32) _tmp24_);
-#line 854 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 857 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
__g_slist_free__g_free0_0 (uris);
-#line 854 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 857 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
uris_array = (_vala_array_free (uris_array, uris_array_length1, (GDestroyNotify) g_free), NULL);
-#line 6161 "LibraryWindow.c"
+#line 6261 "LibraryWindow.c"
}
@@ -6168,23 +6268,23 @@ void library_window_switch_to_library_page (LibraryWindow* self) {
LibraryPhotosEntry* _tmp2_ = NULL;
Page* _tmp3_ = NULL;
Page* _tmp4_ = NULL;
-#line 896 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 899 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (IS_LIBRARY_WINDOW (self));
-#line 897 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 900 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp0_ = self->priv->library_branch;
-#line 897 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 900 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp1_ = library_branch_get_photos_entry (_tmp0_);
-#line 897 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 900 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp2_ = _tmp1_;
-#line 897 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 900 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp3_ = sidebar_page_representative_get_page (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, SIDEBAR_TYPE_PAGE_REPRESENTATIVE, SidebarPageRepresentative));
-#line 897 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 900 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp4_ = _tmp3_;
-#line 897 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 900 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_switch_to_page (self, _tmp4_);
-#line 897 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 900 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (_tmp4_);
-#line 6187 "LibraryWindow.c"
+#line 6287 "LibraryWindow.c"
}
@@ -6194,41 +6294,41 @@ void library_window_switch_to_event (LibraryWindow* self, Event* event) {
Event* _tmp1_ = NULL;
EventsEventEntry* _tmp2_ = NULL;
EventsEventEntry* _tmp3_ = NULL;
-#line 900 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 903 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (IS_LIBRARY_WINDOW (self));
-#line 900 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 903 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (IS_EVENT (event));
-#line 901 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 904 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp0_ = self->priv->events_branch;
-#line 901 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 904 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp1_ = event;
-#line 901 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 904 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp2_ = events_branch_get_entry_for_event (_tmp0_, _tmp1_);
-#line 901 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 904 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
entry = _tmp2_;
-#line 902 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 905 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp3_ = entry;
-#line 902 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 905 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp3_ != NULL) {
-#line 6213 "LibraryWindow.c"
+#line 6313 "LibraryWindow.c"
EventsEventEntry* _tmp4_ = NULL;
Page* _tmp5_ = NULL;
Page* _tmp6_ = NULL;
-#line 903 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 906 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp4_ = entry;
-#line 903 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 906 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp5_ = sidebar_page_representative_get_page (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, SIDEBAR_TYPE_PAGE_REPRESENTATIVE, SidebarPageRepresentative));
-#line 903 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 906 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp6_ = _tmp5_;
-#line 903 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 906 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_switch_to_page (self, _tmp6_);
-#line 903 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 906 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (_tmp6_);
-#line 6227 "LibraryWindow.c"
+#line 6327 "LibraryWindow.c"
}
-#line 900 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 903 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (entry);
-#line 6231 "LibraryWindow.c"
+#line 6331 "LibraryWindow.c"
}
@@ -6238,41 +6338,41 @@ void library_window_switch_to_tag (LibraryWindow* self, Tag* tag) {
Tag* _tmp1_ = NULL;
TagsSidebarEntry* _tmp2_ = NULL;
TagsSidebarEntry* _tmp3_ = NULL;
-#line 906 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 909 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (IS_LIBRARY_WINDOW (self));
-#line 906 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 909 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (IS_TAG (tag));
-#line 907 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 910 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp0_ = self->priv->tags_branch;
-#line 907 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 910 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp1_ = tag;
-#line 907 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 910 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp2_ = tags_branch_get_entry_for_tag (_tmp0_, _tmp1_);
-#line 907 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 910 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
entry = _tmp2_;
-#line 908 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 911 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp3_ = entry;
-#line 908 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 911 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp3_ != NULL) {
-#line 6257 "LibraryWindow.c"
+#line 6357 "LibraryWindow.c"
TagsSidebarEntry* _tmp4_ = NULL;
Page* _tmp5_ = NULL;
Page* _tmp6_ = NULL;
-#line 909 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 912 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp4_ = entry;
-#line 909 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 912 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp5_ = sidebar_page_representative_get_page (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, SIDEBAR_TYPE_PAGE_REPRESENTATIVE, SidebarPageRepresentative));
-#line 909 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 912 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp6_ = _tmp5_;
-#line 909 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 912 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_switch_to_page (self, _tmp6_);
-#line 909 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 912 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (_tmp6_);
-#line 6271 "LibraryWindow.c"
+#line 6371 "LibraryWindow.c"
}
-#line 906 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 909 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (entry);
-#line 6275 "LibraryWindow.c"
+#line 6375 "LibraryWindow.c"
}
@@ -6282,41 +6382,41 @@ void library_window_switch_to_saved_search (LibraryWindow* self, SavedSearch* se
SavedSearch* _tmp1_ = NULL;
SearchesSidebarEntry* _tmp2_ = NULL;
SearchesSidebarEntry* _tmp3_ = NULL;
-#line 912 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 915 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (IS_LIBRARY_WINDOW (self));
-#line 912 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 915 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (IS_SAVED_SEARCH (search));
-#line 913 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 916 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp0_ = self->priv->saved_search_branch;
-#line 913 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 916 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp1_ = search;
-#line 913 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 916 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp2_ = searches_branch_get_entry_for_saved_search (_tmp0_, _tmp1_);
-#line 913 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 916 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
entry = _tmp2_;
-#line 914 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 917 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp3_ = entry;
-#line 914 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 917 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp3_ != NULL) {
-#line 6301 "LibraryWindow.c"
+#line 6401 "LibraryWindow.c"
SearchesSidebarEntry* _tmp4_ = NULL;
Page* _tmp5_ = NULL;
Page* _tmp6_ = NULL;
-#line 915 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 918 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp4_ = entry;
-#line 915 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 918 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp5_ = sidebar_page_representative_get_page (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, SIDEBAR_TYPE_PAGE_REPRESENTATIVE, SidebarPageRepresentative));
-#line 915 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 918 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp6_ = _tmp5_;
-#line 915 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 918 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_switch_to_page (self, _tmp6_);
-#line 915 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 918 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (_tmp6_);
-#line 6315 "LibraryWindow.c"
+#line 6415 "LibraryWindow.c"
}
-#line 912 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 915 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (entry);
-#line 6319 "LibraryWindow.c"
+#line 6419 "LibraryWindow.c"
}
@@ -6332,66 +6432,66 @@ void library_window_switch_to_photo_page (LibraryWindow* self, CollectionPage* c
CollectionPage* _tmp10_ = NULL;
Photo* _tmp11_ = NULL;
LibraryPhotoPage* _tmp12_ = NULL;
-#line 918 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 921 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (IS_LIBRARY_WINDOW (self));
-#line 918 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 921 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (IS_COLLECTION_PAGE (controller));
-#line 918 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 921 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (IS_PHOTO (current));
-#line 919 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 922 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp0_ = controller;
-#line 919 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 922 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp1_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, TYPE_PAGE, Page));
-#line 919 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 922 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp2_ = _tmp1_;
-#line 919 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 922 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp3_ = current;
-#line 919 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 922 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp4_ = view_collection_get_view_for_source (_tmp2_, G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, TYPE_DATA_SOURCE, DataSource));
-#line 919 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 922 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp5_ = _tmp4_;
-#line 919 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 922 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_vala_assert (_tmp5_ != NULL, "controller.get_view().get_view_for_source(current) != null");
-#line 919 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 922 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (_tmp5_);
-#line 919 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 922 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_data_collection_unref0 (_tmp2_);
-#line 920 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 923 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp6_ = self->priv->photo_page;
-#line 920 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 923 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp6_ == NULL) {
-#line 6363 "LibraryWindow.c"
+#line 6463 "LibraryWindow.c"
LibraryPhotoPage* _tmp7_ = NULL;
LibraryPhotoPage* _tmp8_ = NULL;
-#line 921 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 924 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp7_ = library_photo_page_new ();
-#line 921 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 924 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_object_ref_sink (_tmp7_);
-#line 921 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 924 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (self->priv->photo_page);
-#line 921 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 924 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
self->priv->photo_page = _tmp7_;
-#line 922 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 925 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp8_ = self->priv->photo_page;
-#line 922 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 925 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_add_to_stack (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, TYPE_PAGE, Page));
-#line 926 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 929 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
spin_event_loop ();
-#line 6380 "LibraryWindow.c"
+#line 6480 "LibraryWindow.c"
}
-#line 929 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 932 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp9_ = self->priv->photo_page;
-#line 929 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 932 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp10_ = controller;
-#line 929 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 932 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp11_ = current;
-#line 929 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 932 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_photo_page_display_for_collection (_tmp9_, _tmp10_, _tmp11_, NULL);
-#line 930 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 933 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp12_ = self->priv->photo_page;
-#line 930 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 933 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_switch_to_page (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, TYPE_PAGE, Page));
-#line 6394 "LibraryWindow.c"
+#line 6494 "LibraryWindow.c"
}
@@ -6401,23 +6501,23 @@ void library_window_switch_to_import_queue_page (LibraryWindow* self) {
LibraryImportQueueSidebarEntry* _tmp2_ = NULL;
Page* _tmp3_ = NULL;
Page* _tmp4_ = NULL;
-#line 933 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 936 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (IS_LIBRARY_WINDOW (self));
-#line 934 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 937 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp0_ = self->priv->library_branch;
-#line 934 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 937 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp1_ = library_branch_get_import_queue_entry (_tmp0_);
-#line 934 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 937 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp2_ = _tmp1_;
-#line 934 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 937 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp3_ = sidebar_page_representative_get_page (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, SIDEBAR_TYPE_PAGE_REPRESENTATIVE, SidebarPageRepresentative));
-#line 934 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 937 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp4_ = _tmp3_;
-#line 934 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 937 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_switch_to_page (self, _tmp4_);
-#line 934 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 937 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (_tmp4_);
-#line 6420 "LibraryWindow.c"
+#line 6520 "LibraryWindow.c"
}
@@ -6438,169 +6538,169 @@ static void library_window_on_camera_added (LibraryWindow* self, DiscoveredCamer
gboolean _tmp13_ = FALSE;
GMount* _tmp14_ = NULL;
GError * _inner_error_ = NULL;
-#line 937 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 940 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (IS_LIBRARY_WINDOW (self));
-#line 937 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 940 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (IS_DISCOVERED_CAMERA (camera));
-#line 938 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 941 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp0_ = self->priv->camera_branch;
-#line 938 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 941 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp1_ = camera;
-#line 938 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 941 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp2_ = camera_branch_get_entry_for_camera (_tmp0_, _tmp1_);
-#line 938 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 941 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
entry = _tmp2_;
-#line 939 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 942 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp3_ = entry;
-#line 939 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 942 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp3_ == NULL) {
-#line 940 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 943 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (entry);
-#line 940 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 943 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return;
-#line 6461 "LibraryWindow.c"
+#line 6561 "LibraryWindow.c"
}
-#line 942 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 945 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp4_ = entry;
-#line 942 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 945 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp5_ = sidebar_page_representative_get_page (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, SIDEBAR_TYPE_PAGE_REPRESENTATIVE, SidebarPageRepresentative));
-#line 942 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 945 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
page = G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, TYPE_IMPORT_PAGE, ImportPage);
-#line 943 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 946 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp6_ = camera;
-#line 943 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 946 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp7_ = _tmp6_->uri;
-#line 943 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 946 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp8_ = g_file_new_for_uri (_tmp7_);
-#line 943 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- uri_file = _tmp8_;
#line 946 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ uri_file = _tmp8_;
+#line 949 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
mount = NULL;
-#line 6479 "LibraryWindow.c"
+#line 6579 "LibraryWindow.c"
{
GMount* _tmp9_ = NULL;
GFile* _tmp10_ = NULL;
GMount* _tmp11_ = NULL;
GMount* _tmp12_ = NULL;
-#line 948 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 951 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp10_ = uri_file;
-#line 948 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 951 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp11_ = g_file_find_enclosing_mount (_tmp10_, NULL, &_inner_error_);
-#line 948 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 951 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp9_ = _tmp11_;
-#line 948 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 951 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 6493 "LibraryWindow.c"
+#line 6593 "LibraryWindow.c"
goto __catch39_g_error;
}
-#line 948 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 951 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp12_ = _tmp9_;
-#line 948 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 951 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp9_ = NULL;
-#line 948 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 951 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (mount);
-#line 948 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 951 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
mount = _tmp12_;
-#line 947 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 950 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (_tmp9_);
-#line 6506 "LibraryWindow.c"
+#line 6606 "LibraryWindow.c"
}
goto __finally39;
__catch39_g_error:
{
GError* err = NULL;
-#line 947 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 950 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
err = _inner_error_;
-#line 947 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 950 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_inner_error_ = NULL;
-#line 947 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 950 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_error_free0 (err);
-#line 6518 "LibraryWindow.c"
+#line 6618 "LibraryWindow.c"
}
__finally39:
-#line 947 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 950 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 947 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 950 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (mount);
-#line 947 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 950 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (uri_file);
-#line 947 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 950 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (page);
-#line 947 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 950 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (entry);
-#line 947 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 950 "/home/jens/Source/shotwell/src/library/LibraryWindow.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 947 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 950 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_clear_error (&_inner_error_);
-#line 947 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 950 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return;
-#line 6537 "LibraryWindow.c"
+#line 6637 "LibraryWindow.c"
}
-#line 954 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 957 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp14_ = mount;
-#line 954 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 957 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp14_ != NULL) {
-#line 6543 "LibraryWindow.c"
+#line 6643 "LibraryWindow.c"
DiscoveredCamera* _tmp15_ = NULL;
const gchar* _tmp16_ = NULL;
gboolean _tmp17_ = FALSE;
-#line 954 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 957 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp15_ = camera;
-#line 954 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 957 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp16_ = _tmp15_->uri;
-#line 954 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 957 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp17_ = g_str_has_prefix (_tmp16_, "file://");
-#line 954 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 957 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp13_ = !_tmp17_;
-#line 6555 "LibraryWindow.c"
+#line 6655 "LibraryWindow.c"
} else {
-#line 954 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 957 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp13_ = FALSE;
-#line 6559 "LibraryWindow.c"
+#line 6659 "LibraryWindow.c"
}
-#line 954 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 957 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp13_) {
-#line 6563 "LibraryWindow.c"
+#line 6663 "LibraryWindow.c"
ImportPage* _tmp18_ = NULL;
GMount* _tmp19_ = NULL;
gboolean _tmp20_ = FALSE;
-#line 955 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 958 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp18_ = page;
-#line 955 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 958 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp19_ = mount;
-#line 955 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 958 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp20_ = import_page_unmount_camera (_tmp18_, _tmp19_);
-#line 955 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 958 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp20_) {
-#line 6575 "LibraryWindow.c"
+#line 6675 "LibraryWindow.c"
ImportPage* _tmp21_ = NULL;
-#line 956 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 959 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp21_ = page;
-#line 956 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 959 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_switch_to_page (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp21_, TYPE_PAGE, Page));
-#line 6581 "LibraryWindow.c"
+#line 6681 "LibraryWindow.c"
} else {
-#line 958 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 961 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
app_window_error_message ("Unable to unmount the camera at this time.", NULL);
-#line 6585 "LibraryWindow.c"
+#line 6685 "LibraryWindow.c"
}
} else {
ImportPage* _tmp22_ = NULL;
-#line 960 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 963 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp22_ = page;
-#line 960 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 963 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_switch_to_page (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, TYPE_PAGE, Page));
-#line 6593 "LibraryWindow.c"
+#line 6693 "LibraryWindow.c"
}
-#line 937 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 940 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (mount);
-#line 937 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 940 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (uri_file);
-#line 937 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 940 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (page);
-#line 937 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 940 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (entry);
-#line 6603 "LibraryWindow.c"
+#line 6703 "LibraryWindow.c"
}
@@ -6609,25 +6709,25 @@ void library_window_add_to_stack (LibraryWindow* self, Page* page) {
GtkStack* _tmp1_ = NULL;
Page* _tmp2_ = NULL;
GtkStack* _tmp3_ = NULL;
-#line 965 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 968 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (IS_LIBRARY_WINDOW (self));
-#line 965 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 968 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (IS_PAGE (page));
-#line 967 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 970 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp0_ = page;
-#line 967 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 970 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget));
-#line 969 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 972 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp1_ = self->priv->stack;
-#line 969 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 972 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp2_ = page;
-#line 969 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 972 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_widget_get_type (), GtkWidget));
-#line 971 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 974 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp3_ = self->priv->stack;
-#line 971 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 974 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_widget_get_type (), GtkWidget));
-#line 6630 "LibraryWindow.c"
+#line 6730 "LibraryWindow.c"
}
@@ -6635,49 +6735,49 @@ static void library_window_remove_from_stack (LibraryWindow* self, Page* page) {
GtkStack* _tmp0_ = NULL;
Page* _tmp1_ = NULL;
GtkStack* _tmp2_ = NULL;
-#line 974 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 977 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (IS_LIBRARY_WINDOW (self));
-#line 974 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 977 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (IS_PAGE (page));
-#line 975 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 978 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp0_ = self->priv->stack;
-#line 975 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 978 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp1_ = page;
-#line 975 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- gtk_container_remove (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_widget_get_type (), GtkWidget));
#line 978 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ gtk_container_remove (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_widget_get_type (), GtkWidget));
+#line 981 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp2_ = self->priv->stack;
-#line 978 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 981 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_widget_get_type (), GtkWidget));
-#line 6652 "LibraryWindow.c"
+#line 6752 "LibraryWindow.c"
}
-static GVariant* _variant_new6 (gboolean value) {
-#line 985 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+static GVariant* _variant_new10 (gboolean value) {
+#line 988 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return g_variant_ref_sink (g_variant_new_boolean (value));
-#line 6659 "LibraryWindow.c"
+#line 6759 "LibraryWindow.c"
}
-static GVariant* _variant_new7 (gboolean value) {
-#line 989 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+static GVariant* _variant_new11 (gboolean value) {
+#line 992 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return g_variant_ref_sink (g_variant_new_boolean (value));
-#line 6666 "LibraryWindow.c"
+#line 6766 "LibraryWindow.c"
}
-static GVariant* _variant_new8 (gboolean value) {
-#line 993 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+static GVariant* _variant_new12 (gboolean value) {
+#line 996 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return g_variant_ref_sink (g_variant_new_boolean (value));
-#line 6673 "LibraryWindow.c"
+#line 6773 "LibraryWindow.c"
}
-static GVariant* _variant_new9 (const gchar* value) {
-#line 1004 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+static GVariant* _variant_new13 (const gchar* value) {
+#line 1007 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return g_variant_ref_sink (g_variant_new_string (value));
-#line 6680 "LibraryWindow.c"
+#line 6780 "LibraryWindow.c"
}
@@ -6722,148 +6822,148 @@ static void library_window_load_configuration (LibraryWindow* self) {
gchar* _tmp32_ = NULL;
GAction* _tmp33_ = NULL;
GVariant* _tmp34_ = NULL;
-#line 982 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 985 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (IS_LIBRARY_WINDOW (self));
-#line 983 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 986 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp0_ = g_action_map_lookup_action (G_TYPE_CHECK_INSTANCE_CAST (self, g_action_map_get_type (), GActionMap), "CommonDisplayBasicProperties");
-#line 983 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 986 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp1_ = _g_object_ref0 (_tmp0_);
-#line 983 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 986 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
basic_display_action = _tmp1_;
-#line 984 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 987 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp2_ = basic_display_action;
-#line 984 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 987 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_vala_assert (_tmp2_ != NULL, "basic_display_action != null");
-#line 985 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 988 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp3_ = basic_display_action;
-#line 985 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 988 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp4_ = config_facade_get_instance ();
-#line 985 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 988 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp5_ = _tmp4_;
-#line 985 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 988 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp6_ = configuration_facade_get_display_basic_properties (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
-#line 985 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- _tmp7_ = _variant_new6 (_tmp6_);
-#line 985 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 988 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ _tmp7_ = _variant_new10 (_tmp6_);
+#line 988 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_action_change_state (_tmp3_, _tmp7_);
-#line 985 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 988 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_variant_unref0 (_tmp7_);
-#line 985 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 988 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (_tmp5_);
-#line 987 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 990 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp8_ = g_action_map_lookup_action (G_TYPE_CHECK_INSTANCE_CAST (self, g_action_map_get_type (), GActionMap), "CommonDisplayExtendedProperties");
-#line 987 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 990 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp9_ = _g_object_ref0 (_tmp8_);
-#line 987 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 990 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
extended_display_action = _tmp9_;
-#line 988 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 991 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp10_ = extended_display_action;
-#line 988 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 991 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_vala_assert (_tmp10_ != NULL, "extended_display_action != null");
-#line 989 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 992 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp11_ = extended_display_action;
-#line 989 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 992 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp12_ = config_facade_get_instance ();
-#line 989 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 992 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp13_ = _tmp12_;
-#line 989 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 992 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp14_ = configuration_facade_get_display_extended_properties (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
-#line 989 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- _tmp15_ = _variant_new7 (_tmp14_);
-#line 989 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 992 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ _tmp15_ = _variant_new11 (_tmp14_);
+#line 992 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_action_change_state (_tmp11_, _tmp15_);
-#line 989 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 992 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_variant_unref0 (_tmp15_);
-#line 989 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 992 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (_tmp13_);
-#line 991 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 994 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp16_ = g_action_map_lookup_action (G_TYPE_CHECK_INSTANCE_CAST (self, g_action_map_get_type (), GActionMap), "CommonDisplaySearchbar");
-#line 991 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 994 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp17_ = _g_object_ref0 (_tmp16_);
-#line 991 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 994 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
search_bar_display_action = _tmp17_;
-#line 992 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 995 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp18_ = search_bar_display_action;
-#line 992 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 995 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_vala_assert (_tmp18_ != NULL, "search_bar_display_action != null");
-#line 993 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 996 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp19_ = search_bar_display_action;
-#line 993 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 996 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp20_ = config_facade_get_instance ();
-#line 993 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 996 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp21_ = _tmp20_;
-#line 993 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 996 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp22_ = configuration_facade_get_display_search_bar (G_TYPE_CHECK_INSTANCE_CAST (_tmp21_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
-#line 993 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- _tmp23_ = _variant_new8 (_tmp22_);
-#line 993 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 996 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ _tmp23_ = _variant_new12 (_tmp22_);
+#line 996 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_action_change_state (_tmp19_, _tmp23_);
-#line 993 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 996 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_variant_unref0 (_tmp23_);
-#line 993 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 996 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (_tmp21_);
-#line 995 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 998 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp24_ = g_action_map_lookup_action (G_TYPE_CHECK_INSTANCE_CAST (self, g_action_map_get_type (), GActionMap), "CommonSortEvents");
-#line 995 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 998 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp25_ = _g_object_ref0 (_tmp24_);
-#line 995 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 998 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
sort_events_action = _tmp25_;
-#line 996 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 999 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp26_ = sort_events_action;
-#line 996 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 999 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_vala_assert (_tmp26_ != NULL, "sort_events_action != null");
-#line 1001 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1004 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp28_ = config_facade_get_instance ();
-#line 1001 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1004 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp29_ = _tmp28_;
-#line 1001 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1004 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp30_ = configuration_facade_get_events_sort_ascending (G_TYPE_CHECK_INSTANCE_CAST (_tmp29_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
-#line 1001 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1004 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp31_ = _tmp30_;
-#line 1001 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1004 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (_tmp29_);
-#line 1001 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1004 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp31_) {
-#line 1001 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1004 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp27_ = LIBRARY_WINDOW_SORT_EVENTS_ORDER_ASCENDING;
-#line 6829 "LibraryWindow.c"
+#line 6929 "LibraryWindow.c"
} else {
-#line 1002 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1005 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp27_ = LIBRARY_WINDOW_SORT_EVENTS_ORDER_DESCENDING;
-#line 6833 "LibraryWindow.c"
+#line 6933 "LibraryWindow.c"
}
-#line 1001 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1004 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp32_ = g_strdup (_tmp27_);
-#line 1001 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- event_sort_val = _tmp32_;
#line 1004 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ event_sort_val = _tmp32_;
+#line 1007 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp33_ = sort_events_action;
-#line 1004 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- _tmp34_ = _variant_new9 (event_sort_val);
-#line 1004 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1007 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ _tmp34_ = _variant_new13 (event_sort_val);
+#line 1007 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_action_change_state (_tmp33_, _tmp34_);
-#line 1004 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1007 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_variant_unref0 (_tmp34_);
-#line 982 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 985 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_free0 (event_sort_val);
-#line 982 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 985 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (sort_events_action);
-#line 982 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 985 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (search_bar_display_action);
-#line 982 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 985 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (extended_display_action);
-#line 982 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 985 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (basic_display_action);
-#line 6857 "LibraryWindow.c"
+#line 6957 "LibraryWindow.c"
}
static gboolean _library_window_on_pulse_background_progress_bar_gsource_func (gpointer self) {
gboolean result;
result = library_window_on_pulse_background_progress_bar ((LibraryWindow*) self);
-#line 1019 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1022 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return result;
-#line 6866 "LibraryWindow.c"
+#line 6966 "LibraryWindow.c"
}
@@ -6876,62 +6976,62 @@ static void library_window_start_pulse_background_progress_bar (LibraryWindow* s
const gchar* _tmp5_ = NULL;
GtkProgressBar* _tmp6_ = NULL;
guint _tmp7_ = 0U;
-#line 1007 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1010 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (IS_LIBRARY_WINDOW (self));
-#line 1007 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1010 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (label != NULL);
-#line 1008 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1011 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp0_ = priority;
-#line 1008 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1011 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp1_ = self->priv->current_progress_priority;
-#line 1008 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1011 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp0_ < _tmp1_) {
-#line 1009 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1012 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return;
-#line 6891 "LibraryWindow.c"
+#line 6991 "LibraryWindow.c"
}
-#line 1011 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1014 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp2_ = priority;
-#line 1011 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1014 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_stop_pulse_background_progress_bar (self, _tmp2_, FALSE);
-#line 1013 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1016 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp3_ = priority;
-#line 1013 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1016 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
self->priv->current_progress_priority = _tmp3_;
-#line 1015 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1018 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp4_ = self->priv->background_progress_bar;
-#line 1015 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1018 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp5_ = label;
-#line 1015 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1018 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
gtk_progress_bar_set_text (_tmp4_, _tmp5_);
-#line 1016 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1019 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp6_ = self->priv->background_progress_bar;
-#line 1016 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1019 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
gtk_progress_bar_pulse (_tmp6_);
-#line 1017 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1020 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_show_background_progress_bar (self);
-#line 1019 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1022 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp7_ = g_timeout_add_full (G_PRIORITY_DEFAULT, (guint) LIBRARY_WINDOW_BACKGROUND_PROGRESS_PULSE_MSEC, _library_window_on_pulse_background_progress_bar_gsource_func, g_object_ref (self), g_object_unref);
-#line 1019 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1022 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
self->priv->background_progress_pulse_id = _tmp7_;
-#line 6917 "LibraryWindow.c"
+#line 7017 "LibraryWindow.c"
}
static gboolean library_window_on_pulse_background_progress_bar (LibraryWindow* self) {
gboolean result = FALSE;
GtkProgressBar* _tmp0_ = NULL;
-#line 1023 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1026 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_val_if_fail (IS_LIBRARY_WINDOW (self), FALSE);
-#line 1024 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1027 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp0_ = self->priv->background_progress_bar;
-#line 1024 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1027 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
gtk_progress_bar_pulse (_tmp0_);
-#line 1026 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1029 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
result = TRUE;
-#line 1026 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1029 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return result;
-#line 6934 "LibraryWindow.c"
+#line 7034 "LibraryWindow.c"
}
@@ -6940,43 +7040,43 @@ static void library_window_stop_pulse_background_progress_bar (LibraryWindow* se
gint _tmp1_ = 0;
guint _tmp2_ = 0U;
gboolean _tmp4_ = FALSE;
-#line 1029 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1032 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (IS_LIBRARY_WINDOW (self));
-#line 1030 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1033 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp0_ = priority;
-#line 1030 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1033 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp1_ = self->priv->current_progress_priority;
-#line 1030 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1033 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp0_ < _tmp1_) {
-#line 1031 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1034 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return;
-#line 6953 "LibraryWindow.c"
+#line 7053 "LibraryWindow.c"
}
-#line 1033 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1036 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp2_ = self->priv->background_progress_pulse_id;
-#line 1033 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1036 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp2_ != ((guint) 0)) {
-#line 6959 "LibraryWindow.c"
+#line 7059 "LibraryWindow.c"
guint _tmp3_ = 0U;
-#line 1034 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1037 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp3_ = self->priv->background_progress_pulse_id;
-#line 1034 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1037 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_source_remove (_tmp3_);
-#line 1035 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1038 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
self->priv->background_progress_pulse_id = (guint) 0;
-#line 6967 "LibraryWindow.c"
+#line 7067 "LibraryWindow.c"
}
-#line 1038 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1041 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp4_ = clear;
-#line 1038 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1041 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp4_) {
-#line 6973 "LibraryWindow.c"
+#line 7073 "LibraryWindow.c"
gint _tmp5_ = 0;
-#line 1039 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1042 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp5_ = priority;
-#line 1039 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1042 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_clear_background_progress_bar (self, _tmp5_);
-#line 6979 "LibraryWindow.c"
+#line 7079 "LibraryWindow.c"
}
}
@@ -7000,102 +7100,102 @@ static void library_window_update_background_progress_bar (LibraryWindow* self,
gdouble _tmp18_ = 0.0;
gchar* _tmp19_ = NULL;
gchar* _tmp20_ = NULL;
-#line 1042 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1045 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (IS_LIBRARY_WINDOW (self));
-#line 1042 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1045 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (label != NULL);
-#line 1044 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1047 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp0_ = priority;
-#line 1044 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1047 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp1_ = self->priv->current_progress_priority;
-#line 1044 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1047 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp0_ < _tmp1_) {
-#line 1045 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1048 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return;
-#line 7015 "LibraryWindow.c"
+#line 7115 "LibraryWindow.c"
}
-#line 1047 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1050 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp2_ = priority;
-#line 1047 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1050 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_stop_pulse_background_progress_bar (self, _tmp2_, FALSE);
-#line 1049 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1052 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp5_ = count;
-#line 1049 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1052 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp5_ <= 0.0) {
-#line 1049 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1052 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp4_ = TRUE;
-#line 7027 "LibraryWindow.c"
+#line 7127 "LibraryWindow.c"
} else {
gdouble _tmp6_ = 0.0;
-#line 1049 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1052 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp6_ = total;
-#line 1049 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1052 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp4_ = _tmp6_ <= 0.0;
-#line 7034 "LibraryWindow.c"
+#line 7134 "LibraryWindow.c"
}
-#line 1049 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1052 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp4_) {
-#line 1049 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1052 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp3_ = TRUE;
-#line 7040 "LibraryWindow.c"
+#line 7140 "LibraryWindow.c"
} else {
gdouble _tmp7_ = 0.0;
gdouble _tmp8_ = 0.0;
-#line 1049 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1052 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp7_ = count;
-#line 1049 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1052 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp8_ = total;
-#line 1049 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1052 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp3_ = _tmp7_ >= _tmp8_;
-#line 7050 "LibraryWindow.c"
+#line 7150 "LibraryWindow.c"
}
-#line 1049 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1052 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp3_) {
-#line 7054 "LibraryWindow.c"
+#line 7154 "LibraryWindow.c"
gint _tmp9_ = 0;
-#line 1050 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1053 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp9_ = priority;
-#line 1050 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1053 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_clear_background_progress_bar (self, _tmp9_);
-#line 1052 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1055 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return;
-#line 7062 "LibraryWindow.c"
+#line 7162 "LibraryWindow.c"
}
-#line 1055 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1058 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp10_ = priority;
-#line 1055 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1058 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
self->priv->current_progress_priority = _tmp10_;
-#line 1057 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1060 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp11_ = count;
-#line 1057 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1060 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp12_ = total;
-#line 1057 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1060 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
fraction = _tmp11_ / _tmp12_;
-#line 1058 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1061 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp13_ = self->priv->background_progress_bar;
-#line 1058 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1061 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp14_ = fraction;
-#line 1058 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1061 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
gtk_progress_bar_set_fraction (_tmp13_, _tmp14_);
-#line 1059 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1062 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp15_ = self->priv->background_progress_bar;
-#line 1059 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1062 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp16_ = _ ("%s (%d%%)");
-#line 1059 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1062 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp17_ = label;
-#line 1059 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1062 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp18_ = fraction;
-#line 1059 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1062 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp19_ = g_strdup_printf (_tmp16_, _tmp17_, (gint) (_tmp18_ * 100.0));
-#line 1059 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1062 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp20_ = _tmp19_;
-#line 1059 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1062 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
gtk_progress_bar_set_text (_tmp15_, _tmp20_);
-#line 1059 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1062 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_free0 (_tmp20_);
-#line 1060 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1063 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_show_background_progress_bar (self);
-#line 7098 "LibraryWindow.c"
+#line 7198 "LibraryWindow.c"
}
@@ -7105,149 +7205,149 @@ static void library_window_clear_background_progress_bar (LibraryWindow* self, g
gint _tmp2_ = 0;
GtkProgressBar* _tmp3_ = NULL;
GtkProgressBar* _tmp4_ = NULL;
-#line 1069 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1072 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (IS_LIBRARY_WINDOW (self));
-#line 1070 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1073 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp0_ = priority;
-#line 1070 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1073 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp1_ = self->priv->current_progress_priority;
-#line 1070 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1073 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp0_ < _tmp1_) {
-#line 1071 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1074 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return;
-#line 7118 "LibraryWindow.c"
+#line 7218 "LibraryWindow.c"
}
-#line 1073 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1076 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp2_ = priority;
-#line 1073 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1076 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_stop_pulse_background_progress_bar (self, _tmp2_, FALSE);
-#line 1075 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1078 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
self->priv->current_progress_priority = 0;
-#line 1077 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1080 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp3_ = self->priv->background_progress_bar;
-#line 1077 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1080 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
gtk_progress_bar_set_fraction (_tmp3_, 0.0);
-#line 1078 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1081 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp4_ = self->priv->background_progress_bar;
-#line 1078 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1081 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
gtk_progress_bar_set_text (_tmp4_, "");
-#line 1079 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1082 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_hide_background_progress_bar (self);
-#line 7136 "LibraryWindow.c"
+#line 7236 "LibraryWindow.c"
}
static void library_window_show_background_progress_bar (LibraryWindow* self) {
gboolean _tmp0_ = FALSE;
-#line 1087 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1090 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (IS_LIBRARY_WINDOW (self));
-#line 1088 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1091 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp0_ = self->priv->background_progress_displayed;
-#line 1088 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1091 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (!_tmp0_) {
-#line 7148 "LibraryWindow.c"
+#line 7248 "LibraryWindow.c"
GtkBox* _tmp1_ = NULL;
GtkFrame* _tmp2_ = NULL;
GtkFrame* _tmp3_ = NULL;
-#line 1089 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1092 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp1_ = self->priv->top_section;
-#line 1089 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1092 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp2_ = self->priv->background_progress_frame;
-#line 1089 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1092 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
gtk_box_pack_end (_tmp1_, G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
-#line 1090 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1093 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp3_ = self->priv->background_progress_frame;
-#line 1090 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1093 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_widget_get_type (), GtkWidget));
-#line 1091 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1094 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
self->priv->background_progress_displayed = TRUE;
-#line 7164 "LibraryWindow.c"
+#line 7264 "LibraryWindow.c"
}
}
static void library_window_hide_background_progress_bar (LibraryWindow* self) {
gboolean _tmp0_ = FALSE;
-#line 1095 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1098 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (IS_LIBRARY_WINDOW (self));
-#line 1096 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1099 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp0_ = self->priv->background_progress_displayed;
-#line 1096 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1099 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp0_) {
-#line 7177 "LibraryWindow.c"
+#line 7277 "LibraryWindow.c"
GtkBox* _tmp1_ = NULL;
GtkFrame* _tmp2_ = NULL;
-#line 1097 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1100 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp1_ = self->priv->top_section;
-#line 1097 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1100 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp2_ = self->priv->background_progress_frame;
-#line 1097 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1100 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
gtk_container_remove (G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_widget_get_type (), GtkWidget));
-#line 1098 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1101 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
self->priv->background_progress_displayed = FALSE;
-#line 7188 "LibraryWindow.c"
+#line 7288 "LibraryWindow.c"
}
}
static void library_window_on_library_monitor_discovery_started (LibraryWindow* self) {
const gchar* _tmp0_ = NULL;
-#line 1102 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1105 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (IS_LIBRARY_WINDOW (self));
-#line 1103 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1106 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp0_ = _ ("Updating library…");
-#line 1103 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1106 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_start_pulse_background_progress_bar (self, _tmp0_, LIBRARY_WINDOW_STARTUP_SCAN_PROGRESS_PRIORITY);
-#line 7201 "LibraryWindow.c"
+#line 7301 "LibraryWindow.c"
}
static void library_window_on_library_monitor_discovery_completed (LibraryWindow* self) {
-#line 1106 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1109 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (IS_LIBRARY_WINDOW (self));
-#line 1107 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1110 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_stop_pulse_background_progress_bar (self, LIBRARY_WINDOW_STARTUP_SCAN_PROGRESS_PRIORITY, TRUE);
-#line 7210 "LibraryWindow.c"
+#line 7310 "LibraryWindow.c"
}
static void library_window_on_library_monitor_auto_update_progress (LibraryWindow* self, gint completed_files, gint total_files) {
gint _tmp0_ = 0;
-#line 1110 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1113 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (IS_LIBRARY_WINDOW (self));
-#line 1111 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1114 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp0_ = total_files;
-#line 1111 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1114 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp0_ < LIBRARY_WINDOW_MIN_PROGRESS_BAR_FILES) {
-#line 1112 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1115 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_clear_background_progress_bar (self, LIBRARY_WINDOW_REALTIME_UPDATE_PROGRESS_PRIORITY);
-#line 7224 "LibraryWindow.c"
+#line 7324 "LibraryWindow.c"
} else {
const gchar* _tmp1_ = NULL;
gint _tmp2_ = 0;
gint _tmp3_ = 0;
-#line 1114 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1117 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp1_ = _ ("Updating library…");
-#line 1114 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1117 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp2_ = completed_files;
-#line 1114 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1117 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp3_ = total_files;
-#line 1114 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1117 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_update_background_progress_bar (self, _tmp1_, LIBRARY_WINDOW_REALTIME_UPDATE_PROGRESS_PRIORITY, (gdouble) _tmp2_, (gdouble) _tmp3_);
-#line 7237 "LibraryWindow.c"
+#line 7337 "LibraryWindow.c"
}
}
static void library_window_on_library_monitor_auto_import_preparing (LibraryWindow* self) {
const gchar* _tmp0_ = NULL;
-#line 1119 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1122 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (IS_LIBRARY_WINDOW (self));
-#line 1120 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1123 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp0_ = _ ("Preparing to auto-import photos…");
-#line 1120 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1123 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_start_pulse_background_progress_bar (self, _tmp0_, LIBRARY_WINDOW_REALTIME_IMPORT_PROGRESS_PRIORITY);
-#line 7250 "LibraryWindow.c"
+#line 7350 "LibraryWindow.c"
}
@@ -7255,44 +7355,44 @@ static void library_window_on_library_monitor_auto_import_progress (LibraryWindo
const gchar* _tmp0_ = NULL;
guint64 _tmp1_ = 0ULL;
guint64 _tmp2_ = 0ULL;
-#line 1124 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1127 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (IS_LIBRARY_WINDOW (self));
-#line 1125 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1128 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp0_ = _ ("Auto-importing photos…");
-#line 1125 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1128 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp1_ = completed_bytes;
-#line 1125 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1128 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp2_ = total_bytes;
-#line 1125 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1128 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_update_background_progress_bar (self, _tmp0_, LIBRARY_WINDOW_REALTIME_IMPORT_PROGRESS_PRIORITY, (gdouble) _tmp1_, (gdouble) _tmp2_);
-#line 7268 "LibraryWindow.c"
+#line 7368 "LibraryWindow.c"
}
static void library_window_on_metadata_writer_progress (LibraryWindow* self, guint completed, guint total) {
guint _tmp0_ = 0U;
-#line 1129 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1132 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (IS_LIBRARY_WINDOW (self));
-#line 1130 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1133 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp0_ = total;
-#line 1130 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1133 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp0_ < ((guint) LIBRARY_WINDOW_MIN_PROGRESS_BAR_FILES)) {
-#line 1131 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1134 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_clear_background_progress_bar (self, LIBRARY_WINDOW_METADATA_WRITER_PROGRESS_PRIORITY);
-#line 7282 "LibraryWindow.c"
+#line 7382 "LibraryWindow.c"
} else {
const gchar* _tmp1_ = NULL;
guint _tmp2_ = 0U;
guint _tmp3_ = 0U;
-#line 1133 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1136 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp1_ = _ ("Writing metadata to files…");
-#line 1133 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1136 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp2_ = completed;
-#line 1133 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1136 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp3_ = total;
-#line 1133 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1136 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_update_background_progress_bar (self, _tmp1_, LIBRARY_WINDOW_METADATA_WRITER_PROGRESS_PRIORITY, (gdouble) _tmp2_, (gdouble) _tmp3_);
-#line 7295 "LibraryWindow.c"
+#line 7395 "LibraryWindow.c"
}
}
@@ -7329,232 +7429,253 @@ static void library_window_create_layout (LibraryWindow* self, Page* start_page)
SearchFilterToolbar* _tmp27_ = NULL;
GtkBox* _tmp28_ = NULL;
GtkStack* _tmp29_ = NULL;
- GtkPaned* _tmp30_ = NULL;
- GtkPaned* _tmp31_ = NULL;
+ GtkBox* _tmp30_ = NULL;
+ GtkRevealer* _tmp31_ = NULL;
GtkPaned* _tmp32_ = NULL;
- SidebarTree* _tmp33_ = NULL;
+ GtkPaned* _tmp33_ = NULL;
GtkPaned* _tmp34_ = NULL;
- GtkBox* _tmp35_ = NULL;
+ SidebarTree* _tmp35_ = NULL;
GtkPaned* _tmp36_ = NULL;
- ConfigFacade* _tmp37_ = NULL;
- ConfigFacade* _tmp38_ = NULL;
- gint _tmp39_ = 0;
- GtkStack* _tmp40_ = NULL;
+ GtkBox* _tmp37_ = NULL;
+ GtkPaned* _tmp38_ = NULL;
+ ConfigFacade* _tmp39_ = NULL;
+ ConfigFacade* _tmp40_ = NULL;
gint _tmp41_ = 0;
- gint _tmp42_ = 0;
- GtkBox* _tmp43_ = NULL;
- GtkPaned* _tmp44_ = NULL;
+ GtkStack* _tmp42_ = NULL;
+ gint _tmp43_ = 0;
+ gint _tmp44_ = 0;
GtkBox* _tmp45_ = NULL;
- Page* _tmp46_ = NULL;
- Page* _tmp47_ = NULL;
-#line 1138 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ GtkPaned* _tmp46_ = NULL;
+ GtkBox* _tmp47_ = NULL;
+ GtkBuilder* builder = NULL;
+ GtkBuilder* _tmp48_ = NULL;
+ GObject* _tmp49_ = NULL;
+ Page* _tmp50_ = NULL;
+ Page* _tmp51_ = NULL;
+#line 1141 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (IS_LIBRARY_WINDOW (self));
-#line 1138 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- g_return_if_fail (IS_PAGE (start_page));
#line 1141 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ g_return_if_fail (IS_PAGE (start_page));
+#line 1144 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp0_ = (GtkScrolledWindow*) gtk_scrolled_window_new (NULL, NULL);
-#line 1141 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1144 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_object_ref_sink (_tmp0_);
-#line 1141 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1144 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
scrolled_sidebar = _tmp0_;
-#line 1142 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1145 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
gtk_scrolled_window_set_policy (scrolled_sidebar, GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);
-#line 1143 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1146 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp1_ = self->priv->sidebar_tree;
-#line 1143 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1146 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (scrolled_sidebar, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp1_, gtk_widget_get_type (), GtkWidget));
-#line 1145 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1148 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp2_ = self->priv->background_progress_frame;
-#line 1145 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1148 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
gtk_container_set_border_width (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_container_get_type (), GtkContainer), (guint) 2);
-#line 1146 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1149 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp3_ = self->priv->background_progress_frame;
-#line 1146 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1149 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp4_ = self->priv->background_progress_bar;
-#line 1146 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1149 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, gtk_widget_get_type (), GtkWidget));
-#line 1147 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1150 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp5_ = self->priv->background_progress_frame;
-#line 1147 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1150 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp6_ = gtk_widget_get_style_context (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, gtk_widget_get_type (), GtkWidget));
-#line 1147 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- gtk_style_context_remove_class (_tmp6_, "frame");
#line 1150 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ gtk_style_context_remove_class (_tmp6_, "frame");
+#line 1153 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp7_ = self->priv->basic_properties;
-#line 1150 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1153 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
gtk_widget_set_halign (G_TYPE_CHECK_INSTANCE_CAST (_tmp7_, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_FILL);
-#line 1151 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1154 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp8_ = self->priv->basic_properties;
-#line 1151 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1154 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
gtk_widget_set_valign (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, gtk_widget_get_type (), GtkWidget), GTK_ALIGN_CENTER);
-#line 1152 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1155 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp9_ = self->priv->basic_properties;
-#line 1152 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1155 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
gtk_widget_set_hexpand (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, gtk_widget_get_type (), GtkWidget), TRUE);
-#line 1153 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1156 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp10_ = self->priv->basic_properties;
-#line 1153 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1156 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
gtk_widget_set_vexpand (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, gtk_widget_get_type (), GtkWidget), FALSE);
-#line 1154 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1157 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp11_ = self->priv->basic_properties;
-#line 1154 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1157 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
gtk_widget_set_margin_top (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, gtk_widget_get_type (), GtkWidget), 10);
-#line 1155 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1158 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp12_ = self->priv->basic_properties;
-#line 1155 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1158 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
gtk_widget_set_margin_bottom (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, gtk_widget_get_type (), GtkWidget), 10);
-#line 1156 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1159 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp13_ = self->priv->basic_properties;
-#line 1156 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1159 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
gtk_widget_set_margin_start (G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, gtk_widget_get_type (), GtkWidget), 6);
-#line 1157 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1160 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp14_ = self->priv->basic_properties;
-#line 1157 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1160 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
gtk_widget_set_margin_end (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, gtk_widget_get_type (), GtkWidget), 0);
-#line 1159 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1162 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp15_ = self->priv->bottom_frame;
-#line 1159 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1162 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp16_ = self->priv->basic_properties;
-#line 1159 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1162 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp16_, gtk_widget_get_type (), GtkWidget));
-#line 1160 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1163 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp17_ = self->priv->bottom_frame;
-#line 1160 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1163 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp18_ = gtk_widget_get_style_context (G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, gtk_widget_get_type (), GtkWidget));
-#line 1160 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1163 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
gtk_style_context_remove_class (_tmp18_, "frame");
-#line 1164 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1167 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp19_ = self->priv->top_section;
-#line 1164 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1167 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
gtk_box_pack_start (_tmp19_, G_TYPE_CHECK_INSTANCE_CAST (scrolled_sidebar, gtk_widget_get_type (), GtkWidget), TRUE, TRUE, (guint) 0);
-#line 1166 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1169 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp20_ = self->priv->sidebar_paned;
-#line 1166 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1169 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp21_ = self->priv->top_section;
-#line 1166 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1169 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
gtk_paned_pack1 (_tmp20_, G_TYPE_CHECK_INSTANCE_CAST (_tmp21_, gtk_widget_get_type (), GtkWidget), TRUE, FALSE);
-#line 1167 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1170 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp22_ = self->priv->sidebar_paned;
-#line 1167 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1170 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp23_ = self->priv->bottom_frame;
-#line 1167 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1170 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
gtk_paned_pack2 (_tmp22_, G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE);
-#line 1168 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1171 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp24_ = self->priv->sidebar_paned;
-#line 1168 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1171 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
gtk_paned_set_position (_tmp24_, 1000);
-#line 1170 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1173 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp25_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
-#line 1170 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1173 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_object_ref_sink (_tmp25_);
-#line 1170 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1173 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (self->priv->right_vbox);
-#line 1170 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1173 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
self->priv->right_vbox = _tmp25_;
-#line 1171 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- _tmp26_ = self->priv->right_vbox;
-#line 1171 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- _tmp27_ = self->priv->search_toolbar;
-#line 1171 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- gtk_box_pack_start (_tmp26_, G_TYPE_CHECK_INSTANCE_CAST (_tmp27_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
-#line 1172 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- _tmp28_ = self->priv->right_vbox;
-#line 1172 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- _tmp29_ = self->priv->stack;
-#line 1172 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- gtk_box_pack_start (_tmp28_, G_TYPE_CHECK_INSTANCE_CAST (_tmp29_, gtk_widget_get_type (), GtkWidget), TRUE, TRUE, (guint) 0);
#line 1174 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- _tmp30_ = (GtkPaned*) gtk_paned_new (GTK_ORIENTATION_HORIZONTAL);
-#line 1174 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- g_object_ref_sink (_tmp30_);
+ _tmp26_ = self->priv->right_vbox;
#line 1174 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- _g_object_unref0 (self->priv->client_paned);
+ _tmp27_ = self->priv->search_toolbar;
#line 1174 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- self->priv->client_paned = _tmp30_;
+ gtk_box_pack_start (_tmp26_, G_TYPE_CHECK_INSTANCE_CAST (_tmp27_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE, (guint) 0);
#line 1175 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- _tmp31_ = self->priv->client_paned;
+ _tmp28_ = self->priv->right_vbox;
#line 1175 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- _tmp32_ = self->priv->sidebar_paned;
+ _tmp29_ = self->priv->stack;
#line 1175 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- gtk_paned_pack1 (_tmp31_, G_TYPE_CHECK_INSTANCE_CAST (_tmp32_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE);
+ gtk_box_pack_start (_tmp28_, G_TYPE_CHECK_INSTANCE_CAST (_tmp29_, gtk_widget_get_type (), GtkWidget), TRUE, TRUE, (guint) 0);
#line 1176 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- _tmp33_ = self->priv->sidebar_tree;
+ _tmp30_ = self->priv->right_vbox;
#line 1176 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- gtk_widget_set_size_request (G_TYPE_CHECK_INSTANCE_CAST (_tmp33_, gtk_widget_get_type (), GtkWidget), LIBRARY_WINDOW_SIDEBAR_MIN_WIDTH, -1);
-#line 1177 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- _tmp34_ = self->priv->client_paned;
-#line 1177 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- _tmp35_ = self->priv->right_vbox;
-#line 1177 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- gtk_paned_pack2 (_tmp34_, G_TYPE_CHECK_INSTANCE_CAST (_tmp35_, gtk_widget_get_type (), GtkWidget), TRUE, FALSE);
-#line 1178 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- _tmp36_ = self->priv->client_paned;
+ _tmp31_ = self->priv->toolbar_revealer;
+#line 1176 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp30_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp31_, gtk_widget_get_type (), GtkWidget));
#line 1178 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- _tmp37_ = config_facade_get_instance ();
+ _tmp32_ = (GtkPaned*) gtk_paned_new (GTK_ORIENTATION_HORIZONTAL);
#line 1178 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- _tmp38_ = _tmp37_;
+ g_object_ref_sink (_tmp32_);
#line 1178 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- _tmp39_ = configuration_facade_get_sidebar_position (G_TYPE_CHECK_INSTANCE_CAST (_tmp38_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
-#line 1178 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- gtk_paned_set_position (_tmp36_, _tmp39_);
+ _g_object_unref0 (self->priv->client_paned);
#line 1178 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- _g_object_unref0 (_tmp38_);
-#line 1180 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- _tmp40_ = self->priv->stack;
-#line 1180 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- _tmp41_ = library_window_get_PAGE_MIN_WIDTH ();
+ self->priv->client_paned = _tmp32_;
+#line 1179 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ _tmp33_ = self->priv->client_paned;
+#line 1179 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ _tmp34_ = self->priv->sidebar_paned;
+#line 1179 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ gtk_paned_pack1 (_tmp33_, G_TYPE_CHECK_INSTANCE_CAST (_tmp34_, gtk_widget_get_type (), GtkWidget), FALSE, FALSE);
#line 1180 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- _tmp42_ = _tmp41_;
+ _tmp35_ = self->priv->sidebar_tree;
#line 1180 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- gtk_widget_set_size_request (G_TYPE_CHECK_INSTANCE_CAST (_tmp40_, gtk_widget_get_type (), GtkWidget), _tmp42_, -1);
+ gtk_widget_set_size_request (G_TYPE_CHECK_INSTANCE_CAST (_tmp35_, gtk_widget_get_type (), GtkWidget), LIBRARY_WINDOW_SIDEBAR_MIN_WIDTH, -1);
+#line 1181 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ _tmp36_ = self->priv->client_paned;
+#line 1181 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ _tmp37_ = self->priv->right_vbox;
+#line 1181 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ gtk_paned_pack2 (_tmp36_, G_TYPE_CHECK_INSTANCE_CAST (_tmp37_, gtk_widget_get_type (), GtkWidget), TRUE, FALSE);
+#line 1182 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ _tmp38_ = self->priv->client_paned;
+#line 1182 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ _tmp39_ = config_facade_get_instance ();
#line 1182 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- _tmp43_ = self->priv->layout;
+ _tmp40_ = _tmp39_;
#line 1182 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- _tmp44_ = self->priv->client_paned;
+ _tmp41_ = configuration_facade_get_sidebar_position (G_TYPE_CHECK_INSTANCE_CAST (_tmp40_, TYPE_CONFIGURATION_FACADE, ConfigurationFacade));
#line 1182 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- gtk_box_pack_end (_tmp43_, G_TYPE_CHECK_INSTANCE_CAST (_tmp44_, gtk_widget_get_type (), GtkWidget), TRUE, TRUE, (guint) 0);
+ gtk_paned_set_position (_tmp38_, _tmp41_);
+#line 1182 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ _g_object_unref0 (_tmp40_);
#line 1184 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- _tmp45_ = self->priv->layout;
+ _tmp42_ = self->priv->stack;
#line 1184 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp45_, gtk_widget_get_type (), GtkWidget));
+ _tmp43_ = library_window_get_PAGE_MIN_WIDTH ();
+#line 1184 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ _tmp44_ = _tmp43_;
+#line 1184 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ gtk_widget_set_size_request (G_TYPE_CHECK_INSTANCE_CAST (_tmp42_, gtk_widget_get_type (), GtkWidget), _tmp44_, -1);
+#line 1186 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ _tmp45_ = self->priv->layout;
#line 1186 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- _tmp46_ = start_page;
+ _tmp46_ = self->priv->client_paned;
#line 1186 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- library_window_switch_to_page (self, _tmp46_);
-#line 1187 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- _tmp47_ = start_page;
-#line 1187 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- gtk_widget_grab_focus (G_TYPE_CHECK_INSTANCE_CAST (_tmp47_, gtk_widget_get_type (), GtkWidget));
-#line 1138 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ gtk_box_pack_end (_tmp45_, G_TYPE_CHECK_INSTANCE_CAST (_tmp46_, gtk_widget_get_type (), GtkWidget), TRUE, TRUE, (guint) 0);
+#line 1188 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ _tmp47_ = self->priv->layout;
+#line 1188 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp47_, gtk_widget_get_type (), GtkWidget));
+#line 1190 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ _tmp48_ = gtk_builder_new_from_resource ("/org/gnome/Shotwell/appmenu.ui");
+#line 1190 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ builder = _tmp48_;
+#line 1191 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ _tmp49_ = gtk_builder_get_object (builder, "appmenu");
+#line 1191 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ application_set_appmenu (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_TYPE (_tmp49_, g_menu_get_type ()) ? ((GMenu*) _tmp49_) : NULL, g_menu_model_get_type (), GMenuModel));
+#line 1193 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ _tmp50_ = start_page;
+#line 1193 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ library_window_switch_to_page (self, _tmp50_);
+#line 1194 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ _tmp51_ = start_page;
+#line 1194 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ gtk_widget_grab_focus (G_TYPE_CHECK_INSTANCE_CAST (_tmp51_, gtk_widget_get_type (), GtkWidget));
+#line 1141 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ _g_object_unref0 (builder);
+#line 1141 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (scrolled_sidebar);
-#line 7530 "LibraryWindow.c"
+#line 7651 "LibraryWindow.c"
}
static void library_window_real_set_current_page (PageWindow* base, Page* page) {
LibraryWindow * self;
Page* _tmp0_ = NULL;
-#line 1190 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1197 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_LIBRARY_WINDOW, LibraryWindow);
-#line 1190 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1197 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (IS_PAGE (page));
-#line 1192 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1199 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp0_ = page;
-#line 1192 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1199 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_switch_to_page (self, _tmp0_);
-#line 7545 "LibraryWindow.c"
+#line 7666 "LibraryWindow.c"
}
void library_window_set_page_switching_enabled (LibraryWindow* self, gboolean should_enable) {
gboolean _tmp0_ = FALSE;
-#line 1195 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1202 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (IS_LIBRARY_WINDOW (self));
-#line 1196 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1203 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp0_ = should_enable;
-#line 1196 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1203 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
self->priv->page_switching_enabled = _tmp0_;
-#line 7557 "LibraryWindow.c"
+#line 7678 "LibraryWindow.c"
}
@@ -7591,43 +7712,43 @@ void library_window_switch_to_page (LibraryWindow* self, Page* page) {
GtkToolbar* _tmp47_ = NULL;
GtkToolbar* _tmp48_ = NULL;
Page* _tmp54_ = NULL;
-#line 1199 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1206 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (IS_LIBRARY_WINDOW (self));
-#line 1199 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1206 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (IS_PAGE (page));
-#line 1200 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1207 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp0_ = self->priv->page_switching_enabled;
-#line 1200 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1207 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (!_tmp0_) {
-#line 1201 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1208 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return;
-#line 7604 "LibraryWindow.c"
+#line 7725 "LibraryWindow.c"
}
-#line 1203 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1210 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp1_ = page;
-#line 1203 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1210 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp2_ = page_window_get_current_page (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow));
-#line 1203 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1210 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp3_ = _tmp2_;
-#line 1203 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1210 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp4_ = _tmp1_ == _tmp3_;
-#line 1203 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1210 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (_tmp3_);
-#line 1203 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1210 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp4_) {
-#line 1204 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1211 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return;
-#line 7620 "LibraryWindow.c"
+#line 7741 "LibraryWindow.c"
}
-#line 1206 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1213 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp5_ = page_window_get_current_page (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow));
-#line 1206 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1213 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
current_page = _tmp5_;
-#line 1207 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1214 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp6_ = current_page;
-#line 1207 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1214 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp6_ != NULL) {
-#line 7630 "LibraryWindow.c"
+#line 7751 "LibraryWindow.c"
GtkToolbar* toolbar = NULL;
Page* _tmp7_ = NULL;
GtkToolbar* _tmp8_ = NULL;
@@ -7635,96 +7756,96 @@ void library_window_switch_to_page (LibraryWindow* self, Page* page) {
Page* _tmp12_ = NULL;
Page* _tmp13_ = NULL;
Page* _tmp15_ = NULL;
-#line 1208 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1215 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
gtk_application_window_set_show_menubar (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_application_window_get_type (), GtkApplicationWindow), FALSE);
-#line 1209 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1216 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
application_set_menubar (NULL);
-#line 1211 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1218 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp7_ = current_page;
-#line 1211 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1218 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp8_ = page_get_toolbar (_tmp7_);
-#line 1211 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1218 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
toolbar = _tmp8_;
-#line 1212 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1219 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp9_ = toolbar;
-#line 1212 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1219 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp9_ != NULL) {
-#line 7652 "LibraryWindow.c"
- GtkBox* _tmp10_ = NULL;
+#line 7773 "LibraryWindow.c"
+ GtkRevealer* _tmp10_ = NULL;
GtkToolbar* _tmp11_ = NULL;
-#line 1213 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- _tmp10_ = self->priv->right_vbox;
-#line 1213 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1220 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ _tmp10_ = self->priv->toolbar_revealer;
+#line 1220 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp11_ = toolbar;
-#line 1213 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1220 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
gtk_container_remove (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, gtk_widget_get_type (), GtkWidget));
-#line 7661 "LibraryWindow.c"
+#line 7782 "LibraryWindow.c"
}
-#line 1215 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1222 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp12_ = current_page;
-#line 1215 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1222 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
page_switching_from (_tmp12_);
-#line 1219 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1226 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp13_ = current_page;
-#line 1219 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1226 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp13_, TYPE_LIBRARY_PHOTO_PAGE)) {
-#line 7671 "LibraryWindow.c"
+#line 7792 "LibraryWindow.c"
SidebarTree* _tmp14_ = NULL;
-#line 1220 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1227 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp14_ = self->priv->sidebar_tree;
-#line 1220 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1227 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
sidebar_tree_enable_editing (_tmp14_);
-#line 7677 "LibraryWindow.c"
+#line 7798 "LibraryWindow.c"
}
-#line 1223 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1230 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp15_ = current_page;
-#line 1223 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1230 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_unsubscribe_from_basic_information (self, _tmp15_);
-#line 1207 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1214 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (toolbar);
-#line 7685 "LibraryWindow.c"
+#line 7806 "LibraryWindow.c"
}
-#line 1226 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1233 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp16_ = self->priv->stack;
-#line 1226 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1233 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp17_ = page;
-#line 1226 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1233 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
gtk_stack_set_visible_child (_tmp16_, G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, gtk_widget_get_type (), GtkWidget));
-#line 1230 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1237 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp18_ = page;
-#line 1230 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1237 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
PAGE_WINDOW_CLASS (library_window_parent_class)->set_current_page (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_APP_WINDOW, AppWindow), TYPE_PAGE_WINDOW, PageWindow), _tmp18_);
-#line 1236 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1243 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp19_ = page;
-#line 1236 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1243 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp19_, TYPE_LIBRARY_PHOTO_PAGE)) {
-#line 7701 "LibraryWindow.c"
+#line 7822 "LibraryWindow.c"
SidebarTree* _tmp20_ = NULL;
-#line 1237 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1244 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp20_ = self->priv->sidebar_tree;
-#line 1237 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1244 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
sidebar_tree_disable_editing (_tmp20_);
-#line 7707 "LibraryWindow.c"
+#line 7828 "LibraryWindow.c"
}
-#line 1240 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1247 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp21_ = library_window_should_show_search_bar (self);
-#line 1240 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1247 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp22_ = page;
-#line 1240 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1247 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_toggle_search_bar (self, _tmp21_, G_TYPE_CHECK_INSTANCE_TYPE (_tmp22_, TYPE_CHECKERBOARD_PAGE) ? ((CheckerboardPage*) _tmp22_) : NULL);
-#line 1243 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1250 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp23_ = self->priv->page_map;
-#line 1243 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1250 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp24_ = page;
-#line 1243 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1250 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp25_ = gee_abstract_map_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _tmp24_);
-#line 1243 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1250 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
entry = (SidebarEntry*) _tmp25_;
-#line 1244 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1251 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp26_ = entry;
-#line 1244 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1251 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp26_ != NULL) {
-#line 7727 "LibraryWindow.c"
+#line 7848 "LibraryWindow.c"
SidebarExpandableEntry* expandable_entry = NULL;
SidebarEntry* _tmp27_ = NULL;
SidebarExpandableEntry* _tmp28_ = NULL;
@@ -7732,141 +7853,141 @@ void library_window_switch_to_page (LibraryWindow* self, Page* page) {
SidebarExpandableEntry* _tmp30_ = NULL;
SidebarTree* _tmp35_ = NULL;
SidebarEntry* _tmp36_ = NULL;
-#line 1247 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1254 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp27_ = entry;
-#line 1247 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1254 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp28_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp27_, SIDEBAR_TYPE_EXPANDABLE_ENTRY) ? ((SidebarExpandableEntry*) _tmp27_) : NULL);
-#line 1247 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1254 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
expandable_entry = _tmp28_;
-#line 1248 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1255 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp30_ = expandable_entry;
-#line 1248 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1255 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp30_ != NULL) {
-#line 7745 "LibraryWindow.c"
+#line 7866 "LibraryWindow.c"
SidebarExpandableEntry* _tmp31_ = NULL;
gboolean _tmp32_ = FALSE;
-#line 1248 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1255 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp31_ = expandable_entry;
-#line 1248 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1255 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp32_ = sidebar_expandable_entry_expand_on_select (_tmp31_);
-#line 1248 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1255 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp29_ = _tmp32_;
-#line 7754 "LibraryWindow.c"
+#line 7875 "LibraryWindow.c"
} else {
-#line 1248 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1255 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp29_ = FALSE;
-#line 7758 "LibraryWindow.c"
+#line 7879 "LibraryWindow.c"
}
-#line 1248 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1255 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp29_) {
-#line 7762 "LibraryWindow.c"
+#line 7883 "LibraryWindow.c"
SidebarTree* _tmp33_ = NULL;
SidebarEntry* _tmp34_ = NULL;
-#line 1249 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1256 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp33_ = self->priv->sidebar_tree;
-#line 1249 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1256 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp34_ = entry;
-#line 1249 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1256 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
sidebar_tree_expand_to_entry (_tmp33_, _tmp34_);
-#line 7771 "LibraryWindow.c"
+#line 7892 "LibraryWindow.c"
}
-#line 1251 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1258 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp35_ = self->priv->sidebar_tree;
-#line 1251 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1258 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp36_ = entry;
-#line 1251 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1258 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
sidebar_tree_place_cursor (_tmp35_, _tmp36_, TRUE);
-#line 1244 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1251 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (expandable_entry);
-#line 7781 "LibraryWindow.c"
+#line 7902 "LibraryWindow.c"
}
-#line 1254 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1261 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_on_update_properties (self);
-#line 1256 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1263 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp37_ = page;
-#line 1256 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1263 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp37_, TYPE_CHECKERBOARD_PAGE)) {
-#line 7789 "LibraryWindow.c"
+#line 7910 "LibraryWindow.c"
Page* _tmp38_ = NULL;
-#line 1257 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1264 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp38_ = page;
-#line 1257 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1264 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_init_view_filter (self, G_TYPE_CHECK_INSTANCE_CAST (_tmp38_, TYPE_CHECKERBOARD_PAGE, CheckerboardPage));
-#line 7795 "LibraryWindow.c"
+#line 7916 "LibraryWindow.c"
}
-#line 1259 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1266 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp39_ = page;
-#line 1259 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1266 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (_tmp39_, gtk_widget_get_type (), GtkWidget));
-#line 1262 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1269 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp40_ = page_window_get_current_page (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow));
-#line 1262 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1269 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp41_ = _tmp40_;
-#line 1262 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1269 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_subscribe_for_basic_information (self, _tmp41_);
-#line 1262 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1269 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (_tmp41_);
-#line 1264 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1271 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp42_ = page;
-#line 1264 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1271 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
page_switched_to (_tmp42_);
-#line 1266 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1273 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp43_ = page;
-#line 1266 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1273 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp44_ = page_get_menubar (_tmp43_);
-#line 1266 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1273 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp45_ = _tmp44_;
-#line 1266 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1273 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
application_set_menubar (_tmp45_);
-#line 1266 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1273 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (_tmp45_);
-#line 1267 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1274 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
gtk_application_window_set_show_menubar (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_application_window_get_type (), GtkApplicationWindow), TRUE);
-#line 1269 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1276 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp46_ = page;
-#line 1269 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1276 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp47_ = page_get_toolbar (_tmp46_);
-#line 1269 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1276 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
toolbar = _tmp47_;
-#line 1270 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1277 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp48_ = toolbar;
-#line 1270 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1277 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp48_ != NULL) {
-#line 7835 "LibraryWindow.c"
- GtkBox* _tmp49_ = NULL;
+#line 7956 "LibraryWindow.c"
+ GtkRevealer* _tmp49_ = NULL;
GtkToolbar* _tmp50_ = NULL;
GtkToolbar* _tmp51_ = NULL;
- GtkToolbar* _tmp52_ = NULL;
+ GtkRevealer* _tmp52_ = NULL;
gboolean _tmp53_ = FALSE;
-#line 1271 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- _tmp49_ = self->priv->right_vbox;
-#line 1271 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1278 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ _tmp49_ = self->priv->toolbar_revealer;
+#line 1278 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp50_ = toolbar;
-#line 1271 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1278 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
gtk_container_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp49_, gtk_container_get_type (), GtkContainer), G_TYPE_CHECK_INSTANCE_CAST (_tmp50_, gtk_widget_get_type (), GtkWidget));
-#line 1272 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1279 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp51_ = toolbar;
-#line 1272 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1279 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
gtk_widget_show_all (G_TYPE_CHECK_INSTANCE_CAST (_tmp51_, gtk_widget_get_type (), GtkWidget));
-#line 1273 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- _tmp52_ = toolbar;
-#line 1273 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1280 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ _tmp52_ = self->priv->toolbar_revealer;
+#line 1280 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp53_ = library_window_is_toolbar_visible (self);
-#line 1273 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- gtk_widget_set_visible (G_TYPE_CHECK_INSTANCE_CAST (_tmp52_, gtk_widget_get_type (), GtkWidget), _tmp53_);
-#line 7857 "LibraryWindow.c"
+#line 1280 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ gtk_revealer_set_reveal_child (_tmp52_, _tmp53_);
+#line 7978 "LibraryWindow.c"
}
-#line 1276 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1283 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp54_ = page;
-#line 1276 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1283 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
page_ready (_tmp54_);
-#line 1199 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1206 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (toolbar);
-#line 1199 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1206 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (entry);
-#line 1199 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1206 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (current_page);
-#line 7869 "LibraryWindow.c"
+#line 7990 "LibraryWindow.c"
}
@@ -7881,41 +8002,41 @@ static void library_window_init_view_filter (LibraryWindow* self, CheckerboardPa
CheckerboardPage* _tmp7_ = NULL;
SearchViewFilter* _tmp8_ = NULL;
SearchViewFilter* _tmp9_ = NULL;
-#line 1279 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1286 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (IS_LIBRARY_WINDOW (self));
-#line 1279 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1286 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (IS_CHECKERBOARD_PAGE (page));
-#line 1280 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1287 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp0_ = self->priv->search_toolbar;
-#line 1280 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1287 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp1_ = page;
-#line 1280 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1287 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp2_ = checkerboard_page_get_search_view_filter (_tmp1_);
-#line 1280 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1287 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp3_ = _tmp2_;
-#line 1280 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1287 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
search_filter_toolbar_set_view_filter (_tmp0_, _tmp3_);
-#line 1280 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1287 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_view_filter_unref0 (_tmp3_);
-#line 1281 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1288 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp4_ = page;
-#line 1281 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1288 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp5_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, TYPE_PAGE, Page));
-#line 1281 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1288 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp6_ = _tmp5_;
-#line 1281 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1288 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp7_ = page;
-#line 1281 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1288 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp8_ = checkerboard_page_get_search_view_filter (_tmp7_);
-#line 1281 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1288 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp9_ = _tmp8_;
-#line 1281 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1288 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
view_collection_install_view_filter (_tmp6_, G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, TYPE_VIEW_FILTER, ViewFilter));
-#line 1281 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1288 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_view_filter_unref0 (_tmp9_);
-#line 1281 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1288 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_data_collection_unref0 (_tmp6_);
-#line 7918 "LibraryWindow.c"
+#line 8039 "LibraryWindow.c"
}
@@ -7925,35 +8046,35 @@ static gboolean library_window_should_show_search_bar (LibraryWindow* self) {
Page* _tmp1_ = NULL;
Page* _tmp2_ = NULL;
gboolean _tmp3_ = FALSE;
-#line 1284 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1291 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_val_if_fail (IS_LIBRARY_WINDOW (self), FALSE);
-#line 1285 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1292 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp1_ = page_window_get_current_page (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow));
-#line 1285 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1292 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp2_ = _tmp1_;
-#line 1285 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1292 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp3_ = G_TYPE_CHECK_INSTANCE_TYPE (_tmp2_, TYPE_CHECKERBOARD_PAGE);
-#line 1285 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1292 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (_tmp2_);
-#line 1285 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1292 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp3_) {
-#line 7940 "LibraryWindow.c"
+#line 8061 "LibraryWindow.c"
gboolean _tmp4_ = FALSE;
-#line 1285 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1292 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp4_ = self->priv->is_search_toolbar_visible;
-#line 1285 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1292 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp0_ = _tmp4_;
-#line 7946 "LibraryWindow.c"
+#line 8067 "LibraryWindow.c"
} else {
-#line 1285 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1292 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp0_ = FALSE;
-#line 7950 "LibraryWindow.c"
+#line 8071 "LibraryWindow.c"
}
-#line 1285 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1292 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
result = _tmp0_;
-#line 1285 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1292 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return result;
-#line 7956 "LibraryWindow.c"
+#line 8077 "LibraryWindow.c"
}
@@ -7961,21 +8082,21 @@ static void library_window_toggle_search_bar (LibraryWindow* self, gboolean show
SearchFilterToolbar* _tmp0_ = NULL;
gboolean _tmp1_ = FALSE;
gboolean _tmp2_ = FALSE;
-#line 1289 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1296 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (IS_LIBRARY_WINDOW (self));
-#line 1289 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1296 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail ((page == NULL) || IS_CHECKERBOARD_PAGE (page));
-#line 1290 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1297 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp0_ = self->priv->search_toolbar;
-#line 1290 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1297 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp1_ = show;
-#line 1290 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1297 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
gtk_revealer_set_reveal_child (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_revealer_get_type (), GtkRevealer), _tmp1_);
-#line 1291 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1298 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp2_ = show;
-#line 1291 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1298 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp2_) {
-#line 7978 "LibraryWindow.c"
+#line 8099 "LibraryWindow.c"
CheckerboardPage* _tmp3_ = NULL;
SearchFilterToolbar* _tmp4_ = NULL;
CheckerboardPage* _tmp5_ = NULL;
@@ -7987,70 +8108,70 @@ static void library_window_toggle_search_bar (LibraryWindow* self, gboolean show
CheckerboardPage* _tmp11_ = NULL;
SearchViewFilter* _tmp12_ = NULL;
SearchViewFilter* _tmp13_ = NULL;
-#line 1292 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1299 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp3_ = page;
-#line 1292 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1299 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_vala_assert (NULL != _tmp3_, "null != page");
-#line 1293 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1300 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp4_ = self->priv->search_toolbar;
-#line 1293 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1300 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp5_ = page;
-#line 1293 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1300 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp6_ = checkerboard_page_get_search_view_filter (_tmp5_);
-#line 1293 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1300 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp7_ = _tmp6_;
-#line 1293 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1300 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
search_filter_toolbar_set_view_filter (_tmp4_, _tmp7_);
-#line 1293 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1300 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_view_filter_unref0 (_tmp7_);
-#line 1294 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1301 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp8_ = page;
-#line 1294 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1301 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp9_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, TYPE_PAGE, Page));
-#line 1294 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1301 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp10_ = _tmp9_;
-#line 1294 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1301 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp11_ = page;
-#line 1294 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1301 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp12_ = checkerboard_page_get_search_view_filter (_tmp11_);
-#line 1294 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1301 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp13_ = _tmp12_;
-#line 1294 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1301 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
view_collection_install_view_filter (_tmp10_, G_TYPE_CHECK_INSTANCE_CAST (_tmp13_, TYPE_VIEW_FILTER, ViewFilter));
-#line 1294 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1301 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_view_filter_unref0 (_tmp13_);
-#line 1294 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1301 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_data_collection_unref0 (_tmp10_);
-#line 8024 "LibraryWindow.c"
+#line 8145 "LibraryWindow.c"
} else {
CheckerboardPage* _tmp14_ = NULL;
-#line 1296 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1303 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp14_ = page;
-#line 1296 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1303 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp14_ != NULL) {
-#line 8031 "LibraryWindow.c"
+#line 8152 "LibraryWindow.c"
CheckerboardPage* _tmp15_ = NULL;
ViewCollection* _tmp16_ = NULL;
ViewCollection* _tmp17_ = NULL;
DisabledViewFilter* _tmp18_ = NULL;
DisabledViewFilter* _tmp19_ = NULL;
-#line 1297 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1304 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp15_ = page;
-#line 1297 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1304 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp16_ = page_get_view (G_TYPE_CHECK_INSTANCE_CAST (_tmp15_, TYPE_PAGE, Page));
-#line 1297 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1304 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp17_ = _tmp16_;
-#line 1297 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1304 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp18_ = disabled_view_filter_new ();
-#line 1297 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1304 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp19_ = _tmp18_;
-#line 1297 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1304 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
view_collection_install_view_filter (_tmp17_, G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, TYPE_VIEW_FILTER, ViewFilter));
-#line 1297 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1304 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_view_filter_unref0 (_tmp19_);
-#line 1297 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1304 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_data_collection_unref0 (_tmp17_);
-#line 8053 "LibraryWindow.c"
+#line 8174 "LibraryWindow.c"
}
}
}
@@ -8064,33 +8185,33 @@ static void library_window_on_page_created (LibraryWindow* self, SidebarPageRepr
Page* _tmp4_ = NULL;
SidebarPageRepresentative* _tmp5_ = NULL;
Page* _tmp6_ = NULL;
-#line 1301 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1308 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (IS_LIBRARY_WINDOW (self));
-#line 1301 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1308 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (SIDEBAR_IS_PAGE_REPRESENTATIVE (entry));
-#line 1301 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1308 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (IS_PAGE (page));
-#line 1302 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1309 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp0_ = self->priv->page_map;
-#line 1302 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1309 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp1_ = page;
-#line 1302 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1309 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp2_ = gee_abstract_map_has_key (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _tmp1_);
-#line 1302 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1309 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_vala_assert (!_tmp2_, "!page_map.has_key(page)");
-#line 1303 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1310 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp3_ = self->priv->page_map;
-#line 1303 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1310 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp4_ = page;
-#line 1303 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1310 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp5_ = entry;
-#line 1303 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1310 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
gee_abstract_map_set (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _tmp4_, G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, SIDEBAR_TYPE_ENTRY, SidebarEntry));
-#line 1305 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1312 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp6_ = page;
-#line 1305 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1312 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_add_to_stack (self, _tmp6_);
-#line 8093 "LibraryWindow.c"
+#line 8214 "LibraryWindow.c"
}
@@ -8104,61 +8225,61 @@ static void library_window_on_destroying_page (LibraryWindow* self, SidebarPageR
GeeHashMap* _tmp10_ = NULL;
Page* _tmp11_ = NULL;
gboolean _tmp12_ = FALSE;
-#line 1308 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1315 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (IS_LIBRARY_WINDOW (self));
-#line 1308 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1315 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (SIDEBAR_IS_PAGE_REPRESENTATIVE (entry));
-#line 1308 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1315 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (IS_PAGE (page));
-#line 1310 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1317 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp0_ = page;
-#line 1310 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1317 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp1_ = page_window_get_current_page (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow));
-#line 1310 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1317 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp2_ = _tmp1_;
-#line 1310 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1317 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp3_ = _tmp0_ == _tmp2_;
-#line 1310 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1317 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (_tmp2_);
-#line 1310 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1317 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp3_) {
-#line 8125 "LibraryWindow.c"
+#line 8246 "LibraryWindow.c"
LibraryBranch* _tmp4_ = NULL;
LibraryPhotosEntry* _tmp5_ = NULL;
LibraryPhotosEntry* _tmp6_ = NULL;
Page* _tmp7_ = NULL;
Page* _tmp8_ = NULL;
-#line 1311 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1318 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp4_ = self->priv->library_branch;
-#line 1311 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1318 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp5_ = library_branch_get_photos_entry (_tmp4_);
-#line 1311 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1318 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp6_ = _tmp5_;
-#line 1311 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1318 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp7_ = sidebar_page_representative_get_page (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, SIDEBAR_TYPE_PAGE_REPRESENTATIVE, SidebarPageRepresentative));
-#line 1311 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1318 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp8_ = _tmp7_;
-#line 1311 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1318 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_switch_to_page (self, _tmp8_);
-#line 1311 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1318 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (_tmp8_);
-#line 8145 "LibraryWindow.c"
+#line 8266 "LibraryWindow.c"
}
-#line 1313 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1320 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp9_ = page;
-#line 1313 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1320 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_remove_from_stack (self, _tmp9_);
-#line 1315 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1322 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp10_ = self->priv->page_map;
-#line 1315 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1322 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp11_ = page;
-#line 1315 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1322 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp12_ = gee_abstract_map_unset (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, GEE_TYPE_ABSTRACT_MAP, GeeAbstractMap), _tmp11_, NULL);
-#line 1315 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1322 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
removed = _tmp12_;
-#line 1316 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1323 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_vala_assert (removed, "removed");
-#line 8161 "LibraryWindow.c"
+#line 8282 "LibraryWindow.c"
}
@@ -8167,39 +8288,39 @@ static void library_window_on_sidebar_entry_selected (LibraryWindow* self, Sideb
SidebarSelectableEntry* _tmp0_ = NULL;
SidebarPageRepresentative* _tmp1_ = NULL;
SidebarPageRepresentative* _tmp2_ = NULL;
-#line 1319 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1326 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (IS_LIBRARY_WINDOW (self));
-#line 1319 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1326 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (SIDEBAR_IS_SELECTABLE_ENTRY (selectable));
-#line 1320 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1327 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp0_ = selectable;
-#line 1320 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1327 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp1_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp0_, SIDEBAR_TYPE_PAGE_REPRESENTATIVE) ? ((SidebarPageRepresentative*) _tmp0_) : NULL);
-#line 1320 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1327 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
page_rep = _tmp1_;
-#line 1321 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1328 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp2_ = page_rep;
-#line 1321 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1328 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp2_ != NULL) {
-#line 8184 "LibraryWindow.c"
+#line 8305 "LibraryWindow.c"
SidebarPageRepresentative* _tmp3_ = NULL;
Page* _tmp4_ = NULL;
Page* _tmp5_ = NULL;
-#line 1322 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1329 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp3_ = page_rep;
-#line 1322 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1329 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp4_ = sidebar_page_representative_get_page (_tmp3_);
-#line 1322 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1329 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp5_ = _tmp4_;
-#line 1322 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1329 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_switch_to_page (self, _tmp5_);
-#line 1322 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1329 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (_tmp5_);
-#line 8198 "LibraryWindow.c"
+#line 8319 "LibraryWindow.c"
}
-#line 1319 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1326 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (page_rep);
-#line 8202 "LibraryWindow.c"
+#line 8323 "LibraryWindow.c"
}
@@ -8220,207 +8341,207 @@ static void library_window_on_sidebar_selected_entry_removed (LibraryWindow* sel
LibraryPhotosEntry* _tmp32_ = NULL;
Page* _tmp33_ = NULL;
Page* _tmp34_ = NULL;
-#line 1325 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1332 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (IS_LIBRARY_WINDOW (self));
-#line 1325 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1332 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (SIDEBAR_IS_SELECTABLE_ENTRY (selectable));
-#line 1329 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1336 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp0_ = self->priv->library_branch;
-#line 1329 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1336 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp1_ = library_branch_get_last_imported_entry (_tmp0_);
-#line 1329 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1336 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp2_ = _tmp1_;
-#line 1329 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1336 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp3_ = _g_object_ref0 (_tmp2_);
-#line 1329 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1336 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
last_import_entry = _tmp3_;
-#line 1332 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1339 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp5_ = selectable;
-#line 1332 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1339 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp5_, LIBRARY_TYPE_IMPORT_QUEUE_SIDEBAR_ENTRY)) {
-#line 8241 "LibraryWindow.c"
+#line 8362 "LibraryWindow.c"
LibraryLastImportSidebarEntry* _tmp6_ = NULL;
gboolean _tmp7_ = FALSE;
gboolean _tmp8_ = FALSE;
-#line 1332 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1339 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp6_ = last_import_entry;
-#line 1332 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1339 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp7_ = library_hideable_page_entry_get_visible (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, LIBRARY_TYPE_HIDEABLE_PAGE_ENTRY, LibraryHideablePageEntry));
-#line 1332 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1339 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp8_ = _tmp7_;
-#line 1332 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1339 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp4_ = _tmp8_;
-#line 8253 "LibraryWindow.c"
+#line 8374 "LibraryWindow.c"
} else {
-#line 1332 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1339 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp4_ = FALSE;
-#line 8257 "LibraryWindow.c"
+#line 8378 "LibraryWindow.c"
}
-#line 1332 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1339 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp4_) {
-#line 8261 "LibraryWindow.c"
+#line 8382 "LibraryWindow.c"
LibraryLastImportSidebarEntry* _tmp9_ = NULL;
Page* _tmp10_ = NULL;
Page* _tmp11_ = NULL;
-#line 1333 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1340 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp9_ = last_import_entry;
-#line 1333 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1340 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp10_ = sidebar_page_representative_get_page (G_TYPE_CHECK_INSTANCE_CAST (_tmp9_, SIDEBAR_TYPE_PAGE_REPRESENTATIVE, SidebarPageRepresentative));
-#line 1333 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1340 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp11_ = _tmp10_;
-#line 1333 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1340 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_switch_to_page (self, _tmp11_);
-#line 1333 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1340 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (_tmp11_);
-#line 1335 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1342 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (last_import_entry);
-#line 1335 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1342 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return;
-#line 8279 "LibraryWindow.c"
+#line 8400 "LibraryWindow.c"
}
-#line 1339 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1346 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp13_ = selectable;
-#line 1339 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1346 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp13_, EVENTS_TYPE_EVENT_ENTRY)) {
-#line 8285 "LibraryWindow.c"
+#line 8406 "LibraryWindow.c"
EventsBranch* _tmp14_ = NULL;
gboolean _tmp15_ = FALSE;
-#line 1339 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1346 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp14_ = self->priv->events_branch;
-#line 1339 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1346 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp15_ = sidebar_branch_get_show_branch (G_TYPE_CHECK_INSTANCE_CAST (_tmp14_, SIDEBAR_TYPE_BRANCH, SidebarBranch));
-#line 1339 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1346 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp12_ = _tmp15_;
-#line 8294 "LibraryWindow.c"
+#line 8415 "LibraryWindow.c"
} else {
-#line 1339 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1346 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp12_ = FALSE;
-#line 8298 "LibraryWindow.c"
+#line 8419 "LibraryWindow.c"
}
-#line 1339 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1346 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp12_) {
-#line 8302 "LibraryWindow.c"
+#line 8423 "LibraryWindow.c"
EventsBranch* _tmp16_ = NULL;
EventsMasterDirectoryEntry* _tmp17_ = NULL;
EventsMasterDirectoryEntry* _tmp18_ = NULL;
Page* _tmp19_ = NULL;
Page* _tmp20_ = NULL;
-#line 1340 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1347 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp16_ = self->priv->events_branch;
-#line 1340 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1347 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp17_ = events_branch_get_master_entry (_tmp16_);
-#line 1340 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1347 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp18_ = _tmp17_;
-#line 1340 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1347 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp19_ = sidebar_page_representative_get_page (G_TYPE_CHECK_INSTANCE_CAST (_tmp18_, SIDEBAR_TYPE_PAGE_REPRESENTATIVE, SidebarPageRepresentative));
-#line 1340 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1347 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp20_ = _tmp19_;
-#line 1340 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1347 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_switch_to_page (self, _tmp20_);
-#line 1340 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1347 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (_tmp20_);
-#line 1340 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1347 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (_tmp18_);
-#line 1342 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1349 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (last_import_entry);
-#line 1342 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1349 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return;
-#line 8328 "LibraryWindow.c"
+#line 8449 "LibraryWindow.c"
}
-#line 1346 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1353 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp22_ = selectable;
-#line 1346 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1353 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp22_, EVENTS_TYPE_DIRECTORY_ENTRY)) {
-#line 8334 "LibraryWindow.c"
+#line 8455 "LibraryWindow.c"
EventsBranch* _tmp23_ = NULL;
gboolean _tmp24_ = FALSE;
-#line 1346 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1353 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp23_ = self->priv->events_branch;
-#line 1346 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1353 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp24_ = sidebar_branch_get_show_branch (G_TYPE_CHECK_INSTANCE_CAST (_tmp23_, SIDEBAR_TYPE_BRANCH, SidebarBranch));
-#line 1346 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1353 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp21_ = _tmp24_;
-#line 8343 "LibraryWindow.c"
+#line 8464 "LibraryWindow.c"
} else {
-#line 1346 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1353 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp21_ = FALSE;
-#line 8347 "LibraryWindow.c"
+#line 8468 "LibraryWindow.c"
}
-#line 1346 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1353 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp21_) {
-#line 8351 "LibraryWindow.c"
+#line 8472 "LibraryWindow.c"
EventsBranch* _tmp25_ = NULL;
EventsMasterDirectoryEntry* _tmp26_ = NULL;
EventsMasterDirectoryEntry* _tmp27_ = NULL;
Page* _tmp28_ = NULL;
Page* _tmp29_ = NULL;
-#line 1347 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1354 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp25_ = self->priv->events_branch;
-#line 1347 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1354 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp26_ = events_branch_get_master_entry (_tmp25_);
-#line 1347 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1354 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp27_ = _tmp26_;
-#line 1347 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1354 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp28_ = sidebar_page_representative_get_page (G_TYPE_CHECK_INSTANCE_CAST (_tmp27_, SIDEBAR_TYPE_PAGE_REPRESENTATIVE, SidebarPageRepresentative));
-#line 1347 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1354 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp29_ = _tmp28_;
-#line 1347 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1354 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_switch_to_page (self, _tmp29_);
-#line 1347 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1354 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (_tmp29_);
-#line 1347 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1354 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (_tmp27_);
-#line 1349 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1356 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (last_import_entry);
-#line 1349 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1356 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return;
-#line 8377 "LibraryWindow.c"
+#line 8498 "LibraryWindow.c"
}
-#line 1353 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1360 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp30_ = self->priv->library_branch;
-#line 1353 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1360 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp31_ = library_branch_get_photos_entry (_tmp30_);
-#line 1353 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1360 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp32_ = _tmp31_;
-#line 1353 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1360 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp33_ = sidebar_page_representative_get_page (G_TYPE_CHECK_INSTANCE_CAST (_tmp32_, SIDEBAR_TYPE_PAGE_REPRESENTATIVE, SidebarPageRepresentative));
-#line 1353 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1360 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp34_ = _tmp33_;
-#line 1353 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1360 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_switch_to_page (self, _tmp34_);
-#line 1353 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1360 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (_tmp34_);
-#line 1325 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1332 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (last_import_entry);
-#line 8395 "LibraryWindow.c"
+#line 8516 "LibraryWindow.c"
}
static void _library_window_on_update_properties_view_collection_items_state_changed (ViewCollection* _sender, GeeIterable* changed, gpointer self) {
-#line 1359 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1366 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_on_update_properties ((LibraryWindow*) self);
-#line 8402 "LibraryWindow.c"
+#line 8523 "LibraryWindow.c"
}
static void _library_window_on_update_properties_data_collection_items_altered (DataCollection* _sender, GeeMap* items, gpointer self) {
-#line 1360 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1367 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_on_update_properties ((LibraryWindow*) self);
-#line 8409 "LibraryWindow.c"
+#line 8530 "LibraryWindow.c"
}
static void _library_window_on_update_properties_data_collection_contents_altered (DataCollection* _sender, GeeIterable* added, GeeIterable* removed, gpointer self) {
-#line 1361 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1368 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_on_update_properties ((LibraryWindow*) self);
-#line 8416 "LibraryWindow.c"
+#line 8537 "LibraryWindow.c"
}
static void _library_window_on_update_properties_view_collection_items_visibility_changed (ViewCollection* _sender, GeeCollection* changed, gpointer self) {
-#line 1362 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1369 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_on_update_properties ((LibraryWindow*) self);
-#line 8423 "LibraryWindow.c"
+#line 8544 "LibraryWindow.c"
}
@@ -8428,27 +8549,27 @@ static void library_window_subscribe_for_basic_information (LibraryWindow* self,
ViewCollection* view = NULL;
Page* _tmp0_ = NULL;
ViewCollection* _tmp1_ = NULL;
-#line 1356 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1363 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (IS_LIBRARY_WINDOW (self));
-#line 1356 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1363 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (IS_PAGE (page));
-#line 1357 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1364 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp0_ = page;
-#line 1357 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1364 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp1_ = page_get_view (_tmp0_);
-#line 1357 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1364 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
view = _tmp1_;
-#line 1359 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1366 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_signal_connect_object (view, "items-state-changed", (GCallback) _library_window_on_update_properties_view_collection_items_state_changed, self, 0);
-#line 1360 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1367 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (view, TYPE_DATA_COLLECTION, DataCollection), "items-altered", (GCallback) _library_window_on_update_properties_data_collection_items_altered, self, 0);
-#line 1361 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1368 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_signal_connect_object (G_TYPE_CHECK_INSTANCE_CAST (view, TYPE_DATA_COLLECTION, DataCollection), "contents-altered", (GCallback) _library_window_on_update_properties_data_collection_contents_altered, self, 0);
-#line 1362 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1369 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_signal_connect_object (view, "items-visibility-changed", (GCallback) _library_window_on_update_properties_view_collection_items_visibility_changed, self, 0);
-#line 1356 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1363 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_data_collection_unref0 (view);
-#line 8451 "LibraryWindow.c"
+#line 8572 "LibraryWindow.c"
}
@@ -8460,47 +8581,47 @@ static void library_window_unsubscribe_from_basic_information (LibraryWindow* se
guint _tmp3_ = 0U;
guint _tmp4_ = 0U;
guint _tmp5_ = 0U;
-#line 1365 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1372 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (IS_LIBRARY_WINDOW (self));
-#line 1365 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1372 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (IS_PAGE (page));
-#line 1366 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1373 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp0_ = page;
-#line 1366 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1373 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp1_ = page_get_view (_tmp0_);
-#line 1366 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1373 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
view = _tmp1_;
-#line 1368 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1375 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_signal_parse_name ("items-state-changed", TYPE_VIEW_COLLECTION, &_tmp2_, NULL, FALSE);
-#line 1368 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1375 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_signal_handlers_disconnect_matched (view, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp2_, 0, NULL, (GCallback) _library_window_on_update_properties_view_collection_items_state_changed, self);
-#line 1369 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1376 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_signal_parse_name ("items-altered", TYPE_DATA_COLLECTION, &_tmp3_, NULL, FALSE);
-#line 1369 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1376 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (view, TYPE_DATA_COLLECTION, DataCollection), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp3_, 0, NULL, (GCallback) _library_window_on_update_properties_data_collection_items_altered, self);
-#line 1370 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1377 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_signal_parse_name ("contents-altered", TYPE_DATA_COLLECTION, &_tmp4_, NULL, FALSE);
-#line 1370 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1377 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (view, TYPE_DATA_COLLECTION, DataCollection), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp4_, 0, NULL, (GCallback) _library_window_on_update_properties_data_collection_contents_altered, self);
-#line 1371 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1378 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_signal_parse_name ("items-visibility-changed", TYPE_VIEW_COLLECTION, &_tmp5_, NULL, FALSE);
-#line 1371 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1378 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_signal_handlers_disconnect_matched (view, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp5_, 0, NULL, (GCallback) _library_window_on_update_properties_view_collection_items_visibility_changed, self);
-#line 1365 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1372 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_data_collection_unref0 (view);
-#line 8491 "LibraryWindow.c"
+#line 8612 "LibraryWindow.c"
}
static void library_window_on_update_properties (LibraryWindow* self) {
OneShotScheduler* _tmp0_ = NULL;
-#line 1374 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1381 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (IS_LIBRARY_WINDOW (self));
-#line 1375 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1382 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp0_ = self->priv->properties_scheduler;
-#line 1375 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1382 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
one_shot_scheduler_at_idle (_tmp0_);
-#line 8503 "LibraryWindow.c"
+#line 8624 "LibraryWindow.c"
}
@@ -8511,55 +8632,55 @@ static void library_window_on_update_properties_now (LibraryWindow* self) {
ExtendedPropertiesWindow* _tmp6_ = NULL;
gboolean _tmp7_ = FALSE;
gboolean _tmp8_ = FALSE;
-#line 1378 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1385 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (IS_LIBRARY_WINDOW (self));
-#line 1379 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1386 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp0_ = self->priv->bottom_frame;
-#line 1379 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1386 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp1_ = gtk_widget_get_visible (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, gtk_widget_get_type (), GtkWidget));
-#line 1379 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1386 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp2_ = _tmp1_;
-#line 1379 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1386 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp2_) {
-#line 8524 "LibraryWindow.c"
+#line 8645 "LibraryWindow.c"
BasicProperties* _tmp3_ = NULL;
Page* _tmp4_ = NULL;
Page* _tmp5_ = NULL;
-#line 1380 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1387 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp3_ = self->priv->basic_properties;
-#line 1380 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1387 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp4_ = page_window_get_current_page (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow));
-#line 1380 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1387 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp5_ = _tmp4_;
-#line 1380 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1387 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
properties_update_properties (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, TYPE_PROPERTIES, Properties), _tmp5_);
-#line 1380 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1387 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (_tmp5_);
-#line 8538 "LibraryWindow.c"
+#line 8659 "LibraryWindow.c"
}
-#line 1382 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1389 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp6_ = self->priv->extended_properties;
-#line 1382 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1389 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp7_ = gtk_widget_get_visible (G_TYPE_CHECK_INSTANCE_CAST (_tmp6_, gtk_widget_get_type (), GtkWidget));
-#line 1382 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1389 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp8_ = _tmp7_;
-#line 1382 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1389 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp8_) {
-#line 8548 "LibraryWindow.c"
+#line 8669 "LibraryWindow.c"
ExtendedPropertiesWindow* _tmp9_ = NULL;
Page* _tmp10_ = NULL;
Page* _tmp11_ = NULL;
-#line 1383 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1390 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp9_ = self->priv->extended_properties;
-#line 1383 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1390 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp10_ = page_window_get_current_page (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow));
-#line 1383 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1390 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp11_ = _tmp10_;
-#line 1383 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1390 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
extended_properties_window_update_properties (_tmp9_, _tmp11_);
-#line 1383 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1390 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (_tmp11_);
-#line 8562 "LibraryWindow.c"
+#line 8683 "LibraryWindow.c"
}
}
@@ -8567,13 +8688,13 @@ static void library_window_on_update_properties_now (LibraryWindow* self) {
static gchar* string_replace (const gchar* self, const gchar* old, const gchar* replacement) {
gchar* result = NULL;
GError * _inner_error_ = NULL;
-#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (old != NULL, NULL);
-#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (replacement != NULL, NULL);
-#line 8576 "LibraryWindow.c"
+#line 8697 "LibraryWindow.c"
{
GRegex* regex = NULL;
const gchar* _tmp0_ = NULL;
@@ -8586,100 +8707,100 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar*
const gchar* _tmp7_ = NULL;
gchar* _tmp8_ = NULL;
gchar* _tmp9_ = NULL;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = old;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = g_regex_escape_string (_tmp0_, -1);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = _tmp1_;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = g_regex_new (_tmp2_, 0, 0, &_inner_error_);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = _tmp3_;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_free0 (_tmp2_);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
regex = _tmp4_;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_inner_error_->domain == G_REGEX_ERROR) {
-#line 8607 "LibraryWindow.c"
+#line 8728 "LibraryWindow.c"
goto __catch41_g_regex_error;
}
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_clear_error (&_inner_error_);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return NULL;
-#line 8616 "LibraryWindow.c"
+#line 8737 "LibraryWindow.c"
}
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6_ = regex;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp7_ = replacement;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp8_ = g_regex_replace_literal (_tmp6_, self, (gssize) -1, 0, _tmp7_, 0, &_inner_error_);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = _tmp8_;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_regex_unref0 (regex);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_inner_error_->domain == G_REGEX_ERROR) {
-#line 8632 "LibraryWindow.c"
+#line 8753 "LibraryWindow.c"
goto __catch41_g_regex_error;
}
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_regex_unref0 (regex);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_clear_error (&_inner_error_);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return NULL;
-#line 8643 "LibraryWindow.c"
+#line 8764 "LibraryWindow.c"
}
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp9_ = _tmp5_;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = NULL;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp9_;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_free0 (_tmp5_);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_regex_unref0 (regex);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
-#line 8657 "LibraryWindow.c"
+#line 8778 "LibraryWindow.c"
}
goto __finally41;
__catch41_g_regex_error:
{
GError* e = NULL;
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
e = _inner_error_;
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_inner_error_ = NULL;
-#line 1385 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1385 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_assert_not_reached ();
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_error_free0 (e);
-#line 8671 "LibraryWindow.c"
+#line 8792 "LibraryWindow.c"
}
__finally41:
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
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 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_clear_error (&_inner_error_);
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return NULL;
-#line 8682 "LibraryWindow.c"
+#line 8803 "LibraryWindow.c"
}
}
@@ -8697,66 +8818,66 @@ void library_window_mounted_camera_shell_notification (LibraryWindow* self, cons
gboolean _tmp13_ = FALSE;
gboolean _tmp18_ = FALSE;
GError * _inner_error_ = NULL;
-#line 1386 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1393 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (IS_LIBRARY_WINDOW (self));
-#line 1386 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1393 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_if_fail (uri != NULL);
-#line 1387 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1394 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp0_ = uri;
-#line 1387 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- g_debug ("LibraryWindow.vala:1387: mount point reported: %s", _tmp0_);
-#line 1390 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1394 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ g_debug ("LibraryWindow.vala:1394: mount point reported: %s", _tmp0_);
+#line 1397 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp1_ = uri;
-#line 1390 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1397 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp2_ = library_window_is_mount_uri_supported (_tmp1_);
-#line 1390 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1397 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (!_tmp2_) {
-#line 8714 "LibraryWindow.c"
+#line 8835 "LibraryWindow.c"
const gchar* _tmp3_ = NULL;
-#line 1391 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1398 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp3_ = uri;
-#line 1391 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- g_debug ("LibraryWindow.vala:1391: Unsupported mount scheme: %s", _tmp3_);
-#line 1393 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1398 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ g_debug ("LibraryWindow.vala:1398: Unsupported mount scheme: %s", _tmp3_);
+#line 1400 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return;
-#line 8722 "LibraryWindow.c"
+#line 8843 "LibraryWindow.c"
}
-#line 1396 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1403 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp4_ = uri;
-#line 1396 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1403 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp5_ = g_file_new_for_uri (_tmp4_);
-#line 1396 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1403 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
uri_file = _tmp5_;
-#line 1399 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1406 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
mount = NULL;
-#line 8732 "LibraryWindow.c"
+#line 8853 "LibraryWindow.c"
{
GMount* _tmp6_ = NULL;
GFile* _tmp7_ = NULL;
GMount* _tmp8_ = NULL;
GMount* _tmp9_ = NULL;
-#line 1401 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1408 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp7_ = uri_file;
-#line 1401 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1408 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp8_ = g_file_find_enclosing_mount (_tmp7_, NULL, &_inner_error_);
-#line 1401 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1408 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp6_ = _tmp8_;
-#line 1401 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1408 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 8746 "LibraryWindow.c"
+#line 8867 "LibraryWindow.c"
goto __catch40_g_error;
}
-#line 1401 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1408 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp9_ = _tmp6_;
-#line 1401 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1408 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp6_ = NULL;
-#line 1401 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1408 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (mount);
-#line 1401 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1408 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
mount = _tmp9_;
-#line 1400 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1407 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (_tmp6_);
-#line 8759 "LibraryWindow.c"
+#line 8880 "LibraryWindow.c"
}
goto __finally40;
__catch40_g_error:
@@ -8764,121 +8885,121 @@ void library_window_mounted_camera_shell_notification (LibraryWindow* self, cons
GError* err = NULL;
GError* _tmp10_ = NULL;
const gchar* _tmp11_ = NULL;
-#line 1400 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1407 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
err = _inner_error_;
-#line 1400 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1407 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_inner_error_ = NULL;
-#line 1403 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1410 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp10_ = err;
-#line 1403 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1410 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp11_ = _tmp10_->message;
-#line 1403 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- g_debug ("LibraryWindow.vala:1403: %s", _tmp11_);
-#line 1405 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1410 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ g_debug ("LibraryWindow.vala:1410: %s", _tmp11_);
+#line 1412 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_error_free0 (err);
-#line 1405 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1412 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (mount);
-#line 1405 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1412 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (uri_file);
-#line 1405 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1412 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return;
-#line 8785 "LibraryWindow.c"
+#line 8906 "LibraryWindow.c"
}
__finally40:
-#line 1400 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1407 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1400 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1407 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (mount);
-#line 1400 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1407 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (uri_file);
-#line 1400 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1407 "/home/jens/Source/shotwell/src/library/LibraryWindow.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 1400 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1407 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_clear_error (&_inner_error_);
-#line 1400 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1407 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return;
-#line 8800 "LibraryWindow.c"
+#line 8921 "LibraryWindow.c"
}
-#line 1409 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1416 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
alt_uri = NULL;
-#line 1410 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1417 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp12_ = uri;
-#line 1410 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1417 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp13_ = g_str_has_prefix (_tmp12_, "file://");
-#line 1410 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1417 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp13_) {
-#line 8810 "LibraryWindow.c"
+#line 8931 "LibraryWindow.c"
const gchar* _tmp14_ = NULL;
gchar* _tmp15_ = NULL;
gchar* _tmp16_ = NULL;
gchar* _tmp17_ = NULL;
-#line 1411 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1418 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp14_ = uri;
-#line 1411 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1418 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp15_ = string_replace (_tmp14_, "file://", "disk:");
-#line 1411 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1418 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp16_ = _tmp15_;
-#line 1411 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1418 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp17_ = camera_table_get_port_uri (_tmp16_);
-#line 1411 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1418 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_free0 (alt_uri);
-#line 1411 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1418 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
alt_uri = _tmp17_;
-#line 1411 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1418 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_free0 (_tmp16_);
-#line 8829 "LibraryWindow.c"
+#line 8950 "LibraryWindow.c"
}
-#line 1414 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1421 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp18_ = at_startup;
-#line 1414 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1421 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp18_) {
-#line 8835 "LibraryWindow.c"
+#line 8956 "LibraryWindow.c"
const gchar* _tmp19_ = NULL;
gboolean _tmp20_ = FALSE;
const gchar* _tmp23_ = NULL;
gboolean _tmp24_ = FALSE;
-#line 1415 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1422 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp19_ = uri;
-#line 1415 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1422 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp20_ = is_string_empty (_tmp19_);
-#line 1415 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1422 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (!_tmp20_) {
-#line 8846 "LibraryWindow.c"
+#line 8967 "LibraryWindow.c"
GeeHashSet* _tmp21_ = NULL;
const gchar* _tmp22_ = NULL;
-#line 1416 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1423 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp21_ = library_window_initial_camera_uris;
-#line 1416 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1423 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp22_ = uri;
-#line 1416 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1423 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp21_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp22_);
-#line 8855 "LibraryWindow.c"
+#line 8976 "LibraryWindow.c"
}
-#line 1418 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1425 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp23_ = alt_uri;
-#line 1418 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1425 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp24_ = is_string_empty (_tmp23_);
-#line 1418 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1425 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (!_tmp24_) {
-#line 8863 "LibraryWindow.c"
+#line 8984 "LibraryWindow.c"
GeeHashSet* _tmp25_ = NULL;
const gchar* _tmp26_ = NULL;
-#line 1419 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1426 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp25_ = library_window_initial_camera_uris;
-#line 1419 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1426 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp26_ = alt_uri;
-#line 1419 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1426 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp25_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp26_);
-#line 8872 "LibraryWindow.c"
+#line 8993 "LibraryWindow.c"
}
}
-#line 1386 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1393 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_free0 (alt_uri);
-#line 1386 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1393 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (mount);
-#line 1386 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1393 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (uri_file);
-#line 8881 "LibraryWindow.c"
+#line 9002 "LibraryWindow.c"
}
@@ -8895,97 +9016,97 @@ static gboolean library_window_real_key_press_event (GtkWidget* base, GdkEventKe
GdkEventKey* _tmp13_ = NULL;
guint _tmp14_ = 0U;
const gchar* _tmp15_ = NULL;
-#line 1423 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1430 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (base, TYPE_LIBRARY_WINDOW, LibraryWindow);
-#line 1423 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1430 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_return_val_if_fail (event != NULL, FALSE);
-#line 1424 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1431 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp2_ = self->priv->sidebar_tree;
-#line 1424 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1431 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_object_get (G_TYPE_CHECK_INSTANCE_CAST (_tmp2_, gtk_widget_get_type (), GtkWidget), "has-focus", &_tmp3_, NULL);
-#line 1424 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1431 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp4_ = _tmp3_;
-#line 1424 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1431 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp4_) {
-#line 8910 "LibraryWindow.c"
+#line 9031 "LibraryWindow.c"
SidebarTree* _tmp5_ = NULL;
GdkEventKey* _tmp6_ = NULL;
gboolean _tmp7_ = FALSE;
-#line 1424 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1431 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp5_ = self->priv->sidebar_tree;
-#line 1424 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1431 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp6_ = event;
-#line 1424 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1431 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp7_ = sidebar_tree_is_keypress_interpreted (_tmp5_, _tmp6_);
-#line 1424 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1431 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp1_ = _tmp7_;
-#line 8922 "LibraryWindow.c"
+#line 9043 "LibraryWindow.c"
} else {
-#line 1424 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1431 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp1_ = FALSE;
-#line 8926 "LibraryWindow.c"
+#line 9047 "LibraryWindow.c"
}
-#line 1424 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1431 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp1_) {
-#line 8930 "LibraryWindow.c"
+#line 9051 "LibraryWindow.c"
SidebarTree* _tmp8_ = NULL;
GdkEventKey* _tmp9_ = NULL;
gboolean _tmp10_ = FALSE;
-#line 1425 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1432 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp8_ = self->priv->sidebar_tree;
-#line 1425 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1432 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp9_ = event;
-#line 1425 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1432 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_signal_emit_by_name (G_TYPE_CHECK_INSTANCE_CAST (_tmp8_, gtk_widget_get_type (), GtkWidget), "key-press-event", _tmp9_, &_tmp10_);
-#line 1425 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1432 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp0_ = _tmp10_;
-#line 8942 "LibraryWindow.c"
+#line 9063 "LibraryWindow.c"
} else {
-#line 1424 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1431 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp0_ = FALSE;
-#line 8946 "LibraryWindow.c"
+#line 9067 "LibraryWindow.c"
}
-#line 1424 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1431 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp0_) {
-#line 1426 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1433 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
result = TRUE;
-#line 1426 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1433 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return result;
-#line 8954 "LibraryWindow.c"
+#line 9075 "LibraryWindow.c"
}
-#line 1429 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1436 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp11_ = event;
-#line 1429 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1436 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp12_ = GTK_WIDGET_CLASS (library_window_parent_class)->key_press_event (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_APP_WINDOW, AppWindow), gtk_widget_get_type (), GtkWidget), _tmp11_);
-#line 1429 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1436 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp12_) {
-#line 1430 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1437 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
result = TRUE;
-#line 1430 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1437 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return result;
-#line 8966 "LibraryWindow.c"
+#line 9087 "LibraryWindow.c"
}
-#line 1432 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1439 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp13_ = event;
-#line 1432 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1439 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp14_ = _tmp13_->keyval;
-#line 1432 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1439 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp15_ = gdk_keyval_name (_tmp14_);
-#line 1432 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1439 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (g_strcmp0 (_tmp15_, "Escape") == 0) {
-#line 1433 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1440 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_on_clear_search (self);
-#line 1434 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1441 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
result = TRUE;
-#line 1434 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1441 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return result;
-#line 8982 "LibraryWindow.c"
+#line 9103 "LibraryWindow.c"
}
-#line 1437 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1444 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
result = FALSE;
-#line 1437 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 1444 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return result;
-#line 8988 "LibraryWindow.c"
+#line 9109 "LibraryWindow.c"
}
@@ -9001,14 +9122,14 @@ gint library_window_get_PAGE_MIN_WIDTH (void) {
result = _tmp1_ + (CHECKERBOARD_LAYOUT_COLUMN_GUTTER_PADDING * 2);
#line 12 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return result;
-#line 9004 "LibraryWindow.c"
+#line 9125 "LibraryWindow.c"
}
static gpointer _data_collection_ref0 (gpointer self) {
#line 78 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return self ? data_collection_ref (self) : NULL;
-#line 9011 "LibraryWindow.c"
+#line 9132 "LibraryWindow.c"
}
@@ -9054,14 +9175,14 @@ static LibraryWindowFullscreenPhotoPage* library_window_fullscreen_photo_page_co
self->priv->view = _tmp5_;
#line 75 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return self;
-#line 9057 "LibraryWindow.c"
+#line 9178 "LibraryWindow.c"
}
static LibraryWindowFullscreenPhotoPage* library_window_fullscreen_photo_page_new (CollectionPage* collection, Photo* start, ViewCollection* view) {
#line 75 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
return library_window_fullscreen_photo_page_construct (LIBRARY_WINDOW_TYPE_FULLSCREEN_PHOTO_PAGE, collection, start, view);
-#line 9064 "LibraryWindow.c"
+#line 9185 "LibraryWindow.c"
}
@@ -9082,7 +9203,7 @@ static void library_window_fullscreen_photo_page_real_switched_to (Page* base) {
library_photo_page_display_for_collection (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_LIBRARY_PHOTO_PAGE, LibraryPhotoPage), _tmp0_, _tmp1_, _tmp2_);
#line 84 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
PAGE_CLASS (library_window_fullscreen_photo_page_parent_class)->switched_to (G_TYPE_CHECK_INSTANCE_CAST (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_LIBRARY_PHOTO_PAGE, LibraryPhotoPage), TYPE_PAGE, Page));
-#line 9085 "LibraryWindow.c"
+#line 9206 "LibraryWindow.c"
}
@@ -9097,7 +9218,7 @@ static void library_window_fullscreen_photo_page_real_init_collect_ui_filenames
_tmp0_ = ui_filenames;
#line 90 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
gee_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, GEE_TYPE_COLLECTION, GeeCollection), "photo_context.ui");
-#line 9100 "LibraryWindow.c"
+#line 9221 "LibraryWindow.c"
}
@@ -9112,14 +9233,14 @@ static void library_window_fullscreen_photo_page_class_init (LibraryWindowFullsc
((PageClass *) klass)->init_collect_ui_filenames = library_window_fullscreen_photo_page_real_init_collect_ui_filenames;
#line 70 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
G_OBJECT_CLASS (klass)->finalize = library_window_fullscreen_photo_page_finalize;
-#line 9115 "LibraryWindow.c"
+#line 9236 "LibraryWindow.c"
}
static void library_window_fullscreen_photo_page_instance_init (LibraryWindowFullscreenPhotoPage * self) {
#line 70 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
self->priv = LIBRARY_WINDOW_FULLSCREEN_PHOTO_PAGE_GET_PRIVATE (self);
-#line 9122 "LibraryWindow.c"
+#line 9243 "LibraryWindow.c"
}
@@ -9135,7 +9256,7 @@ static void library_window_fullscreen_photo_page_finalize (GObject* obj) {
_data_collection_unref0 (self->priv->view);
#line 70 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
G_OBJECT_CLASS (library_window_fullscreen_photo_page_parent_class)->finalize (obj);
-#line 9138 "LibraryWindow.c"
+#line 9259 "LibraryWindow.c"
}
@@ -9189,7 +9310,7 @@ static void library_window_class_init (LibraryWindowClass * klass) {
_tmp0_ = gee_hash_set_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, NULL, NULL, NULL, NULL, NULL, NULL);
#line 119 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_initial_camera_uris = _tmp0_;
-#line 9192 "LibraryWindow.c"
+#line 9313 "LibraryWindow.c"
}
@@ -9213,6 +9334,7 @@ static void library_window_instance_init (LibraryWindow * self) {
BasicProperties* _tmp16_ = NULL;
GtkStack* _tmp17_ = NULL;
GtkBox* _tmp18_ = NULL;
+ GtkRevealer* _tmp19_ = NULL;
#line 7 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
self->priv = LIBRARY_WINDOW_GET_PRIVATE (self);
#line 95 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
@@ -9319,11 +9441,17 @@ static void library_window_instance_init (LibraryWindow * self) {
g_object_ref_sink (_tmp18_);
#line 138 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
self->priv->layout = _tmp18_;
-#line 141 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- self->priv->current_progress_priority = 0;
+#line 140 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ _tmp19_ = (GtkRevealer*) gtk_revealer_new ();
+#line 140 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ g_object_ref_sink (_tmp19_);
+#line 140 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ self->priv->toolbar_revealer = _tmp19_;
#line 142 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ self->priv->current_progress_priority = 0;
+#line 143 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
self->priv->background_progress_pulse_id = (guint) 0;
-#line 9326 "LibraryWindow.c"
+#line 9454 "LibraryWindow.c"
}
@@ -9363,51 +9491,51 @@ static void library_window_finalize (GObject* obj) {
guint _tmp45_ = 0U;
#line 7 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
self = G_TYPE_CHECK_INSTANCE_CAST (obj, TYPE_LIBRARY_WINDOW, LibraryWindow);
-#line 215 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 216 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp0_ = self->priv->sidebar_tree;
-#line 215 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 216 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_signal_parse_name ("page-created", SIDEBAR_TYPE_TREE, &_tmp1_, NULL, FALSE);
-#line 215 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- g_signal_handlers_disconnect_matched (_tmp0_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp1_, 0, NULL, (GCallback) _library_window_on_page_created_sidebar_tree_page_created, self);
#line 216 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ g_signal_handlers_disconnect_matched (_tmp0_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp1_, 0, NULL, (GCallback) _library_window_on_page_created_sidebar_tree_page_created, self);
+#line 217 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp2_ = self->priv->sidebar_tree;
-#line 216 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 217 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_signal_parse_name ("destroying-page", SIDEBAR_TYPE_TREE, &_tmp3_, NULL, FALSE);
-#line 216 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- g_signal_handlers_disconnect_matched (_tmp2_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp3_, 0, NULL, (GCallback) _library_window_on_destroying_page_sidebar_tree_destroying_page, self);
#line 217 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ g_signal_handlers_disconnect_matched (_tmp2_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp3_, 0, NULL, (GCallback) _library_window_on_destroying_page_sidebar_tree_destroying_page, self);
+#line 218 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp4_ = self->priv->sidebar_tree;
-#line 217 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 218 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_signal_parse_name ("entry-selected", SIDEBAR_TYPE_TREE, &_tmp5_, NULL, FALSE);
-#line 217 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- g_signal_handlers_disconnect_matched (_tmp4_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp5_, 0, NULL, (GCallback) _library_window_on_sidebar_entry_selected_sidebar_tree_entry_selected, self);
#line 218 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ g_signal_handlers_disconnect_matched (_tmp4_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp5_, 0, NULL, (GCallback) _library_window_on_sidebar_entry_selected_sidebar_tree_entry_selected, self);
+#line 219 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp6_ = self->priv->sidebar_tree;
-#line 218 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 219 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_signal_parse_name ("selected-entry-removed", SIDEBAR_TYPE_TREE, &_tmp7_, NULL, FALSE);
-#line 218 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 219 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_signal_handlers_disconnect_matched (_tmp6_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp7_, 0, NULL, (GCallback) _library_window_on_sidebar_selected_entry_removed_sidebar_tree_selected_entry_removed, self);
-#line 220 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 221 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp8_ = page_window_get_current_page (G_TYPE_CHECK_INSTANCE_CAST (self, TYPE_PAGE_WINDOW, PageWindow));
-#line 220 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 221 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp9_ = _tmp8_;
-#line 220 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 221 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_unsubscribe_from_basic_information (self, _tmp9_);
-#line 220 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 221 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (_tmp9_);
-#line 222 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 223 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp10_ = self->priv->extended_properties;
-#line 222 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 223 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_signal_parse_name ("hide", gtk_widget_get_type (), &_tmp11_, NULL, FALSE);
-#line 222 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, gtk_widget_get_type (), GtkWidget), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp11_, 0, NULL, (GCallback) _library_window_hide_extended_properties_gtk_widget_hide, self);
#line 223 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, gtk_widget_get_type (), GtkWidget), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp11_, 0, NULL, (GCallback) _library_window_hide_extended_properties_gtk_widget_hide, self);
+#line 224 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp12_ = self->priv->extended_properties;
-#line 223 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 224 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_signal_parse_name ("show", gtk_widget_get_type (), &_tmp13_, NULL, FALSE);
-#line 223 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 224 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, gtk_widget_get_type (), GtkWidget), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp13_, 0, NULL, (GCallback) _library_window_show_extended_properties_gtk_widget_show, self);
-#line 9410 "LibraryWindow.c"
+#line 9538 "LibraryWindow.c"
{
GeeIterator* _media_sources_it = NULL;
MediaCollectionRegistry* _tmp14_ = NULL;
@@ -9416,27 +9544,27 @@ static void library_window_finalize (GObject* obj) {
GeeCollection* _tmp17_ = NULL;
GeeIterator* _tmp18_ = NULL;
GeeIterator* _tmp19_ = NULL;
-#line 225 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 226 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp14_ = media_collection_registry_get_instance ();
-#line 225 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 226 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp15_ = _tmp14_;
-#line 225 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 226 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp16_ = media_collection_registry_get_all (_tmp15_);
-#line 225 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 226 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp17_ = _tmp16_;
-#line 225 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 226 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp18_ = gee_iterable_iterator (G_TYPE_CHECK_INSTANCE_CAST (_tmp17_, GEE_TYPE_ITERABLE, GeeIterable));
-#line 225 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 226 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp19_ = _tmp18_;
-#line 225 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 226 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (_tmp17_);
-#line 225 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 226 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_media_collection_registry_unref0 (_tmp15_);
-#line 225 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 226 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_media_sources_it = _tmp19_;
-#line 225 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 226 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
while (TRUE) {
-#line 9439 "LibraryWindow.c"
+#line 9567 "LibraryWindow.c"
GeeIterator* _tmp20_ = NULL;
gboolean _tmp21_ = FALSE;
MediaSourceCollection* media_sources = NULL;
@@ -9446,105 +9574,105 @@ static void library_window_finalize (GObject* obj) {
guint _tmp25_ = 0U;
MediaSourceCollection* _tmp26_ = NULL;
guint _tmp27_ = 0U;
-#line 225 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 226 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp20_ = _media_sources_it;
-#line 225 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 226 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp21_ = gee_iterator_next (_tmp20_);
-#line 225 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 226 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (!_tmp21_) {
-#line 225 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 226 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
break;
-#line 9457 "LibraryWindow.c"
+#line 9585 "LibraryWindow.c"
}
-#line 225 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 226 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp22_ = _media_sources_it;
-#line 225 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 226 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp23_ = gee_iterator_get (_tmp22_);
-#line 225 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- media_sources = (MediaSourceCollection*) _tmp23_;
#line 226 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ media_sources = (MediaSourceCollection*) _tmp23_;
+#line 227 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp24_ = media_sources;
-#line 226 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 227 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_signal_parse_name ("trashcan-contents-altered", TYPE_MEDIA_SOURCE_COLLECTION, &_tmp25_, NULL, FALSE);
-#line 226 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- g_signal_handlers_disconnect_matched (_tmp24_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp25_, 0, NULL, (GCallback) _library_window_on_trashcan_contents_altered_media_source_collection_trashcan_contents_altered, self);
#line 227 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ g_signal_handlers_disconnect_matched (_tmp24_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp25_, 0, NULL, (GCallback) _library_window_on_trashcan_contents_altered_media_source_collection_trashcan_contents_altered, self);
+#line 228 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp26_ = media_sources;
-#line 227 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 228 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_signal_parse_name ("items-altered", TYPE_DATA_COLLECTION, &_tmp27_, NULL, FALSE);
-#line 227 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 228 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_signal_handlers_disconnect_matched (G_TYPE_CHECK_INSTANCE_CAST (_tmp26_, TYPE_DATA_COLLECTION, DataCollection), G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp27_, 0, NULL, (GCallback) _library_window_on_media_altered_data_collection_items_altered, self);
-#line 225 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 226 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_data_collection_unref0 (media_sources);
-#line 9479 "LibraryWindow.c"
+#line 9607 "LibraryWindow.c"
}
-#line 225 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 226 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (_media_sources_it);
-#line 9483 "LibraryWindow.c"
+#line 9611 "LibraryWindow.c"
}
-#line 230 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 231 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp28_ = metadata_writer_get_instance ();
-#line 230 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 231 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp29_ = _tmp28_;
-#line 230 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 231 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_signal_parse_name ("progress", TYPE_METADATA_WRITER, &_tmp30_, NULL, FALSE);
-#line 230 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 231 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_signal_handlers_disconnect_matched (_tmp29_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp30_, 0, NULL, (GCallback) _library_window_on_metadata_writer_progress_metadata_writer_progress, self);
-#line 230 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 231 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (_tmp29_);
-#line 232 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 233 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp31_ = library_monitor_pool_get_instance ();
-#line 232 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 233 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp32_ = _tmp31_;
-#line 232 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 233 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp33_ = library_monitor_pool_get_monitor (_tmp32_);
-#line 232 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 233 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp34_ = _tmp33_;
-#line 232 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 233 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_library_monitor_pool_unref0 (_tmp32_);
-#line 232 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- monitor = _tmp34_;
#line 233 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ monitor = _tmp34_;
+#line 234 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp35_ = monitor;
-#line 233 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 234 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
if (_tmp35_ != NULL) {
-#line 9511 "LibraryWindow.c"
+#line 9639 "LibraryWindow.c"
LibraryMonitor* _tmp36_ = NULL;
-#line 234 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 235 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp36_ = monitor;
-#line 234 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 235 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
library_window_on_library_monitor_destroyed (self, _tmp36_);
-#line 9517 "LibraryWindow.c"
+#line 9645 "LibraryWindow.c"
}
-#line 236 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 237 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp37_ = library_monitor_pool_get_instance ();
-#line 236 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 237 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp38_ = _tmp37_;
-#line 236 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 237 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_signal_parse_name ("monitor-installed", TYPE_LIBRARY_MONITOR_POOL, &_tmp39_, NULL, FALSE);
-#line 236 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 237 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_signal_handlers_disconnect_matched (_tmp38_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp39_, 0, NULL, (GCallback) _library_window_on_library_monitor_installed_library_monitor_pool_monitor_installed, self);
-#line 236 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
- _library_monitor_pool_unref0 (_tmp38_);
#line 237 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ _library_monitor_pool_unref0 (_tmp38_);
+#line 238 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp40_ = library_monitor_pool_get_instance ();
-#line 237 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 238 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp41_ = _tmp40_;
-#line 237 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 238 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_signal_parse_name ("monitor-destroyed", TYPE_LIBRARY_MONITOR_POOL, &_tmp42_, NULL, FALSE);
-#line 237 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 238 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_signal_handlers_disconnect_matched (_tmp41_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp42_, 0, NULL, (GCallback) _library_window_on_library_monitor_destroyed_library_monitor_pool_monitor_destroyed, self);
-#line 237 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 238 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_library_monitor_pool_unref0 (_tmp41_);
-#line 239 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 240 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp43_ = camera_table_get_instance ();
-#line 239 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 240 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_tmp44_ = _tmp43_;
-#line 239 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 240 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_signal_parse_name ("camera-added", TYPE_CAMERA_TABLE, &_tmp45_, NULL, FALSE);
-#line 239 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 240 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
g_signal_handlers_disconnect_matched (_tmp44_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp45_, 0, NULL, (GCallback) _library_window_on_camera_added_camera_table_camera_added, self);
-#line 239 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+#line 240 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_camera_table_unref0 (_tmp44_);
#line 7 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (monitor);
@@ -9596,9 +9724,11 @@ static void library_window_finalize (GObject* obj) {
_g_object_unref0 (self->priv->layout);
#line 139 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
_g_object_unref0 (self->priv->right_vbox);
+#line 140 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
+ _g_object_unref0 (self->priv->toolbar_revealer);
#line 7 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
G_OBJECT_CLASS (library_window_parent_class)->finalize (obj);
-#line 9601 "LibraryWindow.c"
+#line 9731 "LibraryWindow.c"
}
@@ -9619,13 +9749,13 @@ static void _vala_library_window_get_property (GObject * object, guint property_
self = G_TYPE_CHECK_INSTANCE_CAST (object, TYPE_LIBRARY_WINDOW, LibraryWindow);
#line 7 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
switch (property_id) {
-#line 9622 "LibraryWindow.c"
+#line 9752 "LibraryWindow.c"
default:
#line 7 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 7 "/home/jens/Source/shotwell/src/library/LibraryWindow.vala"
break;
-#line 9628 "LibraryWindow.c"
+#line 9758 "LibraryWindow.c"
}
}
diff --git a/src/library/LibraryWindow.vala b/src/library/LibraryWindow.vala
index 2a34462..628bc36 100644
--- a/src/library/LibraryWindow.vala
+++ b/src/library/LibraryWindow.vala
@@ -137,6 +137,7 @@ public class LibraryWindow : AppWindow {
private Gtk.Stack stack = new Gtk.Stack();
private Gtk.Box layout = new Gtk.Box(Gtk.Orientation.VERTICAL, 0);
private Gtk.Box right_vbox;
+ private Gtk.Revealer toolbar_revealer = new Gtk.Revealer ();
private int current_progress_priority = 0;
private uint background_progress_pulse_id = 0;
@@ -275,14 +276,9 @@ public class LibraryWindow : AppWindow {
{ "CommonDisplayBasicProperties", on_action_toggle, null, "false", on_display_basic_properties },
{ "CommonDisplayExtendedProperties", on_action_toggle, null, "false", on_display_extended_properties },
-#if 0
- { "CommonDisplaySearchbar", on_display_searchbar, null, is_search_toolbar_visible.to_string () },
- { "CommonDisplaySidebar", on_display_sidebar, null, is_sidebar_visible ().to_string () },
- { "CommonDisplayToolbar", on_display_toolbar, null, is_toolbar_visible ().to_string () }
-#endif
- { "CommonDisplaySearchbar", on_action_toggle, null, "false", on_display_searchbar },
+ { "CommonDisplaySearchbar", null, null, "false", on_display_searchbar },
{ "CommonDisplaySidebar", on_action_toggle, null, "true", on_display_sidebar },
- { "CommonDisplayToolbar", on_action_toggle, null, "true", on_display_toolbar },
+ { "CommonDisplayToolbar", null, null, "true", on_display_toolbar },
{ "CommonSortEvents", on_action_radio, "s", "'ascending'", on_events_sort_changed }
};
@@ -291,6 +287,10 @@ public class LibraryWindow : AppWindow {
base.add_actions ();
this.add_action_entries (common_actions, this);
this.add_action_entries (search_actions.get_actions (), search_actions);
+
+ lookup_action ("CommonDisplaySearchbar").change_state (Config.Facade.get_instance().get_display_search_bar());
+ lookup_action ("CommonDisplaySidebar").change_state (is_sidebar_visible ());
+ lookup_action ("CommonDisplayToolbar").change_state (is_toolbar_visible ());
}
protected override void switched_pages(Page? old_page, Page? new_page) {
@@ -686,8 +686,7 @@ public class LibraryWindow : AppWindow {
Config.Facade.get_instance().set_display_search_bar(is_shown);
show_search_bar(is_shown);
-
- action.set_state (value);
+ action.set_state (is_shown);
}
public void show_search_bar(bool display) {
@@ -722,9 +721,13 @@ public class LibraryWindow : AppWindow {
}
private void set_toolbar_visible (bool visible) {
+ if (get_current_page() == null) {
+ return;
+ }
+
var toolbar = get_current_page ().get_toolbar ();
if (toolbar != null) {
- toolbar.set_visible (visible);
+ this.toolbar_revealer.set_reveal_child (visible);
}
Config.Facade.get_instance().set_display_toolbar (visible);
}
@@ -1170,6 +1173,7 @@ public class LibraryWindow : AppWindow {
right_vbox = new Gtk.Box(Gtk.Orientation.VERTICAL, 0);
right_vbox.pack_start(search_toolbar, false, false, 0);
right_vbox.pack_start(stack, true, true, 0);
+ right_vbox.add (toolbar_revealer);
client_paned = new Gtk.Paned(Gtk.Orientation.HORIZONTAL);
client_paned.pack1(sidebar_paned, false, false);
@@ -1183,6 +1187,9 @@ public class LibraryWindow : AppWindow {
add(layout);
+ var builder = new Gtk.Builder.from_resource ("/org/gnome/Shotwell/appmenu.ui");
+ Application.set_appmenu (builder.get_object ("appmenu") as GLib.Menu);
+
switch_to_page(start_page);
start_page.grab_focus();
}
@@ -1210,7 +1217,7 @@ public class LibraryWindow : AppWindow {
Gtk.Toolbar toolbar = current_page.get_toolbar();
if (toolbar != null)
- right_vbox.remove(toolbar);
+ toolbar_revealer.remove(toolbar);
current_page.switching_from();
@@ -1268,9 +1275,9 @@ public class LibraryWindow : AppWindow {
Gtk.Toolbar toolbar = page.get_toolbar();
if (toolbar != null) {
- right_vbox.add(toolbar);
+ toolbar_revealer.add(toolbar);
toolbar.show_all();
- toolbar.set_visible (this.is_toolbar_visible ());
+ toolbar_revealer.set_reveal_child (this.is_toolbar_visible ());
}
page.ready();
diff --git a/src/library/OfflinePage.c b/src/library/OfflinePage.c
index 03b9c80..b8ec792 100644
--- a/src/library/OfflinePage.c
+++ b/src/library/OfflinePage.c
@@ -1,4 +1,4 @@
-/* OfflinePage.c generated by valac 0.34.2, the Vala compiler
+/* OfflinePage.c generated by valac 0.32.1, the Vala compiler
* generated from OfflinePage.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/library/OfflineSidebarEntry.c b/src/library/OfflineSidebarEntry.c
index 5273583..a2025d1 100644
--- a/src/library/OfflineSidebarEntry.c
+++ b/src/library/OfflineSidebarEntry.c
@@ -1,4 +1,4 @@
-/* OfflineSidebarEntry.c generated by valac 0.34.2, the Vala compiler
+/* OfflineSidebarEntry.c generated by valac 0.32.1, the Vala compiler
* generated from OfflineSidebarEntry.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/library/TrashPage.c b/src/library/TrashPage.c
index 2186ff1..8c6cf47 100644
--- a/src/library/TrashPage.c
+++ b/src/library/TrashPage.c
@@ -1,4 +1,4 @@
-/* TrashPage.c generated by valac 0.34.2, the Vala compiler
+/* TrashPage.c generated by valac 0.32.1, the Vala compiler
* generated from TrashPage.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/library/TrashSidebarEntry.c b/src/library/TrashSidebarEntry.c
index db1e2b9..0346c07 100644
--- a/src/library/TrashSidebarEntry.c
+++ b/src/library/TrashSidebarEntry.c
@@ -1,4 +1,4 @@
-/* TrashSidebarEntry.c generated by valac 0.34.2, the Vala compiler
+/* TrashSidebarEntry.c generated by valac 0.32.1, the Vala compiler
* generated from TrashSidebarEntry.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/main.c b/src/main.c
index 39b4026..83f5416 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1,4 +1,4 @@
-/* main.c generated by valac 0.34.2, the Vala compiler
+/* main.c generated by valac 0.32.1, the Vala compiler
* generated from main.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -2350,17 +2350,17 @@ static gboolean string_contains (const gchar* self, const gchar* needle) {
gboolean result = FALSE;
const gchar* _tmp0_ = NULL;
gchar* _tmp1_ = NULL;
-#line 1376 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1376 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, FALSE);
-#line 1376 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1376 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (needle != NULL, FALSE);
-#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = needle;
-#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = strstr ((gchar*) self, (gchar*) _tmp0_);
-#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp1_ != NULL;
-#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 2358 "main.c"
}
diff --git a/src/org.gnome.Shotwell.gresource.xml b/src/org.gnome.Shotwell.gresource.xml
deleted file mode 100644
index abf7eb2..0000000
--- a/src/org.gnome.Shotwell.gresource.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<gresources>
- <gresource prefix="/org/gnome/Shotwell">
- <file>crop-pivot-reticle.png</file>
- <file>search_sidebar_context.ui</file>
- <file>tag_sidebar_context.ui</file>
- <file>sidebar_default_context.ui</file>
- <file>search_bar.ui</file>
- </gresource>
-</gresources>
diff --git a/src/photos/BmpSupport.c b/src/photos/BmpSupport.c
index 19b2226..11ad8c6 100644
--- a/src/photos/BmpSupport.c
+++ b/src/photos/BmpSupport.c
@@ -1,4 +1,4 @@
-/* BmpSupport.c generated by valac 0.34.2, the Vala compiler
+/* BmpSupport.c generated by valac 0.32.1, the Vala compiler
* generated from BmpSupport.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -1024,7 +1024,7 @@ static gboolean photos_bmp_sniffer_is_bmp_file (GFile* file, GError** error) {
#line 64 "/home/jens/Source/shotwell/src/photos/BmpSupport.vala"
_tmp4__length1 = file_lead_sequence_length1;
#line 64 "/home/jens/Source/shotwell/src/photos/BmpSupport.vala"
- g_input_stream_read (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, g_input_stream_get_type (), GInputStream), _tmp4_, (gsize) _tmp4__length1, NULL, &_inner_error_);
+ g_input_stream_read (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, G_TYPE_INPUT_STREAM, GInputStream), _tmp4_, (gsize) _tmp4__length1, NULL, &_inner_error_);
#line 64 "/home/jens/Source/shotwell/src/photos/BmpSupport.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 64 "/home/jens/Source/shotwell/src/photos/BmpSupport.vala"
diff --git a/src/photos/GRaw.c b/src/photos/GRaw.c
index bbd7376..36e9c88 100644
--- a/src/photos/GRaw.c
+++ b/src/photos/GRaw.c
@@ -1,4 +1,4 @@
-/* GRaw.c generated by valac 0.34.2, the Vala compiler
+/* GRaw.c generated by valac 0.32.1, the Vala compiler
* generated from GRaw.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -498,7 +498,7 @@ GRawProcessedImage* graw_processed_image_construct_from_thumb (GType object_type
#line 129 "/home/jens/Source/shotwell/src/photos/GRaw.vala"
_tmp10_ = _tmp9_;
#line 129 "/home/jens/Source/shotwell/src/photos/GRaw.vala"
- _tmp11_ = gdk_pixbuf_new_from_stream (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, g_input_stream_get_type (), GInputStream), NULL, &_inner_error_);
+ _tmp11_ = gdk_pixbuf_new_from_stream (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, G_TYPE_INPUT_STREAM, GInputStream), NULL, &_inner_error_);
#line 129 "/home/jens/Source/shotwell/src/photos/GRaw.vala"
_tmp12_ = _tmp11_;
#line 129 "/home/jens/Source/shotwell/src/photos/GRaw.vala"
diff --git a/src/photos/GdkSupport.c b/src/photos/GdkSupport.c
index 4f5a872..010572b 100644
--- a/src/photos/GdkSupport.c
+++ b/src/photos/GdkSupport.c
@@ -1,4 +1,4 @@
-/* GdkSupport.c generated by valac 0.34.2, the Vala compiler
+/* GdkSupport.c generated by valac 0.32.1, the Vala compiler
* generated from GdkSupport.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -930,7 +930,7 @@ static DetectedPhotoInformation* gdk_sniffer_real_sniff (PhotoFileSniffer* base,
#line 75 "/home/jens/Source/shotwell/src/photos/GdkSupport.vala"
_tmp47__length1 = buffer_length1;
#line 75 "/home/jens/Source/shotwell/src/photos/GdkSupport.vala"
- _tmp48_ = g_input_stream_read (G_TYPE_CHECK_INSTANCE_CAST (_tmp46_, g_input_stream_get_type (), GInputStream), _tmp47_, (gsize) _tmp47__length1, NULL, &_inner_error_);
+ _tmp48_ = g_input_stream_read (G_TYPE_CHECK_INSTANCE_CAST (_tmp46_, G_TYPE_INPUT_STREAM, GInputStream), _tmp47_, (gsize) _tmp47__length1, NULL, &_inner_error_);
#line 75 "/home/jens/Source/shotwell/src/photos/GdkSupport.vala"
bytes_read = (gsize) _tmp48_;
#line 75 "/home/jens/Source/shotwell/src/photos/GdkSupport.vala"
@@ -1127,7 +1127,7 @@ static DetectedPhotoInformation* gdk_sniffer_real_sniff (PhotoFileSniffer* base,
#line 100 "/home/jens/Source/shotwell/src/photos/GdkSupport.vala"
_tmp69_ = fins;
#line 100 "/home/jens/Source/shotwell/src/photos/GdkSupport.vala"
- g_input_stream_close (G_TYPE_CHECK_INSTANCE_CAST (_tmp69_, g_input_stream_get_type (), GInputStream), NULL, &_inner_error_);
+ g_input_stream_close (G_TYPE_CHECK_INSTANCE_CAST (_tmp69_, G_TYPE_INPUT_STREAM, GInputStream), NULL, &_inner_error_);
#line 100 "/home/jens/Source/shotwell/src/photos/GdkSupport.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 100 "/home/jens/Source/shotwell/src/photos/GdkSupport.vala"
diff --git a/src/photos/JfifSupport.c b/src/photos/JfifSupport.c
index 0da9ce7..3c86a7a 100644
--- a/src/photos/JfifSupport.c
+++ b/src/photos/JfifSupport.c
@@ -1,4 +1,4 @@
-/* JfifSupport.c generated by valac 0.34.2, the Vala compiler
+/* JfifSupport.c generated by valac 0.32.1, the Vala compiler
* generated from JfifSupport.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -1870,7 +1870,7 @@ gint jpeg_read_marker (GFileInputStream* fins, JpegMarker* marker, GError** erro
#line 216 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
_tmp0_ = fins;
#line 216 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
- _tmp1_ = g_data_input_stream_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, g_input_stream_get_type (), GInputStream));
+ _tmp1_ = g_data_input_stream_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, G_TYPE_INPUT_STREAM, GInputStream));
#line 216 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
dins = _tmp1_;
#line 217 "/home/jens/Source/shotwell/src/photos/JfifSupport.vala"
diff --git a/src/photos/PhotoFileAdapter.c b/src/photos/PhotoFileAdapter.c
index 19038b8..2f05603 100644
--- a/src/photos/PhotoFileAdapter.c
+++ b/src/photos/PhotoFileAdapter.c
@@ -1,4 +1,4 @@
-/* PhotoFileAdapter.c generated by valac 0.34.2, the Vala compiler
+/* PhotoFileAdapter.c generated by valac 0.32.1, the Vala compiler
* generated from PhotoFileAdapter.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/photos/PhotoFileFormat.c b/src/photos/PhotoFileFormat.c
index a033e19..6e05342 100644
--- a/src/photos/PhotoFileFormat.c
+++ b/src/photos/PhotoFileFormat.c
@@ -1,4 +1,4 @@
-/* PhotoFileFormat.c generated by valac 0.34.2, the Vala compiler
+/* PhotoFileFormat.c generated by valac 0.32.1, the Vala compiler
* generated from PhotoFileFormat.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/photos/PhotoFileSniffer.c b/src/photos/PhotoFileSniffer.c
index 161349e..8d44d6b 100644
--- a/src/photos/PhotoFileSniffer.c
+++ b/src/photos/PhotoFileSniffer.c
@@ -1,4 +1,4 @@
-/* PhotoFileSniffer.c generated by valac 0.34.2, the Vala compiler
+/* PhotoFileSniffer.c generated by valac 0.32.1, the Vala compiler
* generated from PhotoFileSniffer.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/photos/PhotoMetadata.c b/src/photos/PhotoMetadata.c
index def6140..148df86 100644
--- a/src/photos/PhotoMetadata.c
+++ b/src/photos/PhotoMetadata.c
@@ -1,4 +1,4 @@
-/* PhotoMetadata.c generated by valac 0.34.2, the Vala compiler
+/* PhotoMetadata.c generated by valac 0.32.1, the Vala compiler
* generated from PhotoMetadata.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -2058,7 +2058,7 @@ static GdkPixbuf* photo_preview_real_get_pixbuf (PhotoPreview* self, GError** er
#line 201 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp5_ = _tmp4_;
#line 201 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
- _tmp6_ = gdk_pixbuf_new_from_stream (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, g_input_stream_get_type (), GInputStream), NULL, &_inner_error_);
+ _tmp6_ = gdk_pixbuf_new_from_stream (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, G_TYPE_INPUT_STREAM, GInputStream), NULL, &_inner_error_);
#line 201 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
_tmp7_ = _tmp6_;
#line 201 "/home/jens/Source/shotwell/src/photos/PhotoMetadata.vala"
@@ -6719,19 +6719,19 @@ static gchar* string_strip (const gchar* self) {
gchar* _result_ = NULL;
gchar* _tmp0_ = NULL;
const gchar* _tmp1_ = NULL;
-#line 1207 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1207 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1208 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1208 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = g_strdup (self);
-#line 1208 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1208 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_result_ = _tmp0_;
-#line 1209 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1209 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = _result_;
-#line 1209 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1209 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_strstrip (_tmp1_);
-#line 1210 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1210 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _result_;
-#line 1210 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1210 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 6732 "PhotoMetadata.c"
}
@@ -6741,17 +6741,17 @@ static gboolean string_contains (const gchar* self, const gchar* needle) {
gboolean result = FALSE;
const gchar* _tmp0_ = NULL;
gchar* _tmp1_ = NULL;
-#line 1376 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1376 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, FALSE);
-#line 1376 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1376 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (needle != NULL, FALSE);
-#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = needle;
-#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = strstr ((gchar*) self, (gchar*) _tmp0_);
-#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp1_ != NULL;
-#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 6752 "PhotoMetadata.c"
}
@@ -7296,11 +7296,11 @@ static gpointer _hierarchical_keyword_field_ref0 (gpointer self) {
static gchar* string_replace (const gchar* self, const gchar* old, const gchar* replacement) {
gchar* result = NULL;
GError * _inner_error_ = NULL;
-#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (old != NULL, NULL);
-#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (replacement != NULL, NULL);
#line 7301 "PhotoMetadata.c"
{
@@ -7315,73 +7315,73 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar*
const gchar* _tmp7_ = NULL;
gchar* _tmp8_ = NULL;
gchar* _tmp9_ = NULL;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = old;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = g_regex_escape_string (_tmp0_, -1);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = _tmp1_;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = g_regex_new (_tmp2_, 0, 0, &_inner_error_);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = _tmp3_;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_free0 (_tmp2_);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
regex = _tmp4_;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_inner_error_->domain == G_REGEX_ERROR) {
#line 7332 "PhotoMetadata.c"
goto __catch25_g_regex_error;
}
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_clear_error (&_inner_error_);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return NULL;
#line 7341 "PhotoMetadata.c"
}
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6_ = regex;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp7_ = replacement;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp8_ = g_regex_replace_literal (_tmp6_, self, (gssize) -1, 0, _tmp7_, 0, &_inner_error_);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = _tmp8_;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_regex_unref0 (regex);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_inner_error_->domain == G_REGEX_ERROR) {
#line 7357 "PhotoMetadata.c"
goto __catch25_g_regex_error;
}
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_regex_unref0 (regex);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_clear_error (&_inner_error_);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return NULL;
#line 7368 "PhotoMetadata.c"
}
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp9_ = _tmp5_;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = NULL;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp9_;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_free0 (_tmp5_);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_regex_unref0 (regex);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 7382 "PhotoMetadata.c"
}
@@ -7389,24 +7389,24 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar*
__catch25_g_regex_error:
{
GError* e = NULL;
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
e = _inner_error_;
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_inner_error_ = NULL;
-#line 1385 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1385 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_assert_not_reached ();
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_error_free0 (e);
#line 7396 "PhotoMetadata.c"
}
__finally25:
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
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 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_clear_error (&_inner_error_);
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return NULL;
#line 7407 "PhotoMetadata.c"
}
@@ -7420,37 +7420,37 @@ static glong string_strnlen (gchar* str, glong maxlen) {
glong _tmp1_ = 0L;
gchar* _tmp2_ = NULL;
gchar* _tmp3_ = NULL;
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = str;
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = maxlen;
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = memchr (_tmp0_, 0, (gsize) _tmp1_);
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
end = _tmp2_;
-#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = end;
-#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp3_ == NULL) {
#line 7431 "PhotoMetadata.c"
glong _tmp4_ = 0L;
-#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = maxlen;
-#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp4_;
-#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 7439 "PhotoMetadata.c"
} else {
gchar* _tmp5_ = NULL;
gchar* _tmp6_ = NULL;
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = end;
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6_ = str;
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = (glong) (_tmp5_ - _tmp6_);
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 7451 "PhotoMetadata.c"
}
@@ -7470,112 +7470,112 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) {
glong _tmp20_ = 0L;
glong _tmp21_ = 0L;
gchar* _tmp22_ = NULL;
-#line 1306 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1306 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = offset;
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp1_ >= ((glong) 0)) {
#line 7475 "PhotoMetadata.c"
glong _tmp2_ = 0L;
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = len;
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = _tmp2_ >= ((glong) 0);
#line 7481 "PhotoMetadata.c"
} else {
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = FALSE;
#line 7485 "PhotoMetadata.c"
}
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp0_) {
#line 7489 "PhotoMetadata.c"
glong _tmp3_ = 0L;
glong _tmp4_ = 0L;
glong _tmp5_ = 0L;
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = offset;
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = len;
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = string_strnlen ((gchar*) self, _tmp3_ + _tmp4_);
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
string_length = _tmp5_;
#line 7501 "PhotoMetadata.c"
} else {
gint _tmp6_ = 0;
gint _tmp7_ = 0;
-#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6_ = strlen (self);
-#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp7_ = _tmp6_;
-#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
string_length = (glong) _tmp7_;
#line 7511 "PhotoMetadata.c"
}
-#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp8_ = offset;
-#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp8_ < ((glong) 0)) {
#line 7517 "PhotoMetadata.c"
glong _tmp9_ = 0L;
glong _tmp10_ = 0L;
glong _tmp11_ = 0L;
-#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp9_ = string_length;
-#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp10_ = offset;
-#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
offset = _tmp9_ + _tmp10_;
-#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp11_ = offset;
-#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp11_ >= ((glong) 0), NULL);
#line 7531 "PhotoMetadata.c"
} else {
glong _tmp12_ = 0L;
glong _tmp13_ = 0L;
-#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp12_ = offset;
-#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp13_ = string_length;
-#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp12_ <= _tmp13_, NULL);
#line 7541 "PhotoMetadata.c"
}
-#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp14_ = len;
-#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp14_ < ((glong) 0)) {
#line 7547 "PhotoMetadata.c"
glong _tmp15_ = 0L;
glong _tmp16_ = 0L;
-#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp15_ = string_length;
-#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp16_ = offset;
-#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
len = _tmp15_ - _tmp16_;
#line 7556 "PhotoMetadata.c"
}
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp17_ = offset;
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp18_ = len;
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp19_ = string_length;
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail ((_tmp17_ + _tmp18_) <= _tmp19_, NULL);
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp20_ = offset;
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp21_ = len;
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp22_ = g_strndup (((gchar*) self) + _tmp20_, (gsize) _tmp21_);
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp22_;
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 7576 "PhotoMetadata.c"
}
diff --git a/src/photos/Photos.c b/src/photos/Photos.c
index ee58ad3..434f905 100644
--- a/src/photos/Photos.c
+++ b/src/photos/Photos.c
@@ -1,4 +1,4 @@
-/* Photos.c generated by valac 0.34.2, the Vala compiler
+/* Photos.c generated by valac 0.32.1, the Vala compiler
* generated from Photos.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/photos/PngSupport.c b/src/photos/PngSupport.c
index d3cb5c8..98d4cd2 100644
--- a/src/photos/PngSupport.c
+++ b/src/photos/PngSupport.c
@@ -1,4 +1,4 @@
-/* PngSupport.c generated by valac 0.34.2, the Vala compiler
+/* PngSupport.c generated by valac 0.32.1, the Vala compiler
* generated from PngSupport.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -1020,7 +1020,7 @@ static gboolean png_sniffer_is_png_file (GFile* file, GError** error) {
#line 62 "/home/jens/Source/shotwell/src/photos/PngSupport.vala"
_tmp4__length1 = file_lead_sequence_length1;
#line 62 "/home/jens/Source/shotwell/src/photos/PngSupport.vala"
- g_input_stream_read (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, g_input_stream_get_type (), GInputStream), _tmp4_, (gsize) _tmp4__length1, NULL, &_inner_error_);
+ g_input_stream_read (G_TYPE_CHECK_INSTANCE_CAST (_tmp3_, G_TYPE_INPUT_STREAM, GInputStream), _tmp4_, (gsize) _tmp4__length1, NULL, &_inner_error_);
#line 62 "/home/jens/Source/shotwell/src/photos/PngSupport.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 62 "/home/jens/Source/shotwell/src/photos/PngSupport.vala"
diff --git a/src/photos/RawSupport.c b/src/photos/RawSupport.c
index 6a65390..f46b61e 100644
--- a/src/photos/RawSupport.c
+++ b/src/photos/RawSupport.c
@@ -1,4 +1,4 @@
-/* RawSupport.c generated by valac 0.34.2, the Vala compiler
+/* RawSupport.c generated by valac 0.32.1, the Vala compiler
* generated from RawSupport.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/photos/TiffSupport.c b/src/photos/TiffSupport.c
index 74004f3..2e1282e 100644
--- a/src/photos/TiffSupport.c
+++ b/src/photos/TiffSupport.c
@@ -1,4 +1,4 @@
-/* TiffSupport.c generated by valac 0.34.2, the Vala compiler
+/* TiffSupport.c generated by valac 0.32.1, the Vala compiler
* generated from TiffSupport.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -1601,7 +1601,7 @@ gboolean photos_is_tiff (GFile* file, GCancellable* cancellable, GError** error)
#line 1602 "TiffSupport.c"
}
#line 155 "/home/jens/Source/shotwell/src/photos/TiffSupport.vala"
- _tmp3_ = g_data_input_stream_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, g_input_stream_get_type (), GInputStream));
+ _tmp3_ = g_data_input_stream_new (G_TYPE_CHECK_INSTANCE_CAST (_tmp0_, G_TYPE_INPUT_STREAM, GInputStream));
#line 155 "/home/jens/Source/shotwell/src/photos/TiffSupport.vala"
dins = _tmp3_;
#line 159 "/home/jens/Source/shotwell/src/photos/TiffSupport.vala"
diff --git a/src/plugins/DataImportsInterfaces.c b/src/plugins/DataImportsInterfaces.c
index e7fb3d4..96920a9 100644
--- a/src/plugins/DataImportsInterfaces.c
+++ b/src/plugins/DataImportsInterfaces.c
@@ -1,4 +1,4 @@
-/* DataImportsInterfaces.c generated by valac 0.34.2, the Vala compiler
+/* DataImportsInterfaces.c generated by valac 0.32.1, the Vala compiler
* generated from DataImportsInterfaces.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/plugins/ManifestWidget.c b/src/plugins/ManifestWidget.c
index 6a9f109..a542964 100644
--- a/src/plugins/ManifestWidget.c
+++ b/src/plugins/ManifestWidget.c
@@ -1,4 +1,4 @@
-/* ManifestWidget.c generated by valac 0.34.2, the Vala compiler
+/* ManifestWidget.c generated by valac 0.32.1, the Vala compiler
* generated from ManifestWidget.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -245,19 +245,19 @@ static gchar* string_strip (const gchar* self) {
gchar* _result_ = NULL;
gchar* _tmp0_ = NULL;
const gchar* _tmp1_ = NULL;
-#line 1207 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1207 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1208 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1208 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = g_strdup (self);
-#line 1208 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1208 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_result_ = _tmp0_;
-#line 1209 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1209 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = _result_;
-#line 1209 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1209 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_strstrip (_tmp1_);
-#line 1210 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1210 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _result_;
-#line 1210 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1210 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 263 "ManifestWidget.c"
}
@@ -1402,7 +1402,7 @@ PluginsManifestListView* plugins_manifest_list_view_construct (GType object_type
#line 175 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp46_ = _tmp45_;
#line 175 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp47_ = gtk_icon_theme_lookup_by_gicon (_tmp41_, G_TYPE_CHECK_INSTANCE_CAST (_tmp46_, g_icon_get_type (), GIcon), PLUGINS_MANIFEST_LIST_VIEW_ICON_SIZE, 0);
+ _tmp47_ = gtk_icon_theme_lookup_by_gicon (_tmp41_, G_TYPE_CHECK_INSTANCE_CAST (_tmp46_, G_TYPE_ICON, GIcon), PLUGINS_MANIFEST_LIST_VIEW_ICON_SIZE, 0);
#line 175 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
_tmp48_ = _tmp47_;
#line 175 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
@@ -2187,7 +2187,7 @@ static void plugins_manifest_list_view_instance_init (PluginsManifestListView *
#line 108 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
self->priv = PLUGINS_MANIFEST_LIST_VIEW_GET_PRIVATE (self);
#line 122 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
- _tmp0_ = gtk_tree_store_new ((gint) PLUGINS_MANIFEST_LIST_VIEW_COLUMN_N_COLUMNS, G_TYPE_BOOLEAN, G_TYPE_BOOLEAN, gdk_pixbuf_get_type (), G_TYPE_STRING, G_TYPE_STRING);
+ _tmp0_ = gtk_tree_store_new ((gint) PLUGINS_MANIFEST_LIST_VIEW_COLUMN_N_COLUMNS, G_TYPE_BOOLEAN, G_TYPE_BOOLEAN, GDK_TYPE_PIXBUF, G_TYPE_STRING, G_TYPE_STRING);
#line 122 "/home/jens/Source/shotwell/src/plugins/ManifestWidget.vala"
self->priv->store = _tmp0_;
#line 2194 "ManifestWidget.c"
diff --git a/src/plugins/Plugins.c b/src/plugins/Plugins.c
index 8040d16..245a6b2 100644
--- a/src/plugins/Plugins.c
+++ b/src/plugins/Plugins.c
@@ -1,4 +1,4 @@
-/* Plugins.c generated by valac 0.34.2, the Vala compiler
+/* Plugins.c generated by valac 0.32.1, the Vala compiler
* generated from Plugins.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/plugins/PublishingInterfaces.c b/src/plugins/PublishingInterfaces.c
index f42f462..e2e22cb 100644
--- a/src/plugins/PublishingInterfaces.c
+++ b/src/plugins/PublishingInterfaces.c
@@ -1,4 +1,4 @@
-/* PublishingInterfaces.c generated by valac 0.34.2, the Vala compiler
+/* PublishingInterfaces.c generated by valac 0.32.1, the Vala compiler
* generated from PublishingInterfaces.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/plugins/SpitInterfaces.c b/src/plugins/SpitInterfaces.c
index da797f9..9357a68 100644
--- a/src/plugins/SpitInterfaces.c
+++ b/src/plugins/SpitInterfaces.c
@@ -1,4 +1,4 @@
-/* SpitInterfaces.c generated by valac 0.34.2, the Vala compiler
+/* SpitInterfaces.c generated by valac 0.32.1, the Vala compiler
* generated from SpitInterfaces.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/plugins/StandardHostInterface.c b/src/plugins/StandardHostInterface.c
index 7e300b8..3465427 100644
--- a/src/plugins/StandardHostInterface.c
+++ b/src/plugins/StandardHostInterface.c
@@ -1,4 +1,4 @@
-/* StandardHostInterface.c generated by valac 0.34.2, the Vala compiler
+/* StandardHostInterface.c generated by valac 0.32.1, the Vala compiler
* generated from StandardHostInterface.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/plugins/TransitionsInterfaces.c b/src/plugins/TransitionsInterfaces.c
index 1f05177..aedb555 100644
--- a/src/plugins/TransitionsInterfaces.c
+++ b/src/plugins/TransitionsInterfaces.c
@@ -1,4 +1,4 @@
-/* TransitionsInterfaces.c generated by valac 0.34.2, the Vala compiler
+/* TransitionsInterfaces.c generated by valac 0.32.1, the Vala compiler
* generated from TransitionsInterfaces.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -726,7 +726,7 @@ static void spit_transitions_visuals_class_init (SpitTransitionsVisualsClass * k
* If transitioning from a blank screen, this will return null.
*/
#line 60 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- g_object_class_install_property (G_OBJECT_CLASS (klass), SPIT_TRANSITIONS_VISUALS_FROM_PIXBUF, g_param_spec_object ("from-pixbuf", "from-pixbuf", "from-pixbuf", gdk_pixbuf_get_type (), G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
+ g_object_class_install_property (G_OBJECT_CLASS (klass), SPIT_TRANSITIONS_VISUALS_FROM_PIXBUF, g_param_spec_object ("from-pixbuf", "from-pixbuf", "from-pixbuf", GDK_TYPE_PIXBUF, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 731 "TransitionsInterfaces.c"
/**
* Returns the position of the starting pixbuf on the display.
@@ -734,7 +734,7 @@ static void spit_transitions_visuals_class_init (SpitTransitionsVisualsClass * k
* If transitioning from a blank screen, this will be zeroed.
*/
#line 60 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- g_object_class_install_property (G_OBJECT_CLASS (klass), SPIT_TRANSITIONS_VISUALS_FROM_POS, g_param_spec_boxed ("from-pos", "from-pos", "from-pos", gdk_rectangle_get_type (), G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
+ g_object_class_install_property (G_OBJECT_CLASS (klass), SPIT_TRANSITIONS_VISUALS_FROM_POS, g_param_spec_boxed ("from-pos", "from-pos", "from-pos", GDK_TYPE_RECTANGLE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 739 "TransitionsInterfaces.c"
/**
* Returns the ending pixbuf (the pixbuf that the transition should result in).
@@ -742,7 +742,7 @@ static void spit_transitions_visuals_class_init (SpitTransitionsVisualsClass * k
* If transitioning to a blank screen, this will return null.
*/
#line 60 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- g_object_class_install_property (G_OBJECT_CLASS (klass), SPIT_TRANSITIONS_VISUALS_TO_PIXBUF, g_param_spec_object ("to-pixbuf", "to-pixbuf", "to-pixbuf", gdk_pixbuf_get_type (), G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
+ g_object_class_install_property (G_OBJECT_CLASS (klass), SPIT_TRANSITIONS_VISUALS_TO_PIXBUF, g_param_spec_object ("to-pixbuf", "to-pixbuf", "to-pixbuf", GDK_TYPE_PIXBUF, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 747 "TransitionsInterfaces.c"
/**
* Returns the position of the ending pixbuf on the display.
@@ -750,7 +750,7 @@ static void spit_transitions_visuals_class_init (SpitTransitionsVisualsClass * k
* If transitioning to a blank screen, this will be zeroed.
*/
#line 60 "/home/jens/Source/shotwell/src/plugins/TransitionsInterfaces.vala"
- g_object_class_install_property (G_OBJECT_CLASS (klass), SPIT_TRANSITIONS_VISUALS_TO_POS, g_param_spec_boxed ("to-pos", "to-pos", "to-pos", gdk_rectangle_get_type (), G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
+ g_object_class_install_property (G_OBJECT_CLASS (klass), SPIT_TRANSITIONS_VISUALS_TO_POS, g_param_spec_boxed ("to-pos", "to-pos", "to-pos", GDK_TYPE_RECTANGLE, G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_READABLE));
#line 755 "TransitionsInterfaces.c"
/**
* Returns the background color of the viewport.
diff --git a/src/publishing/APIGlue.c b/src/publishing/APIGlue.c
index 1355179..329e415 100644
--- a/src/publishing/APIGlue.c
+++ b/src/publishing/APIGlue.c
@@ -1,4 +1,4 @@
-/* APIGlue.c generated by valac 0.34.2, the Vala compiler
+/* APIGlue.c generated by valac 0.32.1, the Vala compiler
* generated from APIGlue.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/publishing/Publishing.c b/src/publishing/Publishing.c
index 603fb4c..fc14775 100644
--- a/src/publishing/Publishing.c
+++ b/src/publishing/Publishing.c
@@ -1,4 +1,4 @@
-/* Publishing.c generated by valac 0.34.2, the Vala compiler
+/* Publishing.c generated by valac 0.32.1, the Vala compiler
* generated from Publishing.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/publishing/PublishingPluginHost.c b/src/publishing/PublishingPluginHost.c
index dd7f5a0..94f48ea 100644
--- a/src/publishing/PublishingPluginHost.c
+++ b/src/publishing/PublishingPluginHost.c
@@ -1,4 +1,4 @@
-/* PublishingPluginHost.c generated by valac 0.34.2, the Vala compiler
+/* PublishingPluginHost.c generated by valac 0.32.1, the Vala compiler
* generated from PublishingPluginHost.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/publishing/PublishingUI.c b/src/publishing/PublishingUI.c
index fbe90d8..36d6265 100644
--- a/src/publishing/PublishingUI.c
+++ b/src/publishing/PublishingUI.c
@@ -1,4 +1,4 @@
-/* PublishingUI.c generated by valac 0.34.2, the Vala compiler
+/* PublishingUI.c generated by valac 0.32.1, the Vala compiler
* generated from PublishingUI.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -1113,7 +1113,7 @@ PublishingUISuccessPane* publishing_ui_success_pane_construct (GType object_type
#line 109 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp5_ = num_uploaded;
#line 109 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp6_ = ngettext ("The selected video was successfully published.", "The selected videos were successfully published.", (gulong) _tmp5_);
+ _tmp6_ = ngettext ("The selected photo was successfully published.", "The selected photos were successfully published.", (gulong) _tmp5_);
#line 109 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_tmp7_ = g_strdup (_tmp6_);
#line 109 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
@@ -1643,7 +1643,7 @@ PublishingUIPublishingDialog* publishing_ui_publishing_dialog_construct (GType o
#line 202 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
gtk_window_set_title (G_TYPE_CHECK_INSTANCE_CAST (self, gtk_window_get_type (), GtkWindow), _tmp42_);
#line 204 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
- _tmp43_ = gtk_list_store_new (2, gdk_pixbuf_get_type (), G_TYPE_STRING, -1);
+ _tmp43_ = gtk_list_store_new (2, GDK_TYPE_PIXBUF, G_TYPE_STRING, -1);
#line 204 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
_g_object_unref0 (self->priv->service_selector_box_model);
#line 204 "/home/jens/Source/shotwell/src/publishing/PublishingUI.vala"
diff --git a/src/publishing/PublishingUI.vala b/src/publishing/PublishingUI.vala
index 8303f40..91a2bf4 100644
--- a/src/publishing/PublishingUI.vala
+++ b/src/publishing/PublishingUI.vala
@@ -106,8 +106,8 @@ public class SuccessPane : StaticMessagePane {
num_uploaded);
}
else if (published_media == Spit.Publishing.Publisher.MediaType.PHOTO) {
- message_string = ngettext ("The selected video was successfully published.",
- "The selected videos were successfully published.",
+ message_string = ngettext ("The selected photo was successfully published.",
+ "The selected photos were successfully published.",
num_uploaded);
}
else if (published_media == (Spit.Publishing.Publisher.MediaType.PHOTO
diff --git a/src/searches/Branch.c b/src/searches/Branch.c
index c582a55..9956e8d 100644
--- a/src/searches/Branch.c
+++ b/src/searches/Branch.c
@@ -1,4 +1,4 @@
-/* Branch.c generated by valac 0.34.2, the Vala compiler
+/* Branch.c generated by valac 0.32.1, the Vala compiler
* generated from Branch.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/searches/SavedSearchDialog.c b/src/searches/SavedSearchDialog.c
index 6fa32e2..278f4f0 100644
--- a/src/searches/SavedSearchDialog.c
+++ b/src/searches/SavedSearchDialog.c
@@ -1,4 +1,4 @@
-/* SavedSearchDialog.c generated by valac 0.34.2, the Vala compiler
+/* SavedSearchDialog.c generated by valac 0.32.1, the Vala compiler
* generated from SavedSearchDialog.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -1779,19 +1779,19 @@ static gchar* string_chomp (const gchar* self) {
gchar* _result_ = NULL;
gchar* _tmp0_ = NULL;
const gchar* _tmp1_ = NULL;
-#line 1191 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1191 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1192 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1192 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = g_strdup (self);
-#line 1192 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1192 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_result_ = _tmp0_;
-#line 1193 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1193 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = _result_;
-#line 1193 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1193 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_strchomp (_tmp1_);
-#line 1194 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1194 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _result_;
-#line 1194 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1194 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 1797 "SavedSearchDialog.c"
}
diff --git a/src/searches/SavedSearchPage.c b/src/searches/SavedSearchPage.c
index 699003c..1dc2f9b 100644
--- a/src/searches/SavedSearchPage.c
+++ b/src/searches/SavedSearchPage.c
@@ -1,4 +1,4 @@
-/* SavedSearchPage.c generated by valac 0.34.2, the Vala compiler
+/* SavedSearchPage.c generated by valac 0.32.1, the Vala compiler
* generated from SavedSearchPage.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/searches/SearchBoolean.c b/src/searches/SearchBoolean.c
index 3710948..7da26c1 100644
--- a/src/searches/SearchBoolean.c
+++ b/src/searches/SearchBoolean.c
@@ -1,4 +1,4 @@
-/* SearchBoolean.c generated by valac 0.34.2, the Vala compiler
+/* SearchBoolean.c generated by valac 0.32.1, the Vala compiler
* generated from SearchBoolean.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -2305,17 +2305,17 @@ static gboolean string_contains (const gchar* self, const gchar* needle) {
gboolean result = FALSE;
const gchar* _tmp0_ = NULL;
gchar* _tmp1_ = NULL;
-#line 1376 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1376 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, FALSE);
-#line 1376 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1376 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (needle != NULL, FALSE);
-#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = needle;
-#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = strstr ((gchar*) self, (gchar*) _tmp0_);
-#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp1_ != NULL;
-#line 1377 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1377 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 2320 "SearchBoolean.c"
}
diff --git a/src/searches/Searches.c b/src/searches/Searches.c
index f6933e7..1ab6b90 100644
--- a/src/searches/Searches.c
+++ b/src/searches/Searches.c
@@ -1,4 +1,4 @@
-/* Searches.c generated by valac 0.34.2, the Vala compiler
+/* Searches.c generated by valac 0.32.1, the Vala compiler
* generated from Searches.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/sidebar/Branch.c b/src/sidebar/Branch.c
index 0e316cb..10f7a72 100644
--- a/src/sidebar/Branch.c
+++ b/src/sidebar/Branch.c
@@ -1,4 +1,4 @@
-/* Branch.c generated by valac 0.34.2, the Vala compiler
+/* Branch.c generated by valac 0.32.1, the Vala compiler
* generated from Branch.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/sidebar/Entry.c b/src/sidebar/Entry.c
index 62b6068..caa621c 100644
--- a/src/sidebar/Entry.c
+++ b/src/sidebar/Entry.c
@@ -1,4 +1,4 @@
-/* Entry.c generated by valac 0.34.2, the Vala compiler
+/* Entry.c generated by valac 0.32.1, the Vala compiler
* generated from Entry.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/sidebar/Sidebar.c b/src/sidebar/Sidebar.c
index 3d479a0..888a70c 100644
--- a/src/sidebar/Sidebar.c
+++ b/src/sidebar/Sidebar.c
@@ -1,4 +1,4 @@
-/* Sidebar.c generated by valac 0.34.2, the Vala compiler
+/* Sidebar.c generated by valac 0.32.1, the Vala compiler
* generated from Sidebar.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/sidebar/Tree.c b/src/sidebar/Tree.c
index 8cef7f3..f297897 100644
--- a/src/sidebar/Tree.c
+++ b/src/sidebar/Tree.c
@@ -1,4 +1,4 @@
-/* Tree.c generated by valac 0.34.2, the Vala compiler
+/* Tree.c generated by valac 0.32.1, the Vala compiler
* generated from Tree.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/sidebar/common.c b/src/sidebar/common.c
index 57f215c..1ef4450 100644
--- a/src/sidebar/common.c
+++ b/src/sidebar/common.c
@@ -1,4 +1,4 @@
-/* common.c generated by valac 0.34.2, the Vala compiler
+/* common.c generated by valac 0.32.1, the Vala compiler
* generated from common.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/slideshow/Slideshow.c b/src/slideshow/Slideshow.c
index 10edf7f..1731cfa 100644
--- a/src/slideshow/Slideshow.c
+++ b/src/slideshow/Slideshow.c
@@ -1,4 +1,4 @@
-/* Slideshow.c generated by valac 0.34.2, the Vala compiler
+/* Slideshow.c generated by valac 0.32.1, the Vala compiler
* generated from Slideshow.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/slideshow/TransitionEffects.c b/src/slideshow/TransitionEffects.c
index 7040759..292187e 100644
--- a/src/slideshow/TransitionEffects.c
+++ b/src/slideshow/TransitionEffects.c
@@ -1,4 +1,4 @@
-/* TransitionEffects.c generated by valac 0.34.2, the Vala compiler
+/* TransitionEffects.c generated by valac 0.32.1, the Vala compiler
* generated from TransitionEffects.vala, do not modify */
/* Copyright 2010 Maxim Kartashev
diff --git a/src/tags/Branch.c b/src/tags/Branch.c
index f80040a..30e05f0 100644
--- a/src/tags/Branch.c
+++ b/src/tags/Branch.c
@@ -1,4 +1,4 @@
-/* Branch.c generated by valac 0.34.2, the Vala compiler
+/* Branch.c generated by valac 0.32.1, the Vala compiler
* generated from Branch.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -2212,11 +2212,11 @@ static gboolean tags_sidebar_entry_real_is_user_renameable (SidebarRenameableEnt
static gchar* string_replace (const gchar* self, const gchar* old, const gchar* replacement) {
gchar* result = NULL;
GError * _inner_error_ = NULL;
-#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (old != NULL, NULL);
-#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (replacement != NULL, NULL);
#line 2222 "Branch.c"
{
@@ -2231,73 +2231,73 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar*
const gchar* _tmp7_ = NULL;
gchar* _tmp8_ = NULL;
gchar* _tmp9_ = NULL;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = old;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = g_regex_escape_string (_tmp0_, -1);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = _tmp1_;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = g_regex_new (_tmp2_, 0, 0, &_inner_error_);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = _tmp3_;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_free0 (_tmp2_);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
regex = _tmp4_;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_inner_error_->domain == G_REGEX_ERROR) {
#line 2253 "Branch.c"
goto __catch52_g_regex_error;
}
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_clear_error (&_inner_error_);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return NULL;
#line 2262 "Branch.c"
}
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6_ = regex;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp7_ = replacement;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp8_ = g_regex_replace_literal (_tmp6_, self, (gssize) -1, 0, _tmp7_, 0, &_inner_error_);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = _tmp8_;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_regex_unref0 (regex);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_inner_error_->domain == G_REGEX_ERROR) {
#line 2278 "Branch.c"
goto __catch52_g_regex_error;
}
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_regex_unref0 (regex);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_clear_error (&_inner_error_);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return NULL;
#line 2289 "Branch.c"
}
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp9_ = _tmp5_;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = NULL;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp9_;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_free0 (_tmp5_);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_regex_unref0 (regex);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 2303 "Branch.c"
}
@@ -2305,24 +2305,24 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar*
__catch52_g_regex_error:
{
GError* e = NULL;
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
e = _inner_error_;
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_inner_error_ = NULL;
-#line 1385 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1385 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_assert_not_reached ();
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_error_free0 (e);
#line 2317 "Branch.c"
}
__finally52:
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
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 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_clear_error (&_inner_error_);
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return NULL;
#line 2328 "Branch.c"
}
@@ -2837,39 +2837,39 @@ static guint8* string_get_data (const gchar* self, int* result_length1) {
gint _tmp3__length1 = 0;
guint8* _tmp4_ = NULL;
gint _tmp4__length1 = 0;
-#line 1398 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1398 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1399 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1399 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
res = (guint8*) self;
-#line 1399 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1399 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
res_length1 = -1;
-#line 1399 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1399 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_res_size_ = res_length1;
-#line 1400 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1400 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = strlen (self);
-#line 1400 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1400 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = _tmp0_;
-#line 1400 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1400 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
res_length1 = (gint) _tmp1_;
-#line 1400 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1400 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = res_length1;
-#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = res;
-#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3__length1 = res_length1;
-#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = _tmp3_;
-#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4__length1 = _tmp3__length1;
-#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (result_length1) {
-#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
*result_length1 = _tmp4__length1;
#line 2869 "Branch.c"
}
-#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp4_;
-#line 1401 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1401 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 2875 "Branch.c"
}
diff --git a/src/tags/HierarchicalTagIndex.c b/src/tags/HierarchicalTagIndex.c
index 39c417b..dc5e970 100644
--- a/src/tags/HierarchicalTagIndex.c
+++ b/src/tags/HierarchicalTagIndex.c
@@ -1,4 +1,4 @@
-/* HierarchicalTagIndex.c generated by valac 0.34.2, the Vala compiler
+/* HierarchicalTagIndex.c generated by valac 0.32.1, the Vala compiler
* generated from HierarchicalTagIndex.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/tags/HierarchicalTagUtilities.c b/src/tags/HierarchicalTagUtilities.c
index f4993c0..05d9126 100644
--- a/src/tags/HierarchicalTagUtilities.c
+++ b/src/tags/HierarchicalTagUtilities.c
@@ -1,4 +1,4 @@
-/* HierarchicalTagUtilities.c generated by valac 0.34.2, the Vala compiler
+/* HierarchicalTagUtilities.c generated by valac 0.32.1, the Vala compiler
* generated from HierarchicalTagUtilities.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -263,37 +263,37 @@ static glong string_strnlen (gchar* str, glong maxlen) {
glong _tmp1_ = 0L;
gchar* _tmp2_ = NULL;
gchar* _tmp3_ = NULL;
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = str;
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = maxlen;
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = memchr (_tmp0_, 0, (gsize) _tmp1_);
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
end = _tmp2_;
-#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = end;
-#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp3_ == NULL) {
#line 279 "HierarchicalTagUtilities.c"
glong _tmp4_ = 0L;
-#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = maxlen;
-#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp4_;
-#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 287 "HierarchicalTagUtilities.c"
} else {
gchar* _tmp5_ = NULL;
gchar* _tmp6_ = NULL;
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = end;
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6_ = str;
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = (glong) (_tmp5_ - _tmp6_);
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 299 "HierarchicalTagUtilities.c"
}
@@ -313,112 +313,112 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) {
glong _tmp20_ = 0L;
glong _tmp21_ = 0L;
gchar* _tmp22_ = NULL;
-#line 1306 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1306 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = offset;
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp1_ >= ((glong) 0)) {
#line 323 "HierarchicalTagUtilities.c"
glong _tmp2_ = 0L;
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = len;
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = _tmp2_ >= ((glong) 0);
#line 329 "HierarchicalTagUtilities.c"
} else {
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = FALSE;
#line 333 "HierarchicalTagUtilities.c"
}
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp0_) {
#line 337 "HierarchicalTagUtilities.c"
glong _tmp3_ = 0L;
glong _tmp4_ = 0L;
glong _tmp5_ = 0L;
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = offset;
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = len;
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = string_strnlen ((gchar*) self, _tmp3_ + _tmp4_);
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
string_length = _tmp5_;
#line 349 "HierarchicalTagUtilities.c"
} else {
gint _tmp6_ = 0;
gint _tmp7_ = 0;
-#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6_ = strlen (self);
-#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp7_ = _tmp6_;
-#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
string_length = (glong) _tmp7_;
#line 359 "HierarchicalTagUtilities.c"
}
-#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp8_ = offset;
-#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp8_ < ((glong) 0)) {
#line 365 "HierarchicalTagUtilities.c"
glong _tmp9_ = 0L;
glong _tmp10_ = 0L;
glong _tmp11_ = 0L;
-#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp9_ = string_length;
-#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp10_ = offset;
-#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
offset = _tmp9_ + _tmp10_;
-#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp11_ = offset;
-#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp11_ >= ((glong) 0), NULL);
#line 379 "HierarchicalTagUtilities.c"
} else {
glong _tmp12_ = 0L;
glong _tmp13_ = 0L;
-#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp12_ = offset;
-#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp13_ = string_length;
-#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp12_ <= _tmp13_, NULL);
#line 389 "HierarchicalTagUtilities.c"
}
-#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp14_ = len;
-#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp14_ < ((glong) 0)) {
#line 395 "HierarchicalTagUtilities.c"
glong _tmp15_ = 0L;
glong _tmp16_ = 0L;
-#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp15_ = string_length;
-#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp16_ = offset;
-#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
len = _tmp15_ - _tmp16_;
#line 404 "HierarchicalTagUtilities.c"
}
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp17_ = offset;
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp18_ = len;
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp19_ = string_length;
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail ((_tmp17_ + _tmp18_) <= _tmp19_, NULL);
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp20_ = offset;
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp21_ = len;
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp22_ = g_strndup (((gchar*) self) + _tmp20_, (gsize) _tmp21_);
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp22_;
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 424 "HierarchicalTagUtilities.c"
}
@@ -756,72 +756,72 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
gboolean _tmp2_ = FALSE;
gchar** _tmp3_ = NULL;
gint _tmp3__length1 = 0;
-#line 1054 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1054 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = separator;
-#line 1054 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1054 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp0_ == NULL) {
-#line 1055 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1055 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
separator = "";
#line 766 "HierarchicalTagUtilities.c"
}
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = str_array;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3__length1 = str_array_length1;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp3_ != NULL) {
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = TRUE;
#line 776 "HierarchicalTagUtilities.c"
} else {
gchar** _tmp4_ = NULL;
gint _tmp4__length1 = 0;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = str_array;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4__length1 = str_array_length1;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = _tmp4__length1 > 0;
#line 786 "HierarchicalTagUtilities.c"
}
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp2_) {
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = TRUE;
#line 792 "HierarchicalTagUtilities.c"
} else {
gboolean _tmp5_ = FALSE;
gchar** _tmp6_ = NULL;
gint _tmp6__length1 = 0;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6_ = str_array;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6__length1 = str_array_length1;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp6__length1 == -1) {
#line 803 "HierarchicalTagUtilities.c"
gchar** _tmp7_ = NULL;
gint _tmp7__length1 = 0;
const gchar* _tmp8_ = NULL;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp7_ = str_array;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp7__length1 = str_array_length1;
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp8_ = _tmp7_[0];
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = _tmp8_ != NULL;
#line 815 "HierarchicalTagUtilities.c"
} else {
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = FALSE;
#line 819 "HierarchicalTagUtilities.c"
}
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = _tmp5_;
#line 823 "HierarchicalTagUtilities.c"
}
-#line 1057 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1057 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp1_) {
#line 827 "HierarchicalTagUtilities.c"
gint i = 0;
@@ -844,16 +844,16 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
const gchar* _tmp44_ = NULL;
void* _tmp45_ = NULL;
const gchar* _tmp62_ = NULL;
-#line 1059 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1059 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
len = (gsize) 1;
#line 850 "HierarchicalTagUtilities.c"
{
gboolean _tmp9_ = FALSE;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
i = 0;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp9_ = TRUE;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
while (TRUE) {
#line 859 "HierarchicalTagUtilities.c"
gboolean _tmp11_ = FALSE;
@@ -866,97 +866,97 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
gint _tmp23_ = 0;
const gchar* _tmp24_ = NULL;
gsize _tmp30_ = 0UL;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (!_tmp9_) {
#line 872 "HierarchicalTagUtilities.c"
gint _tmp10_ = 0;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp10_ = i;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
i = _tmp10_ + 1;
#line 878 "HierarchicalTagUtilities.c"
}
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp9_ = FALSE;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp13_ = str_array;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp13__length1 = str_array_length1;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp13__length1 != -1) {
#line 888 "HierarchicalTagUtilities.c"
gint _tmp14_ = 0;
gchar** _tmp15_ = NULL;
gint _tmp15__length1 = 0;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp14_ = i;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp15_ = str_array;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp15__length1 = str_array_length1;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp12_ = _tmp14_ < _tmp15__length1;
#line 900 "HierarchicalTagUtilities.c"
} else {
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp12_ = FALSE;
#line 904 "HierarchicalTagUtilities.c"
}
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp12_) {
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp11_ = TRUE;
#line 910 "HierarchicalTagUtilities.c"
} else {
gboolean _tmp16_ = FALSE;
gchar** _tmp17_ = NULL;
gint _tmp17__length1 = 0;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp17_ = str_array;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp17__length1 = str_array_length1;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp17__length1 == -1) {
#line 921 "HierarchicalTagUtilities.c"
gchar** _tmp18_ = NULL;
gint _tmp18__length1 = 0;
gint _tmp19_ = 0;
const gchar* _tmp20_ = NULL;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp18_ = str_array;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp18__length1 = str_array_length1;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp19_ = i;
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp20_ = _tmp18_[_tmp19_];
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp16_ = _tmp20_ != NULL;
#line 936 "HierarchicalTagUtilities.c"
} else {
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp16_ = FALSE;
#line 940 "HierarchicalTagUtilities.c"
}
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp11_ = _tmp16_;
#line 944 "HierarchicalTagUtilities.c"
}
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (!_tmp11_) {
-#line 1060 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1060 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
break;
#line 950 "HierarchicalTagUtilities.c"
}
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp22_ = str_array;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp22__length1 = str_array_length1;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp23_ = i;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp24_ = _tmp22_[_tmp23_];
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp24_ != NULL) {
#line 962 "HierarchicalTagUtilities.c"
gchar** _tmp25_ = NULL;
@@ -965,91 +965,91 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
const gchar* _tmp27_ = NULL;
gint _tmp28_ = 0;
gint _tmp29_ = 0;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp25_ = str_array;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp25__length1 = str_array_length1;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp26_ = i;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp27_ = _tmp25_[_tmp26_];
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp28_ = strlen ((const gchar*) _tmp27_);
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp29_ = _tmp28_;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp21_ = _tmp29_;
#line 983 "HierarchicalTagUtilities.c"
} else {
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp21_ = 0;
#line 987 "HierarchicalTagUtilities.c"
}
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp30_ = len;
-#line 1061 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1061 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
len = _tmp30_ + _tmp21_;
#line 993 "HierarchicalTagUtilities.c"
}
}
-#line 1063 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1063 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp31_ = i;
-#line 1063 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1063 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp31_ == 0) {
#line 1000 "HierarchicalTagUtilities.c"
gchar* _tmp32_ = NULL;
-#line 1064 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1064 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp32_ = g_strdup ("");
-#line 1064 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1064 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp32_;
-#line 1064 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1064 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 1008 "HierarchicalTagUtilities.c"
}
-#line 1066 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1066 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp33_ = i;
-#line 1066 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1066 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
str_array_length1 = _tmp33_;
-#line 1066 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1066 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp34_ = str_array_length1;
-#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp35_ = len;
-#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp36_ = separator;
-#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp37_ = strlen ((const gchar*) _tmp36_);
-#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp38_ = _tmp37_;
-#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp39_ = i;
-#line 1067 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1067 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
len = _tmp35_ + (_tmp38_ * (_tmp39_ - 1));
-#line 1069 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1069 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp40_ = len;
-#line 1069 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1069 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp41_ = g_malloc (_tmp40_);
-#line 1069 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1069 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
res = _tmp41_;
-#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp42_ = res;
-#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp43_ = str_array;
-#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp43__length1 = str_array_length1;
-#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp44_ = _tmp43_[0];
-#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp45_ = g_stpcpy ((void*) _tmp42_, (const gchar*) _tmp44_);
-#line 1070 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1070 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
ptr = _tmp45_;
#line 1046 "HierarchicalTagUtilities.c"
{
gboolean _tmp46_ = FALSE;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
i = 1;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp46_ = TRUE;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
while (TRUE) {
#line 1055 "HierarchicalTagUtilities.c"
gint _tmp48_ = 0;
@@ -1065,94 +1065,94 @@ static gchar* _vala_g_strjoinv (const gchar* separator, gchar** str_array, int s
const gchar* _tmp56_ = NULL;
void* _tmp60_ = NULL;
void* _tmp61_ = NULL;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (!_tmp46_) {
#line 1071 "HierarchicalTagUtilities.c"
gint _tmp47_ = 0;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp47_ = i;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
i = _tmp47_ + 1;
#line 1077 "HierarchicalTagUtilities.c"
}
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp46_ = FALSE;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp48_ = i;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp49_ = str_array;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp49__length1 = str_array_length1;
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (!(_tmp48_ < _tmp49__length1)) {
-#line 1071 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1071 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
break;
#line 1091 "HierarchicalTagUtilities.c"
}
-#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp50_ = ptr;
-#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp51_ = separator;
-#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp52_ = g_stpcpy (_tmp50_, (const gchar*) _tmp51_);
-#line 1072 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1072 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
ptr = _tmp52_;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp54_ = str_array;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp54__length1 = str_array_length1;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp55_ = i;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp56_ = _tmp54_[_tmp55_];
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp56_ != NULL) {
#line 1111 "HierarchicalTagUtilities.c"
gchar** _tmp57_ = NULL;
gint _tmp57__length1 = 0;
gint _tmp58_ = 0;
const gchar* _tmp59_ = NULL;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp57_ = str_array;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp57__length1 = str_array_length1;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp58_ = i;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp59_ = _tmp57_[_tmp58_];
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp53_ = (const gchar*) _tmp59_;
#line 1126 "HierarchicalTagUtilities.c"
} else {
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp53_ = "";
#line 1130 "HierarchicalTagUtilities.c"
}
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp60_ = ptr;
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp61_ = g_stpcpy (_tmp60_, _tmp53_);
-#line 1073 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1073 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
ptr = _tmp61_;
#line 1138 "HierarchicalTagUtilities.c"
}
}
-#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp62_ = res;
-#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
res = NULL;
-#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = (gchar*) _tmp62_;
-#line 1076 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1076 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 1149 "HierarchicalTagUtilities.c"
} else {
gchar* _tmp63_ = NULL;
-#line 1078 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1078 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp63_ = g_strdup ("");
-#line 1078 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1078 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp63_;
-#line 1078 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1078 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 1158 "HierarchicalTagUtilities.c"
}
@@ -1273,11 +1273,11 @@ gchar* hierarchical_tag_utilities_get_basename (const gchar* in_path) {
static gchar* string_replace (const gchar* self, const gchar* old, const gchar* replacement) {
gchar* result = NULL;
GError * _inner_error_ = NULL;
-#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (old != NULL, NULL);
-#line 1380 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1380 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (replacement != NULL, NULL);
#line 1283 "HierarchicalTagUtilities.c"
{
@@ -1292,73 +1292,73 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar*
const gchar* _tmp7_ = NULL;
gchar* _tmp8_ = NULL;
gchar* _tmp9_ = NULL;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = old;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = g_regex_escape_string (_tmp0_, -1);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = _tmp1_;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = g_regex_new (_tmp2_, 0, 0, &_inner_error_);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = _tmp3_;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_free0 (_tmp2_);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
regex = _tmp4_;
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_inner_error_->domain == G_REGEX_ERROR) {
#line 1314 "HierarchicalTagUtilities.c"
goto __catch53_g_regex_error;
}
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_clear_error (&_inner_error_);
-#line 1382 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1382 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return NULL;
#line 1323 "HierarchicalTagUtilities.c"
}
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6_ = regex;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp7_ = replacement;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp8_ = g_regex_replace_literal (_tmp6_, self, (gssize) -1, 0, _tmp7_, 0, &_inner_error_);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = _tmp8_;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_regex_unref0 (regex);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_inner_error_->domain == G_REGEX_ERROR) {
#line 1339 "HierarchicalTagUtilities.c"
goto __catch53_g_regex_error;
}
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_regex_unref0 (regex);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_clear_error (&_inner_error_);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return NULL;
#line 1350 "HierarchicalTagUtilities.c"
}
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp9_ = _tmp5_;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = NULL;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp9_;
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_free0 (_tmp5_);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_regex_unref0 (regex);
-#line 1383 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1383 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 1364 "HierarchicalTagUtilities.c"
}
@@ -1366,24 +1366,24 @@ static gchar* string_replace (const gchar* self, const gchar* old, const gchar*
__catch53_g_regex_error:
{
GError* e = NULL;
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
e = _inner_error_;
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_inner_error_ = NULL;
-#line 1385 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1385 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_assert_not_reached ();
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_g_error_free0 (e);
#line 1378 "HierarchicalTagUtilities.c"
}
__finally53:
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
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 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_clear_error (&_inner_error_);
-#line 1381 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1381 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return NULL;
#line 1389 "HierarchicalTagUtilities.c"
}
@@ -1394,15 +1394,15 @@ static gchar string_get (const gchar* self, glong index) {
gchar result = '\0';
glong _tmp0_ = 0L;
gchar _tmp1_ = '\0';
-#line 1086 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1086 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, '\0');
-#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = index;
-#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = ((gchar*) self)[_tmp0_];
-#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp1_;
-#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 1408 "HierarchicalTagUtilities.c"
}
diff --git a/src/tags/TagPage.c b/src/tags/TagPage.c
index 5829bfc..8a95878 100644
--- a/src/tags/TagPage.c
+++ b/src/tags/TagPage.c
@@ -1,4 +1,4 @@
-/* TagPage.c generated by valac 0.34.2, the Vala compiler
+/* TagPage.c generated by valac 0.32.1, the Vala compiler
* generated from TagPage.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/tags/Tags.c b/src/tags/Tags.c
index 901cc2a..0f14960 100644
--- a/src/tags/Tags.c
+++ b/src/tags/Tags.c
@@ -1,4 +1,4 @@
-/* Tags.c generated by valac 0.34.2, the Vala compiler
+/* Tags.c generated by valac 0.32.1, the Vala compiler
* generated from Tags.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/threads/BackgroundJob.c b/src/threads/BackgroundJob.c
index caeab3b..006e1b0 100644
--- a/src/threads/BackgroundJob.c
+++ b/src/threads/BackgroundJob.c
@@ -1,4 +1,4 @@
-/* BackgroundJob.c generated by valac 0.34.2, the Vala compiler
+/* BackgroundJob.c generated by valac 0.32.1, the Vala compiler
* generated from BackgroundJob.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/threads/Semaphore.c b/src/threads/Semaphore.c
index d22656b..9874b65 100644
--- a/src/threads/Semaphore.c
+++ b/src/threads/Semaphore.c
@@ -1,4 +1,4 @@
-/* Semaphore.c generated by valac 0.34.2, the Vala compiler
+/* Semaphore.c generated by valac 0.32.1, the Vala compiler
* generated from Semaphore.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/threads/Threads.c b/src/threads/Threads.c
index 3c5eaea..d87457f 100644
--- a/src/threads/Threads.c
+++ b/src/threads/Threads.c
@@ -1,4 +1,4 @@
-/* Threads.c generated by valac 0.34.2, the Vala compiler
+/* Threads.c generated by valac 0.32.1, the Vala compiler
* generated from Threads.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/threads/Workers.c b/src/threads/Workers.c
index 35b0d27..92d5e97 100644
--- a/src/threads/Workers.c
+++ b/src/threads/Workers.c
@@ -1,4 +1,4 @@
-/* Workers.c generated by valac 0.34.2, the Vala compiler
+/* Workers.c generated by valac 0.32.1, the Vala compiler
* generated from Workers.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/unit/Unit.c b/src/unit/Unit.c
index 2d7acb8..d652834 100644
--- a/src/unit/Unit.c
+++ b/src/unit/Unit.c
@@ -1,4 +1,4 @@
-/* Unit.c generated by valac 0.34.2, the Vala compiler
+/* Unit.c generated by valac 0.32.1, the Vala compiler
* generated from Unit.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/util/KeyValueMap.c b/src/util/KeyValueMap.c
index 180a69a..003f0ca 100644
--- a/src/util/KeyValueMap.c
+++ b/src/util/KeyValueMap.c
@@ -1,4 +1,4 @@
-/* KeyValueMap.c generated by valac 0.34.2, the Vala compiler
+/* KeyValueMap.c generated by valac 0.32.1, the Vala compiler
* generated from KeyValueMap.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -355,23 +355,23 @@ static gchar* double_to_string (gdouble self) {
const gchar* _tmp2_ = NULL;
gchar* _tmp3_ = NULL;
gchar* _tmp4_ = NULL;
-#line 863 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 863 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = g_new0 (gchar, G_ASCII_DTOSTR_BUF_SIZE);
-#line 863 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 863 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = _tmp0_;
-#line 863 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 863 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1__length1 = G_ASCII_DTOSTR_BUF_SIZE;
-#line 863 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 863 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = g_ascii_dtostr (_tmp1_, G_ASCII_DTOSTR_BUF_SIZE, self);
-#line 863 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 863 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = g_strdup (_tmp2_);
-#line 863 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 863 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = _tmp3_;
-#line 863 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 863 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = (g_free (_tmp1_), NULL);
-#line 863 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 863 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp4_;
-#line 863 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 863 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 377 "KeyValueMap.c"
}
@@ -445,24 +445,24 @@ void key_value_map_set_float (KeyValueMap* self, const gchar* key, gfloat value)
static gchar* bool_to_string (gboolean self) {
gchar* result = NULL;
-#line 37 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 37 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (self) {
#line 451 "KeyValueMap.c"
gchar* _tmp0_ = NULL;
-#line 38 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 38 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = g_strdup ("true");
-#line 38 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 38 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp0_;
-#line 38 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 38 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 459 "KeyValueMap.c"
} else {
gchar* _tmp1_ = NULL;
-#line 40 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 40 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = g_strdup ("false");
-#line 40 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 40 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp1_;
-#line 40 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 40 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 468 "KeyValueMap.c"
}
@@ -610,15 +610,15 @@ static gdouble double_parse (const gchar* str) {
gdouble result = 0.0;
const gchar* _tmp0_ = NULL;
gdouble _tmp1_ = 0.0;
-#line 869 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 869 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (str != NULL, 0.0);
-#line 870 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 870 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = str;
-#line 870 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 870 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = g_ascii_strtod (_tmp0_, NULL);
-#line 870 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 870 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp1_;
-#line 870 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 870 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 624 "KeyValueMap.c"
}
@@ -731,21 +731,21 @@ gfloat key_value_map_get_float (KeyValueMap* self, const gchar* key, gfloat def)
static gboolean bool_parse (const gchar* str) {
gboolean result = FALSE;
const gchar* _tmp0_ = NULL;
-#line 44 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 44 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (str != NULL, FALSE);
-#line 45 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 45 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = str;
-#line 45 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 45 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (g_strcmp0 (_tmp0_, "true") == 0) {
-#line 46 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 46 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = TRUE;
-#line 46 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 46 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 745 "KeyValueMap.c"
} else {
-#line 48 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 48 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = FALSE;
-#line 48 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 48 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 751 "KeyValueMap.c"
}
diff --git a/src/util/Util.c b/src/util/Util.c
index 33aa26e..ec9f4ff 100644
--- a/src/util/Util.c
+++ b/src/util/Util.c
@@ -1,4 +1,4 @@
-/* Util.c generated by valac 0.34.2, the Vala compiler
+/* Util.c generated by valac 0.32.1, the Vala compiler
* generated from Util.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/util/file.c b/src/util/file.c
index 9baf18c..b219fd2 100644
--- a/src/util/file.c
+++ b/src/util/file.c
@@ -1,4 +1,4 @@
-/* file.c generated by valac 0.34.2, the Vala compiler
+/* file.c generated by valac 0.32.1, the Vala compiler
* generated from file.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -411,37 +411,37 @@ static glong string_strnlen (gchar* str, glong maxlen) {
glong _tmp1_ = 0L;
gchar* _tmp2_ = NULL;
gchar* _tmp3_ = NULL;
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = str;
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = maxlen;
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = memchr (_tmp0_, 0, (gsize) _tmp1_);
-#line 1295 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1295 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
end = _tmp2_;
-#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = end;
-#line 1296 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1296 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp3_ == NULL) {
#line 427 "file.c"
glong _tmp4_ = 0L;
-#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = maxlen;
-#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp4_;
-#line 1297 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1297 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 435 "file.c"
} else {
gchar* _tmp5_ = NULL;
gchar* _tmp6_ = NULL;
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = end;
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6_ = str;
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = (glong) (_tmp5_ - _tmp6_);
-#line 1299 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1299 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 447 "file.c"
}
@@ -461,112 +461,112 @@ static gchar* string_substring (const gchar* self, glong offset, glong len) {
glong _tmp20_ = 0L;
glong _tmp21_ = 0L;
gchar* _tmp22_ = NULL;
-#line 1306 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1306 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = offset;
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp1_ >= ((glong) 0)) {
#line 471 "file.c"
glong _tmp2_ = 0L;
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = len;
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = _tmp2_ >= ((glong) 0);
#line 477 "file.c"
} else {
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = FALSE;
#line 481 "file.c"
}
-#line 1308 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1308 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp0_) {
#line 485 "file.c"
glong _tmp3_ = 0L;
glong _tmp4_ = 0L;
glong _tmp5_ = 0L;
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = offset;
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = len;
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = string_strnlen ((gchar*) self, _tmp3_ + _tmp4_);
-#line 1310 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1310 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
string_length = _tmp5_;
#line 497 "file.c"
} else {
gint _tmp6_ = 0;
gint _tmp7_ = 0;
-#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6_ = strlen (self);
-#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp7_ = _tmp6_;
-#line 1312 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1312 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
string_length = (glong) _tmp7_;
#line 507 "file.c"
}
-#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp8_ = offset;
-#line 1315 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1315 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp8_ < ((glong) 0)) {
#line 513 "file.c"
glong _tmp9_ = 0L;
glong _tmp10_ = 0L;
glong _tmp11_ = 0L;
-#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp9_ = string_length;
-#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp10_ = offset;
-#line 1316 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1316 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
offset = _tmp9_ + _tmp10_;
-#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp11_ = offset;
-#line 1317 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1317 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp11_ >= ((glong) 0), NULL);
#line 527 "file.c"
} else {
glong _tmp12_ = 0L;
glong _tmp13_ = 0L;
-#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp12_ = offset;
-#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp13_ = string_length;
-#line 1319 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1319 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp12_ <= _tmp13_, NULL);
#line 537 "file.c"
}
-#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp14_ = len;
-#line 1321 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1321 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp14_ < ((glong) 0)) {
#line 543 "file.c"
glong _tmp15_ = 0L;
glong _tmp16_ = 0L;
-#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp15_ = string_length;
-#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp16_ = offset;
-#line 1322 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1322 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
len = _tmp15_ - _tmp16_;
#line 552 "file.c"
}
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp17_ = offset;
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp18_ = len;
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp19_ = string_length;
-#line 1324 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1324 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail ((_tmp17_ + _tmp18_) <= _tmp19_, NULL);
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp20_ = offset;
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp21_ = len;
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp22_ = g_strndup (((gchar*) self) + _tmp20_, (gsize) _tmp21_);
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp22_;
-#line 1325 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1325 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 572 "file.c"
}
diff --git a/src/util/image.c b/src/util/image.c
index 9e1bb80..a68553e 100644
--- a/src/util/image.c
+++ b/src/util/image.c
@@ -1,4 +1,4 @@
-/* image.c generated by valac 0.34.2, the Vala compiler
+/* image.c generated by valac 0.32.1, the Vala compiler
* generated from image.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -18,55 +18,12 @@
#include <gtk/gtk.h>
#include <float.h>
#include <math.h>
-#include <gio/gio.h>
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))
#define TYPE_DIMENSIONS (dimensions_get_type ())
typedef struct _Dimensions Dimensions;
-
-#define TYPE_PIXEL_TRANSFORMER (pixel_transformer_get_type ())
-#define PIXEL_TRANSFORMER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_PIXEL_TRANSFORMER, PixelTransformer))
-#define PIXEL_TRANSFORMER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_PIXEL_TRANSFORMER, PixelTransformerClass))
-#define IS_PIXEL_TRANSFORMER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_PIXEL_TRANSFORMER))
-#define IS_PIXEL_TRANSFORMER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_PIXEL_TRANSFORMER))
-#define PIXEL_TRANSFORMER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_PIXEL_TRANSFORMER, PixelTransformerClass))
-
-typedef struct _PixelTransformer PixelTransformer;
-typedef struct _PixelTransformerClass PixelTransformerClass;
-
-#define TYPE_PIXEL_TRANSFORMATION (pixel_transformation_get_type ())
-#define PIXEL_TRANSFORMATION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_PIXEL_TRANSFORMATION, PixelTransformation))
-#define PIXEL_TRANSFORMATION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_PIXEL_TRANSFORMATION, PixelTransformationClass))
-#define IS_PIXEL_TRANSFORMATION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_PIXEL_TRANSFORMATION))
-#define IS_PIXEL_TRANSFORMATION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_PIXEL_TRANSFORMATION))
-#define PIXEL_TRANSFORMATION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_PIXEL_TRANSFORMATION, PixelTransformationClass))
-
-typedef struct _PixelTransformation PixelTransformation;
-typedef struct _PixelTransformationClass PixelTransformationClass;
-
-#define TYPE_RGB_TRANSFORMATION (rgb_transformation_get_type ())
-#define RGB_TRANSFORMATION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_RGB_TRANSFORMATION, RGBTransformation))
-#define RGB_TRANSFORMATION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_RGB_TRANSFORMATION, RGBTransformationClass))
-#define IS_RGB_TRANSFORMATION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_RGB_TRANSFORMATION))
-#define IS_RGB_TRANSFORMATION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_RGB_TRANSFORMATION))
-#define RGB_TRANSFORMATION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_RGB_TRANSFORMATION, RGBTransformationClass))
-
-typedef struct _RGBTransformation RGBTransformation;
-typedef struct _RGBTransformationClass RGBTransformationClass;
-
-#define TYPE_SATURATION_TRANSFORMATION (saturation_transformation_get_type ())
-#define SATURATION_TRANSFORMATION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), TYPE_SATURATION_TRANSFORMATION, SaturationTransformation))
-#define SATURATION_TRANSFORMATION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TYPE_SATURATION_TRANSFORMATION, SaturationTransformationClass))
-#define IS_SATURATION_TRANSFORMATION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), TYPE_SATURATION_TRANSFORMATION))
-#define IS_SATURATION_TRANSFORMATION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), TYPE_SATURATION_TRANSFORMATION))
-#define SATURATION_TRANSFORMATION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), TYPE_SATURATION_TRANSFORMATION, SaturationTransformationClass))
-
-typedef struct _SaturationTransformation SaturationTransformation;
-typedef struct _SaturationTransformationClass SaturationTransformationClass;
-#define _pixel_transformation_unref0(var) ((var == NULL) ? NULL : (var = (pixel_transformation_unref (var), NULL)))
-#define _pixel_transformer_unref0(var) ((var == NULL) ? NULL : (var = (pixel_transformer_unref (var), NULL)))
#define _cairo_destroy0(var) ((var == NULL) ? NULL : (var = (cairo_destroy (var), NULL)))
#define _cairo_surface_destroy0(var) ((var == NULL) ? NULL : (var = (cairo_surface_destroy (var), NULL)))
@@ -112,30 +69,6 @@ void context_rounded_corners (cairo_t* cx, Dimensions* dim, GdkPoint* origin, gd
gint dimensions_minor_axis (Dimensions *self);
guchar shift_color_byte (gint b, gint shift);
void shift_colors (GdkPixbuf* pixbuf, gint red, gint green, gint blue, gint alpha);
-void dim_pixbuf (GdkPixbuf* pixbuf);
-gpointer pixel_transformer_ref (gpointer instance);
-void pixel_transformer_unref (gpointer instance);
-GParamSpec* param_spec_pixel_transformer (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
-void value_set_pixel_transformer (GValue* value, gpointer v_object);
-void value_take_pixel_transformer (GValue* value, gpointer v_object);
-gpointer value_get_pixel_transformer (const GValue* value);
-GType pixel_transformer_get_type (void) G_GNUC_CONST;
-PixelTransformer* pixel_transformer_new (void);
-PixelTransformer* pixel_transformer_construct (GType object_type);
-gpointer pixel_transformation_ref (gpointer instance);
-void pixel_transformation_unref (gpointer instance);
-GParamSpec* param_spec_pixel_transformation (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
-void value_set_pixel_transformation (GValue* value, gpointer v_object);
-void value_take_pixel_transformation (GValue* value, gpointer v_object);
-gpointer value_get_pixel_transformation (const GValue* value);
-GType pixel_transformation_get_type (void) G_GNUC_CONST;
-GType rgb_transformation_get_type (void) G_GNUC_CONST;
-GType saturation_transformation_get_type (void) G_GNUC_CONST;
-#define SATURATION_TRANSFORMATION_MIN_PARAMETER (-16.0f)
-SaturationTransformation* saturation_transformation_new (gfloat client_parameter);
-SaturationTransformation* saturation_transformation_construct (GType object_type, gfloat client_parameter);
-void pixel_transformer_attach_transformation (PixelTransformer* self, PixelTransformation* trans);
-void pixel_transformer_transform_pixbuf (PixelTransformer* self, GdkPixbuf* pixbuf, GCancellable* cancellable);
gboolean coord_in_rectangle (gint x, gint y, GdkRectangle* rect);
gboolean rectangles_equal (GdkRectangle* a, GdkRectangle* b);
gchar* rectangle_to_string (GdkRectangle* rect);
@@ -175,7 +108,7 @@ gboolean is_color_parsable (const gchar* spec) {
result = _tmp1_;
#line 119 "/home/jens/Source/shotwell/src/util/image.vala"
return result;
-#line 179 "image.c"
+#line 112 "image.c"
}
@@ -192,7 +125,7 @@ void parse_color (const gchar* spec, GdkRGBA* result) {
*result = _tmp1_;
#line 123 "/home/jens/Source/shotwell/src/util/image.vala"
return;
-#line 196 "image.c"
+#line 129 "image.c"
}
@@ -210,19 +143,19 @@ void fetch_color (const gchar* spec, GdkRGBA* result) {
_tmp1_ = gdk_rgba_parse (&rgba, _tmp0_);
#line 128 "/home/jens/Source/shotwell/src/util/image.vala"
if (!_tmp1_) {
-#line 214 "image.c"
+#line 147 "image.c"
const gchar* _tmp2_ = NULL;
#line 129 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp2_ = spec;
#line 129 "/home/jens/Source/shotwell/src/util/image.vala"
g_error ("image.vala:129: Can't parse color %s", _tmp2_);
-#line 220 "image.c"
+#line 153 "image.c"
}
#line 131 "/home/jens/Source/shotwell/src/util/image.vala"
*result = rgba;
#line 131 "/home/jens/Source/shotwell/src/util/image.vala"
return;
-#line 226 "image.c"
+#line 159 "image.c"
}
@@ -269,14 +202,14 @@ void set_source_color_from_string (cairo_t* ctx, const gchar* spec) {
_tmp10_ = _tmp9_.alpha;
#line 136 "/home/jens/Source/shotwell/src/util/image.vala"
cairo_set_source_rgba (_tmp2_, _tmp4_, _tmp6_, _tmp8_, _tmp10_);
-#line 273 "image.c"
+#line 206 "image.c"
}
static gpointer _g_object_ref0 (gpointer self) {
#line 147 "/home/jens/Source/shotwell/src/util/image.vala"
return self ? g_object_ref (self) : NULL;
-#line 280 "image.c"
+#line 213 "image.c"
}
@@ -286,7 +219,7 @@ GdkPixbuf* get_placeholder_pixbuf (void) {
GError * _inner_error_ = NULL;
#line 144 "/home/jens/Source/shotwell/src/util/image.vala"
pixbuf = NULL;
-#line 290 "image.c"
+#line 223 "image.c"
{
GtkIconTheme* icon_theme = NULL;
GtkIconTheme* _tmp0_ = NULL;
@@ -308,7 +241,7 @@ GdkPixbuf* get_placeholder_pixbuf (void) {
if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 148 "/home/jens/Source/shotwell/src/util/image.vala"
_g_object_unref0 (icon_theme);
-#line 312 "image.c"
+#line 245 "image.c"
goto __catch4_g_error;
}
#line 148 "/home/jens/Source/shotwell/src/util/image.vala"
@@ -323,7 +256,7 @@ GdkPixbuf* get_placeholder_pixbuf (void) {
_g_object_unref0 (_tmp2_);
#line 146 "/home/jens/Source/shotwell/src/util/image.vala"
_g_object_unref0 (icon_theme);
-#line 327 "image.c"
+#line 260 "image.c"
}
goto __finally4;
__catch4_g_error:
@@ -350,7 +283,7 @@ GdkPixbuf* get_placeholder_pixbuf (void) {
g_warning ("image.vala:152: Could not load icon from theme: %s", _tmp7_);
#line 146 "/home/jens/Source/shotwell/src/util/image.vala"
_g_error_free0 (_error_);
-#line 354 "image.c"
+#line 287 "image.c"
}
__finally4:
#line 146 "/home/jens/Source/shotwell/src/util/image.vala"
@@ -363,13 +296,13 @@ GdkPixbuf* get_placeholder_pixbuf (void) {
g_clear_error (&_inner_error_);
#line 146 "/home/jens/Source/shotwell/src/util/image.vala"
return NULL;
-#line 367 "image.c"
+#line 300 "image.c"
}
#line 155 "/home/jens/Source/shotwell/src/util/image.vala"
result = pixbuf;
#line 155 "/home/jens/Source/shotwell/src/util/image.vala"
return result;
-#line 373 "image.c"
+#line 306 "image.c"
}
@@ -421,7 +354,7 @@ GdkPixbuf* scale_pixbuf (GdkPixbuf* pixbuf, gint scale, GdkInterpType interp, gb
_tmp9_ = _tmp8_.width;
#line 161 "/home/jens/Source/shotwell/src/util/image.vala"
if (_tmp7_ == _tmp9_) {
-#line 425 "image.c"
+#line 358 "image.c"
Dimensions _tmp10_ = {0};
gint _tmp11_ = 0;
Dimensions _tmp12_ = {0};
@@ -436,15 +369,15 @@ GdkPixbuf* scale_pixbuf (GdkPixbuf* pixbuf, gint scale, GdkInterpType interp, gb
_tmp13_ = _tmp12_.height;
#line 161 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp5_ = _tmp11_ == _tmp13_;
-#line 440 "image.c"
+#line 373 "image.c"
} else {
#line 161 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp5_ = FALSE;
-#line 444 "image.c"
+#line 377 "image.c"
}
#line 161 "/home/jens/Source/shotwell/src/util/image.vala"
if (_tmp5_) {
-#line 448 "image.c"
+#line 381 "image.c"
GdkPixbuf* _tmp14_ = NULL;
GdkPixbuf* _tmp15_ = NULL;
#line 162 "/home/jens/Source/shotwell/src/util/image.vala"
@@ -455,7 +388,7 @@ GdkPixbuf* scale_pixbuf (GdkPixbuf* pixbuf, gint scale, GdkInterpType interp, gb
result = _tmp15_;
#line 162 "/home/jens/Source/shotwell/src/util/image.vala"
return result;
-#line 459 "image.c"
+#line 392 "image.c"
}
#line 165 "/home/jens/Source/shotwell/src/util/image.vala"
dimensions_with_min (&scaled, MIN_SCALED_WIDTH, MIN_SCALED_HEIGHT, &_tmp16_);
@@ -479,7 +412,7 @@ GdkPixbuf* scale_pixbuf (GdkPixbuf* pixbuf, gint scale, GdkInterpType interp, gb
result = _tmp23_;
#line 167 "/home/jens/Source/shotwell/src/util/image.vala"
return result;
-#line 483 "image.c"
+#line 416 "image.c"
}
@@ -521,7 +454,7 @@ GdkPixbuf* resize_pixbuf (GdkPixbuf* pixbuf, Dimensions* resized, GdkInterpType
_tmp6_ = _tmp5_.width;
#line 172 "/home/jens/Source/shotwell/src/util/image.vala"
if (_tmp4_ == _tmp6_) {
-#line 525 "image.c"
+#line 458 "image.c"
Dimensions _tmp7_ = {0};
gint _tmp8_ = 0;
Dimensions _tmp9_ = {0};
@@ -536,15 +469,15 @@ GdkPixbuf* resize_pixbuf (GdkPixbuf* pixbuf, Dimensions* resized, GdkInterpType
_tmp10_ = _tmp9_.height;
#line 172 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp2_ = _tmp8_ == _tmp10_;
-#line 540 "image.c"
+#line 473 "image.c"
} else {
#line 172 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp2_ = FALSE;
-#line 544 "image.c"
+#line 477 "image.c"
}
#line 172 "/home/jens/Source/shotwell/src/util/image.vala"
if (_tmp2_) {
-#line 548 "image.c"
+#line 481 "image.c"
GdkPixbuf* _tmp11_ = NULL;
GdkPixbuf* _tmp12_ = NULL;
#line 173 "/home/jens/Source/shotwell/src/util/image.vala"
@@ -555,7 +488,7 @@ GdkPixbuf* resize_pixbuf (GdkPixbuf* pixbuf, Dimensions* resized, GdkInterpType
result = _tmp12_;
#line 173 "/home/jens/Source/shotwell/src/util/image.vala"
return result;
-#line 559 "image.c"
+#line 492 "image.c"
}
#line 176 "/home/jens/Source/shotwell/src/util/image.vala"
dimensions_with_min (resized, MIN_SCALED_WIDTH, MIN_SCALED_HEIGHT, &_tmp13_);
@@ -579,7 +512,7 @@ GdkPixbuf* resize_pixbuf (GdkPixbuf* pixbuf, Dimensions* resized, GdkInterpType
result = _tmp20_;
#line 178 "/home/jens/Source/shotwell/src/util/image.vala"
return result;
-#line 583 "image.c"
+#line 516 "image.c"
}
@@ -609,7 +542,7 @@ void draw_rounded_corners_filled (cairo_t* ctx, Dimensions* dim, GdkPoint* origi
_tmp4_ = ctx;
#line 186 "/home/jens/Source/shotwell/src/util/image.vala"
cairo_paint (_tmp4_);
-#line 613 "image.c"
+#line 546 "image.c"
}
@@ -715,7 +648,7 @@ void context_rounded_corners (cairo_t* cx, Dimensions* dim, GdkPoint* origin, gd
_tmp21_ = cx;
#line 209 "/home/jens/Source/shotwell/src/util/image.vala"
cairo_clip (_tmp21_);
-#line 719 "image.c"
+#line 652 "image.c"
}
@@ -734,7 +667,7 @@ inline guchar shift_color_byte (gint b, gint shift) {
result = (guchar) _tmp2_;
#line 213 "/home/jens/Source/shotwell/src/util/image.vala"
return result;
-#line 738 "image.c"
+#line 671 "image.c"
}
@@ -773,17 +706,17 @@ void shift_colors (GdkPixbuf* pixbuf, gint red, gint green, gint blue, gint alph
_tmp1_ = red;
#line 217 "/home/jens/Source/shotwell/src/util/image.vala"
if (_tmp1_ >= -255) {
-#line 777 "image.c"
+#line 710 "image.c"
gint _tmp2_ = 0;
#line 217 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp2_ = red;
#line 217 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp0_ = _tmp2_ <= 255;
-#line 783 "image.c"
+#line 716 "image.c"
} else {
#line 217 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp0_ = FALSE;
-#line 787 "image.c"
+#line 720 "image.c"
}
#line 217 "/home/jens/Source/shotwell/src/util/image.vala"
_vala_assert (_tmp0_, "red >= -255 && red <= 255");
@@ -791,17 +724,17 @@ void shift_colors (GdkPixbuf* pixbuf, gint red, gint green, gint blue, gint alph
_tmp4_ = green;
#line 218 "/home/jens/Source/shotwell/src/util/image.vala"
if (_tmp4_ >= -255) {
-#line 795 "image.c"
+#line 728 "image.c"
gint _tmp5_ = 0;
#line 218 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp5_ = green;
#line 218 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp3_ = _tmp5_ <= 255;
-#line 801 "image.c"
+#line 734 "image.c"
} else {
#line 218 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp3_ = FALSE;
-#line 805 "image.c"
+#line 738 "image.c"
}
#line 218 "/home/jens/Source/shotwell/src/util/image.vala"
_vala_assert (_tmp3_, "green >= -255 && green <= 255");
@@ -809,17 +742,17 @@ void shift_colors (GdkPixbuf* pixbuf, gint red, gint green, gint blue, gint alph
_tmp7_ = blue;
#line 219 "/home/jens/Source/shotwell/src/util/image.vala"
if (_tmp7_ >= -255) {
-#line 813 "image.c"
+#line 746 "image.c"
gint _tmp8_ = 0;
#line 219 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp8_ = blue;
#line 219 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp6_ = _tmp8_ <= 255;
-#line 819 "image.c"
+#line 752 "image.c"
} else {
#line 219 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp6_ = FALSE;
-#line 823 "image.c"
+#line 756 "image.c"
}
#line 219 "/home/jens/Source/shotwell/src/util/image.vala"
_vala_assert (_tmp6_, "blue >= -255 && blue <= 255");
@@ -827,17 +760,17 @@ void shift_colors (GdkPixbuf* pixbuf, gint red, gint green, gint blue, gint alph
_tmp10_ = alpha;
#line 220 "/home/jens/Source/shotwell/src/util/image.vala"
if (_tmp10_ >= -255) {
-#line 831 "image.c"
+#line 764 "image.c"
gint _tmp11_ = 0;
#line 220 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp11_ = alpha;
#line 220 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp9_ = _tmp11_ <= 255;
-#line 837 "image.c"
+#line 770 "image.c"
} else {
#line 220 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp9_ = FALSE;
-#line 841 "image.c"
+#line 774 "image.c"
}
#line 220 "/home/jens/Source/shotwell/src/util/image.vala"
_vala_assert (_tmp9_, "alpha >= -255 && alpha <= 255");
@@ -887,19 +820,19 @@ void shift_colors (GdkPixbuf* pixbuf, gint red, gint green, gint blue, gint alph
_tmp26_ = gdk_pixbuf_get_bits_per_sample (_tmp25_);
#line 230 "/home/jens/Source/shotwell/src/util/image.vala"
_vala_assert (_tmp26_ == 8, "pixbuf.get_bits_per_sample() == 8");
-#line 891 "image.c"
+#line 824 "image.c"
{
gint y = 0;
#line 232 "/home/jens/Source/shotwell/src/util/image.vala"
y = 0;
-#line 896 "image.c"
+#line 829 "image.c"
{
gboolean _tmp27_ = FALSE;
#line 232 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp27_ = TRUE;
#line 232 "/home/jens/Source/shotwell/src/util/image.vala"
while (TRUE) {
-#line 903 "image.c"
+#line 836 "image.c"
gint _tmp29_ = 0;
gint _tmp30_ = 0;
gint y_offset = 0;
@@ -907,13 +840,13 @@ void shift_colors (GdkPixbuf* pixbuf, gint red, gint green, gint blue, gint alph
gint _tmp32_ = 0;
#line 232 "/home/jens/Source/shotwell/src/util/image.vala"
if (!_tmp27_) {
-#line 911 "image.c"
+#line 844 "image.c"
gint _tmp28_ = 0;
#line 232 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp28_ = y;
#line 232 "/home/jens/Source/shotwell/src/util/image.vala"
y = _tmp28_ + 1;
-#line 917 "image.c"
+#line 850 "image.c"
}
#line 232 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp27_ = FALSE;
@@ -925,7 +858,7 @@ void shift_colors (GdkPixbuf* pixbuf, gint red, gint green, gint blue, gint alph
if (!(_tmp29_ < _tmp30_)) {
#line 232 "/home/jens/Source/shotwell/src/util/image.vala"
break;
-#line 929 "image.c"
+#line 862 "image.c"
}
#line 233 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp31_ = y;
@@ -933,19 +866,19 @@ void shift_colors (GdkPixbuf* pixbuf, gint red, gint green, gint blue, gint alph
_tmp32_ = rowstride;
#line 233 "/home/jens/Source/shotwell/src/util/image.vala"
y_offset = _tmp31_ * _tmp32_;
-#line 937 "image.c"
+#line 870 "image.c"
{
gint x = 0;
#line 235 "/home/jens/Source/shotwell/src/util/image.vala"
x = 0;
-#line 942 "image.c"
+#line 875 "image.c"
{
gboolean _tmp33_ = FALSE;
#line 235 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp33_ = TRUE;
#line 235 "/home/jens/Source/shotwell/src/util/image.vala"
while (TRUE) {
-#line 949 "image.c"
+#line 882 "image.c"
gint _tmp35_ = 0;
gint _tmp36_ = 0;
gint offset = 0;
@@ -959,13 +892,13 @@ void shift_colors (GdkPixbuf* pixbuf, gint red, gint green, gint blue, gint alph
gint _tmp68_ = 0;
#line 235 "/home/jens/Source/shotwell/src/util/image.vala"
if (!_tmp33_) {
-#line 963 "image.c"
+#line 896 "image.c"
gint _tmp34_ = 0;
#line 235 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp34_ = x;
#line 235 "/home/jens/Source/shotwell/src/util/image.vala"
x = _tmp34_ + 1;
-#line 969 "image.c"
+#line 902 "image.c"
}
#line 235 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp33_ = FALSE;
@@ -977,7 +910,7 @@ void shift_colors (GdkPixbuf* pixbuf, gint red, gint green, gint blue, gint alph
if (!(_tmp35_ < _tmp36_)) {
#line 235 "/home/jens/Source/shotwell/src/util/image.vala"
break;
-#line 981 "image.c"
+#line 914 "image.c"
}
#line 236 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp37_ = y_offset;
@@ -991,7 +924,7 @@ void shift_colors (GdkPixbuf* pixbuf, gint red, gint green, gint blue, gint alph
_tmp40_ = red;
#line 238 "/home/jens/Source/shotwell/src/util/image.vala"
if (_tmp40_ != 0) {
-#line 995 "image.c"
+#line 928 "image.c"
guchar* _tmp41_ = NULL;
gint _tmp42_ = 0;
guchar* _tmp43_ = NULL;
@@ -1018,13 +951,13 @@ void shift_colors (GdkPixbuf* pixbuf, gint red, gint green, gint blue, gint alph
_tmp41_[_tmp42_] = _tmp47_;
#line 239 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp48_ = _tmp41_[_tmp42_];
-#line 1022 "image.c"
+#line 955 "image.c"
}
#line 241 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp49_ = green;
#line 241 "/home/jens/Source/shotwell/src/util/image.vala"
if (_tmp49_ != 0) {
-#line 1028 "image.c"
+#line 961 "image.c"
guchar* _tmp50_ = NULL;
gint _tmp51_ = 0;
guchar* _tmp52_ = NULL;
@@ -1051,13 +984,13 @@ void shift_colors (GdkPixbuf* pixbuf, gint red, gint green, gint blue, gint alph
_tmp50_[_tmp51_ + 1] = _tmp56_;
#line 242 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp57_ = _tmp50_[_tmp51_ + 1];
-#line 1055 "image.c"
+#line 988 "image.c"
}
#line 244 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp58_ = blue;
#line 244 "/home/jens/Source/shotwell/src/util/image.vala"
if (_tmp58_ != 0) {
-#line 1061 "image.c"
+#line 994 "image.c"
guchar* _tmp59_ = NULL;
gint _tmp60_ = 0;
guchar* _tmp61_ = NULL;
@@ -1084,27 +1017,27 @@ void shift_colors (GdkPixbuf* pixbuf, gint red, gint green, gint blue, gint alph
_tmp59_[_tmp60_ + 2] = _tmp65_;
#line 245 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp66_ = _tmp59_[_tmp60_ + 2];
-#line 1088 "image.c"
+#line 1021 "image.c"
}
#line 247 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp68_ = alpha;
#line 247 "/home/jens/Source/shotwell/src/util/image.vala"
if (_tmp68_ != 0) {
-#line 1094 "image.c"
+#line 1027 "image.c"
gint _tmp69_ = 0;
#line 247 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp69_ = channels;
#line 247 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp67_ = _tmp69_ >= 4;
-#line 1100 "image.c"
+#line 1033 "image.c"
} else {
#line 247 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp67_ = FALSE;
-#line 1104 "image.c"
+#line 1037 "image.c"
}
#line 247 "/home/jens/Source/shotwell/src/util/image.vala"
if (_tmp67_) {
-#line 1108 "image.c"
+#line 1041 "image.c"
guchar* _tmp70_ = NULL;
gint _tmp71_ = 0;
guchar* _tmp72_ = NULL;
@@ -1131,7 +1064,7 @@ void shift_colors (GdkPixbuf* pixbuf, gint red, gint green, gint blue, gint alph
_tmp70_[_tmp71_ + 3] = _tmp76_;
#line 248 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp77_ = _tmp70_[_tmp71_ + 3];
-#line 1135 "image.c"
+#line 1068 "image.c"
}
}
}
@@ -1142,41 +1075,6 @@ void shift_colors (GdkPixbuf* pixbuf, gint red, gint green, gint blue, gint alph
}
-void dim_pixbuf (GdkPixbuf* pixbuf) {
- PixelTransformer* transformer = NULL;
- PixelTransformer* _tmp0_ = NULL;
- SaturationTransformation* sat = NULL;
- SaturationTransformation* _tmp1_ = NULL;
- GdkPixbuf* _tmp2_ = NULL;
- GdkPixbuf* _tmp3_ = NULL;
-#line 253 "/home/jens/Source/shotwell/src/util/image.vala"
- g_return_if_fail (GDK_IS_PIXBUF (pixbuf));
-#line 254 "/home/jens/Source/shotwell/src/util/image.vala"
- _tmp0_ = pixel_transformer_new ();
-#line 254 "/home/jens/Source/shotwell/src/util/image.vala"
- transformer = _tmp0_;
-#line 255 "/home/jens/Source/shotwell/src/util/image.vala"
- _tmp1_ = saturation_transformation_new (SATURATION_TRANSFORMATION_MIN_PARAMETER);
-#line 255 "/home/jens/Source/shotwell/src/util/image.vala"
- sat = _tmp1_;
-#line 256 "/home/jens/Source/shotwell/src/util/image.vala"
- pixel_transformer_attach_transformation (transformer, G_TYPE_CHECK_INSTANCE_CAST (sat, TYPE_PIXEL_TRANSFORMATION, PixelTransformation));
-#line 257 "/home/jens/Source/shotwell/src/util/image.vala"
- _tmp2_ = pixbuf;
-#line 257 "/home/jens/Source/shotwell/src/util/image.vala"
- pixel_transformer_transform_pixbuf (transformer, _tmp2_, NULL);
-#line 258 "/home/jens/Source/shotwell/src/util/image.vala"
- _tmp3_ = pixbuf;
-#line 258 "/home/jens/Source/shotwell/src/util/image.vala"
- shift_colors (_tmp3_, 0, 0, 0, -100);
-#line 253 "/home/jens/Source/shotwell/src/util/image.vala"
- _pixel_transformation_unref0 (sat);
-#line 253 "/home/jens/Source/shotwell/src/util/image.vala"
- _pixel_transformer_unref0 (transformer);
-#line 1177 "image.c"
-}
-
-
gboolean coord_in_rectangle (gint x, gint y, GdkRectangle* rect) {
gboolean result = FALSE;
gboolean _tmp0_ = FALSE;
@@ -1185,91 +1083,91 @@ gboolean coord_in_rectangle (gint x, gint y, GdkRectangle* rect) {
gint _tmp3_ = 0;
GdkRectangle _tmp4_ = {0};
gint _tmp5_ = 0;
-#line 261 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 253 "/home/jens/Source/shotwell/src/util/image.vala"
g_return_val_if_fail (rect != NULL, FALSE);
-#line 262 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 254 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp3_ = x;
-#line 262 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 254 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp4_ = *rect;
-#line 262 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 254 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp5_ = _tmp4_.x;
-#line 262 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 254 "/home/jens/Source/shotwell/src/util/image.vala"
if (_tmp3_ >= _tmp5_) {
-#line 1199 "image.c"
+#line 1097 "image.c"
gint _tmp6_ = 0;
GdkRectangle _tmp7_ = {0};
gint _tmp8_ = 0;
GdkRectangle _tmp9_ = {0};
gint _tmp10_ = 0;
-#line 262 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 254 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp6_ = x;
-#line 262 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 254 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp7_ = *rect;
-#line 262 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 254 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp8_ = _tmp7_.x;
-#line 262 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 254 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp9_ = *rect;
-#line 262 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 254 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp10_ = _tmp9_.width;
-#line 262 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 254 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp2_ = _tmp6_ < (_tmp8_ + _tmp10_);
-#line 1217 "image.c"
+#line 1115 "image.c"
} else {
-#line 262 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 254 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp2_ = FALSE;
-#line 1221 "image.c"
+#line 1119 "image.c"
}
-#line 262 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 254 "/home/jens/Source/shotwell/src/util/image.vala"
if (_tmp2_) {
-#line 1225 "image.c"
+#line 1123 "image.c"
gint _tmp11_ = 0;
GdkRectangle _tmp12_ = {0};
gint _tmp13_ = 0;
-#line 262 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 254 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp11_ = y;
-#line 262 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 254 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp12_ = *rect;
-#line 262 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 254 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp13_ = _tmp12_.y;
-#line 262 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 254 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp1_ = _tmp11_ >= _tmp13_;
-#line 1237 "image.c"
+#line 1135 "image.c"
} else {
-#line 262 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 254 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp1_ = FALSE;
-#line 1241 "image.c"
+#line 1139 "image.c"
}
-#line 262 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 254 "/home/jens/Source/shotwell/src/util/image.vala"
if (_tmp1_) {
-#line 1245 "image.c"
+#line 1143 "image.c"
gint _tmp14_ = 0;
GdkRectangle _tmp15_ = {0};
gint _tmp16_ = 0;
GdkRectangle _tmp17_ = {0};
gint _tmp18_ = 0;
-#line 262 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 254 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp14_ = y;
-#line 262 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 254 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp15_ = *rect;
-#line 262 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 254 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp16_ = _tmp15_.y;
-#line 262 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 254 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp17_ = *rect;
-#line 262 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 254 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp18_ = _tmp17_.height;
-#line 262 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 254 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp0_ = _tmp14_ <= (_tmp16_ + _tmp18_);
-#line 1263 "image.c"
+#line 1161 "image.c"
} else {
-#line 262 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 254 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp0_ = FALSE;
-#line 1267 "image.c"
+#line 1165 "image.c"
}
-#line 262 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 254 "/home/jens/Source/shotwell/src/util/image.vala"
result = _tmp0_;
-#line 262 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 254 "/home/jens/Source/shotwell/src/util/image.vala"
return result;
-#line 1273 "image.c"
+#line 1171 "image.c"
}
@@ -1282,92 +1180,92 @@ gboolean rectangles_equal (GdkRectangle* a, GdkRectangle* b) {
gint _tmp4_ = 0;
GdkRectangle _tmp5_ = {0};
gint _tmp6_ = 0;
-#line 265 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 257 "/home/jens/Source/shotwell/src/util/image.vala"
g_return_val_if_fail (a != NULL, FALSE);
-#line 265 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 257 "/home/jens/Source/shotwell/src/util/image.vala"
g_return_val_if_fail (b != NULL, FALSE);
-#line 266 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 258 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp3_ = *a;
-#line 266 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 258 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp4_ = _tmp3_.x;
-#line 266 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 258 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp5_ = *b;
-#line 266 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 258 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp6_ = _tmp5_.x;
-#line 266 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 258 "/home/jens/Source/shotwell/src/util/image.vala"
if (_tmp4_ == _tmp6_) {
-#line 1300 "image.c"
+#line 1198 "image.c"
GdkRectangle _tmp7_ = {0};
gint _tmp8_ = 0;
GdkRectangle _tmp9_ = {0};
gint _tmp10_ = 0;
-#line 266 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 258 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp7_ = *a;
-#line 266 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 258 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp8_ = _tmp7_.y;
-#line 266 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 258 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp9_ = *b;
-#line 266 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 258 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp10_ = _tmp9_.y;
-#line 266 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 258 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp2_ = _tmp8_ == _tmp10_;
-#line 1315 "image.c"
+#line 1213 "image.c"
} else {
-#line 266 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 258 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp2_ = FALSE;
-#line 1319 "image.c"
+#line 1217 "image.c"
}
-#line 266 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 258 "/home/jens/Source/shotwell/src/util/image.vala"
if (_tmp2_) {
-#line 1323 "image.c"
+#line 1221 "image.c"
GdkRectangle _tmp11_ = {0};
gint _tmp12_ = 0;
GdkRectangle _tmp13_ = {0};
gint _tmp14_ = 0;
-#line 266 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 258 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp11_ = *a;
-#line 266 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 258 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp12_ = _tmp11_.width;
-#line 266 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 258 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp13_ = *b;
-#line 266 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 258 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp14_ = _tmp13_.width;
-#line 266 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 258 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp1_ = _tmp12_ == _tmp14_;
-#line 1338 "image.c"
+#line 1236 "image.c"
} else {
-#line 266 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 258 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp1_ = FALSE;
-#line 1342 "image.c"
+#line 1240 "image.c"
}
-#line 266 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 258 "/home/jens/Source/shotwell/src/util/image.vala"
if (_tmp1_) {
-#line 1346 "image.c"
+#line 1244 "image.c"
GdkRectangle _tmp15_ = {0};
gint _tmp16_ = 0;
GdkRectangle _tmp17_ = {0};
gint _tmp18_ = 0;
-#line 266 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 258 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp15_ = *a;
-#line 266 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 258 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp16_ = _tmp15_.height;
-#line 266 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 258 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp17_ = *b;
-#line 266 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 258 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp18_ = _tmp17_.height;
-#line 266 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 258 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp0_ = _tmp16_ == _tmp18_;
-#line 1361 "image.c"
+#line 1259 "image.c"
} else {
-#line 266 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 258 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp0_ = FALSE;
-#line 1365 "image.c"
+#line 1263 "image.c"
}
-#line 266 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 258 "/home/jens/Source/shotwell/src/util/image.vala"
result = _tmp0_;
-#line 266 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 258 "/home/jens/Source/shotwell/src/util/image.vala"
return result;
-#line 1371 "image.c"
+#line 1269 "image.c"
}
@@ -1382,31 +1280,31 @@ gchar* rectangle_to_string (GdkRectangle* rect) {
GdkRectangle _tmp6_ = {0};
gint _tmp7_ = 0;
gchar* _tmp8_ = NULL;
-#line 269 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 261 "/home/jens/Source/shotwell/src/util/image.vala"
g_return_val_if_fail (rect != NULL, NULL);
-#line 270 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 262 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp0_ = *rect;
-#line 270 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 262 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp1_ = _tmp0_.x;
-#line 270 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 262 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp2_ = *rect;
-#line 270 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 262 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp3_ = _tmp2_.y;
-#line 270 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 262 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp4_ = *rect;
-#line 270 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 262 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp5_ = _tmp4_.width;
-#line 270 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 262 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp6_ = *rect;
-#line 270 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 262 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp7_ = _tmp6_.height;
-#line 270 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 262 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp8_ = g_strdup_printf ("%d,%d %dx%d", _tmp1_, _tmp3_, _tmp5_, _tmp7_);
-#line 270 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 262 "/home/jens/Source/shotwell/src/util/image.vala"
result = _tmp8_;
-#line 270 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 262 "/home/jens/Source/shotwell/src/util/image.vala"
return result;
-#line 1410 "image.c"
+#line 1308 "image.c"
}
@@ -1432,65 +1330,65 @@ void clamp_rectangle (GdkRectangle* original, Dimensions* max, GdkRectangle* res
Dimensions _tmp17_ = {0};
gint _tmp18_ = 0;
gint _tmp19_ = 0;
-#line 273 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 265 "/home/jens/Source/shotwell/src/util/image.vala"
g_return_if_fail (original != NULL);
-#line 273 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 265 "/home/jens/Source/shotwell/src/util/image.vala"
g_return_if_fail (max != NULL);
-#line 274 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 266 "/home/jens/Source/shotwell/src/util/image.vala"
memset (&rect, 0, sizeof (GdkRectangle));
-#line 275 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 267 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp0_ = *original;
-#line 275 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 267 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp1_ = _tmp0_.x;
-#line 275 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 267 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp2_ = *max;
-#line 275 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 267 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp3_ = _tmp2_.width;
-#line 275 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 267 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp4_ = CLAMP (_tmp1_, 0, _tmp3_);
-#line 275 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 267 "/home/jens/Source/shotwell/src/util/image.vala"
rect.x = _tmp4_;
-#line 276 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 268 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp5_ = *original;
-#line 276 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 268 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp6_ = _tmp5_.y;
-#line 276 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 268 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp7_ = *max;
-#line 276 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 268 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp8_ = _tmp7_.height;
-#line 276 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 268 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp9_ = CLAMP (_tmp6_, 0, _tmp8_);
-#line 276 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 268 "/home/jens/Source/shotwell/src/util/image.vala"
rect.y = _tmp9_;
-#line 277 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 269 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp10_ = *original;
-#line 277 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 269 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp11_ = _tmp10_.width;
-#line 277 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 269 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp12_ = *max;
-#line 277 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 269 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp13_ = _tmp12_.width;
-#line 277 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 269 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp14_ = CLAMP (_tmp11_, 0, _tmp13_);
-#line 277 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 269 "/home/jens/Source/shotwell/src/util/image.vala"
rect.width = _tmp14_;
-#line 278 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 270 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp15_ = *original;
-#line 278 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 270 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp16_ = _tmp15_.height;
-#line 278 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 270 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp17_ = *max;
-#line 278 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 270 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp18_ = _tmp17_.height;
-#line 278 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 270 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp19_ = CLAMP (_tmp16_, 0, _tmp18_);
-#line 278 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 270 "/home/jens/Source/shotwell/src/util/image.vala"
rect.height = _tmp19_;
-#line 280 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 272 "/home/jens/Source/shotwell/src/util/image.vala"
*result = rect;
-#line 280 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 272 "/home/jens/Source/shotwell/src/util/image.vala"
return;
-#line 1494 "image.c"
+#line 1392 "image.c"
}
@@ -1503,33 +1401,33 @@ void scale_point (GdkPoint* p, gdouble factor, GdkPoint* result) {
gdouble _tmp4_ = 0.0;
GdkPoint _tmp5_ = {0};
gint _tmp6_ = 0;
-#line 283 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 275 "/home/jens/Source/shotwell/src/util/image.vala"
g_return_if_fail (p != NULL);
-#line 284 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 276 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp0_.x = 0;
-#line 284 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 276 "/home/jens/Source/shotwell/src/util/image.vala"
_result_ = _tmp0_;
-#line 285 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 277 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp1_ = factor;
-#line 285 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 277 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp2_ = *p;
-#line 285 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 277 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp3_ = _tmp2_.x;
-#line 285 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 277 "/home/jens/Source/shotwell/src/util/image.vala"
_result_.x = (gint) ((_tmp1_ * _tmp3_) + 0.5);
-#line 286 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 278 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp4_ = factor;
-#line 286 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 278 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp5_ = *p;
-#line 286 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 278 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp6_ = _tmp5_.y;
-#line 286 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 278 "/home/jens/Source/shotwell/src/util/image.vala"
_result_.y = (gint) ((_tmp4_ * _tmp6_) + 0.5);
-#line 288 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 280 "/home/jens/Source/shotwell/src/util/image.vala"
*result = _result_;
-#line 288 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 280 "/home/jens/Source/shotwell/src/util/image.vala"
return;
-#line 1533 "image.c"
+#line 1431 "image.c"
}
@@ -1544,39 +1442,39 @@ void add_points (GdkPoint* p1, GdkPoint* p2, GdkPoint* result) {
gint _tmp6_ = 0;
GdkPoint _tmp7_ = {0};
gint _tmp8_ = 0;
-#line 291 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 283 "/home/jens/Source/shotwell/src/util/image.vala"
g_return_if_fail (p1 != NULL);
-#line 291 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 283 "/home/jens/Source/shotwell/src/util/image.vala"
g_return_if_fail (p2 != NULL);
-#line 292 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 284 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp0_.x = 0;
-#line 292 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 284 "/home/jens/Source/shotwell/src/util/image.vala"
_result_ = _tmp0_;
-#line 293 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 285 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp1_ = *p1;
-#line 293 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 285 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp2_ = _tmp1_.x;
-#line 293 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 285 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp3_ = *p2;
-#line 293 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 285 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp4_ = _tmp3_.x;
-#line 293 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 285 "/home/jens/Source/shotwell/src/util/image.vala"
_result_.x = _tmp2_ + _tmp4_;
-#line 294 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 286 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp5_ = *p1;
-#line 294 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 286 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp6_ = _tmp5_.y;
-#line 294 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 286 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp7_ = *p2;
-#line 294 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 286 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp8_ = _tmp7_.y;
-#line 294 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 286 "/home/jens/Source/shotwell/src/util/image.vala"
_result_.y = _tmp6_ + _tmp8_;
-#line 296 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 288 "/home/jens/Source/shotwell/src/util/image.vala"
*result = _result_;
-#line 296 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 288 "/home/jens/Source/shotwell/src/util/image.vala"
return;
-#line 1580 "image.c"
+#line 1478 "image.c"
}
@@ -1591,39 +1489,39 @@ void subtract_points (GdkPoint* p1, GdkPoint* p2, GdkPoint* result) {
gint _tmp6_ = 0;
GdkPoint _tmp7_ = {0};
gint _tmp8_ = 0;
-#line 299 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 291 "/home/jens/Source/shotwell/src/util/image.vala"
g_return_if_fail (p1 != NULL);
-#line 299 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 291 "/home/jens/Source/shotwell/src/util/image.vala"
g_return_if_fail (p2 != NULL);
-#line 300 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 292 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp0_.x = 0;
-#line 300 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 292 "/home/jens/Source/shotwell/src/util/image.vala"
_result_ = _tmp0_;
-#line 301 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 293 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp1_ = *p1;
-#line 301 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 293 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp2_ = _tmp1_.x;
-#line 301 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 293 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp3_ = *p2;
-#line 301 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 293 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp4_ = _tmp3_.x;
-#line 301 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 293 "/home/jens/Source/shotwell/src/util/image.vala"
_result_.x = _tmp2_ - _tmp4_;
-#line 302 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 294 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp5_ = *p1;
-#line 302 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 294 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp6_ = _tmp5_.y;
-#line 302 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 294 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp7_ = *p2;
-#line 302 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 294 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp8_ = _tmp7_.y;
-#line 302 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 294 "/home/jens/Source/shotwell/src/util/image.vala"
_result_.y = _tmp6_ - _tmp8_;
-#line 304 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 296 "/home/jens/Source/shotwell/src/util/image.vala"
*result = _result_;
-#line 304 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 296 "/home/jens/Source/shotwell/src/util/image.vala"
return;
-#line 1627 "image.c"
+#line 1525 "image.c"
}
@@ -1632,29 +1530,29 @@ void fix_cairo_pixbuf (GdkPixbuf* pixbuf) {
GdkPixbuf* _tmp0_ = NULL;
void* _tmp1_ = NULL;
void* _tmp2_ = NULL;
-#line 308 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 300 "/home/jens/Source/shotwell/src/util/image.vala"
g_return_if_fail (GDK_IS_PIXBUF (pixbuf));
-#line 309 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 301 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp0_ = pixbuf;
-#line 309 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 301 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp1_ = gdk_pixbuf_get_pixels (_tmp0_);
-#line 309 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 301 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp2_ = _tmp1_;
-#line 309 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 301 "/home/jens/Source/shotwell/src/util/image.vala"
gdk_pixels = _tmp2_;
-#line 1646 "image.c"
+#line 1544 "image.c"
{
gint j = 0;
-#line 310 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 302 "/home/jens/Source/shotwell/src/util/image.vala"
j = 0;
-#line 1651 "image.c"
+#line 1549 "image.c"
{
gboolean _tmp3_ = FALSE;
-#line 310 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 302 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp3_ = TRUE;
-#line 310 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 302 "/home/jens/Source/shotwell/src/util/image.vala"
while (TRUE) {
-#line 1658 "image.c"
+#line 1556 "image.c"
gint _tmp5_ = 0;
GdkPixbuf* _tmp6_ = NULL;
gint _tmp7_ = 0;
@@ -1670,49 +1568,49 @@ void fix_cairo_pixbuf (GdkPixbuf* pixbuf) {
GdkPixbuf* _tmp27_ = NULL;
gint _tmp28_ = 0;
gint _tmp29_ = 0;
-#line 310 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 302 "/home/jens/Source/shotwell/src/util/image.vala"
if (!_tmp3_) {
-#line 1676 "image.c"
+#line 1574 "image.c"
gint _tmp4_ = 0;
-#line 310 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 302 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp4_ = j;
-#line 310 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 302 "/home/jens/Source/shotwell/src/util/image.vala"
j = _tmp4_ + 1;
-#line 1682 "image.c"
+#line 1580 "image.c"
}
-#line 310 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 302 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp3_ = FALSE;
-#line 310 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 302 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp5_ = j;
-#line 310 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 302 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp6_ = pixbuf;
-#line 310 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 302 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp7_ = gdk_pixbuf_get_height (_tmp6_);
-#line 310 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 302 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp8_ = _tmp7_;
-#line 310 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 302 "/home/jens/Source/shotwell/src/util/image.vala"
if (!(_tmp5_ < _tmp8_)) {
-#line 310 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 302 "/home/jens/Source/shotwell/src/util/image.vala"
break;
-#line 1698 "image.c"
+#line 1596 "image.c"
}
-#line 311 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 303 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp9_ = gdk_pixels;
-#line 311 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 303 "/home/jens/Source/shotwell/src/util/image.vala"
p = _tmp9_;
-#line 312 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 304 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp10_ = p;
-#line 312 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 304 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp11_ = pixbuf;
-#line 312 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 304 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp12_ = gdk_pixbuf_get_width (_tmp11_);
-#line 312 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 304 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp13_ = _tmp12_;
-#line 312 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 304 "/home/jens/Source/shotwell/src/util/image.vala"
end = _tmp10_ + (4 * _tmp13_);
-#line 314 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 306 "/home/jens/Source/shotwell/src/util/image.vala"
while (TRUE) {
-#line 1716 "image.c"
+#line 1614 "image.c"
guchar* _tmp14_ = NULL;
guchar* _tmp15_ = NULL;
guchar tmp = '\0';
@@ -1726,57 +1624,57 @@ void fix_cairo_pixbuf (GdkPixbuf* pixbuf) {
guchar _tmp23_ = '\0';
guchar _tmp24_ = '\0';
guchar* _tmp25_ = NULL;
-#line 314 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 306 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp14_ = p;
-#line 314 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 306 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp15_ = end;
-#line 314 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 306 "/home/jens/Source/shotwell/src/util/image.vala"
if (!(_tmp14_ < _tmp15_)) {
-#line 314 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 306 "/home/jens/Source/shotwell/src/util/image.vala"
break;
-#line 1738 "image.c"
+#line 1636 "image.c"
}
-#line 315 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 307 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp16_ = p;
-#line 315 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 307 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp17_ = _tmp16_[0];
-#line 315 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 307 "/home/jens/Source/shotwell/src/util/image.vala"
tmp = _tmp17_;
-#line 317 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 309 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp18_ = p;
-#line 317 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 309 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp19_ = p;
-#line 317 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 309 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp20_ = _tmp19_[2];
-#line 317 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 309 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp18_[0] = _tmp20_;
-#line 317 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 309 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp21_ = _tmp18_[0];
-#line 318 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 310 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp22_ = p;
-#line 318 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 310 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp23_ = tmp;
-#line 318 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 310 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp22_[2] = _tmp23_;
-#line 318 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 310 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp24_ = _tmp22_[2];
-#line 325 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 317 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp25_ = p;
-#line 325 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 317 "/home/jens/Source/shotwell/src/util/image.vala"
p = _tmp25_ + 4;
-#line 1768 "image.c"
+#line 1666 "image.c"
}
-#line 328 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 320 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp26_ = gdk_pixels;
-#line 328 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 320 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp27_ = pixbuf;
-#line 328 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 320 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp28_ = gdk_pixbuf_get_rowstride (_tmp27_);
-#line 328 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 320 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp29_ = _tmp28_;
-#line 328 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 320 "/home/jens/Source/shotwell/src/util/image.vala"
gdk_pixels = _tmp26_ + _tmp29_;
-#line 1780 "image.c"
+#line 1678 "image.c"
}
}
}
@@ -1812,57 +1710,57 @@ void compute_arb_rotated_size (gdouble src_width, gdouble src_height, gdouble an
gdouble _tmp13_ = 0.0;
gdouble _tmp14_ = 0.0;
gdouble _tmp15_ = 0.0;
-#line 345 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 337 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp0_ = angle;
-#line 345 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 337 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp1_ = degrees_to_radians (_tmp0_);
-#line 345 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 337 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp2_ = fabs (_tmp1_);
-#line 345 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 337 "/home/jens/Source/shotwell/src/util/image.vala"
angle = _tmp2_;
-#line 346 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 338 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp3_ = angle;
-#line 346 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 338 "/home/jens/Source/shotwell/src/util/image.vala"
_vala_assert (_tmp3_ <= G_PI_2, "angle <= Math.PI_2");
-#line 347 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 339 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp4_ = src_width;
-#line 347 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 339 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp5_ = angle;
-#line 347 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 339 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp6_ = cos (_tmp5_);
-#line 347 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 339 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp7_ = src_height;
-#line 347 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 339 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp8_ = angle;
-#line 347 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 339 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp9_ = sin (_tmp8_);
-#line 347 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 339 "/home/jens/Source/shotwell/src/util/image.vala"
_vala_dest_width = (_tmp4_ * _tmp6_) + (_tmp7_ * _tmp9_);
-#line 348 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 340 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp10_ = src_height;
-#line 348 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 340 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp11_ = angle;
-#line 348 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 340 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp12_ = cos (_tmp11_);
-#line 348 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 340 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp13_ = src_width;
-#line 348 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 340 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp14_ = angle;
-#line 348 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 340 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp15_ = sin (_tmp14_);
-#line 348 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 340 "/home/jens/Source/shotwell/src/util/image.vala"
_vala_dest_height = (_tmp10_ * _tmp12_) + (_tmp13_ * _tmp15_);
-#line 342 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 334 "/home/jens/Source/shotwell/src/util/image.vala"
if (dest_width) {
-#line 342 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 334 "/home/jens/Source/shotwell/src/util/image.vala"
*dest_width = _vala_dest_width;
-#line 1860 "image.c"
+#line 1758 "image.c"
}
-#line 342 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 334 "/home/jens/Source/shotwell/src/util/image.vala"
if (dest_height) {
-#line 342 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 334 "/home/jens/Source/shotwell/src/util/image.vala"
*dest_height = _vala_dest_height;
-#line 1866 "image.c"
+#line 1764 "image.c"
}
}
@@ -1946,200 +1844,200 @@ GdkPixbuf* rotate_arb (GdkPixbuf* source_pixbuf, gdouble angle) {
cairo_pattern_t* _tmp65_ = NULL;
cairo_t* _tmp66_ = NULL;
GdkPixbuf* _tmp67_ = NULL;
-#line 357 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 349 "/home/jens/Source/shotwell/src/util/image.vala"
g_return_val_if_fail (GDK_IS_PIXBUF (source_pixbuf), NULL);
-#line 361 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 353 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp0_ = angle;
-#line 361 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 353 "/home/jens/Source/shotwell/src/util/image.vala"
if (_tmp0_ == 0.0) {
-#line 1956 "image.c"
+#line 1854 "image.c"
GdkPixbuf* _tmp1_ = NULL;
GdkPixbuf* _tmp2_ = NULL;
-#line 362 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 354 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp1_ = source_pixbuf;
-#line 362 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 354 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp2_ = _g_object_ref0 (_tmp1_);
-#line 362 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 354 "/home/jens/Source/shotwell/src/util/image.vala"
result = _tmp2_;
-#line 362 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 354 "/home/jens/Source/shotwell/src/util/image.vala"
return result;
-#line 1967 "image.c"
+#line 1865 "image.c"
}
-#line 369 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 361 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp3_ = source_pixbuf;
-#line 369 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 361 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp4_ = gdk_pixbuf_get_width (_tmp3_);
-#line 369 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 361 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp5_ = _tmp4_;
-#line 369 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 361 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp6_ = source_pixbuf;
-#line 369 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 361 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp7_ = gdk_pixbuf_get_height (_tmp6_);
-#line 369 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 361 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp8_ = _tmp7_;
-#line 369 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 361 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp9_ = angle;
-#line 369 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 361 "/home/jens/Source/shotwell/src/util/image.vala"
compute_arb_rotated_size ((gdouble) _tmp5_, (gdouble) _tmp8_, _tmp9_, &_tmp10_, &_tmp11_);
-#line 369 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 361 "/home/jens/Source/shotwell/src/util/image.vala"
x_tmp = _tmp10_;
-#line 369 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 361 "/home/jens/Source/shotwell/src/util/image.vala"
y_tmp = _tmp11_;
-#line 372 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 364 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp12_ = x_tmp;
-#line 372 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 364 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp13_ = round (_tmp12_);
-#line 372 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 364 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp14_ = y_tmp;
-#line 372 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 364 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp15_ = round (_tmp14_);
-#line 372 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 364 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp16_ = gdk_pixbuf_new (GDK_COLORSPACE_RGB, TRUE, 8, (gint) _tmp13_, (gint) _tmp15_);
-#line 372 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 364 "/home/jens/Source/shotwell/src/util/image.vala"
dest_pixbuf = _tmp16_;
-#line 377 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 369 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp18_ = source_pixbuf;
-#line 377 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 369 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp19_ = gdk_pixbuf_get_has_alpha (_tmp18_);
-#line 377 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 369 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp20_ = _tmp19_;
-#line 377 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 369 "/home/jens/Source/shotwell/src/util/image.vala"
if (_tmp20_) {
-#line 377 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 369 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp17_ = CAIRO_FORMAT_ARGB32;
-#line 2011 "image.c"
+#line 1909 "image.c"
} else {
-#line 377 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 369 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp17_ = CAIRO_FORMAT_RGB24;
-#line 2015 "image.c"
+#line 1913 "image.c"
}
-#line 375 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 367 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp21_ = dest_pixbuf;
-#line 375 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 367 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp22_ = gdk_pixbuf_get_pixels (_tmp21_);
-#line 375 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 367 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp23_ = _tmp22_;
-#line 375 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 367 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp24_ = dest_pixbuf;
-#line 375 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 367 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp25_ = gdk_pixbuf_get_width (_tmp24_);
-#line 375 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 367 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp26_ = _tmp25_;
-#line 375 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 367 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp27_ = dest_pixbuf;
-#line 375 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 367 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp28_ = gdk_pixbuf_get_height (_tmp27_);
-#line 375 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 367 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp29_ = _tmp28_;
-#line 375 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 367 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp30_ = dest_pixbuf;
-#line 375 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 367 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp31_ = gdk_pixbuf_get_rowstride (_tmp30_);
-#line 375 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 367 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp32_ = _tmp31_;
-#line 375 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 367 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp33_ = cairo_image_surface_create_for_data ((guchar*) _tmp23_, _tmp17_, _tmp26_, _tmp29_, _tmp32_);
-#line 375 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 367 "/home/jens/Source/shotwell/src/util/image.vala"
surface = _tmp33_;
-#line 380 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 372 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp34_ = surface;
-#line 380 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 372 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp35_ = cairo_create (_tmp34_);
-#line 380 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 372 "/home/jens/Source/shotwell/src/util/image.vala"
context = _tmp35_;
-#line 382 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 374 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp36_ = context;
-#line 382 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 374 "/home/jens/Source/shotwell/src/util/image.vala"
cairo_set_source_rgb (_tmp36_, (gdouble) 0, (gdouble) 0, (gdouble) 0);
-#line 383 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 375 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp37_ = context;
-#line 383 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 375 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp38_ = dest_pixbuf;
-#line 383 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 375 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp39_ = gdk_pixbuf_get_width (_tmp38_);
-#line 383 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 375 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp40_ = _tmp39_;
-#line 383 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 375 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp41_ = dest_pixbuf;
-#line 383 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 375 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp42_ = gdk_pixbuf_get_height (_tmp41_);
-#line 383 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 375 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp43_ = _tmp42_;
-#line 383 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 375 "/home/jens/Source/shotwell/src/util/image.vala"
cairo_rectangle (_tmp37_, (gdouble) 0, (gdouble) 0, (gdouble) _tmp40_, (gdouble) _tmp43_);
-#line 384 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 376 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp44_ = context;
-#line 384 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 376 "/home/jens/Source/shotwell/src/util/image.vala"
cairo_fill (_tmp44_);
-#line 386 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 378 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp45_ = context;
-#line 386 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 378 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp46_ = dest_pixbuf;
-#line 386 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 378 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp47_ = gdk_pixbuf_get_width (_tmp46_);
-#line 386 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 378 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp48_ = _tmp47_;
-#line 386 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 378 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp49_ = dest_pixbuf;
-#line 386 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 378 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp50_ = gdk_pixbuf_get_height (_tmp49_);
-#line 386 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 378 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp51_ = _tmp50_;
-#line 386 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 378 "/home/jens/Source/shotwell/src/util/image.vala"
cairo_translate (_tmp45_, (gdouble) (_tmp48_ / 2), (gdouble) (_tmp51_ / 2));
-#line 387 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 379 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp52_ = context;
-#line 387 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 379 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp53_ = angle;
-#line 387 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 379 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp54_ = degrees_to_radians (_tmp53_);
-#line 387 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 379 "/home/jens/Source/shotwell/src/util/image.vala"
cairo_rotate (_tmp52_, _tmp54_);
-#line 388 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 380 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp55_ = context;
-#line 388 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 380 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp56_ = source_pixbuf;
-#line 388 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 380 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp57_ = gdk_pixbuf_get_width (_tmp56_);
-#line 388 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 380 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp58_ = _tmp57_;
-#line 388 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 380 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp59_ = source_pixbuf;
-#line 388 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 380 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp60_ = gdk_pixbuf_get_height (_tmp59_);
-#line 388 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 380 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp61_ = _tmp60_;
-#line 388 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 380 "/home/jens/Source/shotwell/src/util/image.vala"
cairo_translate (_tmp55_, (gdouble) ((-_tmp58_) / 2), (gdouble) ((-_tmp61_) / 2));
-#line 390 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 382 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp62_ = context;
-#line 390 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 382 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp63_ = source_pixbuf;
-#line 390 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 382 "/home/jens/Source/shotwell/src/util/image.vala"
gdk_cairo_set_source_pixbuf (_tmp62_, _tmp63_, (gdouble) 0, (gdouble) 0);
-#line 391 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 383 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp64_ = context;
-#line 391 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 383 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp65_ = cairo_get_source (_tmp64_);
-#line 391 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 383 "/home/jens/Source/shotwell/src/util/image.vala"
cairo_pattern_set_filter (_tmp65_, CAIRO_FILTER_BEST);
-#line 392 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 384 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp66_ = context;
-#line 392 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 384 "/home/jens/Source/shotwell/src/util/image.vala"
cairo_paint (_tmp66_);
-#line 396 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 388 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp67_ = dest_pixbuf;
-#line 396 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 388 "/home/jens/Source/shotwell/src/util/image.vala"
fix_cairo_pixbuf (_tmp67_);
-#line 398 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 390 "/home/jens/Source/shotwell/src/util/image.vala"
result = dest_pixbuf;
-#line 398 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 390 "/home/jens/Source/shotwell/src/util/image.vala"
_cairo_destroy0 (context);
-#line 398 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 390 "/home/jens/Source/shotwell/src/util/image.vala"
_cairo_surface_destroy0 (surface);
-#line 398 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 390 "/home/jens/Source/shotwell/src/util/image.vala"
return result;
-#line 2143 "image.c"
+#line 2041 "image.c"
}
@@ -2182,93 +2080,93 @@ void rotate_point_arb (GdkPoint* source_point, gint img_w, gint img_h, gdouble a
gdouble _tmp19_ = 0.0;
gdouble _tmp20_ = 0.0;
GdkPoint _tmp21_ = {0};
-#line 414 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 406 "/home/jens/Source/shotwell/src/util/image.vala"
g_return_if_fail (source_point != NULL);
-#line 417 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 409 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp0_ = angle;
-#line 417 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 409 "/home/jens/Source/shotwell/src/util/image.vala"
if (_tmp0_ == 0.0) {
-#line 2192 "image.c"
+#line 2090 "image.c"
GdkPoint _tmp1_ = {0};
-#line 419 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 411 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp1_ = *source_point;
-#line 419 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 411 "/home/jens/Source/shotwell/src/util/image.vala"
*result = _tmp1_;
-#line 419 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 411 "/home/jens/Source/shotwell/src/util/image.vala"
return;
-#line 2200 "image.c"
+#line 2098 "image.c"
}
-#line 424 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 416 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp2_ = img_w;
-#line 424 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 416 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp3_ = img_h;
-#line 424 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 416 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp4_ = angle;
-#line 424 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 416 "/home/jens/Source/shotwell/src/util/image.vala"
compute_arb_rotated_size ((gdouble) _tmp2_, (gdouble) _tmp3_, _tmp4_, &_tmp5_, &_tmp6_);
-#line 424 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 416 "/home/jens/Source/shotwell/src/util/image.vala"
dest_width = _tmp5_;
-#line 424 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 416 "/home/jens/Source/shotwell/src/util/image.vala"
dest_height = _tmp6_;
-#line 426 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 418 "/home/jens/Source/shotwell/src/util/image.vala"
cairo_matrix_init_identity (&matrix);
-#line 427 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 419 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp7_ = dest_width;
-#line 427 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 419 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp8_ = dest_height;
-#line 427 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 419 "/home/jens/Source/shotwell/src/util/image.vala"
cairo_matrix_translate (&matrix, _tmp7_ / 2, _tmp8_ / 2);
-#line 428 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 420 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp9_ = angle;
-#line 428 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 420 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp10_ = degrees_to_radians (_tmp9_);
-#line 428 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 420 "/home/jens/Source/shotwell/src/util/image.vala"
cairo_matrix_rotate (&matrix, _tmp10_);
-#line 429 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 421 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp11_ = img_w;
-#line 429 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 421 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp12_ = img_h;
-#line 429 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 421 "/home/jens/Source/shotwell/src/util/image.vala"
cairo_matrix_translate (&matrix, (gdouble) ((-_tmp11_) / 2), (gdouble) ((-_tmp12_) / 2));
-#line 430 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 422 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp13_ = invert;
-#line 430 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 422 "/home/jens/Source/shotwell/src/util/image.vala"
if (_tmp13_) {
-#line 2238 "image.c"
+#line 2136 "image.c"
cairo_status_t _tmp14_ = 0;
-#line 431 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 423 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp14_ = cairo_matrix_invert (&matrix);
-#line 431 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 423 "/home/jens/Source/shotwell/src/util/image.vala"
_vala_assert (_tmp14_ == CAIRO_STATUS_SUCCESS, "matrix.invert() == Cairo.Status.SUCCESS");
-#line 2244 "image.c"
+#line 2142 "image.c"
}
-#line 433 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 425 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp15_ = *source_point;
-#line 433 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 425 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp16_ = _tmp15_.x;
-#line 433 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 425 "/home/jens/Source/shotwell/src/util/image.vala"
dest_x = (gdouble) _tmp16_;
-#line 434 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 426 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp17_ = *source_point;
-#line 434 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 426 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp18_ = _tmp17_.y;
-#line 434 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 426 "/home/jens/Source/shotwell/src/util/image.vala"
dest_y = (gdouble) _tmp18_;
-#line 435 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 427 "/home/jens/Source/shotwell/src/util/image.vala"
cairo_matrix_transform_point (&matrix, &dest_x, &dest_y);
-#line 437 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 429 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp19_ = dest_x;
-#line 437 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 429 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp20_ = dest_y;
-#line 437 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 429 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp21_.x = (gint) _tmp19_;
-#line 437 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 429 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp21_.y = (gint) _tmp20_;
-#line 437 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 429 "/home/jens/Source/shotwell/src/util/image.vala"
*result = _tmp21_;
-#line 437 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 429 "/home/jens/Source/shotwell/src/util/image.vala"
return;
-#line 2272 "image.c"
+#line 2170 "image.c"
}
@@ -2291,23 +2189,23 @@ void derotate_point_arb (GdkPoint* source_point, gint img_w, gint img_h, gdouble
gint _tmp2_ = 0;
gdouble _tmp3_ = 0.0;
GdkPoint _tmp4_ = {0};
-#line 453 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 445 "/home/jens/Source/shotwell/src/util/image.vala"
g_return_if_fail (source_point != NULL);
-#line 454 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 446 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp0_ = *source_point;
-#line 454 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 446 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp1_ = img_w;
-#line 454 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 446 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp2_ = img_h;
-#line 454 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 446 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp3_ = angle;
-#line 454 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 446 "/home/jens/Source/shotwell/src/util/image.vala"
rotate_point_arb (&_tmp0_, _tmp1_, _tmp2_, _tmp3_, TRUE, &_tmp4_);
-#line 454 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 446 "/home/jens/Source/shotwell/src/util/image.vala"
*result = _tmp4_;
-#line 454 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 446 "/home/jens/Source/shotwell/src/util/image.vala"
return;
-#line 2311 "image.c"
+#line 2209 "image.c"
}
@@ -2391,263 +2289,263 @@ void clamp_inside_rotated_image (Box* src, gint img_w, gint img_h, gdouble angle
gint _tmp73_ = 0;
Box _tmp78_ = {0};
gboolean _tmp79_ = FALSE;
-#line 459 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 451 "/home/jens/Source/shotwell/src/util/image.vala"
g_return_if_fail (src != NULL);
-#line 462 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 454 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp0_ = *src;
-#line 462 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 454 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp1_ = _tmp0_.left;
-#line 462 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 454 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp2_ = *src;
-#line 462 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 454 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp3_ = _tmp2_.top;
-#line 462 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 454 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp4_.x = _tmp1_;
-#line 462 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 454 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp4_.y = _tmp3_;
-#line 462 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 454 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp5_ = img_w;
-#line 462 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 454 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp6_ = img_h;
-#line 462 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 454 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp7_ = angle_deg;
-#line 462 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 454 "/home/jens/Source/shotwell/src/util/image.vala"
derotate_point_arb (&_tmp4_, _tmp5_, _tmp6_, _tmp7_, &_tmp8_);
-#line 462 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 454 "/home/jens/Source/shotwell/src/util/image.vala"
top_left = _tmp8_;
-#line 463 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 455 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp9_ = *src;
-#line 463 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 455 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp10_ = _tmp9_.right;
-#line 463 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 455 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp11_ = *src;
-#line 463 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 455 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp12_ = _tmp11_.top;
-#line 463 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 455 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp13_.x = _tmp10_;
-#line 463 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 455 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp13_.y = _tmp12_;
-#line 463 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 455 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp14_ = img_w;
-#line 463 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 455 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp15_ = img_h;
-#line 463 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 455 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp16_ = angle_deg;
-#line 463 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 455 "/home/jens/Source/shotwell/src/util/image.vala"
derotate_point_arb (&_tmp13_, _tmp14_, _tmp15_, _tmp16_, &_tmp17_);
-#line 463 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 455 "/home/jens/Source/shotwell/src/util/image.vala"
top_right = _tmp17_;
-#line 464 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 456 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp18_ = *src;
-#line 464 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 456 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp19_ = _tmp18_.left;
-#line 464 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 456 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp20_ = *src;
-#line 464 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 456 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp21_ = _tmp20_.bottom;
-#line 464 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 456 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp22_.x = _tmp19_;
-#line 464 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 456 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp22_.y = _tmp21_;
-#line 464 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 456 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp23_ = img_w;
-#line 464 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 456 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp24_ = img_h;
-#line 464 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 456 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp25_ = angle_deg;
-#line 464 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 456 "/home/jens/Source/shotwell/src/util/image.vala"
derotate_point_arb (&_tmp22_, _tmp23_, _tmp24_, _tmp25_, &_tmp26_);
-#line 464 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 456 "/home/jens/Source/shotwell/src/util/image.vala"
bottom_left = _tmp26_;
-#line 465 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 457 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp27_ = *src;
-#line 465 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 457 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp28_ = _tmp27_.right;
-#line 465 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 457 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp29_ = *src;
-#line 465 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 457 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp30_ = _tmp29_.bottom;
-#line 465 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 457 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp31_.x = _tmp28_;
-#line 465 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 457 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp31_.y = _tmp30_;
-#line 465 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 457 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp32_ = img_w;
-#line 465 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 457 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp33_ = img_h;
-#line 465 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 457 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp34_ = angle_deg;
-#line 465 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 457 "/home/jens/Source/shotwell/src/util/image.vala"
derotate_point_arb (&_tmp31_, _tmp32_, _tmp33_, _tmp34_, &_tmp35_);
-#line 465 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 457 "/home/jens/Source/shotwell/src/util/image.vala"
bottom_right = _tmp35_;
-#line 467 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 459 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp36_ = angle_deg;
-#line 467 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 459 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp37_ = degrees_to_radians (_tmp36_);
-#line 467 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 459 "/home/jens/Source/shotwell/src/util/image.vala"
angle = _tmp37_;
-#line 468 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 460 "/home/jens/Source/shotwell/src/util/image.vala"
top_offset = 0;
-#line 468 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 460 "/home/jens/Source/shotwell/src/util/image.vala"
bottom_offset = 0;
-#line 468 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 460 "/home/jens/Source/shotwell/src/util/image.vala"
left_offset = 0;
-#line 468 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 460 "/home/jens/Source/shotwell/src/util/image.vala"
right_offset = 0;
-#line 470 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 462 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp38_ = top_left;
-#line 470 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 462 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp39_ = _tmp38_.y;
-#line 470 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 462 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp40_ = top_right;
-#line 470 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 462 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp41_ = _tmp40_.y;
-#line 470 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 462 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp42_ = MIN (_tmp39_, _tmp41_);
-#line 470 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 462 "/home/jens/Source/shotwell/src/util/image.vala"
top = _tmp42_;
-#line 471 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 463 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp43_ = top;
-#line 471 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 463 "/home/jens/Source/shotwell/src/util/image.vala"
if (_tmp43_ < 0) {
-#line 2515 "image.c"
+#line 2413 "image.c"
gint _tmp44_ = 0;
gdouble _tmp45_ = 0.0;
gdouble _tmp46_ = 0.0;
-#line 472 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 464 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp44_ = top;
-#line 472 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 464 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp45_ = angle;
-#line 472 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 464 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp46_ = cos (_tmp45_);
-#line 472 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 464 "/home/jens/Source/shotwell/src/util/image.vala"
top_offset = (gint) ((0 - _tmp44_) * _tmp46_);
-#line 2527 "image.c"
+#line 2425 "image.c"
}
-#line 474 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 466 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp47_ = bottom_left;
-#line 474 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 466 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp48_ = _tmp47_.y;
-#line 474 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 466 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp49_ = bottom_right;
-#line 474 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 466 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp50_ = _tmp49_.y;
-#line 474 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 466 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp51_ = MAX (_tmp48_, _tmp50_);
-#line 474 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 466 "/home/jens/Source/shotwell/src/util/image.vala"
bottom = _tmp51_;
-#line 475 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 467 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp52_ = bottom;
-#line 475 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 467 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp53_ = img_h;
-#line 475 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 467 "/home/jens/Source/shotwell/src/util/image.vala"
if (_tmp52_ > _tmp53_) {
-#line 2547 "image.c"
+#line 2445 "image.c"
gint _tmp54_ = 0;
gint _tmp55_ = 0;
gdouble _tmp56_ = 0.0;
gdouble _tmp57_ = 0.0;
-#line 476 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 468 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp54_ = img_h;
-#line 476 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 468 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp55_ = bottom;
-#line 476 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 468 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp56_ = angle;
-#line 476 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 468 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp57_ = cos (_tmp56_);
-#line 476 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 468 "/home/jens/Source/shotwell/src/util/image.vala"
bottom_offset = (gint) ((_tmp54_ - _tmp55_) * _tmp57_);
-#line 2562 "image.c"
+#line 2460 "image.c"
}
-#line 478 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 470 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp58_ = top_left;
-#line 478 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 470 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp59_ = _tmp58_.x;
-#line 478 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 470 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp60_ = bottom_left;
-#line 478 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 470 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp61_ = _tmp60_.x;
-#line 478 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 470 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp62_ = MIN (_tmp59_, _tmp61_);
-#line 478 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 470 "/home/jens/Source/shotwell/src/util/image.vala"
left = _tmp62_;
-#line 479 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 471 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp63_ = left;
-#line 479 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 471 "/home/jens/Source/shotwell/src/util/image.vala"
if (_tmp63_ < 0) {
-#line 2580 "image.c"
+#line 2478 "image.c"
gint _tmp64_ = 0;
gdouble _tmp65_ = 0.0;
gdouble _tmp66_ = 0.0;
-#line 480 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 472 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp64_ = left;
-#line 480 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 472 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp65_ = angle;
-#line 480 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 472 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp66_ = cos (_tmp65_);
-#line 480 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 472 "/home/jens/Source/shotwell/src/util/image.vala"
left_offset = (gint) ((0 - _tmp64_) * _tmp66_);
-#line 2592 "image.c"
+#line 2490 "image.c"
}
-#line 482 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 474 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp67_ = top_right;
-#line 482 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 474 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp68_ = _tmp67_.x;
-#line 482 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 474 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp69_ = bottom_right;
-#line 482 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 474 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp70_ = _tmp69_.x;
-#line 482 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 474 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp71_ = MAX (_tmp68_, _tmp70_);
-#line 482 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 474 "/home/jens/Source/shotwell/src/util/image.vala"
right = _tmp71_;
-#line 483 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 475 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp72_ = right;
-#line 483 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 475 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp73_ = img_w;
-#line 483 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 475 "/home/jens/Source/shotwell/src/util/image.vala"
if (_tmp72_ > _tmp73_) {
-#line 2612 "image.c"
+#line 2510 "image.c"
gint _tmp74_ = 0;
gint _tmp75_ = 0;
gdouble _tmp76_ = 0.0;
gdouble _tmp77_ = 0.0;
-#line 484 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 476 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp74_ = img_w;
-#line 484 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 476 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp75_ = right;
-#line 484 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 476 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp76_ = angle;
-#line 484 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 476 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp77_ = cos (_tmp76_);
-#line 484 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 476 "/home/jens/Source/shotwell/src/util/image.vala"
right_offset = (gint) ((_tmp74_ - _tmp75_) * _tmp77_);
-#line 2627 "image.c"
+#line 2525 "image.c"
}
-#line 486 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 478 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp79_ = preserve_geom;
-#line 486 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 478 "/home/jens/Source/shotwell/src/util/image.vala"
if (_tmp79_) {
-#line 2633 "image.c"
+#line 2531 "image.c"
gint _tmp80_ = 0;
gint _tmp81_ = 0;
gint _tmp82_ = 0;
gint _tmp83_ = 0;
Box _tmp84_ = {0};
-#line 486 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 478 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp80_ = left_offset;
-#line 486 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 478 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp81_ = right_offset;
-#line 486 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 478 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp82_ = top_offset;
-#line 486 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 478 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp83_ = bottom_offset;
-#line 486 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 478 "/home/jens/Source/shotwell/src/util/image.vala"
box_get_offset (src, _tmp80_ + _tmp81_, _tmp82_ + _tmp83_, &_tmp84_);
-#line 486 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 478 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp78_ = _tmp84_;
-#line 2651 "image.c"
+#line 2549 "image.c"
} else {
Box _tmp85_ = {0};
gint _tmp86_ = 0;
@@ -2661,39 +2559,39 @@ void clamp_inside_rotated_image (Box* src, gint img_w, gint img_h, gdouble angle
Box _tmp94_ = {0};
gint _tmp95_ = 0;
gint _tmp96_ = 0;
-#line 487 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 479 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp85_ = *src;
-#line 487 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 479 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp86_ = _tmp85_.left;
-#line 487 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 479 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp87_ = left_offset;
-#line 487 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 479 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp88_ = *src;
-#line 487 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 479 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp89_ = _tmp88_.top;
-#line 487 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 479 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp90_ = top_offset;
-#line 487 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 479 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp91_ = *src;
-#line 487 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 479 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp92_ = _tmp91_.right;
-#line 487 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 479 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp93_ = right_offset;
-#line 487 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 479 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp94_ = *src;
-#line 487 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 479 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp95_ = _tmp94_.bottom;
-#line 487 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 479 "/home/jens/Source/shotwell/src/util/image.vala"
_tmp96_ = bottom_offset;
-#line 487 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 479 "/home/jens/Source/shotwell/src/util/image.vala"
box_init (&_tmp78_, _tmp86_ + _tmp87_, _tmp89_ + _tmp90_, _tmp92_ + _tmp93_, _tmp95_ + _tmp96_);
-#line 2691 "image.c"
+#line 2589 "image.c"
}
-#line 486 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 478 "/home/jens/Source/shotwell/src/util/image.vala"
*result = _tmp78_;
-#line 486 "/home/jens/Source/shotwell/src/util/image.vala"
+#line 478 "/home/jens/Source/shotwell/src/util/image.vala"
return;
-#line 2697 "image.c"
+#line 2595 "image.c"
}
diff --git a/src/util/image.vala b/src/util/image.vala
index db872df..4adafae 100644
--- a/src/util/image.vala
+++ b/src/util/image.vala
@@ -250,14 +250,6 @@ public void shift_colors(Gdk.Pixbuf pixbuf, int red, int green, int blue, int al
}
}
-public void dim_pixbuf(Gdk.Pixbuf pixbuf) {
- PixelTransformer transformer = new PixelTransformer();
- SaturationTransformation sat = new SaturationTransformation(SaturationTransformation.MIN_PARAMETER);
- transformer.attach_transformation(sat);
- transformer.transform_pixbuf(pixbuf);
- shift_colors(pixbuf, 0, 0, 0, -100);
-}
-
bool coord_in_rectangle(int x, int y, Gdk.Rectangle rect) {
return (x >= rect.x && x < (rect.x + rect.width) && y >= rect.y && y <= (rect.y + rect.height));
}
diff --git a/src/util/misc.c b/src/util/misc.c
index b1a0d40..848194e 100644
--- a/src/util/misc.c
+++ b/src/util/misc.c
@@ -1,4 +1,4 @@
-/* misc.c generated by valac 0.34.2, the Vala compiler
+/* misc.c generated by valac 0.32.1, the Vala compiler
* generated from misc.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -269,9 +269,6 @@ void op_timer_start (OpTimer* self);
void op_timer_stop (OpTimer* self);
gchar* op_timer_to_string (OpTimer* self);
static void op_timer_finalize (OpTimer* obj);
-void suppress_warnings (const gchar* log_domain, GLogLevelFlags log_levels, const gchar* message);
-gboolean is_twentyfour_hr_time_system (void);
-gboolean is_string_empty (const gchar* s);
guint int64_hash (gint64* n) {
@@ -285,32 +282,32 @@ guint int64_hash (gint64* n) {
u8 = (guint8*) _tmp0_;
#line 10 "/home/jens/Source/shotwell/src/util/misc.vala"
hash = (guint) 0;
-#line 289 "misc.c"
+#line 286 "misc.c"
{
gint ctr = 0;
#line 11 "/home/jens/Source/shotwell/src/util/misc.vala"
ctr = 0;
-#line 294 "misc.c"
+#line 291 "misc.c"
{
gboolean _tmp1_ = FALSE;
#line 11 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp1_ = TRUE;
#line 11 "/home/jens/Source/shotwell/src/util/misc.vala"
while (TRUE) {
-#line 301 "misc.c"
+#line 298 "misc.c"
gint _tmp3_ = 0;
guint _tmp4_ = 0U;
guint _tmp5_ = 0U;
guint8* _tmp6_ = NULL;
#line 11 "/home/jens/Source/shotwell/src/util/misc.vala"
if (!_tmp1_) {
-#line 308 "misc.c"
+#line 305 "misc.c"
gint _tmp2_ = 0;
#line 11 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp2_ = ctr;
#line 11 "/home/jens/Source/shotwell/src/util/misc.vala"
ctr = _tmp2_ + 1;
-#line 314 "misc.c"
+#line 311 "misc.c"
}
#line 11 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp1_ = FALSE;
@@ -320,7 +317,7 @@ guint int64_hash (gint64* n) {
if (!(((gulong) _tmp3_) < (sizeof (gint64) / sizeof (guint8)))) {
#line 11 "/home/jens/Source/shotwell/src/util/misc.vala"
break;
-#line 324 "misc.c"
+#line 321 "misc.c"
}
#line 12 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp4_ = hash;
@@ -332,7 +329,7 @@ guint int64_hash (gint64* n) {
u8 = _tmp6_ + 1;
#line 12 "/home/jens/Source/shotwell/src/util/misc.vala"
hash = ((_tmp4_ << 4) ^ (_tmp5_ >> 28)) ^ (*_tmp6_);
-#line 336 "misc.c"
+#line 333 "misc.c"
}
}
}
@@ -340,7 +337,7 @@ guint int64_hash (gint64* n) {
result = hash;
#line 15 "/home/jens/Source/shotwell/src/util/misc.vala"
return result;
-#line 344 "misc.c"
+#line 341 "misc.c"
}
@@ -362,7 +359,7 @@ gboolean int64_equal (gint64* a, gint64* b) {
result = (*bia) == (*bib);
#line 22 "/home/jens/Source/shotwell/src/util/misc.vala"
return result;
-#line 366 "misc.c"
+#line 363 "misc.c"
}
@@ -386,7 +383,7 @@ gint int64_compare (gint64* a, gint64* b) {
result = -1;
#line 28 "/home/jens/Source/shotwell/src/util/misc.vala"
return result;
-#line 390 "misc.c"
+#line 387 "misc.c"
} else {
gint64 _tmp3_ = 0LL;
#line 29 "/home/jens/Source/shotwell/src/util/misc.vala"
@@ -397,13 +394,13 @@ gint int64_compare (gint64* a, gint64* b) {
result = 1;
#line 30 "/home/jens/Source/shotwell/src/util/misc.vala"
return result;
-#line 401 "misc.c"
+#line 398 "misc.c"
} else {
#line 32 "/home/jens/Source/shotwell/src/util/misc.vala"
result = 0;
#line 32 "/home/jens/Source/shotwell/src/util/misc.vala"
return result;
-#line 407 "misc.c"
+#line 404 "misc.c"
}
}
}
@@ -435,7 +432,7 @@ gint uint64_compare (guint64* a, guint64* b) {
result = -1;
#line 40 "/home/jens/Source/shotwell/src/util/misc.vala"
return result;
-#line 439 "misc.c"
+#line 436 "misc.c"
} else {
guint64 _tmp4_ = 0ULL;
guint64 _tmp5_ = 0ULL;
@@ -449,13 +446,13 @@ gint uint64_compare (guint64* a, guint64* b) {
result = 1;
#line 42 "/home/jens/Source/shotwell/src/util/misc.vala"
return result;
-#line 453 "misc.c"
+#line 450 "misc.c"
} else {
#line 44 "/home/jens/Source/shotwell/src/util/misc.vala"
result = 0;
#line 44 "/home/jens/Source/shotwell/src/util/misc.vala"
return result;
-#line 459 "misc.c"
+#line 456 "misc.c"
}
}
}
@@ -477,7 +474,7 @@ gboolean bool_value_equals (GValue* a, GValue* b) {
result = g_value_get_boolean (&_tmp0_) == g_value_get_boolean (&_tmp1_);
#line 50 "/home/jens/Source/shotwell/src/util/misc.vala"
return result;
-#line 481 "misc.c"
+#line 478 "misc.c"
}
@@ -497,7 +494,7 @@ gboolean int_value_equals (GValue* a, GValue* b) {
result = g_value_get_int (&_tmp0_) == g_value_get_int (&_tmp1_);
#line 54 "/home/jens/Source/shotwell/src/util/misc.vala"
return result;
-#line 501 "misc.c"
+#line 498 "misc.c"
}
@@ -521,7 +518,7 @@ gulong timeval_to_ms (GTimeVal* time_val) {
result = (((gulong) _tmp1_) * 1000) + (((gulong) _tmp3_) / 1000);
#line 58 "/home/jens/Source/shotwell/src/util/misc.vala"
return result;
-#line 525 "misc.c"
+#line 522 "misc.c"
}
@@ -537,7 +534,7 @@ gulong now_ms (void) {
result = _tmp1_;
#line 62 "/home/jens/Source/shotwell/src/util/misc.vala"
return result;
-#line 541 "misc.c"
+#line 538 "misc.c"
}
@@ -556,7 +553,7 @@ gulong now_sec (void) {
result = (gulong) _tmp1_;
#line 68 "/home/jens/Source/shotwell/src/util/misc.vala"
return result;
-#line 560 "misc.c"
+#line 557 "misc.c"
}
@@ -569,7 +566,7 @@ inline time_t now_time_t (void) {
result = (time_t) _tmp0_;
#line 72 "/home/jens/Source/shotwell/src/util/misc.vala"
return result;
-#line 573 "misc.c"
+#line 570 "misc.c"
}
@@ -606,7 +603,7 @@ gchar* md5_binary (guint8* buffer, gsize length) {
_g_checksum_free0 (md5);
#line 81 "/home/jens/Source/shotwell/src/util/misc.vala"
return result;
-#line 610 "misc.c"
+#line 607 "misc.c"
}
@@ -655,7 +652,7 @@ gchar* md5_file (GFile* file, GError** error) {
_g_checksum_free0 (md5);
#line 88 "/home/jens/Source/shotwell/src/util/misc.vala"
return NULL;
-#line 659 "misc.c"
+#line 656 "misc.c"
}
{
gboolean _tmp4_ = FALSE;
@@ -663,7 +660,7 @@ gchar* md5_file (GFile* file, GError** error) {
_tmp4_ = TRUE;
#line 89 "/home/jens/Source/shotwell/src/util/misc.vala"
while (TRUE) {
-#line 667 "misc.c"
+#line 664 "misc.c"
gsize bytes_read = 0UL;
GFileInputStream* _tmp5_ = NULL;
guint8* _tmp6_ = NULL;
@@ -676,7 +673,7 @@ gchar* md5_file (GFile* file, GError** error) {
gsize _tmp11_ = 0UL;
#line 89 "/home/jens/Source/shotwell/src/util/misc.vala"
if (!_tmp4_) {
-#line 680 "misc.c"
+#line 677 "misc.c"
}
#line 89 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp4_ = FALSE;
@@ -687,7 +684,7 @@ gchar* md5_file (GFile* file, GError** error) {
#line 90 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp6__length1 = buffer_length1;
#line 90 "/home/jens/Source/shotwell/src/util/misc.vala"
- _tmp7_ = g_input_stream_read (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, g_input_stream_get_type (), GInputStream), _tmp6_, (gsize) _tmp6__length1, NULL, &_inner_error_);
+ _tmp7_ = g_input_stream_read (G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, G_TYPE_INPUT_STREAM, GInputStream), _tmp6_, (gsize) _tmp6__length1, NULL, &_inner_error_);
#line 90 "/home/jens/Source/shotwell/src/util/misc.vala"
bytes_read = (gsize) _tmp7_;
#line 90 "/home/jens/Source/shotwell/src/util/misc.vala"
@@ -702,7 +699,7 @@ gchar* md5_file (GFile* file, GError** error) {
_g_checksum_free0 (md5);
#line 90 "/home/jens/Source/shotwell/src/util/misc.vala"
return NULL;
-#line 706 "misc.c"
+#line 703 "misc.c"
}
#line 91 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp8_ = bytes_read;
@@ -710,7 +707,7 @@ gchar* md5_file (GFile* file, GError** error) {
if (_tmp8_ <= ((gsize) 0)) {
#line 92 "/home/jens/Source/shotwell/src/util/misc.vala"
break;
-#line 714 "misc.c"
+#line 711 "misc.c"
}
#line 94 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp9_ = md5;
@@ -722,7 +719,7 @@ gchar* md5_file (GFile* file, GError** error) {
_tmp11_ = bytes_read;
#line 94 "/home/jens/Source/shotwell/src/util/misc.vala"
g_checksum_update (_tmp9_, (guchar*) _tmp10_, _tmp11_);
-#line 726 "misc.c"
+#line 723 "misc.c"
}
}
{
@@ -730,10 +727,10 @@ gchar* md5_file (GFile* file, GError** error) {
#line 98 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp12_ = fins;
#line 98 "/home/jens/Source/shotwell/src/util/misc.vala"
- g_input_stream_close (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, g_input_stream_get_type (), GInputStream), NULL, &_inner_error_);
+ g_input_stream_close (G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, G_TYPE_INPUT_STREAM, GInputStream), NULL, &_inner_error_);
#line 98 "/home/jens/Source/shotwell/src/util/misc.vala"
if (G_UNLIKELY (_inner_error_ != NULL)) {
-#line 737 "misc.c"
+#line 734 "misc.c"
goto __catch5_g_error;
}
}
@@ -766,7 +763,7 @@ gchar* md5_file (GFile* file, GError** error) {
_g_free0 (_tmp15_);
#line 97 "/home/jens/Source/shotwell/src/util/misc.vala"
_g_error_free0 (err);
-#line 770 "misc.c"
+#line 767 "misc.c"
}
__finally5:
#line 97 "/home/jens/Source/shotwell/src/util/misc.vala"
@@ -781,7 +778,7 @@ gchar* md5_file (GFile* file, GError** error) {
_g_checksum_free0 (md5);
#line 97 "/home/jens/Source/shotwell/src/util/misc.vala"
return NULL;
-#line 785 "misc.c"
+#line 782 "misc.c"
}
#line 103 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp18_ = md5;
@@ -799,7 +796,7 @@ gchar* md5_file (GFile* file, GError** error) {
_g_checksum_free0 (md5);
#line 103 "/home/jens/Source/shotwell/src/util/misc.vala"
return result;
-#line 803 "misc.c"
+#line 800 "misc.c"
}
@@ -829,7 +826,7 @@ gboolean equal_sets (GeeSet* a, GeeSet* b) {
_tmp2_ = a;
#line 108 "/home/jens/Source/shotwell/src/util/misc.vala"
if (_tmp2_ != NULL) {
-#line 833 "misc.c"
+#line 830 "misc.c"
GeeSet* _tmp3_ = NULL;
gint _tmp4_ = 0;
gint _tmp5_ = 0;
@@ -841,25 +838,25 @@ gboolean equal_sets (GeeSet* a, GeeSet* b) {
_tmp5_ = _tmp4_;
#line 108 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp1_ = _tmp5_ == 0;
-#line 845 "misc.c"
+#line 842 "misc.c"
} else {
#line 108 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp1_ = FALSE;
-#line 849 "misc.c"
+#line 846 "misc.c"
}
#line 108 "/home/jens/Source/shotwell/src/util/misc.vala"
if (_tmp1_) {
-#line 853 "misc.c"
+#line 850 "misc.c"
GeeSet* _tmp6_ = NULL;
#line 108 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp6_ = b;
#line 108 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp0_ = _tmp6_ == NULL;
-#line 859 "misc.c"
+#line 856 "misc.c"
} else {
#line 108 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp0_ = FALSE;
-#line 863 "misc.c"
+#line 860 "misc.c"
}
#line 108 "/home/jens/Source/shotwell/src/util/misc.vala"
if (_tmp0_) {
@@ -867,20 +864,20 @@ gboolean equal_sets (GeeSet* a, GeeSet* b) {
result = TRUE;
#line 109 "/home/jens/Source/shotwell/src/util/misc.vala"
return result;
-#line 871 "misc.c"
+#line 868 "misc.c"
}
#line 111 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp8_ = a;
#line 111 "/home/jens/Source/shotwell/src/util/misc.vala"
if (_tmp8_ == NULL) {
-#line 877 "misc.c"
+#line 874 "misc.c"
gboolean _tmp9_ = FALSE;
GeeSet* _tmp10_ = NULL;
#line 111 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp10_ = b;
#line 111 "/home/jens/Source/shotwell/src/util/misc.vala"
if (_tmp10_ != NULL) {
-#line 884 "misc.c"
+#line 881 "misc.c"
GeeSet* _tmp11_ = NULL;
gint _tmp12_ = 0;
gint _tmp13_ = 0;
@@ -892,19 +889,19 @@ gboolean equal_sets (GeeSet* a, GeeSet* b) {
_tmp13_ = _tmp12_;
#line 111 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp9_ = _tmp13_ == 0;
-#line 896 "misc.c"
+#line 893 "misc.c"
} else {
#line 111 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp9_ = FALSE;
-#line 900 "misc.c"
+#line 897 "misc.c"
}
#line 111 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp7_ = _tmp9_;
-#line 904 "misc.c"
+#line 901 "misc.c"
} else {
#line 111 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp7_ = FALSE;
-#line 908 "misc.c"
+#line 905 "misc.c"
}
#line 111 "/home/jens/Source/shotwell/src/util/misc.vala"
if (_tmp7_) {
@@ -912,29 +909,29 @@ gboolean equal_sets (GeeSet* a, GeeSet* b) {
result = TRUE;
#line 112 "/home/jens/Source/shotwell/src/util/misc.vala"
return result;
-#line 916 "misc.c"
+#line 913 "misc.c"
}
#line 114 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp16_ = a;
#line 114 "/home/jens/Source/shotwell/src/util/misc.vala"
if (_tmp16_ == NULL) {
-#line 922 "misc.c"
+#line 919 "misc.c"
GeeSet* _tmp17_ = NULL;
#line 114 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp17_ = b;
#line 114 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp15_ = _tmp17_ != NULL;
-#line 928 "misc.c"
+#line 925 "misc.c"
} else {
#line 114 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp15_ = FALSE;
-#line 932 "misc.c"
+#line 929 "misc.c"
}
#line 114 "/home/jens/Source/shotwell/src/util/misc.vala"
if (_tmp15_) {
#line 114 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp14_ = TRUE;
-#line 938 "misc.c"
+#line 935 "misc.c"
} else {
gboolean _tmp18_ = FALSE;
GeeSet* _tmp19_ = NULL;
@@ -942,21 +939,21 @@ gboolean equal_sets (GeeSet* a, GeeSet* b) {
_tmp19_ = a;
#line 114 "/home/jens/Source/shotwell/src/util/misc.vala"
if (_tmp19_ != NULL) {
-#line 946 "misc.c"
+#line 943 "misc.c"
GeeSet* _tmp20_ = NULL;
#line 114 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp20_ = b;
#line 114 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp18_ = _tmp20_ == NULL;
-#line 952 "misc.c"
+#line 949 "misc.c"
} else {
#line 114 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp18_ = FALSE;
-#line 956 "misc.c"
+#line 953 "misc.c"
}
#line 114 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp14_ = _tmp18_;
-#line 960 "misc.c"
+#line 957 "misc.c"
}
#line 114 "/home/jens/Source/shotwell/src/util/misc.vala"
if (_tmp14_) {
@@ -964,23 +961,23 @@ gboolean equal_sets (GeeSet* a, GeeSet* b) {
result = FALSE;
#line 115 "/home/jens/Source/shotwell/src/util/misc.vala"
return result;
-#line 968 "misc.c"
+#line 965 "misc.c"
}
#line 117 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp22_ = a;
#line 117 "/home/jens/Source/shotwell/src/util/misc.vala"
if (_tmp22_ == NULL) {
-#line 974 "misc.c"
+#line 971 "misc.c"
GeeSet* _tmp23_ = NULL;
#line 117 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp23_ = b;
#line 117 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp21_ = _tmp23_ == NULL;
-#line 980 "misc.c"
+#line 977 "misc.c"
} else {
#line 117 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp21_ = FALSE;
-#line 984 "misc.c"
+#line 981 "misc.c"
}
#line 117 "/home/jens/Source/shotwell/src/util/misc.vala"
if (_tmp21_) {
@@ -988,7 +985,7 @@ gboolean equal_sets (GeeSet* a, GeeSet* b) {
result = TRUE;
#line 118 "/home/jens/Source/shotwell/src/util/misc.vala"
return result;
-#line 992 "misc.c"
+#line 989 "misc.c"
}
#line 120 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp24_ = a;
@@ -1008,7 +1005,7 @@ gboolean equal_sets (GeeSet* a, GeeSet* b) {
result = FALSE;
#line 121 "/home/jens/Source/shotwell/src/util/misc.vala"
return result;
-#line 1012 "misc.c"
+#line 1009 "misc.c"
}
{
GeeIterator* _element_it = NULL;
@@ -1022,7 +1019,7 @@ gboolean equal_sets (GeeSet* a, GeeSet* b) {
_element_it = _tmp31_;
#line 125 "/home/jens/Source/shotwell/src/util/misc.vala"
while (TRUE) {
-#line 1026 "misc.c"
+#line 1023 "misc.c"
GeeIterator* _tmp32_ = NULL;
gboolean _tmp33_ = FALSE;
gchar* element = NULL;
@@ -1039,7 +1036,7 @@ gboolean equal_sets (GeeSet* a, GeeSet* b) {
if (!_tmp33_) {
#line 125 "/home/jens/Source/shotwell/src/util/misc.vala"
break;
-#line 1043 "misc.c"
+#line 1040 "misc.c"
}
#line 125 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp34_ = _element_it;
@@ -1063,28 +1060,28 @@ gboolean equal_sets (GeeSet* a, GeeSet* b) {
_g_object_unref0 (_element_it);
#line 127 "/home/jens/Source/shotwell/src/util/misc.vala"
return result;
-#line 1067 "misc.c"
+#line 1064 "misc.c"
}
#line 125 "/home/jens/Source/shotwell/src/util/misc.vala"
_g_free0 (element);
-#line 1071 "misc.c"
+#line 1068 "misc.c"
}
#line 125 "/home/jens/Source/shotwell/src/util/misc.vala"
_g_object_unref0 (_element_it);
-#line 1075 "misc.c"
+#line 1072 "misc.c"
}
#line 130 "/home/jens/Source/shotwell/src/util/misc.vala"
result = TRUE;
#line 130 "/home/jens/Source/shotwell/src/util/misc.vala"
return result;
-#line 1081 "misc.c"
+#line 1078 "misc.c"
}
static gpointer _g_object_ref0 (gpointer self) {
#line 166 "/home/jens/Source/shotwell/src/util/misc.vala"
return self ? g_object_ref (self) : NULL;
-#line 1088 "misc.c"
+#line 1085 "misc.c"
}
@@ -1111,27 +1108,27 @@ GeeSet* intersection_of_sets (GeeSet* a, GeeSet* b, GeeSet* excluded) {
_tmp1_ = a;
#line 136 "/home/jens/Source/shotwell/src/util/misc.vala"
if (_tmp1_ != NULL) {
-#line 1115 "misc.c"
+#line 1112 "misc.c"
GeeSet* _tmp2_ = NULL;
#line 136 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp2_ = b;
#line 136 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp0_ = _tmp2_ == NULL;
-#line 1121 "misc.c"
+#line 1118 "misc.c"
} else {
#line 136 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp0_ = FALSE;
-#line 1125 "misc.c"
+#line 1122 "misc.c"
}
#line 136 "/home/jens/Source/shotwell/src/util/misc.vala"
if (_tmp0_) {
-#line 1129 "misc.c"
+#line 1126 "misc.c"
GeeSet* _tmp3_ = NULL;
#line 137 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp3_ = excluded;
#line 137 "/home/jens/Source/shotwell/src/util/misc.vala"
if (_tmp3_ != NULL) {
-#line 1135 "misc.c"
+#line 1132 "misc.c"
GeeSet* _tmp4_ = NULL;
GeeSet* _tmp5_ = NULL;
#line 138 "/home/jens/Source/shotwell/src/util/misc.vala"
@@ -1140,39 +1137,39 @@ GeeSet* intersection_of_sets (GeeSet* a, GeeSet* b, GeeSet* excluded) {
_tmp5_ = a;
#line 138 "/home/jens/Source/shotwell/src/util/misc.vala"
gee_collection_add_all (G_TYPE_CHECK_INSTANCE_CAST (_tmp4_, GEE_TYPE_COLLECTION, GeeCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp5_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 1144 "misc.c"
+#line 1141 "misc.c"
}
#line 140 "/home/jens/Source/shotwell/src/util/misc.vala"
result = NULL;
#line 140 "/home/jens/Source/shotwell/src/util/misc.vala"
return result;
-#line 1150 "misc.c"
+#line 1147 "misc.c"
}
#line 143 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp7_ = a;
#line 143 "/home/jens/Source/shotwell/src/util/misc.vala"
if (_tmp7_ == NULL) {
-#line 1156 "misc.c"
+#line 1153 "misc.c"
GeeSet* _tmp8_ = NULL;
#line 143 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp8_ = b;
#line 143 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp6_ = _tmp8_ != NULL;
-#line 1162 "misc.c"
+#line 1159 "misc.c"
} else {
#line 143 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp6_ = FALSE;
-#line 1166 "misc.c"
+#line 1163 "misc.c"
}
#line 143 "/home/jens/Source/shotwell/src/util/misc.vala"
if (_tmp6_) {
-#line 1170 "misc.c"
+#line 1167 "misc.c"
GeeSet* _tmp9_ = NULL;
#line 144 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp9_ = excluded;
#line 144 "/home/jens/Source/shotwell/src/util/misc.vala"
if (_tmp9_ != NULL) {
-#line 1176 "misc.c"
+#line 1173 "misc.c"
GeeSet* _tmp10_ = NULL;
GeeSet* _tmp11_ = NULL;
#line 145 "/home/jens/Source/shotwell/src/util/misc.vala"
@@ -1181,19 +1178,19 @@ GeeSet* intersection_of_sets (GeeSet* a, GeeSet* b, GeeSet* excluded) {
_tmp11_ = b;
#line 145 "/home/jens/Source/shotwell/src/util/misc.vala"
gee_collection_add_all (G_TYPE_CHECK_INSTANCE_CAST (_tmp10_, GEE_TYPE_COLLECTION, GeeCollection), G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, GEE_TYPE_COLLECTION, GeeCollection));
-#line 1185 "misc.c"
+#line 1182 "misc.c"
}
#line 147 "/home/jens/Source/shotwell/src/util/misc.vala"
result = NULL;
#line 147 "/home/jens/Source/shotwell/src/util/misc.vala"
return result;
-#line 1191 "misc.c"
+#line 1188 "misc.c"
}
#line 150 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp12_ = gee_hash_set_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, g_free, NULL, NULL, NULL, NULL, NULL, NULL);
#line 150 "/home/jens/Source/shotwell/src/util/misc.vala"
intersection = G_TYPE_CHECK_INSTANCE_CAST (_tmp12_, GEE_TYPE_SET, GeeSet);
-#line 1197 "misc.c"
+#line 1194 "misc.c"
{
GeeIterator* _element_it = NULL;
GeeSet* _tmp13_ = NULL;
@@ -1206,7 +1203,7 @@ GeeSet* intersection_of_sets (GeeSet* a, GeeSet* b, GeeSet* excluded) {
_element_it = _tmp14_;
#line 152 "/home/jens/Source/shotwell/src/util/misc.vala"
while (TRUE) {
-#line 1210 "misc.c"
+#line 1207 "misc.c"
GeeIterator* _tmp15_ = NULL;
gboolean _tmp16_ = FALSE;
gchar* element = NULL;
@@ -1223,7 +1220,7 @@ GeeSet* intersection_of_sets (GeeSet* a, GeeSet* b, GeeSet* excluded) {
if (!_tmp16_) {
#line 152 "/home/jens/Source/shotwell/src/util/misc.vala"
break;
-#line 1227 "misc.c"
+#line 1224 "misc.c"
}
#line 152 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp17_ = _element_it;
@@ -1239,7 +1236,7 @@ GeeSet* intersection_of_sets (GeeSet* a, GeeSet* b, GeeSet* excluded) {
_tmp21_ = gee_collection_contains (G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, GEE_TYPE_COLLECTION, GeeCollection), _tmp20_);
#line 153 "/home/jens/Source/shotwell/src/util/misc.vala"
if (_tmp21_) {
-#line 1243 "misc.c"
+#line 1240 "misc.c"
GeeSet* _tmp22_ = NULL;
const gchar* _tmp23_ = NULL;
#line 154 "/home/jens/Source/shotwell/src/util/misc.vala"
@@ -1248,14 +1245,14 @@ GeeSet* intersection_of_sets (GeeSet* a, GeeSet* b, GeeSet* excluded) {
_tmp23_ = element;
#line 154 "/home/jens/Source/shotwell/src/util/misc.vala"
gee_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp22_, GEE_TYPE_COLLECTION, GeeCollection), _tmp23_);
-#line 1252 "misc.c"
+#line 1249 "misc.c"
} else {
GeeSet* _tmp24_ = NULL;
#line 155 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp24_ = excluded;
#line 155 "/home/jens/Source/shotwell/src/util/misc.vala"
if (_tmp24_ != NULL) {
-#line 1259 "misc.c"
+#line 1256 "misc.c"
GeeSet* _tmp25_ = NULL;
const gchar* _tmp26_ = NULL;
#line 156 "/home/jens/Source/shotwell/src/util/misc.vala"
@@ -1264,16 +1261,16 @@ GeeSet* intersection_of_sets (GeeSet* a, GeeSet* b, GeeSet* excluded) {
_tmp26_ = element;
#line 156 "/home/jens/Source/shotwell/src/util/misc.vala"
gee_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp25_, GEE_TYPE_COLLECTION, GeeCollection), _tmp26_);
-#line 1268 "misc.c"
+#line 1265 "misc.c"
}
}
#line 152 "/home/jens/Source/shotwell/src/util/misc.vala"
_g_free0 (element);
-#line 1273 "misc.c"
+#line 1270 "misc.c"
}
#line 152 "/home/jens/Source/shotwell/src/util/misc.vala"
_g_object_unref0 (_element_it);
-#line 1277 "misc.c"
+#line 1274 "misc.c"
}
{
GeeIterator* _element_it = NULL;
@@ -1287,7 +1284,7 @@ GeeSet* intersection_of_sets (GeeSet* a, GeeSet* b, GeeSet* excluded) {
_element_it = _tmp28_;
#line 159 "/home/jens/Source/shotwell/src/util/misc.vala"
while (TRUE) {
-#line 1291 "misc.c"
+#line 1288 "misc.c"
GeeIterator* _tmp29_ = NULL;
gboolean _tmp30_ = FALSE;
gchar* element = NULL;
@@ -1304,7 +1301,7 @@ GeeSet* intersection_of_sets (GeeSet* a, GeeSet* b, GeeSet* excluded) {
if (!_tmp30_) {
#line 159 "/home/jens/Source/shotwell/src/util/misc.vala"
break;
-#line 1308 "misc.c"
+#line 1305 "misc.c"
}
#line 159 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp31_ = _element_it;
@@ -1320,7 +1317,7 @@ GeeSet* intersection_of_sets (GeeSet* a, GeeSet* b, GeeSet* excluded) {
_tmp35_ = gee_collection_contains (G_TYPE_CHECK_INSTANCE_CAST (_tmp33_, GEE_TYPE_COLLECTION, GeeCollection), _tmp34_);
#line 160 "/home/jens/Source/shotwell/src/util/misc.vala"
if (_tmp35_) {
-#line 1324 "misc.c"
+#line 1321 "misc.c"
GeeSet* _tmp36_ = NULL;
const gchar* _tmp37_ = NULL;
#line 161 "/home/jens/Source/shotwell/src/util/misc.vala"
@@ -1329,14 +1326,14 @@ GeeSet* intersection_of_sets (GeeSet* a, GeeSet* b, GeeSet* excluded) {
_tmp37_ = element;
#line 161 "/home/jens/Source/shotwell/src/util/misc.vala"
gee_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp36_, GEE_TYPE_COLLECTION, GeeCollection), _tmp37_);
-#line 1333 "misc.c"
+#line 1330 "misc.c"
} else {
GeeSet* _tmp38_ = NULL;
#line 162 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp38_ = excluded;
#line 162 "/home/jens/Source/shotwell/src/util/misc.vala"
if (_tmp38_ != NULL) {
-#line 1340 "misc.c"
+#line 1337 "misc.c"
GeeSet* _tmp39_ = NULL;
const gchar* _tmp40_ = NULL;
#line 163 "/home/jens/Source/shotwell/src/util/misc.vala"
@@ -1345,16 +1342,16 @@ GeeSet* intersection_of_sets (GeeSet* a, GeeSet* b, GeeSet* excluded) {
_tmp40_ = element;
#line 163 "/home/jens/Source/shotwell/src/util/misc.vala"
gee_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp39_, GEE_TYPE_COLLECTION, GeeCollection), _tmp40_);
-#line 1349 "misc.c"
+#line 1346 "misc.c"
}
}
#line 159 "/home/jens/Source/shotwell/src/util/misc.vala"
_g_free0 (element);
-#line 1354 "misc.c"
+#line 1351 "misc.c"
}
#line 159 "/home/jens/Source/shotwell/src/util/misc.vala"
_g_object_unref0 (_element_it);
-#line 1358 "misc.c"
+#line 1355 "misc.c"
}
#line 166 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp42_ = intersection;
@@ -1364,17 +1361,17 @@ GeeSet* intersection_of_sets (GeeSet* a, GeeSet* b, GeeSet* excluded) {
_tmp44_ = _tmp43_;
#line 166 "/home/jens/Source/shotwell/src/util/misc.vala"
if (_tmp44_ > 0) {
-#line 1368 "misc.c"
+#line 1365 "misc.c"
GeeSet* _tmp45_ = NULL;
#line 166 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp45_ = intersection;
#line 166 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp41_ = _tmp45_;
-#line 1374 "misc.c"
+#line 1371 "misc.c"
} else {
#line 166 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp41_ = NULL;
-#line 1378 "misc.c"
+#line 1375 "misc.c"
}
#line 166 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp46_ = _g_object_ref0 (_tmp41_);
@@ -1384,7 +1381,7 @@ GeeSet* intersection_of_sets (GeeSet* a, GeeSet* b, GeeSet* excluded) {
_g_object_unref0 (intersection);
#line 166 "/home/jens/Source/shotwell/src/util/misc.vala"
return result;
-#line 1388 "misc.c"
+#line 1385 "misc.c"
}
@@ -1428,7 +1425,7 @@ guchar* serialize_photo_ids (GeeCollection* photos, int* result_length1) {
_ids_size_ = ids_length1;
#line 171 "/home/jens/Source/shotwell/src/util/misc.vala"
ctr = 0;
-#line 1432 "misc.c"
+#line 1429 "misc.c"
{
GeeIterator* _photo_it = NULL;
GeeCollection* _tmp4_ = NULL;
@@ -1441,7 +1438,7 @@ guchar* serialize_photo_ids (GeeCollection* photos, int* result_length1) {
_photo_it = _tmp5_;
#line 172 "/home/jens/Source/shotwell/src/util/misc.vala"
while (TRUE) {
-#line 1445 "misc.c"
+#line 1442 "misc.c"
GeeIterator* _tmp6_ = NULL;
gboolean _tmp7_ = FALSE;
Photo* photo = NULL;
@@ -1462,7 +1459,7 @@ guchar* serialize_photo_ids (GeeCollection* photos, int* result_length1) {
if (!_tmp7_) {
#line 172 "/home/jens/Source/shotwell/src/util/misc.vala"
break;
-#line 1466 "misc.c"
+#line 1463 "misc.c"
}
#line 172 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp8_ = _photo_it;
@@ -1490,11 +1487,11 @@ guchar* serialize_photo_ids (GeeCollection* photos, int* result_length1) {
_tmp15_ = _tmp10_[_tmp11_];
#line 172 "/home/jens/Source/shotwell/src/util/misc.vala"
_g_object_unref0 (photo);
-#line 1494 "misc.c"
+#line 1491 "misc.c"
}
#line 172 "/home/jens/Source/shotwell/src/util/misc.vala"
_g_object_unref0 (_photo_it);
-#line 1498 "misc.c"
+#line 1495 "misc.c"
}
#line 175 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp16_ = photos;
@@ -1526,7 +1523,7 @@ guchar* serialize_photo_ids (GeeCollection* photos, int* result_length1) {
if (result_length1) {
#line 179 "/home/jens/Source/shotwell/src/util/misc.vala"
*result_length1 = _tmp21__length1;
-#line 1530 "misc.c"
+#line 1527 "misc.c"
}
#line 179 "/home/jens/Source/shotwell/src/util/misc.vala"
result = _tmp21_;
@@ -1534,7 +1531,7 @@ guchar* serialize_photo_ids (GeeCollection* photos, int* result_length1) {
ids = (g_free (ids), NULL);
#line 179 "/home/jens/Source/shotwell/src/util/misc.vala"
return result;
-#line 1538 "misc.c"
+#line 1535 "misc.c"
}
@@ -1567,14 +1564,14 @@ GeeList* unserialize_photo_ids (guchar* serialized, gint size) {
if (_tmp2_ <= ((gsize) 0)) {
#line 184 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp1_ = TRUE;
-#line 1571 "misc.c"
+#line 1568 "misc.c"
} else {
guchar* _tmp3_ = NULL;
#line 184 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp3_ = serialized;
#line 184 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp1_ = _tmp3_ == NULL;
-#line 1578 "misc.c"
+#line 1575 "misc.c"
}
#line 184 "/home/jens/Source/shotwell/src/util/misc.vala"
if (_tmp1_) {
@@ -1582,7 +1579,7 @@ GeeList* unserialize_photo_ids (guchar* serialized, gint size) {
result = NULL;
#line 185 "/home/jens/Source/shotwell/src/util/misc.vala"
return result;
-#line 1586 "misc.c"
+#line 1583 "misc.c"
}
#line 187 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp4_ = count;
@@ -1612,7 +1609,7 @@ GeeList* unserialize_photo_ids (guchar* serialized, gint size) {
_tmp10_ = ids;
#line 191 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp10__length1 = ids_length1;
-#line 1616 "misc.c"
+#line 1613 "misc.c"
{
gint64* id_collection = NULL;
gint id_collection_length1 = 0;
@@ -1624,11 +1621,11 @@ GeeList* unserialize_photo_ids (guchar* serialized, gint size) {
id_collection_length1 = _tmp10__length1;
#line 191 "/home/jens/Source/shotwell/src/util/misc.vala"
for (id_it = 0; id_it < _tmp10__length1; id_it = id_it + 1) {
-#line 1628 "misc.c"
+#line 1625 "misc.c"
gint64 id = 0LL;
#line 191 "/home/jens/Source/shotwell/src/util/misc.vala"
id = id_collection[id_it];
-#line 1632 "misc.c"
+#line 1629 "misc.c"
{
GeeArrayList* _tmp11_ = NULL;
gint64 _tmp12_ = 0LL;
@@ -1641,7 +1638,7 @@ GeeList* unserialize_photo_ids (guchar* serialized, gint size) {
photo_id_init (&_tmp13_, _tmp12_);
#line 192 "/home/jens/Source/shotwell/src/util/misc.vala"
gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp11_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), &_tmp13_);
-#line 1645 "misc.c"
+#line 1642 "misc.c"
}
}
}
@@ -1651,7 +1648,7 @@ GeeList* unserialize_photo_ids (guchar* serialized, gint size) {
ids = (g_free (ids), NULL);
#line 194 "/home/jens/Source/shotwell/src/util/misc.vala"
return result;
-#line 1655 "misc.c"
+#line 1652 "misc.c"
}
@@ -1695,7 +1692,7 @@ guchar* serialize_media_sources (GeeCollection* media, int* result_length1) {
_atoms_size_ = atoms_length1;
#line 199 "/home/jens/Source/shotwell/src/util/misc.vala"
ctr = 0;
-#line 1699 "misc.c"
+#line 1696 "misc.c"
{
GeeIterator* _current_media_it = NULL;
GeeCollection* _tmp4_ = NULL;
@@ -1708,7 +1705,7 @@ guchar* serialize_media_sources (GeeCollection* media, int* result_length1) {
_current_media_it = _tmp5_;
#line 200 "/home/jens/Source/shotwell/src/util/misc.vala"
while (TRUE) {
-#line 1712 "misc.c"
+#line 1709 "misc.c"
GeeIterator* _tmp6_ = NULL;
gboolean _tmp7_ = FALSE;
MediaSource* current_media = NULL;
@@ -1730,7 +1727,7 @@ guchar* serialize_media_sources (GeeCollection* media, int* result_length1) {
if (!_tmp7_) {
#line 200 "/home/jens/Source/shotwell/src/util/misc.vala"
break;
-#line 1734 "misc.c"
+#line 1731 "misc.c"
}
#line 200 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp8_ = _current_media_it;
@@ -1762,11 +1759,11 @@ guchar* serialize_media_sources (GeeCollection* media, int* result_length1) {
_g_free0 (_tmp14_);
#line 200 "/home/jens/Source/shotwell/src/util/misc.vala"
_g_object_unref0 (current_media);
-#line 1766 "misc.c"
+#line 1763 "misc.c"
}
#line 200 "/home/jens/Source/shotwell/src/util/misc.vala"
_g_object_unref0 (_current_media_it);
-#line 1770 "misc.c"
+#line 1767 "misc.c"
}
#line 203 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp17_ = media;
@@ -1798,7 +1795,7 @@ guchar* serialize_media_sources (GeeCollection* media, int* result_length1) {
if (result_length1) {
#line 207 "/home/jens/Source/shotwell/src/util/misc.vala"
*result_length1 = _tmp22__length1;
-#line 1802 "misc.c"
+#line 1799 "misc.c"
}
#line 207 "/home/jens/Source/shotwell/src/util/misc.vala"
result = _tmp22_;
@@ -1806,7 +1803,7 @@ guchar* serialize_media_sources (GeeCollection* media, int* result_length1) {
atoms = (g_free (atoms), NULL);
#line 207 "/home/jens/Source/shotwell/src/util/misc.vala"
return result;
-#line 1810 "misc.c"
+#line 1807 "misc.c"
}
@@ -1839,14 +1836,14 @@ GeeList* unserialize_media_sources (guchar* serialized, gint size) {
if (_tmp2_ <= ((gsize) 0)) {
#line 212 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp1_ = TRUE;
-#line 1843 "misc.c"
+#line 1840 "misc.c"
} else {
guchar* _tmp3_ = NULL;
#line 212 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp3_ = serialized;
#line 212 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp1_ = _tmp3_ == NULL;
-#line 1850 "misc.c"
+#line 1847 "misc.c"
}
#line 212 "/home/jens/Source/shotwell/src/util/misc.vala"
if (_tmp1_) {
@@ -1854,7 +1851,7 @@ GeeList* unserialize_media_sources (guchar* serialized, gint size) {
result = NULL;
#line 213 "/home/jens/Source/shotwell/src/util/misc.vala"
return result;
-#line 1858 "misc.c"
+#line 1855 "misc.c"
}
#line 215 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp4_ = count;
@@ -1884,7 +1881,7 @@ GeeList* unserialize_media_sources (guchar* serialized, gint size) {
_tmp10_ = atoms;
#line 219 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp10__length1 = atoms_length1;
-#line 1888 "misc.c"
+#line 1885 "misc.c"
{
GdkAtom* current_atom_collection = NULL;
gint current_atom_collection_length1 = 0;
@@ -1896,11 +1893,11 @@ GeeList* unserialize_media_sources (guchar* serialized, gint size) {
current_atom_collection_length1 = _tmp10__length1;
#line 219 "/home/jens/Source/shotwell/src/util/misc.vala"
for (current_atom_it = 0; current_atom_it < _tmp10__length1; current_atom_it = current_atom_it + 1) {
-#line 1900 "misc.c"
+#line 1897 "misc.c"
GdkAtom current_atom = 0U;
#line 219 "/home/jens/Source/shotwell/src/util/misc.vala"
current_atom = current_atom_collection[current_atom_it];
-#line 1904 "misc.c"
+#line 1901 "misc.c"
{
MediaSource* media = NULL;
MediaCollectionRegistry* _tmp11_ = NULL;
@@ -1945,7 +1942,7 @@ GeeList* unserialize_media_sources (guchar* serialized, gint size) {
gee_abstract_collection_add (G_TYPE_CHECK_INSTANCE_CAST (_tmp19_, GEE_TYPE_ABSTRACT_COLLECTION, GeeAbstractCollection), _tmp20_);
#line 219 "/home/jens/Source/shotwell/src/util/misc.vala"
_g_object_unref0 (media);
-#line 1949 "misc.c"
+#line 1946 "misc.c"
}
}
}
@@ -1955,7 +1952,7 @@ GeeList* unserialize_media_sources (guchar* serialized, gint size) {
atoms = (g_free (atoms), NULL);
#line 225 "/home/jens/Source/shotwell/src/util/misc.vala"
return result;
-#line 1959 "misc.c"
+#line 1956 "misc.c"
}
@@ -1971,37 +1968,37 @@ static gchar* g_time_format (struct tm *self, const gchar* format) {
gchar* _tmp3_ = NULL;
gint _tmp3__length1 = 0;
gchar* _tmp4_ = NULL;
-#line 2758 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2709 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (format != NULL, NULL);
-#line 2759 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2710 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = g_new0 (gchar, 64);
-#line 2759 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2710 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
buffer = _tmp0_;
-#line 2759 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2710 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
buffer_length1 = 64;
-#line 2759 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2710 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_buffer_size_ = buffer_length1;
-#line 2760 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2711 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = buffer;
-#line 2760 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2711 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1__length1 = buffer_length1;
-#line 2760 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2711 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = format;
-#line 2760 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2711 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
strftime (_tmp1_, _tmp1__length1, _tmp2_, &(*self));
-#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = buffer;
-#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3__length1 = buffer_length1;
-#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = g_strdup ((const gchar*) _tmp3_);
-#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp4_;
-#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
buffer = (g_free (buffer), NULL);
-#line 2761 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 2712 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
-#line 2005 "misc.c"
+#line 2002 "misc.c"
}
@@ -2037,7 +2034,7 @@ gchar* format_local_datespan (struct tm* from_date, struct tm* to_date) {
_tmp3_ = _tmp2_.tm_year;
#line 233 "/home/jens/Source/shotwell/src/util/misc.vala"
if (_tmp1_ == _tmp3_) {
-#line 2041 "misc.c"
+#line 2038 "misc.c"
gboolean _tmp4_ = FALSE;
struct tm _tmp5_ = {0};
gint _tmp6_ = 0;
@@ -2053,7 +2050,7 @@ gchar* format_local_datespan (struct tm* from_date, struct tm* to_date) {
_tmp8_ = _tmp7_.tm_mon;
#line 235 "/home/jens/Source/shotwell/src/util/misc.vala"
if (_tmp6_ == _tmp8_) {
-#line 2057 "misc.c"
+#line 2054 "misc.c"
struct tm _tmp9_ = {0};
gint _tmp10_ = 0;
struct tm _tmp11_ = {0};
@@ -2068,15 +2065,15 @@ gchar* format_local_datespan (struct tm* from_date, struct tm* to_date) {
_tmp12_ = _tmp11_.tm_mday;
#line 235 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp4_ = _tmp10_ == (_tmp12_ - 1);
-#line 2072 "misc.c"
+#line 2069 "misc.c"
} else {
#line 235 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp4_ = FALSE;
-#line 2076 "misc.c"
+#line 2073 "misc.c"
}
#line 235 "/home/jens/Source/shotwell/src/util/misc.vala"
if (_tmp4_) {
-#line 2080 "misc.c"
+#line 2077 "misc.c"
gchar* _tmp13_ = NULL;
gchar* _tmp14_ = NULL;
#line 237 "/home/jens/Source/shotwell/src/util/misc.vala"
@@ -2091,7 +2088,7 @@ gchar* format_local_datespan (struct tm* from_date, struct tm* to_date) {
_g_free0 (to_format);
#line 238 "/home/jens/Source/shotwell/src/util/misc.vala"
to_format = _tmp14_;
-#line 2095 "misc.c"
+#line 2092 "misc.c"
} else {
gchar* _tmp15_ = NULL;
gchar* _tmp16_ = NULL;
@@ -2107,7 +2104,7 @@ gchar* format_local_datespan (struct tm* from_date, struct tm* to_date) {
_g_free0 (to_format);
#line 243 "/home/jens/Source/shotwell/src/util/misc.vala"
to_format = _tmp16_;
-#line 2111 "misc.c"
+#line 2108 "misc.c"
}
} else {
gchar* _tmp17_ = NULL;
@@ -2124,7 +2121,7 @@ gchar* format_local_datespan (struct tm* from_date, struct tm* to_date) {
_g_free0 (to_format);
#line 249 "/home/jens/Source/shotwell/src/util/misc.vala"
to_format = _tmp18_;
-#line 2128 "misc.c"
+#line 2125 "misc.c"
}
#line 252 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp19_ = from_format;
@@ -2160,7 +2157,7 @@ gchar* format_local_datespan (struct tm* from_date, struct tm* to_date) {
_g_free0 (from_format);
#line 252 "/home/jens/Source/shotwell/src/util/misc.vala"
return result;
-#line 2164 "misc.c"
+#line 2161 "misc.c"
}
@@ -2194,7 +2191,7 @@ gchar* format_local_date (struct tm* date) {
result = _tmp5_;
#line 257 "/home/jens/Source/shotwell/src/util/misc.vala"
return result;
-#line 2198 "misc.c"
+#line 2195 "misc.c"
}
@@ -2226,14 +2223,14 @@ OneShotScheduler* one_shot_scheduler_construct (GType object_type, const gchar*
self->priv->callback_target = _tmp2__target;
#line 267 "/home/jens/Source/shotwell/src/util/misc.vala"
return self;
-#line 2230 "misc.c"
+#line 2227 "misc.c"
}
OneShotScheduler* one_shot_scheduler_new (const gchar* name, OneShotCallback callback, void* callback_target) {
#line 267 "/home/jens/Source/shotwell/src/util/misc.vala"
return one_shot_scheduler_construct (TYPE_ONE_SHOT_SCHEDULER, name, callback, callback_target);
-#line 2237 "misc.c"
+#line 2234 "misc.c"
}
@@ -2248,7 +2245,7 @@ gboolean one_shot_scheduler_is_scheduled (OneShotScheduler* self) {
result = _tmp0_ != ((guint) 0);
#line 281 "/home/jens/Source/shotwell/src/util/misc.vala"
return result;
-#line 2252 "misc.c"
+#line 2249 "misc.c"
}
@@ -2257,7 +2254,7 @@ void one_shot_scheduler_at_idle (OneShotScheduler* self) {
g_return_if_fail (IS_ONE_SHOT_SCHEDULER (self));
#line 285 "/home/jens/Source/shotwell/src/util/misc.vala"
one_shot_scheduler_at_priority_idle (self, G_PRIORITY_DEFAULT_IDLE);
-#line 2261 "misc.c"
+#line 2258 "misc.c"
}
@@ -2266,7 +2263,7 @@ static gboolean _one_shot_scheduler_callback_wrapper_gsource_func (gpointer self
result = one_shot_scheduler_callback_wrapper ((OneShotScheduler*) self);
#line 290 "/home/jens/Source/shotwell/src/util/misc.vala"
return result;
-#line 2270 "misc.c"
+#line 2267 "misc.c"
}
@@ -2278,7 +2275,7 @@ void one_shot_scheduler_at_priority_idle (OneShotScheduler* self, gint priority)
_tmp0_ = self->priv->scheduled;
#line 289 "/home/jens/Source/shotwell/src/util/misc.vala"
if (_tmp0_ == ((guint) 0)) {
-#line 2282 "misc.c"
+#line 2279 "misc.c"
gint _tmp1_ = 0;
guint _tmp2_ = 0U;
#line 290 "/home/jens/Source/shotwell/src/util/misc.vala"
@@ -2287,7 +2284,7 @@ void one_shot_scheduler_at_priority_idle (OneShotScheduler* self, gint priority)
_tmp2_ = g_idle_add_full (_tmp1_, _one_shot_scheduler_callback_wrapper_gsource_func, one_shot_scheduler_ref (self), one_shot_scheduler_unref);
#line 290 "/home/jens/Source/shotwell/src/util/misc.vala"
self->priv->scheduled = _tmp2_;
-#line 2291 "misc.c"
+#line 2288 "misc.c"
}
}
@@ -2303,7 +2300,7 @@ void one_shot_scheduler_after_timeout (OneShotScheduler* self, guint msec, gbool
_tmp1_ = reschedule;
#line 294 "/home/jens/Source/shotwell/src/util/misc.vala"
one_shot_scheduler_priority_after_timeout (self, G_PRIORITY_DEFAULT, _tmp0_, _tmp1_);
-#line 2307 "misc.c"
+#line 2304 "misc.c"
}
@@ -2320,35 +2317,35 @@ void one_shot_scheduler_priority_after_timeout (OneShotScheduler* self, gint pri
_tmp1_ = self->priv->scheduled;
#line 298 "/home/jens/Source/shotwell/src/util/misc.vala"
if (_tmp1_ != ((guint) 0)) {
-#line 2324 "misc.c"
+#line 2321 "misc.c"
gboolean _tmp2_ = FALSE;
#line 298 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp2_ = reschedule;
#line 298 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp0_ = !_tmp2_;
-#line 2330 "misc.c"
+#line 2327 "misc.c"
} else {
#line 298 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp0_ = FALSE;
-#line 2334 "misc.c"
+#line 2331 "misc.c"
}
#line 298 "/home/jens/Source/shotwell/src/util/misc.vala"
if (_tmp0_) {
#line 299 "/home/jens/Source/shotwell/src/util/misc.vala"
return;
-#line 2340 "misc.c"
+#line 2337 "misc.c"
}
#line 301 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp3_ = self->priv->scheduled;
#line 301 "/home/jens/Source/shotwell/src/util/misc.vala"
if (_tmp3_ != ((guint) 0)) {
-#line 2346 "misc.c"
+#line 2343 "misc.c"
guint _tmp4_ = 0U;
#line 302 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp4_ = self->priv->scheduled;
#line 302 "/home/jens/Source/shotwell/src/util/misc.vala"
g_source_remove (_tmp4_);
-#line 2352 "misc.c"
+#line 2349 "misc.c"
}
#line 304 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp5_ = priority;
@@ -2358,7 +2355,7 @@ void one_shot_scheduler_priority_after_timeout (OneShotScheduler* self, gint pri
_tmp7_ = g_timeout_add_full (_tmp5_, _tmp6_, _one_shot_scheduler_callback_wrapper_gsource_func, one_shot_scheduler_ref (self), one_shot_scheduler_unref);
#line 304 "/home/jens/Source/shotwell/src/util/misc.vala"
self->priv->scheduled = _tmp7_;
-#line 2362 "misc.c"
+#line 2359 "misc.c"
}
@@ -2373,7 +2370,7 @@ void one_shot_scheduler_cancel (OneShotScheduler* self) {
if (_tmp0_ == ((guint) 0)) {
#line 309 "/home/jens/Source/shotwell/src/util/misc.vala"
return;
-#line 2377 "misc.c"
+#line 2374 "misc.c"
}
#line 311 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp1_ = self->priv->scheduled;
@@ -2381,7 +2378,7 @@ void one_shot_scheduler_cancel (OneShotScheduler* self) {
g_source_remove (_tmp1_);
#line 312 "/home/jens/Source/shotwell/src/util/misc.vala"
self->priv->scheduled = (guint) 0;
-#line 2385 "misc.c"
+#line 2382 "misc.c"
}
@@ -2403,14 +2400,14 @@ static gboolean one_shot_scheduler_callback_wrapper (OneShotScheduler* self) {
result = FALSE;
#line 319 "/home/jens/Source/shotwell/src/util/misc.vala"
return result;
-#line 2407 "misc.c"
+#line 2404 "misc.c"
}
static void value_one_shot_scheduler_init (GValue* value) {
#line 262 "/home/jens/Source/shotwell/src/util/misc.vala"
value->data[0].v_pointer = NULL;
-#line 2414 "misc.c"
+#line 2411 "misc.c"
}
@@ -2419,7 +2416,7 @@ static void value_one_shot_scheduler_free_value (GValue* value) {
if (value->data[0].v_pointer) {
#line 262 "/home/jens/Source/shotwell/src/util/misc.vala"
one_shot_scheduler_unref (value->data[0].v_pointer);
-#line 2423 "misc.c"
+#line 2420 "misc.c"
}
}
@@ -2429,11 +2426,11 @@ static void value_one_shot_scheduler_copy_value (const GValue* src_value, GValue
if (src_value->data[0].v_pointer) {
#line 262 "/home/jens/Source/shotwell/src/util/misc.vala"
dest_value->data[0].v_pointer = one_shot_scheduler_ref (src_value->data[0].v_pointer);
-#line 2433 "misc.c"
+#line 2430 "misc.c"
} else {
#line 262 "/home/jens/Source/shotwell/src/util/misc.vala"
dest_value->data[0].v_pointer = NULL;
-#line 2437 "misc.c"
+#line 2434 "misc.c"
}
}
@@ -2441,37 +2438,37 @@ static void value_one_shot_scheduler_copy_value (const GValue* src_value, GValue
static gpointer value_one_shot_scheduler_peek_pointer (const GValue* value) {
#line 262 "/home/jens/Source/shotwell/src/util/misc.vala"
return value->data[0].v_pointer;
-#line 2445 "misc.c"
+#line 2442 "misc.c"
}
static gchar* value_one_shot_scheduler_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
#line 262 "/home/jens/Source/shotwell/src/util/misc.vala"
if (collect_values[0].v_pointer) {
-#line 2452 "misc.c"
+#line 2449 "misc.c"
OneShotScheduler* object;
object = collect_values[0].v_pointer;
#line 262 "/home/jens/Source/shotwell/src/util/misc.vala"
if (object->parent_instance.g_class == NULL) {
#line 262 "/home/jens/Source/shotwell/src/util/misc.vala"
return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 2459 "misc.c"
+#line 2456 "misc.c"
} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
#line 262 "/home/jens/Source/shotwell/src/util/misc.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 2463 "misc.c"
+#line 2460 "misc.c"
}
#line 262 "/home/jens/Source/shotwell/src/util/misc.vala"
value->data[0].v_pointer = one_shot_scheduler_ref (object);
-#line 2467 "misc.c"
+#line 2464 "misc.c"
} else {
#line 262 "/home/jens/Source/shotwell/src/util/misc.vala"
value->data[0].v_pointer = NULL;
-#line 2471 "misc.c"
+#line 2468 "misc.c"
}
#line 262 "/home/jens/Source/shotwell/src/util/misc.vala"
return NULL;
-#line 2475 "misc.c"
+#line 2472 "misc.c"
}
@@ -2482,25 +2479,25 @@ static gchar* value_one_shot_scheduler_lcopy_value (const GValue* value, guint n
if (!object_p) {
#line 262 "/home/jens/Source/shotwell/src/util/misc.vala"
return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
-#line 2486 "misc.c"
+#line 2483 "misc.c"
}
#line 262 "/home/jens/Source/shotwell/src/util/misc.vala"
if (!value->data[0].v_pointer) {
#line 262 "/home/jens/Source/shotwell/src/util/misc.vala"
*object_p = NULL;
-#line 2492 "misc.c"
+#line 2489 "misc.c"
} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
#line 262 "/home/jens/Source/shotwell/src/util/misc.vala"
*object_p = value->data[0].v_pointer;
-#line 2496 "misc.c"
+#line 2493 "misc.c"
} else {
#line 262 "/home/jens/Source/shotwell/src/util/misc.vala"
*object_p = one_shot_scheduler_ref (value->data[0].v_pointer);
-#line 2500 "misc.c"
+#line 2497 "misc.c"
}
#line 262 "/home/jens/Source/shotwell/src/util/misc.vala"
return NULL;
-#line 2504 "misc.c"
+#line 2501 "misc.c"
}
@@ -2514,7 +2511,7 @@ GParamSpec* param_spec_one_shot_scheduler (const gchar* name, const gchar* nick,
G_PARAM_SPEC (spec)->value_type = object_type;
#line 262 "/home/jens/Source/shotwell/src/util/misc.vala"
return G_PARAM_SPEC (spec);
-#line 2518 "misc.c"
+#line 2515 "misc.c"
}
@@ -2523,7 +2520,7 @@ gpointer value_get_one_shot_scheduler (const GValue* value) {
g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_ONE_SHOT_SCHEDULER), NULL);
#line 262 "/home/jens/Source/shotwell/src/util/misc.vala"
return value->data[0].v_pointer;
-#line 2527 "misc.c"
+#line 2524 "misc.c"
}
@@ -2543,17 +2540,17 @@ void value_set_one_shot_scheduler (GValue* value, gpointer v_object) {
value->data[0].v_pointer = v_object;
#line 262 "/home/jens/Source/shotwell/src/util/misc.vala"
one_shot_scheduler_ref (value->data[0].v_pointer);
-#line 2547 "misc.c"
+#line 2544 "misc.c"
} else {
#line 262 "/home/jens/Source/shotwell/src/util/misc.vala"
value->data[0].v_pointer = NULL;
-#line 2551 "misc.c"
+#line 2548 "misc.c"
}
#line 262 "/home/jens/Source/shotwell/src/util/misc.vala"
if (old) {
#line 262 "/home/jens/Source/shotwell/src/util/misc.vala"
one_shot_scheduler_unref (old);
-#line 2557 "misc.c"
+#line 2554 "misc.c"
}
}
@@ -2572,17 +2569,17 @@ void value_take_one_shot_scheduler (GValue* value, gpointer v_object) {
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 262 "/home/jens/Source/shotwell/src/util/misc.vala"
value->data[0].v_pointer = v_object;
-#line 2576 "misc.c"
+#line 2573 "misc.c"
} else {
#line 262 "/home/jens/Source/shotwell/src/util/misc.vala"
value->data[0].v_pointer = NULL;
-#line 2580 "misc.c"
+#line 2577 "misc.c"
}
#line 262 "/home/jens/Source/shotwell/src/util/misc.vala"
if (old) {
#line 262 "/home/jens/Source/shotwell/src/util/misc.vala"
one_shot_scheduler_unref (old);
-#line 2586 "misc.c"
+#line 2583 "misc.c"
}
}
@@ -2594,7 +2591,7 @@ static void one_shot_scheduler_class_init (OneShotSchedulerClass * klass) {
((OneShotSchedulerClass *) klass)->finalize = one_shot_scheduler_finalize;
#line 262 "/home/jens/Source/shotwell/src/util/misc.vala"
g_type_class_add_private (klass, sizeof (OneShotSchedulerPrivate));
-#line 2598 "misc.c"
+#line 2595 "misc.c"
}
@@ -2605,7 +2602,7 @@ static void one_shot_scheduler_instance_init (OneShotScheduler * self) {
self->priv->scheduled = (guint) 0;
#line 262 "/home/jens/Source/shotwell/src/util/misc.vala"
self->ref_count = 1;
-#line 2609 "misc.c"
+#line 2606 "misc.c"
}
@@ -2619,7 +2616,7 @@ static void one_shot_scheduler_finalize (OneShotScheduler* obj) {
one_shot_scheduler_cancel (self);
#line 263 "/home/jens/Source/shotwell/src/util/misc.vala"
_g_free0 (self->priv->name);
-#line 2623 "misc.c"
+#line 2620 "misc.c"
}
@@ -2644,7 +2641,7 @@ gpointer one_shot_scheduler_ref (gpointer instance) {
g_atomic_int_inc (&self->ref_count);
#line 262 "/home/jens/Source/shotwell/src/util/misc.vala"
return instance;
-#line 2648 "misc.c"
+#line 2645 "misc.c"
}
@@ -2657,7 +2654,7 @@ void one_shot_scheduler_unref (gpointer instance) {
ONE_SHOT_SCHEDULER_GET_CLASS (self)->finalize (self);
#line 262 "/home/jens/Source/shotwell/src/util/misc.vala"
g_type_free_instance ((GTypeInstance *) self);
-#line 2661 "misc.c"
+#line 2658 "misc.c"
}
}
@@ -2680,14 +2677,14 @@ OpTimer* op_timer_construct (GType object_type, const gchar* name) {
self->priv->name = _tmp1_;
#line 331 "/home/jens/Source/shotwell/src/util/misc.vala"
return self;
-#line 2684 "misc.c"
+#line 2681 "misc.c"
}
OpTimer* op_timer_new (const gchar* name) {
#line 331 "/home/jens/Source/shotwell/src/util/misc.vala"
return op_timer_construct (TYPE_OP_TIMER, name);
-#line 2691 "misc.c"
+#line 2688 "misc.c"
}
@@ -2699,7 +2696,7 @@ void op_timer_start (OpTimer* self) {
_tmp0_ = self->priv->timer;
#line 336 "/home/jens/Source/shotwell/src/util/misc.vala"
g_timer_start (_tmp0_);
-#line 2703 "misc.c"
+#line 2700 "misc.c"
}
@@ -2734,13 +2731,13 @@ void op_timer_stop (OpTimer* self) {
_tmp5_ = self->priv->shortest;
#line 344 "/home/jens/Source/shotwell/src/util/misc.vala"
if (_tmp4_ < _tmp5_) {
-#line 2738 "misc.c"
+#line 2735 "misc.c"
gdouble _tmp6_ = 0.0;
#line 345 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp6_ = time;
#line 345 "/home/jens/Source/shotwell/src/util/misc.vala"
self->priv->shortest = _tmp6_;
-#line 2744 "misc.c"
+#line 2741 "misc.c"
}
#line 347 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp7_ = time;
@@ -2748,19 +2745,19 @@ void op_timer_stop (OpTimer* self) {
_tmp8_ = self->priv->longest;
#line 347 "/home/jens/Source/shotwell/src/util/misc.vala"
if (_tmp7_ > _tmp8_) {
-#line 2752 "misc.c"
+#line 2749 "misc.c"
gdouble _tmp9_ = 0.0;
#line 348 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp9_ = time;
#line 348 "/home/jens/Source/shotwell/src/util/misc.vala"
self->priv->longest = _tmp9_;
-#line 2758 "misc.c"
+#line 2755 "misc.c"
}
#line 350 "/home/jens/Source/shotwell/src/util/misc.vala"
_tmp10_ = self->priv->count;
#line 350 "/home/jens/Source/shotwell/src/util/misc.vala"
self->priv->count = _tmp10_ + 1;
-#line 2764 "misc.c"
+#line 2761 "misc.c"
}
@@ -2773,7 +2770,7 @@ gchar* op_timer_to_string (OpTimer* self) {
_tmp0_ = self->priv->count;
#line 354 "/home/jens/Source/shotwell/src/util/misc.vala"
if (_tmp0_ > ((glong) 0)) {
-#line 2777 "misc.c"
+#line 2774 "misc.c"
const gchar* _tmp1_ = NULL;
glong _tmp2_ = 0L;
gdouble _tmp3_ = 0.0;
@@ -2802,7 +2799,7 @@ gchar* op_timer_to_string (OpTimer* self) {
result = _tmp8_;
#line 355 "/home/jens/Source/shotwell/src/util/misc.vala"
return result;
-#line 2806 "misc.c"
+#line 2803 "misc.c"
} else {
const gchar* _tmp9_ = NULL;
gchar* _tmp10_ = NULL;
@@ -2814,7 +2811,7 @@ gchar* op_timer_to_string (OpTimer* self) {
result = _tmp10_;
#line 358 "/home/jens/Source/shotwell/src/util/misc.vala"
return result;
-#line 2818 "misc.c"
+#line 2815 "misc.c"
}
}
@@ -2822,7 +2819,7 @@ gchar* op_timer_to_string (OpTimer* self) {
static void value_op_timer_init (GValue* value) {
#line 323 "/home/jens/Source/shotwell/src/util/misc.vala"
value->data[0].v_pointer = NULL;
-#line 2826 "misc.c"
+#line 2823 "misc.c"
}
@@ -2831,7 +2828,7 @@ static void value_op_timer_free_value (GValue* value) {
if (value->data[0].v_pointer) {
#line 323 "/home/jens/Source/shotwell/src/util/misc.vala"
op_timer_unref (value->data[0].v_pointer);
-#line 2835 "misc.c"
+#line 2832 "misc.c"
}
}
@@ -2841,11 +2838,11 @@ static void value_op_timer_copy_value (const GValue* src_value, GValue* dest_val
if (src_value->data[0].v_pointer) {
#line 323 "/home/jens/Source/shotwell/src/util/misc.vala"
dest_value->data[0].v_pointer = op_timer_ref (src_value->data[0].v_pointer);
-#line 2845 "misc.c"
+#line 2842 "misc.c"
} else {
#line 323 "/home/jens/Source/shotwell/src/util/misc.vala"
dest_value->data[0].v_pointer = NULL;
-#line 2849 "misc.c"
+#line 2846 "misc.c"
}
}
@@ -2853,37 +2850,37 @@ static void value_op_timer_copy_value (const GValue* src_value, GValue* dest_val
static gpointer value_op_timer_peek_pointer (const GValue* value) {
#line 323 "/home/jens/Source/shotwell/src/util/misc.vala"
return value->data[0].v_pointer;
-#line 2857 "misc.c"
+#line 2854 "misc.c"
}
static gchar* value_op_timer_collect_value (GValue* value, guint n_collect_values, GTypeCValue* collect_values, guint collect_flags) {
#line 323 "/home/jens/Source/shotwell/src/util/misc.vala"
if (collect_values[0].v_pointer) {
-#line 2864 "misc.c"
+#line 2861 "misc.c"
OpTimer* object;
object = collect_values[0].v_pointer;
#line 323 "/home/jens/Source/shotwell/src/util/misc.vala"
if (object->parent_instance.g_class == NULL) {
#line 323 "/home/jens/Source/shotwell/src/util/misc.vala"
return g_strconcat ("invalid unclassed object pointer for value type `", G_VALUE_TYPE_NAME (value), "'", NULL);
-#line 2871 "misc.c"
+#line 2868 "misc.c"
} else if (!g_value_type_compatible (G_TYPE_FROM_INSTANCE (object), G_VALUE_TYPE (value))) {
#line 323 "/home/jens/Source/shotwell/src/util/misc.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 2875 "misc.c"
+#line 2872 "misc.c"
}
#line 323 "/home/jens/Source/shotwell/src/util/misc.vala"
value->data[0].v_pointer = op_timer_ref (object);
-#line 2879 "misc.c"
+#line 2876 "misc.c"
} else {
#line 323 "/home/jens/Source/shotwell/src/util/misc.vala"
value->data[0].v_pointer = NULL;
-#line 2883 "misc.c"
+#line 2880 "misc.c"
}
#line 323 "/home/jens/Source/shotwell/src/util/misc.vala"
return NULL;
-#line 2887 "misc.c"
+#line 2884 "misc.c"
}
@@ -2894,25 +2891,25 @@ static gchar* value_op_timer_lcopy_value (const GValue* value, guint n_collect_v
if (!object_p) {
#line 323 "/home/jens/Source/shotwell/src/util/misc.vala"
return g_strdup_printf ("value location for `%s' passed as NULL", G_VALUE_TYPE_NAME (value));
-#line 2898 "misc.c"
+#line 2895 "misc.c"
}
#line 323 "/home/jens/Source/shotwell/src/util/misc.vala"
if (!value->data[0].v_pointer) {
#line 323 "/home/jens/Source/shotwell/src/util/misc.vala"
*object_p = NULL;
-#line 2904 "misc.c"
+#line 2901 "misc.c"
} else if (collect_flags & G_VALUE_NOCOPY_CONTENTS) {
#line 323 "/home/jens/Source/shotwell/src/util/misc.vala"
*object_p = value->data[0].v_pointer;
-#line 2908 "misc.c"
+#line 2905 "misc.c"
} else {
#line 323 "/home/jens/Source/shotwell/src/util/misc.vala"
*object_p = op_timer_ref (value->data[0].v_pointer);
-#line 2912 "misc.c"
+#line 2909 "misc.c"
}
#line 323 "/home/jens/Source/shotwell/src/util/misc.vala"
return NULL;
-#line 2916 "misc.c"
+#line 2913 "misc.c"
}
@@ -2926,7 +2923,7 @@ GParamSpec* param_spec_op_timer (const gchar* name, const gchar* nick, const gch
G_PARAM_SPEC (spec)->value_type = object_type;
#line 323 "/home/jens/Source/shotwell/src/util/misc.vala"
return G_PARAM_SPEC (spec);
-#line 2930 "misc.c"
+#line 2927 "misc.c"
}
@@ -2935,7 +2932,7 @@ gpointer value_get_op_timer (const GValue* value) {
g_return_val_if_fail (G_TYPE_CHECK_VALUE_TYPE (value, TYPE_OP_TIMER), NULL);
#line 323 "/home/jens/Source/shotwell/src/util/misc.vala"
return value->data[0].v_pointer;
-#line 2939 "misc.c"
+#line 2936 "misc.c"
}
@@ -2955,17 +2952,17 @@ void value_set_op_timer (GValue* value, gpointer v_object) {
value->data[0].v_pointer = v_object;
#line 323 "/home/jens/Source/shotwell/src/util/misc.vala"
op_timer_ref (value->data[0].v_pointer);
-#line 2959 "misc.c"
+#line 2956 "misc.c"
} else {
#line 323 "/home/jens/Source/shotwell/src/util/misc.vala"
value->data[0].v_pointer = NULL;
-#line 2963 "misc.c"
+#line 2960 "misc.c"
}
#line 323 "/home/jens/Source/shotwell/src/util/misc.vala"
if (old) {
#line 323 "/home/jens/Source/shotwell/src/util/misc.vala"
op_timer_unref (old);
-#line 2969 "misc.c"
+#line 2966 "misc.c"
}
}
@@ -2984,17 +2981,17 @@ void value_take_op_timer (GValue* value, gpointer v_object) {
g_return_if_fail (g_value_type_compatible (G_TYPE_FROM_INSTANCE (v_object), G_VALUE_TYPE (value)));
#line 323 "/home/jens/Source/shotwell/src/util/misc.vala"
value->data[0].v_pointer = v_object;
-#line 2988 "misc.c"
+#line 2985 "misc.c"
} else {
#line 323 "/home/jens/Source/shotwell/src/util/misc.vala"
value->data[0].v_pointer = NULL;
-#line 2992 "misc.c"
+#line 2989 "misc.c"
}
#line 323 "/home/jens/Source/shotwell/src/util/misc.vala"
if (old) {
#line 323 "/home/jens/Source/shotwell/src/util/misc.vala"
op_timer_unref (old);
-#line 2998 "misc.c"
+#line 2995 "misc.c"
}
}
@@ -3006,7 +3003,7 @@ static void op_timer_class_init (OpTimerClass * klass) {
((OpTimerClass *) klass)->finalize = op_timer_finalize;
#line 323 "/home/jens/Source/shotwell/src/util/misc.vala"
g_type_class_add_private (klass, sizeof (OpTimerPrivate));
-#line 3010 "misc.c"
+#line 3007 "misc.c"
}
@@ -3028,7 +3025,7 @@ static void op_timer_instance_init (OpTimer * self) {
self->priv->longest = DBL_MIN;
#line 323 "/home/jens/Source/shotwell/src/util/misc.vala"
self->ref_count = 1;
-#line 3032 "misc.c"
+#line 3029 "misc.c"
}
@@ -3042,7 +3039,7 @@ static void op_timer_finalize (OpTimer* obj) {
_g_free0 (self->priv->name);
#line 325 "/home/jens/Source/shotwell/src/util/misc.vala"
_g_timer_destroy0 (self->priv->timer);
-#line 3046 "misc.c"
+#line 3043 "misc.c"
}
@@ -3067,7 +3064,7 @@ gpointer op_timer_ref (gpointer instance) {
g_atomic_int_inc (&self->ref_count);
#line 323 "/home/jens/Source/shotwell/src/util/misc.vala"
return instance;
-#line 3071 "misc.c"
+#line 3068 "misc.c"
}
@@ -3080,58 +3077,9 @@ void op_timer_unref (gpointer instance) {
OP_TIMER_GET_CLASS (self)->finalize (self);
#line 323 "/home/jens/Source/shotwell/src/util/misc.vala"
g_type_free_instance ((GTypeInstance *) self);
-#line 3084 "misc.c"
+#line 3081 "misc.c"
}
}
-void suppress_warnings (const gchar* log_domain, GLogLevelFlags log_levels, const gchar* message) {
-#line 369 "/home/jens/Source/shotwell/src/util/misc.vala"
- g_return_if_fail (message != NULL);
-#line 3092 "misc.c"
-}
-
-
-static void g_time_local (time_t time, struct tm* result) {
- struct tm _result_ = {0};
- struct tm _tmp0_ = {0};
-#line 2750 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
- localtime_r (&time, &_tmp0_);
-#line 2750 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
- _result_ = _tmp0_;
-#line 2751 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
- *result = _result_;
-#line 2751 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
- return;
-#line 3107 "misc.c"
-}
-
-
-gboolean is_twentyfour_hr_time_system (void) {
- gboolean result = FALSE;
- struct tm _tmp0_ = {0};
- gchar* _tmp1_ = NULL;
- gchar* _tmp2_ = NULL;
- gboolean _tmp3_ = FALSE;
- gboolean _tmp4_ = FALSE;
-#line 375 "/home/jens/Source/shotwell/src/util/misc.vala"
- g_time_local ((time_t) 0, &_tmp0_);
-#line 375 "/home/jens/Source/shotwell/src/util/misc.vala"
- _tmp1_ = g_time_format (&_tmp0_, "%p");
-#line 375 "/home/jens/Source/shotwell/src/util/misc.vala"
- _tmp2_ = _tmp1_;
-#line 375 "/home/jens/Source/shotwell/src/util/misc.vala"
- _tmp3_ = is_string_empty (_tmp2_);
-#line 375 "/home/jens/Source/shotwell/src/util/misc.vala"
- _tmp4_ = _tmp3_;
-#line 375 "/home/jens/Source/shotwell/src/util/misc.vala"
- _g_free0 (_tmp2_);
-#line 375 "/home/jens/Source/shotwell/src/util/misc.vala"
- result = _tmp4_;
-#line 375 "/home/jens/Source/shotwell/src/util/misc.vala"
- return result;
-#line 3134 "misc.c"
-}
-
-
diff --git a/src/util/misc.vala b/src/util/misc.vala
index cc6a278..cbc6dfa 100644
--- a/src/util/misc.vala
+++ b/src/util/misc.vala
@@ -360,18 +360,3 @@ public class OpTimer {
}
}
-// Dummy function for suppressing 'could not stat file' errors
-// generated when saving into a previously non-existent file -
-// please see https://bugzilla.gnome.org/show_bug.cgi?id=662814
-// and to work around a spurious warning given by GDK when a
-// key press event is passed from a child class' event handler
-// to a parent's; (gnome bug pending, but see https://bugzilla.redhat.com/show_bug.cgi?id=665568).
-public void suppress_warnings(string? log_domain, LogLevelFlags log_levels, string message) {
- // do nothing.
-}
-
-public bool is_twentyfour_hr_time_system() {
- // if no AM/PM designation is found, the location is set to use a 24 hr time system
- return is_string_empty(Time.local(0).format("%p"));
-}
-
diff --git a/src/util/string.c b/src/util/string.c
index ccf6504..4cfeedd 100644
--- a/src/util/string.c
+++ b/src/util/string.c
@@ -1,4 +1,4 @@
-/* string.c generated by valac 0.34.2, the Vala compiler
+/* string.c generated by valac 0.32.1, the Vala compiler
* generated from string.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
@@ -65,15 +65,15 @@ static gchar string_get (const gchar* self, glong index) {
gchar result = '\0';
glong _tmp0_ = 0L;
gchar _tmp1_ = '\0';
-#line 1086 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1086 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, '\0');
-#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = index;
-#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = ((gchar*) self)[_tmp0_];
-#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp1_;
-#line 1087 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1087 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 79 "string.c"
}
@@ -614,19 +614,19 @@ static gchar* string_strip (const gchar* self) {
gchar* _result_ = NULL;
gchar* _tmp0_ = NULL;
const gchar* _tmp1_ = NULL;
-#line 1207 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1207 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1208 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1208 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = g_strdup (self);
-#line 1208 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1208 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_result_ = _tmp0_;
-#line 1209 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1209 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = _result_;
-#line 1209 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1209 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_strstrip (_tmp1_);
-#line 1210 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1210 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _result_;
-#line 1210 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1210 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 632 "string.c"
}
@@ -639,25 +639,25 @@ static gchar* string_delimit (const gchar* self, const gchar* delimiters, gchar
const gchar* _tmp1_ = NULL;
const gchar* _tmp2_ = NULL;
gchar _tmp3_ = '\0';
-#line 1215 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1215 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1215 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1215 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (delimiters != NULL, NULL);
-#line 1216 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1216 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = g_strdup (self);
-#line 1216 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1216 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_result_ = _tmp0_;
-#line 1217 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1217 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = _result_;
-#line 1217 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1217 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = delimiters;
-#line 1217 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1217 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = new_delimiter;
-#line 1217 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1217 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_strdelimit (_tmp1_, _tmp2_, _tmp3_);
-#line 1218 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1218 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _result_;
-#line 1218 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1218 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 663 "string.c"
}
@@ -895,33 +895,33 @@ static gint string_index_of_char (const gchar* self, gunichar c, gint start_inde
gunichar _tmp1_ = 0U;
gchar* _tmp2_ = NULL;
gchar* _tmp3_ = NULL;
-#line 1007 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1007 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, 0);
-#line 1008 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1008 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = start_index;
-#line 1008 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1008 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = c;
-#line 1008 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1008 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = g_utf8_strchr (((gchar*) self) + _tmp0_, (gssize) -1, _tmp1_);
-#line 1008 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1008 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_result_ = _tmp2_;
-#line 1010 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1010 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = _result_;
-#line 1010 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1010 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp3_ != NULL) {
#line 913 "string.c"
gchar* _tmp4_ = NULL;
-#line 1011 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1011 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = _result_;
-#line 1011 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1011 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = (gint) (_tmp4_ - ((gchar*) self));
-#line 1011 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1011 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 921 "string.c"
} else {
-#line 1013 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1013 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = -1;
-#line 1013 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1013 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 927 "string.c"
}
@@ -956,35 +956,35 @@ static gint string_index_of (const gchar* self, const gchar* needle, gint start_
const gchar* _tmp1_ = NULL;
gchar* _tmp2_ = NULL;
gchar* _tmp3_ = NULL;
-#line 987 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 987 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, 0);
-#line 987 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 987 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (needle != NULL, 0);
-#line 988 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 988 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = start_index;
-#line 988 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 988 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = needle;
-#line 988 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 988 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = strstr (((gchar*) self) + _tmp0_, (gchar*) _tmp1_);
-#line 988 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 988 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_result_ = _tmp2_;
-#line 990 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 990 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = _result_;
-#line 990 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 990 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp3_ != NULL) {
#line 976 "string.c"
gchar* _tmp4_ = NULL;
-#line 991 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 991 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = _result_;
-#line 991 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 991 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = (gint) (_tmp4_ - ((gchar*) self));
-#line 991 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 991 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 984 "string.c"
} else {
-#line 993 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 993 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = -1;
-#line 993 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 993 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 990 "string.c"
}
@@ -1031,103 +1031,103 @@ static gchar* string_slice (const gchar* self, glong start, glong end) {
glong _tmp19_ = 0L;
glong _tmp20_ = 0L;
gchar* _tmp21_ = NULL;
-#line 1328 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1328 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, NULL);
-#line 1329 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1329 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = strlen (self);
-#line 1329 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1329 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = _tmp0_;
-#line 1329 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1329 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
string_length = (glong) _tmp1_;
-#line 1330 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1330 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = start;
-#line 1330 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1330 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp2_ < ((glong) 0)) {
#line 1047 "string.c"
glong _tmp3_ = 0L;
glong _tmp4_ = 0L;
-#line 1331 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1331 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = string_length;
-#line 1331 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1331 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = start;
-#line 1331 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1331 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
start = _tmp3_ + _tmp4_;
#line 1056 "string.c"
}
-#line 1333 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1333 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp5_ = end;
-#line 1333 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1333 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp5_ < ((glong) 0)) {
#line 1062 "string.c"
glong _tmp6_ = 0L;
glong _tmp7_ = 0L;
-#line 1334 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1334 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp6_ = string_length;
-#line 1334 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1334 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp7_ = end;
-#line 1334 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1334 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
end = _tmp6_ + _tmp7_;
#line 1071 "string.c"
}
-#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp9_ = start;
-#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp9_ >= ((glong) 0)) {
#line 1077 "string.c"
glong _tmp10_ = 0L;
glong _tmp11_ = 0L;
-#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp10_ = start;
-#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp11_ = string_length;
-#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp8_ = _tmp10_ <= _tmp11_;
#line 1086 "string.c"
} else {
-#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp8_ = FALSE;
#line 1090 "string.c"
}
-#line 1336 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1336 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp8_, NULL);
-#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp13_ = end;
-#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp13_ >= ((glong) 0)) {
#line 1098 "string.c"
glong _tmp14_ = 0L;
glong _tmp15_ = 0L;
-#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp14_ = end;
-#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp15_ = string_length;
-#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp12_ = _tmp14_ <= _tmp15_;
#line 1107 "string.c"
} else {
-#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp12_ = FALSE;
#line 1111 "string.c"
}
-#line 1337 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1337 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp12_, NULL);
-#line 1338 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1338 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp16_ = start;
-#line 1338 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1338 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp17_ = end;
-#line 1338 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1338 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (_tmp16_ <= _tmp17_, NULL);
-#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp18_ = start;
-#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp19_ = end;
-#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp20_ = start;
-#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp21_ = g_strndup (((gchar*) self) + _tmp18_, (gsize) (_tmp19_ - _tmp20_));
-#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp21_;
-#line 1339 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1339 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 1133 "string.c"
}
@@ -1221,35 +1221,35 @@ static gint string_last_index_of (const gchar* self, const gchar* needle, gint s
const gchar* _tmp1_ = NULL;
gchar* _tmp2_ = NULL;
gchar* _tmp3_ = NULL;
-#line 997 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 997 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, 0);
-#line 997 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 997 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (needle != NULL, 0);
-#line 998 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 998 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = start_index;
-#line 998 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 998 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = needle;
-#line 998 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 998 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = g_strrstr (((gchar*) self) + _tmp0_, (gchar*) _tmp1_);
-#line 998 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 998 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_result_ = _tmp2_;
-#line 1000 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1000 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = _result_;
-#line 1000 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1000 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp3_ != NULL) {
#line 1241 "string.c"
gchar* _tmp4_ = NULL;
-#line 1001 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1001 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = _result_;
-#line 1001 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1001 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = (gint) (_tmp4_ - ((gchar*) self));
-#line 1001 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1001 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 1249 "string.c"
} else {
-#line 1003 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1003 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = -1;
-#line 1003 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1003 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 1255 "string.c"
}
@@ -1325,33 +1325,33 @@ static gint string_last_index_of_char (const gchar* self, gunichar c, gint start
gunichar _tmp1_ = 0U;
gchar* _tmp2_ = NULL;
gchar* _tmp3_ = NULL;
-#line 1017 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1017 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, 0);
-#line 1018 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1018 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = start_index;
-#line 1018 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1018 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = c;
-#line 1018 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1018 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = g_utf8_strrchr (((gchar*) self) + _tmp0_, (gssize) -1, _tmp1_);
-#line 1018 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1018 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_result_ = _tmp2_;
-#line 1020 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1020 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = _result_;
-#line 1020 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1020 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp3_ != NULL) {
#line 1343 "string.c"
gchar* _tmp4_ = NULL;
-#line 1021 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1021 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = _result_;
-#line 1021 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1021 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = (gint) (_tmp4_ - ((gchar*) self));
-#line 1021 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1021 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 1351 "string.c"
} else {
-#line 1023 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1023 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = -1;
-#line 1023 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1023 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 1357 "string.c"
}
@@ -1392,15 +1392,15 @@ static gunichar string_get_char (const gchar* self, glong index) {
gunichar result = 0U;
glong _tmp0_ = 0L;
gunichar _tmp1_ = 0U;
-#line 1116 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1116 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, 0U);
-#line 1117 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1117 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = index;
-#line 1117 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1117 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = g_utf8_get_char (((gchar*) self) + _tmp0_);
-#line 1117 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1117 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = _tmp1_;
-#line 1117 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1117 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 1406 "string.c"
}
@@ -1537,54 +1537,54 @@ static gboolean string_get_next_char (const gchar* self, gint* index, gunichar*
gint _tmp0_ = 0;
gunichar _tmp1_ = 0U;
gunichar _tmp2_ = 0U;
-#line 1105 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1105 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
g_return_val_if_fail (self != NULL, FALSE);
-#line 1106 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1106 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp0_ = *index;
-#line 1106 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1106 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp1_ = g_utf8_get_char (((gchar*) self) + _tmp0_);
-#line 1106 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1106 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_vala_c = _tmp1_;
-#line 1107 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1107 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp2_ = _vala_c;
-#line 1107 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1107 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (_tmp2_ != ((gunichar) 0)) {
#line 1553 "string.c"
gint _tmp3_ = 0;
gchar* _tmp4_ = NULL;
-#line 1108 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1108 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp3_ = *index;
-#line 1108 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1108 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
_tmp4_ = g_utf8_next_char (((gchar*) self) + _tmp3_);
-#line 1108 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1108 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
*index = (gint) (_tmp4_ - ((gchar*) self));
-#line 1109 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1109 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = TRUE;
-#line 1109 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1109 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (c) {
-#line 1109 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1109 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
*c = _vala_c;
#line 1568 "string.c"
}
-#line 1109 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1109 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 1572 "string.c"
} else {
-#line 1111 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1111 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
result = FALSE;
-#line 1111 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1111 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (c) {
-#line 1111 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1111 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
*c = _vala_c;
#line 1580 "string.c"
}
-#line 1111 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1111 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
return result;
#line 1584 "string.c"
}
-#line 1105 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1105 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
if (c) {
-#line 1105 "/usr/share/vala-0.34/vapi/glib-2.0.vapi"
+#line 1105 "/usr/share/vala-0.32/vapi/glib-2.0.vapi"
*c = _vala_c;
#line 1590 "string.c"
}
diff --git a/src/util/system.c b/src/util/system.c
index 8ab729d..cef9603 100644
--- a/src/util/system.c
+++ b/src/util/system.c
@@ -1,4 +1,4 @@
-/* system.c generated by valac 0.34.2, the Vala compiler
+/* system.c generated by valac 0.32.1, the Vala compiler
* generated from system.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/src/util/ui.c b/src/util/ui.c
index 56a355a..ee1017e 100644
--- a/src/util/ui.c
+++ b/src/util/ui.c
@@ -1,4 +1,4 @@
-/* ui.c generated by valac 0.34.2, the Vala compiler
+/* ui.c generated by valac 0.32.1, the Vala compiler
* generated from ui.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/thumbnailer/shotwell-video-thumbnailer.c b/thumbnailer/shotwell-video-thumbnailer.c
index 3a9f7a3..cb0a832 100644
--- a/thumbnailer/shotwell-video-thumbnailer.c
+++ b/thumbnailer/shotwell-video-thumbnailer.c
@@ -1,4 +1,4 @@
-/* shotwell-video-thumbnailer.c generated by valac 0.34.2, the Vala compiler
+/* shotwell-video-thumbnailer.c generated by valac 0.32.1, the Vala compiler
* generated from shotwell-video-thumbnailer.vala, do not modify */
/* Copyright 2016 Software Freedom Conservancy Inc.
diff --git a/ui/Makefile.am b/ui/Makefile.am
index 6010b27..7bcf37d 100644
--- a/ui/Makefile.am
+++ b/ui/Makefile.am
@@ -15,15 +15,17 @@ dist_ui_DATA = \
savedsearch.ui \
search_bar.ui \
search_sidebar_context.ui \
- set_background_dialog.ui \
- set_background_slideshow_dialog.ui \
shotwell.ui \
- shotwell.xml \
sidebar_default_context.ui \
tag_sidebar_context.ui \
tags.ui \
top.ui \
trash.ui
+dist_noinst_DATA = \
+ appmenu.ui \
+ set_background_dialog.ui \
+ set_background_slideshow_dialog.ui
+
-include $(top_srcdir)/git.mk
diff --git a/ui/Makefile.in b/ui/Makefile.in
index 3ec2b7c..2e3b7c5 100644
--- a/ui/Makefile.in
+++ b/ui/Makefile.in
@@ -106,7 +106,8 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/appdata-xml.m4 \
$(top_srcdir)/m4/yelp.m4 $(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
-DIST_COMMON = $(srcdir)/Makefile.am $(dist_ui_DATA) $(am__DIST_COMMON)
+DIST_COMMON = $(srcdir)/Makefile.am $(dist_noinst_DATA) \
+ $(dist_ui_DATA) $(am__DIST_COMMON)
mkinstalldirs = $(install_sh) -d
CONFIG_HEADER = $(top_builddir)/config.h
CONFIG_CLEAN_FILES =
@@ -158,7 +159,7 @@ am__uninstall_files_from_dir = { \
$(am__cd) "$$dir" && rm -f $$files; }; \
}
am__installdirs = "$(DESTDIR)$(uidir)"
-DATA = $(dist_ui_DATA)
+DATA = $(dist_noinst_DATA) $(dist_ui_DATA)
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
am__DIST_COMMON = $(srcdir)/Makefile.in
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
@@ -354,16 +355,18 @@ dist_ui_DATA = \
savedsearch.ui \
search_bar.ui \
search_sidebar_context.ui \
- set_background_dialog.ui \
- set_background_slideshow_dialog.ui \
shotwell.ui \
- shotwell.xml \
sidebar_default_context.ui \
tag_sidebar_context.ui \
tags.ui \
top.ui \
trash.ui
+dist_noinst_DATA = \
+ appmenu.ui \
+ set_background_dialog.ui \
+ set_background_slideshow_dialog.ui
+
all: all-am
.SUFFIXES:
diff --git a/ui/appmenu.ui b/ui/appmenu.ui
new file mode 100644
index 0000000..72e5424
--- /dev/null
+++ b/ui/appmenu.ui
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Generated with glade 3.20.0 -->
+<interface domain="shotwell">
+ <requires lib="gtk+" version="3.14"/>
+ <menu id="appmenu">
+ <section>
+ <item>
+ <attribute name="label" translatable="yes">_Preferences</attribute>
+ <attribute name="action">win.CommonPreferences</attribute>
+ </item>
+ </section>
+ <section>
+ <item>
+ <attribute name="label" translatable="yes">_Help</attribute>
+ <attribute name="accel">F1</attribute>
+ <attribute name="action">win.CommonHelpContents</attribute>
+ </item>
+ <item>
+ <attribute name="label" translatable="yes">_Frequently Asked Questions</attribute>
+ <attribute name="action">win.CommonHelpFAQ</attribute>
+ </item>
+ <item>
+ <attribute name="label" translatable="yes">_Report a Problem…</attribute>
+ <attribute name="action">win.CommonHelpReportProblem</attribute>
+ </item>
+ <item>
+ <attribute name="label" translatable="yes">_About</attribute>
+ <attribute name="action">win.CommonAbout</attribute>
+ </item>
+ </section>
+ <section>
+ <item>
+ <attribute name="label" translatable="yes">_Quit</attribute>
+ <attribute name="accel">&lt;Primary&gt;q</attribute>
+ <attribute name="action">win.CommonQuit</attribute>
+ </item>
+ </section>
+ </menu>
+ <menu id="direct-appmenu">
+ <section>
+ <item>
+ <attribute name="label" translatable="yes">_Help</attribute>
+ <attribute name="accel">F1</attribute>
+ <attribute name="action">win.CommonHelpContents</attribute>
+ </item>
+ <item>
+ <attribute name="label" translatable="yes">_Frequently Asked Questions</attribute>
+ <attribute name="action">win.CommonHelpFAQ</attribute>
+ </item>
+ <item>
+ <attribute name="label" translatable="yes">_Report a Problem…</attribute>
+ <attribute name="action">win.CommonHelpReportProblem</attribute>
+ </item>
+ <item>
+ <attribute name="label" translatable="yes">_About</attribute>
+ <attribute name="action">win.CommonAbout</attribute>
+ </item>
+ </section>
+ <section>
+ <item>
+ <attribute name="label" translatable="yes">_Quit</attribute>
+ <attribute name="accel">&lt;Primary&gt;q</attribute>
+ <attribute name="action">win.CommonQuit</attribute>
+ </item>
+ </section>
+ </menu>
+</interface>
diff --git a/ui/direct.ui b/ui/direct.ui
index 75acb0f..6053967 100644
--- a/ui/direct.ui
+++ b/ui/direct.ui
@@ -32,13 +32,6 @@
<attribute name="action">win.CommonJumpToFile</attribute>
</item>
</section>
- <section>
- <item>
- <attribute name="label" translatable="yes">_Quit</attribute>
- <attribute name="accel">&lt;Primary&gt;q</attribute>
- <attribute name="action">win.CommonQuit</attribute>
- </item>
- </section>
</submenu>
<submenu>
<attribute name="label" translatable="yes">_Edit</attribute>
@@ -169,29 +162,5 @@
</item>
</section>
</submenu>
- <submenu>
- <attribute name="label" translatable="yes">_Help</attribute>
- <section>
- <item>
- <attribute name="label" translatable="yes">_Help</attribute>
- <attribute name="accel">F1</attribute>
- <attribute name="action">win.CommonHelpContents</attribute>
- </item>
- <item>
- <attribute name="label" translatable="yes">_Frequently Asked Questions</attribute>
- <attribute name="action">win.CommonHelpFAQ</attribute>
- </item>
- <item>
- <attribute name="label" translatable="yes">_Report a Problem…</attribute>
- <attribute name="action">win.CommonHelpReportProblem</attribute>
- </item>
- </section>
- <section>
- <item>
- <attribute name="label" translatable="yes">_About</attribute>
- <attribute name="action">win.CommonAbout</attribute>
- </item>
- </section>
- </submenu>
</menu>
</interface>
diff --git a/ui/event.ui b/ui/event.ui
index 11d9b74..c2bc6cb 100644
--- a/ui/event.ui
+++ b/ui/event.ui
@@ -88,12 +88,6 @@
<attribute name="action">win.CommonSelectAll</attribute>
</item>
</section>
- <section>
- <item>
- <attribute name="label" translatable="yes">_Preferences</attribute>
- <attribute name="action">win.CommonPreferences</attribute>
- </item>
- </section>
</submenu>
<submenu>
<attribute name="label" translatable="yes">_View</attribute>
@@ -414,30 +408,6 @@
</section>
</submenu>
<!-- Faces menu goes here FacesMenuPlaceholder -->
- <submenu>
- <attribute name="label" translatable="yes">_Help</attribute>
- <section>
- <item>
- <attribute name="label" translatable="yes">_Help</attribute>
- <attribute name="accel">F1</attribute>
- <attribute name="action">win.CommonHelpContents</attribute>
- </item>
- <item>
- <attribute name="label" translatable="yes">_Frequently Asked Questions</attribute>
- <attribute name="action">win.CommonHelpFAQ</attribute>
- </item>
- <item>
- <attribute name="label" translatable="yes">_Report a Problem…</attribute>
- <attribute name="action">win.CommonHelpReportProblem</attribute>
- </item>
- </section>
- <section>
- <item>
- <attribute name="label" translatable="yes">_About</attribute>
- <attribute name="action">win.CommonAbout</attribute>
- </item>
- </section>
- </submenu>
</menu>
<menu id="CollectionContextMenu">
<section>
diff --git a/ui/events_directory.ui b/ui/events_directory.ui
index 380da0a..ad4135e 100644
--- a/ui/events_directory.ui
+++ b/ui/events_directory.ui
@@ -20,13 +20,6 @@
<attribute name="action">win.CommonEmptyTrash</attribute>
</item>
</section>
- <section>
- <item>
- <attribute name="label" translatable="yes">_Quit</attribute>
- <attribute name="accel">&lt;Primary&gt;q</attribute>
- <attribute name="action">win.CommonQuit</attribute>
- </item>
- </section>
</submenu>
<submenu>
<attribute name="label" translatable="yes">_Edit</attribute>
@@ -60,12 +53,6 @@
<attribute name="action">win.CommonSelectAll</attribute>
</item>
</section>
- <section>
- <item>
- <attribute name="label" translatable="yes">_Preferences</attribute>
- <attribute name="action">win.CommonPreferences</attribute>
- </item>
- </section>
</submenu>
<submenu>
<attribute name="label" translatable="yes">_View</attribute>
@@ -146,30 +133,6 @@
</item>
</section>
</submenu>
- <submenu>
- <attribute name="label" translatable="yes">_Help</attribute>
- <section>
- <item>
- <attribute name="label" translatable="yes">_Help</attribute>
- <attribute name="accel">F1</attribute>
- <attribute name="action">win.CommonHelpContents</attribute>
- </item>
- <item>
- <attribute name="label" translatable="yes">_Frequently Asked Questions</attribute>
- <attribute name="action">win.CommonHelpFAQ</attribute>
- </item>
- <item>
- <attribute name="label" translatable="yes">_Report a Problem…</attribute>
- <attribute name="action">win.CommonHelpReportProblem</attribute>
- </item>
- </section>
- <section>
- <item>
- <attribute name="label" translatable="yes">_About</attribute>
- <attribute name="action">win.CommonAbout</attribute>
- </item>
- </section>
- </submenu>
</menu>
<menu id="EventsDirectoryContextMenu">
<section>
diff --git a/ui/import.ui b/ui/import.ui
index 522ca7b..af733bc 100644
--- a/ui/import.ui
+++ b/ui/import.ui
@@ -28,13 +28,6 @@
<attribute name="action">win.CommonEmptyTrash</attribute>
</item>
</section>
- <section>
- <item>
- <attribute name="label" translatable="yes">_Quit</attribute>
- <attribute name="accel">&lt;Primary&gt;q</attribute>
- <attribute name="action">win.CommonQuit</attribute>
- </item>
- </section>
</submenu>
<submenu>
<attribute name="label" translatable="yes">_Edit</attribute>
@@ -63,12 +56,6 @@
<attribute name="action">win.CommonSelectAll</attribute>
</item>
</section>
- <section>
- <item>
- <attribute name="label" translatable="yes">_Preferences</attribute>
- <attribute name="action">win.CommonPreferences</attribute>
- </item>
- </section>
</submenu>
<submenu>
<attribute name="label" translatable="yes">_View</attribute>
@@ -179,30 +166,6 @@
</submenu>
</section>
</submenu>
- <submenu>
- <attribute name="label" translatable="yes">_Help</attribute>
- <section>
- <item>
- <attribute name="label" translatable="yes">_Help</attribute>
- <attribute name="accel">F1</attribute>
- <attribute name="action">win.CommonHelpContents</attribute>
- </item>
- <item>
- <attribute name="label" translatable="yes">_Frequently Asked Questions</attribute>
- <attribute name="action">win.CommonHelpFAQ</attribute>
- </item>
- <item>
- <attribute name="label" translatable="yes">_Report a Problem…</attribute>
- <attribute name="action">win.CommonHelpReportProblem</attribute>
- </item>
- </section>
- <section>
- <item>
- <attribute name="label" translatable="yes">_About</attribute>
- <attribute name="action">win.CommonAbout</attribute>
- </item>
- </section>
- </submenu>
</menu>
<menu id="ImportContextMenu">
<section>
diff --git a/ui/import_queue.ui b/ui/import_queue.ui
index 9b07d9c..a19c32b 100644
--- a/ui/import_queue.ui
+++ b/ui/import_queue.ui
@@ -26,13 +26,6 @@
<attribute name="action">win.CommonEmptyTrash</attribute>
</item>
</section>
- <section>
- <item>
- <attribute name="label" translatable="yes">_Quit</attribute>
- <attribute name="accel">&lt;Primary&gt;q</attribute>
- <attribute name="action">win.CommonQuit</attribute>
- </item>
- </section>
</submenu>
<submenu>
<attribute name="label" translatable="yes">_View</attribute>
@@ -78,12 +71,6 @@
<attribute name="action">win.CommonHelpReportProblem</attribute>
</item>
</section>
- <section>
- <item>
- <attribute name="label" translatable="yes">_About</attribute>
- <attribute name="action">win.CommonAbout</attribute>
- </item>
- </section>
</submenu>
</menu>
</interface>
diff --git a/ui/media.ui b/ui/media.ui
index e3d8ba1..895855a 100644
--- a/ui/media.ui
+++ b/ui/media.ui
@@ -35,13 +35,6 @@
<attribute name="action">win.CommonEmptyTrash</attribute>
</item>
</section>
- <section>
- <item>
- <attribute name="label" translatable="yes">_Quit</attribute>
- <attribute name="accel">&lt;Primary&gt;q</attribute>
- <attribute name="action">win.CommonQuit</attribute>
- </item>
- </section>
</submenu>
<submenu>
<attribute name="label" translatable="yes">_Edit</attribute>
@@ -88,12 +81,6 @@
<attribute name="action">win.CommonSelectAll</attribute>
</item>
</section>
- <section>
- <item>
- <attribute name="label" translatable="yes">_Preferences</attribute>
- <attribute name="action">win.CommonPreferences</attribute>
- </item>
- </section>
</submenu>
<submenu>
<attribute name="label" translatable="yes">_View</attribute>
@@ -397,29 +384,5 @@
</section>
</submenu>
<!-- Faces menu goes here FacesMenuPlaceholder -->
- <submenu>
- <attribute name="label" translatable="yes">_Help</attribute>
- <section>
- <item>
- <attribute name="label" translatable="yes">_Help</attribute>
- <attribute name="accel">F1</attribute>
- <attribute name="action">win.CommonHelpContents</attribute>
- </item>
- <item>
- <attribute name="label" translatable="yes">_Frequently Asked Questions</attribute>
- <attribute name="action">win.CommonHelpFAQ</attribute>
- </item>
- <item>
- <attribute name="label" translatable="yes">_Report a Problem…</attribute>
- <attribute name="action">win.CommonHelpReportProblem</attribute>
- </item>
- </section>
- <section>
- <item>
- <attribute name="label" translatable="yes">_About</attribute>
- <attribute name="action">win.CommonAbout</attribute>
- </item>
- </section>
- </submenu>
</menu>
</interface>
diff --git a/ui/offline.ui b/ui/offline.ui
index f886526..273ac73 100644
--- a/ui/offline.ui
+++ b/ui/offline.ui
@@ -20,13 +20,6 @@
<attribute name="action">win.CommonEmptyTrash</attribute>
</item>
</section>
- <section>
- <item>
- <attribute name="label" translatable="yes">_Quit</attribute>
- <attribute name="accel">&lt;Primary&gt;q</attribute>
- <attribute name="action">win.CommonQuit</attribute>
- </item>
- </section>
</submenu>
<submenu>
<attribute name="label" translatable="yes">_Edit</attribute>
@@ -67,12 +60,6 @@
<attribute name="action">win.CommonSelectAll</attribute>
</item>
</section>
- <section>
- <item>
- <attribute name="label" translatable="yes">_Preferences</attribute>
- <attribute name="action">win.CommonPreferences</attribute>
- </item>
- </section>
</submenu>
<submenu>
<attribute name="label" translatable="yes">_View</attribute>
@@ -176,30 +163,6 @@
</submenu>
</section>
</submenu>
- <submenu>
- <attribute name="label" translatable="yes">_Help</attribute>
- <section>
- <item>
- <attribute name="label" translatable="yes">_Help</attribute>
- <attribute name="accel">F1</attribute>
- <attribute name="action">win.CommonHelpContents</attribute>
- </item>
- <item>
- <attribute name="label" translatable="yes">_Frequently Asked Questions</attribute>
- <attribute name="action">win.CommonHelpFAQ</attribute>
- </item>
- <item>
- <attribute name="label" translatable="yes">_Report a Problem…</attribute>
- <attribute name="action">win.CommonHelpReportProblem</attribute>
- </item>
- </section>
- <section>
- <item>
- <attribute name="label" translatable="yes">_About</attribute>
- <attribute name="action">win.CommonAbout</attribute>
- </item>
- </section>
- </submenu>
</menu>
<menu id="OfflineContextMenu">
<section>
diff --git a/ui/photo.ui b/ui/photo.ui
index 6b662a5..cb39801 100644
--- a/ui/photo.ui
+++ b/ui/photo.ui
@@ -43,13 +43,6 @@
<attribute name="action">win.CommonEmptyTrash</attribute>
</item>
</section>
- <section>
- <item>
- <attribute name="label" translatable="yes">_Quit</attribute>
- <attribute name="accel">&lt;Primary&gt;q</attribute>
- <attribute name="action">win.CommonQuit</attribute>
- </item>
- </section>
</submenu>
<submenu>
<attribute name="label" translatable="yes">_Edit</attribute>
@@ -84,12 +77,6 @@
<attribute name="action">win.MoveToTrash</attribute>
</item>
</section>
- <section>
- <item>
- <attribute name="label" translatable="yes">_Preferences</attribute>
- <attribute name="action">win.CommonPreferences</attribute>
- </item>
- </section>
</submenu>
<submenu>
<attribute name="label" translatable="yes">_View</attribute>
@@ -380,29 +367,5 @@
</item>
</section>
</submenu>
- <submenu>
- <attribute name="label" translatable="yes">_Help</attribute>
- <section>
- <item>
- <attribute name="label" translatable="yes">_Help</attribute>
- <attribute name="accel">F1</attribute>
- <attribute name="action">win.CommonHelpContents</attribute>
- </item>
- <item>
- <attribute name="label" translatable="yes">_Frequently Asked Questions</attribute>
- <attribute name="action">win.CommonHelpFAQ</attribute>
- </item>
- <item>
- <attribute name="label" translatable="yes">_Report a Problem…</attribute>
- <attribute name="action">win.CommonHelpReportProblem</attribute>
- </item>
- </section>
- <section>
- <item>
- <attribute name="label" translatable="yes">_About</attribute>
- <attribute name="action">win.CommonAbout</attribute>
- </item>
- </section>
- </submenu>
</menu>
</interface>
diff --git a/ui/set_background_dialog.ui b/ui/set_background_dialog.ui
index ee7106f..e8930e1 100644
--- a/ui/set_background_dialog.ui
+++ b/ui/set_background_dialog.ui
@@ -2,13 +2,7 @@
<!-- Generated with glade 3.20.0 -->
<interface domain="shotwell">
<requires lib="gtk+" version="3.14"/>
- <object class="GtkAdjustment" id="adjustment1">
- <property name="upper">100</property>
- <property name="step_increment">10</property>
- <property name="page_increment">10</property>
- <property name="page_size">10</property>
- </object>
- <object class="GtkDialog" id="dialog1">
+ <template class="SetBackgroundPhotoDialog" parent="GtkDialog">
<property name="width_request">400</property>
<property name="can_focus">False</property>
<property name="border_width">5</property>
@@ -29,7 +23,6 @@
<child>
<object class="GtkButton" id="cancel_button">
<property name="label">_Cancel</property>
- <property name="use_action_appearance">False</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="can_default">True</property>
@@ -45,7 +38,6 @@
<child>
<object class="GtkButton" id="ok_button">
<property name="label">_OK</property>
- <property name="use_action_appearance">False</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="can_default">True</property>
@@ -79,7 +71,9 @@
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="halign">start</property>
+ <property name="active">True</property>
<property name="draw_indicator">True</property>
+ <signal name="toggled" handler="on_checkbox_clicked" swapped="no"/>
</object>
<packing>
<property name="expand">False</property>
@@ -95,6 +89,7 @@
<property name="receives_default">False</property>
<property name="halign">start</property>
<property name="draw_indicator">True</property>
+ <signal name="toggled" handler="on_checkbox_clicked" swapped="no"/>
</object>
<packing>
<property name="expand">False</property>
@@ -115,5 +110,5 @@
<action-widget response="-6">cancel_button</action-widget>
<action-widget response="-5">ok_button</action-widget>
</action-widgets>
- </object>
+ </template>
</interface>
diff --git a/ui/set_background_slideshow_dialog.ui b/ui/set_background_slideshow_dialog.ui
index 438e565..39e1b82 100644
--- a/ui/set_background_slideshow_dialog.ui
+++ b/ui/set_background_slideshow_dialog.ui
@@ -1,14 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!-- Generated with glade 3.18.2 -->
-<interface>
- <requires lib="gtk+" version="3.0"/>
+<!-- Generated with glade 3.20.0 -->
+<interface domain="shotwell">
+ <requires lib="gtk+" version="3.14"/>
<object class="GtkAdjustment" id="adjustment1">
<property name="upper">100</property>
+ <property name="value">50</property>
<property name="step_increment">10</property>
<property name="page_increment">10</property>
<property name="page_size">10</property>
</object>
- <object class="GtkDialog" id="dialog1">
+ <template class="SetBackgroundSlideshowDialog" parent="GtkDialog">
<property name="width_request">400</property>
<property name="can_focus">False</property>
<property name="border_width">5</property>
@@ -21,35 +22,43 @@
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<property name="spacing">6</property>
- <child>
- <object class="GtkBox" id="hbox1">
+ <child internal-child="action_area">
+ <object class="GtkButtonBox" id="dialog-action_area2">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="spacing">5</property>
+ <property name="layout_style">end</property>
<child>
- <object class="GtkLabel" id="label1">
+ <object class="GtkButton" id="cancel_button">
+ <property name="label">_Cancel</property>
+ <property name="use_action_appearance">False</property>
<property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="label" translatable="yes">Show each photo for</property>
+ <property name="can_focus">True</property>
+ <property name="can_default">True</property>
+ <property name="receives_default">True</property>
+ <property name="use_underline">True</property>
</object>
<packing>
<property name="expand">False</property>
- <property name="fill">True</property>
+ <property name="fill">False</property>
<property name="position">0</property>
</packing>
</child>
<child>
- <object class="GtkLabel" id="delay_value_label">
+ <object class="GtkButton" id="ok_button">
+ <property name="label">_OK</property>
+ <property name="use_action_appearance">False</property>
<property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="label" translatable="yes">period of time</property>
- <attributes>
- <attribute name="weight" value="bold"/>
- </attributes>
+ <property name="can_focus">True</property>
+ <property name="can_default">True</property>
+ <property name="has_default">True</property>
+ <property name="receives_default">True</property>
+ <property name="has_tooltip">True</property>
+ <property name="tooltip_text" translatable="yes">Generate desktop background slideshow</property>
+ <property name="use_underline">True</property>
</object>
<packing>
<property name="expand">False</property>
- <property name="fill">True</property>
+ <property name="fill">False</property>
<property name="position">1</property>
</packing>
</child>
@@ -57,46 +66,39 @@
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
+ <property name="pack_type">end</property>
<property name="position">0</property>
</packing>
</child>
- <child internal-child="action_area">
- <object class="GtkButtonBox" id="dialog-action_area2">
+ <child>
+ <object class="GtkBox" id="hbox1">
<property name="visible">True</property>
<property name="can_focus">False</property>
- <property name="layout_style">end</property>
+ <property name="spacing">5</property>
<child>
- <object class="GtkButton" id="cancel_button">
- <property name="label">_Cancel</property>
- <property name="use_action_appearance">False</property>
+ <object class="GtkLabel" id="label1">
<property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="can_default">True</property>
- <property name="receives_default">True</property>
- <property name="use_underline">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes">Show each photo for</property>
</object>
<packing>
<property name="expand">False</property>
- <property name="fill">False</property>
+ <property name="fill">True</property>
<property name="position">0</property>
</packing>
</child>
<child>
- <object class="GtkButton" id="ok_button">
- <property name="label">_OK</property>
- <property name="use_action_appearance">False</property>
+ <object class="GtkLabel" id="delay_value_label">
<property name="visible">True</property>
- <property name="can_focus">True</property>
- <property name="can_default">True</property>
- <property name="has_default">True</property>
- <property name="receives_default">True</property>
- <property name="has_tooltip">True</property>
- <property name="tooltip_text" translatable="yes">Generate desktop background slideshow</property>
- <property name="use_underline">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes">period of time</property>
+ <attributes>
+ <attribute name="weight" value="bold"/>
+ </attributes>
</object>
<packing>
<property name="expand">False</property>
- <property name="fill">False</property>
+ <property name="fill">True</property>
<property name="position">1</property>
</packing>
</child>
@@ -104,7 +106,6 @@
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
- <property name="pack_type">end</property>
<property name="position">0</property>
</packing>
</child>
@@ -115,6 +116,7 @@
<property name="tooltip_text" translatable="yes">How long each photo is shown on the desktop background</property>
<property name="adjustment">adjustment1</property>
<property name="draw_value">False</property>
+ <signal name="value-changed" handler="on_delay_scale_value_changed" swapped="no"/>
</object>
<packing>
<property name="expand">False</property>
@@ -133,9 +135,10 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
- <property name="xalign">0</property>
- <property name="yalign">0.5899999737739563</property>
+ <property name="halign">start</property>
+ <property name="active">True</property>
<property name="draw_indicator">True</property>
+ <signal name="toggled" handler="on_checkbox_clicked" swapped="no"/>
</object>
<packing>
<property name="expand">False</property>
@@ -149,8 +152,9 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
- <property name="xalign">0</property>
+ <property name="halign">start</property>
<property name="draw_indicator">True</property>
+ <signal name="toggled" handler="on_checkbox_clicked" swapped="no"/>
</object>
<packing>
<property name="expand">False</property>
@@ -171,5 +175,5 @@
<action-widget response="-6">cancel_button</action-widget>
<action-widget response="-5">ok_button</action-widget>
</action-widgets>
- </object>
+ </template>
</interface>
diff --git a/ui/shotwell.xml b/ui/shotwell.xml
deleted file mode 100644
index 3a4a5cb..0000000
--- a/ui/shotwell.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<glade-catalog name="Shotwell" library="libshotwell.so" depends="gtk+">
- <glade-widget-classes>
- <glade-widget-class name="TextEntryDialog" generic-name="text_entry_dialog" title="TextEntryDialog" />
- </glade-widget-classes>
-
- <glade-widget-group name="ShotwellObjects" title="Shotwell Objects">
- <glade-widget-class-ref name="TextEntryDialog"/>
- </glade-widget-group>
-</glade-catalog>
diff --git a/ui/tags.ui b/ui/tags.ui
index c693e7f..e2cb3cf 100644
--- a/ui/tags.ui
+++ b/ui/tags.ui
@@ -35,13 +35,6 @@
<attribute name="action">win.CommonEmptyTrash</attribute>
</item>
</section>
- <section>
- <item>
- <attribute name="label" translatable="yes">_Quit</attribute>
- <attribute name="accel">&lt;Primary&gt;q</attribute>
- <attribute name="action">win.CommonQuit</attribute>
- </item>
- </section>
</submenu>
<submenu>
<attribute name="label" translatable="yes">_Edit</attribute>
@@ -88,12 +81,6 @@
<attribute name="action">win.CommonSelectAll</attribute>
</item>
</section>
- <section>
- <item>
- <attribute name="label" translatable="yes">_Preferences</attribute>
- <attribute name="action">win.CommonPreferences</attribute>
- </item>
- </section>
</submenu>
<submenu>
<attribute name="label" translatable="yes">_View</attribute>
@@ -416,30 +403,6 @@
</section>
</submenu>
<!-- Faces menu goes here FacesMenuPlaceholder -->
- <submenu>
- <attribute name="label" translatable="yes">_Help</attribute>
- <section>
- <item>
- <attribute name="label" translatable="yes">_Help</attribute>
- <attribute name="accel">F1</attribute>
- <attribute name="action">win.CommonHelpContents</attribute>
- </item>
- <item>
- <attribute name="label" translatable="yes">_Frequently Asked Questions</attribute>
- <attribute name="action">win.CommonHelpFAQ</attribute>
- </item>
- <item>
- <attribute name="label" translatable="yes">_Report a Problem…</attribute>
- <attribute name="action">win.CommonHelpReportProblem</attribute>
- </item>
- </section>
- <section>
- <item>
- <attribute name="label" translatable="yes">_About</attribute>
- <attribute name="action">win.CommonAbout</attribute>
- </item>
- </section>
- </submenu>
</menu>
<menu id="TagsContextMenu">
diff --git a/ui/trash.ui b/ui/trash.ui
index 2e68df8..0bd7a20 100644
--- a/ui/trash.ui
+++ b/ui/trash.ui
@@ -25,13 +25,6 @@
<attribute name="action">win.CommonEmptyTrash</attribute>
</item>
</section>
- <section>
- <item>
- <attribute name="label" translatable="yes">_Quit</attribute>
- <attribute name="accel">&lt;Primary&gt;q</attribute>
- <attribute name="action">win.CommonQuit</attribute>
- </item>
- </section>
</submenu>
<submenu>
<attribute name="label" translatable="yes">_Edit</attribute>
@@ -76,12 +69,6 @@
<attribute name="action">win.CommonSelectAll</attribute>
</item>
</section>
- <section>
- <item>
- <attribute name="label" translatable="yes">_Preferences</attribute>
- <attribute name="action">win.CommonPreferences</attribute>
- </item>
- </section>
</submenu>
<submenu>
<attribute name="label" translatable="yes">_View</attribute>
@@ -185,30 +172,6 @@
</submenu>
</section>
</submenu>
- <submenu>
- <attribute name="label" translatable="yes">_Help</attribute>
- <section>
- <item>
- <attribute name="label" translatable="yes">_Help</attribute>
- <attribute name="accel">F1</attribute>
- <attribute name="action">win.CommonHelpContents</attribute>
- </item>
- <item>
- <attribute name="label" translatable="yes">_Frequently Asked Questions</attribute>
- <attribute name="action">win.CommonHelpFAQ</attribute>
- </item>
- <item>
- <attribute name="label" translatable="yes">_Report a Problem…</attribute>
- <attribute name="action">win.CommonHelpReportProblem</attribute>
- </item>
- </section>
- <section>
- <item>
- <attribute name="label" translatable="yes">_About</attribute>
- <attribute name="action">win.CommonAbout</attribute>
- </item>
- </section>
- </submenu>
</menu>
<menu id="TrashContextMenu">
<section>